1 2015-03-20 Tassilo Horn <tsdh@gnu.org>
3 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1): Fix
4 false positive in function name font-locking.
6 2015-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8 * emacs-lisp/cl-macs.el (cl-defsubst): Ignore false-positive
9 occurrences of args via &cl-defs (bug#20149).
11 2015-03-20 Alan Mackenzie <acm@muc.de>
15 * font-lock.el (font-lock-extend-jit-lock-region-after-change):
16 Return the calculated values, as per spec.
18 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
20 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `at_exit'
21 and `callcc' to the "methods with required arguments" section,
22 they need a block argument. Remove a `throw' duplicate.
24 2015-03-19 Vibhav Pant <vibhavp@gmail.com>
26 * progmodes/cperl-mode.el (cperl-electric-backspace):
27 Call delete-backward-space interactively instead of delete-char.
29 2015-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
31 * emacs-lisp/pcase.el (pcase-lambda): Rewrite.
33 * emacs-lisp/eieio.el (object-slots): Return slot names as before
36 2015-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
38 EIEIO: Change class's representation to unify instance and class slots
39 * emacs-lisp/eieio-core.el (eieio--class): Change field names and order
40 to match those of cl--class; use cl--slot for both instance slots and
42 (eieio--object-num-slots): Use cl-struct-slot-info.
43 (eieio--object-class): Rename from eieio--object-class-object.
44 (eieio--object-class-name): Remove.
45 (eieio-defclass-internal): Adjust to new slot representation.
46 Store doc in class rather than in `variable-documentation'.
47 (eieio--perform-slot-validation-for-default): Change API to take
49 (eieio--slot-override): New function.
50 (eieio--add-new-slot): Rewrite.
51 (eieio-copy-parents-into-subclass): Rewrite.
52 (eieio--validate-slot-value, eieio--validate-class-slot-value)
53 (eieio-oref-default, eieio-oset-default)
54 (eieio--class-slot-name-index, eieio-set-defaults): Adjust to new
56 (eieio--c3-merge-lists): Simplify.
57 (eieio--class/struct-parents): New function.
58 (eieio--class-precedence-bfs): Use it.
60 * emacs-lisp/eieio.el (with-slots): Use macroexp-let2.
61 (object-class-fast): Change recommend replacement.
62 (eieio-object-class): Rewrite.
63 (slot-exists-p): Adjust to new slot representation.
64 (initialize-instance): Adjust to new slot representation.
65 (object-write): Adjust to new slot representation.
67 * emacs-lisp/eieio-opt.el (eieio--help-print-slot): New function
68 extracted from eieio-help-class-slots.
69 (eieio-help-class-slots): Use it. Adjust to new slot representation.
71 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
72 Declare to silence warnings.
73 (data-debug-insert-object-button): Avoid `object-slots'.
74 (data-debug/eieio-insert-slots): Adjust to new slot representation.
76 * emacs-lisp/eieio-custom.el (eieio-object-value-create)
77 (eieio-object-value-get): Adjust to new slot representation.
79 * emacs-lisp/eieio-compat.el
80 (eieio--generic-static-symbol-specializers):
81 Extract from eieio--generic-static-symbol-generalizer.
82 (eieio--generic-static-symbol-generalizer): Use it.
84 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
85 Manually map initargs to slot names.
86 (eieio-persistent-validate/fix-slot-value): Adjust to new
89 * emacs-lisp/cl-preloaded.el (cl--class): Fix type of `parents'.
91 2015-03-19 Vibhav Pant <vibhavp@gmail.com>
93 * leim/quail/hangul.el (hangul-delete-backward-char)
94 (hangul-to-hanja-conversion):
95 * progmodes/cperl-mode.el (cperl-electric-keyword)
96 (cperl-electric-backspace): Use delete-char instead of
97 delete-backward-char, fixes compilation warnings.
99 2015-03-18 Michael Albinus <michael.albinus@gmx.de>
101 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
102 Mark apostrophs with ?/ instead of \037. (Bug#20117)
104 2015-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
106 Add classes as run-time descriptors of cl-structs.
107 * emacs-lisp/cl-preloaded.el (cl--struct-get-class): New function.
108 (cl--make-slot-desc): New constructor.
109 (cl--plist-remove, cl--struct-register-child): New functions.
110 (cl-struct-define): Rewrite.
111 (cl-structure-class, cl-structure-object, cl-slot-descriptor)
112 (cl--class): New structs.
113 (cl--struct-default-parent): Initialize it here.
114 * emacs-lisp/cl-macs.el (cl--find-class): New macro.
115 (cl-defsubst, cl--defsubst-expand, cl--sublis): Move before first use.
116 (cl--struct-default-parent): New var.
117 (cl-defstruct): Adjust to new representation of classes; add
118 default parent. In accessors, signal `wrong-type-argument' rather than
120 (cl-struct-sequence-type, cl-struct-slot-info)
121 (cl-struct-slot-offset): Rewrite.
122 * emacs-lisp/cl-generic.el (cl--generic-struct-specializers)
123 (cl-generic-generalizers): Rewrite.
125 * emacs-lisp/macroexp.el (macroexp--debug-eager): New var.
126 (internal-macroexpand-for-load): Use it.
128 * emacs-lisp/debug.el (debug--implement-debug-on-entry):
129 Bind inhibit-debug-on-entry here...
130 (debug): Instead of here.
132 2015-03-18 Dima Kogan <dima@secretsauce.net>
134 Have gud-display-line not display source buffer in gud window.
135 * progmodes/gud.el (gud-display-line): Make display-buffer
136 not reuse selected window. (Bug#17675, Bug#19901, Bug#20034)
138 2015-03-17 Tassilo Horn <tsdh@gnu.org>
140 * emacs-lisp/byte-run.el (macro-declarations-alist):
141 New declaration no-font-lock-keyword.
142 (defmacro): Flush font-lock in existing elisp buffers.
144 * emacs-lisp/lisp-mode.el (lisp--el-update-after-load)
145 (lisp--el-update-macro-regexp, lisp--el-macro-regexp):
146 Delete functions and defconst.
147 (lisp--el-match-keyword): Rename from lisp--el-match-macro.
148 (lisp--el-font-lock-flush-elisp-buffers): New function.
149 (lisp-mode-variables): Remove code for updating
150 lisp--el-macro-regexp, and add
151 lisp--el-font-lock-flush-elisp-buffers to after-load-functions.
153 2015-03-17 Simen Heggestøyl <simenheg@gmail.com>
155 * textmodes/css-mode.el (css--font-lock-keywords):
156 Discriminate between pseudo-classes and pseudo-elements.
157 (css-pseudo-ids): Remove.
158 (css-pseudo-class-ids, css-pseudo-element-ids): New variables.
159 (css--complete-property): New function for completing CSS properties.
160 (css--complete-pseudo-element-or-class): New function
161 completing CSS pseudo-elements and pseudo-classes.
162 (css--complete-at-rule): New function for completing CSS at-rules.
163 (css-completion-at-point): New function.
164 (css-mode): Add support for completion.
165 (css-extract-keyword-list, css-extract-parse-val-grammar)
166 (css-extract-props-and-vals): Remove function in favor of manual
168 (css-at-ids): Update list of CSS at-rule ids.
169 (css-property-ids): Update list of CSS properties.
171 2015-03-17 Bozhidar Batsov <bozhidar@batsov.com>
173 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Font-lock
176 2015-03-17 Michael Albinus <michael.albinus@gmx.de>
178 * net/tramp-sh.el (tramp-maybe-send-script): Avoid leading tabs in
179 shell scripts. (Bug#20118)
181 2015-03-17 Eli Zaretskii <eliz@gnu.org>
183 * mouse.el (mouse-appearance-menu): If w32-use-w32-font-dialog is
184 nil, construct a menu of fixed fonts. This resurrects a feature
187 * w32-vars.el (w32-use-w32-font-dialog): Add a ':set' function to
188 reset mouse-appearance-menu-map, so the font dialog is recomputed
189 the next time the menu is requested.
190 (w32-fixed-font-alist): Fix to use correct names of Courier fonts.
192 2015-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
194 * emacs-lisp/cl-macs.el (cl--transform-lambda): Refine last change
197 2015-03-17 Michael Albinus <michael.albinus@gmx.de>
199 * net/tramp-sh.el (tramp-ssh-controlmaster-options): Change test
200 for ControlPath in order to avoid DNS timeouts. (Bug#20015)
202 2015-03-16 Alan Mackenzie <acm@muc.de>
204 Edebug: Allow "S" to work during trace mode. Fixes debbugs #20074.
205 Also display the overlay arrow in go and go-nonstop modes.
207 * emacs-lisp/edebug.el (edebug--display-1): Move the
208 `input-pending' test to after trace mode's `sit-for'.
209 (edebug--recursive-edit): Insert "(sit-for 0)" after
210 "(edebug-overlay-arrow)".
212 2015-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
214 * emacs-lisp/cl-macs.el (cl--transform-lambda): Rework to avoid
215 cl--do-arglist in more cases; add comments to explain what's going on.
216 (cl--do-&aux): New function extracted from cl--do-arglist.
217 (cl--do-arglist): Use it.
219 * emacs-lisp/cl-generic.el: Add Version: header, for ELPA purposes.
221 * obsolete/iswitchb.el (iswitchb-read-buffer): Add `predicate' arg.
222 * isearchb.el (isearchb-iswitchb): Adjust accordingly.
223 * ido.el (ido-read-buffer): Add `predicate' argument.
224 * misearch.el (unload-function-defs-list): Declare before use.
226 2015-03-16 Vibhav Pant <vibhavp@gmail.com>
228 * net/browse-url.el (browse-url-browser-function): Add "Conkeror".
229 (browse-url-conkeror-program, browse-url-conkeror-arguments)
230 (browse-url-conkeror-new-window-is-buffer): New defcustoms.
231 (browse-url-default-browser): Check for `browse-url-conkeror'
232 and call `browse-url-conkeror-program'.
233 (browse-url-conkeror): New command.
236 2015-03-16 Vibhav Pant <vibhavp@gmail.com>
238 * eshell/esh-mode.el (eshell/clear): New function.
240 2015-03-16 Alan Mackenzie <acm@muc.de>
242 Make Edebug work with Follow Mode.
244 * emacs-lisp/edebug.el (edebug--display-1): Remove call to
245 edebug-adjust-window.
246 (edebug--recursive-edit): Don't bind pre/post-command-hooks to nil
247 over the recursive edit.
248 (edebug-adjust-window): Remove.
250 2015-03-15 Michael Albinus <michael.albinus@gmx.de>
255 * net/tramp-smb.el: Set tramp-autoload cookie for all defcustoms.
257 * net/tramp.el (tramp-ssh-controlmaster-options)
258 (tramp-use-ssh-controlmaster-options): Move them to tramp-sh.el.
259 (tramp-default-method): Do not check for
260 `tramp-ssh-controlmaster-options'.
262 * net/tramp-sh.el (tramp-use-ssh-controlmaster-options):
263 New defcustom, moved from tramp.el.
264 (tramp-ssh-controlmaster-options): New defvar, moved from tramp.el
265 but with a nil initial value.
266 (tramp-ssh-controlmaster-options): New defun.
267 (tramp-do-copy-or-rename-file-out-of-band)
268 (tramp-maybe-open-connection): Use it. (Bug#20015)
270 2015-03-15 Tassilo Horn <tsdh@gnu.org>
272 * emacs-lisp/lisp-mode.el (lisp--el-macro-regexp): New defconst.
273 (lisp--el-update-macro-regexp, lisp--el-update-after-load)
274 (lisp--el-match-macro): New functions.
275 (lisp-mode-variables): Update lisp--el-macro-regexp and add
276 lisp--el-update-after-load to after-load-functions.
278 2015-03-15 Daniel Colascione <dancol@dancol.org>
280 * emacs-lisp/cl-indent.el
281 (lisp-indent-backquote-substitution-mode): New user option.
282 (common-lisp-indent-function-1, common-lisp-loop-part-indentation)
283 (common-lisp-indent-function): Support normally indenting
284 backquote substitutions.
285 (extended-loop-p): Rename to `lisp-extended-loop-p'.
287 2015-03-14 Michael R. Mauger <michael@mauger.com>
289 * progmodes/sql.el: Version 3.5
290 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): Match password prompts.
291 (sql-interactive-remove-continuation-prompt): Fix regression. (Bug#6686)
293 2015-03-14 Daniel Colascione <dancol@dancol.org>
295 * widget.el (define-widget): Check that documentation is a string
296 or nil; prevent wailing and gnashing of teeth when users forget to
297 pass a docstring and wonder why their properties don't work.
299 * startup.el (command-line): Process "--no-x-resources".
301 2015-03-13 Kevin Ryde <user42_kevin@yahoo.com.au>
303 info-look fixes for Texinfo 5
304 * info-look.el (c-mode, bison-mode, makefile-mode)
305 (makefile-automake-mode, texinfo-mode, autoconf-mode, awk-mode)
306 (latex-mode, emacs-lisp-mode, sh-mode, cfengine-mode):
307 Match `foo' and 'foo' and ‘foo’ for @item and similar.
308 (latex-mode): Match multi-arg \frac{num}{den} or \sqrt[root]{n} in
311 2015-03-12 Juri Linkov <juri@linkov.net>
313 * simple.el (next-line-or-history-element)
314 (previous-line-or-history-element): Remember the goal column of
315 possibly multi-line input, and restore it afterwards. (Bug#19824)
317 2015-03-12 Rasmus Pank Roulund <emacs@pank.eu>
319 * ido.el (ido-add-virtual-buffers-to-list): Include bookmark-alist
322 2015-03-12 Eli Zaretskii <eliz@gnu.org>
324 * international/fontset.el (script-representative-chars): Add a
325 representative character for 'vai'.
327 2015-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
329 * international/quail.el (quail-input-method):
330 Use with-silent-modifications.
332 * simple.el (goto-history-element): Don't burp on t history.
334 2015-03-10 Paul Eggert <eggert@cs.ucla.edu>
336 Prefer "initialize" to "initialise"
337 * progmodes/js.el (js-indent-first-init):
338 Rename from js-indent-first-initialiser, to avoid worrying about
339 American vs British spelling. All uses changed.
341 2015-03-10 Glenn Morris <rgm@gnu.org>
343 * progmodes/js.el (js-indent-first-initialiser):
344 Fix doc, type, version.
346 2015-03-10 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
348 * progmodes/js.el (js-indent-first-initialiser): New option.
349 (js--maybe-goto-declaration-keyword-end): New function.
350 (js--proper-indentation): Use js--maybe-goto-declaration-keyword-end.
352 2015-03-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
354 * net/ldap.el (ldap-attribute-syntaxes-alist): Add LDAP attributes
355 from RFC2798 Section 9.1.1. (Bug#8983)
357 2015-03-09 Nicolas Petton <nicolas@petton.fr>
359 * emacs-lisp/seq.el (seq-into): New function.
360 Bump seq.el version to 1.3.
362 2015-03-09 Dmitry Gutov <dgutov@yandex.ru>
364 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't consider
365 `=' a part of symbol when followed by `>'. (Bug#18644)
366 (ruby-syntax-before-regexp-re): Detect regexps after `!'.
369 2015-03-09 Eli Zaretskii <eliz@gnu.org>
371 * dired.el (dired-delete-file): Doc fix. (Bug#20021)
373 2015-03-06 Sergio Durigan Junior <sergiodj@sergiodj.net>
374 Thomas Fitzsimmons <fitzsim@fitzsim.org>
376 * net/eudcb-bbdb.el (eudc-bbdb-field): New function.
377 (eudc-bbdb-filter-non-matching-record): Call eudc-bbdb-field.
378 (eudc-bbdb-format-record-as-result): Likewise.
380 2015-03-08 Dmitry Gutov <dgutov@yandex.ru>
382 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
383 Use `font-lock-constant-face' for nil, true and false.
384 Highlight `self' as a keyword. (Bug#17733)
386 2015-03-08 Nobuyoshi Nakada <nobu@ruby-lang.org>
388 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
389 Expect beginning of regexp also after open brace or vertical bar.
392 2015-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
394 * battery.el (battery-echo-area-format): Simplify default.
395 (battery-linux-sysfs): Standardize on energy&power. Accept ADP1
398 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't try to
399 unfold `closure's since byte-compile-unfold-lambda doesn't know how to
402 2015-03-06 Oscar Fuentes <ofv@wanadoo.es>
404 * net/browse-url.el (browse-url-firefox): Remove outdated
405 MS-Windows limitations.
407 2015-03-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
409 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): Mark as
411 (eudc-ldap-cleanup-record-filtering-addresses): Add docstring.
412 Don't clean up postal addresses if ldap-ignore-attribute-codings
413 is set. Combine mail addresses into one field. (Bug#17720)
414 (eudc-ldap-simple-query-internal):
415 Call eudc-ldap-cleanup-record-filtering-addresses instead of
416 eudc-ldap-cleanup-record-simple.
417 (eudc-ldap-get-field-list): Likewise.
419 2015-03-05 Ivan Shmakov <ivan@siamics.net>
421 * net/eww.el (eww-html-p): New function (bug#20009).
422 (eww-render): Use it.
424 2015-03-05 Artur Malabarba <bruce.connor.am@gmail.com>
426 * desktop.el (desktop-buffer-info): Write docstring.
427 (desktop-buffer-info): Use `pushnew' instead of `add-to-list' and
430 * emacs-lisp/package.el (package-refresh-contents): Update doc.
432 2015-03-05 Dmitry Gutov <dgutov@yandex.ru>
434 * progmodes/js.el (js-mode-syntax-table): Add an entry for `.
436 2015-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
438 Replace *-function vars with generic functions in cl-generic.
439 * emacs-lisp/cl-generic.el (cl--generic-generalizer): New struct.
440 (cl-generic-tagcode-function, cl-generic-tag-types-function): Remove.
441 (cl--generic-t-generalizer): New const.
442 (cl--generic-make-method): Rename from `cl--generic-method-make'.
443 (cl--generic-make): Change calling convention.
444 (cl--generic): Add `options' field.
445 (cl-generic-function-options): New function.
446 (cl-defgeneric): Rewrite handling of options. Add support for :method
447 options and allow the use of a default body.
448 (cl-generic-define): Save options in the corresponding new field.
449 (cl-defmethod): Fix ordering of qualifiers.
450 (cl-generic-define-method): Use cl-generic-generalizers.
451 (cl--generic-get-dispatcher): Change calling convention, and change
452 calling convention of the returned function as well so as to take the
453 list of methods separately from the generic function object, so that it
454 can receive the original generic function object.
455 (cl--generic-make-next-function): New function, extracted from
456 cl--generic-make-function.
457 (cl--generic-make-function): Use it.
458 (cl-generic-method-combination-function): Remove.
459 (cl--generic-cyclic-definition): New error.
460 (cl-generic-call-method): Take a generic function object rather than
462 (cl-method-qualifiers): New alias.
463 (cl--generic-build-combined-method): Use cl-generic-combine-methods,
464 don't segregate by qualifiers here any more.
465 (cl--generic-standard-method-combination): Segregate by qualifiers
466 here instead. Add support for the `:extra' qualifier.
467 (cl--generic-cache-miss): Move earlier, adjust to new calling convention.
468 (cl-generic-generalizers, cl-generic-combine-methods):
469 New generic functions.
470 (cl-no-next-method, cl-no-applicable-method, cl-no-primary-method):
471 Use the new "default method in defgeneric" functionality, change
472 calling convention to receive a generic function object.
473 (cl--generic-head-used): New var.
474 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
475 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer):
477 * emacs-lisp/eieio-core.el (eieio--generic-generalizer)
478 (eieio--generic-subclass-generalizer): New consts.
479 (cl-generic-generalizers): New methods.
480 * emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer)
481 (eieio--generic-static-object-generalizer): New consts.
482 (cl-generic-generalizers) <(head eieio--static)>: New method.
483 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
484 Unfold closures like lambdas.
486 2015-03-04 Filipp Gunbin <fgunbin@fastmail.fm>
488 * autorevert.el (auto-revert-notify-add-watch):
489 Fix handler installation. (Bug#20000)
491 2015-03-04 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
493 * net/eww.el (eww-search-prefix, eww-open-file, eww-search-words)
494 (eww-same-page-p,eww-set-character-encoding): Fix docstring.
495 (eww): Do not end error messages with a period.
497 2015-03-04 Zhongwei Yao <ashi08104@gmail.com>
499 * net/tramp-adb.el (tramp-adb-connect-if-not-connected):
501 (tramp-adb-ls-toolbox-regexp): Fix regexp in order to support file
502 names starting with a space.
503 (tramp-methods): Add `tramp-default-port' for "adb".
504 (tramp-adb-parse-device-names): Add traces. Return device names
505 with port, if present.
506 (tramp-adb-handle-directory-files-and-attributes): Quote all
508 (tramp-adb-get-device): New defun.
509 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
511 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
512 variables. Remove checks for listed devices.
514 2015-03-04 Michael Albinus <michael.albinus@gmx.de>
516 * net/tramp.el (tramp): Add :link property.
517 (tramp-login-prompt-regexp): Allow also "user", as required by
519 (tramp-autoload-file-name-handler): Use "/".
520 (tramp-handle-unhandled-file-name-directory): Return nil when
521 required by the spec.
523 * net/tramp-cache.el (tramp-dump-connection-properties):
524 Use `with-temp-file'.
526 * net/tramp-sh.el (tramp-perl-file-attributes)
527 (tramp-perl-directory-files-and-attributes): Escape apostrophes in
529 (tramp-do-file-attributes-with-stat): Quote file name.
530 (tramp-sh-handle-directory-files-and-attributes): Fall back to
531 `tramp-handle-directory-files-and-attributes' in case of problems.
532 (tramp-do-directory-files-and-attributes-with-stat)
533 (tramp-sh-handle-file-name-all-completions)
534 (tramp-sh-handle-delete-directory)
535 (tramp-sh-handle-expand-file-name, tramp-sh-handle-process-file):
536 Normalize use of "cd".
537 (tramp-do-directory-files-and-attributes-with-stat): Use the
538 `quoting-style' arg of `ls' if possible. Make it also working for
539 file names with apostrophes.
540 (tramp-sh-handle-file-name-all-completions): Use arguments of `ls'
542 (tramp-do-copy-or-rename-file-via-buffer)
543 (tramp-sh-handle-file-local-copy): Use `with-temp-file'.
544 (tramp-get-remote-locale): Accept also \r in output.
545 (tramp-get-ls-command-with-quoting-style): New defun.
546 (tramp-get-inline-coding): Set `default-directory' to a local
547 directory. Sporadically, `call-process-region' does not handle a
548 remote default directory properly.
550 * net/trampver.el: Update release number.
552 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
554 * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
555 .dat files for aspell dicts are also searched for in location
556 described by `ispell-aspell-dict-dir', matching aspell's dict-dir
559 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
561 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
562 (ispell-hunspell-fill-dictionary-entry)
563 (ispell-find-hunspell-dictionaries)
564 (ispell-set-spellchecker-params): New generic name for
565 `ispell-hunspell-dictionary-equivs-alist'.
566 (ispell-aspell-add-aliases): Also use
567 `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
570 2015-03-03 Glenn Morris <rgm@gnu.org>
572 * net/browse-url.el (browse-url-firefox-startup-arguments):
574 (browse-url-firefox): Doc fix. Remove -remote, which no longer
575 exists in Firefox 36. (Bug#19921)
576 (browse-url-firefox-sentinel): Remove function.
578 2015-03-03 Eli Zaretskii <eliz@gnu.org>
580 * frame.el (blink-cursor-timer-function): Don't increment
581 blink-cursor-blinks-done counter when a menu is active on a w32
584 2015-03-03 Juri Linkov <juri@linkov.net>
586 * comint.el (comint-line-beginning-position): Revert searching for
587 the prompt when comint-use-prompt-regexp is non-nil because it
588 doesn't distinguish input from output. Check the field property
589 `output' for the case when comint-use-prompt-regexp is nil.
592 2015-03-03 Jérémy Compostella <jeremy.compostella@gmail.com>
594 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
595 with PAGER=cat. (Bug#19870)
597 2015-03-03 Glenn Morris <rgm@gnu.org>
599 * textmodes/flyspell.el (flyspell-duplicate-distance):
602 2015-03-03 Eli Zaretskii <eliz@gnu.org>
604 * textmodes/text-mode.el (text-mode-syntax-table): Make some
605 punctuation character behave as word-constituent, for more
606 compatibility with Unicode.
608 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
610 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
612 Improve string search in `flyspell-word-search-*`. (Bug#16800)
613 * textmodes/flyspell.el (flyspell-duplicate-distance):
614 Limit default search distance for duplicated words to 40000.
615 (flyspell-word-search-backward, flyspell-word-search-forward):
616 Search as full word with defined casechars, not as substring.
618 2015-03-03 Juri Linkov <juri@linkov.net>
620 Better support for the case of typing RET on the prompt in comint.
621 * comint.el (comint-get-old-input-default): Go to the field end
622 when comint-use-prompt-regexp is nil.
623 (comint-line-beginning-position): Check if point is already
624 on the prompt before searching for the prompt when
625 comint-use-prompt-regexp is non-nil. (Bug#19710)
627 2015-03-03 Eli Zaretskii <eliz@gnu.org>
629 * frame.el (frame-notice-user-settings): Refresh the value of
630 frame parameters after calling tty-handle-reverse-video.
631 Call face-set-after-frame-default with the actual parameters, to avoid
632 resetting colors back to unspecified.
633 (set-background-color, set-foreground-color): Pass the foreground
634 and background colors to face-set-after-frame-default. (Bug#19802)
636 2015-03-03 Wolfgang Jenkner <wjenkner@inode.at>
638 * net/network-stream.el (network-stream-open-tls): Respect the
639 :end-of-capability setting.
641 2015-03-03 Juri Linkov <juri@linkov.net>
643 Revert the previous change of comint-line-beginning-position callers,
644 and modify comint-line-beginning-position instead.
646 * comint.el (comint-history-isearch-search)
647 (comint-history-isearch-message, comint-history-isearch-wrap):
648 Use comint-line-beginning-position instead of field-beginning.
649 (comint-send-input): Use either end-of-line or field-end
650 depending on comint-use-prompt-regexp.
651 (comint-line-beginning-position): Search backward
652 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
653 Use field-beginning instead of line-beginning-position
654 if comint-use-prompt-regexp is nil. (Bug#19710)
656 2015-03-03 Robert Pluim <rpluim@gmail.com> (tiny change)
658 * calendar/todo-mode.el (todo-item-done): When done items are
659 hidden, restore point to its location prior to invoking this
662 2015-03-03 Eli Zaretskii <eliz@gnu.org>
664 * textmodes/artist.el (artist-ellipse-compute-fill-info):
665 Use mapcar, not mapc, to create the other half of fill-info.
668 2015-03-03 Nicolas Petton <nicolas@petton.fr>
670 * emacs-lisp/authors.el (authors-ignored-files)
671 (authors-renamed-files-alist): Additions.
673 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
675 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
676 tempfile for ControlPath. (Bug#19702)
678 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
680 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
681 ControlPath if possible. (Bug#19702)
683 2015-03-03 Glenn Morris <rgm@gnu.org>
685 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
686 (authors-valid-file-names, authors-renamed-files-alist): Additions.
688 2015-03-03 Alan Mackenzie <acm@muc.de>
690 CC Mode: Stop Font Lock forcing fontification from BOL. (Bug#19669)
691 * progmodes/cc-mode.el (c-font-lock-init):
692 Set font-lock-extend-region-functions to nil.
694 2015-03-03 Daniel Colascione <dancol@dancol.org>
696 * emacs-lisp/generator.el: Make globals conform to elisp
697 style throughout. Use more efficient font-lock patterns.
698 (cps-inhibit-atomic-optimization): Rename from
699 `cps-disable-atomic-optimization'.
700 (cps--gensym): New macro; replaces `cl-gensym' throughout.
701 (cps-generate-evaluator): Move the `iter-yield' local macro
703 (iter-defun, iter-lambda): from here.
705 (iter-defun): Use `macroexp-parse-body'.
707 2015-03-03 Daniel Colascione <dancol@dancol.org>
709 2015-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
711 * progmodes/gud.el: Use lexical-binding (bug#19966).
713 * emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases.
715 2015-03-03 Daniel Colascione <dancol@dancol.org>
717 * emacs-lisp/generator.el: Make globals conform to elisp
718 style throughout. Use more efficient font-lock patterns.
719 (cps-inhibit-atomic-optimization): Rename from
720 `cps-disable-atomic-optimization'.
721 (cps--gensym): New macro; replaces `cl-gensym' throughout.
722 (cps-generate-evaluator): Move the `iter-yield' local macro
724 (iter-defun, iter-lambda): ...from here.
726 2015-03-03 Artur Malabarba <bruce.connor.am@gmail.com>
728 * emacs-lisp/package.el (package-autoremove): Fix if logic.
730 2015-03-03 Martin Rudalics <rudalics@gmx.at>
732 * window.el (window--dump-frame): For pixel height return total
733 number of frame's lines.
735 2015-03-03 Daniel Colascione <dancol@dancol.org>
737 * emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun.
739 * emacs-lisp/generator.el (iter-defun): Correctly propagate
740 docstrings and declarations to underlying function.
742 2015-03-02 Daniel Colascione <dancol@dancol.org>
744 * emacs-lisp/generator.el: New file.
746 * vc/vc.el (vc-responsible-backend): Add autoload cookie for
747 `vc-responsible-backend'.
749 2015-03-01 Michael Albinus <michael.albinus@gmx.de>
751 * vc/vc-hooks.el (vc-state, vc-working-revision):
752 Use `vc-responsible-backend' in order to support unregistered files.
754 * vc/vc-rcs.el (vc-rcs-unregister): Support unregistered files.
756 * vc/vc-rcs.el (vc-rcs-fetch-master-state):
757 * vc/vc-sccs.el (vc-sccs-working-revision): Handle undefined
760 * vc/vc-src.el (vc-src-working-revision): Do not return an empty string.
762 2015-03-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
764 * net/shr.el (shr-insert): Remove soft hyphens.
765 (shr-insert): Also remove soft hypens from non-folded text.
767 2015-02-28 Eli Zaretskii <eliz@gnu.org>
769 * mail/rmailmm.el (rmail-mime-insert-html): Decode HTML payload
770 when the charset is only given by the HTML <head>, and allow to
771 specify the encoding with "C-x RET c".
773 2015-02-27 Mark Laws <mdl@60hz.org>
775 Support daemon mode on MS-Windows (bug#19688)
776 * server.el (server-process-filter): Force GUI frames on
777 MS-Windows in daemon mode, even if a TTY frame was requested.
779 * frameset.el (frameset-keep-original-display-p): Don't assume
780 windows-nt cannot be in daemon mode.
782 * frame.el (window-system-for-display): Don't assume windows-nt
783 cannot be in daemon mode.
785 2015-02-26 Ivan Shmakov <ivan@siamics.net>
787 * faces.el (face-list-p): Split from face-at-point.
788 (face-at-point): Use it.
789 * facemenu.el (facemenu-add-face): Likewise. (Bug#19912)
791 2015-02-26 Oscar Fuentes <ofv@wanadoo.es>
793 * vc/vc.el (vc-annotate-switches): New defcustom.
794 * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
795 (vc-bzr-annotate-command): Use vc-switches.
796 * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
797 (vc-cvs-annotate-command): Use vc-switches.
798 * vc/vc-git.el (vc-git-annotate-switches): New defcustom.
799 (vc-git-annotate-command): Use vc-switches.
800 * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
801 (vc-hg-annotate-command): Use vc-switches.
802 * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
803 (vc-mtn-annotate-command): Use vc-switches.
804 * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
805 (vc-svn-annotate-command): Use vc-switches.
807 2015-02-26 Alan Mackenzie <acm@muc.de>
809 Handle "#" operator properly inside macro. Fix coding bug.
811 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
812 On finding a "#" which looks like the start of a macro, check it
813 isn't already inside a macro.
815 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
816 "safe" position into the list of them when this is beyond our
819 2015-02-26 Martin Rudalics <rudalics@gmx.at>
821 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
822 the menu frame is dead. (Bug#19728)
824 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
826 python.el: Handle tabs in python-indent-dedent-line.
827 * progmodes/python.el (python-indent-dedent-line): Fixes for
828 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
830 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
832 * progmodes/python.el (python-indent-context): Respect user
833 indentation after comment.
835 2015-02-26 Tassilo Horn <tsdh@gnu.org>
837 * textmodes/reftex-vars.el (featurep): Conditionalize value of
838 reftex-label-regexps in order to stay compatible with XEmacs 21.5
839 which has no explicitly numbered groups in regexps (bug#19714).
841 2015-02-26 Daiki Ueno <ueno@gnu.org>
843 * net/dbus.el (dbus-register-signal): Convert "N" of ":argN" to
844 integer before comparison.
846 2015-02-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
848 * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
850 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
852 * emacs-lisp/check-declare.el (check-declare-warn):
853 Use compilation-style warnings.
854 (check-declare-files): Make sure that
855 `check-declare-warning-buffer' is in `compilation-mode'.
857 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
859 * emacs-lisp/check-declare.el (check-declare-ext-errors):
861 (check-declare): New defgroup.
862 (check-declare-verify): When `check-declare-ext-errors' is
863 non-nil, warn about an unfound function, instead of saying
864 "skipping external file".
866 2015-02-25 Tassilo Horn <tsdh@gnu.org>
868 * textmodes/reftex-vars.el (reftex-include-file-commands):
869 Call reftex-set-dirty on changes.
871 2015-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
873 * emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611).
874 * emacs-lisp/debug.el (debugger-env-macro): Remove redundant
877 2015-02-24 Glenn Morris <rgm@gnu.org>
879 * mail/rmailsum.el (rmail-summary-previous-all)
880 (rmail-summary-previous-msg): Simplify.
882 2015-02-25 Artur Malabarba <bruce.connor.am@gmail.com>
884 * simple.el (region-active-p): Fix doc to say non-nil.
886 2015-02-24 Samer Masterson <nosefrog@gmail.com>
888 * eshell/em-hist.el (eshell-hist-parse-word-designator):
889 Return args joined with " ".
890 * eshell/em-pred.el (eshell-parse-modifiers): Correct docstring.
891 (eshell-hist-parse-modifier): Pass mod a list instead of a string
894 2015-02-24 Karl Fogel <kfogel@red-bean.com> (tiny change)
896 * comint.el (comint-mode-map): Fix obvious typo.
898 2015-02-24 Johan Claesson <johanclaesson@bredband.net> (tiny change)
900 * filecache.el (file-cache-filter-regexps):
901 Add lock files. (Bug#19516)
903 2015-02-24 Glenn Morris <rgm@gnu.org>
905 * mail/rmailsum.el (rmail-summary-next-all)
906 (rmail-summary-previous-all, rmail-summary-next-msg):
907 Fix handling of optional argument. (Bug#19916)
909 * progmodes/f90.el (f90-beginning-of-subprogram)
910 (f90-end-of-subprogram, f90-match-end):
911 Handle continued strings where the continuation does not start
912 with "&" and happens to match our regexp. (Bug#19809)
914 2015-02-24 Bozhidar Batsov <bozhidar@batsov.com>
916 * comint.el (comint-clear-buffer): New command.
917 (comint-mode-map): Bind `comint-clear-buffer' to 'C-c M-o'.
919 2015-02-23 Pete Williamson <petewil0@googlemail.com> (tiny change)
921 Use ${EXEEXT} more uniformly in makefiles
922 * Makefile.in (EMACS): Append ${EXEEXT}.
924 2015-02-23 Sam Steingold <sds@gnu.org>
926 * files.el (recover-session): Handle `auto-save-list-file-prefix'
927 being a directory (empty non-directory part).
929 2015-02-23 Magnus Henoch <magnus.henoch@gmail.com>
931 * net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
932 instead of sasl-scram-sha-1, as the former is the name that can be
935 * net/sasl-scram-rfc.el (sasl-scram-sha-1-steps)
936 (sasl-scram-sha-1-client-final-message)
937 (sasl-scram-sha-1-authenticate-server): Move to end of file.
939 2015-02-23 Paul Eggert <eggert@cs.ucla.edu>
941 * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding.
944 2015-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
946 * emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare
947 and :documentation. Change return value format accordingly.
948 * emacs-lisp/cl-generic.el (cl--generic-lambda):
949 * emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly.
950 * emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body.
952 2015-02-23 Dmitry Gutov <dgutov@yandex.ru>
954 Introduce `xref-etags-mode'.
955 * progmodes/xref.el (xref-etags-mode--saved): New variable.
956 (xref-etags-mode): New minor mode. (Bug#19466)
958 2015-02-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
960 * dom.el (dom-previous-sibling): New function.
962 2015-02-21 Paul Eggert <eggert@cs.ucla.edu>
964 * bindings.el (ctl-x-map): There is no 'C-;'.
965 For now, make do with 'M-;'; this allows 'make bootstrap' to work.
966 Perhaps some other binding should be chosen. (Bug#19826)
968 2015-02-21 Artur Malabarba <bruce.connor.am@gmail.com>
970 * bindings.el (ctl-x-map): Fix `comment-line' binding. (Bug#19826)
972 2015-02-21 Michael Albinus <michael.albinus@gmx.de>
974 * autorevert.el (auto-revert-notify-add-watch)
975 (auto-revert-notify-handler, auto-revert-buffers): Handle also
976 buffers without an associated file, like dired buffers. (Bug#16112)
978 2015-02-21 Dima Kogan <dima@secretsauce.net>
980 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
981 (global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... )
982 wrappers. Call (auto-revert-buffers) consequently in order to
985 2015-02-21 Wilson Snyder <wsnyder@wsnyder.org>
987 Sync with upstream verilog-mode revision 0d6420b.
988 * progmodes/verilog-mode.el (verilog-mode-version): Update.
989 (vector-skip-list): Remove.
990 (verilog-auto-inst-port, verilog-auto-inst-port-list)
991 (verilog-auto-inst, verilog-auto-inst-param):
992 Use arguments rather than vector-skip.
993 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
994 modport if signal attachment is itself a modport.
995 Reported by Matthew Lovell.
997 2015-02-21 Reto Zimmermann <reto@gnu.org>
999 Sync with upstream vhdl mode v3.37.1. Add VHDL'08 support.
1000 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
1001 (vhdl-doc-release-notes): Update.
1002 (vhdl-standard): Add VHDL'08 option.
1003 (vhdl-sensitivity-list-all): New option.
1004 (vhdl-directive-keywords): Add psl.
1005 (vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
1006 (vhdl-template-construct-alist-init, vhdl-create-mode-menu):
1007 (vhdl-imenu-generic-expression): Add context, directive.
1008 (vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
1009 (vhdl-template-map-init): Add vhdl-template-context.
1010 (vhdl-mode-syntax-table): Support VHDL'08 block comments.
1011 (vhdl-create-mode-menu): Add some entries.
1012 (vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
1013 (vhdl-08-functions, vhdl-08-packages, vhdl-08-directives):
1015 (vhdl-directives): New variable.
1016 (vhdl-words-init, vhdl-template-process)
1017 (vhdl-template-replace-header-keywords): Support VHDL'08.
1018 (vhdl-abbrev-list-init): Add vhdl-directives.
1019 (vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
1020 (vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
1021 (vhdl-lineup-comment): Handle block comments and directives.
1022 (vhdl-beginning-of-directive, vhdl-template-context)
1023 (vhdl-template-context-hook): New functions.
1024 (vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
1025 (vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
1026 (vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
1027 (vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
1028 (vhdl-scan-context-clause): Add context.
1030 2015-02-20 Glenn Morris <rgm@gnu.org>
1032 * calendar/solar.el (solar-sunrise-sunset-string):
1033 Shorten message a little.
1034 (sunrise-sunset): Use message rather than a window. (Bug#19859)
1036 * progmodes/f90.el (f90-keywords-re, f90-procedures-re)
1037 (f90-font-lock-keywords-2): Some F2008 additions.
1039 2015-02-19 Dima Kogan <dima@secretsauce.net>
1041 * autorevert.el (auto-revert-buffers-counter)
1042 (auto-revert-buffers-counter-lockedout): New variables.
1043 (auto-revert-buffers): Increase `auto-revert-buffers-counter'.
1044 (auto-revert-notify-handler): Apply `auto-revert-handler' if not
1045 suppressed by lockout. (Bug#18958)
1047 2015-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1049 * emacs-lisp/eieio-opt.el (eieio-help-class): `eieio-class-parents'
1050 returns classes, not class names (bug#19891).
1052 * emacs-lisp/cl-macs.el (cl-struct-slot-value): Handle a nil type.
1054 * emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem.
1056 2015-02-18 Kelly Dean <kelly@prtime.org>
1058 * register.el (jump-to-register):
1059 * emacs-lisp/lisp.el (check-parens):
1060 Push mark before goto-char so user doesn't lose his previous place.
1062 2015-02-18 Kelly Dean <kelly@prtime.org>
1064 * rect.el (rectangle-mark-mode):
1065 Suppress superfluous "Mark set" message from push-mark.
1067 2015-02-18 Kelly Dean <kelly@prtime.org>
1069 * help-mode.el (help-go-back, help-go-forward, help-follow):
1070 * simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark):
1071 * winner.el (winner-redo):
1072 * windmove.el (windmove-do-window-select):
1073 * register.el (jump-to-register, increment-register, insert-register)
1074 (append-to-register, prepend-to-register):
1075 * files.el (find-alternate-file, abort-if-file-too-large, write-file)
1076 (set-visited-file-name):
1077 * emacs-lisp/lisp.el (kill-backward-up-list):
1078 Use user-error instead of error. (Bug#14480)
1080 2015-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1082 * emacs-lisp/checkdoc.el (checkdoc-show-diagnostics): Don't make bogus
1083 assumptions about window ordering.
1085 2015-02-16 Kelly Dean <kelly@prtime.org>
1087 * files.el (insert-file-contents-literally): Fix docstring typo.
1089 2015-02-16 Kelly Dean <kelly@prtime.org>
1091 * emacs-lisp/easy-mmode.el (define-minor-mode): Process macro
1092 arguments correctly. (Bug#19685)
1093 (define-minor-mode): Clarify docstring.
1094 Clarify mode switch messages for minor modes. (Bug#19690)
1096 2015-02-16 Kelly Dean <kelly@prtime.org>
1098 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1099 Create valid tar files. (Bug#19536)
1101 2015-02-16 Kelly Dean <kelly@prtime.org>
1103 * desktop.el (desktop-read): Conditionally re-enable desktop autosave.
1106 2015-02-16 Kelly Dean <kelly@prtime.org>
1108 * help-mode.el (help-do-xref): Prevent duplicated display of Info
1109 buffer, and prevent interference with existing buffer. (Bug#13190)
1111 2015-02-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
1113 python.el: Do not deactivate mark on shell fontification. (Bug#19871)
1115 * progmodes/python.el (python-shell-font-lock-post-command-hook):
1116 Do not deactivate mark on fontification.
1118 2015-02-16 Ivan Shmakov <ivan@siamics.net>
1120 * net/eww.el: Fix desktop support. (Bug#19226)
1121 (eww-mode): Add autoload cookie.
1122 (eww-restore-desktop): Use inhibit-read-only.
1124 * net/eww.el (eww-suggest-uris): Add autoload cookie, so that
1125 add-hook works correctly even if the file is not yet loaded.
1127 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
1129 * emacs-lisp/eieio.el (defclass): Use make-instance rather than
1131 (set-slot-value): Mark as obsolete.
1132 (eieio-object-class-name): Improve call to eieio-class-name.
1133 (eieio-slot-descriptor-name, eieio-class-slots): New functions.
1134 (object-slots): Use it. Declare obsolete.
1135 (eieio-constructor): Merge it with `make-instance'.
1136 (initialize-instance): Use `dolist'.
1137 (eieio-override-prin1, eieio-edebug-prin1-to-string):
1138 Use eieio--class-print-name.
1140 * emacs-lisp/eieio-core.el (eieio--class-print-name): New function.
1141 (eieio-class-name): Make it do what the docstring claims.
1142 (eieio-defclass-internal): Simplify since `prots' isn't used any more.
1143 (eieio--slot-name-index): Simplify accordingly.
1144 (eieio-barf-if-slot-unbound): Pass the class object rather than its
1145 name to `slot-unbound'.
1147 * emacs-lisp/eieio-base.el (make-instance): Add a method here rather
1148 than on eieio-constructor.
1150 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
1152 * emacs-lisp/cl-macs.el (cl-defstruct): Keep type=nil by default.
1153 * emacs-lisp/cl-preloaded.el (cl-struct-define): Add sanity checks
1154 about relationship between `type', `named', and `slots'.
1155 * emacs-lisp/cl-generic.el (cl--generic-struct-tagcode): Adjust to new
1156 value of `cl-struct-type' property.
1158 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
1160 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
1161 with PAGER=cat. (Bug#19870)
1163 2015-02-14 Artur Malabarba <bruce.connor.am@gmail.com>
1165 * emacs-lisp/package.el (package-read-all-archive-contents):
1166 Don't build the compatibility table.
1167 (package-refresh-contents, package-initialize): Do build the
1168 compatibility table.
1169 (package--build-compatibility-table): New function.
1170 (describe-package-1): Describe why a package is incompatible.
1172 2015-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
1174 * emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children
1176 (cl--assertion-failed): New function.
1177 (cl-assertion-failed): Move in from cl-lib.el.
1179 * emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register
1180 as children of its parents.
1181 (cl--make-type-test, cl--compiler-macro-typep): Remove functions.
1182 (cl-typep): Reimplement using define-inline.
1183 (cl-assert): Use cl--assertion-failed.
1184 (cl-struct-slot-value): Use define-inline.
1186 * emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload.
1188 * textmodes/flyspell.el (flyspell-word): Defvar (bug#19844).
1189 (flyspell-generic-check-word-p): Mark as obsolete.
1191 2015-02-13 Artur Malabarba <bruce.connor.am@gmail.com>
1193 * emacs-lisp/package.el (package--compatibility-table): New var.
1194 (package--add-to-compatibility-table): New function.
1195 (package-read-all-archive-contents): Populate compatibility table.
1196 (package--incompatible-p): Also look in dependencies.
1197 (describe-package-1): Fix "incompat" handling.
1199 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1201 * net/rfc2104.el: Moved here from lisp/gnus.
1203 2015-02-13 Magnus Henoch <magnus.henoch@gmail.com>
1205 * net/sasl-scram-rfc.el: New file.
1207 * net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5.
1208 Add SCRAM-SHA-1 first.
1209 (sasl-mechanism-alist): Remove SCRAM-MD5 entry. Add SCRAM-SHA-1
1212 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1214 * net/shr.el (shr-tag-li): Speed up rendering pages with lots of
1217 2015-02-12 Oleh Krehel <ohwoeowho@gmail.com>
1219 * progmodes/gdb-mi.el (gdb-display-io-nopopup): New defcustom.
1220 (gdb-inferior-filter): Don't pop up the buried output buffer when
1221 `gdb-display-io-nopopup' is non-nil.
1223 2015-02-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1225 python.el: Allow killing shell buffer if process is dead. (Bug#19823)
1227 * progmodes/python.el (python-shell-font-lock-kill-buffer):
1228 Don't require a running process.
1229 (python-shell-font-lock-post-command-hook): Fontify only if the
1230 shell process is running.
1232 2015-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1234 * hi-lock.el (hi-lock-unface-buffer): Don't call
1235 font-lock-remove-keywords if not needed (bug#19796).
1237 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
1239 * emacs-lisp/package.el (package-install): Invert the second
1240 argument, for better backwards compatibility.
1241 (package-install-button-action, package-reinstall)
1242 (package-menu-execute): Account for the change.
1244 2015-02-11 Nicolas Petton <nicolas@petton.fr>
1246 * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible
1247 version of seq-reverse that works on sequences in Emacs 24.
1248 Bump seq.el version to 1.2.
1250 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
1252 * emacs-lisp/package.el (package--incompatible-p): New function.
1253 Return non-nil if PKG has no chance of being installable.
1254 (package--emacs-version-list): New variable.
1255 (describe-package-1, package-desc-status)
1256 (package-menu--print-info, package-menu--status-predicate):
1257 Account for the "incompat" status.
1259 2015-02-11 Martin Rudalics <rudalics@gmx.at>
1261 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1262 Rename frame parameter `maximized' to `fullscreen-restore'.
1263 Restore fullwidth/-height after fullboth state. Update doc-strings.
1265 2015-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1267 * net/shr.el (shr-insert): Make sure the space inserted has the
1268 right font (for width).
1269 (shr-fill-line): Preserve background colours when indenting/folding.
1270 (shr-ensure-paragraph): Don't insert a new paragraph as the first
1273 2015-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1275 * net/shr.el (shr-use-fonts): New variable.
1276 (shr-fill-text): Rename from "fold".
1277 (shr-pixel-column, shr-pixel-region, shr-string-pixel-width):
1279 (shr-insert): Just insert, don't fill the text. Filling is now
1280 done afterwards per display unit.
1281 (shr-fill-lines, shr-fill-line): New functions to fill text on a
1283 (shr-find-fill-point): Take a "beginning" parameter.
1284 (shr-indent): Indent using the :width display parameter when using
1286 (shr-parse-style): Ignore "inherit" values, since we already do that.
1287 (shr-tag-img): Remove the insertion states.
1288 (shr-tag-blockquote): New-style filling.
1289 (shr-tag-dd): Ditto.
1290 (shr-tag-li): Ditto.
1291 (shr-mark-fill): New function to mark lines that need filling.
1292 (shr-tag-h1): Use a larger font.
1293 (shr-tag-table-1): Get the natural and suggested widths in one
1295 (shr-tag-table): Create the "fixed" version of the table only once
1296 so that we can cache data in the table.
1297 (shr-insert-table): Get colspan calculations right by having
1298 zero-width columns after colspan ones.
1299 (shr-expand-alignments): New function to make :align-to specs work
1300 right when rendered in one buffer and displayed in another one.
1301 (shr-insert-table-ruler): Use :align-to to get the widths right.
1302 (shr-make-table): Cache more.
1303 (shr-make-table-1): Use the new <td> data layout.
1304 (shr-pixel-buffer-width): New function.
1305 (shr-render-td): Add a caching layer.
1306 (shr-dom-max-natural-width): New function.
1307 (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering.
1308 (shr-tag-tt): New function.
1309 (shr-tag-hr): Compute the right length when using fonts.
1310 (shr-table-widths): Off-by-one error in width computation.
1311 (shr-expand-newlines): Remove dead code.
1312 (shr-insert-table): Extend background colors to the end of the column.
1313 (shr-insert-table): Only copy the background, not underline and
1315 (shr-face-background): New function.
1317 2015-02-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
1319 python.el: Improved shell font lock respecting markers. (Bug#19650)
1321 * progmodes/python.el
1322 (python-shell-font-lock-get-or-create-buffer): Use special buffer name.
1323 (python-shell-font-lock-with-font-lock-buffer): Enable font lock.
1324 (python-shell-font-lock-post-command-hook): Fontify by copying text
1325 properties from fontified buffer to shell, keeping markers unchanged.
1326 (python-shell-font-lock-turn-off): Fix typo.
1327 (python-util-text-properties-replace-name): Delete function.
1329 2015-02-09 Nicolas Petton <nicolas@petton.fr>
1331 * emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to
1332 return sequence elements in correct order.
1334 2015-02-09 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
1336 * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815).
1338 2015-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1340 * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body.
1342 * emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpected
1343 case where the default value would be re-interpreted as a form!
1345 2015-02-09 Christopher Genovese <genovese@cmu.edu> (tiny change)
1347 * help-fns.el (help-fns--signature): Keep doc for keymap.
1349 2015-02-09 Kelly Dean <kelly@prtime.org>
1351 * desktop.el: Save mark-ring less verbosely.
1352 (desktop-var-serdes-funs): New var.
1353 (desktop-buffer-info, desktop-create-buffer): Use it.
1354 (desktop-file-version): Update to 208.
1356 2015-02-09 Leo Liu <sdl.web@gmail.com>
1358 * emacs-lisp/pcase.el (pcase-lambda): New Macro. (Bug#19814)
1360 * emacs-lisp/lisp-mode.el (el-kws-re): Include `pcase-lambda'.
1362 * emacs-lisp/macroexp.el (macroexp-parse-body): New function.
1364 2015-02-08 Paul Eggert <eggert@cs.ucla.edu>
1366 Port to platforms lacking test -a and -o
1367 * Makefile.in (compile-clean):
1368 * net/tramp-sh.el (tramp-find-executable):
1369 Prefer '&&' and '||' to 'test -a' and 'test -o'.
1371 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1373 * newcomment.el (comment-line): Fix missing paren.
1375 2015-02-08 Ulrich Müller <ulm@gentoo.org>
1377 * play/gamegrid.el: Update comment to reflect that the
1378 'update-game-score' helper program is now setgid by default.
1380 2015-02-08 David Kastrup <dak@gnu.org>
1382 * subr.el (apply-partially): Use lexical binding here.
1384 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1386 * newcomment.el (comment-line): New command.
1388 * bindings.el (ctl-x-map): Bind to `C-x C-;'.
1390 2015-02-08 Oleh Krehel <ohwoeowho@gmail.com>
1392 * outline.el (outline-show-entry): Fix one invisible char for the
1393 file's last outline. (Bug#19493)
1395 2015-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1397 * subr.el (indirect-function): Change advertised calling convention.
1399 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1401 python.el: Fix completion-at-point. (Bug#19667)
1403 * progmodes/python.el
1404 (python-shell-completion-native-get-completions): Force process buffer.
1405 (python-shell-completion-at-point): Handle case where call is not
1408 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1410 python.el: Fix shell font-lock multiline input. (Bug#19744)
1412 * progmodes/python.el
1413 (python-shell-font-lock-post-command-hook): Handle multiline input.
1415 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1417 python.el: Make shell font-lock respect markers. (Bug#19650)
1419 * progmodes/python.el (python-shell-font-lock-cleanup-buffer):
1421 (python-shell-font-lock-comint-output-filter-function):
1423 (python-shell-font-lock-post-command-hook): Respect markers on
1426 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1428 python.el: Keep eldoc visible while typing args. (Bug#19637)
1429 * progmodes/python.el (python-eldoc--get-symbol-at-point):
1430 New function based on Carlos Pita <carlosjosepita@gmail.com> patch.
1431 (python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it.
1433 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1435 Fix hideshow integration. (Bug#19761)
1436 * progmodes/python.el
1437 (python-hideshow-forward-sexp-function): New function based on
1438 Carlos Pita <carlosjosepita@gmail.com> patch.
1439 (python-mode): Make `hs-special-modes-alist` use it and initialize
1440 the end regexp with the empty string to avoid skipping parens.
1442 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1444 * progmodes/python.el (python-check-custom-command): Do not use
1445 defvar-local for compat with Emacs<24.3.
1447 2015-02-07 Martin Rudalics <rudalics@gmx.at>
1449 * frame.el (frame-notice-user-settings):
1450 Update `frame-size-history'.
1451 (make-frame): Update `frame-size-history'.
1452 Call `frame-after-make-frame'.
1453 * faces.el (face-set-after-frame-default): Remove call to
1454 frame-can-run-window-configuration-change-hook.
1456 2015-02-06 Dmitry Gutov <dgutov@yandex.ru>
1458 * vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to
1459 `vc-cvs-command' (bug#19732).
1461 2015-02-06 Nicolas Petton <nicolas@petton.fr>
1463 * emacs-lisp/seq.el (seq-mapcat, seq-partition, seq-group-by):
1465 * emacs-lisp/seq.el (seq-drop-while, seq-take-while, seq-count)
1466 (seq--drop-list, seq--take-list, seq--take-while-list):
1469 2015-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1471 * doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. Use
1472 `image-kill-buffer' instead.
1474 2015-02-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1476 * net/ldap.el (ldap-search-internal): Fix docstring.
1478 2015-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1480 * subr.el (define-error): The error conditions may be constant
1481 lists, so use `append' to concatenate them.
1483 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
1485 * net/network-stream.el (network-stream-open-tls): Respect the
1486 :end-of-capability setting.
1488 2015-02-05 Artur Malabarba <bruce.connor.am@gmail.com>
1490 * emacs-lisp/package.el (package--sort-by-dependence):
1491 New function. Return PACKAGE-LIST sorted by dependencies.
1492 (package-menu-execute): Use it to delete packages in order.
1493 (package--sort-deps-in-alist): New function.
1494 (package-menu-mark-install): Can mark dependencies.
1495 (package--newest-p): New function.
1496 (package-delete): Don't deselect when deleting an older version of
1497 an upgraded package.
1499 * emacs-lisp/package.el: Add missing (require 'subr-x)
1501 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1503 * textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be
1504 hyphenated (bug#19263).
1506 * textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence
1507 of variable interpolation (bug#19751).
1509 2015-02-05 Era Eriksson <era+emacs@iki.fi>
1511 * json.el (json-end-of-file): New error (bug#19768).
1512 (json-pop, json-read): Use it.
1514 2015-02-05 Kelly Dean <kelly@prtime.org>
1516 * help-mode.el (help-xref-interned): Pass BUFFER and FRAME to
1517 `describe-variable'.
1519 * help-fns.el (describe-function-or-variable): New function.
1521 * help.el (help-map): Bind `describe-function-or-variable' to o.
1522 (help-for-help-internal): Document o key.
1524 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1526 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use new
1527 special (:documentation ...) feature.
1528 * emacs-lisp/eieio-core.el (eieio-make-class-predicate)
1529 (eieio-make-child-predicate): Same.
1530 (eieio-copy-parents-into-subclass): Remove unused arg.
1531 (eieio-defclass-internal): Adjust call accordingly and remove redundant
1533 (eieio--slot-name-index): Remove unused arg `obj' and adjust all
1534 callers accordingly.
1536 * emacs-lisp/cconv.el (cconv--convert-function):
1537 Add `docstring' argument.
1538 (cconv-convert): Use it to handle the new (:documentation ...) form.
1539 (cconv-analyze-form): Handle the new (:documentation ...) form.
1541 * emacs-lisp/bytecomp.el:
1542 (byte-compile-initial-macro-environment): Use macroexp-progn.
1543 (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
1544 (byte-compile-file-form-defvar-function): Rename from
1545 byte-compile-file-form-define-abbrev-table.
1546 (defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
1547 (byte-compile): Use byte-compile-top-level rather than
1548 byte-compile-lambda so we can compile non-values.
1549 (byte-compile-form): Add warnings for failed uses of lexical vars via
1551 (byte-compile-unfold-bcf): Improve message for failed inlining.
1552 (byte-compile-make-closure): Handle new format of internal-make-closure
1553 for dynamically-generated docstrings.
1555 * delsel.el: Deprecate the `kill' option. Use lexical-binding.
1556 (open-line): Delete like all other commands, instead of killing.
1557 (delete-active-region): Don't define any return any value.
1559 * progmodes/python.el: Try to preserve compatibility with Emacs-24.
1560 (python-mode): Don't assume eldoc-documentation-function has a non-nil
1563 2015-02-04 Sam Steingold <sds@gnu.org>
1565 * progmodes/python.el (python-indent-calculate-indentation):
1566 Avoid the error when computing top-level indentation.
1568 2015-02-04 Stefan Monnier <monnier@iro.umontreal.ca>
1570 * emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
1572 * textmodes/flyspell.el: Use lexical-binding and cl-lib.
1573 (mail-mode-flyspell-verify): Fix last change.
1574 (flyspell-external-point-words, flyspell-large-region):
1575 Avoid add-to-list on local vars.
1577 2015-02-04 Tassilo Horn <tsdh@gnu.org>
1579 * emacs-lisp/package.el (package-installed-p): Fix typo causing
1580 void-variable error.
1582 2015-02-04 Artur Malabarba <bruce.connor.am@gmail.com>
1584 * image-mode.el (image-kill-buffer): New command.
1585 (image-mode-map): Bind it to k.
1587 * emacs-lisp/package.el (package-delete): Remove package from
1588 `package-selected-packages' even if it can't be deleted.
1589 (package-installed-p): Accept package-desc objects.
1590 (package-install): Can be used to mark dependencies as
1591 selected. When given a package-desc object which is already
1592 installed, the package is not downloaded again, but it is marked
1593 as selected (if it wasn't already).
1594 (package-reinstall): Accept package-desc objects.
1596 2015-02-03 Artur Malabarba <bruce.connor.am@gmail.com>
1598 * emacs-lisp/package.el (package-delete): Document NOSAVE.
1599 (package--get-deps): delete-dups when ONLY is nil.
1600 (package-autoremove): Warn the user if `package-selected-packages'
1603 (package--user-selected-p): New function.
1604 (package-delete, package-install, package-install-from-buffer):
1606 (package-selected-packages): Mention it.
1608 (package-initialize): Don't populate `package-selected-packages'.
1609 (package-install-user-selected-packages, package-autoremove):
1610 Special handling for empty `package-selected-packages'.
1611 (package-install): Fix when PKG is a package-desc.
1613 (package-desc-status): Add "dependency" status to the Package
1615 (package-menu--status-predicate, package-menu--print-info)
1616 (package-menu-mark-delete, package-menu--find-upgrades)
1617 (package-menu--status-predicate, describe-package-1): Use it
1619 (package--removable-packages): New function.
1620 (package-autoremove): Use it.
1621 (package-menu-execute): Offer to remove unneeded packages.
1623 (package--read-pkg-desc, package-tar-file-info): Fix reference to
1626 2015-02-03 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1628 * emacs-lisp/package.el (package-reinstall): Don't change package's selected status.
1629 (package-delete): New NOSAVE argument.
1631 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
1633 * net/tramp-sh.el (tramp-histfile-override): Fix docstring.
1634 (tramp-open-shell, tramp-maybe-open-connection): Set also
1635 HISTFILESIZE and HISTSIZE when needed. (Bug#19731)
1637 2015-02-02 Artur Malabarba <bruce.connor.am@gmail.com>
1639 * emacs-lisp/package.el (package--find-non-dependencies):
1641 (package-initialize): Use it to populate `package-selected-packages'.
1642 (package-menu-execute): Clean unnecessary `and'.
1643 (package--get-deps): Fix returning duplicates.
1645 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
1647 * net/tramp-sh.el (tramp-histfile-override): Add another choice t.
1649 (tramp-open-shell, tramp-maybe-open-connection): Support it.
1652 2015-02-02 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1654 * emacs-lisp/package.el (package-delete): Remove package from
1655 package-selected-packages.
1656 (package-autoremove): Remove unneeded variable.
1658 2015-02-01 Artur Malabarba <bruce.connor.am@gmail.com>
1660 * emacs-lisp/package.el (package-selected-packages): Fix :type
1661 (package-install): Rename ARG to MARK-SELECTED.
1662 (package--get-deps): Fix for indirect dependencies.
1663 (package-used-elsewhere-p): Rename to
1664 (package--used-elsewhere-p): New function.
1665 (package-reinstall, package-user-selected-packages-install)
1666 (package-autoremove): Use sharp-quote.
1667 (package-user-selected-packages-install): Reindent and rename to
1668 (package-install-user-selected-packages): New function.
1670 2015-02-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1672 * emacs-lisp/package.el: Don't allow deleting dependencies.
1674 (package-used-elsewhere-p): New function.
1675 (package-delete): Use it, return now an error when trying to
1676 delete a package used as dependency by another package.
1678 Add a reinstall package command.
1679 (package-reinstall): New function.
1681 Add a package-autoremove command.
1682 (package-selected-packages): New user var.
1683 (package-install): Add an optional arg to notify interactive use.
1684 Fix docstring. Save installed package to
1685 packages-installed-directly.
1686 (package-install-from-buffer): Same.
1687 (package-user-selected-packages-install): Allow installing all
1688 packages in packages-installed-directly at once.
1689 (package--get-deps): New function.
1690 (package-autoremove): New function.
1691 (package-install-button-action): Call package-install with
1693 (package-menu-execute): Same but only for only for not installed
1696 2015-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1698 * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
1699 and eieio-make-child-predicate.
1700 (eieio-class-parents): Use eieio--class-object.
1701 (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
1702 (slot-exists-p): Use find-class.
1704 * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
1705 Use find-lisp-object-file-name, help-fns-short-filename and new calling
1706 convention for eieio-class-def.
1707 (eieio-build-class-list): Remove function, unused.
1708 (eieio-method-def): Remove button type, unused.
1709 (eieio-class-def): Inherit from help-function-def.
1710 (eieio--defclass-regexp): New constant.
1711 (find-function-regexp-alist): Use it.
1712 (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
1713 (eieio-help-find-method-definition, eieio-help-find-class-definition):
1716 * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
1717 Use cl-check-type everywhere instead.
1718 (eieio-class-object): Remove, use find-class instead when needed.
1719 (class-p): Don't inline.
1720 (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
1721 such as eieio classes, as objects. Don't inline.
1722 (object-p): Mark as obsolete.
1723 (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
1724 (eieio--generic-tagcode): Avoid `class-p'.
1725 (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
1726 (eieio-defclass-internal): Use current-load-list rather than
1729 * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
1731 2015-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1733 * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
1734 since it may be "equivalent" in some sense, yet different (bug#19734).
1736 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1738 * outline.el (outline-font-lock-face): Add docstring.
1739 (outline-invisible-p): Improve docstring.
1740 (outline-invent-heading): Add docstring.
1741 (outline-promote): Improve docstring.
1742 (outline-demote): Improve docstring.
1743 (outline-head-from-level): Improve docstring.
1744 (outline-end-of-heading): Add docstring.
1745 (outline-next-visible-heading): Improve docstring.
1746 (outline-previous-visible-heading): Improve docstring.
1747 (outline-hide-region-body): Improve docstring.
1748 (outline-flag-subtree): Add docstring.
1749 (outline-end-of-subtree): Add docstring.
1750 (outline-headers-as-kill): Improve docstring.
1752 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1754 * outline.el (outline-hide-entry): Rename from `hide-entry'.
1755 (hide-entry): Declare as obsolete.
1756 (outline-show-entry): Rename from `show-entry'.
1757 (show-entry): Declare as obsolete.
1758 (outline-hide-body): Rename from `hide-body'.
1759 (hide-body): Declare as obsolete.
1760 (outline-hide-region-body): Rename from `hide-region-body'.
1761 (hide-region-body): Declare as obsolete.
1762 (outline-show-all): Rename from `show-all'.
1763 (show-all): Declare as obsolete.
1764 (outline-hide-subtree): Rename from `hide-subtree'.
1765 (hide-subtree): Declare as obsolete.
1766 (outline-hide-leaves): Rename from `hide-leaves'.
1767 (hide-leaves): Declare as obsolete.
1768 (outline-show-subtree): Rename from `show-subtree'.
1769 (show-subtree): Declare as obsolete.
1770 (outline-hide-sublevels): Rename from `hide-sublevels'.
1771 (hide-sublevels): Declare as obsolete.
1772 (outline-hide-other): Rename from `hide-other'.
1773 (hide-other): Declare as obsolete.
1774 (outline-show-children): Rename from `show-children'.
1775 (show-children): Declare as obsolete.
1776 (outline-show-branches): Rename from `show-branches'.
1777 (show-branches): Declare as obsolete.
1779 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1781 * outline.el (outline-mode): Clean up docstring.
1782 (font-lock-warning-face): Remove obsolete declaration.
1783 (outline-font-lock-face): Remove obsolete comment.
1785 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1787 * custom.el (defface): Set `indent' to 1.
1789 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1791 * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
1793 2015-01-30 Michal Nazarewicz <mina86@mina86.com>
1795 * files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
1796 is set, but user has just been asked whether they really want to
1797 kill Emacs (for example with a ‘Modified buffers exist; exit
1798 anyway?’ prompt), do not ask them for another confirmation.
1800 2015-01-29 Jay Belanger <jay.p.belanger@gmail.com>
1802 * calc/calc-units.el (calc-convert-exact-units): New function.
1803 (calc-convert-units): Check for missing units.
1804 (math-consistent-units-p): Strengthen the test for consistent units.
1806 * calc/calc-ext.el (calc-init-extensions): Autoload
1807 `calc-convert-exact-units' and assign it a keybinding.
1809 * calc/calc-help (calc-u-prefix-help): Add help for the
1812 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1814 * emacs-lisp/cl.el (cl--function-convert): Simplify.
1816 2015-01-28 Tassilo Horn <tsdh@gnu.org>
1818 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
1819 punctuation syntax since to allow bibtex fields with values such
1820 as {Test 1) and 2)} (bug#19205, bug#19707).
1821 (reftex--prepare-syntax-tables): New function.
1822 (reftex-mode): Use it.
1824 2015-01-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1826 python.el: New non-global state dependent indentation engine.
1827 (Bug#18319, Bug#19595)
1828 * progmodes/python.el (python-syntax-comment-or-string-p):
1829 Accept PPSS as argument.
1830 (python-syntax-closing-paren-p): New function.
1831 (python-indent-current-level)
1832 (python-indent-levels): Mark obsolete.
1833 (python-indent-context): Return more context cases.
1834 (python-indent--calculate-indentation)
1835 (python-indent--calculate-levels): New functions.
1836 (python-indent-calculate-levels): Use them.
1837 (python-indent-calculate-indentation, python-indent-line):
1838 (python-indent-line-function): Rewritten to use new API.
1839 (python-indent-dedent-line): Simplify logic.
1840 (python-indent-dedent-line-backspace): Use `unless`.
1841 (python-indent-toggle-levels): Delete function.
1843 2015-01-28 Daniel Koning <dk@danielkoning.com> (tiny change)
1845 * subr.el (posnp): Correct docstring of `posnp'.
1846 (posn-col-row): Make it work with all mouse position objects.
1847 * textmodes/artist.el (artist-mouse-draw-continously):
1848 Cancel timers if an error occurs during continuous drawing. (Bug#6130)
1850 2015-01-28 Eli Zaretskii <eliz@gnu.org>
1852 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
1854 2015-01-28 Michael Albinus <michael.albinus@gmx.de>
1856 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
1858 (file-notify--descriptor): New defun.
1859 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
1860 Adapt docstring. Handle multiple values for
1861 `file-notify-descriptors' entries. (Bug#18880)
1863 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
1864 `file-notify-descriptors', the implementation has been changed.
1866 2015-01-28 Eli Zaretskii <eliz@gnu.org>
1868 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
1869 On MS-Windows, bind coding-system-for-read to the console output
1870 codepage. (Bug#19458)
1872 2015-01-28 Dmitry Gutov <dgutov@yandex.ru>
1874 Unbreak `mouse-action' property in text buttons.
1875 * button.el (push-button): Fix regression from 2012-12-06.
1877 2015-01-28 Glenn Morris <rgm@gnu.org>
1879 * progmodes/sh-script.el (sh-mode): Doc fix.
1880 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
1882 2015-01-28 Paul Eggert <eggert@cs.ucla.edu>
1884 Fix dired quoting bug with "Hit`N`Hide".
1885 * files.el (shell-quote-wildcard-pattern): Also quote "`". (Bug#19498)
1887 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1889 Tighten up the tagcode used for eieio and cl-struct objects.
1890 * loadup.el: Load cl-preloaded.
1891 * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
1892 slot of the tag symbol to :quick-object-witness-check.
1893 (eieio-object-p): Use :quick-object-witness-check.
1894 (eieio--generic-tagcode): Use cl--generic-struct-tag.
1895 * emacs-lisp/cl-preloaded.el: New file.
1896 * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
1897 (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
1898 (cl--make-usage-args): Strip away &aux args.
1899 (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
1900 (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
1901 (cl-defstruct): Use `declare' and cl-struct-define.
1902 * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
1903 (cl--generic-struct-tagcode): Use it to tighten the tagcode.
1905 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1907 * emacs-lisp/cl.el (cl--function-convert):
1908 Merge cache that cl--labels-convert adds (bug#19699).
1910 2015-01-27 Ivan Shmakov <ivan@siamics.net>
1912 * tar-mode.el: Allow for adding new archive members. (Bug#19274)
1913 (tar-new-regular-file-header, tar--pad-to, tar--put-at)
1914 (tar-header-serialize): New functions.
1915 (tar-current-position): Split from tar-current-descriptor.
1916 (tar-current-descriptor): Use it.
1917 (tar-new-entry): New command.
1918 (tar-mode-map): Bind it.
1920 2015-01-27 Sam Steingold <sds@gnu.org>
1922 * progmodes/python.el (python-check-custom-command): Buffer local
1923 because it usually includes the buffer name.
1924 (python-check-command): Set to epylint when pyflakes is not available.
1926 2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
1928 * isearch.el (isearch-process-search-char): Add docstring.
1930 2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
1932 * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
1934 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1936 * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
1937 for the case cl-flet or cl-labels form is wrapped with lexical-let
1940 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1942 * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
1943 (cl--generic): The method-table is now a (list-of cl--generic-method).
1944 (cl--generic-member-method): New function.
1945 (cl-generic-define-method): Use it.
1946 (cl--generic-build-combined-method, cl--generic-cache-miss):
1947 Adapt to new method-table.
1948 (cl--generic-no-next-method-function): Add `method' argument.
1949 (cl-generic-call-method): Adapt to new method representation.
1950 (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
1951 (cl-find-method, cl-method-qualifiers): New functions.
1952 (cl--generic-method-info): Adapt to new method representation.
1953 Return a string for the qualifiers.
1954 (cl--generic-describe):
1955 * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
1956 (eieio-all-generic-functions, eieio-method-documentation):
1957 Adjust to new method representation.
1959 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
1961 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1963 * emacs-lisp/cl-generic.el: Add a method-combination hook.
1964 (cl-generic-method-combination-function): New var.
1965 (cl--generic-lambda): Remove `with-cnm' arg.
1966 (cl-defmethod): Change accordingly.
1967 (cl-generic-define-method): Don't check qualifiers validity.
1968 Preserve all qualifiers in `method-table'.
1969 (cl-generic-call-method): New function.
1970 (cl--generic-nest): Remove (morph into cl-generic-call-method).
1971 (cl--generic-build-combined-method): Adjust to new format of method-table
1972 and use cl-generic-method-combination-function.
1973 (cl--generic-standard-method-combination): New function, extracted from
1974 cl--generic-build-combined-method.
1975 (cl--generic-cnm-sample): Adjust to new format of method-table.
1977 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
1978 instead of :primary.
1980 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1981 Remove obsolete function.
1983 2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
1985 * net/shr.el (shr-make-table-1): Fix colspan typo.
1986 (shr-make-table-1): Add comments.
1987 (shr-make-table-1): Make colspan display more sensibly.
1989 * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
1992 2015-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
1994 * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
1995 (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
1997 (cl--generic-typeof-types): Add support for `sequence'.
1998 (cl-defmethod): Add non-keywords in the qualifiers.
2000 2015-01-25 Dmitry Gutov <dgutov@yandex.ru>
2002 * emacs-lisp/find-func.el (find-function-regexp): Don't match
2003 `defgroup' (regression from the previous change here).
2005 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2007 * net/ldap.el (ldap-search-internal): Mention binddn in invalid
2008 credentials error message.
2010 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2012 * net/ldap.el (ldap-password-read): Validate password before
2014 (ldap-search-internal): Handle ldapsearch error conditions.
2016 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2018 * net/ldap.el (ldap-password-read): Handle password-cache being nil.
2020 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2022 * net/eudc.el (eudc-expand-inline): Always restore former server
2025 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2027 * net/eudcb-ldap.el: Don't nag the user in case a default base is
2028 provided by the LDAP system configuration file.
2030 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2032 * net/eudc.el (eudc-format-query): Preserve the
2033 eudc-inline-query-format ordering of attributes in the returned list.
2034 * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
2035 Append the LDAP wildcard character to the last attribute value.
2037 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2039 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
2040 Downcase field names of LDAP results.
2041 (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
2043 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2045 * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
2046 (ldap-search-internal): Send password to ldapsearch through a pipe
2047 instead of via the command line.
2049 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2051 * net/ldap.el: Require password-cache.
2052 (ldap-password-read): New function.
2053 (ldap-search-internal): Call ldap-password-read when it is
2054 configured to be called.
2056 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2058 * net/eudc-vars.el (eudc-expansion-overwrites-query):
2059 Change default to nil.
2061 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2063 * net/eudc.el (eudc-expand-inline): Ignore text properties of
2066 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2068 * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
2069 format that includes first name and surname.
2071 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2073 * net/eudc-vars.el (eudc-inline-query-format): Change default to
2074 query email and first name instead of surname.
2076 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2078 * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
2080 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2082 * net/eudc-vars.el (eudc-server): Adjust docstring to mention
2083 eudc-server-hotlist.
2084 (eudc-server-hotlist): Move from eudc.el and make defcustom.
2085 * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
2086 (eudc-set-server): Allow setting protocol to nil.
2087 (eudc-expand-inline): Support hotlist-only expansions when server
2090 2015-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2092 * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
2093 (cl--generic-build-combined-method): Use it.
2095 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
2097 Don't downcase system diagnostics' first letters
2098 * emacs-lisp/bytecomp.el (byte-compile-file):
2099 * ffap.el (find-file-at-point):
2100 * files.el (insert-file-1):
2101 * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
2102 (ange-ftp-copy-file-internal):
2103 * progmodes/etags.el (visit-tags-table):
2104 Keep diagnostics consistent with system's.
2105 * ffap.el (ffap-machine-p):
2106 Ignore case while comparing diagnostics.
2108 2015-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2110 * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
2112 * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
2113 body with a docstring.
2115 2015-01-22 Dmitry Gutov <dgutov@yandex.ru>
2117 * progmodes/xref.el (xref-location-marker, xref-location-group):
2118 Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
2121 * progmodes/etags.el (xref-location-marker): Same.
2123 * progmodes/xref.el (xref--current): Rename from `xref--selected'.
2124 (xref--inhibit-mark-current): Rename from
2125 `xref--inhibit-mark-selected'. Update the usages.
2126 (xref-quit): Reword the docstring. Kill buffers after quitting
2127 windows instead of before.
2128 (xref--insert-xrefs): Tweak help-echo.
2129 (xref--read-identifier-history, xref--read-pattern-history):
2131 (xref--read-identifier, xref-find-apropos): Use them.
2133 2015-01-21 Ulrich Müller <ulm@gentoo.org>
2135 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2136 Allow the 'update-game-score' helper program to run suid or sgid.
2138 2015-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2140 * emacs-lisp/eieio.el: Use cl-defmethod.
2141 (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
2142 (eieio-object-name-string): Declare as obsolete.
2144 * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
2145 (eieio--specializers-apply-to-class-p): New function.
2146 (eieio-all-generic-functions): Use it.
2147 (eieio-method-documentation): Use it as well as cl--generic-method-info.
2148 Change format of return value.
2149 (eieio-help-class): Adapt accordingly.
2151 * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
2152 errors when there's a `before' but no `primary' (bug#19645).
2153 (next-method-p): Return nil rather than signal an error.
2154 (eieio-defgeneric): Remove bogus (fboundp 'method).
2156 * emacs-lisp/eieio-speedbar.el:
2157 * emacs-lisp/eieio-datadebug.el:
2158 * emacs-lisp/eieio-custom.el:
2159 * emacs-lisp/eieio-base.el: Use cl-defmethod.
2161 * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
2162 (cl--generic-setf-rewrite): Setup the setf expander right away.
2163 (cl-defmethod): Make sure the setf expander is setup before we expand
2165 (cl-defmethod): Silence byte-compiler warnings.
2166 (cl-generic-define-method): Shuffle code to change return value.
2167 (cl--generic-method-info): New function, extracted from
2168 cl--generic-describe.
2169 (cl--generic-describe): Use it.
2171 2015-01-21 Dmitry Gutov <dgutov@yandex.ru>
2173 * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
2174 the major mode. Remap `quit-window' to `xref-quit'.
2175 (xref--xref-buffer-mode): Inherit from special-mode.
2177 xref: Keep track of temporary buffers (bug#19466).
2178 * progmodes/xref.el (xref--temporary-buffers, xref--selected)
2179 (xref--inhibit-mark-selected): New variables.
2180 (xref--mark-selected): New function.
2181 (xref--show-location): Maybe add the buffer to
2182 `xref--temporary-buffers', add `xref--mark-selected' to
2183 `buffer-list-update-hook' there.
2184 (xref--window): Add docstring.
2185 (xref-quit): Rename from `xref--quit'. Update both references.
2186 Add KILL argument. When it's non-nil, kill the temporary buffers
2187 that haven't been selected by the user.
2188 (xref--show-xref-buffer): Change the second argument to alist,
2189 extract the values for `xref--window' and
2190 `xref--temporary-buffers' from it. Add `xref--mark-selected' to
2191 `buffer-list-update-hook' to each buffer in the list.
2192 (xref--show-xrefs): Move the logic of calling `xref-find-function'
2193 here. Save the difference between buffer lists before and after
2194 it's called as "temporary buffers", and `pass it to
2195 `xref-show-xrefs-function'.
2196 (xref--find-definitions, xref-find-references)
2197 (xref-find-apropos): Update accordingly.
2199 2015-01-20 Artur Malabarba <bruce.connor.am@gmail.com>
2201 * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
2203 2015-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2205 * emacs-lisp/eieio-generic.el: Remove.
2206 (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete.
2207 * emacs-lisp/eieio-compat.el: New file.
2208 * emacs-lisp/eieio.el: Don't require eieio-generic any more.
2209 * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
2210 Remove unused function.
2211 (eieio-defclass): Move to eieio-compat.el.
2212 * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
2213 (macroexp--expand-all): Use it.
2214 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
2216 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2218 * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
2219 major modes should use `add-function' to alter value of the variable.
2220 * hexl.el (hexl-mode):
2221 * ielm.el (inferior-emacs-lisp-mode):
2222 * progmodes/cfengine.el (cfengine3-mode):
2223 * progmodes/elisp-mode (emacs-lisp-mode):
2224 * progmodes/octave.el (octave-mode):
2225 * progmodes/python.el (python-mode):
2226 * simple.el (read--expression): Set `eldoc-documentation-function'
2227 using `add-function' so the default value is always used.
2229 * descr-text.el (describe-char-eldoc): New function returning
2230 basic Unicode codepoint information (e.g. name) about character
2231 at point. It is meant to be used as a default value of the
2232 `eldoc-documentation-function' variable.
2233 (describe-char-eldoc--format, describe-char-eldoc--truncate):
2234 New helper functions for `describe-char-eldoc' function.
2236 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2238 * textmodes/paragraphs.el (sentence-end-base): Include an
2239 ellipsis (…) and interrobang (‽) characters as end of a sentence,
2240 and a closing single quote (’) as an end of a quote.
2242 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2244 * textmodes/tildify.el (tildify-double-space-undos): A new
2245 variable specifying whether pressing space in `tildify-mode' after
2246 a space has been replaced with hard space undos the substitution.
2247 (tildify-space): Add code branch for handling `tildify-doule-space'.
2249 * textmodes/tildify.el (tildify-space): A new function
2250 which can be used as a `post-self-insert-hook' to automatically
2251 convert spaces into hard spaces.
2252 (tildify-space-pattern): A new variable specifying pattern where
2253 `tildify-space' should take effect.
2254 (tildify-space-predicates): A new variable specifying list of
2255 predicate functions that all must return non-nil for
2256 `tildify-space' to take effect.
2257 (tildify-space-region-predicate): A new functions meant to be
2258 used as a predicate in `tildify-space-predicates' list.
2259 (tildify-mode): A new minor mode enabling `tildify-space' as a
2260 `post-self-insert-hook'
2262 2015-01-20 Daniel Colascione <dancol@dancol.org>
2264 * vc/vc-dir.el (vc-dir): Default to repository root, not
2267 2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
2269 * progmodes/etags.el (xref-etags-location): New class.
2270 (xref-make-etags-location): New function.
2271 (etags--xref-find-definitions): Use it.
2272 (xref-location-marker): New method implementation.
2274 * progmodes/xref.el: Mention that xref-location is an EIEIO class.
2275 (xref--insert-xrefs): Expand help-echo string.
2277 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2279 * ido.el: Update Customization instructions.
2281 2015-01-19 Jonas Bernoulli <jonas@bernoul.li>
2283 Define Ido keymaps once (bug#17000).
2284 * ido.el (ido-common-completion-map)
2285 (ido-file-dir-completion-map)
2286 (ido-file-completion-map, ido-buffer-completion-map): Set up key
2287 bindings when each variable is defined.
2288 (ido-completion-map): Move definition.
2289 (ido-init-completion-maps): Noop.
2290 (ido-common-initialization): Don't call it.
2291 (ido-setup-completion-map): Improve doc-string, cleanup.
2293 2015-01-19 Ivan Shmakov <ivan@siamics.net>
2295 * cus-dep.el (custom-make-dependencies): Ensure that
2296 default-directory is interpreted as a directory (see bug#19140.)
2298 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2300 * progmodes/xref.el (xref--display-position):
2301 Set `other-window-scroll-buffer'.
2302 (xref-goto-xref): Use `user-error'.
2304 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2306 * progmodes/xref.el (xref--display-history): New variable.
2307 (xref--window-configuration): Remove.
2308 (xref--save-to-history): New function.
2309 (xref--display-position): Use it. Add new argument.
2310 (xref--restore-window-configuration): Remove.
2311 (xref--show-location, xref-show-location-at-point):
2313 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
2314 (xref--quit): New command.
2315 (xref-goto-xref): Use it.
2316 (xref--xref-buffer-mode-map): Bind `q' to it.
2318 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
2320 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
2321 indentation or at eol.
2323 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2325 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2326 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2328 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2330 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
2333 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
2334 introduction of a new dispatch argument.
2335 (cl--generic-cache-miss): Handle dispatch on an argument which was not
2336 considered as dispatchable for this method.
2337 (cl-defmethod): Warn when adding a method to an obsolete generic function.
2338 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
2340 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
2342 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
2344 * emacs-lisp/package.el (package--append-to-alist): Rename from
2345 `package--add-to-alist'
2346 Updated docstring due to new name.
2348 2015-01-18 Leo Liu <sdl.web@gmail.com>
2350 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
2351 multiple evaluation. (Bug#19519)
2353 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
2356 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2358 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2359 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2361 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2363 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
2365 (cl-struct-type-p): New function.
2367 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
2368 (cl-defmethod): Add edebug spec.
2369 (cl--generic-build-combined-method): Fix call to
2370 cl-no-applicable-method.
2371 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
2372 (cl--generic-isnot-nnm-p): New function.
2373 (cl--generic-lambda): Use it to add support for cl-next-method-p.
2374 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
2375 (cl-next-method-p): New function.
2377 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2379 * version.el (emacs-repository-get-version): Update docstring.
2381 2015-01-17 Ivan Shmakov <ivan@siamics.net>
2383 * files.el (find-file-other-window, find-file-other-frame):
2384 Use mapc instead of mapcar. (Bug#18175)
2386 * files.el (dir-locals-collect-variables): Use default-directory
2387 in place of the file name while working on non-file buffers, just
2388 like hack-dir-local-variables already does. (Bug#19140)
2390 * textmodes/enriched.el (enriched-encode):
2391 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
2394 * desktop.el (desktop-read): Do not call desktop-clear when no
2395 desktop file is found. (Bug#18371)
2397 * misearch.el (multi-isearch-unload-function): New function.
2398 (misearch-unload-function): New alias. (Bug#19566)
2400 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2402 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
2403 class-constructor, and make it an alias for `identity'.
2406 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
2407 argument here (bug#19620)...
2408 (defclass): ...instead of in the constructor here.
2410 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2412 * emacs-lisp/package.el (package-archive-priorities):
2413 Specify correct type.
2415 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2417 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
2419 (emacs-repository-get-version): Discard the Bazaar case.
2420 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
2421 emacs-bzr-version-dirstate and move from version.el to here.
2422 (vc-bzr-working-revision): Use it.
2424 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2426 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
2427 eieio--scoped-class any more.
2429 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
2430 (eieio--scoped-class): Remove function.
2431 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
2432 (eieio--slot-name-index): Don't check the :protection anymore.
2433 (eieio-initializing-object): Remove var.
2434 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
2436 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2438 Improve handling of doc-strings and describe-function for cl-generic.
2440 * help-mode.el (help-function-def): Add optional arg `type'.
2442 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
2444 (help-fns-short-filename): New function.
2445 (describe-function-1): Use it. Use autoload-do-load.
2447 * emacs-lisp/find-func.el: Use lexical-binding.
2448 (find-function-regexp): Don't rule out `defgeneric'.
2449 (find-function-regexp-alist): Document new possibility of including
2450 a function instead of a regexp.
2451 (find-function-search-for-symbol): Implement that new possibility.
2452 (find-function-library): Don't assume that `function' is a symbol.
2453 (find-function-do-it): Remove unused var `orig-buf'.
2455 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
2456 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
2457 (eieio--method-optimize-primary): Don't mess with the docstring.
2458 (defgeneric): Keep the `args' in the docstring.
2459 (defmethod): Don't use the method's docstring for the generic
2460 function's docstring.
2462 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
2463 (eieio-defclass-autoload): Don't record the superclasses any more.
2464 (eieio-defclass-internal): Reuse the old class object if it was just an
2466 (eieio--class-precedence-list): Load the class if it's autoloaded.
2468 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
2469 override an autoload.
2470 (cl-generic-current-method-specializers): Replace dyn-bind variable
2471 with a lexically-scoped macro.
2472 (cl--generic-lambda): Update accordingly.
2473 (cl-generic-define-method): Record manually in the load-history with
2474 type `cl-defmethod'.
2475 (cl--generic-get-dispatcher): Minor optimization.
2476 (cl--generic-search-method): New function.
2477 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
2478 (cl--generic-search-method): Add hyperlinks for methods. Merge the
2479 specializers and the function's arguments.
2481 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
2483 * emacs-lisp/package.el (package--read-pkg-desc):
2484 New function. Read a `define-package' form in current buffer.
2485 Return the pkg-desc, with desc-kind set to KIND.
2486 (package-dir-info): New function. Find package information for a
2487 directory. The return result is a `package-desc'.
2488 (package-install-from-buffer): Install packages from dired buffer.
2489 (package-install-file): Install packages from directory.
2490 (package-desc-suffix)
2491 (package-install-from-archive)
2492 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2493 Ensure all remaining instances of `package-desc-kind' handle the 'dir
2496 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2498 * emacs-lisp/package.el: Provide repository priorities.
2499 (package-archive-priorities): New variable.
2500 (package--add-to-alist): New function.
2501 (package--add-to-archive-contents): Use it.
2502 (package-menu--find-upgrades): Use it as well. Small clean up to
2503 make the use of the package name here explicit.
2504 (package-archive-priority): New function.
2505 (package-desc-priority-version): New function.
2507 2015-01-16 Daniel Colascione <dancol@dancol.org>
2509 * cus-start.el (all): Make `ring-bell-function' customizable.
2511 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
2513 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
2514 vc-svn-after-dir-status's second argument. (Bug#19429)
2516 2015-01-16 Samer Masterson <samer@samertm.com>
2518 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
2519 regardless of pcomplete-cycle-completions's value. (Bug#18950)
2521 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2523 * dom.el (dom-strings): New function.
2525 * files.el (directory-files-recursively): Don't use the word
2526 "path" for a file name.
2528 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
2530 * calc/calc-units.el (math-units-in-expr-p)
2531 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
2532 (math-extract-units): Handle the `neg' operator. (Bug#19582)
2534 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2536 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
2537 (cl--labels-convert): Use it to ask the macro what is its replacement
2540 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
2541 Return the value of the primary rather than the after method.
2543 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
2544 (eieio--generic-tagcode): New function.
2545 (cl-generic-tagcode-function): Use it.
2546 (eieio--generic-tag-types): New function.
2547 (cl-generic-tag-types-function): Use it.
2548 (eieio-object-p): Tighten up the test.
2550 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
2552 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2554 * emacs-lisp/cl-generic.el: New file.
2556 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
2557 (cl-load-time-value, cl-labels): Use closures rather than
2559 (cl-macrolet): Use `eval' to create the function value, and support CL
2560 style arguments in for the defined macros.
2562 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2564 * net/eww.el: Use lexical-binding.
2565 (eww-links-at-point): Remove unused arg.
2566 (eww-mode-map): Inherit from special-mode-map.
2567 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
2569 2015-01-13 Alan Mackenzie <acm@muc.de>
2571 Allow compilation during loading of CC Mode-derived modes (bug#19206).
2572 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
2573 New function which walks the stack to discover whether we're compiling
2575 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
2576 (cc-bytecomp-is-loading): New defsubst.
2577 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
2578 Use the above defsubsts.
2579 (cc-require-when-compile, cc-bytecomp-defvar)
2580 (cc-bytecomp-defun): Simplify conditionals.
2581 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
2582 "Borrow" this function from cc-bytecomp.el.
2583 (c-get-current-file): Reformulate using the above.
2584 (c-lang-defconst): Prevent duplicate entries of file names in a
2585 symbol's 'source property.
2586 (c-lang-const): Use cc-bytecomp-is-compiling.
2587 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
2588 Use cc-bytecomp-is-compiling.
2590 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2592 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
2595 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
2597 * menu-bar.el (menu-bar-goto-menu): Before calling
2598 `xref-marker-stack-empty-p', first check that `xref' is loaded.
2601 2015-01-12 Martin Rudalics <rudalics@gmx.at>
2603 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
2606 * frame.el (frame-notice-user-settings): Remove code dealing with
2607 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
2608 only if `window-system-frame-alist' or `default-frame-alist' ask
2610 (make-frame): Update frame-adjust-size-history if needed.
2612 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
2614 Have 'make' output better GEN names
2615 * Makefile.in (PHONY_EXTRAS): New macro.
2616 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
2617 relevant files' time stamps are ignored.
2618 (custom-deps, $(lisp)/cus-load.el, finder-data)
2619 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
2620 (custom-deps, $(lisp)/cus-load.el, finder-data)
2621 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
2622 ($(lisp)/subdirs.el, update-subdirs):
2623 Output more-accurate destination names with GEN.
2625 Say "ELC foo.elc" instead of "GEN foo.elc"
2626 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
2628 ($(THEFILE)c, .el.elc): Use them.
2630 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
2632 * files.el (directory-files-recursively): Do not include
2633 superfluous remote file names.
2635 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2637 * net/eww.el (eww): Interpret anything that looks like a protocol
2638 designator as a full URL.
2640 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2642 * net/shr.el (shr-urlify): Don't bother the user about
2643 invalidly-encoded display strings.
2645 2015-01-10 Ivan Shmakov <ivan@siamics.net>
2647 * net/shr.el (shr-urlify): Decode URLs before using them as titles
2650 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2652 * net/eww.el (eww): Always interpret URLs that start with https?:
2653 as plain URLs, even if they have spaces in them (bug#19556).
2654 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
2655 software" as an URL.
2656 (eww): Don't interpret "org/foo" as an URL.
2657 (eww): Clear the title when loading so that we don't display
2658 misleading information.
2660 2015-01-10 Daniel Colascione <dancol@dancol.org>
2662 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
2663 by analogy with dired.
2665 2015-01-09 Daniel Colascione <dancol@dancol.org>
2667 * progmodes/js.el (js--function-heading-1-re)
2668 (js--function-prologue-beginning): Parse ES6 generator function
2669 declarations. (That is, "function* name()").
2671 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2673 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
2674 that creates functions, and most of the sanity checks.
2675 Mark as obsolete the <class>-child-p function.
2676 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
2677 (eieio--class, eieio--object): Use cl-defstruct.
2678 (eieio--object-num-slots): Define manually.
2679 (eieio-defclass-autoload): Use eieio--class-make.
2680 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
2681 `(lambda...) definitions and most of the sanity checks to `defclass'.
2682 Mark as obsolete the <class>-list-p function, the <class> variable and
2683 the <initarg> variables. Use pcase-dolist.
2684 (eieio-defclass): New compatibility function.
2685 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
2686 (eieio-class-speedbar): Don't use eieio-default-superclass var.
2688 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2690 * emacs-lisp/eieio-generic.el: New file.
2691 * emacs-lisp/eieio-core.el: Move all generic function code to
2693 (eieio--defmethod): Declare.
2695 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
2696 function code to eieio-generic.el.
2697 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
2699 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
2700 to eieio--generic-call.
2701 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
2704 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2706 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
2707 Don't use <class> as a variable.
2709 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
2710 (call-next-method): Simplify.
2711 (clone): Obey eieio-backward-compatibility.
2713 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
2714 (eieio-read-generic): Use `generic-p' instead.
2716 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
2717 (eieio-defclass-autoload): Obey it.
2718 (eieio--class-object): Improve error behavior.
2719 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
2721 (eieio--defgeneric-form-primary-only): Rename from
2722 eieio-defgeneric-form-primary-only; update all callers.
2723 (eieio--defgeneric-form-primary-only-one): Rename from
2724 eieio-defgeneric-form-primary-only-one; update all callers.
2725 (eieio-defgeneric-reset-generic-form)
2726 (eieio-defgeneric-reset-generic-form-primary-only)
2727 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
2728 (eieio--method-optimize-primary): New function to replace them.
2729 (eieio--defmethod, eieio-defmethod): Use it.
2730 (eieio--perform-slot-validation): Rename from
2731 eieio-perform-slot-validation; update all callers.
2732 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
2733 Change `class' to be a class object. Update all callers.
2734 (eieio--validate-class-slot-value): Rename from
2735 eieio-validate-class-slot-value. Change `class' to be a class object.
2737 (eieio-oset-default): Accept class object as well.
2738 (eieio--generic-call-primary-only): Rename from
2739 eieio-generic-call-primary-only. Update all callers.
2741 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2742 Improve error messages.
2743 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
2744 well as user-defined types. Emit errors for legacy types like
2745 <class>-child and <class>-list, if not eieio-backward-compatibility.
2747 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2749 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
2750 (eieio--class-slot-initarg): Rename from class-slot-initarg.
2751 Change `class' arg to be a class object. Update all callers.
2752 (call-next-method): Adjust to new return value of `eieio-generic-form'.
2753 (eieio-default-superclass): Set var to the class object.
2754 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
2755 Change print behavior to affect class objects rather than
2758 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
2759 (eieio-class-parents-fast): Remove macro.
2760 (eieio--class-option-assoc): Rename from class-option-assoc.
2762 (eieio--class-option): Rename from class-option. Change `class' arg to
2763 be a class object. Update all callers.
2764 (eieio--class-method-invocation-order): Rename from
2765 class-method-invocation-order. Change `class' arg to be a class
2766 object. Update all callers.
2767 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
2768 a list of class objects rather than names.
2769 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
2770 for accessors to class allocated slots.
2771 (eieio--perform-slot-validation-for-default): Rename from
2772 eieio-perform-slot-validation-for-default. Update all callers.
2773 (eieio--add-new-slot): Rename from eieio-add-new-slot.
2774 Update all callers. Use push.
2775 (eieio-copy-parents-into-subclass): Adjust to new content of
2776 `parent' field. Use dolist.
2777 (eieio-oref): Remove support for providing a class rather than
2779 (eieio-oref-default): Prefer class objects over class names.
2780 (eieio--slot-originating-class-p): Rename from
2781 eieio-slot-originating-class-p. Update all callers. Use `or'.
2782 (eieio--slot-name-index): Turn check into assertion.
2783 (eieio--class-slot-name-index): Rename from
2784 eieio-class-slot-name-index. Change `class' arg to be a class object.
2786 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
2787 (eieio--c3-candidate): Rename from eieio-c3-candidate.
2789 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
2791 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
2793 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
2795 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
2796 Update all callers. Adjust to new `parent' content.
2797 (eieio--class-precedence-list): Rename from -class-precedence-list.
2799 (eieio-generic-call): Use autoloadp and autoload-do-load.
2800 Slight simplification.
2801 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
2802 return value of `eieio-generic-form'.
2803 (eieiomt-add): Index the hashtable with class objects rather than
2805 (eieio-generic-form): Accept class objects as well.
2807 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
2808 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
2809 (eieio-persistent-validate/fix-slot-value):
2810 Change `class' arg to be a class object. Update all callers.
2812 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2814 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
2815 additionally to class names.
2817 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
2818 (object): Remove first (constant) slot; rename second to `class-tag'.
2819 (eieio--object-class-object, eieio--object-class-name): New funs
2820 to replace eieio--object-class.
2821 (eieio--class-object, eieio--class-p): New functions.
2822 (same-class-fast-p): Make it a defsubst, change its implementation
2823 to check the class objects rather than their names.
2824 (eieio-object-p): Rewrite.
2825 (eieio-defclass): Adjust the object initialization according to the new
2827 (eieio--scoped-class): Declare it returns a class object (not a class
2828 name any more). Adjust calls accordingly (along with calls to
2829 eieio--with-scoped-class).
2830 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
2831 its class arg to be a class object. Adjust callers accordingly.
2832 (eieio-slot-originating-class-p): Make its start-class arg a class
2833 object. Adjust all callers.
2834 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
2835 Make its `class' arg a class object. Adjust all callers.
2837 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2838 Use eieio--slot-name-index rather than eieio-slot-name-index.
2840 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2842 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
2844 (eieio-object-name): Use eieio-object-name-string.
2845 (eieio--object-names): New const.
2846 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
2847 using a hashtable rather than a built-in slot.
2848 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
2849 (clone): Don't mess with the object's "name".
2851 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
2852 (eieio-object-value-get): Use eieio-object-set-name-string.
2854 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
2855 (eieio--object): Remove `name' field.
2856 (eieio-defclass): Adjust to new convention where constructors don't
2857 take an "object name" any more.
2858 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
2859 (eieio-validate-slot-value, eieio-oset-default)
2860 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
2861 (eieio-generic-call-primary-only): Simplify.
2863 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
2864 Use call-next-method.
2865 (eieio-constructor): Rename from `constructor'.
2866 (eieio-persistent-convert-list-to-object): Drop objname.
2867 (eieio-persistent-validate/fix-slot-value): Don't hardcode
2868 eieio--object-num-slots.
2869 (eieio-named): Use a normal slot.
2870 (slot-missing) <eieio-named>: Remove.
2871 (eieio-object-name-string, eieio-object-set-name-string, clone)
2872 <eieio-named>: New methods.
2874 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2876 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
2877 (method-*): Add a "eieio--" prefix to those constants.
2879 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
2881 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
2883 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2885 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
2886 `eieio-default-superclass'.
2888 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
2890 * emacs-lisp/eieio-custom.el: Use lexical-binding.
2891 (eieio-object-value-to-abstract): Simplify.
2893 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
2894 (eieio-build-class-alist): Use dolist.
2895 (eieio-all-generic-functions): Adjust to use of hashtables.
2897 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
2898 symbol-hashtable. It contains a hashtable instead of an obarray.
2899 (generic-p): Use symbol property `eieio-method-hashtable' instead of
2900 `eieio-method-obarray'.
2901 (generic-primary-only-p, generic-primary-only-one-p):
2902 Slight optimization.
2903 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
2904 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
2905 (eieio-class-un-autoload): Use autoload-do-load.
2906 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
2907 Use new cl-deftype-satisfies. Adjust to use of hashtables.
2908 Don't hardcode the value of eieio--object-num-slots.
2909 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
2910 Use a closure rather than a backquoted lambda.
2911 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
2912 function-documentation property.
2913 (eieio-slot-originating-class-p, eieio-slot-name-index)
2914 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
2915 (eieio-generic-form): Adjust to use of hashtables.
2916 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
2917 additional class argument.
2918 (eieio-generic-call-methodname): Remove, unused.
2920 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
2923 2015-01-08 Eli Zaretskii <eliz@gnu.org>
2925 * simple.el (line-move-visual): When converting X pixel coordinate
2926 to temporary-goal-column, adjust the value for right-to-left
2927 screen lines. This fixes vertical-motion, next/prev-line, etc.
2929 2015-01-08 Glenn Morris <rgm@gnu.org>
2931 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
2933 2015-01-07 K. Handa <handa@gnu.org>
2935 * international/ccl.el (define-ccl-program): Improve the docstring.
2937 2015-01-06 Sam Steingold <sds@gnu.org>
2939 * shell.el (shell-display-buffer-actions): Remove,
2940 use `display-buffer-alist' instead.
2942 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
2944 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
2947 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
2949 * minibuffer.el (completion-category-defaults): New var.
2950 Set unicode-name to use substring completion.
2951 (completion-category-defaults): Set it to nil.
2953 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
2955 Add mouse interaction to xref.
2956 * progmodes/xref.el (xref--button-map): New variable.
2957 (xref--mouse-2): New command.
2958 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
2959 the inserted references.
2961 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2963 Less 'make' chatter for lisp dir
2964 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
2965 to make it clearer that the caller must specify it.
2966 (compile-onefile): Remove, replacing by ...
2967 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
2968 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
2969 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2970 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2971 Use AM_V_GEN to lessen 'make' chatter.
2972 (.el.elc): Omit duplicate comment.
2974 Less 'make' chatter in batch mode
2975 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2976 * emacs-lisp/bytecomp.el (byte-compile-file):
2977 * files.el (save-buffer, basic-save-buffer):
2978 * international/quail.el (quail-update-leim-list-file):
2979 Don't output messages like "Generating ..." in batch mode.
2981 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
2983 Unbreak `mouse-action' property in text buttons.
2984 * button.el (push-button): Fix regression from 2012-12-06.
2986 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
2988 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
2990 * menu-bar.el (menu-bar-goto-menu): Use it.
2992 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
2994 * progmodes/xref.el (xref--window-configuration): New variable.
2995 (xref-show-location-at-point): New command.
2996 (xref--restore-window-configuration): New function.
2997 (xref-next-line, xref-prev-line): Delegate to
2998 `xref-show-location-at-point'.
2999 (xref--location-at-point): Don't signal the error.
3000 (xref-goto-xref): Do that here instead.
3001 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
3002 to `pre-command-hook'.
3003 (xref--xref-buffer-mode-map): Don't remap `next-line' and
3004 `previous-line'. Additionally bind `xref-next-line' and
3005 `xref-prev-line' to `n' and `p' respectively.
3006 Bind `xref-show-location-at-point' to `C-o'.
3008 2015-01-01 Eli Zaretskii <eliz@gnu.org>
3010 * tool-bar.el (tool-bar-local-item)
3011 (tool-bar-local-item-from-menu): Call force-mode-line-update to
3012 make sure the tool-bar changes show on display.
3014 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
3016 Sync with Tramp 2.2.11.
3018 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
3019 Make an alias for `default-toplevel-value' if it doesn't exist.
3021 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3022 Use `tramp-compat-delete-directory'.
3024 * net/trampver.el: Update release number.
3026 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
3028 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
3029 for remote files. (Bug#19449)
3031 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
3033 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
3035 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
3037 Less 'make' chatter in lisp directory
3038 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
3039 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
3040 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
3042 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
3044 * info.el (info-display-manual): Limit the completion alternatives
3045 to currently visited manuals if prefix argument is non-nil.
3047 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
3049 * Makefile.in (semantic): Simplify.
3051 2014-12-30 Juri Linkov <juri@linkov.net>
3053 * net/eww.el (eww-isearch-next-buffer): New function.
3054 (eww-mode): Set multi-isearch-next-buffer-function to it.
3056 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
3058 * progmodes/xref.el (xref-find-definitions): Mention "no
3059 identifier at point" case in the docstring.
3061 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
3062 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
3063 and `separator-tag-file' items.
3065 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
3067 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
3068 This is instead of system-name, which is both wrong here and obsolete.
3069 * desktop.el (desktop-save-frameset):
3070 * dnd.el (dnd-get-local-file-uri):
3071 * nxml/rng-uri.el (rng-uri-file-name-1):
3072 Prefer (system-name) to system-name, and avoid naming
3073 locals 'system-name'.
3074 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
3076 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3078 * menu-bar.el (menu-bar-next-tag-other-window)
3079 (menu-bar-next-tag): Remove.
3081 2014-12-29 K. Handa <handa@gnu.org>
3083 * international/mule.el (make-translation-table-from-alist):
3084 Accept nil or zero-length vector for FROM and TO.
3086 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
3088 * net/eww.el (eww-mode): Truncate overlong lines for prettier
3089 display when resizing.
3091 * net/shr.el (shr-width): Default to using the window width when
3094 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3096 Unbreak jumping to an alias's definition.
3097 * emacs-lisp/find-func.el (find-function-library): Return a pair
3098 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
3099 (find-function-noselect): Use it.
3100 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
3101 `elisp--xref-identifier-location', incorporate logic from
3102 `elisp--xref-find-definitions', use the changed
3103 `find-function-library' return value.
3105 2014-12-29 Juri Linkov <juri@linkov.net>
3107 * comint.el (comint-history-isearch-message): Use field-beginning
3108 instead of comint-line-beginning-position - that's more fixes for
3109 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
3110 (comint-history-isearch-message): Fix args of isearch-message-prefix.
3112 2014-12-29 Juri Linkov <juri@linkov.net>
3114 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
3115 (vc-dir-mode-map): Bind it to "\C-o".
3116 (vc-dir-menu-map): Add it to menu.
3118 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3120 * progmodes/etags.el (find-tag-other-window)
3121 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
3122 (tags-apropos): Declare obsolete.
3124 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
3127 2014-12-28 Eli Zaretskii <eliz@gnu.org>
3129 * international/mule.el (define-coding-system): Fix typos in the
3132 2014-12-28 Kenichi Handa <handa@gnu.org>
3134 * international/mule.el (define-coding-system): Improve the doc
3137 2014-12-28 Ivan Shmakov <ivan@siamics.net>
3139 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
3140 elements in tables (bug#19444).
3142 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
3145 2014-12-28 Juri Linkov <juri@linkov.net>
3147 * vc/compare-w.el: Require diff-mode for diff faces.
3148 (compare-windows-removed, compare-windows-added): New faces
3149 inheriting from diff faces.
3150 (compare-windows): Define obsolete face alias.
3151 (compare-windows-highlight): Replace face `compare-windows' with
3152 new faces `compare-windows-added' and `compare-windows-removed'
3154 (compare-windows-get-recent-window): Signal an error when
3155 no other window is found (bug#19170).
3157 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3159 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
3160 Skip features that have no sources.
3162 * simple.el (execute-extended-command):
3163 When `suggest-key-bindings' is nil, don't.
3165 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3167 python.el: Native readline completion.
3168 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
3169 (python-shell-completion-native-enable)
3170 (python-shell-completion-native-output-timeout): New defcustoms.
3171 (python-shell-completion-native-interpreter-disabled-p)
3172 (python-shell-completion-native-try)
3173 (python-shell-completion-native-setup)
3174 (python-shell-completion-native-turn-off)
3175 (python-shell-completion-native-turn-on)
3176 (python-shell-completion-native-turn-on-maybe)
3177 (python-shell-completion-native-turn-on-maybe-with-msg)
3178 (python-shell-completion-native-toggle): New functions.
3179 (python-shell-completion-native-get-completions): New function.
3180 (python-shell-completion-at-point): Use it.
3182 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3184 python.el: Enhance shell user interaction and deprecate
3185 python-shell-get-or-create-process.
3186 * progmodes/python.el (python-shell-get-process-or-error):
3188 (python-shell-with-shell-buffer): Use it.
3189 (python-shell-send-string, python-shell-send-region)
3190 (python-shell-send-buffer, python-shell-send-defun)
3191 (python-shell-send-file, python-shell-switch-to-shell): Use it.
3192 Add argument MSG to display user-friendly message when no process
3194 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
3195 (python-shell-make-comint): Rename argument SHOW from POP.
3196 Use display-buffer instead of pop-to-buffer.
3197 (run-python): Doc fix. Return process.
3198 (python-shell-get-or-create-process): Make obsolete.
3200 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3202 * progmodes/python.el (python-shell-buffer-substring):
3203 Handle cornercase when region sent starts at point-min.
3205 2014-12-27 Eli Zaretskii <eliz@gnu.org>
3207 * language/misc-lang.el (composition-function-table): Add Syriac
3208 characters and also ZWJ/ZWNJ.
3209 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
3212 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3214 python.el: Fix message when sending region.
3215 * progmodes/python.el (python-shell-send-region): Rename argument
3216 send-main from nomain. Fix message.
3217 (python-shell-send-buffer): Rename argument send-main from arg.
3219 python.el: Cleanup temp files even with eval errors.
3220 * progmodes/python.el (python-shell-send-file): Make file-name
3221 mandatory. Fix temp file removal in the majority of cases.
3223 python.el: Handle file encoding for shell.
3224 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
3225 (python-shell--save-temp-file): Write file with proper encoding.
3226 (python-shell-buffer-substring): Add coding cookie for detected
3227 encoding to generated content. Fix blank lines when removing
3229 (python-shell-send-file): Handle file encoding.
3230 (python-info-encoding-from-cookie)
3231 (python-info-encoding): New functions.
3233 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3235 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3236 Use `tramp-rsh-end-of-line', it ought to be more robust.
3238 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3240 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
3243 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3245 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
3247 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
3248 as end-of-line delimeter for passwords, when running on MS Windows.
3250 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3252 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
3253 of indent-line-function (bug#19433).
3255 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3257 Fix line numbers on Python shell.
3258 * progmodes/python.el (python-shell--save-temp-file): Do not
3259 append coding cookie.
3260 (python-shell-send-string): Generalize for
3261 python-shell-send-region.
3262 (python--use-fake-loc): Delete var.
3263 (python-shell-buffer-substring): Cleanup fake-loc logic.
3264 (python-shell-send-region): Remove fake-loc logic, simplify.
3266 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3268 * progmodes/python.el (python-indent-post-self-insert-function):
3269 Make colon to re-indent only for dedenters, handling
3270 multiline-statements gracefully.
3272 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3274 * net/tramp.el (tramp-handle-insert-file-contents):
3275 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
3277 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3279 * net/tramp-sh.el (tramp-send-command-and-read): New optional
3281 (tramp-get-remote-path): Use it.
3283 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3285 * subr.el (redisplay-dont-pause): Mark as obsolete.
3287 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3289 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
3290 (tramp-accept-process-output): Use nil as argument for
3291 `accept-process-output', when there is a gateway prepended.
3293 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
3295 (tramp-gw-open-connection): Set process coding system 'binary.
3296 (tramp-gw-open-network-stream): Handle HTTP error 403.
3298 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
3300 (tramp-maybe-open-connection): Set connection property "gateway".
3302 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3304 * subr.el (sit-for): Tweak docstring (bug#19381).
3306 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3308 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
3309 stage to after `diff-index' (bug#19386).
3311 2014-12-27 João Távora <joaotavora@gmail.com>
3313 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
3314 `electric-pair-mode' (bug#19356).
3316 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3318 elisp-xref-find: Don't create buffers eagerly.
3320 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
3321 into `elisp--company-location'.
3322 (elisp--identifier-completion-table): Rename to
3323 `elisp--identifier-completion-table', and do not include just any
3324 symbols with a property list.
3325 (elisp-completion-at-point): Revert the 2014-12-25 change.
3326 (elisp--xref-identifier-file): New function.
3327 (elisp--xref-find-definitions): Use it.
3329 * emacs-lisp/find-func.el (find-function-library): New function,
3330 extracted from `find-function-noselect'.
3332 * progmodes/xref.el (xref-elisp-location): New class.
3333 (xref-make-elisp-location): New function.
3334 (xref-location-marker): New implementation.
3336 2014-12-27 Juri Linkov <juri@linkov.net>
3338 * minibuffer.el (minibuffer-completion-help):
3339 Use shrink-window-if-larger-than-buffer in window-height
3340 when temp-buffer-resize-mode is nil.
3342 * window.el (with-displayed-buffer-window): Remove window-height
3343 from the action alist in the temp-buffer-window-show call
3344 when window-height is handled explicitly afterwards (bug#19355).
3346 2014-12-27 Juri Linkov <juri@linkov.net>
3348 Support subdirectories when saving places in dired.
3349 * saveplace.el (toggle-save-place, save-place-to-alist)
3350 (save-places-to-alist, save-place-dired-hook):
3351 Use dired-current-directory instead of dired-directory (bug#19436).
3352 (save-place-dired-hook): Add check for alist to make the new
3353 format future-proof to allow other possible formats.
3355 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3357 python.el: Generate clearer shell buffer names.
3358 * progmodes/python.el (python-shell-get-process-name)
3359 (python-shell-internal-get-process-name): Use `buffer-name`.
3360 (python-shell-internal-get-or-create-process): Simplify.
3362 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
3364 Add basic xref apropos implementation to elisp-mode.
3366 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
3367 Filter out nil results.
3368 (elisp--xref-find-apropos): New function.
3369 (elisp-xref-find): Use it.
3371 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
3373 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
3375 * dired-aux.el (dired-maybe-insert-subdir):
3376 Make dired-maybe-insert-subdir always skip trivial files.
3378 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
3379 Dmitry Gutov <dgutov@yandex.ru>
3381 Consolidate cross-referencing commands.
3383 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
3384 `C-x 5 .' from etags.el to xref.el.
3386 * progmodes/xref.el: New file.
3388 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
3389 (elisp--identifier-location): New function, extracted from
3390 `elisp--company-location'.
3391 (elisp--company-location): Use it.
3392 (elisp--identifier-completion-table): New variable.
3393 (elisp-completion-at-point): Use it.
3394 (emacs-lisp-mode): Set the local values of `xref-find-function'
3395 and `xref-identifier-completion-table-function'.
3396 (elisp-xref-find, elisp--xref-find-definitions)
3397 (elisp--xref-identifier-completion-table): New functions.
3399 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
3400 favor of `xref--marker-ring'.
3401 (tags-lazy-completion-table): Autoload.
3402 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
3403 (find-tag-noselect): Use `xref-push-marker-stack'.
3404 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
3405 (etags--xref-limit): New constant.
3406 (etags-xref-find, etags--xref-find-definitions): New functions.
3408 2014-12-25 Martin Rudalics <rudalics@gmx.at>
3410 * cus-start.el (resize-mini-windows): Make it customizable.
3412 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
3414 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
3415 to (info "(emacs)Contributing"). (Bug#19299)
3417 2014-12-24 Martin Rudalics <rudalics@gmx.at>
3419 * window.el (mouse-autoselect-window-position-1): New variable.
3420 (mouse-autoselect-window-cancel)
3421 (mouse-autoselect-window-select, handle-select-window):
3422 With delayed autoselection select window only if mouse moves after
3423 selecting its frame.
3425 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
3427 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
3428 remote file names. (Bug#18782)
3430 2014-12-23 Sam Steingold <sds@gnu.org>
3432 * shell.el (shell-display-buffer-actions): New user option.
3433 (shell): Pass it to `pop-to-buffer' instead of hard-coding
3434 `pop-to-buffer-same-window'.
3436 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
3438 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
3439 (js-syntax-propertize-regexp): Use it to recognize "slash in
3440 a character class" (bug#19397).
3442 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3444 * completion.el: Use post-self-insert-hook (bug#19400).
3445 (completion-separator-self-insert-command)
3446 (completion-separator-self-insert-autofilling): Remove.
3447 (completion-separator-chars): New var.
3448 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
3449 of changing the keymap.
3450 (completion--post-self-insert): New function.
3451 (dynamic-completion-mode): Use it instead of rebinding keys.
3452 (cmpl--completion-string): Rename from completion-string.
3453 (add-completion-to-head, delete-completion): Let-bind it explicitly.
3455 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
3457 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
3458 by leveraging `syntax-ppss'.
3460 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
3462 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
3464 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
3466 * net/tramp-sh.el (tramp-histfile-override): Add :version.
3468 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
3470 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
3472 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
3474 * let-alist.el (let-alist): Enable access to deeper alists by
3475 using dots inside the dotted symbols.
3477 2014-12-19 Alan Mackenzie <acm@muc.de>
3479 Make C++11 uniform init syntax work.
3480 New keywords "final" and "override".
3481 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
3483 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
3485 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
3486 carefully for "are we at a declarator?" using
3487 c-back-over-member-initializers.
3488 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
3489 and "override" in the C++ value.
3491 2014-12-19 Martin Rudalics <rudalics@gmx.at>
3493 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
3495 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
3497 * net/nsm.el (nsm-save-host): Don't save the host name twice
3500 2014-12-18 Sam Steingold <sds@gnu.org>
3502 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
3503 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
3504 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
3505 * menu-bar.el (menu-bar-buffer-vector): Extract from
3506 `menu-bar-update-buffers'.
3507 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
3508 (buffer-menu-open): New user command, bound globally to C-f10,
3509 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
3510 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
3511 convert the value returned by `mouse-buffer-menu-map' to a list
3512 acceptable to `popup-menu' for `buffer-menu-open'.
3514 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
3516 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
3518 2014-12-18 Sam Steingold <sds@gnu.org>
3520 * emacs-lisp/package.el: Avoid compilation warning by declaring
3521 the `find-library-name' function.
3522 (package-activate-1): Fix the `with-demoted-errors' calls:
3523 the first argument must be a string literal.
3525 2014-12-18 Martin Rudalics <rudalics@gmx.at>
3527 Add code for "preserving" window sizes.
3528 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
3530 (dired-mark-pop-up): Preserve size of window showing marked files.
3531 * electric.el (Electric-pop-up-window):
3532 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
3533 with `preserve-size' t.
3534 * minibuffer.el (minibuffer-completion-help):
3535 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
3536 (Bug#19355). Preserve size of completions window.
3537 * register.el (register-preview): Preserve size of register
3539 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
3540 with `preserve-size' t (Bug#1291).
3541 * window.el (with-displayed-buffer-window): Add calls to
3542 `window-preserve-size'.
3543 (window-min-pixel-size, window--preservable-size)
3544 (window-preserve-size, window-preserved-size)
3545 (window--preserve-size, window--min-size-ignore-p): New functions.
3546 (window-min-size, window-min-delta, window--resizable)
3547 (window--resize-this-window, split-window-below)
3548 (split-window-right): Amend doc-string.
3549 (window--min-size-1, window-sizable, window--size-fixed-1)
3550 (window-size-fixed-p, window--min-delta-1)
3551 (frame-windows-min-size, window--max-delta-1, window-resize)
3552 (window--resize-child-windows, window--resize-siblings)
3553 (enlarge-window, shrink-window, split-window): Handle preserving
3555 (adjust-window-trailing-edge): Handle preserving window
3556 sizes. Signal user-error instead of an error when there's no
3557 window above or below.
3558 (window--state-put-2): Handle horizontal scroll bars.
3559 (window--display-buffer): Call `preserve-size' if asked for.
3560 (display-buffer): Mention `preserve-size' alist member in doc-string.
3561 (fit-window-to-buffer): New argument PRESERVE-SIZE.
3562 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
3563 scroll bar on ispell's windows. Don't count window lines and
3564 don't deal with dedicated windows.
3565 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
3566 do the window handling.
3567 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
3568 (ispell-display-buffer): New function to reuse, create and fit
3569 window to ispell's buffers. (Bug#3413)
3571 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3573 * emacs-lisp/package.el (package-activate): Do not re-activate or
3574 reload the dependencies (bug#19390).
3576 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
3578 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
3579 (c-update-modeline):
3580 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
3581 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
3582 (c-mode-base-map): Use c-subword-mode.
3584 2014-12-18 Eli Zaretskii <eliz@gnu.org>
3586 * international/mule-diag.el (describe-font-internal):
3587 Display additional info returned by font-info.
3589 * linum.el (linum--face-width): Rename from linum--face-height,
3590 and use the new functionality of font-info.
3591 (linum-update-window): Use linum--face-width and frame-char-width,
3592 instead of approximating with height.
3594 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3596 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
3597 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
3599 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
3601 (package-activate): Call itself on dependencies on PACKAGE with
3602 the same FORCE argument. Pass FORCE as RELOAD into
3603 `package-activate-1' (bug#19390).
3605 2014-12-17 Sam Steingold <sds@gnu.org>
3607 * emacs-lisp/package.el (package--list-loaded-files):
3608 Handle `(nil ...)' elements in `load-history'.
3610 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
3612 * net/tramp-sh.el (tramp-histfile-override): New variable.
3613 (tramp-open-shell, tramp-maybe-open-connection): Use it.
3615 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
3617 * vc/vc.el: Improve `dir-status-files' description.
3619 * emacs-lisp/package.el (package--list-loaded-files): Don't call
3620 file-truename on load-history elements (bug#19390).
3622 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
3624 * emacs-lisp/seq.el: New file.
3626 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3628 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
3629 is 0 and there is no input pending.
3631 2014-12-15 Juri Linkov <juri@linkov.net>
3633 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
3634 only on the return value (bug#19383).
3636 2014-12-15 Juri Linkov <juri@linkov.net>
3638 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
3639 the wrapped search by the length of the search string to be able
3640 to lazy-highlight the whole search string at point (bug#19353).
3642 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3644 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
3646 2014-12-14 Alan Mackenzie <acm@muc.de>
3648 * cus-start.el (all): Add fast-but-imprecise-scrolling.
3650 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
3652 * let-alist.el: Add lexical binding.
3654 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
3656 * emacs-lisp/package.el (package-menu-mode): Use an extra column
3657 for the "Version" column, to accomodate date-and-time-based versions.
3659 2014-12-14 Cameron Desautels <camdez@gmail.com>
3661 * cus-edit.el (custom-unsaved-options): New function, extracted
3662 from `customize-unsaved'.
3663 (custom-unsaved): Use it.
3664 (custom-prompt-customize-unsaved-options): New function.
3667 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3669 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
3671 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3673 Move ASYNC argument to the `diff' VC command to the fifth
3674 position, for better compatibility with existing third-party code,
3677 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
3678 backend `diff' command in the last position.
3680 * vc/vc-svn.el (vc-svn-diff):
3681 * vc/vc-src.el (vc-src-diff):
3682 * vc/vc-sccs.el (vc-sccs-diff):
3683 * vc/vc-rcs.el (vc-rcs-diff):
3684 * vc/vc-mtn.el (vc-mtn-diff):
3685 * vc/vc-hg.el (vc-hg-diff):
3686 * vc/vc-git.el (vc-git-diff):
3687 * vc/vc-dav.el (vc-dav-diff):
3688 * vc/vc-cvs.el (vc-cvs-diff):
3689 * vc/vc-bzr.el (vc-bzr-diff):
3690 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
3692 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
3694 * emacs-lisp/cconv.el (cconv--analyze-use):
3695 Rename from cconv--analyse-use.
3696 (cconv--analyze-function): Rename from cconv--analyse-function.
3697 (cconv-analyze-form): Rename from cconv-analyse-form.
3699 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
3701 * net/shr.el (shr-next-link): Don't error out at eob.
3703 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3705 * isearch.el (isearch-open-necessary-overlays): Open overlay
3706 ending at point (bug#19333).
3708 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3710 * net/shr.el (shr-fold-text): New function.
3711 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
3713 (shr-fold-text): Inhibit state from being altered.
3715 * files.el (directory-files-recursively): Really check whether
3717 (directory-name-p): New function.
3718 (directory-files-recursively): Use it.
3720 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
3722 * emacs-lisp/package.el (package--list-loaded-files): New function
3723 to list files in a given directory which correspond to already
3725 (package-activate-1): Reload files given by `package--list-loaded-files'.
3726 Fix bug#10125, bug#18443, and bug#18448.
3728 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
3730 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
3732 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3734 * simple.el (password-word-equivalents): Add "passcode", used for
3735 numeric secrets like PINs or RSA tokens.
3737 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3739 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
3740 order to determine `tramp-own-remote-path'.
3742 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3744 * progmodes/python.el (python-shell-parse-command):
3745 Quote `python-shell-interpreter`. (Bug#19289)
3747 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3749 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
3750 (python-indent-levels): Document extra value.
3751 (python-indent-calculate-indentation): Return `noindent' in strings.
3752 (python-indent-post-self-insert-function)
3753 (python-indent-calculate-levels): Handle new value.
3755 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3757 * net/network-stream.el (network-stream-open-starttls): No need to
3758 check for the availability of `gnutls-available-p'.
3760 * files.el (directory-files-recursively): Don't follow symlinks to
3763 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
3765 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
3766 * vc/vc.el: latest-on-branch-p is no longer a public method.
3768 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
3769 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
3770 Remove `rollback' method, to be replaced in the future by uncommit.
3772 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
3774 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
3775 that there is empty output.
3777 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3779 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
3780 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
3782 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
3784 * let-alist.el: Add new package and macro.
3786 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
3788 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
3789 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
3790 it's a shoot-self-in-foot archaism. Workfiles are always kept.
3792 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
3794 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
3795 trouble with ls over ftp. These flags result in ls returning no
3796 output, causing Tramp-breakage. (bug#19192)
3798 2014-12-10 Andreas Schwab <schwab@suse.de>
3800 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
3802 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3804 * files.el (directory-files-recursively):
3805 Use `file-name-all-completions' instead of `directory-files' for
3808 * net/shr.el (shr-tag-object): Don't bug out on text elements in
3811 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
3813 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
3815 (ruby-toggle-string-quotes): New command that allows you to quickly
3816 toggle between single-quoted and double-quoted string literals.
3818 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
3820 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
3821 list, avoids problems witt names containing hyphens.
3823 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
3825 Sync with upstream verilog-mode revision aa4b777.
3826 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3827 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
3828 (verilog-set-auto-endcomments): Automatically comment property/
3829 endproperty blocks to match other similar blocks like sequence/
3830 endsequence, function/endfunction, etc. Reported by Alex Reed.
3831 (verilog-set-auto-endcomments): Fix end comments for functions of
3832 type void, etc. Detect the function- or task-name when
3833 auto-commenting blocks that lack an explicit portlist.
3834 Reported by Alex Reed.
3835 (verilog-nameable-item-re): Fix nameable items that can have an
3836 end-identifier to include endchecker, endgroup, endprogram,
3837 endproperty, and endsequence. Reported by Alex Reed.
3838 (verilog-preprocessor-re, verilog-beg-of-statement):
3839 Fix indentation of property/endproperty around pre-processor
3840 directives. Reported by Alex Reed.
3841 (verilog-label-be): When auto-commenting a buffer, consider
3842 auto-comments on all known keywords (not just a subset thereof).
3843 Reported by Alex Reed.
3844 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
3845 Reported by Alex Reed.
3846 (verilog-beg-of-statement-1, verilog-at-constraint-p):
3847 Fix hanging with many curly-bracket pairs, bug663.
3848 (verilog-do-indent): Fix electric tab deleting form-feeds.
3849 Note caused by indent-line-to deleting tabls pre 24.5.
3850 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
3851 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
3852 (verilog-read-always-signals, verilog-auto-sense-sigs)
3853 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
3854 bug844. Reported by Greg Hilton.
3856 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
3858 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
3859 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
3860 'foreach', and 'do' keywords.
3861 (verilog-endcomment-reason-re, verilog-beg-of-statement):
3862 Fix labeling do-while blocks, bug842.
3863 (verilog-backward-token): Fix indenting sensitivity lists with
3864 named events, bug840.
3866 2014-12-09 Reto Zimmermann <reto@gnu.org>
3868 Sync with upstream vhdl mode v3.36.1.
3869 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3870 (vhdl-compiler-alist): Anchor all error regexps.
3871 (vhdl-compile-use-local-error-regexp): Change default to nil.
3872 (vhdl-asort, vhdl-anot-head-p): Remove.
3873 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
3874 Remove optional argument of vhdl-aget and update all callers.
3875 (vhdl-import-project): Also set `vhdl-compiler'.
3877 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3879 * files.el (find-files): New function.
3881 * net/shr.el (shr-dom-print): Don't print comments.
3882 (shr-tag-svg): Give inline SVG images the right type.
3884 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
3885 certificates in the header line.
3886 (eww-invalid-certificate, eww-valid-certificate): New faces.
3888 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
3890 * progmodes/python.el (inferior-python-mode):
3891 Set `comint-prompt-read-only` to `t` only locally.
3893 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3895 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
3896 (nsm-format-certificate): Include more data about the connection.
3897 (nsm-query): Fill the text to that it looks nicer.
3898 (nsm-check-protocol): Also warn if using SSL3 or older.
3900 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3902 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
3904 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
3906 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
3908 * info.el (Info-mode-map): Remove left-over binding.
3910 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
3911 (avl-tree--root): Remove redundant defsetf.
3913 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3915 * net/nsm.el (network-security-level): Remove the detailed
3916 description, which was already outdated, and refer the users to
3918 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
3921 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
3923 * net/eww.el (eww-buffers-mode): New major mode.
3924 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
3925 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
3926 New commands/functions (bug#19131).
3928 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3930 * net/gnutls.el (gnutls-negotiate): Ignore files found via
3931 'file-name-handler-alist' since the gnutls library can't use those
3934 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
3936 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
3937 when FILES is non-nil (bug#19304).
3939 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
3941 * vc/vc-arch.el: Move to obsolete directory so a test framework
3942 won't trip over bit-rot in it. There has been no Arch snapshot
3945 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3947 * net/eww.el (eww-follow-link): Revert prefix behaviour to
3949 (eww-copy-page-url): Add doc string.
3951 2014-12-07 Ivan Shmakov <ivan@siamics.net>
3953 * net/eww.el (eww): Move history recording here...
3954 (eww-browse-url): ... from here (bug#19253).
3956 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
3957 iterating over possible buffer names.)
3959 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3961 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
3962 (eww-current-buffer): Compilation fix for bug#18550 patch.
3964 2014-12-07 Ivan Shmakov <ivan@siamics.net>
3966 * net/eww.el (eww-list-histories): Restore the history in the
3967 correct buffer (bug#18550).
3969 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3971 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
3972 displaying shortened titles first (bug#16398).
3974 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
3976 * progmodes/python.el: Recognize docstrings.
3977 (python-docstring-at-p, python-font-lock-syntactic-face-function):
3979 (python-mode): Use them.
3981 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
3983 * net/newst-treeview.el (newsticker--treeview-list-add-item)
3984 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
3985 (newsticker--treeview-create-groups-menu)
3986 (newsticker--treeview-create-tree-menu): Remove.
3987 (newsticker--treeview-tree-open-menu): New.
3988 (newsticker-treeview-tree-click): Pass event to
3989 `newsticker-treeview-tree-do-click'.
3990 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
3992 2014-12-05 Juri Linkov <juri@linkov.net>
3994 * comint.el (comint-history-isearch-search)
3995 (comint-history-isearch-wrap): Use field-beginning instead of
3996 comint-line-beginning-position.
3997 (comint-send-input): Go to the end of the field instead of the end
3998 of the line to accept whole multi-line input.
3999 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
4001 2014-12-05 Juri Linkov <juri@linkov.net>
4003 * minibuffer.el (minibuffer-completion-help):
4004 Compare selected-window with minibuffer-window to check whether
4005 completions should be displayed near the minibuffer. (Bug#17809)
4006 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
4008 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
4010 * vc/vc-mtn.el (vc-mtn-root):
4011 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
4013 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4015 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
4016 of the whole pipe when indenting an opening keyword after a |.
4017 Generalize this treatment to opening keywords like "while" (bug#18031).
4019 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4021 * simple.el (newline): Place the hook buffer-locally,
4022 to make sure it's first.
4024 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
4025 Fix handling of symbols with different syntax at beginning/end or with
4026 symbol rather than word syntax.
4028 2014-12-05 Eli Zaretskii <eliz@gnu.org>
4030 * simple.el (line-move): If noninteractive, call line-move-1, not
4031 forward-line, since the former is compatible with line-move-visual
4032 both in terms of the column to which it moves and the return
4035 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4037 * vc/ediff-init.el (ediff-odd-p): Remove.
4038 (ediff-background-face): Use cl-oddp instead.
4039 (ediff-buffer-live-p): Make it a defsubst.
4041 * tooltip.el (tooltip-region-active-p): Remove.
4043 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
4044 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
4046 * fringe.el (fringe-bitmap-p): Make it a plain function.
4048 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
4049 (class-p, generic-p, eieio-object-p, class-abstract-p):
4050 Make them defsubst, so as to avoid corner case problems where
4051 the arg might be evaluated in the condition-case, or it can't be passed
4052 to higher-order functions like `cl-some'.
4054 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4056 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
4057 and remove old menu-related code.
4059 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4061 * net/eww.el (eww-display-pdf): Let mailcap determine how to
4062 display PDF files (bug#19270).
4064 2014-12-05 Juri Linkov <juri@linkov.net>
4066 Compare with the most recent window by default.
4067 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
4068 (compare-windows-get-recent-window)
4069 (compare-windows-get-next-window): New functions.
4070 (compare-windows, compare-windows-sync-default-function):
4071 Use `compare-windows-get-window-function' instead of `next-window'.
4072 (compare-windows): Add diff/match messages with region boundaries.
4075 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4077 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
4079 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4081 * net/shr.el (shr--extract-best-source): Ignore non-text children.
4083 2014-12-04 Eli Zaretskii <eliz@gnu.org>
4085 Implement copying of a buffer portion while preserving visual order.
4086 * simple.el (bidi-directional-controls-chars)
4087 (bidi-directional-non-controls-chars): New variables.
4088 (squeeze-bidi-context-1, squeeze-bidi-context)
4089 (line-substring-with-bidi-context)
4090 (buffer-substring-with-bidi-context): New functions.
4092 * files.el (file-tree-walk): Doc fix.
4094 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
4095 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4097 * autoinsert.el (auto-insert-alist): Update C/C++ header and
4098 program support to match more extensions. Replace non-alnum
4099 characters when generating include guards (headers) and check for
4100 more extensions when generating includes (programs)
4103 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
4105 * files.el (file-tree-walk): Fix docstring.
4107 2014-12-03 Karl Fogel <kfogel@red-bean.com>
4109 Fix bug whereby saving files hung in VC hook.
4111 Saving a buffer visiting a file under SVN control would hang if
4112 the remote repository were unreachable, because the VC hooks tried
4113 to run "svn status -u" on the file, where the "-u" tells svn to
4114 get update information from the remote repository.
4115 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
4117 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
4118 argument and always pass "-v" to "svn status", never "-u".
4120 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4122 * emacs-lisp/inline.el: Fix up copyright header.
4123 (inline-quote, inline-const-p, inline-const-val, inline-error):
4124 Silence compiler warnings.
4125 (inline-letevals): Fix edebug spec.
4126 (inline--testconst-p): Consider lambda expressions as const-p.
4127 (inline--getconst-val): Use inline--testconst-p.
4129 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
4130 and change default to stay in the minibuffer when called from
4131 the minibuffer (bug#19250).
4132 (lazy-completion-table): Use this new argument to preserve the
4135 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
4136 incorrect lexical elements (bug#19250).
4138 2014-12-03 A. N. Other <none@example.com>
4140 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
4142 2014-12-02 Glenn Morris <rgm@gnu.org>
4144 * whitespace.el (whitespace-big-indent-regexp): Add :version.
4146 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
4148 * subr.el (filter): New macro. Because it's just silly for a Lisp
4149 not to have this in 2014. And VC needs it.
4151 * vc.el: All backends: API simplification: Abolish dir-status.
4152 It's replaced by dir-status-files.
4154 * vc.el: All backends: API simplification: Remove 4th
4155 'default-state' argument from vc-dir-status files and its backend
4156 methods - no backend method ever set it. It was used only in the
4157 fallback method to to set a default of 'up-to-date, though a
4158 convoluted call chain obscured this.
4160 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
4162 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
4163 improving behavior on directories using multiple file-oriented VCSes.
4165 * vc/vc.el: All backends: API simplification; clear-headers
4166 is no longer a public method. It is now local to the one place
4167 it's used, in the RCS steal-lock method.
4169 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4171 * vc/vc.el: In all backends: API simplification; could-register
4172 is no longer a public method. (vc-cvs.el still has a private
4175 * vc/vc.el: In all backends: API cleanup; the backend diff method
4176 takes an explicit async flag. This eliminates a particularly ugly
4179 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
4180 VC randomly/unpredictably fails without it; cause not yet established.
4182 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4184 Merge some of the differences from the standalone CC-mode.
4185 The main change is to only use the `category' text-property only when
4186 available. For that many calls are changed to use c-get-char-property,
4187 c-next-single-property-change, c-sc-scan-lists,
4188 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
4190 * progmodes/cc-mode.el (c-just-done-before-change): New var.
4191 (c-basic-common-init): Initialize it.
4192 (c-common-init): Only use mode-require-final-newline when available.
4193 (c-before-change): Check and set c-just-done-before-change.
4194 (c-after-change): Re-set c-just-done-before-change.
4195 (c-advise-fl-for-region): New macro.
4196 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
4197 (font-lock-after-change-function, jit-lock-after-change):
4200 * progmodes/cc-langs.el (c-modified-constant): New lang var.
4201 (c-known-type-key): Don't make a list just to throw it away.
4203 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
4204 Handle the case where categories are not available.
4205 (c-record-parse-state-state, c-replay-parse-state-state):
4206 Handle marker values.
4207 (c-before-change-check-<>-operators): Look for the `syntax-table'
4208 property rather than for the corresponding `category'.
4209 (c-looking-at-decl-block): Remove unused var
4210 `c-disallow-comma-in-<>-arglists'.
4211 (c-forward-<>-arglist-recur): Remove unused var
4212 `orig-record-found-types'.
4214 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
4215 (c-use-category): New const.
4216 (c-next-single-property-change): New macro.
4217 (c-region-is-active-p): Prefer region-active-p when available.
4218 (c-search-backward-char-property): Fix old min/max typo; probably
4220 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
4221 Turn them into macros that obey c-use-category.
4222 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
4223 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
4224 (c-sc-scan-lists, c-sc-parse-partial-sexp)
4225 (c-looking-at-non-alphnumspace): New macros.
4226 (c-sc-parse-partial-sexp-no-category): New function.
4227 (c-emacs-features): Add `category-properties' element.
4229 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
4230 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
4232 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
4233 (c-indent-line-or-region): Use c-region-is-active-p.
4235 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
4236 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
4237 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
4238 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
4239 (cc-bytecomp-obsolete-fun): Delete unused functions.
4241 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
4243 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4245 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
4248 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4250 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
4251 current "project" rather than just the current directory.
4252 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
4253 the file names make sense.
4255 * vc/smerge-mode.el (smerge-swap): New command.
4257 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
4259 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
4261 * net/newst-treeview.el (newsticker--treeview-item-show):
4262 Check window liveliness before measuring its width.
4264 * net/newst-backend.el (newsticker--get-news-by-url-callback):
4265 Pass correct status to `newsticker--sentinel-work'.
4266 (newsticker--sentinel-work): Use "newsticker--download-error" as
4267 guid in order to prevent multiple "Could not download..."
4268 messages. (Bug#19166)
4270 2014-12-01 Ivan Shmakov <ivan@siamics.net>
4272 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
4273 correct buffer (bug#19225).
4275 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4277 * net/nsm.el (network-security-level): Change the default to `medium'.
4279 * net/eww.el (eww): Leave point in a place that doesn't cause
4280 scrolling when displaying "Loading...".
4282 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4284 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
4285 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
4286 'merge-branch'. Prompting for merge revisions is pushed down to
4287 the back ends; this fixes a layering violation that caused bad
4290 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4291 vc-stay-local-p and repository-hostname are no longer public
4292 methods. Only the CVS and SVN backends used these, and the SVN
4293 support was conditioned out because svn status -v is too slow.
4294 The CVS back end retains this machinery and the vc-stay-local
4295 configuration variable now only affects it.
4297 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4299 * emacs-lisp/inline.el: New file.
4301 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4303 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4304 vc-state-heuristic is no longer a public method, having been
4305 removed where it is redundant, unnecessary, or known buggy.
4306 This eliminated all backends except CVS. Eliminates bug#7850.
4308 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
4309 Eliminate vc-mistrust-permissions. It was only relevant to the
4310 RCS and SCCS back ends and defaulted to t. Code now always
4311 mistrusts permissions - by actual measurement the effect on
4312 performance is negligible. As a side effect bug#11490 is now
4315 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4316 vc-workfile-unchanged-p is no longer a public method (but the RCS
4317 and SCCS back ends retain it as a private method used in state
4318 computation). This method was redundant with vc-state and usually
4319 implemented as a trivial call to same. Fixes the failure mode
4320 described in bug#694.
4322 * vc/vc.el: All backends: API simplification; init-revision is
4323 gone, and vc-registered functions no longer take an
4324 initial-revision argument.
4326 2014-11-29 Glenn Morris <rgm@gnu.org>
4328 * vc/vc-src.el (vc-src, vc-src-diff-switches)
4329 (vc-src-master-templates): Fix :version tags.
4331 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
4333 * outline.el (outline-move-subtree-down): Refactor and improve code.
4335 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4336 Stefan Monnier <monnier@iro.umontreal.ca>
4338 * outline.el (outline-move-subtree-down): Make sure we can move
4339 forward to find the end of the subtree and the insertion point
4342 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4344 * progmodes/python.el (python-shell-completion-setup-code):
4345 Use __builtin__ module (or builtins in Python 3) and catch all errors
4346 when importing readline and rlcompleter.
4348 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4350 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
4351 (todo-revert-buffer): New function.
4352 (todo-modes-set-1): Use it as the buffer-local value of
4353 revert-buffer-function.
4355 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4357 * calendar/todo-mode.el (todo-mode): If called interactively, just
4358 display a message saying to call todo-show to enter Todo mode
4361 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
4363 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
4366 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
4369 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4371 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
4372 remote `buffer-file-name'.
4374 2014-11-29 Leo Liu <sdl.web@gmail.com>
4376 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
4378 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4380 Set PYTHONUNBUFFERED on shell startup.
4382 * progmodes/python.el (python-shell-unbuffered): New var.
4383 (python-shell-calculate-process-environment): Use it.
4385 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4387 * net/tramp.el (tramp-action-password): Clean password on subsequent
4388 attempts even if there was no wrong password indication. (Bug#19047)
4390 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
4392 (tramp-open-connection-setup-interactive-shell): No need to check
4393 for nil as `tramp-get-remote-locale' return value.
4395 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4397 * vc/vc-git.el (vc-git-command, vc-git--call):
4398 Bind coding-system-for-read and coding-system-for-write to
4399 vc-git-commits-coding-system.
4400 (vc-git-previous-revision): Use "~1" instead of "^", since the
4401 latter is a special character for MS-Windows system shells.
4403 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4405 Improve XEmacs compatibility.
4407 * net/tramp.el (tramp-autoload-file-name-handler):
4408 Wrap `temporary-file-directory' by `symbol-value', it doesn't
4410 (tramp-read-passwd): Don't use `with-timeout-suspend' and
4411 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
4412 (tramp-time-less-p, tramp-time-subtract): Remove functions.
4413 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
4414 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
4415 * net/tramp-cache.el (tramp-get-file-property):
4416 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
4417 Use `time-less-p' and `time-subtract, respectively.
4419 * net/tramp-adb.el (top): Do not require time-date.el.
4421 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
4423 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4424 Check, whether `utf-8' is a valid coding system.
4426 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4428 * vc/vc.el (vc-retrieve-tag): Doc fix.
4430 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4432 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
4435 2014-11-28 Martin Rudalics <rudalics@gmx.at>
4437 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
4438 * help.el (help-window-old-frame): New variable.
4439 (help-window-select): Default to nil (Bug#11039).
4441 (help-window-setup): When the help window appears on another
4442 frame and `help-window-select' is non-nil, give that frame input
4443 focus too (Bug#19012).
4444 (with-help-window): Store selected frame in
4445 help-window-old-frame.
4447 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
4449 * net/newst-treeview.el (newsticker--treeview-load): Take care of
4450 nil value for `newsticker-groups-filename'.
4452 2014-11-28 Daiki Ueno <ueno@gnu.org>
4454 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4455 (epa-sign-region, epa-encrypt-region):
4456 Use `epg-context-set-{passphrase,progress}-callback', instead of
4457 `setf'. This partially reverts commit 9e48a95c (bug#19150).
4458 Reported by José A. Romero L.
4460 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4462 * net/eww.el (eww-restore-history):
4463 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
4465 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4467 * net/newst-backend.el (newsticker--parse-atom-1.0):
4468 Handle embedded (x)html in summary node.
4470 2014-11-27 Sam Steingold <sds@gnu.org>
4472 * menu-bar.el (menu-bar-open): When everything else fails,
4473 use (mouse-menu-bar-map).
4475 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4477 * net/newst-treeview.el (newsticker-groups-filename):
4478 Change default value to nil. Point out that variable is obsolete in doc
4480 (newsticker--treeview-load): Change wording of the questions the
4481 user is asked when `newsticker-groups-filename' is found to be
4482 used and we offer to read and remove the groups file. (Bug#19165)
4484 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4486 * net/eww.el (eww): Record the new URL immediately, so that if the
4487 HTTP fetch fails, we have the right URL in the buffer.
4488 (eww-process-text-input): Don't shorten the input field if
4489 deleting at the last character (bug#19085).
4490 (eww-restore-history): Inhibit change functions while restoring
4492 (eww-process-text-input): Fix deletion at the start of the field, too.
4493 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
4494 (eww-process-text-input): Try to keep track of the size more reliably.
4496 * dom.el (dom-pp): New function.
4498 2014-11-27 Eli Zaretskii <eliz@gnu.org>
4500 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
4501 Don't assume --long is the default for "bzr log", always specify
4502 it explicitly, in case the user defined an alias for 'log' that
4503 uses some other format.
4505 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
4507 * progmodes/python.el (python-eldoc--get-doc-at-point):
4508 Strip shell output before returning. (bug#18794)
4510 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
4512 Fix indentation before `!=' and after `+='. Originally reported
4513 in https://github.com/mooz/js2-mode/issues/174.
4514 * progmodes/js.el (js--indent-operator-re): Make assignments and
4515 (in)equality operator a separate case.
4516 (js--continued-expression-p): Escape the second `+' in the regexp.
4518 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4520 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
4522 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4524 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
4525 when querying about new certificates.
4527 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
4529 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
4531 (dom-elements): Protect against non-text nodes.
4532 (dom-non-text-children): New function.
4534 * net/eww.el (eww-tag-title): Use `dom-text'.
4536 2014-11-26 Sam Steingold <sds@gnu.org>
4538 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
4540 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4542 * net/eww.el (eww-highest-readability): More dom.el fixes.
4544 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
4546 * net/newst-backend.el (newsticker--parse-generic-items):
4547 Take care of UIDs when adding elements to cache.
4549 2014-11-26 Alan Mackenzie <acm@muc.de>
4551 Remove spurious reference to symbol category_properties.
4552 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
4554 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4556 * net/eww.el: Use the new dom.el accessors throughout.
4558 * net/shr.el: Ditto.
4562 2014-11-26 Glenn Morris <rgm@gnu.org>
4564 * arc-mode.el (archive-visit-single-files): Add :version.
4566 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4568 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
4570 (nsm-warnings-ok-p): The new version of this function always
4571 returned nil when everything was OK.
4573 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
4575 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
4577 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
4578 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
4580 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4582 * emacs-lisp/byte-run.el (function-put): Match argument names to
4585 2014-11-24 Sam Steingold <sds@gnu.org>
4587 * vc/vc-hooks.el (vc-directory-exclusion-list):
4588 Fix a trivial typo (bug#19171).
4590 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4592 * vc/vc-hooks.el (vc-state-base-face): Don't override
4595 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4597 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
4598 (eww-process-text-input): Inhibit read only so that input fields
4599 don't get shortened (bug#19085).
4601 2014-11-24 Leo Liu <sdl.web@gmail.com>
4603 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
4605 * window.el (with-temp-buffer-window)
4606 (with-current-buffer-window, with-displayed-buffer-window):
4607 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
4608 * emacs-lisp/cl-lib.el (substring):
4609 * emacs-lisp/cl-extra.el (cl-getf): Use it.
4611 2014-11-24 Eli Zaretskii <eliz@gnu.org>
4613 * isearch.el (isearch-update): Don't assume
4614 pos-visible-in-window-p will return nil when point is hscrolled
4615 out of view. (Bug#19157)
4617 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
4619 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
4620 (eww-follow-link): Follow in new buffer in case of prefix
4621 argument, open externally with double prefix (bug#19130).
4623 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4625 * net/eww.el (eww-display-html): Decode the document-defined charset.
4626 (eww): Pop to the *eww* buffer immediately after executing the
4627 `M-x eww' command to avoid having buffers pop up later.
4628 (eww-display-html): Don't pop the *eww* buffer.
4629 (eww-display-raw): Ditto.
4630 (eww-display-image): Ditto.
4631 (eww-follow-link): Make going to #targets in the page work again.
4633 2014-11-23 Ivan Shmakov <ivan@siamics.net>
4635 * net/eww.el (eww-suggest-uris): New variable.
4636 (eww-suggested-uris): New function.
4637 (eww): Default to URL under point.
4638 (eww-links-at-point): New function.
4640 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4642 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
4644 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4646 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
4648 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4650 * net/eww.el (eww-set-character-encoding): New command and keystroke.
4651 (eww-display-raw): Use it (bug#16225).
4653 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4655 * net/nsm.el (network-security-level): Rename from
4656 `nsm-security-level' and documented.
4658 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
4659 we're sending a password.
4661 * net/nsm.el: New file that implements a Network Security Manager.
4663 * net/network-stream.el (open-network-stream): Add a new
4664 :warn-unless-encrypted parameter.
4665 (network-stream-open-plain): Allow warning unless encrypted.
4666 (network-stream-open-starttls): Call the Network Security Manager.
4667 (network-stream-open-tls): Ditto.
4669 2014-11-23 Leo Liu <sdl.web@gmail.com>
4671 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
4672 (calendar-chinese-to-absolute-for-diary)
4673 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
4674 Handle leap months in Chinese calendar. (Bug#18953)
4676 2014-11-22 Alan Mackenzie <acm@muc.de>
4678 Fix error with `mark-defun' and "protected:" in C++ Mode.
4679 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
4680 return code of (label) from c-beginning-of-decl-1. (Bug#19134)
4682 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
4684 * net/newst-backend.el (newsticker--sentinel-work):
4685 Tell `libxml-parse-xml-region' to discard comments. (Bug#18787)
4687 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
4689 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
4690 (tramp-sh-handle-process-file): Propagate `process-environment'.
4692 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
4693 Tramp propagates environment variables now.
4695 2014-11-22 Eric S. Raymond <esr@snark>
4697 * vc/vc-filewise.el: New file to isolate code used only by the
4698 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
4699 live in vc.el and certainly not in vc-hooks.el.
4701 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
4702 This is preparatory to isolating all the 'master' functions
4703 used only by the file-oriented back ends. With this done first,
4704 the substantive diffs will be easier to read.
4706 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4708 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
4709 that is recognized by `help-mode'.
4711 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4713 * desktop.el (desktop-create-buffer): Use activate-mark to set
4714 `mark-active' (bug#19058).
4716 2014-11-21 Eric S. Raymond <esr@snark>
4718 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
4721 2014-11-21 Eli Zaretskii <eliz@gnu.org>
4723 * vc/vc.el (vc-deduce-fileset): Support invocation from
4724 *vc-change-log* buffer. (Bug#19084)
4726 2014-11-13 Matthew Leach <matthew@mattleach.net>
4728 * arc-mode.el (archive-visit-single-files): New.
4729 (archive-mode): Visit file if archive contains a single file.
4732 2014-11-21 Ulrich Müller <ulm@gentoo.org>
4734 * vc/vc.el: Fix a typo in the commentary.
4736 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
4738 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
4739 testing and a real log-view mode.
4741 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
4742 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
4743 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
4744 checkout methods; where it matters (which is only in SCCS and RCS)
4745 files are always checked out editable. This may actually have
4746 been dynamically true already - it looks like the vc-next-action
4747 code evolved past visiting the other case. Tested with RCS.
4749 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
4750 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
4751 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
4752 argument from the backend checkin methods. Only the RCS, SCCS,
4753 and CVS back ends tried to do anything with it, and that code was
4754 never exercised. Chiseling away the cruft of decades...
4756 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4758 * net/eww.el (eww-render): Remove a no-op :title setting.
4760 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4762 * net/eww.el (eww-history-limit): New variable.
4763 (eww-save-history): Use it (bug#19105).
4764 (eww-reload): Reload the page in the right buffer.
4766 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4768 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
4770 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4772 * net/eww.el (eww-desktop-remove-duplicates)
4773 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
4774 (eww-mode): Set up desktop mode (bug#18010).
4775 (eww-desktop-data-save, eww-desktop-data-1)
4776 (eww-desktop-history-duplicate, eww-desktop-misc-data)
4777 (eww-restore-desktop): New functions.
4779 2014-11-19 Eli Zaretskii <eliz@gnu.org>
4781 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
4782 correct buffer. (Bug#19101)
4784 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4786 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
4787 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
4789 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
4791 * ido.el (ido-bury-buffer-at-head): New command.
4792 (ido-buffer-completion-map): Bind it to C-S-b.
4794 2014-11-18 Juri Linkov <juri@linkov.net>
4796 * simple.el (next-line-or-history-element): Wrap next-line
4797 in with-no-warnings.
4798 (previous-line-or-history-element): Wrap previous-line
4799 in with-no-warnings.
4801 2014-11-18 Juri Linkov <juri@linkov.net>
4803 * progmodes/grep.el (grep-compute-defaults):
4804 Compute grep-highlight-matches before its use.
4806 2014-11-18 Juri Linkov <juri@linkov.net>
4808 * replace.el (query-replace-from-to-separator): Turn defvar into
4809 defcustom. Wrap char-displayable-p in ignore-errors because an
4810 attempt to autoload char-displayable-p fails during pre-loading.
4811 Move (propertize "\0" ... 'separator t) out of customizable part
4812 to query-replace-read-from.
4813 (query-replace-read-from): Call custom-reevaluate-setting on
4814 query-replace-from-to-separator to reevaluate the separator
4815 depending on the return value of char-displayable-p.
4816 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
4818 2014-11-18 Juri Linkov <juri@linkov.net>
4820 * bindings.el (minibuffer-local-map): Rebind [down] from
4821 next-history-element to next-line-or-history-element, and [up]
4822 from previous-history-element to previous-line-or-history-element.
4824 * simple.el (next-line-or-history-element)
4825 (previous-line-or-history-element): New commands.
4826 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
4828 2014-11-18 Leo Liu <sdl.web@gmail.com>
4830 * emacs-lisp/nadvice.el (define-advice): New macro.
4831 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4833 (lisp-font-lock-keywords-1): Add define-advice.
4835 2014-11-18 Daiki Ueno <ueno@gnu.org>
4837 * epg.el (epg-context): New slot EDIT-CALLBACK.
4838 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
4839 (epg-reset): Reset EDIT-CALLBACK of the context.
4840 (epg-start-edit-key): New function.
4841 (epg-edit-key): New function.
4843 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
4845 Port new time stamp handling to Emacs 23.2.
4846 This fix is for Gnus. Reported by Katsumi Yamaoka.
4847 * calendar/time-date.el (time-add, time-subtract, time-less-p):
4848 Use eval-and-compile, not eval-when-compile.
4850 2014-11-18 Daiki Ueno <ueno@gnu.org>
4852 * epg.el (epg-context-set-passphrase-callback)
4853 (epg-context-set-progress-callback): Check if the CALLBACK
4854 argument is a function, instead of a cons.
4856 2014-11-18 Daiki Ueno <ueno@gnu.org>
4858 * epa-file.el (epa-file-insert-file-contents)
4859 (epa-file-write-region): Remove redundant check of
4861 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4862 (epa-sign-region, epa-encrypt-region): Remove redundant check of
4865 2014-11-18 Daiki Ueno <ueno@gnu.org>
4867 * epa-file.el (epa-file-insert-file-contents): Don't show
4868 "*Error*" buffer if input file does not exist.
4869 Reported by Herbert J. Skuhra.
4871 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
4872 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4874 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
4875 An alternative version of the patch from bug#13871.
4876 (c-operators): Add "alignof".
4877 (c-primitive-type-kwds): Add "char16_t", "char32_t".
4878 (c-type-modifier-kwds): Add "constexpr", "noexcept".
4879 (c-modifier-kwds): Add "thread_local".
4880 (c-constant-kwds): Add "nullptr".
4882 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
4884 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
4885 New variables for specifying tildify pattern and representation of
4886 a hard space -- a no-break space by default -- respectively.
4887 Being buffer-local they are much easier to handle than
4888 `tildify-string-alist' and `tildify-pattern-alist' respectively
4889 that have been used so far. They also works better with derived
4891 (tildify-foreach-region-function): New variable specifying
4892 a function determining portions of buffer that should be
4893 tildified. It allows major modes to create a filtering function
4894 more elaborate than a set of regular expressions. Initialized to
4895 `tildify--deprecated-ignore-evironments' by default to handle now
4896 deprecated `tildify-ignored-environments-alist' variable.
4897 (tildify--foreach-region): A new function that takes
4898 `tildify-foreach-region-function' into account and calls callback
4899 for regions of the buffer that should be tildified.
4900 (tildify-foreach-ignore-environments): A new function which can be
4901 partially applied and used as `tildify-foreach-region-function'.
4902 (tildify-ignored-environments-alist, tildify-pattern)
4903 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
4904 (tildify--find-env): Rename from `tildify-find-env' and mark as
4906 (tildify--deprecated-ignore-evironments): New function,
4907 immediately marked as obsolete, used to handle deprecated
4908 `tildify-ignored-environments-alist'.
4910 * textmodes/tex-mode.el (tex-common-initialization):
4911 Set `tildify-space-string' and `tildify-foreach-region-function'
4912 variables in all variants of TeX mode since `tildify-string-alist'
4913 and `tildify-ignored-environments-alist' are now empty by default.
4915 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
4916 If encoding supports it use no-break space instead of character
4917 entity; this changes previous default which used a numeric
4920 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
4921 If encoding does not support no-break space, use numeric reference;
4922 this changes previous default which used named entity (“ ”)
4925 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
4927 * calendar/icalendar.el (icalendar-export-alarms):
4928 New customizable variable. (Bug#5433)
4929 (icalendar-export-region): Export alarms as specified in
4930 `icalendar-export-alarms'.
4931 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
4932 New functions for exporting alarms.
4934 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4936 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
4938 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
4940 Port new time stamp handling to old Emacs and to XEmacs.
4941 This is needed for Gnus, which copies time-date.el and which
4942 runs on older Emacs implementations.
4943 * calendar/time-date.el (with-decoded-time-value):
4944 Handle 'nil' and floating-point arg more compatibly with new Emacs.
4945 (encode-time-value, with-decoded-time-value):
4946 Obsolete only if new Emacs.
4947 (time-add, time-subtract, time-less-p): Define if not new Emacs.
4949 Improve time stamp handling, and be more consistent about it.
4950 This implements a suggestion made in:
4951 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
4952 Among other things, this means timer.el no longer needs to
4953 autoload the time-date module.
4954 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
4955 * arc-mode.el (archive-ar-summarize):
4956 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
4957 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
4958 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
4959 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4960 * proced.el (proced-time-lessp):
4961 * timezone.el (timezone-time-from-absolute):
4962 * type-break.el (type-break-schedule, type-break-time-sum):
4963 Simplify by using new functionality.
4964 * calendar/cal-dst.el (calendar-next-time-zone-transition):
4965 Do not return time values in obsolete and undocumented (HI . LO)
4966 format; use (HI LO) instead.
4967 * calendar/time-date.el (with-decoded-time-value):
4968 Treat 'nil' as current time. This is mostly for XEmacs.
4969 (encode-time-value, with-decoded-time-value): Obsolete.
4970 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
4971 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
4972 * ldefs-boot.el: Update to match new time-date.el
4973 * proced.el: Do not require time-date.
4975 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4977 * net/eww.el (eww-mode): Make the buffer read-only.
4978 (eww-form-text): Inhibit read-only-ness in text input fields
4981 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4983 * simple.el (execute-extended-command--shorter): Cut search here.
4984 (execute-extended-command): Instead of here.
4986 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
4988 * progmodes/python.el (python-mode): Avoid use of set-local to
4989 keep Emacs 24.x compatibility.
4991 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4993 * net/shr.el (shr): Move to the new defgroup `web'.
4995 * net/eww.el (eww): Ditto.
4997 * simple.el (execute-extended-command): Don't show the help
4998 message if the binding isn't significantly shorter than the
4999 M-x command the user typed (bug#19013).
5001 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
5003 * calendar/icalendar.el (icalendar--convert-tz-offset):
5004 Return complete cons when offsets of standard time and daylight saving
5006 (icalendar-export-region): Fix unbound variable warning.
5008 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5010 * progmodes/python.el (run-python): Allow CMD to be optional and
5011 default it to a safe command, even for Windows. (bug#18596)
5013 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5015 * progmodes/python.el (python-shell-calculate-command):
5016 Rename from python-shell-parse-command. Cleanup.
5017 (run-python, run-python-internal): Use it.
5018 (python-shell-calculate-pythonpath): Rename from
5019 python-new-pythonpath.
5020 (python-shell-calculate-process-environment): Use it.
5021 (python-shell-calculate-exec-path): Add comment.
5023 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
5025 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
5028 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
5030 * version.el (emacs-repository-get-version): Use git rev-parse
5033 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5035 * progmodes/python.el (python-indent-calculate-levels):
5036 Fix indentation behavior multiline dedenter statement. (Bug#18432)
5038 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5040 * progmodes/python.el (python-indent-region):
5041 Use python-indent-line and skip special cases. (Bug#18843)
5043 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
5045 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
5046 envelope-from when reporting through sendmail (bug#19054).
5048 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
5050 Add faces for the VC modeline state indicator.
5052 (vc-state-faces, vc-state-base-face)
5053 (vc-up-to-date-state, vc-needs-update-state)
5054 (vc-locked-state, vc-locally-added-state)
5055 (vc-conflict-state, vc-removed-state)
5056 (vc-missing-state, vc-edited-state):
5058 (vc-default-mode-line-string): Use them
5060 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5062 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
5064 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5066 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
5068 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
5070 * progmodes/python.el (python-eldoc-setup-code): Enhance string
5071 type checks, simplify printing. (Bug#18962)
5073 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
5075 * progmodes/python.el (python-shell-font-lock-kill-buffer):
5076 (python-shell-font-lock-with-font-lock-buffer)
5077 (python-shell-get-buffer, python-ffap-module-path):
5078 Use `derived-mode-p' instead of equality test on `major-mode'.
5080 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
5082 * progmodes/python.el (python-shell-virtualenv-root): Rename from
5083 python-shell-virtualenv-path.
5084 (python-shell-internal-get-process-name)
5085 (python-shell-calculate-process-environment)
5086 (python-shell-calculate-exec-path): Use it.
5088 2014-11-14 Eli Zaretskii <eliz@gnu.org>
5090 * bindings.el (search-map): Fix last change: don't use 'kbd' in
5091 bindings.el, since it is not yet loaded when bindings.el is
5094 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
5096 * progmodes/python.el (python-shell-completion-get-completions):
5099 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5101 * net/eww.el (eww-render): Don't set the title to the URL.
5103 2014-11-13 Ulrich Müller <ulm@gentoo.org>
5105 * version.el (emacs-repository-get-version): Call `git log'
5106 command with proper format argument (bug#19049).
5108 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5110 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
5112 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5114 * net/eww.el (eww-search-words): New command (bug#16258).
5116 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5118 * net/shr.el (shr-inhibit-images): Add a doc string.
5120 * net/eww.el (eww-after-render-hook): New variable.
5121 (eww-render): Use it.
5123 * net/shr.el (shr-descend): Don't descend further than
5124 `max-specpdl-size' allows (bug#16587).
5125 (shr-depth): New variable.
5126 (shr-warning): New variable.
5128 2014-11-13 Ivan Shmakov <ivan@siamics.net>
5130 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
5131 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
5133 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5135 * net/eww.el (eww): Add comment to clarify.
5137 * net/shr.el (shr-parse-image-data): Remove blocked bits from
5138 external SVG images.
5139 (shr-tag-object): Display images in <object> forms (bug#16244).
5140 (shr-tag-table): Also insert <objects> after the tables.
5142 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
5144 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
5146 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5148 * net/eww.el (eww-form-file): Fix version number.
5150 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5152 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
5154 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5156 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
5157 (eww-submit-file): New key map of file upload.
5158 (eww-form-file): New file upload button and file name context.
5159 (eww-select-file): Select file and display selected file name.
5160 (eww-tag-input): Handle input tag of file type.
5161 (eww-update-field): Add point offset.
5162 (eww-submit): Add submit with multipart/form-data.
5164 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5166 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
5167 Allow taking a buffer to render data in. This allows using several
5168 eww buffers (bug#16211).
5170 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
5172 * net/eww.el (eww-download-callback): Save only the file contents,
5175 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5177 * net/eww.el (eww-data): New plist to store all the data relevant
5178 to a single page, used throughout the file instead of the
5179 variables `eww-current-url', `eww-current-dom',
5180 `eww-current-source', and `eww-current-title'.
5181 (eww-readable): Copy over pertinent data from the parent page.
5182 (eww-save-history): Don't let the history grow infinitely.
5184 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
5185 `eww-up-url', `eww-home-url', `eww-start-url' and
5186 `eww-contents-url' and put the data into the `eww-data' plist.
5187 This allow restoring these values after going back in the history.
5189 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
5191 Allow VTIMEZONE where daylight and standard time zones are equal.
5192 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
5193 * calendar/icalendar.el (icalendar--convert-tz-offset):
5194 Support timezone without daylight saving time.
5196 2014-11-10 Glenn Morris <rgm@gnu.org>
5198 * startup.el (command-line): Handle nil elements in load-path.
5200 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5202 * help.el (view-lossage): Include the actual commands run.
5204 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
5206 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
5207 no state is specified. (Bug#18964)
5209 2014-11-09 Eric Ludlam <zappo@gnu.org>
5211 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5212 Set eieio-cog (current group) to g, which is an improved form of input
5215 2014-11-09 Juri Linkov <juri@jurta.org>
5217 * isearch.el (isearch-message-prefix): Show "Multi-file" and
5218 "Multi-buffer" instead of "Multi". (Bug#13592)
5220 * misearch.el (multi-isearch-file-list):
5221 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
5222 (multi-isearch-end): Reset multi-isearch-buffer-list and
5223 multi-isearch-file-list to nil.
5225 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5227 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5228 Don't call byte-compile-preprocess since the result will go through
5230 (byte-compile-output-docform): Handle uninterned `name' correctly.
5231 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
5232 to circumvent byte-compiler bug.
5234 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
5235 (macroexp--compiler-macro): Remove left-over debug code.
5237 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
5239 2014-11-08 Juri Linkov <juri@jurta.org>
5241 * simple.el (shell-command): Use buffer-name when output-buffer is
5242 a buffer. (Bug#18096)
5244 2014-11-08 Juri Linkov <juri@jurta.org>
5246 * minibuffer.el (minibuffer-completion-help): Compare this-command
5247 with completion-at-point. (Bug#17809)
5249 2014-11-08 Glenn Morris <rgm@gnu.org>
5251 * emacs-lisp/bytecomp.el (byte-compile-report-error):
5252 Allow the argument to be a string. Due to the vague doc,
5253 it was already being used this way.
5255 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5257 * net/tramp.el (tramp-check-cached-permissions): Include hop in
5258 the constructed Tramp file name. (Bug#18943)
5260 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5262 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
5264 (cua-set-mark, cua--post-command-handler-1):
5265 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
5267 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5269 * files.el (file-name-non-special): Wrap the call of
5270 `insert-file-contents' by `unwind-protect', in order to set the
5271 buffer's file name anyway. (Bug#18891)
5273 2014-11-08 Alan Mackenzie <acm@muc.de>
5275 Fix wrong bound to c-font-lock-declarators.
5276 * progmodes/cc-fonts.el (c-font-lock-declarations):
5277 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
5278 the buffer is sometimes narrowed to less than "limit" (e.g., in
5279 the presence of macros). (Bug#18948)
5281 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5283 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
5284 only when message appeared in minibuffer. (Bug#18891)
5286 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
5287 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
5288 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
5291 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5293 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5294 Don't compile before eval in `eval-and-compile'.
5295 (byte-compile-arglist-warn): Add check for defining macros after their
5296 first use. Check call use even if the function is fboundp.
5298 2014-11-08 Richard Stallman <rms@gnu.org>
5300 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
5301 Check more carefully for mime-part specified character set.
5302 Check for mime-part Content Transfer Encoding.
5303 Notify if no armor found.
5305 2014-11-08 Martin Rudalics <rudalics@gmx.at>
5307 * faces.el (face-set-after-frame-default): Enable running
5308 `window-configuration-change-hook'.
5310 2014-11-07 Juri Linkov <juri@jurta.org>
5312 * replace.el: History for query replace pairs.
5313 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
5314 (query-replace-from-to-separator): New variable.
5315 (query-replace-read-from): Let-bind query-replace-from-to-history
5316 to a list of FROM-TO strings created from query-replace-defaults
5317 and separated by query-replace-from-to-separator. Use it as
5318 the history while reading from the minibuffer. Split the returned
5319 string by the separator to get FROM and TO parts, and add them
5320 to the history variables.
5321 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
5322 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
5323 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
5325 * isearch.el (isearch-text-char-description): Keep characters
5326 intact and put formatted strings with the `display' property.
5328 2014-11-07 Martin Rudalics <rudalics@gmx.at>
5330 * cus-start.el (frame-resize-pixelwise): Fix group.
5331 (frame-inhibit-implied-resize): Add entry.
5333 2014-11-07 Daiki Ueno <ueno@gnu.org>
5335 * epa.el (epa-pinentry-mode): New user option.
5336 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
5337 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
5338 * epa-file.el (epa-file-insert-file-contents)
5339 (epa-file-write-region): Respect epa-pinentry-mode.
5341 2014-11-07 Daiki Ueno <ueno@gnu.org>
5343 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
5344 (bug#18979). Reported by Hideki Saito.
5346 2014-11-06 Daiki Ueno <ueno@gnu.org>
5348 * emacs-lisp/package.el (package--display-verify-error): New function.
5349 (package--check-signature): Use it to display output sent to stderr.
5351 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5353 * subr.el (pop): Don't call the getter twice (bug#18968).
5355 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
5358 2014-11-06 Daiki Ueno <ueno@gnu.org>
5360 * epa.el (epa-error-buffer): New variable.
5361 (epa-display-error): New function.
5362 (epa-decrypt-file, epa-verify-file, epa-verify-region)
5363 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
5364 (epa-sign-file, epa-sign-region, epa-encrypt-region)
5365 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
5366 Use setf instead of epg-context-set-*.
5367 * epa-file.el (epa-file-insert-file-contents):
5368 Use epa-display-error instead of epa-display-info. Mimic the behavior
5369 of jka-compr when decryption program is not found.
5370 (epa-file-write-region): Use epa-display-error instead of
5373 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5375 * vc/vc.el (vc-region-history): New command.
5376 (vc-print-log-internal): Use cl-some.
5378 * vc/vc-git.el (vc-git-region-history): New function.
5379 (vc-git-region-history-mode-map)
5380 (vc-git--log-view-long-font-lock-keywords)
5381 (vc-git-region-history-font-lock-keywords): New vars.
5382 (vc-git-region-history-font-lock): New function.
5383 (vc-git-region-history-mode): New major mode.
5385 2014-11-05 Tassilo Horn <tsdh@gnu.org>
5387 * net/eww.el (subr-x): Require subr-x at compile-time because eww
5390 2014-11-05 Daiki Ueno <ueno@gnu.org>
5392 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
5393 (epg-error-output): New buffer-local variable.
5394 (epg--start): Initialize epg-error-output.
5395 (epg--process-filter): Record output lines sent to stderr, in
5397 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
5399 * epa-file.el (epa-file-insert-file-contents): On error, display
5400 output sent to stderr.
5401 (epa-file-write-region): Likewise.
5403 2014-11-05 Eli Zaretskii <eliz@gnu.org>
5405 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
5406 returned by load-average.
5408 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
5410 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
5411 a local copy; setting `inhibit-file-name-handlers' proper might be
5412 more performant. (Bug#18751)
5414 2014-11-05 Glenn Morris <rgm@gnu.org>
5416 * mail/emacsbug.el (report-emacs-bug): No longer include
5417 recent-keys in the report. (Bug#18900)
5419 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
5421 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
5423 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5425 * net/eww.el (eww): Trim URL with `string-trim'.
5426 Suggested by Vibhav Pant <vibhavp@gmail.com>.
5428 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5430 * net/eww.el (eww-score-readability): Don't count comments positively.
5432 * net/shr.el (shr-retransform-dom): Typo fix.
5434 * net/eww.el (eww-score-readability): Parse SVC images correctly.
5435 (eww-display-html): Don't leave point inside forms.
5437 * net/shr.el: Ditto.
5439 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5441 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
5442 edebug-prin1-to-string already handles circularity.
5444 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
5445 autoloading when specified as a lambda.
5447 * simple.el (execute-extended-command--last-typed): New var.
5448 (read-extended-command): Set it.
5449 Don't complete obsolete commands.
5450 (execute-extended-command--shorter-1)
5451 (execute-extended-command--shorter): New functions.
5452 (execute-extended-command): Use them to suggest shorter names.
5453 (indicate-copied-region, deactivate-mark): Use region-active-p.
5455 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
5457 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
5458 local copy of FILENAME, when it is remote. (Bug#18751)
5460 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
5461 an error when the command fails; the return code must indicate.
5462 (tramp-adb-send-command-and-check): Fix docstring.
5464 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5466 * net/shr.el (shr-retransform-dom): Don't ignore elements that
5467 have no children like <br />.
5469 * net/eww.el (eww-display-html): Clear `url-queue'.
5470 (eww-display-pdf): New function.
5471 (eww-render): Display PDFs with `doc-view'.
5472 (url-queue): Require `url-queue' to avoid compilation warning.
5473 (eww-colorize-region): Remove duplicate function.
5474 (eww-tag-body): Use `shr-colorize-region'.
5476 2014-11-03 Yoni Rabkin <yrk@gnu.org>
5478 * net/eww.el (eww-list-bookmarks): Autoload.
5480 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5482 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
5484 * net/eww.el (eww-display-html): The charset is called `utf-8',
5486 (eww-readable): Decode the saved text correctly.
5487 (eww-readable): Save the history before displaying so that we can
5488 go back to the non-readable version.
5489 (eww-display-html): Don't try to decode the text if we've been
5490 passed in a pre-parsed DOM.
5491 (eww-tag-title): Remove newlines and extra whitespace from the
5494 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5496 * net/eww.el (eww-readable): New command and keystroke.
5498 * net/shr.el (shr-retransform-dom): New function.
5500 * net/eww.el (eww-display-html): Set `eww-current-source' in the
5502 (eww-view-source): Use it.
5504 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5506 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
5509 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
5511 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
5513 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5515 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
5517 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5519 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
5522 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
5524 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
5526 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
5528 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5530 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
5532 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
5534 2014-11-01 Michael R. Mauger <michael@mauger.com>
5536 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
5537 syntax, add new keywords, and parse longer keywords first.
5538 (sql-redirect-one): Protect against empty command.
5539 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
5542 2014-11-01 Michael R. Mauger <michael@mauger.com>
5544 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
5545 Bug#16814 with let-bind of comint-input-ring variables around read
5548 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
5550 * net/tramp-cache.el (tramp-get-file-property)
5551 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
5552 and `tramp-cache-set-count-*' are bound. Otherwise, there might
5553 be compiler warnings.
5555 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
5556 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
5558 2014-11-01 Eli Zaretskii <eliz@gnu.org>
5560 * progmodes/compile.el (compilation-mode): Turn off deferred
5561 fontifications locally. (Bug#18856)
5563 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
5565 * net/tramp-sh.el (tramp-send-command): Fix the case where the
5566 remote-echo connection property is non-nil (bug#18858).
5568 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
5570 * simple.el (newline): Add assertions to try and help catch bug#18913.
5572 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
5574 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
5576 2014-11-01 Kim F. Storm <storm@cua.dk>
5578 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
5579 * delsel.el (delete-selection-save-to-register)
5580 (delsel--replace-text-or-position): New vars.
5581 (delete-active-region): Use them.
5582 (delete-selection-repeat-replace-region): New command, moved from
5584 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
5585 (cua-repeat-replace-region): Move command to delsel.el.
5586 (cua--init-keymaps): Update binding accordingly.
5587 (cua-mode): Set delete-selection-save-to-register.
5589 2014-11-01 Alan Mackenzie <acm@muc.de>
5591 Make blink-parens work with a closing template delimiter.
5592 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
5593 before calling blink-paren-function, so as to apply syntax-table
5594 properties to the ">".
5596 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
5598 * select.el (gui-get-selection): Comment: data-type ignored on NS.
5600 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5602 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
5603 (macroexp--expand-all): Unrelated tweaks.
5605 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
5607 2014-10-30 Glenn Morris <rgm@gnu.org>
5609 * startup.el (command-line): Remove pointless attempt to avoid
5610 statting the file-system (which expand-file-name doesn't do).
5612 2014-10-30 Daniel Colascione <dancol@dancol.org>
5614 Add "enum class" support to C++ mode.
5615 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
5616 (c-after-brace-list-key): New language consts/variables.
5617 * progmodes/cc-engine.el (c-looking-at-decl-block):
5618 Exclude spurious match of "enum struct" from decl-block recognition.
5619 (c-backward-colon-prefixed-type): New function.
5620 (c-backward-over-enum-header): Call above function to extend
5621 recognition of enum structure.
5623 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5625 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
5627 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
5629 2014-10-30 Eli Zaretskii <eliz@gnu.org>
5631 * progmodes/compile.el (compilation-start):
5632 If compilation-scroll-output is non-nil, don't force window-start of
5633 the compilation buffer to be at beginning of buffer. (Bug#18874)
5635 * startup.el (fancy-about-text): Read the entire tutorial, not
5636 just its first 256 bytes. (Bug#18760)
5638 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5640 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
5641 * emacs-lisp/cl-extra.el: Add missing provide.
5643 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
5644 all args are copyable (bug#18767).
5645 (=, <, >, <=, >=): Re-enable the optimization.
5647 2014-10-29 Glenn Morris <rgm@gnu.org>
5649 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
5651 * version.el (emacs-bzr-version, emacs-bzr-get-version):
5652 Revert 2014-10-26 change.
5654 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
5656 Simplify use of current-time and friends.
5657 * allout-widgets.el (allout-widgets-hook-error-handler):
5658 * calendar/appt.el (appt-display-message):
5659 * calendar/icalendar.el (icalendar--convert-float-to-ical):
5660 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
5661 (timeclock-last-period, timeclock-day-base):
5662 * eshell/em-ls.el (eshell-ls-file):
5663 * eshell/esh-util.el (eshell-parse-ange-ls):
5664 * generic-x.el (named-database-print-serial):
5665 * net/newst-backend.el (newsticker--get-news-by-url-callback)
5666 (newsticker-get-news, newsticker--sentinel-work)
5667 (newsticker--image-get, newsticker--image-sentinel):
5668 * net/tramp-sh.el (tramp-get-remote-touch):
5669 * progmodes/opascal.el (opascal-debug-log):
5670 * textmodes/remember.el (remember-mail-date)
5671 (remember-store-in-files):
5672 * vc/vc-annotate.el (vc-annotate-display-autoscale)
5673 (vc-default-annotate-current-time):
5674 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
5675 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
5676 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
5677 Omit unnecessary call to current-time.
5678 * calendar/time-date.el (time-to-seconds) [!float-time]:
5679 * vc/vc-annotate.el (vc-annotate-convert-time):
5680 Use current time if arg is nil, to be compatible with float-time.
5681 (time-date--day-in-year): New function, with most of the guts of
5682 the old time-to-day-in-year.
5683 (time-to-day-in-year): Use it.
5684 (time-to-days): Use it, to avoid decoding the same time stamp twice.
5685 * calendar/timeclock.el (timeclock-time-to-date):
5686 Arg is now optional, like current-time-string.
5687 (timeclock-update-mode-line):
5688 Don't call current-time twice to get the current time stamp,
5689 as this can lead to inconsistent results.
5690 * completion.el (cmpl-hours-since-origin):
5691 * ido.el (ido-time-stamp):
5692 * vc/vc-annotate.el (vc-annotate-convert-time):
5693 Simplify by using float-time.
5694 * completion.el (save-completions-to-file):
5695 Rename local var to avoid confusion.
5696 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
5697 time-to-seconds now behaves like float-time with respect to nil arg.
5698 * subr.el (progress-reporter-do-update):
5699 Don't call float-time unless needed.
5701 2014-10-29 Leo Liu <sdl.web@gmail.com>
5703 * net/rcirc.el (rcirc-fill-column): Use function.
5704 (rcirc-markup-fill): Remove adjustment.
5706 2014-10-28 Christopher Schmidt <ch@ristopher.com>
5708 * calc/calc.el (quick-calc):
5709 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
5711 2014-10-28 Sam Steingold <sds@gnu.org>
5713 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
5714 the sake of `window-body-width' (in addition to `frame-width').
5716 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
5718 * version.el: Fix some fallback values to conform to the actual
5721 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
5723 * Makefile.in: Change some production names so they're neutral
5724 about the repository type.
5726 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
5728 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
5729 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
5730 during initialization. (Bug#18774)
5732 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
5734 * ses.el (macroexp): Add require for this package, so that
5735 function `ses--cell' gets macroexp-quote --- this change was
5736 supposed to be in my previous commit, but left out by mistake.
5737 (ses--cell): Do not make formula a macroexp-quote of value when
5738 value, not formula, is *skip*.
5740 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5742 * ses.el (macroexp): Add require for this package, so that function
5743 `ses--cell gets macroexp-quote.
5744 (ses--cell): Makes formula a macroexp-quote of value when formula
5745 is nil. The rationale of this changr is to allow in the future
5746 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
5747 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
5748 reference list REFLIST would be re-computed after load --- thus
5749 trading off load time against file size.
5751 * emacs-lisp/package.el (package--alist-to-plist-args):
5752 Use macroexp-quote instead of a lambda expression which has the same
5753 content as macroexp-quote.
5754 (macroexp): Add require for this package, so that function
5755 `package--alist-to-plist-args' gets macroexp-quote.
5757 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
5759 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5761 * term/ns-win.el (ns-store-cut-buffer-internal)
5762 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
5764 2014-10-24 Martin Rudalics <rudalics@gmx.at>
5766 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
5767 Calculate increment from last position instead of window edge.
5768 Add right- and bottom-divider bindings to transient map.
5770 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5772 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
5773 even if :predicate was nil, for the benefit of typep.
5774 Record the name of the predicate for typep's use.
5775 (cl--make-type-test): Use pcase. Obey new
5776 cl-deftype-satisfies property.
5778 * epg.el: Use cl-defstruct.
5779 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
5780 (epg-data-string): Define via cl-defstruct.
5781 (epg--gv-nreverse): New macro.
5782 (epg-context--make): New constructor (provided vi cl-defstruct).
5783 (epg-make-context): Rewrite using it.
5784 (epg-context-protocol, epg-context-program)
5785 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
5786 (epg-context-include-certs, epg-context-cipher-algorithm)
5787 (epg-context-digest-algorithm, epg-context-compress-algorithm)
5788 (epg-context-passphrase-callback, epg-context-progress-callback)
5789 (epg-context-signers, epg-context-sig-notations, epg-context-process)
5790 (epg-context-output-file, epg-context-result, epg-context-operation)
5791 (epg-context-pinentry-mode): Define using cl-defstruct.
5792 (epg-context-set-protocol, epg-context-set-program)
5793 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
5794 (epg-context-set-digest-algorithm)
5795 (epg-context-set-sig-notations, epg-context-set-process)
5796 (epg-context-set-output-file, epg-context-set-result)
5797 (epg-context-set-operation, epg-context-set-pinentry-mode)
5798 (epg-context-set-compress-algorithm): Remove. Use setf instead.
5799 (epg-context-set-armor, epg-context-set-textmode)
5800 (epg-context-set-signers): Redefine using setf
5801 and declare as obsolete.
5802 (epg-context-set-passphrase-callback)
5803 (epg-context-set-progress-callback): Use setf.
5804 (epg-signature-notations): Rename from epg-sig-notations.
5805 (epg-make-signature, epg-signature-status, epg-signature-key-id)
5806 (epg-signature-validity, epg-signature-fingerprint)
5807 (epg-signature-creation-time, epg-signature-expiration-time)
5808 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
5809 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
5810 (epg-signature-set-status, epg-signature-set-key-id)
5811 (epg-signature-set-validity, epg-signature-set-fingerprint)
5812 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
5813 (epg-signature-set-pubkey-algorithm)
5814 (epg-signature-set-digest-algorithm, epg-signature-set-class)
5815 (epg-signature-set-version, epg-signature-set-notations): Remove.
5817 (epg-make-new-signature, epg-new-signature-type)
5818 (epg-new-signature-pubkey-algorithm)
5819 (epg-new-signature-digest-algorithm, epg-new-signature-class)
5820 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
5821 Define using cl-defstruct.
5822 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
5823 (epg-key-user-id-list): Define using cl-defstruct.
5824 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
5826 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
5827 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
5828 (epg-sub-key-id, epg-sub-key-creation-time)
5829 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
5831 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
5832 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
5833 (epg-user-id-signature-list): Define using cl-defstruct.
5834 (epg-user-id-set-signature-list): Remove. Use setf instead.
5835 (epg-make-key-signature, epg-key-signature-validity)
5836 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
5837 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
5838 (epg-key-signature-user-id, epg-key-signature-class)
5839 (epg-key-signature-exportable-p): Define using cl-defstruct.
5840 (epg-make-sig-notation, epg-sig-notation-name)
5841 (epg-sig-notation-value, epg-sig-notation-human-readable)
5842 (epg-sig-notation-critical): Define using cl-defstruct.
5843 (epg-sig-notation-set-value): Remove. Use setf instead.
5844 (epg-make-import-status, epg-import-status-fingerprint)
5845 (epg-import-status-reason, epg-import-status-new)
5846 (epg-import-status-user-id, epg-import-status-signature)
5847 (epg-import-status-sub-key, epg-import-status-secret): Define using
5849 (epg-make-import-result, epg-import-result-considered)
5850 (epg-import-result-no-user-id, epg-import-result-imported)
5851 (epg-import-result-imported-rsa, epg-import-result-unchanged)
5852 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
5853 (epg-import-result-new-signatures, epg-import-result-new-revocations)
5854 (epg-import-result-secret-read, epg-import-result-secret-imported)
5855 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
5856 (epg-import-result-imports): Define using cl-defstruct.
5858 * emacs-lisp/package.el: Require EPG during macroexpansion.
5859 (package--check-signature, package-import-keyring): Use setf instead of
5860 epg-context-set-home-directory.
5862 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5864 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
5866 2014-10-23 Leo Liu <sdl.web@gmail.com>
5868 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
5869 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
5870 (cfengine3-current-defun): New function.
5871 (cfengine3-mode): Set add-log-current-defun-function.
5873 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5875 * select.el: Use lexical-binding.
5876 (gui-set-selection): Provide an implementation for non-GUI frames
5878 * term/x-win.el: Use lexical-binding.
5879 (x-clipboard-yank): Fix up missed renamings.
5880 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
5881 (w32--set-selection): Fix up var names.
5882 * term/pc-win.el: Use lexical-binding.
5883 (w16-selection-exists-p): Silence compiler warning.
5884 (w16-selection-owner-p): Fix up missed renamings.
5886 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
5888 * frame.el (frame-notice-user-settings): Fix excessive quoting.
5890 2014-10-22 Tassilo Horn <tsdh@gnu.org>
5892 * doc-view.el (doc-view-open-text): View the document's plain text
5893 in the current buffer instead of a new one.
5894 (doc-view-toggle-display): Handle the case where the current
5895 buffer contains the plain text contents of the document.
5896 (doc-view-initiate-display): Don't switch to fallback mode if the
5897 user wants to view the doc's plain text.
5898 (doc-view-set-doc-type): Use assoc-string instead of
5901 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5903 * subr.el (read-key): Fix clicks on the mode-line.
5904 (set-transient-map): Return exit function.
5906 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
5907 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
5908 (mouse-yank-secondary): Use gui-get-selection.
5909 (mouse--down-1-maybe-follows-link): Use read-key.
5911 * xt-mouse.el: Add `event-kind' property on the fly from
5912 xterm-mouse-translate-1 rather than statically at the outset.
5914 2014-10-21 Daniel Colascione <dancol@dancol.org>
5916 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
5917 change window configuration when we turn it off.
5919 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5921 Get rid of backend-dependent selection-handling functions for kill/yank
5922 and make it generic instead by relying on the lower-level selection
5923 management functions.
5925 * select.el (select-enable-clipboard): Rename from
5926 gui-select-enable-clipboard.
5927 (select-enable-primary): Move from x-win.el and rename from
5928 x-select-enable-primary.
5929 (gui-last-selected-text): Remove.
5930 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
5932 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
5933 (gui-select-text-alist, gui-selection-value-alist): Remove.
5934 (x-select-request-type): Move from x-win.el.
5935 (gui--selection-value-internal): New function, taken from x-win's
5936 x-selection-value-internal.
5937 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
5938 (gui-set-selection-alist): Rename from gui-own-selection-alist and
5939 extend it to handle a nil value as a "disown" request.
5940 (gui-disown-selection-alist): Remove.
5941 (xselect-convert-to-delete): Adjust accordingly.
5942 (gui-set-selection): Simplify accordingly as well. Use dotimes.
5944 * term/x-win.el (x-last-selected-text-primary)
5945 (x-select-enable-primary): Remove (moved to select.el).
5946 (x-select-request-type): Move to select.el.
5947 (x-selection-value-internal, x--selection-value): Remove functions.
5948 (gui-selection-value, gui-select-text): Remove moethods.
5949 (gui-set-selection): Merge own and disown methods.
5951 * term/w32-win.el (w32--select-text, w32--get-selection-value):
5952 Delete function (move functionality into w32--set-selection and
5953 w32--get-selection).
5954 (gui-select-text, gui-selection-value): Don't define methods.
5955 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
5957 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
5959 (gui-selection-exists-p): Adjust to new name of C primitive.
5961 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
5962 test of gui-select-enable-clipboard, to make it usable as
5963 a gui-get-selection method.
5964 (gui-selection-exists-p): Adjust to new name of C primitive.
5965 (gui-set-selection): Merge own and disown methods.
5966 (gui-select-text, gui-selection-value): Delete methods.
5967 (w16--select-text): Delete function.
5969 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
5970 (ns-selection-value): Remove functions.
5971 (gui-select-text, gui-selection-value): Don't define method any more.
5972 (gui-set-selection): Merge the old own and disown methods.
5973 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
5974 underlying C primitive.
5976 * startup.el (command-line): Adjust now that `gui-method' expects nil
5979 * frame.el (gui-method): Use window-system rather than framep.
5980 (gui-method-declare): The tty case is now nil rather than t.
5981 (make-frame): Adjust accordingly.
5983 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5985 * net/newst-reader.el (newsticker--image-read): Simplify.
5986 (newsticker--icon-read): Use dolist and fix free var error.
5988 * imenu.el (imenu--menubar-keymap): New var.
5989 (imenu-add-to-menubar): Set it to remember the keymap we used.
5990 (imenu-update-menubar): Use it instead of asking lookup-key.
5992 * obsolete/cc-compat.el: Make obsolete (bug#18561).
5994 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
5996 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
5999 2014-10-21 Glenn Morris <rgm@gnu.org>
6001 * Merge in all changes up to version 24.4 release.
6003 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6005 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
6008 2014-10-20 Glenn Morris <rgm@gnu.org>
6010 * Merge in all changes up to 24.4 release.
6012 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
6014 * net/newst-backend.el
6015 (newsticker--image-download-by-url-callback): Make this function
6016 actually work: Check status properly, then save image.
6018 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6020 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
6022 (mouse-drag-line): Unless there's no actual mouse, use the event's
6025 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6027 * textmodes/css-mode.el (scss-mode): New major-mode.
6028 (css-mode-syntax-table): Use d style comment, to ease the scss case.
6029 (css-ident-re): Allow things like @-moz-keyframes.
6030 (scss--hash-re): New const.
6031 (css--font-lock-keywords): New function, extracted from
6032 css-font-lock-keywords.
6034 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
6036 * net/newst-backend.el: Require url-parse.
6037 (newsticker--get-news-by-wget): Store feed name as process property.
6038 (newsticker--sentinel): Read feed name from process property.
6039 (newsticker--sentinel-work): Rename argument name to feed-name.
6040 Rename variable imageurl to image-url. Pick icon url from Atom
6041 1.0 data. Launch download of feed icon.
6042 (newsticker--get-icon-url-atom-1.0): New.
6044 (newsticker--unxml-node)
6045 (newsticker--unxml-attribute): Documentation.
6046 (newsticker--icons-dir): New.
6047 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
6048 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
6049 (newsticker--image-download-by-wget): New. Use process properties
6050 for storing informations.
6051 (newsticker--image-sentinel): Read informations from process properties.
6052 (newsticker--image-save)
6053 (newsticker--image-remove)
6054 (newsticker--image-download-by-url)
6055 (newsticker--image-download-by-url-callback): New.
6056 (newsticker-opml-export): Handle url list entries containing a
6057 function instead of an url string.
6059 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
6060 (newsticker--print-extra-elements)
6061 (newsticker--do-print-extra-element):
6062 Documentation (newsticker--image-read): Optionally limit image height.
6063 Use imagemagick if possible.
6064 (newsticker--icon-read): New.
6066 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
6067 (newsticker--treeview-tree-expand): Use feed icons in treeview.
6068 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
6069 (newsticker--tree-widget-leaf-icon): Use feed icon.
6071 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6073 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
6074 Use help-function-arglist instead.
6076 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
6077 (eieio--with-scoped-class): Use `declare'.
6078 (eieio-defclass): Remove compatibility code.
6079 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
6080 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
6082 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
6084 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
6086 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
6087 replacements to stock names before stock names in a list.
6088 Cdr may be a list, each name is tried in turn until one is found.
6090 2014-10-18 Alan Mackenzie <acm@muc.de>
6092 Check that a "macro" found near point-min isn't a ## operator.
6093 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
6094 (c-beginning-of-macro): Use the above new function. (Bug#18749)
6096 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
6098 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
6099 correct data to `gnutls-boot' (Bug#18664).
6100 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
6102 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
6104 * whitespace.el (whitespace-style, whitespace-big-indent)
6105 (whitespace-big-indent-regexp, whitespace-style-value-list)
6106 (whitespace-toggle-option-alist, whitespace-interactive-char)
6107 (whitespace-toggle-options)
6108 (global-whitespace-toggle-options, whitespace-help-text)
6109 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
6110 style to `whitespace-mode' to indicate that the line indentation
6111 is too deep. By default, 32 SPACEs or four TABs are considered
6112 too many but `whitespace-big-indent-regexp' can be configured.
6114 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
6116 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
6119 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6121 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
6122 (defclass, defgeneric, defmethod): Add doc-string position.
6123 (with-slots): Require cl-lib.
6125 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
6126 (list-of): New type.
6127 (eieio--typep): Remove.
6128 (eieio-perform-slot-validation): Use cl-typep instead.
6130 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
6132 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
6134 2014-10-16 Alan Mackenzie <acm@muc.de>
6136 Trigger showing when point is in the "periphery" of a line or just
6138 * paren.el (show-paren-style, show-paren-delay)
6139 (show-paren-priority, show-paren-ring-bell-on-mismatch):
6140 Remove superfluous :group specifications.
6141 (show-paren-when-point-inside-paren)
6142 (show-paren-when-point-in-periphery): New customizable variables.
6143 (show-paren-highlight-openparen): Make into a defcustom.
6144 (show-paren--unescaped-p, show-paren--categorize-paren)
6145 (show-paren--locate-near-paren): New defuns.
6146 (show-paren--default): Refaactor and trigger on more paren
6148 (show-paren-function): Small consequential changes.
6150 2014-10-16 Tom Tromey <tom@tromey.com>
6152 * files.el (auto-mode-alist): Use javascript-mode for .jsm
6155 2014-10-16 Eli Zaretskii <eliz@gnu.org>
6157 * international/characters.el (bracket-type): Force pre-loading of
6160 2014-10-16 Alan Mackenzie <acm@muc.de>
6162 * cus-edit.el (custom-command-apply): Specify the return value in
6164 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
6165 custom-command-apply has returned non-nil.
6167 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
6169 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
6170 Remove incorrect handling of eldoc-print-after-edit.
6171 (eldoc-message-commands, eldoc-last-data): Use defvar.
6172 * loadup.el (emacs-lisp/eldoc): Load it.
6174 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
6176 (m4--quoted-p): New function.
6177 (m4-font-lock-keywords): Don't handle #..\n comments any more.
6178 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
6179 for most special characters.
6181 * progmodes/compile.el (compilation--previous-directory): Simplify.
6182 (compilation-next-error): Ensure the parse before we look at
6183 compilation-message property.
6185 2014-10-15 Eli Zaretskii <eliz@gnu.org>
6187 * simple.el (what-cursor-position):
6188 * descr-text.el (describe-char): Update to support the new bidi
6191 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
6192 Force bidi-paragraph-direction to 'left-to-right'. This fixes
6193 buffer-menu display when the first buffer happens to start with
6196 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
6198 * progmodes/elisp-mode.el (elisp--local-variables-1):
6199 Handle quoted expressions (bug#18688).
6201 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
6202 Michael Albinus <michael.albinus@gmx.de>
6204 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6205 Reduce the amount of set environment variable commands.
6207 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6209 Fix import completion. (Bug#18582)
6210 * progmodes/python.el (python-shell-completion-get-completions):
6211 Fix import case regexp.
6213 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6215 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
6216 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
6217 * progmodes/prolog.el (prolog-electric--underscore): Same.
6219 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
6221 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
6223 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
6225 * cus-start.el (all): Add missing ns and boolean to
6226 ns-use-fullscreen-animation.
6228 2014-10-11 Leo Liu <sdl.web@gmail.com>
6230 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
6232 (cfengine3-create-imenu-index): New function.
6233 (cfengine3-mode): Use it for `imenu-create-index-function'.
6234 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
6237 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
6239 * cus-start.el (all): Add ns-use-fullscreen-animation.
6241 2014-10-11 Glenn Morris <rgm@gnu.org>
6243 * calendar/diary-lib.el (diary-display-function):
6244 Drop support for deprecated nil and list forms.
6245 (diary-list-entries): Update for the above.
6246 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
6248 2014-10-10 Leo Liu <sdl.web@gmail.com>
6250 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
6253 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6255 * select.el (gui-selection-exists-p-alist): New method.
6256 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
6257 * simple.el (deactivate-mark): Use it.
6258 * term/x-win.el (gui-selection-exists-p):
6259 * term/w32-win.el (gui-selection-exists-p):
6260 * term/pc-win.el (gui-selection-exists-p):
6261 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
6263 2014-10-10 Glenn Morris <rgm@gnu.org>
6265 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
6266 Fix :type. Allow t to mean no limit.
6267 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
6269 2014-10-09 Glenn Morris <rgm@gnu.org>
6271 * frame.el (display-monitor-attributes-list): Doc tweaks.
6273 2014-10-09 Eli Zaretskii <eliz@gnu.org>
6275 * faces.el (display-grayscale-p): Mention in the doc string that
6276 the argument can be either a display name or a frame.
6278 * frame.el (display-pixel-height, display-pixel-width)
6279 (display-mm-height, display-mm-width, display-backing-store)
6280 (display-save-under, display-planes, display-color-cells)
6281 (display-visual-class, display-monitor-attributes-list)
6282 (display-screens): Mention in the doc string that the argument can
6283 be either a display name or a frame. Improve the docs of the
6284 monitor attributes. (Bug#18636)
6286 2014-10-09 Martin Rudalics <rudalics@gmx.at>
6288 * term.el (term-window-width): Subtract 1 from the width when
6289 any fringe has zero width, not just the right fringe. (Bug#18601)
6291 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6293 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
6295 2014-10-08 Leo Liu <sdl.web@gmail.com>
6297 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
6299 2014-10-08 Glenn Morris <rgm@gnu.org>
6301 * calendar/cal-x.el (calendar-dedicate-diary):
6302 Drop support for recently deleted aliases.
6304 2014-10-08 Leo Liu <sdl.web@gmail.com>
6306 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
6307 Always return a syntax. Replace call-process-shell-command with
6308 process-file. Ensure cfengine-mode-syntax-functions-regex is
6309 always set. Ensure cache when cfengine-cf-promises fails.
6312 2014-10-07 Glenn Morris <rgm@gnu.org>
6314 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
6316 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
6318 Sync with upstream verilog-mode revision c075a492.
6319 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
6320 (verilog-menu): Add AUTOINSERTLAST.
6321 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
6322 is nil, fix indenting initial/final to match always statements, bug825.
6323 Reported by Tim Clapp.
6324 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
6325 bug557. Reported by ZeDong Mao and Jason Forkey.
6326 (verilog-read-decls): Fix parsing typed interfaces.
6327 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
6328 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
6329 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
6330 Reported by Pierre-David Pfister.
6331 (verilog-auto-insert-lisp): Doc fix.
6332 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
6333 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
6334 (verilog-sk-ovm-class, verilog-sk-uvm-object)
6335 (verilog-sk-uvm-component): Fix missing string keyword in class
6336 skeletons, bug824. Reported by eldad faruhi.
6338 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6340 * term/w32-win.el: Move all code from 32-common-fns.el here.
6341 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
6342 console as well (bug#18629).
6343 * w32-common-fns.el: Remove.
6344 * loadup.el: Don't load w32-common-fns.el.
6345 * w32-fns.elc: Don't require w32-common-fns.
6347 * icomplete.el: Move Iswitchb autoload here. Much simpler.
6348 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
6349 Remove redundant obsolescence thingy.
6350 * loadup.el: Don't load obsolete/loaddefs.el.
6351 * Makefile.in (obsolete-autoloads): Remove.
6352 (AUTOGENEL): Remove obsolete/loaddefs.el.
6354 2014-10-06 Glenn Morris <rgm@gnu.org>
6356 * Makefile.in (obsolete-autoloads): Write to a separate file,
6357 to workaround autoloads bug. (Bug#17407)
6358 (AUTOGENEL): Add obsolete/loaddefs.el.
6359 * loadup.el: Load obsolete/loaddefs.el if present.
6360 * subr.el (do-after-load-evaluation):
6361 Don't warn about obsolete/loaddefs.el.
6363 * menu-bar.el (menu-bar-games-menu): Remove landmark.
6364 It has zero relationship to a game.
6366 2014-10-06 Leo Liu <sdl.web@gmail.com>
6368 * imenu.el (imenu): Re-write for clarity.
6370 2014-10-06 Glenn Morris <rgm@gnu.org>
6372 Remove calendar code obsolete since at least version 23.1.
6373 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
6374 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
6375 (calendar-goto-bahai-date, list-bahai-diary-entries)
6376 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
6377 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
6378 (insert-yearly-bahai-diary-entry):
6379 * calendar/cal-china.el (chinese-calendar-time-zone)
6380 (chinese-calendar-location-name)
6381 (chinese-calendar-daylight-time-offset)
6382 (chinese-calendar-standard-time-zone-name)
6383 (chinese-calendar-daylight-time-zone-name)
6384 (chinese-calendar-daylight-savings-starts)
6385 (chinese-calendar-daylight-savings-ends)
6386 (chinese-calendar-daylight-savings-starts-time)
6387 (chinese-calendar-daylight-savings-ends-time)
6388 (chinese-calendar-celestial-stem)
6389 (chinese-calendar-terrestrial-branch)
6390 (calendar-absolute-from-chinese, calendar-print-chinese-date)
6391 (calendar-goto-chinese-date):
6392 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
6393 (calendar-print-coptic-date, coptic-prompt-for-date)
6394 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
6395 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
6396 * calendar/cal-french.el (calendar-absolute-from-french)
6397 (calendar-print-french-date, calendar-goto-french-date):
6398 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
6399 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
6400 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
6401 (holiday-rosh-hashanah-etc, holiday-hanukkah)
6402 (holiday-passover-etc, holiday-tisha-b-av-etc)
6403 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
6404 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
6405 (insert-monthly-hebrew-diary-entry)
6406 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
6407 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
6408 (diary-sabbath-candles):
6409 * calendar/cal-islam.el (calendar-absolute-from-islamic)
6410 (calendar-print-islamic-date, calendar-goto-islamic-date)
6411 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
6412 (mark-islamic-diary-entries, insert-islamic-diary-entry)
6413 (insert-monthly-islamic-diary-entry)
6414 (insert-yearly-islamic-diary-entry):
6415 * calendar/cal-iso.el (calendar-absolute-from-iso)
6416 (calendar-print-iso-date, calendar-iso-read-args)
6417 (calendar-goto-iso-date, calendar-goto-iso-week):
6418 * calendar/cal-julian.el (calendar-absolute-from-julian)
6419 (calendar-print-julian-date, calendar-goto-julian-date)
6420 (calendar-absolute-from-astro, calendar-print-astro-day-number)
6421 (calendar-goto-astro-day-number):
6422 * calendar/cal-mayan.el (calendar-print-mayan-date)
6423 (calendar-next-haab-date, calendar-previous-haab-date)
6424 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6425 (calendar-next-calendar-round-date)
6426 (calendar-previous-calendar-round-date)
6427 (calendar-absolute-from-mayan-long-count)
6428 (calendar-goto-mayan-long-count-date):
6429 * calendar/cal-move.el (scroll-calendar-left)
6430 (scroll-calendar-right, scroll-calendar-left-three-months)
6431 (scroll-calendar-right-three-months):
6432 * calendar/cal-persia.el (calendar-absolute-from-persian)
6433 (calendar-print-persian-date, persian-prompt-for-date)
6434 (calendar-goto-persian-date):
6435 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
6436 * calendar/calendar.el (view-diary-entries-initially)
6437 (mark-diary-entries-in-calendar, calendar-today-face)
6438 (diary-face, holiday-face, view-calendar-holidays-initially)
6439 (mark-holidays-in-calendar, initial-calendar-window-hook)
6440 (today-visible-calendar-hook, today-invisible-calendar-hook)
6441 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
6442 (bahai-diary-entry-symbol, american-date-diary-pattern)
6443 (european-date-diary-pattern, european-calendar-display-form)
6444 (american-calendar-display-form, holidays-in-diary-buffer)
6445 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
6446 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
6447 (fancy-diary-buffer, increment-calendar-month)
6448 (extract-calendar-month, extract-calendar-day)
6449 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
6450 (mark-visible-calendar-date, calendar-version):
6451 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
6452 (diary-display-hook, list-diary-entries-hook)
6453 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
6454 (nongregorian-diary-marking-hook, print-diary-entries-hook)
6455 (abbreviated-calendar-year, number-of-diary-entries)
6456 (view-other-diary-entries, add-to-diary-list)
6457 (include-other-diary-files, simple-diary-display)
6458 (fancy-diary-display, print-diary-entries, mark-diary-entries)
6459 (mark-sexp-diary-entries, mark-included-diary-files)
6460 (mark-calendar-days-named, mark-calendar-month)
6461 (mark-calendar-date-pattern, sort-diary-entries)
6462 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
6463 (insert-weekly-diary-entry, insert-monthly-diary-entry)
6464 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
6465 (insert-block-diary-entry, insert-cyclic-diary-entry)
6466 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
6467 * calendar/holidays.el (general-holidays, oriental-holidays)
6468 (local-holidays, other-holidays, hebrew-holidays)
6469 (christian-holidays, islamic-holidays, bahai-holidays)
6470 (solar-holidays, list-calendar-holidays)
6471 (check-calendar-holidays, mark-calendar-holidays)
6472 (filter-visible-calendar-holidays):
6473 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
6474 (diary-phases-of-moon): Remove obsolete aliases.
6475 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
6476 * calendar/cal-x.el (calendar-one-frame-setup)
6477 (calendar-only-one-frame-setup, calendar-two-frame-setup):
6478 Remove obsolete functions.
6479 (cal-x-load-hook): Remove obsolete hook.
6480 * calendar/calendar.el (european-calendar-style):
6481 Remove obsolete variable.
6482 (calendar-date-style): No longer consult european-calendar-style.
6483 * calendar/calendar.el (european-calendar, american-calendar):
6484 Remove obsolete commands.
6485 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
6486 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
6487 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
6488 Use the face `diary' instead of the variable `diary-face'.
6489 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
6490 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
6491 * calendar/icalendar.el (icalendar--date-style): Remove function.
6492 Replace all uses with calendar-date-style.
6493 * textmodes/remember.el (calendar-date-style): Declare.
6494 (remember-diary-convert-entry):
6495 No longer consult european-calendar-style.
6497 2014-10-05 Leo Liu <sdl.web@gmail.com>
6499 * imenu.el (imenu-default-goto-function): Fix typo.
6501 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6503 * net/ntlm.el (ntlm-build-auth-request):
6504 Add NTLM2 Session support. (Bug#15603)
6506 2014-10-04 Glenn Morris <rgm@gnu.org>
6508 * apropos.el (apropos-symbols-internal):
6509 Avoid error with non-symbol properties. (Bug#18337#16)
6511 * startup.el (command-line):
6512 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
6514 2014-10-04 Martin Rudalics <rudalics@gmx.at>
6516 * window.el (window-full-height-p): Make it behave correctly for
6518 (window-current-scroll-bars): Fix code.
6519 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
6521 * frame.el (frame-current-scroll-bars): Fix doc-string.
6522 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
6524 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
6526 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
6528 2014-10-04 Glenn Morris <rgm@gnu.org>
6530 * frame.el (frame-monitor-attributes)
6531 (display-monitor-attributes-list): Doc fixes.
6533 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6535 Merge trivially safe differences from standalone CC-mode.
6536 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
6537 just to then pass it to `symbol-value'.
6538 (prog-mode): Provide fallback definition, if needed.
6539 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
6540 Remove "cl-" prefix accordingly.
6541 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
6542 characterp depending on the type of characters.
6543 (c-font-lock-enum-tail): Remove unused var `start'.
6544 * progmodes/cc-engine.el: Load CL at compile-time.
6545 (c-declare-lang-variables): Use mapcan.
6546 (c-append-to-state-cache): Remove unused var `ce+1'.
6547 (c-parse-state-state): Make buffer-local.
6548 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
6549 (c-just-after-func-arglist-p): Remove unused var `end'.
6550 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
6551 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
6552 (c-make-keywords-re): Use delete-dups.
6553 (c-get-current-file): Avoid file-name-base.
6554 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
6555 `close-paren-inserted'.
6556 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
6558 * progmodes/python.el: Avoid building unneeded markers.
6559 (python-font-lock-keywords, python-indent-dedent-line)
6560 (python-fill-paren, python-shell-completion-complete-or-indent):
6561 Prefer point over point-marker.
6562 (inferior-python-mode): Remove redundant completion settings.
6564 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
6566 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
6567 (vc-svn-ignore): Use it. (Bug#18619)
6569 2014-10-03 Martin Rudalics <rudalics@gmx.at>
6571 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
6572 In doc-string mention need to set `frame-resize-pixelwise'.
6574 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6576 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
6577 similarly to Rogers's 2010-06-16 change for the remote case
6580 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6582 New gui-selection-value consolidating x-selection-value.
6583 * select.el (gui-selection-value-alist): New method.
6584 (gui-selection-value): New function.
6585 (x-selection-value): Make it an obsolete alias.
6586 * simple.el (interprogram-paste-function): Default to
6587 gui-selection-value.
6588 * w32-common-fns.el (w32-get-selection-value): Simplify.
6589 (x-selection-value): Remove alias.
6590 (interprogram-paste-function): Don't set.
6591 (gui-selection-value): Define for w32.
6592 * term/x-win.el (gui-selection-value): Define for x.
6593 (x--selection-value): Rename from x--selection-value.
6594 (interprogram-paste-function): Don't set.
6595 * term/pc-win.el (w16-get-selection-value): Simplify.
6596 (msdos-initialize-window-system): Don't set
6597 interprogram-paste-function.
6598 (gui-selection-value): Define for pc.
6599 * term/ns-win.el (x-selection-value): Remove.
6600 (gui-selection-value): Define for ns, instead.
6601 * term/common-win.el (x-setup-function-keys): Don't set
6602 interprogram-paste-function.
6603 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
6604 Use gui-selection-value.
6606 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
6608 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
6610 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6612 * obsolete/lucid.el (read-number): Remove, redundant.
6613 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
6616 2014-10-02 Glenn Morris <rgm@gnu.org>
6618 * emacs-lisp/package.el (package-import-keyring):
6619 Create gnupg directory private. (Bug#17625#155)
6621 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6623 * progmodes/python.el (python-shell-completion-get-completions):
6624 Use python-shell--prompt-calculated-input-regexp from the
6625 process buffer (bug#18582).
6626 Don't assume that `line' comes from the process buffer.
6628 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6630 * frame.el: Use lexical-binding (bug#18598).
6631 (make-frame): Use t rather than nil for tty's window-system.
6632 * startup.el (command-line): Use gui-method.
6634 Consolidate management/ownership of selections.
6635 * select.el (gui-get-selection-alist): New method.
6636 (gui-get-selection): Use it. Rename from x-get-selection.
6637 (x-get-selection): Define as obsolete alias.
6638 (x-get-clipboard): Mark obsolete.
6639 (gui-get-primary-selection): New function.
6640 (x-get-selection-value): Mark obsolete.
6641 (gui-own-selection-alist, gui-disown-selection-alist)
6642 (gui-selection-owner-p-alist): New methods.
6643 (gui-set-selection): Use them. Rename from x-set-selection.
6644 (x-set-selection): Define as obsolete alias.
6645 (gui--valid-simple-selection-p): Rename from
6646 x-valid-simple-selection-p.
6647 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
6648 (gui-selection-owner-p, gui-get-selection): Define for w32.
6649 (w32-get-selection-value): Rename from x-get-selection-value.
6650 Use the new gui-last-selected-text.
6651 * term/x-win.el (x-get-selection-value): Remove.
6652 (x-clipboard-yank): Declare obsolete.
6653 (gui-own-selection, gui-disown-selection, gui-get-selection)
6654 (gui-selection-owner-p): Define for x.
6655 * term/w32-win.el (w32-win-suspend-error): Rename from
6656 x-win-suspend-error.
6657 * term/pc-win.el (w16-get-selection-value): Rename from
6658 x-get-selection-value.
6659 (w16-selection-owner-p): Rename from x-selection-owner-p.
6660 (gui-own-selection, gui-disown-selection, gui-get-selection)
6661 (gui-selection-owner-p): Define for pc.
6662 (w16--select-text): New function.
6663 * term/ns-win.el (gui-own-selection, gui-disown-selection)
6664 (gui-get-selection, gui-selection-owner-p): Define for ns.
6665 * term.el (term-mouse-paste):
6666 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
6668 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
6670 * calc/calc-help.el (calc-describe-thing): Quote strings
6671 which could look like regexps.
6673 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6675 Consolidate x-select-text.
6676 * frame.el (gui-method, gui-method-define, gui-method-declare)
6677 (gui-call): New macros.
6678 (gui-method--name): New function.
6679 (frame-creation-function-alist): Use gui-method-declare.
6680 (make-frame): Use gui-method.
6681 * select.el (gui-select-enable-clipboard): Rename from
6682 x-select-enable-clipboard and move here.
6683 (x-select-enable-clipboard): Define as obsolete alias.
6684 (gui-last-selected-text): New var, to replace x-last-selected-text.
6685 (gui-select-text): New GUI method.
6686 (gui-select-text): New function.
6687 (x-select-text): Define as obsolete alias.
6688 * term/common-win.el (x-select-enable-clipboard, x-select-text):
6690 * simple.el (interprogram-cut-function): Change default to
6692 (interprogram-paste-function): Change default to `ignore'.
6693 * w32-common-fns.el (interprogram-cut-function): Don't modify.
6694 * term/x-win.el (interprogram-cut-function): Don't modify.
6695 (gui-select-text): Add method for x.
6696 * term/w32-win.el (gui-select-text): Add method for w32.
6697 * term/pc-win.el (x-last-selected-text): Remove, use
6698 gui-last-selected-text instead.
6699 (msdos-initialize-window-system): Don't set interprogram-cut-function.
6700 (gui-select-text): Add method for pc.
6701 * term/ns-win.el (ns-last-selected-text): Remove, use
6702 gui-last-selected-text instead.
6703 (gui-select-text): Add method for ns.
6704 (x-setup-function-keys): Don't change interprogram-cut-function.
6705 * loadup.el ("startup"): Load after "frame".
6706 * subr.el (package--builtin-versions, package--description-file):
6707 Move from startup.el.
6708 * startup.el (package--builtin-versions, package--description-file):
6710 (handle-args-function-alist, window-system-initialization-alist):
6711 Use gui-method-declare.
6712 (command-line): Use gui-method.
6714 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6716 * subr.el (alist-get): New accessor.
6717 * emacs-lisp/gv.el (alist-get): Provide expander.
6718 * winner.el (winner-remember):
6719 * tempo.el (tempo-use-tag-list):
6720 * progmodes/gud.el (minor-mode-map-alist):
6721 * international/mule-cmds.el (define-char-code-property):
6722 * frameset.el (frameset-filter-params):
6723 * files.el (dir-locals-set-class-variables):
6724 * register.el (get-register, set-register):
6725 * calc/calc-yank.el (calc-set-register): Use it.
6726 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
6727 * tooltip.el (tooltip-set-param): Mark as obsolete.
6728 (tooltip-show): Use alist-get instead.
6729 * ses.el (ses--alist-get): Remove. Use alist-get instead.
6731 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
6733 * net/newst-backend.el: Remove Time-stamp. Rename variable
6734 `newsticker--download-logos' to `newsticker-download-logos' and
6735 make it customizable.
6736 (newsticker--sentinel-work): Move xml-workarounds to function
6737 `newsticker--do-xml-workarounds', call unless libxml-parser is
6738 used. Allow single quote in regexp for encoding.
6739 Use libxml-parser if available, else fall back to `xml-parse-region'.
6740 Take care of possibly missing namespace prefixes (like "RDF"
6741 instead of "rdf:RDF") when checking xml nodes and attributes (as
6742 libxml correctly removes the prefixes). Always use Atom 1.0 as
6743 fallback feed type. Rename `newsticker--download-logos' to
6744 `newsticker-download-logos'
6745 (newsticker--unxml, newsticker--unxml-node)
6746 (newsticker--unxml-attribute): New.
6747 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
6748 HTML code has become part of the xml parse tree.
6749 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
6750 of possibly missing namespace prefixes.
6751 (newsticker--parse-generic-items): Code formatting. Typo.
6752 (newsticker--images-dir): Add trailing slash.
6753 (newsticker--image-get): Fix error message.
6755 * net/newst-plainview.el: Remove Time-stamp.
6757 * net/newst-reader.el: Remove Time-stamp.
6758 (newsticker-download-logos): Rename variable
6759 `newsticker--download-logos' to `newsticker-download-logos' and
6760 make it customizable.
6761 (newsticker--print-extra-elements): Add optional parameter
6762 'htmlish for using html markup. Amend list of ignored elements.
6763 (newsticker--do-print-extra-element): Add parameter 'htmlish for
6766 * net/newst-ticker.el: Remove Time-stamp.
6768 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
6769 for formatting extra elements.
6771 * net/newsticker.el: Remove Time-stamp, Version.
6772 (newsticker-version): Make obsolete.
6774 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
6776 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
6779 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6781 * emacs-lisp/package.el (package-check-signature): Default to nil if
6782 GPG is not available.
6783 (package-refresh-contents): Don't mess with the keyring if we won't
6784 check the signatures anyway.
6786 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6788 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
6789 (ses-center, ses-center-span): Use them.
6790 (ses-print-cell): Bind them while calling the printer.
6791 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
6792 (ses-dorange): Revert last change.
6793 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
6795 (ses-set-cell): Avoid `eval'.
6796 (ses--time-check): Rename it from ses-time-check and turn it into
6799 * ses.el (ses-setup): Don't assume modifying the iteration var of
6800 dotimes affects the iteration (bug#18191).
6802 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
6804 * ses.el (ses-calculate-cell): Bind row and col dynamically to
6805 their values with 'cl-progv'.
6806 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
6807 their values with 'cl-progv', also use non-interned symbols for
6808 row, minrow, maxrow, mincol and maxcol.
6809 (maxrow maxcol): New defvar, to make the compiler happy.
6811 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6813 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
6814 completion functions.
6816 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
6818 * ses.el (ses--letref): Quote value before it gets re-evaluated.
6820 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
6822 Font-lock `cl-flet*', too.
6823 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
6824 Add "flet*" to intermediate var `cl-lib-kw'.
6826 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6828 * epg-config.el (epg-gpg-program): Use the plain program names rather
6829 than their absolute file name.
6831 * subr.el (track-mouse): New macro.
6832 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6833 Remove track-mouse case.
6834 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
6836 2014-09-27 Leo Liu <sdl.web@gmail.com>
6838 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
6840 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
6842 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6844 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
6845 Handle the case where `match' is :pcase--succeed or :pcase--fail
6848 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
6849 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
6850 (eldoc-schedule-timer): Obey it.
6851 (eldoc-documentation-function): Default to nil.
6852 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
6853 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
6854 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
6855 (eldoc-last-data-store, eldoc-docstring-first-line)
6856 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
6857 (eldoc-beginning-of-sexp, eldoc-current-symbol)
6858 (eldoc-function-argstring): Move to elisp-mode.el.
6859 (eldoc-symbol-function): Remove, unused.
6860 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
6861 (elisp-completion-at-point): Rename from lisp-completion-at-point.
6862 (elisp--preceding-sexp): Rename from preceding-sexp.
6863 * loadup.el: Load new file progmodes/elisp-mode.
6864 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
6865 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
6866 (lisp--local-variables-completion-table, lisp--expect-function-p)
6867 (lisp--form-quoted-p, lisp--company-doc-buffer)
6868 (lisp--company-doc-string, lisp--company-location)
6869 (lisp-completion-at-point): Move to elisp-mode.el.
6870 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
6871 extracted from emacs-lisp-mode-syntax-table.
6872 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
6874 (lisp-imenu-generic-expression): Add comments to document what comes
6875 from which Lisp dialect.
6876 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
6877 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
6878 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
6879 (emacs-lisp-byte-code-comment)
6880 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
6881 (lisp-interaction-mode-map, lisp-interaction-mode)
6882 (eval-print-last-sexp, last-sexp-setup-props)
6883 (last-sexp-toggle-display, prin1-char, preceding-sexp)
6884 (eval-last-sexp-1, eval-last-sexp-print-value)
6885 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
6886 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
6888 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
6890 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
6891 Do not match file names that end in '/', as they cannot be 'grep'
6892 hits nowadays. This prevents confusion when 'grep -r' reports a
6893 match in a file whose basename is ':12345:'. Conversely, do not
6894 require exactly the same sequence of spaces and tabs after both
6895 colons, and allow spaces or tabs before the second colon, as per
6896 the POSIX spec for 'grep' output.
6898 2014-09-26 Leo Liu <sdl.web@gmail.com>
6900 Add cl-parse-integer based on parse-integer (Bug#18557)
6901 * calendar/parse-time.el (parse-time-digits): Remove.
6902 (digit-char-p, parse-integer) Moved to cl-lib.el.
6903 (parse-time-tokenize, parse-time-rules, parse-time-string):
6904 Use cl-parse-integer.
6906 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
6908 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
6909 (cl-digit-char-p): New function.
6911 2014-09-25 Juri Linkov <juri@jurta.org>
6913 * vc/add-log.el (change-log-next-buffer): Don't create an empty
6914 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
6915 Return the current buffer if no files match the default pattern
6916 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
6918 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
6920 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
6921 the global vc-handled-backends (bug#18535).
6923 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
6925 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
6926 Suggested by <lompik@voila.fr>.
6928 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
6930 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
6931 Rename from `newsticker--treeview-do-get-node'.
6932 (newsticker--treeview-get-node-by-id):
6933 Rename from `newsticker--treeview-get-node'.
6934 (newsticker--treeview-buffer-init)
6935 (newsticker--treeview-buffer-init): Disable buffer undo.
6936 (newsticker--treeview-unfold-node): Adapt to modified
6937 `newsticker--group-find-parent-group'.
6938 (newsticker--group-do-find-group):
6939 Rename from `newsticker--group-do-find-group-for-feed'.
6940 Now works for both, groups and feeds.
6941 (newsticker--group-find-parent-group):
6942 Rename from `newsticker--group-find-group-for-feed'.
6943 Now works for both, groups and feeds.
6944 (newsticker--group-do-get-parent-group)
6945 (newsticker--group-get-parent-group): Remove.
6946 (newsticker-group-add-group): Change interactive prompts.
6947 (newsticker-group-add-group): Finally jump to added group.
6948 (newsticker-group-delete-group): Finally jump to current feed.
6949 (newsticker--group-do-rename-group, newsticker-group-rename-group)
6950 (newsticker--get-group-names, newsticker--group-names): New.
6951 (newsticker-group-move-feed): Finally jump to moved feed.
6952 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
6953 (newsticker-group-shift-group-down)
6954 (newsticker-group-shift-group-up, newsticker--group-shift): New.
6955 (newsticker-treeview-mode-map): New keybindings for new shift commands.
6957 * net/newst-backend.el (newsticker--item-list)
6958 (newsticker--item-position, newsticker--prev-message)
6959 (newsticker--scrollable-text): Move to newst-ticker.el.
6961 * net/newst-ticker.el (newsticker--item-list)
6962 (newsticker--item-position, newsticker--prev-message)
6963 (newsticker--scrollable-text): Move from newst-backend.el.
6965 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
6967 * window.el (fit-window-to-buffer): When counting buffer width,
6968 count the whole visible buffer. Correctly convert the body-height
6969 to pixel size for window-text-pixel-size (Bug#18498).
6971 2014-09-22 Sam Steingold <sds@gnu.org>
6973 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
6974 (sql-execute): Use `special-mode'.
6976 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6978 Add pcase-defmacro, as well as `quote' and `app' patterns.
6979 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
6980 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
6981 (pcase--funcall, pcase--eval): New functions.
6982 (pcase--u1): Use them for guard, pred, let, and app.
6983 (\`): Use the new feature to generate better code for vector patterns.
6984 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
6985 (pcase--upat): Remove.
6986 (pcase--macroexpand): Don't hardcode handling of `.
6987 (pcase--split-consp, pcase--split-vector): Remove.
6988 (pcase--split-equal): Disregard ` since it's expanded away.
6989 (pcase--split-member): Optimize for quote rather than for `.
6990 (pcase--split-pred): Optimize for quote rather than for `.
6991 (pcase--u1): Remove handling of ` (and of `or' and `and').
6992 Quote non-selfquoting values when passing them to `eq'.
6993 Drop `app's let-binding if the variable is not used.
6994 (pcase--q1): Remove.
6995 (`): Define as a pattern macro.
6996 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
6997 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
6998 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
7000 (pcase--split-match): Don't hoist or/and here any more.
7001 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
7002 (pcase--flip): New helper macro.
7003 (pcase--u1): Optimize the memq case directly.
7004 Don't handle neither self-quoting nor and/or patterns any more.
7005 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
7006 (pcase--macroexpand): New function.
7007 (pcase--expand): Use it.
7008 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
7009 New optimization functions.
7010 (pcase--u1): Add support for `quote' and `app'.
7011 (pcase): Document them in the docstring.
7013 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7015 Use lexical-bindin in Ibuffer.
7016 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
7017 (ibuffer-compile-format): Simplify.
7018 (ibuffer-clear-summary-columns): Simplify.
7019 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
7020 elem of dotimes when we don't refer to the iteration var from it.
7021 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
7022 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
7023 Silence byte-compiler.
7025 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7027 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
7028 expression for a list.
7030 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
7031 for functions with no arguments.
7033 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
7034 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
7036 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
7038 * simple.el (clone-indirect-buffer): Mention the return value
7041 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
7042 Text mode in docstring (bug#18464).
7044 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7046 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7047 Accept underscores in identifiers after "sub" (bug#18502).
7049 2014-09-21 Tassilo Horn <tsdh@gnu.org>
7051 * textmodes/reftex-sel.el (reftex-select-label-mode)
7052 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
7053 from special-mode (instead of fundamental-mode) and propertize
7054 with font-lock-face instead of just face. (Bug#18496)
7056 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
7058 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
7060 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
7061 `table-etc' when `end' is non-nil.
7062 (lisp-completion-at-point): Move `end' back if it's after quote.
7063 If in comment or string, only complete when after backquote.
7065 (lisp-completion-at-point): Don't use
7066 `lisp--local-variables-completion-table' in the
7067 `lisp--form-quoted-p' case.
7069 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
7071 * emacs-lisp/lisp.el (lisp--expect-function-p)
7072 (lisp--form-quoted-p): New functions.
7073 (lisp-completion-at-point): Use them to see if we're completing a
7074 variable reference, a function name, or just any symbol.
7075 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
7077 2014-09-18 Ivan Kanis <ivan@kanis.fr>
7079 * net/shr.el, net/eww.el: Don't override `shr-width', but
7080 introduce a new variable `shr-internal-width'. This allows users
7081 to specify a width themselves.
7083 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7085 * image-mode.el (image-toggle-display-image): If we have a
7086 `fit-width' or a `fit-height', don't limit the size of the image
7087 to the window size, because that doesn't preserve the aspect ratio.
7088 * image-mode.el: Move defvars earlier to avoid a byte-compilation
7091 2014-09-17 Reuben Thomas <rrt@sc3d.org>
7093 * progmodes/js.el: Add interpreter-mode-alist support for various
7094 JavaScript interpreters.
7096 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
7098 Don't assume 'grep' supports GREP_OPTIONS.
7099 The GREP_OPTIONS environment variable is planned to be marked
7100 obsolescent in GNU grep, due to problems in its use, so stop
7102 * progmodes/grep.el (grep-highlight-matches): Document this.
7103 (grep-process-setup): Do not set GREP_OPTIONS.
7104 (grep-compute-defaults): Use an explicit --color option if supported.
7106 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7108 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
7109 Don't add outdated key-shortcut cache (bug#18482).
7111 2014-09-15 Glenn Morris <rgm@gnu.org>
7113 * image.el (image-multi-frame-p): Fix thinko - do not force
7114 a delay if none was specified. (Bug#18334)
7116 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
7118 * window.el (fit-window-to-buffer): Doc fix.
7120 2014-09-15 Ivan Shmakov <ivan@siamics.net>
7122 * desktop.el (desktop-create-buffer): Check that buffers are still live
7123 before burying them (bug#18373).
7125 2014-09-15 Glenn Morris <rgm@gnu.org>
7127 * calendar/diary-lib.el (diary-list-entries):
7128 Restore 24.3 display behavior. (Bug#18381)
7130 2014-09-15 Eli Zaretskii <eliz@gnu.org>
7132 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
7133 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
7134 discrepancy between window-pixel-edges and mouse events, and
7135 avoids moving mode line up when the mouse click is on the modeline
7136 and no drag is attempted.
7138 2014-09-14 Daniel Colascione <dancol@dancol.org>
7140 * register.el (insert-register): Change default interactive
7143 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
7145 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
7146 Suppress debug messages.
7148 * net/tramp.el (tramp-file-name-handler):
7149 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
7152 2014-09-13 Christopher Schmidt <ch@ristopher.com>
7154 * calendar/calendar.el (calendar-update-mode-line):
7155 Do not overwrite mode-line-format if calendar-mode-line-format is
7158 2014-09-13 Leo Liu <sdl.web@gmail.com>
7160 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
7161 (pcase--expand): Use it.
7162 (pcase-exhaustive): New macro. (Bug#16567)
7164 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
7165 Add pcase-exhaustive.
7167 2014-09-13 Eli Zaretskii <eliz@gnu.org>
7169 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
7170 using the specified transfer-encoding, if any, or 'undecided'.
7171 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
7172 broken at the window margin.
7174 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
7176 Support rendering of HTML parts in Rmail (bug#4258).
7177 * mail/rmailmm.el (rmail-mime-process): Handle text/html
7178 separately from other text/ types. Suppress tagline for
7180 (rmail-mime-parse): Don't change visibility of tagline here.
7181 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
7182 Handle text/html specially.
7183 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
7184 (rmail-mime-insert-html, rmail-mime-render-html-shr)
7185 (rmail-mime-render-html-lynx): New functions.
7186 (rmail-mime-fix-inserted-faces): New function.
7187 (rmail-mime-process-multipart): Find the best part to show
7188 following rmail-mime-prefer-html if set.
7189 (rmail-mime-searching): New variable.
7190 (rmail-search-mime-message): Bind rmail-mime-searching to
7191 suppress rendering while searching.
7193 2014-09-12 Sam Steingold <sds@gnu.org>
7195 * progmodes/sql.el (sql-product-alist): Add vertica.
7196 (sql-vertica-program, sql-vertica-options)
7197 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
7198 New functions and variables to support Vertica.
7199 Inspired by code by Roman Scherer <roman@burningswell.com>.
7201 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
7203 * ses.el (ses-file-format-extend-parameter-list): Rename from
7204 ses-file-format-extend-paramter-list, to correct a misspelling.
7207 2014-09-10 Alan Mackenzie <acm@muc.de>
7209 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
7210 gets loaded at run-time).
7211 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
7212 c-lang-const to c-make-no-parens-syntax-table and correct the
7214 (c-no-parens-syntax-table): Correct the logic of the
7217 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7219 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
7221 * progmodes/cc-mode.el (c-basic-common-init):
7222 Set open-paren-in-column-0-is-defun-start.
7223 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
7224 Remove declarations, unused.
7225 (run-mode-hooks): Remove declaration.
7226 (font-lock-defaults): Use plain `defvar' to declare.
7227 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
7228 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
7229 (c-make-mode-syntax-table): Don't micro-optimize.
7230 (c-keywords, c-keyword-member-alist): Simplify.
7231 (c-kwds-lang-consts): Don't eval at compile-time.
7232 (c-primary-expr-regexp): Comment out unused vars.
7233 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
7234 (c-font-byte-compile): New var.
7235 (c--compile): New function. Use it instead of `byte-compile'.
7236 (c-cpp-matchers): Quote the value returned by
7237 `c-make-syntactic-matcher' in case it's not self-evaluating.
7238 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
7239 parentheses instead (in case MATCHER happens to be a list).
7240 (c-font-lock-enum-tail): Remove unused var `start'.
7241 (c-font-lock-objc-methods): Silence byte-compiler warnings.
7242 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
7243 test into an argument.
7244 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
7245 (c-get-char-property): Don't use `eval' just to unquote a constant.
7246 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
7248 (c-put-char-property-fun): Don't call `byte-compile' by hand.
7249 (c-clear-char-property, c-clear-char-properties): Check that `property'
7250 is a quoted constant.
7251 (c-emacs-features): Remove `infodock', `syntax-properties', and
7252 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
7253 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
7254 changing buffer, so we don't have to setq them again afterwards.
7255 (c-lang-const): Remove redundant symbolp assertions.
7256 (c-find-assignment-for-mode): Use `or'.
7257 * Makefile.in (compile-one-process): Remove cc-mode dependency.
7259 2014-09-09 Sam Steingold <sds@gnu.org>
7261 * progmodes/sql.el (sql-default-directory): Fix type annotation.
7263 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7265 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
7266 Change doc comments into docstrings.
7267 * Makefile.in: Remove cc-awk dependency.
7269 2014-09-08 Sam Steingold <sds@gnu.org>
7271 * progmodes/sql.el (sql-send-line-and-next): New command,
7273 (sql-show-sqli-buffer): Display the buffer instead of its name and
7274 bind the command to C-c C-z.
7275 (sql-default-directory): New user option.
7276 (sql-product-interactive): Bind `default-directory' to it to
7277 enable remote connections using Tramp.
7278 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
7279 suitable buffer is available.
7281 2014-09-08 Glenn Morris <rgm@gnu.org>
7283 * calendar/calendar.el (calendar-basic-setup):
7284 Fix calendar-view-holidays-initially-flag and fancy display.
7285 * calendar/diary-lib.el (diary-live-p): Doc fix.
7287 * calendar/calendar.el (calendar-basic-setup):
7288 Avoid clobbering calendar with diary. (Bug#18381)
7290 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7292 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
7294 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
7296 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
7297 as well (bug#18400).
7299 2014-09-08 Eli Zaretskii <eliz@gnu.org>
7301 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
7303 2014-09-06 Leo Liu <sdl.web@gmail.com>
7305 * emacs-lisp/pcase.el (pcase): Doc fix.
7306 (pcase--split-vector): New function.
7307 (pcase--q1): Support vector qpattern. (Bug#18327)
7309 2014-09-05 Sam Steingold <sds@gnu.org>
7311 * textmodes/tex-mode.el (tex-print-file-extension): New user
7313 (tex-print): Use it instead of the hard-coded string.
7315 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
7317 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7318 Expand `default-directory'.
7320 2014-09-05 Martin Rudalics <rudalics@gmx.at>
7322 * scroll-bar.el (horizontal-scroll-bars-available-p):
7324 (horizontal-scroll-bar-mode): Rewrite using
7325 horizontal-scroll-bars-available-p.
7326 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
7327 horizontal-scroll-bars-available-p.
7329 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7331 * subr.el (call-process-shell-command, process-file-shell-command):
7332 Make the `args' obsolete (bug#18409).
7333 (start-process-shell-command, start-file-process-shell-command):
7336 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
7338 * calc/calc-forms.el (math-normalize-hms): Do a better check for
7339 "negative" hms forms.
7341 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
7343 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
7344 returns nil (bug#18391).
7346 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7348 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
7349 terminating paren (bug#18352).
7350 (eldoc-last-data-store): Return cached data.
7351 (eldoc-get-var-docstring): Avoid setq.
7352 (eldoc-get-fnsym-args-string): Clarify data flow.
7354 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7356 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
7357 case where we're currently providing part of the &rest arg after some
7358 &key args, as in define-ibuffer-op (bug#18048).
7360 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7362 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
7363 buffer-local setting of which-func-mode.
7364 (which-func-mode): Use defvar-local.
7365 (which-function-mode): Don't reset which-func-mode in each buffer since
7366 it might have been set by someone else.
7367 (which-func-update-ediff-windows): Check which-function-mode.
7369 2014-09-03 Martin Rudalics <rudalics@gmx.at>
7371 * frame.el (frame-initialize): Remove horizontal-scroll-bars
7372 from frame-initial-frame-alist.
7373 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
7374 (horizontal-scroll-bar-mode-explicit)
7375 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
7376 (toggle-horizontal-scroll-bar): Remove.
7377 (horizontal-scroll-bar-mode): Remove defcustom.
7378 (horizontal-scroll-bar-mode): Fix doc-string.
7379 (scroll-bar-toolkit-scroll)
7380 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
7382 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7384 * emacs-lisp/package.el (package-generate-description-file):
7385 Properly quote the arguments (bug#18332). Change second arg.
7386 (package--alist-to-plist-args): Rename from package--alist-to-plist and
7388 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
7389 the *-pkg.el file. Adjust to new calling convention of
7390 package-generate-description-file.
7392 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
7393 (gud-gdb-completions): Remove obsolete workaround.
7395 2014-09-03 Eli Zaretskii <eliz@gnu.org>
7397 * subr.el (posn-col-row): Revert the change from commit
7398 2010-11-13T21:07:58Z!eliz@gnu.org, which
7399 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
7400 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
7401 introduced an off-by-one error in the reported row when there is a
7402 header line. (Bug#18384)
7404 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
7406 * progmodes/python.el (python-indent-post-self-insert-function):
7407 Avoid electric colon at beginning-of-defun. (Bug#18228)
7409 2014-09-03 Glenn Morris <rgm@gnu.org>
7411 * tutorial.el (tutorial--display-changes):
7412 Fix 2014-08-01 change. (Bug#18382)
7414 2014-09-03 Ken Brown <kbrown@cornell.edu>
7416 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
7417 the Cygwin-w32 build. (Bug#18347)
7419 2014-09-03 Glenn Morris <rgm@gnu.org>
7421 * tar-mode.el (tar--extract, tar-extract):
7422 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
7424 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7426 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
7427 handle multiline elements (bug#18380).
7429 2014-09-01 Eli Zaretskii <eliz@gnu.org>
7431 * ls-lisp.el (ls-lisp-use-string-collate)
7432 (ls-lisp-UCA-like-collation): New defcustoms.
7433 (ls-lisp-string-lessp): Use them to control sorting by file
7435 (ls-lisp-version-lessp): New function.
7436 (ls-lisp-handle-switches): Use it to implement the -v switch of
7438 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
7440 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
7442 * ibuffer.el: Replace mode-specific quit function with
7443 `quit-window' via `special-mode'.
7444 (ibuffer-mode-map): Use keybindings from special-mode-map instead
7446 (ibuffer): Don't store previous windows configuration.
7447 Let `quit-window' handle restoring.
7448 (ibuffer-quit): Remove function. Use `quit-window' instead.
7449 (ibuffer-restore-window-config-on-quit): Remove variable.
7450 (ibuffer-prev-window-config): Remove variable.
7452 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
7454 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
7455 name instead of variable name in hook docstring. (Bug#18349)
7457 2014-08-29 Martin Rudalics <rudalics@gmx.at>
7459 * window.el (display-buffer-at-bottom): Prefer bottom-left
7460 window to other bottom windows. Reuse a bottom window if it
7461 shows the buffer already. Suggested by Juri Linkov
7462 <juri@jurta.org> in discussion of (Bug#18181).
7464 2014-08-29 Leo Liu <sdl.web@gmail.com>
7466 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
7467 append to minibuffer-setup-hook. (Bug#18341)
7469 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7471 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
7473 (lookup-syntax-properties): Silence byte-compiler.
7474 (c-lang-defconst): Quote the code with `lambda' rather than with
7476 (c-lang-const): Avoid unneeded setq.
7477 (c-lang-constants-under-evaluation): Add docstring.
7478 (c-lang--novalue): New constant.
7479 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
7480 (c-get-lang-constant): Same here.
7481 Get the mode's value using `funcall' now that the code is quoted
7484 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7486 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
7489 2014-08-28 Martin Rudalics <rudalics@gmx.at>
7491 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
7492 interpretation of `portion-whole'.
7494 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7496 * net/tramp-adb.el: Spell author name correctly.
7498 2014-08-28 João Távora <joaotavora@gmail.com>
7500 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
7501 use url-expand-file-name. (Bug#18310)
7503 2014-08-28 Glenn Morris <rgm@gnu.org>
7505 * emulation/cua-rect.el (cua--highlight-rectangle):
7506 Avoid error at point-min. (Bug#18309)
7508 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7510 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
7511 executable-find (bug#18244).
7513 * simple.el (self-insert-uses-region-functions): Defvar.
7515 2014-08-28 Glenn Morris <rgm@gnu.org>
7517 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
7519 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
7521 * startup.el (normal-top-level): Now use internal--top-level-message.
7523 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
7525 * startup.el (normal-top-level): Use top-level-message.
7527 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7529 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
7530 URLs containing spaces and the like.
7532 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7534 * subr.el (remq): Fix docstring (Bug#18253).
7536 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7538 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
7540 2014-08-24 Alan Mackenzie <acm@muc.de>
7542 Handle C++11's "auto" and "decltype" constructions.
7543 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
7544 and return 'decltype.
7545 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
7546 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
7548 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
7550 (c-font-lock-c++-new): Handle "decltype" constructions.
7551 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
7552 New c-lang-defconsts/defvars.
7553 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
7554 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
7555 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
7556 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
7558 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
7559 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
7560 off from c->-op-cont-re.
7561 (c->-op-cont-tokens): Change to use the above.
7562 (c->-op-without->-cont-regexp): New lang-const.
7563 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
7564 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
7567 2014-08-23 Alan Mackenzie <acm@muc.de>
7569 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
7570 loop, bug #18306. The bug was introduced on 2014-08-02.
7572 2014-08-21 Eli Zaretskii <eliz@gnu.org>
7574 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
7575 Don't recognize a Top node if there are other sectioning commands
7576 earlier in the Texinfo file. This fixes a bug in
7577 texinfo-make-menu and avoids inflooping in
7578 texinfo-all-menus-update when they are invoked on texinfo.texi.
7580 2014-08-21 Martin Rudalics <rudalics@gmx.at>
7582 * window.el (window--side-window-p): New function.
7583 (split-window, window-splittable-p): Use window--side-window-p to
7584 determine whether WINDOW can be split (Bug#18304).
7585 * calendar/calendar.el (calendar-basic-setup): Fix one call of
7586 `window-splittable-p' and add another (Bug#18304).
7588 2014-08-20 Sam Steingold <sds@gnu.org>
7590 * progmodes/python.el (python-new-pythonpath): Extract from
7591 `python-shell-calculate-process-environment'.
7593 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7595 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
7596 for &key args (bug#18048).
7598 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7600 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
7601 (eldoc-function-argstring-format): Remove.
7602 (eldoc-function-argstring): Always return upcase args.
7603 Use help-make-usage. Don't add parens.
7604 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
7605 it's too late to do it right (bug#18048).
7607 2014-08-18 Eli Zaretskii <eliz@gnu.org>
7609 * scroll-bar.el (scroll-bar-horizontal-drag-1)
7610 (scroll-bar-toolkit-horizontal-scroll): When determining the
7611 paragraph direction, use the buffer of the window designated in
7614 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
7616 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
7617 context of unified diff.
7619 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
7621 Add dependencies to fix loaddefs race during parallel builds.
7622 Without this, for example, 'make -j bootstrap' can fail and report
7623 "Opening input file: no such file or directory,
7624 .../lisp/calendar/diary-loaddefs.el ... recipe for target
7625 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
7626 got confused because diary-loaddefs.el was being built in parallel.
7627 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
7628 Depend on $(CAL_DIR)/cal-loaddefs.el.
7629 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
7631 2014-08-16 Martin Rudalics <rudalics@gmx.at>
7633 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
7634 portion-whole for scrolling right-to-left text.
7636 2014-08-15 Leo Liu <sdl.web@gmail.com>
7638 * speedbar.el (speedbar-generic-list-tag-p): Allow special
7639 elements from imenu.
7641 2014-08-15 Glenn Morris <rgm@gnu.org>
7643 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
7645 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7647 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7648 Add Guile regexpses.
7650 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7652 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
7653 add Guile debugger support for GUD.
7655 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7657 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
7658 (mouse-sel--ignore): New function.
7659 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
7660 (mouse-sel-original-interprogram-cut-function)
7661 (mouse-sel-original-interprogram-paste-function): Remove.
7663 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
7665 * vc/vc-git.el (vc-git-resolve-when-done): New function.
7666 Call "git add" when there are no longer conflict markers.
7668 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7670 * vc/vc-git.el (vc-git-find-file-hook): New function.
7671 Adds support for calling smerge (and resolve) on a conflicted file.
7672 (vc-git-conflicted-files): New function.
7673 Useful in itself and a step towards better smerge support.
7675 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7677 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
7678 to the first part if they're the same as the selection.
7680 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7682 * image-mode.el (image-transform-reset): New command and menu item.
7683 (image-mode-map): Rearrange the menu items to put presumably more
7684 obscure items at the end.
7686 2014-08-12 Juri Linkov <juri@jurta.org>
7688 * vc/vc-annotate.el (vc-annotate-background-mode):
7689 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
7691 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7693 * files.el (out-of-memory-warning-percentage): Turn it off by default.
7695 2014-08-11 Sam Steingold <sds@gnu.org>
7697 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
7698 the presence of known validators (tidy, (o)nsgmls).
7700 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
7702 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
7703 * net/newst-treeview.el (newsticker-treeview-date-format): New.
7704 (newsticker--treeview-list-add-item):
7705 Use `newsticker-treeview-date-format'.
7707 2014-08-11 Glenn Morris <rgm@gnu.org>
7709 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
7710 chose coding system for writing before backing up, since it causes
7711 a more serious problem than the one it solves. (Closes Bug#18141,
7714 2014-08-11 Martin Rudalics <rudalics@gmx.at>
7716 * window.el (window-total-size): Make doc-string more self-contained.
7718 * window.el (display-buffer-below-selected): Restore original
7719 behavior if buffer is already displayed in the window below the
7720 selected one (Bug#18181).
7722 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7724 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
7727 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7729 * info.el (info): Doc fix.
7731 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7733 * info.el (Info-mode-map): Override a global down-mouse-2 binding
7736 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7738 * simple.el (default-line-height): A floating-point value of
7739 line-spacing means a fraction of the default frame font's height,
7740 not of the font currently used by the 'default' face.
7741 Truncate the pixel value, like the display engine does.
7742 (window-screen-lines): Use window-inside-pixel-edges for
7743 determining the window height in pixels. (Bug#18195)
7745 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
7747 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
7749 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
7751 Enumerate evaluated sexp diary entries (Bug#7911).
7752 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
7753 (icalendar-export-sexp-enumeration-days): New.
7754 (icalendar-export-region): Now `icalendar--convert-to-ical'
7755 returns a cons cell or a list of cons cells.
7756 (icalendar--convert-to-ical): Take care of
7757 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
7758 (icalendar--convert-ordinary-to-ical)
7759 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7760 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
7761 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
7762 (icalendar--convert-anniversary-to-ical): Return cons cell.
7763 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
7764 entries. Return (list of) cons cells.
7766 2014-08-09 Juri Linkov <juri@jurta.org>
7768 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
7769 to reevaluate `vc-annotate-color-map'. (Bug#18189)
7771 2014-08-09 Alan Mackenzie <acm@muc.de>
7773 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
7774 for top-level that can cause unacceptable slow-down in scrolling.
7775 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
7776 Antipov from 2013-10-14 in emacs-devel.
7778 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7780 * ibuffer.el (ibuffer-mode-map): Use toggle button for
7781 `ibuffer-auto-mode' menu entry.
7782 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
7784 2014-08-08 Matthias Meulien <orontee@gmail.com>
7786 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
7789 2014-08-07 Martin Rudalics <rudalics@gmx.at>
7791 * window.el (window--min-size-1): Explicitly set WINDOW arg in
7792 calls of window-min-pixel-height and window-min-pixel-width.
7794 2014-08-07 Reuben Thomas <rrt@sc3d.org>
7796 * progmodes/ada-mode.el:
7797 * net/tramp.el (tramp-handle-file-symlink-p):
7798 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
7799 about VMS, which we no longer support.
7800 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
7801 and fix a FIXME, using convert-standard-filename in place of
7802 removed ada-convert-file-name.
7804 2014-08-07 Eli Zaretskii <eliz@gnu.org>
7806 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
7808 2014-08-07 Reuben Thomas <rrt@sc3d.org>
7810 Refer to MS-DOS using the same name everywhere.
7811 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
7812 ``msdog'' become ``MS-DOS''.
7814 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
7816 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7817 Use cached "remote-copy-args" value, if available. (Bug#18199)
7819 2014-08-07 Leo Liu <sdl.web@gmail.com>
7821 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
7822 Revert change on 2014-03-22.
7824 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
7826 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
7827 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
7831 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7833 * image-mode.el (image-toggle-display-image): Always rescale images
7834 to not be bigger than the current window.
7836 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
7838 * net/eww.el (eww-bookmarks-directory): New variable.
7839 (eww-write-bookmarks): Use it.
7840 (eww-read-bookmarks): Ditto.
7842 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7844 * net/shr.el (shr-copy-url): Also copy the image URL.
7846 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
7848 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
7849 also for Tramp working buffers.
7851 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
7853 * progmodes/python.el: Fix completions inside (i)pdb.
7854 (python-shell-completion-pdb-string-code): Make obsolete.
7855 (python-shell-completion-get-completions):
7856 Use python-shell-completion-string-code resending setup code
7857 continuously for (i)pdb.
7859 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
7861 * rect.el (rectangle--default-line-number-format): Rename
7862 from misspelled rectange--default-line-number-format (Bug#18045).
7865 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
7867 Don't mishandle year-9999 dates (Bug#18176).
7868 * calendar/parse-time.el (parse-time-rules):
7869 Allow years up to most-positive-fixnum.
7870 * calendar/time-date.el (date-to-time):
7871 Pass "Specified time is not representable" errors through.
7873 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7875 * progmodes/python.el: Completion code cleanups.
7876 (python-shell-completion-get-completions): Detect and send import
7877 statements directly to completion function.
7878 (python-shell-completion-at-point): Simplify prompt calculation
7879 and import vs input completion logic.
7881 2014-08-02 Alan Mackenzie <acm@muc.de>
7883 Fix confusion in C++ file caused by comma in "= {1,2},".
7885 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
7886 for a statement boundary marked by "}", check there's no "="
7888 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
7889 non-nil `comma-delim' argument.
7890 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
7891 initializer expression more accurately.
7893 Correct loop termination condition in c-syntactic-skip-backward.
7894 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
7895 the situation where, after moving back out of a literal,
7896 skip-chars-backward doesn't move further, yet checks have still to
7899 2014-08-01 Eli Zaretskii <eliz@gnu.org>
7901 * tutorial.el (tutorial--display-changes): Accept punctuation
7902 characters before the key binding. (Bug#18146)
7904 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
7906 * progmodes/python.el: Shell output capture enhancements.
7907 (python-shell-accept-process-output): New function.
7908 (inferior-python-mode)
7909 (python-shell-send-setup-code): Use it.
7911 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
7913 * calendar/icalendar.el (icalendar--decode-isodatetime):
7914 Use actual current-time-zone when converting to local time. (Bug#15408)
7916 2014-07-29 Martin Rudalics <rudalics@gmx.at>
7918 * window.el (window--state-put-2): Handle horizontal scroll
7921 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7923 * menu-bar.el (menu-bar-update-buffers): Update item list format
7924 in `buffers-menu' to confirm with changes to `get_keyelt'
7925 (r117463). (Bug#18016)
7927 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7929 * progmodes/python.el (inferior-python-mode): Make input prompts
7932 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
7934 * net/tramp-sh.el (tramp-get-remote-python): Also search for
7935 executables named "python2" or "python3".
7936 (tramp-get-remote-uid-with-python): Use parentheses around
7937 arguments to `print' to make it compatible with Python 3.
7938 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
7940 2014-07-28 Eli Zaretskii <eliz@gnu.org>
7942 * window.el (window--pixel-to-total): Use FRAME's root window, not
7943 that of the selected frame. (Bug#18112, Bug#16674)
7945 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
7947 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
7950 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7952 * progmodes/python.el (inferior-python-mode): Doc fix.
7954 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7956 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
7957 not a character, ignore it instead of raising an error.
7959 * calendar/todo-mode.el: Fix handling of marked items and make
7960 minor code improvements.
7961 (todo-edit-item): If there are marked items, ensure user can only
7962 invoke editing commands that work with marked items.
7963 (todo-edit-item--text): When there are marked items, make it a
7964 noop if invoked with point not on an item; otherwise, ensure it
7965 applies only to item at point.
7966 (todo-item-undone): If there are marked not-done items, return
7967 point to its original position before signaling user error.
7968 (todo--user-error-if-marked-done-item): New function.
7969 (todo-edit-item--header, todo-edit-item--diary-inclusion)
7970 (todo-item-done): Use it.
7972 2014-07-28 Glenn Morris <rgm@gnu.org>
7974 * files.el (toggle-read-only): Re-add basic doc-string.
7975 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
7977 * progmodes/prolog.el (prolog-mode-keybindings-edit):
7978 Replace missing `switch-to-prolog' with `run-prolog'.
7979 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
7981 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7983 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
7984 of file-wide setting when changing category-wide setting.
7986 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7988 * doc-view.el (doc-view-open-text): Don't require that the
7989 document is saved in a file (e.g., email attachment).
7991 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7993 Parse completion input in a iPython friendly way. (Bug#18084)
7994 * progmodes/python.el
7995 (python-shell-completion-at-point): Rename from
7996 python-shell-completion-complete-at-point.
7997 (inferior-python-mode): Use it.
7998 (python-completion-at-point): Rename from
7999 python-completion-complete-at-point. Parse input up to first
8000 backward occurrence of whitespace, open-paren, close-paren or
8002 (python-mode): Use it.
8004 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8006 * progmodes/python.el
8007 (python-shell-with-shell-buffer): New macro.
8008 (python-shell-font-lock-get-or-create-buffer)
8009 (python-shell-font-lock-kill-buffer)
8010 (python-shell-font-lock-with-font-lock-buffer)
8011 (python-shell-font-lock-cleanup-buffer)
8012 (python-shell-font-lock-toggle): Use it.
8013 (python-shell-font-lock-turn-on)
8014 (python-shell-font-lock-turn-off): Use it. Make command.
8016 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8018 Grab all Python process output before inferior-python-mode hooks.
8019 * progmodes/python.el (inferior-python-mode):
8020 Call accept-process-output and sit-for to ensure all output for process
8021 has been received before running hooks.
8022 (python-shell-internal-get-or-create-process):
8023 Cleanup accept-process-output and sit-for calls.
8025 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8027 More robust shell startup and code setup.
8028 * progmodes/python.el (python-shell-make-comint):
8029 Remove accept-process-output call.
8030 (python-shell-get-buffer): Return current buffer if major-mode is
8031 inferior-python-mode.
8032 (python-shell-get-or-create-process): Use it.
8033 (python-shell-send-setup-code): Send all setup code in one string,
8034 output success message and accept-process-output.
8036 2014-07-27 Eli Zaretskii <eliz@gnu.org>
8038 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
8039 Add rudimentary support for bidirectional text.
8041 2014-07-27 Martin Rudalics <rudalics@gmx.at>
8043 * frame.el (frame-notice-user-settings): Rewrite using
8044 frame-initial-frame-tool-bar-height.
8045 * menu-bar.el (menu-bar-horizontal-scroll-bar)
8046 (menu-bar-no-horizontal-scroll-bar): New functions.
8047 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
8049 * scroll-bar.el (scroll-bar-lines)
8050 (set-horizontal-scroll-bar-mode)
8051 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
8052 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
8053 (scroll-bar-toolkit-horizontal-scroll): New functions.
8054 (horizontal-scroll-bar-mode)
8055 (previous-horizontal-scroll-bar-mode)
8056 (horizontal-scroll-bar-mode-explicit): New variables.
8057 (horizontal-scroll-bar-mode): New option.
8058 (toggle-horizontal-scroll-bar): Do something.
8059 (top-level): Bind horizontal-scroll-bar mouse-1.
8060 * startup.el (tool-bar-originally-present): Remove variable.
8061 (command-line): Don't set tool-bar-originally-present.
8062 * window.el (window-min-height): Update doc-string.
8063 (window--dump-frame): Dump horizontal scroll bar values.
8064 (window--min-size-1): Handle minibuffer window separately.
8065 Count in margins and horizontal scroll bar. Return safe value
8066 iff IGNORE equals 'safe.
8067 (frame-windows-min-size): New function (used by frame resizing
8069 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
8071 (window--sanitize-window-sizes): New function.
8072 (window-split-min-size): Remove.
8073 (split-window): Count divider-width. Don't use
8074 `window-split-min-size' any more. Reword error messages.
8075 Sanitize windows sizes after splitting.
8077 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
8079 Use `defvar-local' more.
8080 * progmodes/hideshow.el
8081 (hs-c-start-regexp, hs-block-start-regexp)
8082 (hs-block-start-mdata-select, hs-block-end-regexp)
8083 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
8084 remove corresponding `make-variable-buffer-local' top-level calls.
8086 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8088 Cleanup error signals. (Bug#18067)
8089 * progmodes/python.el
8090 (python-indent-shift-left): Use user-error instead.
8091 (python-shell-prompt-detect): Use lwarn with python group.
8092 (python-completion-complete-at-point)
8093 (python-eldoc--get-doc-at-point): Don't signal error.
8095 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8097 Support for packages in Python shell. (Bug#13570)
8098 * progmodes/python.el (python-shell--package-depth): New var.
8099 (python-shell-package-enable): New command.
8100 (python-util-list-directories, python-util-list-files)
8101 (python-util-list-packages): New functions.
8103 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8105 Faster comint output. (Bug#16875)
8106 * progmodes/python.el:
8107 (python-comint-output-filter-function): Make obsolete.
8108 (python-comint-postoutput-scroll-to-bottom): New function.
8109 (inferior-python-mode): Set comint-output-filter-functions to a
8112 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8114 * progmodes/python.el (python-shell-font-lock-post-command-hook):
8115 Safeguard current point and undo history.
8117 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
8119 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
8120 * progmodes/python.el:
8121 (python-shell-prompt-input-regexps): Add iPython block prompt.
8122 (python-shell-output-syntax-table): Delete var.
8123 (python-shell-font-lock-with-font-lock-buffer): New macro.
8124 (python-shell-font-lock-get-or-create-buffer)
8125 (python-shell-font-lock-kill-buffer)
8126 (python-shell-font-lock-cleanup-buffer)
8127 (python-shell-font-lock-post-command-hook)
8128 (python-shell-font-lock-turn-off): New functions.
8129 (python-shell-font-lock-turn-on): New function.
8130 (inferior-python-mode): Use it.
8131 (python-shell-font-lock-toggle): New command.
8132 (python-shell-font-lock-enable): Rename from
8133 python-shell-enable-font-lock.
8134 (run-python-internal): Use it.
8135 (python-shell-font-lock-comint-output-filter-function): New function.
8136 (python-shell-comint-end-of-output-p): New function.
8137 (python-shell-output-filter): Use it.
8138 (python-util-comint-last-prompt): New function.
8139 (python-util-text-properties-replace-name): New function.
8141 2014-07-25 Glenn Morris <rgm@gnu.org>
8143 * vc/ediff-init.el (ediff-toggle-read-only-function):
8144 * vc/ediff-util.el (ediff-toggle-read-only):
8145 Replace obsolete toggle-read-only with read-only-mode.
8147 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
8149 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
8150 with `save-match-data'. (Bug#18095)
8152 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
8154 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
8155 order to ensure that row and col are lexically bound inside the
8158 2014-07-21 Glenn Morris <rgm@gnu.org>
8160 * progmodes/hideif.el (hide-ifdef-mode-submap):
8161 Also substitute read-only-mode.
8162 * bindings.el (mode-line-toggle-read-only):
8163 * bs.el (bs-toggle-readonly):
8164 * buff-menu.el (Buffer-menu-toggle-read-only):
8165 * dired.el (dired-toggle-read-only):
8166 * files.el (view-read-only, find-file-read-only)
8167 (find-file-read-only-other-window)
8168 (find-file-read-only-other-frame):
8169 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
8170 Doc fixes re toggle-read-only.
8172 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8174 * progmodes/python.el: Add comment about pipe buffering and
8175 solutions for missing/delayed output in inferior Python shells.
8178 * progmodes/python.el (python-mode): Don't set
8179 mode-require-final-newline. (Bug#17990)
8181 Make python.el work with IPython automatically. (Bug#15510)
8182 * progmodes/python.el:
8183 (python-shell-completion-setup-code): New value supporting iPython.
8184 (python-shell-completion-string-code): New value supporting iPython.
8185 (python-shell-completion-get-completions): Use them.
8186 (python-shell-completion-module-string-code): Make obsolete.
8187 (python-shell-prompt-input-regexps)
8188 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
8189 (python-shell-output-filter): Fix comment typo.
8191 Fix Python shell prompts detection for remote hosts.
8192 * progmodes/python.el (python-shell-prompt-detect):
8193 Replace call-process with process-file and make it more robust.
8195 Autodetect Python shell prompts. (Bug#17370)
8196 * progmodes/python.el:
8197 (python-shell-interpreter-interactive-arg)
8198 (python-shell-prompt-detect-enabled)
8199 (python-shell-prompt-detect-failure-warning)
8200 (python-shell-prompt-input-regexps)
8201 (python-shell-prompt-output-regexps): New vars.
8202 (python-shell-prompt-calculated-input-regexp)
8203 (python-shell-prompt-calculated-output-regexp): New vars.
8204 (python-shell-get-process-name)
8205 (python-shell-internal-get-process-name)
8206 (python-shell-output-filter)
8207 (python-shell-completion-get-completions): Use them.
8208 (python-shell-prompt-detect)
8209 (python-shell-prompt-validate-regexps): New functions.
8210 (python-shell-prompt-set-calculated-regexps): New function.
8211 (inferior-python-mode): Use it. Also honor overriden
8212 python-shell-interpreter and python-shell-interpreter-args.
8213 (python-shell-make-comint): Honor overriden
8214 python-shell-interpreter and python-shell-interpreter-args.
8215 (python-shell-get-or-create-process): Make it testable by allowing
8216 to call run-python non-interactively.
8217 (python-util-valid-regexp-p): New function.
8218 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
8219 (python-shell-prompt-output-regexp)
8220 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
8222 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
8224 * emacs-lisp/smie.el (smie-config--guess-1): Split from
8226 (smie-config--guess): Use it.
8228 * emacs-lisp/edebug.el: Use nadvice.
8229 (edebug-original-read): Remove.
8230 (edebug--read): Rename from edebug-read and add `orig' arg.
8231 (edebug-uninstall-read-eval-functions)
8232 (edebug-install-read-eval-functions): Use nadvice.
8233 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
8234 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
8235 (edebug-read-string, edebug-read-function): Use just `read'.
8236 (edebug-original-debug-on-entry): Remove.
8237 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
8239 (debug-on-entry): Override with nadvice.
8241 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
8242 it also makes sense to bind it to a non-mouse event.
8244 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
8246 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8248 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
8251 * rect.el (rectangle--string-preview): Don't assume there
8252 a non-nil default (bug#17984).
8254 2014-07-16 Glenn Morris <rgm@gnu.org>
8256 * desktop.el (after-init-hook): Disable startup frame restoration
8257 in non-graphical situations. (Bug#17693)
8259 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
8260 if it was "empty", or used for a different set of files. (Bug#17884)
8262 2014-07-16 Eli Zaretskii <eliz@gnu.org>
8264 * bindings.el (mode-line-remote): If default-directory is not a
8265 string, don't call file-remote-p on it; instead state in the
8266 help-echo that it is nil. (Bug#17986)
8268 2014-07-14 Daniel Colascione <dancol@dancol.org>
8270 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
8271 to `macroexpand-all'
8273 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
8274 Use `macroexpand-all' instead of `cl-macroexpand-all'.
8276 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
8278 Fix bug: C-x v v discarded existing log message (Bug#17884).
8279 * vc/vc-dispatcher.el (vc-log-edit):
8280 Don't clobber an already-existing log message.
8282 2014-07-12 Glenn Morris <rgm@gnu.org>
8284 * vc/log-edit.el (log-edit-changelog-entries):
8285 Check for a visited-but-never-saved ChangeLog.
8287 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
8289 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
8290 a non-existing file (bug#17970).
8292 * faces.el (face-name): Undo last change.
8293 (x-resolve-font-name): Don't call face-name (bug#17956).
8295 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8297 Fix dedenters and electric colon handling. (Bug#15163)
8298 * progmodes/python.el
8299 (python-rx-constituents): Add dedenter and block-ender.
8300 (python-indent-dedenters, python-indent-block-enders): Delete.
8301 (python-indent-context): Return new case for dedenter-statement.
8302 (python-indent-calculate-indentation): Handle new case.
8303 (python-indent-calculate-levels): Fix levels calculation for
8304 dedenter statements.
8305 (python-indent-post-self-insert-function): Fix colon handling.
8306 (python-info-dedenter-opening-block-message): New function.
8307 (python-indent-line): Use it.
8308 (python-info-closing-block)
8309 (python-info-closing-block-message): Remove.
8310 (python-info-dedenter-opening-block-position)
8311 (python-info-dedenter-opening-block-positions)
8312 (python-info-dedenter-statement-p): New functions.
8314 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
8316 * files.el (out-of-memory-warning-percentage): New defcustom.
8317 (warn-maybe-out-of-memory): Use it.
8319 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
8321 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
8322 when calling `read-string'. (Bug#17839)
8324 2014-07-10 Eli Zaretskii <eliz@gnu.org>
8326 * files.el (warn-maybe-out-of-memory): Fix the wording of the
8329 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
8331 * files.el (warn-maybe-out-of-memory): New function.
8332 (find-file-noselect): Use it.
8334 2014-07-09 Sam Steingold <sds@gnu.org>
8336 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
8337 `constant' like `bless', `return' &c
8339 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8341 * rect.el (apply-on-rectangle): Check forward-line really moved to the
8344 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8346 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
8347 the middle of a line (bug#17896).
8349 2014-07-09 Juri Linkov <juri@jurta.org>
8351 * startup.el (command-line): Append displaying the warning about
8352 the errors in the init file to the end of `after-init-hook'.
8355 * faces.el (face-name): Return input arg `face' as-is
8356 when it's not a symbol.
8357 (x-resolve-font-name): Don't check if the face is a symbol.
8360 * facemenu.el (list-colors-print): In help-echo format use %.2f
8361 instead of %d because now HSV values are floating-point components
8362 between 0.0 and 1.0.
8364 2014-07-09 Glenn Morris <rgm@gnu.org>
8366 * emulation/cua-rect.el (cua--activate-rectangle):
8367 Avoid setting cua--rectangle to nil. (Bug#17877)
8369 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8371 * calendar/todo-mode.el: Fix wrong-type-argument error when
8372 marking multiple consecutive items.
8373 (todo-toggle-mark-item): Don't try to mark the empty lines at the
8374 end of the todo and done items sections. Note in doc string that
8375 items marked by passing a numeric prefix argument can include the
8376 last todo and first done items.
8377 (todo-mark-category): Don't try to mark the empty line between the
8378 todo and done items sections.
8380 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8382 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
8383 proper Lisp quoting (bug#17934).
8385 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
8386 require-final-newline since prog-mode already took care of it (bug#17947).
8388 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8390 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
8391 refer to the Todo mode Info manual. Update the comment on
8393 (todo-find-filtered-items-file): Add todo-prefix overlays.
8394 (todo-filter-items): Reorder a let-bound variable to avoid a
8395 wrong-type-argument error on canceling the file choice dialog.
8397 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8399 * progmodes/octave.el (inferior-octave-mode):
8400 Set comint-input-ring-size to a number (bug#17912).
8402 2014-07-09 Juri Linkov <juri@jurta.org>
8404 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
8405 and `isearch-mode' associated with nil. (Bug#17849)
8407 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8409 * linum.el (linum--face-height): New function (bug#17813).
8410 (linum-update-window): Use it to adjust margin to linum's width.
8412 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
8413 * eshell/em-smart.el (eshell-smart-scroll-window):
8414 Use with-selected-window.
8416 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
8417 Remove also pointless window&mark manipulation.
8419 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
8420 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
8421 (perl-continuation-line-p): Don't skip over anything else than labels.
8422 Return the previous char.
8423 (perl-calculate-indent): Use syntax-ppss instead of parse-start
8424 and update callers accordingly. For continuation lines, check the
8425 the case of array hashes.
8426 (perl-backward-to-noncomment): Make it non-interactive.
8427 (perl-backward-to-start-of-continued-exp): Rewrite.
8429 2014-07-08 Sam Steingold <sds@gnu.org>
8431 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
8434 2014-07-08 Juri Linkov <juri@jurta.org>
8436 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
8437 (vc-annotate-color-map): Use less saturated colors (20%) for
8439 (vc-annotate-very-old-color): Add default value for background-mode.
8440 (vc-annotate-background): Set default value to nil since now text on
8441 the default backgrounds should be legible in light and dark modes.
8442 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
8445 2014-07-08 Juri Linkov <juri@jurta.org>
8447 * simple.el (transpose-chars): Don't move point into read-only area.
8450 2014-07-08 Juri Linkov <juri@jurta.org>
8452 * window.el (with-displayed-buffer-window): New macro.
8453 (with-temp-buffer-window, with-current-buffer-window):
8454 Use `macroexp-let2' to evaluate and bind variables
8455 in the same order as macro arguments.
8456 (display-buffer--action-function-custom-type):
8457 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
8459 * minibuffer.el (minibuffer-completion-help): Replace
8460 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
8461 with actions that display *Completions* at-bottom when called
8462 from the minibuffer, or below-selected in a normal buffer.
8463 Associate `window-height' with `fit-window-to-buffer'.
8464 Let-bind `pop-up-windows' to nil.
8466 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
8467 instead of `with-current-buffer-window'. (Bug#17809)
8469 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
8471 * progmodes/hideif.el (hide-ifdef-env): Change to global.
8472 (hide-ifdef-env-backup): New variable.
8473 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
8474 New customizable variables.
8475 (hif-clear-all-ifdef-defined): New defun.
8476 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
8477 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
8478 (hif-tokenize): Fix for MS-DOS/Win EOL style.
8479 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
8480 Fix bug to hide the correct #elif region(s).
8481 (hif-range-elif): New defun.
8482 (hif-recurse-level): New var.
8483 (hif-evaluate-region, hif-evaluate-macro): New defun.
8484 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
8486 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
8489 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
8491 * net/dbus.el (dbus-peer-handler): New defun.
8492 (dbus-register-service): Register it. (Bug#17858)
8493 (dbus-managed-objects-handler): Fix docstring.
8495 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
8497 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
8498 (narrow-to-defun): New arg include-comments, defaulting to it
8501 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8503 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
8504 different calling convention to rectangle--unhighlight-for-redisplay.
8506 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
8508 * net/tramp.el (tramp-call-process): Handle error strings.
8510 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
8512 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
8513 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
8515 * net/trampver.el: Update release number.
8517 2014-07-03 Juri Linkov <juri@jurta.org>
8519 * desktop.el (desktop-save): Rename arg `auto-save' to
8520 `only-if-changed'. Doc fix. (Bug#17873)
8522 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8524 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8525 Use insert-for-yank (bug#17271).
8527 2014-07-03 Leo Liu <sdl.web@gmail.com>
8529 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
8530 Support lexical-binding.
8532 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8534 * vc/log-edit.el (log-edit-goto-eoh): New function.
8535 (log-edit--match-first-line): Use it (bug#17861).
8537 2014-07-03 Glenn Morris <rgm@gnu.org>
8539 * vc/log-edit.el (log-edit-hook): Add missing :version.
8541 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
8543 * progmodes/python.el (python-indent-post-self-insert-function):
8544 Enhancements to electric indentation behavior inside
8547 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8549 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
8550 buffer-invisibility-spec (bug#17867).
8552 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
8554 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
8557 2014-07-03 Glenn Morris <rgm@gnu.org>
8559 * cus-edit.el (help):
8560 * finder.el (finder-known-keywords):
8561 * help.el (help-for-help-internal):
8562 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
8563 (ediff-redraw-registry-buffer):
8564 * vc/ediff-ptch.el (ediff-patch-file-internal):
8565 Doc fixes re "online" help. (Bug#17803)
8567 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
8568 (idlwave-mode): Doc URL update.
8570 2014-07-01 Juri Linkov <juri@jurta.org>
8572 * man.el: Display man pages immediately and use process-filter
8573 to format them asynchronously.
8574 (Man-width): Doc fix.
8576 (Man-start-calling): Use `with-selected-window' to get
8577 `frame-width' and `window-width'.
8578 (Man-getpage-in-background): Call `Man-notify-when-ready'
8579 immediately after creating a new buffer. Call `Man-mode' and set
8580 `mode-line-process' in the created buffer. Set process-filter to
8581 `Man-bgproc-filter' in start-process branch. In call-process branch
8582 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
8583 Use `Man-start-calling' inside `with-current-buffer'.
8584 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
8585 (Man-cleanup-manpage): Don't print messages.
8586 (Man-bgproc-filter): New function.
8587 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
8588 user moved it during asynchronous formatting. Move calls of
8589 `Man-fontify-manpage' and `Man-cleanup-manpage' to
8590 `Man-bgproc-filter'. Move the call of `Man-mode' to
8591 `Man-getpage-in-background'. Use `quit-restore-window'
8592 instead of `kill-buffer'. Use `message' instead of `error'
8593 because errors are caught by process sentinel.
8594 (Man-mode): Move calls of `Man-build-page-list',
8595 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
8596 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
8598 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
8599 for the message about the man page cleaned up.
8601 2014-07-01 Mario Lang <mlang@delysid.org>
8603 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
8604 cosutomization option `gnutls-verify-error'.
8606 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8608 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
8609 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
8611 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
8612 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
8613 is suspended (bug#17857).
8615 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
8617 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8618 Prefer utf-8 coding. (Bug#17859)
8620 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8622 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
8625 2014-06-30 Glenn Morris <rgm@gnu.org>
8627 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
8628 (autoload-ensure-default-file): Maybe make existing output writable.
8629 * Makefile.in (AUTOGEN_VCS): Remove.
8630 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
8632 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8634 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
8636 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8638 New if-let, when-let, thread-first and thread-last macros.
8640 * emacs-lisp/subr-x.el
8641 (internal--listify, internal--check-binding)
8642 (internal--build-binding-value-form, internal--build-binding)
8643 (internal--build-bindings): New functions.
8644 (internal--thread-argument, thread-first, thread-last)
8645 (if-let, when-let): New macros.
8647 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
8649 * net/rcirc.el (rcirc-buffer-process): Restore previous
8650 behaviour. (Bug#17772)
8652 2014-06-29 Alan Mackenzie <acm@muc.de>
8654 Don't call c-parse-state when c++-template-syntax-table is active.
8655 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
8656 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
8657 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
8659 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8661 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
8662 account for file-wide setting of todo-top-priorities-overrides.
8663 Make code a bit cleaner.
8665 2014-06-28 Glenn Morris <rgm@gnu.org>
8667 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
8669 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8671 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
8672 category-wide setting of todo-top-priorities-overrides, check for
8673 a file-wide setting and fontify accordingly.
8675 2014-06-28 Glenn Morris <rgm@gnu.org>
8677 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
8679 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8681 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
8683 2014-06-28 K. Handa <handa@gnu.org>
8687 * composite.el: Setup composition-function-table for dotted circle.
8688 (compose-gstring-for-dotted-circle): New function.
8690 * international/characters.el: Add category "^" to all
8691 non-spacing characters.
8693 2014-06-28 Glenn Morris <rgm@gnu.org>
8695 * Makefile.in (doit): Remove force rule.
8696 (custom-deps, finder-data, autoloads, update-subdirs)
8697 (compile-one-process): PHONY targets do not need force rules.
8699 * Makefile.in (compile-main, compile, compile-always):
8700 No need to explicitly pass variables to ourself in recursive calls.
8702 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8704 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
8706 2014-06-26 Glenn Morris <rgm@gnu.org>
8708 * Makefile.in (update-authors): Update for moved authors.el.
8710 2014-06-26 Leo Liu <sdl.web@gmail.com>
8712 * skeleton.el (skeleton-end-hook): Default to nil and move the
8713 work to skeleton-insert. (Bug#17850)
8715 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
8717 * calc/calc-alg.el (math-beforep):
8718 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
8719 Simplify because string-lessp can accept symbols as args.
8721 2014-06-26 Daiki Ueno <ueno@gnu.org>
8723 * emacs-lisp/package.el (package--check-signature):
8724 If package-check-signature is allow-unsigned, don't signal error when
8725 we can't verify signature because of missing public key
8728 2014-06-26 Glenn Morris <rgm@gnu.org>
8730 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
8731 Remove outdated declaration.
8733 * emacs-lisp/authors.el (authors-valid-file-names)
8734 (authors-renamed-files-alist): Additions.
8736 2014-06-26 Leo Liu <sdl.web@gmail.com>
8738 * textmodes/picture.el (picture-set-tab-stops):
8739 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
8740 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
8742 * progmodes/asm-mode.el (asm-calculate-indentation):
8743 Use indent-next-tab-stop.
8745 * indent.el (indent-accumulate-tab-stops): New function.
8747 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8749 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
8750 (package-desc-status): Obey it.
8752 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
8754 * calendar/todo-mode.el: Fix two bugs.
8755 (todo-insert-item--basic): If user cancels item insertion to
8756 another category before setting priority, show original category
8757 whether it is in the same or a different file.
8758 (todo-set-item-priority): After selecting category, instead of
8759 moving point to top, which extends an active region, restore it.
8761 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8763 * help-fns.el (describe-function-1): Check file-name is a string before
8764 calling help-fns--autoloaded-p (bug#17564).
8766 2014-06-26 Juri Linkov <juri@jurta.org>
8768 * desktop.el (desktop-auto-save-enable)
8769 (desktop-auto-save-disable): New functions.
8770 (desktop-save-mode, desktop-auto-save-timeout): Use them.
8771 (desktop-read): Disable the autosave before loading the desktop,
8772 and enable afterwards. (Bug#17351)
8774 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8776 Fix some indentation problem with \; and pipes (bug#17842).
8777 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
8778 (sh-smie--default-forward-token, sh-smie--default-backward-token):
8780 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
8781 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
8782 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
8784 2014-06-26 Glenn Morris <rgm@gnu.org>
8786 * emacs-lisp/find-func.el (find-function-C-source-directory):
8787 Use file-accessible-directory-p.
8789 * ps-samp.el: Make it slightly less awful.
8790 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
8791 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
8792 Only set local values.
8793 (ps-article-subject, ps-article-author): Use standard functions
8794 like mail-fetch-field.
8795 (ps-info-file, ps-info-node): Use match-string.
8796 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
8797 (ps-samp-ps-setup): ... new function.
8799 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
8800 Optimize away code unneeded on any modern Emacs.
8802 * emacs-lisp/authors.el: Move to ../admin.
8804 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
8806 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
8808 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
8809 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
8810 performance enhancements.
8811 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
8813 (hif-factor, hif-string-concatenation, intern-safe): Support string
8814 concatenation and argumented macro expansion.
8815 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
8816 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
8817 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
8818 (hif-canonicalize-tokens, hif-place-macro-invocation)
8819 (hif-parse-macro-arglist): Mostly new functions for supporting
8820 argumented macro expansion.
8821 (hif-string-concatenation, hif-stringify, hif-token-concat)
8822 (hif-token-stringification, hif-token-concatenation):
8823 Stringification and concatenation.
8824 (hif-find-next-relevant): Fix comments.
8825 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
8826 some cases involving #elif.
8827 (hif-find-define, hif-add-new-defines): New functions for automatically
8828 scanning of defined symbols.
8829 (hide-ifdef-guts): Fix for defined symbol auto scanning.
8830 (hide-ifdef-undef): Fix behavior to match CPP.
8832 2014-06-25 Glenn Morris <rgm@gnu.org>
8834 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
8835 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
8836 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
8837 files. They are not relevant to the original issue (bug#1004),
8838 and cause unnecessary recompilation (bug#2151).
8840 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8842 * play/landmark.el: Use lexical-binding and avoid `intangible'.
8843 (landmark--last-pos): New var.
8844 (landmark--intangible-chars): New const.
8845 (landmark--intangible): New function.
8846 (landmark-mode, landmark-move): Use it.
8847 (landmark-mode): Remove properties.
8848 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
8849 (landmark-cross-qtuple):
8850 Don't worry about `intangible' any more.
8851 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
8852 (landmark-init-display): Don't set `intangible' and `point-entered'.
8853 (square): Remove. Inline it instead.
8854 (landmark--distance): Rename from `distance'.
8855 (landmark-calc-distance-of-robot-from): Rename from
8856 calc-distance-of-robot-from.
8857 (landmark-calc-smell-internal): Rename from calc-smell-internal.
8859 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
8861 * files.el (dir-locals-find-file, file-relative-name):
8862 * info.el (Info-complete-menu-item):
8863 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
8864 to compare-strings to avoid out-of-range errors.
8865 * subr.el (string-prefix-p): Adjust to match strict range
8866 checking in compare-strings.
8868 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
8870 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
8871 for comment lines non-greedy and stopping at newlines to fix stack
8872 overflows with large files.
8874 2014-06-24 Eli Barzilay <eli@barzilay.org>
8876 * calculator.el (calculator-last-input): Drop 'ascii-character property
8879 2014-06-24 Leo Liu <sdl.web@gmail.com>
8881 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
8882 tab-stop-list to nil. (Bug#16381)
8884 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
8885 (indent-rigidly-left-to-tab-stop)
8886 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
8887 (move-to-tab-stop): Change callers.
8889 2014-06-24 Eli Zaretskii <eliz@gnu.org>
8891 * skeleton.el (skeleton-insert): Yet another fix of the doc string
8892 wrt behavior of \n as the first/last element of a skeleton.
8894 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
8896 * net/tramp-adb.el (tramp-adb-handle-process-file):
8897 * net/tramp-sh.el (tramp-sh-handle-process-file):
8898 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
8899 the output buffer when DISPLAY is non-nil. (Bug#17815)
8901 2014-06-24 Glenn Morris <rgm@gnu.org>
8903 * play/landmark.el (landmark-move-down, landmark-move-up):
8904 Fix 2007-10-20 change - preserve horizontal position.
8906 2014-06-23 Sam Steingold <sds@gnu.org>
8908 * simple.el (kill-append): Remove undo boundary depending on ...
8909 (kill-append-merge-undo): New user option.
8911 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8913 * simple.el (handle-shift-selection, exchange-point-and-mark)
8914 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
8915 (transient-mark-mode): Use&set the global value.
8916 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
8917 * emulation/edt.el (edt-emulation-off): Save&restore the global
8918 transient-mark-mode setting.
8919 * obsolete/pc-select.el (pc-selection-mode): Use the
8920 transient-mark-mode function.
8922 2014-06-23 Eli Zaretskii <eliz@gnu.org>
8924 * international/fontset.el (script-representative-chars):
8925 Add representative characters for scripts added in Unicode 7.0.
8926 (otf-script-alist): Synchronize with the latest registry of OTF
8929 * international/characters.el (char-script-table): Update for
8930 scripts added and codepoint ranges changed in Unicode 7.0.
8932 2014-06-23 Eli Barzilay <eli@barzilay.org>
8934 * calculator.el (calculator-standard-displayer): Fix bug in use of
8935 `calculator-groupize-number'.
8936 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
8937 `eval' code, so it works in v24.3.1 too.
8938 (calculator-last-input): Comment to clarify purpose.
8940 2014-06-22 Mario Lang <mlang@delysid.org>
8942 * textmodes/rst.el (rst-comment-region): From from -> from.
8944 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
8946 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
8948 * electric.el (electric-layout-post-self-insert-function):
8949 * emacs-lisp/ert.el (ert--insert-infos):
8950 * obsolete/vi.el (vi-set-mark):
8951 * term.el (term-handle-scroll):
8952 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
8953 * wid-edit.el (widget-editable-list-value-create):
8954 Prefer point-marker to copy-marker of point.
8956 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8958 Fix completion retrieval parsing (bug#17209).
8959 * progmodes/python.el (python-mode):
8960 (python-util-strip-string): New function.
8961 (python-shell-completion-get-completions): Use it.
8963 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8965 * skeleton.el (skeleton-insert): Fix last change.
8967 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8969 Enhancements for outline integration (bug#17796).
8970 * progmodes/python.el (python-mode): Properly set
8971 outline-heading-end-regexp so that comments after colons for
8972 defuns are supported.
8974 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8976 * skeleton.el (skeleton-insert): Doc fix.
8978 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8980 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
8981 (smie-config-guess): Use smie-config-local so the rules are obeyed
8984 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
8985 since it's already done inside the loop (bug#17819).
8987 2014-06-21 Martin Rudalics <rudalics@gmx.at>
8989 * mouse.el (mouse-drag-line): Re-remove code initially removed
8990 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
8993 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8995 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
8996 align with the surrounding parent (bug#17721).
8998 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9000 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
9002 (texinfo-insert-block, texinfo-insert-@end)
9003 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
9004 local setting of skeleton-end-newline by adding an explicit \n to
9005 the skeletons where appropriate. (Bug#17801)
9007 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9009 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
9010 (smie-indent--hanging-p): Use it.
9011 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
9013 2014-06-21 Leo Liu <sdl.web@gmail.com>
9015 * simple.el (read-quoted-char): Don't let help chars pop up help
9018 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9020 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
9023 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
9024 Drop unknown events instead of burping.
9026 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9028 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
9029 and later. (Bug#17790)
9031 2014-06-21 Juri Linkov <juri@jurta.org>
9033 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
9034 to `soft'. (Bug#17554)
9036 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9038 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
9041 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
9043 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
9044 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
9046 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
9048 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
9049 `unread-command-events'.
9051 2014-06-19 William Xu <william.xwl@gmail.com>
9053 * progmodes/hideif.el (hif-string-to-number): Don't return float for
9054 hex integer constants (bug#17807).
9056 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9058 * international/mule-util.el (truncate-string-ellipsis): New var.
9059 (truncate-string-to-width): Use it.
9061 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
9063 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
9064 (lisp-string-in-doc-position-p): New function, extracted from
9065 lisp-font-lock-syntactic-face-function.
9066 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
9068 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
9070 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
9072 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9074 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
9075 (bubbles--game-over): Don't add `intangible' properties since they
9078 2014-06-18 Juri Linkov <juri@jurta.org>
9080 * vc/ediff-init.el (ediff-current-diff-Ancestor)
9081 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
9082 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
9083 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
9084 Add `min-colors 88' version with removed black/white foregrounds.
9087 2014-06-18 Juri Linkov <juri@jurta.org>
9089 * vc/diff-mode.el (diff-changed): Empty face definition to use
9090 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
9091 (diff-context): Use darker color on light background and
9092 lighter color on dark background.
9094 2014-06-18 Juri Linkov <juri@jurta.org>
9096 * vc/diff-mode.el (diff-refine-changed): Rename from
9097 `diff-refine-change' for consistency with `diff-changed'.
9098 (diff-refine-change): Add obsolete face alias. (Bug#10181)
9100 * vc/smerge-mode.el (smerge-refined-changed): Rename from
9101 `smerge-refined-change'.
9102 (smerge-refined-change): Add obsolete face alias.
9104 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9106 * rect.el (rectangle-preview): New custom.
9107 (rectangle): New group.
9108 (rectangle--pos-cols): Add `window' argument.
9109 (rectangle--string-preview-state, rectangle--string-preview-window):
9111 (rectangle--string-flush-preview, rectangle--string-erase-preview)
9112 (rectangle--space-to, rectangle--string-preview): New functions.
9113 (string-rectangle): Use them.
9114 (rectangle--inhibit-region-highlight): New var.
9115 (rectangle--highlight-for-redisplay): Obey it. Make sure
9116 `apply-on-region' uses the point-crutches of the right window.
9117 Use :align-to rather than multiple spaces.
9119 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
9121 * ruler-mode.el (ruler-mode-window-col)
9122 (ruler-mode-mouse-set-left-margin)
9123 (ruler-mode-mouse-set-right-margin): Fix calculation of column
9124 from mouse position (Bug#17768).
9126 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
9128 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
9129 without varname or rhs causes crash.
9130 (dun-ftp): Fix bug where blank ftp password is allowed, making it
9131 impossible to win endgame.
9132 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
9134 (dun-help): Bump version number; update contact info.
9136 2014-06-15 Eli Barzilay <eli@barzilay.org>
9138 * calculator.el (calculator-prompt, calculator-remove-zeros)
9139 (calculator-mode-hook, calculator-operators, calculator-stack)
9140 (calculator-mode): Tweak docstring.
9141 (calculator-user-operators): Tweak docstring, fix a bug in the last
9143 (calculator-displayer): `std' case has an optional boolean.
9144 (calculator-displayers): Use the new boolean to group in decimal mode.
9145 (calculator-mode-map, calculator, calculator-message)
9146 (calculator-op-arity, calculator-add-operators)
9147 (calculator-string-to-number, calculator-displayer-prev)
9148 (calculator-displayer-next, calculator-remove-zeros)
9149 (calculator-eng-display, calculator-number-to-string)
9150 (calculator-update-display, calculator-last-input)
9151 (calculator-clear-fragile, calculator-digit, calculator-decimal)
9152 (calculator-exp, calculator-saved-move, calculator-clear)
9153 (calculator-copy, calculator-put-value, calculator-help)
9154 (calculator-expt, calculator-truncate): Minor code improvements.
9155 (calculator-need-3-lines): New function pulling out code from
9157 (calculator-get-display): Rename from `calculator-get-prompt', and
9159 (calculator-push-curnum): Rename from `calculator-curnum-value', and
9160 extended for all uses of it. All callers changed.
9161 (calculator-groupize-number): New utility for splitting a number into
9163 (calculator-standard-displayer): Improve code, new optional argument to
9164 use comma-split groups, make second argument optional too to use with
9165 'left/'right inputs. All callers changed.
9166 (calculator-reduce-stack-once): New utility, doing the meat of what
9167 `calculator-reduce-stack' used to do, much improved (mostly using
9168 `pcase' for conciseness and clarity).
9169 (calculator-reduce-stack): Now doing just the reduction loop using
9170 `calculator-reduce-stack-once'.
9171 (calculator-funcall): Improve code, make it work in v24.3.1 too.
9172 (calculator-last-input): Improve code, remove some old cruft.
9173 (calculator-quit): Kill `calculator-buffer' in electric mode too.
9174 (calculator-integer-p): Remove.
9175 (calculator-fact): Improve code, make it work on non-integer values
9176 too (using truncated numbers).
9178 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
9180 Sync with Tramp 2.2.10.
9182 * net/tramp.el (tramp-methods): Tweak docstring.
9183 (tramp-handle-file-accessible-directory-p): Check for
9184 `file-readable-p' instead of `file-executable-p'.
9185 (tramp-check-cached-permissions):
9186 Use `tramp-compat-file-attributes'.
9187 (tramp-call-process): Add new argument VEC. Adapt callees in all
9190 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
9191 (tramp-adb-maybe-open-connection): Don't set
9192 `tramp-current-*' variables.
9194 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
9195 file properties of temporary buffers.
9197 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
9199 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
9200 (tramp-gvfs-handle-delete-file): Flush file
9201 properties, not directory properties.
9202 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
9203 reading "unix::mode".
9204 (tramp-gvfs-handle-file-name-all-completions):
9205 Use "-h" option for "gvfs-ls".
9206 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
9207 (tramp-gvfs-send-command): Simplify traces.
9209 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
9210 (vc-git-program, vc-hg-program): Declare.
9211 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
9212 (tramp-methods) <nc>: Add new method.
9213 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
9214 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
9216 (tramp-default-user-alist): Add "nc".
9217 (top): Remove completion function for "sftp". Add completion
9218 functions for "nc" and "psftp".
9219 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
9220 Implement support for "nc" method.
9221 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
9222 (tramp-remote-coding-commands, tramp-call-local-coding-command):
9224 (tramp-sh-handle-write-region): Tweak error message.
9225 (tramp-sh-handle-vc-registered): Remove backends when the remote
9226 binary does not exist.
9227 (tramp-find-inline-encoding): Do not raise an error.
9228 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
9229 the "nc" case. Quote result also locally.
9231 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9232 (tramp-smb-handle-set-file-acl): Use `start-process'.
9233 (tramp-smb-handle-insert-directory): Use progress reporter.
9234 (tramp-smb-handle-rename-file): Flush also file properties of
9237 * net/trampver.el: Update release number.
9239 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9241 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
9243 (ses-localvars): Remove ses--local-printer-list, unused.
9244 (ses--metaprogramming): New macro. Use it to defvar variables.
9245 (ses-set-localvars): Simplify.
9246 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
9247 property-list into an alist.
9248 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9249 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
9250 Remove; use defstruct accessors/setters instead.
9251 (ses-cell-formula-aset, ses-cell-printer-aset)
9252 (ses-cell-references-aset): Remove, use setf instead.
9253 (ses--alist-get): New function.
9254 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
9255 Use an alist instead of a plist and don't do move-to-front since the
9256 list is always short.
9257 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
9258 (ses-cell-property-set-fun, ses-cell-property-set)
9259 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
9260 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
9261 (ses--letref): New macro.
9262 (ses-cell-property-pop): Rewrite.
9263 (ses--cell): Rename from ses-cell and make it into a function.
9264 Make `formula' fallback on `value' if nil.
9265 (ses--local-printer): Rename from ses-local-printer and make it into
9267 (ses-set-cell): Turn it into a macro so finding the accessor from the
9268 field name is done at compile time.
9269 (ses-repair-cell-reference-all): Test presence of `sym' rather than
9270 `ref' before adding `sym' to :ses-repair-reference.
9271 (ses-calculate-cell): Use ses--letref rather than
9272 ses-cell-property-get-handle.
9273 (ses-write-cells): Use a single prin1-to-string.
9274 (ses-setter-with-undo): New function.
9275 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
9276 (ses-unset-with-undo): Remove.
9277 (ses-load): Prefer apply' over `eval'.
9278 (ses-read-printer, ses-set-column-width): Use standard "(default
9281 2014-06-15 Glenn Morris <rgm@gnu.org>
9283 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
9285 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
9286 Replace delete-duplicates and mapcan by cl- versions throughout.
9287 And cl-macroexpand-all by macroexpand-all.
9288 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
9290 2014-06-15 Eli Zaretskii <eliz@gnu.org>
9292 * subr.el (posn-col-row): Doc fix. (Bug#17768)
9294 2014-06-15 Juri Linkov <juri@jurta.org>
9296 * bindings.el: Put `ascii-character' property on keypad keys
9297 mapped to characters. (Bug#17759)
9299 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9301 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
9302 bumping forward into a closing paren (bug#17761).
9304 * term/xterm.el (xterm--version-handler): Work around for OSX
9305 Terminal.app (bug#17607).
9307 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
9309 * play/dunnet.el (dun-describe-room, dun-mode):
9310 If a lamp is in the room, you won't be eaten by a grue.
9312 2014-06-13 Glenn Morris <rgm@gnu.org>
9314 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
9315 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
9316 (compile-always): GNU make automatically passes
9317 command-line arguments to sub-makes.
9319 * calendar/calendar.el (calendar-generate-window):
9320 Remove pointless call to font-lock-fontify-buffer.
9322 2014-06-13 Matthias Meulien <orontee@gmail.com>
9324 * simple.el (completion-list-mode-map): Navigate with tab and backtab
9327 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9329 * simple.el (set-mark-command): Simplify a bit.
9331 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9333 * help.el (help--key-binding-keymap): New function.
9334 (help--binding-locus): New function.
9335 (describe-key): Mention the keymap in which the binding was
9338 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9340 * hippie-exp.el (he--all-buffers): New function.
9341 (try-expand-line-all-buffers, try-expand-list-all-buffers)
9342 (try-expand-dabbrev-all-buffers): Use it.
9344 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
9346 * hippie-exp.el (try-expand-line-all-buffers)
9347 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
9348 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
9349 original buffer, in case they're buffer-local.
9351 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
9353 * ses.el (ses-initial-global-parameters-re): New defconst, a
9354 specific regexp is needed now that ses.el can handle both
9355 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
9357 (ses-localvars): Add local variables needed for local printer handling.
9358 (ses-set-localvars): Handle hashmap initialization.
9359 (ses-paramlines-plist): Add param-line for number of local printers.
9360 (ses-paramfmt-plist): New defconst, needed for code factorization
9361 between functions `ses-set-parameter' and
9362 `ses-file-format-extend-paramter-list'
9363 (ses-make-local-printer-info): New defsubst.
9364 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9365 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
9366 (ses-cell-printer-aset): New defmacro.
9367 (ses-local-printer-compile): New defun.
9368 (ses-local-printer): New defmacro.
9369 (ses-printer-validate, ses-call-printer): Add support for local
9371 (ses-file-format-extend-paramter-list): New defun.
9372 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
9374 (ses-load): Add support for local printer functions.
9375 (ses-read-printer): Update docstring and add support for local printer
9377 (ses-refresh-local-printer, ses-define-local-printer): New defun.
9378 (ses-safe-printer): Add support for local printer functions.
9380 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
9382 * ffap.el (ffap-lax-url): New var (bug#17723).
9383 (ffap-url-at-point): Use it.
9384 (ffap-file-at-point): Avoid returning just "/".
9386 2014-06-12 Matthias Meulien <orontee@gmail.com>
9388 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
9389 (python-mode-map): Bind it.
9391 * progmodes/python.el (class skeleton): Don't erase last char of class
9394 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
9396 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
9398 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
9400 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
9403 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9405 * international/mule-cmds.el: Use lexical-binding.
9406 (ucs-names): Simplify.
9408 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
9410 * progmodes/python.el (run-python): Use read-shell-command.
9412 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9414 * rect.el: Make it possible to move bounds past EOL or into TABs.
9415 (operate-on-rectangle): Use apply-on-rectangle.
9416 (rectangle--mark-crutches): New var.
9417 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
9418 (rectangle--crutches, rectangle--reset-crutches): New functions.
9419 (apply-on-rectangle): Obey crutches. Avoid setq.
9420 Fix missing final iteration if end is at EOB&BOL.
9421 (rectangle-mark-mode-map): Add remap bindings for
9422 exchange-point-and-mark and char/line movements.
9423 (rectangle--*-char): New function.
9424 (rectangle-exchange-point-and-mark, rectangle-right-char)
9425 (rectangle-left-char, rectangle-forward-char)
9426 (rectangle-backward-char, rectangle-next-line)
9427 (rectangle-previous-line): New commands.
9428 (rectangle--place-cursor): New function.
9429 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
9431 2014-06-08 Glenn Morris <rgm@gnu.org>
9433 * startup.el (initial-buffer-choice): Doc fix.
9434 Reset :version (adding an option does not merit a :version bump).
9436 * bookmark.el (bookmark-load):
9437 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
9439 2014-06-08 Juri Linkov <juri@jurta.org>
9441 * desktop.el: Activate auto-saving on window configuration changes.
9442 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
9443 `desktop-auto-save-set-timer' to/from
9444 `window-configuration-change-hook'.
9445 (desktop-auto-save-set-timer): Change REPEAT arg of
9446 `run-with-idle-timer' from t to nil.
9447 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
9449 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
9451 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
9452 vc-hg-command (bug#17570).
9454 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9456 * international/mule-cmds.el (ucs-names): Add special entry for BEL
9459 2014-06-08 Glenn Morris <rgm@gnu.org>
9461 * startup.el (window-setup-hook): Doc fix.
9463 * emacs-lisp/package.el (package-check-signature)
9464 (package-unsigned-archives): Doc fixes.
9466 2014-06-08 Martin Rudalics <rudalics@gmx.at>
9468 * window.el (display-buffer-use-some-window): Don't make window
9469 used smaller than it was before (Bug#17671).
9471 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9473 * menu-bar.el (menu-bar-open): Fix last change: use the PC
9474 'redisplay' instead of '(sit-for 0)'.
9476 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
9478 * net/tramp.el (tramp-ssh-controlmaster-options):
9479 Improve search regexp. (Bug#17653)
9481 2014-06-08 Glenn Morris <rgm@gnu.org>
9483 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
9485 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9487 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
9489 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
9491 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
9494 * vc/vc-hg.el (vc-hg-log-graph): New var.
9495 (vc-hg-print-log): Use it.
9496 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
9497 graph output (bug#17515).
9499 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9501 * mouse.el (mouse-posn-property): Ignore buffer position info when the
9502 even happened elsewhere.
9504 2014-06-06 Mario Lang <mlang@delysid.org>
9506 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
9507 `recenter' if `current-buffer' is equal to `window-buffer'.
9509 2014-06-05 Leo Liu <sdl.web@gmail.com>
9511 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
9513 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
9515 * textmodes/tildify.el (tildify-foreach-region-outside-env):
9516 New function which calls a callback on portions of the buffer that are
9517 outside of ignored environments.
9518 (tildify-build-regexp): Remove function since it is now
9519 incorporated in `tildify-foreach-region-outside-env' where it is
9520 optimized and simplified by the use of `mapconcat'.
9521 (tildify-tildify): Return number of substitutions made so that…
9522 (tildify-count): …can be removed.
9523 (tildify-find-env): Accept a new PAIRS argument which was
9524 previously looked up in `tildify-ignored-environments-alist' each
9525 time the function was called. With this change, the lookup is
9526 performed only once in `tildify-foreach-region-outside-env'.
9527 (tildify-region): Greatly simplify the function since now most of
9528 the work is done by `tildify-foreach-region-outside-env'.
9529 (tildify-mode-alist): Simplify slightly by avoiding if and setq
9530 and instead using or.
9532 * textmodes/tildify.el (tildify-ignored-environments-alist):
9533 Optimize environments regexes
9535 Each time beginning of an environment to ignore is found,
9536 `tildify-find-env' needs to identify regexp for the ending
9537 of the environment. This is done by trying all the opening
9538 regexes on matched text in a loop, so to speed that up, this
9539 loop should have fewer things to match, which can be done by
9540 using alternatives in the opening regexes.
9542 Coincidentally, this should make matching of the opening
9543 regexp faster as well thanks to the use of `regexp-opt' and
9544 having common prefix pulled from many regexes.
9546 * textmodes/tildify.el (tildify-string-alist)
9547 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
9548 of supported modes since `xml-mode' is no longer a thing but just
9549 an alias to the former. Also include comments and insides of tags
9550 in `tildify-ignored-environments-alist' for XML modes. Finally,
9551 since XML does not define “ ”[1], use a numeric reference for
9552 a no-break space (namely “ ”)
9554 [1] XML specification defines only a handful of predefined entities.
9555 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
9556 and includes only <, >, &, ' and " (meaning <,
9557 >, &, ' and " respectively). This is in contrast to HTML and even
9558 XHTML which defined a whole bunch of entities including “ ”.
9560 * textmodes/tildify.el (tildify-pattern-alist)
9561 (tildify-string-alist, tildify-ignored-environments-alist):
9562 Improve defcustom's types by adding more tags explaining what each
9563 value means and replace “sexp” used in
9564 `tildify-ignored-environments-alist' with a full type declaration.
9566 * textmodes/tildify.el (tildify-find-env): Fix matched group
9567 indexes in end-regex building
9569 When looking for a start of an ignore-environment, the regex is built
9570 by concatenating regexes of all the environments configured in
9571 `tildify-ignored-environments-alist'. So for example, the following
9572 list could be used to match TeX's \verb and \verb* commands:
9574 (("\\\\verb\\(.\\)" . (1))
9575 ("\\\\verb\\*\\(.\\)" . (1)))
9577 This would result in the following regex being used to find the start
9578 of any of the variants of the \verb command:
9580 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
9582 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
9583 won't match anything, and thus (match-string 1) will be nil, which
9584 will cause building of the end-matching regex to fail.
9586 Fix this by using capture groups from the time when the opening
9587 regexes are matched individually.
9589 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
9590 in `tildify-find-env'
9592 The `tildify-ignored-environments-alist' allows the end-regex to
9593 be provided not as a static string but mix of strings and indexes
9594 of groups matched the begin-regex. For example, the “\verb!…!”
9595 TeX-command (where “!” is an arbitrary character) is handled
9598 ("\\\\verb\\*?\\(.\\)" . (1))
9600 In the same way, the following should be supported as well:
9602 ("open-\\(.\\)" . ("end-" 1))
9604 However the tildify-find-env function fails at
9607 (if (stringp (setq aux (car expression)))
9608 expression ; BUG: expression is a list
9609 (regexp-quote (match-string aux))))
9611 where the string part is handled incorrectly.
9613 The most trivial fix would be to replace `expression' in the
9614 true-part of the if-statement with `aux', but instead, this commit
9615 optimizes `tildify-find-env' by changing it to use `mapconcat'
9616 rather than open-coded while-loop.
9618 2014-06-05 Mario Lang <mlang@delysid.org>
9620 * woman.el (woman-mapcan): Remove.
9621 (woman-parse-colon-path): Use cl-mapcan instead.
9623 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9625 * register.el: Add link to Emacs manual in Commentary.
9627 2014-06-02 Sam Steingold <sds@gnu.org>
9629 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
9630 (popup-menu): ...here.
9631 (menu-bar-open): Use it to avoid an error when `lookup-key'
9634 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
9636 * net/tramp.el (tramp-call-process): Add traces.
9637 (tramp-handle-unhandled-file-name-directory): Return "/".
9639 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
9641 Sync with upstream verilog-mode revision 3cd8144.
9642 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
9643 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
9644 (verilog-type-font-keywords): Add nor.
9645 (verilog-batch-execute-func): Force reading of Local Variables.
9646 Fix printing "no changes to be saved" with verilog-batch.
9647 (verilog-auto-arg-ports): Doc fix.
9648 Add verilog-auto-arg-format to support newlines in AUTOARG.
9649 (verilog-auto-arg): Doc fix.
9651 2014-06-02 Glenn Morris <rgm@gnu.org>
9653 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
9654 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
9655 * emulation/ws-mode.el: Move to obsolete/.
9656 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
9658 2014-06-02 Eli Zaretskii <eliz@gnu.org>
9660 * simple.el (keyboard-quit): Force update of mode lines, to remove
9661 the "Def" indicator, if we were defining a macro. (Bug#17615)
9663 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9665 * minibuffer.el (minibuffer-force-complete-and-exit):
9666 Obey minibuffer-default (bug#17545).
9668 * progmodes/js.el (js-indent-line): Don't mix columns and chars
9671 * subr.el (set-transient-map): Don't wait for some "nested"
9672 transient-map to finish if we're only supposed to be active for
9673 the next command (bug#17642).
9675 2014-06-02 Leo Liu <sdl.web@gmail.com>
9677 * emacs-lisp/gv.el (window-buffer, window-display-table)
9678 (window-dedicated-p, window-hscroll, window-point, window-start):
9679 Fix gv-expander. (Bug#17630)
9681 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9683 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
9686 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
9687 for the single comma, since ", " is *very* common in normal French text
9690 2014-06-02 Glenn Morris <rgm@gnu.org>
9692 * emacs-lisp/package.el (package-check-signature)
9693 (package-unsigned-archives): Fix :version.
9695 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9697 * subr.el (sit-for): Don't run input-methods (bug#15614).
9699 2014-06-02 Glenn Morris <rgm@gnu.org>
9701 * cus-start.el: Fix some :version numbers.
9703 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9705 * simple.el (deactivate-mark): Set mark-active to nil even if
9706 deactivation is done via setting transient-mark-mode to nil,
9707 since one is buffer-local and the other is global.
9709 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
9710 there can't be more than 2 arguments (bug#17584).
9712 2014-06-02 Glenn Morris <rgm@gnu.org>
9714 * simple.el (filter-buffer-substring-functions)
9715 (filter-buffer-substring-function, buffer-substring-filters)
9716 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
9718 * minibuffer.el (completion-in-region-functions, completion-in-region)
9719 (completion--in-region): Doc fixes.
9721 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
9722 (expand-abbrev, abbrev--default-expand): Doc fixes.
9724 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
9726 Include sources used to create macuvs.h.
9727 * international/README: Refer to the Unicode Terms of Use rather
9728 than copying it bodily here, as that simplifies maintenance.
9730 2014-06-01 Glenn Morris <rgm@gnu.org>
9732 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
9734 2014-05-31 Glenn Morris <rgm@gnu.org>
9736 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
9738 2014-05-30 Glenn Morris <rgm@gnu.org>
9740 * loadup.el: Treat `command-line-args' more flexibly.
9742 2014-05-30 Alan Mackenzie <acm@muc.de>
9744 Guard (looking-at "\\s!") from XEmacs.
9745 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
9747 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
9749 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
9750 The argument COUNT is now optional, to be more backward-compatible.
9751 Doc fix. (Bug#17560)
9753 2014-05-29 Reuben Thomas <rrt@sc3d.org>
9755 * whitespace.el (whitespace-report-region):
9756 Simplify documentation.
9757 (whitespace-report-region): Allow report-if-bogus to take the
9758 value `never', for non-interactive use.
9759 (whitespace-report): Refer to whitespace-report-region's
9762 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9764 * whitespace.el: Use font-lock-flush. Minimize refontifications.
9765 Side benefit: it works without jit-lock.
9766 (whitespace-point--used): New buffer-local var.
9767 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
9768 (whitespace-color-off): Use font-lock-flush.
9769 (whitespace-point--used, whitespace-point--flush-used): New functions.
9770 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
9771 (whitespace-empty-at-eob-regexp): Use them.
9772 (whitespace-post-command-hook): Rewrite.
9774 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
9775 (font-lock-fontify-buffer): Mark interactive-only.
9776 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
9778 (font-lock-specified-p): Remove redundant boundp check.
9779 (font-lock-flush-function, font-lock-ensure-function): New vars.
9780 (font-lock-turn-on-thing-lock): Set them.
9781 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
9782 (font-lock-after-change-function): Make `old-len' optional.
9783 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
9784 Call font-lock-flush, just in case.
9785 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
9787 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
9788 (vera-mode-map, vera-mode-menu): Remove bindings to it.
9789 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
9790 and with-syntax-table.
9791 * textmodes/conf-mode.el (conf-quote-normal):
9792 * progmodes/sh-script.el (sh-set-shell):
9793 * progmodes/prog-mode.el (prettify-symbols-mode):
9794 * progmodes/f90.el (f90-font-lock-n):
9795 * progmodes/cwarn.el (cwarn-mode):
9796 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
9797 * progmodes/compile.el (compilation-setup, compilation--unsetup):
9798 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
9799 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
9800 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
9801 font-lock-fontify-buffer-function and
9802 font-lock-unfontify-buffer-function.
9803 (rmail-unfontify-buffer-function, rmail-fontify-message):
9804 Use with-silent-modifications.
9805 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
9806 and font-lock-ensure.
9807 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
9809 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
9811 * emacs-lisp/package.el (package-generate-autoloads):
9812 Inhibit backup files.
9814 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9816 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
9819 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
9821 * textmodes/tildify.el (tildify-buffer, tildify-region):
9822 Add dont-ask option.
9824 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9826 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
9827 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
9829 * subr.el (internal--funcall-interactively): New.
9830 (internal--call-interactively): Remove.
9831 (called-interactively-p): Detect funcall-interactively instead of
9833 * simple.el (repeat-complex-command): Use funcall-interactively.
9834 (repeat-complex-command--called-interactively-skip): Remove.
9836 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9838 * register.el (register-read-with-preview): Don't burp on
9839 frame switches (e.g. due to the frame we just popped).
9841 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
9842 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
9844 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
9846 * cus-face.el (custom-face-attributes): Add :distant-foreground.
9848 2014-05-26 Martin Rudalics <rudalics@gmx.at>
9850 * window.el (window--dump-frame): Remove interactive specification.
9852 2014-05-26 Glenn Morris <rgm@gnu.org>
9854 * hippie-exp.el (he-line-search-regexp):
9855 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
9857 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
9859 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
9860 to avoid errors when trying to create or visit a file foo.todo
9861 located outside to todo-directory, and to allow having such files
9862 without them being tied to Todo mode (bug#17482).
9863 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
9864 (todo-archive-done-item, todo-find-filtered-items-file)
9865 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
9866 (todo-category-completions, todo-read-category): When visiting a
9867 Todo file, make sure we're in the right mode and the buffer local
9869 (todo-make-categories-list, todo-reset-nondiary-marker)
9870 (todo-reset-done-string, todo-reset-comment-string):
9871 After processing all Todo files, kill the buffers of those files that
9872 weren't being visited before the processing.
9873 (todo-display-as-todo-file, todo-add-to-buffer-list)
9874 (todo-visit-files-commands): Comment out.
9875 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
9876 (auto-mode-alist): Remove add-to-list calls making Todo file
9877 extensions unrestrictedly tied to Todo modes.
9879 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9881 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
9882 (advice-function-member-p): Tell it to check both names and functions
9884 (advice--add-function): Adjust call accordingly.
9886 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
9888 * calendar/todo-mode.el: Miscellaneous bug fixes.
9889 (todo-delete-file): When deleting an archive but not its todo
9890 file, make sure to update the todo file's category sexp.
9891 (todo-move-category): Keep the moved category's name unless the
9892 file moved to already has a category with that name. If the
9893 numerically last category of the source file was moved, make the
9894 first category current to avoid selecting a nonexisting category.
9895 (todo-merge-category): Fix implementation to make merging to a
9896 category in another file work as documented. Eliminate now
9897 insufficient and unnecessary renaming of archive category, correct
9898 document string accordingly, and clarify it. If the numerically
9899 last category of the source file was merged, make the first
9900 category current to avoid selecting a nonexisting category.
9901 (todo-archive-done-item): When there are marked items and point
9902 happens to be on an unmarked item, ignore the latter. Don't leave
9903 point below last item after archiving marked items.
9904 (todo-unarchive-items): Fix logic to ensure unarchiving an item
9905 from an archive with only one category deletes the archive only
9906 when the category is empty after unarchiving. Make sure the todo
9907 file's category sexp is updated.
9908 (todo-read-file-name): Allow an existing file name even when it is
9909 not required (todo-move-category needs this to work as documented).
9910 (todo-add-file): Call todo-validate-name to reject the name of an
9911 existing todo file (needed due to fix in todo-read-file-name).
9912 (todo-reset-nondiary-marker): Also reset in filtered items files.
9913 (todo-reset-done-string, todo-reset-comment-string): Also reset in
9914 regexp filtered items files.
9915 (todo-reset-highlight-item): Also reset in filtered items files.
9916 Fix incorrect variable reference in document string.
9918 2014-05-26 Glenn Morris <rgm@gnu.org>
9920 * window.el (window--dump-frame): Avoid error in --without-x builds.
9922 2014-05-26 Glenn Morris <rgm@gnu.org>
9924 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
9926 2014-05-26 Eli Zaretskii <eliz@gnu.org>
9928 * frame.el (set-frame-font): Doc fix.
9930 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
9932 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
9934 * emacs-lisp/package.el (package--download-one-archive):
9935 Use `write-region' instead of `save-buffer' to avoid running various
9937 (describe-package-1): Same. Insert newline at the end of the
9938 buffer if appropriate.
9940 2014-05-26 Juri Linkov <juri@jurta.org>
9942 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
9943 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
9944 Add more modifiers: meta, control, shift, hyper, super, alt.
9947 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
9948 to allow changing its value with `set-variable'.
9950 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9952 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
9954 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
9956 (scheme-mode-variables): Set syntax-propertize-function instead of
9957 font-lock-syntactic-face-function.
9958 (scheme-font-lock-syntactic-face-function): Delete.
9960 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
9962 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
9965 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
9967 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
9968 for a temporary file name.
9970 2014-05-26 Eli Zaretskii <eliz@gnu.org>
9972 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
9974 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
9976 * net/dbus.el (dbus-init-bus, dbus-call-method)
9977 (dbus-call-method-asynchronously, dbus-send-signal)
9978 (dbus-method-return-internal, dbus-method-error-internal):
9979 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
9981 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9983 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
9984 methods which do not have a doc string. (Bug#17490)
9986 2014-05-25 Tassilo Horn <tsdh@gnu.org>
9988 * textmodes/reftex-ref.el (reftex-format-special): Make it work
9989 also for AMS Math's \eqref macro.
9991 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
9993 Arrange to never byte-compile the generated -pkg.el file.
9995 * emacs-lisp/package.el (package-generate-description-file):
9996 Output first-line comment to set buffer-local var `no-byte-compile'.
9997 Suggested by Dmitry Gutov:
9998 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
10000 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
10002 Fix bug: Properly quote args to generated -pkg.el `define-package'.
10004 * emacs-lisp/package.el (package-generate-description-file):
10005 Inline `package--alist-to-plist'; rewrite to selectively
10006 quote alist values that are not self-quoting.
10007 (package--alist-to-plist): Delete func.
10009 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
10011 * term/xterm.el (xterm-function-map): Add mapping for shifted
10014 2014-05-24 Daniel Colascione <dancol@dancol.org>
10016 * progmodes/subword.el (subword-find-word-boundary): Move point to
10017 correct spot before search. (Bug#17580)
10019 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
10020 breaking the build.
10022 2014-05-24 Leo Liu <sdl.web@gmail.com>
10024 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
10026 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10028 * minibuffer.el (completion--sreverse): Remove.
10029 (completion--common-suffix): Use `reverse' instead.
10030 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
10032 2014-05-22 Glenn Morris <rgm@gnu.org>
10034 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
10036 2014-05-21 Daniel Colascione <dancol@dancol.org>
10038 * files.el (interpreter-mode-alist): Add mksh.
10040 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
10042 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
10043 mksh. Improve custom spec; allow regular expressions.
10044 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
10045 (sh-after-hack-local-variables): New function.
10046 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
10047 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
10049 (sh-canonicalize-shell): Rewrite to support regexes.
10051 2014-05-21 Leo Liu <sdl.web@gmail.com>
10053 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
10055 2014-05-19 Leo Liu <sdl.web@gmail.com>
10057 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
10059 2014-05-18 Glenn Morris <rgm@gnu.org>
10062 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
10064 2014-05-14 Sam Steingold <sds@gnu.org>
10066 * progmodes/python.el (python-shell-get-or-create-process):
10067 Do not bind `current-prefix-arg' so that C-c C-z does not talk
10068 back unless requested.
10070 2014-05-14 Glenn Morris <rgm@gnu.org>
10072 * subr.el (with-file-modes): New macro.
10073 * printing.el (pr-save-file-modes): Make obsolete.
10074 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
10075 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
10076 Add with-file-modes.
10077 * doc-view.el (doc-view-make-safe-dir):
10078 * epg.el (epg--start):
10079 * files.el (locate-user-emacs-file, make-temp-file)
10080 (backup-buffer-copy, move-file-to-trash):
10081 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
10082 * eshell/esh-util.el (eshell-with-private-file-modes)
10083 (eshell-make-private-directory):
10084 * net/browse-url.el (browse-url-mosaic):
10085 * obsolete/mailpost.el (post-mail-send-it):
10086 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
10087 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
10088 Use with-file-modes.
10090 * vc/emerge.el (emerge-make-temp-file): Simplify.
10092 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
10093 Stefan Monnier <monnier@iro.umontreal.ca>
10095 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
10096 suffix (bug#15419).
10098 2014-05-14 Glenn Morris <rgm@gnu.org>
10100 * vc/emerge.el (emerge-temp-file-prefix):
10101 Make pointless option obsolete.
10102 (emerge-temp-file-mode): Make non-functional option obsolete.
10104 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
10106 * net/browse-url.el (browse-url):
10107 Use `unhandled-file-name-directory' when setting `default-directory',
10108 in order to circumvent stalled remote connections. (Bug#17425)
10110 2014-05-14 Glenn Morris <rgm@gnu.org>
10112 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
10113 Optimize on Emacs, which has the relevant functions for ages.
10115 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10117 * simple.el (undo-make-selective-list): Obey undo-no-redo.
10119 2014-05-12 Sam Steingold <sds@gnu.org>
10121 * calendar/time-date.el (seconds-to-string): New function to
10122 pretty print time delay in seconds.
10124 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10126 * mpc.el (mpc-format): Trim Date to the year.
10127 (mpc-songs-hashcons): Shorten the Date field.
10129 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
10130 into autoloading just because of a silly indirection.
10132 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
10134 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
10136 2014-05-12 Glenn Morris <rgm@gnu.org>
10138 * emacs-lisp/find-gc.el: Move to ../admin.
10140 * printing.el (pr-version):
10141 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
10143 * net/browse-url.el (browse-url-mosaic):
10144 Create /tmp/Mosaic.PID as a private file.
10146 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10148 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
10149 (advice--member-p): If name is given, only compare the name.
10150 (advice--remove-function): Don't stop at the first match.
10151 (advice--normalize-place): New function.
10152 (add-function, remove-function): Use it.
10153 (advice--add-function): Pass the name, if any, to
10154 advice--remove-function.
10156 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
10158 * electric.el (electric-indent-post-self-insert-function): Don't use
10159 `pos' after modifying the buffer (bug#17449).
10161 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
10163 * calendar/todo-mode.el (todo-insert-item-from-calendar):
10164 Correct argument list to conform to todo-insert-item--basic.
10166 2014-05-12 Glenn Morris <rgm@gnu.org>
10168 * files.el (cd-absolute): Test if directory is accessible
10169 rather than executable. (Bug#17330)
10171 * progmodes/compile.el (recompile):
10172 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
10174 * net/browse-url.el (browse-url-mosaic):
10175 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
10176 This is CVE-2014-3423.
10178 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10180 * mouse.el: Use the normal toplevel loop while dragging.
10181 (mouse-set-point): Handle multi-clicks.
10182 (mouse-set-region): Handle multi-clicks for drags.
10183 (mouse-drag-region): Update call accordingly.
10184 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
10185 Use the normal event loop instead of a local while/read-event loop.
10186 (global-map): Remove redundant bindings for double/triple-mouse-1.
10187 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
10188 Generate synthetic down events when the protocol only sends up events.
10189 (xterm-mouse-last): Remove.
10190 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
10191 terminal parameter instead.
10192 (xterm-mouse--set-click-count): New function.
10193 (xterm-mouse-event): Detect/generate double/triple clicks.
10194 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
10196 * info.el (Info-quoted): New face.
10197 (Info-mode-font-lock-keywords): New var.
10198 (Info-mode): Use it.
10200 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
10201 are a hindrance for C-x C-e.
10203 2014-05-11 Leo Liu <sdl.web@gmail.com>
10205 * net/rcirc.el (rcirc-sentinel): Fix last change.
10207 2014-05-08 Sam Steingold <sds@gnu.org>
10209 * net/rcirc.el (rcirc-reconnect-delay): New user option.
10210 (rcirc-sentinel): Auto-reconnect to the server if
10211 `rcirc-reconnect-delay' is non-0 (but not more often than its
10212 value in case the host is off-line).
10214 2014-05-09 Eli Zaretskii <eliz@gnu.org>
10216 * progmodes/grep.el (lgrep): Fix a typo in last commit.
10218 2014-05-09 Glenn Morris <rgm@gnu.org>
10220 * files.el (file-expand-wildcards):
10221 * man.el (Man-support-local-filenames):
10222 * printing.el (pr-i-directory, pr-interface-directory):
10223 * progmodes/grep.el (lgrep, rgrep):
10224 * textmodes/ispell.el (ispell-call-process)
10225 (ispell-call-process-region, ispell-start-process)
10226 (ispell-init-process): Use file-accessible-directory-p.
10228 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10230 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
10231 (xterm-mouse--read-event-sequence-1000): Return nil if something
10233 (xterm-mouse-event): Propagate it.
10234 (xterm-mouse-translate-1): Handle it.
10236 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
10238 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
10239 four slots of the parameter list are filled, make sure to pass it
10240 to the argument list of todo-insert-item--basic.
10242 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10244 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
10245 Add optional `seen' argument to detect and break infinite loops.
10247 2014-05-08 Eli Zaretskii <eliz@gnu.org>
10249 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
10250 (trace-unsafe, trace-use-tree): Make parentheses style be
10251 according to Emacs style.
10253 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
10255 * net/tramp-sh.el (tramp-remote-process-environment):
10256 Remove HISTFILE and HISTSIZE; it's too late to set them here.
10257 Add :version entry.
10258 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
10259 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
10260 extra "PSx=..." commands.
10261 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
10264 (tramp-uudecode): Replace the hard-coded temporary file name by a
10266 (tramp-remote-coding-commands): Enhance docstring.
10267 (tramp-find-inline-encoding): Replace "%t" by a temporary file
10269 This is CVE-2014-3424.
10271 2014-05-08 Glenn Morris <rgm@gnu.org>
10273 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
10274 (find-gc-source-files): Update some names.
10275 (trace-call-tree): Simplify and update.
10276 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
10277 This is CVE-2014-3422.
10279 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10281 * minibuffer.el (completion--try-word-completion): Revert fix for
10282 Bug#15980 (bug#17375).
10284 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
10285 Always store button numbers in the same way in xterm-mouse-last;
10286 Don't burp is xterm-mouse-last is not set as expected.
10287 Never return negative indices.
10289 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
10291 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10292 Backtrack one char if the global/char-literal var matcher hits
10293 inside a string. The next char could be the beginning of an
10294 expression expansion.
10296 2014-05-08 Glenn Morris <rgm@gnu.org>
10298 * help-fns.el (describe-function-1): Test for an autoload before a
10299 macro, since `macrop' works on autoloads. (Bug#17410)
10301 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10303 * electric.el (electric-indent-functions-without-reindent): Add yaml.
10305 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
10306 Make sure the new point we return is within the new string (bug#17239).
10308 2014-05-05 Daniel Colascione <dancol@dancol.org>
10310 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10311 Port `gnu' pattern to rx.
10313 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
10315 Remove unneeded prompt when closing a buffer with active
10316 emacsclient ("Buffer ... still has clients"), #16548.
10317 * server.el (server-start): Remove the only call to:
10318 (server-kill-buffer-query-function): Remove.
10320 2014-05-04 Leo Liu <sdl.web@gmail.com>
10322 * calendar/diary-lib.el (calendar-chinese-month-name-array):
10323 Defvar to pacify compiler.
10325 2014-05-04 Eli Zaretskii <eliz@gnu.org>
10327 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
10329 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10331 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10332 Use nil rather than `default' for the "default" appearance (bug#17388).
10333 * vc/ediff-util.el (ediff-inferior-compare-regions)
10334 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
10335 a misleading `default' value when it's really a boolean.
10336 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
10337 overlay is not visible.
10339 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10341 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
10342 (todo-menu): Uncomment and update.
10344 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10346 * calendar/todo-mode.el: Reimplement item editing to have the same
10347 basic user interface as item insertion, and make small UI and
10348 larger internal improvements to the latter.
10349 (todo-insert-item): Add reference to the Todo mode user manual to
10350 the documentation string.
10351 (todo-insert-item--basic): Rename from todo-basic-insert-item and
10352 adjust all callers. Change signature to combine diary and
10353 nonmarking arguments. Incorporate functionality of deleted item
10354 copying command and add error checking. Remove detailed
10355 descriptions of the arguments from the documentation string, since
10356 this is treated in the Todo mode user manual.
10357 (todo-copy-item, todo-edit-multiline-item)
10358 (todo-edit-done-item-comment, todo-edit-item-header)
10359 (todo-edit-item-time, todo-edit-item-date-from-calendar)
10360 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
10361 (todo-edit-item-date-year, todo-edit-item-date-month)
10362 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
10364 (todo-edit-item): Reimplement as wrapper command for
10365 todo-edit-item--next-key and make it distinguish done and not done
10367 (todo-edit-item--text): New function, replacing old command
10368 todo-edit-item and incorporating deleted commands
10369 todo-edit-multiline-item and todo-edit-done-item-comment.
10370 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
10371 Use only numeric value of prefix argument. Remove detailed
10372 descriptions of the arguments from the documentation string, since
10373 this is treated in the Todo mode user manual.
10374 (todo-edit-item--diary-inclusion): New function, replacing old
10375 command todo-edit-item-diary-inclusion and incorporating and fixing
10376 functionality of deleted command todo-edit-item-diary-nonmarking,
10377 making sure to remove todo-nondiary-marker when adding
10378 diary-nonmarking-symbol.
10379 (todo-edit-category-diary-inclusion): Make sure to delete
10380 diary-nonmarking-symbol when adding todo-nondiary-marker.
10381 (todo-edit-category-diary-nonmarking): Fix indentation.
10382 (todo-insert-item--parameters): Group diary and nonmarking
10383 parameters together.
10384 (todo-insert-item--apply-args): Adjust to signature of
10385 todo-insert-item--basic and incorporate copy parameter.
10386 Make small code improvements.
10387 (todo-insert-item--next-param): Improve prompt and adjust it to
10388 new parameter grouping. Remove obsolete code.
10389 (todo-edit-item--param-key-alist)
10390 (todo-edit-item--date-param-key-alist)
10391 (todo-edit-done-item--param-key-alist): New defconsts.
10392 (todo-edit-item--prompt): New variable.
10393 (todo-edit-item--next-key): New function.
10394 (todo-key-bindings-t): Bind "e" to todo-edit-item.
10395 Remove bindings of deleted commands.
10397 2014-05-04 Leo Liu <sdl.web@gmail.com>
10399 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
10401 2014-05-04 Glenn Morris <rgm@gnu.org>
10403 * allout-widgets.el (allout-widgets-tally)
10404 (allout-decorate-item-guides):
10405 * menu-bar.el (menu-bar-positive-p):
10406 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10407 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
10408 * progmodes/js.el (js--inside-param-list-p)
10409 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
10410 * progmodes/prolog.el (region-exists-p):
10411 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
10412 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
10413 Doc fixes (replace `iff').
10415 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10417 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
10419 2014-05-04 Leo Liu <sdl.web@gmail.com>
10421 Support Chinese diary entries in calendar and diary. (Bug#17393)
10422 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
10423 (calendar-chinese-from-absolute-for-diary)
10424 (calendar-chinese-to-absolute-for-diary)
10425 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
10426 (diary-chinese-list-entries): New functions to list and mark
10427 Chinese diary entries in the calendar window.
10428 (diary-chinese-anniversary)
10429 (diary-chinese-insert-anniversary-entry)
10430 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
10431 (diary-chinese-insert-yearly-entry): New commands to insert
10432 Chinese diary entries.
10434 * calendar/diary-lib.el (diary-font-lock-keywords):
10435 Support font-locking Chinese dates.
10437 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
10438 inserting Chinese diary entries.
10440 * calendar/calendar.el (diary-chinese-entry-symbol):
10441 New customizable variable.
10442 (calendar-mode-map): Add bindings for inserting Chinese diary
10445 2014-05-03 Juri Linkov <juri@jurta.org>
10447 * dired.el (dired-check-switches, dired-switches-recursive-p):
10448 New functions. (Bug#17218)
10449 (dired-switches-escape-p, dired-move-to-end-of-filename):
10450 Use `dired-check-switches'.
10451 (dired-insert-old-subdirs, dired-build-subdir-alist)
10452 (dired-sort-R-check): Use `dired-switches-recursive-p'.
10454 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
10456 * simple.el (undo-make-selective-list): New algorithm fixes
10457 incorrectness of position adjustments when undoing in region.
10459 (undo-elt-crosses-region): Make obsolete.
10460 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
10461 New functions to adjust positions using undo-deltas.
10463 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10465 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
10466 the last consecutive closing paren (bug#17345).
10468 2014-04-30 Reuben Thomas <rrt@sc3d.org>
10470 * dired.el (dired-mode): make terminology for eXpunge command
10471 consistent. (Bug#17276)
10473 2014-04-30 Eli Zaretskii <eliz@gnu.org>
10475 * dired.el (dired-initial-position-hook, dired-initial-position):
10478 2014-04-30 Glenn Morris <rgm@gnu.org>
10480 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
10482 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
10484 * faces.el (face-spec-recalc): Apply X resources only after the
10485 defface spec has been applied. Thus, X resources are no longer
10486 overriden by the defface spec which also fixes issues on win32 where
10487 the toolbar coloring was wrong because it is set through X resources
10488 and was (wrongfully) overriden. (Bug#16694)
10490 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
10492 * textmodes/rst.el (electric-pair-pairs): Declare.
10493 (rst-mode): Set it (bug#17131).
10495 2014-04-30 Juri Linkov <juri@jurta.org>
10497 * desktop.el (desktop-value-to-string): Let-bind `print-length'
10498 and `print-level' to nil. (Bug#17351)
10500 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10502 * battery.el (battery-update): Handle the case where battery
10503 status is "N/A" (bug#17319).
10505 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10507 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
10508 to syntax-propertize.
10509 (ps-mode-auto-indent): Mark as obsolete.
10510 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
10511 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
10512 word regexp operators.
10513 (ps-mode-map): Move initialization into declaration. Remove binding
10514 for TAB, RET, >, ], and }.
10515 (ps-mode-syntax-table): Move initialization into declaration.
10516 Don't give word syntax to non-word chars.
10517 (ps-run-mode-map): Move initialization into declaration.
10518 (ps-mode-menu-main): Remove auto-indent entry.
10519 (ps-mode-smie-rules): New function.
10520 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
10521 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
10522 (ps-mode--string-syntax-table): New const.
10523 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
10525 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
10526 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
10528 2014-04-27 Daniel Colascione <dancol@dancol.org>
10530 * term/xterm.el (xterm-paste): Use large finite timeout when
10531 reading event to avoid putting keys in this-command-keys.
10533 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10535 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
10536 (perl-syntax-propertize-function): Use it. Extend handling of
10537 here-docs to the unquoted case.
10539 2014-04-25 Eli Zaretskii <eliz@gnu.org>
10541 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
10542 Use equal-including-properties to compare help-echo strings (bug#17331).
10544 2014-04-25 Leo Liu <sdl.web@gmail.com>
10546 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10547 Fix syntax for @. (Bug#17325)
10549 2014-04-25 Daniel Colascione <dancol@dancol.org>
10551 * emacs-lisp/cl.el (gv): Require gv early to break eager
10552 macro-expansion cycles.
10554 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10556 * simple.el (region-active-p): Check there's a mark (bug#17324).
10558 * simple.el (completion-list-mode-map): Use choose-completion for the
10559 mouse binding as well (bug#17302).
10560 (completion-list-mode, completion-setup-function): Adjust docstring and
10561 echo area message accordingly.
10562 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
10563 calling convention of choose-completion.
10564 * comint.el (comint-dynamic-list-completions):
10565 * term.el (term-dynamic-list-completions): Accept choose-completion.
10567 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
10568 &, |, +, - and * can't be a division (bug#17317).
10570 * term/xterm.el (xterm--version-handler): Don't use modern xterm
10571 features on gnome-terminal (bug#16988).
10573 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
10575 Improve Scheme font-locking for (define ((foo ...) ...) ...).
10577 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
10578 the declared object, ignore zero or more parens, not zero or one.
10580 2014-04-24 Leo Liu <sdl.web@gmail.com>
10582 * progmodes/xscheme.el (xscheme-expressions-ring)
10583 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
10584 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
10585 (xscheme-allow-output-p, xscheme-prompt)
10586 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
10588 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
10589 Comment out unused functions.
10591 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10593 * info.el: Use lexical-binding and cl-lib.
10594 Use defvar-local and setq-local instead of make-local-variable.
10595 (Info-apropos-matches): Avoid add-to-list.
10596 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
10598 2014-04-24 Daniel Colascione <dancol@dancol.org>
10600 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
10602 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10604 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
10606 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
10608 * dired.el (dired-insert-set-properties): Do not consider
10609 subdirectory headings and empty lines to be information that
10610 `dired-hide-details-mode' should hide. (Bug#17228)
10612 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10614 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10615 Remove test messages.
10616 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
10617 and `target' twice.
10619 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10621 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
10622 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
10624 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
10626 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10628 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10629 Set "IFS=" when using read builtin, in order to preserve spaces in
10630 the file name. Add test messages for hunting a bug on hydra.
10631 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
10633 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10635 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
10636 Don't prettify a word within a symbol.
10638 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10640 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
10643 2014-04-22 Daniel Colascione <dancol@dancol.org>
10645 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
10646 use defun to define `function-put'.
10648 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10650 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
10651 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
10652 (lisp-mode-variables): Set font-lock-extra-managed-props.
10654 * emacs-lisp/byte-run.el (function-put): New function.
10655 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
10656 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
10657 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
10660 2014-04-22 Daniel Colascione <dancol@dancol.org>
10662 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
10663 Add `full-p' parameter; when nil, call `macroexpand' instead of
10666 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
10667 Improve docstrings.
10669 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
10670 Use lambda function values, not quoted lambdas.
10671 (byte-compile-recurse-toplevel): Remove extraneous &optional.
10673 * emacs-lisp/cl-macs.el
10674 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
10675 (cl-struct-slot-value): Conditionally use aref or nth so that the
10676 compiler produces optimal code.
10678 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10680 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
10681 (inline): Don't inline cl--set-elt.
10682 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
10683 Define as inlinable instead.
10684 (cl-struct-set-slot-value): Remove.
10686 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
10687 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
10690 2014-04-21 Daniel Colascione <dancol@dancol.org>
10692 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
10693 last two parameters after all.
10694 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
10695 (cl--compiler-macro-assoc,cl-struct-slot-value)
10696 (cl-struct-set-slot-value): Stop using them.
10698 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10700 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
10701 entry in image-mode-winprops-alist.
10703 2014-04-21 Daniel Colascione <dancol@dancol.org>
10705 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
10706 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
10707 (byte-compile-toplevel-file-form): Use it.
10709 * emacs-lisp/cl-macs.el:
10710 (cl--loop-let): Properly destructure `while' clauses.
10712 2014-04-20 Daniel Colascione <dancol@dancol.org>
10714 * vc/vc.el (vc-root-dir): New public autoloaded function for
10715 generically finding the current VC root.
10716 * vc/vc-hooks.el (vc-not-supported): New error.
10717 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
10719 2014-04-20 Daniel Colascione <dancol@dancol.org>
10721 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
10723 (cl--const-expr-val): cl--const-expr-val should macroexpand its
10724 argument in case we're inside a symbol-macrolet.
10725 (cl--do-arglist, cl--compiler-macro-typep)
10726 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
10727 environment to `cl--const-expr-val'.
10728 (cl-struct-sequence-type,cl-struct-slot-info)
10729 (cl-struct-slot-offset, cl-struct-slot-value)
10730 (cl-struct-set-slot-value): New functions.
10732 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10734 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
10735 assignments such as "case=hello" (bug#17297).
10737 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
10739 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
10741 (tramp-file-name-handler, tramp-completion-file-name-handler):
10742 Revert patch from 2014-04-10, it isn't necessary anymore.
10743 (tramp-autoload-file-name-handler)
10744 (tramp-register-autoload-file-name-handlers): New defuns.
10745 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
10746 (tramp-register-file-name-handlers): Remove also
10747 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
10748 Do not autoload its invocation, but eval it after loading of 'tramp.
10750 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
10752 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
10754 2014-04-17 Daniel Colascione <dancol@dancol.org>
10756 Add support for bracketed paste mode; add infrastructure for
10757 managing terminal mode enabling and disabling automatically.
10760 (xterm-mouse-mode): Simplify.
10761 (xterm-mouse-tracking-enable-sequence)
10762 (xterm-mouse-tracking-disable-sequence): New constants.
10763 (turn-on-xterm-mouse-tracking-on-terminal)
10764 (turn-off-xterm-mouse-tracking-on-terminal):
10765 Use tty-mode-set-strings and tty-mode-reset-strings terminal
10766 parameters instead of random hooks.
10767 (turn-on-xterm-mouse-tracking)
10768 (turn-off-xterm-mouse-tracking): Delete.
10770 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
10771 (xterm-paste-ending-sequence): New constant.
10772 (xterm-paste): New command used for bracketed paste support.
10774 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
10775 (terminal-init-xterm-bracketed-paste-mode): New function.
10776 (terminal-init-xterm): Call it.
10777 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
10778 and tty-mode-reset-strings instead of random hooks.
10779 (xterm-turn-on-modify-other-keys)
10780 (xterm-turn-off-modify-other-keys)
10781 (xterm-remove-modify-other-keys): Delete obsolete functions.
10783 * term/screen.el: Rewrite to just use the xterm code.
10784 Add copyright notice. Mention tmux.
10786 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
10788 * image-mode.el (image-mode-window-put): Also update the property of
10789 the "default window".
10790 * doc-view.el (doc-view-new-window-function): If no window
10791 exists, move to the last known page.
10793 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10795 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
10796 here-documents (bug#17262).
10798 2014-04-16 Eli Zaretskii <eliz@gnu.org>
10800 * term/pc-win.el (x-list-fonts, x-get-selection-value):
10801 Provide doc strings, as required by snarf-documentation.
10803 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10805 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
10806 arg of overlays-at. Use `invisible-p'.
10808 * obsolete/lucid.el (extent-at):
10809 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
10811 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
10813 2014-04-16 João Távora <joaotavora@gmail.com>
10815 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
10816 links. (Bug#17217).
10818 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10820 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10821 Use mapc to loop over a vector. (Bug#17257).
10823 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
10825 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
10826 patch, there are new problems with file names containing spaces.
10827 Get rid of backticks. (Bug#17238)
10829 2014-04-16 João Távora <joaotavora@gmail.com>
10831 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
10834 2014-04-16 Eli Zaretskii <eliz@gnu.org>
10836 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
10837 (blink-cursor-mode): Mention customization variables and the
10838 effect of 'blink-cursor-blinks'.
10840 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
10842 * simple.el (undo): Prevent insertion of identity mapping into
10843 undo-equiv-table so as undo-only does not inf loop in the presence
10844 of consecutive nils in undo list.
10846 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
10848 * faces.el (make-face): Deprecate optional argument as it is no
10849 longer needed/used since the conditional X resources handling
10850 has been pushed down to make-face-x-resource-internal itself.
10851 (make-empty-face): Don't pass optional argument to make-face.
10853 2014-04-16 Karl Fogel <kfogel@red-bean.com>
10855 * savehist.el (savehist-save): Remove workaround for a read-passwd
10856 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
10857 noticing that the shim was still present.
10859 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10861 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
10863 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
10865 * faces.el (face-set-after-frame-default): Remove unused local variable.
10867 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10869 * progmodes/grep.el: Use lexical-binding.
10870 (grep-expand-template): Pass explicit lexical env to `eval'.
10871 (zrgrep): Let-bind grep-find-template explicitly.
10873 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
10874 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
10876 2014-04-12 Eli Zaretskii <eliz@gnu.org>
10878 * international/characters.el <standard-case-table>: Add entries
10879 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
10880 Set category of Coptic characters be 'g' (Greek).
10882 2014-04-12 Leo Liu <sdl.web@gmail.com>
10884 * progmodes/octave.el (completion-table-with-cache):
10885 Define if not available.
10886 (octave-goto-function-definition, octave-sync-function-file-names)
10887 (octave-find-definition-default-filename):
10888 Backquote upattern for compatibility.
10890 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
10892 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
10893 name twice due to backticks. (Bug#17238)
10895 2014-04-12 Glenn Morris <rgm@gnu.org>
10897 * term/w32-win.el (x-win-suspend-error):
10898 * term/x-win.el (x-win-suspend-error): Sync docs.
10900 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
10902 * faces.el (make-face): Remove deprecated optional argument.
10903 The conditional application of X resources is handled directly by
10904 make-face-x-resource-internal since Emacs 24.4.
10905 (make-empty-face): Don't pass optional argument to make-face.
10907 2014-04-11 Glenn Morris <rgm@gnu.org>
10909 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
10911 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10913 Ediff's overlay priorities cause more trouble than they solve.
10914 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
10915 (ediff-highest-priority): Remove function (bug#17234).
10916 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
10917 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
10918 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
10919 overlay priorities.
10921 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
10923 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
10924 entry; use symbol boundaries to avoid mis-matches.
10926 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
10928 * net/tramp.el (tramp-file-name-handler)
10929 (tramp-completion-file-name-handler): Avoid recursive loading.
10931 * net/tramp-sh.el (tramp-make-copy-program-file-name):
10932 Quote result also locally.
10934 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10936 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
10937 Remove left-over code.
10939 * newcomment.el (comment-indent-new-line): Sink code where it's used.
10940 Reuse the previous comment's indentation unconditionally if it's on its
10943 2014-04-09 Daniel Colascione <dancol@dancol.org>
10945 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
10946 `no-syntax-crossing' arguments. Forward to `up-list'.
10947 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
10948 Implement logic for escaping from strings. Use narrowing to deal
10951 2014-04-09 Leo Liu <sdl.web@gmail.com>
10953 * net/rcirc.el (rcirc-connection-info): New variable.
10954 (rcirc-connect): Use it to store connection info.
10955 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
10956 for killed process.
10957 (rcirc-cmd-reconnect): New command. (Bug#17045)
10958 (rcirc-mode, set-rcirc-encode-coding-system)
10959 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
10961 2014-04-09 Daniel Colascione <dancol@dancol.org>
10963 * emacs-lisp/cl-indent.el: Add comment claiming
10964 facility is also good for elisp.
10965 (lisp-indent-find-method): New function.
10966 (common-lisp-indent-function): Recognize cl-loop.
10967 (common-lisp-indent-function-1): Recognize cl constructs; use
10968 `lisp-indent-find-method' instead of `get' directly.
10969 (if): Use else-body style for elisp.
10971 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
10973 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10974 Module methods. (Bug#17216)
10976 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
10978 * help.el (describe-bindings): Fix buffer handling (bug#17210).
10979 (describe-bindings-internal): Mark obsolete.
10981 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
10983 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
10984 buffer-file-name, and buffer-file-truename any more.
10986 2014-04-08 Leo Liu <sdl.web@gmail.com>
10988 Use lexical-binding and require cl-lib.
10989 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
10990 (rcirc-handler-generic, rcirc-fill-paragraph)
10991 (rcirc-format-response-string, rcirc-target-buffer)
10992 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
10993 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
10994 (rcirc-ctcp-sender-PING, rcirc-browse-url)
10995 (rcirc-markup-timestamp, rcirc-markup-attributes)
10996 (rcirc-markup-my-nick, rcirc-markup-urls)
10997 (rcirc-markup-bright-nicks, rcirc-markup-fill)
10998 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
10999 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
11000 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
11001 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
11002 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
11003 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
11004 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
11005 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
11006 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
11007 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
11010 2014-04-07 João Távora <joaotavora@gmail.com>
11012 * elec-pair.el (electric-pair--syntax-ppss):
11013 When inside comments parse from comment beginning.
11014 (electric-pair--balance-info): Fix typo in comment.
11015 (electric-pair--in-unterminated-string-p): Delete.
11016 (electric-pair--unbalanced-strings-p): New function.
11017 (electric-pair-string-bound-function): New var.
11018 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11019 according to `electric-pair--in-unterminated-string-p'
11021 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11022 Inhibit quote pairing if point-max is inside an unterminated string.
11023 (electric-pair--looking-at-unterminated-string-p): Delete.
11024 (electric-pair--in-unterminated-string-p): New function.
11026 2014-04-07 Glenn Morris <rgm@gnu.org>
11028 * shell.el (shell-directory-tracker):
11029 Go back to just ignoring failures. (Bug#17159)
11031 2014-04-07 João Távora <joaotavora@gmail.com>
11033 Fix `electric-pair-delete-adjacent-pairs' in modes binding
11034 backspace. (Bug#16981)
11035 * elec-pair.el (electric-pair-backward-delete-char): Delete.
11036 (electric-pair-backward-delete-char-untabify): Delete.
11037 (electric-pair-mode-map): Bind backspace to a menu item filtering
11038 a new `electric-pair-delete-pair' command.
11039 (electric-pair-delete-pair): New command.
11041 * progmodes/python.el (python-electric-pair-string-delimiter):
11042 Fix triple-quoting electricity. (Bug#17192)
11044 * elec-pair.el (electric-pair-post-self-insert-function):
11045 Don't skip whitespace when `electric-pair-text-pairs' and
11046 `electric-pair-pairs' were used. syntax to
11047 electric-pair--skip-whitespace. (Bug#17183)
11049 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11051 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
11054 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
11056 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
11057 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
11059 2014-04-07 Glenn Morris <rgm@gnu.org>
11061 * help.el (view-lossage): Doc tweak.
11063 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
11065 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
11066 only when inhibit-x-resources is nil, and do that earlier in the
11067 function. Doc fix. (Bug#16694)
11068 (face-spec-choose): Accept additional optional argument, whose
11069 value is returned if no matching attributes are found.
11070 (face-spec-recalc): Use the new optional argument when calling
11071 face-spec-choose. (Bug#16378)
11072 (make-face-x-resource-internal): Do nothing when
11073 inhibit-x-resources is non-nil. Don't touch the default face if
11074 reversed video is given--as was done in previous versions of Emacs.
11075 (face-set-after-frame-default): Don't call
11076 make-face-x-resource-internal here. (Bug#16434)
11078 2014-04-07 Tassilo Horn <tsdh@gnu.org>
11080 * doc-view.el (doc-view-bookmark-jump):
11081 Use `bookmark-after-jump-hook' to jump to the right page after the
11082 buffer is shown in a window. (bug#16090)
11084 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11086 * international/characters.el (mirroring): Fix last change:
11087 instead of loading uni-mirrored.el explicitly, do that implicitly
11088 by creating the 'mirroring' uniprop table. This avoids announcing
11089 the loading of uni-mirrored.el.
11091 2014-04-07 Glenn Morris <rgm@gnu.org>
11093 * files.el (buffer-stale--default-function)
11094 (buffer-stale-function, revert-buffer--default):
11095 * autorevert.el (auto-revert-buffers): Doc tweaks.
11097 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11099 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
11101 2014-04-07 Glenn Morris <rgm@gnu.org>
11103 * files.el (make-backup-file-name-function)
11104 (make-backup-file-name, make-backup-file-name--default-function)
11105 (make-backup-file-name-1, find-backup-file-name)
11106 (revert-buffer-function, revert-buffer-insert-file-contents-function)
11107 (buffer-stale--default-function, buffer-stale-function)
11108 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
11109 (revert-buffer, revert-buffer--default)
11110 (revert-buffer-insert-file-contents--default-function):
11111 Doc fixes related to defaults no longer being nil.
11112 (make-backup-file-name-function): Bump :version.
11113 Restore nil as a valid but deprecated custom type.
11115 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
11117 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11118 Handle $' used as a variable (bug#17174).
11120 * progmodes/perl-mode.el (perl-indent-new-calculate):
11121 Handle forward-sexp failure (bug#16985).
11122 (perl-syntax-propertize-function): Add "foreach" and "for" statement
11123 modifiers introducing expressions (bug#17116).
11125 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
11127 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
11129 2014-04-05 Leo Liu <sdl.web@gmail.com>
11131 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11132 Add define-compilation-mode.
11134 2014-04-04 João Távora <joaotavora@gmail.com>
11136 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
11137 parse from comment beginning.
11138 (electric-pair--balance-info): Fix typo in comment.
11139 (electric-pair--in-unterminated-string-p): Delete.
11140 (electric-pair--unbalanced-strings-p): New function.
11141 (electric-pair-string-bound-function): New var.
11142 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11143 according to `electric-pair--in-unterminated-string-p'.
11145 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11147 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
11148 Move declaration before first use.
11149 (reftex-move-to-next-arg): Silence compiler warning.
11151 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
11153 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
11154 Use `window-total-width' instead of `window-width'.
11156 2014-04-03 Daniel Colascione <dancol@dancol.org>
11158 * subr.el (set-transient-map): Remove rms's workaround entirely;
11159 use new `suspicious-object' subr to mark our lambda for closer
11160 scrutiny during gc.
11162 2014-04-02 Richard Stallman <rms@gnu.org>
11164 * subr.el (set-transient-map): Comment out previous change.
11166 2014-04-02 Glenn Morris <rgm@gnu.org>
11168 * menu-bar.el (menu-bar-file-menu):
11169 * vc/ediff.el (ediff-current-file):
11170 Update for revert-buffer-function no longer being nil by default.
11172 * simple.el (command-execute): Respect nil disabled-command-function.
11174 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11176 * simple.el (command-execute): Do not execute the command when it
11177 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
11179 2014-04-02 Juri Linkov <juri@jurta.org>
11181 * dired-aux.el (dired-compress-file): Don't use string-match-p
11182 because its match data is used afterwards.
11184 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
11186 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
11189 2014-04-02 João Távora <joaotavora@gmail.com>
11191 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11192 Inhibit quote pairing if point-max is inside an unterminated string.
11193 (electric-pair--looking-at-unterminated-string-p):
11195 (electric-pair--in-unterminated-string-p): New function.
11197 2014-04-01 Daniel Colascione <dancol@dancol.org>
11199 * minibuffer.el (minibuffer-complete): Prevent assertion failure
11200 when trying to complete the prompt.
11202 2014-03-31 Leo Liu <sdl.web@gmail.com>
11204 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11205 Refactor out eldoc-documentation-function-default.
11206 (eldoc-documentation-function-default): New function.
11207 (eldoc-documentation-function): Change value.
11209 2014-03-31 Glenn Morris <rgm@gnu.org>
11211 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
11213 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
11214 (vhdl-compose-components-package, vhdl-compose-configuration):
11215 Abbreviate default-directory (missing from some previous upstream sync).
11217 2014-03-31 Reto Zimmermann <reto@gnu.org>
11219 Sync with upstream vhdl mode v3.35.2.
11220 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11221 (top-level): No longer require assoc.
11222 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
11223 New functions. Use throughout to replace aget etc.
11224 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
11225 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
11226 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
11227 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
11228 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
11229 except `vhdl-compiler'.
11230 (vhdl-error-regexp-add-emacs): Remove all other compilers,
11233 2014-03-31 Glenn Morris <rgm@gnu.org>
11235 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
11236 Revert 2014-03-26 merge goof; go back to using defalias.
11238 2014-03-30 Daniel Colascione <dancol@dancol.org>
11240 * comint.el (comint-send-input):
11241 Deactivate completion-in-region-mode before we send comint input.
11244 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
11247 2014-03-29 Glenn Morris <rgm@gnu.org>
11249 * textmodes/reftex.el: Manage most autoloads automatically.
11250 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
11251 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
11252 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
11253 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
11254 * textmodes/reftex-toc.el: Set generated-autoload-file,
11255 and add autoload cookies for reftex.el.
11256 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
11258 2014-03-28 Glenn Morris <rgm@gnu.org>
11260 * cus-start.el (report-emacs-bug-address): Set custom properties.
11261 * mail/emacsbug.el (report-emacs-bug-address):
11262 Variable is now defined in emacs.c.
11264 * mail/emacsbug.el (report-emacs-bug):
11265 Include system-configuration-features.
11267 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
11269 * simple.el (cycle-spacing): Never delete spaces on first run by
11270 default, but do so in a new 'fast mode and if there are already
11271 N spaces (the previous behavior).
11272 Compare N with its value in previous invocation so that changing
11273 prefix argument restarts `cycle-spacing' sequence.
11274 The idea is that with this change, binding M-SPC to
11275 `cycle-spacing' should not introduce any changes in behavior of
11276 the binding so long as users do not type M-SPC twice in a raw with
11277 the same prefix argument or lack thereof.
11279 2014-03-28 Glenn Morris <rgm@gnu.org>
11281 * faces.el (term-file-aliases): New variable.
11282 (tty-run-terminal-initialization): Respect term-file-aliases.
11283 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
11284 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
11285 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
11287 2014-03-27 Glenn Morris <rgm@gnu.org>
11289 * startup.el (inhibit-startup-hooks): Doc tweak.
11290 (normal-top-level): Simplify running of hooks.
11291 For window-setup-hook, respect inhibit-startup-hooks.
11292 (command-line-1): Don't set window-setup-hook to nil.
11294 Allow selective autoloading from obsolete/ directory.
11295 * Makefile.in (obsolete-autoloads): New rule.
11296 (autoloads): Run obsolete-autoloads.
11297 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
11298 * simple.el (iswitchb-mode): Remove hand-written autoloads.
11300 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
11302 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11303 Highlight special globals with font-lock-builtin-face. (Bug#17057)
11305 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11306 Don't propertize `?' or `!' as symbol constituent when after
11309 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
11311 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
11312 which is no longer needed and causes trouble in GTK builds (bug#17046).
11314 * emacs-lisp/package-x.el (package--archive-contents-from-url):
11315 Use url-insert-file-contents; package-handle-response no longer exists.
11317 2014-03-26 Daniel Colascione <dancol@dancol.org>
11319 * simple.el (process-menu-mode-map): New variable.
11320 (process-menu-delete-process): New command.
11322 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11324 * emacs-lisp/package.el: Fix bug#16733 (again).
11325 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
11326 (url-http-target-url): Remove unused declarations.
11327 (package-handle-response): Remove.
11328 (package--with-work-buffer): Use url-insert-file-contents and simplify.
11329 (package--download-one-archive): Use current-buffer instead of
11330 dynamic binding of `buffer'.
11331 (describe-package-1): Do not decode readme-string.
11333 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
11335 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
11337 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
11338 from 2014-03-07, it decreases performance unnecessarily. Let-bind
11339 `remote-file-name-inhibit-cache' to nil in the second pass.
11340 (tramp-find-executable): Do not call "which" on SunOS.
11341 (tramp-send-command-and-check): Fix docstring.
11342 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
11343 check whether source directory has set the sticky bit.
11345 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
11347 * simple.el (primitive-undo): Only process marker adjustments
11348 validated against their corresponding (TEXT . POS). Issue warning
11349 for lone marker adjustments in undo history. (Bug#16818)
11350 (undo-make-selective-list): Add marker adjustments to selective
11351 undo list based on whether their corresponding (TEXT . POS) is in
11352 the region. Remove variable adjusted-markers, which was unused
11353 and only non nil during undo-make-selective-list.
11354 (undo-elt-in-region): Return nil when passed a marker adjustment
11355 and explain in function doc.
11357 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11359 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
11361 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11363 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
11364 Match special global variables without curlies, too.
11365 (ruby-font-lock-keywords): Simplify the matcher for special global
11366 variables. Don't require a non-word character after the variable.
11369 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11371 * simple.el (redisplay-highlight-region-function): Increase priority of
11372 overlay to make sure boundaries are visible (bug#15899).
11374 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11376 * frameset.el (frameset--initial-params): Fix typo in parameter name.
11377 (frameset-restore): Compare display strings with equal.
11379 * frame.el (make-frame): Don't quote display name in error message,
11380 it is already a string.
11382 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11384 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
11387 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11389 * emacs-lisp/package.el (package--add-to-archive-contents):
11390 Include already installed and built-in packages in
11391 `package-archive-contents'.
11392 (package-install): Don't include already installed packages in the
11393 options during interactive invocation. (Bug#16762)
11394 (package-show-package-list): If the buffer is already displayed in
11395 another window, switch to that window.
11397 2014-03-26 Reto Zimmermann <reto@gnu.org>
11399 Sync with upstream vhdl mode v3.35.1.
11400 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11401 (vhdl-compiler-alist): Doc fix.
11402 (vhdl-goto-line): Remove.
11403 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
11404 (vhdl-mode) <paragraph-start>: Fix value.
11405 (vhdl-fix-statement-region): Not `for' in wait-statement.
11406 (vhdl-beautify-region): Also (un)tabify.
11407 (vhdl-get-visible-signals):
11408 Scan declarative part of generate statements.
11409 (vhdl-template-record): Fix indentation for record type declaration.
11410 (vhdl-expand-abbrev, vhdl-expand-paren):
11411 Revert to using fset again rather than defalias.
11412 (vhdl-scan-directory-contents): Tweak.
11413 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
11414 (vhdl-compose-components-package):
11415 Replace vhdl-goto-line with forward-line.
11416 (top-level): Tweak speedbar frame selection.
11417 (vhdl-generate-makefile-1): Support for compilers with no
11418 unit-to-file name mapping (create directory with dummy files).
11420 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
11422 Sync with upstream verilog-mode revision 702457d.
11423 * progmodes/verilog-mode.el (verilog-mode-version): Update.
11424 (create-lockfiles): Declare.
11425 (verilog-read-decls): Fix module header imports, bug709.
11426 Reported by Victor Lau.
11427 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
11428 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
11429 interface-only modules, bug721. Reported by Dean Hoyt.
11431 2014-03-26 Glenn Morris <rgm@gnu.org>
11433 * obsolete/gulp.el: Move here from emacs-lisp/.
11435 * files.el (lock-buffer, unlock-buffer, file-locked-p):
11436 Remove fallback aliases, since they are always defined now.
11438 2014-03-24 Daniel Colascione <dancol@dancol.org>
11440 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
11441 instead of cl-loop search function.
11443 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11445 * calendar/parse-time.el (parse-time-iso8601-regexp)
11446 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
11449 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11451 * net/dns.el (network-interface-list): Define for XEmacs.
11453 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
11455 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
11456 the network interfaces changed.
11457 (dns-query): Use it to flush the data.
11459 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
11461 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
11463 2014-03-23 Daniel Colascione <dancol@dancol.org>
11465 Change subword-mode to use `find-word-boundary-function-table' and
11466 replace `capitalized-words-mode'. Also, convert to lexical binding.
11467 * progmodes/cap-words.el: Delete now-obsolete file.
11468 * progmodes/subword.el: Reimplement using
11469 `find-word-boundary-function-table'.
11470 (subword-mode-map): Hollow out.
11471 (capitalized-words-mode): Define as obsolete alias for
11473 (subword-mode, superword-mode): Tweak documentation to reflect new
11474 implementation; call `subword-setup-buffer'.
11475 (subword-forward, subword-capitalize): Add underscore to indicate
11477 (subword-find-word-boundary-function-table): New constant.
11478 (subword-empty-char-table): New constant.
11479 (subword-setup-buffer): New function.
11480 (subword-find-word-boundary): New function.
11482 2014-03-23 Daniel Colascione <dancol@dancol.org>
11484 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
11485 list to look for keyword arguments instead of `memq', fixing
11486 (Bug#3647) --- unfortunately, only for freshly-compiled code.
11487 Please make bootstrap.
11489 2014-03-22 Glenn Morris <rgm@gnu.org>
11491 * dired.el (dired-read-regexp): Make obsolete.
11492 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
11493 (dired-flag-files-regexp):
11494 * dired-aux.el (dired-mark-read-regexp):
11495 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
11497 * startup.el (fancy-startup-text):
11498 * help.el (describe-gnu-project): Visit online info about GNU project.
11500 * help-fns.el (help-fns--interactive-only): New function.
11501 (help-fns-describe-function-functions): Add the above function.
11502 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
11503 (next-line, previous-line): Remove hand-written interactive-only
11504 information from doc strings, it is auto-generated now.
11505 * bookmark.el (bookmark-write):
11506 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
11507 (epa-mail-import-keys): Mark interactive-only,
11508 and remove hand-written interactive-only information from doc strings.
11509 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
11510 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
11511 * files.el (not-modified):
11512 * simple.el (mark-whole-buffer): Mark interactive-only.
11514 * emacs-lisp/byte-run.el (defun-declarations-alist):
11515 Add interactive-only. Doc tweak.
11516 (macro-declarations-alist): Doc tweak.
11517 * subr.el (declare): Doc tweak (add xref to manual).
11518 * comint.el (comint-run):
11519 * files.el (insert-file-literally, insert-file):
11520 * replace.el (replace-string, replace-regexp):
11521 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11522 (delete-forward-char, goto-line, insert-buffer, next-line)
11523 (previous-line): Set interactive-only via declare.
11525 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
11527 * emacs-lisp/package.el (package-desc): Use the contents of the
11528 quoted form, not its cdr. (Bug#16873)
11530 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
11532 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
11533 benefit of doc.c; change parameter profile to match the X function.
11535 2014-03-22 Leo Liu <sdl.web@gmail.com>
11537 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
11538 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
11540 2014-03-21 Richard Stallman <rms@gnu.org>
11542 * battery.el (battery-linux-sysfs): Search for each field
11543 from the beginning of the buffer.
11545 * subr.el (set-transient-map): Clear out function and value
11546 of the temporary symbol when we're done with it.
11548 * mail/rmailsum.el (rmail-summary-delete-forward):
11549 Optimize case of reaching end and handling count.
11550 (rmail-summary-mark-deleted): Optimize when N is current msg.
11551 Don't create new summary line.
11552 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
11553 (rmail-summary-undelete-many): Rewrite for speed.
11554 (rmail-summary-msg-number): New function.
11556 * mail/rmail.el (rmail-delete-message): Update summary.
11557 (rmail-undelete-previous-message): Handle repeat count arg.
11558 (rmail-delete-backward, rmail-delete-forward): Likewise.
11560 2014-03-21 Daniel Colascione <dancol@dancol.org>
11562 * mail/emacsbug.el (report-emacs-bug): Include memory usage
11563 information in bug reports.
11565 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
11567 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
11568 and `tramp-copy-env'.
11570 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
11571 (tramp-maybe-open-connection): Handle `tramp-login-env'.
11573 2014-03-21 Glenn Morris <rgm@gnu.org>
11575 * electric.el (electric-indent-post-self-insert-function): Add doc.
11577 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
11579 * emacs-lisp/package.el (package-compute-transaction):
11580 Use `version-list-<=' to compare the requirement version against
11581 the version of package already to be installed. Update the error
11582 message. (Bug#16826)
11584 * progmodes/ruby-mode.el (ruby-smie-rules):
11585 Add indentation rule for ` @ '. (Bug#17050)
11587 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11589 * align.el (align-regexp): Remove superfluous backslash.
11591 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
11592 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
11593 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
11594 Fix docstring typos.
11595 (ffap-next): Use C-u in docstring.
11596 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
11597 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
11598 Remove superfluous backslashes.
11599 (ffap-string-at-point): Reflow docstring.
11601 * server.el (server-host): Reflow docstring.
11602 (server-unload-function): Fix docstring typo.
11603 (server-eval-at): Remove superfluous backslash.
11605 * skeleton.el (skeleton-insert): Remove superfluous backslash.
11606 (skeleton-insert): Doc fix.
11607 (skeleton-insert): Reflow docstring.
11609 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
11610 (tty-color-approximate, tty-color-by-index, tty-color-values)
11611 (tty-color-desc): Remove superfluous backslashes.
11613 2014-03-21 Glenn Morris <rgm@gnu.org>
11615 * cus-start.el (history-length): Bump :version.
11617 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
11618 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
11619 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
11620 Don't set `make-backup-files'.
11622 * info.el (info--prettify-description): New function,
11623 to give info-finder descriptions consistent case, punctuation.
11624 (Info-finder-find-node): Use it. Sort packages.
11625 Refer to "description" rather than "commentary".
11627 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11629 * frameset.el (frameset--print-register): New function.
11630 (frameset-to-register): Use it.
11632 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
11634 * progmodes/hideif.el (hif-string-to-number): New function.
11635 (hif-tokenize): Use it to understand non-decimal floats.
11637 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
11639 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
11641 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11643 * electric.el (electric-newline-and-maybe-indent): New command.
11644 Bind it globally to C-j.
11645 (electric-indent-mode): Don't mess with the global map any more.
11646 Don't drop the post-self-insert-hook is some buffer is still using it
11649 * bindings.el (global-map): Remove C-j binding.
11651 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
11652 the docstring of functions advised before dumping (bug#16993).
11654 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
11656 * ps-print.el (ps-generate-postscript-with-faces):
11657 Explicitly deactivate the mark (bug#16866).
11658 * simple.el (deactivate-mark): Update region highlight.
11660 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
11662 * emacs-lisp/package.el (describe-package-1):
11663 Decode commentary (bug#16733).
11665 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
11667 * custom.el (defcustom): Doc fix: recommend avoiding destructive
11668 modification of the value argument of :set (bug#16755).
11670 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11672 * simple.el (newline-and-indent): Do autofill (bug#17031).
11674 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
11676 * newcomment.el (comment-normalize-vars): Only add escaping check
11677 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
11678 (comment-beginning): Use `narrow-to-region' instead of moving back
11680 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
11681 (comment-start-skip): Update the docstring.
11683 2014-03-18 Richard Stallman <rms@gnu.org>
11685 * dired.el (dired-display-file): Force use of other window.
11687 2014-03-18 Daniel Colascione <dancol@dancol.org>
11689 * startup.el (tty-handle-args): Remove debug message from 2007.
11691 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11693 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
11694 (advice--make-interactive-form): Use it to avoid (auto)loading function.
11695 (advice--make-1, advice-add, advice-remove):
11696 Remove braindead :advice-pending hack.
11698 2014-03-17 Glenn Morris <rgm@gnu.org>
11700 * calendar/calendar.el (calendar-generate-month): Apply weekend
11701 face to the right days; fixes 2013-08-06 change. (Bug#17028)
11703 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
11705 * net/tramp.el (tramp-action-out-of-band): Read pending output.
11706 (tramp-call-process): Trace also DESTINATION.
11708 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11709 Quote file names when they are local. Remove superfluous trace.
11711 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
11713 * newcomment.el (comment-beginning): If `comment-start-skip'
11714 doesn't match, move back one char and try again. (Bug#16971)
11716 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11717 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
11718 Set `comment-start-skip' to a simpler value that doesn't try to
11719 check if the semicolon is escaped (this is handled by
11720 `syntax-ppss' now). (Bug#16971)
11722 * progmodes/scheme.el (scheme-mode-variables): Same.
11724 2014-03-16 Martin Rudalics <rudalics@gmx.at>
11726 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
11727 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
11728 current (Bug#16816, Bug#17007).
11729 (with-current-buffer-window): New macro doing the same as
11730 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
11731 * help.el (help-print-return-message): Warn in doc-string to not
11732 use this in `with-help-window'.
11733 (describe-bindings-internal): Call `describe-buffer-bindings'
11734 from within help buffer. See Juanma's scenario in (Bug#16816).
11735 (with-help-window): Update doc-string.
11736 * dired.el (dired-mark-pop-up):
11737 * files.el (save-buffers-kill-emacs):
11738 * register.el (register-preview): Use `with-current-buffer-window'
11739 instead of `with-temp-buffer-window'.
11741 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
11743 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
11744 Implement inserting into current buffer, documented in their docstrings.
11745 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
11746 (rst-section-tree-point, rst-forward-section, rst-indent)
11747 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
11748 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
11749 (rst-font-lock-handle-adornment-pre-match-form)
11750 (rst-repeat-last-character): Reflow docstrings.
11751 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
11752 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
11753 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
11754 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
11755 Fix docstring typos.
11756 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
11757 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
11758 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
11760 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
11762 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
11763 for compatibility with other ports.
11764 (ns-initialize-window-system): Use it. It is set in term/common-win.el
11765 from the -xrm command line argument, but in the Nextstep port its value
11766 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
11768 * progmodes/python.el (defconst, python-syntax-count-quotes)
11769 (python-indent-region, python-indent-shift-right)
11770 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
11771 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
11772 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
11773 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
11774 (inferior-python-mode, python-shell-make-comint, run-python-internal)
11775 (python-shell-buffer-substring, python-shell-send-buffer)
11776 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
11777 (python-completion-complete-at-point, python-fill-docstring-style)
11778 (python-eldoc-function, python-imenu-format-item-label)
11779 (python-imenu-format-parent-item-label)
11780 (python-imenu-format-parent-item-jump-label)
11781 (python-imenu--build-tree, python-imenu-create-index)
11782 (python-imenu-create-flat-index): Fix docstring typos.
11783 (python-indent-context, python-shell-prompt-regexp, run-python):
11784 Remove superfluous backslashes.
11785 (python-indent-line, python-nav-beginning-of-defun)
11786 (python-shell-get-buffer, python-shell-get-process)
11787 (python-info-current-defun, python-info-current-line-comment-p)
11788 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
11789 (python-indent-post-self-insert-function, python-shell-send-file)
11790 (python-shell-completion-get-completions)
11791 (python-shell-completion-complete-or-indent)
11792 (python-eldoc--get-doc-at-point): Reflow docstrings.
11794 2014-03-14 Glenn Morris <rgm@gnu.org>
11796 * emacs-lisp/package.el (package-menu-mode-map):
11797 Replace use of obsolete function alias. Tweak menu item text.
11799 * info.el (Info-finder-find-node):
11800 Ignore the `emacs' metapackage. (Bug#10813)
11802 * finder.el (finder-list-matches): Include unversioned packages
11803 in the result of a keyword search.
11805 * finder.el (finder--builtins-descriptions): New constant.
11806 (finder-compile-keywords): Use finder--builtins-descriptions.
11808 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
11810 * simple.el (blink-matching-paren): Describe the new value,
11811 `jump', enabling the old behavior.
11812 (blink-matching-open): Use that value. (Bug#17008)
11814 2014-03-14 Glenn Morris <rgm@gnu.org>
11816 * finder.el (finder-no-scan-regexp): Add leim-list.
11817 (finder-compile-keywords):
11818 Don't skip files with same basename. (Bug#14010)
11819 * Makefile.in (setwins_finder): New, excluding leim.
11820 (finder-data): Use setwins_finder.
11822 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
11823 (help-function-arglist, help-make-usage): Move from here...
11824 * help.el (help-split-fundoc, help-add-fundoc-usage)
11825 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
11826 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
11828 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
11830 * net/socks.el (socks, socks-override-functions)
11831 (socks-find-services-entry):
11832 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
11833 (hif-find-ifdef-block):
11834 * progmodes/modula2.el (m2-indent): Fix docstring typos.
11836 * net/tls.el (tls-program): Reflow docstring.
11838 * progmodes/pascal.el (pascal-mode-abbrev-table)
11839 (pascal-imenu-generic-expression, pascal-auto-endcomments)
11840 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
11841 (pascal-outline-mode): Fix docstring typos.
11842 (pascal-mode): Let define-derived-mode document mode hook.
11843 (pascal-uncomment-area): Reflow.
11844 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
11846 * progmodes/opascal.el (opascal-compound-block-indent)
11847 (opascal-case-label-indent): Fix docstring typos.
11848 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
11850 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
11852 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11853 Fontify multiple adjacent negation chars. (Bug#17004)
11855 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
11857 * emacs-lisp/package.el (package--prepare-dependencies):
11858 Accept requirements without explicit version (bug#14941).
11860 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11862 * register.el (register-separator, copy-to-register): Doc fixes.
11863 (register-preview-default): Remove unnecessary call to concat.
11865 * frameset.el (frameset-restore): When checking for a visible frame,
11866 use the action map instead of calling visible-frame-list.
11868 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
11870 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
11872 2014-03-12 Martin Rudalics <rudalics@gmx.at>
11874 * window.el (fit-frame-to-buffer): Get maximum width from
11875 display's width instead of height.
11877 2014-03-12 Glenn Morris <rgm@gnu.org>
11879 * desktop.el (desktop-restore-frames)
11880 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
11881 (desktop-restore-reuses-frames): Doc tweaks.
11883 * electric.el (electric-indent-mode): Doc fix.
11885 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11887 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
11888 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
11889 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
11890 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
11891 (cvs-dired-use-hook): Fix docstring typos.
11892 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
11895 * vc/pcvs-defs.el (cvs-auto-remove-handled)
11896 (cvs-auto-remove-directories, cvs-default-ignore-marks)
11897 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
11898 (cvs-execute-single-dir): Fix docstring typos.
11900 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
11901 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
11903 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
11905 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
11906 Fix docstring typos.
11908 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11910 * frameset.el (frameset--jump-to-register): Add autoload; it could be
11911 called from jump-to-register after unloading the frameset package.
11913 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
11915 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
11916 (bug#16975). Deactivate the mark before setting it to nil.
11917 (activate-mark): Do nothing if region is already active.
11919 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
11921 * frameset.el (frameset--target-display): Remove definition; declare.
11922 (frameset-save, frameset-restore): Let-bind frameset--target-display.
11924 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
11926 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
11927 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
11928 when the advice is pending.
11929 (advice-remove): Remove this marker when not needed any more.
11931 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
11933 * frameset.el: Separate options for reusing frames and cleaning up.
11934 (frameset--reuse-list): Remove definition; declare.
11935 (frameset--action-map): Declare.
11936 (frameset--find-frame-if): Doc fix.
11937 (frameset--restore-frame): Cache frame action.
11938 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
11939 how to clean up the frame list after restoring. Remove cleaning
11940 options from REUSE-FRAMES. Change all keyword values to symbols.
11941 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
11943 * desktop.el (desktop-restore-forces-onscreen)
11944 (desktop-restore-reuses-frames): Use non-keyword values.
11945 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
11947 2014-03-10 Glenn Morris <rgm@gnu.org>
11949 * files.el (find-file): Doc fix: update info node name.
11951 * emacs-lisp/advice.el (ad-add-advice, defadvice):
11952 Doc fix: remove references to deleted info nodes.
11954 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
11956 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
11957 Do not add nil to the environment, when there's no remote `locale'.
11958 (tramp-find-inline-encoding): Check, that the remote host has
11959 installed perl, before sending scripts.
11961 2014-03-10 Leo Liu <sdl.web@gmail.com>
11963 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
11964 Clear eldoc-last-message. (Bug#16920)
11966 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11968 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
11971 2014-03-09 Juri Linkov <juri@jurta.org>
11973 * ansi-color.el (ansi-color-names-vector): Copy default colors
11974 from `xterm-standard-colors' that look well on the default white
11975 background (and also on the black background) to avoid illegible
11976 color combinations like yellow-on-white and white-on-white.
11977 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
11979 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
11981 * frameset.el (frameset-restore): When no frame is visible, do not
11982 generate a list of frames, just make visible the selected one.
11984 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
11986 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
11987 it only contains the repository root. (Bug#16897)
11989 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
11991 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
11992 only when `remote-file-name-inhibit-cache' is nil.
11993 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
11995 2014-03-06 Martin Rudalics <rudalics@gmx.at>
11997 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
11999 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
12000 fit-frame-to-buffer variable. Fix doc-string.
12001 (fit-window-to-buffer): Set ONLY argument in call of
12002 fit-frame-to-buffer. Fix doc-string.
12004 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
12006 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
12007 (tramp-action-password): Clear password cache if needed.
12008 (tramp-read-passwd): Do not clear password cache.
12010 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
12011 cache unless it is the first password request.
12013 2014-03-06 Glenn Morris <rgm@gnu.org>
12015 * simple.el (newline): Doc tweak.
12017 * emacs-lisp/shadow.el (load-path-shadows-find):
12018 Ignore dir-locals. (Bug#12357)
12020 2014-03-05 Glenn Morris <rgm@gnu.org>
12022 * files.el (interpreter-mode-alist):
12023 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
12025 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
12027 * frameset.el (frameset--initial-params): Filter out null entries.
12029 2014-03-05 Martin Rudalics <rudalics@gmx.at>
12031 * window.el (window-min-height, window-min-width):
12032 Rewrite doc-strings.
12033 (window-body-size): Add PIXELWISE argument to make it consistent
12036 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
12038 * finder.el (finder-mode-map, finder-mode-syntax-table):
12039 Revert part of 2014-02-28 change.
12041 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
12043 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
12044 (eww-setup-buffer): Clear next/prev/etc more reliably.
12045 (eww-textarea-map): [tab] doesn't work on tty.
12046 Reported by Mario Lang.
12048 * net/shr.el (shr-map): Ditto.
12050 2014-03-04 Glenn Morris <rgm@gnu.org>
12052 * minibuffer.el (completion-hilit-commonality):
12053 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
12055 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
12057 * hilit-chg.el (hilit-chg-unload-function): New function.
12058 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
12059 (hilit-chg-map-changes): Prefer cardinal number to digit.
12060 (hilit-chg-display-changes): Reflow docstring.
12061 (highlight-changes-rotate-faces): Remove superfluous backslash.
12063 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
12065 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
12066 `tramp-send-command-and-check'.
12068 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
12070 * hexl.el (hexl-address-region, hexl-ascii-region)
12071 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
12072 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
12073 (hexl-forward-word, hexl-previous-line, hexl-next-line):
12074 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
12075 (hexl-mode): Doc fix.
12076 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
12077 (hexl-mode-ruler): Fix typos in docstrings.
12079 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
12080 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
12081 Remove superfluous backslashes.
12082 (strokes-last-stroke, strokes-global-map, strokes-mode):
12084 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
12085 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
12086 (strokes-distance-squared, strokes-global-set-stroke)
12087 (strokes-global-set-stroke-string): Doc fixes.
12088 (strokes-help): Fix typos; reflow docstring.
12090 2014-03-04 Martin Rudalics <rudalics@gmx.at>
12092 * window.el (window-in-direction): Fix doc-string.
12094 2014-03-04 Glenn Morris <rgm@gnu.org>
12096 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
12097 Explicit error if no grammar.
12098 (smie-config-save): Doc fix. Fix quote typo.
12100 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
12102 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
12103 electric-indent-mode-hook if we obey electric-indent-mode.
12104 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
12105 decide whether we obey electric-indent-mode.
12106 (c-change-set-fl-decl-start, c-extend-after-change-region):
12108 (c-electric-indent-mode-hook): Assume we do want to obey
12109 electric-indent-mode.
12111 * electric.el (electric-indent-mode-has-been-called): Remove.
12112 (electric-indent-mode): Fix accordingly.
12114 * files.el (hack-local-variables): Mention file name in warning.
12116 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
12118 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
12120 * bindings.el: Add comment describing why C-d binds to `delete-char'.
12121 * simple.el (delete-forward-char): Mark as interactive-only.
12123 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
12125 * icomplete.el (icomplete-completions):
12126 Follow-up to 2014-03-01 change.
12128 * icomplete.el: Miscellaneous doc fixes.
12129 Use Icomplete everywhere instead of icomplete for consistency.
12130 (icomplete-max-delay-chars): Fix typo.
12131 (icomplete-mode): Use \[].
12132 (icomplete-tidy, icomplete-exhibit): Reflow.
12133 (icomplete-minibuffer-setup-hook, icomplete-completions):
12134 Remove superfluous backlashes.
12136 * ido.el: Miscellaneous doc fixes.
12137 Use Ido everywhere instead of ido or `ido' for consistency.
12138 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
12139 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
12140 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
12141 (ido-separator): Extract obsolescence info from docstring and declare
12142 with make-obsolete-variable.
12143 (ido-minibuffer-setup-hook): Simplify example.
12144 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
12145 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
12146 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
12147 (ido-everywhere): Reflow docstring.
12148 (ido-toggle-vc): Doc fix.
12149 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
12150 of long list of keybindings.
12152 2014-03-03 Glenn Morris <rgm@gnu.org>
12154 * frame.el (display-pixel-height, display-pixel-width)
12155 (display-mm-dimensions-alist, display-mm-height)
12156 (display-mm-width): Doc tweaks.
12158 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
12160 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
12161 case of undo in region.
12163 2014-03-02 Martin Rudalics <rudalics@gmx.at>
12165 * window.el (fit-window-to-buffer): Fix argument in window-size
12166 call when window is horizontally combined.
12168 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
12170 * icomplete.el (icomplete-completions): Use string-width.
12171 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
12173 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
12175 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12176 Highlight regexp options. (Bug#16914)
12178 2014-03-01 Martin Rudalics <rudalics@gmx.at>
12180 * window.el (window--max-delta-1): Round down when calculating
12181 how many lines/columns we can get from a window.
12183 2014-03-01 Glenn Morris <rgm@gnu.org>
12185 * isearch.el (search-invisible): Doc fix.
12187 * minibuffer.el (completion-hilit-commonality):
12188 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
12189 * comint.el (comint-dynamic-list-completions): Doc fix.
12190 * comint.el (comint-dynamic-list-completions):
12191 * filecache.el (file-cache-minibuffer-complete):
12192 * tempo.el (tempo-display-completions):
12193 * eshell/em-hist.el (eshell-list-history):
12194 Replace use of obsolete argument of display-completion-list.
12196 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
12198 * icomplete.el (icomplete-completions):
12199 Revert back to using "..." when ?… cannot be displayed.
12201 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
12203 * finder.el (finder-unload-function): New function.
12205 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
12207 * dframe.el (dframe-detach):
12208 * find-dired.el (find-dired, find-name-dired):
12209 * finder.el (finder-mode-map, finder-mode-syntax-table)
12210 (finder-headmark, finder-select, finder-mouse-select):
12211 Fix docstring typos.
12213 2014-02-28 Martin Rudalics <rudalics@gmx.at>
12215 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
12216 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
12217 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12218 Fix doc-string based on a suggestion by Nicolas Richard
12219 <theonewiththeevillook@yahoo.fr>.
12220 * help.el (with-help-window): Fix doc-string.
12222 2014-02-28 Ivan Kanis <ivan@kanis.fr>
12224 * net/shr.el (shr-image-animate): New option.
12225 (shr-put-image): Respect shr-image-animate.
12227 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
12229 * net/tramp-adb.el (tramp-adb-parse-device-names):
12230 Use `accept-process-output'.
12231 (tramp-adb-handle-file-truename): Cache the localname only.
12232 (tramp-adb-handle-make-directory)
12233 (tramp-adb-handle-delete-directory): Flush file properties correctly.
12234 (tramp-adb-handle-set-file-modes): Do not raise an error when file
12235 modes cannot be changed.
12237 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
12238 file properties of symlinks.
12240 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
12242 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
12243 required/optional fields to match development biblatex. (Bug#16781)
12245 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
12247 * saveplace.el (toggle-save-place):
12248 Fix argument handling. (Bug#16673)
12250 2014-02-28 Glenn Morris <rgm@gnu.org>
12252 * minibuffer.el (completions-first-difference)
12253 (completions-common-part, completion-hilit-commonality): Doc fixes.
12255 2014-02-28 Karl Berry <karl@gnu.org>
12257 * info.el (Info-mode-map): Add H for describe-mode,
12258 to synchronize with standalone Info.
12260 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
12262 * progmodes/sql.el (sql-interactive-mode):
12263 Avoid setting global comint-input-ring-separator. (Bug#16814)
12265 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
12267 * net/dbus.el (dbus--init-bus): Declare function.
12268 (dbus-path-local, dbus-interface-local): New defconst.
12269 (dbus-init-bus): Use them.
12270 (dbus-return-values-table): Extend doc.
12271 (dbus-handle-bus-disconnect): Extend error message.
12273 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
12275 * subr.el (y-or-n-p): Fix double space issue in message.
12277 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
12279 * net/tramp.el (tramp-call-process): Improve trace message.
12280 (tramp-handle-insert-file-contents): Trace error case.
12282 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12283 <insert-directory>: Use `tramp-handle-insert-directory'.
12284 (tramp-adb-handle-insert-directory): Remove function.
12285 (tramp-adb-send-command-and-check): New defun, replacing
12286 `tramp-adb-command-exit-status'. Change all callees.
12287 (tramp-adb-handle-file-attributes)
12288 (tramp-adb-handle-directory-files-and-attributes): Use it.
12289 (tramp-adb-ls-output-name-less-p):
12290 Use `directory-listing-before-filename-regexp'.
12291 (tramp-adb-handle-delete-directory): Flush also file properties of
12292 the truename of directory.
12293 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
12294 (tramp-adb-handle-file-local-copy): Make the local copy readable.
12295 (tramp-adb-handle-write-region): Implement APPEND.
12296 (tramp-adb-handle-rename-file): Make it more robust. Flush file
12297 properties correctly.
12298 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
12299 variables. Check for connected devices only when needed.
12301 2014-02-27 Glenn Morris <rgm@gnu.org>
12303 * minibuffer.el (completion-table-dynamic)
12304 (completion-table-with-cache): Doc fixes.
12306 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
12307 (completing-read-multiple): Doc fixes.
12309 2014-02-27 Daniel Colascione <dancol@dancol.org>
12311 * minibuffer.el (completion--nth-completion): Fix indentation.
12313 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
12314 explicit tramp path is empty.
12316 2014-02-27 Glenn Morris <rgm@gnu.org>
12318 * emacs-lisp/crm.el (completing-read-multiple):
12319 Empower help-enable-auto-load.
12321 2014-02-26 Glenn Morris <rgm@gnu.org>
12323 * startup.el (command-line): Don't init the tty in daemon mode.
12325 Avoid calling tty-setup-hook twice, eg if a term file
12326 explicitly calls tty-run-terminal-initialization. (Bug#16859)
12327 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
12328 (tty-create-frame-with-faces): Use it.
12329 * startup.el (command-line): Pass run-hook argument
12330 to tty-run-terminal-initialization.
12332 * dired.el (dired-restore-desktop-buffer): Demote errors;
12333 eg in case a glob match fails. (Bug#16884)
12335 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
12337 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
12338 error from `read-from-string'. (Bug#16850)
12340 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
12341 result of `completing-read' in the interactive form. (Bug#16854)
12343 2014-02-25 Glenn Morris <rgm@gnu.org>
12345 * image.el (image-animate, image-animate-timeout):
12346 Stop animating images in dead buffers. (Bug#16878)
12348 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
12350 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
12352 * startup.el (term-setup-hook): Doc fix. Make obsolete.
12353 * term/sun.el (sun-raw-prefix-hooks):
12354 Use tty-setup-hook instead of term-setup-hook.
12355 (terminal-init-sun): Construct message from bytecomp plist.
12356 * term/wyse50.el (enable-arrow-keys): Doc fix.
12358 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12360 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
12361 Fix docstring typos.
12363 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
12365 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
12367 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
12369 * minibuffer.el (completion--try-word-completion):
12370 Fix error when completing M-x commands (bug#16808).
12372 2014-02-24 Leo Liu <sdl.web@gmail.com>
12374 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
12376 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12378 * apropos.el (apropos-print): Avoid formatting error when
12379 apropos-do-all and apropos-compact-layout are both t.
12381 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12383 * apropos.el (apropos-property, apropos-all-words-regexp)
12384 (apropos-true-hit, apropos-variable, apropos-print):
12385 Fix docstring typos, and remove obsolete comment.
12387 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
12389 * net/tramp-sh.el (tramp-sh-handle-file-truename):
12390 Preserve trailing "/". (Bug#16851)
12392 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
12394 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
12395 after `=>' (bug#16811).
12396 (ruby-smie-rules): Handle the inconsistent second element of the
12397 list returned by `smie-indent--parent'.
12398 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
12401 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12403 * elec-pair.el (electric-pair-text-syntax-table)
12404 (electric-pair-syntax-info, electric-pair--syntax-ppss)
12405 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
12406 (electric-pair--looking-at-unterminated-string-p): Doc fix.
12407 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
12409 2014-02-22 Glenn Morris <rgm@gnu.org>
12411 * imenu.el (imenu--generic-function): Doc fix.
12413 * register.el (frame-configuration-to-register): Make obsolete.
12415 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
12417 * desktop.el (desktop-save-buffer-p): Do not fail when
12418 desktop-files-not-to-save is nil. Return t for true result
12421 2014-02-22 Daniel Colascione <dancol@dancol.org>
12423 * net/secrets.el (secrets-create-item, secrets-search-items):
12424 Check that attribute values are strings, avoiding the construction
12425 of invalid dbus messages.
12427 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12429 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
12430 defun-declarations-alist.
12432 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
12434 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
12437 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12439 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
12440 (whitespace-newline, whitespace-trailing, whitespace-line)
12441 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
12442 (whitespace-space-after-tab): Fix typo in docstrings.
12444 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
12446 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
12448 * electric.el (electric-indent-functions-without-reindent):
12449 Add `yaml-indent-line'.
12451 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12453 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
12454 It has done nothing for years; should be removed after the release.
12456 * simple.el (choose-completion): Fix docstring typo.
12457 (read-quoted-char-radix): Remove unneeded * in docstring.
12458 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
12459 Don't escape parentheses unnecessarily in docstrings.
12461 2014-02-21 Martin Rudalics <rudalics@gmx.at>
12463 Fix handling of window-min-height/-width (Bug#16738).
12464 * window.el (window--dump-window, window--dump-frame):
12466 (window--min-size-1): Account for window dividers.
12467 When window-resize-pixelwise is nil, delay rounding till after the
12468 sum of the window components has been calculated.
12469 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
12470 nil make sure at least one text line and two text columns remain
12472 (window-resize): Signal an error when window-resize-apply fails.
12473 (window--resize-child-windows): Fix calculation of by how many
12474 pixels a window can still be shrunk via window-new-normal.
12475 (adjust-window-trailing-edge): Call window--resizable with
12476 correct TRAIL argument.
12478 (with-temp-buffer-window): Don't evaluate BODY within
12479 with-current-buffer (Bug#16816).
12481 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
12483 * net/tramp.el (tramp-check-cached-permissions):
12484 Call `file-attributes' with `suffix' being a symbol but a string.
12486 2014-02-21 Daniel Colascione <dancol@dancol.org>
12488 * net/dbus.el (dbus-init-bus-1): Declare new subr.
12489 (dbus-init-bus): New function: call into dbus-init-bus-1
12490 and installs a handler for the disconnect signal.
12491 (dbus-call-method): Rewrite to look for result in cons.
12492 (dbus-call-method-handler): Store result in cons.
12493 (dbus-check-event): Recognize events with nil sender as valid.
12494 (dbus-handle-bus-disconnect): New function. React to bus
12495 disconnection signal by synthesizing dbus error for each
12496 pending synchronous or asynchronous call.
12497 (dbus-notice-synchronous-call-errors): New function.
12498 (dbus-handle-event): Raise errors directly only when `dbus-debug'
12499 is true, not all the time.
12501 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12503 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
12504 Remove obsolescence declarations, these variables do not exist anymore.
12506 * savehist.el (savehist-save-minibuffer-history)
12507 (savehist-additional-variables, savehist-file, savehist-mode-hook)
12508 (savehist-save-hook, savehist-coding-system, savehist-loaded)
12509 (savehist-load, savehist-install, savehist-autosave): Fix typos;
12510 mostly, refer to "Savehist mode" when talking about the mode,
12511 and not the function.
12513 * saveplace.el (save-place): Remove redundant info in docstring.
12514 (save-place-forget-unreadable-files, toggle-save-place)
12515 (save-place-forget-unreadable-files, save-place-dired-hook):
12516 Fix typos and remove unneeded backslashes.
12518 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
12520 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
12521 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
12523 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12524 <insert-directory>: Use `tramp-handle-insert-directory'.
12525 (tramp-gvfs-handle-insert-directory): Remove function.
12527 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12528 Call `tramp-handle-insert-directory'.
12530 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
12532 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
12533 before the start of buffer/region (bug#16799).
12535 2014-02-20 Glenn Morris <rgm@gnu.org>
12537 * isearch.el (search-invisible): Doc fix.
12539 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
12541 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
12544 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12546 * frameset.el (frameset-restore): Delay removing an old frame's
12547 duplicate id until the new frame has been correctly created.
12549 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
12551 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
12552 (tramp-check-cached-permissions): Call `file-attributes' if the
12555 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12556 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12558 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12559 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12560 (tramp-gvfs-maybe-open-connection): Set always connection
12561 properties, even if target is mounted already.
12563 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
12564 Set tramp-autoload cookie.
12565 (tramp-get-remote-touch): New defun.
12566 (tramp-sh-handle-set-file-times): Use it.
12567 (tramp-sh-handle-directory-files-and-attributes):
12568 Use `tramp-handle-directory-files-and-attributes' if neither stat
12569 nor perl are available on the remote host.
12571 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
12572 "/". Write long listing only when "l" belongs to the switches.
12574 * net/trampver.el: Update release number.
12576 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12578 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
12580 2014-02-19 Martin Rudalics <rudalics@gmx.at>
12582 * window.el (window-state-put): Allow WINDOW to refer to an
12583 internal window (Bug#16793).
12585 2014-02-19 Glenn Morris <rgm@gnu.org>
12587 * textmodes/remember.el: Move provide statement to end.
12588 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
12589 (remember-notes): Doc fixes.
12591 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12593 * delsel.el (delete-char): Restore incorrectly erased property
12596 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
12598 * frameset.el (frameset--restore-frame): When a frame is being reused
12599 and its root window is not alive, delete all the frame's windows before
12600 restoring the window state. This works around the issue in bug#16793.
12602 2014-02-18 Glenn Morris <rgm@gnu.org>
12604 * textmodes/remember.el (remember-data-directory)
12605 (remember-directory-file-name-format, remember-store-in-files)
12606 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
12607 (remember-notes-save-and-bury-buffer)
12608 (remember-notes--kill-buffer-query): Doc fixes.
12610 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
12612 2014-02-17 Alan Mackenzie <acm@muc.de>
12614 Connect electric-indent-mode up with CC Mode. Bug #15478.
12615 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
12616 to electric-indent-{,local-}-mode.
12617 (c-basic-common-init): Set electric-indent-inhibit.
12618 Initialize c-electric-flag from electric-indent-mode.
12619 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
12620 New hook functions which propagate electric-indent-mode to CC mode.
12622 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
12623 hit, toggle electric-indent-local-mode.
12625 * electric.el (electric-indent-mode-has-been-called):
12628 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
12630 * frameset.el (frameset-cfg-id): New function.
12631 (frameset--reuse-frame, frameset-restore): Use it.
12632 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
12634 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
12636 * ido.el (ido-file-internal): Remove unused var `d'.
12637 Use \` for to match BoS. Fit within 80n columns.
12639 2014-02-17 Daniel Colascione <dancol@dancol.org>
12641 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
12642 dbus-call-method check for completion using a busy-wait loop with
12645 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
12647 Sync with Tramp 2.2.9.
12649 * net/trampver.el: Update release number.
12651 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
12653 * ido.el (ido-file-internal): Don't add the name of an existing
12654 directory twice. (Bug#16747)
12656 2014-02-16 Glenn Morris <rgm@gnu.org>
12658 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
12659 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
12661 2014-02-15 Michael R. Mauger <michael@mauger.com>
12663 * progmodes/sql.el: Version 3.4
12664 (sql-oracle-options): New default value ("-L").
12665 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
12666 (sql-placeholders-filter): Correct placeholder pattern.
12667 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
12668 (sql-login-delay): New variable.
12669 (sql-product-interactive): Use it.
12671 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
12673 * frameset.el (frameset--jump-to-register): Check that buffer is live
12676 2014-02-15 Glenn Morris <rgm@gnu.org>
12678 * info.el (info-initialize): Revert 2014-01-10 change.
12680 2014-02-14 Glenn Morris <rgm@gnu.org>
12682 * replace.el (map-query-replace-regexp)
12683 (read-regexp-defaults-function, read-regexp): Doc fixes.
12685 * dired.el (dired-read-regexp):
12686 * faces.el (list-faces-display):
12687 * misearch.el (multi-isearch-read-matching-buffers)
12688 (multi-isearch-read-matching-files):
12689 * play/cookie1.el (cookie-apropos):
12690 * progmodes/grep.el (grep-read-regexp): Doc fixes.
12692 * textmodes/remember.el (remember): Use frameset-to-register
12693 rather than frame-configuration-to-register.
12695 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
12697 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
12698 incorrect keybinding.
12700 2014-02-13 Daniel Colascione <dancol@dancol.org>
12702 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
12703 when adding overlays so that line numbers from compiler match line
12706 2014-02-13 Glenn Morris <rgm@gnu.org>
12708 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
12710 * jit-lock.el (jit-lock-mode): Doc fix.
12712 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
12714 * apropos.el (apropos-read-pattern): When the user passes an empty
12715 string, give a more helpful error message than "Wrong type
12716 argument: stringp, nil".
12718 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
12720 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
12722 2014-02-13 Glenn Morris <rgm@gnu.org>
12724 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
12726 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
12728 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
12729 shift-select commands.
12731 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
12733 * progmodes/js.el (js-indent-line): Don't widen.
12734 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
12736 2014-02-12 Glenn Morris <rgm@gnu.org>
12738 * icomplete.el (icomplete): Add info-link to defgroup.
12739 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
12740 (icomplete-minibuffer-map, icomplete-mode)
12741 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
12743 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
12744 (package-menu-filter): Rename from package-menu-filter-interactive.
12747 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
12749 * frameset.el (frameset--jump-to-register): Select the required
12750 window and buffer before restoring position (bug#16696).
12752 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
12754 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
12756 2014-02-10 Glenn Morris <rgm@gnu.org>
12758 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
12760 2014-02-10 Eli Zaretskii <eliz@gnu.org>
12762 * w32-common-fns.el (x-get-selection): Doc fix.
12763 * select.el (x-get-selection): Doc fix. (Bug#15109)
12765 * face-remap.el (face-remap-add-relative)
12766 (face-remap-remove-relative, face-remap-reset-base)
12767 (face-remap-set-base): Call force-mode-line-update to redisplay
12768 the current buffer due to potential change in faces. (Bug#16709)
12770 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
12772 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
12773 script more robustly.
12775 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12777 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
12779 * simple.el (choose-completion): Doc fix (bug#14160).
12781 * subr.el (event-start): Say what a nil EVENT value means.
12783 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
12786 * progmodes/grep.el (find-program): Doc fix (bug#14289).
12788 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
12790 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
12792 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
12793 predicate function (bug#15455).
12795 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
12797 * ielm.el (inferior-emacs-lisp-mode): Instead of
12798 `comment-use-global-state', set `comment-use-syntax'.
12800 2014-02-10 Glenn Morris <rgm@gnu.org>
12802 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
12804 2014-02-09 Alan Mackenzie <acm@muc.de>
12806 Fix c-invalidate-state-cache on narrowed buffers.
12807 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
12808 Widen when setting and clearing the CPP delimiter properties.
12810 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
12812 * help.el (describe-bindings): Doc fix (bug#9888).
12814 * files.el (save-buffer): Use ARG as the parameter name for
12815 consistency (bug#10346).
12816 (save-buffer): Clarify the 0 argument (bug#10346).
12818 * cus-edit.el (customize-apropos): Fix error string.
12819 (custom-buffer-create): Doc fix (bug#11122).
12820 (custom-sort-items): Doc fix (bug#11121).
12822 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
12824 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
12825 (icomplete-simple-completing-p): Mention the previous variable.
12827 * font-lock.el (font-lock-value-in-major-mode): Clarify the
12828 meaning of the parameter (bug#12282).
12830 * files.el (find-file-noselect): Clarify prompt when changing
12831 readedness (bug#13261).
12832 (locate-file): Suffixes aren't returned, so don't say that they
12834 (backup-inhibited): Doc clarification (bug#12525).
12836 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
12837 before we actually start to delete things (bug#16331).
12839 * subr.el (event-start): Doc fix (bug#14228).
12840 (event-end): Ditto.
12842 2014-02-09 Glenn Morris <rgm@gnu.org>
12844 * emacs-lisp/warnings.el (lwarn):
12845 Empower help-enable-auto-load. (Bug#15940)
12847 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
12849 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
12852 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
12854 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
12855 Insert output at end of buffer. (Bug#16120)
12857 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12859 * simple.el (choose-completion-string-functions): Document new
12860 calling convention (bug#14153).
12861 (execute-extended-command): Clarify doc string (bug#13373).
12863 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
12865 * find-dired.el (find-name-dired): Doc fix (bug#14290).
12866 (find-grep-dired): Doc fix (bug#14288).
12868 2014-02-08 Juri Linkov <juri@jurta.org>
12870 * isearch.el (isearch-quote-char): Check character validity
12871 like in `quoted-insert' (bug#16677).
12873 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12875 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
12877 * isearch.el (isearch-hide-immediately): Doc clarification
12880 * simple.el (line-move): Document utility function used many
12881 places in the Emacs sources (bug#14843).
12883 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
12884 (dired-prev-marked-file): Doc fix (bug#14855).
12885 (dired-up-directory): Doc fix (bug#14848).
12887 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
12889 * files.el (file-relative-name): Doc fix (bug#15159).
12891 * fringe.el (fringe-styles): Doc fix (bug#15239).
12893 * isearch.el (isearch-filter-predicate): Documentation typo fix
12896 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
12898 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
12900 * replace.el (replace-match-maybe-edit): Doc clarification
12903 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
12905 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
12907 2014-02-08 Glenn Morris <rgm@gnu.org>
12909 * help-fns.el (describe-variable):
12910 Check {file,dir}-local-variables-alist, and buffer-file-name,
12911 in the correct buffer.
12913 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
12915 * help-fns.el (describe-variable): Fix the case where
12916 a value is directory-local with no dir-locals file. (Bug#16635)
12918 2014-02-08 Glenn Morris <rgm@gnu.org>
12920 * abbrev.el (edit-abbrevs-mode):
12921 Derive from fundamental-mode. (Bug#16682)
12923 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
12925 * simple.el (quoted-insert): Check character validity (bug#16677).
12927 2014-02-07 Juri Linkov <juri@jurta.org>
12929 * desktop.el (desktop-read): Claim the lock when the owner is not
12930 the current process. (Bug#16157)
12932 2014-02-07 Juri Linkov <juri@jurta.org>
12934 * desktop.el (desktop-buffers-not-to-save): Change default from nil
12935 to "\\` ". (Bug#16651)
12937 2014-02-07 Juri Linkov <juri@jurta.org>
12939 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
12940 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
12941 (desktop-auto-save-cancel-timer): New function with some code from
12942 `desktop-auto-save-set-timer'.
12943 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
12944 Instead of setting `desktop-save-mode' to nil, call
12945 `desktop-save-mode' with arg 0. (Bug#16630)
12947 2014-02-07 Glenn Morris <rgm@gnu.org>
12949 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
12950 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
12951 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
12953 * obsolete/iswitchb.el: Move to obsolete/.
12954 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
12955 since obsolete/ is not scanned for autoloads.
12956 * emacs-lisp/authors.el (authors-valid-file-names):
12959 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
12960 Disable now non-functional find-file-hook.
12962 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
12964 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
12965 instead of ";" in order to avoid additional prompts. Let heredoc
12966 scripts read from tty. (Bug#16582)
12967 (tramp-send-command): No special handling of heredocs, it isn't
12970 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
12972 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
12973 with a space (bug#16664). Limit the symbols considered to the ones
12974 that are bound or fbound (bug#16646).
12976 2014-02-06 Glenn Morris <rgm@gnu.org>
12978 * epa.el (epa-mail-aliases): Doc fix.
12980 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
12982 * emacs-lisp/lisp.el (lisp-completion-at-point):
12983 Use `completion-table-merge' instead of `completion-table-in-turn'
12986 * minibuffer.el (completion-table-merge): New function.
12988 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
12990 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
12991 (tramp-sh-handle-set-file-acl)
12992 (tramp-sh-handle-start-file-process)
12993 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
12994 (tramp-find-executable, tramp-send-command): Use it.
12996 2014-02-05 Glenn Morris <rgm@gnu.org>
12998 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
13000 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
13002 * progmodes/python.el (python-shell-send-string)
13003 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
13005 2014-02-04 Anders Lindgren <andlind@gmail.com>
13007 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
13008 the names (bug#16620).
13010 2014-02-03 Martin Rudalics <rudalics@gmx.at>
13012 * faces.el (window-divider): New default value. Rewrite doc-string.
13013 (window-divider-first-pixel, window-divider-last-pixel): New faces.
13015 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
13017 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
13018 `protected' and `public' can also be called without arguments.
13020 2014-02-03 Glenn Morris <rgm@gnu.org>
13022 * register.el (window-configuration-to-register)
13023 (frame-configuration-to-register): Unadvertise unused argument.
13024 * frameset.el (frameset-to-register): Remove unused argument.
13026 * frameset.el (frameset-to-register):
13027 * kmacro.el (kmacro-to-register):
13028 * register.el (increment-register):
13029 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
13030 (calc-append-to-register, calc-prepend-to-register):
13031 * play/gametree.el (gametree-layout-to-register)
13032 (gametree-apply-register-layout):
13033 * textmodes/picture.el (picture-clear-rectangle-to-register)
13034 (picture-yank-rectangle-from-register):
13035 * vc/emerge.el (emerge-combine-versions-register):
13036 Use register-read-with-preview to read registers.
13038 2014-02-03 João Távora <joaotavora@gmail.com>
13040 * elec-pair.el (electric-pair-backward-delete-char): Don't error
13041 when at beginning of (possibly narrowed) buffer.
13043 2014-02-02 Daniel Colascione <dancol@dancol.org>
13045 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
13046 Also try to display local help from just before point.
13048 2014-02-02 Alan Mackenzie <acm@muc.de>
13050 c-parse-state. Don't "append-lower-brace-pair" in certain
13051 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
13052 recognised as a comment.
13054 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
13055 as well as normal comment starter.
13056 (c-parse-state-get-strategy): Extra return possibility
13058 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
13059 return value list to indicate replacement of a brace-pair cons
13061 (c-parse-state-1): With 'back-and-forward, only call
13062 c-append-lower-brace-pair-to state-cache when cons-separated.
13064 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
13066 * term/ns-win.el (ns-suspend-error): New function.
13067 (ns-initialize-window-system): Add ns-suspend-error to
13068 suspend-hook (Bug#16612).
13070 2014-02-02 Daniel Colascione <dancol@dancol.org>
13072 * progmodes/cc-defs.el (c-find-assignment-for-mode):
13073 Make loading cc-mode silent.
13075 2014-02-02 Daniel Colascione <dancol@dancol.org>
13077 * comint.el (comint-prompt-read-only): Change doc to suggest
13080 2014-02-02 Glenn Morris <rgm@gnu.org>
13082 * register.el (register-read-with-preview, point-to-register)
13083 (window-configuration-to-register, frame-configuration-to-register)
13084 (jump-to-register, number-to-register, view-register, insert-register)
13085 (copy-to-register, append-to-register, prepend-to-register)
13086 (copy-rectangle-to-register): Doc fixes.
13088 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
13090 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
13091 * emacs-lisp/find-func.el (find-function-C-source): Idem.
13092 * emacs-lisp/nadvice.el (advice--cd*r): New function.
13093 * help-fns.el (describe-function-1): Use it.
13095 2014-02-02 Glenn Morris <rgm@gnu.org>
13097 * register.el (register-preview-default): New function,
13098 split from register-preview.
13099 (register-preview-function): Rename from register-preview-functions,
13100 make it not a hook.
13101 (register-preview): Use register-preview-function.
13102 (register-read-with-preview): Error on non-character event. (Bug#16595)
13104 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
13106 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
13107 `:' before binary operators (bug#16609). Don't check for `:'
13108 before `[' and `(', or their syntax status. A percent literal
13109 can't end with either.
13110 (ruby-font-lock-keywords): For built-ins that require arguments,
13111 check that they're followed by something that looks like argument
13114 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
13116 * subr.el (butlast): Document what an omitted N means (bug#13437).
13119 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
13121 * net/shr.el (shr-generic): Make into a defsubst to make the stack
13122 depth shallower (bug#16587).
13123 (shr-tag-svg): Respect `shr-inhibit-images'.
13124 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
13126 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
13128 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
13129 (ruby-smie-grammar): Make "." right-associative. Make its priority
13130 lower than the ternary and all binary operators.
13131 (ruby-smie-rules): Indent "(" relative to the first non-"."
13132 parent, or the first "." parent at indentation.
13133 Use `ruby-align-chained-calls' for indentation of "." tokens.
13136 2014-01-31 Juri Linkov <juri@jurta.org>
13138 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
13139 from `make-hash-table'.
13141 * textmodes/ispell.el (ispell-init-process): Change message format
13142 to be consistent with other messages.
13144 2014-01-31 Glenn Morris <rgm@gnu.org>
13146 * delsel.el (delete-selection-mode): Doc fix.
13148 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
13149 (trace-function-background): Doc fixes.
13151 * ido.el (ido-use-virtual-buffers): Doc fix.
13152 Reset :version, since the default value has not changed.
13154 * register.el (register-preview-delay, register-read-with-preview):
13157 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
13158 do not mess with mail-buffer position (fixes 2009-11-03 change).
13159 * progmodes/cc-mode.el (c-submit-bug-report):
13160 Check auto-fill-mode is bound. (Bug#16592)
13162 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
13164 * startup.el (fancy-splash-image-file): New function,
13165 split from fancy-splash-head.
13166 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
13167 so that we are both using the same image. (Bug#16574)
13169 2014-01-30 Glenn Morris <rgm@gnu.org>
13171 * simple.el (eval-expression): Doc fix.
13173 * hexl.el (hexl-mode-hook):
13174 * ielm.el (ielm-mode-hook):
13175 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
13176 (lisp-interaction-mode-hook):
13177 * progmodes/cfengine.el (cfengine3-documentation-function):
13178 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
13180 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
13182 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
13183 is a symbol (bug#16584).
13185 2014-01-30 Glenn Morris <rgm@gnu.org>
13187 * help.el (help-for-help-internal): Add "P" to text.
13189 2014-01-29 Glenn Morris <rgm@gnu.org>
13191 * simple.el (just-one-space, cycle-spacing): Doc fixes.
13193 2014-01-28 Martin Rudalics <rudalics@gmx.at>
13195 * window.el (fit-frame-to-buffer): Fix calculations for margins and
13196 height constraints.
13198 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
13200 * progmodes/hideif.el: Extend to full CPP expression syntax.
13201 (hif-token-alist): Add missing tokens.
13202 (hif-token-regexp): Add support for float/octal/hex immediates.
13203 (hif-string-literal-regexp): New const.
13204 (hif-tokenize): Recognize strings and float/octal/hex immediates.
13205 (hif-exprlist): New function.
13206 (hif-parse-if-exp): Use it.
13207 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
13208 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
13209 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
13210 (hif-logxor, hif-comma): New functions.
13212 2014-01-28 Glenn Morris <rgm@gnu.org>
13214 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
13216 * indent.el (tab-stop-list): Doc fix. Add :version.
13218 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
13219 (cvs-append-to-ignore): Add compatibility alias.
13221 2014-01-27 Glenn Morris <rgm@gnu.org>
13223 * dired.el (dired-hide-details-mode): Don't autoload it,
13224 since it cannot be used outside Dired buffers anyway.
13226 * emulation/cua-base.el (cua-mode): Doc fix.
13228 * dired.el (dired-hide-details-hide-symlink-targets)
13229 (dired-hide-details-hide-information-lines)
13230 (dired-hide-details-mode): Doc fixes.
13232 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
13233 * strokes.el (strokes-file): Doc fix. Bump :version.
13234 (strokes-help): Doc fix.
13235 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
13236 * emulation/viper.el (viper): Doc fix for custom group.
13237 (top-level): Remove oh-so-no-longer-relevant text about vip.
13238 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
13240 * ido.el (ido-save-directory-list-file):
13241 * saveplace.el (save-place-file):
13242 * calendar/timeclock.el (timeclock-file):
13243 * net/quickurl.el (quickurl-url-file):
13244 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13245 * progmodes/idlwave.el (idlwave-config-directory):
13246 * textmodes/remember.el (remember-data-file):
13249 2014-01-26 Glenn Morris <rgm@gnu.org>
13251 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
13252 Doc fix. Make obsolete.
13253 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
13255 * sort.el (delete-duplicate-lines): Doc fix.
13257 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13259 * progmodes/ada-mode.el (ada):
13260 * woman.el (woman): Link to info manual and Commentary section.
13262 * progmodes/flymake.el (flymake):
13263 * nxml/nxml-mode.el (nxml):
13264 * net/eww.el (eww):
13265 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
13266 * htmlfontify.el (htmlfontify):
13269 * ido.el (ido): Link to info manual.
13271 2014-01-25 Leo Liu <sdl.web@gmail.com>
13273 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
13275 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
13277 * net/shr.el (shr-tag-img): Prefer the title over the alt text
13280 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
13282 * net/eww.el (eww-download-callback):
13283 Fix reference to eww-download-directory.
13285 * emacs-lisp/bytecomp.el (byte-compile-file):
13286 Remove unused local variable `file-name'.
13288 2014-01-24 Glenn Morris <rgm@gnu.org>
13290 * woman.el (woman-default-faces, woman-monochrome-faces):
13291 Fix obsolescence specification.
13293 * subr.el (with-demoted-errors): Doc fix.
13295 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
13297 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
13298 (cl--macroexp-fboundp): New function.
13299 (cl--make-type-test): Use it.
13301 2014-01-23 Glenn Morris <rgm@gnu.org>
13303 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
13304 * simple.el (eval-expression): Doc fixes.
13306 2014-01-22 Glenn Morris <rgm@gnu.org>
13308 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
13310 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13312 * emacs-lisp/package.el: Write files silently.
13313 (package-autoload-ensure-default-file, package--write-file-no-coding)
13314 (package-generate-description-file, package--download-one-archive)
13315 (package-install-from-archive): Tell `write-region' to stay quiet.
13316 (package-menu-mode, package-menu--print-info): Omit the Archive column
13317 if there's only one archive.
13318 (package-all-keywords, package--has-keyword-p): Remove dead code.
13320 2014-01-22 Glenn Morris <rgm@gnu.org>
13322 * version.el (emacs-bzr-version-bzr): Fix typo.
13324 * version.el (emacs-repository-get-version):
13325 Check either .bzr or .git, but not both.
13326 Make the git case actually use the DIR argument, and return nil
13327 rather than the empty string.
13328 Avoid error if .git exists but the git executable is not found.
13330 2014-01-22 Martin Rudalics <rudalics@gmx.at>
13332 Fixes in window size functions around Bug#16430 and Bug#16470.
13333 * window.el (window-total-size, window-size): New argument ROUND.
13334 (window--min-delta-1, window-min-delta, window--max-delta-1):
13335 Be more conservative when calculating the numbers of lines or
13336 columns a window can shrink (Bug#16430).
13337 (fit-window-to-buffer): Simplify code.
13338 * term.el (term-window-width): Call window-body-width again.
13340 2014-01-22 Glenn Morris <rgm@gnu.org>
13342 * image.el (image-format-suffixes): Doc fix.
13344 * international/quail.el (quail-define-package): Doc fix.
13346 * emacs-lisp/authors.el (authors-valid-file-names)
13347 (authors-renamed-files-alist): Additions.
13349 * vc/vc-git.el (vc-git-print-log): Remove --follow;
13350 reverts 2014-01-09 change. (Bug#16422)
13352 * calc/calc-embed.el (thing-at-point-looking-at):
13353 * emacs-lisp/map-ynp.el (x-popup-dialog):
13354 * obsolete/lmenu.el (x-popup-dialog):
13355 * emacs-lisp/package.el (url-recreate-url):
13356 * mail/mailclient.el (clipboard-kill-ring-save):
13357 * subr.el (x-popup-dialog): Update declaration.
13358 * mail/rmail.el (rmail-mime-message-p):
13359 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
13361 2014-01-21 Daniel Colascione <dancol@dancol.org>
13363 * progmodes/sh-script.el (sh--inside-noncommand-expression):
13364 Correctly detect when we're inside an arithmetic expansion form
13365 containing nested parenthesis.
13366 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
13367 to detect cases where we shouldn't expand "<<" to a heredoc
13370 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
13372 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
13373 (eldoc--message-command-p): New function.
13374 (eldoc-display-message-p): Use it.
13375 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
13376 message is not automatically erased for us.
13377 (eldoc-print-current-symbol-info): Erase previous message, if any.
13379 2014-01-21 Tassilo Horn <tsdh@gnu.org>
13381 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
13382 specify it's an interactive function.
13384 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
13385 Fix regex used for scanning for citation keys which failed for
13386 citations with optional arguments.
13388 2014-01-21 Leo Liu <sdl.web@gmail.com>
13390 * simple.el (read--expression): Don't enable eldoc-mode.
13392 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
13394 * simple.el (move-beginning-of-line): Make sure we don't move forward
13397 2014-01-20 Juri Linkov <juri@jurta.org>
13399 * saveplace.el (toggle-save-place, save-place-to-alist)
13400 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
13401 'dired-mode) before checking for dired-directory. (Bug#16477)
13403 2014-01-20 Juri Linkov <juri@jurta.org>
13405 * indent.el (indent-line-to): Use backward-to-indentation
13406 instead of back-to-indentation. (Bug#16461)
13408 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
13410 Revert some of the CANNOT_DUMP fix (Bug#16494).
13411 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
13412 but fixing this can wait until after the next release.
13413 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
13415 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
13417 * eshell/esh-mode.el (eshell-password-prompt-regexp):
13418 Use `password-word-equivalents'.
13419 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
13420 to t. (Bug#5664, Bug#13124)
13422 2014-01-19 Alan Mackenzie <acm@muc.de>
13424 Bind open-paren-in-column-0-is-defun-start to nil at some entry
13426 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
13427 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
13428 * progmodes/cc-mode.el (c-before-change, c-after-change)
13429 (c-font-lock-fontify-region): Bind it here.
13431 2014-01-19 Martin Rudalics <rudalics@gmx.at>
13433 * term.el (term-window-width): Call window-text-width instead of
13434 window-width (Bug#16470).
13436 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
13438 * simple.el (password-word-equivalents): Remove duplicates.
13439 Sort, to make this easier next time.
13440 Downcase. Omit ": " after "jelszó".
13442 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
13444 * term/common-win.el (saved-region-selection): Defvar it.
13445 (x-select-text): Set saved-region-selection (Bug#16382).
13447 2014-01-18 Glenn Morris <rgm@gnu.org>
13449 * emacs-lisp/authors.el (authors-aliases)
13450 (authors-renamed-files-alist): Add some entries.
13452 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
13454 * net/tramp.el (tramp-password-prompt-regexp):
13455 Use `password-word-equivalents' if available.
13456 (tramp-action-password, tramp-process-one-action)
13457 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
13459 2014-01-17 Chong Yidong <cyd@gnu.org>
13461 * simple.el (password-word-equivalents): New defcustom.
13462 * comint.el (comint-password-prompt-regexp): Use it. Bump version
13464 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
13467 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
13469 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
13470 (ruby-align-to-stmt-keywords): Change the default value.
13471 Use `ruby-alignable-keywords' to generate the possible customization
13473 (ruby-smie-rules): Instead of using a hardcoded list of alignable
13474 keywords, check against the value of `ruby-alignable-keywords'
13475 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
13477 2014-01-17 Glenn Morris <rgm@gnu.org>
13479 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
13481 Make M-x authors return zero *Authors Errors* from current logs.
13482 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
13483 (authors-ignored-files): Add some entries, remove others.
13484 (authors-ambiguous-files, authors-valid-file-names):
13486 (authors-renamed-files-alist): Add, remove, and adjust entries.
13487 (authors-renamed-files-regexps): Add some entries.
13488 Remove some very broad ones. Make some entries `lax'.
13489 (authors-lax-changelogs): New constant.
13490 (authors-disambiguate-file-name): Treat top-level specially.
13491 (authors-lax-changelog-p): New function.
13492 (authors-canonical-file-name): Check file as written against
13493 authors-valid-file-names. Do not special-case etc/.
13494 Handle `lax' logs and authors-renamed-files-regexps elements.
13496 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
13498 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
13499 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
13502 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13504 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
13505 Assume we're already in the proper buffer.
13506 Inspired by Anders Lindgren <andlind@gmail.com>.
13507 (follow-post-command-hook): Call it from the right buffer.
13508 (follow-comint-scroll-to-bottom): Adjust call.
13509 (follow-all-followers): Use get-buffer-window-list.
13511 2014-01-15 Daniel Colascione <dancol@dancol.org>
13513 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
13514 `buffer-file-name' in interactive-form so that we don't leave
13515 pathless file names in `file-name-history'.
13517 2014-01-15 Juri Linkov <juri@jurta.org>
13519 * indent.el (indent-rigidly): Set deactivate-mark to nil
13520 in transient indentation mode. (Bug#16438)
13522 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
13524 * emacs-lisp/package.el (package-desc-keywords): New function
13526 (describe-package-1, package-all-keywords)
13527 (package--has-keyword-p): Use it.
13529 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
13531 * simple.el (define-alternatives): When creating the
13532 COMMAND-alternatives variable, assign COMMAND as its definition
13533 name so that `describe-variable' can relocate it.
13535 2014-01-14 Matthew Leach <matthew@mattleach.net>
13537 * font-lock.el (font-lock-keywords): Fix typo in docstring
13540 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13542 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
13543 line instead of wrongly reset `add-coment' (bug#13577).
13545 2014-01-14 Daiki Ueno <ueno@gnu.org>
13547 * epa-file.el (epa-file-write-region): Encode the region according
13548 to `buffer-file-format'. Problem reported at:
13549 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
13551 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
13553 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
13554 so it applies in the right buffer (bug#16410).
13556 2014-01-13 Daniel Colascione <dancol@dancol.org>
13558 * textmodes/rst.el (rst-define-key): Provide deprecated
13559 keybindings through named functions instead of anonymous ones so
13560 that "??" doesn't appear in describe-mode output.
13562 2014-01-13 Bastien Guerry <bzg@gnu.org>
13564 * simple.el (define-alternatives): Call the selected command
13565 interactively. When setting `COMMAND--implementation' for the
13566 first time, tell the user how to chose another implementation.
13567 Enhance the docstring.
13569 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13571 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
13572 (log-edit--match-first-line): New function.
13573 (log-edit-font-lock-keywords): Use it.
13574 (log-edit-mode): Make jit-lock-defer-multiline work.
13576 2014-01-13 Bastien Guerry <bzg@gnu.org>
13578 * rect.el (rectangle-mark-mode): When the region is not active,
13579 display a message saying that the mark as been set and that
13580 rectangle mode is in use.
13581 (rectangle--highlight-for-redisplay): Only put an overlay with a
13582 visible vertical bar when (display-graphic-p) is non-nil.
13583 This partially fixes Bug#16403.
13585 2014-01-13 Juri Linkov <juri@jurta.org>
13587 * info.el (Info-find-file): Go to DIR before displaying the error
13588 about a nonexistent file if no previous Info file is visited.
13589 Use `user-error' instead of `error' for "Info file %s does not exist".
13590 (Info-find-node-2): In case of a nonexistent node in unwind forms
13591 go to the Top node if there is no previous node to revert to.
13594 2014-01-13 Martin Rudalics <rudalics@gmx.at>
13596 fit-frame/window-to-buffer code fixes including one for Bug#14096.
13597 * window.el (fit-frame-to-buffer): Fix doc-string.
13598 Respect window-min-height/-width. Fit pixelwise when
13599 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
13600 when avoiding that frame goes partially off-screen.
13601 (fit-window-to-buffer): Respect window-min-height/-width
13604 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13606 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
13607 after an empty line.
13609 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
13611 * net/shr.el (shr-render-region): Autoload.
13613 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
13615 * net/eww.el (eww-download-directory): Rename from
13616 `eww-download-path' (Bug#16419).
13618 2014-01-12 Leo Liu <sdl.web@gmail.com>
13620 * dired-x.el (dired-mode-map): Fix last change.
13622 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
13624 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
13627 * emacs-lisp/generic.el (generic--normalize-comments):
13628 Rename from generic--normalise-comments. All uses changed.
13629 * play/bubbles.el (bubbles--neighborhood-score)
13630 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
13631 (bubbles--neighborhood-available)
13632 (bubbles--update-neighborhood-score):
13633 Rename from names with 'neighbourhood'. All uses changed.
13635 2014-01-12 Leo Liu <sdl.web@gmail.com>
13637 Re-implement the feature of showing eldoc info after editing.
13638 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
13639 (eldoc-edit-message-commands): New function.
13640 (eldoc-print-after-edit): New variable.
13641 (eldoc-pre-command-refresh-echo-area): Emit message only by
13642 eldoc-message-commands.
13643 (eldoc-mode): Restrict eldoc-message-commands to editing commands
13644 if eldoc-print-after-edit is set. (Bug#16346)
13645 * simple.el (read--expression): Enable eldoc-mode.
13646 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
13648 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
13649 Eric S. Raymond <esr@thyrsus.com>
13651 * version.el (emacs-repository-get-version): Enhance so the
13652 function works correctly in either a Bazaar or Git repo.
13654 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
13656 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
13657 Goes with removal of the joke manpages from /etc.
13659 2014-01-10 Kenichi Handa <handa@gnu.org>
13661 * mail/rmail.el (rmail-get-coding-system):
13662 Check rmail-get-coding-function before "funcall"ing it.
13664 2014-01-10 Glenn Morris <rgm@gnu.org>
13666 * emacs-lisp/authors.el (authors-fixed-entries):
13667 Update for files that no longer exist.
13669 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
13671 * version.el (emacs-bzr-get-version): Restore compatibilty with
13674 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
13676 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
13679 2014-01-10 Eli Zaretskii <eliz@gnu.org>
13681 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
13683 2014-01-10 Chong Yidong <cyd@gnu.org>
13685 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
13687 2014-01-10 Anders Lindgren <andlind@gmail.com>
13689 * follow.el (follow-cache-command-list): Include right-char and
13692 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
13695 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
13696 * woman.el (woman-mark-horizontal-position):
13697 Rename from woman-mark-horizonal-position. Use changed.
13699 2014-01-10 Glenn Morris <rgm@gnu.org>
13701 * info.el (info-initialize): If running uninstalled, ensure our
13702 own info files are always found first, even if INFOPATH is set.
13704 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
13706 2014-01-09 David Engster <deng@randomsample.de>
13708 * emacs-lisp/eieio-custom.el:
13709 * emacs-lisp/eieio-opt.el: Set generated autoload file to
13710 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
13711 * emacs-lisp/eieio.el: Regenerate autoloads.
13713 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
13715 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
13716 following renames. (Bug#8756)
13718 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
13720 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
13722 (activate-mark): Add `no-tmm' argument.
13723 (set-mark, push-mark-command): Use it instead of running
13724 activate-mark-hook by hand.
13726 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
13728 In preparation for the move to git, sanitize out some
13729 Bazaar-specific names.
13731 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
13733 * version.el (emacs-bzr-version): Name changed to
13734 emacs-repository-version. Obsolete-variable alias made.
13735 * loadup.el: Follow through on this name change.
13736 * mail/emacsbug.el (report-emacs-bug): Factor out any
13737 assumption about the version control system in use.
13739 2014-01-08 David Engster <deng@randomsample.de>
13741 * help-fns.el (help-fns-describe-function-functions):
13742 New variable to call functions for augmenting help buffers.
13743 (describe-function-1): Remove explicit calls to
13744 `help-fns--compiler-macro', `help-fns--parent-mode' and
13745 `help-fns--obsolete'. Put them in above new variable instead, and
13746 call them through `run-hook-with-args'.
13747 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
13748 `eieio-describe-class'. Not meant for interactive use anymore,
13749 but to augment existing help buffers. Remove optional second
13750 argument. Create proper button for file location.
13751 Rewrite function to use `insert' instead of `princ' and `prin1' where
13753 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
13754 (eieio-method-def, eieio-class-def): Move further up.
13755 (describe-method, describe-generic, eieio-describe-method):
13757 (eieio-help-constructor, eieio-help-generic): Rename from
13758 `eieio-describe-constructor' and `eieio-describe-generic', resp.
13759 Rewrite to use `insert' in the current buffer and use proper help
13761 (eieio-help-find-method-definition)
13762 (eieio-help-find-class-definition): Also accept symbols as
13764 (eieio-help-mode-augmentation-maybee): Remove.
13765 (eieio-describe-class-sb): Use `describe-function'.
13766 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
13767 Add `eieio-help-generic' and `eieio-help-constructor'.
13769 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
13772 * language/china-util.el (hz-ascii-designation):
13773 Rename from hz-ascii-designnation.
13774 (hz-ascii-designation): Rename from hz-ascii-designnation.
13777 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
13779 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
13782 2014-01-08 Bastien Guerry <bzg@gnu.org>
13784 * emacs-lisp/package.el (package-delete):
13785 Correctly delete the package from package-alist.
13787 2014-01-08 Daiki Ueno <ueno@gnu.org>
13789 * emacs-lisp/package.el (url-recreate-url): Declare.
13790 (url-http-target-url): Declare.
13791 (package-handle-response): Include requested URL in the error message.
13792 (package--check-signature): Don't re-signal errors from
13793 package--with-work-buffer. Suggested by Stefan Monnier.
13795 2014-01-07 Bastien Guerry <bzg@gnu.org>
13797 * minibuffer.el (completion--try-word-completion): When both a
13798 hyphen and a space are possible candidates for the character
13799 following a word, display both candidates. (Bug#15980)
13801 2014-01-07 Martin Rudalics <rudalics@gmx.at>
13803 * window.el (balance-windows-2): While rounding don't give a
13804 window more than the remainder. Bug#16351, bug#16383.
13806 2014-01-07 Glenn Morris <rgm@gnu.org>
13808 * menu-bar.el (menu-bar-help-extra-packages): Remove.
13809 (menu-bar-help-menu): Use view-external-packages instead.
13811 2014-01-07 Bastien Guerry <bzg@gnu.org>
13813 * emacs-lisp/package.el (package-delete): Also delete the package
13814 name from `package-alist', not its description only.
13816 2014-01-07 Glenn Morris <rgm@gnu.org>
13818 * help.el (view-external-packages):
13819 * menu-bar.el (menu-bar-help-extra-packages):
13820 Visit efaq.info rather than etc/MORE.STUFF.
13822 2014-01-07 Juri Linkov <juri@jurta.org>
13824 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
13825 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
13827 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
13828 that shadows RET. (Bug#16342)
13830 2014-01-07 Chong Yidong <cyd@gnu.org>
13832 * isearch.el (isearch-yank-char, isearch-yank-word)
13833 (isearch-yank-line): Doc fix.
13835 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
13837 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
13838 * emacs-lisp/elint.el (elint-find-builtins):
13839 * emacs-lisp/eldoc.el (eldoc-symbol-function):
13840 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
13841 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
13842 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
13843 * apropos.el (apropos-safe-documentation):
13844 * subr.el (symbol-file): Remove redundant fboundp.
13845 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
13847 2014-01-06 Bastien Guerry <bzg@gnu.org>
13849 * hl-line.el (global-hl-line-overlay): Make a local variable.
13850 (global-hl-line-overlays): New variable to store all overlays.
13851 (global-hl-line-mode): Don't delete overlays from the current
13852 buffer when `global-hl-line-sticky-flag' is non-nil.
13853 (global-hl-line-highlight): Add new overlays to
13854 `global-hl-line-overlays'.
13855 (global-hl-line-unhighlight-all): New function to delete all
13856 overlays when turning off `global-hl-line-mode'.
13857 This fixes Bug#16183.
13859 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
13861 * subr.el (set-transient-map): Fix nested case and docstring.
13863 2014-01-06 Tassilo Horn <tsdh@gnu.org>
13865 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
13868 2014-01-06 Daniel Colascione <dancol@dancol.org>
13870 Fix defun navigation in vc log view.
13872 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
13873 like `beginning-of-defun'.
13874 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
13875 log-view-end-of-defun to log-view-end-of-defun-1. Replace
13876 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
13877 (log-view-extract-comment): Call `log-view-current-entry' directly
13878 instead of relying on broken `log-view-beginning-of-defun' behavior.
13880 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
13883 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
13884 * emacs-lisp/debug.el (cancel-debug-on-entry):
13885 * epg.el (epg-error-to-string):
13886 * files.el (recover-file):
13887 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
13888 * mail/emacsbug.el (report-emacs-bug-hook):
13889 * mail/sendmail.el (mail-recover):
13890 * ses.el (ses-yank-resize):
13891 * term/ns-win.el (ns-print-buffer):
13892 Spelling fixes in diagnostics, mostly for "canceled" with one L.
13893 * epg.el (epg-key-capability-alist): Rename from misspelled version.
13895 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
13897 2014-01-06 Leo Liu <sdl.web@gmail.com>
13899 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
13900 to avoid shadowing global key. (Bug#16354)
13902 2014-01-06 Daniel Colascione <dancol@dancol.org>
13904 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
13907 2014-01-05 Martin Rudalics <rudalics@gmx.at>
13909 * window.el (balance-windows): Add mising t to fix Bug#16351.
13911 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13913 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
13915 (shr-insert): If we have a word that's longer than `shr-width',
13916 break after it anyway. Otherwise we'll do no breaking once we get
13919 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13921 * net/eww.el (eww): Support single/double quote for search.
13922 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
13923 (eww-history-quit): Delete and use quit-window.
13924 (eww-history-kill): Delete, because it doesn't work well and
13926 (eww-history-mode-map): Delete some keys and add easy-menu.
13928 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
13930 Fix misspelling of 'chinese' in rx (Bug#16237).
13931 * emacs-lisp/rx.el (rx-categories): Correct spelling of
13934 Change subword regexps back to vars (Bug#16296).
13935 * progmodes/subword.el (subword-forward-regexp)
13936 (subword-backward-regexp): Change these back to variables.
13938 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
13940 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
13941 syntax-begin-function (bug#16247).
13943 2014-01-03 Chong Yidong <cyd@gnu.org>
13945 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
13946 (advice--docstring): Delete variable.
13947 (advice--make-1): Leave the docstring empty.
13948 (advice-add): Use function-documentation for advised docstring.
13950 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
13951 Ignore function-documentation property when getting documentation.
13952 (ad-activate-advised-definition): Use function-documentation
13953 generate the docstring.
13954 (ad-make-advised-definition): Don't call
13955 ad-make-advised-definition-docstring.
13956 (ad-make-advised-definition-docstring, ad-advised-definition-p):
13959 * progmodes/sql.el (sql-help): Use function-documentation instead
13960 of dynamic-docstring-function property. No need to autoload now.
13961 (sql--help-docstring): New variable.
13962 (sql--make-help-docstring): Use it.
13964 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
13966 * ielm.el (ielm-tab): Retarget.
13967 (ielm-map): Use ielm-tab for tab.
13968 (ielm-complete-filename): Use comint-filename-completion.
13969 (ielm-complete-symbol): Remove.
13970 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
13971 remove ielm-tab from completion-at-point-functions (bug#16224).
13973 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
13974 Beware signals raised by predicates (bug#16201).
13976 2014-01-02 Richard Stallman <rms@gnu.org>
13978 * dired-aux.el (dired-do-print): Handle printer-name.
13980 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
13981 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
13982 (rmail-epa-decrypt): Turn off mime processing.
13984 * mail/rmail.el (rmail-make-in-reply-to-field):
13985 Add parens in message-id.
13987 * mail/rmail.el (rmail-get-coding-function): Variable.
13988 (rmail-get-coding-system): Use it.
13990 2013-12-31 Eli Zaretskii <eliz@gnu.org>
13992 * international/mule-conf.el: Unify the charset indian-is13194.
13993 (indian-is13194): Specify unify-map.
13995 2013-12-31 Leo Liu <sdl.web@gmail.com>
13997 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
13999 2013-12-30 Daniel Colascione <dancol@dancol.org>
14001 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
14002 of printing a useless when we resume from sleep.
14004 * progmodes/sh-script.el
14005 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
14006 in indentation code. (Bug#16233)
14008 2013-12-28 João Távora <joaotavora@gmail.com>
14010 * elec-pair.el (electric-pair-post-self-insert-function):
14011 Don't open extra newlines at beginning of buffer. (Bug#16272)
14013 2013-12-28 Eli Zaretskii <eliz@gnu.org>
14015 * frame.el (window-system-for-display): Don't allow to create a
14016 GUI frame from a -nw session on MS-Windows. (Bug#14739)
14018 2013-12-28 Glenn Morris <rgm@gnu.org>
14020 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
14023 * apropos.el (apropos-match-face):
14024 * calculator.el (calculator-displayer):
14025 * dabbrev.el (dabbrev-search-these-buffers-only):
14026 * face-remap.el (buffer-face-mode-face):
14027 * simple.el (yank-handled-properties):
14028 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
14029 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
14030 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
14031 (hashcash-double-spend-database):
14032 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
14033 (ruby-deep-indent-paren-style):
14034 * textmodes/flyspell.el (flyspell-auto-correct-binding):
14035 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
14036 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
14037 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
14038 Specify custom types.
14040 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
14041 * bookmark.el (bookmark-bmenu-use-header-line):
14042 * doc-view.el (doc-view-scale-internally):
14043 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
14044 * register.el (register-preview-delay):
14045 * net/shr.el (shr-bullet):
14046 * progmodes/cfengine.el (cfengine-cf-promises)
14047 (cfengine-parameters-indent):
14048 * progmodes/octave.el (inferior-octave-error-regexp-alist):
14049 * textmodes/reftex-vars.el (reftex-label-regexps):
14050 * vc/log-edit.el (log-edit-setup-add-author): Add version.
14052 * net/tls.el (tls-certtool-program): Fix default value.
14054 * desktop.el (desktop-restore-in-current-display):
14055 * newcomment.el (comment-empty-lines):
14056 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
14057 (idlwave-pad-keyword):
14058 * progmodes/tcl.el (tcl-tab-always-indent):
14059 * textmodes/reftex-vars.el (reftex-index-default-tag):
14060 * elec-pair.el (electric-pair-skip-whitespace):
14061 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
14063 * emacs-lisp/authors.el (authors-ignored-files)
14064 (authors-valid-file-names, authors-renamed-files-alist): Additions.
14066 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
14068 * shell.el (shell-dynamic-complete-command): Doc fix.
14069 (shell--command-completion-data): Shell completion now matches
14070 executable filenames from the current buffer's directory, on
14071 systems in which this behavior is the default (windows-nt, ms-dos).
14073 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14075 * net/shr.el (shr-insert): Don't infloop if the width is zero.
14077 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
14079 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
14082 * electric.el: Move all electric-pair-* to elec-pair.el.
14083 * elec-pair.el: New file, split from electric.el.
14085 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14087 * net/shr.el (shr-find-fill-point): Don't try to fill if the
14088 indentation level is larger than the width, because that will
14090 (shr-insert): Fill repeatedly long texts, so that Japanese is
14091 formatted correctly (bug#16263).
14092 (shr-find-fill-point): Off by one error in comparison with the
14095 2013-12-26 João Távora <joaotavora@gmail.com>
14097 * electric.el (electric-pair-mode): More flexible engine for skip-
14098 and inhibit predicates, new options for pairing-related functionality.
14099 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
14100 if that keeps or improves their balance in buffers.
14101 (electric-pair-delete-adjacent-pairs): Delete the pair when
14102 backspacing over adjacent matched delimiters.
14103 (electric-pair-open-extra-newline): Open extra newline when
14104 inserting newlines between adjacent matched delimiters.
14105 (electric--sort-post-self-insertion-hook):
14106 Sort post-self-insert-hook according to priority values when
14107 minor-modes are activated.
14108 * simple.el (newline-and-indent): Call newline with interactive
14110 (blink-paren-post-self-insert-function): Set priority to 100.
14111 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14112 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
14113 comments. Locally set electric-pair-skip-whitespace to 'chomp and
14114 electric-pair-open-newline-between-pairs to nil.
14116 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
14118 * progmodes/python.el: Use lexical-binding.
14119 (python-nav-beginning-of-defun): Stop searching ASAP.
14121 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
14123 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
14124 Fix interactive spec. Doc fix. (Bug#15754)
14126 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
14128 * emacs-lisp/byte-run.el (eval-when-compile):
14129 * progmodes/cc-defs.el (cc-eval-when-compile):
14130 Fix edebug spec (bug#16184).
14132 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
14134 * net/shr.el (shr-visit-file): Remove debugging function.
14135 (shr-insert): Don't infloop if we can't find a good place to break
14136 the line (bug#16256).
14138 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
14140 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
14141 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
14142 python-nav-lisp-forward-sexp-safe.
14143 (python-nav--forward-sexp): New argument SAFE allows switching
14144 forward sexp movement behavior for parens.
14145 (python-nav-forward-sexp): Throw errors on unterminated parens
14147 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
14148 (python-nav-backward-sexp-safe): New functions.
14149 (python-shell-buffer-substring):
14150 Use `python-nav-forward-sexp-safe'.
14152 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
14154 * net/shr.el (shr-find-fill-point): Don't break lines before a
14156 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
14157 (shr-find-fill-point): Remove the special checks for the quotation
14158 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
14160 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14162 * net/eww.el (eww-form-textarea): Use a different face for
14163 textareas than text input since they have different keymaps
14166 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
14168 * progmodes/python.el (python-nav-beginning-of-statement):
14169 Speed up (Bug#15295).
14171 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
14173 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
14174 the window configuration.
14176 2013-12-24 Eli Zaretskii <eliz@gnu.org>
14178 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
14179 we run on MS-Windows or MS-DOS.
14181 2013-12-24 Martin Rudalics <rudalics@gmx.at>
14183 * window.el (balance-windows-area): Call window-size instead of
14184 window-height and window-width. Bug#16241.
14186 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
14188 * net/eww.el (eww-bookmark-quit): Remove.
14189 (eww-bookmark-browse): Restore the window configuration when you
14190 choose a bookmark (bug#16144).
14192 2013-12-24 Daniel Colascione <dancol@dancol.org>
14194 * icomplete.el: Remove redundant :group arguments to `defcustom'
14196 (icomplete-show-matches-on-no-input): New customizable variable.
14197 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
14198 we have something to show.
14199 (icomplete-exhibit): Compute completions even if we have no user input.
14201 2013-12-23 Daniel Colascione <dancol@dancol.org>
14203 * icomplete.el: Move `provide' to end of file.
14205 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
14207 * net/gnutls.el (gnutls-verify-error): Add version tag.
14209 2013-12-23 Chong Yidong <cyd@gnu.org>
14211 * subr.el (set-transient-map): Rename from
14212 set-temporary-overlay-map. Doc fix.
14214 * face-remap.el (text-scale-adjust):
14215 * indent.el (indent-rigidly):
14216 * kmacro.el (kmacro-call-macro):
14217 * minibuffer.el (minibuffer-force-complete):
14218 * repeat.el (repeat):
14219 * simple.el (universal-argument--mode):
14220 * calendar/todo-mode.el (todo-insert-item--next-param):
14221 * progmodes/f90.el (f90-abbrev-start): Callers changed.
14223 * indent.el (indent-rigidly): Use substitute-command-keys.
14225 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14227 * net/eww.el (eww-tag-select): Add text-property to jump to next
14229 (eww): Add non-supported ftp error.
14231 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14233 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
14234 comments. Handle electric indent after typing `?' and `!'.
14236 2013-12-22 Chong Yidong <cyd@gnu.org>
14238 * faces.el (face-spec-recalc): If the theme specs are not
14239 applicable to a frame, fall back on the defface spec.
14240 This prevents themes from obliterating faces on low-color terminals.
14242 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14244 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
14245 after `{'. We need it after block openers, and it doesn't seem
14246 to hurt after hash openers.
14248 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14250 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
14251 extracted from `ruby-smie-rules'.
14252 (ruby--electric-indent-chars): New variable.
14253 (ruby--electric-indent-p): New function.
14254 (ruby-mode): Use `electric-indent-functions' instead of
14255 `electric-indent-chars'.
14257 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14259 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
14261 (ruby-smie-rules): Indent plus one level after `=>'.
14263 2013-12-21 Richard Stallman <rms@gnu.org>
14265 * simple.el (newline): Doc fix.
14267 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14269 * net/eww.el (eww-list-histories, eww-list-histories)
14270 (eww-history-browse, eww-history-quit, eww-history-kill)
14271 (eww-history-mode-map, eww-history-mode): New command and
14272 functions to list browser histories.
14273 (eww-form-text): Support text form with disabled
14274 and readonly attributes.
14275 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
14277 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14279 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
14280 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
14281 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
14282 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
14284 (eww-bookmark-mode-map): Add menu.
14285 (eww-render, eww-mode): Use `setq-local'.
14286 (eww-tool-bar-map): New variable.
14287 (eww-mode): Set `tool-bar-map'.
14288 (eww-view-source): Check for `html-mode' with `fboundp'.
14290 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14292 * net/shr.el (shr--extract-best-source): Don't bug out on audio
14293 elements with text inside. Also remove debugging.
14295 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
14297 * cus-start.el (all): Add ns-use-srgb-colorspace.
14299 2013-12-21 Chong Yidong <cyd@gnu.org>
14301 * custom.el (custom-theme-recalc-face): Do nothing if the face is
14302 undefined. Thus, theme settings for undefined faces do not take
14303 effect until the faces are defined with defface, the same as with
14306 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
14307 (face-spec-reset-face): Don't assign extra properties in temacs.
14308 (face-spec-recalc): Apply X resources too.
14310 2013-12-21 Chong Yidong <cyd@gnu.org>
14312 * faces.el (face-spec-set):
14313 * cus-face.el (custom-theme-set-faces, custom-set-faces):
14314 * custom.el (defface): Doc fixes (Bug#16203).
14316 * indent.el (indent-rigidly-map): Add docstring, and move commands
14317 into named functions.
14318 (indent-rigidly-left, indent-rigidly-right)
14319 (indent-rigidly-left-to-tab-stop)
14320 (indent-rigidly-right-to-tab-stop): New functions. Decide on
14321 indentation direction based on bidi direction, and accumulate
14322 sequential commands in a single undo boundary.
14323 (indent-rigidly--pop-undo): New utility function.
14325 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
14327 * faces.el (read-face-name): Require crm.el when using crm-separator.
14329 2013-12-20 Daniel Colascione <dancol@dancol.org>
14331 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
14332 so that we don't reflow comments into the shebang line.
14334 2013-12-20 Juri Linkov <juri@jurta.org>
14336 * saveplace.el (save-place-to-alist): Add `dired-filename' as
14337 a position when `dired-directory' is non-nil. Check integer
14338 positions with `integerp'.
14339 (toggle-save-place, save-places-to-alist): Add check for
14341 (save-place-find-file-hook): Check integer positions with
14343 (save-place-dired-hook): Use `dired-goto-file' when
14344 `dired-filename' is found in the assoc list. Check integer
14345 positions with `integerp'.
14346 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
14348 * dired.el (dired-initial-position-hook): Rename back from
14349 `dired-initial-point-hook'.
14350 (dired-initial-position): Rename `dired-initial-point-hook' to
14351 `dired-initial-position-hook'.
14352 (dired-file-name-at-point): Doc fix. (Bug#15329)
14354 2013-12-20 Juri Linkov <juri@jurta.org>
14356 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
14357 (read-regexp-suggestions): New function.
14358 (read-regexp): Use `read-regexp-defaults-function' to get default values.
14359 Use `read-regexp-suggestions'. Add non-empty default to history
14361 (occur-read-regexp-defaults-function): Remove function.
14362 (occur-read-primary-args): Use `regexp-history-last' instead of
14363 `occur-read-regexp-defaults-function'.
14365 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
14366 (hi-lock-line-face-buffer, hi-lock-face-buffer)
14367 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
14368 `hi-lock-read-regexp-defaults-function'. Doc fix.
14369 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
14370 with `find-tag-default-as-symbol-regexp'. Doc fix.
14371 (hi-lock-read-regexp-defaults): Remove function.
14372 (hi-lock-regexp-okay): Add check for null.
14374 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
14375 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
14377 * subr.el (find-tag-default-as-symbol-regexp): New function.
14378 (find-tag-default-as-regexp): Move symbol regexp formatting to
14379 `find-tag-default-as-symbol-regexp'.
14381 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
14383 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
14386 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14388 * calendar/todo-mode.el: New implementation of item insertion
14389 commands and key bindings.
14390 (todo-key-prompt): New face.
14391 (todo-insert-item): New command.
14392 (todo-insert-item--parameters): New defconst, replacing defvar
14393 todo-insertion-commands-args-genlist.
14394 (todo-insert-item--param-key-alist): New defconst, replacing
14395 defvar todo-insertion-commands-arg-key-list.
14396 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
14397 (todo-insert-item--argsleft, todo-insert-item--apply-args)
14398 (todo-insert-item--next-param): New functions.
14399 (todo-insert-item--args, todo-insert-item--argleft)
14400 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
14402 (todo-key-bindings-t): Change binding of "i" from
14403 todo-insertion-map to todo-insert-item.
14404 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
14405 (todo-insertion-command-name, todo-insertion-commands-names)
14406 (todo-define-insertion-command, todo-insertion-commands)
14407 (todo-insertion-key-bindings, todo-insertion-map): Remove.
14409 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14411 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
14412 (todo-toggle-item-highlighting): Use eval-and-compile instead of
14414 (todo-move-category): Allow choosing a non-existing todo file to
14415 move the category to, and create that file.
14416 (todo-default-priority): New user option.
14417 (todo-set-item-priority): Use it.
14418 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
14419 (desktop-restore-file-buffer): Declare.
14420 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
14421 (todo-modes-set-2): Locally set desktop-save-buffer to
14422 todo-desktop-save-buffer.
14423 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
14424 (auto-mode-alist): Add autoload cookie.
14426 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
14428 * emacs-lisp/subr-x.el: Renamed from helpers.el.
14429 helpers.el was a poor choice of name.
14430 (string-remove-prefix): New function.
14431 (string-remove-suffix): New function.
14433 2013-12-20 Martin Rudalics <rudalics@gmx.at>
14435 Fix assignment for new window total sizes.
14436 * window.el (window--pixel-to-size): Remove function.
14437 (window--pixel-to-total-1, window--pixel-to-total):
14438 Fix calculation of new total sizes.
14440 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
14442 * comint.el (comint-output-filter): Fix rear-nonsticky property
14443 placement (Bug#16010).
14445 2013-12-20 Chong Yidong <cyd@gnu.org>
14447 * faces.el (read-color): Minor fix for completion function.
14449 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
14451 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
14452 New option. (Bug#16182)
14453 (ruby-smie--indent-to-stmt-p): Use it.
14454 (ruby-smie-rules): Revert the logic in the handling of `when'.
14455 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
14456 (ruby-deep-arglist, ruby-deep-indent-paren)
14457 (ruby-deep-indent-paren-style): Update docstrings to note that the
14458 vars don't have any effect with SMIE.
14460 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
14462 * calc/calc.el (calc-enter, calc-pop): Use the variable
14463 `calc-context-sensitive-enter'.
14465 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14467 * net/shr.el (shr-insert): Protect against infloops in degenerate
14470 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14472 * progmodes/octave.el (octave): Add link to manual and octave
14474 (octave-mode-menu): Link to octave-mode manual.
14476 2013-12-20 Leo Liu <sdl.web@gmail.com>
14478 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
14479 insertion using skeleton-end-newline. (Bug#16138)
14481 2013-12-20 Juri Linkov <juri@jurta.org>
14483 * replace.el (occur-engine): Use `add-face-text-property'
14484 to add the face property to matches and titles. (Bug#14645)
14486 * hi-lock.el (hi-green): Use lighter color "light green" closer to
14487 the palette of other hi-lock colors.
14488 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
14490 2013-12-19 Juri Linkov <juri@jurta.org>
14492 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
14493 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
14494 (minibuffer-history-symbol): Move variable declaration closer to
14497 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
14500 2013-12-19 Juri Linkov <juri@jurta.org>
14502 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
14504 (log-edit-hook): Add it to :options. (Bug#16170)
14506 2013-12-19 Juri Linkov <juri@jurta.org>
14508 * simple.el (eval-expression-print-format): Don't check for
14509 command names and the last command. Always display additional
14510 formats of the integer result in the echo area, and insert them
14511 to the current buffer only with a zero prefix arg.
14512 Display character when char-displayable-p is non-nil.
14513 (eval-expression): With a zero prefix arg, set `print-length' and
14514 `print-level' to nil, and insert the integer values from
14515 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
14517 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
14518 `eval-last-sexp-arg-internal'. Doc fix.
14519 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
14520 `eval-last-sexp-print-value'. Doc fix.
14521 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
14522 Set `print-length' and `print-level' to nil when arg is zero.
14523 (eval-last-sexp): Doc fix.
14524 (eval-defun-2): Print the integer values from
14525 `eval-expression-print-format' at the end.
14527 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
14528 values from `eval-expression-print-format' at the end.
14530 * ielm.el (ielm-eval-input): Print the integer
14531 values from `eval-expression-print-format' at the end.
14533 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
14535 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
14536 2013-12-11T19:01:44Z!tzz@lifelogs.com.
14538 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
14540 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
14541 (hl-line-highlight, global-hl-line-highlight): Use it.
14542 (hl-line-overlay): Use defvar-local.
14544 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
14546 * term/ns-win.el: Require dnd.
14547 (global-map): Remove drag items.
14548 (ns-insert-text, ns-set-foreground-at-mouse)
14549 (ns-set-background-at-mouse):
14550 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
14551 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
14554 2013-12-19 Glenn Morris <rgm@gnu.org>
14556 * emacs-lisp/ert.el (ert-select-tests):
14557 Fix string/symbol mixup. (Bug#16121)
14559 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14561 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
14562 keywords to their parent.
14564 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14566 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
14567 first arg to be a string (fixed dead code), or an operator symbol.
14568 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
14570 (ruby-smie-rules): Remove parent token check in the `.' clause, it
14571 did nothing. Don't respond to `(:after ".")', it will be called
14572 with :before anyway. Remove the ` @ ' rule, it didn't seem to
14573 change anything. Only return indentation for binary operators
14574 when they are hanging. De-dent opening paren when its parent is
14575 `.', otherwise it looks bad when the dot is not at bol or eol
14578 2013-12-19 Juri Linkov <juri@jurta.org>
14580 * replace.el (query-replace-read-args): Split a non-negative arg
14581 and a negative arg into separate elements.
14582 (query-replace, query-replace-regexp, replace-string)
14583 (replace-regexp): Add arg `backward'. Doc fix.
14584 (replace-match-maybe-edit): When new arg `backward' is non-nil,
14585 move point to the beginning of the match.
14586 (replace-search, replace-highlight): Use new arg `backward'
14587 to set the value of `isearch-forward'.
14588 (perform-replace): Add arg `backward' and use it to perform
14589 replacement backward. (Bug#14979)
14591 * isearch.el (isearch-query-replace): Use a negative prefix arg
14592 to call `perform-replace' with a non-nil arg `backward'.
14594 2013-12-18 Juri Linkov <juri@jurta.org>
14596 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
14597 to the default list. Move `log-edit-show-files' to the end.
14598 Add more available functions to options.
14599 (log-edit): Move default specific settings to
14600 `log-edit-insert-message-template'. Don't move point.
14601 (log-edit-insert-message-template): New function.
14602 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
14605 2013-12-18 Juri Linkov <juri@jurta.org>
14607 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
14608 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
14610 2013-12-18 Leo Liu <sdl.web@gmail.com>
14612 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
14615 2013-12-18 Eli Zaretskii <eliz@gnu.org>
14617 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
14618 formats for displaying file sizes when the -s switch is given.
14619 Instead, compute a separate format for displaying the size in
14620 blocks, which is displayed in addition to the "regular" size.
14621 When -h is given in addition to -s, produce size in blocks in
14622 human-readable form as well. (Bug#16179)
14624 2013-12-18 Tassilo Horn <tsdh@gnu.org>
14626 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
14627 Reference tables with ~\ref{...} instead of only \ref{...}.
14629 2013-12-18 Chong Yidong <cyd@gnu.org>
14631 * cus-edit.el (custom-magic-alist): Fix "themed" description
14634 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
14635 is non-nil, do not create a new entry in the symbol's theme-value
14636 or theme-face property; update theme-settings only (Bug#14664).
14637 (custom-available-themes): Doc fix.
14639 * cus-theme.el (custom-new-theme-mode-map): Add bindings
14642 * replace.el (occur-engine): Avoid infloop (Bug#7593).
14644 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
14646 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
14649 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14651 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
14653 2013-12-18 Glenn Morris <rgm@gnu.org>
14655 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
14656 * cus-start.el (load-prefer-newer): New option.
14658 2013-12-18 Le Wang <l26wang@gmail.com>
14660 * comint.el (comint-previous-matching-input-from-input):
14661 Retain point (Bug#13404).
14663 2013-12-18 Chong Yidong <cyd@gnu.org>
14665 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
14667 2013-12-18 Glenn Morris <rgm@gnu.org>
14669 * mail/emacsbug.el (report-emacs-bug):
14670 Only mention enable-multibyte-characters if non-standard.
14672 2013-12-17 Juri Linkov <juri@jurta.org>
14674 * arc-mode.el (archive-extract-by-file): Check if directory exists
14675 before deletion to not show irrelevant errors if it doesn't exist.
14677 2013-12-17 Juri Linkov <juri@jurta.org>
14679 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
14682 * net/eww.el (browse-web): Add alias to `eww'.
14683 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
14684 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
14686 * net/browse-url.el (browse-url-browser-function): Move `eww'
14687 closer to similar functions.
14689 * startup.el (fancy-startup-screen, fancy-about-screen):
14690 Set browse-url-browser-function to eww-browse-url locally.
14693 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14695 * window.el (window--pixel-to-total): Remove unused `mini' var.
14696 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
14697 (split-window): Remove unused `new' var.
14698 (window--display-buffer): Remove unused `frame' and `delta' vars.
14699 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
14700 and display-width'.
14702 2013-12-17 Martin Rudalics <rudalics@gmx.at>
14704 * dired.el (dired-mark-pop-up):
14705 * register.el (register-preview): Don't bind
14706 split-height-threshold here since it's now done in
14707 display-buffer-below-selected.
14709 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
14711 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
14712 xterm-rgb-convert-to-16bit.
14713 (rxvt-register-default-colors): Standardize with
14714 xterm-register-default-colors (Bug#14078).
14716 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
14718 * simple.el (kill-region): Pass mark first, then point, so that
14719 kill-append works right (Bug#12819).
14720 (copy-region-as-kill, kill-ring-save): Likewise.
14722 2013-12-17 Leo Liu <sdl.web@gmail.com>
14724 * net/rcirc.el (rcirc-add-face):
14725 * eshell/em-prompt.el (eshell-emit-prompt):
14726 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
14729 2013-12-17 Chong Yidong <cyd@gnu.org>
14731 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
14732 Suggested by Xue Fuqiao.
14734 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14736 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
14738 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14740 * net/shr.el (shr-insert-document): Remove unused var
14741 `shr-preliminary-table-render'.
14742 (shr-rescale-image): Remove unused arg `force'.
14743 (shr-put-image): Update calls accordingly.
14744 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
14746 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14748 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
14749 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
14750 :close-all, to see which indentation method to use (Bug#16116).
14751 (smie-rules-function): Document the method :close-all.
14753 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14755 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
14757 * net/eww.el (eww-display-html): If we can't find the anchor we're
14758 looking for, then go to point-min.
14760 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
14762 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
14763 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
14764 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
14765 Expand dir too, in case it's relative.
14767 2013-12-16 Juri Linkov <juri@jurta.org>
14769 * desktop.el (desktop-auto-save-timeout): Change default to
14770 `auto-save-timeout'. Doc fix.
14771 (desktop-save): Skip the timestamp in desktop-saved-frameset
14772 when checking for auto-save changes.
14773 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
14774 `desktop-auto-save' is called repeatedly by the idle timer.
14775 (desktop-auto-save-set-timer): Replace `run-with-timer' with
14776 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
14779 2013-12-16 Juri Linkov <juri@jurta.org>
14781 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
14783 (isearch-pre-command-hook): Check `this-command' for symbolp.
14785 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
14787 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
14789 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
14791 * progmodes/cfengine.el (cfengine3--current-word): Remove.
14792 (cfengine3--current-function): Bring in the current-function
14793 functionality from `cfengine3--current-word'.
14794 (cfengine3-completion-function): Bring in the
14795 bounds-of-current-word functionality from
14796 `cfengine3--current-word'.
14798 2013-12-16 Martin Rudalics <rudalics@gmx.at>
14800 * window.el (display-buffer-below-selected):
14801 Bind split-height-threshold to 0 as suggested by Juri Linkov.
14803 2013-12-16 Leo Liu <sdl.web@gmail.com>
14805 * progmodes/compile.el (compile-goto-error): Do not push-mark.
14806 Remove NOMSG arg and all uses changed.
14808 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
14810 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
14811 (cua--deactivate-rectangle): Don't deactivate the mark.
14812 (cua-set-rectangle-mark): Don't set mark-active since
14813 cua--activate-rectangle already does it for us.
14814 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
14815 non-rectangular region.
14817 * emulation/cua-base.el (cua-repeat-replace-region):
14818 Use with-current-buffer.
14820 * net/gnutls.el: Use cl-lib.
14821 (gnutls-negotiate): `mapcan' -> cl-mapcan.
14823 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
14825 * emacs-lisp/package.el (package-built-in-p): Support both
14826 built-in and the package.el converted package descriptions.
14827 (package-show-package-list): Allow keywords.
14828 (package-keyword-button-action): Use it instead of
14829 `finder-list-matches'.
14830 (package-menu-filter-interactive): Interactive filtering (by
14832 (package-menu--generate): Support keywords and change keymappings
14833 and headers when they are given.
14834 (package--has-keyword-p): Helper function.
14835 (package-menu--refresh): Use it.
14836 (package--mapc): Helper function.
14837 (package-all-keywords): Use it.
14838 (package-menu-mode-map): Set up menu items and keybindings to
14839 provide a filtering UI.
14841 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
14843 * net/gnutls.el (gnutls-verify-error): New defcustom to control
14844 the behavior when a certificate fails validation. Defaults to
14845 old behavior: never abort, just warn.
14846 (gnutls-negotiate): Use it.
14848 2013-12-14 Martin Rudalics <rudalics@gmx.at>
14850 * window.el (display-buffer-below-selected): Never split window
14851 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
14853 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
14855 * emacs-lisp/package.el (package--prepare-dependencies): New function.
14856 (package-buffer-info): Use it (bug#15108).
14858 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
14860 * icomplete.el (icomplete-completions): Make sure the prefix is already
14861 displayed elsewhere before hiding it (bug#16219).
14863 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
14865 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
14866 open-paren tokens when preceded by a open-paren, too.
14867 (ruby-smie-rules): Handle virtual indentation after open-paren
14868 tokens specially. If there is code between it and eol, return the
14869 column where is starts (Bug#16118).
14871 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
14873 * progmodes/cfengine.el: Fix `add-hook' doc.
14874 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
14875 (cfengine3--current-word): Fix parameters.
14876 (cfengine3-make-syntax-cache): Simplify further.
14877 (cfengine3-completion-function, cfengine3--current-function):
14878 Use `assq' for symbols.
14879 (cfengine3--current-function): Fix `cfengine3--current-word' call.
14881 2013-12-13 Glenn Morris <rgm@gnu.org>
14883 * loadup.el (load-path): Warn if site-load or site-init changes it.
14884 No more need to reset it when bootstrapping.
14886 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
14888 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
14889 locations for cf-promises.
14890 (cfengine-mode-syntax-functions-regex): New caching variable.
14891 (cfengine3-fallback-syntax): Fallback syntax for cases where
14892 cf-promises doesn't run.
14893 (cfengine3--current-word): Reimplement using
14894 `cfengine-mode-syntax-functions-regex'.
14895 (cfengine3-completion-function, cfengine3--current-function):
14896 Use `cfengine3-make-syntax-cache' directly.
14897 (cfengine3-clear-syntax-cache): New function.
14898 (cfengine3-make-syntax-cache): Simplify and create
14899 `cfengine-mode-syntax-functions-regex' on demand.
14900 (cfengine3-format-function-docstring): Don't call
14901 `cfengine3-make-syntax-cache' explicitly.
14903 2013-12-13 Martin Rudalics <rudalics@gmx.at>
14905 Fix windmove-find-other-window broken after pixelwise resizing
14907 * windmove.el (windmove-other-window-loc): Revert change from
14909 (windmove-find-other-window): Call window-in-direction.
14910 * window.el (window-in-direction): New arguments SIGN, WRAP and
14911 MINI to emulate original windmove-find-other-window behavior.
14913 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
14915 * simple.el (blink-matching--overlay): New variable.
14916 (blink-matching-open): Instead of moving point, highlight the
14917 matching paren with an overlay
14918 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
14920 * faces.el (paren-showing-faces, show-paren-match)
14921 (show-paren-mismatch): Move from paren.el.
14923 2013-12-13 Leo Liu <sdl.web@gmail.com>
14925 * indent.el (indent-region): Disable progress reporter in
14926 minibuffer. (Bug#16108)
14928 * bindings.el (visual-order-cursor-movement): Fix version.
14930 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
14932 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
14933 Also match after beginning of line.
14934 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
14935 files. Thanks to Russell Sim. (Bug#15378)
14937 2013-12-13 Juri Linkov <juri@jurta.org>
14939 * simple.el <Keypad support>: Remove key bindings duplicated
14940 with bindings.el. (Bug#14397)
14942 2013-12-13 Juri Linkov <juri@jurta.org>
14944 * comint.el (comint-mode-map): Replace `delete-char' with
14945 `delete-forward-char'. (Bug#16109)
14947 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
14949 * progmodes/python.el (python-indent-calculate-indentation):
14950 Fix de-denters cornercase. (Bug#15731)
14952 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14954 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
14955 (advice--make): Pay attention to `depth'.
14956 (advice--make-1): Don't autoload commands eagerly.
14957 * emacs-lisp/elp.el (elp-instrument-function):
14958 * emacs-lisp/trace.el (trace-function-internal):
14959 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
14961 * iswitchb.el (iswitchb-mode): Don't belittle ido.
14963 2013-12-12 Eli Zaretskii <eliz@gnu.org>
14965 * term/w32-win.el (w32-handle-dropped-file):
14966 * startup.el (normal-top-level):
14967 * net/browse-url.el (browse-url-file-url):
14968 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
14969 decode file names using 'utf-8' rather than
14970 file-name-coding-system.
14972 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
14974 * progmodes/python.el (python-indent-context)
14975 (python-indent-calculate-indentation): Fix auto-identation
14976 behavior for comment blocks. (Bug#15916)
14978 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
14980 * progmodes/python.el (python-indent-calculate-indentation):
14981 When determining indentation, don't treat "return", "pass", etc., as
14982 operators when they are just string constituents. (Bug#15812)
14984 2013-12-12 Juri Linkov <juri@jurta.org>
14986 * uniquify.el (uniquify-buffer-name-style): Change default to
14987 `post-forward-angle-brackets'.
14989 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
14990 `uniquify'. Change default to `post-forward-angle-brackets'.
14992 2013-12-11 Glenn Morris <rgm@gnu.org>
14994 * emacs-lisp/package.el (finder-list-matches):
14995 Autoload rather than falsely declaring.
14997 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
14999 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
15000 (eww-mode-map): Use them.
15002 2013-12-11 Martin Rudalics <rudalics@gmx.at>
15004 * window.el (display-buffer-in-side-window): Fix doc-string
15007 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
15009 * vc/vc-git.el: Silence byte-compiler warnings.
15010 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
15011 (log-edit-set-header): Declare.
15013 2013-12-11 Eli Zaretskii <eliz@gnu.org>
15015 * Makefile.in (custom-deps, finder-data): Run output file names
15016 through unmsys--file-name. (Bug#16099)
15018 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
15020 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
15021 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
15023 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
15024 instead of deleting the selection "by hand" (bug#16098).
15025 Rely on insert-for-yank to yank rectangles.
15026 (cua-highlight-region-shift-only): Mark obsolete.
15027 (cua-mode): Don't enable/disable transient-mark-mode,
15028 shift-select-mode (cua-mode works both with and without them), and
15029 pc-selection-mode (obsolete).
15030 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
15031 (cua--deactivate-rectangle): Deactivate it.
15033 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
15034 (delete-selection-helper): Make sure yank starts at the top of the
15036 (minibuffer-keyboard-quit): Use region-active-p.
15038 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
15040 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
15041 to `delete' (bug#16109).
15043 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15045 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
15046 info manual and show keybindings and set `:group' keyword.
15048 2013-12-11 Juri Linkov <juri@jurta.org>
15050 * delsel.el (delete-active-region): Let-bind `this-command'
15051 to prevent `kill-region' from changing its original value.
15052 (delete-selection-helper): Handle `overwrite-mode' for the type
15053 `kill' exactly the same way as for the type `t'.
15054 (insert-char, quoted-insert, reindent-then-newline-and-indent):
15055 Support more commands. (Bug#13312)
15057 2013-12-11 Juri Linkov <juri@jurta.org>
15059 * bindings.el: Map kp keys to non-kp keys systematically
15060 with basic modifiers control, meta and shift. (Bug#14397)
15062 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15064 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
15065 "Close browser" menu items. Fix wrong function of "List
15068 2013-12-11 Juri Linkov <juri@jurta.org>
15070 * misearch.el (multi-isearch-buffers): Set the value of
15071 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
15072 arg of isearch-forward to t.
15073 (multi-isearch-buffers-regexp): Set the value of
15074 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
15075 arg of isearch-forward-regexp to t.
15076 (multi-isearch-files): Set the value of
15077 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
15078 arg of isearch-forward to t.
15079 (multi-isearch-files-regexp): Set the value of
15080 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
15081 arg of isearch-forward-regexp to t. (Bug#16035)
15083 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
15084 arg of isearch-forward to t.
15085 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
15086 arg of isearch-forward-regexp to t.
15087 (dired-isearch-filter-filenames): Remove unnecessary check for
15088 `dired-isearch-filenames'.
15090 * comint.el (comint-history-isearch-backward):
15091 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
15092 (comint-history-isearch-backward-regexp):
15093 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
15095 2013-12-10 Eli Zaretskii <eliz@gnu.org>
15097 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
15098 unmsys--file-name. (Bug#16099)
15100 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
15102 * emacs-lisp/package.el (package-keyword-button-action):
15103 Remove finder.el require dependency.
15105 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
15107 * emacs-lisp/package.el: Require finder.el.
15108 (describe-package-1): Add keyword buttons.
15109 (package-make-button): New convenience function.
15110 (package-keyword-button-action): Keyword button action using
15111 `finder-list-matches'.
15113 2013-12-09 Eli Zaretskii <eliz@gnu.org>
15115 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
15118 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
15120 * autorevert.el (auto-revert-notify-add-watch): Do not handle
15123 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
15125 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
15126 after the end of a percent literal.
15128 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
15130 * progmodes/ruby-mode.el (ruby-forward-string): Document.
15131 Handle caret-delimited strings (Bug#16079).
15133 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
15135 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
15136 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
15137 `ruby-parse-partial' (Bug#16078).
15139 2013-12-09 Leo Liu <sdl.web@gmail.com>
15141 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
15143 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
15145 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
15146 (js-switch-indent-offset): New option.
15147 (js--proper-indentation): Use it. And handle the case when
15148 "default" is actually a key in an object literal.
15149 (js--same-line): New function.
15150 (js--multi-line-declaration-indentation): Use it.
15151 (js--indent-in-array-comp, js--array-comp-indentation):
15153 (js--proper-indentation): Use them, to handle array comprehension
15156 2013-12-08 Leo Liu <sdl.web@gmail.com>
15158 * progmodes/flymake.el (flymake-highlight-line): Re-write.
15159 (flymake-make-overlay): Remove arg MOUSE-FACE.
15160 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
15162 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15164 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
15166 (redisplay-highlight-region-function): Use it.
15168 * emulation/cua-base.el (cua--explicit-region-start)
15169 (cua--last-region-shifted): Remove.
15170 (cua--deactivate): Use deactivate-mark.
15171 (cua--pre-command-handler-1): Don't handle shift-selection.
15172 (cua--post-command-handler-1): Don't change transient-mark-mode.
15173 (cua--select-keymaps): Use region-active-p rather than
15174 cua--explicit-region-start or cua--last-region-shifted.
15175 (cua-mode): Enable shift-select-mode.
15177 2013-12-08 Leo Liu <sdl.web@gmail.com>
15179 * progmodes/flymake.el (flymake-popup-current-error-menu):
15180 Rename from flymake-display-err-menu-for-current-line. Reimplement.
15181 (flymake-posn-at-point-as-event, flymake-popup-menu)
15182 (flymake-make-emacs-menu): Remove. (Bug#16077)
15184 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15186 * rect.el (rectangle-mark-mode): Activate mark even if
15187 transient-mark-mode is off (bug#16066).
15188 (rectangle--highlight-for-redisplay): Fix boundary condition when point
15189 is > mark and at bolp.
15191 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
15192 (region-extract-function): Use it.
15193 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
15194 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
15196 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
15197 kill-ring-save, kill-region, delete-char, delete-forward-char.
15198 Ignore self-insert-iso.
15200 * emulation/cua-gmrk.el (cua--init-global-mark):
15201 Ignore `self-insert-iso'.
15203 * emulation/cua-base.el (cua--prefix-copy-handler)
15204 (cua--prefix-cut-handler): Rely on region-extract-function rather than
15205 checking cua--rectangle.
15206 (cua-delete-region): Use region-extract-function.
15207 (cua-replace-region): Delete function.
15208 (cua-copy-region, cua-cut-region): Obey region-extract-function.
15209 (cua--pre-command-handler-1): Don't do the delete-selection thing.
15210 (cua--self-insert-char-p): Ignore `self-insert-iso'.
15211 (cua--init-keymaps): Don't remap delete-selection commands.
15212 (cua-mode): Use delete-selection-mode instead of rolling our own
15215 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
15216 Obey region-extract-function.
15218 Make registers and delete-selection-mode work on rectangles.
15219 * register.el (describe-register-1): Don't modify the register's value.
15220 (copy-to-register): Obey region-extract-function.
15221 * delsel.el (delete-active-region): Obey region-extract-function.
15223 2013-12-08 Leo Liu <sdl.web@gmail.com>
15225 * progmodes/flymake.el (flymake, flymake-error-bitmap)
15226 (flymake-warning-bitmap, flymake-fringe-indicator-position)
15227 (flymake-compilation-prevents-syntax-check)
15228 (flymake-start-syntax-check-on-newline)
15229 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
15230 (flymake-start-syntax-check-on-find-file, flymake-log-level)
15231 (flymake-xml-program, flymake-master-file-dirs)
15232 (flymake-master-file-count-limit)
15233 (flymake-allowed-file-name-masks): Relocate.
15234 (flymake-makehash, flymake-float-time)
15235 (flymake-replace-regexp-in-string, flymake-split-string)
15236 (flymake-get-temp-dir): Remove.
15237 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
15238 (flymake-current-row, flymake-selected-frame)
15239 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
15240 related functions. (Bug#16077)
15242 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
15244 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
15246 2013-12-07 Tassilo Horn <tsdh@gnu.org>
15248 * help-fns.el (describe-function-1): Use new advice-* functions
15249 rather than old ad-* functions. Fix function type description and
15250 source links for advised functions and subrs.
15252 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15254 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
15256 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
15258 * progmodes/compile.el (compilation-start):
15259 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
15261 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
15262 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
15264 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15266 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
15267 Touch up the last change.
15269 2013-12-06 Leo Liu <sdl.web@gmail.com>
15271 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
15272 (inferior-octave-startup): Always use "octave> " for prompt.
15273 (octave-goto-function-definition)
15274 (octave-sync-function-file-names)
15275 (octave-find-definition-default-filename): Remove redundant backquotes.
15277 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15279 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
15281 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
15282 where appropriate already.
15283 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
15284 end of method names (Bug#15874).
15286 2013-12-06 Juri Linkov <juri@jurta.org>
15288 * isearch.el (isearch--saved-overriding-local-map):
15289 New internal variable.
15290 (isearch-mode): Set it to the initial value of
15291 `overriding-terminal-local-map'.
15292 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
15293 with `isearch--saved-overriding-local-map'. (Bug#16035)
15295 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15297 * progmodes/octave.el (inferior-octave-completion-table):
15298 Turn back into function, use `completion-table-with-cache'
15299 (Bug#11906). Update all references.
15301 * minibuffer.el (completion-table-with-cache): New function.
15303 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
15305 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
15307 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
15309 * net/eww.el (eww-current-source): New variable to store page
15311 (eww-display-html, eww-mode, eww-save-history)
15312 (eww-restore-history): Use it.
15313 (eww-view-source): New command to view page source.
15314 Opportunistically uses `html-mode' to highlight the buffer.
15315 (eww-mode-map): Install it.
15317 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
15319 * net/dbus.el (dbus-unregister-service)
15320 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
15322 (dbus-unregister-service): Skip :serial entries in
15323 `dbus-registered-objects-table'.
15324 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
15326 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
15328 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
15329 around keywords with extra `split-string' argument.
15331 2013-12-04 Martin Rudalics <rudalics@gmx.at>
15333 * windmove.el (windmove-other-window-loc): Handle navigation
15334 between windows (excluding the minibuffer window - Bug#16017).
15336 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
15338 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
15339 in D-Bus type syntax.
15340 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
15341 preserve unibyte strings. (Bug#16048)
15343 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15345 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
15346 Call force-mode-line-update is the proper buffer (bug#16042).
15348 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
15350 * vc/log-edit.el (log-edit-add-new-comment): Rename to
15351 `log-edit-remember-comment', make argument optional. Adjust all
15353 (log-edit-mode): Add `log-edit-remember-comment' to
15354 `kill-buffer-hook' locally.
15355 (log-edit-kill-buffer): Don't remember comment explicitly since
15356 the buffer is killed anyway.
15358 2013-12-04 Juri Linkov <juri@jurta.org>
15360 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
15361 add-hook and remove-hook for multi-buffer search. (Bug#16035)
15363 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
15365 * notifications.el (notifications-close-notification): Call the
15366 D-Bus method with ID being a `:uint32'. (Bug#16030)
15368 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
15370 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
15372 2013-12-03 Juri Linkov <juri@jurta.org>
15374 * progmodes/compile.el (compilation-start): Rename window alist
15375 entry `no-display-ok' to `allow-no-window'.
15377 * simple.el (shell-command): Add window alist entry
15378 `allow-no-window' to `display-buffer'.
15379 (async-shell-command): Doc fix.
15381 * window.el (display-buffer-no-window): New action function.
15382 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
15384 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15386 * vc/log-edit.el (log-edit-set-header): Extract from
15387 `log-edit-toggle-header'.
15388 (log-edit-extract-headers): Separate the summary, when extracted
15389 from header, from the rest of the message with an empty line.
15391 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
15392 line, if present, to the Summary header.
15394 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15396 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
15397 in current-buffer (bug#16029).
15399 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
15401 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
15402 (debugger-mode-map): Bind it.
15403 (debugger--backtrace-base): New function.
15404 (debugger-eval-expression): Use it.
15405 (debugger-frame-number): Skip local vars when present.
15406 (debugger--locals-visible-p, debugger--insert-locals)
15407 (debugger--show-locals, debugger--hide-locals): New functions.
15409 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
15411 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
15413 (tramp-get-remote-locale): New defun.
15414 (tramp-open-connection-setup-interactive-shell): Use it.
15416 2013-12-02 Leo Liu <sdl.web@gmail.com>
15418 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
15420 * progmodes/sh-script.el (sh-shell-process):
15421 * progmodes/octave.el (inferior-octave-process-live-p):
15422 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
15423 (gdb-inferior-io-sentinel):
15424 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
15426 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15428 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
15429 `save-selected-window' to `log-edit-hide-buf'. This makes
15430 `log-edit-show-files' idempotent.
15431 (log-edit-show-files): Mark the new window as dedicated.
15433 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15435 * vc/log-edit.el (log-edit-mode-map): Add binding for
15436 `log-edit-kill-biffer'.
15437 (log-edit-hide-buf): Add a FIXME comment.
15438 (log-edit-add-new-comment): New function, extracted from
15440 (log-edit-done, log-edit-add-to-changelog): Use it.
15441 (log-edit-kill-buffer): New command.
15443 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15445 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
15446 instead of killing the buffer.
15448 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15450 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
15452 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15454 * net/eww.el (eww-form-checkbox-selected-symbol)
15455 (eww-form-checkbox-symbol): New customizable variable.
15456 (eww-form-checkbox, eww-toggle-checkbox):
15457 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
15459 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
15460 (shr--get-media-pref, shr--extract-best-source): New function.
15461 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
15462 no :src tag was specified.
15464 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
15465 (eww-render): Handle `eww-use-external-browser-for-content-type'.
15466 Use \\` to match beginning of string instead of ^.
15467 (eww-browse-with-external-browser): Provide optional URL parameter.
15468 (eww-render): Set `eww-current-title' back to "".
15470 * net/shr.el (shr-tag-video): Display content for video if no
15471 poster is available.
15472 (shr-tag-audio): Add support for <audio> tag.
15474 * net/eww.el (eww-text-input-types): New const.
15475 (eww-process-text-input): Treat input types in
15476 `eww-text-input-types' as text.
15478 * net/shr.el (shr-tag-table): Fix comment typo.
15480 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15482 * net/eww.el (eww-follow-link): New command to avoid reloading
15483 pages when we follow #target links (bug#15243).
15484 (eww-quit): Special mode buffers shouldn't query before exiting.
15486 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15488 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
15491 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15493 * net/eww.el (eww-restore-history): Update the window title after
15494 moving in the history.
15495 (eww-current-dom): New variable used to save the current DOM.
15497 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
15499 * vc/log-edit.el (log-edit-mode-map): Add binding for
15500 `log-edit-beginning-of-line'.
15501 (log-edit-setup-add-author): New user option.
15502 (log-edit-beginning-of-line): New command.
15503 (log-edit): Move major mode call above the contents setup so that
15504 the local variable values are already applied.
15505 (log-edit): Only insert "Author: " when
15506 `log-edit-setup-add-author' is non-nil.
15507 (log-edit): When SETUP is non-nil, position point after ": "
15508 instead of point-min.
15510 2013-12-01 Glenn Morris <rgm@gnu.org>
15512 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
15514 2013-11-30 Eli Zaretskii <eliz@gnu.org>
15516 * startup.el (fancy-splash-frame): On MS-Windows, trigger
15517 redisplay to make sure the initial frame gets a chance to become
15518 visible. (Bug#16014)
15520 2013-11-30 Martin Rudalics <rudalics@gmx.at>
15522 Support resizing frames and windows pixelwise.
15523 * cus-start.el (frame-resize-pixelwise)
15524 (window-resize-pixelwise): New entries.
15525 * emacs-lisp/debug.el (debug): Use window-total-height instead
15526 of window-total-size.
15527 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
15528 * help.el (describe-bindings-internal): Use help-buffer as
15529 argument for with-help-window.
15530 (temp-buffer-max-width): New option.
15531 (resize-temp-buffer-window, help-window-setup)
15532 (with-help-window): Rewrite.
15533 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
15535 * window.el (frame-char-size, window-min-pixel-height)
15536 (window-safe-min-pixel-height, window-safe-min-pixel-width)
15537 (window-min-pixel-width, window-safe-min-pixel-size)
15538 (window-combination-p, window-safe-min-size)
15539 (window-resizable-p, window--size-to-pixel)
15540 (window--pixel-to-size, window--resize-apply-p): New functions.
15541 (window-safe-min-height): Fix doc-string.
15542 (window-size, window-min-size, window--min-size-1)
15543 (window-sizable, window-sizable-p, window--min-delta-1)
15544 (window-min-delta, window--max-delta-1, window-max-delta)
15545 (window--resizable, window--resizable-p, window-resizable)
15546 (window-full-height-p, window-full-width-p, window-at-side-p)
15547 (window--in-direction-2, window-in-direction)
15548 (window--resize-reset-1, window--resize-mini-window)
15549 (window-resize, window-resize-no-error)
15550 (window--resize-child-windows-normal)
15551 (window--resize-child-windows, window--resize-siblings)
15552 (window--resize-this-window, window--resize-root-window)
15553 (window--resize-root-window-vertically)
15554 (adjust-window-trailing-edge, enlarge-window, shrink-window)
15555 (maximize-window, minimize-window, delete-window)
15556 (quit-restore-window, window-split-min-size, split-window)
15557 (balance-windows-2, balance-windows)
15558 (balance-windows-area-adjust, balance-windows-area)
15559 (window--state-get-1, window-state-get, window--state-put-1)
15560 (window--state-put-2, window-state-put)
15561 (display-buffer-record-window, window--display-buffer):
15562 Make functions handle pixelwise sizing of windows.
15563 (display-buffer--action-function-custom-type)
15564 (display-buffer-fallback-action):
15565 Add display-buffer-in-previous-window.
15566 (display-buffer-use-some-window): Resize window to height it had
15568 (fit-window-to-buffer-horizontally): New option.
15569 (fit-frame-to-buffer): Describe new values.
15570 (fit-frame-to-buffer-bottom-margin): Replace with
15571 fit-frame-to-buffer-margins.
15572 (window--sanitize-margin): New function.
15573 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
15574 using window-text-pixel-size.
15576 2013-11-30 Glenn Morris <rgm@gnu.org>
15578 * emacs-lisp/bytecomp.el (byte-compile-form):
15579 Make the `interactive-only' warning like the `obsolete' one.
15580 * comint.el (comint-run):
15581 * files.el (insert-file-literally, insert-file):
15582 * replace.el (replace-string, replace-regexp):
15583 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
15584 (goto-line, insert-buffer, next-line, previous-line):
15585 Tweak `interactive-only' spec.
15587 Stop keeping (most) generated cedet grammar files in the repository.
15588 * Makefile.in (semantic): New.
15589 (compile-main): Depend on semantic.
15591 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15593 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
15594 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
15596 * uniquify.el (uniquify-buffer-name-style): Change default.
15598 * loadup.el: Preload "uniquify".
15600 * time.el (display-time-update): Update all mode lines (bug#15999).
15602 * electric.el (electric-indent-mode): Enable by default.
15603 * loadup.el: Preload "electric".
15605 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
15607 * emacs-lisp/helpers.el (string-empty-p): New function.
15608 (string-blank-p): New function.
15610 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
15612 * imenu.el (imenu--index-alist): Add missing dot to the docstring
15615 2013-11-29 Andreas Politz <politza@fh-trier.de>
15616 * imenu.el (imenu--subalist-p): Don't error on non-conses and
15617 allow non-lambda lists as functions.
15618 (imenu--in-alist): Don't recurse into non-subalists.
15619 (imenu): Don't pass function itself as an argument (Bug#14029).
15621 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15623 * progmodes/python.el (python-mode-map): Remove binding for ":".
15624 (python-indent-electric-colon): Remove command.
15625 (python-indent-post-self-insert-function): Integrate the previous code
15626 of python-indent-electric-colon. Make it conditional on
15627 electric-indent-mode.
15628 (python-mode): Add ?: to electric-indent-chars.
15629 Move python-indent-post-self-insert-function to the end of
15630 post-self-insert-hook.
15632 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15634 * doc-view.el (doc-view-goto-page): Update mode-line.
15636 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
15638 2013-11-27 Glenn Morris <rgm@gnu.org>
15640 * international/charprop.el, international/uni-bidi.el:
15641 * international/uni-category.el, international/uni-combining.el:
15642 * international/uni-comment.el, international/uni-decimal.el:
15643 * international/uni-decomposition.el, international/uni-digit.el:
15644 * international/uni-lowercase.el, international/uni-mirrored.el:
15645 * international/uni-name.el, international/uni-numeric.el:
15646 * international/uni-old-name.el, international/uni-titlecase.el:
15647 * international/uni-uppercase.el:
15648 Remove generated files from VCS repository.
15650 2013-11-27 Eli Zaretskii <eliz@gnu.org>
15652 * filenotify.el (file-notify-add-watch): Don't special-case
15653 w32notify when computing the directory to watch.
15655 2013-11-27 Glenn Morris <rgm@gnu.org>
15657 Make bootstrap without generated uni-*.el files possible again.
15658 * loadup.el: Update command-line-args checking for unidata-gen.
15659 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
15660 * composite.el, international/characters.el:
15661 Handle unicode tables being undefined.
15663 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
15664 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
15665 (compile-main): Depend on leim rule.
15667 * loadup.el: Move leim-list.el to leim/ subdirectory.
15668 * startup.el (normal-top-level): No more leim directory.
15669 * international/ja-dic-cnv.el (skkdic-convert):
15670 Disable version-control and autoloads in output files.
15671 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
15672 Disable version-control and autoloads in output files.
15673 * leim/quail: Move here from ../leim.
15674 * leim/quail/hangul.el (hangul-input-method-activate):
15675 Add autoload cookie.
15676 (generated-autoload-load-name): Set file-local value.
15677 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
15678 (generated-autoload-load-name): Set file-local value.
15680 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
15682 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
15683 (eww-add-bookmark): Ask confirmation when add to bookmarks.
15684 (eww-quit): Ask confirmation before quitting eww.
15686 2013-11-26 Eli Zaretskii <eliz@gnu.org>
15688 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
15689 reading output from Diff on MS-Windows and MS-DOS.
15691 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
15693 * emacs-lisp/helpers.el (string-reverse): New function.
15695 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
15697 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
15698 names on MS Windows, like "/[::1]:".
15700 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
15703 2013-11-26 Glenn Morris <rgm@gnu.org>
15705 * progmodes/python.el (python-indent-guess-indent-offset):
15706 Avoid corner-case error. (Bug#15975)
15708 Preload leim-list.el. (Bug#4789)
15709 * loadup.el: Load leim-list.el when found.
15710 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
15712 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
15714 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
15716 * emacs-lisp/helpers.el (string-join): New function.
15718 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
15720 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15721 Mark as obsolete and replace it with a symbol property.
15722 (byte-compile-form): Use new 'interactive-only property.
15723 * comint.el, files.el, replace.el, simple.el:
15724 Apply new 'interactive-only properly.
15726 2013-11-25 Martin Rudalics <rudalics@gmx.at>
15728 * window.el (display-buffer-at-bottom): Make sure that
15729 split-window-sensibly creates the new window on bottom
15732 2013-11-23 David Kastrup <dak@gnu.org>
15734 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
15735 on the conflict markers when available.
15736 (smerge--get-marker): New function.
15737 (smerge-end-re, smerge-base-re): Add subgroup.
15739 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15741 * frame.el (handle-focus-in, handle-focus-out): Add missing
15744 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
15746 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15747 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
15749 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15751 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
15752 (gomoku--last-pos): New var.
15753 (gomoku--intangible-chars): New const.
15754 (gomoku--intangible): New function.
15755 (gomoku-mode): Use it. Derive from special-mode.
15756 (gomoku-move-up): Adjust line count.
15757 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
15758 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
15759 Simplify accordingly.
15761 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
15762 Remove blink-cursor code.
15763 (blink-cursor-timer-function, blink-cursor-suspend):
15764 Don't special-case GUIs.
15765 (blink-cursor-mode): Use focus-in/out-hook.
15767 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
15769 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
15770 work when annotation is invisible (Bug#13886).
15772 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
15774 * json.el (json-alist-p): Only return non-nil if the alist has
15775 simple keys (Bug#13518).
15777 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
15779 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
15780 when control-statement is the first statement in a buffer (Bug#15956).
15782 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
15784 * imenu.el (imenu-generic-skip-comments-and-strings):
15785 New option (Bug#15560).
15786 (imenu--generic-function): Use it.
15788 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
15790 * minibuffer.el (completion--in-region-1): Scroll the correct window.
15793 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
15795 * emacs-lisp/helpers.el: Add some string helpers.
15796 (string-trim-left): Removes leading whitespace.
15797 (string-trim-right): Removes trailing whitespace.
15798 (string-trim): Removes leading and trailing whitespace.
15800 * subr.el (string-suffix-p): New function.
15802 2013-11-23 Glenn Morris <rgm@gnu.org>
15804 * progmodes/python.el (python-shell-send-file):
15805 Add option to delete file when done. (Bug#15647)
15806 (python-shell-send-string, python-shell-send-region): Use it.
15808 2013-11-23 Ivan Shmakov <ivan@siamics.net>
15810 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
15811 to set buffer-read-only to t, never to nil. (Bug#15938)
15813 * textmodes/tex-mode.el (latex-noindent-environments):
15814 Add safe-local-variable property. (Bug#15936)
15816 2013-11-23 Glenn Morris <rgm@gnu.org>
15818 * textmodes/enriched.el (enriched-mode): Doc fix.
15819 * emacs-lisp/authors.el (authors-renamed-files-alist):
15820 Add enriched.doc -> enriched.txt.
15822 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
15824 2013-11-22 Leo Liu <sdl.web@gmail.com>
15826 * progmodes/octave.el (inferior-octave-startup): Spit out error
15829 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
15831 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15834 (ruby-encoding-magic-comment-style): Add :version.
15836 2013-11-22 Leo Liu <sdl.web@gmail.com>
15838 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
15840 (octave-help-mode): Adapt to change to help-mode-finish to use
15841 derived-mode-p on 2013-09-17.
15842 (inferior-octave-prompt): Also match octave-gui.
15843 (octave-kill-process): Don't ask twice. (Bug#10564)
15845 2013-11-22 Leo Liu <sdl.web@gmail.com>
15847 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
15848 (inferior-octave-startup, inferior-octave-check-process)
15849 (inferior-octave-track-window-width-change)
15850 (octave-completion-at-point, octave-eldoc-function): Use it.
15851 (octave-kill-process): Provide confirmation. (Bug#10564)
15853 2013-11-21 Leo Liu <sdl.web@gmail.com>
15855 * progmodes/octave.el (octave-mode, inferior-octave-mode):
15856 Fix obsolete variable comment-use-global-state.
15858 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15860 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
15861 Add `octave-source-file'.
15862 (octave-source-file): New function. (Bug#15935)
15864 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
15866 * net/eww.el (eww-local-regex): New variable.
15867 (eww): Use it to detect localhost and similar.
15869 2013-11-21 Leo Liu <sdl.web@gmail.com>
15871 Add completion for command `ag'.
15872 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
15873 (pcomplete/ag): New function.
15874 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
15876 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15878 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
15880 (make-obsolete): Remove interactive spec.
15882 2013-11-21 Glenn Morris <rgm@gnu.org>
15884 * startup.el (command-line-1): Use path-separator with -L.
15886 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
15888 * emacs-lisp/package.el (describe-package-1): Add package archive
15891 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
15893 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15894 Change default to "# encoding: %s" to differentiate it from the
15895 default Ruby encoding comment template.
15897 2013-11-20 Era Eriksson <era+emacsbugs@iki.fi>
15899 * ses.el (ses-mode): Doc fix. (Bug#14748)
15901 2013-11-20 Leo Liu <sdl.web@gmail.com>
15903 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
15905 2013-11-19 Dan Nicolaescu <dann@gnu.org>
15907 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
15908 when rebase or bisect are in progress.
15910 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
15912 * filenotify.el (file-notify-add-watch): Doc fix.
15914 2013-11-19 Leo Liu <sdl.web@gmail.com>
15916 * obsolete/rcompile.el: Mark obsolete.
15918 * progmodes/compile.el (compilation-start)
15919 (compilation-goto-locus, compilation-find-file):
15920 Pass no-display-ok and handle nil value from display-buffer.
15923 * window.el (display-buffer-alist, display-buffer): Document the
15924 new parameter no-display-ok. Return either a window or nil
15925 but never a non-window value.
15927 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15929 * electric.el (electric-indent-mode-map): Remove.
15930 (electric-indent-mode): Change the global-map instead (bug#15915).
15932 * textmodes/text-mode.el (paragraph-indent-minor-mode):
15935 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
15937 * emacs-lisp/nadvice.el (remove-function): Align with
15938 add-function's behavior.
15940 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
15941 (gdb--string-regexp): New constant.
15942 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
15943 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
15944 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
15946 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
15947 Adjust use accordingly.
15948 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
15950 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
15952 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
15953 interpolation curlies (Bug#15914).
15955 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
15957 * calc/calc.el (calc-context-sensitive-enter): New variable.
15958 (calc-enter): Use `calc-context-sensitive-enter'.
15960 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
15962 * progmodes/cfengine.el: Version bump.
15963 (cfengine-cf-promises): New defcustom to locate cf-promises.
15964 (cfengine3-vartypes): Add new "data" type.
15965 (cfengine3--current-word): New function to get current name-like
15966 word or its bounds.
15967 (cfengine3--current-function): New function to look up a CFEngine
15968 function's definition.
15969 (cfengine3-format-function-docstring): New function.
15970 (cfengine3-make-syntax-cache): New function.
15971 (cfengine3-documentation-function): New function: ElDoc glue.
15972 (cfengine3-completion-function): New function: completion glue.
15973 (cfengine3-mode): Set `compile-command',
15974 `eldoc-documentation-function', and add to
15975 `completion-at-point-functions'.
15977 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
15979 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15980 `tramp-current-connection'.
15982 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
15984 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
15985 nil/self/true/false with "end of symbol".
15987 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
15989 * subr.el (version-regexp-alist): Fix a typo.
15991 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
15993 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
15994 "en_US.utf8" and "LC_CTYPE" to "".
15995 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
15996 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
15998 2013-11-15 Leo Liu <sdl.web@gmail.com>
16000 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
16002 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16004 * progmodes/gud.el (ctl-x-map):
16005 Remove C-x SPC binding. (Bug#12342)
16006 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
16008 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
16010 * subr.el (version-regexp-alist):
16011 Recognize hg, svn and darcs versions as snapshot versions.
16013 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
16014 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
16015 (ruby--encoding-comment-required-p): Extract from
16016 `ruby-mode-set-encoding'.
16017 (ruby-mode-set-encoding): Add the ability to always insert an
16018 utf-8 encoding comment. Fix and simplify coding comment update
16021 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
16023 * net/tramp-gvfs.el (top): Run init code only when
16024 `tramp-gvfs-enabled' is not nil.
16025 (tramp-gvfs-enabled): Check also :system bus.
16027 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16029 Sync with upstream verilog-mode revision 78e66ba.
16030 * progmodes/verilog-mode.el (verilog-end-of-defun)
16031 (verilog-type-completion, verilog-get-list): Remove unused funcs.
16032 (verilog-get-end-of-defun): Remove unused argument.
16033 (verilog-comment-depth): Remove unused local `e'.
16034 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
16035 Don't pass arg to verilog-get-end-of-defun.
16037 2013-11-14 Glenn Morris <rgm@gnu.org>
16039 * obsolete/assoc.el (aget): Prefix dynamic variable.
16041 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
16043 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16045 * widget.el, hfy-cmap.el: Remove bogus package version number.
16047 2013-11-13 Glenn Morris <rgm@gnu.org>
16049 * replace.el (replace-eval-replacement):
16050 Try to give more helpful error message. (Bug#15836)
16052 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16053 (archive-7z-update): Avoid custom type mismatches.
16055 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
16057 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
16059 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
16060 address can be empty.
16062 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
16063 Accept nil SWITCHES.
16064 (tramp-gvfs-handle-write-region): Implement APPEND.
16066 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
16068 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
16069 binary "|" operator and closing block args delimiter.
16070 Remove FIXME comment referring to Ruby 1.8-only syntax.
16071 (ruby-smie--implicit-semi-p): Not after "|" operator.
16072 (ruby-smie--closing-pipe-p): New function.
16073 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
16074 (ruby-smie-rules): Indent after "|".
16076 2013-11-12 Glenn Morris <rgm@gnu.org>
16078 * ps-print.el (ps-face-attribute-list):
16079 Handle anonymous faces. (Bug#15827)
16081 2013-11-12 Martin Rudalics <rudalics@gmx.at>
16083 * window.el (display-buffer-other-frame): Fix doc-string.
16086 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16088 * subr.el (force-mode-line-update): Delete, move to buffer.c.
16090 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
16092 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
16093 (tramp-sh-handle-file-local-copy): Don't write a message when
16094 saving temporary files.
16096 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
16097 both directories are remote.
16098 (tramp-smb-handle-directory-files): Do not return double entries.
16099 Do not expand full file names.
16100 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
16101 (tramp-smb-handle-write-region): Implement APPEND.
16102 (tramp-smb-get-stat-capability): Fix a stupid bug.
16104 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16106 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
16108 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16110 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
16111 throwing error over malformed let/let* (bug#15814).
16113 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16115 * iswitchb.el (iswitchb-mode): Mark obsolete.
16117 2013-11-11 Glenn Morris <rgm@gnu.org>
16119 * international/uni-bidi.el, international/uni-category.el:
16120 * international/uni-name.el, international/uni-numeric.el:
16121 Regenerate for Unicode 6.3.0.
16123 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
16125 * net/tramp.el (tramp-methods):
16126 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
16127 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
16129 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
16131 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16132 Force highlighting text after Summary keyword in doc face for rpm.
16134 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
16136 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
16137 available and the word has no wildcards, append one to the grep pattern.
16138 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
16139 (ispell-complete-word): Call `ispell-lookup-words' with the value
16140 independent of `ispell-look-p'.
16142 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16144 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
16146 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
16149 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16151 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
16152 (ruby-font-lock-keywords): Use backquote.
16154 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16156 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16157 (ruby-smie--backward-token): Only consider full-string matches.
16159 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
16161 * faces.el (describe-face): Add distant-foreground.
16163 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
16165 * progmodes/ruby-mode.el: Improve encoding comment handling.
16166 (ruby-encoding-magic-comment-style): New option.
16167 (ruby-custom-encoding-magic-comment-template): New option.
16168 (ruby--insert-coding-comment, ruby--detect-encoding):
16169 New functions extracted from `ruby-mode-set-encoding'.
16170 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
16171 to control the style of the auto-inserted encoding comment.
16173 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16175 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
16176 Use `smie-backward-sexp' with token argument.
16178 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
16180 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16181 Remove instrumentation code.
16183 2013-11-08 Glenn Morris <rgm@gnu.org>
16185 * progmodes/autoconf.el (autoconf-mode):
16186 Tweak comment-start-skip. (Bug#15822)
16188 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16190 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
16191 at bobp (bug#15826).
16192 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
16194 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
16196 * man.el (Man-start-calling): New macro, extracted from
16197 Man-getpage-in-background.
16198 (Man-getpage-in-background): Use it.
16199 (Man-update-manpage): New command.
16200 (Man-mode-map): Bind it.
16202 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16204 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
16205 of "and", "or", "&&" and "||".
16206 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
16207 argument. Prohibit opening curly brace because it could only be a
16208 block opener in that position.
16209 (ruby-smie--forward-token, ruby-smie--backward-token):
16210 Separate "|" from "&" or "*" going after it. That can happen in block
16212 (ruby-smie--indent-to-stmt): New function, seeks the end of
16213 previous statement or beginning of buffer.
16214 (ruby-smie-rules): Use it.
16215 (ruby-smie-rules): Check if there's a ":" before a curly block
16216 opener candidate; if there is, it's a hash.
16218 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16220 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
16221 (cl--block-wrapper): Fix last accidental change.
16223 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
16225 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16226 Instrument, in order to hunt failure on hydra.
16228 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16230 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
16231 malformed bindings form (bug#15814).
16233 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
16235 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
16236 "." compared to " @ ". This incidentally fixes some indentation
16237 examples with "do".
16238 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
16239 (ruby-smie-grammar): New tokens: "and" and "or".
16240 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
16241 Exclude "and" and "or". Remove "do" in order to work around token
16243 (ruby-smie-rules): Add all infix tokens. Handle the case of
16244 beginning-of-buffer.
16246 2013-11-06 Glenn Morris <rgm@gnu.org>
16248 * Makefile.in (setwins_almost, setwins_for_subdirs):
16249 Avoid accidental matches.
16251 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
16253 * menu-bar.el (popup-menu): Use key-binding.
16255 2013-11-06 Eli Zaretskii <eliz@gnu.org>
16257 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
16258 menus, support also the menus produced by minor modes.
16261 2013-11-06 Leo Liu <sdl.web@gmail.com>
16263 * thingatpt.el (thing-at-point-looking-at): Add optional arg
16264 DISTANCE to bound the search. All uses changed. (Bug#15808)
16266 2013-11-06 Glenn Morris <rgm@gnu.org>
16268 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
16269 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
16270 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
16272 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
16274 * electric.el (electric-indent-just-newline): New command.
16275 (electric-indent-mode-map): New keymap.
16276 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
16277 Re-add :group which weren't redundant.
16279 * electric.el (electric-indent-local-mode): New minor mode.
16280 (electric-indent-functions-without-reindent): New var.
16281 (electric-indent-post-self-insert-function): Use it.
16282 * emacs-lisp/gv.el (buffer-local-value): Add setter.
16284 2013-11-05 Eli Zaretskii <eliz@gnu.org>
16286 * international/quail.el (quail-help): Be more explicit about the
16287 meaning of the labels shown on the keys. (Bug#15800)
16289 * startup.el (normal-top-level): Load the subdirs.el files before
16290 setting the locale environment. (Bug#15805)
16292 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16294 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
16295 via arguments so as to get the right ones (bug#15418).
16297 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
16299 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
16301 Fix problems found while writing a test suite.
16303 * net/tramp-compat.el (tramp-compat-load): New defun.
16304 * net/tramp.el (tramp-handle-load): Use it.
16306 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
16307 "(numberp ok-if-already-exists)" correctly.
16309 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
16311 * international/characters.el (glyphless-char-display-control):
16314 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
16316 * progmodes/python.el (python-mode):
16317 * progmodes/scheme.el (scheme-mode):
16318 * progmodes/prolog.el (prolog-mode):
16319 * progmodes/ruby-mode.el (ruby-mode):
16320 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
16321 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
16323 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16325 * rect.el (rectangle--highlight-for-redisplay):
16326 * emacs-lisp/smie.el (smie--next-indent-change):
16327 Use buffer-chars-modified-tick.
16329 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
16331 * electric.el (electric-indent-post-self-insert-function):
16332 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
16334 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
16336 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
16338 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16340 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
16343 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16345 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
16347 * progmodes/python.el: Fix up last change.
16348 (python-shell--save-temp-file): New function.
16349 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
16350 `string' comes from the current buffer.
16351 (python-shell-send-string-no-output): Remove `msg' arg.
16352 (python--use-fake-loc): New var.
16353 (python-shell-buffer-substring): Obey it. Try to compensate for the
16354 extra coding line added by python-shell--save-temp-file.
16355 (python-shell-send-region): Use python-shell--save-temp-file and
16356 python-shell-send-file directly. Add `nomain' argument.
16357 (python-shell-send-buffer): Use python-shell-send-region.
16358 (python-electric-pair-string-delimiter): New function.
16359 (python-mode): Use it.
16361 2013-11-04 Eli Zaretskii <eliz@gnu.org>
16363 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
16364 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
16365 environment and decoding all of the default-directory's to here
16367 (command-line): Decode also argv[0].
16369 * loadup.el: Error out if default-directory is a multibyte string
16370 when we are dumping.
16372 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
16374 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
16376 * emacs-lisp/package.el (package-menu-mode)
16377 (package-menu--print-info, package-menu--archive-predicate):
16378 Add Archive column to package list.
16380 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
16382 Fix problems found while writing a test suite.
16384 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
16385 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
16386 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
16387 to nil when running original file name handler. Otherwise,
16388 there are problems with constructs like "$$FOO".
16390 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
16393 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
16395 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
16397 * subr.el (version<, version<=, version=):
16398 Update docstrings with information for snapshot versions.
16400 * helpers.el: New library for misc helper functions.
16401 (hash-table-keys): New function returning a list of hash keys.
16402 (hash-table-values): New function returning a list of hash values.
16404 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
16406 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16407 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
16409 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
16411 * textmodes/fill.el (fill-single-char-nobreak-p): New function
16412 checking whether point is after a 1-letter word.
16414 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16416 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
16417 Don't infloop when expanding region over `multiline' syntax-type that
16418 begins a line (bug#15778).
16420 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16422 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
16423 Make it into a proper minor mode.
16424 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
16425 (rectangle-mark-mode-map): New keymap.
16426 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
16428 2013-11-04 Glenn Morris <rgm@gnu.org>
16430 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
16432 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16434 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
16435 (ruby-smie-rules): Use smie-rule-parent instead.
16437 * emacs-lisp/smie.el (smie-rule-parent): Always call
16438 smie-indent-virtual rather than only for hanging tokens.
16439 (smie--next-indent-change): New helper command.
16441 2013-11-03 Glenn Morris <rgm@gnu.org>
16443 * Makefile.in (abs_srcdir): Remove.
16444 (emacs): Unset EMACSLOADPATH.
16446 2013-11-02 Glenn Morris <rgm@gnu.org>
16448 * Makefile.in (EMACS): Use a relative filename.
16449 (abs_top_builddir): Remove.
16450 (custom-deps, finder-data, autoloads): Use --chdir.
16452 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
16454 Use relative filenames in TAGS files.
16455 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16456 (lisptagsfiles4, TAGS): Use relative file names.
16457 (TAGS-LISP): Remove.
16458 (maintainer-clean): No more TAGS-LISP file.
16460 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16461 (lisptagsfiles4): Use absolute filenames again.
16462 (TAGS, TAGS-LISP): Not everything needs to run in one line.
16463 Remove all *loaddefs files, not just the first. Remove esh-groups.
16464 (maintainer-clean): Delete TAGS, TAGS-LISP.
16466 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16468 * emacs-lisp/package.el (package-version-join):
16469 Recognize snapshot versions.
16471 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16473 * subr.el (version-regexp-alist): Add support for snapshot versions.
16475 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16477 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
16478 New function, replacement for `smie-rule-parent' for when we want to
16479 skip over our direct parent if it's an assignment token..
16480 (ruby-smie-rules): Use it.
16482 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16484 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
16485 unconditionally. Remove now unnecessary forward declarations.
16486 Remove XEmacs-specific setup.
16487 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
16488 (ruby-font-lock-syntactic-keywords)
16489 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
16490 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
16491 (ruby-here-doc-end-syntax): Remove.
16492 (ruby-mode): Don't check whether `syntax-propertize-rules' is
16493 defined as function.
16495 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16497 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
16499 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16501 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
16502 table and abbrev table, `define-derived-mode' does that for us
16505 2013-11-01 Glenn Morris <rgm@gnu.org>
16507 * Makefile.in: Remove manual mh-e dependencies (writing .elc
16508 files is atomic for some time, so no parallel compilation issues).
16510 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
16512 * faces.el (face-x-resources): Add :distant-foreground.
16513 (region): Use :distant-foreground for gtk and ns.
16515 2013-11-01 Tassilo Horn <tsdh@gnu.org>
16517 Allow multiple bibliographies when BibLaTeX is used rather than
16519 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
16520 (reftex-locate-bibliography-files): Us it.
16522 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
16524 * image.el (image-type-header-regexps): Fix the 'pbm' part to
16525 allow comments in pbm files.
16527 * term/w32-win.el (dynamic-library-alist): Support newer versions
16528 of libjpeg starting with v7: look only for the DLL from the
16529 version against which Emacs was built.
16530 Support versions of libpng beyond 1.4.x.
16531 Support libtiff v4.x.
16533 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16535 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
16536 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
16537 Add property :safe.
16538 (ruby-deep-arglist): Add property :type.
16540 2013-10-31 Glenn Morris <rgm@gnu.org>
16542 * Makefile.in (custom-deps, finder-data): No need to setq the target
16543 variables, we are in the right directory and the defaults work fine.
16545 2013-10-30 Glenn Morris <rgm@gnu.org>
16547 * Makefile.in (autoloads): Do not use abs_lisp.
16549 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16550 `newline' does not respect `standard-output', so use `princ'.
16552 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
16554 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
16555 * buff-menu.el (Buffer-menu--unmark): New function.
16556 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
16558 2013-10-30 Glenn Morris <rgm@gnu.org>
16560 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
16562 * emacs-lisp/package.el (lm-homepage): Declare.
16564 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
16567 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
16569 * Makefile.in (finder-data, autoloads, update-subdirs)
16570 (compile-main, compile-clean, compile-always, bootstrap-clean):
16571 Check return value of cd.
16572 (compile-calc): Remove.
16574 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16576 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
16578 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
16579 (byte-compile-and-folded): New function.
16580 (=, <, >, <=, >=): Use it.
16582 * dos-w32.el (minibuffer-history-case-insensitive-variables)
16583 (path-separator, null-device, buffer-file-coding-system)
16584 (lpr-headers-switches): Check system-type before modifying them.
16585 (find-buffer-file-type-coding-system): Mark obsolete.
16586 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
16587 find-file-not-found-set-buffer-file-coding-system.
16588 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
16589 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
16590 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
16591 (w32-direct-print-region-helper, w32-direct-print-region-function)
16592 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
16593 * startup.el (normal-top-level-add-subdirs-to-load-path):
16594 * ps-print.el (ps-print-region-function):
16595 * lpr.el (print-region-function): Use new name.
16597 * subr.el (custom-declare-variable-early): Remove function.
16598 (custom-declare-variable-list): Remove var.
16599 (error, user-error): Remove `while' loop.
16600 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
16601 (user-emacs-directory-warning, locate-user-emacs-file):
16603 * simple.el (read-quoted-char-radix, read-quoted-char):
16604 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
16606 * custom.el (custom-declare-variable-list): Don't process
16607 custom-declare-variable-list.
16609 * progmodes/python.el (python-shell-get-buffer): New function.
16610 (python-shell-get-process): Use it.
16611 (python-shell-send-string): Always use utf-8 and add a cookie to tell
16612 Python which encoding was used. Don't split-string since we only care
16613 about the first line. Return the temp-file, if applicable.
16614 (python-shell-send-region): Tell compile.el how to turn locations in
16615 the temp-file into locations in the source buffer.
16617 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
16619 * subr.el (undefined): Add missing behavior from the C code for
16622 * rect.el: Use lexical-binding. Add new rectangular region support.
16623 (rectangle-mark): New command.
16624 (rectangle--region): New var.
16625 (deactivate-mark-hook): Reset rectangle--region.
16626 (rectangle--extract-region, rectangle--insert-for-yank)
16627 (rectangle--highlight-for-redisplay)
16628 (rectangle--unhighlight-for-redisplay): New functions.
16629 (region-extract-function, redisplay-unhighlight-region-function)
16630 (redisplay-highlight-region-function): Use them to handle
16631 rectangular region.
16632 * simple.el (region-extract-function): New var.
16633 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
16634 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
16635 (kill-region): Replace obsolete `yank-handler' arg with `region'.
16636 (copy-region-as-kill, kill-ring-save): Add `region' argument.
16637 (redisplay-unhighlight-region-function)
16638 (redisplay-highlight-region-function): New vars.
16639 (redisplay--update-region-highlight): New function.
16640 (pre-redisplay-function): Use it.
16641 (exchange-point-and-mark): Don't deactivate the mark before
16642 reactivate-it anyway.
16643 * comint.el (comint-kill-region): Remove yank-handler argument.
16644 * delsel.el (delete-backward-char, backward-delete-char-untabify)
16645 (delete-char): Remove property, since it's now part of their
16647 (self-insert-iso): Remove property since this command doesn't exist.
16649 * emacs-lisp/package.el (package--download-one-archive)
16650 (describe-package-1): Don't query the user about final newline.
16652 2013-10-29 Daniel Colascione <dancol@dancol.org>
16654 * net/tramp.el (tramp-methods): Document new functionality.
16655 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
16656 tramp-hostname-checker if method provides one instead of scanning
16657 argument list for "%h" to decide hostname acceptability.
16659 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
16661 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16662 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16663 Handle COPY-CONTENTS. (Bug#15737)
16665 2013-10-28 Daiki Ueno <ueno@gnu.org>
16667 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16668 Document that this option has no effect with GnuPG 2.0 (bug#15552).
16670 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
16672 * image.el (defimage, image-load-path): Doc fixes.
16674 2013-10-27 Alan Mackenzie <acm@muc.de>
16676 Indent statements in macros following "##" correctly.
16677 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16678 Modify the "#" arm of a cond form to handle "#" and "##" operators.
16680 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16682 * linum.el (linum-update-window): Fix boundary test (bug#13446).
16684 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
16686 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
16687 after `=' is probably a new expression.
16689 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16691 * man.el (man-imenu-title): New option.
16692 (Man-mode-map): Add menu. (Bug#15722)
16693 (Man-mode): Add imenu to menu.
16695 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
16697 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
16698 specific in what the first arg can be: a non-keyword word,
16699 string/regexp/percent literal opener, opening paren, or unary
16700 operator followed directly by word.
16702 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16704 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
16705 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
16706 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
16707 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
16708 Remove vars, they do not apply any more.
16709 (prolog-mode-abbrev-table): Remove redundant declaration.
16710 (prolog-upper-case-string, prolog-lower-case-string): Remove.
16711 (prolog-use-smie): Remove.
16712 (prolog-smie-rules): Add indentation rule for the if-then-else layout
16713 supported by prolog-electric-if-then-else-flag.
16714 (prolog-mode-variables, prolog-menu): Use setq-local.
16715 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
16716 Remove binding to `Backspace' since this key doesn't exist anyway.
16717 Remove bindings for electric self-inserting keys.
16718 (prog-mode): Assume it's defined.
16719 (prolog-post-self-insert): New function.
16720 (prolog-mode): Use it.
16721 (prolog-indent-line, prolog-indent-level)
16722 (prolog-find-indent-of-matching-paren)
16723 (prolog-indentation-level-of-line, prolog-goto-comment-column)
16724 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
16725 (prolog-goto-next-paren, prolog-in-string-or-comment)
16726 (prolog-tokenize, prolog-inside-mline-comment)
16727 (prolog-find-start-of-mline-comment): Remove functions.
16728 (prolog-find-unmatched-paren, prolog-clause-end)
16729 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
16730 (prolog-electric--if-then-else): Rename from
16731 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
16732 (prolog-tokenize-searchkey): Remove const.
16733 (prolog-clause-info): Use forward-sexp.
16734 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
16735 (prolog-electric-if-then-else): Remove commands.
16736 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
16737 for use in post-self-insert-hook.
16738 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
16739 for use in post-self-insert-hook.
16740 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
16741 for use in post-self-insert-hook.
16742 (prolog-electric--underscore): Rename from prolog-electric--underscore;
16743 adapt it for use in post-self-insert-hook.
16745 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
16747 * emacs-lisp/ert.el (ert-run-tests-interactively):
16748 Use `completing-read'. (Bug#9756)
16750 2013-10-25 Eli Zaretskii <eliz@gnu.org>
16752 * simple.el (line-move): Call line-move-1 instead of
16753 line-move-visual when the current window hscroll is zero, but
16754 temporary-goal-column indicates we will need to hscroll as result
16755 of the movement. (Bug#15712)
16757 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
16759 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
16760 capitalization. Use :visible instead of :active.
16761 Fix `ruby-indent-exp' reference. Add menu items for the generic
16762 commands that are used with SMIE.
16763 (ruby-do-end-to-brace): Insert space after `{'.
16765 2013-10-25 John Anthony <john@jo.hnanthony.com>
16767 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
16769 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
16771 2013-10-25 Glenn Morris <rgm@gnu.org>
16773 * vc/vc.el (vc-print-log): Don't use a working revision unless
16774 one was explicitly specified. (Bug#15322)
16776 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16778 * subr.el (add-to-list): Preserve return value in compiler-macro
16781 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16783 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
16784 result. Ask user to retry using '-all' flag. (Bug#15701)
16786 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16788 * emacs-lisp/smie.el: New smie-config system.
16789 (smie-config): New defcustom.
16790 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
16791 (smie-config-guess, smie-config-save): New commands.
16792 (smie-config--mode-local, smie-config--buffer-local)
16793 (smie-config--trace, smie-config--modefuns): New vars.
16794 (smie-config--advice, smie-config--mode-hook)
16795 (smie-config--setter, smie-config-local, smie-config--get-trace)
16796 (smie-config--guess-value, smie-config--guess): New functions.
16797 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
16798 text properties. Treat "string fence" syntax like string syntax.
16800 * progmodes/sh-script.el (sh-use-smie): Change default.
16801 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
16802 (sh-var-value): Simplify by CSE.
16803 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
16804 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
16806 (sh-guess-basic-offset): Use cl-incf.
16807 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
16809 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
16811 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
16814 2013-10-24 Glenn Morris <rgm@gnu.org>
16816 * Makefile.in (abs_top_srcdir): Remove.
16817 (update-subdirs): Use relative path to update-subdirs.
16819 2013-10-24 Eli Zaretskii <eliz@gnu.org>
16821 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
16822 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
16823 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
16824 Call unmsys--file-name before expand-file-name, not after it.
16826 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
16828 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
16829 (ert-test-skipped): New error.
16830 (ert-skip, ert-stats-skipped): New defuns.
16831 (ert--skip-unless): New macro.
16832 (ert-test-skipped): New struct.
16833 (ert--run-test-debugger, ert-test-result-type-p)
16834 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
16835 (ert--stats-set-test-and-result, ert-char-for-test-result)
16836 (ert-string-for-test-result, ert-run-tests-batch)
16837 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
16838 Handle skipped tests. (Bug#9803)
16840 2013-10-24 Glenn Morris <rgm@gnu.org>
16842 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
16844 * Makefile.in (abs_top_srcdir): New, set by configure.
16845 (update-subdirs): Correct build-aux location.
16847 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
16849 * vc/vc.el (vc-print-root-log): Always set `default-directory'
16850 value, whether we could auto-deduce `backend', or not.
16852 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
16853 with parameters" example. Simplify the "is it block or is it
16854 hash" check, but also make it more thorough.
16856 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
16858 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
16860 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16862 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
16863 { if it is hanging.
16865 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
16868 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
16870 * progmodes/compile.el (compilation-directory-matcher)
16871 (compilation-page-delimiter):
16872 Support GNU Make-4.0 directory quoting. (Bug#15678)
16874 2013-10-23 Leo Liu <sdl.web@gmail.com>
16876 * ido.el (ido-tidy): Handle read-only text.
16878 2013-10-23 Glenn Morris <rgm@gnu.org>
16880 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
16881 (emacs, compile, compile-always):
16882 Quote entities that might contain whitespace.
16883 (custom-deps, finder-data, autoloads): Use abs_lisp.
16884 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16885 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16886 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
16888 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
16890 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
16891 Use `following-char'.
16893 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16895 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
16896 * progmodes/ruby-mode.el (ruby-smie-rules):
16897 Remove corresponding workaround. Fix indentation rule of ";" so it
16898 also applies when ";" is the parent.
16900 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
16902 * frame.el (display-screens, display-pixel-height)
16903 (display-pixel-width, display-mm-width, display-backing-store)
16904 (display-save-under, display-planes, display-color-cells)
16905 (display-visual-class, display-monitor-attributes-list):
16906 Mention the optional ‘display’ argument in doc strings.
16908 2013-10-22 Michael Gauland <mikelygee@amuri.net>
16910 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
16911 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
16913 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
16915 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
16916 TODO. Add "." after " @ ".
16917 (ruby-smie--at-dot-call): New function. Checks if point at method
16918 call with explicit target.
16919 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
16920 to the method name tokens when it precedes them.
16921 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
16922 (ruby-smie-rules): Add rule for indentation before and after "."
16925 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16927 * textmodes/remember.el (remember-diary-extract-entries):
16930 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
16933 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
16935 * progmodes/ruby-mode.el (ruby-smie-grammar):
16936 Add (almost) all infix operators.
16937 (ruby-smie--implicit-semi-p): Add new operator chars.
16939 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
16941 (ruby-smie--args-separator-p): Check that there's no newline
16942 between method call and its arguments.
16944 2013-10-20 Alan Mackenzie <acm@muc.de>
16946 Allow comma separated lists after Java "implements".
16948 * progmodes/cc-engine.el (c-backward-over-enum-header):
16950 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
16951 from a "disallowed" list in enum fontification.
16953 2013-10-20 Johan Bockgård <bojohan@gnu.org>
16955 * startup.el (default-frame-background-mode): Remove unused defvar.
16957 * progmodes/verilog-mode.el (verilog-mode): Don't set
16958 comment-indent-function globally.
16960 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
16962 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
16963 Move Info menu item creation to ns-win.el.
16965 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
16968 * menu-bar.el: Move GNUstep specific menus...
16970 * term/ns-win.el (ns-initialize-window-system): ... to here.
16972 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16974 * simple.el (newline): Only run post-self-insert-hook when
16975 called interactively.
16977 2013-10-19 Johan Bockgård <bojohan@gnu.org>
16979 * icomplete.el (icomplete-with-completion-tables): Add :version.
16981 2013-10-19 Alan Mackenzie <acm@muc.de>
16983 Fix fontification bugs with constructors and const.
16985 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
16986 CASE 2) Remove the check for the absence of a suffix construct
16987 after a function declaration with only types (no identifiers) in
16988 the parentheses. Also, accept a function declaration with just a
16989 type inside the parentheses, if this type can be positively
16990 recognised as such, or if a prefix keyword like "explicit" nails
16991 down the construct as a declaration.
16993 2013-10-19 Eli Zaretskii <eliz@gnu.org>
16995 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
16996 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
16997 the problem whereby selecting a menu item that leads to a
16998 minibuffer prompt moves the cursor out of the minibuffer window,
16999 making it hard to type at the prompt. Suggested by Stefan Monnier
17000 <monnier@iro.umontreal.ca>.
17002 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
17004 * menu-bar.el: Don't make Services menu.
17006 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17008 * ffap.el: Handle "/usr/include/c++/<version>" directories.
17009 (ffap-alist): Use ffap-c++-mode for c++-mode.
17010 (ffap-c++-path): New variable.
17011 (ffap-c++-mode): New function.
17013 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
17015 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
17017 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
17019 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
17020 introduced on 2013-09-08, which results in an infinite loop
17021 requesting a password.
17023 2013-10-18 Glenn Morris <rgm@gnu.org>
17025 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
17027 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
17029 Sync with upstream verilog-mode revision 1a6ecec7.
17030 * progmodes/verilog-mode.el (verilog-mode-version): Update.
17031 (verilog-mode-release-date): Remove.
17032 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
17033 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
17034 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
17035 (verilog-auto-tieoff-ignore-regexp)
17036 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
17037 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
17038 (verilog-signals-with, verilog-dir-cache-preserving)
17039 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
17041 (verilog-case-fold): New option, to control case folding in
17042 regexp searches, bug597.
17043 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
17044 (verilog-string-match-fold, verilog-in-paren-count)
17045 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
17046 (verilog-at-close-struct-p): New functions.
17047 (verilog-beg-block-re-ordered, verilog-extended-case-re)
17048 (verilog-forward-sexp, verilog-set-auto-endcomments)
17049 (verilog-leap-to-case-head): Handle "unique0" case.
17050 (verilog-in-constraint-re): New constant.
17051 (verilog-keywords, verilog-type-font-keywords):
17052 Add some SystemVerilog 1800-2012 keywords.
17053 (verilog-label-be): Remove unimplemented argument, bug669.
17054 (verilog-batch-execute-func): When batch expanding clear
17055 create-lockfiles to prevent spurious user locks when a file ends
17057 (verilog-calculate-indent, verilog-calc-1)
17058 (verilog-at-close-constraint-p, verilog-at-constraint-p)
17059 (verilog-do-indent): Fix indentation of nested constraints
17061 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
17062 (verilog-auto-inst-param): Use verilog-string-match-fold.
17063 (verilog-read-inst-module-matcher):
17064 Fix AUTOINST on gate primitives with #1.
17065 (verilog-read-decls): Fix double-declaring user-defined typed signals.
17066 Reads all user-defined typed variables.
17067 (verilog-read-defines): Fix reading definitions inside comments, bug647.
17068 (verilog-signals-matching-regexp)
17069 (verilog-signals-not-matching-regexp, verilog-auto):
17070 Respect verilog-case-fold.
17071 (verilog-diff-report): Fix line count.
17072 (verilog-auto-assign-modport): Remove unused local `modi'.
17073 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
17074 better handle multidimensional arrays.
17075 Fix packed array ports misadding bit index in AUTOINST, bug637.
17076 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
17077 to not double-declare existing outputs and inputs, respectively.
17078 (verilog-template-map): Bind U to verilog-sk-uvm-component.
17079 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
17080 (verilog-sk-uvm-component): New skeleton.
17081 (verilog-submit-bug-report): Add verilog-case-fold,
17082 remove verilog-mode-release-date.
17084 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
17086 * subr.el (sit-for): Call (input-pending-p t) so as to behave
17089 2013-10-18 Reuben Thomas <rrt@sc3d.org>
17091 * textmodes/remember.el (remember): Set buffer-offer-save in
17092 remember buffers (bug#13566).
17094 2013-10-18 Daniel Colascione <dancol@dancol.org>
17096 When evaluating forms in ielm, direct standard output to ielm
17097 buffer. Add new ielm-return-for-effect command. Remove trailing
17098 whitespace throughout.
17100 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
17101 (ielm-return-for-effect): New command.
17102 (ielm-send-input): Accept optional `for-effect' parameter.
17103 (ielm-eval-input): Accept optional `for-effect' parameter.
17104 Bind `standard-output' to stream we create using
17105 `ielm-standard-output-impl'. Suppress printing result when
17107 (ielm-standard-output-impl): New function.
17108 (inferior-emacs-lisp-mode): Explain new features in documentation.
17110 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
17114 * net/tramp.el (tramp-debug-message): Do not check for connection
17116 (tramp-message): Use "vector" connection property.
17118 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
17119 (tramp-equal-remote, tramp-eshell-directory-change)
17120 * net/tramp-adb.el (tramp-adb-handle-copy-file)
17121 (tramp-adb-handle-rename-file)
17122 * net/tramp-cmds.el (tramp-list-remote-buffers)
17123 (tramp-cleanup-connection, tramp-cleanup-this-connection)
17124 * net/tramp-compat.el (tramp-compat-process-running-p)
17125 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
17126 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
17127 (tramp-gvfs-handle-rename-file)
17128 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
17129 (tramp-set-file-uid-gid)
17130 * net/tramp-smb.el (tramp-smb-handle-copy-file)
17131 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
17132 of `file-remote-p'.
17134 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
17135 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
17136 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
17137 (tramp-gw-open-network-stream): Suppress unrelated traces.
17139 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
17140 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
17141 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17142 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
17143 connection property.
17145 * net/tramp-cache.el (top): Suppress traces when reading
17148 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
17149 Refactor common code. Improve debug message.
17150 (tramp-maybe-open-connection)
17151 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
17152 connection buffer too early.
17154 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
17155 from `tramp-smb-actions-with-acl'.
17156 (tramp-smb-actions-set-acl): New defconst.
17157 (tramp-smb-handle-copy-directory)
17158 (tramp-smb-action-get-acl): New defun, renamed from
17159 `tramp-smb-action-with-acl'.
17160 (tramp-smb-action-set-acl): New defun.
17161 (tramp-smb-handle-set-file-acl): Rewrite.
17163 2013-10-17 Glenn Morris <rgm@gnu.org>
17165 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
17167 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17169 * skeleton.el (skeleton-newline): Remove.
17170 (skeleton-internal-1): Use (insert "\n") instead.
17172 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
17175 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
17176 forward-sexp-function while we redo its job (bug#15613).
17178 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
17180 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
17181 represented by lists.
17183 2013-10-16 Glenn Morris <rgm@gnu.org>
17185 * tmm.el (tmm--history): New dynamic variable.
17186 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
17188 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
17190 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
17191 (tramp-smb-errors): Add error messages.
17192 (tramp-smb-actions-with-acl): New defconst.
17193 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
17194 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
17195 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
17196 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
17197 (tramp-smb-get-stat-capability): Fix tests.
17199 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
17201 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
17204 2013-10-16 Glenn Morris <rgm@gnu.org>
17206 * ansi-color.el (ansi-color-drop-regexp):
17207 Add 1J, 1K, 2K. (Bug#15617)
17209 * files.el (hack-local-variables--warned-lexical): New.
17210 (hack-local-variables):
17211 Warn about misplaced lexical-binding. (Bug#15616)
17213 * net/eww.el (eww-render): Always set eww-current-url,
17214 and update header line. (Bug#15622)
17215 (eww-display-html): ... Rather than just doing it here.
17217 2013-10-15 Eli Zaretskii <eliz@gnu.org>
17219 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
17220 menu navigations commands.
17222 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
17224 * progmodes/subword.el (subword-capitalize): Be careful when
17225 the search for [[:alpha:]] fails (bug#15580).
17227 2013-10-14 Eli Zaretskii <eliz@gnu.org>
17229 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
17230 to commands that scroll the menu.
17232 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
17234 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
17235 Handle methods ending with `?' and `!'.
17237 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
17239 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
17240 `japanese-cp932' to `cp932' to fix the problem where saving a
17241 source file written in Shift_JIS twice would end up having
17242 `coding: japanese-cp932' which Ruby could not recognize.
17243 (ruby-mode-set-encoding): Add support for encodings mapped to nil
17244 in `ruby-encoding-map'.
17245 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
17246 doesn't need to be explicitly declared in magic comment.
17247 (ruby-encoding-map): Add type declaration for better customize UI.
17249 2013-10-13 Glenn Morris <rgm@gnu.org>
17251 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
17252 Occur buffers are read-only. http://bugs.debian.org/720775
17254 * emacs-lisp/authors.el (authors-fixed-entries):
17255 Comment out old alpha stuff.
17257 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
17259 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
17260 to `after-save-hook' instead of `before-save-hook'.
17261 (ruby-mode-set-encoding): Use the value of coding system used to
17262 write the file. Call `basic-save-buffer-1' after modifying the
17265 2013-10-13 Alan Mackenzie <acm@muc.de>
17267 Fix indentation/fontification of Java enum with
17268 "implements"/generic.
17270 * progmodes/cc-engine.el (c-backward-over-enum-header):
17271 Extracted from the three other places and enhanced to handle generics.
17272 (c-inside-bracelist-p): Uses new function above.
17273 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
17275 (c-font-lock-enum-tail): Uses new function above.
17277 2013-10-13 Kenichi Handa <handa@gnu.org>
17279 * international/mule-cmds.el (select-safe-coding-system): Remove a
17280 superfluous condition in chekcing whether a coding system is safe
17283 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
17285 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
17287 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
17289 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
17291 2013-10-13 Glenn Morris <rgm@gnu.org>
17293 * menu-bar.el (menu-bar-update-buffers):
17294 Unify Buffers menu prompt string. (Bug#15576)
17296 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
17298 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
17300 (authors-fixed-entries): Use accented form of name.
17302 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17304 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
17305 method calls (bug#15594).
17306 (ruby-smie--args-separator-p): New function.
17307 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
17308 recognize paren-free method calls.
17310 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
17311 internals of universal-argument.
17313 2013-10-11 Eli Zaretskii <eliz@gnu.org>
17315 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
17316 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
17317 dropped menu on second mouse click on the menu bar.
17319 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17321 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
17322 (explicit-shell-file-name): Declare.
17323 (sh--vars-before-point, sh--cmd-completion-table): New functions.
17324 (sh-completion-at-point-function): New function.
17326 (sh-smie--keyword-p): Remove unused argument.
17327 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
17329 (sh-set-shell): Always setup SMIE, even if we use the
17330 old indentation code.
17332 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
17334 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
17336 (ruby-smie-rules): Simplify the "do" rule. The cases when the
17337 predicate would return nil are almost non-existent.
17338 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
17340 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
17341 cache also after commands that modify the buffer but don't move
17344 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17346 * env.el (substitute-env-in-file-name): New function.
17347 (substitute-env-vars): Extend the meaning of the optional arg.
17349 2013-10-10 Eli Zaretskii <eliz@gnu.org>
17351 * term/w32-win.el (dynamic-library-alist): Define separate lists
17352 of GIF DLLs for versions before and after 5.0.0 of giflib.
17355 2013-10-10 João Távora <joaotavora@gmail.com>
17357 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
17358 not locked, use last revision and current source as
17359 defaults. (Bug#15569)
17361 2013-10-10 Masatake YAMATO <yamato@redhat.com>
17363 * menu-bar.el (menu-bar-open): Don't use popup-menu if
17364 menu-bar is hidden.
17366 2013-10-10 Martin Rudalics <rudalics@gmx.at>
17368 * window.el (pop-to-buffer-same-window): Fix doc-string.
17371 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17373 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
17375 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
17377 * calendar/icalendar.el (icalendar-import-file):
17378 Fix interactive spec. (Bug#15482)
17380 2013-10-10 Glenn Morris <rgm@gnu.org>
17382 * desktop.el (desktop-save): Default to saving in .emacs.d,
17383 since PWD is no longer in desktop-path by default. (Bug#15319)
17385 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
17386 now that text mode has a menu with the same entry.
17387 (menu-bar-text-mode-auto-fill): Remove now unused func.
17388 * textmodes/text-mode.el (text-mode-map):
17389 Use auto-fill help text from menu-bar.el.
17391 2013-10-10 John Anthony <john@jo.hnanthony.com>
17393 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
17395 2013-10-09 Juri Linkov <juri@jurta.org>
17397 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
17398 instead of this-command-keys. Add universal-argument-more and
17399 universal-argument-minus to the list of prefix commands. (Bug#15568)
17401 2013-10-09 Glenn Morris <rgm@gnu.org>
17403 * vc/vc-svn.el (vc-svn-create-repo):
17404 Expand paths in file://... url. (Bug#15446)
17406 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
17408 (authors): Remove unused local variables.
17410 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
17412 * profiler.el: Create a more coherent calltree from partial backtraces.
17413 (profiler-format): Hide the tail with `invisible' so that C-s can still
17414 find the hidden elements.
17415 (profiler-calltree-depth): Don't recurse so enthusiastically.
17416 (profiler-function-equal): New hash-table-test.
17417 (profiler-calltree-build-unified): New function.
17418 (profiler-calltree-build): Use it.
17419 (profiler-report-make-name-part): Indent the calltree less.
17420 (profiler-report-mode): Add visibility specs for profiler-format.
17421 (profiler-report-expand-entry, profiler-report-toggle-entry):
17422 Expand the whole subtree when provided with a prefix arg.
17424 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
17426 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
17428 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
17429 hanging iuwu-mod token.
17430 (ruby-smie--forward-token): Do not include a dot after a token in
17432 (ruby-smie--backward-token): Likewise.
17434 2013-10-08 Juri Linkov <juri@jurta.org>
17436 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
17437 to isearch-other-control-char.
17438 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
17439 and isearch-post-command-hook to post-command-hook.
17440 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
17441 and isearch-post-command-hook from post-command-hook.
17442 (isearch-unread-key-sequence)
17443 (isearch-reread-key-sequence-naturally)
17444 (isearch-lookup-scroll-key, isearch-other-control-char)
17445 (isearch-other-meta-char): Remove functions.
17446 (isearch-pre-command-hook, isearch-post-command-hook):
17447 New functions based on isearch-other-meta-char rewritten
17448 relying on the new behavior of overriding-terminal-local-map
17449 that does not replace the local keymaps any more. (Bug#15200)
17451 2013-10-08 Eli Zaretskii <eliz@gnu.org>
17453 Support menus on text-mode terminals.
17454 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
17457 * tooltip.el (tooltip-mode): Don't error out on TTYs.
17459 * menu-bar.el (popup-menu, popup-menu-normalize-position):
17460 Move here from mouse.el.
17461 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
17463 (tty-menu-navigation-map): New map for TTY menu navigation.
17465 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
17467 * frame.el (display-mouse-p): Report text-mode mouse as available
17469 (display-popup-menus-p): Report availability if mouse is
17470 available; don't condition on window-system.
17472 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
17473 (tty-menu-selected-face): New faces.
17475 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17477 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
17478 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
17479 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
17480 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
17482 (lisp-mode-variables): New `elisp' argument.
17483 (emacs-lisp-mode): Use it.
17484 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
17485 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
17487 * indent.el: Use lexical-binding.
17488 (indent-region): Add progress reporter.
17489 (tab-stop-list): Make it implicitly extend to infinity by repeating the
17491 (indent--next-tab-stop): New function to implement this behavior.
17492 (tab-to-tab-stop, move-to-tab-stop): Use it.
17494 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
17496 * indent.el (indent-rigidly--current-indentation): New function.
17497 (indent-rigidly-map): New var.
17498 (indent-rigidly): Use it to provide interactive mode (bug#8196).
17500 2013-10-08 Bastien Guerry <bzg@gnu.org>
17502 * register.el (insert-register): Fix 2013-10-07 change.
17504 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17506 * progmodes/perl-mode.el: Use lexical-binding.
17507 Remove redundant :group args.
17508 (perl-nochange): Change default to be closer to other major modes's
17510 (perl-indent-line): Don't consider text on current line as a
17511 valid beginning of function from which to indent.
17513 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
17514 with more than one argument (bug#15538).
17516 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
17518 * vc/pcvs.el: Use lexical-binding.
17519 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
17520 environment of `eval'.
17521 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
17522 than a list of expressions. Adjust callers.
17523 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
17525 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
17527 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
17528 case of the dot in a chained method call being on the following line.
17530 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17532 * electric.el (electric-indent-inhibit): New var.
17533 (electric-indent-post-self-insert-function): Use it.
17534 * progmodes/python.el (python-mode): Set it.
17536 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
17539 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
17541 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
17542 (css-mode): Use electric-indent-chars.
17544 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
17545 (font-lock-beg, font-lock-end): Move before first use.
17546 (nxml-mode): Use syntax-propertize-function.
17547 (nxml-after-change, nxml-after-change1): Adjust accordingly.
17548 (nxml-extend-after-change-region): Remove.
17549 * nxml/xmltok.el: Use lexical-binding.
17550 (xmltok-save): Use `declare'.
17551 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
17552 * nxml/nxml-util.el: Use lexical-binding.
17553 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
17555 * nxml/nxml-ns.el: Use lexical-binding.
17556 (nxml-ns-save): Use `declare'.
17557 (nxml-ns-prefixes-for): Avoid add-to-list.
17558 * nxml/rng-match.el: Use lexical-binding.
17559 (rng--ipattern): Use cl-defstruct.
17560 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
17561 (rng-cons-group-after, rng-subst-group-after)
17562 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
17563 Use closures instead of `(lambda...).
17565 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
17567 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
17570 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17571 Use `tramp-handle-insert-file-contents'.
17572 (tramp-gvfs-handle-insert-file-contents): Remove function.
17574 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17575 Use `save-restriction' in order to keep markers.
17577 * net/trampver.el: Update release number.
17579 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17581 * progmodes/compile.el (compilation-parse-errors):
17582 Use compilation--put-prop.
17583 (compilation--ensure-parse): Check compilation-multiline.
17585 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
17587 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
17590 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
17592 * progmodes/ruby-mode.el: Fix recently added tests.
17593 (ruby-smie-grammar): Add - and +.
17594 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
17595 (ruby-smie--backward-id): New functions.
17596 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
17597 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
17600 2013-10-07 Leo Liu <sdl.web@gmail.com>
17602 * register.el (register-preview-delay)
17603 (register-preview-functions): New variables.
17604 (register-read-with-preview, register-preview)
17605 (register-describe-oneline): New functions.
17606 (point-to-register, window-configuration-to-register)
17607 (frame-configuration-to-register, jump-to-register)
17608 (number-to-register, view-register, insert-register)
17609 (copy-to-register, append-to-register, prepend-to-register)
17610 (copy-rectangle-to-register): Use register-read-with-preview to
17611 read register. (Bug#15525)
17613 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
17615 * net/network-stream.el (network-stream-open-starttls): Don't add
17616 --insecure if it's already present, because that gnutls-cli
17617 rejects getting that parameter twice.
17619 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
17621 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
17624 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
17626 * newcomment.el (comment-use-global-state): Change default value
17627 to t, mark obsolete (Bug#15251).
17628 (comment-beginning): In addition to `comment-to-syntax', check the
17629 value of `comment-use-global-state'.
17631 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17633 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
17634 (ruby-comment-column): Follow the global default, by default.
17635 (ruby-smie-grammar): Add assignment syntax.
17636 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
17637 open-paren, a comma, or a \.
17638 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
17639 and line continuations.
17640 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
17641 followed by implicit semi-colons. Add rule for string concatenation
17642 and for indentation at BOB.
17643 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
17645 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
17646 calling next-sexp, since next-token may have skipped chars which
17647 next-sexp doesn't know should be skipped!
17649 2013-10-05 Leo Liu <sdl.web@gmail.com>
17651 * progmodes/octave.el (octave-send-region):
17652 Call compilation-forget-errors.
17654 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17656 * vc/vc-svn.el (vc-svn-find-admin-dir):
17657 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
17658 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
17659 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
17660 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
17662 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17664 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
17666 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17668 * subr.el (read-passwd): Hide chars even when called within a context
17669 where after-change-functions is disabled (bug#15501).
17670 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
17671 until we removed ourself from overriding-terminal-local-map.
17673 2013-10-04 Leo Liu <sdl.web@gmail.com>
17675 * progmodes/octave.el (inferior-octave-mode):
17676 Call compilation-forget-errors.
17678 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17680 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
17682 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
17684 * net/secrets.el (secrets-create-collection): Add optional
17685 argument ALIAS. Use proper Label keyword. Append ALIAS as
17686 dbus-call-method argument. (Bug#15516)
17688 2013-10-04 Leo Liu <sdl.web@gmail.com>
17690 * progmodes/octave.el (inferior-octave-error-regexp-alist)
17691 (inferior-octave-compilation-font-lock-keywords): New variables.
17692 (compilation-error-regexp-alist)
17693 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
17694 (inferior-octave-mode): Use compilation-shell-minor-mode.
17696 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
17698 * minibuffer.el (completion--replace): Be careful that `end' might be
17701 2013-10-03 Daiki Ueno <ueno@gnu.org>
17703 Add support for package signature checking.
17704 * emacs-lisp/package.el (url-http-file-exists-p)
17705 (epg-make-context, epg-context-set-home-directory)
17706 (epg-verify-string, epg-context-result-for)
17707 (epg-signature-status, epg-signature-to-string)
17708 (epg-check-configuration, epg-configuration)
17709 (epg-import-keys-from-file): Declare.
17710 (package-check-signature): New user option.
17711 (package-unsigned-archives): New user option.
17712 (package-desc): Add `signed' field.
17713 (package-load-descriptor): Set `signed' field if .signed file exists.
17714 (package--archive-file-exists-p): New function.
17715 (package--check-signature): New function.
17716 (package-install-from-archive): Check package signature.
17717 (package--download-one-archive): Check archive signature.
17718 (package-delete): Remove .signed file.
17719 (package-import-keyring): New command.
17720 (package-refresh-contents): Import default keyring.
17721 (package-desc-status): Add "unsigned" status.
17722 (describe-package-1, package-menu--print-info)
17723 (package-menu-mark-delete, package-menu--find-upgrades)
17724 (package-menu--status-predicate): Support "unsigned" status.
17726 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17728 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
17729 the new compilation scheme using the new byte-codes.
17731 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
17732 (byte-pophandler): New byte codes.
17733 (byte-goto-ops): Adjust accordingly.
17734 (byte-compile--use-old-handlers): New var.
17735 (byte-compile-catch): Use new byte codes depending on
17736 byte-compile--use-old-handlers.
17737 (byte-compile-condition-case--old): Rename from
17738 byte-compile-condition-case.
17739 (byte-compile-condition-case--new): New function.
17740 (byte-compile-condition-case): New function that dispatches depending
17741 on byte-compile--use-old-handlers.
17742 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
17745 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
17746 Optimize under `condition-case' and `catch' if
17747 byte-compile--use-old-handlers is nil.
17748 (disassemble-offset): Handle new bytecodes.
17750 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17752 * subr.el (error): Use `declare'.
17753 (decode-char, encode-char): Use advertised-calling-convention instead
17754 of the docstring to discourage use of the `restriction' arg.
17756 2013-10-03 Daiki Ueno <ueno@gnu.org>
17758 * epg.el (epg-verify-file): Add a comment saying that it does not
17759 notify verification error as a return value nor a signal.
17760 (epg-verify-string): Ditto.
17762 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17764 * progmodes/compile.el (compilation-start): Try globbing the arg to
17767 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
17769 Sync with Tramp 2.2.8.
17771 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
17772 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
17773 * net/trampver.el: Update release number.
17775 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
17777 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17778 and default-process-coding-system for darwin only.
17780 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17782 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
17784 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
17786 * vc/vc-git.el (vc-git-grep): Disable pager.
17788 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
17790 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
17791 Use :url instead of :homepage, as per
17792 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
17794 * newcomment.el (comment-beginning): When `comment-use-syntax' is
17795 non-nil, use `syntax-ppss' (Bug#15251).
17797 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17799 * progmodes/octave.el (inferior-octave-startup-file):
17800 Prefer ~/.emacs.d/init_octave.m.
17802 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
17804 * emacs-lisp/package.el (package-desc-from-define):
17805 Accept additional arguments as plist, convert them to an alist and store
17806 them in the `extras' slot.
17807 (package-generate-description-file): Convert extras alist back to
17808 plist and append to the `define-package' form arguments.
17809 (package--alist-to-plist): New function.
17810 (package--ac-desc): Add `extras' slot.
17811 (package--add-to-archive-contents): Check if the archive-contents
17812 vector is long enough, and if it is, pass its `extras' slot value
17813 to `package-desc-create'.
17814 (package-buffer-info): Call `lm-homepage', pass the returned value
17815 to `package-desc-from-define'.
17816 (describe-package-1): Render the homepage button (Bug#13291).
17818 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17819 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
17821 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
17823 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17824 and default-process-coding-system to utf-8-unix (Bug#15402).
17826 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
17828 * subr.el (looking-back): Do not recommend using looking-back.
17830 2013-09-28 Alan Mackenzie <acm@muc.de>
17832 Fix indentation/fontification of Java enum with "implements".
17834 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
17835 regexp which matches "implements", etc., in Java.
17836 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
17837 specifier clauses coming after "enum".
17838 * progmodes/cc-fonts.el (c-font-lock-declarations)
17839 (c-font-lock-enum-tail): Check for extra specifier clauses coming
17842 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
17844 * faces.el (region): Change ns_selection_color to
17845 ns_selection_fg_color, add ns_selection_bg_color.
17847 2013-09-28 Leo Liu <sdl.web@gmail.com>
17849 * progmodes/octave.el (inferior-octave-completion-table)
17850 (inferior-octave-completion-at-point): Minor tweaks.
17852 * textmodes/ispell.el (ispell-lookup-words): Rename from
17853 lookup-words. (Bug#15460)
17854 (lookup-words): Obsolete.
17855 (ispell-complete-word, ispell-command-loop): All uses changed.
17857 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17859 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
17860 (octave-mode-menu): Add octave-send-buffer.
17861 (octave-send-buffer): New function.
17863 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17865 * progmodes/octave.el (octave-mode-map): Add key binding for
17867 (octave-mode-menu): Add octave-lookfor.
17868 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
17870 (octave-lookfor): New function.
17872 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17874 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
17875 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
17877 (cl--loop-set-iterator-function): New function.
17878 (cl-loop): Adjust accordingly, so as not to use cl-subst.
17879 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
17880 Bind `it' with `let' instead of substituting it with `cl-subst'.
17881 (cl--unused-var-p): New function.
17882 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
17883 Eliminate some unused variable warnings (bug#15326).
17885 2013-09-27 Tassilo Horn <tsdh@gnu.org>
17887 * doc-view.el (doc-view-scale-reset): Rename from
17888 `doc-view-reset-zoom-level'.
17889 (doc-view-scale-adjust): New command.
17890 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
17891 `doc-view-scale-adjust'.
17893 2013-09-26 Tassilo Horn <tsdh@gnu.org>
17895 * doc-view.el (doc-view-reset-zoom-level): New command.
17896 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
17897 zoom commands (bug#15466).
17899 2013-09-26 Kenichi Handa <handa@gnu.org>
17901 * international/quail.el (quail-help): Make it not a command.
17903 2013-09-26 Leo Liu <sdl.web@gmail.com>
17905 * minibuffer.el (completion-all-sorted-completions): Make args
17906 optional as they are.
17908 2013-09-25 Daniel Colascione <dancol@dancol.org>
17910 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
17911 specs are and that they're not evaluated.
17913 2013-09-24 Sam Steingold <sds@gnu.org>
17915 * midnight.el (clean-buffer-list-kill-regexps)
17916 (clean-buffer-list-kill-buffer-names): Update for the new Man
17917 buffer naming which includes the object name.
17919 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17921 * eshell/esh-cmd.el (eshell--sep-terms): New var.
17922 (eshell-parse-command, eshell-parse-pipeline): Use it since
17923 eshell-separate-commands requires a dynamic scoped var.
17924 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
17926 2013-09-23 Leo Liu <sdl.web@gmail.com>
17928 * autoinsert.el (auto-insert-alist): Make the value of
17929 lexical-binding match its file setting.
17931 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
17933 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
17935 * autoarg.el (autoarg-kp-digit-argument):
17936 * electric.el (Electric-command-loop):
17937 * kmacro.el (kmacro-step-edit-insert):
17938 Do not set universal-argument-num-events.
17940 2013-09-22 Leo Liu <sdl.web@gmail.com>
17942 * files.el (interpreter-mode-alist): Add octave.
17944 2013-09-21 Alan Mackenzie <acm@muc.de>
17946 C++: fontify identifier in declaration following "public:" correctly.
17947 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
17948 to match "public", etc.
17949 (c-decl-prefix-re): Add ":" into the C++ value.
17950 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
17951 bit. Add a check for a ":" preceded by "public", etc.
17953 2013-09-21 Eli Zaretskii <eliz@gnu.org>
17955 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
17956 recognized by GDB 7.5 and later.
17958 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
17960 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
17962 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17964 * subr.el (internal--call-interactively): New const.
17965 (called-interactively-p): Use it (bug#3984).
17967 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
17969 * vc/pcvs.el (cvs-mode-ignore):
17970 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
17971 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
17973 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17975 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
17976 (eshell-ls-orig-insert-directory): Remove.
17977 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
17978 (eshell-ls-use-in-dired): Use advice-add/remove.
17979 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
17980 Add `orig-fun' arg for use in :around advice.
17981 Make it check (redundantly) eshell-ls-use-in-dired.
17983 2013-09-19 Glenn Morris <rgm@gnu.org>
17985 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
17987 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
17989 * emacs-lisp/eieio.el (class-parent): Undo previous change.
17991 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
17993 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
17994 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
17995 (tramp-get-remote-python): New defuns.
17996 (tramp-get-remote-uid-with-perl)
17997 (tramp-get-remote-gid-with-perl): New defuns. Perl code
17998 contributed by yary <not.com@gmail.com> (tiny change).
17999 (tramp-get-remote-uid-with-python)
18000 (tramp-get-remote-gid-with-python): New defuns. Python code
18001 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
18002 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
18004 2013-09-19 Glenn Morris <rgm@gnu.org>
18006 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
18008 * eshell/em-unix.el (eshell-remove-entries):
18009 Rename argument to avoid name-clash with global `top-level'.
18011 * eshell/esh-proc.el (eshell-kill-process-function):
18012 Remove eshell-reset-after-proc from eshell-kill-hook if present.
18013 (eshell-reset-after-proc): Remove unused arg `proc'.
18015 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
18016 (directory-files-and-attributes): Mark unused arg.
18018 * eshell/em-unix.el (eshell-remove-entries):
18019 Remove unused arg `path'. Update callers.
18021 * eshell/em-hist.el (eshell-hist-parse-arguments):
18022 Remove unused arg `silent'. Update callers.
18024 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
18025 Fix (f)boundp mix-up.
18027 * eshell/em-smart.el (eshell-smart-scroll-window)
18028 (eshell-disable-after-change):
18029 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
18031 2013-09-18 Alan Mackenzie <acm@muc.de>
18033 Fix fontification of type when followed by "const".
18034 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
18035 "known" types from fontification.
18037 2013-09-18 Glenn Morris <rgm@gnu.org>
18039 * emacs-lisp/chart.el (x-display-color-cells): Declare.
18040 (chart-face-list): Drop Emacsen without display-color-p.
18042 * net/eww.el (libxml-parse-html-region): Declare.
18043 (eww-display-html): Explicit error if no libxml2 support.
18045 * doc-view.el (doc-view-mode): Silence --without-x compilation.
18047 * image.el (image-type-from-buffer, image-multi-frame-p):
18048 Remove --without-x warning/error.
18050 * mouse.el (mouse-yank-primary):
18051 * term.el (term-mouse-paste):
18052 Reorder to silence --without-x compilation.
18054 * mpc.el (doc-view-mode): Silence --without-x compilation.
18056 * mail/rmailmm.el (rmail-mime-set-bulk-data):
18057 Silence --without-x compilation.
18059 * progmodes/gud.el (gud-find-file, gud-mode):
18060 Silence --without-x compilation.
18061 (tooltip-mode): Declare.
18063 * wdired.el (dired-backup-overwrite): Remove declaration.
18064 (wdired-mode-map): Add doc string.
18066 * custom.el (x-get-resource): Declare.
18068 * eshell/em-glob.el (ange-cache):
18069 * eshell/em-unix.el (ange-cache): Declare.
18071 * faces.el (x-display-list, x-open-connection, x-get-resource):
18074 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
18075 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
18078 * frame.el (x-display-grayscale-p, x-display-name): Declare.
18080 * net/gnutls.el (gnutls-log-level): Declare.
18082 * net/shr.el (image-size, image-animate): Declare.
18084 * simple.el (font-info): Declare.
18086 * subr.el (x-popup-dialog): Declare.
18088 * term/common-win.el (x-select-enable-primary)
18089 (x-last-selected-text-primary, x-last-selected-text-clipboard):
18092 * term/ns-win.el (x-handle-args): Declare.
18094 * term/x-win.el (x-select-enable-clipboard): Declare.
18096 * term/w32-win.el (create-default-fontset): Declare.
18098 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
18101 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
18102 (fit-frame-to-buffer): Explicit error if --without-x.
18103 (mouse-autoselect-window-select): Silence compiler.
18105 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18107 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
18108 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
18109 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
18110 * eshell/esh-util.el (eshell-sublist):
18111 Remove unused local variables.
18113 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
18115 * textmodes/two-column.el: Make 2C-split work for --without-x.
18116 (scroll-bar-columns): Autoload.
18117 (top-level): Require fringe when compiling.
18119 2013-09-18 Leo Liu <sdl.web@gmail.com>
18121 * subr.el (add-hook): Robustify to handle closure as well.
18123 2013-09-17 Glenn Morris <rgm@gnu.org>
18125 * simple.el (messages-buffer-mode-map): Unbind "g".
18127 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18129 * help-mode.el (help-mode-finish): Use derived-mode-p.
18130 Remove obsolete highlighting.
18132 * play/life.el (life-mode): Use define-derived-mode. Derive from
18134 (life): Let-bind inhibit-read-only.
18135 (life-setup): Avoid `setq'. Use `life-mode'.
18137 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
18138 which should not be needed any more.
18139 (package-menu-refresh, package-menu-describe-package): Use user-error.
18141 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
18142 (eshell-post-rewrite-command-hook): Make obsolete.
18143 (eshell-parse-command): Simplify.
18144 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
18145 (eshell--cmd): Declare.
18146 (eshell-parse-pipeline): Remove unused var `final-p'.
18147 Pass a dynvar to eshell-post-rewrite-command-hook.
18148 Implement the new eshell-post-rewrite-command-function.
18149 (eshell-invoke-directly): Remove unused arg `input'.
18150 * eshell/esh-io.el (eshell-io-initialize):
18151 Use eshell-post-rewrite-command-function (bug#15399).
18152 (eshell--apply-redirections): Rename from eshell-apply-redirections;
18153 adjust to new calling convention.
18154 (eshell-create-handles): Rename args to avoid clashing with dynvar
18157 2013-09-17 Glenn Morris <rgm@gnu.org>
18159 * simple.el (messages-buffer-mode): New major mode.
18160 (messages-buffer): New function.
18161 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
18162 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
18163 (ert-run-test): Use `messages-buffer' function.
18164 (ert--force-message-log-buffer-truncation): Ignore read-only.
18165 * help.el (view-echo-area-messages): Use `messages-buffer' function.
18166 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
18168 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18170 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
18172 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
18174 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18176 * icomplete.el (icomplete-in-buffer): New var.
18177 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
18178 vars and replace them with functions.
18179 (icomplete-minibuffer-setup): Adjust accordingly.
18180 (icomplete--completion-table, icomplete--completion-predicate)
18181 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
18183 (icomplete-forward-completions, icomplete-backward-completions)
18184 (icomplete-simple-completing-p, icomplete-exhibit)
18185 (icomplete-completions): Use them.
18186 (icomplete--in-region-buffer): New var.
18187 (icomplete--in-region-setup): New function.
18188 (icomplete-mode): Use it.
18190 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
18192 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
18193 return args and options.
18194 (eshell-eval-using-options): Use the new return value of
18195 eshell--do-opts to set the options's vars in their scope.
18196 (eshell--set-option): Rename from eshell-set-option.
18197 Add arg `opt-vals'.
18198 (eshell--process-option): Rename from eshell-process-option.
18199 Add arg `opt-vals'.
18200 (eshell--process-args): Use an `opt-vals' alist to store the options's
18201 values during their processing and return them additionally to the
18204 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
18206 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
18207 continuation character an operator, as far as indentation is
18208 concerned (Bug#15369).
18210 2013-09-15 Martin Rudalics <rudalics@gmx.at>
18212 * window.el (window--state-put-2): Don't process buffer state
18213 when buffer doesn't exist any more (Bug#15382).
18215 2013-09-15 Glenn Morris <rgm@gnu.org>
18217 * eshell/em-unix.el (eshell/rm):
18218 Make -f ignore missing files. (Bug#15373)
18220 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
18221 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
18222 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
18224 2013-09-14 Glenn Morris <rgm@gnu.org>
18226 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
18228 2013-09-13 Glenn Morris <rgm@gnu.org>
18230 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
18231 (dired-guess-default): Make `file' available in the env. (Bug#15363)
18233 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
18235 * frame.el (x-focus-frame): Mark as declared in frame.c.
18237 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18239 * ls-lisp.el: Use advice-add.
18240 (original-insert-directory): Remove.
18241 (ls-lisp--insert-directory): Rename from insert-directory; add
18242 `orig-fun' argument.
18243 (insert-directory): Advise.
18245 2013-09-13 Eli Zaretskii <eliz@gnu.org>
18247 * term.el (term-emulate-terminal): Decode the command string
18248 before passing it to term-command-hook. (Bug#15337)
18250 2013-09-13 Glenn Morris <rgm@gnu.org>
18252 * eshell/esh-util.el (ange-cache): Move declaration earlier.
18254 * eshell/esh-ext.el (eshell-search-path): Declare.
18256 * eshell/em-prompt.el (eshell/pwd): Autoload it.
18257 Otherwise an error occurs if eshell-dirs module not loaded.
18259 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
18261 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
18263 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
18264 `tramp-check-proper-host'. Check for a valid method name.
18266 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18267 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
18268 * net/tramp-sh.el (tramp-maybe-open-connection):
18269 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
18271 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
18272 also for hash values.
18274 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18276 * term/ns-win.el (parameters): Don't declare as dynamic.
18277 (before-make-frame-hook): Don't add ineffective function.
18279 * eshell/*.el: Use lexical-binding (bug#15231).
18281 2013-09-12 Kenichi Handa <handa@gnu.org>
18283 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
18285 2013-09-12 Glenn Morris <rgm@gnu.org>
18287 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
18288 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
18290 * subr.el (do-after-load-evaluation): Also give compiler warnings
18291 when obsolete files are used (except by obsolete files).
18293 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
18294 in the status output, assume `filename' is the first. (Bug#15322)
18296 * vc/vc.el (vc-deduce-fileset): Doc fix.
18298 * calc/calc-help.el (Info-goto-node):
18299 * progmodes/cperl-mode.el (Info-find-node):
18300 * vc/ediff.el (Info-goto-node): Update declarations.
18302 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
18304 * vc/vc-bzr.el (vc-compilation-mode): Declare.
18305 (vc-bzr-pull): Require vc-dispatcher.
18306 * vc/vc-git.el (vc-compilation-mode): Declare.
18307 (vc-git-pull): Require vc-dispatcher.
18309 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
18311 * progmodes/octave.el (help-button-action): Declare.
18313 * shell.el (shell-directory-tracker): Output error as a message
18314 rather than just returning it as a string.
18315 (shell-process-pushd): Remove useless use of message.
18317 * dframe.el (dframe-timer-fn):
18318 * files.el (dir-locals-read-from-file):
18319 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
18321 * reveal.el (reveal-post-command):
18322 * saveplace.el (load-save-place-alist-from-file):
18323 * shell.el (shell-resync-dirs):
18324 * w32-common-fns.el (x-get-selection-value):
18325 * emacs-lisp/copyright.el (copyright-find-copyright):
18326 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
18327 * emulation/tpu-edt.el (tpu-copy-keyfile):
18328 * play/bubbles.el (bubbles--mark-neighbourhood):
18329 * progmodes/executable.el
18330 (executable-make-buffer-file-executable-if-script-p):
18331 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
18333 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18335 Cleanup Eshell to rely less on dynamic scoping.
18336 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
18337 last-value, and ext-command here. Bind `args' closer to `body'.
18338 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
18339 (eshell--args): Declare new dynamic var.
18340 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
18341 last-value, and ext-command. Pass `args' to `body'.
18342 (eshell-process-args): Bind eshell--args.
18343 (eshell-set-option): Use eshell--args.
18344 * eshell/eshell.el (eshell): Use derived-mode-p.
18345 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
18346 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
18347 (eshell-glob-function): Declare.
18348 * eshell/esh-util.el: Require cl-lib.
18349 (eshell-read-hosts-file): Avoid add-to-list.
18350 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
18352 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
18354 (eshell/diff): Remove unused var `err'.
18355 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
18357 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
18358 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
18360 * eshell/em-glob.el (eshell-glob-matches, message-shown):
18361 Move declaration before first use.
18362 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
18363 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
18366 2013-09-12 Glenn Morris <rgm@gnu.org>
18368 * term/ns-win.el (global-map): Remove binding for ispell-next,
18369 deleted 1999-05-29. (Bug#15357)
18371 2013-09-11 Glenn Morris <rgm@gnu.org>
18373 * echistory.el (electric-command-history): Remove call to deleted func.
18375 * play/landmark.el (landmark-mode): Fix typos.
18377 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
18378 Check cvs-sort-ignore-file is bound.
18380 * savehist.el: No need for cl when compiling on Emacs.
18382 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18384 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
18386 (eshell-self-insert-command, eshell-send-invisible):
18387 Remove unused argument.
18388 (eshell-handle-control-codes): Remove unused var `orig'.
18389 Avoid delete-backward-char.
18391 * files.el (set-auto-mode): Simplify a bit further.
18393 2013-09-11 Glenn Morris <rgm@gnu.org>
18395 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
18396 (set-auto-mode): Don't regexp-quote elements.
18397 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
18398 * progmodes/cc-mode.el (interpreter-mode-alist):
18399 * progmodes/ruby-mode.el (interpreter-mode-alist):
18400 Revert previous change.
18402 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18404 * play/snake.el (snake-mode):
18405 * play/mpuz.el (mpuz-mode):
18406 * play/landmark.el (lm-mode):
18407 * play/blackbox.el (blackbox-mode):
18408 * play/5x5.el (5x5-mode):
18409 * obsolete/options.el (Edit-options-mode):
18410 * net/quickurl.el (quickurl-list-mode):
18411 * net/newst-treeview.el (newsticker-treeview-mode):
18412 * mail/rmailsum.el (rmail-summary-mode):
18413 * mail/mspools.el (mspools-mode):
18414 * locate.el (locate-mode):
18415 * ibuffer.el (ibuffer-mode):
18416 * emulation/ws-mode.el (wordstar-mode):
18417 * emacs-lisp/debug.el (debugger-mode):
18418 * array.el (array-mode):
18419 * net/eudc.el (eudc-mode): Use define-derived-mode.
18420 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
18421 Move initialization into declaration.
18422 (mairix-searches-mode): Use define-derived-mode.
18423 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
18424 (eudc-edit-hotlist): Use dolist.
18425 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
18426 (Man-mode): Use define-derived-mode.
18427 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
18428 (Info-edit-mode): Use define-derived-mode.
18429 (Info-cease-edit): Use Info-mode.
18430 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
18432 (eshell-mode): Use define-derived-mode.
18433 * chistory.el (command-history-mode-map): Rename from
18434 command-history-map.
18435 (command-history-mode): Use define-derived-mode.
18436 (Command-history-setup): Remove function.
18437 * calc/calc.el (calc-trail-mode-map): New var.
18438 (calc-trail-mode): Use define-derived-mode.
18439 (calc-trail-buffer): Set calc-main-buffer manually.
18440 * bookmark.el (bookmark-insert-annotation): New function.
18441 (bookmark-edit-annotation): Use it.
18442 (bookmark-edit-annotation-mode): Make it a proper major mode.
18443 (bookmark-send-edited-annotation): Use derived-mode-p.
18444 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
18445 closer to its ideal place. Use \' to match EOS.
18447 * profiler.el (profiler-calltree-find): Use function-equal.
18449 2013-09-10 Glenn Morris <rgm@gnu.org>
18451 * files.el (interpreter-mode-alist): Convert to regexps.
18452 (set-auto-mode): Adapt for this. (Bug#15306)
18453 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
18454 Comment out unused variable.
18455 * progmodes/cc-mode.el (interpreter-mode-alist):
18456 * progmodes/python.el (interpreter-mode-alist):
18457 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
18458 * progmodes/sh-script.el (sh-set-shell):
18459 No longer use interpreter-mode-alist to get list of shells.
18461 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
18463 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18465 * simple.el: Use set-temporary-overlay-map for universal-argument.
18466 (universal-argument-map): Don't use default-bindings (bug#15317).
18467 Bind switch-frame explicitly. Replace universal-argument-minus with
18468 a conditional binding.
18469 (universal-argument-num-events, saved-overriding-map): Remove.
18470 (restore-overriding-map): Remove.
18471 (universal-argument--mode): Rename from save&set-overriding-map,
18473 (universal-argument, universal-argument-more, negative-argument)
18474 (digit-argument): Adjust accordingly.
18475 (universal-argument-minus): Remove.
18476 (universal-argument-other-key): Remove.
18478 * subr.el (with-demoted-errors): Add `format' argument.
18480 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
18482 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
18483 `tramp-cleanup-connection'.
18485 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
18486 parameters KEEP-DEBUG and KEEP-PASSWORD.
18488 * net/tramp.el (tramp-file-name-handler):
18489 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18490 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18491 (tramp-maybe-open-connection):
18492 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18493 Use `tramp-cleanup-connection'.
18495 * net/tramp-sh.el (tramp-maybe-open-connection):
18496 Catch 'uname-changed inside the progress reporter.
18498 2013-09-10 Glenn Morris <rgm@gnu.org>
18500 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
18502 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
18503 returns "alternate access method" in mode (eg "-rw-r--r--.").
18505 2013-09-08 Glenn Morris <rgm@gnu.org>
18507 * saveplace.el (load-save-place-alist-from-file):
18508 Demote errors. (Bug#15305)
18510 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
18512 Improve compatibility with older Emacsen, and XEmacs.
18514 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
18515 only if it is bound. It isn't for XEmacs.
18516 (with-tramp-progress-reporter): Do not let-bind `result'.
18517 This yields to scoping errors in XEmacs.
18518 (tramp-handle-make-auto-save-file-name): New function, moved from
18521 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
18522 for `make-auto-save-file-name'.
18523 (tramp-adb--gnu-switches-to-ash):
18524 Use `tramp-compat-replace-regexp-in-string'.
18526 * net/tramp-cache.el (tramp-cache-print): Call
18527 `substring-no-properties' only if it is bound. It isn't for XEmacs.
18529 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
18530 bound. It isn't for XEmacs.
18532 * net/tramp-compat.el (tramp-compat-copy-file):
18533 Catch `wrong-number-of-arguments' error.
18534 (tramp-compat-replace-regexp-in-string): New defun.
18536 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
18537 for `make-auto-save-file-name'.
18538 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
18540 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
18541 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
18542 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
18544 * net/tramp-gw.el (tramp-gw-open-network-stream):
18545 Use `tramp-compat-replace-regexp-in-string'.
18547 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18548 Call `tramp-handle-make-auto-save-file-name'.
18549 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
18550 (tramp-sh-file-gvfs-monitor-dir-process-filter)
18551 (tramp-sh-file-inotifywait-process-filter):
18552 Use `tramp-compat-replace-regexp-in-string'.
18553 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
18555 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
18556 for `make-auto-save-file-name'.
18557 (tramp-smb-handle-copy-directory):
18558 Call `tramp-compat-replace-regexp-in-string'.
18559 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
18560 (tramp-smb-handle-copy-file): Improve error message.
18561 (tramp-smb-handle-rename-file): Rename directly only in case
18562 `newname' does not exist yet. This is a restriction of smbclient.
18563 (tramp-smb-maybe-open-connection): Rerun the function only when
18564 `auth-sources' is non-nil.
18566 2013-09-08 Kenichi Handa <handa@gnu.org>
18568 * international/characters.el: Set category "^" (Combining) for
18571 2013-09-07 Alan Mackenzie <acm@muc.de>
18573 Correctly fontify Java class constructors.
18574 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
18576 (c-recognize-typeless-decls): Set the Java value to t.
18577 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18578 While handling a "(", add a check for, effectively, Java, and handle a
18579 "typeless" declaration there.
18581 2013-09-07 Roland Winkler <winkler@gnu.org>
18583 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
18584 field subtitle for entry type book.
18586 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18588 * minibuffer.el: Make minibuffer-complete call completion-in-region
18589 rather than other way around.
18590 (completion--some, completion-pcm--find-all-completions):
18591 Don't delay signals when debugging.
18592 (minibuffer-completion-contents): Beware fields within the
18593 minibuffer contents.
18594 (completion-all-sorted-completions): Use defvar-local.
18595 (completion--do-completion, completion--cache-all-sorted-completions)
18596 (completion-all-sorted-completions, minibuffer-force-complete):
18597 Add args `beg' and `end'.
18598 (completion--in-region-1): New fun, extracted from minibuffer-complete.
18599 (minibuffer-complete): Use completion-in-region.
18600 (completion-complete-and-exit): New fun, extracted from
18601 minibuffer-complete-and-exit.
18602 (minibuffer-complete-and-exit): Use it.
18603 (completion--complete-and-exit): Rename from
18604 minibuffer--complete-and-exit.
18605 (completion-in-region--single-word): New function, extracted from
18606 minibuffer-complete-word.
18607 (minibuffer-complete-word): Use it.
18608 (display-completion-list): Make `common-substring' argument obsolete.
18609 (completion--in-region): Call completion--in-region-1 instead of
18610 minibuffer-complete.
18611 (completion-help-at-point): Pass boundaries to
18612 minibuffer-completion-help as args rather than via an overlay.
18613 (completion-pcm--string->pattern): Use `any-delim'.
18614 (completion-pcm--optimize-pattern): New function.
18615 (completion-pcm--pattern->regex): Handle `any-delim'.
18616 * icomplete.el (icomplete-forward-completions)
18617 (icomplete-backward-completions, icomplete-completions):
18618 Adjust calls to completion-all-sorted-completions and
18619 completion--cache-all-sorted-completions.
18620 (icomplete-with-completion-tables): Default to t.
18621 * emacs-lisp/crm.el (crm--current-element): Rename from
18622 crm--select-current-element. Don't put an overlay but return the
18623 boundaries instead.
18624 (crm--completion-command): Take two new args to bind to the boundaries.
18625 (crm-completion-help): Adjust accordingly.
18626 (crm-complete): Use completion-in-region.
18627 (crm-complete-word): Use completion-in-region--single-word.
18628 (crm-complete-and-exit): Use completion-complete-and-exit.
18630 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18632 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
18635 2013-09-06 Juri Linkov <juri@jurta.org>
18637 * info.el (Info-display-images-node): When image file doesn't exist
18638 display text version of the image if it's provided in the Info file.
18639 Otherwise, display the location of missing image from SRC attribute.
18640 Add help-echo text property from ALT attribute. (Bug#15279)
18642 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18644 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
18645 (edit-abbrevs-mode): Use define-derived-mode.
18647 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
18648 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
18650 (epa-key-list-mode, epa-key-mode, epa-info-mode):
18651 Use define-derived-mode.
18653 * epg.el (epg-start-encrypt): Minor CSE simplification.
18655 2013-09-06 William Xu <william.xwl@gmail.com>
18657 * arc-mode.el: Add support for 7za (bug#15264).
18658 (archive-7z-program): New var.
18659 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
18660 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
18661 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
18663 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
18667 * net/tramp.el (tramp-syntax, tramp-prefix-format)
18668 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
18669 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
18670 (tramp-postfix-host-format, tramp-file-name-regexp)
18671 (tramp-completion-file-name-regexp)
18672 (tramp-completion-dissect-file-name)
18673 (tramp-handle-substitute-in-file-name): Remove 'url case.
18674 (tramp-file-name-regexp-url)
18675 (tramp-completion-file-name-regexp-url): Remove constants.
18677 2013-09-06 Glenn Morris <rgm@gnu.org>
18679 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
18681 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
18683 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
18684 keywords" below "here-doc beginnings" (Bug#15270).
18686 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18688 * subr.el (pop): Use `car-safe'.
18689 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
18690 to detect unused `pop' return value.
18692 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
18693 var `block-regexp'.
18694 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
18695 (python-fill-string): Remove unused var `marker'.
18696 (python-skeleton-add-menu-items): Remove unused var `items'.
18698 * international/mule-cmds.el: Require CL.
18699 (find-coding-systems-for-charsets): Avoid add-to-list.
18700 (sanitize-coding-system-list): New function, extracted from
18701 select-safe-coding-system-interactively.
18702 (select-safe-coding-system-interactively): Use it.
18703 (read-input-method-name): Accept symbols for `default'.
18705 * emacs-lisp/advice.el (defadvice): Add indent rule.
18707 2013-09-05 Daniel Hackney <dan@haxney.org>
18711 * net/browse-url.el:
18714 * net/eudcb-ldap.el:
18718 * vc/ediff-diff.el:
18719 * vc/ediff-init.el:
18720 * vc/ediff-merg.el:
18721 * vc/ediff-mult.el:
18722 * vc/ediff-util.el:
18723 * vc/ediff-wind.el:
18727 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
18728 byte compiler. Remove some unused let-bound variables.
18730 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18732 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
18733 a "ref-cell", since it gets better optimized (bug#14883).
18735 2013-09-05 Glenn Morris <rgm@gnu.org>
18737 * progmodes/cc-awk.el (c-forward-sws): Declare.
18739 2013-09-04 Glenn Morris <rgm@gnu.org>
18741 * generic-x.el [rul-generic-mode]: Require cc-mode.
18742 (c++-mode-syntax-table): Declare.
18743 (rul-generic-mode-syntax-table): Init in the defvar.
18745 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18747 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
18748 (vc-do-command, vc-set-async-update):
18749 * vc/vc-mtn.el (vc-mtn-dir-status):
18750 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
18751 (vc-hg-pull, vc-hg-merge-branch):
18752 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
18753 (vc-git-merge-branch):
18754 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
18755 (vc-cvs-dir-status-files):
18756 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
18757 (vc-bzr-dir-status-files):
18758 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
18759 * vc/vc-annotate.el: Use lexical-binding.
18760 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
18761 (vc-sentinel-movepoint): Declare.
18762 (vc-annotate): Don't use `goto-line'.
18763 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
18764 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
18765 (vc-sentinel-movepoint): Declare.
18766 * vc/vc-svn.el: Use lexical-binding.
18767 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
18769 * vc/vc-rcs.el: Use lexical-binding.
18771 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
18772 `deleted'. Don't drop errors silently.
18774 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
18776 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
18778 * vc/vc.el (vc-ignore): Rewrite.
18779 (vc-default-ignore): New function.
18780 (vc-default-ignore-completion-table): Use find-ignore-file.
18782 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
18783 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
18784 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
18785 Remove. Most code moved to vc.el.
18787 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
18789 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
18790 * net/tramp-smb.el (tramp-smb-get-file-entries):
18791 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
18792 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
18794 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
18796 (eww-change-select): Remove unused var `properties'.
18797 (eww-make-unique-file-name): Remove unused var `base'.
18799 * finder.el (finder-compile-keywords): Don't mess with windows.
18801 * calculator.el (calculator-funcall): Fix typo in last change.
18803 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
18805 * emacs-lisp/package.el (package-activate-1): Don't let a missing
18806 <pkg>-autoloads.el file stop us.
18808 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
18809 warnings, and factor out common code.
18811 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
18813 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
18814 two-character operators and whether the character preceding them
18815 changes their meaning (Bug#15208).
18817 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
18819 Format code sent to Python shell for robustness.
18820 * progmodes/python.el (python-shell-buffer-substring):
18822 (python-shell-send-region, python-shell-send-buffer): Use it.
18824 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
18826 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
18827 * net/tramp.el (tramp-user-error): ... here.
18828 (tramp-find-method, tramp-check-proper-host)
18829 (tramp-dissect-file-name, tramp-debug-message)
18830 (tramp-handle-shell-command):
18831 * net/tramp-adb.el (tramp-adb-handle-shell-command):
18832 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
18834 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
18836 2013-09-02 Martin Rudalics <rudalics@gmx.at>
18838 * avoid.el (mouse-avoidance-point-position)
18839 (mouse-avoidance-too-close-p): Handle case where posn-at-point
18842 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
18844 * progmodes/python.el (python-shell-completion-get-completions):
18845 Drop use of deleted `comint-last-prompt-overlay'.
18846 (python-nav-if-name-main): New command.
18848 2013-09-01 Glenn Morris <rgm@gnu.org>
18850 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
18851 Avoid leading space in $wins. Otherwise the sed command used by
18852 eg compile-main ends up containing "/*.el". (Bug#15170)
18854 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
18856 2013-08-30 Glenn Morris <rgm@gnu.org>
18858 * emacs-lisp/bytecomp.el (byte-recompile-directory):
18859 Fix is-this-a-directory logic. (Bug#15220)
18861 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18863 * textmodes/css-mode.el: Use SMIE.
18864 (css-smie-grammar): New var.
18865 (css-smie--forward-token, css-smie--backward-token)
18866 (css-smie-rules): New functions.
18867 (css-mode): Use them.
18868 (css-navigation-syntax-table): Remove var.
18869 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
18870 (css-indent-calculate, css-indent-line): Remove functions.
18872 Misc changes to reduce use of `(lambda...); and other cleanups.
18873 * cus-edit.el: Use lexical-binding.
18874 (customize-push-and-save, customize-apropos)
18875 (custom-buffer-create-internal): Use closures.
18876 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
18877 * progmodes/ada-xref.el: Use setq.
18878 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
18879 * dframe.el: Use lexical-binding.
18880 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
18881 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
18882 * descr-text.el: Use lexical-binding.
18883 (describe-text-widget, describe-text-sexp, describe-property-list):
18885 * comint.el (comint-history-isearch-push-state): Use a closure.
18886 * calculator.el: Use lexical-binding.
18887 (calculator-number-to-string): Make it work with lexical-binding.
18888 (calculator-funcall): Same and use cl-letf.
18890 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
18891 (lisp--company-doc-string, lisp--company-location): New functions.
18892 (lisp-completion-at-point): Use them to improve Company support.
18894 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
18895 params of lambda expressions.
18896 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
18897 (ruby-smie--opening-pipe-p): New function.
18898 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
18899 symbols and matched |...| for formal params.
18900 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
18901 from being treated as hanging. Handle "rescue".
18903 2013-08-29 Glenn Morris <rgm@gnu.org>
18905 * progmodes/cc-engine.el (c-pull-open-brace):
18906 Move definition before use.
18908 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18910 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
18911 are immutable. Don't use `unsafe' any more.
18912 (cl--defsubst-expand): Don't substitute at the same time as keeping
18913 a residual unused let-binding. Don't use `unsafe' any more.
18915 2013-08-29 Glenn Morris <rgm@gnu.org>
18917 * calendar/cal-china.el (calendar-chinese-year-cache):
18920 * nxml/nxml-util.el (nxml-debug-clear-inside):
18921 Use cl-loop rather than loop.
18923 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
18925 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
18927 2013-08-28 Glenn Morris <rgm@gnu.org>
18929 * progmodes/antlr-mode.el: No need to require cc-mode twice.
18931 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
18933 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
18935 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18937 * simple.el (repeat-complex-command--called-interactively-skip):
18939 (repeat-complex-command): Use it (bug#14136).
18941 * progmodes/cc-mode.el: Minor cleanup of var declarations.
18942 (c-define-abbrev-table): Add `doc' argument.
18943 (c-mode-abbrev-table, c++-mode-abbrev-table)
18944 (objc-mode-abbrev-table, java-mode-abbrev-table)
18945 (idl-mode-abbrev-table, pike-mode-abbrev-table)
18946 (awk-mode-abbrev-table): Use it.
18947 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
18948 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
18949 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
18950 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
18951 Move initialization into the declaration; and remove any
18954 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
18955 and dynamic let binding.
18957 * vc/smerge-mode.el: Remove redundant :group args.
18959 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
18962 2013-08-28 Juri Linkov <juri@jurta.org>
18964 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
18965 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
18966 (isearch-other-meta-char): Handle an undefined shifted printing
18967 character by downshifting it. (Bug#15200)
18969 2013-08-28 Juri Linkov <juri@jurta.org>
18971 * isearch.el (isearch-search): Change regexp error message for
18972 non-regexp searches. (Bug#15166)
18974 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
18976 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
18977 for portability to hosts where /bin/sh has problems.
18979 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18981 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
18983 2013-08-27 Juri Linkov <juri@jurta.org>
18985 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
18986 in the keyboard macro. (Bug#15126)
18988 2013-08-27 Juri Linkov <juri@jurta.org>
18990 * isearch.el (isearch-quote-char): Comment out converting unibyte
18991 to multibyte, thus syncing with its `quoted-insert' counterpart.
18994 2013-08-27 Martin Rudalics <rudalics@gmx.at>
18996 * window.el (display-buffer-use-some-window): Add missing
18997 argument in call of get-largest-window (Bug#15185).
18998 Reported by Stephen Leake.
19000 2013-08-27 Glenn Morris <rgm@gnu.org>
19002 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
19004 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19006 * progmodes/python.el (python-font-lock-keywords): Don't return nil
19007 from a matcher-function unless there's no more matches (bug#15161).
19009 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
19011 * minibuffer.el: Revert change from 2013-08-20.
19013 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
19014 with text property `tramp-default', if appropriate.
19015 (tramp-check-proper-host): New defun.
19016 (tramp-dissect-file-name): Do not check hostname. Revert change
19018 (tramp-backtrace): Make VEC-OR-PROC optional.
19020 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
19021 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
19022 * net/tramp-sh.el (tramp-maybe-open-connection):
19023 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
19024 Apply `tramp-check-proper-host'.
19026 2013-08-26 Tassilo Horn <tsdh@gnu.org>
19028 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
19029 lambda expression in order to have `describe-variable' display it.
19031 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
19033 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
19034 BUF can be optional. (Bug#15186)
19036 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
19038 * progmodes/flymake.el (flymake-get-real-file-name-function):
19039 Fix broken customization. (Bug#15184)
19041 2013-08-25 Alan Mackenzie <acm@muc.de>
19043 Improve indentation of bracelists defined by macros (without "=").
19045 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
19046 expansion begins with "{", regard it as bracelist when it doesn't
19049 Parse C++ inher-intro when there's a template split over 2 lines.
19051 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
19052 rigorously the search for "class" etc. followed by ":".
19054 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
19055 random languages a regexp which never matches rather than nil.
19057 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
19059 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
19060 (c-awk-regexp-one-line-possibly-open-char-list-re)
19061 (c-awk-one-line-possibly-open-regexp-re)
19062 (c-awk-one-line-non-syn-ws*-re): Remove.
19063 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
19064 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
19065 (c-awk-space*-unclosed-regexp-/-re): New constants.
19066 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
19067 aren't regexp delimiters.
19069 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
19070 handling for a rare situation in AWK Mode involving unterminated
19073 2013-08-23 Glenn Morris <rgm@gnu.org>
19075 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
19077 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
19079 * files.el (create-file-buffer): If the result would begin with
19080 spaces, prepend a "|" instead of removing them. (Bug#15162)
19082 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19084 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
19085 text-properties (bug#15155).
19087 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
19089 (calc-keypad-redraw): Remove unused var `pad'.
19090 (calc-keypad-press): Remove unused var `menu'.
19092 2013-08-23 Martin Rudalics <rudalics@gmx.at>
19094 * window.el (display-buffer-pop-up-frame):
19095 Call pop-up-frame-function with BUFFER current so `make-frame' will
19096 use it as the new frame's buffer (Bug#15133).
19098 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19100 * calendar/timeclock.el: Minor cleanups.
19101 (timeclock-ask-before-exiting, timeclock-use-display-time):
19103 (timeclock-modeline-display): Define as alias before the
19105 (timeclock-mode-line-display): Use define-minor-mode.
19106 (timeclock-day-list-template): Make it a function, add an argument.
19107 (timeclock-day-list-required, timeclock-day-list-length)
19108 (timeclock-day-list-debt, timeclock-day-list-span)
19109 (timeclock-day-list-break): Adjust calls accordingly.
19111 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19113 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
19114 Use read--expression so that completion works again.
19116 2013-08-21 Sam Steingold <sds@gnu.org>
19118 Add rudimentary inferior shell interaction
19119 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
19120 (sh-set-shell): Reset it.
19121 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
19122 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
19124 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
19126 * align.el: Use lexical-binding.
19127 (align-region): Simplify accordingly.
19129 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
19131 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
19133 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
19134 `non-essential' up.
19136 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
19139 * net/tramp-adb.el:
19140 * net/tramp-cmds.el:
19141 * net/tramp-ftp.el:
19142 * net/tramp-gvfs.el:
19144 * net/tramp-sh.el: Don't wrap external variable declarations by
19145 `eval-when-compile'.
19147 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19149 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
19150 now that Emacs supports ImageMagick animations.
19152 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
19154 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
19155 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
19157 2013-08-16 Martin Rudalics <rudalics@gmx.at>
19159 * window.el (mouse-autoselect-window-select): Do autoselect when
19160 mouse pointer is on margin.
19162 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
19164 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
19166 2013-08-16 Glenn Morris <rgm@gnu.org>
19168 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
19169 Handle "Remote Directory" response of some clients. (Bug#15058)
19171 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
19172 Tweak warning. (Bug#14926)
19174 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
19175 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
19177 * image-mode.el (image-mode-map): Add menu items to reverse,
19178 increase, decrease, reset animation speed.
19179 (image--set-speed, image-increase-speed, image-decrease-speed)
19180 (image-reverse-speed, image-reset-speed): New functions.
19181 (image-mode-map): Add bindings for speed commands.
19183 * image.el (image-animate-get-speed, image-animate-set-speed):
19185 (image-animate-timeout): Respect image :speed property.
19187 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19189 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
19190 previous line (bug#15101).
19191 (debugger-eval-expression, debugger-record-expression):
19192 Use read--expression (bug#15102).
19194 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
19196 Remove byte compiler warnings, visible when compiling with
19197 `byte-compile-force-lexical-warnings' set to t.
19199 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
19200 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
19201 (tramp-handle-unhandled-file-name-directory)
19202 (tramp-handle-file-notify-add-watch, tramp-action-login)
19203 (tramp-action-succeed, tramp-action-permission-denied)
19204 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
19205 arguments with "_".
19207 * net/tramp-adb.el (tramp-adb-parse-device-names)
19208 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
19209 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
19210 (tramp-adb-handle-file-truename): Remove unused arguments.
19212 * net/tramp-cache.el (tramp-flush-directory-property)
19213 (tramp-flush-connection-property, tramp-list-connections)
19214 (tramp-parse-connection-properties): Prefix unused arguments with "_".
19216 * net/tramp-compat.el (tramp-compat-make-temp-file):
19217 Rename FILENAME to F.
19219 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
19220 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
19221 (tramp-zeroconf-parse-workstation-device-names)
19222 (tramp-zeroconf-parse-webdav-device-names)
19223 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
19225 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
19226 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
19228 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
19230 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
19231 (tramp-sh-handle-insert-file-contents-literally)
19232 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
19234 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
19235 Remove unused variables.
19237 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
19238 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
19239 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
19241 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
19242 Make them a defconst.
19243 (tramp-uuencode-region): Remove unused variable.
19245 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
19247 * frameset.el (frameset--prop-setter): New function.
19248 (frameset-prop): Add gv-setter declaration.
19249 (frameset-filter-minibuffer): Deal with the case that the minibuffer
19250 parameter was already set in FILTERED. Doc fix.
19251 (frameset--record-minibuffer-relationships): Allow saving a
19252 minibufferless frame without its corresponding minibuffer frame.
19253 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
19254 frame, if the frame id matches.
19255 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
19256 frames before orphaned ones.
19257 (frameset-restore): Warn about orphaned windows, instead of error out.
19259 2013-08-14 Martin Rudalics <rudalics@gmx.at>
19261 * window.el (window-make-atom): Don't overwrite parameter
19263 (display-buffer-in-atom-window): Handle special case where we
19264 split an already atomic window.
19265 (window--major-non-side-window, display-buffer-in-side-window)
19266 (window--side-check): Ignore minibuffer window when walking
19268 (window-deletable-p): Return 'frame only if no other frame uses
19269 our minibuffer window.
19270 (record-window-buffer): Run buffer-list-update-hook.
19271 (split-window): Make sure window--check-frame won't destroy an
19272 existing atomic window in case the new window gets nested
19274 (display-buffer-at-bottom): Ignore minibuffer window when
19275 walking window tree. Don't split a side window.
19276 (pop-to-buffer): Don't set-buffer here, the select-window call
19278 (mouse-autoselect-window-select): Autoselect only if we are in the
19279 text portion of the window.
19281 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19283 * net/shr.el (shr-parse-image-data): New function to grab both the
19284 data itself and the Content-Type.
19285 (shr-put-image): Use it.
19287 * net/eww.el (eww-display-image): Ditto.
19289 * image.el (image-content-type-suffixes): New variable.
19291 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
19293 * progmodes/python.el (python-imenu--build-tree)
19294 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
19296 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
19298 * simple.el (backward-word): Mention the optional argument.
19300 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19302 * frameset.el (frameset--make): Rename constructor from make-frameset.
19303 (frameset-p, frameset-valid-p): Don't autoload.
19304 (frameset-valid-p): Use normal accessors.
19306 2013-08-13 Glenn Morris <rgm@gnu.org>
19308 * progmodes/compile.el (compile-command): Tweak example in doc.
19309 * obsolete/scribe.el (scribe-mode):
19310 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
19312 * mail/feedmail.el (feedmail-confirm-outgoing)
19313 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
19315 * cus-start.el (truncate-partial-width-windows): Fix type.
19317 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
19319 * net/shr.el (shr-table-horizontal-line): Fix custom type.
19321 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19323 * emacs-lisp/timer.el (timer--time-setter): New function.
19324 (timer--time): Use it as gv-setter.
19326 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
19327 setter is not a symbol.
19329 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
19331 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
19332 if sending fails. This makes debugging easier.
19334 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
19336 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
19337 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
19338 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
19340 2013-08-12 Eli Zaretskii <eliz@gnu.org>
19342 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
19344 2013-08-12 Glenn Morris <rgm@gnu.org>
19346 * format.el (format-annotate-function):
19347 Handle read-only text properties in the source. (Bug#14887)
19349 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19351 * net/eww.el (eww-display-html): Ignore coding system errors.
19352 One web site uses "utf-8lias" as the coding system.
19354 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
19356 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
19358 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
19360 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
19361 (tutorial--detailed-help): Remove unused local variables.
19362 (tutorial--save-tutorial-to): Use ignore-errors.
19363 (help-with-tutorial): Use looking-at-p.
19365 * view.el (view-buffer-other-window, view-buffer-other-frame):
19366 Mark unused arguments.
19368 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
19369 (woman-select-symbol-fonts, woman, woman-find-file)
19370 (woman-insert-file-contents, woman-non-underline-faces):
19371 Use string-match-p.
19372 (woman1-unquote): Move declaration.
19374 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
19375 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
19376 argument. Remove unused local variable.
19377 (xml-parse-elem-type): Use string-match-p.
19378 (xml-substitute-numeric-entities): Use ignore-errors.
19380 * calculator.el (calculator): Mark unused argument.
19381 (calculator-paste, calculator-quit, calculator-integer-p):
19383 (calculator-string-to-number, calculator-decimal, calculator-exp)
19384 (calculator-op-or-exp): Use string-match-p.
19386 * dired.el (dired-buffer-more-recently-used-p): Declare.
19387 (dired-insert-set-properties, dired-insert-old-subdirs):
19390 * dired-aux.el (dired-compress): Use ignore-errors.
19391 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
19392 (dired-do-async-shell-command, dired-do-shell-command)
19393 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
19394 (dired-insert-subdir-validate): Use string-match-p.
19395 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
19396 (dired-add-entry): Use string-match-p, looking-at-p.
19397 (dired-insert-subdir-newpos): Remove unused local variable.
19399 * filenotify.el (file-notify-callback): Remove unused local variable.
19401 * filesets.el (filesets-error): Mark unused argument.
19402 (filesets-which-command-p, filesets-filter-dir-names)
19403 (filesets-directory-files, filesets-get-external-viewer)
19404 (filesets-ingroup-get-data): Use string-match-p.
19406 * find-file.el (ff-other-file-name, ff-other-file-name)
19407 (ff-find-the-other-file, ff-cc-hh-converter):
19408 Remove unused local variables.
19409 (ff-get-file-name): Use string-match-p.
19410 (ff-all-dirs-under): Use ignore-errors.
19412 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
19413 (follow-select-if-visible): Remove unused local variable.
19415 * forms.el (read-file-filter): Move declaration.
19416 (forms--make-format, forms--make-parser, forms-insert-record):
19417 Quote function with #'.
19418 (forms--update): Use string-match-p. Quote function with #'.
19420 * help-mode.el (help-dir-local-var-def): Mark unused argument.
19421 (help-make-xrefs): Use looking-at-p.
19422 (help-xref-on-pp): Use looking-at-p, ignore-errors.
19424 * ibuffer.el (ibuffer-ext-visible-p): Declare.
19425 (ibuffer-confirm-operation-on): Use string-match-p.
19427 * msb.el (msb-item-handler, msb-dired-item-handler):
19428 Mark unused arguments.
19430 * ses.el (ses-decode-cell-symbol)
19431 (ses-kill-override): Remove unused local variable.
19432 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
19433 (ses-load): Use ignore-errors, looking-at-p.
19434 (ses-jump-safe): Use ignore-errors.
19435 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
19437 * tabify.el (untabify, tabify): Mark unused arguments.
19439 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
19440 Mark unused argument.
19441 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
19442 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
19444 * emacs-lisp/timer.el (timer--time): Define setter with
19445 gv-define-setter to avoid deprecation warning.
19447 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
19448 (*record-cmpl-statistics-p*): Remove (was commented out).
19449 (cmpl-statistics-block): Remove (body was commented out).
19450 All callers changed.
19451 (add-completions-from-buffer, load-completions-from-file):
19452 Remove unused variables.
19454 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19456 * filecache.el (file-cache-delete-file-list):
19457 Print message only when told so.
19458 (file-cache-files-matching): Use #' in mapconcat argument.
19460 * ffap.el (ffap-url-at-point): Fix reference to variable
19461 thing-at-point-default-mail-uri-scheme.
19463 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
19465 * subr.el (define-error): New function.
19466 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
19467 error-file-not-found and define with define-error.
19468 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
19469 and define with define-error.
19470 * userlock.el (file-locked, file-supersession):
19471 * simple.el (mark-inactive):
19472 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
19473 * progmodes/ada-mode.el (ada-mode-errors):
19474 * play/life.el (life-extinct):
19475 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
19476 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
19477 * nxml/rng-util.el (rng-error):
19478 * nxml/rng-uri.el (rng-uri-error):
19479 * nxml/rng-match.el (rng-compile-error):
19480 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
19481 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
19482 * nxml/nxml-rap.el (nxml-scan-error):
19483 * nxml/nxml-outln.el (nxml-outline-error):
19484 * net/soap-client.el (soap-error):
19485 * net/gnutls.el (gnutls-error):
19486 * net/ange-ftp.el (ftp-error):
19487 * mpc.el (mpc-proc-error):
19488 * json.el (json-error, json-readtable-error, json-unknown-keyword)
19489 (json-number-format, json-string-escape, json-string-format)
19490 (json-key-format, json-object-format):
19491 * jka-compr.el (compression-error):
19492 * international/quail.el (quail-error):
19493 * international/kkc.el (kkc-error):
19494 * emacs-lisp/ert.el (ert-test-failed):
19495 * calc/calc.el (calc-error, inexact-result, math-overflow)
19497 * bookmark.el (bookmark-error-no-filename):
19498 * epg.el (epg-error): Define with define-error.
19500 * time.el (display-time-event-handler)
19501 (display-time-next-load-average): Don't call sit-for since it seems
19502 unnecessary (bug#15045).
19504 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
19505 Use #' instead of ' to quote functions.
19506 (checkdoc-output-mode): Use setq-local.
19507 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
19508 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
19509 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
19510 (checkdoc-ispell, checkdoc-ispell-current-buffer)
19511 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
19512 (checkdoc-ispell-message-text, checkdoc-ispell-start)
19513 (checkdoc-ispell-continue, checkdoc-ispell-comments)
19514 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
19516 * ido.el (ido-completion-help): Fix up compiler warning.
19518 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19520 * frameset.el (frameset-p): Add autoload cookie.
19521 (frameset--jump-to-register): New function, based on code moved from
19523 (frameset-to-register): Move from register.el. Adapt to `registerv'.
19525 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
19526 (frameset-restore, frameset-save, frameset-session-filter-alist):
19527 Remove declarations.
19528 (register-alist): Doc fix.
19529 (frameset-to-register): Move to frameset.el.
19530 (jump-to-register, describe-register-1): Remove frameset-specific code.
19532 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19534 * allout-widgets.el (allout-widgets-pre-command-business)
19535 (allout-widgets-post-command-business)
19536 (allout-widgets-after-change-handler)
19537 (allout-decorate-item-and-context, allout-set-boundary-marker)
19538 (allout-body-modification-handler)
19539 (allout-graphics-modification-handler): Mark ignored arguments.
19540 (allout-widgets-post-command-business)
19541 (allout-widgets-exposure-change-processor)
19542 (allout-widgets-exposure-undo-processor)
19543 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
19544 (allout-parse-item-at-point, allout-decorate-item-guides)
19545 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
19546 * allout.el (epa-passphrase-callback-function): Declare.
19547 (allout-overlay-insert-in-front-handler)
19548 (allout-overlay-interior-modification-handler)
19549 (allout-isearch-end-handler, allout-chart-siblings)
19550 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
19551 (allout-yank-processing, allout-process-exposed)
19552 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
19553 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
19554 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
19555 (lisp-indent-defform): Mark ignored arguments.
19556 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
19557 (calculate-lisp-indent): Remove unused variables.
19558 * international/characters.el (indian-2-column, arabic-2-column)
19559 (tibetan): Mark ignored arguments.
19560 (use-cjk-char-width-table): Mark ignored arguments.
19561 Remove unused variables.
19562 * international/fontset.el (build-default-fontset-data)
19563 (x-compose-font-name, create-fontset-from-fontset-spec):
19564 Mark ignored arguments.
19565 (fontset-plain-name): Remove unused variables.
19566 * international/mule.el (charset-id, charset-bytes, generic-char-p)
19567 (keyboard-coding-system): Mark ignored arguments.
19568 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
19569 * help.el (resize-temp-buffer-window):
19570 * window.el (display-buffer-in-major-side-window)
19571 (display-buffer-in-side-window, display-buffer-in-previous-window):
19572 Remove unused variables.
19573 * isearch.el (isearch-forward-symbol):
19574 * version.el (emacs-bzr-version-bzr):
19575 * international/mule-cmds.el (current-language-environment):
19576 * term/common-win.el (x-handle-iconic, x-handle-geometry)
19577 (x-handle-display):
19578 * term/pc-win.el (x-list-fonts, x-display-planes)
19579 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
19580 (x-server-version, x-display-screens, x-display-mm-height)
19581 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
19582 (x-selection-owner-p, x-own-selection-internal)
19583 (x-disown-selection-internal, x-get-selection-internal)
19584 (msdos-initialize-window-system):
19585 * term/tty-colors.el (tty-color-alist, tty-color-clear):
19586 * term/x-win.el (x-handle-no-bitmap-icon):
19587 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
19588 (vc-default-find-file-hook, vc-default-extra-menu):
19589 Mark ignored arguments.
19591 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19593 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
19594 break-condition in the context of the debugged code (bug#12685).
19596 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
19599 Do not use an overlay to highlight the last prompt. (Bug#14744)
19600 (comint-mode): Make comint-last-prompt buffer local.
19601 (comint-last-prompt): New variable.
19602 (comint-last-prompt-overlay): Remove. Superseded by
19603 comint-last-prompt.
19604 (comint-snapshot-last-prompt, comint-output-filter):
19605 Use comint-last-prompt.
19607 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19609 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
19610 (frameset-save): Check validity of the resulting frameset.
19612 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
19614 * ido.el (ido-record-command): Add doc string.
19616 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19618 * frameset.el (frameset): Do not disable creation of the default
19619 frameset-p predicate. Doc fix.
19620 (frameset-valid-p): New function, copied from the old predicate-p.
19621 Add additional checks.
19622 (frameset-restore): Check with frameset-valid-p.
19623 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
19624 (frameset-name, frameset-description, frameset-properties)
19625 (frameset-states): Add docstring.
19626 (frameset-session-filter-alist, frameset-persistent-filter-alist)
19627 (frameset-filter-alist): Doc fixes.
19629 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19631 * frameset.el (frameset-p, frameset-prop): Doc fixes.
19633 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19635 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
19636 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
19637 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
19638 (byte-compile-normal-call): Remove obsolescence check.
19640 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19642 * frameset.el (frameset-restore): Doc fix.
19644 * register.el (frameset-frame-id, frameset-frame-with-id)
19645 (frameset-p, frameset-restore, frameset-save): Declare.
19646 (register-alist): Document framesets.
19647 (frameset-session-filter-alist): Declare.
19648 (frameset-to-register): New function.
19649 (jump-to-register): Implement jumping to framesets. Doc fix.
19650 (describe-register-1): Describe framesets.
19652 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
19654 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
19656 * desktop.el (desktop-save-frameset): Use new frameset-save args.
19657 Use lexical-binding.
19659 * frameset.el (frameset): Use type vector, not list (incompatible
19660 change). Do not declare a new constructor, use the default one.
19661 Upgrade suggested properties `app', `name' and `desc' to slots `app',
19662 `name' and `description', respectively, and add read-only slot
19663 `timestamp'. Doc fixes.
19664 (frameset-copy, frameset-persistent-filter-alist)
19665 (frameset-filter-alist, frameset-switch-to-gui-p)
19666 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
19667 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
19668 (frameset-filter-iconified, frameset-keep-original-display-p):
19670 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
19671 Rename from frameset-filter-(save|restore)-param. All callers changed.
19673 (frameset-p): Adapt to change to vector and be more thorough.
19674 Change arg name to OBJECT. Doc fix.
19675 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
19676 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
19677 All callers changed.
19678 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
19679 All callers changed.
19680 (frameset--record-minibuffer-relationships): Rename from
19681 frameset--process-minibuffer-frames. All callers changed.
19682 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
19683 Use new default constructor (again). Doc fix.
19684 (frameset--find-frame-if): Rename from `frameset--find-frame'.
19685 All callers changed.
19686 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
19687 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
19689 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
19690 PARAMETERS and WINDOW-STATE, respectively.
19691 (frameset-restore): Add new keyword argument PREDICATE.
19692 Reset frameset--target-display to nil. Doc fix.
19694 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19696 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
19697 (bat-mode): Use it.
19698 (bat-mode-syntax-table): Mark \n as end-of-comment.
19699 (bat-font-lock-keywords): Remove comment rule.
19701 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
19702 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
19704 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
19705 (byte-compile-callargs-warn): Use `push'.
19706 (byte-compile-arglist-warn): Ignore higher-order "calls".
19707 (byte-compile-file-form-autoload): Use `pcase'.
19708 (byte-compile-function-form): If quoting a symbol, check that it exists.
19710 2013-08-07 Eli Zaretskii <eliz@gnu.org>
19712 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
19713 and add a few popular commands found in batch files.
19714 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
19715 (dos-mode): Doc fixes.
19717 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19719 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
19720 (dos-mode): Use setq-local. Add space after "rem".
19721 (dos-mode-syntax-table): Don't use "w" for symbol chars.
19722 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
19724 2013-08-07 Arni Magnusson <arnima@hafro.is>
19726 * progmodes/dos.el: New file.
19727 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
19730 2013-08-06 Glenn Morris <rgm@gnu.org>
19732 * calendar/calendar.el: Add new faces, and day-header-array.
19733 (calendar-weekday-header, calendar-weekend-header)
19734 (calendar-month-header): New faces.
19735 (calendar-day-header-construct): New function.
19736 (calendar-day-header-width): Also :set calendar-day-header-array.
19737 (calendar-american-month-header, calendar-european-month-header)
19738 (calendar-iso-month-header): Use calendar- faces.
19739 (calendar-generate-month):
19740 Use calendar-day-header-array for day headers; apply faces to them.
19741 (calendar-mode): Check calendar-font-lock-keywords non-nil.
19742 (calendar-abbrev-construct): Add optional maxlen argument.
19743 (calendar-day-name-array): Doc fix.
19744 (calendar-day-name-array, calendar-abbrev-length)
19745 (calendar-day-abbrev-array):
19746 Also :set calendar-day-header-array, and maybe redraw.
19747 (calendar-day-header-array): New option. (Bug#15007)
19748 (calendar-font-lock-keywords): Set to nil and make obsolete.
19749 (calendar-day-name): Add option to use header array.
19751 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19753 * net/shr.el (shr-render-td): Remove debugging.
19754 (shr-render-td): Make width computation consistent by defaulting
19755 all zero-width columns to 10 characters. This may not be optimal,
19756 but it's at least consistent.
19757 (shr-make-table-1): Redo last change to fix the real problem in
19760 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19762 * files.el (cache-long-line-scans):
19763 Make obsolete alias to `cache-long-scans'.
19765 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19767 * frameset.el (frameset, frameset-filter-alist)
19768 (frameset-filter-params, frameset-save, frameset--reuse-frame)
19769 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
19770 (frameset-compute-pos): Rename from frameset--compute-pos,
19772 (frameset-move-onscreen): Use frameset-compute-pos.
19773 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19775 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
19776 Fix typos in docstrings.
19778 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19780 * frame.el (get-other-frame): Tiny cleanup.
19782 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19784 * vc/vc.el (vc-default-ignore-completion-table):
19785 Silence byte-compiler warning.
19787 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
19788 slot, which can indeed be nil.
19789 (frameset-live-filter-alist, frameset-persistent-filter-alist):
19790 Move entry for `left' from persistent to live filter alist.
19791 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
19793 (frameset-filter-params): When restoring a frame, copy items added to
19794 `filtered', to avoid unwittingly modifying the original parameters.
19795 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
19796 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
19798 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
19799 to use looking-at-p instead of looking-at. (Bug#15028)
19801 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19803 Revert introduction of isearch-filter-predicates (bug#14714).
19804 Rely on add-function instead.
19805 * isearch.el (isearch-filter-predicates): Rename it back to
19806 isearch-filter-predicate.
19807 (isearch-message-prefix): Use advice-function-mapc and advice
19808 properties to get the isearch-message-prefix.
19809 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
19810 instead of run-hook-with-args-until-failure.
19811 (isearch-filter-visible): Not obsolete any more.
19812 * loadup.el: Preload nadvice.
19813 * replace.el (perform-replace): Revert to funcall
19814 instead of run-hook-with-args-until-failure.
19815 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
19816 * dired-aux.el (dired-isearch-filenames-mode): Rename from
19817 dired-isearch-filenames-toggle; make it into a proper minor mode.
19818 Use add/remove-function.
19819 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
19820 Call the minor-mode rather than add/remove-hook.
19821 (dired-isearch-filter-filenames):
19822 Remove isearch-message-prefix property.
19823 * info.el (Info--search-loop): New function, extracted from Info-search.
19824 Funcall isearch-filter-predicate instead of
19825 run-hook-with-args-until-failure isearch-filter-predicates.
19826 (Info-search): Use it.
19827 (Info-mode): Use isearch-filter-predicate instead of
19828 isearch-filter-predicates.
19830 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
19832 Do not call to `selected-window' where it is assumed by default.
19833 Affected functions are `window-minibuffer-p', `window-dedicated-p',
19834 `window-hscroll', `window-width', `window-height', `window-buffer',
19835 `window-frame', `window-start', `window-point', `next-window'
19836 and `window-display-table'.
19837 * abbrev.el (abbrev--default-expand):
19838 * bs.el (bs--show-with-configuration):
19839 * buff-menu.el (Buffer-menu-mouse-select):
19840 * calc/calc.el (calc):
19841 * calendar/calendar.el (calendar-generate-window):
19842 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
19843 (diary-make-entry):
19844 * comint.el (send-invisible, comint-dynamic-complete-filename)
19845 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
19846 * completion.el (complete):
19847 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
19848 * disp-table.el (describe-current-display-table):
19849 * doc-view.el (doc-view-insert-image):
19850 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
19851 * ehelp.el (with-electric-help):
19852 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19853 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
19854 * emacs-lisp/helper.el (Helper-help-scroller):
19855 * emulation/cua-base.el (cua--post-command-handler-1):
19856 * eshell/esh-mode.el (eshell-output-filter):
19857 * ffap.el (ffap-gnus-wrapper):
19858 * help-macro.el (make-help-screen):
19859 * hilit-chg.el (highlight-compare-buffers):
19860 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
19861 * hl-line.el (global-hl-line-highlight):
19862 * icomplete.el (icomplete-simple-completing-p):
19863 * isearch.el (isearch-done):
19864 * jit-lock.el (jit-lock-stealth-fontify):
19865 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
19866 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
19867 * mpc.el (mpc-tagbrowser, mpc):
19868 * net/rcirc.el (rcirc-any-buffer):
19869 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
19870 * play/landmark.el (landmark-max-width, landmark-max-height):
19871 * play/zone.el (zone):
19872 * progmodes/compile.el (compilation-goto-locus):
19873 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
19874 * progmodes/etags.el (find-tag-other-window):
19875 * progmodes/fortran.el (fortran-column-ruler):
19876 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
19877 * progmodes/verilog-mode.el (verilog-point-text):
19878 * reposition.el (reposition-window):
19879 * rot13.el (toggle-rot13-mode):
19880 * server.el (server-switch-buffer):
19881 * shell.el (shell-dynamic-complete-command)
19882 (shell-dynamic-complete-environment-variable):
19883 * simple.el (insert-buffer, set-selective-display)
19884 (delete-completion-window):
19885 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
19886 (speedbar-recenter):
19887 * startup.el (fancy-splash-head):
19888 * textmodes/ispell.el (ispell-command-loop):
19889 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
19890 * tutorial.el (help-with-tutorial):
19891 * vc/add-log.el (add-change-log-entry):
19892 * vc/compare-w.el (compare-windows):
19893 * vc/ediff-help.el (ediff-indent-help-message):
19894 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
19895 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
19896 (ediff-setup-control-frame):
19897 * vc/emerge.el (emerge-position-region):
19898 * vc/pcvs-util.el (cvs-bury-buffer):
19899 * window.el (walk-windows, mouse-autoselect-window-select):
19900 * winner.el (winner-set-conf, winner-undo): Related users changed.
19902 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
19904 * frameset.el (frameset--set-id): Doc fix.
19905 (frameset-frame-id, frameset-frame-id-equal-p)
19906 (frameset-locate-frame-id): New functions.
19907 (frameset--process-minibuffer-frames, frameset--reuse-frame)
19908 (frameset-restore): Use them.
19910 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
19912 Do not call to `selected-frame' where it is assumed by default.
19913 Affected functions are `raise-frame', `redraw-frame',
19914 `frame-first-window', `frame-terminal' and `delete-frame'.
19915 * calendar/appt.el (appt-disp-window):
19916 * epg.el (epg-wait-for-completion):
19917 * follow.el (follow-delete-other-windows-and-split)
19918 (follow-avoid-tail-recenter):
19919 * international/mule.el (set-terminal-coding-system):
19920 * mail/rmail.el (rmail-mail-return):
19921 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
19922 * progmodes/f90.el (f90-add-imenu-menu):
19923 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
19924 * server.el (server-switch-buffer):
19925 * simple.el (delete-completion-window):
19927 * term/xterm.el (terminal-init-xterm-modify-other-keys)
19928 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
19929 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
19930 * vc/ediff.el (ediff-documentation): Related users changed.
19931 * frame.el (selected-terminal): Remove the leftover.
19933 2013-08-05 Glenn Morris <rgm@gnu.org>
19935 * calendar/calendar.el (calendar-generate-month):
19936 Fix for calendar-column-width != 1 + calendar-day-digit-width.
19937 (calendar-generate-month, calendar-font-lock-keywords):
19938 Fix for calendar-day-header-width > length of any day name.
19940 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
19942 * desktop.el (desktop-clear): Use new name of sort predicate.
19944 * frameset.el (frameset): Add docstring. Move :version property to its
19945 own `version' slot.
19946 (frameset-copy): Rename from copy-frameset.
19947 (frameset-p): Check more thoroughly.
19948 (frameset-prop): Do not check for :version, which is no longer a prop.
19949 (frameset-live-filter-alist, frameset-persistent-filter-alist):
19950 Use new :never value instead of t.
19951 (frameset-filter-alist): Expand and clarify docstring.
19952 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
19953 (frameset-filter-minibuffer, frameset-filter-save-param)
19954 (frameset-filter-restore-param, frameset-filter-iconified):
19955 Add pointer to docstring of frameset-filter-alist.
19956 (frameset-filter-params): Rename filter values to be more meaningful:
19957 :never instead of t, and reverse the meanings of :save and :restore.
19958 (frameset--process-minibuffer-frames): Clarify error message.
19959 (frameset-save): Avoid unnecessary and confusing call to framep.
19960 Use new BOA constructor for framesets.
19961 (frameset--reuse-list): Doc fix.
19962 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
19963 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
19964 (frameset-minibufferless-first-p): Doc fix.
19965 Rename from frameset-sort-frames-for-deletion.
19966 (frameset-restore): Doc fixes. Use new function names.
19967 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19969 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
19971 * desktop.el (desktop-restore-forces-onscreen)
19972 (desktop-restore-reuses-frames): Document :keyword constant values.
19973 (desktop-filter-parameters-alist): Remove, now identical to
19974 frameset-filter-alist.
19975 (desktop--filter-tty*): Remove, moved to frameset.el.
19976 (desktop-save-frameset, desktop-restore-frameset):
19977 Do not pass :filters argument.
19979 * frameset.el (frameset-live-filter-alist)
19980 (frameset-persistent-filter-alist): New variables.
19981 (frameset-filter-alist): Use them. Add autoload cookie.
19982 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
19983 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
19984 `frameset--id' (it's supposed to be internal to frameset.el).
19985 (frameset--process-minibuffer-frames): Ditto. Doc fix.
19986 (frameset--initial-params): New function.
19987 (frameset--get-frame): Use it. Doc fix.
19988 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
19989 Accept :all, not 'all.
19990 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
19991 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
19992 with fbound symbols. Fix frame id matching, and remove matching ids if
19993 the frame being restored is deleted. Obey :delete.
19995 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
19997 * subr.el (macrop): New function.
19998 (text-clone--maintaining): New var.
19999 (text-clone--maintain): Rename from text-clone-maintain. Use it
20000 instead of inhibit-modification-hooks.
20002 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
20003 a proxy, so as handle autoloads and redefinitions of the target.
20004 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
20006 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
20007 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
20008 (pcase--mutually-exclusive-p): New function.
20009 (pcase--split-consp): Use it.
20010 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
20011 mutually exclusive with the current predicate.
20013 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
20014 (edebug-macrop): Remove. Use `macrop' instead.
20015 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
20017 * eshell/esh-cmd.el (eshell-macrop):
20018 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
20020 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
20022 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
20023 (advice-mapc): New function, using it.
20024 (advice-function-member-p): New function.
20025 (advice--normalize): Store the cdr in advice--saved-rewrite since
20026 that's the part that will be changed.
20027 (advice--symbol-function): New function.
20028 (advice-remove): Handle removal before the function is defined.
20029 Adjust to new advice--saved-rewrite.
20030 (advice-member-p): Use advice-function-member-p and
20031 advice--symbol-function.
20033 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
20035 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
20036 (frameset-filter-minibuffer): Doc fix.
20037 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
20038 (frameset--set-id, frameset--process-minibuffer-frames)
20039 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
20040 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
20042 * desktop.el (desktop-clear): Only delete frames when called
20043 interactively and desktop-restore-frames is non-nil. Doc fix.
20044 (desktop-read): Set desktop-saved-frameset to nil.
20046 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
20048 * vc/vc.el (vc-ignore): Rewrite.
20049 (vc-default-ignore-completion-table, vc--read-lines)
20050 (vc--add-line, vc--remove-regexp): New functions.
20052 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
20053 (vc-svn-ignore-completion-table): New function.
20055 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
20056 (vc-hg-ignore-completion-table)
20057 (vc-hg-find-ignore-file): New functions.
20059 * vc/vc-git.el (vc-git-ignore): Rewrite.
20060 (vc-git-ignore-completion-table)
20061 (vc-git-find-ignore-file): New functions.
20063 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
20065 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
20066 (vc-bzr-ignore-completion-table)
20067 (vc-bzr-find-ignore-file): New functions.
20069 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
20071 * frameset.el (frameset-prop): New function and setter.
20072 (frameset-save): Do not modify frame list passed by the caller.
20074 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20076 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
20078 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
20080 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
20081 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
20083 * custom.el (custom-initialize-default, custom-initialize-set)
20084 (custom-initialize-reset, custom-initialize-changed): Affect the
20085 toplevel-default-value (bug#6275, bug#14586).
20086 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
20089 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
20091 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
20092 Add cl-def* expressions.
20094 * frameset.el (frameset-filter-params): Fix order of arguments.
20096 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
20098 Move code related to saving frames to frameset.el.
20099 * desktop.el: Require frameset.
20100 (desktop-restore-frames): Doc fix.
20101 (desktop-restore-reuses-frames): Rename from
20102 desktop-restoring-reuses-frames.
20103 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
20104 (desktop-clear): Clear frames too.
20105 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
20106 (desktop--filter-tty*, desktop-save, desktop-read):
20107 Use frameset functions.
20108 (desktop-before-saving-frames-functions, desktop--filter-*-color)
20109 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20110 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
20111 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
20112 (desktop--process-minibuffer-frames, desktop-save-frames)
20113 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
20114 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
20115 (desktop--sort-states, desktop-restoring-frames-p)
20116 (desktop-restore-frames): Remove. Most code moved to frameset.el.
20117 (desktop-restoring-frameset-p, desktop-restore-frameset)
20118 (desktop--check-dont-save, desktop-save-frameset): New functions.
20119 (desktop--app-id): New constant.
20120 (desktop-first-buffer, desktop-buffer-ok-count)
20121 (desktop-buffer-fail-count): Move before first use.
20122 * frameset.el: New file.
20124 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20126 * files.el: Use lexical-binding.
20127 (dir-locals-read-from-file): Remove unused `err' variable.
20128 (hack-dir-local-variables--warned-coding): New var.
20129 (hack-dir-local-variables): Use it to avoid repeated warnings.
20130 (make-backup-file-name--default-function): New function.
20131 (make-backup-file-name-function): Use it as default.
20132 (buffer-stale--default-function): New function.
20133 (buffer-stale-function): Use it as default.
20134 (revert-buffer-insert-file-contents--default-function): New function.
20135 (revert-buffer-insert-file-contents-function): Use it as default.
20136 (insert-directory): Avoid add-to-list.
20138 * autorevert.el (auto-revert-handler): Simplify.
20139 Use buffer-stale--default-function.
20141 2013-08-01 Tassilo Horn <tsdh@gnu.org>
20143 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
20145 * whitespace.el (whitespace-ensure-local-variables): New function.
20146 (whitespace-cleanup-region): Call it.
20147 (whitespace-turn-on): Call it.
20149 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
20151 Complete file name handlers.
20153 * net/tramp.el (tramp-handle-set-visited-file-modtime)
20154 (tramp-handle-verify-visited-file-modtime)
20155 (tramp-handle-file-notify-rm-watch): New functions.
20156 (tramp-call-process): Do not bind `default-directory'.
20158 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20159 Order alphabetically.
20160 <access-file, add-name-to-file, dired-call-process>:
20161 <dired-compress-file, file-acl, file-notify-rm-watch>:
20162 <file-ownership-preserved-p, file-selinux-context>:
20163 <make-directory-internal, make-symbolic-link, set-file-acl>:
20164 <set-file-selinux-context, set-visited-file-modtime>:
20165 <verify-visited-file-modtime>: Add handler.
20166 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
20168 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
20169 <file-notify-add-watch, file-notify-rm-watch>:
20170 <set-file-times, set-visited-file-modtime>:
20171 <verify-visited-file-modtime>: Add handler.
20172 (with-tramp-gvfs-error-message)
20173 (tramp-gvfs-handle-set-visited-file-modtime)
20174 (tramp-gvfs-fuse-file-name): Remove.
20175 (tramp-gvfs-handle-file-notify-add-watch)
20176 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
20177 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
20179 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20180 Order alphabetically.
20181 <file-notify-rm-watch>: Use default Tramp handler.
20182 <executable-find>: Remove private handler.
20183 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
20184 `default-directory'.
20185 (tramp-sh-handle-executable-find)
20186 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
20187 (tramp-sh-file-gvfs-monitor-dir-process-filter)
20188 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
20189 Do not use `format' in `tramp-message'.
20191 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
20192 <file-notify-rm-watch, set-visited-file-modtime>:
20193 <verify-visited-file-modtime>: Add handler.
20194 (tramp-smb-call-winexe): Do not bind `default-directory'.
20196 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
20198 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
20200 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
20202 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
20204 (log-view-diff-changeset): Same.
20205 (log-view-diff-common): Call backend command `previous-revision'
20206 to find out the previous revision, in both cases. Swap the
20207 variables `to' and `fr', so that `fr' usually refers to the
20208 earlier revision (Bug#14989).
20210 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
20212 * ibuf-ext.el (ibuffer-filter-by-filename):
20213 Make it work with dired buffers too.
20215 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
20217 * emacs-lisp/re-builder.el (reb-color-display-p):
20218 * files.el (save-buffers-kill-terminal):
20219 * net/browse-url.el (browse-url):
20220 * server.el (server-save-buffers-kill-terminal):
20221 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
20222 Prefer nil to selected-frame for the first arg of frame-parameter.
20224 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
20226 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
20228 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
20230 * minibuffer.el (completion--twq-all): Try and preserve each
20231 completion's case choice (bug#14907).
20233 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20235 * net/network-stream.el (open-network-stream): Mention the new
20236 :nogreeting parameter.
20237 (network-stream-open-starttls): Use the :nogreeting parameter
20240 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
20242 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
20243 more natural than popping.
20245 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
20246 (shr-urlify): Highlight under mouse.
20248 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20250 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
20252 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
20254 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
20257 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
20258 point-min==1. Fix search string. Fix parentheses missing.
20260 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
20261 assume point-min==1. Fix search string. Fix parentheses missing.
20263 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
20265 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
20268 2013-07-29 Eli Zaretskii <eliz@gnu.org>
20270 * frame.el (frame-notice-user-settings): Avoid inflooping when the
20271 initial frame is minibuffer-less. (Bug#14841)
20273 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
20275 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
20278 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20279 (tramp-maybe-open-connection): Use it.
20281 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20283 * desktop.el (desktop--make-frame): Include `minibuffer' in the
20284 minimal set of parameters passed when creating a frame, because
20285 the minibuffer status of a frame cannot be changed later.
20287 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
20289 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
20290 replace-regexp-in-string and inadvertent omissions in previous change.
20291 (todo-filter-items): Ensure only file names are comma-separated in
20292 name of filtered items buffer.
20294 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20296 * desktop.el: Optionally force offscreen frames back onscreen.
20297 (desktop-restoring-reuses-frames): New option.
20298 (desktop--compute-pos, desktop--move-onscreen): New functions.
20299 (desktop--make-frame): Use desktop--move-onscreen.
20301 2013-07-27 Alan Mackenzie <acm@muc.de>
20303 Fontify a Java generic method as a function.
20304 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
20307 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
20309 * calendar/todo-mode.el: Add command to rename todo files.
20310 (todo-rename-file): New command.
20311 (todo-key-bindings-t): Add key binding for it. Change the
20312 bindings of todo-filter-regexp-items(-multifile) to use `x'
20313 instead of `r', since the latter is better suited to the new
20316 2013-07-27 Alan Mackenzie <acm@muc.de>
20318 Make Java try-with-resources statement parse properly.
20319 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
20320 (c-block-stmt-1-2-key): New language constants/variables.
20321 * progmodes/cc-engine.el (c-beginning-of-statement-1)
20322 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
20323 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
20324 with c-block-stmt-1-2-key.
20326 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
20328 * desktop.el (desktop--make-frame): Apply most frame parameters after
20329 creating the frame to force (partially or totally) offscreen frames to
20330 be restored as such.
20332 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
20334 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
20337 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20339 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
20340 `base' arg of backtrace-frame.
20342 2013-07-26 Eli Zaretskii <eliz@gnu.org>
20344 * simple.el (list-processes): Doc fix.
20346 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20348 * desktop.el (desktop--select-frame):
20349 Try harder to reuse existing frames.
20351 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20353 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
20354 (edebug-eval): Use backtrace-eval.
20355 (edebug--display, edebug--recursive-edit): Don't let-bind the
20356 edebug-outer-* vars that keep track of variables we locally let-bind.
20357 (edebug-outside-excursion): Don't restore outside values of locally
20359 (edebug--display): Use user-error.
20360 (cl-lexical-debug, cl-debug-env): Remove.
20362 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20364 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
20365 are restored to be sure that they are visible before deleting any
20368 2013-07-26 Matthias Meulien <orontee@gmail.com>
20370 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
20371 vc-print-root-log. (Bug#14948)
20373 2013-07-26 Richard Stallman <rms@gnu.org>
20375 Add aliases for encrypting mail.
20376 * epa.el (epa-mail-aliases): New option.
20377 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
20378 Bind inhibit-read-only so read-only text doesn't ruin everything.
20379 (epa-mail-default-recipients): New subroutine broken out.
20380 Handle epa-mail-aliases.
20382 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20384 Add support for lexical variables to the debugger's `e' command.
20385 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
20386 vars, except for debugger-outer-match-data.
20387 (debugger-frame-number): Move check for "on a function call" from
20388 callers into it. Add `skip-base' argument.
20389 (debugger-frame, debugger-frame-clear): Simplify accordingly.
20390 (debugger-env-macro): Only reset the state stored in non-variables,
20391 i.e. current-buffer and match-data.
20392 (debugger-eval-expression): Rewrite using backtrace-eval.
20393 * subr.el (internal--called-interactively-p--get-frame): Remove.
20394 (called-interactively-p):
20395 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
20396 `base' arg of backtrace-frame instead.
20398 2013-07-26 Glenn Morris <rgm@gnu.org>
20400 * align.el (align-regexp): Doc fix. (Bug#14857)
20401 (align-region): Explicit error if subexpression missing/does not match.
20403 * simple.el (global-visual-line-mode):
20404 Do not duplicate the mode lighter. (Bug#14858)
20406 2013-07-25 Martin Rudalics <rudalics@gmx.at>
20408 * window.el (display-buffer): In display-buffer bind
20409 split-window-keep-point to t, bug#14829.
20411 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20413 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
20414 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
20415 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
20416 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20417 Change accordingly.
20418 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20419 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
20421 2013-07-25 Glenn Morris <rgm@gnu.org>
20423 * dired-x.el (dired-mark-extension): Convert comment to doc string.
20425 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20427 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
20428 parameter to modify-frame-parameters if the value has not changed;
20429 this is a workaround for bug#14949.
20430 (desktop--make-frame): On cl-delete-if call, check parameter name,
20431 not full parameter.
20433 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20435 * vc/vc.el (vc-ignore): New function.
20437 * vc/vc-svn.el (vc-svn-ignore): New function.
20439 * vc/vc-hg.el (vc-hg-ignore): New function.
20441 * vc/vc-git.el (vc-git-ignore): New function.
20443 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
20444 (vc-dir-ignore): New function.
20446 * vc/vc-cvs.el (vc-cvs-ignore): New function.
20447 (cvs-append-to-ignore): Move here from pcvs.el.
20449 * vc/vc-bzr.el (vc-bzr-ignore): New function.
20451 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
20453 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
20455 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
20456 (desktop-restore-frames): Warn when deleting an existing frame failed.
20458 2013-07-24 Glenn Morris <rgm@gnu.org>
20460 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
20462 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
20464 * filenotify.el (file-notify-supported-p):
20465 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20468 * autorevert.el (auto-revert-use-notify)
20469 (auto-revert-notify-add-watch):
20470 * net/tramp.el (tramp-file-name-for-operation):
20471 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20472 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20473 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20474 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20475 Remove `file-notify-supported-p' entry.
20477 2013-07-24 Glenn Morris <rgm@gnu.org>
20479 * printing.el: Replace all uses of deleted ps-windows-system,
20480 ps-lp-system, ps-flatten-list with lpr- versions.
20482 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20484 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
20485 checked with memq (bug#14935).
20487 * files.el (revert-buffer-function): Use a non-nil default.
20488 (revert-buffer-preserve-modes): Declare var to
20489 provide access to the `preserve-modes' argument.
20490 (revert-buffer): Let-bind it.
20491 (revert-buffer--default): New function, extracted from revert-buffer.
20493 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20495 * lpr.el: Signal print errors more prominently.
20496 (print-region-function): Don't default to nil.
20497 (lpr-print-region): New function, extracted from print-region-1.
20498 Check lpr's return value and signal an error in case of problem.
20499 (print-region-1): Use it.
20500 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
20502 (ps-printer-name): Default to nil.
20503 (ps-printer-name-option): Default to lpr-printer-switch.
20504 (ps-print-region-function): Don't default to nil.
20505 (ps-postscript-code-directory): Simplify default.
20506 (ps-do-despool): Use lpr-print-region to properly check the outcome.
20507 (ps-string-list, ps-eval-switch, ps-flatten-list)
20508 (ps-flatten-list-1): Remove.
20509 (ps-multibyte-buffer): Avoid setq.
20510 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
20511 (print-region-function, ps-print-region-function): Don't set them here.
20513 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
20515 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
20516 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
20517 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
20518 (ido-decorations): Doc fix.
20520 * ansi-color.el: Fix old URL.
20522 2013-07-23 Michael R. Mauger <michael@mauger.com>
20524 * progmodes/sql.el: Version 3.3
20525 (sql-product-alist): Improve oracle :prompt-cont-regexp.
20526 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
20527 (sql-interactive-remove-continuation-prompt): Rewrite, use
20528 functions above. Fix continuation prompt and complete output line
20530 (sql-redirect-one, sql-execute): Use `read-only-mode' on
20531 redirected output buffer.
20532 (sql-mode): Restore deleted code (Bug#13591).
20534 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20536 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
20538 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
20540 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
20542 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20543 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20544 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
20546 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20548 * desktop.el (desktop-clear): Simplify; remove useless checks
20549 against invalid buffer names.
20550 (desktop-list*): Use cl-list*.
20551 (desktop-buffer-info, desktop-create-buffer): Simplify.
20553 2013-07-23 Leo Liu <sdl.web@gmail.com>
20555 * bookmark.el (bookmark-make-record): Restore NAME as a default
20558 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
20560 * emacs-lisp/autoload.el (autoload--setup-output): New function,
20561 extracted from autoload--insert-text.
20562 (autoload--insert-text): Remove.
20563 (autoload--print-cookie-text): New function, extracted from
20564 autoload--insert-cookie-text.
20565 (autoload--insert-cookie-text): Remove.
20566 (autoload-generate-file-autoloads): Adjust calls accordingly.
20568 * winner.el (winner-hook-installed-p): Remove.
20569 (winner-mode): Simplify accordingly.
20571 * subr.el (add-to-list): Fix compiler-macro when `append' is
20572 not constant. Don't use `cl-member' for the base case.
20574 * progmodes/subword.el: Fix boundary case (bug#13758).
20575 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
20577 (subword-backward-regexp): Make it a constant.
20578 (subword-forward-internal): Don't treat a trailing capital as the
20579 beginning of a word.
20581 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
20583 * emacs-lisp/package.el (package-menu-mode): Don't modify the
20584 global value of tabulated-list-revert-hook (bug#14930).
20586 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
20588 * desktop.el: Require 'cl-lib.
20589 (desktop-before-saving-frames-functions): New hook.
20590 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
20591 for frames being saved. Rename from desktop--save-minibuffer-frames.
20592 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
20593 Do not save frames with non-nil `desktop-dont-save' parameter.
20594 Filter out deleted frames.
20595 (desktop--find-frame): Use cl-find-if.
20596 (desktop--select-frame): Use cl-(first|second|third) to access values
20598 (desktop--make-frame): Use cl-delete-if.
20599 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
20600 (desktop-restore-frames): Use cl-(first|second|third) to access values
20601 of desktop-mini. Look for visible frame at the end, not while
20604 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
20605 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
20606 Use string-match-p, looking-at-p (bug#14927).
20608 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
20610 * desktop.el (desktop-saved-frame-states):
20611 Rename from desktop--saved-states; all users changed.
20612 (desktop-save-frames): Rename from desktop--save-frames.
20613 Do not save state to desktop file.
20614 (desktop-save): Save desktop-saved-frame-states to desktop file
20616 (desktop-restoring-frames-p): New function.
20617 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
20618 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
20619 buffer-lists when restoring frames. Suggested by Martin Rudalics.
20621 * desktop.el: Correctly restore iconified frames.
20622 (desktop--filter-iconified-position): New function.
20623 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
20625 2013-07-20 Glenn Morris <rgm@gnu.org>
20627 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
20628 Let `message' do the formatting.
20629 (def-gdb-preempt-display-buffer): Add explicit format.
20631 * image-dired.el (image-dired-track-original-file):
20632 Use with-current-buffer.
20633 (image-dired-track-thumbnail): Use with-current-buffer.
20634 Avoid changing point of wrong window.
20636 * image-dired.el (image-dired-track-original-file):
20637 Avoid changing point of wrong window. (Bug#14909)
20639 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
20641 * progmodes/gdb-mi.el (gdb-done-or-error):
20642 Guard against "%" in gdb output. (Bug#14127)
20644 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
20646 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
20649 * international/mule.el (coding-system-iso-2022-flags): Fix last
20652 2013-07-20 Kenichi Handa <handa@gnu.org>
20654 * international/mule.el (coding-system-iso-2022-flags):
20655 Add `8-bit-level-4'. (Bug#8522)
20657 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20659 * net/shr.el (shr-mouse-browse-url): New command and keystroke
20662 * net/eww.el (eww-process-text-input): Allow inputting when the
20663 point is at the start of the line, as the properties aren't
20666 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
20669 2013-07-19 Richard Stallman <rms@gnu.org>
20671 * epa.el (epa-popup-info-window): Doc fix.
20673 * subr.el (split-string): New arg TRIM.
20675 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
20677 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
20678 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
20680 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
20682 * filenotify.el (file-notify--library): Rename from
20683 `file-notify-support'. Do not autoload. Adapt all uses.
20684 (file-notify-supported-p): New defun.
20686 * autorevert.el (auto-revert-use-notify):
20687 Use `file-notify-supported-p' instead of `file-notify-support'.
20689 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
20691 * net/tramp.el (tramp-file-name-for-operation):
20692 Add `file-notify-supported-p'.
20694 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20696 (tramp-sh-file-name-handler-alist): Add it as handler for
20697 `file-notify-supported-p '.
20699 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20700 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20701 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20702 Add `ignore' as handler for `file-notify-*' functions.
20704 2013-07-17 Eli Zaretskii <eliz@gnu.org>
20706 * simple.el (line-move-partial, line-move): Don't start vscroll or
20707 scroll-up if the current line is not taller than the window.
20710 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
20712 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
20713 highlight question marks in the method names as strings.
20714 (ruby-block-beg-keywords): Inline.
20715 (ruby-font-lock-keyword-beg-re): Extract from
20716 `ruby-font-lock-keywords'.
20718 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
20720 * frame.el (blink-cursor-blinks): New defcustom.
20721 (blink-cursor-blinks-done): New defvar.
20722 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
20723 (blink-cursor-timer-function): Check if number of blinks has been
20725 (blink-cursor-suspend, blink-cursor-check): New defuns.
20727 2013-07-15 Glenn Morris <rgm@gnu.org>
20729 * edmacro.el (edmacro-format-keys): Fix previous change.
20731 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
20733 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
20734 The hack didn't work outside English locales anyway.
20736 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
20738 * simple.el (define-alternatives): Rename from alternatives-define,
20739 per RMS' suggestion.
20741 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
20743 * desktop.el (desktop-restore-frames): Change default to t.
20744 (desktop-restore-in-current-display): Now offer more options.
20745 (desktop-restoring-reuses-frames): New customization option.
20746 (desktop--saved-states): Doc fix.
20747 (desktop-filter-parameters-alist): New variable, renamed and expanded
20748 from desktop--excluded-frame-parameters.
20749 (desktop--target-display): New variable.
20750 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
20751 (desktop--filter-tty*, desktop--filter-*-color)
20752 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20753 (desktop--filter-save-desktop-parm)
20754 (desktop-restore-in-original-display-p): New functions.
20755 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
20756 (desktop--save-minibuffer-frames): New function, inspired by a similar
20757 function from Martin Rudalics.
20758 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
20759 (desktop--restore-in-this-display-p): Remove.
20760 (desktop--find-frame): Rename from desktop--find-frame-in-display
20761 and add predicate argument.
20762 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
20763 (desktop--reuse-list): New variable.
20764 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
20766 (desktop--restore-frames): Add support for "minibuffer-special" frames.
20768 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
20770 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
20772 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
20774 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
20775 Highlight conversion methods on Kernel.
20777 2013-07-13 Alan Mackenzie <acm@muc.de>
20779 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
20780 and comment it out. This out-commenting enables certain C++
20781 declarations to be parsed correctly.
20783 2013-07-13 Eli Zaretskii <eliz@gnu.org>
20785 * international/mule.el (define-coding-system): Doc fix.
20787 * simple.el (default-font-height): Don't call font-info if the
20788 frame's default font didn't change since the frame was created.
20791 2013-07-13 Leo Liu <sdl.web@gmail.com>
20793 * ido.el (ido-read-file-name): Guard against non-symbol value.
20795 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
20797 * progmodes/python.el (python-imenu--build-tree): Fix corner case
20800 2013-07-13 Leo Liu <sdl.web@gmail.com>
20802 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
20803 ido-set-matches call. (Bug#6852)
20805 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
20807 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
20808 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
20810 (ruby-font-lock-keywords): Distinguish calls to functions with
20811 module-like names from module references. Highlight character
20814 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
20816 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
20817 (gdb-send): Handle continued commands. (Bug#14847)
20819 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
20821 * desktop.el (desktop--v2s): Remove unused local variable.
20822 (desktop-save-buffer): Make defvar-local; adjust docstring.
20823 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
20824 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
20826 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
20828 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
20830 2013-07-12 Eli Zaretskii <eliz@gnu.org>
20832 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
20835 2013-07-12 Glenn Morris <rgm@gnu.org>
20837 * doc-view.el: Require cl-lib at runtime too.
20838 (doc-view-remove-if): Remove.
20839 (doc-view-search-next-match, doc-view-search-previous-match):
20842 * edmacro.el: Require cl-lib at runtime too.
20843 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
20844 (edmacro-mismatch, edmacro-subseq): Remove.
20846 * shadowfile.el: Require cl-lib.
20847 (shadow-remove-if): Remove.
20848 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
20851 * wid-edit.el: Require cl-lib.
20852 (widget-choose): Use cl-remove-if.
20853 (widget-remove-if): Remove.
20855 * progmodes/ebrowse.el: Require cl-lib at runtime too.
20856 (ebrowse-delete-if-not): Remove.
20857 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
20858 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
20859 Use cl-delete-if-not.
20861 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
20863 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
20864 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
20866 2013-07-12 Leo Liu <sdl.web@gmail.com>
20868 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
20870 2013-07-11 Glenn Morris <rgm@gnu.org>
20872 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
20873 (edebug-gensym-index, edebug-gensym):
20874 Remove reimplementation of cl-gensym.
20875 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
20877 * thumbs.el: Require cl-lib at run-time too.
20878 (thumbs-gensym-counter, thumbs-gensym):
20879 Remove reimplementation of cl-gensym.
20880 (thumbs-temp-file): Use cl-gensym.
20882 * emacs-lisp/ert.el: Require cl-lib at runtime too.
20883 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
20884 (ert--intersection, ert--set-difference, ert--set-difference-eq)
20885 (ert--union, ert--gensym-counter, ert--gensym-counter)
20886 (ert--coerce-to-vector, ert--remove*, ert--string-position)
20887 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
20888 (ert-make-test-unbound, ert--expand-should-1)
20889 (ert--expand-should, ert--should-error-handle-error)
20890 (should-error, ert--explain-equal-rec)
20891 (ert--plist-difference-explanation, ert-select-tests)
20892 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
20893 Use cl-lib functions rather than reimplementations.
20895 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
20897 * net/tramp.el (tramp-methods): Extend docstring.
20898 (tramp-connection-timeout): New defcustom.
20899 (tramp-error-with-buffer): Reset timestamp only when appropriate.
20900 (with-tramp-progress-reporter): Simplify.
20901 (tramp-process-actions): Improve messages.
20903 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
20904 * net/tramp-sh.el (tramp-maybe-open-connection):
20905 Use `tramp-connection-timeout'.
20906 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
20909 2013-07-11 Leo Liu <sdl.web@gmail.com>
20911 * ido.el (ido-read-file-name): Conform to the requirements of
20912 read-file-name. (Bug#11861)
20913 (ido-read-directory-name): Conform to the requirements of
20914 read-directory-name.
20916 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
20918 * subr.el (delay-warning): New function.
20920 2013-07-10 Eli Zaretskii <eliz@gnu.org>
20922 * simple.el (default-line-height): New function.
20923 (line-move-partial, line-move): Use it instead of computing the
20924 line height inline.
20925 (line-move-partial): Always compute ROWH. If the last line is
20926 partially-visible, but its text is completely visible, allow
20927 cursor to enter such a partially-visible line.
20929 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
20931 Improve error messages. (Bug#14808)
20933 * net/tramp.el (tramp-current-connection): New defvar, moved from
20935 (tramp-message-show-progress-reporter-message): Remove, not
20937 (tramp-error-with-buffer): Show message in minibuffer.
20938 Discard input before waiting. Reset connection timestamp.
20939 (with-tramp-progress-reporter): Improve messages.
20940 (tramp-process-actions): Use progress reporter. Delete process in
20941 case of error. Improve messages.
20943 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
20944 Call `tramp-error-with-buffer' with vector and buffer.
20945 (tramp-current-connection): Remove.
20946 (tramp-maybe-open-connection): The car of
20947 `tramp-current-connection' are the first 3 slots of the vector.
20949 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
20951 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
20952 inside continued strings.
20954 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
20956 Timestamp fixes for undo (Bug#14824).
20957 * files.el (clear-visited-file-modtime): Move here from fileio.c.
20959 2013-07-10 Leo Liu <sdl.web@gmail.com>
20961 * files.el (require-final-newline): Allow safe local value.
20964 2013-07-09 Leo Liu <sdl.web@gmail.com>
20966 * ido.el (ido-read-directory-name): Handle fallback.
20967 (ido-read-file-name): Update DIR to ido-current-directory.
20969 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
20971 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
20973 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
20974 "autoload". Remove "warn lower camel case" section, previously
20975 commented out. Highlight negation char. Do not highlight the
20976 target in singleton method definitions.
20978 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20980 * faces.el (tty-setup-hook): Declare the hook.
20982 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
20983 and detect when a guard/pred depends on local vars (bug#14773).
20984 (pcase--u1): Adjust caller.
20986 2013-07-08 Eli Zaretskii <eliz@gnu.org>
20988 * simple.el (line-move-partial, line-move): Account for
20990 (line-move-partial): Avoid setting vscroll when the last
20991 partially-visible line in window is of default height.
20993 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20995 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
20998 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
21000 * subr.el (read-quoted-char): Remove unused local variable `char'.
21002 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
21004 * vc/ediff.el (ediff-version): Version update.
21005 (ediff-files-command, ediff3-files-command, ediff-merge-command)
21006 (ediff-merge-with-ancestor-command, ediff-directories-command)
21007 (ediff-directories3-command, ediff-merge-directories-command)
21008 (ediff-merge-directories-with-ancestor-command): New functions.
21009 All are command-line interfaces to ediff: to facilitate calling
21010 Emacs with the appropriate ediff functions invoked.
21012 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
21014 (viper-save-kill-buffer): Check if buffer is modified.
21016 * emulation/viper.el (viper-version): Version update.
21017 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
21019 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
21021 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
21022 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
21023 (viper-intercept-ESC-key): Simplify.
21024 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
21026 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
21027 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
21028 (viper-setup-ESC-to-escape): New functions.
21029 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
21030 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
21032 2013-07-07 Eli Zaretskii <eliz@gnu.org>
21034 * simple.el (default-font-height, window-screen-lines):
21036 (line-move, line-move-partial): Use them instead of
21037 frame-char-height and window-text-height. This makes scrolling
21038 text smoother when the buffer's default face uses a font that is
21039 different from the frame's default font.
21041 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
21043 * files.el (write-file): Do not display confirm dialog for NS,
21044 it does its own dialog, which can't be canceled (Bug#14578).
21046 2013-07-06 Eli Zaretskii <eliz@gnu.org>
21048 * simple.el (line-move-partial): Adjust the row returned by
21049 posn-at-point for the current window-vscroll. (Bug#14567)
21051 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
21053 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
21054 (tramp-sh-file-inotifywait-process-filter): Handle file names with
21057 2013-07-06 Martin Rudalics <rudalics@gmx.at>
21059 * window.el (window-state-put-stale-windows): New variable.
21060 (window--state-put-2): Save list of windows without matching buffer.
21061 (window-state-put): Remove "bufferless" windows if possible.
21063 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
21065 * simple.el (alternatives-define): Remove leftover :group keyword.
21068 2013-07-06 Leo Liu <sdl.web@gmail.com>
21070 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
21071 (ido-enable-virtual-buffers): New variable.
21072 (ido-buffer-internal, ido-toggle-virtual-buffers)
21073 (ido-make-buffer-list): Use it.
21074 (ido-exhibit): Support turning on and off virtual buffers
21077 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
21079 * simple.el (alternatives-define): New macro.
21081 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
21083 * subr.el (read-quoted-char): Use read-key.
21084 (sit-for): Let read-event decode tty input (bug#14782).
21086 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
21088 * calendar/todo-mode.el: Add handling of file deletion, both by
21089 mode command and externally. Fix various related bugs.
21090 Clarify Commentary and improve some documentation strings and code.
21091 (todo-delete-file): New command.
21092 (todo-check-file): New function.
21093 (todo-show): Handle external deletion of the file we're trying to
21094 show (bug#14688). Replace called-interactively-p by an optional
21095 prefix argument to avoid problematic interaction with catch form
21096 when byte compiled (bug#14702).
21097 (todo-quit): Handle external deletion of the archive's todo file.
21098 Make sure the buffer that was visiting the archive file is still
21099 live before trying to bury it.
21100 (todo-category-completions): Handle external deletion of any
21101 category completion files.
21102 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
21103 of todo files, in case of external deletion.
21104 (todo-add-file): Replace unnecessary setq by let-binding.
21105 (todo-find-archive): Check whether there are any archives.
21106 Replace unnecessary setq by let-binding.
21107 (todo-archive-done-item): Use find-file-noselect to get the
21108 archive buffer whether or not the archive already exists.
21109 Remove superfluous code. Use file size instead of buffer-file-name to
21110 check if the archive is new; if it is, update list of archives.
21111 (todo-default-todo-file): Allow nil to be a valid value for when
21112 there are no todo files.
21113 (todo-reevaluate-default-file-defcustom): Use corrected definition
21114 of todo-default-todo-file.
21115 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
21116 (todo-delete-category, todo-show-categories-table)
21117 (todo-category-number): Clarify comment.
21118 (todo-filter-items): Clarify documentation string.
21119 (todo-show-current-file, todo-display-as-todo-file)
21120 (todo-reset-and-enable-done-separator): Tweak documentation string.
21121 (todo-done-separator): Make separator length window-width, since
21122 bug#2749 is now fixed.
21124 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
21126 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
21127 Support both "gvfs-monitor-dir" and "inotifywait".
21128 (tramp-sh-file-inotifywait-process-filter): Rename from
21129 `tramp-sh-file-notify-process-filter'.
21130 (tramp-sh-file-gvfs-monitor-dir-process-filter)
21131 (tramp-get-remote-gvfs-monitor-dir): New defuns.
21133 2013-07-05 Leo Liu <sdl.web@gmail.com>
21135 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
21137 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21139 * frame.el (display-pixel-height, display-pixel-width)
21140 (display-mm-height, display-mm-width): Mention behavior on
21141 multi-monitor setups in docstrings.
21142 (w32-display-monitor-attributes-list): Declare function.
21143 (display-monitor-attributes-list): Use it.
21145 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
21147 * filenotify.el: New package.
21149 * autorevert.el (top): Require filenotify.el.
21150 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
21152 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
21153 (auto-revert-notify-handler): Use `file-notify-*' functions.
21155 * subr.el (file-notify-handle-event): Move function to filenotify.el.
21157 * net/tramp.el (tramp-file-name-for-operation):
21158 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
21160 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
21161 for `file-notify-add-watch' and `file-notify-rm-watch'.
21162 (tramp-process-sentinel): Improve trace.
21163 (tramp-sh-handle-file-notify-add-watch)
21164 (tramp-sh-file-notify-process-filter)
21165 (tramp-sh-handle-file-notify-rm-watch)
21166 (tramp-get-remote-inotifywait): New defuns.
21168 2013-07-03 Juri Linkov <juri@jurta.org>
21170 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
21171 call of `occur-read-primary-args' to interactive spec.
21173 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
21174 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
21176 2013-07-03 Matthias Meulien <orontee@gmail.com>
21178 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
21179 `Buffer-menu-multi-occur'. Add it to the menu.
21180 (Buffer-menu-mode): Document it in docstring.
21181 (Buffer-menu-multi-occur): New command. (Bug#14673)
21183 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
21185 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
21186 keywords and built-ins.
21188 2013-07-03 Glenn Morris <rgm@gnu.org>
21190 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
21192 Make info-xref checks case-sensitive by default
21193 * info.el (Info-find-node, Info-find-in-tag-table)
21194 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
21195 Add option for exact case matching of nodes.
21196 * info-xref.el (info-xref): New custom group.
21197 (info-xref-case-fold): New option.
21198 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
21200 2013-07-03 Leo Liu <sdl.web@gmail.com>
21202 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
21204 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
21206 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
21207 middle of block statement initially, lower the depth. Remove
21208 FIXME comment, not longer valid. Remove middle of block statement
21209 detection, no need to do that anymore since we've been using
21210 `ruby-parse-region' here.
21212 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
21214 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
21216 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
21218 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
21220 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
21222 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
21223 (desktop-restore-in-current-display): New customization option.
21224 (desktop--excluded-frame-parameters): Add `font'.
21225 (desktop--save-frames): Rename from desktop--save-windows.
21226 (desktop--restore-in-this-display-p): New function.
21227 (desktop--make-full-frame): Remove unwanted width/height from
21228 full(width|height) frames.
21229 (desktop--restore-frames): Rename from desktop--restore-windows.
21230 Obey desktop-restore-current-display. Do not delete old frames or
21231 select a new frame unless we were able to restore at least one frame.
21233 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
21235 * files.el (find-file-noselect): Simplify conditional expression.
21237 * textmodes/remember.el (remember-append-to-file):
21238 Don't mix `find-buffer-visiting' and `get-file-buffer'.
21240 Add `remember-notes' function to store random notes across Emacs
21242 * textmodes/remember.el (remember-data-file): Add :set callback to
21243 affect notes buffer (if any).
21244 (remember-notes): New command.
21245 (remember-notes-buffer-name, bury-remember-notes-on-kill):
21246 New defcustoms for the `remember-notes' function.
21247 (remember-notes-save-and-bury-buffer): New command.
21248 (remember-notes-mode-map): New variable.
21249 (remember-mode): New minor mode.
21250 (remember-notes--kill-buffer-query): New function.
21251 * startup.el (initial-buffer-choice): Add notes to custom type.
21253 2013-06-30 Eli Zaretskii <eliz@gnu.org>
21255 * bindings.el (right-char, left-char): Don't call sit-for, this is
21256 no longer needed. Use arithmetic comparison only for numerical
21259 * international/mule-cmds.el (select-safe-coding-system):
21260 Handle the case of FROM being a string correctly. (Bug#14755)
21262 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21264 * net/shr.el (shr-make-table-1): Add a sanity check that allows
21265 progression on degenerate tables.
21266 (shr-rescale-image): ImageMagick animated images currently don't work.
21268 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
21270 Some fixes and improvements for desktop frame restoration.
21271 It is still experimental and disabled by default.
21272 * desktop.el (desktop--save-windows): Put the selected frame at
21273 the head of the list.
21274 (desktop--make-full-frame): New function.
21275 (desktop--restore-windows): Try to re-select the frame that was
21276 selected upon saving. Do not abort if some frames fail to restore,
21277 just show an error message and continue. Set up maximized frames
21278 so they have default non-maximized dimensions.
21280 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
21282 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
21283 Don't start heredoc inside a string or comment.
21285 2013-06-29 Eli Zaretskii <eliz@gnu.org>
21287 * bindings.el (visual-order-cursor-movement): New defcustom.
21288 (right-char, left-char): Provide visual-order cursor motion by
21289 calling move-point-visually. Update the doc strings.
21291 2013-06-28 Kenichi Handa <handa@gnu.org>
21293 * international/mule.el (define-coding-system): New coding system
21294 properties :inhibit-null-byte-detection,
21295 :inhibit-iso-escape-detection, and :prefer-utf-8.
21296 (set-buffer-file-coding-system): If :charset-list property of
21297 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
21298 appropriate for setting.
21300 * international/mule-cmds.el (select-safe-coding-system):
21301 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
21302 multibyte characters, return utf-8 (or one of its siblings).
21304 * international/mule-conf.el (prefer-utf-8): New coding system.
21305 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
21308 2013-06-28 Ivan Kanis <ivan@kanis.fr>
21310 * net/shr.el (shr-render-region): New function.
21312 * net/eww.el: Autoload `eww-browse-url'.
21314 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
21316 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21317 Adapt to `package-desc-version' being a list.
21318 Use `package--ac-desc-version' to retrieve version from a package
21321 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
21323 New experimental feature to save&restore window and frame setup.
21324 * desktop.el (desktop-save-windows): New defcustom.
21325 (desktop--saved-states): New var.
21326 (desktop--excluded-frame-parameters): New defconst.
21327 (desktop--filter-frame-parms, desktop--find-frame-in-display)
21328 (desktop--restore-windows, desktop--save-windows): New functions.
21329 (desktop-save): Call `desktop--save-windows'.
21330 (desktop-read): Call `desktop--restore-windows'.
21332 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21334 * net/shr.el (add-face-text-property): Remove compat definition.
21336 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21338 * info.el (Info-try-follow-nearest-node): Move search for footnote
21339 above search for node name to prevent missing a footnote (bug#14717).
21341 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21343 * obsolete/otodo-mode.el: Add obsolescence info to file header.
21345 2013-06-27 Leo Liu <sdl.web@gmail.com>
21347 * net/eww.el (eww-read-bookmarks): Check file size.
21349 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21351 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
21352 advice--pending if newdef is nil or an autoload (bug#13820).
21353 (advice-mapc): New function.
21355 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21357 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
21359 (eww-mode-map): Add a menu bar.
21360 (eww-add-bookmark): New command.
21361 (eww-bookmark-mode): New mode and commands.
21362 (eww-add-bookmark): Remove newlines from the title.
21363 (eww-bookmark-browse): Don't bug out if it's the only window.
21365 2013-06-26 Glenn Morris <rgm@gnu.org>
21367 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
21368 (hfy-size): Handle ttys. (Bug#14668)
21370 * info-xref.el: Update for Texinfo 5 change in *note format.
21371 (info-xref-node-re, info-xref-note-re): New constants.
21372 (info-xref-check-buffer): Use info-xref-note-re.
21374 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21376 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
21378 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
21379 nil terminate the loop (bug#14718).
21381 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21383 * net/eww.el: Rework history traversal. When going forward/back,
21384 put these actions into the history, too, so that they can be
21386 (eww-render): Move the history reset to the correct buffer.
21388 2013-06-25 Juri Linkov <juri@jurta.org>
21390 * files-x.el (modify-dir-local-variable): Change the header comment
21391 in the file with directory local variables. (Bug#14692)
21393 * files-x.el (read-file-local-variable-value): Add `default'.
21396 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21398 * net/eww.el (eww-make-unique-file-name): Create a unique file
21399 name before saving to entering `y' accidentally asynchronously.
21401 2013-06-25 Ivan Kanis <ivan@kanis.fr>
21403 * net/eww.el (eww-download): New command and keystroke.
21405 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21407 * net/eww.el (eww-copy-page-url): Change name of command.
21409 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
21410 be more consistent with Info and dired.
21412 * net/eww.el (eww-mode-map): Ditto.
21414 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21416 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
21417 packages from archives.
21418 (package-archive-contents): Change format; include obsolete packages.
21419 (package-desc): Use `dir' to mark builtin packages.
21420 (package--from-builtin): Set the `dir' field to `builtin'.
21421 (generated-autoload-file, version-control): Declare.
21422 (package-compute-transaction): Change first arg and return value to be
21423 lists of package-descs. Adjust to new package-archive-contents format.
21424 (package--add-to-archive-contents): Adjust to new
21425 package-archive-contents format.
21426 (package-download-transaction): Arg is now a list of package-descs.
21427 (package-install): If `pkg' is a package name, pass it as
21428 a requirement, so it is subject to the usual (e.g. disabled) checks.
21429 (describe-package): Accept package-desc as well.
21430 (describe-package-1): Describe a specific package-desc. Add links to
21431 other package-descs for the same package name.
21432 (package-menu-describe-package): Pass the actual package-desc.
21433 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
21435 (package-desc-status): New function.
21436 (package-menu--refresh): New function, extracted
21437 from package-menu--generate.
21438 (package-menu--generate): Use it.
21439 (package-delete): Update package-alist.
21440 (package-menu-execute): Don't call package-initialize.
21442 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
21443 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
21444 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
21445 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
21446 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
21447 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
21449 2013-06-25 Martin Rudalics <rudalics@gmx.at>
21451 * window.el (window--state-get-1): Workaround for bug#14527.
21452 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
21454 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21456 * net/eww.el (eww-back-url): Implement the history by stashing all
21457 the data into a list.
21458 (eww-forward-url): Allow going forward in the history, too.
21460 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21462 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
21463 for values and use read--expression for expressions (bug#14710).
21464 (read-file-local-variable): Avoid setq.
21465 (read-file-local-variable-mode): Use minor-mode-list.
21467 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21469 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
21472 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21474 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
21475 Update imenu-support when dialect changes.
21477 2013-06-25 Leo Liu <sdl.web@gmail.com>
21479 * ido.el (ido-read-internal): Allow forward slash on windows.
21481 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21483 * net/eww.el (eww): Start of strings is \\`, not ^.
21485 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21487 * net/shr.el (shr-browse-url): Fix interactive spec.
21489 * net/eww.el (eww): Add a trailing slash to domain names.
21491 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
21493 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
21495 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21497 * net/shr.el (shr-browse-url): Use an external browser if given a
21500 * net/eww.el (eww-external-browser): Move to shr.
21502 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21504 * net/eww.el (eww): Work more correctly for file: URLs.
21505 (eww-detect-charset): Allow quoted charsets.
21506 (eww-yank-page-url): New command and keystroke.
21508 2013-06-24 Daiki Ueno <ueno@gnu.org>
21510 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
21511 file name of gpg executable.
21512 (epg-context-program): New function.
21513 (epg-context-home-directory): New function.
21514 (epg-context-set-program): New function.
21515 (epg-context-set-home-directory): New function.
21516 (epg--start): Use `epg-context-program' instead of
21518 (epg--list-keys-1): Likewise.
21520 2013-06-24 Leo Liu <sdl.web@gmail.com>
21522 * ido.el (ido-read-internal): Fix bug#14620.
21524 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21526 * faces.el (face-documentation): Simplify.
21527 (read-face-attribute, tty-find-type, x-resolve-font-name):
21528 Use `string-match-p'.
21529 (list-faces-display): Use `string-match-p'. Simplify.
21530 (face-spec-recalc): Check face to avoid face alias loops.
21531 (read-color): Use `string-match-p' and non-capturing parenthesis.
21533 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
21535 * net/shr.el (shr-rescale-image): Use the new
21536 :max-width/:max-height functionality.
21538 2013-06-23 Ivan Kanis <ivan@kanis.fr>
21540 * net/eww.el (eww-search-prefix): New variable.
21542 (eww-external-browser): New variable.
21543 (eww-mode-map): New keystroke.
21544 (eww-browse-with-external-browser): New command.
21546 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
21548 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21550 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
21551 Don't skip aligning the next header field when padding is 0;
21552 otherwise, field width is not respected unless the title is as
21555 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
21557 * emacs-lisp/package.el (package-el-version): Remove.
21558 (package-process-define-package): Fix inf-loop.
21559 (package-install): Allow symbols as arguments again.
21561 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21563 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
21564 add some more keyword-like methods.
21565 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
21567 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
21569 * bs.el (bs-buffer-show-mark): Make defvar-local.
21570 (bs-mode): Use setq-local.
21572 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
21573 (emacs-lock--try-unlocking): Make defvar-local.
21575 2013-06-22 Glenn Morris <rgm@gnu.org>
21577 * play/cookie1.el (cookie-apropos): Minor simplification.
21579 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
21581 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21583 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
21584 `regexp-opt', it breaks the build during dumping.
21586 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
21588 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
21589 Highlight keyword-like methods on Kernel and Module with
21590 font-lock-builtin-face.
21591 (auto-mode-alist): Consolidate different entries into one regexp
21592 and add more *file-s.
21594 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
21596 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
21598 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
21599 (diary-entry): Use it in the action of this button type instead of
21602 * calendar/todo-mode.el: New version.
21603 (todo-add-category): Append new category to end of file and give
21604 it the highest number, instead of putting it at the beginning and
21605 giving it 0. Incorporate noninteractive functionality.
21606 (todo-forward-category): Adapt to 1-based category numbering.
21607 Allow skipping over archived categories.
21608 (todo-backward-category): Derive from todo-forward-category.
21609 (todo-backward-item, todo-forward-item): Make noninteractive and
21610 delegate interactive part to new commands. Make sensitive to done items.
21611 (todo-categories): Make value an alist of category names and
21612 vectors of item counts.
21613 (todo-category-beg): Make a defconst.
21614 (todo-category-number): Use 1 instead of 0 as initial value.
21615 (todo-category-select): Make sensitive to overlays, optional item
21616 highlighting and done items.
21617 (todo-delete-item): Make sensitive to overlays and marked and done items.
21618 (todo-edit-item): Make sensitive to overlays and editing of
21619 date/time header optional. Add format checks.
21620 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
21621 no-op if point is not on an item. Advertise using todo-edit-quit.
21622 (todo-edit-mode): Make sensitive to new format, font-locking, and
21623 multiple todo files.
21624 (todo-insert-item, todo-insert-item-here): Derive from
21625 todo-basic-insert-item and extend functionality.
21626 (todo-item-end, todo-item-start): Make sensitive to done items.
21627 (todo-item-string): Don't return text properties. Restore point.
21628 (todo-jump-to-category): Make sensitive to multiple todo files and
21629 todo archives. Use extended category completion.
21630 (todo-lower-item, todo-raise-item): Rename to *-priority and
21631 derive from todo-set-item-priority.
21632 (todo-mode): Derive from special-mode. Make sensitive to new
21633 format, font-locking and multiple todo files. Make read-only.
21634 (todo-mode-map): Don't suppress digit keys, so they can supply
21635 prefix arguments. Add many new key bindings.
21636 (todo-prefix): Insert as an overlay instead of file text.
21637 Change semantics from diary date expression to purely visual mark.
21638 (todo-print): Rename to todo-print-buffer. Make buffer display
21639 features printable. Remove option to restrict number of items
21640 printed. Add option to print to file.
21641 (todo-print-function): Rename to todo-print-buffer-function.
21642 (todo-quit): Extend to handle exiting new todo modes.
21643 (todo-remove-item): Make sensitive to overlays.
21644 (todo-save): Extend to buffers of filtered items.
21645 (todo-show): Make sensitive to done items, multiple todo files and
21646 new todo modes. Offer to convert legacy todo file before creating
21647 first new todo file.
21648 (todo-show-priorities): Rename to todo-top-priorities.
21649 Change semantics of value 0.
21650 (todo-top-priorities): Rename to todo-filter-top-priorities,
21651 derive from todo-filter-items and extend functionality.
21652 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
21653 and extend functionality to other types of filtered items.
21654 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
21655 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
21656 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
21657 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
21658 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
21659 (todo-edit-mode-hook, todo-entry-prefix-function)
21660 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
21661 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
21662 (todo-initials, todo-insert-threshold, todo-item-string-start)
21663 (todo-line-string, todo-menu, todo-mode-hook)
21664 (todo-more-important-p, todo-previous-answer, todo-previous-line)
21665 (todo-print-priorities, todo-remove-separator)
21666 (todo-save-top-priorities-too, todo-string-count-lines)
21667 (todo-string-multiline-p, todo-time-string-format)
21668 (todo-tmp-buffer-name): Remove.
21669 (todo-add-file, todo-archive-done-item, todo-choose-archive)
21670 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
21671 (todo-edit-category-diary-inclusion)
21672 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
21673 (todo-edit-file, todo-edit-item-date-day)
21674 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
21675 (todo-edit-item-date-month, todo-edit-item-date-to-today)
21676 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
21677 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
21678 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
21679 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
21680 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
21681 (todo-filter-top-priorities-multifile, todo-find-archive)
21682 (todo-find-filtered-items-file, todo-go-to-source-item)
21683 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
21684 (todo-jump-to-archive-category, todo-lower-category)
21685 (todo-mark-category, todo-marked-item-p, todo-merge-category)
21686 (todo-move-category, todo-move-item, todo-next-button)
21687 (todo-next-item, todo-padded-string, todo-powerset)
21688 (todo-previous-button, todo-previous-item)
21689 (todo-print-buffer-to-file, todo-raise-category)
21690 (todo-rename-category, todo-repair-categories-sexp, todo-search)
21691 (todo-set-category-number, todo-set-item-priority)
21692 (todo-set-top-priorities-in-category)
21693 (todo-set-top-priorities-in-file, todo-show-categories-table)
21694 (todo-sort-categories-alphabetically-or-numerically)
21695 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
21696 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
21697 (todo-toggle-item-header, todo-toggle-item-highlighting)
21698 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
21699 (todo-toggle-view-done-items, todo-toggle-view-done-only)
21700 (todo-unarchive-items, todo-unmark-category): New commands.
21701 (todo-absolute-file-name, todo-add-to-buffer-list)
21702 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
21703 (todo-basic-insert-item, todo-category-completions)
21704 (todo-category-number, todo-category-string-matcher-1)
21705 (todo-category-string-matcher-2, todo-check-filtered-items-file)
21706 (todo-check-format, todo-clear-matches)
21707 (todo-comment-string-matcher, todo-convert-legacy-date-time)
21708 (todo-current-category, todo-date-string-matcher)
21709 (todo-define-insertion-command, todo-diary-expired-matcher)
21710 (todo-diary-goto-entry, todo-diary-item-p)
21711 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
21712 (todo-display-categories, todo-display-sorted, todo-done-item-p)
21713 (todo-done-item-section-p, todo-done-separator)
21714 (todo-done-string-matcher, todo-files, todo-filter-items)
21715 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
21716 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
21717 (todo-insert-category-line, todo-insert-item-from-calendar)
21718 (todo-insert-sort-button, todo-insert-with-overlays)
21719 (todo-insertion-command-name, todo-insertion-key-bindings)
21720 (todo-label-to-key, todo-longest-category-name-length)
21721 (todo-make-categories-list, todo-mode-external-set)
21722 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
21723 (todo-modes-set-3, todo-multiple-filter-files)
21724 (todo-nondiary-marker-matcher, todo-prefix-overlays)
21725 (todo-read-category, todo-read-date, todo-read-dayname)
21726 (todo-read-file-name, todo-read-time)
21727 (todo-reevaluate-category-completions-files-defcustom)
21728 (todo-reevaluate-default-file-defcustom)
21729 (todo-reevaluate-filelist-defcustoms)
21730 (todo-reevaluate-filter-files-defcustom)
21731 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
21732 (todo-reset-done-separator, todo-reset-done-separator-string)
21733 (todo-reset-done-string, todo-reset-global-current-todo-file)
21734 (todo-reset-highlight-item, todo-reset-nondiary-marker)
21735 (todo-reset-prefix, todo-set-categories)
21736 (todo-set-date-from-calendar, todo-set-show-current-file)
21737 (todo-set-top-priorities, todo-short-file-name)
21738 (todo-show-current-file, todo-sort, todo-time-string-matcher)
21739 (todo-total-item-counts, todo-update-buffer-list)
21740 (todo-update-categories-display, todo-update-categories-sexp)
21741 (todo-update-count, todo-validate-name, todo-y-or-n-p):
21743 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
21745 (todo-categories, todo-display, todo-edit, todo-faces)
21746 (todo-filtered): New defgroups.
21747 (todo-archived-only, todo-button, todo-category-string, todo-date)
21748 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
21749 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
21750 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
21751 (todo-add-item-if-new-category, todo-always-add-time-string)
21752 (todo-categories-align, todo-categories-archived-label)
21753 (todo-categories-category-label, todo-categories-diary-label)
21754 (todo-categories-done-label, todo-categories-number-separator)
21755 (todo-categories-todo-label, todo-categories-totals-label)
21756 (todo-category-completions-files, todo-completion-ignore-case)
21757 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
21758 (todo-done-separator-string, todo-done-string)
21759 (todo-files-function, todo-filter-done-items, todo-filter-files)
21760 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
21761 (todo-initial-category, todo-initial-file, todo-item-mark)
21762 (todo-legacy-date-time-regexp, todo-mode-line-function)
21763 (todo-nondiary-marker, todo-number-prefix)
21764 (todo-print-buffer-function, todo-show-current-file)
21765 (todo-show-done-only, todo-show-first, todo-show-with-done)
21766 (todo-skip-archived-categories, todo-top-priorities-overrides)
21767 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
21768 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
21770 (todo-category-done, todo-date-pattern, todo-date-string-start)
21771 (todo-diary-items-buffer, todo-done-string-start)
21772 (todo-filtered-items-buffer, todo-item-start)
21773 (todo-month-abbrev-array, todo-month-name-array)
21774 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
21775 (todo-top-priorities-buffer): New defconsts.
21776 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
21777 (todo-categories-with-marks, todo-category-string-face)
21778 (todo-comment-face, todo-comment-string, todo-current-todo-file)
21779 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
21780 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
21781 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
21782 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
21783 (todo-font-lock-keywords, todo-global-current-todo-file)
21784 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
21785 (todo-insertion-commands-args)
21786 (todo-insertion-commands-args-genlist)
21787 (todo-insertion-commands-names, todo-insertion-map)
21788 (todo-key-bindings-t, todo-key-bindings-t+a)
21789 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
21790 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
21791 (todo-nondiary-face, todo-print-buffer, todo-time-face)
21792 (todo-visited): New variables.
21794 2013-06-21 Glenn Morris <rgm@gnu.org>
21796 * play/cookie1.el (cookie-apropos): Add optional display argument.
21797 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
21798 (psychoanalyze-pinhead): Use cookie-doctor.
21800 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21802 * emacs-lisp/package.el (tar-get-file-descriptor)
21803 (tar--extract): Declare.
21805 2013-06-21 Eduard Wiebe <usenet@pusto.de>
21807 Extend flymake's warning predicate to be a function (bug#14217).
21808 * progmodes/flymake.el (flymake-warning-predicate): New.
21809 (flymake-parse-line): Use it.
21810 (flymake-warning-re): Make obsolete alias to
21811 `flymake-warning-predicate'.
21813 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21815 * emacs-lisp/package.el (package-alist): Include obsolete packages.
21816 (package-obsolete-list): Remove.
21817 (package-activate): Remove min-version argument. Add `force' argument.
21818 Adjust to new package-alist format.
21819 (package-mark-obsolete): Remove.
21820 (package-unpack): Force reload of the package's autoloads.
21821 (package-installed-p): Check builtins if the installed package is not
21823 (package-initialize): Don't reset package-obsolete-list.
21824 Don't specify which package version to activate.
21825 (package-process-define-package, describe-package-1)
21826 (package-menu--generate): Adjust to new package-alist format.
21828 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21830 * allout-widgets.el (allout-widgets-mode-off)
21831 (allout-widgets-mode-on, allout-widgets-pre-command-business)
21832 (allout-widgets-post-command-business)
21833 (allout-widgets-after-copy-or-kill-function)
21834 (allout-widgets-after-undo-function, allout-test-range-overlaps)
21835 (allout-decorate-item-and-context)
21836 (allout-graphics-modification-handler): Fix typos in docstrings.
21837 (allout-get-or-create-parent-widget): Use `looking-at-p'.
21839 * cmuscheme.el (scheme-start-file): Doc fix.
21840 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
21841 (scheme-input-filter): Use `string-match-p'.
21843 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
21845 * dired-x.el: Use Dired consistently in docstrings.
21847 * dired.el: Use Dired consistently in docstrings.
21848 (dired-readin, dired-mode): Use `setq-local'.
21849 (dired-switches-alist): Make defvar-local.
21850 (dired-buffers-for-dir): Use `zerop'.
21851 (dired-safe-switches-p, dired-switches-escape-p)
21852 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
21853 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
21854 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
21855 (dired-goto-next-nontrivial-file): Use `string-match-p'.
21856 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
21857 (dired-toggle-marks, dired-mark-files-containing-regexp)
21858 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
21859 (dired-flag-auto-save-files, dired-flag-backup-files):
21860 Use `looking-at-p'.
21861 (dired-mark-files-regexp, dired-build-subdir-alist):
21862 Use `string-match-p', `looking-at-p'.
21864 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
21865 (direct-print-region-helper): Use `string-match-p'.
21867 2013-06-21 Leo Liu <sdl.web@gmail.com>
21869 * comint.el (comint-redirect-results-list-from-process):
21872 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21874 * net/eww.el (eww-update-header-line-format): Quote % characters.
21876 2013-06-21 Glenn Morris <rgm@gnu.org>
21878 * play/cookie1.el (cookie): New custom group.
21879 (cookie-file): New option.
21880 (cookie-check-file): New function.
21881 (cookie): Make it interactive. Make start and end messages optional.
21882 Interactively, display the result. Default to cookie-file.
21883 (cookie-insert): Default to cookie-file.
21884 (cookie-snarf): Make start and end messages optional.
21885 Default to cookie-file. Use with-temp-buffer.
21886 (cookie-read): Rename from read-cookie.
21887 Make start and end messages optional. Default to cookie-file.
21888 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
21889 Do not autoload it.
21890 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
21891 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
21893 2013-06-21 Leo Liu <sdl.web@gmail.com>
21895 * progmodes/octave.el (octave-mode): Backward compatibility fix.
21897 2013-06-21 Glenn Morris <rgm@gnu.org>
21899 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
21901 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21902 Daniel Hackney <dan@haxney.org>
21904 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
21905 Consolidate the single-file vs tarball code.
21906 (package-desc-suffix): New function.
21907 (package-desc-full-name): Don't bother inlining it.
21908 (package-load-descriptor): Return the new package-desc.
21909 (package-mark-obsolete): Remove unused arg `package'.
21910 (package-unpack): Make it work for single files as well.
21911 Make it update package-alist.
21912 (package--make-autoloads-and-stuff): Rename from
21913 package--make-autoloads-and-compile. Don't compile any more.
21914 (package--compile): New function.
21915 (package-generate-description-file): New function, extracted from
21916 package-unpack-single.
21917 (package-unpack-single): Remove.
21918 (package--with-work-buffer): Add indentation and debugging info.
21919 (package-download-single): Remove.
21920 (package-install-from-archive): Rename from package-download-tar, make
21921 it take a pkg-desc, and make it work for single files as well.
21922 (package-download-transaction): Simplify.
21923 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
21924 external tar program.
21925 (package-install-from-buffer): Remove `pkg-desc' argument.
21926 Use package-tar-file-info for tar-mode buffers.
21927 (package-install-file): Simplify accordingly.
21928 (package-archive-base): Change to take a pkg-desc.
21929 * tar-mode.el (tar--check-descriptor): New function, extracted from
21930 tar-get-descriptor.
21931 (tar-get-descriptor): Use it.
21932 (tar-get-file-descriptor): New function.
21933 (tar--extract): New function, extracted from tar-extract.
21934 (tar--extract): Use it.
21935 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
21936 case the summary uses non-ascii. Adjust to new calling convention of
21937 package-tar-file-info.
21939 2013-06-21 Leo Liu <sdl.web@gmail.com>
21941 * comint.el (comint-redirect-results-list-from-process):
21942 Fix random delay. (Bug#14681)
21944 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21946 * profiler.el (profiler-format-number): Use log, not log10.
21948 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21950 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
21952 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21954 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
21955 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
21957 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
21958 (AUTOGENEL): ... here.
21959 * emacs-lisp/cl-macs.el (cl--sublis): New function.
21960 (cl--defsubst-expand): Use it.
21962 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
21964 * subr.el (log10): Move here from C code, and declare as obsolete.
21965 All uses of (log10 X) replaced with (log X 10).
21967 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21969 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
21970 Declare with `defvar-local'.
21971 (tabulated-list-use-header-line, tabulated-list-entries)
21972 (tabulated-list-padding, tabulated-list-printer)
21973 (tabulated-list-sort-key): Declare with `defvar-local'.
21974 (tabulated-list-init-header, tabulated-list-print-fake-header):
21977 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
21979 * arc-mode.el (archive-mode): Add `archive-write-file' to
21980 `write-contents-functions' also for remote files. (Bug#14652)
21982 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21984 * cus-edit.el (custom-commands): Fix typos.
21985 (custom-display): Fix tooltip text.
21986 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
21987 Fix typos in docstrings.
21988 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
21989 (custom-unlispify-menu-entry, custom-magic-value-create)
21990 (custom-add-see-also, custom-group-value-create): Use ?\s.
21991 (custom-guess-type, customize-apropos, editable-field)
21992 (custom-face-value-create): Use `string-match-p'.
21993 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
21995 * custom.el (custom-load-symbol): Use `string-match-p'.
21997 * ansi-color.el: Convert to lexical binding.
21998 (ansi-colors): Fix URL.
21999 (ansi-color-context, ansi-color-context-region): Use defvar-local.
22000 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
22001 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
22003 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22005 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
22007 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
22009 2013-06-19 Tom Tromey <tromey@redhat.com>
22011 * net/eww.el (eww-top-url): Remove.
22012 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
22013 (eww-render): Set new variables. Don't set eww-top-url.
22014 (eww-handle-link): Handle "prev", "home", and "contents".
22015 Downcase the rel text.
22016 (eww-top-url): Choose best top URL.
22018 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22020 * net/eww.el: Rewrite to implement form elements "by hand" instead of
22021 relying in widget.el. Using widget.el leads to too many
22022 user interface inconsistencies.
22023 (eww-self-insert): Implement entering commands in text fields.
22024 (eww-process-text-input): New function to make text input field editing
22026 (eww-submit): Rewrite to use the new-style form methods.
22027 (eww-select-display): Display the correct selected item.
22028 (eww-change-select): Implement changing the select value.
22029 (eww-toggle-checkbox): Implement radio/checkboxes.
22030 (eww-update-field): Fix compilation error.
22031 (eww-tag-textarea): Implement <textarea>.
22033 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
22034 we don't shadow mode-specific bindings.
22036 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
22039 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
22041 2013-06-19 Glenn Morris <rgm@gnu.org>
22043 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
22045 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
22047 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
22050 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
22052 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22054 * net/browse-url.el (browse-url-browser-function):
22055 `eww-browse-url' has the right calling signature, `eww' does not.
22057 2013-06-19 Glenn Morris <rgm@gnu.org>
22059 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
22060 Only eval autoloaded macros.
22061 (byte-compile-autoload): Only give the macro warning for macros.
22063 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
22064 (ps-underlined-faces): Declare.
22066 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
22067 (speedbar-add-supported-extension): Declare.
22069 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
22070 Don't include a date stamp in the header of the generated file;
22071 it leads to needless differences between output files.
22073 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
22075 * net/secrets.el (secrets-struct-secret-content-type):
22076 Replace check of introspection data by a test call of "CreateItem".
22077 Some servers do not offer introspection.
22079 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
22081 * electric.el (electric-pair-mode): Improve interaction with
22082 electric-layout-mode.
22083 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
22084 (electric-pair-syntax): Use text-mode-syntax-table in comments
22086 (electric-pair--insert): New function.
22087 (electric-pair-post-self-insert-function): Use it and
22088 electric--after-char-pos.
22090 2013-06-19 Leo Liu <sdl.web@gmail.com>
22092 * progmodes/octave.el (octave-help): Fix regexp.
22094 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
22096 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
22097 (shr-table-horizontal-line): Allow nil as a value, and change the
22099 (shr-insert-table-ruler): Respect the nil value.
22101 2013-06-18 Tom Tromey <tromey@barimba>
22103 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22105 (eww-open-file): New defun.
22106 (eww-render): Initialize new variables.
22107 (eww-display-html): Handle "link" and "a".
22108 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
22109 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
22110 (eww-back-url): Rename from eww-previous-url.
22111 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22114 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
22116 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
22117 Distinguish ternary operator tokens from slash symbol and slash
22120 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
22122 Convert symbol prettification into minor mode and global minor mode.
22124 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
22125 `prog-prettify-symbols', and make a local defvar instead of defcustom.
22126 (prettify-symbols--keywords): Rename from
22127 `prog-prettify-symbols-alist' and make a local defvar.
22128 (prettify-symbols--compose-symbol): Rename from
22129 `prog--prettify-font-lock-compose-symbol'.
22130 (prettify-symbols--make-keywords): Rename from
22131 `prog-prettify-font-lock-symbols-keywords' and simplify.
22132 (prog-prettify-install): Remove.
22133 (prettify-symbols-mode): New minor mode, based on
22134 `prog-prettify-install'.
22135 (turn-on-prettify-symbols-mode): New function.
22136 (global-prettify-symbols-mode): New globalized minor mode.
22138 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22139 * progmodes/cfengine.el (cfengine3-mode):
22140 * progmodes/perl-mode.el (perl-mode): Don't call
22141 `prog-prettify-install'; set `prettify-symbols-alist' instead.
22143 2013-06-18 Juri Linkov <juri@jurta.org>
22145 * files-x.el (modify-file-local-variable-message): New function.
22146 (modify-file-local-variable)
22147 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
22148 and call `modify-file-local-variable-message' when it's non-nil.
22149 (add-file-local-variable, delete-file-local-variable)
22150 (add-file-local-variable-prop-line)
22151 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
22152 and use it. (Bug#9820)
22154 2013-06-18 Juri Linkov <juri@jurta.org>
22156 * emulation/vi.el (vi-shell-op):
22157 * emulation/vip.el (vip-execute-com, ex-command):
22158 * emulation/viper-cmd.el (viper-exec-bang):
22159 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
22160 the call of `shell-command-on-region'. (Bug#14637)
22162 * simple.el (shell-command-on-region): Doc fix.
22164 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
22166 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
22169 2013-06-18 Glenn Morris <rgm@gnu.org>
22171 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
22173 * newcomment.el (comment-search-forward, comment-search-backward):
22174 Doc fix. (Bug#14376)
22176 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
22178 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
22179 (buffer-face-mode-invoke): Doc fix.
22181 2013-06-18 Matthias Meulien <orontee@gmail.com>
22183 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
22184 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
22186 2013-06-18 Glenn Morris <rgm@gnu.org>
22188 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
22189 Replace obsolete function generic-make-keywords with its expansion.
22191 * progmodes/python.el (ffap-alist): Declare.
22193 * textmodes/reftex.el (bibtex-mode-map): Declare.
22195 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
22197 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
22198 (package-unpack, package-unpack-single): Return the pkg-dir.
22199 (package-download-transaction): Use it to update package-alist.
22201 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22203 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
22206 2013-06-17 Juri Linkov <juri@jurta.org>
22208 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
22210 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
22212 * emacs-lisp/package.el (package-load-descriptor):
22213 Remove `with-syntax-table' call, `read' doesn't need it.
22214 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
22216 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
22218 * startup.el (command-line): Expand package name returned by
22219 `package--description-file' (bug#14639).
22221 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
22223 * emacs-lisp/package.el (package-load-descriptor): Do not call
22224 `emacs-lisp-mode', just use its syntax table.
22226 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
22228 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
22229 `font-lock-extra-managed-props' if any prettifying keyword is added.
22230 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
22231 (prog-mode): Use `setq-local'.
22233 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22235 * international/characters.el (standard-case-table): Set syntax of ?»
22236 and ?« to punctuation.
22238 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
22240 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
22241 Save relevant match data before calling `syntax-ppss' (bug#14595).
22243 2013-06-15 Juri Linkov <juri@jurta.org>
22245 * files-x.el (modify-file-local-variable-prop-line): Add local
22246 variables to the end of the existing comment on the first line.
22247 Use `file-auto-mode-skip' to skip interpreter magic line,
22248 and also skip XML declaration.
22250 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22252 * startup.el (package--builtin-versions): New var.
22253 (package-subdirectory-regexp): Remove.
22254 (package--description-file): Hard code its value instead.
22256 * emacs-lisp/package.el: Don't activate packages older than builtin.
22257 (package-obsolete-list): Rename from package-obsolete-alist, and make
22258 it into a simple list of package-desc.
22259 (package-strip-version): Remove.
22260 (package-built-in-p): Use package--builtin-versions.
22261 (package-mark-obsolete): Simplify.
22262 (package-process-define-package): Mark it obsolete if older than the
22264 (package-handle-response): Use line-end-position.
22265 (package-read-archive-contents, package--download-one-archive):
22267 (package--add-to-archive-contents): Skip if older than the builtin or
22269 (package-menu-describe-package): Fix last change.
22270 (package-list-unversioned): New var.
22271 (package-menu--generate): Use it.
22273 * emacs-lisp/autoload.el: Manage package--builtin-versions.
22274 (autoload--insert-text, autoload--insert-cookie-text): New functions.
22275 (autoload-builtin-package-versions): New variable.
22276 (autoload-generate-file-autoloads): Use them.
22277 Remove the list of autoloaded functions/macros from the
22278 (autoload...) comments.
22280 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
22282 2013-06-15 Eli Zaretskii <eliz@gnu.org>
22284 * simple.el (line-move-partial): Don't jump to the next screen
22285 line as soon as it becomes visible. Instead, continue enlarging
22286 the vscroll until the portion of a tall screen line that's left on
22287 display is about the height of the frame's default font.
22290 2013-06-15 Glenn Morris <rgm@gnu.org>
22292 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
22293 compilation-error-regexp-alist void, or local while let-bound.
22295 * progmodes/make-mode.el (makefile-mode-syntax-table):
22296 Treat "=" as punctuation. (Bug#14614)
22298 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
22300 * help-fns.el (describe-variable):
22301 Add extra line for permanent-local variables.
22303 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
22305 * progmodes/scheme.el (scheme-font-lock-keywords-2):
22306 Add export, import, library. (Bug#9164)
22307 (library): Set indent function.
22309 2013-06-14 Glenn Morris <rgm@gnu.org>
22311 * term/xterm.el (xterm--query):
22312 Stop after first matching handler. (Bug#14615)
22314 2013-06-14 Ivan Kanis <ivan@kanis.fr>
22316 Add support for dired in saveplace.
22317 * dired.el (dired-initial-position-hook): New variable.
22318 (dired-initial-position): Call hook to place cursor position.
22319 * saveplace.el (save-place-to-alist): Add dired position.
22320 (save-place-dired-hook): New function.
22322 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
22324 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
22325 through a symbol rather than letrec.
22327 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
22328 (package-desc): Add `dir' field.
22329 (package-desc-full-name): New function.
22330 (package-load-descriptor): Combine the two arguments. Don't use `load'.
22331 (package-maybe-load-descriptor): Remove.
22332 (package-load-all-descriptors): Just call package-load-descriptor.
22333 (package--disabled-p): New function.
22334 (package-desc-vers, package-desc-doc): Remove aliases.
22335 (package--dir): Remove function.
22336 (package-activate): Check if a package is disabled.
22337 (package-process-define-package): New function, extracted from
22339 (define-package): Turn into a place holder.
22340 (package-unpack-single, package-tar-file-info):
22341 Use package--description-file.
22342 (package-compute-transaction): Use package--disabled-p.
22343 (package-download-transaction): Don't call
22344 package-maybe-load-descriptor since they're all loaded anyway.
22345 (package-install): Change argument to be a pkg-desc.
22346 (package-delete): Use a single pkg-desc argument.
22347 (describe-package-1): Use package-desc-dir instead of package--dir.
22348 Use package-desc property instead of package-symbol.
22349 (package-install-button-action): Adjust accordingly.
22350 (package--push): Rewrite.
22351 (package-menu--print-info): Adjust accordingly. Change the ID format
22353 (package-menu-describe-package, package-menu-get-status)
22354 (package-menu--find-upgrades, package-menu-mark-upgrades)
22355 (package-menu-execute, package-menu--name-predicate):
22356 Adjust accordingly.
22357 * startup.el (package--description-file): New function.
22358 (command-line): Use it.
22359 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22360 Use package-desc-version.
22362 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
22363 (byte-compile-preprocess): Use it.
22364 (byte-compile-file-form-defalias): Try a bit harder to use macros we
22365 can't quite recognize.
22366 (byte-compile-add-to-list): Remove.
22367 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
22368 (cconv-closure-convert): Add assertion.
22370 * emacs-lisp/map-ynp.el: Use lexical-binding.
22371 (map-y-or-n-p): Remove unused vars `tail' and `object'.
22372 Factor out some repeated code.
22374 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22376 * subr.el (with-eval-after-load): New macro.
22377 (eval-after-load): Allow form to be a function.
22378 take advantage of lexical-binding.
22379 (do-after-load-evaluation): Use dolist and adjust to new format.
22380 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
22382 2013-06-13 Juri Linkov <juri@jurta.org>
22384 * replace.el (perform-replace): Display "symbol " and other search
22385 modes from `isearch-message-prefix' in the *Help* buffer.
22387 * isearch.el (isearch-query-replace): Add " symbol" and other
22388 possible search modes from `isearch-message-prefix' to the prompt.
22389 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
22390 when reading a regexp to collect.
22392 2013-06-13 Juri Linkov <juri@jurta.org>
22394 * isearch.el (word-search-regexp): Match whitespace if the search
22395 string begins or ends in whitespace. The LAX arg is applied to
22396 both ends of the search string. Use `regexp-quote' and explicit
22397 \< and \> instead of \b. Use \` and \' instead of ^ and $.
22398 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
22399 boundaries are replaced with symbol boundaries, and characters
22400 between symbols match non-word non-symbol syntax. (Bug#14602)
22402 2013-06-13 Juri Linkov <juri@jurta.org>
22404 * isearch.el (isearch-del-char): Don't exceed the length of
22405 `isearch-string' by the prefix arg. (Bug#14563)
22407 2013-06-13 Juri Linkov <juri@jurta.org>
22409 * isearch.el (isearch-yank-word, isearch-yank-line)
22410 (isearch-char-by-name, isearch-quote-char)
22411 (isearch-printing-char, isearch-process-search-char):
22412 Add optional count prefix arg. (Bug#14563)
22414 * international/isearch-x.el
22415 (isearch-process-search-multibyte-characters):
22416 Add optional count prefix arg.
22418 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22420 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
22421 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
22424 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
22426 * subr.el (set-temporary-overlay-map): Add on-exit argument.
22428 2013-06-13 Glenn Morris <rgm@gnu.org>
22430 * startup.el (tty-handle-args):
22431 Don't just discard "--" and anything after. (Bug#14608)
22433 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
22435 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
22437 Implement changes in Secret Service API. Make it backward compatible.
22438 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
22439 (secrets-create-item): Use it. Prefix properties with interface.
22441 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
22443 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
22444 (term-emulate-terminal): Respect term-suppress-hard-newline.
22446 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
22448 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
22449 Only remove a `thumb-file' overlay. (Bug#14548)
22451 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
22453 * mail/reporter.el (reporter-submit-bug-report):
22454 Handle missing package-name. (Bug#14600)
22456 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22458 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
22459 (reftex-citation-prompt, reftex-default-bibliography)
22460 (reftex-bib-or-thebib, reftex-get-bibfile-list)
22461 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
22462 (reftex-bib-sort-author, reftex-bib-sort-year)
22463 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
22464 (reftex-extract-bib-entries-from-thebibliography)
22465 (reftex-get-bibkey-default, reftex-get-bib-names)
22466 (reftex-parse-bibtex-entry, reftex-get-bib-field)
22467 (reftex-format-bib-entry, reftex-parse-bibitem)
22468 (reftex-format-bibitem, reftex-do-citation)
22469 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
22470 (reftex-restrict-bib-matches, reftex-extract-bib-file)
22471 (reftex-insert-bib-matches, reftex-format-citation)
22472 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
22473 (reftex-create-bibtex-file): Add docstrings, mostly by converting
22474 existing comments into docstrings.
22476 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22478 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
22480 2013-06-12 Andreas Schwab <schwab@suse.de>
22482 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
22483 for auto-save files.
22485 2013-06-12 Glenn Morris <rgm@gnu.org>
22487 * ido.el (ido-delete-ignored-files): Remove.
22488 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
22489 Go back to calling ido-ignore-item-p directly.
22491 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
22493 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
22495 * ido.el (ido-delete-ignored-files): New function,
22496 split from ido-make-file-list-1.
22497 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
22498 (ido-make-file-list-1): Use ido-delete-ignored-files.
22500 2013-06-12 Leo Liu <sdl.web@gmail.com>
22502 * progmodes/octave.el (inferior-octave-startup)
22503 (inferior-octave-completion-table)
22504 (inferior-octave-track-window-width-change)
22505 (octave-eldoc-function-signatures, octave-help)
22506 (octave-find-definition): Use single quoted strings.
22507 (inferior-octave-startup-args): Change default value.
22508 (inferior-octave-startup): Do not hard code "-i" and
22509 "--no-line-editing".
22510 (inferior-octave-resync-dirs): Add optional arg NOERROR.
22511 (inferior-octave-directory-tracker): Use it.
22512 (octave-goto-function-definition): Robustify.
22513 (octave-help): Support highlighting operators in 'See also'.
22514 (octave-find-definition): Find subfunctions only in Octave mode.
22516 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22518 * help-fns.el (help-fns--compiler-macro): If the handler function is
22519 named, then put a link to it.
22520 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
22521 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
22522 (cl-typep): Use it.
22523 (cl-eval-when): Simplify debug spec.
22524 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
22525 compiler-macro function instead of setting `compiler-macro-file'.
22527 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22529 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
22530 * vc/vc-hooks.el (vc-stay-local): Doc fix.
22532 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22533 Daniel Hackney <dan@haxney.org>
22535 First part of Daniel Hackney's patch to package.el.
22536 * emacs-lisp/package.el: Use defstruct.
22537 (package-desc): New, main struct.
22538 (package--bi-desc, package--ac-desc): New structs, used to describe the
22539 format in external files.
22540 (package-desc-vers): Replace with package-desc-version accessor.
22541 (package-desc-doc): Replace with package-desc-summary accessor.
22542 (package-activate-1): Remove `package' arg since the pkg-vec now
22544 (define-package): Use package-desc-from-define.
22545 (package-unpack-single): Change file-name arg to be a symbol.
22546 (package--add-to-archive-contents): Use package-desc-create and new
22547 accessor functions to package--ac-desc.
22548 (package-buffer-info, package-tar-file-info): Return a package-desc.
22549 (package-install-from-buffer): Remove `type' argument. Change pkg-info
22550 arg to be a package-desc.
22551 (package-install-file): Adjust accordingly. Use \' to match EOS.
22552 (package--from-builtin): New function.
22553 (describe-package-1, package-menu--generate): Use it.
22554 (package--make-autoloads-and-compile): Change name arg to be a symbol.
22555 (package-generate-autoloads): Idem and return the name of the file.
22556 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22557 Change pkg-info arg to be a package-desc.
22558 Use package-make-ac-desc.
22559 (package-upload-file): Use \' to match EOS.
22560 * finder.el (finder-compile-keywords): Use package-make-builtin.
22562 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22564 * vc/vc.el (vc-deduce-fileset): Change error message.
22565 (vc-read-backend): New function.
22566 (vc-next-action): Use it.
22568 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
22570 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
22571 (prolog-font-lock-keywords): Use regexp-opt instead.
22572 Don't manually highlight strings.
22573 (prolog-mode-variables): Simplify comment-start-skip.
22574 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
22576 * emacs-lisp/generic.el (generic--normalise-comments)
22577 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
22578 (generic-mode-set-comments): Use them.
22579 (generic-bracket-support): Use setq-local.
22580 (generic-make-keywords-list): Declare obsolete.
22582 2013-06-11 Glenn Morris <rgm@gnu.org>
22584 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22585 Prettify after setting font-lock-defaults. (Bug#14574)
22587 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
22589 * replace.el (query-replace, occur-read-regexp-defaults-function)
22591 * subr.el (declare-function, number-sequence, local-set-key)
22592 (substitute-key-definition, locate-user-emacs-file)
22593 (with-silent-modifications, split-string, eval-after-load):
22594 Fix typos, remove unneeded backslashes and reflow some docstrings.
22596 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22598 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
22599 default for Elisp files.
22601 2013-06-11 Glenn Morris <rgm@gnu.org>
22603 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
22604 although define-derived-mode was doing this anyway. (Bug#14583)
22606 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
22608 * allout.el (allout-encryption-plaintext-sanitization-regexps):
22609 Fix make-variable-buffer-local call to refer to the correct variable.
22611 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
22613 * eshell/em-term.el (eshell-visual-commands)
22614 (eshell-visual-subcommands, eshell-visual-options):
22615 Add summary line to docstrings. Add cross-references.
22617 2013-06-10 Glenn Morris <rgm@gnu.org>
22619 * epa.el (epa-read-file-name): New function. (Bug#14510)
22620 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
22622 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22624 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
22625 output redirection to be ignored with visual commands.
22627 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22629 * eshell/em-term.el (eshell-visual-command-p): New function.
22630 (eshell-term-initialize): Move long lambda to separate function
22631 eshell-visual-command-p.
22632 * eshell/em-dirs.el (eshell-dirs-initialize):
22633 * eshell/em-script.el (eshell-script-initialize):
22634 Add missing #' to lambda.
22636 2013-06-08 Leo Liu <sdl.web@gmail.com>
22638 * progmodes/octave.el (octave-add-log-current-defun): New function.
22639 (octave-mode): Set add-log-current-defun-function.
22640 (octave-goto-function-definition): Do not move point if not found.
22641 (octave-find-definition): Enhance to try subfunctions first.
22643 2013-06-08 Glenn Morris <rgm@gnu.org>
22645 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22646 (byte-compile-backward-char, byte-compile-backward-word):
22647 Improve previous change, to handle non-explicit nil.
22649 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
22651 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
22652 (smie--opener/closer-at-point): New function.
22653 (smie--matching-block-data): Use it. Don't match from right after an
22654 opener or right before a closer. Obey smie-blink-matching-inners.
22655 Don't signal a mismatch for repeated inners like "switch..case..case".
22657 2013-06-07 Leo Liu <sdl.web@gmail.com>
22659 * progmodes/octave.el (octave-mode): Set comment-use-global-state
22661 (octave-function-header-regexp): Fix. (Bug#14570)
22662 (octave-help-mode-finish-hook, octave-help-mode-finish):
22663 Remove. Just use temp-buffer-show-hook.
22665 * newcomment.el (comment-search-backward): Revert last change.
22668 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
22670 2013-06-07 Eli Zaretskii <eliz@gnu.org>
22672 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
22673 through xargs, to avoid failure due to MS-Windows limitations on
22674 command-line length.
22676 2013-06-06 Glenn Morris <rgm@gnu.org>
22678 * font-lock.el (lisp-font-lock-keywords-2):
22679 Treat user-error like error.
22681 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22682 (byte-compile-backward-char, byte-compile-backward-word):
22683 Handle explicit nil arguments. (Bug#14565)
22685 2013-06-05 Alan Mackenzie <acm@muc.de>
22687 * isearch.el (isearch-allow-prefix): New user option.
22688 (isearch-other-meta-char): Don't exit isearch when a prefix
22689 argument is typed whilst `isearch-allow-prefix' is non-nil.
22692 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22694 * autorevert.el (auto-revert-notify-handler): Use memq.
22695 Hide assertion failure.
22697 * skeleton.el: Use cl-lib.
22698 (skeleton-further-elements): Use defvar-local.
22699 (skeleton-insert): Use cl-progv.
22701 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22703 * progmodes/prog-mode.el (prog-prettify-symbols)
22704 (prog-prettify-install): Update docstrings.
22706 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22708 * simple.el: Move all the prog-mode code to prog-mode.el.
22709 * progmodes/prog-mode.el: New file.
22710 * loadup.el: Add prog-mode.el.
22712 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22714 * simple.el (prog-prettify-symbols): Add version.
22715 (prog-prettify-install): Add convenience function to prettify symbols.
22717 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
22718 (perl--augmented-font-lock-keywords-1)
22719 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
22720 variables and use it.
22722 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22723 (cfengine3-mode): Remove unneeded variable and use it.
22725 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22726 (lisp--augmented-font-lock-keywords-1)
22727 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
22728 Remove unneeded variables and use it.
22730 2013-06-05 João Távora <joaotavora@gmail.com>
22732 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
22733 to point when opening the connection. (Bug#14380)
22735 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22737 * subr.el (load-history-regexp, load-history-filename-element)
22738 (eval-after-load, after-load-functions, do-after-load-evaluation)
22739 (eval-next-after-load, display-delayed-warnings)
22740 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
22741 definition of save-match-data.
22742 (overriding-local-map): Remove accidental obsolescence declaration.
22744 * emacs-lisp/edebug.el (edebug-result): Move before first use.
22746 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22748 Generalize symbol prettify support to prog-mode and implement it
22749 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
22750 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
22751 (prog--prettify-font-lock-compose-symbol)
22752 (prog-prettify-font-lock-symbols-keywords): New variables and
22753 functions to support symbol prettification.
22754 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22755 (lisp--augmented-font-lock-keywords-1)
22756 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
22757 (lisp--prettify-symbols-alist): Implement prettify of lambda.
22758 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22759 (cfengine3--prettify-symbols-alist, cfengine3-mode):
22760 Implement prettify of -> => :: strings.
22761 * progmodes/perl-mode.el (perl-prettify-symbols)
22762 (perl--font-lock-compose-symbol)
22763 (perl--font-lock-symbols-keywords): Move to prog-mode.
22764 (perl--prettify-symbols-alist): Prettify -> => :: strings.
22765 (perl-font-lock-keywords-1)
22766 (perl-font-lock-keywords-2): Remove explicit prettify support.
22767 (perl--augmented-font-lock-keywords)
22768 (perl--augmented-font-lock-keywords-1)
22769 (perl--augmented-font-lock-keywords-2, perl-mode):
22770 Implement prettify support.
22772 2013-06-05 Leo Liu <sdl.web@gmail.com>
22774 Re-implement SMIE matching block highlight using
22775 show-paren-data-function. (Bug#14395)
22776 * emacs-lisp/smie.el (smie-matching-block-highlight)
22777 (smie--highlight-matching-block-overlay)
22778 (smie--highlight-matching-block-lastpos)
22779 (smie-highlight-matching-block)
22780 (smie-highlight-matching-block-mode): Remove.
22781 (smie--matching-block-data-cache): New variable.
22782 (smie--matching-block-data): New function.
22783 (smie-setup): Use smie--matching-block-data for
22784 show-paren-data-function.
22786 * progmodes/octave.el (octave-mode-menu): Fix.
22787 (octave-find-definition): Skip garbage lines.
22789 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22791 Fix compilation error with simultaneous dynamic+lexical scoping.
22792 Add warning when a defvar appears after the first let-binding.
22793 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
22794 (byte-compile-close-variables): Initialize it.
22795 (byte-compile--declare-var): New function.
22796 (byte-compile-file-form-defvar)
22797 (byte-compile-file-form-define-abbrev-table)
22798 (byte-compile-file-form-custom-declare-variable): Use it.
22799 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
22800 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
22801 (byte-compile-bind): Handle dynamic bindings that shadow
22803 (byte-compile-unbind): Make arg non-optional.
22804 (byte-compile-let): Simplify.
22805 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
22806 (cconv--analyse-function, cconv-analyse-form): Populate it.
22807 Protect byte-compile-bound-variables to limit the scope of defvars.
22808 (cconv-analyse-form): Add missing rule for (defvar <foo>).
22809 Remove unneeded rule for `declare'.
22811 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
22812 so as to avoid depending on cl-adjoin at run-time.
22813 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
22815 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
22816 (macroexp--warn-and-return): Use it.
22818 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22820 * subr.el: Convert to lexical binding.
22821 (overriding-local-map): Make obsolete.
22822 (add-to-list): Doc fix. Add compiler macro.
22823 (read-key): Swap values of local maps.
22825 2013-06-05 Leo Liu <sdl.web@gmail.com>
22827 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
22829 2013-06-04 Leo Liu <sdl.web@gmail.com>
22831 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
22832 (compilation-auto-jump): Suppress the "Mark set" message to give
22833 way to exit message.
22835 2013-06-04 Alan Mackenzie <acm@muc.de>
22837 Remove faulty optimization from indentation calculation.
22838 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
22839 search limit based on 2000 characters back from indent-point.
22841 2013-06-03 Tassilo Horn <tsdh@gnu.org>
22843 * eshell/em-term.el (cl-lib): Require `cl-lib'.
22845 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
22847 * emacs-lisp/lisp.el: Use lexical-binding.
22848 (lisp--local-variables-1, lisp--local-variables): New functions.
22849 (lisp--local-variables-completion-table): New var.
22850 (lisp-completion-at-point): Use it complete let-bound vars.
22852 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
22853 eagerly (bug#14422).
22855 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
22857 * autorevert.el (auto-revert-notify-enabled)
22858 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
22859 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
22860 (auto-revert-notify-handler): Handle also gfilenotify.
22862 * subr.el (file-notify-handle-event): New defun. Replacing ...
22863 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
22866 2013-06-03 Juri Linkov <juri@jurta.org>
22868 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
22869 `M-s h .'. (Bug#14427)
22871 * hi-lock.el (highlight-symbol-at-point): New alias for the new
22872 command `hi-lock-face-symbol-at-point'.
22873 (hi-lock-face-symbol-at-point): New command.
22874 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
22875 (hi-lock-menu): Add `highlight-symbol-at-point'.
22876 (hi-lock-mode): Doc fix.
22878 * isearch.el (isearch-forward-symbol-at-point): New command.
22879 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
22880 (isearch-highlight-regexp): Add a regexp which matches
22881 words/symbols for word/symbol mode.
22883 * subr.el (find-tag-default-bounds): New function with the body
22884 mostly moved from `find-tag-default'.
22885 (find-tag-default): Move most code to `find-tag-default-bounds',
22886 call it and apply `buffer-substring-no-properties' afterwards.
22888 2013-06-03 Tassilo Horn <tsdh@gnu.org>
22890 * eshell/em-term.el (eshell-term-initialize):
22891 Use `cl-intersection' rather than `intersection'.
22893 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
22895 * vc/log-view.el: Doc fix.
22896 (log-view-mode-map): Copy keymap from `special-mode-map'.
22898 2013-06-02 Eric Ludlam <zappo@gnu.org>
22900 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
22901 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
22902 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
22903 (eieio-unbound, eieio-default-superclass)
22904 (eieio--define-field-accessors, method-static, method-before)
22905 (method-primary, method-after, method-num-lists)
22906 (method-generic-before, method-generic-primary)
22907 (method-generic-after, method-num-slots)
22908 (eieio-specialized-key-to-generic-key)
22909 (eieio--check-type, class-v, class-p)
22910 (eieio-class-name, define-obsolete-function-alias)
22911 (eieio-class-parents-fast, eieio-class-children-fast)
22912 (same-class-fast-p, class-constructor, generic-p)
22913 (generic-primary-only-p, generic-primary-only-one-p)
22914 (class-option-assoc, class-option, eieio-object-p)
22915 (class-abstract-p, class-method-invocation-order)
22916 (eieio-defclass-autoload-map, eieio-defclass-autoload)
22917 (eieio-class-un-autoload, eieio-defclass)
22918 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
22919 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
22920 (eieio--defgeneric-init-form, eieio-defgeneric-form)
22921 (eieio-defgeneric-reset-generic-form)
22922 (eieio-defgeneric-form-primary-only)
22923 (eieio-defgeneric-reset-generic-form-primary-only)
22924 (eieio-defgeneric-form-primary-only-one)
22925 (eieio-defgeneric-reset-generic-form-primary-only-one)
22926 (eieio-unbind-method-implementations)
22927 (eieio--defmethod, eieio--typep)
22928 (eieio-perform-slot-validation, eieio-validate-slot-value)
22929 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
22930 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
22931 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
22932 (eieio-slot-name-index, eieio-class-slot-name-index)
22933 (eieio-set-defaults, eieio-initarg-to-attribute)
22934 (eieio-attribute-to-initarg, eieio-c3-candidate)
22935 (eieio-c3-merge-lists, eieio-class-precedence-c3)
22936 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
22937 (eieio-class-precedence-list, eieio-generic-call-methodname)
22938 (eieio-generic-call-arglst, eieio-generic-call-key)
22939 (eieio-generic-call-next-method-list)
22940 (eieio-pre-method-execution-functions, eieio-generic-call)
22941 (eieio-generic-call-primary-only, eieiomt-method-list)
22942 (eieiomt-optimizing-obarray, eieiomt-install)
22943 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
22944 (eieio-generic-form, eieio-defmethod, make-obsolete)
22945 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
22946 (defclass): Remove `eval-and-compile' from macro.
22947 (call-next-method, shared-initialize): Instead of using
22948 `scoped-class' variable, use new eieio--scoped-class, and
22949 eieio--with-scoped-class.
22950 (initialize-instance): Rename local variable 'scoped-class' to
22951 'this-class' to remove ambiguitity from old global.
22953 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
22955 (eieio--scoped-class-stack): New variable.
22956 (eieio--scoped-class): New fcn.
22957 (eieio--with-scoped-class): New scoping macro.
22958 (eieio-defclass): Use pushnew instead of add-to-list.
22959 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
22960 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
22961 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
22962 `scoped-class' variable, use new eieio--scoped-class, and
22963 eieio--with-scoped-class.
22965 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
22967 2013-06-02 Tassilo Horn <tsdh@gnu.org>
22969 * eshell/esh-ext.el (eshell-external-command): Pass args to
22970 `eshell-find-interpreter'.
22971 (eshell-find-interpreter): Add new second parameter ARGS.
22973 * eshell/em-script.el (eshell-script-initialize): Add second arg
22974 to the function added as MATCH to `eshell-interpreter-alist'.
22976 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
22977 the function added as MATCH to `eshell-interpreter-alist'.
22979 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
22980 (eshell-visual-options): New defcustom.
22981 (eshell-escape-control-x): Adapt docstring.
22982 (eshell-term-initialize): Test `eshell-visual-subcommands' and
22983 `eshell-visual-options' in addition to `eshell-visual-commands'.
22984 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
22986 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
22988 * progmodes/python.el (python-indent-block-enders): Add break,
22989 continue and raise keywords.
22991 2013-06-01 Glenn Morris <rgm@gnu.org>
22993 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
22995 Plain (f)boundp silences compilation warnings since Emacs 22.1.
22996 * progmodes/cc-cmds.el (delete-forward-p):
22997 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
22998 * progmodes/cc-engine.el (buffer-syntactic-context):
22999 * progmodes/cc-fonts.el (face-property-instance):
23000 * progmodes/cc-mode.el (set-keymap-parents):
23001 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
23002 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
23003 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
23004 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
23005 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
23007 * progmodes/cc-vars.el (other): Emacs has this widget since
23008 at least 21.1, so don't (re)define it.
23010 * eshell/em-cmpl.el (eshell-cmpl-initialize):
23011 Replace the obsolete alias pcomplete-arg-quote-list.
23013 2013-06-01 Leo Liu <sdl.web@gmail.com>
23015 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
23016 punctuation syntax.
23017 (inferior-octave-minimal-columns)
23018 (inferior-octave-last-column-width): New variables.
23019 (inferior-octave-track-window-width-change): New function.
23020 (inferior-octave-mode): Adjust column width so that Octave output,
23021 for example from 'ls', can fit into the window nicely.
23023 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
23025 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23026 Highlight expansions inside regexp literals.
23028 2013-05-31 Glenn Morris <rgm@gnu.org>
23030 * obsolete/sym-comp.el (symbol-complete):
23031 Replace obsolete completion-annotate-function.
23033 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
23035 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
23037 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23038 New function, checks if point is inside a literal that allows
23039 expression expansion.
23040 (ruby-syntax-propertize-expansion): Use it.
23041 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
23044 2013-05-30 Juri Linkov <juri@jurta.org>
23046 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
23048 (isearch-invisible): New variable.
23049 (isearch-forward): Doc fix.
23050 (isearch-mode): Set `isearch-invisible'
23051 to the value of `search-invisible'.
23052 (isearch-toggle-case-fold): Doc fix.
23053 (isearch-toggle-invisible): New command.
23054 (isearch-query-replace): Let-bind `search-invisible'
23055 to the value of `isearch-invisible'.
23056 (isearch-search): Use `isearch-invisible' instead of
23057 `search-invisible'. Let-bind `search-invisible'
23058 to the value of `isearch-invisible'. (Bug#11378)
23060 2013-05-30 Juri Linkov <juri@jurta.org>
23062 * replace.el (perform-replace): Avoid `isearch-range-invisible'
23063 call when `query-flag' is nil and `search-invisible' is non-nil.
23066 2013-05-30 Glenn Morris <rgm@gnu.org>
23068 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
23070 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
23071 (cc-require): Suppress spurious "noruntime" warnings.
23072 (cc-require-when-compile): Use fboundp, for sake of compiler.
23074 * progmodes/cc-mode.el: Move load of cc-vars before that of
23075 cc-langs (which in turn loads cc-vars), to quieten compiler.
23077 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23079 * paren.el: Simplify the code.
23080 (show-paren-mode): Always start the timer.
23081 (show-paren--idle-timer): Rename from show-paren-idle-timer.
23082 (show-paren--overlay, show-paren--overlay-1): Rename from
23083 show-paren-overlay and show-paren-overlay-1, and initialize to an
23084 overlay rather than to nil.
23085 (show-paren-function): Misc cleanup and simplifications.
23087 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23089 * paren.el (show-paren-data-function): New hook.
23090 (show-paren--default): New function, extracted from show-paren-function.
23091 (show-paren-function): Use show-paren-data-function.
23093 2013-05-30 Glenn Morris <rgm@gnu.org>
23095 * ielm.el (ielm-map, ielm-complete-symbol):
23096 Use completion-at-point rather than obsolete functions.
23097 (inferior-emacs-lisp-mode): Doc fix.
23098 Set completion-at-point-functions, rather than
23099 comint-dynamic-complete-functions.
23101 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
23102 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
23103 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
23105 * image.el (image-animated-p): Tweak definition.
23107 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
23108 (rlogin-process-connection-type): Tweak default. Add set-after.
23109 (rlogin-host): Doc fix.
23110 (rlogin): Tweak prompt.
23111 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
23113 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
23114 * progmodes/tcl.el (inferior-tcl-mode-map):
23115 Use completion-at-point rather than obsolete alias.
23117 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
23119 * minibuffer.el (read-file-name-completion-ignore-case):
23120 Move before completion--in-region, for eager macro expansion.
23122 2013-05-29 Juri Linkov <juri@jurta.org>
23124 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
23125 for total count of matching lines. Add `global-matches' for total
23126 count of matches. Rename `matches' to `lines' for count of
23127 matching lines. Add `matches' for count of matches.
23128 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
23129 to `prev-line' for line number of prev match endpt.
23130 Increment `matches' for every match. Print the number of
23131 matching lines in the header.
23132 (occur-context-lines): Rename `lines' to `curr-line'.
23133 Rename `prev-lines' to `prev-line'. (Bug#14017)
23135 2013-05-29 Juri Linkov <juri@jurta.org>
23137 * replace.el (perform-replace): Add `skip-read-only-count',
23138 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
23139 Increment them for corresponding conditions and report the number
23140 of skipped occurrences in the final message. (Bug#11746)
23141 (query-replace, query-replace-regexp, query-replace-regexp-eval)
23142 (replace-string, replace-regexp): Doc fix.
23144 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
23146 * emacs-lisp/trace.el (trace--read-args): Provide a default.
23148 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
23149 prog-mode-map (bug#14504).
23151 2013-05-29 Leo Liu <sdl.web@gmail.com>
23153 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
23154 (octave-help): Small simplification.
23156 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
23157 off the highlight first.
23159 2013-05-29 Glenn Morris <rgm@gnu.org>
23161 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
23162 Handle idlwave-last-system-routine-info-cons-cell being nil.
23164 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
23165 (idlwave-write-paths): Simplify via with-temp-buffer.
23167 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
23168 * emulation/cua-rect.el: Also load cua-base at run time.
23170 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
23171 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
23172 (cperl-imenu-on-info): Require imenu.
23174 2013-05-28 Alan Mackenzie <acm@muc.de>
23176 Handle "capitalised keywords" correctly.
23177 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
23179 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
23181 * eshell/em-unix.el: Add -r option to cp.
23183 2013-05-28 Glenn Morris <rgm@gnu.org>
23185 * vc/vc-arch.el (vc-exec-after): Declare.
23186 (vc-switches): Autoload.
23187 * vc/vc-bzr.el: No need to require vc when compiling.
23188 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
23189 (vc-resynch-buffer, vc-dir-refresh): Declare.
23190 (vc-setup-buffer, vc-switches): Autoload.
23191 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
23192 (vc-resynch-buffer): Declare.
23193 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
23194 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
23195 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
23196 (grep-read-regexp, grep-read-files, grep-expand-template)
23197 (vc-dir-refresh): Declare.
23198 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
23199 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
23200 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
23201 * vc/vc-mtn.el (vc-exec-after): Declare.
23202 (vc-switches): Autoload.
23203 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
23204 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
23205 (vc-file-tree-walk): Declare.
23206 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
23207 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
23208 (vc-tag-precondition, vc-rename-master): Autoload.
23209 * vc/vc-svn.el (vc-exec-after): Declare.
23210 (vc-switches, vc-setup-buffer): Autoload.
23211 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
23213 (vc-resynch-buffer): Declare.
23215 * obsolete/fast-lock.el (byte-compile-warnings):
23216 Don't warn about obsolete features in this obsolete file.
23218 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
23219 Move definition before use.
23221 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
23222 (dun-unix-verbs): Remove dun-zippy.
23223 (dun-zippy): Remove function.
23225 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
23227 2013-05-27 Juri Linkov <juri@jurta.org>
23229 * replace.el (replace-search): New function with code moved out
23230 from `perform-replace'.
23231 (replace-highlight, replace-dehighlight): Move function definitions
23232 up closer to `replace-search'. (Bug#11746)
23234 2013-05-27 Juri Linkov <juri@jurta.org>
23236 * replace.el (perform-replace): Ignore invisible matches.
23237 In addition to checking `query-replace-skip-read-only', also
23238 filter out matches by calling `run-hook-with-args-until-failure'
23239 on `isearch-filter-predicates', and also check `search-invisible'
23240 for t or call `isearch-range-invisible'.
23241 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
23243 2013-05-27 Juri Linkov <juri@jurta.org>
23245 * isearch.el (isearch-filter-predicates): Rename from
23246 `isearch-filter-predicate'. Doc fix. (Bug#11378)
23247 (isearch-message-prefix): Display text from the property
23248 `isearch-message-prefix' of the currently active filters.
23249 (isearch-search): Don't compare `isearch-filter-predicate' with
23250 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
23251 on `isearch-filter-predicates'. Also check `search-invisible' for t
23252 or call `isearch-range-invisible'.
23253 (isearch-filter-visible): Make obsolete.
23254 (isearch-lazy-highlight-search):
23255 Call `run-hook-with-args-until-failure' on
23256 `isearch-filter-predicates' and use `isearch-range-invisible'.
23258 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
23259 `isearch-filter-predicates' instead of `funcall'ing
23260 `isearch-filter-predicate'.
23261 (Info-mode): Set `Info-isearch-filter' to
23262 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
23264 * dired-aux.el (dired-isearch-filter-predicate-orig):
23266 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
23267 (dired-isearch-filenames-end): Add and remove
23268 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
23269 instead of changing the value of `isearch-filter-predicate'.
23270 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
23271 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
23272 Put property `isearch-message-prefix' to "filename " on
23273 `dired-isearch-filter-filenames'.
23275 * wdired.el (wdired-change-to-wdired-mode):
23276 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
23277 locally instead of changing `isearch-filter-predicate'.
23278 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
23280 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
23282 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
23283 return the commit hash (Bug#14459). Also set the
23284 `vc-git-detached' property.
23285 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
23286 (vc-git-mode-line-string): Use the same help-echo format whether
23287 in detached mode or not, because we know the actual revision now.
23288 When in detached mode, shorten the revision to 7 chars.
23290 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23292 * emacs-lisp/easy-mmode.el (define-minor-mode):
23293 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
23294 mode hook and provide a docstring.
23296 2013-05-27 Alan Mackenzie <acm@muc.de>
23298 Remove spurious syntax-table text properties inserted by C-y.
23299 * progmodes/cc-mode.el (c-after-change): Also clear hard
23300 syntax-table property with value nil.
23302 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
23304 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
23305 when reading the events; the buffer layout shall not be changed.
23307 2013-05-27 Leo Liu <sdl.web@gmail.com>
23309 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
23311 (inferior-octave-directory-tracker): Automatically re-sync
23313 (octave-help): Improve handling of 'See also'.
23315 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23317 * doc-view.el: Minor naming convention tweaks.
23318 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
23320 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
23321 even if there's no `display' property yet (bug#14435).
23323 2013-05-25 Eli Zaretskii <eliz@gnu.org>
23325 * subr.el (unmsys--file-name): Rename from reveal-filename.
23327 * Makefile.in (custom-deps, finder-data, autoloads)
23328 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23329 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23330 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
23332 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23334 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
23335 error-completion on the first 2 args of condition-case (bug#14446).
23338 2013-05-25 Leo Liu <sdl.web@gmail.com>
23340 * comint.el (comint-previous-matching-input): Do not flood the
23341 *Messages* buffer with trivial messages.
23343 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23345 * progmodes/flymake.el (flymake-nop): Don't return a string.
23346 (flymake-set-at): Fix typo.
23348 * simple.el (read--expression): New function, extracted from
23349 eval-expression. Set completion-at-point-functions (bug#14465).
23350 (eval-expression, eval-minibuffer): Use it.
23352 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
23354 * progmodes/flymake.el (flymake-save-buffer-in-file)
23355 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
23356 (flymake-selected-frame, flymake-log, flymake-ins-after)
23357 (flymake-set-at, flymake-get-buildfile-from-cache)
23358 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
23359 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
23360 Refine the doc string.
23361 (flymake-get-file-name-mode-and-masks): Reformat.
23362 (flymake-get-real-file-name-function): Fix a minor bug.
23364 2013-05-24 Juri Linkov <juri@jurta.org>
23366 * progmodes/grep.el (grep-mode-font-lock-keywords):
23367 Support =linenumber= format used by git-grep for lines with
23368 function names. (Bug#13549)
23370 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23372 * progmodes/octave.el (octave-smie-rules): Return nil rather than
23373 0 after a semi-colon; it works better for smie-auto-fill.
23374 (octave--indent-new-comment-line): New function.
23375 (octave-indent-new-comment-line): Use it (indirectly).
23376 (octave-mode): Don't disable smie-auto-fill. Use add-function to
23377 modify comment-line-break-function.
23379 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
23380 (smie-setup): Use add-function to set it.
23382 2013-05-24 Sam Steingold <sds@gnu.org>
23384 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
23385 argument (before the `interactive' argument).
23387 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23389 * image-mode.el (image-mode-winprops): Add winprops to
23390 image-mode-winprops-alist before running
23391 image-mode-new-window-functions.
23392 * doc-view.el (doc-view-new-window-function): Don't delay
23393 doc-view-goto-page via timers (bug#14435).
23395 2013-05-24 Tassilo Horn <tsdh@gnu.org>
23397 * doc-view.el: Integrate with desktop.el. (Bug#14435)
23398 (doc-view-desktop-save-buffer): New function.
23399 (doc-view-restore-desktop-buffer): New function.
23400 (desktop-buffer-mode-handlers):
23401 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
23403 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
23404 `desktop-save-buffer' function.
23406 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
23408 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
23409 (tramp-gvfs-file-name-handler): Raise a user error when
23410 `tramp-gvfs-enabled' is nil.
23411 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
23412 Do not raise a user error when loading package. (Bug#14447)
23414 * net/xesam.el: Move to obsolete/.
23416 2013-05-24 Glenn Morris <rgm@gnu.org>
23418 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
23420 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
23422 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
23423 (Info-find-node, Man-getpage-in-background): Declare.
23425 * mail/unrmail.el (unrmail):
23426 Replace obsolete detect-coding-with-priority.
23428 * net/socks.el (socks-split-string): Use this rather than split-string.
23429 (socks-nslookup-host): Update for above change.
23430 (dynamic-choice, s5-dynamic-choice-match)
23431 (s5-dynamic-choice-match-inline, s5-widget-value-create):
23432 Comment out unused code.
23434 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
23435 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
23436 (gud-tooltip-echo-area): Make obsolete.
23437 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
23439 * progmodes/js.el (js--optimize-arglist): Declare.
23441 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
23443 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
23444 (ediff-window-C): Declare.
23446 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
23447 Tweak requires to silence compiler.
23449 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
23450 (he-search-string, he-tried-table, he-expand-list)
23451 (he-init-string, he-string-member, he-substitute-string)
23452 (he-reset-string): Declare.
23454 * obsolete/options.el (list-options): Use custom-variable-p,
23455 rather than obsolete alias.
23457 2013-05-23 Sam Steingold <sds@gnu.org>
23459 * simple.el (shell-command-on-region): Pass the `replace' argument
23460 down to `call-process-region' to comply with the doc as reported on
23461 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
23463 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23465 * emacs-lisp/smie.el (smie-indent-forward-token)
23466 (smie-indent-backward-token): Handle string tokens (bug#14381).
23468 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23470 * ielm.el (ielm-menu): New menu.
23471 (inferior-emacs-lisp-mode): Set comment-start.
23473 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23475 * textmodes/reftex.el (reftex-ref-style-toggle):
23476 Fix deactivate action.
23478 * textmodes/reftex-vars.el (reftex-ref-style-alist):
23479 Add cleveref macros.
23481 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
23482 Accept options for bibliography commands.
23483 * textmodes/reftex-vars.el (reftex-bibliography-commands):
23484 Add addbibresource. Basic Biblatex support.
23486 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
23488 * net/tramp-gvfs.el (top):
23489 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
23490 when loading package. (Bug#14447)
23492 2013-05-23 Glenn Morris <rgm@gnu.org>
23494 * progmodes/js.el: No need to load comint when compiling.
23495 (ring-insert, comint-send-string, comint-send-input)
23496 (comint-last-input-end, ido-chop): Declare.
23498 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
23499 * vc/ediff-mult.el: Adjust requires.
23500 (ediff-directories-internal, ediff-directory-revisions-internal)
23501 (ediff-patch-file-internal): Declare.
23502 * vc/ediff-ptch.el: Adjust requires.
23503 (ediff-use-last-dir, ediff-buffers-internal): Declare.
23504 (ediff-find-file): Autoload.
23505 * vc/ediff-util.el: No need to load ediff when compiling.
23506 (ediff-regions-internal): Declare.
23507 * vc/ediff-wind.el: Adjust requires.
23508 (ediff-compute-toolbar-width): Define when compiling.
23509 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
23510 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
23511 (dired-get-filename, dired-get-marked-files)
23512 (ediff-last-dir-patch, ediff-patch-default-directory)
23513 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
23514 (ediff-patch-buffer-internal): Declare.
23516 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
23517 (ispell-process, ispell-buffer-local-words, lm-summary)
23518 (lm-section-start, lm-section-end): Declare.
23519 (checkdoc-ispell-init): Simplify.
23521 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
23522 (he-string-member, he-reset-string, he-substitute-string): Declare.
23524 * eshell/em-ls.el: Adjust requires.
23525 (eshell-glob-regexp): Declare.
23526 * eshell/em-tramp.el: Adjust requires.
23527 (eshell-parse-command): Autoload.
23528 * eshell/em-xtra.el: Adjust requires.
23529 (eshell-parse-command): Autoload.
23530 * eshell/esh-ext.el: Adjust requires.
23531 (eshell-parse-command, eshell-close-handles): Autoload.
23532 * eshell/esh-io.el: Adjust requires.
23533 (eshell-output-filter): Autoload.
23534 * eshell/esh-util.el: No need to load tramp when compiling.
23535 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
23537 (eshell-parse-ange-ls): Require ange-ftp and tramp.
23538 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
23539 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
23540 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
23541 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
23542 * eshell/esh-opt.el, eshell/esh-proc.el:
23543 * eshell/esh-var.el: Adjust requires.
23544 * eshell/eshell.el: Do not require esh-util twice.
23545 (eshell-add-input-to-history): Declare.
23546 (eshell-command): Check history module is active before using it.
23548 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
23550 2013-05-22 Leo Liu <sdl.web@gmail.com>
23552 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
23554 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
23556 * autorevert.el (auto-revert-notify-add-watch)
23557 (auto-revert-notify-handler): Add `attrib' for the inotify case,
23558 it indicates changes in file modification time.
23560 2013-05-22 Glenn Morris <rgm@gnu.org>
23562 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
23563 Always delete the autoloaded function from the noruntime and
23564 unresolved functions lists.
23566 * allout.el: No need to load epa, epg, overlay when compiling.
23567 (epg-context-set-passphrase-callback, epg-list-keys)
23568 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
23569 (epg-key-user-id-list): Declare.
23571 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
23572 (viper-set-parsing-style-toggling-macro)
23573 (viper-set-emacs-state-searchstyle-macros):
23574 Use called-interactively-p on Emacs.
23575 (viper-looking-back): Make it an obsolete alias. Update callers.
23576 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
23577 Use looking-back rather than viper-looking-back.
23578 (viper-tmp-insert-at-eob, viper-enlarge-region)
23579 (viper-read-string-with-history, viper-register-to-point)
23580 (viper-append-to-register, viper-change-state-to-vi)
23581 (viper-backward-char-carefully, viper-forward-char-carefully)
23582 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
23583 (viper-change-state-to-emacs): Declare.
23584 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
23585 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
23586 * emulation/viper-mous.el: Do not load viper-cmd.
23587 (viper-backward-char-carefully, viper-forward-char-carefully)
23588 (viper-forward-word, viper-adjust-window): Declare.
23590 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
23592 * progmodes/idlw-help.el (idlwave-help-fontify):
23593 Use called-interactively-p.
23595 * term/w32console.el (w32-get-console-codepage)
23596 (w32-get-console-output-codepage): Declare.
23598 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
23599 Remove unnecessary declarations.
23600 (dframe-message): Doc fix.
23602 * info.el (dframe-select-attached-frame, dframe-current-frame):
23605 * speedbar.el (speedbar-message): Make it an obsolete alias.
23606 Update all callers.
23607 (speedbar-with-attached-buffer)
23608 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
23609 (speedbar-with-writable): Use backquote.
23610 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
23611 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
23612 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
23613 rather than speedbar- aliases.
23614 * mail/rmail.el: Load dframe rather than speedbar when compiling.
23615 (speedbar-make-specialized-keymap, speedbar-insert-button)
23616 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
23617 (speedbar-do-function-pointer): Declare.
23618 (rmail-speedbar-button, rmail-speedbar-find-file)
23619 (rmail-speedbar-move-message):
23620 Use dframe-with-attached-buffer rather than speedbar- alias.
23621 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
23622 (dframe-message, speedbar-make-specialized-keymap)
23623 (speedbar-add-expansion-list, speedbar-mode-functions-list)
23624 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
23625 (speedbar-insert-button, dframe-select-attached-frame)
23626 (dframe-maybee-jump-to-attached-frame)
23627 (speedbar-change-initial-expansion-list)
23628 (speedbar-previously-used-expansion-list-name): Declare.
23629 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
23630 Use dframe-message, dframe-with-attached-buffer rather than
23632 (gud-sentinel): Silence compiler.
23633 * progmodes/vhdl-mode.el (speedbar-refresh)
23634 (speedbar-do-function-pointer, speedbar-add-supported-extension)
23635 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
23636 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
23637 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
23638 (speedbar-file-lists, speedbar-make-tag-line)
23639 (speedbar-line-directory, speedbar-goto-this-file)
23640 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
23641 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
23642 (speedbar-make-button, speedbar-reset-scanners)
23643 (speedbar-files-item-info, speedbar-line-text)
23644 (speedbar-find-file-in-frame, speedbar-set-timer)
23645 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
23646 (speedbar-with-writable): Do not (re)define it.
23647 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
23648 rather than speedbar- alias.
23650 2013-05-21 Leo Liu <sdl.web@gmail.com>
23652 * progmodes/octave.el (octave-mode-menu): Update and re-organize
23654 (octave-mode): Tweak fill-nobreak-predicate.
23655 (inferior-octave-startup): Check process to avoid infinite loop.
23656 (inferior-octave): Pop to buffer first to show abornmal process
23659 2013-05-21 Glenn Morris <rgm@gnu.org>
23661 * printing.el (pr-menu-bar): Define when compiling.
23663 2013-05-21 Leo Liu <sdl.web@gmail.com>
23665 * progmodes/octave.el (octave-auto-fill): Remove.
23666 (octave-indent-new-comment-line): Improve.
23667 (octave-mode): Use auto fill mode through
23668 comment-line-break-function and fill-nobreak-predicate.
23669 (octave-goto-function-definition): Support DEFUN_DLD.
23670 (octave-beginning-of-defun): Small tweak.
23671 (octave-help): Show parent directory.
23673 2013-05-21 Glenn Morris <rgm@gnu.org>
23675 * files.el (dired-unmark):
23676 * progmodes/gud.el (gdb-input): Update declarations.
23678 * calculator.el (electric, ehelp): No need to load when compiling.
23679 (Electric-command-loop, electric-describe-mode): Declare.
23681 * doc-view.el (doc-view-current-converter-processes): Move before use.
23683 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
23684 Move MODE-set-explicitly definition before use.
23686 * international/mule-diag.el (mule-diag):
23687 Don't use obsolete window-system-version.
23689 * mail/feedmail.el (smtpmail): No need to load when compiling.
23690 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
23692 * mail/mail-utils.el (rfc822): No need to load when compiling.
23693 (rfc822-addresses): Autoload it.
23694 (mail-strip-quoted-names): Trivial simplification.
23696 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
23697 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
23699 * net/snmp-mode.el (tempo): Don't duplicate requires.
23701 * progmodes/prolog.el (info): No need to load when compiling.
23702 (comint): Require before shell requires it.
23703 (Info-goto-node): Autoload it.
23704 (Info-follow-nearest-node): Declare.
23705 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
23707 * textmodes/artist.el (picture-mode-exit): Declare.
23709 * textmodes/reftex-parse.el (reftex-parse-from-file):
23710 Trivial rewrite so the compiler can parse it better.
23712 2013-05-20 Leo Liu <sdl.web@gmail.com>
23714 * progmodes/octave.el (octave-help-mode-map)
23715 (octave-help-mode-finish-hook): New variables.
23716 (octave-help-mode, octave-help-mode-finish): New functions.
23717 (octave-help): Use octave-help-mode.
23719 2013-05-20 Glenn Morris <rgm@gnu.org>
23721 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
23723 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
23725 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
23726 start at point, so that expansion starting right after opening
23727 slash in a regexp is recognized.
23728 (ruby-syntax-before-regexp-re): New defvar, extracted from
23729 ruby-syntax-propertize-function. Since the value of this regexp
23730 is looked up at runtime now, we should be able to turn
23731 `ruby-syntax-methods-before-regexp' into a defcustom later.
23732 (ruby-syntax-propertize-function): Split regexp matching into two
23733 parts, for opening and closing slashes. That allows us to skip
23734 over string interpolations and support multiline regexps.
23735 Don't call `ruby-syntax-propertize-expansions', instead use another rule
23736 for them, which calls `ruby-syntax-propertize-expansion'.
23737 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
23738 call to `ruby-syntax-propertize-function'.
23739 (ruby-syntax-propertize-expansion): Extracted from
23740 `ruby-syntax-propertize-expansions'. Handles one expansion.
23741 (ruby-syntax-propertize-percent-literal): Leave point right after
23742 the percent symbol, so that the expression expansion rule can
23743 propertize the contents.
23744 (ruby-syntax-propertize-heredoc): Leave point at bol following the
23746 (ruby-syntax-propertize-expansions): Remove.
23748 2013-05-18 Juri Linkov <juri@jurta.org>
23750 * man.el (Man-default-man-entry): Remove `-' from the end
23751 of the default value. (Bug#14400)
23753 2013-05-18 Glenn Morris <rgm@gnu.org>
23755 * comint.el (comint-password-prompt-regexp):
23756 Allow "password for XXX" where XXX contains colons (eg https://...).
23758 2013-05-18 Leo Liu <sdl.web@gmail.com>
23760 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
23761 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
23762 (octave-source-directories): Don't check process.
23763 (octave-source-directories, octave-find-definition): Doc fix.
23765 2013-05-18 Glenn Morris <rgm@gnu.org>
23767 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
23768 Remove backspace/delete bindings. (Bug#14392)
23770 * cus-dep.el (custom-make-dependencies): Sort the output.
23771 (custom-versions-load-alist): Convert comment to doc.
23773 2013-05-17 Leo Liu <sdl.web@gmail.com>
23775 * newcomment.el (comment-search-backward): Stricter in finding
23776 comment start. (Bug#14303)
23778 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
23779 (octave-comment-start-skip): Properly anchored.
23781 2013-05-17 Leo Liu <sdl.web@gmail.com>
23783 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
23784 Clean up when turned off. (Bug#14395)
23785 (smie--highlight-matching-block-overlay): No longer buffer-local.
23786 (smie-highlight-matching-block): Adjust.
23788 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
23790 Doc string fix for "nanoseconds" (Bug#14406).
23791 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
23792 Fix doc string typo that had "nanoseconds" instead of "microseconds".
23794 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
23796 * calc/calc-units.el (math-extract-units): Preserve powers
23799 2013-05-17 Leo Liu <sdl.web@gmail.com>
23801 * subr.el (delete-consecutive-dups): New function.
23802 * ido.el (ido-set-matches-1): Use it.
23803 * progmodes/octave.el (inferior-octave-completion-table): Use it.
23804 * ido.el (ido-remove-consecutive-dups): Remove.
23806 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23808 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23809 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
23810 regexp-opt's `words'.
23812 2013-05-16 Leo Liu <sdl.web@gmail.com>
23814 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
23815 (smie--highlight-matching-block-overlay)
23816 (smie--highlight-matching-block-lastpos)
23817 (smie--highlight-matching-block-timer): New variables.
23818 (smie-highlight-matching-block): New function.
23819 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
23820 (smie-setup): Conditionally enable smie-blink-matching-open.
23822 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
23824 Sync with upstream verilog-mode r840.
23825 * progmodes/verilog-mode.el (verilog-mode-version)
23826 (verilog-mode-release-date): Update.
23827 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
23828 (verilog-sig-tieoff): Fix string error on
23829 AUTORESET with colon define, bug594. Reported by Andrew Hou.
23830 (verilog-read-decls): Fix parameters confusing
23831 AUTOINST interfaces, bug565. Reported by Leith Johnson.
23833 2013-05-16 Eli Zaretskii <eliz@gnu.org>
23835 * subr.el (reveal-filename): New function.
23837 * loadup.el: Compute Emacs executable versions on MS-Windows,
23838 where executables have the .exe extension. Add a hard link
23839 emacs-XX.YY.ZZ.exe on MS-Windows.
23841 * Makefile.in (XARGS_LIMIT): New variable.
23842 (custom-deps, finder-data, autoloads)
23843 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23844 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23845 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
23846 (compile-main): Limit xargs according to $(XARGS_LIMIT).
23848 2013-05-16 Leo Liu <sdl.web@gmail.com>
23850 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
23851 (octave-mode-menu, octave-mode-map): Remove its uses.
23853 2013-05-16 Reto Zimmermann <reto@gnu.org>
23855 Sync with upstream vhdl mode v3.34.2.
23856 * progmodes/vhdl-mode.el: Use `push' throughout.
23857 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
23858 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
23859 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
23860 (vhdl-actual-generic-name): New option to derive actual generic name.
23861 (vhdl-port-paste-signals): Replace formal by actual generics.
23862 (vhdl-beautify): New name for old group vhdl-align. Update users.
23863 (vhdl-beautify-options): New option.
23864 (vhdl-last-input-event): New compat alias. Use throughout.
23865 (vhdl-goto-line): Replace user level function `goto-line'.
23866 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
23867 vhdl-fix-statement-buffer.
23868 (vhdl-create-mode-menu): Add some entries.
23869 (vhdl-align-region-groups): Respect vhdl-beautify-options.
23870 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
23871 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
23872 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
23873 to force statements on one line.
23874 (vhdl-remove-trailing-spaces-region):
23875 New, split from vhdl-remove-trailing-spaces.
23876 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
23877 Respect vhdl-beautify-options.
23878 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
23879 (vhdl-update-sensitivity-list): Not add with index if exists without.
23880 Not include array index with signal. Ignore keywords in comments.
23881 (vhdl-get-visible-signals): Regexp tweaks.
23882 (vhdl-template-component-inst): Handle empty library.
23883 (vhdl-template-type): Add template for 'enum' type.
23884 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
23885 Use vhdl-replace-string.
23886 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
23887 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
23888 (vhdl-speedbar-initialize): Update for above name change.
23889 (vhdl-compose-wire-components): Fix in handling of constants.
23890 (vhdl-error-regexp-emacs-alist): New variable.
23891 (vhdl-error-regexp-add-emacs): New function;
23892 adds support for new compile.el (Emacs 22+)
23893 (vhdl-generate-makefile-1): Change target order for single lib. units.
23894 Allow use of absolute file names.
23896 2013-05-16 Leo Liu <sdl.web@gmail.com>
23898 * simple.el (prog-indent-sexp): Indent enclosing defun.
23900 2013-05-15 Glenn Morris <rgm@gnu.org>
23902 * cus-start.el (show-trailing-whitespace): Move to editing basics.
23903 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
23904 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
23905 (whitespace-highlight): Move to whitespace group.
23907 * comint.el (comint-source):
23908 * pcmpl-linux.el (pcmpl-linux):
23909 * shell.el (shell-faces):
23910 * eshell/esh-opt.el (eshell-opt):
23911 * international/ccl.el (ccl): Remove empty custom groups.
23913 * completion.el (dynamic-completion-mode):
23914 * jit-lock.el (jit-lock-debug-mode):
23915 * minibuffer.el (completion-in-region-mode):
23916 * type-break.el (type-break-mode-line-message-mode)
23917 (type-break-query-mode):
23918 * emulation/tpu-edt.el (tpu-edt-mode):
23919 * progmodes/subword.el (global-subword-mode, global-superword-mode):
23920 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
23921 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
23923 * term/xterm.el (xterm): Change parent group to terminals.
23925 * master.el (master): Remove empty custom group.
23926 (master-mode): Remove unused :group argument.
23927 * textmodes/refill.el (refill): Remove empty custom group.
23928 (refill-mode): Remove unused :group argument.
23930 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
23932 * cus-dep.el: Provide a feature.
23933 (custom-make-dependencies): Ignore dotfiles (dir-locals).
23934 Don't mistakenly ignore files whose basenames match a basename
23935 from preloaded-file-list (eg cedet/ede/simple.el).
23936 Add a fallback method for getting :group.
23938 2013-05-15 Juri Linkov <juri@jurta.org>
23940 * isearch.el (isearch-char-by-name): Rename from
23941 `isearch-insert-char-by-name'. Doc fix.
23942 (isearch-forward): Mention `isearch-char-by-name' in
23943 the docstring. (Bug#13348)
23945 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
23946 `exit-minibuffer' instead of
23947 `isearch-nonincremental-exit-minibuffer'.
23948 (isearch-edit-string): Remove mention of
23949 `isearch-nonincremental-exit-minibuffer' from docstring.
23950 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
23951 (isearch-forward-exit-minibuffer)
23952 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
23954 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
23956 * loadup.el: Just use unversioned DOC.
23958 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
23959 literals as extending to EOB.
23960 (nxml-last-fontify-end): Remove unused variable.
23961 (nxml-after-change1): Use with-silent-modifications.
23962 (nxml-extend-after-change-region): Simplify.
23963 (nxml-extend-after-change-region1): Remove function.
23964 (nxml-after-change1): Don't adjust for dependent regions.
23965 (nxml-fontify-matcher): Simplify.
23966 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
23967 (xmltok-add-dependent): Remove function.
23968 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
23969 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
23970 (xmltok-scan-prolog-after-processing-instruction-open): Treat
23971 unclosed <[[, <?, comment, and other literals as extending to EOB.
23972 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
23973 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
23975 (rng-do-some-validation-1): Don't mark dependent regions.
23976 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
23977 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
23978 (nxml-clear-dependent-regions): Remove functions.
23979 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
23980 (nxml-ensure-scan-up-to-date):
23981 Don't clear&mark dependent regions.
23983 2013-05-15 Leo Liu <sdl.web@gmail.com>
23985 * progmodes/octave.el (octave-goto-function-definition):
23986 Improve and fix callers.
23988 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
23990 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
23991 the setter (bug#14387).
23993 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
23994 surrounding group (bug#14402).
23996 2013-05-14 Juri Linkov <juri@jurta.org>
23998 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
24001 2013-05-14 Glenn Morris <rgm@gnu.org>
24003 * progmodes/f90.el (f90-imenu-generic-expression):
24004 Fix typo in 2013-05-08 change. (Bug#14402)
24006 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24008 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
24009 Remove signals for which replies are never received.
24011 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24013 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
24014 (gdb-handler-alist, gdb-handler-number): Remove variables.
24015 (gdb-handler-list): New variable.
24016 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
24017 (gdb-pending-handler-p, gdb-handle-reply)
24018 (gdb-remove-all-pending-triggers): New functions.
24019 (gdb-discard-unordered-replies): New defcustom.
24020 (gdb-handler): New defstruct.
24021 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
24022 instead of gdb-pending-triggers. Update docstring.
24023 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
24024 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
24025 (gdb-var-update-handler, def-gdb-auto-update-trigger)
24026 (def-gdb-auto-update-handler, gdb-get-changed-registers)
24027 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
24028 (gdb-frame-handler): Pending triggers are now automatically managed.
24029 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
24031 (gdb-input): Automatically handles pending triggers. Update docstring.
24032 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
24033 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
24035 (gdb-done-or-error): Now use gdb-handle-reply.
24037 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24039 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
24042 2013-05-14 Glenn Morris <rgm@gnu.org>
24044 * subr.el (user-emacs-directory-warning): New option.
24045 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
24047 2013-05-14 Leo Liu <sdl.web@gmail.com>
24049 * progmodes/octave.el (octave-font-lock-keywords): Fix error
24051 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
24052 (octave-font-lock-texinfo-comment): Fix invalid search bound
24053 error: wrong side of point.
24055 2013-05-14 Glenn Morris <rgm@gnu.org>
24057 * progmodes/flymake.el (flymake-xml-program): New option.
24058 (flymake-xml-init): Use it.
24060 * term/xterm.el: Provide a feature.
24062 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
24064 2013-05-13 Glenn Morris <rgm@gnu.org>
24066 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
24067 Add compat aliases as a hack workaround. (Bug#14384)
24069 2013-05-13 Leo Liu <sdl.web@gmail.com>
24071 * progmodes/octave.el (octave-indent-comment): Fix indentation for
24073 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
24075 (octave-comment-start-skip): Include %!.
24076 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
24078 2013-05-12 Leo Liu <sdl.web@gmail.com>
24080 * progmodes/octave.el (inferior-octave-startup): Store the value
24081 of __octave_srcdir__ for octave-source-directories.
24082 (inferior-octave-check-process): New function refactored out of
24083 inferior-octave-send-list-and-digest.
24084 (octave-source-directories)
24085 (octave-find-definition-filename-function): New variables.
24086 (octave-source-directories)
24087 (octave-find-definition-default-filename): New functions.
24088 (octave-find-definition): Improve to find functions implemented in C++.
24090 2013-05-12 Glenn Morris <rgm@gnu.org>
24092 * calendar/diary-lib.el (diary-outlook-format-1):
24093 Don't include dayname in the output. (Bug#14349)
24095 2013-05-11 Glenn Morris <rgm@gnu.org>
24097 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
24099 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
24100 Treat cc-provide like provide.
24102 2013-05-11 Kevin Ryde <user42@zip.com.au>
24104 * cus-dep.el (custom-make-dependencies):
24105 Use generated-autoload-load-name for the sake of files such
24106 such cedet/semantic/bovine/c.el, where the base file name
24107 is not in load-path. (Bug#5277)
24109 2013-05-11 Glenn Morris <rgm@gnu.org>
24111 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
24114 2013-05-11 Leo Liu <sdl.web@gmail.com>
24116 * progmodes/octave.el (octave-indent-comment): Improve.
24117 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
24118 (octave-eldoc-function-signatures, octave-eldoc-function):
24120 (octave-mode, inferior-octave-mode): Add eldoc support.
24122 2013-05-11 Richard Stallman <rms@gnu.org>
24124 * epa.el (epa-decrypt-file): Take output file name as argument
24125 and read it using `interactive'.
24127 2013-05-11 Leo Liu <sdl.web@gmail.com>
24129 * progmodes/octave.el (octave-beginning-of-line)
24130 (octave-end-of-line): Check before using up-list because it jumps
24131 out of more syntactic contructs since moving to smie.
24132 (octave-indent-comment): New function.
24133 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
24134 (octave-begin-keywords, octave-end-keywords)
24135 (octave-reserved-words, octave-smie-bnf-table)
24136 (octave-smie-rules): Add new keywords from Octave 3.6.4.
24138 2013-05-11 Glenn Morris <rgm@gnu.org>
24140 * faces.el (internal-face-x-get-resource):
24141 * frame.el (ns-display-monitor-attributes-list):
24142 * calc/calc-aent.el (math-to-radians-2):
24143 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
24146 * calc/calc-menu.el: Make it loadable in isolation.
24148 * net/eudcb-bbdb.el: Make it loadable without bbdb.
24149 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
24150 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
24151 (eudc-bbdb-query-internal): Require 'bbdb.
24153 * lpr.el (lpr-headers-switches):
24154 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
24156 * progmodes/sql.el (sql-login-params): Fix and improve :type.
24158 * emulation/edt-mapper.el: In batch mode, error rather than hang.
24160 * term.el (term-set-escape-char): Make it idempotent.
24162 2013-05-10 Leo Liu <sdl.web@gmail.com>
24164 * progmodes/octave.el (inferior-octave-completion-table):
24165 No longer a function and all uses changed. Use cache to speed up
24166 completion due to bug#11906.
24167 (octave-beginning-of-defun): Re-write to be more general.
24169 2013-05-10 Glenn Morris <rgm@gnu.org>
24171 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
24173 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
24175 * comint.el (comint-redirect-send-command-to-process): Use :around
24176 rather than :override for comint-redirect-filter.
24177 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
24178 Call it instead of comint-redirect-original-filter-function (which
24179 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
24181 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
24183 * frame.el (display-monitor-attributes-list): Add NS case.
24184 (ns-display-monitor-attributes-list): Declare.
24186 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
24188 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
24190 2013-05-09 Glenn Morris <rgm@gnu.org>
24192 * international/fontset.el (vertical-centering-font-regexp):
24193 Set standard-value.
24195 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
24197 * bookmark.el (bookmark-search-delay):
24198 * cus-start.el (vertical-centering-font-regexp):
24199 * ps-mule.el (ps-mule-font-info-database-default):
24200 * ps-print.el (ps-default-fg, ps-default-bg):
24201 * type-break.el (type-break-good-break-interval):
24202 * whitespace.el (whitespace-indentation-regexp)
24203 (whitespace-space-after-tab-regexp):
24204 * emacs-lisp/testcover.el (testcover-1value-functions)
24205 (testcover-noreturn-functions, testcover-progn-functions)
24206 (testcover-prog1-functions):
24207 * emulation/viper-init.el (viper-emacs-state-cursor-color):
24208 * eshell/em-glob.el (eshell-glob-translate-alist):
24209 * play/tetris.el (tetris-tty-colors):
24210 * progmodes/cpp.el (cpp-face-default-list):
24211 * progmodes/flymake.el (flymake-allowed-file-name-masks):
24212 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
24213 (idlwave-help-browser-generic-args):
24214 * progmodes/make-mode.el (makefile-special-targets-list):
24215 * progmodes/python.el (python-shell-virtualenv-path):
24216 * progmodes/verilog-mode.el (verilog-active-low-regexp)
24217 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
24218 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
24219 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
24220 * textmodes/reftex-vars.el (reftex-format-label-function):
24221 * textmodes/remember.el (remember-diary-file): Fix custom types.
24223 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
24226 2013-05-09 Leo Liu <sdl.web@gmail.com>
24228 * progmodes/octave.el (inferior-octave-completion-at-point):
24229 Restore file completion. (Bug#14300)
24230 (inferior-octave-startup): Fix incorrect highlighting for the
24233 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24235 * progmodes/ruby-mode.el: First cut at SMIE support.
24236 (ruby-use-smie): New var.
24237 (ruby-smie-grammar): New constant.
24238 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
24239 (ruby-smie--forward-token, ruby-smie--backward-token)
24240 (ruby-smie-rules): New functions.
24241 (ruby-mode-variables): Setup SMIE if applicable.
24243 2013-05-08 Eli Zaretskii <eliz@gnu.org>
24245 * simple.el (line-move-visual): Signal beginning/end of buffer
24246 only if vertical-motion moved less than it was requested. Avoids
24247 silly incorrect error messages when there are display strings with
24248 multiple newlines at EOL.
24250 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24252 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
24253 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
24254 (prolog-char-quote-workaround):
24255 * progmodes/cperl-mode.el (cperl-under-as-char):
24256 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
24258 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
24260 (vhdl-mode-syntax-table-init): Remove.
24262 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
24265 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
24267 (ld-script-font-lock-keywords):
24268 Change regexps to use things like \_< and \_>.
24270 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
24271 Change all regexps to use things like \_< and \_>.
24273 * progmodes/autoconf.el (autoconf-definition-regexp)
24274 (autoconf-font-lock-keywords, autoconf-current-defun-function):
24275 Handle a _ with symbol syntax.
24276 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
24278 * progmodes/ada-mode.el (ada-mode-abbrev-table):
24279 Consolidate declaration.
24280 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
24282 (ada-create-syntax-table): Remove.
24283 (ada-capitalize-word): Don't mess with the syntax of "_" since it
24284 already has the right syntax nowadays.
24285 (ada-goto-next-word): Don't change the syntax of "_".
24287 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
24290 2013-05-08 Sam Steingold <sds@gnu.org>
24292 * thingatpt.el (thing-at-point): Accept optional second argument
24293 NO-PROPERTIES to strip the text properties from the return value.
24294 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
24295 to `thing-at-point' instead of stripping the properties ourselves.
24296 Also, when `thing-at-point' fails to find a url, prepend "http://"
24297 to the filename at point on the assumption that the user is
24298 pointing at something like gnu.org/gnu.
24300 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
24302 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24303 * faces.el (crm-separator):
24304 Silence byte-compiler.
24306 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
24307 (tool-bar-map): Remove unneeded defvars.
24309 2013-05-08 Leo Liu <sdl.web@gmail.com>
24311 Re-work a fix for bug#10994 based on Le Wang's patch.
24312 * ido.el (ido-remove-consecutive-dups): New helper.
24313 (ido-completing-read): Use it.
24314 (ido-chop): Revert fix for bug#10994.
24316 2013-05-08 Adam Spiers <emacs@adamspiers.org>
24318 * cus-edit.el (custom-save-variables):
24319 Pretty-print long values. (Bug#14187)
24321 2013-05-08 Glenn Morris <rgm@gnu.org>
24323 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
24324 (m4-mode-syntax-table): Init in the defvar.
24325 (m4-mode-abbrev-table): Let define-derived-mode define it.
24327 2013-05-08 Tom Tromey <tromey@redhat.com>
24329 * progmodes/m4-mode.el (m4-mode-syntax-table):
24330 Do not treat "_" as word constituent. (Bug#14167)
24332 2013-05-07 Glenn Morris <rgm@gnu.org>
24334 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
24335 Remove explicit eshell-isearch-cancel-map.
24337 * progmodes/f90.el (f90-smart-end-names): New option.
24338 (f90-smart-end): Doc fix.
24339 (f90-end-block-optional-name): New constant.
24340 (f90-block-match): Respect f90-smart-end-names.
24342 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24344 * progmodes/octave.el (octave-smie-forward-token): Be more careful
24345 about implicit semi-colons (bug#14218).
24347 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
24349 * frame.el (display-monitor-attributes-list)
24350 (frame-monitor-attributes): New functions.
24352 2013-05-06 Leo Liu <sdl.web@gmail.com>
24354 * progmodes/octave.el (octave-syntax-propertize-function): Change
24355 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
24356 (octave-font-lock-keywords): Use octave-operator-regexp.
24357 (octave-completion-at-point): Rename from
24358 octave-completion-at-point-function.
24359 (inferior-octave-directory-tracker): Robustify.
24360 (octave-text-functions): Remove and fix its uses. No such things
24363 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24365 * emacs-lisp/trace.el (trace--display-buffer): New function.
24366 (trace-make-advice): Use it.
24368 2013-05-06 Juri Linkov <juri@jurta.org>
24370 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
24371 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
24373 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
24374 in the help string. (Bug#12985)
24376 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
24378 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
24380 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24382 * progmodes/perl-mode.el: Add support for here documents.
24383 (perl-syntax-propertize-function): Match here-doc markers.
24384 (perl-syntax-propertize-special-constructs): Find their end.
24385 (perl-imenu-generic-expression): Use [:alnum:].
24387 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
24388 (advice--add-function): Refresh the advice if already present
24391 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
24393 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
24395 2013-05-06 Glenn Morris <rgm@gnu.org>
24397 * w32-fns.el (w32-charset-info-alist): Declare.
24399 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
24400 of its defcustom properties.
24401 (eshell-cmpl-initialize): No need to load pcomplete.
24403 * generic-x.el: No need to require comint when compiling.
24405 * net/eudc-export.el: Make it loadable without bbdb.
24406 (top-level): Use require rather than load-library.
24407 (eudc-create-bbdb-record, eudc-bbdbify-phone)
24408 (eudc-batch-export-records-to-bbdb)
24409 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
24412 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24414 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
24415 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
24416 some tweaks, instead.
24418 2013-05-05 Leo Liu <sdl.web@gmail.com>
24420 * progmodes/octave.el (octave-font-lock-keywords)
24421 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
24422 (inferior-octave-send-list-and-digest): Improve error message.
24423 (octave-mode, inferior-octave-mode): Use setq-local.
24424 (octave-help): Set info-lookup-mode.
24426 2013-05-05 Richard Stallman <rms@gnu.org>
24428 * vc/compare-w.el (compare-windows-whitespace):
24429 Treat no-break space as whitespace.
24431 * mail/rmailsum.el (rmail-summary-rmail-update):
24432 Detect empty summary and don't change selected message.
24433 (rmail-summary-goto-msg): Likewise.
24435 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
24436 Doc fixes, rename args.
24438 2013-05-05 Alan Mackenzie <acm@muc.de>
24440 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
24442 2013-05-05 Juri Linkov <juri@jurta.org>
24444 * info.el (Info-read-subfile): Use (point-min) instead of (point)
24445 to not add the length of the summary segment to the return value.
24448 2013-05-05 Leo Liu <sdl.web@gmail.com>
24450 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
24451 (inferior-octave-output-filter): Remove.
24452 (octave-send-region, inferior-octave-startup): Fix callers.
24453 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
24454 (octave-binary-file-extensions): New user variable.
24455 (octave-find-definition): Confirm if opening binary files.
24456 (octave-help-file): Use octave-find-definition to get the binary
24458 (octave-help): Adjust for octave-help-file change.
24460 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24462 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
24463 Merge the two entries that handle function definitions.
24464 (pascal--syntax-propertize): New const.
24465 (pascal-mode): Use it. Use setq-local.
24467 2013-05-04 Glenn Morris <rgm@gnu.org>
24469 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
24470 (diary-from-outlook): Respect diary-from-outlook-function.
24472 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24474 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
24475 Move the declaration from C.
24476 (read-minibuffer, eval-minibuffer): Move from C.
24477 (completion-setup-function): Avoid minibuffer-completion-contents.
24479 2013-05-03 Leo Liu <sdl.web@gmail.com>
24481 * progmodes/octave.el (octave-font-lock-keywords): Do not
24482 dehighlight 'end' in comments or strings.
24483 (octave-completing-read, octave-goto-function-definition):
24485 (octave-help-buffer): New user variable.
24486 (octave-help-file, octave-help-function): New button types.
24487 (octave-help): New command and bind it to C-h ;.
24488 (octave-find-definition): New command and bind it to M-.
24489 (user-error): Alias to error if not defined.
24491 2013-05-02 Leo Liu <sdl.web@gmail.com>
24493 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
24495 (octave-font-lock-keywords): Include [ and {.
24497 2013-05-02 Leo Liu <sdl.web@gmail.com>
24499 * progmodes/octave.el (inferior-octave-startup-file): Change default.
24500 (inferior-octave): Remove calling comint-mode and return the buffer.
24501 (inferior-octave-startup): Cosmetic changes.
24503 2013-05-02 Leo Liu <sdl.web@gmail.com>
24505 * progmodes/octave.el (octave-syntax-propertize-function):
24506 Include the case when ' is at line beginning. (Bug#14336)
24508 2013-05-02 Glenn Morris <rgm@gnu.org>
24510 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
24511 * desktop.el (vc-dir-mode): Just autoload it here.
24513 2013-05-02 Alan Mackenzie <acm@muc.de>
24515 Eliminate variable c-standard-font-lock-fontify-region-function.
24516 * progmodes/cc-mode.el
24517 (c-standard-font-lock-fontify-region-function): Remove.
24518 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
24520 2013-05-01 Leo Liu <sdl.web@gmail.com>
24522 * progmodes/octave.el: Compatible with older emacs-24 releases.
24523 (inferior-octave-has-built-in-variables): Remove. Built-in
24524 variables were removed from Octave in 2007.
24525 (inferior-octave-startup): Fix uses.
24526 (comint-line-beginning-position): Remove compatibility code for
24529 2013-05-01 Juri Linkov <juri@jurta.org>
24531 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
24533 2013-05-01 Juri Linkov <juri@jurta.org>
24535 * comint.el (comint-previous-matching-input): Don't print message
24536 "History item: %d" when `isearch-mode' is active.
24537 (comint-history-isearch-message): Print message "History item: %d"
24538 when `comint-input-ring-index' is not empty and this function is
24539 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
24541 2013-05-01 Leo Liu <sdl.web@gmail.com>
24543 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
24544 definitions. Use completion-at-point to insert keywords.
24545 (octave-abbrev-start): Remove.
24546 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
24548 2013-04-30 Leo Liu <sdl.web@gmail.com>
24550 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
24553 2013-04-30 Alan Mackenzie <acm@muc.de>
24555 Handle arbitrarily long C++ member initialization lists.
24556 * progmodes/cc-engine.el (c-back-over-member-initializers):
24558 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
24559 (most) member init lists.
24561 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
24563 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
24566 2013-04-30 Leo Liu <sdl.web@gmail.com>
24568 * progmodes/octave.el (octave-variables): Remove. No builtin
24569 variables any more. All converted to functions.
24570 (octave-font-lock-keywords, octave-completion-at-point-function):
24572 (octave-font-lock-texinfo-comment): New user variable.
24573 (octave-texinfo-font-lock-keywords): New variable for texinfo
24575 (octave-function-comment-block): New face.
24576 (octave-font-lock-texinfo-comment): New function.
24577 (octave-mode): Font lock texinfo comment block.
24579 2013-04-29 Leo Liu <sdl.web@gmail.com>
24581 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
24582 indexing expression.
24583 (octave-continuation-string): Do not use \.
24584 (inferior-octave-complete-impossible): Remove.
24585 (inferior-octave-completion-table)
24586 (inferior-octave-completion-at-point): Remove its uses.
24587 (inferior-octave-startup): completion_matches was introduced to
24588 Octave in 1996 so safe to assume it.
24589 (octave-function-file-comment): Improve to follow how Octave does it.
24590 (octave-update-function-file-comment): Tweak.
24592 2013-04-29 Leo Liu <sdl.web@gmail.com>
24594 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
24595 (inferior-octave-startup): Remove inferior-octave-startup-hook.
24596 (octave-function-file-comment): Fix typo.
24597 (octave-sync-function-file-names): Use read-char-choice.
24599 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
24601 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
24602 to t for the less important warnings.
24604 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
24606 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
24608 2013-04-27 Glenn Morris <rgm@gnu.org>
24610 * vc/log-view.el (log-view-current-entry):
24611 Treat "---" separator lines as part of the following rev. (Bug#14169)
24613 2013-04-27 Juri Linkov <juri@jurta.org>
24615 * subr.el (read-number): Doc fix about using it by interactive
24616 code letter `n'. (Bug#14254)
24618 2013-04-27 Juri Linkov <juri@jurta.org>
24620 * desktop.el (desktop-auto-save-timeout): New option.
24621 (desktop-file-checksum): New variable.
24622 (desktop-save): Add optional arg `auto-save' and don't auto-save
24623 if nothing changed.
24624 (desktop-auto-save-timer): New variable.
24625 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
24626 (after-init-hook): Call `desktop-auto-save-set-timer'.
24627 Suggested by Reuben Thomas <rrt@sc3d.org> in
24628 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
24630 2013-04-27 Leo Liu <sdl.web@gmail.com>
24632 * progmodes/octave.el (octave-function-file-p)
24633 (octave-skip-comment-forward, octave-function-file-comment)
24634 (octave-update-function-file-comment): New functions.
24635 (octave-mode-map): Bind C-c ; to
24636 octave-update-function-file-comment.
24637 (octave-mode-menu): Add octave-update-function-file-comment.
24638 (octave-mode, inferior-octave-mode): Fix doc-string.
24639 (octave-insert-defun): Conform to Octave's coding convention.
24642 * files.el (basic-save-buffer): Don't let errors in
24643 before-save-hook prevent saving buffer.
24645 2013-04-20 Roland Winkler <winkler@gnu.org>
24647 * faces.el (read-face-name): Use completing-read if arg multiple
24650 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
24652 * ls-lisp.el (ls-lisp-insert-directory): If no files are
24653 displayed, move point to after the totals line.
24654 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
24657 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
24659 * emacs-lisp/package.el (package-autoload-ensure-default-file):
24660 Add current dir to the load-path.
24661 (package-generate-autoloads): Don't rely on
24662 autoload-ensure-default-file.
24664 2013-04-26 Reuben Thomas <rrt@sc3d.org>
24666 * textmodes/remember.el (remember-store-in-files): Document that
24667 the file name format is passed to `format-time-string'.
24669 2013-04-26 Leo Liu <sdl.web@gmail.com>
24671 * progmodes/octave.el (octave-sync-function-file-names): New function.
24672 (octave-mode): Use it in before-save-hook.
24674 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
24676 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
24679 * progmodes/octave.el (octave-smie-forward-token): Properly skip
24680 \n and comment, even if it's not an implicit ; (bug#14218).
24682 2013-04-26 Glenn Morris <rgm@gnu.org>
24684 * subr.el (read-number): Once more use `read' rather than
24685 `string-to-number', to trap non-numeric input. (Bug#14254)
24687 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
24689 * emacs-lisp/syntax.el (syntax-propertize-multiline):
24690 Use `syntax-multiline' text property consistently instead of
24691 `font-lock-multiline'. (Bug#14237)
24693 2013-04-26 Glenn Morris <rgm@gnu.org>
24695 * emacs-lisp/shadow.el (list-load-path-shadows):
24696 No longer necessary to check for duplicate simple.el, since
24697 2012-07-07 change to init_lread to not include installation lisp
24698 directories in load-path when running uninstalled. (Bug#14270)
24700 2013-04-26 Leo Liu <sdl.web@gmail.com>
24702 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
24703 (octave-mode, inferior-octave-mode): Use setq-local.
24704 (octave-not-in-string-or-comment-p): Rename to
24705 octave-in-string-or-comment-p.
24706 (octave-in-comment-p, octave-in-string-p)
24707 (octave-in-string-or-comment-p): Replace defsubst with defun.
24709 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
24711 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
24713 2013-04-25 Bastien Guerry <bzg@gnu.org>
24715 * textmodes/remember.el (remember-data-directory)
24716 (remember-directory-file-name-format): Fix custom types.
24718 2013-04-25 Leo Liu <sdl.web@gmail.com>
24720 * progmodes/octave.el (octave-completion-at-point-function):
24721 Make use of inferior octave process.
24722 (octave-initialize-completions): Remove.
24723 (inferior-octave-completion-table): New function.
24724 (inferior-octave-completion-at-point): Use it.
24725 (octave-completion-alist): Remove.
24727 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24729 * progmodes/opascal.el: Use font-lock and syntax-propertize.
24730 (opascal-mode-syntax-table): New var.
24731 (opascal-literal-kind, opascal-is-literal-end)
24732 (opascal-literal-token-at): Rewrite.
24733 (opascal--literal-start-re, opascal-font-lock-keywords)
24734 (opascal--syntax-propertize): New constants.
24735 (opascal-font-lock-defaults): Adjust.
24736 (opascal-mode): Use them. Set comment-<foo> variables as well.
24737 (delphi-comment-face, opascal-comment-face, delphi-string-face)
24738 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
24739 (delphi-other-face, opascal-other-face): Remove face variables.
24740 (opascal-save-state): Remove macro.
24741 (opascal-fontifying-progress-step): Remove constant.
24742 (opascal--ignore-changes): Remove var.
24743 (opascal-set-token-property, opascal-parse-next-literal)
24744 (opascal-is-stable-literal, opascal-complete-literal)
24745 (opascal-is-literal-start, opascal-face-of)
24746 (opascal-parse-region, opascal-parse-region-until-stable)
24747 (opascal-fontify-region, opascal-after-change)
24748 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
24749 (opascal-debug-parse-region, opascal-debug-parse-window)
24750 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
24751 (opascal-debug-fontify-buffer): Remove.
24752 (opascal-debug-mode-map): Adjust accordingly.
24754 2013-04-25 Leo Liu <sdl.web@gmail.com>
24756 Merge octave-mod.el and octave-inf.el into octave.el with some
24758 * progmodes/octave.el: New file renamed from octave-mod.el.
24759 * progmodes/octave-inf.el: Merged into octave.el.
24760 * progmodes/octave-mod.el: Renamed to octave.el.
24762 2013-04-25 Tassilo Horn <tsdh@gnu.org>
24764 * textmodes/reftex-vars.el
24765 (reftex-label-ignored-macros-and-environments): New defcustom.
24767 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
24769 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24771 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
24772 (smie-indent-keyword): Improve the check to ensure that the next
24773 comment is really on the same line.
24774 (smie-indent-comment): Don't align with a subsequent closer (or eob).
24776 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
24777 semi-colons if the line is not otherwise empty (bug#14218).
24779 2013-04-25 Glenn Morris <rgm@gnu.org>
24781 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
24783 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
24785 * progmodes/opascal.el (opascal-set-token-property): Rename from
24786 opascal-set-text-properties and only set `token' (bug#14134).
24787 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
24788 (opascal-literal-text-properties): Remove.
24789 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
24792 2013-04-24 Reuben Thomas <rrt@sc3d.org>
24794 * textmodes/remember.el (remember-handler-functions): Add an
24795 option for a new handler `remember-store-in-files'.
24796 (remember-data-directory, remember-directory-file-name-format):
24798 (remember-store-in-files): New function to store remember notes
24799 as separate files within a directory.
24801 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
24803 * progmodes/compile.el (compilation-next-error-function):
24804 Pass "formats" to compilation-find-file (bug#11777).
24806 2013-04-24 Glenn Morris <rgm@gnu.org>
24808 * vc/vc-bzr.el (vc-bzr-print-log):
24809 * vc/vc-hg.el (vc-hg-print-log):
24810 * vc/vc-svn.el (vc-svn-print-log):
24811 Fix START-REVISION with LIMIT != 1. (Bug#14168)
24813 * vc/vc-bzr.el (vc-bzr-print-log):
24814 * vc/vc-cvs.el (vc-cvs-print-log):
24815 * vc/vc-git.el (vc-git-print-log):
24816 * vc/vc-hg.el (vc-hg-print-log):
24817 * vc/vc-mtn.el (vc-mtn-print-log):
24818 * vc/vc-rcs.el (vc-rcs-print-log):
24819 * vc/vc-sccs.el (vc-sccs-print-log):
24820 * vc/vc-svn.el (vc-svn-print-log):
24821 * vc/vc.el (vc-print-log-internal): Doc fixes.
24823 2013-04-23 Glenn Morris <rgm@gnu.org>
24825 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
24826 Remove venerable code attempting to avoid substitute-command-keys.
24828 2013-04-23 Tassilo Horn <tsdh@gnu.org>
24830 * textmodes/reftex-vars.el (reftex-label-regexps):
24831 Call `reftex-compile-variables' after changes to this variable.
24833 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
24835 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
24836 Use lexical-binding.
24837 (jit-lock-force-redisplay): Use markers, check buffer's continued
24838 existence and beware narrowed buffers.
24839 (jit-lock-fontify-now): Adjust call accordingly.
24841 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
24843 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
24844 to avoid misleading the user.
24846 2013-04-22 Leo Liu <sdl.web@gmail.com>
24848 * info-look.el: Prefer latex2e.info. (Bug#14240)
24850 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
24852 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
24854 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
24855 * net/tramp.el (tramp-call-process): ... here.
24856 (tramp-set-completion-function, tramp-parse-putty):
24857 * net/tramp-adb.el (tramp-adb-execute-adb-command):
24858 * net/tramp-gvfs.el (tramp-gvfs-send-command):
24859 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
24860 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
24861 (tramp-call-local-coding-command): Use `tramp-call-process'
24862 instead of `tramp-compat-call-process'.
24864 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
24865 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
24866 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
24867 (tramp-find-inline-compress): Improve traces.
24868 (tramp-maybe-send-script): Check for Perl binary.
24869 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
24871 2013-04-22 Daiki Ueno <ueno@gnu.org>
24873 * epg.el (epg-context-pinentry-mode): New function.
24874 (epg-context-set-pinentry-mode): New function.
24875 (epg--start): Pass --pinentry-mode option to gpg command.
24877 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
24879 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
24880 `comint-dynamic-complete' is obsolete since 24.1, replaced by
24881 `completion-at-point'. (Bug#13774)
24883 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
24884 default key binding for `describe-distribution' has been moved to
24885 `C-h C-o'. (Bug#13970)
24887 2013-04-21 Glenn Morris <rgm@gnu.org>
24889 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
24891 (vc-print-log): Clarify interactive prompt.
24893 2013-04-20 Glenn Morris <rgm@gnu.org>
24895 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24896 No longer include timestamp etc information.
24898 2013-04-20 Roland Winkler <winkler@gnu.org>
24900 * faces.el (read-face-name): Bug fix, return just one face if arg
24901 multiple is nil. (Bug#14209)
24903 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24905 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
24906 (remove-function): Autoload.
24908 * comint.el (comint-redirect-original-filter-function): Remove.
24909 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
24910 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
24911 (vc-cvs-annotate-command):
24912 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
24913 * progmodes/prolog.el (prolog-consult-compile):
24914 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
24915 Use add/remove-function instead.
24916 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
24917 (gud-tooltip-process-output, gud-tooltip-tips):
24918 Use add/remove-function instead.
24919 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
24920 (scheme-interaction-mode, exit-scheme-interaction-mode):
24921 Use add/remove-function instead.
24923 * vc/vc-dispatcher.el: Use lexical-binding.
24924 (vc--process-sentinel): Rename from vc-process-sentinel.
24925 Change last arg to be the code to run. Don't use vc-previous-sentinel
24926 and vc-sentinel-commands any more.
24927 (vc-exec-after): Allow code to be a function. Use add/remove-function.
24928 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
24930 2013-04-19 Masatake YAMATO <yamato@redhat.com>
24932 * progmodes/sh-script.el (sh-imenu-generic-expression):
24933 Handle function names with a single character. (Bug#14111)
24935 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
24937 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
24938 for subroutines defined in an eval (bug#14182).
24940 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
24942 * bookmark.el (bookmark-completing-read): Improve handling of empty
24943 string (bug#14176).
24945 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24947 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
24949 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
24951 New faster Imenu implementation (bug#14058).
24952 * progmodes/python.el (python-imenu-prev-index-position)
24953 (python-imenu-format-item-label-function)
24954 (python-imenu-format-parent-item-label-function)
24955 (python-imenu-format-parent-item-jump-label-function):
24957 (python-imenu-format-item-label)
24958 (python-imenu-format-parent-item-label)
24959 (python-imenu-format-parent-item-jump-label)
24960 (python-imenu--put-parent, python-imenu--build-tree)
24961 (python-imenu-create-index, python-imenu-create-flat-index)
24962 (python-util-popn): New functions.
24963 (python-mode): Set imenu-create-index-function to
24964 python-imenu-create-index.
24966 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
24968 * winner.el (winner-active-region): Use region-active-p, activate-mark
24969 and deactivate-mark (bug#14225).
24971 * simple.el (deactivate-mark): Don't inline it.
24973 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
24975 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
24977 2013-04-18 Tassilo Horn <tsdh@gnu.org>
24979 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
24980 file extensions from the archive-mode entry in order to prefer
24981 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
24983 2013-04-18 Leo Liu <sdl.web@gmail.com>
24985 * bindings.el (help-event-list): Add ?\?.
24987 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
24989 * subr.el (with-wrapper-hook): Declare obsolete.
24990 * simple.el (filter-buffer-substring-function): New hook.
24991 (filter-buffer-substring): Use it.
24992 (filter-buffer-substring-functions): Mark obsolete.
24993 * minibuffer.el (completion-in-region-function): New hook.
24994 (completion-in-region): Use it.
24995 (completion-in-region-functions): Mark obsolete.
24996 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
24997 * abbrev.el (abbrev-expand-function): New hook.
24998 (expand-abbrev): Use it.
24999 (abbrev-expand-functions): Mark obsolete.
25000 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
25001 and :filter-return.
25003 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25005 * progmodes/python.el (python-nav--syntactically): Fix cornercases
25006 and do not care about match data.
25008 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
25010 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
25011 completion tables when completing error conditions and
25012 `declare' arguments.
25013 (lisp-complete-symbol, field-complete): Mark as obsolete.
25014 (check-parens): Unmatched parens are user errors.
25015 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
25017 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
25019 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
25020 command changed buffer (ie. `flyspell-pre-buffer' is not current
25021 buffer), which prevents making decisions based on invalid value of
25022 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
25023 cause an error when `flyspell-pre-point' was nil after switching
25025 (flyspell-post-command-hook): No longer needs to change buffers when
25026 checking pre-word. While at it remove unnecessary progn.
25028 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
25030 * textmodes/ispell.el (ispell-add-per-file-word-list):
25031 Fix `flyspell-correct-word-before-point' error when accepting
25032 words and `coment-padding' is an integer by using
25033 `comment-normalize-vars' (Bug #14214).
25035 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25037 New defun movement commands.
25038 * progmodes/python.el (python-nav--syntactically)
25039 (python-nav--forward-defun, python-nav-backward-defun)
25040 (python-nav-forward-defun): New functions.
25042 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25044 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
25045 (python-syntax-context): Use named compiler-macro for backwards
25046 compatibility with Emacs 24.x.
25048 2013-04-17 Leo Liu <sdl.web@gmail.com>
25050 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
25051 octave-hide-process-buffer.
25053 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
25055 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
25058 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
25060 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
25061 Fix adjustment of offset when receiving incomplete responses from GDB
25064 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
25066 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
25067 python-mode-abbrev-table.
25068 (python-skeleton-define): Adjust accordingly.
25069 (python-mode-abbrev-table): New table that inherits from it so that
25070 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
25072 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
25073 (abbrev-symbol): Use it.
25074 (abbrev--before-point): Use it since we already handle inheritance.
25076 2013-04-16 Leo Liu <sdl.web@gmail.com>
25078 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
25079 binding to info-lookup-symbol.
25081 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
25083 * minibuffer.el (completion--twq-all):
25084 * term/ns-win.el (ns-initialize-window-system):
25085 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
25087 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
25089 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
25092 * doc-view.el (doc-view-start-process): Handle url-handler directories.
25094 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
25096 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
25097 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
25099 (ruby-end-of-defun): Remove the unused arg, change the docstring
25100 to reflect that this function is only used as the value of
25101 `end-of-defun-function'.
25102 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
25103 to reflect an earlier change that beginning/end-of-defun functions
25104 jump between methods in a class definition, as well as top-level
25107 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25109 * minibuffer.el (minibuffer-complete): Don't just scroll
25110 a *Completions* that's been iconified.
25111 (minibuffer-force-complete): Make sure repetitions do cycle when going
25112 through completion-in-region -> minibuffer-complete.
25114 2013-04-15 Alan Mackenzie <acm@muc.de>
25116 Correct the placement of c-cpp-delimiters when there're #s not at
25119 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
25120 place a submatch around the #.
25121 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
25122 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
25125 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25127 * emacs-lisp/nadvice.el: Properly test names when adding advice.
25128 (advice--member-p): New arg `name'.
25129 (advice--add-function, advice-member-p): Use it (bug#14202).
25131 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
25133 Reformulate java imenu-generic-expression.
25134 The old expression contained ill formed regexps.
25136 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
25137 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
25138 (cc-imenu-java-method-arg-regexp): New defconsts.
25139 (cc-imenu-java-build-type-args-regex): New defun.
25140 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
25141 handling of spaces in the regexp.
25143 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
25145 * textmodes/ispell.el (ispell-command-loop): Remove
25146 flyspell highlight of a word when ispell accepts it (bug #14178).
25148 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
25150 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
25151 uses code from the previous `ange-ftp-run-real-handler'.
25152 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
25153 only in case that function exist. This is needed for proper
25154 unloading of Tramp.
25156 2013-04-15 Tassilo Horn <tsdh@gnu.org>
25158 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
25160 * textmodes/reftex.el (reftex-compile-variables): Use it.
25162 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25164 * files.el (normal-mode): Only use default major-mode if no other mode
25167 * emacs-lisp/trace.el (trace-values): New function.
25169 * files.el: Allow : in local variables (bug#14089).
25170 (hack-local-variable-regexp): New var.
25171 (hack-local-variables-prop-line, hack-local-variables): Use it.
25173 2013-04-13 Roland Winkler <winkler@gnu.org>
25175 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
25176 data before it gets modified by bibtex-beginning-of-entry.
25178 2013-04-13 Roland Winkler <winkler@gnu.org>
25180 * textmodes/bibtex.el (bibtex-url): Doc fix.
25182 2013-04-13 Roland Winkler <winkler@gnu.org>
25184 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
25185 does not visit a BibTeX file, exclude it from the list of buffers
25186 returned by bibtex-initialize.
25188 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
25190 * window.el (split-window): Remove interactive form, since as a
25191 command this function is a special case of split-window-below.
25192 Correct doc string.
25194 2013-04-12 Roland Winkler <winkler@gnu.org>
25196 * faces.el (read-face-name): Do not override value of arg default.
25197 Allow single faces and strings as default values. Remove those
25198 elements from return value that are not faces.
25199 (describe-face): Simplify.
25200 (face-at-point): New optional args thing and multiple so that this
25201 function can provide the same functionality previously provided by
25203 (make-face-bold, make-face-unbold, make-face-italic)
25204 (make-face-unitalic, make-face-bold-italic, invert-face)
25205 (modify-face, read-face-and-attribute): Use face-at-point.
25207 * cus-edit.el (customize-face, customize-face-other-window)
25208 * cus-theme.el (custom-theme-add-face)
25209 * face-remap.el (buffer-face-set)
25210 * facemenu.el (facemenu-set-face): Use face-at-point.
25212 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
25214 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
25216 2013-04-10 Tassilo Horn <tsdh@gnu.org>
25218 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
25219 off leading { and trailing } from field values.
25221 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
25223 * emacs-lisp/timer.el (timer--check): New function.
25224 (timer--time, timer-set-function, timer-event-handler): Use it.
25225 (timer-set-idle-time): Simplify.
25226 (timer--activate): CSE.
25227 (timer-event-handler): Give more info in error message.
25228 (internal-timer-start-idle): New function, moved from C.
25230 * mpc.el (mpc-proc): Add `restart' argument.
25231 (mpc-proc-cmd): Use it.
25232 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
25233 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
25236 2013-04-10 Masatake YAMATO <yamato@redhat.com>
25238 * progmodes/sh-script.el: Implement `sh-mode' own
25239 `add-log-current-defun-function' (bug#14112).
25240 (sh-current-defun-name): New function.
25241 (sh-mode): Use the function.
25243 2013-04-09 Bastien Guerry <bzg@gnu.org>
25245 * simple.el (choose-completion-string): Fix docstring (bug#14163).
25247 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
25249 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
25251 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
25254 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
25256 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
25259 2013-04-07 Leo Liu <sdl.web@gmail.com>
25261 * pcmpl-x.el: New file.
25263 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
25265 Do not set x-display-name until X connection is established.
25266 This is needed to prevent from weird situation described at
25267 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
25268 * frame.el (make-frame): Set x-display-name after call to
25269 window system initialization function, not before.
25270 * term/x-win.el (x-initialize-window-system): Add optional
25271 display argument and use it.
25272 * term/w32-win.el (w32-initialize-window-system):
25273 * term/ns-win.el (ns-initialize-window-system):
25274 * term/pc-win.el (msdos-initialize-window-system):
25275 Add compatible optional display argument.
25277 2013-04-06 Eli Zaretskii <eliz@gnu.org>
25279 * files.el (normal-backup-enable-predicate): On MS-Windows and
25280 MS-DOS compare truenames of temporary-file-directory and of the
25281 file, so that 8+3 aliases (usually found in $TEMP on Windows)
25282 don't fail comparison by compare-strings. Also, compare file
25283 names case-insensitively on MS-Windows and MS-DOS.
25285 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25287 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
25288 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
25290 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
25292 * whitespace.el (whitespace-color-on, whitespace-color-off):
25293 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
25295 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
25297 * ispell.el (ispell-set-spellchecker-params):
25298 Really set `ispell-args' for all equivs.
25300 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25302 * ido.el (ido-completions): Use extra elements of ido-decorations
25304 (ido-decorations): Update docstring.
25306 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
25308 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
25309 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
25310 nil during initialization, in order not to miss changes since the
25311 file was opened. (Bug#14140)
25313 2013-04-05 Leo Liu <sdl.web@gmail.com>
25315 * kmacro.el (kmacro-call-macro): Fix bug#14135.
25317 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
25319 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
25321 2013-04-04 Glenn Morris <rgm@gnu.org>
25323 * electric.el (electric-pair-inhibit-predicate): Add :version.
25325 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
25327 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
25328 when a package is required several times (bug#14082).
25330 2013-04-04 Roland Winkler <winkler@gnu.org>
25332 * faces.el (read-face-name): Behave as promised by the docstring.
25333 Assume that arg default is a list of faces.
25334 (describe-face): Call read-face-name with list of default faces.
25336 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
25338 * bookmark.el: Fix deletion of bookmarks (bug#13972).
25339 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
25340 (bookmark-bmenu-execute-deletions): Only skip first line if it's
25342 (bookmark-exit-hook-internal): Save even if list is empty.
25344 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
25346 * emacs-lisp/package.el (package-pinned-packages): New var.
25347 (package--add-to-archive-contents): Obey it (bug#14118).
25349 2013-04-03 Alan Mackenzie <acm@muc.de>
25351 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
25352 Also adapt to the new values of element 7 of a parse state.
25354 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
25355 parameter `not-in-delimiter'. Handle being inside comment opener.
25356 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
25357 character in case we're typing a '*' after a '/'.
25358 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
25359 instead by passing the parameter to c-state-pp-to-literal.
25361 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
25362 for elt. 7 of a parse state.
25364 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
25366 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
25367 * international/latin1-disp.el, international/mule-util.el:
25368 * language/cyril-util.el, language/european.el, language/ind-util.el:
25369 * language/lao-util.el, language/thai.el, language/tibet-util.el:
25370 * language/tibetan.el, language/viet-util.el:
25371 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
25373 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25375 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
25376 (electric-pair-post-self-insert-function): Use it.
25377 (electric-pair-default-inhibit): New function, extracted from
25378 electric-pair-post-self-insert-function.
25380 2013-03-31 Roland Winkler <winkler@gnu.org>
25382 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
25384 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25386 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
25388 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
25390 Un-indent after "pass" and "return" statements (Bug#13888)
25391 * progmodes/python.el (python-indent-block-enders): New var.
25392 (python-indent-calculate-indentation): Use it.
25394 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
25396 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
25397 defun. Defining it as defalias could introduce too eager
25398 byte-compiler optimization. (Bug#14030)
25400 2013-03-30 Chong Yidong <cyd@gnu.org>
25402 * iswitchb.el (iswitchb-read-buffer): Fix typo.
25404 2013-03-30 Leo Liu <sdl.web@gmail.com>
25406 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
25407 (kmacro-execute-from-register): Pass the keyboard macro to
25408 kmacro-call-macro or repeating won't work correctly.
25410 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
25412 * progmodes/subword.el: Back to using `forward-symbol'.
25414 * subr.el (forward-whitespace, forward-symbol)
25415 (forward-same-syntax): Move from thingatpt.el.
25417 2013-03-29 Leo Liu <sdl.web@gmail.com>
25419 * kmacro.el (kmacro-to-register): New command.
25420 (kmacro-execute-from-register): New function.
25421 (kmacro-keymap): Bind to 'x'. (Bug#14071)
25423 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
25425 * mpc.el: Use defvar-local and setq-local.
25426 (mpc--proc-connect): Connection failures are not bugs.
25427 (mpc-mode-map): `follow-link' only applies to the buffer's content.
25428 (mpc-volume-map): Bind to the up-events.
25430 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
25432 * progmodes/subword.el (superword-mode): Use `forward-sexp'
25433 instead of `forward-symbol'.
25435 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
25437 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
25438 (edebug--recursive-edit): Use it.
25439 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
25440 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
25442 2013-03-28 Leo Liu <sdl.web@gmail.com>
25444 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
25446 2013-03-27 Eli Zaretskii <eliz@gnu.org>
25448 * facemenu.el (list-colors-callback): New defvar.
25449 (list-colors-redisplay): New function.
25450 (list-colors-display): Install list-colors-redisplay as the
25451 revert-buffer-function. (Bug#14063)
25453 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
25455 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
25456 and suffixes don't overlap (bug#14061).
25458 * case-table.el: Use lexical-binding.
25459 (case-table-get-table): New function.
25460 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
25462 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
25464 * progmodes/subword.el: Add `superword-mode' to do word motion
25465 over symbol_words (parallels and leverages `subword-mode' which
25466 does word motion inside MixedCaseWords).
25468 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
25470 * eshell/em-unix.el: Move su and sudo to...
25471 * eshell/em-tramp.el: ...Eshell tramp module.
25473 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25475 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
25476 Change return value to be a sexp. Delay `get-buffer' to after
25477 restoring the desktop (bug#13951).
25479 2013-03-26 Leo Liu <sdl.web@gmail.com>
25481 * register.el: Move semantic tag handling back to
25482 cedet/semantic/senator.el. (Bug#14052)
25484 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25486 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
25487 into the prompt either (bug#13963).
25489 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
25491 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
25492 part of "(error-foo)".
25494 2013-03-24 Juri Linkov <juri@jurta.org>
25496 * replace.el (list-matching-lines-prefix-face): New defcustom.
25497 (occur-1): Pass `list-matching-lines-prefix-face' to the function
25498 `occur-engine' if `face-differs-from-default-p' returns t.
25499 (occur-engine): Add `,' inside backquote construct to evaluate
25500 `prefix-face'. Propertize the prefix with the `prefix-face' face.
25501 Pass `prefix-face' to the functions `occur-context-lines' and
25502 `occur-engine-add-prefix'.
25503 (occur-engine-add-prefix, occur-context-lines): Add optional arg
25504 `prefix-face' and propertize the prefix with `prefix-face'.
25507 2013-03-24 Leo Liu <sdl.web@gmail.com>
25509 * nxml/rng-valid.el (rng-validate-while-idle)
25510 (rng-validate-quick-while-idle): Guard against deleted buffer.
25513 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
25514 is the last entry in kill-buffer-hook.
25516 * files.el (kill-buffer-hook): Doc fix.
25518 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
25520 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
25521 Make it safe-local.
25523 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
25525 2013-03-23 Leo Liu <sdl.web@gmail.com>
25527 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
25530 * nxml/rng-valid.el (rng-validate-mode)
25531 (rng-after-change-function, rng-do-some-validation):
25532 * nxml/rng-maint.el (rng-validate-buffer):
25533 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
25534 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
25535 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
25536 (nxml-extend-after-change-region): Use with-silent-modifications.
25538 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
25541 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
25542 (rng-next-error-1, rng-previous-error-1): Do not let-bind
25543 timer-idle-list. (Bug#13999)
25545 2013-03-23 Juri Linkov <juri@jurta.org>
25547 * info.el (info-index-match): New face.
25548 (Info-index, Info-apropos-matches): Add a nested subgroup to the
25549 main pattern and add text properties with the new face to matches
25550 in index entries relative to the beginning of the index entry.
25553 2013-03-21 Eric Ludlam <zappo@gnu.org>
25555 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
25556 Inhibit read only while inserting objects.
25558 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
25560 * progmodes/cfengine.el: Update docs to mention
25561 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
25562 symbol motion. Remove "_" from the word syntax.
25564 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
25566 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
25567 syntax for both `cfengine2-mode' and `cfengine3-mode'.
25569 2013-03-20 Juri Linkov <juri@jurta.org>
25571 * info.el (Info-next-reference-or-link)
25572 (Info-prev-reference-or-link): New functions.
25573 (Info-next-reference, Info-prev-reference): Use them.
25574 (Info-try-follow-nearest-node): Handle footnote navigation.
25575 (Info-fontify-node): Fontify footnotes. (Bug#13989)
25577 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
25579 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
25580 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
25582 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
25584 Suppress unnecessary non-ASCII chatter during build process.
25585 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
25586 (batch-skkdic-convert): Suppress most of the chatter.
25587 It's not needed so much now that machines are faster,
25588 and its non-ASCII component was confusing; see Dmitry Gutov in
25589 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
25591 2013-03-20 Leo Liu <sdl.web@gmail.com>
25593 * ido.el (ido-chop): Fix bug#10994.
25595 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25597 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
25599 (whitespace-color-on, whitespace-color-off):
25600 Use `font-lock-fontify-buffer' (Bug#13817).
25602 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
25604 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
25605 remapping in mode-line.
25606 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
25608 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25610 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
25611 value for `whitespace-line' face (Bug#13875).
25612 (whitespace-font-lock-keywords): Change description.
25613 (whitespace-color-on): Don't save `font-lock-keywords' value, save
25614 the constructed keywords instead.
25615 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
25617 2013-03-19 Leo Liu <sdl.web@gmail.com>
25619 * progmodes/compile.el (compilation-display-error): New command.
25620 (compilation-mode-map, compilation-minor-mode-map): Bind it to
25623 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25625 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
25627 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
25629 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
25631 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
25633 * net/tramp-compat.el (tramp-compat-user-error): New defun.
25635 * net/tramp-adb.el (tramp-adb-handle-shell-command):
25636 * net/tramp-gvfs.el (top):
25637 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
25638 (tramp-handle-shell-command): Use it.
25639 (tramp-dissect-file-name): Raise an error when hostname is a
25640 method name, and neither method nor user is specified.
25642 * net/trampver.el: Update release number.
25644 2013-03-18 Leo Liu <sdl.web@gmail.com>
25646 Make sure eldoc can be turned off properly.
25647 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
25649 (eldoc-display-message-p): Revert last change.
25650 (eldoc-display-message-no-interference-p)
25651 (eldoc-print-current-symbol-info): Tweak.
25653 2013-03-18 Tassilo Horn <tsdh@gnu.org>
25655 * doc-view.el (doc-view-new-window-function): Check the new window
25656 overlay's display property instead the char property of the
25657 buffer's first char. Use `with-selected-window' instead of
25658 `save-window-excursion' with `select-window'.
25659 (doc-view-document->bitmap): Check the current doc-view overlay's
25660 display property instead the char property of the buffer's first char.
25662 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25664 Automate the build of ja-dic.el (Bug#13984).
25665 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
25666 from the input, rather than assume that it's been done for us by the
25667 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
25668 the current date into a ja-dic.el comment, as that complicates
25669 regression testing.
25671 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25673 * whitespace.el: Fix double evaluation.
25674 (whitespace-space, whitespace-hspace, whitespace-tab)
25675 (whitespace-newline, whitespace-trailing, whitespace-line)
25676 (whitespace-space-before-tab, whitespace-indentation)
25677 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
25679 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
25680 (whitespace-color-on): Use a single font-lock-add-keywords call.
25681 Fix double-evaluation of face variables.
25683 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
25685 * net/tramp-adb.el (tramp-adb-parse-device-names):
25686 Use `start-process' instead of `call-process'. Otherwise, the
25687 function might be blocked under MS Windows. (Bug#13299)
25689 2013-03-17 Leo Liu <sdl.web@gmail.com>
25691 Extend eldoc to display info in the mode-line. (Bug#13978)
25692 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
25693 (eldoc-mode-line-string): New variable.
25694 (eldoc-minibuffer-message): New function.
25695 (eldoc-message-function): New variable.
25696 (eldoc-message): Use it.
25697 (eldoc-display-message-p)
25698 (eldoc-display-message-no-interference-p):
25699 Support eldoc-post-insert-mode.
25701 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
25702 (eval-expression): Run it.
25704 2013-03-17 Roland Winkler <winkler@gnu.org>
25706 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
25707 strings in the list of return values.
25709 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25711 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
25712 radix before checking for HMS forms.
25714 2013-03-16 Leo Liu <sdl.web@gmail.com>
25716 * progmodes/scheme.el: Add indentation and font-locking for λ.
25719 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
25721 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
25722 token before point (bug#13942).
25724 2013-03-16 Leo Liu <sdl.web@gmail.com>
25726 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
25728 2013-03-16 Eli Zaretskii <eliz@gnu.org>
25730 * startup.el (command-line-normalize-file-name): Fix handling of
25731 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
25732 <xfq.free@gmail.com> in
25733 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
25735 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
25737 Sync with Tramp 2.2.7.
25739 * net/trampver.el: Update release number.
25741 2013-03-14 Tassilo Horn <tsdh@gnu.org>
25743 * doc-view.el: Fix bug#13887.
25744 (doc-view-insert-image): Don't modify overlay associated to
25745 non-live windows, and implement horizontal centering of image in
25746 case it's smaller than the window.
25747 (doc-view-new-window-function): Force redisplay of new windows on
25750 2013-03-13 Karl Fogel <kfogel@red-bean.com>
25752 * saveplace.el (save-place-alist-to-file): Don't sort
25753 `save-place-alist', just pretty-print it (bug#13882).
25755 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
25757 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
25758 Check whether `default-file-name-coding-system' is bound.
25759 It isn't in XEmacs.
25761 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
25763 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
25764 backquotes for `obsolete' (bug#13929).
25766 * international/mule.el (find-auto-coding): Include file name in
25767 obsolescence warning (bug#13922).
25769 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
25771 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
25772 for CFEngine 3-specific indentation.
25773 (cfengine3-indent-line): Use it. Fix up category regex.
25774 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
25776 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25778 * type-break.el (type-break-file-name):
25779 * textmodes/remember.el (remember-data-file):
25780 * strokes.el (strokes-file):
25781 * shadowfile.el (shadow-initialize):
25782 * saveplace.el (save-place-file):
25783 * ps-bdf.el (bdf-cache-file):
25784 * progmodes/idlwave.el (idlwave-config-directory):
25785 * net/quickurl.el (quickurl-url-file):
25786 * international/kkc.el (kkc-init-file-name):
25787 * ido.el (ido-save-directory-list-file):
25788 * emulation/viper.el (viper-custom-file-name):
25789 * emulation/vip.el (vip-startup-file):
25790 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
25791 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
25793 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
25795 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
25796 * language/thai-word.el: Switch to UTF-8.
25798 See ChangeLog.16 for earlier changes.
25800 ;; Local Variables:
25804 Copyright (C) 2011-2015 Free Software Foundation, Inc.
25806 This file is part of GNU Emacs.
25808 GNU Emacs is free software: you can redistribute it and/or modify
25809 it under the terms of the GNU General Public License as published by
25810 the Free Software Foundation, either version 3 of the License, or
25811 (at your option) any later version.
25813 GNU Emacs is distributed in the hope that it will be useful,
25814 but WITHOUT ANY WARRANTY; without even the implied warranty of
25815 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25816 GNU General Public License for more details.
25818 You should have received a copy of the GNU General Public License
25819 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.