1 2015-03-22 Dmitry Gutov <dgutov@yandex.ru>
3 * json.el (json-decode-char0): Delete this alias.
4 (json-encode-string): Rewrite to improve performance (bug#20154).
5 (json-encode-char): Fold into `json-encode-string'.
7 2015-03-22 Artur Malabarba <bruce.connor.am@gmail.com>
9 * menu-bar.el (menu-bar-update-buffers): Count displayed buffers
10 for `buffers-menu-max-size', not total buffers.
12 2015-03-21 Titus von der Malsburg <malsburg@posteo.de>
14 * window.el (window-font-width, window-font-height)
15 (window-max-chars-per-line): New functions.
17 * simple.el (default-font-height): Doc fix.
18 (default-font-width): New function.
20 2015-03-21 Tassilo Horn <tsdh@gnu.org>
22 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1): Also
23 recognize (cl-)defmethod with (setf method) name.
25 2015-03-20 Tassilo Horn <tsdh@gnu.org>
27 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1): Fix
28 false positive in function name font-locking.
29 (lisp-cl-font-lock-keywords-1): Ditto.
31 2015-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
33 * emacs-lisp/cl-macs.el (cl-defsubst): Ignore false-positive
34 occurrences of args via &cl-defs (bug#20149).
36 2015-03-20 Alan Mackenzie <acm@muc.de>
40 * font-lock.el (font-lock-extend-jit-lock-region-after-change):
41 Return the calculated values, as per spec.
43 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
45 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `at_exit'
46 and `callcc' to the "methods with required arguments" section,
47 they need a block argument. Remove a `throw' duplicate.
49 2015-03-19 Vibhav Pant <vibhavp@gmail.com>
51 * progmodes/cperl-mode.el (cperl-electric-backspace):
52 Call delete-backward-space interactively instead of delete-char.
54 2015-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
56 * emacs-lisp/pcase.el (pcase-lambda): Rewrite.
58 * emacs-lisp/eieio.el (object-slots): Return slot names as before
61 2015-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
63 EIEIO: Change class's representation to unify instance and class slots
64 * emacs-lisp/eieio-core.el (eieio--class): Change field names and order
65 to match those of cl--class; use cl--slot for both instance slots and
67 (eieio--object-num-slots): Use cl-struct-slot-info.
68 (eieio--object-class): Rename from eieio--object-class-object.
69 (eieio--object-class-name): Remove.
70 (eieio-defclass-internal): Adjust to new slot representation.
71 Store doc in class rather than in `variable-documentation'.
72 (eieio--perform-slot-validation-for-default): Change API to take
74 (eieio--slot-override): New function.
75 (eieio--add-new-slot): Rewrite.
76 (eieio-copy-parents-into-subclass): Rewrite.
77 (eieio--validate-slot-value, eieio--validate-class-slot-value)
78 (eieio-oref-default, eieio-oset-default)
79 (eieio--class-slot-name-index, eieio-set-defaults): Adjust to new
81 (eieio--c3-merge-lists): Simplify.
82 (eieio--class/struct-parents): New function.
83 (eieio--class-precedence-bfs): Use it.
85 * emacs-lisp/eieio.el (with-slots): Use macroexp-let2.
86 (object-class-fast): Change recommend replacement.
87 (eieio-object-class): Rewrite.
88 (slot-exists-p): Adjust to new slot representation.
89 (initialize-instance): Adjust to new slot representation.
90 (object-write): Adjust to new slot representation.
92 * emacs-lisp/eieio-opt.el (eieio--help-print-slot): New function
93 extracted from eieio-help-class-slots.
94 (eieio-help-class-slots): Use it. Adjust to new slot representation.
96 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
97 Declare to silence warnings.
98 (data-debug-insert-object-button): Avoid `object-slots'.
99 (data-debug/eieio-insert-slots): Adjust to new slot representation.
101 * emacs-lisp/eieio-custom.el (eieio-object-value-create)
102 (eieio-object-value-get): Adjust to new slot representation.
104 * emacs-lisp/eieio-compat.el
105 (eieio--generic-static-symbol-specializers):
106 Extract from eieio--generic-static-symbol-generalizer.
107 (eieio--generic-static-symbol-generalizer): Use it.
109 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
110 Manually map initargs to slot names.
111 (eieio-persistent-validate/fix-slot-value): Adjust to new
114 * emacs-lisp/cl-preloaded.el (cl--class): Fix type of `parents'.
116 2015-03-19 Vibhav Pant <vibhavp@gmail.com>
118 * leim/quail/hangul.el (hangul-delete-backward-char)
119 (hangul-to-hanja-conversion):
120 * progmodes/cperl-mode.el (cperl-electric-keyword)
121 (cperl-electric-backspace): Use delete-char instead of
122 delete-backward-char, fixes compilation warnings.
124 2015-03-18 Michael Albinus <michael.albinus@gmx.de>
126 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
127 Mark apostrophs with ?/ instead of \037. (Bug#20117)
129 2015-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
131 Add classes as run-time descriptors of cl-structs.
132 * emacs-lisp/cl-preloaded.el (cl--struct-get-class): New function.
133 (cl--make-slot-desc): New constructor.
134 (cl--plist-remove, cl--struct-register-child): New functions.
135 (cl-struct-define): Rewrite.
136 (cl-structure-class, cl-structure-object, cl-slot-descriptor)
137 (cl--class): New structs.
138 (cl--struct-default-parent): Initialize it here.
139 * emacs-lisp/cl-macs.el (cl--find-class): New macro.
140 (cl-defsubst, cl--defsubst-expand, cl--sublis): Move before first use.
141 (cl--struct-default-parent): New var.
142 (cl-defstruct): Adjust to new representation of classes; add
143 default parent. In accessors, signal `wrong-type-argument' rather than
145 (cl-struct-sequence-type, cl-struct-slot-info)
146 (cl-struct-slot-offset): Rewrite.
147 * emacs-lisp/cl-generic.el (cl--generic-struct-specializers)
148 (cl-generic-generalizers): Rewrite.
150 * emacs-lisp/macroexp.el (macroexp--debug-eager): New var.
151 (internal-macroexpand-for-load): Use it.
153 * emacs-lisp/debug.el (debug--implement-debug-on-entry):
154 Bind inhibit-debug-on-entry here...
155 (debug): Instead of here.
157 2015-03-18 Dima Kogan <dima@secretsauce.net>
159 Have gud-display-line not display source buffer in gud window.
160 * progmodes/gud.el (gud-display-line): Make display-buffer
161 not reuse selected window. (Bug#17675, Bug#19901, Bug#20034)
163 2015-03-17 Tassilo Horn <tsdh@gnu.org>
165 * emacs-lisp/byte-run.el (macro-declarations-alist):
166 New declaration no-font-lock-keyword.
167 (defmacro): Flush font-lock in existing elisp buffers.
169 * emacs-lisp/lisp-mode.el (lisp--el-update-after-load)
170 (lisp--el-update-macro-regexp, lisp--el-macro-regexp):
171 Delete functions and defconst.
172 (lisp--el-match-keyword): Rename from lisp--el-match-macro.
173 (lisp--el-font-lock-flush-elisp-buffers): New function.
174 (lisp-mode-variables): Remove code for updating
175 lisp--el-macro-regexp, and add
176 lisp--el-font-lock-flush-elisp-buffers to after-load-functions.
178 2015-03-17 Simen Heggestøyl <simenheg@gmail.com>
180 * textmodes/css-mode.el (css--font-lock-keywords):
181 Discriminate between pseudo-classes and pseudo-elements.
182 (css-pseudo-ids): Remove.
183 (css-pseudo-class-ids, css-pseudo-element-ids): New variables.
184 (css--complete-property): New function for completing CSS properties.
185 (css--complete-pseudo-element-or-class): New function
186 completing CSS pseudo-elements and pseudo-classes.
187 (css--complete-at-rule): New function for completing CSS at-rules.
188 (css-completion-at-point): New function.
189 (css-mode): Add support for completion.
190 (css-extract-keyword-list, css-extract-parse-val-grammar)
191 (css-extract-props-and-vals): Remove function in favor of manual
193 (css-at-ids): Update list of CSS at-rule ids.
194 (css-property-ids): Update list of CSS properties.
196 2015-03-17 Bozhidar Batsov <bozhidar@batsov.com>
198 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Font-lock
201 2015-03-17 Michael Albinus <michael.albinus@gmx.de>
203 * net/tramp-sh.el (tramp-maybe-send-script): Avoid leading tabs in
204 shell scripts. (Bug#20118)
206 2015-03-17 Eli Zaretskii <eliz@gnu.org>
208 * mouse.el (mouse-appearance-menu): If w32-use-w32-font-dialog is
209 nil, construct a menu of fixed fonts. This resurrects a feature
212 * w32-vars.el (w32-use-w32-font-dialog): Add a ':set' function to
213 reset mouse-appearance-menu-map, so the font dialog is recomputed
214 the next time the menu is requested.
215 (w32-fixed-font-alist): Fix to use correct names of Courier fonts.
217 2015-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
219 * emacs-lisp/cl-macs.el (cl--transform-lambda): Refine last change
222 2015-03-17 Michael Albinus <michael.albinus@gmx.de>
224 * net/tramp-sh.el (tramp-ssh-controlmaster-options): Change test
225 for ControlPath in order to avoid DNS timeouts. (Bug#20015)
227 2015-03-16 Alan Mackenzie <acm@muc.de>
229 Edebug: Allow "S" to work during trace mode. Fixes debbugs #20074.
230 Also display the overlay arrow in go and go-nonstop modes.
232 * emacs-lisp/edebug.el (edebug--display-1): Move the
233 `input-pending' test to after trace mode's `sit-for'.
234 (edebug--recursive-edit): Insert "(sit-for 0)" after
235 "(edebug-overlay-arrow)".
237 2015-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
239 * emacs-lisp/cl-macs.el (cl--transform-lambda): Rework to avoid
240 cl--do-arglist in more cases; add comments to explain what's going on.
241 (cl--do-&aux): New function extracted from cl--do-arglist.
242 (cl--do-arglist): Use it.
244 * emacs-lisp/cl-generic.el: Add Version: header, for ELPA purposes.
246 * obsolete/iswitchb.el (iswitchb-read-buffer): Add `predicate' arg.
247 * isearchb.el (isearchb-iswitchb): Adjust accordingly.
248 * ido.el (ido-read-buffer): Add `predicate' argument.
249 * misearch.el (unload-function-defs-list): Declare before use.
251 2015-03-16 Vibhav Pant <vibhavp@gmail.com>
253 * net/browse-url.el (browse-url-browser-function): Add "Conkeror".
254 (browse-url-conkeror-program, browse-url-conkeror-arguments)
255 (browse-url-conkeror-new-window-is-buffer): New defcustoms.
256 (browse-url-default-browser): Check for `browse-url-conkeror'
257 and call `browse-url-conkeror-program'.
258 (browse-url-conkeror): New command.
261 2015-03-16 Vibhav Pant <vibhavp@gmail.com>
263 * eshell/esh-mode.el (eshell/clear): New function.
265 2015-03-16 Alan Mackenzie <acm@muc.de>
267 Make Edebug work with Follow Mode.
269 * emacs-lisp/edebug.el (edebug--display-1): Remove call to
270 edebug-adjust-window.
271 (edebug--recursive-edit): Don't bind pre/post-command-hooks to nil
272 over the recursive edit.
273 (edebug-adjust-window): Remove.
275 2015-03-15 Michael Albinus <michael.albinus@gmx.de>
280 * net/tramp-smb.el: Set tramp-autoload cookie for all defcustoms.
282 * net/tramp.el (tramp-ssh-controlmaster-options)
283 (tramp-use-ssh-controlmaster-options): Move them to tramp-sh.el.
284 (tramp-default-method): Do not check for
285 `tramp-ssh-controlmaster-options'.
287 * net/tramp-sh.el (tramp-use-ssh-controlmaster-options):
288 New defcustom, moved from tramp.el.
289 (tramp-ssh-controlmaster-options): New defvar, moved from tramp.el
290 but with a nil initial value.
291 (tramp-ssh-controlmaster-options): New defun.
292 (tramp-do-copy-or-rename-file-out-of-band)
293 (tramp-maybe-open-connection): Use it. (Bug#20015)
295 2015-03-15 Tassilo Horn <tsdh@gnu.org>
297 * emacs-lisp/lisp-mode.el (lisp--el-macro-regexp): New defconst.
298 (lisp--el-update-macro-regexp, lisp--el-update-after-load)
299 (lisp--el-match-macro): New functions.
300 (lisp-mode-variables): Update lisp--el-macro-regexp and add
301 lisp--el-update-after-load to after-load-functions.
303 2015-03-15 Daniel Colascione <dancol@dancol.org>
305 * emacs-lisp/cl-indent.el
306 (lisp-indent-backquote-substitution-mode): New user option.
307 (common-lisp-indent-function-1, common-lisp-loop-part-indentation)
308 (common-lisp-indent-function): Support normally indenting
309 backquote substitutions.
310 (extended-loop-p): Rename to `lisp-extended-loop-p'.
312 2015-03-14 Michael R. Mauger <michael@mauger.com>
314 * progmodes/sql.el: Version 3.5
315 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): Match password prompts.
316 (sql-interactive-remove-continuation-prompt): Fix regression. (Bug#6686)
318 2015-03-14 Daniel Colascione <dancol@dancol.org>
320 * widget.el (define-widget): Check that documentation is a string
321 or nil; prevent wailing and gnashing of teeth when users forget to
322 pass a docstring and wonder why their properties don't work.
324 * startup.el (command-line): Process "--no-x-resources".
326 2015-03-13 Kevin Ryde <user42_kevin@yahoo.com.au>
328 info-look fixes for Texinfo 5
329 * info-look.el (c-mode, bison-mode, makefile-mode)
330 (makefile-automake-mode, texinfo-mode, autoconf-mode, awk-mode)
331 (latex-mode, emacs-lisp-mode, sh-mode, cfengine-mode):
332 Match `foo' and 'foo' and ‘foo’ for @item and similar.
333 (latex-mode): Match multi-arg \frac{num}{den} or \sqrt[root]{n} in
336 2015-03-12 Juri Linkov <juri@linkov.net>
338 * simple.el (next-line-or-history-element)
339 (previous-line-or-history-element): Remember the goal column of
340 possibly multi-line input, and restore it afterwards. (Bug#19824)
342 2015-03-12 Rasmus Pank Roulund <emacs@pank.eu>
344 * ido.el (ido-add-virtual-buffers-to-list): Include bookmark-alist
347 2015-03-12 Eli Zaretskii <eliz@gnu.org>
349 * international/fontset.el (script-representative-chars): Add a
350 representative character for 'vai'.
352 2015-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
354 * international/quail.el (quail-input-method):
355 Use with-silent-modifications.
357 * simple.el (goto-history-element): Don't burp on t history.
359 2015-03-10 Paul Eggert <eggert@cs.ucla.edu>
361 Prefer "initialize" to "initialise"
362 * progmodes/js.el (js-indent-first-init):
363 Rename from js-indent-first-initialiser, to avoid worrying about
364 American vs British spelling. All uses changed.
366 2015-03-10 Glenn Morris <rgm@gnu.org>
368 * progmodes/js.el (js-indent-first-initialiser):
369 Fix doc, type, version.
371 2015-03-10 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
373 * progmodes/js.el (js-indent-first-initialiser): New option.
374 (js--maybe-goto-declaration-keyword-end): New function.
375 (js--proper-indentation): Use js--maybe-goto-declaration-keyword-end.
377 2015-03-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
379 * net/ldap.el (ldap-attribute-syntaxes-alist): Add LDAP attributes
380 from RFC2798 Section 9.1.1. (Bug#8983)
382 2015-03-09 Nicolas Petton <nicolas@petton.fr>
384 * emacs-lisp/seq.el (seq-into): New function.
385 Bump seq.el version to 1.3.
387 2015-03-09 Dmitry Gutov <dgutov@yandex.ru>
389 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't consider
390 `=' a part of symbol when followed by `>'. (Bug#18644)
391 (ruby-syntax-before-regexp-re): Detect regexps after `!'.
394 2015-03-09 Eli Zaretskii <eliz@gnu.org>
396 * dired.el (dired-delete-file): Doc fix. (Bug#20021)
398 2015-03-06 Sergio Durigan Junior <sergiodj@sergiodj.net>
399 Thomas Fitzsimmons <fitzsim@fitzsim.org>
401 * net/eudcb-bbdb.el (eudc-bbdb-field): New function.
402 (eudc-bbdb-filter-non-matching-record): Call eudc-bbdb-field.
403 (eudc-bbdb-format-record-as-result): Likewise.
405 2015-03-08 Dmitry Gutov <dgutov@yandex.ru>
407 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
408 Use `font-lock-constant-face' for nil, true and false.
409 Highlight `self' as a keyword. (Bug#17733)
411 2015-03-08 Nobuyoshi Nakada <nobu@ruby-lang.org>
413 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
414 Expect beginning of regexp also after open brace or vertical bar.
417 2015-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
419 * battery.el (battery-echo-area-format): Simplify default.
420 (battery-linux-sysfs): Standardize on energy&power. Accept ADP1
423 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't try to
424 unfold `closure's since byte-compile-unfold-lambda doesn't know how to
427 2015-03-06 Oscar Fuentes <ofv@wanadoo.es>
429 * net/browse-url.el (browse-url-firefox): Remove outdated
430 MS-Windows limitations.
432 2015-03-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
434 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): Mark as
436 (eudc-ldap-cleanup-record-filtering-addresses): Add docstring.
437 Don't clean up postal addresses if ldap-ignore-attribute-codings
438 is set. Combine mail addresses into one field. (Bug#17720)
439 (eudc-ldap-simple-query-internal):
440 Call eudc-ldap-cleanup-record-filtering-addresses instead of
441 eudc-ldap-cleanup-record-simple.
442 (eudc-ldap-get-field-list): Likewise.
444 2015-03-05 Ivan Shmakov <ivan@siamics.net>
446 * net/eww.el (eww-html-p): New function (bug#20009).
447 (eww-render): Use it.
449 2015-03-05 Artur Malabarba <bruce.connor.am@gmail.com>
451 * desktop.el (desktop-buffer-info): Write docstring.
452 (desktop-buffer-info): Use `pushnew' instead of `add-to-list' and
455 * emacs-lisp/package.el (package-refresh-contents): Update doc.
457 2015-03-05 Dmitry Gutov <dgutov@yandex.ru>
459 * progmodes/js.el (js-mode-syntax-table): Add an entry for `.
461 2015-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
463 Replace *-function vars with generic functions in cl-generic.
464 * emacs-lisp/cl-generic.el (cl--generic-generalizer): New struct.
465 (cl-generic-tagcode-function, cl-generic-tag-types-function): Remove.
466 (cl--generic-t-generalizer): New const.
467 (cl--generic-make-method): Rename from `cl--generic-method-make'.
468 (cl--generic-make): Change calling convention.
469 (cl--generic): Add `options' field.
470 (cl-generic-function-options): New function.
471 (cl-defgeneric): Rewrite handling of options. Add support for :method
472 options and allow the use of a default body.
473 (cl-generic-define): Save options in the corresponding new field.
474 (cl-defmethod): Fix ordering of qualifiers.
475 (cl-generic-define-method): Use cl-generic-generalizers.
476 (cl--generic-get-dispatcher): Change calling convention, and change
477 calling convention of the returned function as well so as to take the
478 list of methods separately from the generic function object, so that it
479 can receive the original generic function object.
480 (cl--generic-make-next-function): New function, extracted from
481 cl--generic-make-function.
482 (cl--generic-make-function): Use it.
483 (cl-generic-method-combination-function): Remove.
484 (cl--generic-cyclic-definition): New error.
485 (cl-generic-call-method): Take a generic function object rather than
487 (cl-method-qualifiers): New alias.
488 (cl--generic-build-combined-method): Use cl-generic-combine-methods,
489 don't segregate by qualifiers here any more.
490 (cl--generic-standard-method-combination): Segregate by qualifiers
491 here instead. Add support for the `:extra' qualifier.
492 (cl--generic-cache-miss): Move earlier, adjust to new calling convention.
493 (cl-generic-generalizers, cl-generic-combine-methods):
494 New generic functions.
495 (cl-no-next-method, cl-no-applicable-method, cl-no-primary-method):
496 Use the new "default method in defgeneric" functionality, change
497 calling convention to receive a generic function object.
498 (cl--generic-head-used): New var.
499 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
500 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer):
502 * emacs-lisp/eieio-core.el (eieio--generic-generalizer)
503 (eieio--generic-subclass-generalizer): New consts.
504 (cl-generic-generalizers): New methods.
505 * emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer)
506 (eieio--generic-static-object-generalizer): New consts.
507 (cl-generic-generalizers) <(head eieio--static)>: New method.
508 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
509 Unfold closures like lambdas.
511 2015-03-04 Filipp Gunbin <fgunbin@fastmail.fm>
513 * autorevert.el (auto-revert-notify-add-watch):
514 Fix handler installation. (Bug#20000)
516 2015-03-04 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
518 * net/eww.el (eww-search-prefix, eww-open-file, eww-search-words)
519 (eww-same-page-p,eww-set-character-encoding): Fix docstring.
520 (eww): Do not end error messages with a period.
522 2015-03-04 Zhongwei Yao <ashi08104@gmail.com>
524 * net/tramp-adb.el (tramp-adb-connect-if-not-connected):
526 (tramp-adb-ls-toolbox-regexp): Fix regexp in order to support file
527 names starting with a space.
528 (tramp-methods): Add `tramp-default-port' for "adb".
529 (tramp-adb-parse-device-names): Add traces. Return device names
530 with port, if present.
531 (tramp-adb-handle-directory-files-and-attributes): Quote all
533 (tramp-adb-get-device): New defun.
534 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
536 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
537 variables. Remove checks for listed devices.
539 2015-03-04 Michael Albinus <michael.albinus@gmx.de>
541 * net/tramp.el (tramp): Add :link property.
542 (tramp-login-prompt-regexp): Allow also "user", as required by
544 (tramp-autoload-file-name-handler): Use "/".
545 (tramp-handle-unhandled-file-name-directory): Return nil when
546 required by the spec.
548 * net/tramp-cache.el (tramp-dump-connection-properties):
549 Use `with-temp-file'.
551 * net/tramp-sh.el (tramp-perl-file-attributes)
552 (tramp-perl-directory-files-and-attributes): Escape apostrophes in
554 (tramp-do-file-attributes-with-stat): Quote file name.
555 (tramp-sh-handle-directory-files-and-attributes): Fall back to
556 `tramp-handle-directory-files-and-attributes' in case of problems.
557 (tramp-do-directory-files-and-attributes-with-stat)
558 (tramp-sh-handle-file-name-all-completions)
559 (tramp-sh-handle-delete-directory)
560 (tramp-sh-handle-expand-file-name, tramp-sh-handle-process-file):
561 Normalize use of "cd".
562 (tramp-do-directory-files-and-attributes-with-stat): Use the
563 `quoting-style' arg of `ls' if possible. Make it also working for
564 file names with apostrophes.
565 (tramp-sh-handle-file-name-all-completions): Use arguments of `ls'
567 (tramp-do-copy-or-rename-file-via-buffer)
568 (tramp-sh-handle-file-local-copy): Use `with-temp-file'.
569 (tramp-get-remote-locale): Accept also \r in output.
570 (tramp-get-ls-command-with-quoting-style): New defun.
571 (tramp-get-inline-coding): Set `default-directory' to a local
572 directory. Sporadically, `call-process-region' does not handle a
573 remote default directory properly.
575 * net/trampver.el: Update release number.
577 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
579 * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
580 .dat files for aspell dicts are also searched for in location
581 described by `ispell-aspell-dict-dir', matching aspell's dict-dir
584 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
586 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
587 (ispell-hunspell-fill-dictionary-entry)
588 (ispell-find-hunspell-dictionaries)
589 (ispell-set-spellchecker-params): New generic name for
590 `ispell-hunspell-dictionary-equivs-alist'.
591 (ispell-aspell-add-aliases): Also use
592 `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
595 2015-03-03 Glenn Morris <rgm@gnu.org>
597 * net/browse-url.el (browse-url-firefox-startup-arguments):
599 (browse-url-firefox): Doc fix. Remove -remote, which no longer
600 exists in Firefox 36. (Bug#19921)
601 (browse-url-firefox-sentinel): Remove function.
603 2015-03-03 Eli Zaretskii <eliz@gnu.org>
605 * frame.el (blink-cursor-timer-function): Don't increment
606 blink-cursor-blinks-done counter when a menu is active on a w32
609 2015-03-03 Juri Linkov <juri@linkov.net>
611 * comint.el (comint-line-beginning-position): Revert searching for
612 the prompt when comint-use-prompt-regexp is non-nil because it
613 doesn't distinguish input from output. Check the field property
614 `output' for the case when comint-use-prompt-regexp is nil.
617 2015-03-03 Jérémy Compostella <jeremy.compostella@gmail.com>
619 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
620 with PAGER=cat. (Bug#19870)
622 2015-03-03 Glenn Morris <rgm@gnu.org>
624 * textmodes/flyspell.el (flyspell-duplicate-distance):
627 2015-03-03 Eli Zaretskii <eliz@gnu.org>
629 * textmodes/text-mode.el (text-mode-syntax-table): Make some
630 punctuation character behave as word-constituent, for more
631 compatibility with Unicode.
633 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
635 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
637 Improve string search in `flyspell-word-search-*`. (Bug#16800)
638 * textmodes/flyspell.el (flyspell-duplicate-distance):
639 Limit default search distance for duplicated words to 40000.
640 (flyspell-word-search-backward, flyspell-word-search-forward):
641 Search as full word with defined casechars, not as substring.
643 2015-03-03 Juri Linkov <juri@linkov.net>
645 Better support for the case of typing RET on the prompt in comint.
646 * comint.el (comint-get-old-input-default): Go to the field end
647 when comint-use-prompt-regexp is nil.
648 (comint-line-beginning-position): Check if point is already
649 on the prompt before searching for the prompt when
650 comint-use-prompt-regexp is non-nil. (Bug#19710)
652 2015-03-03 Eli Zaretskii <eliz@gnu.org>
654 * frame.el (frame-notice-user-settings): Refresh the value of
655 frame parameters after calling tty-handle-reverse-video.
656 Call face-set-after-frame-default with the actual parameters, to avoid
657 resetting colors back to unspecified.
658 (set-background-color, set-foreground-color): Pass the foreground
659 and background colors to face-set-after-frame-default. (Bug#19802)
661 2015-03-03 Wolfgang Jenkner <wjenkner@inode.at>
663 * net/network-stream.el (network-stream-open-tls): Respect the
664 :end-of-capability setting.
666 2015-03-03 Juri Linkov <juri@linkov.net>
668 Revert the previous change of comint-line-beginning-position callers,
669 and modify comint-line-beginning-position instead.
671 * comint.el (comint-history-isearch-search)
672 (comint-history-isearch-message, comint-history-isearch-wrap):
673 Use comint-line-beginning-position instead of field-beginning.
674 (comint-send-input): Use either end-of-line or field-end
675 depending on comint-use-prompt-regexp.
676 (comint-line-beginning-position): Search backward
677 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
678 Use field-beginning instead of line-beginning-position
679 if comint-use-prompt-regexp is nil. (Bug#19710)
681 2015-03-03 Robert Pluim <rpluim@gmail.com> (tiny change)
683 * calendar/todo-mode.el (todo-item-done): When done items are
684 hidden, restore point to its location prior to invoking this
687 2015-03-03 Eli Zaretskii <eliz@gnu.org>
689 * textmodes/artist.el (artist-ellipse-compute-fill-info):
690 Use mapcar, not mapc, to create the other half of fill-info.
693 2015-03-03 Nicolas Petton <nicolas@petton.fr>
695 * emacs-lisp/authors.el (authors-ignored-files)
696 (authors-renamed-files-alist): Additions.
698 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
700 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
701 tempfile for ControlPath. (Bug#19702)
703 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
705 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
706 ControlPath if possible. (Bug#19702)
708 2015-03-03 Glenn Morris <rgm@gnu.org>
710 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
711 (authors-valid-file-names, authors-renamed-files-alist): Additions.
713 2015-03-03 Alan Mackenzie <acm@muc.de>
715 CC Mode: Stop Font Lock forcing fontification from BOL. (Bug#19669)
716 * progmodes/cc-mode.el (c-font-lock-init):
717 Set font-lock-extend-region-functions to nil.
719 2015-03-03 Daniel Colascione <dancol@dancol.org>
721 * emacs-lisp/generator.el: Make globals conform to elisp
722 style throughout. Use more efficient font-lock patterns.
723 (cps-inhibit-atomic-optimization): Rename from
724 `cps-disable-atomic-optimization'.
725 (cps--gensym): New macro; replaces `cl-gensym' throughout.
726 (cps-generate-evaluator): Move the `iter-yield' local macro
728 (iter-defun, iter-lambda): from here.
730 (iter-defun): Use `macroexp-parse-body'.
732 2015-03-03 Daniel Colascione <dancol@dancol.org>
734 2015-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
736 * progmodes/gud.el: Use lexical-binding (bug#19966).
738 * emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases.
740 2015-03-03 Daniel Colascione <dancol@dancol.org>
742 * emacs-lisp/generator.el: Make globals conform to elisp
743 style throughout. Use more efficient font-lock patterns.
744 (cps-inhibit-atomic-optimization): Rename from
745 `cps-disable-atomic-optimization'.
746 (cps--gensym): New macro; replaces `cl-gensym' throughout.
747 (cps-generate-evaluator): Move the `iter-yield' local macro
749 (iter-defun, iter-lambda): ...from here.
751 2015-03-03 Artur Malabarba <bruce.connor.am@gmail.com>
753 * emacs-lisp/package.el (package-autoremove): Fix if logic.
755 2015-03-03 Martin Rudalics <rudalics@gmx.at>
757 * window.el (window--dump-frame): For pixel height return total
758 number of frame's lines.
760 2015-03-03 Daniel Colascione <dancol@dancol.org>
762 * emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun.
764 * emacs-lisp/generator.el (iter-defun): Correctly propagate
765 docstrings and declarations to underlying function.
767 2015-03-02 Daniel Colascione <dancol@dancol.org>
769 * emacs-lisp/generator.el: New file.
771 * vc/vc.el (vc-responsible-backend): Add autoload cookie for
772 `vc-responsible-backend'.
774 2015-03-01 Michael Albinus <michael.albinus@gmx.de>
776 * vc/vc-hooks.el (vc-state, vc-working-revision):
777 Use `vc-responsible-backend' in order to support unregistered files.
779 * vc/vc-rcs.el (vc-rcs-unregister): Support unregistered files.
781 * vc/vc-rcs.el (vc-rcs-fetch-master-state):
782 * vc/vc-sccs.el (vc-sccs-working-revision): Handle undefined
785 * vc/vc-src.el (vc-src-working-revision): Do not return an empty string.
787 2015-03-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
789 * net/shr.el (shr-insert): Remove soft hyphens.
790 (shr-insert): Also remove soft hypens from non-folded text.
792 2015-02-28 Eli Zaretskii <eliz@gnu.org>
794 * mail/rmailmm.el (rmail-mime-insert-html): Decode HTML payload
795 when the charset is only given by the HTML <head>, and allow to
796 specify the encoding with "C-x RET c".
798 2015-02-27 Mark Laws <mdl@60hz.org>
800 Support daemon mode on MS-Windows (bug#19688)
801 * server.el (server-process-filter): Force GUI frames on
802 MS-Windows in daemon mode, even if a TTY frame was requested.
804 * frameset.el (frameset-keep-original-display-p): Don't assume
805 windows-nt cannot be in daemon mode.
807 * frame.el (window-system-for-display): Don't assume windows-nt
808 cannot be in daemon mode.
810 2015-02-26 Ivan Shmakov <ivan@siamics.net>
812 * faces.el (face-list-p): Split from face-at-point.
813 (face-at-point): Use it.
814 * facemenu.el (facemenu-add-face): Likewise. (Bug#19912)
816 2015-02-26 Oscar Fuentes <ofv@wanadoo.es>
818 * vc/vc.el (vc-annotate-switches): New defcustom.
819 * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
820 (vc-bzr-annotate-command): Use vc-switches.
821 * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
822 (vc-cvs-annotate-command): Use vc-switches.
823 * vc/vc-git.el (vc-git-annotate-switches): New defcustom.
824 (vc-git-annotate-command): Use vc-switches.
825 * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
826 (vc-hg-annotate-command): Use vc-switches.
827 * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
828 (vc-mtn-annotate-command): Use vc-switches.
829 * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
830 (vc-svn-annotate-command): Use vc-switches.
832 2015-02-26 Alan Mackenzie <acm@muc.de>
834 Handle "#" operator properly inside macro. Fix coding bug.
836 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
837 On finding a "#" which looks like the start of a macro, check it
838 isn't already inside a macro.
840 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
841 "safe" position into the list of them when this is beyond our
844 2015-02-26 Martin Rudalics <rudalics@gmx.at>
846 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
847 the menu frame is dead. (Bug#19728)
849 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
851 python.el: Handle tabs in python-indent-dedent-line.
852 * progmodes/python.el (python-indent-dedent-line): Fixes for
853 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
855 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
857 * progmodes/python.el (python-indent-context): Respect user
858 indentation after comment.
860 2015-02-26 Tassilo Horn <tsdh@gnu.org>
862 * textmodes/reftex-vars.el (featurep): Conditionalize value of
863 reftex-label-regexps in order to stay compatible with XEmacs 21.5
864 which has no explicitly numbered groups in regexps (bug#19714).
866 2015-02-26 Daiki Ueno <ueno@gnu.org>
868 * net/dbus.el (dbus-register-signal): Convert "N" of ":argN" to
869 integer before comparison.
871 2015-02-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
873 * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
875 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
877 * emacs-lisp/check-declare.el (check-declare-warn):
878 Use compilation-style warnings.
879 (check-declare-files): Make sure that
880 `check-declare-warning-buffer' is in `compilation-mode'.
882 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
884 * emacs-lisp/check-declare.el (check-declare-ext-errors):
886 (check-declare): New defgroup.
887 (check-declare-verify): When `check-declare-ext-errors' is
888 non-nil, warn about an unfound function, instead of saying
889 "skipping external file".
891 2015-02-25 Tassilo Horn <tsdh@gnu.org>
893 * textmodes/reftex-vars.el (reftex-include-file-commands):
894 Call reftex-set-dirty on changes.
896 2015-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
898 * emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611).
899 * emacs-lisp/debug.el (debugger-env-macro): Remove redundant
902 2015-02-24 Glenn Morris <rgm@gnu.org>
904 * mail/rmailsum.el (rmail-summary-previous-all)
905 (rmail-summary-previous-msg): Simplify.
907 2015-02-25 Artur Malabarba <bruce.connor.am@gmail.com>
909 * simple.el (region-active-p): Fix doc to say non-nil.
911 2015-02-24 Samer Masterson <nosefrog@gmail.com>
913 * eshell/em-hist.el (eshell-hist-parse-word-designator):
914 Return args joined with " ".
915 * eshell/em-pred.el (eshell-parse-modifiers): Correct docstring.
916 (eshell-hist-parse-modifier): Pass mod a list instead of a string
919 2015-02-24 Karl Fogel <kfogel@red-bean.com> (tiny change)
921 * comint.el (comint-mode-map): Fix obvious typo.
923 2015-02-24 Johan Claesson <johanclaesson@bredband.net> (tiny change)
925 * filecache.el (file-cache-filter-regexps):
926 Add lock files. (Bug#19516)
928 2015-02-24 Glenn Morris <rgm@gnu.org>
930 * mail/rmailsum.el (rmail-summary-next-all)
931 (rmail-summary-previous-all, rmail-summary-next-msg):
932 Fix handling of optional argument. (Bug#19916)
934 * progmodes/f90.el (f90-beginning-of-subprogram)
935 (f90-end-of-subprogram, f90-match-end):
936 Handle continued strings where the continuation does not start
937 with "&" and happens to match our regexp. (Bug#19809)
939 2015-02-24 Bozhidar Batsov <bozhidar@batsov.com>
941 * comint.el (comint-clear-buffer): New command.
942 (comint-mode-map): Bind `comint-clear-buffer' to 'C-c M-o'.
944 2015-02-23 Pete Williamson <petewil0@googlemail.com> (tiny change)
946 Use ${EXEEXT} more uniformly in makefiles
947 * Makefile.in (EMACS): Append ${EXEEXT}.
949 2015-02-23 Sam Steingold <sds@gnu.org>
951 * files.el (recover-session): Handle `auto-save-list-file-prefix'
952 being a directory (empty non-directory part).
954 2015-02-23 Magnus Henoch <magnus.henoch@gmail.com>
956 * net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
957 instead of sasl-scram-sha-1, as the former is the name that can be
960 * net/sasl-scram-rfc.el (sasl-scram-sha-1-steps)
961 (sasl-scram-sha-1-client-final-message)
962 (sasl-scram-sha-1-authenticate-server): Move to end of file.
964 2015-02-23 Paul Eggert <eggert@cs.ucla.edu>
966 * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding.
969 2015-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
971 * emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare
972 and :documentation. Change return value format accordingly.
973 * emacs-lisp/cl-generic.el (cl--generic-lambda):
974 * emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly.
975 * emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body.
977 2015-02-23 Dmitry Gutov <dgutov@yandex.ru>
979 Introduce `xref-etags-mode'.
980 * progmodes/xref.el (xref-etags-mode--saved): New variable.
981 (xref-etags-mode): New minor mode. (Bug#19466)
983 2015-02-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
985 * dom.el (dom-previous-sibling): New function.
987 2015-02-21 Paul Eggert <eggert@cs.ucla.edu>
989 * bindings.el (ctl-x-map): There is no 'C-;'.
990 For now, make do with 'M-;'; this allows 'make bootstrap' to work.
991 Perhaps some other binding should be chosen. (Bug#19826)
993 2015-02-21 Artur Malabarba <bruce.connor.am@gmail.com>
995 * bindings.el (ctl-x-map): Fix `comment-line' binding. (Bug#19826)
997 2015-02-21 Michael Albinus <michael.albinus@gmx.de>
999 * autorevert.el (auto-revert-notify-add-watch)
1000 (auto-revert-notify-handler, auto-revert-buffers): Handle also
1001 buffers without an associated file, like dired buffers. (Bug#16112)
1003 2015-02-21 Dima Kogan <dima@secretsauce.net>
1005 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1006 (global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... )
1007 wrappers. Call (auto-revert-buffers) consequently in order to
1010 2015-02-21 Wilson Snyder <wsnyder@wsnyder.org>
1012 Sync with upstream verilog-mode revision 0d6420b.
1013 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1014 (vector-skip-list): Remove.
1015 (verilog-auto-inst-port, verilog-auto-inst-port-list)
1016 (verilog-auto-inst, verilog-auto-inst-param):
1017 Use arguments rather than vector-skip.
1018 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
1019 modport if signal attachment is itself a modport.
1020 Reported by Matthew Lovell.
1022 2015-02-21 Reto Zimmermann <reto@gnu.org>
1024 Sync with upstream vhdl mode v3.37.1. Add VHDL'08 support.
1025 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
1026 (vhdl-doc-release-notes): Update.
1027 (vhdl-standard): Add VHDL'08 option.
1028 (vhdl-sensitivity-list-all): New option.
1029 (vhdl-directive-keywords): Add psl.
1030 (vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
1031 (vhdl-template-construct-alist-init, vhdl-create-mode-menu):
1032 (vhdl-imenu-generic-expression): Add context, directive.
1033 (vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
1034 (vhdl-template-map-init): Add vhdl-template-context.
1035 (vhdl-mode-syntax-table): Support VHDL'08 block comments.
1036 (vhdl-create-mode-menu): Add some entries.
1037 (vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
1038 (vhdl-08-functions, vhdl-08-packages, vhdl-08-directives):
1040 (vhdl-directives): New variable.
1041 (vhdl-words-init, vhdl-template-process)
1042 (vhdl-template-replace-header-keywords): Support VHDL'08.
1043 (vhdl-abbrev-list-init): Add vhdl-directives.
1044 (vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
1045 (vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
1046 (vhdl-lineup-comment): Handle block comments and directives.
1047 (vhdl-beginning-of-directive, vhdl-template-context)
1048 (vhdl-template-context-hook): New functions.
1049 (vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
1050 (vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
1051 (vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
1052 (vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
1053 (vhdl-scan-context-clause): Add context.
1055 2015-02-20 Glenn Morris <rgm@gnu.org>
1057 * calendar/solar.el (solar-sunrise-sunset-string):
1058 Shorten message a little.
1059 (sunrise-sunset): Use message rather than a window. (Bug#19859)
1061 * progmodes/f90.el (f90-keywords-re, f90-procedures-re)
1062 (f90-font-lock-keywords-2): Some F2008 additions.
1064 2015-02-19 Dima Kogan <dima@secretsauce.net>
1066 * autorevert.el (auto-revert-buffers-counter)
1067 (auto-revert-buffers-counter-lockedout): New variables.
1068 (auto-revert-buffers): Increase `auto-revert-buffers-counter'.
1069 (auto-revert-notify-handler): Apply `auto-revert-handler' if not
1070 suppressed by lockout. (Bug#18958)
1072 2015-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1074 * emacs-lisp/eieio-opt.el (eieio-help-class): `eieio-class-parents'
1075 returns classes, not class names (bug#19891).
1077 * emacs-lisp/cl-macs.el (cl-struct-slot-value): Handle a nil type.
1079 * emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem.
1081 2015-02-18 Kelly Dean <kelly@prtime.org>
1083 * register.el (jump-to-register):
1084 * emacs-lisp/lisp.el (check-parens):
1085 Push mark before goto-char so user doesn't lose his previous place.
1087 2015-02-18 Kelly Dean <kelly@prtime.org>
1089 * rect.el (rectangle-mark-mode):
1090 Suppress superfluous "Mark set" message from push-mark.
1092 2015-02-18 Kelly Dean <kelly@prtime.org>
1094 * help-mode.el (help-go-back, help-go-forward, help-follow):
1095 * simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark):
1096 * winner.el (winner-redo):
1097 * windmove.el (windmove-do-window-select):
1098 * register.el (jump-to-register, increment-register, insert-register)
1099 (append-to-register, prepend-to-register):
1100 * files.el (find-alternate-file, abort-if-file-too-large, write-file)
1101 (set-visited-file-name):
1102 * emacs-lisp/lisp.el (kill-backward-up-list):
1103 Use user-error instead of error. (Bug#14480)
1105 2015-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1107 * emacs-lisp/checkdoc.el (checkdoc-show-diagnostics): Don't make bogus
1108 assumptions about window ordering.
1110 2015-02-16 Kelly Dean <kelly@prtime.org>
1112 * files.el (insert-file-contents-literally): Fix docstring typo.
1114 2015-02-16 Kelly Dean <kelly@prtime.org>
1116 * emacs-lisp/easy-mmode.el (define-minor-mode): Process macro
1117 arguments correctly. (Bug#19685)
1118 (define-minor-mode): Clarify docstring.
1119 Clarify mode switch messages for minor modes. (Bug#19690)
1121 2015-02-16 Kelly Dean <kelly@prtime.org>
1123 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1124 Create valid tar files. (Bug#19536)
1126 2015-02-16 Kelly Dean <kelly@prtime.org>
1128 * desktop.el (desktop-read): Conditionally re-enable desktop autosave.
1131 2015-02-16 Kelly Dean <kelly@prtime.org>
1133 * help-mode.el (help-do-xref): Prevent duplicated display of Info
1134 buffer, and prevent interference with existing buffer. (Bug#13190)
1136 2015-02-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
1138 python.el: Do not deactivate mark on shell fontification. (Bug#19871)
1140 * progmodes/python.el (python-shell-font-lock-post-command-hook):
1141 Do not deactivate mark on fontification.
1143 2015-02-16 Ivan Shmakov <ivan@siamics.net>
1145 * net/eww.el: Fix desktop support. (Bug#19226)
1146 (eww-mode): Add autoload cookie.
1147 (eww-restore-desktop): Use inhibit-read-only.
1149 * net/eww.el (eww-suggest-uris): Add autoload cookie, so that
1150 add-hook works correctly even if the file is not yet loaded.
1152 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
1154 * emacs-lisp/eieio.el (defclass): Use make-instance rather than
1156 (set-slot-value): Mark as obsolete.
1157 (eieio-object-class-name): Improve call to eieio-class-name.
1158 (eieio-slot-descriptor-name, eieio-class-slots): New functions.
1159 (object-slots): Use it. Declare obsolete.
1160 (eieio-constructor): Merge it with `make-instance'.
1161 (initialize-instance): Use `dolist'.
1162 (eieio-override-prin1, eieio-edebug-prin1-to-string):
1163 Use eieio--class-print-name.
1165 * emacs-lisp/eieio-core.el (eieio--class-print-name): New function.
1166 (eieio-class-name): Make it do what the docstring claims.
1167 (eieio-defclass-internal): Simplify since `prots' isn't used any more.
1168 (eieio--slot-name-index): Simplify accordingly.
1169 (eieio-barf-if-slot-unbound): Pass the class object rather than its
1170 name to `slot-unbound'.
1172 * emacs-lisp/eieio-base.el (make-instance): Add a method here rather
1173 than on eieio-constructor.
1175 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
1177 * emacs-lisp/cl-macs.el (cl-defstruct): Keep type=nil by default.
1178 * emacs-lisp/cl-preloaded.el (cl-struct-define): Add sanity checks
1179 about relationship between `type', `named', and `slots'.
1180 * emacs-lisp/cl-generic.el (cl--generic-struct-tagcode): Adjust to new
1181 value of `cl-struct-type' property.
1183 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
1185 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
1186 with PAGER=cat. (Bug#19870)
1188 2015-02-14 Artur Malabarba <bruce.connor.am@gmail.com>
1190 * emacs-lisp/package.el (package-read-all-archive-contents):
1191 Don't build the compatibility table.
1192 (package-refresh-contents, package-initialize): Do build the
1193 compatibility table.
1194 (package--build-compatibility-table): New function.
1195 (describe-package-1): Describe why a package is incompatible.
1197 2015-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
1199 * emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children
1201 (cl--assertion-failed): New function.
1202 (cl-assertion-failed): Move in from cl-lib.el.
1204 * emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register
1205 as children of its parents.
1206 (cl--make-type-test, cl--compiler-macro-typep): Remove functions.
1207 (cl-typep): Reimplement using define-inline.
1208 (cl-assert): Use cl--assertion-failed.
1209 (cl-struct-slot-value): Use define-inline.
1211 * emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload.
1213 * textmodes/flyspell.el (flyspell-word): Defvar (bug#19844).
1214 (flyspell-generic-check-word-p): Mark as obsolete.
1216 2015-02-13 Artur Malabarba <bruce.connor.am@gmail.com>
1218 * emacs-lisp/package.el (package--compatibility-table): New var.
1219 (package--add-to-compatibility-table): New function.
1220 (package-read-all-archive-contents): Populate compatibility table.
1221 (package--incompatible-p): Also look in dependencies.
1222 (describe-package-1): Fix "incompat" handling.
1224 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1226 * net/rfc2104.el: Moved here from lisp/gnus.
1228 2015-02-13 Magnus Henoch <magnus.henoch@gmail.com>
1230 * net/sasl-scram-rfc.el: New file.
1232 * net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5.
1233 Add SCRAM-SHA-1 first.
1234 (sasl-mechanism-alist): Remove SCRAM-MD5 entry. Add SCRAM-SHA-1
1237 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1239 * net/shr.el (shr-tag-li): Speed up rendering pages with lots of
1242 2015-02-12 Oleh Krehel <ohwoeowho@gmail.com>
1244 * progmodes/gdb-mi.el (gdb-display-io-nopopup): New defcustom.
1245 (gdb-inferior-filter): Don't pop up the buried output buffer when
1246 `gdb-display-io-nopopup' is non-nil.
1248 2015-02-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1250 python.el: Allow killing shell buffer if process is dead. (Bug#19823)
1252 * progmodes/python.el (python-shell-font-lock-kill-buffer):
1253 Don't require a running process.
1254 (python-shell-font-lock-post-command-hook): Fontify only if the
1255 shell process is running.
1257 2015-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1259 * hi-lock.el (hi-lock-unface-buffer): Don't call
1260 font-lock-remove-keywords if not needed (bug#19796).
1262 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
1264 * emacs-lisp/package.el (package-install): Invert the second
1265 argument, for better backwards compatibility.
1266 (package-install-button-action, package-reinstall)
1267 (package-menu-execute): Account for the change.
1269 2015-02-11 Nicolas Petton <nicolas@petton.fr>
1271 * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible
1272 version of seq-reverse that works on sequences in Emacs 24.
1273 Bump seq.el version to 1.2.
1275 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
1277 * emacs-lisp/package.el (package--incompatible-p): New function.
1278 Return non-nil if PKG has no chance of being installable.
1279 (package--emacs-version-list): New variable.
1280 (describe-package-1, package-desc-status)
1281 (package-menu--print-info, package-menu--status-predicate):
1282 Account for the "incompat" status.
1284 2015-02-11 Martin Rudalics <rudalics@gmx.at>
1286 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1287 Rename frame parameter `maximized' to `fullscreen-restore'.
1288 Restore fullwidth/-height after fullboth state. Update doc-strings.
1290 2015-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1292 * net/shr.el (shr-insert): Make sure the space inserted has the
1293 right font (for width).
1294 (shr-fill-line): Preserve background colours when indenting/folding.
1295 (shr-ensure-paragraph): Don't insert a new paragraph as the first
1298 2015-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1300 * net/shr.el (shr-use-fonts): New variable.
1301 (shr-fill-text): Rename from "fold".
1302 (shr-pixel-column, shr-pixel-region, shr-string-pixel-width):
1304 (shr-insert): Just insert, don't fill the text. Filling is now
1305 done afterwards per display unit.
1306 (shr-fill-lines, shr-fill-line): New functions to fill text on a
1308 (shr-find-fill-point): Take a "beginning" parameter.
1309 (shr-indent): Indent using the :width display parameter when using
1311 (shr-parse-style): Ignore "inherit" values, since we already do that.
1312 (shr-tag-img): Remove the insertion states.
1313 (shr-tag-blockquote): New-style filling.
1314 (shr-tag-dd): Ditto.
1315 (shr-tag-li): Ditto.
1316 (shr-mark-fill): New function to mark lines that need filling.
1317 (shr-tag-h1): Use a larger font.
1318 (shr-tag-table-1): Get the natural and suggested widths in one
1320 (shr-tag-table): Create the "fixed" version of the table only once
1321 so that we can cache data in the table.
1322 (shr-insert-table): Get colspan calculations right by having
1323 zero-width columns after colspan ones.
1324 (shr-expand-alignments): New function to make :align-to specs work
1325 right when rendered in one buffer and displayed in another one.
1326 (shr-insert-table-ruler): Use :align-to to get the widths right.
1327 (shr-make-table): Cache more.
1328 (shr-make-table-1): Use the new <td> data layout.
1329 (shr-pixel-buffer-width): New function.
1330 (shr-render-td): Add a caching layer.
1331 (shr-dom-max-natural-width): New function.
1332 (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering.
1333 (shr-tag-tt): New function.
1334 (shr-tag-hr): Compute the right length when using fonts.
1335 (shr-table-widths): Off-by-one error in width computation.
1336 (shr-expand-newlines): Remove dead code.
1337 (shr-insert-table): Extend background colors to the end of the column.
1338 (shr-insert-table): Only copy the background, not underline and
1340 (shr-face-background): New function.
1342 2015-02-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
1344 python.el: Improved shell font lock respecting markers. (Bug#19650)
1346 * progmodes/python.el
1347 (python-shell-font-lock-get-or-create-buffer): Use special buffer name.
1348 (python-shell-font-lock-with-font-lock-buffer): Enable font lock.
1349 (python-shell-font-lock-post-command-hook): Fontify by copying text
1350 properties from fontified buffer to shell, keeping markers unchanged.
1351 (python-shell-font-lock-turn-off): Fix typo.
1352 (python-util-text-properties-replace-name): Delete function.
1354 2015-02-09 Nicolas Petton <nicolas@petton.fr>
1356 * emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to
1357 return sequence elements in correct order.
1359 2015-02-09 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
1361 * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815).
1363 2015-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1365 * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body.
1367 * emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpected
1368 case where the default value would be re-interpreted as a form!
1370 2015-02-09 Christopher Genovese <genovese@cmu.edu> (tiny change)
1372 * help-fns.el (help-fns--signature): Keep doc for keymap.
1374 2015-02-09 Kelly Dean <kelly@prtime.org>
1376 * desktop.el: Save mark-ring less verbosely.
1377 (desktop-var-serdes-funs): New var.
1378 (desktop-buffer-info, desktop-create-buffer): Use it.
1379 (desktop-file-version): Update to 208.
1381 2015-02-09 Leo Liu <sdl.web@gmail.com>
1383 * emacs-lisp/pcase.el (pcase-lambda): New Macro. (Bug#19814)
1385 * emacs-lisp/lisp-mode.el (el-kws-re): Include `pcase-lambda'.
1387 * emacs-lisp/macroexp.el (macroexp-parse-body): New function.
1389 2015-02-08 Paul Eggert <eggert@cs.ucla.edu>
1391 Port to platforms lacking test -a and -o
1392 * Makefile.in (compile-clean):
1393 * net/tramp-sh.el (tramp-find-executable):
1394 Prefer '&&' and '||' to 'test -a' and 'test -o'.
1396 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1398 * newcomment.el (comment-line): Fix missing paren.
1400 2015-02-08 Ulrich Müller <ulm@gentoo.org>
1402 * play/gamegrid.el: Update comment to reflect that the
1403 'update-game-score' helper program is now setgid by default.
1405 2015-02-08 David Kastrup <dak@gnu.org>
1407 * subr.el (apply-partially): Use lexical binding here.
1409 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1411 * newcomment.el (comment-line): New command.
1413 * bindings.el (ctl-x-map): Bind to `C-x C-;'.
1415 2015-02-08 Oleh Krehel <ohwoeowho@gmail.com>
1417 * outline.el (outline-show-entry): Fix one invisible char for the
1418 file's last outline. (Bug#19493)
1420 2015-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1422 * subr.el (indirect-function): Change advertised calling convention.
1424 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1426 python.el: Fix completion-at-point. (Bug#19667)
1428 * progmodes/python.el
1429 (python-shell-completion-native-get-completions): Force process buffer.
1430 (python-shell-completion-at-point): Handle case where call is not
1433 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1435 python.el: Fix shell font-lock multiline input. (Bug#19744)
1437 * progmodes/python.el
1438 (python-shell-font-lock-post-command-hook): Handle multiline input.
1440 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1442 python.el: Make shell font-lock respect markers. (Bug#19650)
1444 * progmodes/python.el (python-shell-font-lock-cleanup-buffer):
1446 (python-shell-font-lock-comint-output-filter-function):
1448 (python-shell-font-lock-post-command-hook): Respect markers on
1451 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1453 python.el: Keep eldoc visible while typing args. (Bug#19637)
1454 * progmodes/python.el (python-eldoc--get-symbol-at-point):
1455 New function based on Carlos Pita <carlosjosepita@gmail.com> patch.
1456 (python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it.
1458 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1460 Fix hideshow integration. (Bug#19761)
1461 * progmodes/python.el
1462 (python-hideshow-forward-sexp-function): New function based on
1463 Carlos Pita <carlosjosepita@gmail.com> patch.
1464 (python-mode): Make `hs-special-modes-alist` use it and initialize
1465 the end regexp with the empty string to avoid skipping parens.
1467 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1469 * progmodes/python.el (python-check-custom-command): Do not use
1470 defvar-local for compat with Emacs<24.3.
1472 2015-02-07 Martin Rudalics <rudalics@gmx.at>
1474 * frame.el (frame-notice-user-settings):
1475 Update `frame-size-history'.
1476 (make-frame): Update `frame-size-history'.
1477 Call `frame-after-make-frame'.
1478 * faces.el (face-set-after-frame-default): Remove call to
1479 frame-can-run-window-configuration-change-hook.
1481 2015-02-06 Dmitry Gutov <dgutov@yandex.ru>
1483 * vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to
1484 `vc-cvs-command' (bug#19732).
1486 2015-02-06 Nicolas Petton <nicolas@petton.fr>
1488 * emacs-lisp/seq.el (seq-mapcat, seq-partition, seq-group-by):
1490 * emacs-lisp/seq.el (seq-drop-while, seq-take-while, seq-count)
1491 (seq--drop-list, seq--take-list, seq--take-while-list):
1494 2015-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1496 * doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. Use
1497 `image-kill-buffer' instead.
1499 2015-02-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1501 * net/ldap.el (ldap-search-internal): Fix docstring.
1503 2015-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1505 * subr.el (define-error): The error conditions may be constant
1506 lists, so use `append' to concatenate them.
1508 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
1510 * net/network-stream.el (network-stream-open-tls): Respect the
1511 :end-of-capability setting.
1513 2015-02-05 Artur Malabarba <bruce.connor.am@gmail.com>
1515 * emacs-lisp/package.el (package--sort-by-dependence):
1516 New function. Return PACKAGE-LIST sorted by dependencies.
1517 (package-menu-execute): Use it to delete packages in order.
1518 (package--sort-deps-in-alist): New function.
1519 (package-menu-mark-install): Can mark dependencies.
1520 (package--newest-p): New function.
1521 (package-delete): Don't deselect when deleting an older version of
1522 an upgraded package.
1524 * emacs-lisp/package.el: Add missing (require 'subr-x)
1526 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1528 * textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be
1529 hyphenated (bug#19263).
1531 * textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence
1532 of variable interpolation (bug#19751).
1534 2015-02-05 Era Eriksson <era+emacs@iki.fi>
1536 * json.el (json-end-of-file): New error (bug#19768).
1537 (json-pop, json-read): Use it.
1539 2015-02-05 Kelly Dean <kelly@prtime.org>
1541 * help-mode.el (help-xref-interned): Pass BUFFER and FRAME to
1542 `describe-variable'.
1544 * help-fns.el (describe-function-or-variable): New function.
1546 * help.el (help-map): Bind `describe-function-or-variable' to o.
1547 (help-for-help-internal): Document o key.
1549 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1551 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use new
1552 special (:documentation ...) feature.
1553 * emacs-lisp/eieio-core.el (eieio-make-class-predicate)
1554 (eieio-make-child-predicate): Same.
1555 (eieio-copy-parents-into-subclass): Remove unused arg.
1556 (eieio-defclass-internal): Adjust call accordingly and remove redundant
1558 (eieio--slot-name-index): Remove unused arg `obj' and adjust all
1559 callers accordingly.
1561 * emacs-lisp/cconv.el (cconv--convert-function):
1562 Add `docstring' argument.
1563 (cconv-convert): Use it to handle the new (:documentation ...) form.
1564 (cconv-analyze-form): Handle the new (:documentation ...) form.
1566 * emacs-lisp/bytecomp.el:
1567 (byte-compile-initial-macro-environment): Use macroexp-progn.
1568 (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
1569 (byte-compile-file-form-defvar-function): Rename from
1570 byte-compile-file-form-define-abbrev-table.
1571 (defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
1572 (byte-compile): Use byte-compile-top-level rather than
1573 byte-compile-lambda so we can compile non-values.
1574 (byte-compile-form): Add warnings for failed uses of lexical vars via
1576 (byte-compile-unfold-bcf): Improve message for failed inlining.
1577 (byte-compile-make-closure): Handle new format of internal-make-closure
1578 for dynamically-generated docstrings.
1580 * delsel.el: Deprecate the `kill' option. Use lexical-binding.
1581 (open-line): Delete like all other commands, instead of killing.
1582 (delete-active-region): Don't define any return any value.
1584 * progmodes/python.el: Try to preserve compatibility with Emacs-24.
1585 (python-mode): Don't assume eldoc-documentation-function has a non-nil
1588 2015-02-04 Sam Steingold <sds@gnu.org>
1590 * progmodes/python.el (python-indent-calculate-indentation):
1591 Avoid the error when computing top-level indentation.
1593 2015-02-04 Stefan Monnier <monnier@iro.umontreal.ca>
1595 * emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
1597 * textmodes/flyspell.el: Use lexical-binding and cl-lib.
1598 (mail-mode-flyspell-verify): Fix last change.
1599 (flyspell-external-point-words, flyspell-large-region):
1600 Avoid add-to-list on local vars.
1602 2015-02-04 Tassilo Horn <tsdh@gnu.org>
1604 * emacs-lisp/package.el (package-installed-p): Fix typo causing
1605 void-variable error.
1607 2015-02-04 Artur Malabarba <bruce.connor.am@gmail.com>
1609 * image-mode.el (image-kill-buffer): New command.
1610 (image-mode-map): Bind it to k.
1612 * emacs-lisp/package.el (package-delete): Remove package from
1613 `package-selected-packages' even if it can't be deleted.
1614 (package-installed-p): Accept package-desc objects.
1615 (package-install): Can be used to mark dependencies as
1616 selected. When given a package-desc object which is already
1617 installed, the package is not downloaded again, but it is marked
1618 as selected (if it wasn't already).
1619 (package-reinstall): Accept package-desc objects.
1621 2015-02-03 Artur Malabarba <bruce.connor.am@gmail.com>
1623 * emacs-lisp/package.el (package-delete): Document NOSAVE.
1624 (package--get-deps): delete-dups when ONLY is nil.
1625 (package-autoremove): Warn the user if `package-selected-packages'
1628 (package--user-selected-p): New function.
1629 (package-delete, package-install, package-install-from-buffer):
1631 (package-selected-packages): Mention it.
1633 (package-initialize): Don't populate `package-selected-packages'.
1634 (package-install-user-selected-packages, package-autoremove):
1635 Special handling for empty `package-selected-packages'.
1636 (package-install): Fix when PKG is a package-desc.
1638 (package-desc-status): Add "dependency" status to the Package
1640 (package-menu--status-predicate, package-menu--print-info)
1641 (package-menu-mark-delete, package-menu--find-upgrades)
1642 (package-menu--status-predicate, describe-package-1): Use it
1644 (package--removable-packages): New function.
1645 (package-autoremove): Use it.
1646 (package-menu-execute): Offer to remove unneeded packages.
1648 (package--read-pkg-desc, package-tar-file-info): Fix reference to
1651 2015-02-03 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1653 * emacs-lisp/package.el (package-reinstall): Don't change package's selected status.
1654 (package-delete): New NOSAVE argument.
1656 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
1658 * net/tramp-sh.el (tramp-histfile-override): Fix docstring.
1659 (tramp-open-shell, tramp-maybe-open-connection): Set also
1660 HISTFILESIZE and HISTSIZE when needed. (Bug#19731)
1662 2015-02-02 Artur Malabarba <bruce.connor.am@gmail.com>
1664 * emacs-lisp/package.el (package--find-non-dependencies):
1666 (package-initialize): Use it to populate `package-selected-packages'.
1667 (package-menu-execute): Clean unnecessary `and'.
1668 (package--get-deps): Fix returning duplicates.
1670 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
1672 * net/tramp-sh.el (tramp-histfile-override): Add another choice t.
1674 (tramp-open-shell, tramp-maybe-open-connection): Support it.
1677 2015-02-02 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1679 * emacs-lisp/package.el (package-delete): Remove package from
1680 package-selected-packages.
1681 (package-autoremove): Remove unneeded variable.
1683 2015-02-01 Artur Malabarba <bruce.connor.am@gmail.com>
1685 * emacs-lisp/package.el (package-selected-packages): Fix :type
1686 (package-install): Rename ARG to MARK-SELECTED.
1687 (package--get-deps): Fix for indirect dependencies.
1688 (package-used-elsewhere-p): Rename to
1689 (package--used-elsewhere-p): New function.
1690 (package-reinstall, package-user-selected-packages-install)
1691 (package-autoremove): Use sharp-quote.
1692 (package-user-selected-packages-install): Reindent and rename to
1693 (package-install-user-selected-packages): New function.
1695 2015-02-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1697 * emacs-lisp/package.el: Don't allow deleting dependencies.
1699 (package-used-elsewhere-p): New function.
1700 (package-delete): Use it, return now an error when trying to
1701 delete a package used as dependency by another package.
1703 Add a reinstall package command.
1704 (package-reinstall): New function.
1706 Add a package-autoremove command.
1707 (package-selected-packages): New user var.
1708 (package-install): Add an optional arg to notify interactive use.
1709 Fix docstring. Save installed package to
1710 packages-installed-directly.
1711 (package-install-from-buffer): Same.
1712 (package-user-selected-packages-install): Allow installing all
1713 packages in packages-installed-directly at once.
1714 (package--get-deps): New function.
1715 (package-autoremove): New function.
1716 (package-install-button-action): Call package-install with
1718 (package-menu-execute): Same but only for only for not installed
1721 2015-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1723 * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
1724 and eieio-make-child-predicate.
1725 (eieio-class-parents): Use eieio--class-object.
1726 (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
1727 (slot-exists-p): Use find-class.
1729 * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
1730 Use find-lisp-object-file-name, help-fns-short-filename and new calling
1731 convention for eieio-class-def.
1732 (eieio-build-class-list): Remove function, unused.
1733 (eieio-method-def): Remove button type, unused.
1734 (eieio-class-def): Inherit from help-function-def.
1735 (eieio--defclass-regexp): New constant.
1736 (find-function-regexp-alist): Use it.
1737 (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
1738 (eieio-help-find-method-definition, eieio-help-find-class-definition):
1741 * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
1742 Use cl-check-type everywhere instead.
1743 (eieio-class-object): Remove, use find-class instead when needed.
1744 (class-p): Don't inline.
1745 (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
1746 such as eieio classes, as objects. Don't inline.
1747 (object-p): Mark as obsolete.
1748 (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
1749 (eieio--generic-tagcode): Avoid `class-p'.
1750 (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
1751 (eieio-defclass-internal): Use current-load-list rather than
1754 * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
1756 2015-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1758 * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
1759 since it may be "equivalent" in some sense, yet different (bug#19734).
1761 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1763 * outline.el (outline-font-lock-face): Add docstring.
1764 (outline-invisible-p): Improve docstring.
1765 (outline-invent-heading): Add docstring.
1766 (outline-promote): Improve docstring.
1767 (outline-demote): Improve docstring.
1768 (outline-head-from-level): Improve docstring.
1769 (outline-end-of-heading): Add docstring.
1770 (outline-next-visible-heading): Improve docstring.
1771 (outline-previous-visible-heading): Improve docstring.
1772 (outline-hide-region-body): Improve docstring.
1773 (outline-flag-subtree): Add docstring.
1774 (outline-end-of-subtree): Add docstring.
1775 (outline-headers-as-kill): Improve docstring.
1777 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1779 * outline.el (outline-hide-entry): Rename from `hide-entry'.
1780 (hide-entry): Declare as obsolete.
1781 (outline-show-entry): Rename from `show-entry'.
1782 (show-entry): Declare as obsolete.
1783 (outline-hide-body): Rename from `hide-body'.
1784 (hide-body): Declare as obsolete.
1785 (outline-hide-region-body): Rename from `hide-region-body'.
1786 (hide-region-body): Declare as obsolete.
1787 (outline-show-all): Rename from `show-all'.
1788 (show-all): Declare as obsolete.
1789 (outline-hide-subtree): Rename from `hide-subtree'.
1790 (hide-subtree): Declare as obsolete.
1791 (outline-hide-leaves): Rename from `hide-leaves'.
1792 (hide-leaves): Declare as obsolete.
1793 (outline-show-subtree): Rename from `show-subtree'.
1794 (show-subtree): Declare as obsolete.
1795 (outline-hide-sublevels): Rename from `hide-sublevels'.
1796 (hide-sublevels): Declare as obsolete.
1797 (outline-hide-other): Rename from `hide-other'.
1798 (hide-other): Declare as obsolete.
1799 (outline-show-children): Rename from `show-children'.
1800 (show-children): Declare as obsolete.
1801 (outline-show-branches): Rename from `show-branches'.
1802 (show-branches): Declare as obsolete.
1804 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1806 * outline.el (outline-mode): Clean up docstring.
1807 (font-lock-warning-face): Remove obsolete declaration.
1808 (outline-font-lock-face): Remove obsolete comment.
1810 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1812 * custom.el (defface): Set `indent' to 1.
1814 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
1816 * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
1818 2015-01-30 Michal Nazarewicz <mina86@mina86.com>
1820 * files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
1821 is set, but user has just been asked whether they really want to
1822 kill Emacs (for example with a ‘Modified buffers exist; exit
1823 anyway?’ prompt), do not ask them for another confirmation.
1825 2015-01-29 Jay Belanger <jay.p.belanger@gmail.com>
1827 * calc/calc-units.el (calc-convert-exact-units): New function.
1828 (calc-convert-units): Check for missing units.
1829 (math-consistent-units-p): Strengthen the test for consistent units.
1831 * calc/calc-ext.el (calc-init-extensions): Autoload
1832 `calc-convert-exact-units' and assign it a keybinding.
1834 * calc/calc-help (calc-u-prefix-help): Add help for the
1837 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1839 * emacs-lisp/cl.el (cl--function-convert): Simplify.
1841 2015-01-28 Tassilo Horn <tsdh@gnu.org>
1843 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
1844 punctuation syntax since to allow bibtex fields with values such
1845 as {Test 1) and 2)} (bug#19205, bug#19707).
1846 (reftex--prepare-syntax-tables): New function.
1847 (reftex-mode): Use it.
1849 2015-01-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
1851 python.el: New non-global state dependent indentation engine.
1852 (Bug#18319, Bug#19595)
1853 * progmodes/python.el (python-syntax-comment-or-string-p):
1854 Accept PPSS as argument.
1855 (python-syntax-closing-paren-p): New function.
1856 (python-indent-current-level)
1857 (python-indent-levels): Mark obsolete.
1858 (python-indent-context): Return more context cases.
1859 (python-indent--calculate-indentation)
1860 (python-indent--calculate-levels): New functions.
1861 (python-indent-calculate-levels): Use them.
1862 (python-indent-calculate-indentation, python-indent-line):
1863 (python-indent-line-function): Rewritten to use new API.
1864 (python-indent-dedent-line): Simplify logic.
1865 (python-indent-dedent-line-backspace): Use `unless`.
1866 (python-indent-toggle-levels): Delete function.
1868 2015-01-28 Daniel Koning <dk@danielkoning.com> (tiny change)
1870 * subr.el (posnp): Correct docstring of `posnp'.
1871 (posn-col-row): Make it work with all mouse position objects.
1872 * textmodes/artist.el (artist-mouse-draw-continously):
1873 Cancel timers if an error occurs during continuous drawing. (Bug#6130)
1875 2015-01-28 Eli Zaretskii <eliz@gnu.org>
1877 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
1879 2015-01-28 Michael Albinus <michael.albinus@gmx.de>
1881 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
1883 (file-notify--descriptor): New defun.
1884 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
1885 Adapt docstring. Handle multiple values for
1886 `file-notify-descriptors' entries. (Bug#18880)
1888 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
1889 `file-notify-descriptors', the implementation has been changed.
1891 2015-01-28 Eli Zaretskii <eliz@gnu.org>
1893 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
1894 On MS-Windows, bind coding-system-for-read to the console output
1895 codepage. (Bug#19458)
1897 2015-01-28 Dmitry Gutov <dgutov@yandex.ru>
1899 Unbreak `mouse-action' property in text buttons.
1900 * button.el (push-button): Fix regression from 2012-12-06.
1902 2015-01-28 Glenn Morris <rgm@gnu.org>
1904 * progmodes/sh-script.el (sh-mode): Doc fix.
1905 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
1907 2015-01-28 Paul Eggert <eggert@cs.ucla.edu>
1909 Fix dired quoting bug with "Hit`N`Hide".
1910 * files.el (shell-quote-wildcard-pattern): Also quote "`". (Bug#19498)
1912 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1914 Tighten up the tagcode used for eieio and cl-struct objects.
1915 * loadup.el: Load cl-preloaded.
1916 * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
1917 slot of the tag symbol to :quick-object-witness-check.
1918 (eieio-object-p): Use :quick-object-witness-check.
1919 (eieio--generic-tagcode): Use cl--generic-struct-tag.
1920 * emacs-lisp/cl-preloaded.el: New file.
1921 * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
1922 (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
1923 (cl--make-usage-args): Strip away &aux args.
1924 (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
1925 (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
1926 (cl-defstruct): Use `declare' and cl-struct-define.
1927 * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
1928 (cl--generic-struct-tagcode): Use it to tighten the tagcode.
1930 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1932 * emacs-lisp/cl.el (cl--function-convert):
1933 Merge cache that cl--labels-convert adds (bug#19699).
1935 2015-01-27 Ivan Shmakov <ivan@siamics.net>
1937 * tar-mode.el: Allow for adding new archive members. (Bug#19274)
1938 (tar-new-regular-file-header, tar--pad-to, tar--put-at)
1939 (tar-header-serialize): New functions.
1940 (tar-current-position): Split from tar-current-descriptor.
1941 (tar-current-descriptor): Use it.
1942 (tar-new-entry): New command.
1943 (tar-mode-map): Bind it.
1945 2015-01-27 Sam Steingold <sds@gnu.org>
1947 * progmodes/python.el (python-check-custom-command): Buffer local
1948 because it usually includes the buffer name.
1949 (python-check-command): Set to epylint when pyflakes is not available.
1951 2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
1953 * isearch.el (isearch-process-search-char): Add docstring.
1955 2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
1957 * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
1959 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
1961 * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
1962 for the case cl-flet or cl-labels form is wrapped with lexical-let
1965 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1967 * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
1968 (cl--generic): The method-table is now a (list-of cl--generic-method).
1969 (cl--generic-member-method): New function.
1970 (cl-generic-define-method): Use it.
1971 (cl--generic-build-combined-method, cl--generic-cache-miss):
1972 Adapt to new method-table.
1973 (cl--generic-no-next-method-function): Add `method' argument.
1974 (cl-generic-call-method): Adapt to new method representation.
1975 (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
1976 (cl-find-method, cl-method-qualifiers): New functions.
1977 (cl--generic-method-info): Adapt to new method representation.
1978 Return a string for the qualifiers.
1979 (cl--generic-describe):
1980 * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
1981 (eieio-all-generic-functions, eieio-method-documentation):
1982 Adjust to new method representation.
1984 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
1986 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
1988 * emacs-lisp/cl-generic.el: Add a method-combination hook.
1989 (cl-generic-method-combination-function): New var.
1990 (cl--generic-lambda): Remove `with-cnm' arg.
1991 (cl-defmethod): Change accordingly.
1992 (cl-generic-define-method): Don't check qualifiers validity.
1993 Preserve all qualifiers in `method-table'.
1994 (cl-generic-call-method): New function.
1995 (cl--generic-nest): Remove (morph into cl-generic-call-method).
1996 (cl--generic-build-combined-method): Adjust to new format of method-table
1997 and use cl-generic-method-combination-function.
1998 (cl--generic-standard-method-combination): New function, extracted from
1999 cl--generic-build-combined-method.
2000 (cl--generic-cnm-sample): Adjust to new format of method-table.
2002 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
2003 instead of :primary.
2005 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2006 Remove obsolete function.
2008 2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
2010 * net/shr.el (shr-make-table-1): Fix colspan typo.
2011 (shr-make-table-1): Add comments.
2012 (shr-make-table-1): Make colspan display more sensibly.
2014 * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
2017 2015-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2019 * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
2020 (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
2022 (cl--generic-typeof-types): Add support for `sequence'.
2023 (cl-defmethod): Add non-keywords in the qualifiers.
2025 2015-01-25 Dmitry Gutov <dgutov@yandex.ru>
2027 * emacs-lisp/find-func.el (find-function-regexp): Don't match
2028 `defgroup' (regression from the previous change here).
2030 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2032 * net/ldap.el (ldap-search-internal): Mention binddn in invalid
2033 credentials error message.
2035 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2037 * net/ldap.el (ldap-password-read): Validate password before
2039 (ldap-search-internal): Handle ldapsearch error conditions.
2041 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2043 * net/ldap.el (ldap-password-read): Handle password-cache being nil.
2045 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2047 * net/eudc.el (eudc-expand-inline): Always restore former server
2050 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2052 * net/eudcb-ldap.el: Don't nag the user in case a default base is
2053 provided by the LDAP system configuration file.
2055 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2057 * net/eudc.el (eudc-format-query): Preserve the
2058 eudc-inline-query-format ordering of attributes in the returned list.
2059 * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
2060 Append the LDAP wildcard character to the last attribute value.
2062 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2064 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
2065 Downcase field names of LDAP results.
2066 (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
2068 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2070 * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
2071 (ldap-search-internal): Send password to ldapsearch through a pipe
2072 instead of via the command line.
2074 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2076 * net/ldap.el: Require password-cache.
2077 (ldap-password-read): New function.
2078 (ldap-search-internal): Call ldap-password-read when it is
2079 configured to be called.
2081 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2083 * net/eudc-vars.el (eudc-expansion-overwrites-query):
2084 Change default to nil.
2086 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2088 * net/eudc.el (eudc-expand-inline): Ignore text properties of
2091 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2093 * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
2094 format that includes first name and surname.
2096 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2098 * net/eudc-vars.el (eudc-inline-query-format): Change default to
2099 query email and first name instead of surname.
2101 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2103 * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
2105 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2107 * net/eudc-vars.el (eudc-server): Adjust docstring to mention
2108 eudc-server-hotlist.
2109 (eudc-server-hotlist): Move from eudc.el and make defcustom.
2110 * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
2111 (eudc-set-server): Allow setting protocol to nil.
2112 (eudc-expand-inline): Support hotlist-only expansions when server
2115 2015-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2117 * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
2118 (cl--generic-build-combined-method): Use it.
2120 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
2122 Don't downcase system diagnostics' first letters
2123 * emacs-lisp/bytecomp.el (byte-compile-file):
2124 * ffap.el (find-file-at-point):
2125 * files.el (insert-file-1):
2126 * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
2127 (ange-ftp-copy-file-internal):
2128 * progmodes/etags.el (visit-tags-table):
2129 Keep diagnostics consistent with system's.
2130 * ffap.el (ffap-machine-p):
2131 Ignore case while comparing diagnostics.
2133 2015-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2135 * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
2137 * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
2138 body with a docstring.
2140 2015-01-22 Dmitry Gutov <dgutov@yandex.ru>
2142 * progmodes/xref.el (xref-location-marker, xref-location-group):
2143 Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
2146 * progmodes/etags.el (xref-location-marker): Same.
2148 * progmodes/xref.el (xref--current): Rename from `xref--selected'.
2149 (xref--inhibit-mark-current): Rename from
2150 `xref--inhibit-mark-selected'. Update the usages.
2151 (xref-quit): Reword the docstring. Kill buffers after quitting
2152 windows instead of before.
2153 (xref--insert-xrefs): Tweak help-echo.
2154 (xref--read-identifier-history, xref--read-pattern-history):
2156 (xref--read-identifier, xref-find-apropos): Use them.
2158 2015-01-21 Ulrich Müller <ulm@gentoo.org>
2160 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2161 Allow the 'update-game-score' helper program to run suid or sgid.
2163 2015-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2165 * emacs-lisp/eieio.el: Use cl-defmethod.
2166 (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
2167 (eieio-object-name-string): Declare as obsolete.
2169 * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
2170 (eieio--specializers-apply-to-class-p): New function.
2171 (eieio-all-generic-functions): Use it.
2172 (eieio-method-documentation): Use it as well as cl--generic-method-info.
2173 Change format of return value.
2174 (eieio-help-class): Adapt accordingly.
2176 * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
2177 errors when there's a `before' but no `primary' (bug#19645).
2178 (next-method-p): Return nil rather than signal an error.
2179 (eieio-defgeneric): Remove bogus (fboundp 'method).
2181 * emacs-lisp/eieio-speedbar.el:
2182 * emacs-lisp/eieio-datadebug.el:
2183 * emacs-lisp/eieio-custom.el:
2184 * emacs-lisp/eieio-base.el: Use cl-defmethod.
2186 * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
2187 (cl--generic-setf-rewrite): Setup the setf expander right away.
2188 (cl-defmethod): Make sure the setf expander is setup before we expand
2190 (cl-defmethod): Silence byte-compiler warnings.
2191 (cl-generic-define-method): Shuffle code to change return value.
2192 (cl--generic-method-info): New function, extracted from
2193 cl--generic-describe.
2194 (cl--generic-describe): Use it.
2196 2015-01-21 Dmitry Gutov <dgutov@yandex.ru>
2198 * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
2199 the major mode. Remap `quit-window' to `xref-quit'.
2200 (xref--xref-buffer-mode): Inherit from special-mode.
2202 xref: Keep track of temporary buffers (bug#19466).
2203 * progmodes/xref.el (xref--temporary-buffers, xref--selected)
2204 (xref--inhibit-mark-selected): New variables.
2205 (xref--mark-selected): New function.
2206 (xref--show-location): Maybe add the buffer to
2207 `xref--temporary-buffers', add `xref--mark-selected' to
2208 `buffer-list-update-hook' there.
2209 (xref--window): Add docstring.
2210 (xref-quit): Rename from `xref--quit'. Update both references.
2211 Add KILL argument. When it's non-nil, kill the temporary buffers
2212 that haven't been selected by the user.
2213 (xref--show-xref-buffer): Change the second argument to alist,
2214 extract the values for `xref--window' and
2215 `xref--temporary-buffers' from it. Add `xref--mark-selected' to
2216 `buffer-list-update-hook' to each buffer in the list.
2217 (xref--show-xrefs): Move the logic of calling `xref-find-function'
2218 here. Save the difference between buffer lists before and after
2219 it's called as "temporary buffers", and `pass it to
2220 `xref-show-xrefs-function'.
2221 (xref--find-definitions, xref-find-references)
2222 (xref-find-apropos): Update accordingly.
2224 2015-01-20 Artur Malabarba <bruce.connor.am@gmail.com>
2226 * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
2228 2015-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2230 * emacs-lisp/eieio-generic.el: Remove.
2231 (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete.
2232 * emacs-lisp/eieio-compat.el: New file.
2233 * emacs-lisp/eieio.el: Don't require eieio-generic any more.
2234 * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
2235 Remove unused function.
2236 (eieio-defclass): Move to eieio-compat.el.
2237 * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
2238 (macroexp--expand-all): Use it.
2239 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
2241 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2243 * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
2244 major modes should use `add-function' to alter value of the variable.
2245 * hexl.el (hexl-mode):
2246 * ielm.el (inferior-emacs-lisp-mode):
2247 * progmodes/cfengine.el (cfengine3-mode):
2248 * progmodes/elisp-mode (emacs-lisp-mode):
2249 * progmodes/octave.el (octave-mode):
2250 * progmodes/python.el (python-mode):
2251 * simple.el (read--expression): Set `eldoc-documentation-function'
2252 using `add-function' so the default value is always used.
2254 * descr-text.el (describe-char-eldoc): New function returning
2255 basic Unicode codepoint information (e.g. name) about character
2256 at point. It is meant to be used as a default value of the
2257 `eldoc-documentation-function' variable.
2258 (describe-char-eldoc--format, describe-char-eldoc--truncate):
2259 New helper functions for `describe-char-eldoc' function.
2261 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2263 * textmodes/paragraphs.el (sentence-end-base): Include an
2264 ellipsis (…) and interrobang (‽) characters as end of a sentence,
2265 and a closing single quote (’) as an end of a quote.
2267 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2269 * textmodes/tildify.el (tildify-double-space-undos): A new
2270 variable specifying whether pressing space in `tildify-mode' after
2271 a space has been replaced with hard space undos the substitution.
2272 (tildify-space): Add code branch for handling `tildify-doule-space'.
2274 * textmodes/tildify.el (tildify-space): A new function
2275 which can be used as a `post-self-insert-hook' to automatically
2276 convert spaces into hard spaces.
2277 (tildify-space-pattern): A new variable specifying pattern where
2278 `tildify-space' should take effect.
2279 (tildify-space-predicates): A new variable specifying list of
2280 predicate functions that all must return non-nil for
2281 `tildify-space' to take effect.
2282 (tildify-space-region-predicate): A new functions meant to be
2283 used as a predicate in `tildify-space-predicates' list.
2284 (tildify-mode): A new minor mode enabling `tildify-space' as a
2285 `post-self-insert-hook'
2287 2015-01-20 Daniel Colascione <dancol@dancol.org>
2289 * vc/vc-dir.el (vc-dir): Default to repository root, not
2292 2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
2294 * progmodes/etags.el (xref-etags-location): New class.
2295 (xref-make-etags-location): New function.
2296 (etags--xref-find-definitions): Use it.
2297 (xref-location-marker): New method implementation.
2299 * progmodes/xref.el: Mention that xref-location is an EIEIO class.
2300 (xref--insert-xrefs): Expand help-echo string.
2302 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2304 * ido.el: Update Customization instructions.
2306 2015-01-19 Jonas Bernoulli <jonas@bernoul.li>
2308 Define Ido keymaps once (bug#17000).
2309 * ido.el (ido-common-completion-map)
2310 (ido-file-dir-completion-map)
2311 (ido-file-completion-map, ido-buffer-completion-map): Set up key
2312 bindings when each variable is defined.
2313 (ido-completion-map): Move definition.
2314 (ido-init-completion-maps): Noop.
2315 (ido-common-initialization): Don't call it.
2316 (ido-setup-completion-map): Improve doc-string, cleanup.
2318 2015-01-19 Ivan Shmakov <ivan@siamics.net>
2320 * cus-dep.el (custom-make-dependencies): Ensure that
2321 default-directory is interpreted as a directory (see bug#19140.)
2323 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2325 * progmodes/xref.el (xref--display-position):
2326 Set `other-window-scroll-buffer'.
2327 (xref-goto-xref): Use `user-error'.
2329 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2331 * progmodes/xref.el (xref--display-history): New variable.
2332 (xref--window-configuration): Remove.
2333 (xref--save-to-history): New function.
2334 (xref--display-position): Use it. Add new argument.
2335 (xref--restore-window-configuration): Remove.
2336 (xref--show-location, xref-show-location-at-point):
2338 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
2339 (xref--quit): New command.
2340 (xref-goto-xref): Use it.
2341 (xref--xref-buffer-mode-map): Bind `q' to it.
2343 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
2345 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
2346 indentation or at eol.
2348 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2350 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2351 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2353 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2355 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
2358 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
2359 introduction of a new dispatch argument.
2360 (cl--generic-cache-miss): Handle dispatch on an argument which was not
2361 considered as dispatchable for this method.
2362 (cl-defmethod): Warn when adding a method to an obsolete generic function.
2363 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
2365 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
2367 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
2369 * emacs-lisp/package.el (package--append-to-alist): Rename from
2370 `package--add-to-alist'
2371 Updated docstring due to new name.
2373 2015-01-18 Leo Liu <sdl.web@gmail.com>
2375 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
2376 multiple evaluation. (Bug#19519)
2378 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
2381 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2383 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2384 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2386 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2388 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
2390 (cl-struct-type-p): New function.
2392 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
2393 (cl-defmethod): Add edebug spec.
2394 (cl--generic-build-combined-method): Fix call to
2395 cl-no-applicable-method.
2396 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
2397 (cl--generic-isnot-nnm-p): New function.
2398 (cl--generic-lambda): Use it to add support for cl-next-method-p.
2399 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
2400 (cl-next-method-p): New function.
2402 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2404 * version.el (emacs-repository-get-version): Update docstring.
2406 2015-01-17 Ivan Shmakov <ivan@siamics.net>
2408 * files.el (find-file-other-window, find-file-other-frame):
2409 Use mapc instead of mapcar. (Bug#18175)
2411 * files.el (dir-locals-collect-variables): Use default-directory
2412 in place of the file name while working on non-file buffers, just
2413 like hack-dir-local-variables already does. (Bug#19140)
2415 * textmodes/enriched.el (enriched-encode):
2416 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
2419 * desktop.el (desktop-read): Do not call desktop-clear when no
2420 desktop file is found. (Bug#18371)
2422 * misearch.el (multi-isearch-unload-function): New function.
2423 (misearch-unload-function): New alias. (Bug#19566)
2425 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2427 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
2428 class-constructor, and make it an alias for `identity'.
2431 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
2432 argument here (bug#19620)...
2433 (defclass): ...instead of in the constructor here.
2435 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2437 * emacs-lisp/package.el (package-archive-priorities):
2438 Specify correct type.
2440 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2442 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
2444 (emacs-repository-get-version): Discard the Bazaar case.
2445 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
2446 emacs-bzr-version-dirstate and move from version.el to here.
2447 (vc-bzr-working-revision): Use it.
2449 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2451 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
2452 eieio--scoped-class any more.
2454 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
2455 (eieio--scoped-class): Remove function.
2456 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
2457 (eieio--slot-name-index): Don't check the :protection anymore.
2458 (eieio-initializing-object): Remove var.
2459 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
2461 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2463 Improve handling of doc-strings and describe-function for cl-generic.
2465 * help-mode.el (help-function-def): Add optional arg `type'.
2467 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
2469 (help-fns-short-filename): New function.
2470 (describe-function-1): Use it. Use autoload-do-load.
2472 * emacs-lisp/find-func.el: Use lexical-binding.
2473 (find-function-regexp): Don't rule out `defgeneric'.
2474 (find-function-regexp-alist): Document new possibility of including
2475 a function instead of a regexp.
2476 (find-function-search-for-symbol): Implement that new possibility.
2477 (find-function-library): Don't assume that `function' is a symbol.
2478 (find-function-do-it): Remove unused var `orig-buf'.
2480 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
2481 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
2482 (eieio--method-optimize-primary): Don't mess with the docstring.
2483 (defgeneric): Keep the `args' in the docstring.
2484 (defmethod): Don't use the method's docstring for the generic
2485 function's docstring.
2487 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
2488 (eieio-defclass-autoload): Don't record the superclasses any more.
2489 (eieio-defclass-internal): Reuse the old class object if it was just an
2491 (eieio--class-precedence-list): Load the class if it's autoloaded.
2493 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
2494 override an autoload.
2495 (cl-generic-current-method-specializers): Replace dyn-bind variable
2496 with a lexically-scoped macro.
2497 (cl--generic-lambda): Update accordingly.
2498 (cl-generic-define-method): Record manually in the load-history with
2499 type `cl-defmethod'.
2500 (cl--generic-get-dispatcher): Minor optimization.
2501 (cl--generic-search-method): New function.
2502 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
2503 (cl--generic-search-method): Add hyperlinks for methods. Merge the
2504 specializers and the function's arguments.
2506 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
2508 * emacs-lisp/package.el (package--read-pkg-desc):
2509 New function. Read a `define-package' form in current buffer.
2510 Return the pkg-desc, with desc-kind set to KIND.
2511 (package-dir-info): New function. Find package information for a
2512 directory. The return result is a `package-desc'.
2513 (package-install-from-buffer): Install packages from dired buffer.
2514 (package-install-file): Install packages from directory.
2515 (package-desc-suffix)
2516 (package-install-from-archive)
2517 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2518 Ensure all remaining instances of `package-desc-kind' handle the 'dir
2521 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2523 * emacs-lisp/package.el: Provide repository priorities.
2524 (package-archive-priorities): New variable.
2525 (package--add-to-alist): New function.
2526 (package--add-to-archive-contents): Use it.
2527 (package-menu--find-upgrades): Use it as well. Small clean up to
2528 make the use of the package name here explicit.
2529 (package-archive-priority): New function.
2530 (package-desc-priority-version): New function.
2532 2015-01-16 Daniel Colascione <dancol@dancol.org>
2534 * cus-start.el (all): Make `ring-bell-function' customizable.
2536 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
2538 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
2539 vc-svn-after-dir-status's second argument. (Bug#19429)
2541 2015-01-16 Samer Masterson <samer@samertm.com>
2543 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
2544 regardless of pcomplete-cycle-completions's value. (Bug#18950)
2546 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2548 * dom.el (dom-strings): New function.
2550 * files.el (directory-files-recursively): Don't use the word
2551 "path" for a file name.
2553 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
2555 * calc/calc-units.el (math-units-in-expr-p)
2556 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
2557 (math-extract-units): Handle the `neg' operator. (Bug#19582)
2559 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2561 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
2562 (cl--labels-convert): Use it to ask the macro what is its replacement
2565 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
2566 Return the value of the primary rather than the after method.
2568 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
2569 (eieio--generic-tagcode): New function.
2570 (cl-generic-tagcode-function): Use it.
2571 (eieio--generic-tag-types): New function.
2572 (cl-generic-tag-types-function): Use it.
2573 (eieio-object-p): Tighten up the test.
2575 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
2577 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2579 * emacs-lisp/cl-generic.el: New file.
2581 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
2582 (cl-load-time-value, cl-labels): Use closures rather than
2584 (cl-macrolet): Use `eval' to create the function value, and support CL
2585 style arguments in for the defined macros.
2587 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2589 * net/eww.el: Use lexical-binding.
2590 (eww-links-at-point): Remove unused arg.
2591 (eww-mode-map): Inherit from special-mode-map.
2592 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
2594 2015-01-13 Alan Mackenzie <acm@muc.de>
2596 Allow compilation during loading of CC Mode-derived modes (bug#19206).
2597 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
2598 New function which walks the stack to discover whether we're compiling
2600 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
2601 (cc-bytecomp-is-loading): New defsubst.
2602 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
2603 Use the above defsubsts.
2604 (cc-require-when-compile, cc-bytecomp-defvar)
2605 (cc-bytecomp-defun): Simplify conditionals.
2606 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
2607 "Borrow" this function from cc-bytecomp.el.
2608 (c-get-current-file): Reformulate using the above.
2609 (c-lang-defconst): Prevent duplicate entries of file names in a
2610 symbol's 'source property.
2611 (c-lang-const): Use cc-bytecomp-is-compiling.
2612 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
2613 Use cc-bytecomp-is-compiling.
2615 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2617 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
2620 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
2622 * menu-bar.el (menu-bar-goto-menu): Before calling
2623 `xref-marker-stack-empty-p', first check that `xref' is loaded.
2626 2015-01-12 Martin Rudalics <rudalics@gmx.at>
2628 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
2631 * frame.el (frame-notice-user-settings): Remove code dealing with
2632 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
2633 only if `window-system-frame-alist' or `default-frame-alist' ask
2635 (make-frame): Update frame-adjust-size-history if needed.
2637 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
2639 Have 'make' output better GEN names
2640 * Makefile.in (PHONY_EXTRAS): New macro.
2641 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
2642 relevant files' time stamps are ignored.
2643 (custom-deps, $(lisp)/cus-load.el, finder-data)
2644 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
2645 (custom-deps, $(lisp)/cus-load.el, finder-data)
2646 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
2647 ($(lisp)/subdirs.el, update-subdirs):
2648 Output more-accurate destination names with GEN.
2650 Say "ELC foo.elc" instead of "GEN foo.elc"
2651 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
2653 ($(THEFILE)c, .el.elc): Use them.
2655 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
2657 * files.el (directory-files-recursively): Do not include
2658 superfluous remote file names.
2660 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2662 * net/eww.el (eww): Interpret anything that looks like a protocol
2663 designator as a full URL.
2665 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2667 * net/shr.el (shr-urlify): Don't bother the user about
2668 invalidly-encoded display strings.
2670 2015-01-10 Ivan Shmakov <ivan@siamics.net>
2672 * net/shr.el (shr-urlify): Decode URLs before using them as titles
2675 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2677 * net/eww.el (eww): Always interpret URLs that start with https?:
2678 as plain URLs, even if they have spaces in them (bug#19556).
2679 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
2680 software" as an URL.
2681 (eww): Don't interpret "org/foo" as an URL.
2682 (eww): Clear the title when loading so that we don't display
2683 misleading information.
2685 2015-01-10 Daniel Colascione <dancol@dancol.org>
2687 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
2688 by analogy with dired.
2690 2015-01-09 Daniel Colascione <dancol@dancol.org>
2692 * progmodes/js.el (js--function-heading-1-re)
2693 (js--function-prologue-beginning): Parse ES6 generator function
2694 declarations. (That is, "function* name()").
2696 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2698 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
2699 that creates functions, and most of the sanity checks.
2700 Mark as obsolete the <class>-child-p function.
2701 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
2702 (eieio--class, eieio--object): Use cl-defstruct.
2703 (eieio--object-num-slots): Define manually.
2704 (eieio-defclass-autoload): Use eieio--class-make.
2705 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
2706 `(lambda...) definitions and most of the sanity checks to `defclass'.
2707 Mark as obsolete the <class>-list-p function, the <class> variable and
2708 the <initarg> variables. Use pcase-dolist.
2709 (eieio-defclass): New compatibility function.
2710 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
2711 (eieio-class-speedbar): Don't use eieio-default-superclass var.
2713 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2715 * emacs-lisp/eieio-generic.el: New file.
2716 * emacs-lisp/eieio-core.el: Move all generic function code to
2718 (eieio--defmethod): Declare.
2720 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
2721 function code to eieio-generic.el.
2722 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
2724 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
2725 to eieio--generic-call.
2726 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
2729 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2731 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
2732 Don't use <class> as a variable.
2734 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
2735 (call-next-method): Simplify.
2736 (clone): Obey eieio-backward-compatibility.
2738 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
2739 (eieio-read-generic): Use `generic-p' instead.
2741 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
2742 (eieio-defclass-autoload): Obey it.
2743 (eieio--class-object): Improve error behavior.
2744 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
2746 (eieio--defgeneric-form-primary-only): Rename from
2747 eieio-defgeneric-form-primary-only; update all callers.
2748 (eieio--defgeneric-form-primary-only-one): Rename from
2749 eieio-defgeneric-form-primary-only-one; update all callers.
2750 (eieio-defgeneric-reset-generic-form)
2751 (eieio-defgeneric-reset-generic-form-primary-only)
2752 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
2753 (eieio--method-optimize-primary): New function to replace them.
2754 (eieio--defmethod, eieio-defmethod): Use it.
2755 (eieio--perform-slot-validation): Rename from
2756 eieio-perform-slot-validation; update all callers.
2757 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
2758 Change `class' to be a class object. Update all callers.
2759 (eieio--validate-class-slot-value): Rename from
2760 eieio-validate-class-slot-value. Change `class' to be a class object.
2762 (eieio-oset-default): Accept class object as well.
2763 (eieio--generic-call-primary-only): Rename from
2764 eieio-generic-call-primary-only. Update all callers.
2766 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2767 Improve error messages.
2768 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
2769 well as user-defined types. Emit errors for legacy types like
2770 <class>-child and <class>-list, if not eieio-backward-compatibility.
2772 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2774 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
2775 (eieio--class-slot-initarg): Rename from class-slot-initarg.
2776 Change `class' arg to be a class object. Update all callers.
2777 (call-next-method): Adjust to new return value of `eieio-generic-form'.
2778 (eieio-default-superclass): Set var to the class object.
2779 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
2780 Change print behavior to affect class objects rather than
2783 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
2784 (eieio-class-parents-fast): Remove macro.
2785 (eieio--class-option-assoc): Rename from class-option-assoc.
2787 (eieio--class-option): Rename from class-option. Change `class' arg to
2788 be a class object. Update all callers.
2789 (eieio--class-method-invocation-order): Rename from
2790 class-method-invocation-order. Change `class' arg to be a class
2791 object. Update all callers.
2792 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
2793 a list of class objects rather than names.
2794 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
2795 for accessors to class allocated slots.
2796 (eieio--perform-slot-validation-for-default): Rename from
2797 eieio-perform-slot-validation-for-default. Update all callers.
2798 (eieio--add-new-slot): Rename from eieio-add-new-slot.
2799 Update all callers. Use push.
2800 (eieio-copy-parents-into-subclass): Adjust to new content of
2801 `parent' field. Use dolist.
2802 (eieio-oref): Remove support for providing a class rather than
2804 (eieio-oref-default): Prefer class objects over class names.
2805 (eieio--slot-originating-class-p): Rename from
2806 eieio-slot-originating-class-p. Update all callers. Use `or'.
2807 (eieio--slot-name-index): Turn check into assertion.
2808 (eieio--class-slot-name-index): Rename from
2809 eieio-class-slot-name-index. Change `class' arg to be a class object.
2811 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
2812 (eieio--c3-candidate): Rename from eieio-c3-candidate.
2814 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
2816 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
2818 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
2820 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
2821 Update all callers. Adjust to new `parent' content.
2822 (eieio--class-precedence-list): Rename from -class-precedence-list.
2824 (eieio-generic-call): Use autoloadp and autoload-do-load.
2825 Slight simplification.
2826 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
2827 return value of `eieio-generic-form'.
2828 (eieiomt-add): Index the hashtable with class objects rather than
2830 (eieio-generic-form): Accept class objects as well.
2832 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
2833 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
2834 (eieio-persistent-validate/fix-slot-value):
2835 Change `class' arg to be a class object. Update all callers.
2837 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2839 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
2840 additionally to class names.
2842 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
2843 (object): Remove first (constant) slot; rename second to `class-tag'.
2844 (eieio--object-class-object, eieio--object-class-name): New funs
2845 to replace eieio--object-class.
2846 (eieio--class-object, eieio--class-p): New functions.
2847 (same-class-fast-p): Make it a defsubst, change its implementation
2848 to check the class objects rather than their names.
2849 (eieio-object-p): Rewrite.
2850 (eieio-defclass): Adjust the object initialization according to the new
2852 (eieio--scoped-class): Declare it returns a class object (not a class
2853 name any more). Adjust calls accordingly (along with calls to
2854 eieio--with-scoped-class).
2855 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
2856 its class arg to be a class object. Adjust callers accordingly.
2857 (eieio-slot-originating-class-p): Make its start-class arg a class
2858 object. Adjust all callers.
2859 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
2860 Make its `class' arg a class object. Adjust all callers.
2862 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
2863 Use eieio--slot-name-index rather than eieio-slot-name-index.
2865 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2867 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
2869 (eieio-object-name): Use eieio-object-name-string.
2870 (eieio--object-names): New const.
2871 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
2872 using a hashtable rather than a built-in slot.
2873 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
2874 (clone): Don't mess with the object's "name".
2876 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
2877 (eieio-object-value-get): Use eieio-object-set-name-string.
2879 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
2880 (eieio--object): Remove `name' field.
2881 (eieio-defclass): Adjust to new convention where constructors don't
2882 take an "object name" any more.
2883 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
2884 (eieio-validate-slot-value, eieio-oset-default)
2885 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
2886 (eieio-generic-call-primary-only): Simplify.
2888 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
2889 Use call-next-method.
2890 (eieio-constructor): Rename from `constructor'.
2891 (eieio-persistent-convert-list-to-object): Drop objname.
2892 (eieio-persistent-validate/fix-slot-value): Don't hardcode
2893 eieio--object-num-slots.
2894 (eieio-named): Use a normal slot.
2895 (slot-missing) <eieio-named>: Remove.
2896 (eieio-object-name-string, eieio-object-set-name-string, clone)
2897 <eieio-named>: New methods.
2899 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2901 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
2902 (method-*): Add a "eieio--" prefix to those constants.
2904 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
2906 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
2908 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2910 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
2911 `eieio-default-superclass'.
2913 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
2915 * emacs-lisp/eieio-custom.el: Use lexical-binding.
2916 (eieio-object-value-to-abstract): Simplify.
2918 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
2919 (eieio-build-class-alist): Use dolist.
2920 (eieio-all-generic-functions): Adjust to use of hashtables.
2922 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
2923 symbol-hashtable. It contains a hashtable instead of an obarray.
2924 (generic-p): Use symbol property `eieio-method-hashtable' instead of
2925 `eieio-method-obarray'.
2926 (generic-primary-only-p, generic-primary-only-one-p):
2927 Slight optimization.
2928 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
2929 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
2930 (eieio-class-un-autoload): Use autoload-do-load.
2931 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
2932 Use new cl-deftype-satisfies. Adjust to use of hashtables.
2933 Don't hardcode the value of eieio--object-num-slots.
2934 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
2935 Use a closure rather than a backquoted lambda.
2936 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
2937 function-documentation property.
2938 (eieio-slot-originating-class-p, eieio-slot-name-index)
2939 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
2940 (eieio-generic-form): Adjust to use of hashtables.
2941 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
2942 additional class argument.
2943 (eieio-generic-call-methodname): Remove, unused.
2945 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
2948 2015-01-08 Eli Zaretskii <eliz@gnu.org>
2950 * simple.el (line-move-visual): When converting X pixel coordinate
2951 to temporary-goal-column, adjust the value for right-to-left
2952 screen lines. This fixes vertical-motion, next/prev-line, etc.
2954 2015-01-08 Glenn Morris <rgm@gnu.org>
2956 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
2958 2015-01-07 K. Handa <handa@gnu.org>
2960 * international/ccl.el (define-ccl-program): Improve the docstring.
2962 2015-01-06 Sam Steingold <sds@gnu.org>
2964 * shell.el (shell-display-buffer-actions): Remove,
2965 use `display-buffer-alist' instead.
2967 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
2969 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
2972 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
2974 * minibuffer.el (completion-category-defaults): New var.
2975 Set unicode-name to use substring completion.
2976 (completion-category-defaults): Set it to nil.
2978 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
2980 Add mouse interaction to xref.
2981 * progmodes/xref.el (xref--button-map): New variable.
2982 (xref--mouse-2): New command.
2983 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
2984 the inserted references.
2986 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
2988 Less 'make' chatter for lisp dir
2989 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
2990 to make it clearer that the caller must specify it.
2991 (compile-onefile): Remove, replacing by ...
2992 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
2993 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
2994 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2995 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2996 Use AM_V_GEN to lessen 'make' chatter.
2997 (.el.elc): Omit duplicate comment.
2999 Less 'make' chatter in batch mode
3000 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3001 * emacs-lisp/bytecomp.el (byte-compile-file):
3002 * files.el (save-buffer, basic-save-buffer):
3003 * international/quail.el (quail-update-leim-list-file):
3004 Don't output messages like "Generating ..." in batch mode.
3006 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
3008 Unbreak `mouse-action' property in text buttons.
3009 * button.el (push-button): Fix regression from 2012-12-06.
3011 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
3013 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
3015 * menu-bar.el (menu-bar-goto-menu): Use it.
3017 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
3019 * progmodes/xref.el (xref--window-configuration): New variable.
3020 (xref-show-location-at-point): New command.
3021 (xref--restore-window-configuration): New function.
3022 (xref-next-line, xref-prev-line): Delegate to
3023 `xref-show-location-at-point'.
3024 (xref--location-at-point): Don't signal the error.
3025 (xref-goto-xref): Do that here instead.
3026 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
3027 to `pre-command-hook'.
3028 (xref--xref-buffer-mode-map): Don't remap `next-line' and
3029 `previous-line'. Additionally bind `xref-next-line' and
3030 `xref-prev-line' to `n' and `p' respectively.
3031 Bind `xref-show-location-at-point' to `C-o'.
3033 2015-01-01 Eli Zaretskii <eliz@gnu.org>
3035 * tool-bar.el (tool-bar-local-item)
3036 (tool-bar-local-item-from-menu): Call force-mode-line-update to
3037 make sure the tool-bar changes show on display.
3039 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
3041 Sync with Tramp 2.2.11.
3043 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
3044 Make an alias for `default-toplevel-value' if it doesn't exist.
3046 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3047 Use `tramp-compat-delete-directory'.
3049 * net/trampver.el: Update release number.
3051 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
3053 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
3054 for remote files. (Bug#19449)
3056 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
3058 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
3060 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
3062 Less 'make' chatter in lisp directory
3063 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
3064 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
3065 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
3067 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
3069 * info.el (info-display-manual): Limit the completion alternatives
3070 to currently visited manuals if prefix argument is non-nil.
3072 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
3074 * Makefile.in (semantic): Simplify.
3076 2014-12-30 Juri Linkov <juri@linkov.net>
3078 * net/eww.el (eww-isearch-next-buffer): New function.
3079 (eww-mode): Set multi-isearch-next-buffer-function to it.
3081 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
3083 * progmodes/xref.el (xref-find-definitions): Mention "no
3084 identifier at point" case in the docstring.
3086 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
3087 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
3088 and `separator-tag-file' items.
3090 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
3092 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
3093 This is instead of system-name, which is both wrong here and obsolete.
3094 * desktop.el (desktop-save-frameset):
3095 * dnd.el (dnd-get-local-file-uri):
3096 * nxml/rng-uri.el (rng-uri-file-name-1):
3097 Prefer (system-name) to system-name, and avoid naming
3098 locals 'system-name'.
3099 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
3101 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3103 * menu-bar.el (menu-bar-next-tag-other-window)
3104 (menu-bar-next-tag): Remove.
3106 2014-12-29 K. Handa <handa@gnu.org>
3108 * international/mule.el (make-translation-table-from-alist):
3109 Accept nil or zero-length vector for FROM and TO.
3111 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
3113 * net/eww.el (eww-mode): Truncate overlong lines for prettier
3114 display when resizing.
3116 * net/shr.el (shr-width): Default to using the window width when
3119 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3121 Unbreak jumping to an alias's definition.
3122 * emacs-lisp/find-func.el (find-function-library): Return a pair
3123 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
3124 (find-function-noselect): Use it.
3125 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
3126 `elisp--xref-identifier-location', incorporate logic from
3127 `elisp--xref-find-definitions', use the changed
3128 `find-function-library' return value.
3130 2014-12-29 Juri Linkov <juri@linkov.net>
3132 * comint.el (comint-history-isearch-message): Use field-beginning
3133 instead of comint-line-beginning-position - that's more fixes for
3134 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
3135 (comint-history-isearch-message): Fix args of isearch-message-prefix.
3137 2014-12-29 Juri Linkov <juri@linkov.net>
3139 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
3140 (vc-dir-mode-map): Bind it to "\C-o".
3141 (vc-dir-menu-map): Add it to menu.
3143 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3145 * progmodes/etags.el (find-tag-other-window)
3146 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
3147 (tags-apropos): Declare obsolete.
3149 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
3152 2014-12-28 Eli Zaretskii <eliz@gnu.org>
3154 * international/mule.el (define-coding-system): Fix typos in the
3157 2014-12-28 Kenichi Handa <handa@gnu.org>
3159 * international/mule.el (define-coding-system): Improve the doc
3162 2014-12-28 Ivan Shmakov <ivan@siamics.net>
3164 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
3165 elements in tables (bug#19444).
3167 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
3170 2014-12-28 Juri Linkov <juri@linkov.net>
3172 * vc/compare-w.el: Require diff-mode for diff faces.
3173 (compare-windows-removed, compare-windows-added): New faces
3174 inheriting from diff faces.
3175 (compare-windows): Define obsolete face alias.
3176 (compare-windows-highlight): Replace face `compare-windows' with
3177 new faces `compare-windows-added' and `compare-windows-removed'
3179 (compare-windows-get-recent-window): Signal an error when
3180 no other window is found (bug#19170).
3182 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3184 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
3185 Skip features that have no sources.
3187 * simple.el (execute-extended-command):
3188 When `suggest-key-bindings' is nil, don't.
3190 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3192 python.el: Native readline completion.
3193 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
3194 (python-shell-completion-native-enable)
3195 (python-shell-completion-native-output-timeout): New defcustoms.
3196 (python-shell-completion-native-interpreter-disabled-p)
3197 (python-shell-completion-native-try)
3198 (python-shell-completion-native-setup)
3199 (python-shell-completion-native-turn-off)
3200 (python-shell-completion-native-turn-on)
3201 (python-shell-completion-native-turn-on-maybe)
3202 (python-shell-completion-native-turn-on-maybe-with-msg)
3203 (python-shell-completion-native-toggle): New functions.
3204 (python-shell-completion-native-get-completions): New function.
3205 (python-shell-completion-at-point): Use it.
3207 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3209 python.el: Enhance shell user interaction and deprecate
3210 python-shell-get-or-create-process.
3211 * progmodes/python.el (python-shell-get-process-or-error):
3213 (python-shell-with-shell-buffer): Use it.
3214 (python-shell-send-string, python-shell-send-region)
3215 (python-shell-send-buffer, python-shell-send-defun)
3216 (python-shell-send-file, python-shell-switch-to-shell): Use it.
3217 Add argument MSG to display user-friendly message when no process
3219 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
3220 (python-shell-make-comint): Rename argument SHOW from POP.
3221 Use display-buffer instead of pop-to-buffer.
3222 (run-python): Doc fix. Return process.
3223 (python-shell-get-or-create-process): Make obsolete.
3225 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3227 * progmodes/python.el (python-shell-buffer-substring):
3228 Handle cornercase when region sent starts at point-min.
3230 2014-12-27 Eli Zaretskii <eliz@gnu.org>
3232 * language/misc-lang.el (composition-function-table): Add Syriac
3233 characters and also ZWJ/ZWNJ.
3234 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
3237 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3239 python.el: Fix message when sending region.
3240 * progmodes/python.el (python-shell-send-region): Rename argument
3241 send-main from nomain. Fix message.
3242 (python-shell-send-buffer): Rename argument send-main from arg.
3244 python.el: Cleanup temp files even with eval errors.
3245 * progmodes/python.el (python-shell-send-file): Make file-name
3246 mandatory. Fix temp file removal in the majority of cases.
3248 python.el: Handle file encoding for shell.
3249 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
3250 (python-shell--save-temp-file): Write file with proper encoding.
3251 (python-shell-buffer-substring): Add coding cookie for detected
3252 encoding to generated content. Fix blank lines when removing
3254 (python-shell-send-file): Handle file encoding.
3255 (python-info-encoding-from-cookie)
3256 (python-info-encoding): New functions.
3258 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3260 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3261 Use `tramp-rsh-end-of-line', it ought to be more robust.
3263 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3265 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
3268 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3270 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
3272 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
3273 as end-of-line delimeter for passwords, when running on MS Windows.
3275 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3277 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
3278 of indent-line-function (bug#19433).
3280 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3282 Fix line numbers on Python shell.
3283 * progmodes/python.el (python-shell--save-temp-file): Do not
3284 append coding cookie.
3285 (python-shell-send-string): Generalize for
3286 python-shell-send-region.
3287 (python--use-fake-loc): Delete var.
3288 (python-shell-buffer-substring): Cleanup fake-loc logic.
3289 (python-shell-send-region): Remove fake-loc logic, simplify.
3291 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3293 * progmodes/python.el (python-indent-post-self-insert-function):
3294 Make colon to re-indent only for dedenters, handling
3295 multiline-statements gracefully.
3297 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3299 * net/tramp.el (tramp-handle-insert-file-contents):
3300 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
3302 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3304 * net/tramp-sh.el (tramp-send-command-and-read): New optional
3306 (tramp-get-remote-path): Use it.
3308 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3310 * subr.el (redisplay-dont-pause): Mark as obsolete.
3312 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3314 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
3315 (tramp-accept-process-output): Use nil as argument for
3316 `accept-process-output', when there is a gateway prepended.
3318 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
3320 (tramp-gw-open-connection): Set process coding system 'binary.
3321 (tramp-gw-open-network-stream): Handle HTTP error 403.
3323 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
3325 (tramp-maybe-open-connection): Set connection property "gateway".
3327 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3329 * subr.el (sit-for): Tweak docstring (bug#19381).
3331 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3333 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
3334 stage to after `diff-index' (bug#19386).
3336 2014-12-27 João Távora <joaotavora@gmail.com>
3338 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
3339 `electric-pair-mode' (bug#19356).
3341 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3343 elisp-xref-find: Don't create buffers eagerly.
3345 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
3346 into `elisp--company-location'.
3347 (elisp--identifier-completion-table): Rename to
3348 `elisp--identifier-completion-table', and do not include just any
3349 symbols with a property list.
3350 (elisp-completion-at-point): Revert the 2014-12-25 change.
3351 (elisp--xref-identifier-file): New function.
3352 (elisp--xref-find-definitions): Use it.
3354 * emacs-lisp/find-func.el (find-function-library): New function,
3355 extracted from `find-function-noselect'.
3357 * progmodes/xref.el (xref-elisp-location): New class.
3358 (xref-make-elisp-location): New function.
3359 (xref-location-marker): New implementation.
3361 2014-12-27 Juri Linkov <juri@linkov.net>
3363 * minibuffer.el (minibuffer-completion-help):
3364 Use shrink-window-if-larger-than-buffer in window-height
3365 when temp-buffer-resize-mode is nil.
3367 * window.el (with-displayed-buffer-window): Remove window-height
3368 from the action alist in the temp-buffer-window-show call
3369 when window-height is handled explicitly afterwards (bug#19355).
3371 2014-12-27 Juri Linkov <juri@linkov.net>
3373 Support subdirectories when saving places in dired.
3374 * saveplace.el (toggle-save-place, save-place-to-alist)
3375 (save-places-to-alist, save-place-dired-hook):
3376 Use dired-current-directory instead of dired-directory (bug#19436).
3377 (save-place-dired-hook): Add check for alist to make the new
3378 format future-proof to allow other possible formats.
3380 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3382 python.el: Generate clearer shell buffer names.
3383 * progmodes/python.el (python-shell-get-process-name)
3384 (python-shell-internal-get-process-name): Use `buffer-name`.
3385 (python-shell-internal-get-or-create-process): Simplify.
3387 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
3389 Add basic xref apropos implementation to elisp-mode.
3391 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
3392 Filter out nil results.
3393 (elisp--xref-find-apropos): New function.
3394 (elisp-xref-find): Use it.
3396 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
3398 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
3400 * dired-aux.el (dired-maybe-insert-subdir):
3401 Make dired-maybe-insert-subdir always skip trivial files.
3403 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
3404 Dmitry Gutov <dgutov@yandex.ru>
3406 Consolidate cross-referencing commands.
3408 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
3409 `C-x 5 .' from etags.el to xref.el.
3411 * progmodes/xref.el: New file.
3413 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
3414 (elisp--identifier-location): New function, extracted from
3415 `elisp--company-location'.
3416 (elisp--company-location): Use it.
3417 (elisp--identifier-completion-table): New variable.
3418 (elisp-completion-at-point): Use it.
3419 (emacs-lisp-mode): Set the local values of `xref-find-function'
3420 and `xref-identifier-completion-table-function'.
3421 (elisp-xref-find, elisp--xref-find-definitions)
3422 (elisp--xref-identifier-completion-table): New functions.
3424 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
3425 favor of `xref--marker-ring'.
3426 (tags-lazy-completion-table): Autoload.
3427 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
3428 (find-tag-noselect): Use `xref-push-marker-stack'.
3429 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
3430 (etags--xref-limit): New constant.
3431 (etags-xref-find, etags--xref-find-definitions): New functions.
3433 2014-12-25 Martin Rudalics <rudalics@gmx.at>
3435 * cus-start.el (resize-mini-windows): Make it customizable.
3437 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
3439 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
3440 to (info "(emacs)Contributing"). (Bug#19299)
3442 2014-12-24 Martin Rudalics <rudalics@gmx.at>
3444 * window.el (mouse-autoselect-window-position-1): New variable.
3445 (mouse-autoselect-window-cancel)
3446 (mouse-autoselect-window-select, handle-select-window):
3447 With delayed autoselection select window only if mouse moves after
3448 selecting its frame.
3450 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
3452 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
3453 remote file names. (Bug#18782)
3455 2014-12-23 Sam Steingold <sds@gnu.org>
3457 * shell.el (shell-display-buffer-actions): New user option.
3458 (shell): Pass it to `pop-to-buffer' instead of hard-coding
3459 `pop-to-buffer-same-window'.
3461 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
3463 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
3464 (js-syntax-propertize-regexp): Use it to recognize "slash in
3465 a character class" (bug#19397).
3467 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3469 * completion.el: Use post-self-insert-hook (bug#19400).
3470 (completion-separator-self-insert-command)
3471 (completion-separator-self-insert-autofilling): Remove.
3472 (completion-separator-chars): New var.
3473 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
3474 of changing the keymap.
3475 (completion--post-self-insert): New function.
3476 (dynamic-completion-mode): Use it instead of rebinding keys.
3477 (cmpl--completion-string): Rename from completion-string.
3478 (add-completion-to-head, delete-completion): Let-bind it explicitly.
3480 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
3482 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
3483 by leveraging `syntax-ppss'.
3485 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
3487 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
3489 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
3491 * net/tramp-sh.el (tramp-histfile-override): Add :version.
3493 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
3495 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
3497 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
3499 * let-alist.el (let-alist): Enable access to deeper alists by
3500 using dots inside the dotted symbols.
3502 2014-12-19 Alan Mackenzie <acm@muc.de>
3504 Make C++11 uniform init syntax work.
3505 New keywords "final" and "override".
3506 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
3508 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
3510 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
3511 carefully for "are we at a declarator?" using
3512 c-back-over-member-initializers.
3513 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
3514 and "override" in the C++ value.
3516 2014-12-19 Martin Rudalics <rudalics@gmx.at>
3518 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
3520 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
3522 * net/nsm.el (nsm-save-host): Don't save the host name twice
3525 2014-12-18 Sam Steingold <sds@gnu.org>
3527 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
3528 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
3529 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
3530 * menu-bar.el (menu-bar-buffer-vector): Extract from
3531 `menu-bar-update-buffers'.
3532 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
3533 (buffer-menu-open): New user command, bound globally to C-f10,
3534 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
3535 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
3536 convert the value returned by `mouse-buffer-menu-map' to a list
3537 acceptable to `popup-menu' for `buffer-menu-open'.
3539 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
3541 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
3543 2014-12-18 Sam Steingold <sds@gnu.org>
3545 * emacs-lisp/package.el: Avoid compilation warning by declaring
3546 the `find-library-name' function.
3547 (package-activate-1): Fix the `with-demoted-errors' calls:
3548 the first argument must be a string literal.
3550 2014-12-18 Martin Rudalics <rudalics@gmx.at>
3552 Add code for "preserving" window sizes.
3553 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
3555 (dired-mark-pop-up): Preserve size of window showing marked files.
3556 * electric.el (Electric-pop-up-window):
3557 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
3558 with `preserve-size' t.
3559 * minibuffer.el (minibuffer-completion-help):
3560 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
3561 (Bug#19355). Preserve size of completions window.
3562 * register.el (register-preview): Preserve size of register
3564 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
3565 with `preserve-size' t (Bug#1291).
3566 * window.el (with-displayed-buffer-window): Add calls to
3567 `window-preserve-size'.
3568 (window-min-pixel-size, window--preservable-size)
3569 (window-preserve-size, window-preserved-size)
3570 (window--preserve-size, window--min-size-ignore-p): New functions.
3571 (window-min-size, window-min-delta, window--resizable)
3572 (window--resize-this-window, split-window-below)
3573 (split-window-right): Amend doc-string.
3574 (window--min-size-1, window-sizable, window--size-fixed-1)
3575 (window-size-fixed-p, window--min-delta-1)
3576 (frame-windows-min-size, window--max-delta-1, window-resize)
3577 (window--resize-child-windows, window--resize-siblings)
3578 (enlarge-window, shrink-window, split-window): Handle preserving
3580 (adjust-window-trailing-edge): Handle preserving window
3581 sizes. Signal user-error instead of an error when there's no
3582 window above or below.
3583 (window--state-put-2): Handle horizontal scroll bars.
3584 (window--display-buffer): Call `preserve-size' if asked for.
3585 (display-buffer): Mention `preserve-size' alist member in doc-string.
3586 (fit-window-to-buffer): New argument PRESERVE-SIZE.
3587 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
3588 scroll bar on ispell's windows. Don't count window lines and
3589 don't deal with dedicated windows.
3590 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
3591 do the window handling.
3592 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
3593 (ispell-display-buffer): New function to reuse, create and fit
3594 window to ispell's buffers. (Bug#3413)
3596 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3598 * emacs-lisp/package.el (package-activate): Do not re-activate or
3599 reload the dependencies (bug#19390).
3601 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
3603 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
3604 (c-update-modeline):
3605 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
3606 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
3607 (c-mode-base-map): Use c-subword-mode.
3609 2014-12-18 Eli Zaretskii <eliz@gnu.org>
3611 * international/mule-diag.el (describe-font-internal):
3612 Display additional info returned by font-info.
3614 * linum.el (linum--face-width): Rename from linum--face-height,
3615 and use the new functionality of font-info.
3616 (linum-update-window): Use linum--face-width and frame-char-width,
3617 instead of approximating with height.
3619 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3621 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
3622 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
3624 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
3626 (package-activate): Call itself on dependencies on PACKAGE with
3627 the same FORCE argument. Pass FORCE as RELOAD into
3628 `package-activate-1' (bug#19390).
3630 2014-12-17 Sam Steingold <sds@gnu.org>
3632 * emacs-lisp/package.el (package--list-loaded-files):
3633 Handle `(nil ...)' elements in `load-history'.
3635 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
3637 * net/tramp-sh.el (tramp-histfile-override): New variable.
3638 (tramp-open-shell, tramp-maybe-open-connection): Use it.
3640 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
3642 * vc/vc.el: Improve `dir-status-files' description.
3644 * emacs-lisp/package.el (package--list-loaded-files): Don't call
3645 file-truename on load-history elements (bug#19390).
3647 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
3649 * emacs-lisp/seq.el: New file.
3651 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3653 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
3654 is 0 and there is no input pending.
3656 2014-12-15 Juri Linkov <juri@linkov.net>
3658 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
3659 only on the return value (bug#19383).
3661 2014-12-15 Juri Linkov <juri@linkov.net>
3663 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
3664 the wrapped search by the length of the search string to be able
3665 to lazy-highlight the whole search string at point (bug#19353).
3667 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3669 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
3671 2014-12-14 Alan Mackenzie <acm@muc.de>
3673 * cus-start.el (all): Add fast-but-imprecise-scrolling.
3675 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
3677 * let-alist.el: Add lexical binding.
3679 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
3681 * emacs-lisp/package.el (package-menu-mode): Use an extra column
3682 for the "Version" column, to accomodate date-and-time-based versions.
3684 2014-12-14 Cameron Desautels <camdez@gmail.com>
3686 * cus-edit.el (custom-unsaved-options): New function, extracted
3687 from `customize-unsaved'.
3688 (custom-unsaved): Use it.
3689 (custom-prompt-customize-unsaved-options): New function.
3692 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3694 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
3696 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3698 Move ASYNC argument to the `diff' VC command to the fifth
3699 position, for better compatibility with existing third-party code,
3702 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
3703 backend `diff' command in the last position.
3705 * vc/vc-svn.el (vc-svn-diff):
3706 * vc/vc-src.el (vc-src-diff):
3707 * vc/vc-sccs.el (vc-sccs-diff):
3708 * vc/vc-rcs.el (vc-rcs-diff):
3709 * vc/vc-mtn.el (vc-mtn-diff):
3710 * vc/vc-hg.el (vc-hg-diff):
3711 * vc/vc-git.el (vc-git-diff):
3712 * vc/vc-dav.el (vc-dav-diff):
3713 * vc/vc-cvs.el (vc-cvs-diff):
3714 * vc/vc-bzr.el (vc-bzr-diff):
3715 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
3717 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
3719 * emacs-lisp/cconv.el (cconv--analyze-use):
3720 Rename from cconv--analyse-use.
3721 (cconv--analyze-function): Rename from cconv--analyse-function.
3722 (cconv-analyze-form): Rename from cconv-analyse-form.
3724 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
3726 * net/shr.el (shr-next-link): Don't error out at eob.
3728 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3730 * isearch.el (isearch-open-necessary-overlays): Open overlay
3731 ending at point (bug#19333).
3733 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3735 * net/shr.el (shr-fold-text): New function.
3736 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
3738 (shr-fold-text): Inhibit state from being altered.
3740 * files.el (directory-files-recursively): Really check whether
3742 (directory-name-p): New function.
3743 (directory-files-recursively): Use it.
3745 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
3747 * emacs-lisp/package.el (package--list-loaded-files): New function
3748 to list files in a given directory which correspond to already
3750 (package-activate-1): Reload files given by `package--list-loaded-files'.
3751 Fix bug#10125, bug#18443, and bug#18448.
3753 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
3755 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
3757 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3759 * simple.el (password-word-equivalents): Add "passcode", used for
3760 numeric secrets like PINs or RSA tokens.
3762 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
3764 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
3765 order to determine `tramp-own-remote-path'.
3767 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3769 * progmodes/python.el (python-shell-parse-command):
3770 Quote `python-shell-interpreter`. (Bug#19289)
3772 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3774 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
3775 (python-indent-levels): Document extra value.
3776 (python-indent-calculate-indentation): Return `noindent' in strings.
3777 (python-indent-post-self-insert-function)
3778 (python-indent-calculate-levels): Handle new value.
3780 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3782 * net/network-stream.el (network-stream-open-starttls): No need to
3783 check for the availability of `gnutls-available-p'.
3785 * files.el (directory-files-recursively): Don't follow symlinks to
3788 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
3790 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
3791 * vc/vc.el: latest-on-branch-p is no longer a public method.
3793 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
3794 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
3795 Remove `rollback' method, to be replaced in the future by uncommit.
3797 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
3799 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
3800 that there is empty output.
3802 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3804 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
3805 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
3807 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
3809 * let-alist.el: Add new package and macro.
3811 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
3813 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
3814 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
3815 it's a shoot-self-in-foot archaism. Workfiles are always kept.
3817 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
3819 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
3820 trouble with ls over ftp. These flags result in ls returning no
3821 output, causing Tramp-breakage. (bug#19192)
3823 2014-12-10 Andreas Schwab <schwab@suse.de>
3825 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
3827 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3829 * files.el (directory-files-recursively):
3830 Use `file-name-all-completions' instead of `directory-files' for
3833 * net/shr.el (shr-tag-object): Don't bug out on text elements in
3836 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
3838 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
3840 (ruby-toggle-string-quotes): New command that allows you to quickly
3841 toggle between single-quoted and double-quoted string literals.
3843 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
3845 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
3846 list, avoids problems witt names containing hyphens.
3848 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
3850 Sync with upstream verilog-mode revision aa4b777.
3851 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3852 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
3853 (verilog-set-auto-endcomments): Automatically comment property/
3854 endproperty blocks to match other similar blocks like sequence/
3855 endsequence, function/endfunction, etc. Reported by Alex Reed.
3856 (verilog-set-auto-endcomments): Fix end comments for functions of
3857 type void, etc. Detect the function- or task-name when
3858 auto-commenting blocks that lack an explicit portlist.
3859 Reported by Alex Reed.
3860 (verilog-nameable-item-re): Fix nameable items that can have an
3861 end-identifier to include endchecker, endgroup, endprogram,
3862 endproperty, and endsequence. Reported by Alex Reed.
3863 (verilog-preprocessor-re, verilog-beg-of-statement):
3864 Fix indentation of property/endproperty around pre-processor
3865 directives. Reported by Alex Reed.
3866 (verilog-label-be): When auto-commenting a buffer, consider
3867 auto-comments on all known keywords (not just a subset thereof).
3868 Reported by Alex Reed.
3869 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
3870 Reported by Alex Reed.
3871 (verilog-beg-of-statement-1, verilog-at-constraint-p):
3872 Fix hanging with many curly-bracket pairs, bug663.
3873 (verilog-do-indent): Fix electric tab deleting form-feeds.
3874 Note caused by indent-line-to deleting tabls pre 24.5.
3875 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
3876 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
3877 (verilog-read-always-signals, verilog-auto-sense-sigs)
3878 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
3879 bug844. Reported by Greg Hilton.
3881 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
3883 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
3884 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
3885 'foreach', and 'do' keywords.
3886 (verilog-endcomment-reason-re, verilog-beg-of-statement):
3887 Fix labeling do-while blocks, bug842.
3888 (verilog-backward-token): Fix indenting sensitivity lists with
3889 named events, bug840.
3891 2014-12-09 Reto Zimmermann <reto@gnu.org>
3893 Sync with upstream vhdl mode v3.36.1.
3894 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3895 (vhdl-compiler-alist): Anchor all error regexps.
3896 (vhdl-compile-use-local-error-regexp): Change default to nil.
3897 (vhdl-asort, vhdl-anot-head-p): Remove.
3898 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
3899 Remove optional argument of vhdl-aget and update all callers.
3900 (vhdl-import-project): Also set `vhdl-compiler'.
3902 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3904 * files.el (find-files): New function.
3906 * net/shr.el (shr-dom-print): Don't print comments.
3907 (shr-tag-svg): Give inline SVG images the right type.
3909 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
3910 certificates in the header line.
3911 (eww-invalid-certificate, eww-valid-certificate): New faces.
3913 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
3915 * progmodes/python.el (inferior-python-mode):
3916 Set `comint-prompt-read-only` to `t` only locally.
3918 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3920 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
3921 (nsm-format-certificate): Include more data about the connection.
3922 (nsm-query): Fill the text to that it looks nicer.
3923 (nsm-check-protocol): Also warn if using SSL3 or older.
3925 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3927 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
3929 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
3931 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
3933 * info.el (Info-mode-map): Remove left-over binding.
3935 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
3936 (avl-tree--root): Remove redundant defsetf.
3938 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3940 * net/nsm.el (network-security-level): Remove the detailed
3941 description, which was already outdated, and refer the users to
3943 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
3946 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
3948 * net/eww.el (eww-buffers-mode): New major mode.
3949 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
3950 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
3951 New commands/functions (bug#19131).
3953 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3955 * net/gnutls.el (gnutls-negotiate): Ignore files found via
3956 'file-name-handler-alist' since the gnutls library can't use those
3959 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
3961 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
3962 when FILES is non-nil (bug#19304).
3964 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
3966 * vc/vc-arch.el: Move to obsolete directory so a test framework
3967 won't trip over bit-rot in it. There has been no Arch snapshot
3970 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3972 * net/eww.el (eww-follow-link): Revert prefix behaviour to
3974 (eww-copy-page-url): Add doc string.
3976 2014-12-07 Ivan Shmakov <ivan@siamics.net>
3978 * net/eww.el (eww): Move history recording here...
3979 (eww-browse-url): ... from here (bug#19253).
3981 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
3982 iterating over possible buffer names.)
3984 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3986 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
3987 (eww-current-buffer): Compilation fix for bug#18550 patch.
3989 2014-12-07 Ivan Shmakov <ivan@siamics.net>
3991 * net/eww.el (eww-list-histories): Restore the history in the
3992 correct buffer (bug#18550).
3994 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3996 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
3997 displaying shortened titles first (bug#16398).
3999 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
4001 * progmodes/python.el: Recognize docstrings.
4002 (python-docstring-at-p, python-font-lock-syntactic-face-function):
4004 (python-mode): Use them.
4006 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
4008 * net/newst-treeview.el (newsticker--treeview-list-add-item)
4009 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
4010 (newsticker--treeview-create-groups-menu)
4011 (newsticker--treeview-create-tree-menu): Remove.
4012 (newsticker--treeview-tree-open-menu): New.
4013 (newsticker-treeview-tree-click): Pass event to
4014 `newsticker-treeview-tree-do-click'.
4015 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
4017 2014-12-05 Juri Linkov <juri@linkov.net>
4019 * comint.el (comint-history-isearch-search)
4020 (comint-history-isearch-wrap): Use field-beginning instead of
4021 comint-line-beginning-position.
4022 (comint-send-input): Go to the end of the field instead of the end
4023 of the line to accept whole multi-line input.
4024 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
4026 2014-12-05 Juri Linkov <juri@linkov.net>
4028 * minibuffer.el (minibuffer-completion-help):
4029 Compare selected-window with minibuffer-window to check whether
4030 completions should be displayed near the minibuffer. (Bug#17809)
4031 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
4033 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
4035 * vc/vc-mtn.el (vc-mtn-root):
4036 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
4038 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4040 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
4041 of the whole pipe when indenting an opening keyword after a |.
4042 Generalize this treatment to opening keywords like "while" (bug#18031).
4044 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4046 * simple.el (newline): Place the hook buffer-locally,
4047 to make sure it's first.
4049 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
4050 Fix handling of symbols with different syntax at beginning/end or with
4051 symbol rather than word syntax.
4053 2014-12-05 Eli Zaretskii <eliz@gnu.org>
4055 * simple.el (line-move): If noninteractive, call line-move-1, not
4056 forward-line, since the former is compatible with line-move-visual
4057 both in terms of the column to which it moves and the return
4060 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4062 * vc/ediff-init.el (ediff-odd-p): Remove.
4063 (ediff-background-face): Use cl-oddp instead.
4064 (ediff-buffer-live-p): Make it a defsubst.
4066 * tooltip.el (tooltip-region-active-p): Remove.
4068 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
4069 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
4071 * fringe.el (fringe-bitmap-p): Make it a plain function.
4073 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
4074 (class-p, generic-p, eieio-object-p, class-abstract-p):
4075 Make them defsubst, so as to avoid corner case problems where
4076 the arg might be evaluated in the condition-case, or it can't be passed
4077 to higher-order functions like `cl-some'.
4079 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4081 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
4082 and remove old menu-related code.
4084 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4086 * net/eww.el (eww-display-pdf): Let mailcap determine how to
4087 display PDF files (bug#19270).
4089 2014-12-05 Juri Linkov <juri@linkov.net>
4091 Compare with the most recent window by default.
4092 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
4093 (compare-windows-get-recent-window)
4094 (compare-windows-get-next-window): New functions.
4095 (compare-windows, compare-windows-sync-default-function):
4096 Use `compare-windows-get-window-function' instead of `next-window'.
4097 (compare-windows): Add diff/match messages with region boundaries.
4100 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4102 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
4104 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4106 * net/shr.el (shr--extract-best-source): Ignore non-text children.
4108 2014-12-04 Eli Zaretskii <eliz@gnu.org>
4110 Implement copying of a buffer portion while preserving visual order.
4111 * simple.el (bidi-directional-controls-chars)
4112 (bidi-directional-non-controls-chars): New variables.
4113 (squeeze-bidi-context-1, squeeze-bidi-context)
4114 (line-substring-with-bidi-context)
4115 (buffer-substring-with-bidi-context): New functions.
4117 * files.el (file-tree-walk): Doc fix.
4119 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
4120 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4122 * autoinsert.el (auto-insert-alist): Update C/C++ header and
4123 program support to match more extensions. Replace non-alnum
4124 characters when generating include guards (headers) and check for
4125 more extensions when generating includes (programs)
4128 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
4130 * files.el (file-tree-walk): Fix docstring.
4132 2014-12-03 Karl Fogel <kfogel@red-bean.com>
4134 Fix bug whereby saving files hung in VC hook.
4136 Saving a buffer visiting a file under SVN control would hang if
4137 the remote repository were unreachable, because the VC hooks tried
4138 to run "svn status -u" on the file, where the "-u" tells svn to
4139 get update information from the remote repository.
4140 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
4142 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
4143 argument and always pass "-v" to "svn status", never "-u".
4145 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4147 * emacs-lisp/inline.el: Fix up copyright header.
4148 (inline-quote, inline-const-p, inline-const-val, inline-error):
4149 Silence compiler warnings.
4150 (inline-letevals): Fix edebug spec.
4151 (inline--testconst-p): Consider lambda expressions as const-p.
4152 (inline--getconst-val): Use inline--testconst-p.
4154 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
4155 and change default to stay in the minibuffer when called from
4156 the minibuffer (bug#19250).
4157 (lazy-completion-table): Use this new argument to preserve the
4160 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
4161 incorrect lexical elements (bug#19250).
4163 2014-12-03 A. N. Other <none@example.com>
4165 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
4167 2014-12-02 Glenn Morris <rgm@gnu.org>
4169 * whitespace.el (whitespace-big-indent-regexp): Add :version.
4171 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
4173 * subr.el (filter): New macro. Because it's just silly for a Lisp
4174 not to have this in 2014. And VC needs it.
4176 * vc.el: All backends: API simplification: Abolish dir-status.
4177 It's replaced by dir-status-files.
4179 * vc.el: All backends: API simplification: Remove 4th
4180 'default-state' argument from vc-dir-status files and its backend
4181 methods - no backend method ever set it. It was used only in the
4182 fallback method to to set a default of 'up-to-date, though a
4183 convoluted call chain obscured this.
4185 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
4187 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
4188 improving behavior on directories using multiple file-oriented VCSes.
4190 * vc/vc.el: All backends: API simplification; clear-headers
4191 is no longer a public method. It is now local to the one place
4192 it's used, in the RCS steal-lock method.
4194 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4196 * vc/vc.el: In all backends: API simplification; could-register
4197 is no longer a public method. (vc-cvs.el still has a private
4200 * vc/vc.el: In all backends: API cleanup; the backend diff method
4201 takes an explicit async flag. This eliminates a particularly ugly
4204 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
4205 VC randomly/unpredictably fails without it; cause not yet established.
4207 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4209 Merge some of the differences from the standalone CC-mode.
4210 The main change is to only use the `category' text-property only when
4211 available. For that many calls are changed to use c-get-char-property,
4212 c-next-single-property-change, c-sc-scan-lists,
4213 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
4215 * progmodes/cc-mode.el (c-just-done-before-change): New var.
4216 (c-basic-common-init): Initialize it.
4217 (c-common-init): Only use mode-require-final-newline when available.
4218 (c-before-change): Check and set c-just-done-before-change.
4219 (c-after-change): Re-set c-just-done-before-change.
4220 (c-advise-fl-for-region): New macro.
4221 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
4222 (font-lock-after-change-function, jit-lock-after-change):
4225 * progmodes/cc-langs.el (c-modified-constant): New lang var.
4226 (c-known-type-key): Don't make a list just to throw it away.
4228 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
4229 Handle the case where categories are not available.
4230 (c-record-parse-state-state, c-replay-parse-state-state):
4231 Handle marker values.
4232 (c-before-change-check-<>-operators): Look for the `syntax-table'
4233 property rather than for the corresponding `category'.
4234 (c-looking-at-decl-block): Remove unused var
4235 `c-disallow-comma-in-<>-arglists'.
4236 (c-forward-<>-arglist-recur): Remove unused var
4237 `orig-record-found-types'.
4239 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
4240 (c-use-category): New const.
4241 (c-next-single-property-change): New macro.
4242 (c-region-is-active-p): Prefer region-active-p when available.
4243 (c-search-backward-char-property): Fix old min/max typo; probably
4245 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
4246 Turn them into macros that obey c-use-category.
4247 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
4248 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
4249 (c-sc-scan-lists, c-sc-parse-partial-sexp)
4250 (c-looking-at-non-alphnumspace): New macros.
4251 (c-sc-parse-partial-sexp-no-category): New function.
4252 (c-emacs-features): Add `category-properties' element.
4254 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
4255 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
4257 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
4258 (c-indent-line-or-region): Use c-region-is-active-p.
4260 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
4261 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
4262 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
4263 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
4264 (cc-bytecomp-obsolete-fun): Delete unused functions.
4266 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
4268 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4270 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
4273 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4275 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
4276 current "project" rather than just the current directory.
4277 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
4278 the file names make sense.
4280 * vc/smerge-mode.el (smerge-swap): New command.
4282 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
4284 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
4286 * net/newst-treeview.el (newsticker--treeview-item-show):
4287 Check window liveliness before measuring its width.
4289 * net/newst-backend.el (newsticker--get-news-by-url-callback):
4290 Pass correct status to `newsticker--sentinel-work'.
4291 (newsticker--sentinel-work): Use "newsticker--download-error" as
4292 guid in order to prevent multiple "Could not download..."
4293 messages. (Bug#19166)
4295 2014-12-01 Ivan Shmakov <ivan@siamics.net>
4297 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
4298 correct buffer (bug#19225).
4300 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4302 * net/nsm.el (network-security-level): Change the default to `medium'.
4304 * net/eww.el (eww): Leave point in a place that doesn't cause
4305 scrolling when displaying "Loading...".
4307 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4309 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
4310 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
4311 'merge-branch'. Prompting for merge revisions is pushed down to
4312 the back ends; this fixes a layering violation that caused bad
4315 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4316 vc-stay-local-p and repository-hostname are no longer public
4317 methods. Only the CVS and SVN backends used these, and the SVN
4318 support was conditioned out because svn status -v is too slow.
4319 The CVS back end retains this machinery and the vc-stay-local
4320 configuration variable now only affects it.
4322 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4324 * emacs-lisp/inline.el: New file.
4326 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4328 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4329 vc-state-heuristic is no longer a public method, having been
4330 removed where it is redundant, unnecessary, or known buggy.
4331 This eliminated all backends except CVS. Eliminates bug#7850.
4333 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
4334 Eliminate vc-mistrust-permissions. It was only relevant to the
4335 RCS and SCCS back ends and defaulted to t. Code now always
4336 mistrusts permissions - by actual measurement the effect on
4337 performance is negligible. As a side effect bug#11490 is now
4340 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4341 vc-workfile-unchanged-p is no longer a public method (but the RCS
4342 and SCCS back ends retain it as a private method used in state
4343 computation). This method was redundant with vc-state and usually
4344 implemented as a trivial call to same. Fixes the failure mode
4345 described in bug#694.
4347 * vc/vc.el: All backends: API simplification; init-revision is
4348 gone, and vc-registered functions no longer take an
4349 initial-revision argument.
4351 2014-11-29 Glenn Morris <rgm@gnu.org>
4353 * vc/vc-src.el (vc-src, vc-src-diff-switches)
4354 (vc-src-master-templates): Fix :version tags.
4356 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
4358 * outline.el (outline-move-subtree-down): Refactor and improve code.
4360 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4361 Stefan Monnier <monnier@iro.umontreal.ca>
4363 * outline.el (outline-move-subtree-down): Make sure we can move
4364 forward to find the end of the subtree and the insertion point
4367 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4369 * progmodes/python.el (python-shell-completion-setup-code):
4370 Use __builtin__ module (or builtins in Python 3) and catch all errors
4371 when importing readline and rlcompleter.
4373 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4375 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
4376 (todo-revert-buffer): New function.
4377 (todo-modes-set-1): Use it as the buffer-local value of
4378 revert-buffer-function.
4380 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4382 * calendar/todo-mode.el (todo-mode): If called interactively, just
4383 display a message saying to call todo-show to enter Todo mode
4386 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
4388 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
4391 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
4394 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4396 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
4397 remote `buffer-file-name'.
4399 2014-11-29 Leo Liu <sdl.web@gmail.com>
4401 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
4403 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4405 Set PYTHONUNBUFFERED on shell startup.
4407 * progmodes/python.el (python-shell-unbuffered): New var.
4408 (python-shell-calculate-process-environment): Use it.
4410 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4412 * net/tramp.el (tramp-action-password): Clean password on subsequent
4413 attempts even if there was no wrong password indication. (Bug#19047)
4415 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
4417 (tramp-open-connection-setup-interactive-shell): No need to check
4418 for nil as `tramp-get-remote-locale' return value.
4420 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4422 * vc/vc-git.el (vc-git-command, vc-git--call):
4423 Bind coding-system-for-read and coding-system-for-write to
4424 vc-git-commits-coding-system.
4425 (vc-git-previous-revision): Use "~1" instead of "^", since the
4426 latter is a special character for MS-Windows system shells.
4428 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4430 Improve XEmacs compatibility.
4432 * net/tramp.el (tramp-autoload-file-name-handler):
4433 Wrap `temporary-file-directory' by `symbol-value', it doesn't
4435 (tramp-read-passwd): Don't use `with-timeout-suspend' and
4436 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
4437 (tramp-time-less-p, tramp-time-subtract): Remove functions.
4438 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
4439 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
4440 * net/tramp-cache.el (tramp-get-file-property):
4441 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
4442 Use `time-less-p' and `time-subtract, respectively.
4444 * net/tramp-adb.el (top): Do not require time-date.el.
4446 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
4448 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4449 Check, whether `utf-8' is a valid coding system.
4451 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4453 * vc/vc.el (vc-retrieve-tag): Doc fix.
4455 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4457 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
4460 2014-11-28 Martin Rudalics <rudalics@gmx.at>
4462 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
4463 * help.el (help-window-old-frame): New variable.
4464 (help-window-select): Default to nil (Bug#11039).
4466 (help-window-setup): When the help window appears on another
4467 frame and `help-window-select' is non-nil, give that frame input
4468 focus too (Bug#19012).
4469 (with-help-window): Store selected frame in
4470 help-window-old-frame.
4472 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
4474 * net/newst-treeview.el (newsticker--treeview-load): Take care of
4475 nil value for `newsticker-groups-filename'.
4477 2014-11-28 Daiki Ueno <ueno@gnu.org>
4479 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4480 (epa-sign-region, epa-encrypt-region):
4481 Use `epg-context-set-{passphrase,progress}-callback', instead of
4482 `setf'. This partially reverts commit 9e48a95c (bug#19150).
4483 Reported by José A. Romero L.
4485 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4487 * net/eww.el (eww-restore-history):
4488 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
4490 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4492 * net/newst-backend.el (newsticker--parse-atom-1.0):
4493 Handle embedded (x)html in summary node.
4495 2014-11-27 Sam Steingold <sds@gnu.org>
4497 * menu-bar.el (menu-bar-open): When everything else fails,
4498 use (mouse-menu-bar-map).
4500 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4502 * net/newst-treeview.el (newsticker-groups-filename):
4503 Change default value to nil. Point out that variable is obsolete in doc
4505 (newsticker--treeview-load): Change wording of the questions the
4506 user is asked when `newsticker-groups-filename' is found to be
4507 used and we offer to read and remove the groups file. (Bug#19165)
4509 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4511 * net/eww.el (eww): Record the new URL immediately, so that if the
4512 HTTP fetch fails, we have the right URL in the buffer.
4513 (eww-process-text-input): Don't shorten the input field if
4514 deleting at the last character (bug#19085).
4515 (eww-restore-history): Inhibit change functions while restoring
4517 (eww-process-text-input): Fix deletion at the start of the field, too.
4518 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
4519 (eww-process-text-input): Try to keep track of the size more reliably.
4521 * dom.el (dom-pp): New function.
4523 2014-11-27 Eli Zaretskii <eliz@gnu.org>
4525 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
4526 Don't assume --long is the default for "bzr log", always specify
4527 it explicitly, in case the user defined an alias for 'log' that
4528 uses some other format.
4530 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
4532 * progmodes/python.el (python-eldoc--get-doc-at-point):
4533 Strip shell output before returning. (bug#18794)
4535 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
4537 Fix indentation before `!=' and after `+='. Originally reported
4538 in https://github.com/mooz/js2-mode/issues/174.
4539 * progmodes/js.el (js--indent-operator-re): Make assignments and
4540 (in)equality operator a separate case.
4541 (js--continued-expression-p): Escape the second `+' in the regexp.
4543 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4545 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
4547 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4549 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
4550 when querying about new certificates.
4552 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
4554 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
4556 (dom-elements): Protect against non-text nodes.
4557 (dom-non-text-children): New function.
4559 * net/eww.el (eww-tag-title): Use `dom-text'.
4561 2014-11-26 Sam Steingold <sds@gnu.org>
4563 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
4565 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4567 * net/eww.el (eww-highest-readability): More dom.el fixes.
4569 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
4571 * net/newst-backend.el (newsticker--parse-generic-items):
4572 Take care of UIDs when adding elements to cache.
4574 2014-11-26 Alan Mackenzie <acm@muc.de>
4576 Remove spurious reference to symbol category_properties.
4577 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
4579 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4581 * net/eww.el: Use the new dom.el accessors throughout.
4583 * net/shr.el: Ditto.
4587 2014-11-26 Glenn Morris <rgm@gnu.org>
4589 * arc-mode.el (archive-visit-single-files): Add :version.
4591 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4593 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
4595 (nsm-warnings-ok-p): The new version of this function always
4596 returned nil when everything was OK.
4598 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
4600 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
4602 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
4603 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
4605 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4607 * emacs-lisp/byte-run.el (function-put): Match argument names to
4610 2014-11-24 Sam Steingold <sds@gnu.org>
4612 * vc/vc-hooks.el (vc-directory-exclusion-list):
4613 Fix a trivial typo (bug#19171).
4615 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4617 * vc/vc-hooks.el (vc-state-base-face): Don't override
4620 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4622 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
4623 (eww-process-text-input): Inhibit read only so that input fields
4624 don't get shortened (bug#19085).
4626 2014-11-24 Leo Liu <sdl.web@gmail.com>
4628 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
4630 * window.el (with-temp-buffer-window)
4631 (with-current-buffer-window, with-displayed-buffer-window):
4632 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
4633 * emacs-lisp/cl-lib.el (substring):
4634 * emacs-lisp/cl-extra.el (cl-getf): Use it.
4636 2014-11-24 Eli Zaretskii <eliz@gnu.org>
4638 * isearch.el (isearch-update): Don't assume
4639 pos-visible-in-window-p will return nil when point is hscrolled
4640 out of view. (Bug#19157)
4642 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
4644 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
4645 (eww-follow-link): Follow in new buffer in case of prefix
4646 argument, open externally with double prefix (bug#19130).
4648 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4650 * net/eww.el (eww-display-html): Decode the document-defined charset.
4651 (eww): Pop to the *eww* buffer immediately after executing the
4652 `M-x eww' command to avoid having buffers pop up later.
4653 (eww-display-html): Don't pop the *eww* buffer.
4654 (eww-display-raw): Ditto.
4655 (eww-display-image): Ditto.
4656 (eww-follow-link): Make going to #targets in the page work again.
4658 2014-11-23 Ivan Shmakov <ivan@siamics.net>
4660 * net/eww.el (eww-suggest-uris): New variable.
4661 (eww-suggested-uris): New function.
4662 (eww): Default to URL under point.
4663 (eww-links-at-point): New function.
4665 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4667 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
4669 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4671 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
4673 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4675 * net/eww.el (eww-set-character-encoding): New command and keystroke.
4676 (eww-display-raw): Use it (bug#16225).
4678 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4680 * net/nsm.el (network-security-level): Rename from
4681 `nsm-security-level' and documented.
4683 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
4684 we're sending a password.
4686 * net/nsm.el: New file that implements a Network Security Manager.
4688 * net/network-stream.el (open-network-stream): Add a new
4689 :warn-unless-encrypted parameter.
4690 (network-stream-open-plain): Allow warning unless encrypted.
4691 (network-stream-open-starttls): Call the Network Security Manager.
4692 (network-stream-open-tls): Ditto.
4694 2014-11-23 Leo Liu <sdl.web@gmail.com>
4696 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
4697 (calendar-chinese-to-absolute-for-diary)
4698 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
4699 Handle leap months in Chinese calendar. (Bug#18953)
4701 2014-11-22 Alan Mackenzie <acm@muc.de>
4703 Fix error with `mark-defun' and "protected:" in C++ Mode.
4704 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
4705 return code of (label) from c-beginning-of-decl-1. (Bug#19134)
4707 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
4709 * net/newst-backend.el (newsticker--sentinel-work):
4710 Tell `libxml-parse-xml-region' to discard comments. (Bug#18787)
4712 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
4714 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
4715 (tramp-sh-handle-process-file): Propagate `process-environment'.
4717 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
4718 Tramp propagates environment variables now.
4720 2014-11-22 Eric S. Raymond <esr@snark>
4722 * vc/vc-filewise.el: New file to isolate code used only by the
4723 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
4724 live in vc.el and certainly not in vc-hooks.el.
4726 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
4727 This is preparatory to isolating all the 'master' functions
4728 used only by the file-oriented back ends. With this done first,
4729 the substantive diffs will be easier to read.
4731 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4733 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
4734 that is recognized by `help-mode'.
4736 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4738 * desktop.el (desktop-create-buffer): Use activate-mark to set
4739 `mark-active' (bug#19058).
4741 2014-11-21 Eric S. Raymond <esr@snark>
4743 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
4746 2014-11-21 Eli Zaretskii <eliz@gnu.org>
4748 * vc/vc.el (vc-deduce-fileset): Support invocation from
4749 *vc-change-log* buffer. (Bug#19084)
4751 2014-11-13 Matthew Leach <matthew@mattleach.net>
4753 * arc-mode.el (archive-visit-single-files): New.
4754 (archive-mode): Visit file if archive contains a single file.
4757 2014-11-21 Ulrich Müller <ulm@gentoo.org>
4759 * vc/vc.el: Fix a typo in the commentary.
4761 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
4763 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
4764 testing and a real log-view mode.
4766 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
4767 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
4768 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
4769 checkout methods; where it matters (which is only in SCCS and RCS)
4770 files are always checked out editable. This may actually have
4771 been dynamically true already - it looks like the vc-next-action
4772 code evolved past visiting the other case. Tested with RCS.
4774 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
4775 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
4776 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
4777 argument from the backend checkin methods. Only the RCS, SCCS,
4778 and CVS back ends tried to do anything with it, and that code was
4779 never exercised. Chiseling away the cruft of decades...
4781 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4783 * net/eww.el (eww-render): Remove a no-op :title setting.
4785 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4787 * net/eww.el (eww-history-limit): New variable.
4788 (eww-save-history): Use it (bug#19105).
4789 (eww-reload): Reload the page in the right buffer.
4791 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4793 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
4795 2014-11-19 Ivan Shmakov <ivan@siamics.net>
4797 * net/eww.el (eww-desktop-remove-duplicates)
4798 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
4799 (eww-mode): Set up desktop mode (bug#18010).
4800 (eww-desktop-data-save, eww-desktop-data-1)
4801 (eww-desktop-history-duplicate, eww-desktop-misc-data)
4802 (eww-restore-desktop): New functions.
4804 2014-11-19 Eli Zaretskii <eliz@gnu.org>
4806 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
4807 correct buffer. (Bug#19101)
4809 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4811 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
4812 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
4814 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
4816 * ido.el (ido-bury-buffer-at-head): New command.
4817 (ido-buffer-completion-map): Bind it to C-S-b.
4819 2014-11-18 Juri Linkov <juri@linkov.net>
4821 * simple.el (next-line-or-history-element): Wrap next-line
4822 in with-no-warnings.
4823 (previous-line-or-history-element): Wrap previous-line
4824 in with-no-warnings.
4826 2014-11-18 Juri Linkov <juri@linkov.net>
4828 * progmodes/grep.el (grep-compute-defaults):
4829 Compute grep-highlight-matches before its use.
4831 2014-11-18 Juri Linkov <juri@linkov.net>
4833 * replace.el (query-replace-from-to-separator): Turn defvar into
4834 defcustom. Wrap char-displayable-p in ignore-errors because an
4835 attempt to autoload char-displayable-p fails during pre-loading.
4836 Move (propertize "\0" ... 'separator t) out of customizable part
4837 to query-replace-read-from.
4838 (query-replace-read-from): Call custom-reevaluate-setting on
4839 query-replace-from-to-separator to reevaluate the separator
4840 depending on the return value of char-displayable-p.
4841 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
4843 2014-11-18 Juri Linkov <juri@linkov.net>
4845 * bindings.el (minibuffer-local-map): Rebind [down] from
4846 next-history-element to next-line-or-history-element, and [up]
4847 from previous-history-element to previous-line-or-history-element.
4849 * simple.el (next-line-or-history-element)
4850 (previous-line-or-history-element): New commands.
4851 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
4853 2014-11-18 Leo Liu <sdl.web@gmail.com>
4855 * emacs-lisp/nadvice.el (define-advice): New macro.
4856 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4858 (lisp-font-lock-keywords-1): Add define-advice.
4860 2014-11-18 Daiki Ueno <ueno@gnu.org>
4862 * epg.el (epg-context): New slot EDIT-CALLBACK.
4863 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
4864 (epg-reset): Reset EDIT-CALLBACK of the context.
4865 (epg-start-edit-key): New function.
4866 (epg-edit-key): New function.
4868 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
4870 Port new time stamp handling to Emacs 23.2.
4871 This fix is for Gnus. Reported by Katsumi Yamaoka.
4872 * calendar/time-date.el (time-add, time-subtract, time-less-p):
4873 Use eval-and-compile, not eval-when-compile.
4875 2014-11-18 Daiki Ueno <ueno@gnu.org>
4877 * epg.el (epg-context-set-passphrase-callback)
4878 (epg-context-set-progress-callback): Check if the CALLBACK
4879 argument is a function, instead of a cons.
4881 2014-11-18 Daiki Ueno <ueno@gnu.org>
4883 * epa-file.el (epa-file-insert-file-contents)
4884 (epa-file-write-region): Remove redundant check of
4886 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4887 (epa-sign-region, epa-encrypt-region): Remove redundant check of
4890 2014-11-18 Daiki Ueno <ueno@gnu.org>
4892 * epa-file.el (epa-file-insert-file-contents): Don't show
4893 "*Error*" buffer if input file does not exist.
4894 Reported by Herbert J. Skuhra.
4896 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
4897 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4899 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
4900 An alternative version of the patch from bug#13871.
4901 (c-operators): Add "alignof".
4902 (c-primitive-type-kwds): Add "char16_t", "char32_t".
4903 (c-type-modifier-kwds): Add "constexpr", "noexcept".
4904 (c-modifier-kwds): Add "thread_local".
4905 (c-constant-kwds): Add "nullptr".
4907 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
4909 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
4910 New variables for specifying tildify pattern and representation of
4911 a hard space -- a no-break space by default -- respectively.
4912 Being buffer-local they are much easier to handle than
4913 `tildify-string-alist' and `tildify-pattern-alist' respectively
4914 that have been used so far. They also works better with derived
4916 (tildify-foreach-region-function): New variable specifying
4917 a function determining portions of buffer that should be
4918 tildified. It allows major modes to create a filtering function
4919 more elaborate than a set of regular expressions. Initialized to
4920 `tildify--deprecated-ignore-evironments' by default to handle now
4921 deprecated `tildify-ignored-environments-alist' variable.
4922 (tildify--foreach-region): A new function that takes
4923 `tildify-foreach-region-function' into account and calls callback
4924 for regions of the buffer that should be tildified.
4925 (tildify-foreach-ignore-environments): A new function which can be
4926 partially applied and used as `tildify-foreach-region-function'.
4927 (tildify-ignored-environments-alist, tildify-pattern)
4928 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
4929 (tildify--find-env): Rename from `tildify-find-env' and mark as
4931 (tildify--deprecated-ignore-evironments): New function,
4932 immediately marked as obsolete, used to handle deprecated
4933 `tildify-ignored-environments-alist'.
4935 * textmodes/tex-mode.el (tex-common-initialization):
4936 Set `tildify-space-string' and `tildify-foreach-region-function'
4937 variables in all variants of TeX mode since `tildify-string-alist'
4938 and `tildify-ignored-environments-alist' are now empty by default.
4940 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
4941 If encoding supports it use no-break space instead of character
4942 entity; this changes previous default which used a numeric
4945 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
4946 If encoding does not support no-break space, use numeric reference;
4947 this changes previous default which used named entity (“ ”)
4950 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
4952 * calendar/icalendar.el (icalendar-export-alarms):
4953 New customizable variable. (Bug#5433)
4954 (icalendar-export-region): Export alarms as specified in
4955 `icalendar-export-alarms'.
4956 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
4957 New functions for exporting alarms.
4959 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4961 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
4963 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
4965 Port new time stamp handling to old Emacs and to XEmacs.
4966 This is needed for Gnus, which copies time-date.el and which
4967 runs on older Emacs implementations.
4968 * calendar/time-date.el (with-decoded-time-value):
4969 Handle 'nil' and floating-point arg more compatibly with new Emacs.
4970 (encode-time-value, with-decoded-time-value):
4971 Obsolete only if new Emacs.
4972 (time-add, time-subtract, time-less-p): Define if not new Emacs.
4974 Improve time stamp handling, and be more consistent about it.
4975 This implements a suggestion made in:
4976 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
4977 Among other things, this means timer.el no longer needs to
4978 autoload the time-date module.
4979 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
4980 * arc-mode.el (archive-ar-summarize):
4981 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
4982 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
4983 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
4984 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4985 * proced.el (proced-time-lessp):
4986 * timezone.el (timezone-time-from-absolute):
4987 * type-break.el (type-break-schedule, type-break-time-sum):
4988 Simplify by using new functionality.
4989 * calendar/cal-dst.el (calendar-next-time-zone-transition):
4990 Do not return time values in obsolete and undocumented (HI . LO)
4991 format; use (HI LO) instead.
4992 * calendar/time-date.el (with-decoded-time-value):
4993 Treat 'nil' as current time. This is mostly for XEmacs.
4994 (encode-time-value, with-decoded-time-value): Obsolete.
4995 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
4996 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
4997 * ldefs-boot.el: Update to match new time-date.el
4998 * proced.el: Do not require time-date.
5000 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5002 * net/eww.el (eww-mode): Make the buffer read-only.
5003 (eww-form-text): Inhibit read-only-ness in text input fields
5006 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5008 * simple.el (execute-extended-command--shorter): Cut search here.
5009 (execute-extended-command): Instead of here.
5011 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5013 * progmodes/python.el (python-mode): Avoid use of set-local to
5014 keep Emacs 24.x compatibility.
5016 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5018 * net/shr.el (shr): Move to the new defgroup `web'.
5020 * net/eww.el (eww): Ditto.
5022 * simple.el (execute-extended-command): Don't show the help
5023 message if the binding isn't significantly shorter than the
5024 M-x command the user typed (bug#19013).
5026 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
5028 * calendar/icalendar.el (icalendar--convert-tz-offset):
5029 Return complete cons when offsets of standard time and daylight saving
5031 (icalendar-export-region): Fix unbound variable warning.
5033 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5035 * progmodes/python.el (run-python): Allow CMD to be optional and
5036 default it to a safe command, even for Windows. (bug#18596)
5038 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5040 * progmodes/python.el (python-shell-calculate-command):
5041 Rename from python-shell-parse-command. Cleanup.
5042 (run-python, run-python-internal): Use it.
5043 (python-shell-calculate-pythonpath): Rename from
5044 python-new-pythonpath.
5045 (python-shell-calculate-process-environment): Use it.
5046 (python-shell-calculate-exec-path): Add comment.
5048 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
5050 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
5053 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
5055 * version.el (emacs-repository-get-version): Use git rev-parse
5058 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5060 * progmodes/python.el (python-indent-calculate-levels):
5061 Fix indentation behavior multiline dedenter statement. (Bug#18432)
5063 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5065 * progmodes/python.el (python-indent-region):
5066 Use python-indent-line and skip special cases. (Bug#18843)
5068 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
5070 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
5071 envelope-from when reporting through sendmail (bug#19054).
5073 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
5075 Add faces for the VC modeline state indicator.
5077 (vc-state-faces, vc-state-base-face)
5078 (vc-up-to-date-state, vc-needs-update-state)
5079 (vc-locked-state, vc-locally-added-state)
5080 (vc-conflict-state, vc-removed-state)
5081 (vc-missing-state, vc-edited-state):
5083 (vc-default-mode-line-string): Use them
5085 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5087 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
5089 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5091 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
5093 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
5095 * progmodes/python.el (python-eldoc-setup-code): Enhance string
5096 type checks, simplify printing. (Bug#18962)
5098 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
5100 * progmodes/python.el (python-shell-font-lock-kill-buffer):
5101 (python-shell-font-lock-with-font-lock-buffer)
5102 (python-shell-get-buffer, python-ffap-module-path):
5103 Use `derived-mode-p' instead of equality test on `major-mode'.
5105 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
5107 * progmodes/python.el (python-shell-virtualenv-root): Rename from
5108 python-shell-virtualenv-path.
5109 (python-shell-internal-get-process-name)
5110 (python-shell-calculate-process-environment)
5111 (python-shell-calculate-exec-path): Use it.
5113 2014-11-14 Eli Zaretskii <eliz@gnu.org>
5115 * bindings.el (search-map): Fix last change: don't use 'kbd' in
5116 bindings.el, since it is not yet loaded when bindings.el is
5119 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
5121 * progmodes/python.el (python-shell-completion-get-completions):
5124 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5126 * net/eww.el (eww-render): Don't set the title to the URL.
5128 2014-11-13 Ulrich Müller <ulm@gentoo.org>
5130 * version.el (emacs-repository-get-version): Call `git log'
5131 command with proper format argument (bug#19049).
5133 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5135 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
5137 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5139 * net/eww.el (eww-search-words): New command (bug#16258).
5141 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5143 * net/shr.el (shr-inhibit-images): Add a doc string.
5145 * net/eww.el (eww-after-render-hook): New variable.
5146 (eww-render): Use it.
5148 * net/shr.el (shr-descend): Don't descend further than
5149 `max-specpdl-size' allows (bug#16587).
5150 (shr-depth): New variable.
5151 (shr-warning): New variable.
5153 2014-11-13 Ivan Shmakov <ivan@siamics.net>
5155 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
5156 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
5158 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5160 * net/eww.el (eww): Add comment to clarify.
5162 * net/shr.el (shr-parse-image-data): Remove blocked bits from
5163 external SVG images.
5164 (shr-tag-object): Display images in <object> forms (bug#16244).
5165 (shr-tag-table): Also insert <objects> after the tables.
5167 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
5169 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
5171 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5173 * net/eww.el (eww-form-file): Fix version number.
5175 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5177 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
5179 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5181 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
5182 (eww-submit-file): New key map of file upload.
5183 (eww-form-file): New file upload button and file name context.
5184 (eww-select-file): Select file and display selected file name.
5185 (eww-tag-input): Handle input tag of file type.
5186 (eww-update-field): Add point offset.
5187 (eww-submit): Add submit with multipart/form-data.
5189 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5191 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
5192 Allow taking a buffer to render data in. This allows using several
5193 eww buffers (bug#16211).
5195 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
5197 * net/eww.el (eww-download-callback): Save only the file contents,
5200 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5202 * net/eww.el (eww-data): New plist to store all the data relevant
5203 to a single page, used throughout the file instead of the
5204 variables `eww-current-url', `eww-current-dom',
5205 `eww-current-source', and `eww-current-title'.
5206 (eww-readable): Copy over pertinent data from the parent page.
5207 (eww-save-history): Don't let the history grow infinitely.
5209 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
5210 `eww-up-url', `eww-home-url', `eww-start-url' and
5211 `eww-contents-url' and put the data into the `eww-data' plist.
5212 This allow restoring these values after going back in the history.
5214 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
5216 Allow VTIMEZONE where daylight and standard time zones are equal.
5217 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
5218 * calendar/icalendar.el (icalendar--convert-tz-offset):
5219 Support timezone without daylight saving time.
5221 2014-11-10 Glenn Morris <rgm@gnu.org>
5223 * startup.el (command-line): Handle nil elements in load-path.
5225 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5227 * help.el (view-lossage): Include the actual commands run.
5229 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
5231 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
5232 no state is specified. (Bug#18964)
5234 2014-11-09 Eric Ludlam <zappo@gnu.org>
5236 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5237 Set eieio-cog (current group) to g, which is an improved form of input
5240 2014-11-09 Juri Linkov <juri@jurta.org>
5242 * isearch.el (isearch-message-prefix): Show "Multi-file" and
5243 "Multi-buffer" instead of "Multi". (Bug#13592)
5245 * misearch.el (multi-isearch-file-list):
5246 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
5247 (multi-isearch-end): Reset multi-isearch-buffer-list and
5248 multi-isearch-file-list to nil.
5250 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5252 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5253 Don't call byte-compile-preprocess since the result will go through
5255 (byte-compile-output-docform): Handle uninterned `name' correctly.
5256 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
5257 to circumvent byte-compiler bug.
5259 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
5260 (macroexp--compiler-macro): Remove left-over debug code.
5262 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
5264 2014-11-08 Juri Linkov <juri@jurta.org>
5266 * simple.el (shell-command): Use buffer-name when output-buffer is
5267 a buffer. (Bug#18096)
5269 2014-11-08 Juri Linkov <juri@jurta.org>
5271 * minibuffer.el (minibuffer-completion-help): Compare this-command
5272 with completion-at-point. (Bug#17809)
5274 2014-11-08 Glenn Morris <rgm@gnu.org>
5276 * emacs-lisp/bytecomp.el (byte-compile-report-error):
5277 Allow the argument to be a string. Due to the vague doc,
5278 it was already being used this way.
5280 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5282 * net/tramp.el (tramp-check-cached-permissions): Include hop in
5283 the constructed Tramp file name. (Bug#18943)
5285 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5287 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
5289 (cua-set-mark, cua--post-command-handler-1):
5290 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
5292 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5294 * files.el (file-name-non-special): Wrap the call of
5295 `insert-file-contents' by `unwind-protect', in order to set the
5296 buffer's file name anyway. (Bug#18891)
5298 2014-11-08 Alan Mackenzie <acm@muc.de>
5300 Fix wrong bound to c-font-lock-declarators.
5301 * progmodes/cc-fonts.el (c-font-lock-declarations):
5302 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
5303 the buffer is sometimes narrowed to less than "limit" (e.g., in
5304 the presence of macros). (Bug#18948)
5306 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5308 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
5309 only when message appeared in minibuffer. (Bug#18891)
5311 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
5312 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
5313 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
5316 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5318 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5319 Don't compile before eval in `eval-and-compile'.
5320 (byte-compile-arglist-warn): Add check for defining macros after their
5321 first use. Check call use even if the function is fboundp.
5323 2014-11-08 Richard Stallman <rms@gnu.org>
5325 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
5326 Check more carefully for mime-part specified character set.
5327 Check for mime-part Content Transfer Encoding.
5328 Notify if no armor found.
5330 2014-11-08 Martin Rudalics <rudalics@gmx.at>
5332 * faces.el (face-set-after-frame-default): Enable running
5333 `window-configuration-change-hook'.
5335 2014-11-07 Juri Linkov <juri@jurta.org>
5337 * replace.el: History for query replace pairs.
5338 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
5339 (query-replace-from-to-separator): New variable.
5340 (query-replace-read-from): Let-bind query-replace-from-to-history
5341 to a list of FROM-TO strings created from query-replace-defaults
5342 and separated by query-replace-from-to-separator. Use it as
5343 the history while reading from the minibuffer. Split the returned
5344 string by the separator to get FROM and TO parts, and add them
5345 to the history variables.
5346 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
5347 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
5348 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
5350 * isearch.el (isearch-text-char-description): Keep characters
5351 intact and put formatted strings with the `display' property.
5353 2014-11-07 Martin Rudalics <rudalics@gmx.at>
5355 * cus-start.el (frame-resize-pixelwise): Fix group.
5356 (frame-inhibit-implied-resize): Add entry.
5358 2014-11-07 Daiki Ueno <ueno@gnu.org>
5360 * epa.el (epa-pinentry-mode): New user option.
5361 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
5362 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
5363 * epa-file.el (epa-file-insert-file-contents)
5364 (epa-file-write-region): Respect epa-pinentry-mode.
5366 2014-11-07 Daiki Ueno <ueno@gnu.org>
5368 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
5369 (bug#18979). Reported by Hideki Saito.
5371 2014-11-06 Daiki Ueno <ueno@gnu.org>
5373 * emacs-lisp/package.el (package--display-verify-error): New function.
5374 (package--check-signature): Use it to display output sent to stderr.
5376 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5378 * subr.el (pop): Don't call the getter twice (bug#18968).
5380 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
5383 2014-11-06 Daiki Ueno <ueno@gnu.org>
5385 * epa.el (epa-error-buffer): New variable.
5386 (epa-display-error): New function.
5387 (epa-decrypt-file, epa-verify-file, epa-verify-region)
5388 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
5389 (epa-sign-file, epa-sign-region, epa-encrypt-region)
5390 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
5391 Use setf instead of epg-context-set-*.
5392 * epa-file.el (epa-file-insert-file-contents):
5393 Use epa-display-error instead of epa-display-info. Mimic the behavior
5394 of jka-compr when decryption program is not found.
5395 (epa-file-write-region): Use epa-display-error instead of
5398 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5400 * vc/vc.el (vc-region-history): New command.
5401 (vc-print-log-internal): Use cl-some.
5403 * vc/vc-git.el (vc-git-region-history): New function.
5404 (vc-git-region-history-mode-map)
5405 (vc-git--log-view-long-font-lock-keywords)
5406 (vc-git-region-history-font-lock-keywords): New vars.
5407 (vc-git-region-history-font-lock): New function.
5408 (vc-git-region-history-mode): New major mode.
5410 2014-11-05 Tassilo Horn <tsdh@gnu.org>
5412 * net/eww.el (subr-x): Require subr-x at compile-time because eww
5415 2014-11-05 Daiki Ueno <ueno@gnu.org>
5417 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
5418 (epg-error-output): New buffer-local variable.
5419 (epg--start): Initialize epg-error-output.
5420 (epg--process-filter): Record output lines sent to stderr, in
5422 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
5424 * epa-file.el (epa-file-insert-file-contents): On error, display
5425 output sent to stderr.
5426 (epa-file-write-region): Likewise.
5428 2014-11-05 Eli Zaretskii <eliz@gnu.org>
5430 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
5431 returned by load-average.
5433 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
5435 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
5436 a local copy; setting `inhibit-file-name-handlers' proper might be
5437 more performant. (Bug#18751)
5439 2014-11-05 Glenn Morris <rgm@gnu.org>
5441 * mail/emacsbug.el (report-emacs-bug): No longer include
5442 recent-keys in the report. (Bug#18900)
5444 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
5446 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
5448 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5450 * net/eww.el (eww): Trim URL with `string-trim'.
5451 Suggested by Vibhav Pant <vibhavp@gmail.com>.
5453 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5455 * net/eww.el (eww-score-readability): Don't count comments positively.
5457 * net/shr.el (shr-retransform-dom): Typo fix.
5459 * net/eww.el (eww-score-readability): Parse SVC images correctly.
5460 (eww-display-html): Don't leave point inside forms.
5462 * net/shr.el: Ditto.
5464 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5466 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
5467 edebug-prin1-to-string already handles circularity.
5469 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
5470 autoloading when specified as a lambda.
5472 * simple.el (execute-extended-command--last-typed): New var.
5473 (read-extended-command): Set it.
5474 Don't complete obsolete commands.
5475 (execute-extended-command--shorter-1)
5476 (execute-extended-command--shorter): New functions.
5477 (execute-extended-command): Use them to suggest shorter names.
5478 (indicate-copied-region, deactivate-mark): Use region-active-p.
5480 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
5482 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
5483 local copy of FILENAME, when it is remote. (Bug#18751)
5485 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
5486 an error when the command fails; the return code must indicate.
5487 (tramp-adb-send-command-and-check): Fix docstring.
5489 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5491 * net/shr.el (shr-retransform-dom): Don't ignore elements that
5492 have no children like <br />.
5494 * net/eww.el (eww-display-html): Clear `url-queue'.
5495 (eww-display-pdf): New function.
5496 (eww-render): Display PDFs with `doc-view'.
5497 (url-queue): Require `url-queue' to avoid compilation warning.
5498 (eww-colorize-region): Remove duplicate function.
5499 (eww-tag-body): Use `shr-colorize-region'.
5501 2014-11-03 Yoni Rabkin <yrk@gnu.org>
5503 * net/eww.el (eww-list-bookmarks): Autoload.
5505 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5507 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
5509 * net/eww.el (eww-display-html): The charset is called `utf-8',
5511 (eww-readable): Decode the saved text correctly.
5512 (eww-readable): Save the history before displaying so that we can
5513 go back to the non-readable version.
5514 (eww-display-html): Don't try to decode the text if we've been
5515 passed in a pre-parsed DOM.
5516 (eww-tag-title): Remove newlines and extra whitespace from the
5519 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5521 * net/eww.el (eww-readable): New command and keystroke.
5523 * net/shr.el (shr-retransform-dom): New function.
5525 * net/eww.el (eww-display-html): Set `eww-current-source' in the
5527 (eww-view-source): Use it.
5529 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5531 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
5534 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
5536 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
5538 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5540 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
5542 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5544 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
5547 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
5549 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
5551 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
5553 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5555 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
5557 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
5559 2014-11-01 Michael R. Mauger <michael@mauger.com>
5561 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
5562 syntax, add new keywords, and parse longer keywords first.
5563 (sql-redirect-one): Protect against empty command.
5564 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
5567 2014-11-01 Michael R. Mauger <michael@mauger.com>
5569 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
5570 Bug#16814 with let-bind of comint-input-ring variables around read
5573 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
5575 * net/tramp-cache.el (tramp-get-file-property)
5576 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
5577 and `tramp-cache-set-count-*' are bound. Otherwise, there might
5578 be compiler warnings.
5580 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
5581 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
5583 2014-11-01 Eli Zaretskii <eliz@gnu.org>
5585 * progmodes/compile.el (compilation-mode): Turn off deferred
5586 fontifications locally. (Bug#18856)
5588 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
5590 * net/tramp-sh.el (tramp-send-command): Fix the case where the
5591 remote-echo connection property is non-nil (bug#18858).
5593 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
5595 * simple.el (newline): Add assertions to try and help catch bug#18913.
5597 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
5599 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
5601 2014-11-01 Kim F. Storm <storm@cua.dk>
5603 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
5604 * delsel.el (delete-selection-save-to-register)
5605 (delsel--replace-text-or-position): New vars.
5606 (delete-active-region): Use them.
5607 (delete-selection-repeat-replace-region): New command, moved from
5609 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
5610 (cua-repeat-replace-region): Move command to delsel.el.
5611 (cua--init-keymaps): Update binding accordingly.
5612 (cua-mode): Set delete-selection-save-to-register.
5614 2014-11-01 Alan Mackenzie <acm@muc.de>
5616 Make blink-parens work with a closing template delimiter.
5617 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
5618 before calling blink-paren-function, so as to apply syntax-table
5619 properties to the ">".
5621 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
5623 * select.el (gui-get-selection): Comment: data-type ignored on NS.
5625 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5627 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
5628 (macroexp--expand-all): Unrelated tweaks.
5630 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
5632 2014-10-30 Glenn Morris <rgm@gnu.org>
5634 * startup.el (command-line): Remove pointless attempt to avoid
5635 statting the file-system (which expand-file-name doesn't do).
5637 2014-10-30 Daniel Colascione <dancol@dancol.org>
5639 Add "enum class" support to C++ mode.
5640 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
5641 (c-after-brace-list-key): New language consts/variables.
5642 * progmodes/cc-engine.el (c-looking-at-decl-block):
5643 Exclude spurious match of "enum struct" from decl-block recognition.
5644 (c-backward-colon-prefixed-type): New function.
5645 (c-backward-over-enum-header): Call above function to extend
5646 recognition of enum structure.
5648 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5650 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
5652 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
5654 2014-10-30 Eli Zaretskii <eliz@gnu.org>
5656 * progmodes/compile.el (compilation-start):
5657 If compilation-scroll-output is non-nil, don't force window-start of
5658 the compilation buffer to be at beginning of buffer. (Bug#18874)
5660 * startup.el (fancy-about-text): Read the entire tutorial, not
5661 just its first 256 bytes. (Bug#18760)
5663 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5665 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
5666 * emacs-lisp/cl-extra.el: Add missing provide.
5668 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
5669 all args are copyable (bug#18767).
5670 (=, <, >, <=, >=): Re-enable the optimization.
5672 2014-10-29 Glenn Morris <rgm@gnu.org>
5674 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
5676 * version.el (emacs-bzr-version, emacs-bzr-get-version):
5677 Revert 2014-10-26 change.
5679 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
5681 Simplify use of current-time and friends.
5682 * allout-widgets.el (allout-widgets-hook-error-handler):
5683 * calendar/appt.el (appt-display-message):
5684 * calendar/icalendar.el (icalendar--convert-float-to-ical):
5685 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
5686 (timeclock-last-period, timeclock-day-base):
5687 * eshell/em-ls.el (eshell-ls-file):
5688 * eshell/esh-util.el (eshell-parse-ange-ls):
5689 * generic-x.el (named-database-print-serial):
5690 * net/newst-backend.el (newsticker--get-news-by-url-callback)
5691 (newsticker-get-news, newsticker--sentinel-work)
5692 (newsticker--image-get, newsticker--image-sentinel):
5693 * net/tramp-sh.el (tramp-get-remote-touch):
5694 * progmodes/opascal.el (opascal-debug-log):
5695 * textmodes/remember.el (remember-mail-date)
5696 (remember-store-in-files):
5697 * vc/vc-annotate.el (vc-annotate-display-autoscale)
5698 (vc-default-annotate-current-time):
5699 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
5700 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
5701 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
5702 Omit unnecessary call to current-time.
5703 * calendar/time-date.el (time-to-seconds) [!float-time]:
5704 * vc/vc-annotate.el (vc-annotate-convert-time):
5705 Use current time if arg is nil, to be compatible with float-time.
5706 (time-date--day-in-year): New function, with most of the guts of
5707 the old time-to-day-in-year.
5708 (time-to-day-in-year): Use it.
5709 (time-to-days): Use it, to avoid decoding the same time stamp twice.
5710 * calendar/timeclock.el (timeclock-time-to-date):
5711 Arg is now optional, like current-time-string.
5712 (timeclock-update-mode-line):
5713 Don't call current-time twice to get the current time stamp,
5714 as this can lead to inconsistent results.
5715 * completion.el (cmpl-hours-since-origin):
5716 * ido.el (ido-time-stamp):
5717 * vc/vc-annotate.el (vc-annotate-convert-time):
5718 Simplify by using float-time.
5719 * completion.el (save-completions-to-file):
5720 Rename local var to avoid confusion.
5721 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
5722 time-to-seconds now behaves like float-time with respect to nil arg.
5723 * subr.el (progress-reporter-do-update):
5724 Don't call float-time unless needed.
5726 2014-10-29 Leo Liu <sdl.web@gmail.com>
5728 * net/rcirc.el (rcirc-fill-column): Use function.
5729 (rcirc-markup-fill): Remove adjustment.
5731 2014-10-28 Christopher Schmidt <ch@ristopher.com>
5733 * calc/calc.el (quick-calc):
5734 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
5736 2014-10-28 Sam Steingold <sds@gnu.org>
5738 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
5739 the sake of `window-body-width' (in addition to `frame-width').
5741 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
5743 * version.el: Fix some fallback values to conform to the actual
5746 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
5748 * Makefile.in: Change some production names so they're neutral
5749 about the repository type.
5751 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
5753 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
5754 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
5755 during initialization. (Bug#18774)
5757 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
5759 * ses.el (macroexp): Add require for this package, so that
5760 function `ses--cell' gets macroexp-quote --- this change was
5761 supposed to be in my previous commit, but left out by mistake.
5762 (ses--cell): Do not make formula a macroexp-quote of value when
5763 value, not formula, is *skip*.
5765 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5767 * ses.el (macroexp): Add require for this package, so that function
5768 `ses--cell gets macroexp-quote.
5769 (ses--cell): Makes formula a macroexp-quote of value when formula
5770 is nil. The rationale of this changr is to allow in the future
5771 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
5772 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
5773 reference list REFLIST would be re-computed after load --- thus
5774 trading off load time against file size.
5776 * emacs-lisp/package.el (package--alist-to-plist-args):
5777 Use macroexp-quote instead of a lambda expression which has the same
5778 content as macroexp-quote.
5779 (macroexp): Add require for this package, so that function
5780 `package--alist-to-plist-args' gets macroexp-quote.
5782 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
5784 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5786 * term/ns-win.el (ns-store-cut-buffer-internal)
5787 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
5789 2014-10-24 Martin Rudalics <rudalics@gmx.at>
5791 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
5792 Calculate increment from last position instead of window edge.
5793 Add right- and bottom-divider bindings to transient map.
5795 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5797 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
5798 even if :predicate was nil, for the benefit of typep.
5799 Record the name of the predicate for typep's use.
5800 (cl--make-type-test): Use pcase. Obey new
5801 cl-deftype-satisfies property.
5803 * epg.el: Use cl-defstruct.
5804 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
5805 (epg-data-string): Define via cl-defstruct.
5806 (epg--gv-nreverse): New macro.
5807 (epg-context--make): New constructor (provided vi cl-defstruct).
5808 (epg-make-context): Rewrite using it.
5809 (epg-context-protocol, epg-context-program)
5810 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
5811 (epg-context-include-certs, epg-context-cipher-algorithm)
5812 (epg-context-digest-algorithm, epg-context-compress-algorithm)
5813 (epg-context-passphrase-callback, epg-context-progress-callback)
5814 (epg-context-signers, epg-context-sig-notations, epg-context-process)
5815 (epg-context-output-file, epg-context-result, epg-context-operation)
5816 (epg-context-pinentry-mode): Define using cl-defstruct.
5817 (epg-context-set-protocol, epg-context-set-program)
5818 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
5819 (epg-context-set-digest-algorithm)
5820 (epg-context-set-sig-notations, epg-context-set-process)
5821 (epg-context-set-output-file, epg-context-set-result)
5822 (epg-context-set-operation, epg-context-set-pinentry-mode)
5823 (epg-context-set-compress-algorithm): Remove. Use setf instead.
5824 (epg-context-set-armor, epg-context-set-textmode)
5825 (epg-context-set-signers): Redefine using setf
5826 and declare as obsolete.
5827 (epg-context-set-passphrase-callback)
5828 (epg-context-set-progress-callback): Use setf.
5829 (epg-signature-notations): Rename from epg-sig-notations.
5830 (epg-make-signature, epg-signature-status, epg-signature-key-id)
5831 (epg-signature-validity, epg-signature-fingerprint)
5832 (epg-signature-creation-time, epg-signature-expiration-time)
5833 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
5834 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
5835 (epg-signature-set-status, epg-signature-set-key-id)
5836 (epg-signature-set-validity, epg-signature-set-fingerprint)
5837 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
5838 (epg-signature-set-pubkey-algorithm)
5839 (epg-signature-set-digest-algorithm, epg-signature-set-class)
5840 (epg-signature-set-version, epg-signature-set-notations): Remove.
5842 (epg-make-new-signature, epg-new-signature-type)
5843 (epg-new-signature-pubkey-algorithm)
5844 (epg-new-signature-digest-algorithm, epg-new-signature-class)
5845 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
5846 Define using cl-defstruct.
5847 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
5848 (epg-key-user-id-list): Define using cl-defstruct.
5849 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
5851 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
5852 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
5853 (epg-sub-key-id, epg-sub-key-creation-time)
5854 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
5856 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
5857 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
5858 (epg-user-id-signature-list): Define using cl-defstruct.
5859 (epg-user-id-set-signature-list): Remove. Use setf instead.
5860 (epg-make-key-signature, epg-key-signature-validity)
5861 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
5862 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
5863 (epg-key-signature-user-id, epg-key-signature-class)
5864 (epg-key-signature-exportable-p): Define using cl-defstruct.
5865 (epg-make-sig-notation, epg-sig-notation-name)
5866 (epg-sig-notation-value, epg-sig-notation-human-readable)
5867 (epg-sig-notation-critical): Define using cl-defstruct.
5868 (epg-sig-notation-set-value): Remove. Use setf instead.
5869 (epg-make-import-status, epg-import-status-fingerprint)
5870 (epg-import-status-reason, epg-import-status-new)
5871 (epg-import-status-user-id, epg-import-status-signature)
5872 (epg-import-status-sub-key, epg-import-status-secret): Define using
5874 (epg-make-import-result, epg-import-result-considered)
5875 (epg-import-result-no-user-id, epg-import-result-imported)
5876 (epg-import-result-imported-rsa, epg-import-result-unchanged)
5877 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
5878 (epg-import-result-new-signatures, epg-import-result-new-revocations)
5879 (epg-import-result-secret-read, epg-import-result-secret-imported)
5880 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
5881 (epg-import-result-imports): Define using cl-defstruct.
5883 * emacs-lisp/package.el: Require EPG during macroexpansion.
5884 (package--check-signature, package-import-keyring): Use setf instead of
5885 epg-context-set-home-directory.
5887 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5889 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
5891 2014-10-23 Leo Liu <sdl.web@gmail.com>
5893 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
5894 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
5895 (cfengine3-current-defun): New function.
5896 (cfengine3-mode): Set add-log-current-defun-function.
5898 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5900 * select.el: Use lexical-binding.
5901 (gui-set-selection): Provide an implementation for non-GUI frames
5903 * term/x-win.el: Use lexical-binding.
5904 (x-clipboard-yank): Fix up missed renamings.
5905 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
5906 (w32--set-selection): Fix up var names.
5907 * term/pc-win.el: Use lexical-binding.
5908 (w16-selection-exists-p): Silence compiler warning.
5909 (w16-selection-owner-p): Fix up missed renamings.
5911 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
5913 * frame.el (frame-notice-user-settings): Fix excessive quoting.
5915 2014-10-22 Tassilo Horn <tsdh@gnu.org>
5917 * doc-view.el (doc-view-open-text): View the document's plain text
5918 in the current buffer instead of a new one.
5919 (doc-view-toggle-display): Handle the case where the current
5920 buffer contains the plain text contents of the document.
5921 (doc-view-initiate-display): Don't switch to fallback mode if the
5922 user wants to view the doc's plain text.
5923 (doc-view-set-doc-type): Use assoc-string instead of
5926 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5928 * subr.el (read-key): Fix clicks on the mode-line.
5929 (set-transient-map): Return exit function.
5931 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
5932 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
5933 (mouse-yank-secondary): Use gui-get-selection.
5934 (mouse--down-1-maybe-follows-link): Use read-key.
5936 * xt-mouse.el: Add `event-kind' property on the fly from
5937 xterm-mouse-translate-1 rather than statically at the outset.
5939 2014-10-21 Daniel Colascione <dancol@dancol.org>
5941 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
5942 change window configuration when we turn it off.
5944 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
5946 Get rid of backend-dependent selection-handling functions for kill/yank
5947 and make it generic instead by relying on the lower-level selection
5948 management functions.
5950 * select.el (select-enable-clipboard): Rename from
5951 gui-select-enable-clipboard.
5952 (select-enable-primary): Move from x-win.el and rename from
5953 x-select-enable-primary.
5954 (gui-last-selected-text): Remove.
5955 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
5957 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
5958 (gui-select-text-alist, gui-selection-value-alist): Remove.
5959 (x-select-request-type): Move from x-win.el.
5960 (gui--selection-value-internal): New function, taken from x-win's
5961 x-selection-value-internal.
5962 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
5963 (gui-set-selection-alist): Rename from gui-own-selection-alist and
5964 extend it to handle a nil value as a "disown" request.
5965 (gui-disown-selection-alist): Remove.
5966 (xselect-convert-to-delete): Adjust accordingly.
5967 (gui-set-selection): Simplify accordingly as well. Use dotimes.
5969 * term/x-win.el (x-last-selected-text-primary)
5970 (x-select-enable-primary): Remove (moved to select.el).
5971 (x-select-request-type): Move to select.el.
5972 (x-selection-value-internal, x--selection-value): Remove functions.
5973 (gui-selection-value, gui-select-text): Remove moethods.
5974 (gui-set-selection): Merge own and disown methods.
5976 * term/w32-win.el (w32--select-text, w32--get-selection-value):
5977 Delete function (move functionality into w32--set-selection and
5978 w32--get-selection).
5979 (gui-select-text, gui-selection-value): Don't define methods.
5980 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
5982 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
5984 (gui-selection-exists-p): Adjust to new name of C primitive.
5986 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
5987 test of gui-select-enable-clipboard, to make it usable as
5988 a gui-get-selection method.
5989 (gui-selection-exists-p): Adjust to new name of C primitive.
5990 (gui-set-selection): Merge own and disown methods.
5991 (gui-select-text, gui-selection-value): Delete methods.
5992 (w16--select-text): Delete function.
5994 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
5995 (ns-selection-value): Remove functions.
5996 (gui-select-text, gui-selection-value): Don't define method any more.
5997 (gui-set-selection): Merge the old own and disown methods.
5998 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
5999 underlying C primitive.
6001 * startup.el (command-line): Adjust now that `gui-method' expects nil
6004 * frame.el (gui-method): Use window-system rather than framep.
6005 (gui-method-declare): The tty case is now nil rather than t.
6006 (make-frame): Adjust accordingly.
6008 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6010 * net/newst-reader.el (newsticker--image-read): Simplify.
6011 (newsticker--icon-read): Use dolist and fix free var error.
6013 * imenu.el (imenu--menubar-keymap): New var.
6014 (imenu-add-to-menubar): Set it to remember the keymap we used.
6015 (imenu-update-menubar): Use it instead of asking lookup-key.
6017 * obsolete/cc-compat.el: Make obsolete (bug#18561).
6019 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
6021 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
6024 2014-10-21 Glenn Morris <rgm@gnu.org>
6026 * Merge in all changes up to version 24.4 release.
6028 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6030 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
6033 2014-10-20 Glenn Morris <rgm@gnu.org>
6035 * Merge in all changes up to 24.4 release.
6037 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
6039 * net/newst-backend.el
6040 (newsticker--image-download-by-url-callback): Make this function
6041 actually work: Check status properly, then save image.
6043 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6045 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
6047 (mouse-drag-line): Unless there's no actual mouse, use the event's
6050 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6052 * textmodes/css-mode.el (scss-mode): New major-mode.
6053 (css-mode-syntax-table): Use d style comment, to ease the scss case.
6054 (css-ident-re): Allow things like @-moz-keyframes.
6055 (scss--hash-re): New const.
6056 (css--font-lock-keywords): New function, extracted from
6057 css-font-lock-keywords.
6059 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
6061 * net/newst-backend.el: Require url-parse.
6062 (newsticker--get-news-by-wget): Store feed name as process property.
6063 (newsticker--sentinel): Read feed name from process property.
6064 (newsticker--sentinel-work): Rename argument name to feed-name.
6065 Rename variable imageurl to image-url. Pick icon url from Atom
6066 1.0 data. Launch download of feed icon.
6067 (newsticker--get-icon-url-atom-1.0): New.
6069 (newsticker--unxml-node)
6070 (newsticker--unxml-attribute): Documentation.
6071 (newsticker--icons-dir): New.
6072 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
6073 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
6074 (newsticker--image-download-by-wget): New. Use process properties
6075 for storing informations.
6076 (newsticker--image-sentinel): Read informations from process properties.
6077 (newsticker--image-save)
6078 (newsticker--image-remove)
6079 (newsticker--image-download-by-url)
6080 (newsticker--image-download-by-url-callback): New.
6081 (newsticker-opml-export): Handle url list entries containing a
6082 function instead of an url string.
6084 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
6085 (newsticker--print-extra-elements)
6086 (newsticker--do-print-extra-element):
6087 Documentation (newsticker--image-read): Optionally limit image height.
6088 Use imagemagick if possible.
6089 (newsticker--icon-read): New.
6091 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
6092 (newsticker--treeview-tree-expand): Use feed icons in treeview.
6093 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
6094 (newsticker--tree-widget-leaf-icon): Use feed icon.
6096 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6098 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
6099 Use help-function-arglist instead.
6101 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
6102 (eieio--with-scoped-class): Use `declare'.
6103 (eieio-defclass): Remove compatibility code.
6104 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
6105 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
6107 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
6109 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
6111 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
6112 replacements to stock names before stock names in a list.
6113 Cdr may be a list, each name is tried in turn until one is found.
6115 2014-10-18 Alan Mackenzie <acm@muc.de>
6117 Check that a "macro" found near point-min isn't a ## operator.
6118 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
6119 (c-beginning-of-macro): Use the above new function. (Bug#18749)
6121 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
6123 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
6124 correct data to `gnutls-boot' (Bug#18664).
6125 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
6127 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
6129 * whitespace.el (whitespace-style, whitespace-big-indent)
6130 (whitespace-big-indent-regexp, whitespace-style-value-list)
6131 (whitespace-toggle-option-alist, whitespace-interactive-char)
6132 (whitespace-toggle-options)
6133 (global-whitespace-toggle-options, whitespace-help-text)
6134 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
6135 style to `whitespace-mode' to indicate that the line indentation
6136 is too deep. By default, 32 SPACEs or four TABs are considered
6137 too many but `whitespace-big-indent-regexp' can be configured.
6139 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
6141 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
6144 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6146 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
6147 (defclass, defgeneric, defmethod): Add doc-string position.
6148 (with-slots): Require cl-lib.
6150 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
6151 (list-of): New type.
6152 (eieio--typep): Remove.
6153 (eieio-perform-slot-validation): Use cl-typep instead.
6155 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
6157 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
6159 2014-10-16 Alan Mackenzie <acm@muc.de>
6161 Trigger showing when point is in the "periphery" of a line or just
6163 * paren.el (show-paren-style, show-paren-delay)
6164 (show-paren-priority, show-paren-ring-bell-on-mismatch):
6165 Remove superfluous :group specifications.
6166 (show-paren-when-point-inside-paren)
6167 (show-paren-when-point-in-periphery): New customizable variables.
6168 (show-paren-highlight-openparen): Make into a defcustom.
6169 (show-paren--unescaped-p, show-paren--categorize-paren)
6170 (show-paren--locate-near-paren): New defuns.
6171 (show-paren--default): Refaactor and trigger on more paren
6173 (show-paren-function): Small consequential changes.
6175 2014-10-16 Tom Tromey <tom@tromey.com>
6177 * files.el (auto-mode-alist): Use javascript-mode for .jsm
6180 2014-10-16 Eli Zaretskii <eliz@gnu.org>
6182 * international/characters.el (bracket-type): Force pre-loading of
6185 2014-10-16 Alan Mackenzie <acm@muc.de>
6187 * cus-edit.el (custom-command-apply): Specify the return value in
6189 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
6190 custom-command-apply has returned non-nil.
6192 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
6194 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
6195 Remove incorrect handling of eldoc-print-after-edit.
6196 (eldoc-message-commands, eldoc-last-data): Use defvar.
6197 * loadup.el (emacs-lisp/eldoc): Load it.
6199 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
6201 (m4--quoted-p): New function.
6202 (m4-font-lock-keywords): Don't handle #..\n comments any more.
6203 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
6204 for most special characters.
6206 * progmodes/compile.el (compilation--previous-directory): Simplify.
6207 (compilation-next-error): Ensure the parse before we look at
6208 compilation-message property.
6210 2014-10-15 Eli Zaretskii <eliz@gnu.org>
6212 * simple.el (what-cursor-position):
6213 * descr-text.el (describe-char): Update to support the new bidi
6216 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
6217 Force bidi-paragraph-direction to 'left-to-right'. This fixes
6218 buffer-menu display when the first buffer happens to start with
6221 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
6223 * progmodes/elisp-mode.el (elisp--local-variables-1):
6224 Handle quoted expressions (bug#18688).
6226 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
6227 Michael Albinus <michael.albinus@gmx.de>
6229 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6230 Reduce the amount of set environment variable commands.
6232 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6234 Fix import completion. (Bug#18582)
6235 * progmodes/python.el (python-shell-completion-get-completions):
6236 Fix import case regexp.
6238 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6240 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
6241 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
6242 * progmodes/prolog.el (prolog-electric--underscore): Same.
6244 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
6246 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
6248 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
6250 * cus-start.el (all): Add missing ns and boolean to
6251 ns-use-fullscreen-animation.
6253 2014-10-11 Leo Liu <sdl.web@gmail.com>
6255 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
6257 (cfengine3-create-imenu-index): New function.
6258 (cfengine3-mode): Use it for `imenu-create-index-function'.
6259 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
6262 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
6264 * cus-start.el (all): Add ns-use-fullscreen-animation.
6266 2014-10-11 Glenn Morris <rgm@gnu.org>
6268 * calendar/diary-lib.el (diary-display-function):
6269 Drop support for deprecated nil and list forms.
6270 (diary-list-entries): Update for the above.
6271 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
6273 2014-10-10 Leo Liu <sdl.web@gmail.com>
6275 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
6278 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6280 * select.el (gui-selection-exists-p-alist): New method.
6281 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
6282 * simple.el (deactivate-mark): Use it.
6283 * term/x-win.el (gui-selection-exists-p):
6284 * term/w32-win.el (gui-selection-exists-p):
6285 * term/pc-win.el (gui-selection-exists-p):
6286 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
6288 2014-10-10 Glenn Morris <rgm@gnu.org>
6290 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
6291 Fix :type. Allow t to mean no limit.
6292 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
6294 2014-10-09 Glenn Morris <rgm@gnu.org>
6296 * frame.el (display-monitor-attributes-list): Doc tweaks.
6298 2014-10-09 Eli Zaretskii <eliz@gnu.org>
6300 * faces.el (display-grayscale-p): Mention in the doc string that
6301 the argument can be either a display name or a frame.
6303 * frame.el (display-pixel-height, display-pixel-width)
6304 (display-mm-height, display-mm-width, display-backing-store)
6305 (display-save-under, display-planes, display-color-cells)
6306 (display-visual-class, display-monitor-attributes-list)
6307 (display-screens): Mention in the doc string that the argument can
6308 be either a display name or a frame. Improve the docs of the
6309 monitor attributes. (Bug#18636)
6311 2014-10-09 Martin Rudalics <rudalics@gmx.at>
6313 * term.el (term-window-width): Subtract 1 from the width when
6314 any fringe has zero width, not just the right fringe. (Bug#18601)
6316 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6318 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
6320 2014-10-08 Leo Liu <sdl.web@gmail.com>
6322 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
6324 2014-10-08 Glenn Morris <rgm@gnu.org>
6326 * calendar/cal-x.el (calendar-dedicate-diary):
6327 Drop support for recently deleted aliases.
6329 2014-10-08 Leo Liu <sdl.web@gmail.com>
6331 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
6332 Always return a syntax. Replace call-process-shell-command with
6333 process-file. Ensure cfengine-mode-syntax-functions-regex is
6334 always set. Ensure cache when cfengine-cf-promises fails.
6337 2014-10-07 Glenn Morris <rgm@gnu.org>
6339 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
6341 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
6343 Sync with upstream verilog-mode revision c075a492.
6344 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
6345 (verilog-menu): Add AUTOINSERTLAST.
6346 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
6347 is nil, fix indenting initial/final to match always statements, bug825.
6348 Reported by Tim Clapp.
6349 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
6350 bug557. Reported by ZeDong Mao and Jason Forkey.
6351 (verilog-read-decls): Fix parsing typed interfaces.
6352 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
6353 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
6354 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
6355 Reported by Pierre-David Pfister.
6356 (verilog-auto-insert-lisp): Doc fix.
6357 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
6358 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
6359 (verilog-sk-ovm-class, verilog-sk-uvm-object)
6360 (verilog-sk-uvm-component): Fix missing string keyword in class
6361 skeletons, bug824. Reported by eldad faruhi.
6363 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6365 * term/w32-win.el: Move all code from 32-common-fns.el here.
6366 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
6367 console as well (bug#18629).
6368 * w32-common-fns.el: Remove.
6369 * loadup.el: Don't load w32-common-fns.el.
6370 * w32-fns.elc: Don't require w32-common-fns.
6372 * icomplete.el: Move Iswitchb autoload here. Much simpler.
6373 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
6374 Remove redundant obsolescence thingy.
6375 * loadup.el: Don't load obsolete/loaddefs.el.
6376 * Makefile.in (obsolete-autoloads): Remove.
6377 (AUTOGENEL): Remove obsolete/loaddefs.el.
6379 2014-10-06 Glenn Morris <rgm@gnu.org>
6381 * Makefile.in (obsolete-autoloads): Write to a separate file,
6382 to workaround autoloads bug. (Bug#17407)
6383 (AUTOGENEL): Add obsolete/loaddefs.el.
6384 * loadup.el: Load obsolete/loaddefs.el if present.
6385 * subr.el (do-after-load-evaluation):
6386 Don't warn about obsolete/loaddefs.el.
6388 * menu-bar.el (menu-bar-games-menu): Remove landmark.
6389 It has zero relationship to a game.
6391 2014-10-06 Leo Liu <sdl.web@gmail.com>
6393 * imenu.el (imenu): Re-write for clarity.
6395 2014-10-06 Glenn Morris <rgm@gnu.org>
6397 Remove calendar code obsolete since at least version 23.1.
6398 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
6399 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
6400 (calendar-goto-bahai-date, list-bahai-diary-entries)
6401 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
6402 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
6403 (insert-yearly-bahai-diary-entry):
6404 * calendar/cal-china.el (chinese-calendar-time-zone)
6405 (chinese-calendar-location-name)
6406 (chinese-calendar-daylight-time-offset)
6407 (chinese-calendar-standard-time-zone-name)
6408 (chinese-calendar-daylight-time-zone-name)
6409 (chinese-calendar-daylight-savings-starts)
6410 (chinese-calendar-daylight-savings-ends)
6411 (chinese-calendar-daylight-savings-starts-time)
6412 (chinese-calendar-daylight-savings-ends-time)
6413 (chinese-calendar-celestial-stem)
6414 (chinese-calendar-terrestrial-branch)
6415 (calendar-absolute-from-chinese, calendar-print-chinese-date)
6416 (calendar-goto-chinese-date):
6417 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
6418 (calendar-print-coptic-date, coptic-prompt-for-date)
6419 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
6420 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
6421 * calendar/cal-french.el (calendar-absolute-from-french)
6422 (calendar-print-french-date, calendar-goto-french-date):
6423 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
6424 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
6425 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
6426 (holiday-rosh-hashanah-etc, holiday-hanukkah)
6427 (holiday-passover-etc, holiday-tisha-b-av-etc)
6428 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
6429 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
6430 (insert-monthly-hebrew-diary-entry)
6431 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
6432 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
6433 (diary-sabbath-candles):
6434 * calendar/cal-islam.el (calendar-absolute-from-islamic)
6435 (calendar-print-islamic-date, calendar-goto-islamic-date)
6436 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
6437 (mark-islamic-diary-entries, insert-islamic-diary-entry)
6438 (insert-monthly-islamic-diary-entry)
6439 (insert-yearly-islamic-diary-entry):
6440 * calendar/cal-iso.el (calendar-absolute-from-iso)
6441 (calendar-print-iso-date, calendar-iso-read-args)
6442 (calendar-goto-iso-date, calendar-goto-iso-week):
6443 * calendar/cal-julian.el (calendar-absolute-from-julian)
6444 (calendar-print-julian-date, calendar-goto-julian-date)
6445 (calendar-absolute-from-astro, calendar-print-astro-day-number)
6446 (calendar-goto-astro-day-number):
6447 * calendar/cal-mayan.el (calendar-print-mayan-date)
6448 (calendar-next-haab-date, calendar-previous-haab-date)
6449 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6450 (calendar-next-calendar-round-date)
6451 (calendar-previous-calendar-round-date)
6452 (calendar-absolute-from-mayan-long-count)
6453 (calendar-goto-mayan-long-count-date):
6454 * calendar/cal-move.el (scroll-calendar-left)
6455 (scroll-calendar-right, scroll-calendar-left-three-months)
6456 (scroll-calendar-right-three-months):
6457 * calendar/cal-persia.el (calendar-absolute-from-persian)
6458 (calendar-print-persian-date, persian-prompt-for-date)
6459 (calendar-goto-persian-date):
6460 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
6461 * calendar/calendar.el (view-diary-entries-initially)
6462 (mark-diary-entries-in-calendar, calendar-today-face)
6463 (diary-face, holiday-face, view-calendar-holidays-initially)
6464 (mark-holidays-in-calendar, initial-calendar-window-hook)
6465 (today-visible-calendar-hook, today-invisible-calendar-hook)
6466 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
6467 (bahai-diary-entry-symbol, american-date-diary-pattern)
6468 (european-date-diary-pattern, european-calendar-display-form)
6469 (american-calendar-display-form, holidays-in-diary-buffer)
6470 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
6471 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
6472 (fancy-diary-buffer, increment-calendar-month)
6473 (extract-calendar-month, extract-calendar-day)
6474 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
6475 (mark-visible-calendar-date, calendar-version):
6476 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
6477 (diary-display-hook, list-diary-entries-hook)
6478 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
6479 (nongregorian-diary-marking-hook, print-diary-entries-hook)
6480 (abbreviated-calendar-year, number-of-diary-entries)
6481 (view-other-diary-entries, add-to-diary-list)
6482 (include-other-diary-files, simple-diary-display)
6483 (fancy-diary-display, print-diary-entries, mark-diary-entries)
6484 (mark-sexp-diary-entries, mark-included-diary-files)
6485 (mark-calendar-days-named, mark-calendar-month)
6486 (mark-calendar-date-pattern, sort-diary-entries)
6487 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
6488 (insert-weekly-diary-entry, insert-monthly-diary-entry)
6489 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
6490 (insert-block-diary-entry, insert-cyclic-diary-entry)
6491 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
6492 * calendar/holidays.el (general-holidays, oriental-holidays)
6493 (local-holidays, other-holidays, hebrew-holidays)
6494 (christian-holidays, islamic-holidays, bahai-holidays)
6495 (solar-holidays, list-calendar-holidays)
6496 (check-calendar-holidays, mark-calendar-holidays)
6497 (filter-visible-calendar-holidays):
6498 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
6499 (diary-phases-of-moon): Remove obsolete aliases.
6500 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
6501 * calendar/cal-x.el (calendar-one-frame-setup)
6502 (calendar-only-one-frame-setup, calendar-two-frame-setup):
6503 Remove obsolete functions.
6504 (cal-x-load-hook): Remove obsolete hook.
6505 * calendar/calendar.el (european-calendar-style):
6506 Remove obsolete variable.
6507 (calendar-date-style): No longer consult european-calendar-style.
6508 * calendar/calendar.el (european-calendar, american-calendar):
6509 Remove obsolete commands.
6510 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
6511 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
6512 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
6513 Use the face `diary' instead of the variable `diary-face'.
6514 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
6515 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
6516 * calendar/icalendar.el (icalendar--date-style): Remove function.
6517 Replace all uses with calendar-date-style.
6518 * textmodes/remember.el (calendar-date-style): Declare.
6519 (remember-diary-convert-entry):
6520 No longer consult european-calendar-style.
6522 2014-10-05 Leo Liu <sdl.web@gmail.com>
6524 * imenu.el (imenu-default-goto-function): Fix typo.
6526 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6528 * net/ntlm.el (ntlm-build-auth-request):
6529 Add NTLM2 Session support. (Bug#15603)
6531 2014-10-04 Glenn Morris <rgm@gnu.org>
6533 * apropos.el (apropos-symbols-internal):
6534 Avoid error with non-symbol properties. (Bug#18337#16)
6536 * startup.el (command-line):
6537 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
6539 2014-10-04 Martin Rudalics <rudalics@gmx.at>
6541 * window.el (window-full-height-p): Make it behave correctly for
6543 (window-current-scroll-bars): Fix code.
6544 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
6546 * frame.el (frame-current-scroll-bars): Fix doc-string.
6547 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
6549 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
6551 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
6553 2014-10-04 Glenn Morris <rgm@gnu.org>
6555 * frame.el (frame-monitor-attributes)
6556 (display-monitor-attributes-list): Doc fixes.
6558 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6560 Merge trivially safe differences from standalone CC-mode.
6561 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
6562 just to then pass it to `symbol-value'.
6563 (prog-mode): Provide fallback definition, if needed.
6564 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
6565 Remove "cl-" prefix accordingly.
6566 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
6567 characterp depending on the type of characters.
6568 (c-font-lock-enum-tail): Remove unused var `start'.
6569 * progmodes/cc-engine.el: Load CL at compile-time.
6570 (c-declare-lang-variables): Use mapcan.
6571 (c-append-to-state-cache): Remove unused var `ce+1'.
6572 (c-parse-state-state): Make buffer-local.
6573 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
6574 (c-just-after-func-arglist-p): Remove unused var `end'.
6575 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
6576 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
6577 (c-make-keywords-re): Use delete-dups.
6578 (c-get-current-file): Avoid file-name-base.
6579 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
6580 `close-paren-inserted'.
6581 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
6583 * progmodes/python.el: Avoid building unneeded markers.
6584 (python-font-lock-keywords, python-indent-dedent-line)
6585 (python-fill-paren, python-shell-completion-complete-or-indent):
6586 Prefer point over point-marker.
6587 (inferior-python-mode): Remove redundant completion settings.
6589 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
6591 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
6592 (vc-svn-ignore): Use it. (Bug#18619)
6594 2014-10-03 Martin Rudalics <rudalics@gmx.at>
6596 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
6597 In doc-string mention need to set `frame-resize-pixelwise'.
6599 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6601 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
6602 similarly to Rogers's 2010-06-16 change for the remote case
6605 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6607 New gui-selection-value consolidating x-selection-value.
6608 * select.el (gui-selection-value-alist): New method.
6609 (gui-selection-value): New function.
6610 (x-selection-value): Make it an obsolete alias.
6611 * simple.el (interprogram-paste-function): Default to
6612 gui-selection-value.
6613 * w32-common-fns.el (w32-get-selection-value): Simplify.
6614 (x-selection-value): Remove alias.
6615 (interprogram-paste-function): Don't set.
6616 (gui-selection-value): Define for w32.
6617 * term/x-win.el (gui-selection-value): Define for x.
6618 (x--selection-value): Rename from x--selection-value.
6619 (interprogram-paste-function): Don't set.
6620 * term/pc-win.el (w16-get-selection-value): Simplify.
6621 (msdos-initialize-window-system): Don't set
6622 interprogram-paste-function.
6623 (gui-selection-value): Define for pc.
6624 * term/ns-win.el (x-selection-value): Remove.
6625 (gui-selection-value): Define for ns, instead.
6626 * term/common-win.el (x-setup-function-keys): Don't set
6627 interprogram-paste-function.
6628 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
6629 Use gui-selection-value.
6631 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
6633 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
6635 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6637 * obsolete/lucid.el (read-number): Remove, redundant.
6638 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
6641 2014-10-02 Glenn Morris <rgm@gnu.org>
6643 * emacs-lisp/package.el (package-import-keyring):
6644 Create gnupg directory private. (Bug#17625#155)
6646 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6648 * progmodes/python.el (python-shell-completion-get-completions):
6649 Use python-shell--prompt-calculated-input-regexp from the
6650 process buffer (bug#18582).
6651 Don't assume that `line' comes from the process buffer.
6653 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6655 * frame.el: Use lexical-binding (bug#18598).
6656 (make-frame): Use t rather than nil for tty's window-system.
6657 * startup.el (command-line): Use gui-method.
6659 Consolidate management/ownership of selections.
6660 * select.el (gui-get-selection-alist): New method.
6661 (gui-get-selection): Use it. Rename from x-get-selection.
6662 (x-get-selection): Define as obsolete alias.
6663 (x-get-clipboard): Mark obsolete.
6664 (gui-get-primary-selection): New function.
6665 (x-get-selection-value): Mark obsolete.
6666 (gui-own-selection-alist, gui-disown-selection-alist)
6667 (gui-selection-owner-p-alist): New methods.
6668 (gui-set-selection): Use them. Rename from x-set-selection.
6669 (x-set-selection): Define as obsolete alias.
6670 (gui--valid-simple-selection-p): Rename from
6671 x-valid-simple-selection-p.
6672 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
6673 (gui-selection-owner-p, gui-get-selection): Define for w32.
6674 (w32-get-selection-value): Rename from x-get-selection-value.
6675 Use the new gui-last-selected-text.
6676 * term/x-win.el (x-get-selection-value): Remove.
6677 (x-clipboard-yank): Declare obsolete.
6678 (gui-own-selection, gui-disown-selection, gui-get-selection)
6679 (gui-selection-owner-p): Define for x.
6680 * term/w32-win.el (w32-win-suspend-error): Rename from
6681 x-win-suspend-error.
6682 * term/pc-win.el (w16-get-selection-value): Rename from
6683 x-get-selection-value.
6684 (w16-selection-owner-p): Rename from x-selection-owner-p.
6685 (gui-own-selection, gui-disown-selection, gui-get-selection)
6686 (gui-selection-owner-p): Define for pc.
6687 (w16--select-text): New function.
6688 * term/ns-win.el (gui-own-selection, gui-disown-selection)
6689 (gui-get-selection, gui-selection-owner-p): Define for ns.
6690 * term.el (term-mouse-paste):
6691 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
6693 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
6695 * calc/calc-help.el (calc-describe-thing): Quote strings
6696 which could look like regexps.
6698 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6700 Consolidate x-select-text.
6701 * frame.el (gui-method, gui-method-define, gui-method-declare)
6702 (gui-call): New macros.
6703 (gui-method--name): New function.
6704 (frame-creation-function-alist): Use gui-method-declare.
6705 (make-frame): Use gui-method.
6706 * select.el (gui-select-enable-clipboard): Rename from
6707 x-select-enable-clipboard and move here.
6708 (x-select-enable-clipboard): Define as obsolete alias.
6709 (gui-last-selected-text): New var, to replace x-last-selected-text.
6710 (gui-select-text): New GUI method.
6711 (gui-select-text): New function.
6712 (x-select-text): Define as obsolete alias.
6713 * term/common-win.el (x-select-enable-clipboard, x-select-text):
6715 * simple.el (interprogram-cut-function): Change default to
6717 (interprogram-paste-function): Change default to `ignore'.
6718 * w32-common-fns.el (interprogram-cut-function): Don't modify.
6719 * term/x-win.el (interprogram-cut-function): Don't modify.
6720 (gui-select-text): Add method for x.
6721 * term/w32-win.el (gui-select-text): Add method for w32.
6722 * term/pc-win.el (x-last-selected-text): Remove, use
6723 gui-last-selected-text instead.
6724 (msdos-initialize-window-system): Don't set interprogram-cut-function.
6725 (gui-select-text): Add method for pc.
6726 * term/ns-win.el (ns-last-selected-text): Remove, use
6727 gui-last-selected-text instead.
6728 (gui-select-text): Add method for ns.
6729 (x-setup-function-keys): Don't change interprogram-cut-function.
6730 * loadup.el ("startup"): Load after "frame".
6731 * subr.el (package--builtin-versions, package--description-file):
6732 Move from startup.el.
6733 * startup.el (package--builtin-versions, package--description-file):
6735 (handle-args-function-alist, window-system-initialization-alist):
6736 Use gui-method-declare.
6737 (command-line): Use gui-method.
6739 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6741 * subr.el (alist-get): New accessor.
6742 * emacs-lisp/gv.el (alist-get): Provide expander.
6743 * winner.el (winner-remember):
6744 * tempo.el (tempo-use-tag-list):
6745 * progmodes/gud.el (minor-mode-map-alist):
6746 * international/mule-cmds.el (define-char-code-property):
6747 * frameset.el (frameset-filter-params):
6748 * files.el (dir-locals-set-class-variables):
6749 * register.el (get-register, set-register):
6750 * calc/calc-yank.el (calc-set-register): Use it.
6751 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
6752 * tooltip.el (tooltip-set-param): Mark as obsolete.
6753 (tooltip-show): Use alist-get instead.
6754 * ses.el (ses--alist-get): Remove. Use alist-get instead.
6756 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
6758 * net/newst-backend.el: Remove Time-stamp. Rename variable
6759 `newsticker--download-logos' to `newsticker-download-logos' and
6760 make it customizable.
6761 (newsticker--sentinel-work): Move xml-workarounds to function
6762 `newsticker--do-xml-workarounds', call unless libxml-parser is
6763 used. Allow single quote in regexp for encoding.
6764 Use libxml-parser if available, else fall back to `xml-parse-region'.
6765 Take care of possibly missing namespace prefixes (like "RDF"
6766 instead of "rdf:RDF") when checking xml nodes and attributes (as
6767 libxml correctly removes the prefixes). Always use Atom 1.0 as
6768 fallback feed type. Rename `newsticker--download-logos' to
6769 `newsticker-download-logos'
6770 (newsticker--unxml, newsticker--unxml-node)
6771 (newsticker--unxml-attribute): New.
6772 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
6773 HTML code has become part of the xml parse tree.
6774 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
6775 of possibly missing namespace prefixes.
6776 (newsticker--parse-generic-items): Code formatting. Typo.
6777 (newsticker--images-dir): Add trailing slash.
6778 (newsticker--image-get): Fix error message.
6780 * net/newst-plainview.el: Remove Time-stamp.
6782 * net/newst-reader.el: Remove Time-stamp.
6783 (newsticker-download-logos): Rename variable
6784 `newsticker--download-logos' to `newsticker-download-logos' and
6785 make it customizable.
6786 (newsticker--print-extra-elements): Add optional parameter
6787 'htmlish for using html markup. Amend list of ignored elements.
6788 (newsticker--do-print-extra-element): Add parameter 'htmlish for
6791 * net/newst-ticker.el: Remove Time-stamp.
6793 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
6794 for formatting extra elements.
6796 * net/newsticker.el: Remove Time-stamp, Version.
6797 (newsticker-version): Make obsolete.
6799 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
6801 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
6804 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6806 * emacs-lisp/package.el (package-check-signature): Default to nil if
6807 GPG is not available.
6808 (package-refresh-contents): Don't mess with the keyring if we won't
6809 check the signatures anyway.
6811 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6813 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
6814 (ses-center, ses-center-span): Use them.
6815 (ses-print-cell): Bind them while calling the printer.
6816 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
6817 (ses-dorange): Revert last change.
6818 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
6820 (ses-set-cell): Avoid `eval'.
6821 (ses--time-check): Rename it from ses-time-check and turn it into
6824 * ses.el (ses-setup): Don't assume modifying the iteration var of
6825 dotimes affects the iteration (bug#18191).
6827 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
6829 * ses.el (ses-calculate-cell): Bind row and col dynamically to
6830 their values with 'cl-progv'.
6831 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
6832 their values with 'cl-progv', also use non-interned symbols for
6833 row, minrow, maxrow, mincol and maxcol.
6834 (maxrow maxcol): New defvar, to make the compiler happy.
6836 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6838 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
6839 completion functions.
6841 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
6843 * ses.el (ses--letref): Quote value before it gets re-evaluated.
6845 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
6847 Font-lock `cl-flet*', too.
6848 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
6849 Add "flet*" to intermediate var `cl-lib-kw'.
6851 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6853 * epg-config.el (epg-gpg-program): Use the plain program names rather
6854 than their absolute file name.
6856 * subr.el (track-mouse): New macro.
6857 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6858 Remove track-mouse case.
6859 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
6861 2014-09-27 Leo Liu <sdl.web@gmail.com>
6863 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
6865 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
6867 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6869 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
6870 Handle the case where `match' is :pcase--succeed or :pcase--fail
6873 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
6874 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
6875 (eldoc-schedule-timer): Obey it.
6876 (eldoc-documentation-function): Default to nil.
6877 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
6878 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
6879 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
6880 (eldoc-last-data-store, eldoc-docstring-first-line)
6881 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
6882 (eldoc-beginning-of-sexp, eldoc-current-symbol)
6883 (eldoc-function-argstring): Move to elisp-mode.el.
6884 (eldoc-symbol-function): Remove, unused.
6885 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
6886 (elisp-completion-at-point): Rename from lisp-completion-at-point.
6887 (elisp--preceding-sexp): Rename from preceding-sexp.
6888 * loadup.el: Load new file progmodes/elisp-mode.
6889 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
6890 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
6891 (lisp--local-variables-completion-table, lisp--expect-function-p)
6892 (lisp--form-quoted-p, lisp--company-doc-buffer)
6893 (lisp--company-doc-string, lisp--company-location)
6894 (lisp-completion-at-point): Move to elisp-mode.el.
6895 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
6896 extracted from emacs-lisp-mode-syntax-table.
6897 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
6899 (lisp-imenu-generic-expression): Add comments to document what comes
6900 from which Lisp dialect.
6901 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
6902 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
6903 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
6904 (emacs-lisp-byte-code-comment)
6905 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
6906 (lisp-interaction-mode-map, lisp-interaction-mode)
6907 (eval-print-last-sexp, last-sexp-setup-props)
6908 (last-sexp-toggle-display, prin1-char, preceding-sexp)
6909 (eval-last-sexp-1, eval-last-sexp-print-value)
6910 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
6911 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
6913 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
6915 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
6916 Do not match file names that end in '/', as they cannot be 'grep'
6917 hits nowadays. This prevents confusion when 'grep -r' reports a
6918 match in a file whose basename is ':12345:'. Conversely, do not
6919 require exactly the same sequence of spaces and tabs after both
6920 colons, and allow spaces or tabs before the second colon, as per
6921 the POSIX spec for 'grep' output.
6923 2014-09-26 Leo Liu <sdl.web@gmail.com>
6925 Add cl-parse-integer based on parse-integer (Bug#18557)
6926 * calendar/parse-time.el (parse-time-digits): Remove.
6927 (digit-char-p, parse-integer) Moved to cl-lib.el.
6928 (parse-time-tokenize, parse-time-rules, parse-time-string):
6929 Use cl-parse-integer.
6931 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
6933 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
6934 (cl-digit-char-p): New function.
6936 2014-09-25 Juri Linkov <juri@jurta.org>
6938 * vc/add-log.el (change-log-next-buffer): Don't create an empty
6939 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
6940 Return the current buffer if no files match the default pattern
6941 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
6943 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
6945 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
6946 the global vc-handled-backends (bug#18535).
6948 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
6950 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
6951 Suggested by <lompik@voila.fr>.
6953 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
6955 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
6956 Rename from `newsticker--treeview-do-get-node'.
6957 (newsticker--treeview-get-node-by-id):
6958 Rename from `newsticker--treeview-get-node'.
6959 (newsticker--treeview-buffer-init)
6960 (newsticker--treeview-buffer-init): Disable buffer undo.
6961 (newsticker--treeview-unfold-node): Adapt to modified
6962 `newsticker--group-find-parent-group'.
6963 (newsticker--group-do-find-group):
6964 Rename from `newsticker--group-do-find-group-for-feed'.
6965 Now works for both, groups and feeds.
6966 (newsticker--group-find-parent-group):
6967 Rename from `newsticker--group-find-group-for-feed'.
6968 Now works for both, groups and feeds.
6969 (newsticker--group-do-get-parent-group)
6970 (newsticker--group-get-parent-group): Remove.
6971 (newsticker-group-add-group): Change interactive prompts.
6972 (newsticker-group-add-group): Finally jump to added group.
6973 (newsticker-group-delete-group): Finally jump to current feed.
6974 (newsticker--group-do-rename-group, newsticker-group-rename-group)
6975 (newsticker--get-group-names, newsticker--group-names): New.
6976 (newsticker-group-move-feed): Finally jump to moved feed.
6977 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
6978 (newsticker-group-shift-group-down)
6979 (newsticker-group-shift-group-up, newsticker--group-shift): New.
6980 (newsticker-treeview-mode-map): New keybindings for new shift commands.
6982 * net/newst-backend.el (newsticker--item-list)
6983 (newsticker--item-position, newsticker--prev-message)
6984 (newsticker--scrollable-text): Move to newst-ticker.el.
6986 * net/newst-ticker.el (newsticker--item-list)
6987 (newsticker--item-position, newsticker--prev-message)
6988 (newsticker--scrollable-text): Move from newst-backend.el.
6990 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
6992 * window.el (fit-window-to-buffer): When counting buffer width,
6993 count the whole visible buffer. Correctly convert the body-height
6994 to pixel size for window-text-pixel-size (Bug#18498).
6996 2014-09-22 Sam Steingold <sds@gnu.org>
6998 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
6999 (sql-execute): Use `special-mode'.
7001 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7003 Add pcase-defmacro, as well as `quote' and `app' patterns.
7004 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
7005 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
7006 (pcase--funcall, pcase--eval): New functions.
7007 (pcase--u1): Use them for guard, pred, let, and app.
7008 (\`): Use the new feature to generate better code for vector patterns.
7009 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
7010 (pcase--upat): Remove.
7011 (pcase--macroexpand): Don't hardcode handling of `.
7012 (pcase--split-consp, pcase--split-vector): Remove.
7013 (pcase--split-equal): Disregard ` since it's expanded away.
7014 (pcase--split-member): Optimize for quote rather than for `.
7015 (pcase--split-pred): Optimize for quote rather than for `.
7016 (pcase--u1): Remove handling of ` (and of `or' and `and').
7017 Quote non-selfquoting values when passing them to `eq'.
7018 Drop `app's let-binding if the variable is not used.
7019 (pcase--q1): Remove.
7020 (`): Define as a pattern macro.
7021 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
7022 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
7023 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
7025 (pcase--split-match): Don't hoist or/and here any more.
7026 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
7027 (pcase--flip): New helper macro.
7028 (pcase--u1): Optimize the memq case directly.
7029 Don't handle neither self-quoting nor and/or patterns any more.
7030 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
7031 (pcase--macroexpand): New function.
7032 (pcase--expand): Use it.
7033 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
7034 New optimization functions.
7035 (pcase--u1): Add support for `quote' and `app'.
7036 (pcase): Document them in the docstring.
7038 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7040 Use lexical-bindin in Ibuffer.
7041 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
7042 (ibuffer-compile-format): Simplify.
7043 (ibuffer-clear-summary-columns): Simplify.
7044 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
7045 elem of dotimes when we don't refer to the iteration var from it.
7046 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
7047 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
7048 Silence byte-compiler.
7050 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7052 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
7053 expression for a list.
7055 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
7056 for functions with no arguments.
7058 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
7059 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
7061 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
7063 * simple.el (clone-indirect-buffer): Mention the return value
7066 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
7067 Text mode in docstring (bug#18464).
7069 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7071 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7072 Accept underscores in identifiers after "sub" (bug#18502).
7074 2014-09-21 Tassilo Horn <tsdh@gnu.org>
7076 * textmodes/reftex-sel.el (reftex-select-label-mode)
7077 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
7078 from special-mode (instead of fundamental-mode) and propertize
7079 with font-lock-face instead of just face. (Bug#18496)
7081 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
7083 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
7085 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
7086 `table-etc' when `end' is non-nil.
7087 (lisp-completion-at-point): Move `end' back if it's after quote.
7088 If in comment or string, only complete when after backquote.
7090 (lisp-completion-at-point): Don't use
7091 `lisp--local-variables-completion-table' in the
7092 `lisp--form-quoted-p' case.
7094 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
7096 * emacs-lisp/lisp.el (lisp--expect-function-p)
7097 (lisp--form-quoted-p): New functions.
7098 (lisp-completion-at-point): Use them to see if we're completing a
7099 variable reference, a function name, or just any symbol.
7100 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
7102 2014-09-18 Ivan Kanis <ivan@kanis.fr>
7104 * net/shr.el, net/eww.el: Don't override `shr-width', but
7105 introduce a new variable `shr-internal-width'. This allows users
7106 to specify a width themselves.
7108 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7110 * image-mode.el (image-toggle-display-image): If we have a
7111 `fit-width' or a `fit-height', don't limit the size of the image
7112 to the window size, because that doesn't preserve the aspect ratio.
7113 * image-mode.el: Move defvars earlier to avoid a byte-compilation
7116 2014-09-17 Reuben Thomas <rrt@sc3d.org>
7118 * progmodes/js.el: Add interpreter-mode-alist support for various
7119 JavaScript interpreters.
7121 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
7123 Don't assume 'grep' supports GREP_OPTIONS.
7124 The GREP_OPTIONS environment variable is planned to be marked
7125 obsolescent in GNU grep, due to problems in its use, so stop
7127 * progmodes/grep.el (grep-highlight-matches): Document this.
7128 (grep-process-setup): Do not set GREP_OPTIONS.
7129 (grep-compute-defaults): Use an explicit --color option if supported.
7131 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7133 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
7134 Don't add outdated key-shortcut cache (bug#18482).
7136 2014-09-15 Glenn Morris <rgm@gnu.org>
7138 * image.el (image-multi-frame-p): Fix thinko - do not force
7139 a delay if none was specified. (Bug#18334)
7141 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
7143 * window.el (fit-window-to-buffer): Doc fix.
7145 2014-09-15 Ivan Shmakov <ivan@siamics.net>
7147 * desktop.el (desktop-create-buffer): Check that buffers are still live
7148 before burying them (bug#18373).
7150 2014-09-15 Glenn Morris <rgm@gnu.org>
7152 * calendar/diary-lib.el (diary-list-entries):
7153 Restore 24.3 display behavior. (Bug#18381)
7155 2014-09-15 Eli Zaretskii <eliz@gnu.org>
7157 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
7158 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
7159 discrepancy between window-pixel-edges and mouse events, and
7160 avoids moving mode line up when the mouse click is on the modeline
7161 and no drag is attempted.
7163 2014-09-14 Daniel Colascione <dancol@dancol.org>
7165 * register.el (insert-register): Change default interactive
7168 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
7170 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
7171 Suppress debug messages.
7173 * net/tramp.el (tramp-file-name-handler):
7174 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
7177 2014-09-13 Christopher Schmidt <ch@ristopher.com>
7179 * calendar/calendar.el (calendar-update-mode-line):
7180 Do not overwrite mode-line-format if calendar-mode-line-format is
7183 2014-09-13 Leo Liu <sdl.web@gmail.com>
7185 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
7186 (pcase--expand): Use it.
7187 (pcase-exhaustive): New macro. (Bug#16567)
7189 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
7190 Add pcase-exhaustive.
7192 2014-09-13 Eli Zaretskii <eliz@gnu.org>
7194 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
7195 using the specified transfer-encoding, if any, or 'undecided'.
7196 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
7197 broken at the window margin.
7199 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
7201 Support rendering of HTML parts in Rmail (bug#4258).
7202 * mail/rmailmm.el (rmail-mime-process): Handle text/html
7203 separately from other text/ types. Suppress tagline for
7205 (rmail-mime-parse): Don't change visibility of tagline here.
7206 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
7207 Handle text/html specially.
7208 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
7209 (rmail-mime-insert-html, rmail-mime-render-html-shr)
7210 (rmail-mime-render-html-lynx): New functions.
7211 (rmail-mime-fix-inserted-faces): New function.
7212 (rmail-mime-process-multipart): Find the best part to show
7213 following rmail-mime-prefer-html if set.
7214 (rmail-mime-searching): New variable.
7215 (rmail-search-mime-message): Bind rmail-mime-searching to
7216 suppress rendering while searching.
7218 2014-09-12 Sam Steingold <sds@gnu.org>
7220 * progmodes/sql.el (sql-product-alist): Add vertica.
7221 (sql-vertica-program, sql-vertica-options)
7222 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
7223 New functions and variables to support Vertica.
7224 Inspired by code by Roman Scherer <roman@burningswell.com>.
7226 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
7228 * ses.el (ses-file-format-extend-parameter-list): Rename from
7229 ses-file-format-extend-paramter-list, to correct a misspelling.
7232 2014-09-10 Alan Mackenzie <acm@muc.de>
7234 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
7235 gets loaded at run-time).
7236 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
7237 c-lang-const to c-make-no-parens-syntax-table and correct the
7239 (c-no-parens-syntax-table): Correct the logic of the
7242 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7244 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
7246 * progmodes/cc-mode.el (c-basic-common-init):
7247 Set open-paren-in-column-0-is-defun-start.
7248 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
7249 Remove declarations, unused.
7250 (run-mode-hooks): Remove declaration.
7251 (font-lock-defaults): Use plain `defvar' to declare.
7252 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
7253 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
7254 (c-make-mode-syntax-table): Don't micro-optimize.
7255 (c-keywords, c-keyword-member-alist): Simplify.
7256 (c-kwds-lang-consts): Don't eval at compile-time.
7257 (c-primary-expr-regexp): Comment out unused vars.
7258 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
7259 (c-font-byte-compile): New var.
7260 (c--compile): New function. Use it instead of `byte-compile'.
7261 (c-cpp-matchers): Quote the value returned by
7262 `c-make-syntactic-matcher' in case it's not self-evaluating.
7263 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
7264 parentheses instead (in case MATCHER happens to be a list).
7265 (c-font-lock-enum-tail): Remove unused var `start'.
7266 (c-font-lock-objc-methods): Silence byte-compiler warnings.
7267 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
7268 test into an argument.
7269 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
7270 (c-get-char-property): Don't use `eval' just to unquote a constant.
7271 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
7273 (c-put-char-property-fun): Don't call `byte-compile' by hand.
7274 (c-clear-char-property, c-clear-char-properties): Check that `property'
7275 is a quoted constant.
7276 (c-emacs-features): Remove `infodock', `syntax-properties', and
7277 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
7278 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
7279 changing buffer, so we don't have to setq them again afterwards.
7280 (c-lang-const): Remove redundant symbolp assertions.
7281 (c-find-assignment-for-mode): Use `or'.
7282 * Makefile.in (compile-one-process): Remove cc-mode dependency.
7284 2014-09-09 Sam Steingold <sds@gnu.org>
7286 * progmodes/sql.el (sql-default-directory): Fix type annotation.
7288 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7290 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
7291 Change doc comments into docstrings.
7292 * Makefile.in: Remove cc-awk dependency.
7294 2014-09-08 Sam Steingold <sds@gnu.org>
7296 * progmodes/sql.el (sql-send-line-and-next): New command,
7298 (sql-show-sqli-buffer): Display the buffer instead of its name and
7299 bind the command to C-c C-z.
7300 (sql-default-directory): New user option.
7301 (sql-product-interactive): Bind `default-directory' to it to
7302 enable remote connections using Tramp.
7303 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
7304 suitable buffer is available.
7306 2014-09-08 Glenn Morris <rgm@gnu.org>
7308 * calendar/calendar.el (calendar-basic-setup):
7309 Fix calendar-view-holidays-initially-flag and fancy display.
7310 * calendar/diary-lib.el (diary-live-p): Doc fix.
7312 * calendar/calendar.el (calendar-basic-setup):
7313 Avoid clobbering calendar with diary. (Bug#18381)
7315 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7317 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
7319 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
7321 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
7322 as well (bug#18400).
7324 2014-09-08 Eli Zaretskii <eliz@gnu.org>
7326 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
7328 2014-09-06 Leo Liu <sdl.web@gmail.com>
7330 * emacs-lisp/pcase.el (pcase): Doc fix.
7331 (pcase--split-vector): New function.
7332 (pcase--q1): Support vector qpattern. (Bug#18327)
7334 2014-09-05 Sam Steingold <sds@gnu.org>
7336 * textmodes/tex-mode.el (tex-print-file-extension): New user
7338 (tex-print): Use it instead of the hard-coded string.
7340 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
7342 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7343 Expand `default-directory'.
7345 2014-09-05 Martin Rudalics <rudalics@gmx.at>
7347 * scroll-bar.el (horizontal-scroll-bars-available-p):
7349 (horizontal-scroll-bar-mode): Rewrite using
7350 horizontal-scroll-bars-available-p.
7351 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
7352 horizontal-scroll-bars-available-p.
7354 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7356 * subr.el (call-process-shell-command, process-file-shell-command):
7357 Make the `args' obsolete (bug#18409).
7358 (start-process-shell-command, start-file-process-shell-command):
7361 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
7363 * calc/calc-forms.el (math-normalize-hms): Do a better check for
7364 "negative" hms forms.
7366 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
7368 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
7369 returns nil (bug#18391).
7371 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7373 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
7374 terminating paren (bug#18352).
7375 (eldoc-last-data-store): Return cached data.
7376 (eldoc-get-var-docstring): Avoid setq.
7377 (eldoc-get-fnsym-args-string): Clarify data flow.
7379 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7381 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
7382 case where we're currently providing part of the &rest arg after some
7383 &key args, as in define-ibuffer-op (bug#18048).
7385 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7387 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
7388 buffer-local setting of which-func-mode.
7389 (which-func-mode): Use defvar-local.
7390 (which-function-mode): Don't reset which-func-mode in each buffer since
7391 it might have been set by someone else.
7392 (which-func-update-ediff-windows): Check which-function-mode.
7394 2014-09-03 Martin Rudalics <rudalics@gmx.at>
7396 * frame.el (frame-initialize): Remove horizontal-scroll-bars
7397 from frame-initial-frame-alist.
7398 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
7399 (horizontal-scroll-bar-mode-explicit)
7400 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
7401 (toggle-horizontal-scroll-bar): Remove.
7402 (horizontal-scroll-bar-mode): Remove defcustom.
7403 (horizontal-scroll-bar-mode): Fix doc-string.
7404 (scroll-bar-toolkit-scroll)
7405 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
7407 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7409 * emacs-lisp/package.el (package-generate-description-file):
7410 Properly quote the arguments (bug#18332). Change second arg.
7411 (package--alist-to-plist-args): Rename from package--alist-to-plist and
7413 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
7414 the *-pkg.el file. Adjust to new calling convention of
7415 package-generate-description-file.
7417 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
7418 (gud-gdb-completions): Remove obsolete workaround.
7420 2014-09-03 Eli Zaretskii <eliz@gnu.org>
7422 * subr.el (posn-col-row): Revert the change from commit
7423 2010-11-13T21:07:58Z!eliz@gnu.org, which
7424 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
7425 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
7426 introduced an off-by-one error in the reported row when there is a
7427 header line. (Bug#18384)
7429 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
7431 * progmodes/python.el (python-indent-post-self-insert-function):
7432 Avoid electric colon at beginning-of-defun. (Bug#18228)
7434 2014-09-03 Glenn Morris <rgm@gnu.org>
7436 * tutorial.el (tutorial--display-changes):
7437 Fix 2014-08-01 change. (Bug#18382)
7439 2014-09-03 Ken Brown <kbrown@cornell.edu>
7441 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
7442 the Cygwin-w32 build. (Bug#18347)
7444 2014-09-03 Glenn Morris <rgm@gnu.org>
7446 * tar-mode.el (tar--extract, tar-extract):
7447 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
7449 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7451 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
7452 handle multiline elements (bug#18380).
7454 2014-09-01 Eli Zaretskii <eliz@gnu.org>
7456 * ls-lisp.el (ls-lisp-use-string-collate)
7457 (ls-lisp-UCA-like-collation): New defcustoms.
7458 (ls-lisp-string-lessp): Use them to control sorting by file
7460 (ls-lisp-version-lessp): New function.
7461 (ls-lisp-handle-switches): Use it to implement the -v switch of
7463 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
7465 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
7467 * ibuffer.el: Replace mode-specific quit function with
7468 `quit-window' via `special-mode'.
7469 (ibuffer-mode-map): Use keybindings from special-mode-map instead
7471 (ibuffer): Don't store previous windows configuration.
7472 Let `quit-window' handle restoring.
7473 (ibuffer-quit): Remove function. Use `quit-window' instead.
7474 (ibuffer-restore-window-config-on-quit): Remove variable.
7475 (ibuffer-prev-window-config): Remove variable.
7477 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
7479 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
7480 name instead of variable name in hook docstring. (Bug#18349)
7482 2014-08-29 Martin Rudalics <rudalics@gmx.at>
7484 * window.el (display-buffer-at-bottom): Prefer bottom-left
7485 window to other bottom windows. Reuse a bottom window if it
7486 shows the buffer already. Suggested by Juri Linkov
7487 <juri@jurta.org> in discussion of (Bug#18181).
7489 2014-08-29 Leo Liu <sdl.web@gmail.com>
7491 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
7492 append to minibuffer-setup-hook. (Bug#18341)
7494 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7496 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
7498 (lookup-syntax-properties): Silence byte-compiler.
7499 (c-lang-defconst): Quote the code with `lambda' rather than with
7501 (c-lang-const): Avoid unneeded setq.
7502 (c-lang-constants-under-evaluation): Add docstring.
7503 (c-lang--novalue): New constant.
7504 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
7505 (c-get-lang-constant): Same here.
7506 Get the mode's value using `funcall' now that the code is quoted
7509 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7511 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
7514 2014-08-28 Martin Rudalics <rudalics@gmx.at>
7516 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
7517 interpretation of `portion-whole'.
7519 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7521 * net/tramp-adb.el: Spell author name correctly.
7523 2014-08-28 João Távora <joaotavora@gmail.com>
7525 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
7526 use url-expand-file-name. (Bug#18310)
7528 2014-08-28 Glenn Morris <rgm@gnu.org>
7530 * emulation/cua-rect.el (cua--highlight-rectangle):
7531 Avoid error at point-min. (Bug#18309)
7533 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7535 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
7536 executable-find (bug#18244).
7538 * simple.el (self-insert-uses-region-functions): Defvar.
7540 2014-08-28 Glenn Morris <rgm@gnu.org>
7542 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
7544 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
7546 * startup.el (normal-top-level): Now use internal--top-level-message.
7548 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
7550 * startup.el (normal-top-level): Use top-level-message.
7552 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7554 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
7555 URLs containing spaces and the like.
7557 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7559 * subr.el (remq): Fix docstring (Bug#18253).
7561 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7563 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
7565 2014-08-24 Alan Mackenzie <acm@muc.de>
7567 Handle C++11's "auto" and "decltype" constructions.
7568 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
7569 and return 'decltype.
7570 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
7571 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
7573 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
7575 (c-font-lock-c++-new): Handle "decltype" constructions.
7576 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
7577 New c-lang-defconsts/defvars.
7578 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
7579 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
7580 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
7581 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
7583 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
7584 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
7585 off from c->-op-cont-re.
7586 (c->-op-cont-tokens): Change to use the above.
7587 (c->-op-without->-cont-regexp): New lang-const.
7588 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
7589 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
7592 2014-08-23 Alan Mackenzie <acm@muc.de>
7594 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
7595 loop, bug #18306. The bug was introduced on 2014-08-02.
7597 2014-08-21 Eli Zaretskii <eliz@gnu.org>
7599 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
7600 Don't recognize a Top node if there are other sectioning commands
7601 earlier in the Texinfo file. This fixes a bug in
7602 texinfo-make-menu and avoids inflooping in
7603 texinfo-all-menus-update when they are invoked on texinfo.texi.
7605 2014-08-21 Martin Rudalics <rudalics@gmx.at>
7607 * window.el (window--side-window-p): New function.
7608 (split-window, window-splittable-p): Use window--side-window-p to
7609 determine whether WINDOW can be split (Bug#18304).
7610 * calendar/calendar.el (calendar-basic-setup): Fix one call of
7611 `window-splittable-p' and add another (Bug#18304).
7613 2014-08-20 Sam Steingold <sds@gnu.org>
7615 * progmodes/python.el (python-new-pythonpath): Extract from
7616 `python-shell-calculate-process-environment'.
7618 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7620 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
7621 for &key args (bug#18048).
7623 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7625 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
7626 (eldoc-function-argstring-format): Remove.
7627 (eldoc-function-argstring): Always return upcase args.
7628 Use help-make-usage. Don't add parens.
7629 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
7630 it's too late to do it right (bug#18048).
7632 2014-08-18 Eli Zaretskii <eliz@gnu.org>
7634 * scroll-bar.el (scroll-bar-horizontal-drag-1)
7635 (scroll-bar-toolkit-horizontal-scroll): When determining the
7636 paragraph direction, use the buffer of the window designated in
7639 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
7641 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
7642 context of unified diff.
7644 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
7646 Add dependencies to fix loaddefs race during parallel builds.
7647 Without this, for example, 'make -j bootstrap' can fail and report
7648 "Opening input file: no such file or directory,
7649 .../lisp/calendar/diary-loaddefs.el ... recipe for target
7650 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
7651 got confused because diary-loaddefs.el was being built in parallel.
7652 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
7653 Depend on $(CAL_DIR)/cal-loaddefs.el.
7654 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
7656 2014-08-16 Martin Rudalics <rudalics@gmx.at>
7658 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
7659 portion-whole for scrolling right-to-left text.
7661 2014-08-15 Leo Liu <sdl.web@gmail.com>
7663 * speedbar.el (speedbar-generic-list-tag-p): Allow special
7664 elements from imenu.
7666 2014-08-15 Glenn Morris <rgm@gnu.org>
7668 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
7670 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7672 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7673 Add Guile regexpses.
7675 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7677 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
7678 add Guile debugger support for GUD.
7680 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7682 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
7683 (mouse-sel--ignore): New function.
7684 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
7685 (mouse-sel-original-interprogram-cut-function)
7686 (mouse-sel-original-interprogram-paste-function): Remove.
7688 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
7690 * vc/vc-git.el (vc-git-resolve-when-done): New function.
7691 Call "git add" when there are no longer conflict markers.
7693 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7695 * vc/vc-git.el (vc-git-find-file-hook): New function.
7696 Adds support for calling smerge (and resolve) on a conflicted file.
7697 (vc-git-conflicted-files): New function.
7698 Useful in itself and a step towards better smerge support.
7700 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7702 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
7703 to the first part if they're the same as the selection.
7705 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7707 * image-mode.el (image-transform-reset): New command and menu item.
7708 (image-mode-map): Rearrange the menu items to put presumably more
7709 obscure items at the end.
7711 2014-08-12 Juri Linkov <juri@jurta.org>
7713 * vc/vc-annotate.el (vc-annotate-background-mode):
7714 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
7716 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7718 * files.el (out-of-memory-warning-percentage): Turn it off by default.
7720 2014-08-11 Sam Steingold <sds@gnu.org>
7722 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
7723 the presence of known validators (tidy, (o)nsgmls).
7725 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
7727 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
7728 * net/newst-treeview.el (newsticker-treeview-date-format): New.
7729 (newsticker--treeview-list-add-item):
7730 Use `newsticker-treeview-date-format'.
7732 2014-08-11 Glenn Morris <rgm@gnu.org>
7734 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
7735 chose coding system for writing before backing up, since it causes
7736 a more serious problem than the one it solves. (Closes Bug#18141,
7739 2014-08-11 Martin Rudalics <rudalics@gmx.at>
7741 * window.el (window-total-size): Make doc-string more self-contained.
7743 * window.el (display-buffer-below-selected): Restore original
7744 behavior if buffer is already displayed in the window below the
7745 selected one (Bug#18181).
7747 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7749 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
7752 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7754 * info.el (info): Doc fix.
7756 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
7758 * info.el (Info-mode-map): Override a global down-mouse-2 binding
7761 2014-08-11 Eli Zaretskii <eliz@gnu.org>
7763 * simple.el (default-line-height): A floating-point value of
7764 line-spacing means a fraction of the default frame font's height,
7765 not of the font currently used by the 'default' face.
7766 Truncate the pixel value, like the display engine does.
7767 (window-screen-lines): Use window-inside-pixel-edges for
7768 determining the window height in pixels. (Bug#18195)
7770 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
7772 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
7774 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
7776 Enumerate evaluated sexp diary entries (Bug#7911).
7777 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
7778 (icalendar-export-sexp-enumeration-days): New.
7779 (icalendar-export-region): Now `icalendar--convert-to-ical'
7780 returns a cons cell or a list of cons cells.
7781 (icalendar--convert-to-ical): Take care of
7782 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
7783 (icalendar--convert-ordinary-to-ical)
7784 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
7785 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
7786 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
7787 (icalendar--convert-anniversary-to-ical): Return cons cell.
7788 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
7789 entries. Return (list of) cons cells.
7791 2014-08-09 Juri Linkov <juri@jurta.org>
7793 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
7794 to reevaluate `vc-annotate-color-map'. (Bug#18189)
7796 2014-08-09 Alan Mackenzie <acm@muc.de>
7798 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
7799 for top-level that can cause unacceptable slow-down in scrolling.
7800 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
7801 Antipov from 2013-10-14 in emacs-devel.
7803 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7805 * ibuffer.el (ibuffer-mode-map): Use toggle button for
7806 `ibuffer-auto-mode' menu entry.
7807 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
7809 2014-08-08 Matthias Meulien <orontee@gmail.com>
7811 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
7814 2014-08-07 Martin Rudalics <rudalics@gmx.at>
7816 * window.el (window--min-size-1): Explicitly set WINDOW arg in
7817 calls of window-min-pixel-height and window-min-pixel-width.
7819 2014-08-07 Reuben Thomas <rrt@sc3d.org>
7821 * progmodes/ada-mode.el:
7822 * net/tramp.el (tramp-handle-file-symlink-p):
7823 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
7824 about VMS, which we no longer support.
7825 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
7826 and fix a FIXME, using convert-standard-filename in place of
7827 removed ada-convert-file-name.
7829 2014-08-07 Eli Zaretskii <eliz@gnu.org>
7831 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
7833 2014-08-07 Reuben Thomas <rrt@sc3d.org>
7835 Refer to MS-DOS using the same name everywhere.
7836 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
7837 ``msdog'' become ``MS-DOS''.
7839 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
7841 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
7842 Use cached "remote-copy-args" value, if available. (Bug#18199)
7844 2014-08-07 Leo Liu <sdl.web@gmail.com>
7846 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
7847 Revert change on 2014-03-22.
7849 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
7851 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
7852 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
7856 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7858 * image-mode.el (image-toggle-display-image): Always rescale images
7859 to not be bigger than the current window.
7861 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
7863 * net/eww.el (eww-bookmarks-directory): New variable.
7864 (eww-write-bookmarks): Use it.
7865 (eww-read-bookmarks): Ditto.
7867 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7869 * net/shr.el (shr-copy-url): Also copy the image URL.
7871 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
7873 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
7874 also for Tramp working buffers.
7876 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
7878 * progmodes/python.el: Fix completions inside (i)pdb.
7879 (python-shell-completion-pdb-string-code): Make obsolete.
7880 (python-shell-completion-get-completions):
7881 Use python-shell-completion-string-code resending setup code
7882 continuously for (i)pdb.
7884 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
7886 * rect.el (rectangle--default-line-number-format): Rename
7887 from misspelled rectange--default-line-number-format (Bug#18045).
7890 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
7892 Don't mishandle year-9999 dates (Bug#18176).
7893 * calendar/parse-time.el (parse-time-rules):
7894 Allow years up to most-positive-fixnum.
7895 * calendar/time-date.el (date-to-time):
7896 Pass "Specified time is not representable" errors through.
7898 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
7900 * progmodes/python.el: Completion code cleanups.
7901 (python-shell-completion-get-completions): Detect and send import
7902 statements directly to completion function.
7903 (python-shell-completion-at-point): Simplify prompt calculation
7904 and import vs input completion logic.
7906 2014-08-02 Alan Mackenzie <acm@muc.de>
7908 Fix confusion in C++ file caused by comma in "= {1,2},".
7910 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
7911 for a statement boundary marked by "}", check there's no "="
7913 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
7914 non-nil `comma-delim' argument.
7915 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
7916 initializer expression more accurately.
7918 Correct loop termination condition in c-syntactic-skip-backward.
7919 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
7920 the situation where, after moving back out of a literal,
7921 skip-chars-backward doesn't move further, yet checks have still to
7924 2014-08-01 Eli Zaretskii <eliz@gnu.org>
7926 * tutorial.el (tutorial--display-changes): Accept punctuation
7927 characters before the key binding. (Bug#18146)
7929 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
7931 * progmodes/python.el: Shell output capture enhancements.
7932 (python-shell-accept-process-output): New function.
7933 (inferior-python-mode)
7934 (python-shell-send-setup-code): Use it.
7936 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
7938 * calendar/icalendar.el (icalendar--decode-isodatetime):
7939 Use actual current-time-zone when converting to local time. (Bug#15408)
7941 2014-07-29 Martin Rudalics <rudalics@gmx.at>
7943 * window.el (window--state-put-2): Handle horizontal scroll
7946 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7948 * menu-bar.el (menu-bar-update-buffers): Update item list format
7949 in `buffers-menu' to confirm with changes to `get_keyelt'
7950 (r117463). (Bug#18016)
7952 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7954 * progmodes/python.el (inferior-python-mode): Make input prompts
7957 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
7959 * net/tramp-sh.el (tramp-get-remote-python): Also search for
7960 executables named "python2" or "python3".
7961 (tramp-get-remote-uid-with-python): Use parentheses around
7962 arguments to `print' to make it compatible with Python 3.
7963 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
7965 2014-07-28 Eli Zaretskii <eliz@gnu.org>
7967 * window.el (window--pixel-to-total): Use FRAME's root window, not
7968 that of the selected frame. (Bug#18112, Bug#16674)
7970 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
7972 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
7975 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
7977 * progmodes/python.el (inferior-python-mode): Doc fix.
7979 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
7981 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
7982 not a character, ignore it instead of raising an error.
7984 * calendar/todo-mode.el: Fix handling of marked items and make
7985 minor code improvements.
7986 (todo-edit-item): If there are marked items, ensure user can only
7987 invoke editing commands that work with marked items.
7988 (todo-edit-item--text): When there are marked items, make it a
7989 noop if invoked with point not on an item; otherwise, ensure it
7990 applies only to item at point.
7991 (todo-item-undone): If there are marked not-done items, return
7992 point to its original position before signaling user error.
7993 (todo--user-error-if-marked-done-item): New function.
7994 (todo-edit-item--header, todo-edit-item--diary-inclusion)
7995 (todo-item-done): Use it.
7997 2014-07-28 Glenn Morris <rgm@gnu.org>
7999 * files.el (toggle-read-only): Re-add basic doc-string.
8000 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
8002 * progmodes/prolog.el (prolog-mode-keybindings-edit):
8003 Replace missing `switch-to-prolog' with `run-prolog'.
8004 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
8006 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
8008 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
8009 of file-wide setting when changing category-wide setting.
8011 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
8013 * doc-view.el (doc-view-open-text): Don't require that the
8014 document is saved in a file (e.g., email attachment).
8016 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8018 Parse completion input in a iPython friendly way. (Bug#18084)
8019 * progmodes/python.el
8020 (python-shell-completion-at-point): Rename from
8021 python-shell-completion-complete-at-point.
8022 (inferior-python-mode): Use it.
8023 (python-completion-at-point): Rename from
8024 python-completion-complete-at-point. Parse input up to first
8025 backward occurrence of whitespace, open-paren, close-paren or
8027 (python-mode): Use it.
8029 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8031 * progmodes/python.el
8032 (python-shell-with-shell-buffer): New macro.
8033 (python-shell-font-lock-get-or-create-buffer)
8034 (python-shell-font-lock-kill-buffer)
8035 (python-shell-font-lock-with-font-lock-buffer)
8036 (python-shell-font-lock-cleanup-buffer)
8037 (python-shell-font-lock-toggle): Use it.
8038 (python-shell-font-lock-turn-on)
8039 (python-shell-font-lock-turn-off): Use it. Make command.
8041 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8043 Grab all Python process output before inferior-python-mode hooks.
8044 * progmodes/python.el (inferior-python-mode):
8045 Call accept-process-output and sit-for to ensure all output for process
8046 has been received before running hooks.
8047 (python-shell-internal-get-or-create-process):
8048 Cleanup accept-process-output and sit-for calls.
8050 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8052 More robust shell startup and code setup.
8053 * progmodes/python.el (python-shell-make-comint):
8054 Remove accept-process-output call.
8055 (python-shell-get-buffer): Return current buffer if major-mode is
8056 inferior-python-mode.
8057 (python-shell-get-or-create-process): Use it.
8058 (python-shell-send-setup-code): Send all setup code in one string,
8059 output success message and accept-process-output.
8061 2014-07-27 Eli Zaretskii <eliz@gnu.org>
8063 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
8064 Add rudimentary support for bidirectional text.
8066 2014-07-27 Martin Rudalics <rudalics@gmx.at>
8068 * frame.el (frame-notice-user-settings): Rewrite using
8069 frame-initial-frame-tool-bar-height.
8070 * menu-bar.el (menu-bar-horizontal-scroll-bar)
8071 (menu-bar-no-horizontal-scroll-bar): New functions.
8072 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
8074 * scroll-bar.el (scroll-bar-lines)
8075 (set-horizontal-scroll-bar-mode)
8076 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
8077 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
8078 (scroll-bar-toolkit-horizontal-scroll): New functions.
8079 (horizontal-scroll-bar-mode)
8080 (previous-horizontal-scroll-bar-mode)
8081 (horizontal-scroll-bar-mode-explicit): New variables.
8082 (horizontal-scroll-bar-mode): New option.
8083 (toggle-horizontal-scroll-bar): Do something.
8084 (top-level): Bind horizontal-scroll-bar mouse-1.
8085 * startup.el (tool-bar-originally-present): Remove variable.
8086 (command-line): Don't set tool-bar-originally-present.
8087 * window.el (window-min-height): Update doc-string.
8088 (window--dump-frame): Dump horizontal scroll bar values.
8089 (window--min-size-1): Handle minibuffer window separately.
8090 Count in margins and horizontal scroll bar. Return safe value
8091 iff IGNORE equals 'safe.
8092 (frame-windows-min-size): New function (used by frame resizing
8094 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
8096 (window--sanitize-window-sizes): New function.
8097 (window-split-min-size): Remove.
8098 (split-window): Count divider-width. Don't use
8099 `window-split-min-size' any more. Reword error messages.
8100 Sanitize windows sizes after splitting.
8102 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
8104 Use `defvar-local' more.
8105 * progmodes/hideshow.el
8106 (hs-c-start-regexp, hs-block-start-regexp)
8107 (hs-block-start-mdata-select, hs-block-end-regexp)
8108 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
8109 remove corresponding `make-variable-buffer-local' top-level calls.
8111 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8113 Cleanup error signals. (Bug#18067)
8114 * progmodes/python.el
8115 (python-indent-shift-left): Use user-error instead.
8116 (python-shell-prompt-detect): Use lwarn with python group.
8117 (python-completion-complete-at-point)
8118 (python-eldoc--get-doc-at-point): Don't signal error.
8120 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8122 Support for packages in Python shell. (Bug#13570)
8123 * progmodes/python.el (python-shell--package-depth): New var.
8124 (python-shell-package-enable): New command.
8125 (python-util-list-directories, python-util-list-files)
8126 (python-util-list-packages): New functions.
8128 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8130 Faster comint output. (Bug#16875)
8131 * progmodes/python.el:
8132 (python-comint-output-filter-function): Make obsolete.
8133 (python-comint-postoutput-scroll-to-bottom): New function.
8134 (inferior-python-mode): Set comint-output-filter-functions to a
8137 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8139 * progmodes/python.el (python-shell-font-lock-post-command-hook):
8140 Safeguard current point and undo history.
8142 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
8144 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
8145 * progmodes/python.el:
8146 (python-shell-prompt-input-regexps): Add iPython block prompt.
8147 (python-shell-output-syntax-table): Delete var.
8148 (python-shell-font-lock-with-font-lock-buffer): New macro.
8149 (python-shell-font-lock-get-or-create-buffer)
8150 (python-shell-font-lock-kill-buffer)
8151 (python-shell-font-lock-cleanup-buffer)
8152 (python-shell-font-lock-post-command-hook)
8153 (python-shell-font-lock-turn-off): New functions.
8154 (python-shell-font-lock-turn-on): New function.
8155 (inferior-python-mode): Use it.
8156 (python-shell-font-lock-toggle): New command.
8157 (python-shell-font-lock-enable): Rename from
8158 python-shell-enable-font-lock.
8159 (run-python-internal): Use it.
8160 (python-shell-font-lock-comint-output-filter-function): New function.
8161 (python-shell-comint-end-of-output-p): New function.
8162 (python-shell-output-filter): Use it.
8163 (python-util-comint-last-prompt): New function.
8164 (python-util-text-properties-replace-name): New function.
8166 2014-07-25 Glenn Morris <rgm@gnu.org>
8168 * vc/ediff-init.el (ediff-toggle-read-only-function):
8169 * vc/ediff-util.el (ediff-toggle-read-only):
8170 Replace obsolete toggle-read-only with read-only-mode.
8172 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
8174 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
8175 with `save-match-data'. (Bug#18095)
8177 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
8179 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
8180 order to ensure that row and col are lexically bound inside the
8183 2014-07-21 Glenn Morris <rgm@gnu.org>
8185 * progmodes/hideif.el (hide-ifdef-mode-submap):
8186 Also substitute read-only-mode.
8187 * bindings.el (mode-line-toggle-read-only):
8188 * bs.el (bs-toggle-readonly):
8189 * buff-menu.el (Buffer-menu-toggle-read-only):
8190 * dired.el (dired-toggle-read-only):
8191 * files.el (view-read-only, find-file-read-only)
8192 (find-file-read-only-other-window)
8193 (find-file-read-only-other-frame):
8194 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
8195 Doc fixes re toggle-read-only.
8197 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8199 * progmodes/python.el: Add comment about pipe buffering and
8200 solutions for missing/delayed output in inferior Python shells.
8203 * progmodes/python.el (python-mode): Don't set
8204 mode-require-final-newline. (Bug#17990)
8206 Make python.el work with IPython automatically. (Bug#15510)
8207 * progmodes/python.el:
8208 (python-shell-completion-setup-code): New value supporting iPython.
8209 (python-shell-completion-string-code): New value supporting iPython.
8210 (python-shell-completion-get-completions): Use them.
8211 (python-shell-completion-module-string-code): Make obsolete.
8212 (python-shell-prompt-input-regexps)
8213 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
8214 (python-shell-output-filter): Fix comment typo.
8216 Fix Python shell prompts detection for remote hosts.
8217 * progmodes/python.el (python-shell-prompt-detect):
8218 Replace call-process with process-file and make it more robust.
8220 Autodetect Python shell prompts. (Bug#17370)
8221 * progmodes/python.el:
8222 (python-shell-interpreter-interactive-arg)
8223 (python-shell-prompt-detect-enabled)
8224 (python-shell-prompt-detect-failure-warning)
8225 (python-shell-prompt-input-regexps)
8226 (python-shell-prompt-output-regexps): New vars.
8227 (python-shell-prompt-calculated-input-regexp)
8228 (python-shell-prompt-calculated-output-regexp): New vars.
8229 (python-shell-get-process-name)
8230 (python-shell-internal-get-process-name)
8231 (python-shell-output-filter)
8232 (python-shell-completion-get-completions): Use them.
8233 (python-shell-prompt-detect)
8234 (python-shell-prompt-validate-regexps): New functions.
8235 (python-shell-prompt-set-calculated-regexps): New function.
8236 (inferior-python-mode): Use it. Also honor overriden
8237 python-shell-interpreter and python-shell-interpreter-args.
8238 (python-shell-make-comint): Honor overriden
8239 python-shell-interpreter and python-shell-interpreter-args.
8240 (python-shell-get-or-create-process): Make it testable by allowing
8241 to call run-python non-interactively.
8242 (python-util-valid-regexp-p): New function.
8243 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
8244 (python-shell-prompt-output-regexp)
8245 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
8247 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
8249 * emacs-lisp/smie.el (smie-config--guess-1): Split from
8251 (smie-config--guess): Use it.
8253 * emacs-lisp/edebug.el: Use nadvice.
8254 (edebug-original-read): Remove.
8255 (edebug--read): Rename from edebug-read and add `orig' arg.
8256 (edebug-uninstall-read-eval-functions)
8257 (edebug-install-read-eval-functions): Use nadvice.
8258 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
8259 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
8260 (edebug-read-string, edebug-read-function): Use just `read'.
8261 (edebug-original-debug-on-entry): Remove.
8262 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
8264 (debug-on-entry): Override with nadvice.
8266 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
8267 it also makes sense to bind it to a non-mouse event.
8269 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
8271 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8273 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
8276 * rect.el (rectangle--string-preview): Don't assume there
8277 a non-nil default (bug#17984).
8279 2014-07-16 Glenn Morris <rgm@gnu.org>
8281 * desktop.el (after-init-hook): Disable startup frame restoration
8282 in non-graphical situations. (Bug#17693)
8284 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
8285 if it was "empty", or used for a different set of files. (Bug#17884)
8287 2014-07-16 Eli Zaretskii <eliz@gnu.org>
8289 * bindings.el (mode-line-remote): If default-directory is not a
8290 string, don't call file-remote-p on it; instead state in the
8291 help-echo that it is nil. (Bug#17986)
8293 2014-07-14 Daniel Colascione <dancol@dancol.org>
8295 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
8296 to `macroexpand-all'
8298 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
8299 Use `macroexpand-all' instead of `cl-macroexpand-all'.
8301 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
8303 Fix bug: C-x v v discarded existing log message (Bug#17884).
8304 * vc/vc-dispatcher.el (vc-log-edit):
8305 Don't clobber an already-existing log message.
8307 2014-07-12 Glenn Morris <rgm@gnu.org>
8309 * vc/log-edit.el (log-edit-changelog-entries):
8310 Check for a visited-but-never-saved ChangeLog.
8312 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
8314 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
8315 a non-existing file (bug#17970).
8317 * faces.el (face-name): Undo last change.
8318 (x-resolve-font-name): Don't call face-name (bug#17956).
8320 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8322 Fix dedenters and electric colon handling. (Bug#15163)
8323 * progmodes/python.el
8324 (python-rx-constituents): Add dedenter and block-ender.
8325 (python-indent-dedenters, python-indent-block-enders): Delete.
8326 (python-indent-context): Return new case for dedenter-statement.
8327 (python-indent-calculate-indentation): Handle new case.
8328 (python-indent-calculate-levels): Fix levels calculation for
8329 dedenter statements.
8330 (python-indent-post-self-insert-function): Fix colon handling.
8331 (python-info-dedenter-opening-block-message): New function.
8332 (python-indent-line): Use it.
8333 (python-info-closing-block)
8334 (python-info-closing-block-message): Remove.
8335 (python-info-dedenter-opening-block-position)
8336 (python-info-dedenter-opening-block-positions)
8337 (python-info-dedenter-statement-p): New functions.
8339 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
8341 * files.el (out-of-memory-warning-percentage): New defcustom.
8342 (warn-maybe-out-of-memory): Use it.
8344 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
8346 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
8347 when calling `read-string'. (Bug#17839)
8349 2014-07-10 Eli Zaretskii <eliz@gnu.org>
8351 * files.el (warn-maybe-out-of-memory): Fix the wording of the
8354 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
8356 * files.el (warn-maybe-out-of-memory): New function.
8357 (find-file-noselect): Use it.
8359 2014-07-09 Sam Steingold <sds@gnu.org>
8361 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
8362 `constant' like `bless', `return' &c
8364 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8366 * rect.el (apply-on-rectangle): Check forward-line really moved to the
8369 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8371 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
8372 the middle of a line (bug#17896).
8374 2014-07-09 Juri Linkov <juri@jurta.org>
8376 * startup.el (command-line): Append displaying the warning about
8377 the errors in the init file to the end of `after-init-hook'.
8380 * faces.el (face-name): Return input arg `face' as-is
8381 when it's not a symbol.
8382 (x-resolve-font-name): Don't check if the face is a symbol.
8385 * facemenu.el (list-colors-print): In help-echo format use %.2f
8386 instead of %d because now HSV values are floating-point components
8387 between 0.0 and 1.0.
8389 2014-07-09 Glenn Morris <rgm@gnu.org>
8391 * emulation/cua-rect.el (cua--activate-rectangle):
8392 Avoid setting cua--rectangle to nil. (Bug#17877)
8394 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8396 * calendar/todo-mode.el: Fix wrong-type-argument error when
8397 marking multiple consecutive items.
8398 (todo-toggle-mark-item): Don't try to mark the empty lines at the
8399 end of the todo and done items sections. Note in doc string that
8400 items marked by passing a numeric prefix argument can include the
8401 last todo and first done items.
8402 (todo-mark-category): Don't try to mark the empty line between the
8403 todo and done items sections.
8405 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8407 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
8408 proper Lisp quoting (bug#17934).
8410 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
8411 require-final-newline since prog-mode already took care of it (bug#17947).
8413 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8415 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
8416 refer to the Todo mode Info manual. Update the comment on
8418 (todo-find-filtered-items-file): Add todo-prefix overlays.
8419 (todo-filter-items): Reorder a let-bound variable to avoid a
8420 wrong-type-argument error on canceling the file choice dialog.
8422 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8424 * progmodes/octave.el (inferior-octave-mode):
8425 Set comint-input-ring-size to a number (bug#17912).
8427 2014-07-09 Juri Linkov <juri@jurta.org>
8429 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
8430 and `isearch-mode' associated with nil. (Bug#17849)
8432 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8434 * linum.el (linum--face-height): New function (bug#17813).
8435 (linum-update-window): Use it to adjust margin to linum's width.
8437 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
8438 * eshell/em-smart.el (eshell-smart-scroll-window):
8439 Use with-selected-window.
8441 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
8442 Remove also pointless window&mark manipulation.
8444 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
8445 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
8446 (perl-continuation-line-p): Don't skip over anything else than labels.
8447 Return the previous char.
8448 (perl-calculate-indent): Use syntax-ppss instead of parse-start
8449 and update callers accordingly. For continuation lines, check the
8450 the case of array hashes.
8451 (perl-backward-to-noncomment): Make it non-interactive.
8452 (perl-backward-to-start-of-continued-exp): Rewrite.
8454 2014-07-08 Sam Steingold <sds@gnu.org>
8456 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
8459 2014-07-08 Juri Linkov <juri@jurta.org>
8461 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
8462 (vc-annotate-color-map): Use less saturated colors (20%) for
8464 (vc-annotate-very-old-color): Add default value for background-mode.
8465 (vc-annotate-background): Set default value to nil since now text on
8466 the default backgrounds should be legible in light and dark modes.
8467 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
8470 2014-07-08 Juri Linkov <juri@jurta.org>
8472 * simple.el (transpose-chars): Don't move point into read-only area.
8475 2014-07-08 Juri Linkov <juri@jurta.org>
8477 * window.el (with-displayed-buffer-window): New macro.
8478 (with-temp-buffer-window, with-current-buffer-window):
8479 Use `macroexp-let2' to evaluate and bind variables
8480 in the same order as macro arguments.
8481 (display-buffer--action-function-custom-type):
8482 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
8484 * minibuffer.el (minibuffer-completion-help): Replace
8485 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
8486 with actions that display *Completions* at-bottom when called
8487 from the minibuffer, or below-selected in a normal buffer.
8488 Associate `window-height' with `fit-window-to-buffer'.
8489 Let-bind `pop-up-windows' to nil.
8491 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
8492 instead of `with-current-buffer-window'. (Bug#17809)
8494 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
8496 * progmodes/hideif.el (hide-ifdef-env): Change to global.
8497 (hide-ifdef-env-backup): New variable.
8498 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
8499 New customizable variables.
8500 (hif-clear-all-ifdef-defined): New defun.
8501 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
8502 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
8503 (hif-tokenize): Fix for MS-DOS/Win EOL style.
8504 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
8505 Fix bug to hide the correct #elif region(s).
8506 (hif-range-elif): New defun.
8507 (hif-recurse-level): New var.
8508 (hif-evaluate-region, hif-evaluate-macro): New defun.
8509 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
8511 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
8514 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
8516 * net/dbus.el (dbus-peer-handler): New defun.
8517 (dbus-register-service): Register it. (Bug#17858)
8518 (dbus-managed-objects-handler): Fix docstring.
8520 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
8522 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
8523 (narrow-to-defun): New arg include-comments, defaulting to it
8526 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8528 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
8529 different calling convention to rectangle--unhighlight-for-redisplay.
8531 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
8533 * net/tramp.el (tramp-call-process): Handle error strings.
8535 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
8537 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
8538 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
8540 * net/trampver.el: Update release number.
8542 2014-07-03 Juri Linkov <juri@jurta.org>
8544 * desktop.el (desktop-save): Rename arg `auto-save' to
8545 `only-if-changed'. Doc fix. (Bug#17873)
8547 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8549 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8550 Use insert-for-yank (bug#17271).
8552 2014-07-03 Leo Liu <sdl.web@gmail.com>
8554 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
8555 Support lexical-binding.
8557 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8559 * vc/log-edit.el (log-edit-goto-eoh): New function.
8560 (log-edit--match-first-line): Use it (bug#17861).
8562 2014-07-03 Glenn Morris <rgm@gnu.org>
8564 * vc/log-edit.el (log-edit-hook): Add missing :version.
8566 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
8568 * progmodes/python.el (python-indent-post-self-insert-function):
8569 Enhancements to electric indentation behavior inside
8572 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8574 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
8575 buffer-invisibility-spec (bug#17867).
8577 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
8579 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
8582 2014-07-03 Glenn Morris <rgm@gnu.org>
8584 * cus-edit.el (help):
8585 * finder.el (finder-known-keywords):
8586 * help.el (help-for-help-internal):
8587 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
8588 (ediff-redraw-registry-buffer):
8589 * vc/ediff-ptch.el (ediff-patch-file-internal):
8590 Doc fixes re "online" help. (Bug#17803)
8592 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
8593 (idlwave-mode): Doc URL update.
8595 2014-07-01 Juri Linkov <juri@jurta.org>
8597 * man.el: Display man pages immediately and use process-filter
8598 to format them asynchronously.
8599 (Man-width): Doc fix.
8601 (Man-start-calling): Use `with-selected-window' to get
8602 `frame-width' and `window-width'.
8603 (Man-getpage-in-background): Call `Man-notify-when-ready'
8604 immediately after creating a new buffer. Call `Man-mode' and set
8605 `mode-line-process' in the created buffer. Set process-filter to
8606 `Man-bgproc-filter' in start-process branch. In call-process branch
8607 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
8608 Use `Man-start-calling' inside `with-current-buffer'.
8609 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
8610 (Man-cleanup-manpage): Don't print messages.
8611 (Man-bgproc-filter): New function.
8612 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
8613 user moved it during asynchronous formatting. Move calls of
8614 `Man-fontify-manpage' and `Man-cleanup-manpage' to
8615 `Man-bgproc-filter'. Move the call of `Man-mode' to
8616 `Man-getpage-in-background'. Use `quit-restore-window'
8617 instead of `kill-buffer'. Use `message' instead of `error'
8618 because errors are caught by process sentinel.
8619 (Man-mode): Move calls of `Man-build-page-list',
8620 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
8621 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
8623 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
8624 for the message about the man page cleaned up.
8626 2014-07-01 Mario Lang <mlang@delysid.org>
8628 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
8629 cosutomization option `gnutls-verify-error'.
8631 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8633 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
8634 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
8636 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
8637 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
8638 is suspended (bug#17857).
8640 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
8642 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8643 Prefer utf-8 coding. (Bug#17859)
8645 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8647 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
8650 2014-06-30 Glenn Morris <rgm@gnu.org>
8652 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
8653 (autoload-ensure-default-file): Maybe make existing output writable.
8654 * Makefile.in (AUTOGEN_VCS): Remove.
8655 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
8657 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8659 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
8661 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8663 New if-let, when-let, thread-first and thread-last macros.
8665 * emacs-lisp/subr-x.el
8666 (internal--listify, internal--check-binding)
8667 (internal--build-binding-value-form, internal--build-binding)
8668 (internal--build-bindings): New functions.
8669 (internal--thread-argument, thread-first, thread-last)
8670 (if-let, when-let): New macros.
8672 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
8674 * net/rcirc.el (rcirc-buffer-process): Restore previous
8675 behaviour. (Bug#17772)
8677 2014-06-29 Alan Mackenzie <acm@muc.de>
8679 Don't call c-parse-state when c++-template-syntax-table is active.
8680 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
8681 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
8682 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
8684 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8686 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
8687 account for file-wide setting of todo-top-priorities-overrides.
8688 Make code a bit cleaner.
8690 2014-06-28 Glenn Morris <rgm@gnu.org>
8692 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
8694 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8696 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
8697 category-wide setting of todo-top-priorities-overrides, check for
8698 a file-wide setting and fontify accordingly.
8700 2014-06-28 Glenn Morris <rgm@gnu.org>
8702 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
8704 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8706 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
8708 2014-06-28 K. Handa <handa@gnu.org>
8712 * composite.el: Setup composition-function-table for dotted circle.
8713 (compose-gstring-for-dotted-circle): New function.
8715 * international/characters.el: Add category "^" to all
8716 non-spacing characters.
8718 2014-06-28 Glenn Morris <rgm@gnu.org>
8720 * Makefile.in (doit): Remove force rule.
8721 (custom-deps, finder-data, autoloads, update-subdirs)
8722 (compile-one-process): PHONY targets do not need force rules.
8724 * Makefile.in (compile-main, compile, compile-always):
8725 No need to explicitly pass variables to ourself in recursive calls.
8727 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8729 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
8731 2014-06-26 Glenn Morris <rgm@gnu.org>
8733 * Makefile.in (update-authors): Update for moved authors.el.
8735 2014-06-26 Leo Liu <sdl.web@gmail.com>
8737 * skeleton.el (skeleton-end-hook): Default to nil and move the
8738 work to skeleton-insert. (Bug#17850)
8740 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
8742 * calc/calc-alg.el (math-beforep):
8743 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
8744 Simplify because string-lessp can accept symbols as args.
8746 2014-06-26 Daiki Ueno <ueno@gnu.org>
8748 * emacs-lisp/package.el (package--check-signature):
8749 If package-check-signature is allow-unsigned, don't signal error when
8750 we can't verify signature because of missing public key
8753 2014-06-26 Glenn Morris <rgm@gnu.org>
8755 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
8756 Remove outdated declaration.
8758 * emacs-lisp/authors.el (authors-valid-file-names)
8759 (authors-renamed-files-alist): Additions.
8761 2014-06-26 Leo Liu <sdl.web@gmail.com>
8763 * textmodes/picture.el (picture-set-tab-stops):
8764 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
8765 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
8767 * progmodes/asm-mode.el (asm-calculate-indentation):
8768 Use indent-next-tab-stop.
8770 * indent.el (indent-accumulate-tab-stops): New function.
8772 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8774 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
8775 (package-desc-status): Obey it.
8777 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
8779 * calendar/todo-mode.el: Fix two bugs.
8780 (todo-insert-item--basic): If user cancels item insertion to
8781 another category before setting priority, show original category
8782 whether it is in the same or a different file.
8783 (todo-set-item-priority): After selecting category, instead of
8784 moving point to top, which extends an active region, restore it.
8786 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8788 * help-fns.el (describe-function-1): Check file-name is a string before
8789 calling help-fns--autoloaded-p (bug#17564).
8791 2014-06-26 Juri Linkov <juri@jurta.org>
8793 * desktop.el (desktop-auto-save-enable)
8794 (desktop-auto-save-disable): New functions.
8795 (desktop-save-mode, desktop-auto-save-timeout): Use them.
8796 (desktop-read): Disable the autosave before loading the desktop,
8797 and enable afterwards. (Bug#17351)
8799 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8801 Fix some indentation problem with \; and pipes (bug#17842).
8802 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
8803 (sh-smie--default-forward-token, sh-smie--default-backward-token):
8805 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
8806 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
8807 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
8809 2014-06-26 Glenn Morris <rgm@gnu.org>
8811 * emacs-lisp/find-func.el (find-function-C-source-directory):
8812 Use file-accessible-directory-p.
8814 * ps-samp.el: Make it slightly less awful.
8815 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
8816 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
8817 Only set local values.
8818 (ps-article-subject, ps-article-author): Use standard functions
8819 like mail-fetch-field.
8820 (ps-info-file, ps-info-node): Use match-string.
8821 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
8822 (ps-samp-ps-setup): ... new function.
8824 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
8825 Optimize away code unneeded on any modern Emacs.
8827 * emacs-lisp/authors.el: Move to ../admin.
8829 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
8831 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
8833 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
8834 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
8835 performance enhancements.
8836 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
8838 (hif-factor, hif-string-concatenation, intern-safe): Support string
8839 concatenation and argumented macro expansion.
8840 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
8841 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
8842 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
8843 (hif-canonicalize-tokens, hif-place-macro-invocation)
8844 (hif-parse-macro-arglist): Mostly new functions for supporting
8845 argumented macro expansion.
8846 (hif-string-concatenation, hif-stringify, hif-token-concat)
8847 (hif-token-stringification, hif-token-concatenation):
8848 Stringification and concatenation.
8849 (hif-find-next-relevant): Fix comments.
8850 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
8851 some cases involving #elif.
8852 (hif-find-define, hif-add-new-defines): New functions for automatically
8853 scanning of defined symbols.
8854 (hide-ifdef-guts): Fix for defined symbol auto scanning.
8855 (hide-ifdef-undef): Fix behavior to match CPP.
8857 2014-06-25 Glenn Morris <rgm@gnu.org>
8859 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
8860 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
8861 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
8862 files. They are not relevant to the original issue (bug#1004),
8863 and cause unnecessary recompilation (bug#2151).
8865 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8867 * play/landmark.el: Use lexical-binding and avoid `intangible'.
8868 (landmark--last-pos): New var.
8869 (landmark--intangible-chars): New const.
8870 (landmark--intangible): New function.
8871 (landmark-mode, landmark-move): Use it.
8872 (landmark-mode): Remove properties.
8873 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
8874 (landmark-cross-qtuple):
8875 Don't worry about `intangible' any more.
8876 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
8877 (landmark-init-display): Don't set `intangible' and `point-entered'.
8878 (square): Remove. Inline it instead.
8879 (landmark--distance): Rename from `distance'.
8880 (landmark-calc-distance-of-robot-from): Rename from
8881 calc-distance-of-robot-from.
8882 (landmark-calc-smell-internal): Rename from calc-smell-internal.
8884 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
8886 * files.el (dir-locals-find-file, file-relative-name):
8887 * info.el (Info-complete-menu-item):
8888 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
8889 to compare-strings to avoid out-of-range errors.
8890 * subr.el (string-prefix-p): Adjust to match strict range
8891 checking in compare-strings.
8893 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
8895 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
8896 for comment lines non-greedy and stopping at newlines to fix stack
8897 overflows with large files.
8899 2014-06-24 Eli Barzilay <eli@barzilay.org>
8901 * calculator.el (calculator-last-input): Drop 'ascii-character property
8904 2014-06-24 Leo Liu <sdl.web@gmail.com>
8906 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
8907 tab-stop-list to nil. (Bug#16381)
8909 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
8910 (indent-rigidly-left-to-tab-stop)
8911 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
8912 (move-to-tab-stop): Change callers.
8914 2014-06-24 Eli Zaretskii <eliz@gnu.org>
8916 * skeleton.el (skeleton-insert): Yet another fix of the doc string
8917 wrt behavior of \n as the first/last element of a skeleton.
8919 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
8921 * net/tramp-adb.el (tramp-adb-handle-process-file):
8922 * net/tramp-sh.el (tramp-sh-handle-process-file):
8923 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
8924 the output buffer when DISPLAY is non-nil. (Bug#17815)
8926 2014-06-24 Glenn Morris <rgm@gnu.org>
8928 * play/landmark.el (landmark-move-down, landmark-move-up):
8929 Fix 2007-10-20 change - preserve horizontal position.
8931 2014-06-23 Sam Steingold <sds@gnu.org>
8933 * simple.el (kill-append): Remove undo boundary depending on ...
8934 (kill-append-merge-undo): New user option.
8936 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8938 * simple.el (handle-shift-selection, exchange-point-and-mark)
8939 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
8940 (transient-mark-mode): Use&set the global value.
8941 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
8942 * emulation/edt.el (edt-emulation-off): Save&restore the global
8943 transient-mark-mode setting.
8944 * obsolete/pc-select.el (pc-selection-mode): Use the
8945 transient-mark-mode function.
8947 2014-06-23 Eli Zaretskii <eliz@gnu.org>
8949 * international/fontset.el (script-representative-chars):
8950 Add representative characters for scripts added in Unicode 7.0.
8951 (otf-script-alist): Synchronize with the latest registry of OTF
8954 * international/characters.el (char-script-table): Update for
8955 scripts added and codepoint ranges changed in Unicode 7.0.
8957 2014-06-23 Eli Barzilay <eli@barzilay.org>
8959 * calculator.el (calculator-standard-displayer): Fix bug in use of
8960 `calculator-groupize-number'.
8961 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
8962 `eval' code, so it works in v24.3.1 too.
8963 (calculator-last-input): Comment to clarify purpose.
8965 2014-06-22 Mario Lang <mlang@delysid.org>
8967 * textmodes/rst.el (rst-comment-region): From from -> from.
8969 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
8971 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
8973 * electric.el (electric-layout-post-self-insert-function):
8974 * emacs-lisp/ert.el (ert--insert-infos):
8975 * obsolete/vi.el (vi-set-mark):
8976 * term.el (term-handle-scroll):
8977 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
8978 * wid-edit.el (widget-editable-list-value-create):
8979 Prefer point-marker to copy-marker of point.
8981 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8983 Fix completion retrieval parsing (bug#17209).
8984 * progmodes/python.el (python-mode):
8985 (python-util-strip-string): New function.
8986 (python-shell-completion-get-completions): Use it.
8988 2014-06-21 Eli Zaretskii <eliz@gnu.org>
8990 * skeleton.el (skeleton-insert): Fix last change.
8992 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8994 Enhancements for outline integration (bug#17796).
8995 * progmodes/python.el (python-mode): Properly set
8996 outline-heading-end-regexp so that comments after colons for
8997 defuns are supported.
8999 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9001 * skeleton.el (skeleton-insert): Doc fix.
9003 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9005 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
9006 (smie-config-guess): Use smie-config-local so the rules are obeyed
9009 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
9010 since it's already done inside the loop (bug#17819).
9012 2014-06-21 Martin Rudalics <rudalics@gmx.at>
9014 * mouse.el (mouse-drag-line): Re-remove code initially removed
9015 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
9018 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9020 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
9021 align with the surrounding parent (bug#17721).
9023 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9025 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
9027 (texinfo-insert-block, texinfo-insert-@end)
9028 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
9029 local setting of skeleton-end-newline by adding an explicit \n to
9030 the skeletons where appropriate. (Bug#17801)
9032 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9034 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
9035 (smie-indent--hanging-p): Use it.
9036 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
9038 2014-06-21 Leo Liu <sdl.web@gmail.com>
9040 * simple.el (read-quoted-char): Don't let help chars pop up help
9043 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9045 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
9048 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
9049 Drop unknown events instead of burping.
9051 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9053 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
9054 and later. (Bug#17790)
9056 2014-06-21 Juri Linkov <juri@jurta.org>
9058 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
9059 to `soft'. (Bug#17554)
9061 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9063 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
9066 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
9068 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
9069 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
9071 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
9073 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
9074 `unread-command-events'.
9076 2014-06-19 William Xu <william.xwl@gmail.com>
9078 * progmodes/hideif.el (hif-string-to-number): Don't return float for
9079 hex integer constants (bug#17807).
9081 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9083 * international/mule-util.el (truncate-string-ellipsis): New var.
9084 (truncate-string-to-width): Use it.
9086 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
9088 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
9089 (lisp-string-in-doc-position-p): New function, extracted from
9090 lisp-font-lock-syntactic-face-function.
9091 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
9093 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
9095 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
9097 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9099 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
9100 (bubbles--game-over): Don't add `intangible' properties since they
9103 2014-06-18 Juri Linkov <juri@jurta.org>
9105 * vc/ediff-init.el (ediff-current-diff-Ancestor)
9106 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
9107 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
9108 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
9109 Add `min-colors 88' version with removed black/white foregrounds.
9112 2014-06-18 Juri Linkov <juri@jurta.org>
9114 * vc/diff-mode.el (diff-changed): Empty face definition to use
9115 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
9116 (diff-context): Use darker color on light background and
9117 lighter color on dark background.
9119 2014-06-18 Juri Linkov <juri@jurta.org>
9121 * vc/diff-mode.el (diff-refine-changed): Rename from
9122 `diff-refine-change' for consistency with `diff-changed'.
9123 (diff-refine-change): Add obsolete face alias. (Bug#10181)
9125 * vc/smerge-mode.el (smerge-refined-changed): Rename from
9126 `smerge-refined-change'.
9127 (smerge-refined-change): Add obsolete face alias.
9129 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9131 * rect.el (rectangle-preview): New custom.
9132 (rectangle): New group.
9133 (rectangle--pos-cols): Add `window' argument.
9134 (rectangle--string-preview-state, rectangle--string-preview-window):
9136 (rectangle--string-flush-preview, rectangle--string-erase-preview)
9137 (rectangle--space-to, rectangle--string-preview): New functions.
9138 (string-rectangle): Use them.
9139 (rectangle--inhibit-region-highlight): New var.
9140 (rectangle--highlight-for-redisplay): Obey it. Make sure
9141 `apply-on-region' uses the point-crutches of the right window.
9142 Use :align-to rather than multiple spaces.
9144 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
9146 * ruler-mode.el (ruler-mode-window-col)
9147 (ruler-mode-mouse-set-left-margin)
9148 (ruler-mode-mouse-set-right-margin): Fix calculation of column
9149 from mouse position (Bug#17768).
9151 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
9153 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
9154 without varname or rhs causes crash.
9155 (dun-ftp): Fix bug where blank ftp password is allowed, making it
9156 impossible to win endgame.
9157 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
9159 (dun-help): Bump version number; update contact info.
9161 2014-06-15 Eli Barzilay <eli@barzilay.org>
9163 * calculator.el (calculator-prompt, calculator-remove-zeros)
9164 (calculator-mode-hook, calculator-operators, calculator-stack)
9165 (calculator-mode): Tweak docstring.
9166 (calculator-user-operators): Tweak docstring, fix a bug in the last
9168 (calculator-displayer): `std' case has an optional boolean.
9169 (calculator-displayers): Use the new boolean to group in decimal mode.
9170 (calculator-mode-map, calculator, calculator-message)
9171 (calculator-op-arity, calculator-add-operators)
9172 (calculator-string-to-number, calculator-displayer-prev)
9173 (calculator-displayer-next, calculator-remove-zeros)
9174 (calculator-eng-display, calculator-number-to-string)
9175 (calculator-update-display, calculator-last-input)
9176 (calculator-clear-fragile, calculator-digit, calculator-decimal)
9177 (calculator-exp, calculator-saved-move, calculator-clear)
9178 (calculator-copy, calculator-put-value, calculator-help)
9179 (calculator-expt, calculator-truncate): Minor code improvements.
9180 (calculator-need-3-lines): New function pulling out code from
9182 (calculator-get-display): Rename from `calculator-get-prompt', and
9184 (calculator-push-curnum): Rename from `calculator-curnum-value', and
9185 extended for all uses of it. All callers changed.
9186 (calculator-groupize-number): New utility for splitting a number into
9188 (calculator-standard-displayer): Improve code, new optional argument to
9189 use comma-split groups, make second argument optional too to use with
9190 'left/'right inputs. All callers changed.
9191 (calculator-reduce-stack-once): New utility, doing the meat of what
9192 `calculator-reduce-stack' used to do, much improved (mostly using
9193 `pcase' for conciseness and clarity).
9194 (calculator-reduce-stack): Now doing just the reduction loop using
9195 `calculator-reduce-stack-once'.
9196 (calculator-funcall): Improve code, make it work in v24.3.1 too.
9197 (calculator-last-input): Improve code, remove some old cruft.
9198 (calculator-quit): Kill `calculator-buffer' in electric mode too.
9199 (calculator-integer-p): Remove.
9200 (calculator-fact): Improve code, make it work on non-integer values
9201 too (using truncated numbers).
9203 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
9205 Sync with Tramp 2.2.10.
9207 * net/tramp.el (tramp-methods): Tweak docstring.
9208 (tramp-handle-file-accessible-directory-p): Check for
9209 `file-readable-p' instead of `file-executable-p'.
9210 (tramp-check-cached-permissions):
9211 Use `tramp-compat-file-attributes'.
9212 (tramp-call-process): Add new argument VEC. Adapt callees in all
9215 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
9216 (tramp-adb-maybe-open-connection): Don't set
9217 `tramp-current-*' variables.
9219 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
9220 file properties of temporary buffers.
9222 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
9224 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
9225 (tramp-gvfs-handle-delete-file): Flush file
9226 properties, not directory properties.
9227 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
9228 reading "unix::mode".
9229 (tramp-gvfs-handle-file-name-all-completions):
9230 Use "-h" option for "gvfs-ls".
9231 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
9232 (tramp-gvfs-send-command): Simplify traces.
9234 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
9235 (vc-git-program, vc-hg-program): Declare.
9236 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
9237 (tramp-methods) <nc>: Add new method.
9238 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
9239 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
9241 (tramp-default-user-alist): Add "nc".
9242 (top): Remove completion function for "sftp". Add completion
9243 functions for "nc" and "psftp".
9244 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
9245 Implement support for "nc" method.
9246 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
9247 (tramp-remote-coding-commands, tramp-call-local-coding-command):
9249 (tramp-sh-handle-write-region): Tweak error message.
9250 (tramp-sh-handle-vc-registered): Remove backends when the remote
9251 binary does not exist.
9252 (tramp-find-inline-encoding): Do not raise an error.
9253 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
9254 the "nc" case. Quote result also locally.
9256 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9257 (tramp-smb-handle-set-file-acl): Use `start-process'.
9258 (tramp-smb-handle-insert-directory): Use progress reporter.
9259 (tramp-smb-handle-rename-file): Flush also file properties of
9262 * net/trampver.el: Update release number.
9264 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9266 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
9268 (ses-localvars): Remove ses--local-printer-list, unused.
9269 (ses--metaprogramming): New macro. Use it to defvar variables.
9270 (ses-set-localvars): Simplify.
9271 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
9272 property-list into an alist.
9273 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9274 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
9275 Remove; use defstruct accessors/setters instead.
9276 (ses-cell-formula-aset, ses-cell-printer-aset)
9277 (ses-cell-references-aset): Remove, use setf instead.
9278 (ses--alist-get): New function.
9279 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
9280 Use an alist instead of a plist and don't do move-to-front since the
9281 list is always short.
9282 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
9283 (ses-cell-property-set-fun, ses-cell-property-set)
9284 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
9285 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
9286 (ses--letref): New macro.
9287 (ses-cell-property-pop): Rewrite.
9288 (ses--cell): Rename from ses-cell and make it into a function.
9289 Make `formula' fallback on `value' if nil.
9290 (ses--local-printer): Rename from ses-local-printer and make it into
9292 (ses-set-cell): Turn it into a macro so finding the accessor from the
9293 field name is done at compile time.
9294 (ses-repair-cell-reference-all): Test presence of `sym' rather than
9295 `ref' before adding `sym' to :ses-repair-reference.
9296 (ses-calculate-cell): Use ses--letref rather than
9297 ses-cell-property-get-handle.
9298 (ses-write-cells): Use a single prin1-to-string.
9299 (ses-setter-with-undo): New function.
9300 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
9301 (ses-unset-with-undo): Remove.
9302 (ses-load): Prefer apply' over `eval'.
9303 (ses-read-printer, ses-set-column-width): Use standard "(default
9306 2014-06-15 Glenn Morris <rgm@gnu.org>
9308 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
9310 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
9311 Replace delete-duplicates and mapcan by cl- versions throughout.
9312 And cl-macroexpand-all by macroexpand-all.
9313 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
9315 2014-06-15 Eli Zaretskii <eliz@gnu.org>
9317 * subr.el (posn-col-row): Doc fix. (Bug#17768)
9319 2014-06-15 Juri Linkov <juri@jurta.org>
9321 * bindings.el: Put `ascii-character' property on keypad keys
9322 mapped to characters. (Bug#17759)
9324 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9326 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
9327 bumping forward into a closing paren (bug#17761).
9329 * term/xterm.el (xterm--version-handler): Work around for OSX
9330 Terminal.app (bug#17607).
9332 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
9334 * play/dunnet.el (dun-describe-room, dun-mode):
9335 If a lamp is in the room, you won't be eaten by a grue.
9337 2014-06-13 Glenn Morris <rgm@gnu.org>
9339 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
9340 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
9341 (compile-always): GNU make automatically passes
9342 command-line arguments to sub-makes.
9344 * calendar/calendar.el (calendar-generate-window):
9345 Remove pointless call to font-lock-fontify-buffer.
9347 2014-06-13 Matthias Meulien <orontee@gmail.com>
9349 * simple.el (completion-list-mode-map): Navigate with tab and backtab
9352 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9354 * simple.el (set-mark-command): Simplify a bit.
9356 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9358 * help.el (help--key-binding-keymap): New function.
9359 (help--binding-locus): New function.
9360 (describe-key): Mention the keymap in which the binding was
9363 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9365 * hippie-exp.el (he--all-buffers): New function.
9366 (try-expand-line-all-buffers, try-expand-list-all-buffers)
9367 (try-expand-dabbrev-all-buffers): Use it.
9369 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
9371 * hippie-exp.el (try-expand-line-all-buffers)
9372 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
9373 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
9374 original buffer, in case they're buffer-local.
9376 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
9378 * ses.el (ses-initial-global-parameters-re): New defconst, a
9379 specific regexp is needed now that ses.el can handle both
9380 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
9382 (ses-localvars): Add local variables needed for local printer handling.
9383 (ses-set-localvars): Handle hashmap initialization.
9384 (ses-paramlines-plist): Add param-line for number of local printers.
9385 (ses-paramfmt-plist): New defconst, needed for code factorization
9386 between functions `ses-set-parameter' and
9387 `ses-file-format-extend-paramter-list'
9388 (ses-make-local-printer-info): New defsubst.
9389 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9390 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
9391 (ses-cell-printer-aset): New defmacro.
9392 (ses-local-printer-compile): New defun.
9393 (ses-local-printer): New defmacro.
9394 (ses-printer-validate, ses-call-printer): Add support for local
9396 (ses-file-format-extend-paramter-list): New defun.
9397 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
9399 (ses-load): Add support for local printer functions.
9400 (ses-read-printer): Update docstring and add support for local printer
9402 (ses-refresh-local-printer, ses-define-local-printer): New defun.
9403 (ses-safe-printer): Add support for local printer functions.
9405 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
9407 * ffap.el (ffap-lax-url): New var (bug#17723).
9408 (ffap-url-at-point): Use it.
9409 (ffap-file-at-point): Avoid returning just "/".
9411 2014-06-12 Matthias Meulien <orontee@gmail.com>
9413 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
9414 (python-mode-map): Bind it.
9416 * progmodes/python.el (class skeleton): Don't erase last char of class
9419 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
9421 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
9423 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
9425 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
9428 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9430 * international/mule-cmds.el: Use lexical-binding.
9431 (ucs-names): Simplify.
9433 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
9435 * progmodes/python.el (run-python): Use read-shell-command.
9437 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9439 * rect.el: Make it possible to move bounds past EOL or into TABs.
9440 (operate-on-rectangle): Use apply-on-rectangle.
9441 (rectangle--mark-crutches): New var.
9442 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
9443 (rectangle--crutches, rectangle--reset-crutches): New functions.
9444 (apply-on-rectangle): Obey crutches. Avoid setq.
9445 Fix missing final iteration if end is at EOB&BOL.
9446 (rectangle-mark-mode-map): Add remap bindings for
9447 exchange-point-and-mark and char/line movements.
9448 (rectangle--*-char): New function.
9449 (rectangle-exchange-point-and-mark, rectangle-right-char)
9450 (rectangle-left-char, rectangle-forward-char)
9451 (rectangle-backward-char, rectangle-next-line)
9452 (rectangle-previous-line): New commands.
9453 (rectangle--place-cursor): New function.
9454 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
9456 2014-06-08 Glenn Morris <rgm@gnu.org>
9458 * startup.el (initial-buffer-choice): Doc fix.
9459 Reset :version (adding an option does not merit a :version bump).
9461 * bookmark.el (bookmark-load):
9462 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
9464 2014-06-08 Juri Linkov <juri@jurta.org>
9466 * desktop.el: Activate auto-saving on window configuration changes.
9467 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
9468 `desktop-auto-save-set-timer' to/from
9469 `window-configuration-change-hook'.
9470 (desktop-auto-save-set-timer): Change REPEAT arg of
9471 `run-with-idle-timer' from t to nil.
9472 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
9474 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
9476 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
9477 vc-hg-command (bug#17570).
9479 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9481 * international/mule-cmds.el (ucs-names): Add special entry for BEL
9484 2014-06-08 Glenn Morris <rgm@gnu.org>
9486 * startup.el (window-setup-hook): Doc fix.
9488 * emacs-lisp/package.el (package-check-signature)
9489 (package-unsigned-archives): Doc fixes.
9491 2014-06-08 Martin Rudalics <rudalics@gmx.at>
9493 * window.el (display-buffer-use-some-window): Don't make window
9494 used smaller than it was before (Bug#17671).
9496 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9498 * menu-bar.el (menu-bar-open): Fix last change: use the PC
9499 'redisplay' instead of '(sit-for 0)'.
9501 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
9503 * net/tramp.el (tramp-ssh-controlmaster-options):
9504 Improve search regexp. (Bug#17653)
9506 2014-06-08 Glenn Morris <rgm@gnu.org>
9508 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
9510 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9512 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
9514 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
9516 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
9519 * vc/vc-hg.el (vc-hg-log-graph): New var.
9520 (vc-hg-print-log): Use it.
9521 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
9522 graph output (bug#17515).
9524 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9526 * mouse.el (mouse-posn-property): Ignore buffer position info when the
9527 even happened elsewhere.
9529 2014-06-06 Mario Lang <mlang@delysid.org>
9531 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
9532 `recenter' if `current-buffer' is equal to `window-buffer'.
9534 2014-06-05 Leo Liu <sdl.web@gmail.com>
9536 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
9538 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
9540 * textmodes/tildify.el (tildify-foreach-region-outside-env):
9541 New function which calls a callback on portions of the buffer that are
9542 outside of ignored environments.
9543 (tildify-build-regexp): Remove function since it is now
9544 incorporated in `tildify-foreach-region-outside-env' where it is
9545 optimized and simplified by the use of `mapconcat'.
9546 (tildify-tildify): Return number of substitutions made so that…
9547 (tildify-count): …can be removed.
9548 (tildify-find-env): Accept a new PAIRS argument which was
9549 previously looked up in `tildify-ignored-environments-alist' each
9550 time the function was called. With this change, the lookup is
9551 performed only once in `tildify-foreach-region-outside-env'.
9552 (tildify-region): Greatly simplify the function since now most of
9553 the work is done by `tildify-foreach-region-outside-env'.
9554 (tildify-mode-alist): Simplify slightly by avoiding if and setq
9555 and instead using or.
9557 * textmodes/tildify.el (tildify-ignored-environments-alist):
9558 Optimize environments regexes
9560 Each time beginning of an environment to ignore is found,
9561 `tildify-find-env' needs to identify regexp for the ending
9562 of the environment. This is done by trying all the opening
9563 regexes on matched text in a loop, so to speed that up, this
9564 loop should have fewer things to match, which can be done by
9565 using alternatives in the opening regexes.
9567 Coincidentally, this should make matching of the opening
9568 regexp faster as well thanks to the use of `regexp-opt' and
9569 having common prefix pulled from many regexes.
9571 * textmodes/tildify.el (tildify-string-alist)
9572 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
9573 of supported modes since `xml-mode' is no longer a thing but just
9574 an alias to the former. Also include comments and insides of tags
9575 in `tildify-ignored-environments-alist' for XML modes. Finally,
9576 since XML does not define “ ”[1], use a numeric reference for
9577 a no-break space (namely “ ”)
9579 [1] XML specification defines only a handful of predefined entities.
9580 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
9581 and includes only <, >, &, ' and " (meaning <,
9582 >, &, ' and " respectively). This is in contrast to HTML and even
9583 XHTML which defined a whole bunch of entities including “ ”.
9585 * textmodes/tildify.el (tildify-pattern-alist)
9586 (tildify-string-alist, tildify-ignored-environments-alist):
9587 Improve defcustom's types by adding more tags explaining what each
9588 value means and replace “sexp” used in
9589 `tildify-ignored-environments-alist' with a full type declaration.
9591 * textmodes/tildify.el (tildify-find-env): Fix matched group
9592 indexes in end-regex building
9594 When looking for a start of an ignore-environment, the regex is built
9595 by concatenating regexes of all the environments configured in
9596 `tildify-ignored-environments-alist'. So for example, the following
9597 list could be used to match TeX's \verb and \verb* commands:
9599 (("\\\\verb\\(.\\)" . (1))
9600 ("\\\\verb\\*\\(.\\)" . (1)))
9602 This would result in the following regex being used to find the start
9603 of any of the variants of the \verb command:
9605 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
9607 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
9608 won't match anything, and thus (match-string 1) will be nil, which
9609 will cause building of the end-matching regex to fail.
9611 Fix this by using capture groups from the time when the opening
9612 regexes are matched individually.
9614 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
9615 in `tildify-find-env'
9617 The `tildify-ignored-environments-alist' allows the end-regex to
9618 be provided not as a static string but mix of strings and indexes
9619 of groups matched the begin-regex. For example, the “\verb!…!”
9620 TeX-command (where “!” is an arbitrary character) is handled
9623 ("\\\\verb\\*?\\(.\\)" . (1))
9625 In the same way, the following should be supported as well:
9627 ("open-\\(.\\)" . ("end-" 1))
9629 However the tildify-find-env function fails at
9632 (if (stringp (setq aux (car expression)))
9633 expression ; BUG: expression is a list
9634 (regexp-quote (match-string aux))))
9636 where the string part is handled incorrectly.
9638 The most trivial fix would be to replace `expression' in the
9639 true-part of the if-statement with `aux', but instead, this commit
9640 optimizes `tildify-find-env' by changing it to use `mapconcat'
9641 rather than open-coded while-loop.
9643 2014-06-05 Mario Lang <mlang@delysid.org>
9645 * woman.el (woman-mapcan): Remove.
9646 (woman-parse-colon-path): Use cl-mapcan instead.
9648 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9650 * register.el: Add link to Emacs manual in Commentary.
9652 2014-06-02 Sam Steingold <sds@gnu.org>
9654 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
9655 (popup-menu): ...here.
9656 (menu-bar-open): Use it to avoid an error when `lookup-key'
9659 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
9661 * net/tramp.el (tramp-call-process): Add traces.
9662 (tramp-handle-unhandled-file-name-directory): Return "/".
9664 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
9666 Sync with upstream verilog-mode revision 3cd8144.
9667 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
9668 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
9669 (verilog-type-font-keywords): Add nor.
9670 (verilog-batch-execute-func): Force reading of Local Variables.
9671 Fix printing "no changes to be saved" with verilog-batch.
9672 (verilog-auto-arg-ports): Doc fix.
9673 Add verilog-auto-arg-format to support newlines in AUTOARG.
9674 (verilog-auto-arg): Doc fix.
9676 2014-06-02 Glenn Morris <rgm@gnu.org>
9678 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
9679 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
9680 * emulation/ws-mode.el: Move to obsolete/.
9681 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
9683 2014-06-02 Eli Zaretskii <eliz@gnu.org>
9685 * simple.el (keyboard-quit): Force update of mode lines, to remove
9686 the "Def" indicator, if we were defining a macro. (Bug#17615)
9688 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9690 * minibuffer.el (minibuffer-force-complete-and-exit):
9691 Obey minibuffer-default (bug#17545).
9693 * progmodes/js.el (js-indent-line): Don't mix columns and chars
9696 * subr.el (set-transient-map): Don't wait for some "nested"
9697 transient-map to finish if we're only supposed to be active for
9698 the next command (bug#17642).
9700 2014-06-02 Leo Liu <sdl.web@gmail.com>
9702 * emacs-lisp/gv.el (window-buffer, window-display-table)
9703 (window-dedicated-p, window-hscroll, window-point, window-start):
9704 Fix gv-expander. (Bug#17630)
9706 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9708 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
9711 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
9712 for the single comma, since ", " is *very* common in normal French text
9715 2014-06-02 Glenn Morris <rgm@gnu.org>
9717 * emacs-lisp/package.el (package-check-signature)
9718 (package-unsigned-archives): Fix :version.
9720 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9722 * subr.el (sit-for): Don't run input-methods (bug#15614).
9724 2014-06-02 Glenn Morris <rgm@gnu.org>
9726 * cus-start.el: Fix some :version numbers.
9728 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9730 * simple.el (deactivate-mark): Set mark-active to nil even if
9731 deactivation is done via setting transient-mark-mode to nil,
9732 since one is buffer-local and the other is global.
9734 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
9735 there can't be more than 2 arguments (bug#17584).
9737 2014-06-02 Glenn Morris <rgm@gnu.org>
9739 * simple.el (filter-buffer-substring-functions)
9740 (filter-buffer-substring-function, buffer-substring-filters)
9741 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
9743 * minibuffer.el (completion-in-region-functions, completion-in-region)
9744 (completion--in-region): Doc fixes.
9746 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
9747 (expand-abbrev, abbrev--default-expand): Doc fixes.
9749 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
9751 Include sources used to create macuvs.h.
9752 * international/README: Refer to the Unicode Terms of Use rather
9753 than copying it bodily here, as that simplifies maintenance.
9755 2014-06-01 Glenn Morris <rgm@gnu.org>
9757 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
9759 2014-05-31 Glenn Morris <rgm@gnu.org>
9761 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
9763 2014-05-30 Glenn Morris <rgm@gnu.org>
9765 * loadup.el: Treat `command-line-args' more flexibly.
9767 2014-05-30 Alan Mackenzie <acm@muc.de>
9769 Guard (looking-at "\\s!") from XEmacs.
9770 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
9772 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
9774 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
9775 The argument COUNT is now optional, to be more backward-compatible.
9776 Doc fix. (Bug#17560)
9778 2014-05-29 Reuben Thomas <rrt@sc3d.org>
9780 * whitespace.el (whitespace-report-region):
9781 Simplify documentation.
9782 (whitespace-report-region): Allow report-if-bogus to take the
9783 value `never', for non-interactive use.
9784 (whitespace-report): Refer to whitespace-report-region's
9787 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9789 * whitespace.el: Use font-lock-flush. Minimize refontifications.
9790 Side benefit: it works without jit-lock.
9791 (whitespace-point--used): New buffer-local var.
9792 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
9793 (whitespace-color-off): Use font-lock-flush.
9794 (whitespace-point--used, whitespace-point--flush-used): New functions.
9795 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
9796 (whitespace-empty-at-eob-regexp): Use them.
9797 (whitespace-post-command-hook): Rewrite.
9799 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
9800 (font-lock-fontify-buffer): Mark interactive-only.
9801 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
9803 (font-lock-specified-p): Remove redundant boundp check.
9804 (font-lock-flush-function, font-lock-ensure-function): New vars.
9805 (font-lock-turn-on-thing-lock): Set them.
9806 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
9807 (font-lock-after-change-function): Make `old-len' optional.
9808 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
9809 Call font-lock-flush, just in case.
9810 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
9812 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
9813 (vera-mode-map, vera-mode-menu): Remove bindings to it.
9814 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
9815 and with-syntax-table.
9816 * textmodes/conf-mode.el (conf-quote-normal):
9817 * progmodes/sh-script.el (sh-set-shell):
9818 * progmodes/prog-mode.el (prettify-symbols-mode):
9819 * progmodes/f90.el (f90-font-lock-n):
9820 * progmodes/cwarn.el (cwarn-mode):
9821 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
9822 * progmodes/compile.el (compilation-setup, compilation--unsetup):
9823 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
9824 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
9825 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
9826 font-lock-fontify-buffer-function and
9827 font-lock-unfontify-buffer-function.
9828 (rmail-unfontify-buffer-function, rmail-fontify-message):
9829 Use with-silent-modifications.
9830 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
9831 and font-lock-ensure.
9832 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
9834 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
9836 * emacs-lisp/package.el (package-generate-autoloads):
9837 Inhibit backup files.
9839 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9841 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
9844 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
9846 * textmodes/tildify.el (tildify-buffer, tildify-region):
9847 Add dont-ask option.
9849 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
9851 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
9852 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
9854 * subr.el (internal--funcall-interactively): New.
9855 (internal--call-interactively): Remove.
9856 (called-interactively-p): Detect funcall-interactively instead of
9858 * simple.el (repeat-complex-command): Use funcall-interactively.
9859 (repeat-complex-command--called-interactively-skip): Remove.
9861 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9863 * register.el (register-read-with-preview): Don't burp on
9864 frame switches (e.g. due to the frame we just popped).
9866 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
9867 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
9869 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
9871 * cus-face.el (custom-face-attributes): Add :distant-foreground.
9873 2014-05-26 Martin Rudalics <rudalics@gmx.at>
9875 * window.el (window--dump-frame): Remove interactive specification.
9877 2014-05-26 Glenn Morris <rgm@gnu.org>
9879 * hippie-exp.el (he-line-search-regexp):
9880 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
9882 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
9884 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
9885 to avoid errors when trying to create or visit a file foo.todo
9886 located outside to todo-directory, and to allow having such files
9887 without them being tied to Todo mode (bug#17482).
9888 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
9889 (todo-archive-done-item, todo-find-filtered-items-file)
9890 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
9891 (todo-category-completions, todo-read-category): When visiting a
9892 Todo file, make sure we're in the right mode and the buffer local
9894 (todo-make-categories-list, todo-reset-nondiary-marker)
9895 (todo-reset-done-string, todo-reset-comment-string):
9896 After processing all Todo files, kill the buffers of those files that
9897 weren't being visited before the processing.
9898 (todo-display-as-todo-file, todo-add-to-buffer-list)
9899 (todo-visit-files-commands): Comment out.
9900 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
9901 (auto-mode-alist): Remove add-to-list calls making Todo file
9902 extensions unrestrictedly tied to Todo modes.
9904 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9906 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
9907 (advice-function-member-p): Tell it to check both names and functions
9909 (advice--add-function): Adjust call accordingly.
9911 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
9913 * calendar/todo-mode.el: Miscellaneous bug fixes.
9914 (todo-delete-file): When deleting an archive but not its todo
9915 file, make sure to update the todo file's category sexp.
9916 (todo-move-category): Keep the moved category's name unless the
9917 file moved to already has a category with that name. If the
9918 numerically last category of the source file was moved, make the
9919 first category current to avoid selecting a nonexisting category.
9920 (todo-merge-category): Fix implementation to make merging to a
9921 category in another file work as documented. Eliminate now
9922 insufficient and unnecessary renaming of archive category, correct
9923 document string accordingly, and clarify it. If the numerically
9924 last category of the source file was merged, make the first
9925 category current to avoid selecting a nonexisting category.
9926 (todo-archive-done-item): When there are marked items and point
9927 happens to be on an unmarked item, ignore the latter. Don't leave
9928 point below last item after archiving marked items.
9929 (todo-unarchive-items): Fix logic to ensure unarchiving an item
9930 from an archive with only one category deletes the archive only
9931 when the category is empty after unarchiving. Make sure the todo
9932 file's category sexp is updated.
9933 (todo-read-file-name): Allow an existing file name even when it is
9934 not required (todo-move-category needs this to work as documented).
9935 (todo-add-file): Call todo-validate-name to reject the name of an
9936 existing todo file (needed due to fix in todo-read-file-name).
9937 (todo-reset-nondiary-marker): Also reset in filtered items files.
9938 (todo-reset-done-string, todo-reset-comment-string): Also reset in
9939 regexp filtered items files.
9940 (todo-reset-highlight-item): Also reset in filtered items files.
9941 Fix incorrect variable reference in document string.
9943 2014-05-26 Glenn Morris <rgm@gnu.org>
9945 * window.el (window--dump-frame): Avoid error in --without-x builds.
9947 2014-05-26 Glenn Morris <rgm@gnu.org>
9949 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
9951 2014-05-26 Eli Zaretskii <eliz@gnu.org>
9953 * frame.el (set-frame-font): Doc fix.
9955 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
9957 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
9959 * emacs-lisp/package.el (package--download-one-archive):
9960 Use `write-region' instead of `save-buffer' to avoid running various
9962 (describe-package-1): Same. Insert newline at the end of the
9963 buffer if appropriate.
9965 2014-05-26 Juri Linkov <juri@jurta.org>
9967 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
9968 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
9969 Add more modifiers: meta, control, shift, hyper, super, alt.
9972 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
9973 to allow changing its value with `set-variable'.
9975 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
9977 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
9979 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
9981 (scheme-mode-variables): Set syntax-propertize-function instead of
9982 font-lock-syntactic-face-function.
9983 (scheme-font-lock-syntactic-face-function): Delete.
9985 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
9987 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
9990 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
9992 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
9993 for a temporary file name.
9995 2014-05-26 Eli Zaretskii <eliz@gnu.org>
9997 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
9999 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
10001 * net/dbus.el (dbus-init-bus, dbus-call-method)
10002 (dbus-call-method-asynchronously, dbus-send-signal)
10003 (dbus-method-return-internal, dbus-method-error-internal):
10004 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
10006 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10008 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
10009 methods which do not have a doc string. (Bug#17490)
10011 2014-05-25 Tassilo Horn <tsdh@gnu.org>
10013 * textmodes/reftex-ref.el (reftex-format-special): Make it work
10014 also for AMS Math's \eqref macro.
10016 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
10018 Arrange to never byte-compile the generated -pkg.el file.
10020 * emacs-lisp/package.el (package-generate-description-file):
10021 Output first-line comment to set buffer-local var `no-byte-compile'.
10022 Suggested by Dmitry Gutov:
10023 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
10025 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
10027 Fix bug: Properly quote args to generated -pkg.el `define-package'.
10029 * emacs-lisp/package.el (package-generate-description-file):
10030 Inline `package--alist-to-plist'; rewrite to selectively
10031 quote alist values that are not self-quoting.
10032 (package--alist-to-plist): Delete func.
10034 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
10036 * term/xterm.el (xterm-function-map): Add mapping for shifted
10039 2014-05-24 Daniel Colascione <dancol@dancol.org>
10041 * progmodes/subword.el (subword-find-word-boundary): Move point to
10042 correct spot before search. (Bug#17580)
10044 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
10045 breaking the build.
10047 2014-05-24 Leo Liu <sdl.web@gmail.com>
10049 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
10051 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10053 * minibuffer.el (completion--sreverse): Remove.
10054 (completion--common-suffix): Use `reverse' instead.
10055 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
10057 2014-05-22 Glenn Morris <rgm@gnu.org>
10059 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
10061 2014-05-21 Daniel Colascione <dancol@dancol.org>
10063 * files.el (interpreter-mode-alist): Add mksh.
10065 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
10067 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
10068 mksh. Improve custom spec; allow regular expressions.
10069 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
10070 (sh-after-hack-local-variables): New function.
10071 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
10072 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
10074 (sh-canonicalize-shell): Rewrite to support regexes.
10076 2014-05-21 Leo Liu <sdl.web@gmail.com>
10078 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
10080 2014-05-19 Leo Liu <sdl.web@gmail.com>
10082 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
10084 2014-05-18 Glenn Morris <rgm@gnu.org>
10087 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
10089 2014-05-14 Sam Steingold <sds@gnu.org>
10091 * progmodes/python.el (python-shell-get-or-create-process):
10092 Do not bind `current-prefix-arg' so that C-c C-z does not talk
10093 back unless requested.
10095 2014-05-14 Glenn Morris <rgm@gnu.org>
10097 * subr.el (with-file-modes): New macro.
10098 * printing.el (pr-save-file-modes): Make obsolete.
10099 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
10100 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
10101 Add with-file-modes.
10102 * doc-view.el (doc-view-make-safe-dir):
10103 * epg.el (epg--start):
10104 * files.el (locate-user-emacs-file, make-temp-file)
10105 (backup-buffer-copy, move-file-to-trash):
10106 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
10107 * eshell/esh-util.el (eshell-with-private-file-modes)
10108 (eshell-make-private-directory):
10109 * net/browse-url.el (browse-url-mosaic):
10110 * obsolete/mailpost.el (post-mail-send-it):
10111 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
10112 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
10113 Use with-file-modes.
10115 * vc/emerge.el (emerge-make-temp-file): Simplify.
10117 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
10118 Stefan Monnier <monnier@iro.umontreal.ca>
10120 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
10121 suffix (bug#15419).
10123 2014-05-14 Glenn Morris <rgm@gnu.org>
10125 * vc/emerge.el (emerge-temp-file-prefix):
10126 Make pointless option obsolete.
10127 (emerge-temp-file-mode): Make non-functional option obsolete.
10129 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
10131 * net/browse-url.el (browse-url):
10132 Use `unhandled-file-name-directory' when setting `default-directory',
10133 in order to circumvent stalled remote connections. (Bug#17425)
10135 2014-05-14 Glenn Morris <rgm@gnu.org>
10137 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
10138 Optimize on Emacs, which has the relevant functions for ages.
10140 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10142 * simple.el (undo-make-selective-list): Obey undo-no-redo.
10144 2014-05-12 Sam Steingold <sds@gnu.org>
10146 * calendar/time-date.el (seconds-to-string): New function to
10147 pretty print time delay in seconds.
10149 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10151 * mpc.el (mpc-format): Trim Date to the year.
10152 (mpc-songs-hashcons): Shorten the Date field.
10154 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
10155 into autoloading just because of a silly indirection.
10157 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
10159 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
10161 2014-05-12 Glenn Morris <rgm@gnu.org>
10163 * emacs-lisp/find-gc.el: Move to ../admin.
10165 * printing.el (pr-version):
10166 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
10168 * net/browse-url.el (browse-url-mosaic):
10169 Create /tmp/Mosaic.PID as a private file.
10171 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10173 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
10174 (advice--member-p): If name is given, only compare the name.
10175 (advice--remove-function): Don't stop at the first match.
10176 (advice--normalize-place): New function.
10177 (add-function, remove-function): Use it.
10178 (advice--add-function): Pass the name, if any, to
10179 advice--remove-function.
10181 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
10183 * electric.el (electric-indent-post-self-insert-function): Don't use
10184 `pos' after modifying the buffer (bug#17449).
10186 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
10188 * calendar/todo-mode.el (todo-insert-item-from-calendar):
10189 Correct argument list to conform to todo-insert-item--basic.
10191 2014-05-12 Glenn Morris <rgm@gnu.org>
10193 * files.el (cd-absolute): Test if directory is accessible
10194 rather than executable. (Bug#17330)
10196 * progmodes/compile.el (recompile):
10197 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
10199 * net/browse-url.el (browse-url-mosaic):
10200 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
10201 This is CVE-2014-3423.
10203 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10205 * mouse.el: Use the normal toplevel loop while dragging.
10206 (mouse-set-point): Handle multi-clicks.
10207 (mouse-set-region): Handle multi-clicks for drags.
10208 (mouse-drag-region): Update call accordingly.
10209 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
10210 Use the normal event loop instead of a local while/read-event loop.
10211 (global-map): Remove redundant bindings for double/triple-mouse-1.
10212 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
10213 Generate synthetic down events when the protocol only sends up events.
10214 (xterm-mouse-last): Remove.
10215 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
10216 terminal parameter instead.
10217 (xterm-mouse--set-click-count): New function.
10218 (xterm-mouse-event): Detect/generate double/triple clicks.
10219 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
10221 * info.el (Info-quoted): New face.
10222 (Info-mode-font-lock-keywords): New var.
10223 (Info-mode): Use it.
10225 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
10226 are a hindrance for C-x C-e.
10228 2014-05-11 Leo Liu <sdl.web@gmail.com>
10230 * net/rcirc.el (rcirc-sentinel): Fix last change.
10232 2014-05-08 Sam Steingold <sds@gnu.org>
10234 * net/rcirc.el (rcirc-reconnect-delay): New user option.
10235 (rcirc-sentinel): Auto-reconnect to the server if
10236 `rcirc-reconnect-delay' is non-0 (but not more often than its
10237 value in case the host is off-line).
10239 2014-05-09 Eli Zaretskii <eliz@gnu.org>
10241 * progmodes/grep.el (lgrep): Fix a typo in last commit.
10243 2014-05-09 Glenn Morris <rgm@gnu.org>
10245 * files.el (file-expand-wildcards):
10246 * man.el (Man-support-local-filenames):
10247 * printing.el (pr-i-directory, pr-interface-directory):
10248 * progmodes/grep.el (lgrep, rgrep):
10249 * textmodes/ispell.el (ispell-call-process)
10250 (ispell-call-process-region, ispell-start-process)
10251 (ispell-init-process): Use file-accessible-directory-p.
10253 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10255 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
10256 (xterm-mouse--read-event-sequence-1000): Return nil if something
10258 (xterm-mouse-event): Propagate it.
10259 (xterm-mouse-translate-1): Handle it.
10261 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
10263 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
10264 four slots of the parameter list are filled, make sure to pass it
10265 to the argument list of todo-insert-item--basic.
10267 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10269 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
10270 Add optional `seen' argument to detect and break infinite loops.
10272 2014-05-08 Eli Zaretskii <eliz@gnu.org>
10274 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
10275 (trace-unsafe, trace-use-tree): Make parentheses style be
10276 according to Emacs style.
10278 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
10280 * net/tramp-sh.el (tramp-remote-process-environment):
10281 Remove HISTFILE and HISTSIZE; it's too late to set them here.
10282 Add :version entry.
10283 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
10284 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
10285 extra "PSx=..." commands.
10286 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
10289 (tramp-uudecode): Replace the hard-coded temporary file name by a
10291 (tramp-remote-coding-commands): Enhance docstring.
10292 (tramp-find-inline-encoding): Replace "%t" by a temporary file
10294 This is CVE-2014-3424.
10296 2014-05-08 Glenn Morris <rgm@gnu.org>
10298 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
10299 (find-gc-source-files): Update some names.
10300 (trace-call-tree): Simplify and update.
10301 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
10302 This is CVE-2014-3422.
10304 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10306 * minibuffer.el (completion--try-word-completion): Revert fix for
10307 Bug#15980 (bug#17375).
10309 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
10310 Always store button numbers in the same way in xterm-mouse-last;
10311 Don't burp is xterm-mouse-last is not set as expected.
10312 Never return negative indices.
10314 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
10316 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10317 Backtrack one char if the global/char-literal var matcher hits
10318 inside a string. The next char could be the beginning of an
10319 expression expansion.
10321 2014-05-08 Glenn Morris <rgm@gnu.org>
10323 * help-fns.el (describe-function-1): Test for an autoload before a
10324 macro, since `macrop' works on autoloads. (Bug#17410)
10326 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10328 * electric.el (electric-indent-functions-without-reindent): Add yaml.
10330 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
10331 Make sure the new point we return is within the new string (bug#17239).
10333 2014-05-05 Daniel Colascione <dancol@dancol.org>
10335 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10336 Port `gnu' pattern to rx.
10338 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
10340 Remove unneeded prompt when closing a buffer with active
10341 emacsclient ("Buffer ... still has clients"), #16548.
10342 * server.el (server-start): Remove the only call to:
10343 (server-kill-buffer-query-function): Remove.
10345 2014-05-04 Leo Liu <sdl.web@gmail.com>
10347 * calendar/diary-lib.el (calendar-chinese-month-name-array):
10348 Defvar to pacify compiler.
10350 2014-05-04 Eli Zaretskii <eliz@gnu.org>
10352 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
10354 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10356 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10357 Use nil rather than `default' for the "default" appearance (bug#17388).
10358 * vc/ediff-util.el (ediff-inferior-compare-regions)
10359 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
10360 a misleading `default' value when it's really a boolean.
10361 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
10362 overlay is not visible.
10364 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10366 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
10367 (todo-menu): Uncomment and update.
10369 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10371 * calendar/todo-mode.el: Reimplement item editing to have the same
10372 basic user interface as item insertion, and make small UI and
10373 larger internal improvements to the latter.
10374 (todo-insert-item): Add reference to the Todo mode user manual to
10375 the documentation string.
10376 (todo-insert-item--basic): Rename from todo-basic-insert-item and
10377 adjust all callers. Change signature to combine diary and
10378 nonmarking arguments. Incorporate functionality of deleted item
10379 copying command and add error checking. Remove detailed
10380 descriptions of the arguments from the documentation string, since
10381 this is treated in the Todo mode user manual.
10382 (todo-copy-item, todo-edit-multiline-item)
10383 (todo-edit-done-item-comment, todo-edit-item-header)
10384 (todo-edit-item-time, todo-edit-item-date-from-calendar)
10385 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
10386 (todo-edit-item-date-year, todo-edit-item-date-month)
10387 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
10389 (todo-edit-item): Reimplement as wrapper command for
10390 todo-edit-item--next-key and make it distinguish done and not done
10392 (todo-edit-item--text): New function, replacing old command
10393 todo-edit-item and incorporating deleted commands
10394 todo-edit-multiline-item and todo-edit-done-item-comment.
10395 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
10396 Use only numeric value of prefix argument. Remove detailed
10397 descriptions of the arguments from the documentation string, since
10398 this is treated in the Todo mode user manual.
10399 (todo-edit-item--diary-inclusion): New function, replacing old
10400 command todo-edit-item-diary-inclusion and incorporating and fixing
10401 functionality of deleted command todo-edit-item-diary-nonmarking,
10402 making sure to remove todo-nondiary-marker when adding
10403 diary-nonmarking-symbol.
10404 (todo-edit-category-diary-inclusion): Make sure to delete
10405 diary-nonmarking-symbol when adding todo-nondiary-marker.
10406 (todo-edit-category-diary-nonmarking): Fix indentation.
10407 (todo-insert-item--parameters): Group diary and nonmarking
10408 parameters together.
10409 (todo-insert-item--apply-args): Adjust to signature of
10410 todo-insert-item--basic and incorporate copy parameter.
10411 Make small code improvements.
10412 (todo-insert-item--next-param): Improve prompt and adjust it to
10413 new parameter grouping. Remove obsolete code.
10414 (todo-edit-item--param-key-alist)
10415 (todo-edit-item--date-param-key-alist)
10416 (todo-edit-done-item--param-key-alist): New defconsts.
10417 (todo-edit-item--prompt): New variable.
10418 (todo-edit-item--next-key): New function.
10419 (todo-key-bindings-t): Bind "e" to todo-edit-item.
10420 Remove bindings of deleted commands.
10422 2014-05-04 Leo Liu <sdl.web@gmail.com>
10424 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
10426 2014-05-04 Glenn Morris <rgm@gnu.org>
10428 * allout-widgets.el (allout-widgets-tally)
10429 (allout-decorate-item-guides):
10430 * menu-bar.el (menu-bar-positive-p):
10431 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10432 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
10433 * progmodes/js.el (js--inside-param-list-p)
10434 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
10435 * progmodes/prolog.el (region-exists-p):
10436 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
10437 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
10438 Doc fixes (replace `iff').
10440 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10442 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
10444 2014-05-04 Leo Liu <sdl.web@gmail.com>
10446 Support Chinese diary entries in calendar and diary. (Bug#17393)
10447 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
10448 (calendar-chinese-from-absolute-for-diary)
10449 (calendar-chinese-to-absolute-for-diary)
10450 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
10451 (diary-chinese-list-entries): New functions to list and mark
10452 Chinese diary entries in the calendar window.
10453 (diary-chinese-anniversary)
10454 (diary-chinese-insert-anniversary-entry)
10455 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
10456 (diary-chinese-insert-yearly-entry): New commands to insert
10457 Chinese diary entries.
10459 * calendar/diary-lib.el (diary-font-lock-keywords):
10460 Support font-locking Chinese dates.
10462 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
10463 inserting Chinese diary entries.
10465 * calendar/calendar.el (diary-chinese-entry-symbol):
10466 New customizable variable.
10467 (calendar-mode-map): Add bindings for inserting Chinese diary
10470 2014-05-03 Juri Linkov <juri@jurta.org>
10472 * dired.el (dired-check-switches, dired-switches-recursive-p):
10473 New functions. (Bug#17218)
10474 (dired-switches-escape-p, dired-move-to-end-of-filename):
10475 Use `dired-check-switches'.
10476 (dired-insert-old-subdirs, dired-build-subdir-alist)
10477 (dired-sort-R-check): Use `dired-switches-recursive-p'.
10479 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
10481 * simple.el (undo-make-selective-list): New algorithm fixes
10482 incorrectness of position adjustments when undoing in region.
10484 (undo-elt-crosses-region): Make obsolete.
10485 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
10486 New functions to adjust positions using undo-deltas.
10488 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10490 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
10491 the last consecutive closing paren (bug#17345).
10493 2014-04-30 Reuben Thomas <rrt@sc3d.org>
10495 * dired.el (dired-mode): make terminology for eXpunge command
10496 consistent. (Bug#17276)
10498 2014-04-30 Eli Zaretskii <eliz@gnu.org>
10500 * dired.el (dired-initial-position-hook, dired-initial-position):
10503 2014-04-30 Glenn Morris <rgm@gnu.org>
10505 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
10507 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
10509 * faces.el (face-spec-recalc): Apply X resources only after the
10510 defface spec has been applied. Thus, X resources are no longer
10511 overriden by the defface spec which also fixes issues on win32 where
10512 the toolbar coloring was wrong because it is set through X resources
10513 and was (wrongfully) overriden. (Bug#16694)
10515 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
10517 * textmodes/rst.el (electric-pair-pairs): Declare.
10518 (rst-mode): Set it (bug#17131).
10520 2014-04-30 Juri Linkov <juri@jurta.org>
10522 * desktop.el (desktop-value-to-string): Let-bind `print-length'
10523 and `print-level' to nil. (Bug#17351)
10525 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10527 * battery.el (battery-update): Handle the case where battery
10528 status is "N/A" (bug#17319).
10530 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10532 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
10533 to syntax-propertize.
10534 (ps-mode-auto-indent): Mark as obsolete.
10535 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
10536 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
10537 word regexp operators.
10538 (ps-mode-map): Move initialization into declaration. Remove binding
10539 for TAB, RET, >, ], and }.
10540 (ps-mode-syntax-table): Move initialization into declaration.
10541 Don't give word syntax to non-word chars.
10542 (ps-run-mode-map): Move initialization into declaration.
10543 (ps-mode-menu-main): Remove auto-indent entry.
10544 (ps-mode-smie-rules): New function.
10545 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
10546 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
10547 (ps-mode--string-syntax-table): New const.
10548 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
10550 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
10551 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
10553 2014-04-27 Daniel Colascione <dancol@dancol.org>
10555 * term/xterm.el (xterm-paste): Use large finite timeout when
10556 reading event to avoid putting keys in this-command-keys.
10558 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10560 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
10561 (perl-syntax-propertize-function): Use it. Extend handling of
10562 here-docs to the unquoted case.
10564 2014-04-25 Eli Zaretskii <eliz@gnu.org>
10566 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
10567 Use equal-including-properties to compare help-echo strings (bug#17331).
10569 2014-04-25 Leo Liu <sdl.web@gmail.com>
10571 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10572 Fix syntax for @. (Bug#17325)
10574 2014-04-25 Daniel Colascione <dancol@dancol.org>
10576 * emacs-lisp/cl.el (gv): Require gv early to break eager
10577 macro-expansion cycles.
10579 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10581 * simple.el (region-active-p): Check there's a mark (bug#17324).
10583 * simple.el (completion-list-mode-map): Use choose-completion for the
10584 mouse binding as well (bug#17302).
10585 (completion-list-mode, completion-setup-function): Adjust docstring and
10586 echo area message accordingly.
10587 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
10588 calling convention of choose-completion.
10589 * comint.el (comint-dynamic-list-completions):
10590 * term.el (term-dynamic-list-completions): Accept choose-completion.
10592 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
10593 &, |, +, - and * can't be a division (bug#17317).
10595 * term/xterm.el (xterm--version-handler): Don't use modern xterm
10596 features on gnome-terminal (bug#16988).
10598 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
10600 Improve Scheme font-locking for (define ((foo ...) ...) ...).
10602 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
10603 the declared object, ignore zero or more parens, not zero or one.
10605 2014-04-24 Leo Liu <sdl.web@gmail.com>
10607 * progmodes/xscheme.el (xscheme-expressions-ring)
10608 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
10609 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
10610 (xscheme-allow-output-p, xscheme-prompt)
10611 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
10613 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
10614 Comment out unused functions.
10616 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10618 * info.el: Use lexical-binding and cl-lib.
10619 Use defvar-local and setq-local instead of make-local-variable.
10620 (Info-apropos-matches): Avoid add-to-list.
10621 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
10623 2014-04-24 Daniel Colascione <dancol@dancol.org>
10625 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
10627 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10629 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
10631 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
10633 * dired.el (dired-insert-set-properties): Do not consider
10634 subdirectory headings and empty lines to be information that
10635 `dired-hide-details-mode' should hide. (Bug#17228)
10637 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10639 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10640 Remove test messages.
10641 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
10642 and `target' twice.
10644 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10646 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
10647 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
10649 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
10651 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10653 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10654 Set "IFS=" when using read builtin, in order to preserve spaces in
10655 the file name. Add test messages for hunting a bug on hydra.
10656 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
10658 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10660 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
10661 Don't prettify a word within a symbol.
10663 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10665 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
10668 2014-04-22 Daniel Colascione <dancol@dancol.org>
10670 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
10671 use defun to define `function-put'.
10673 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10675 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
10676 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
10677 (lisp-mode-variables): Set font-lock-extra-managed-props.
10679 * emacs-lisp/byte-run.el (function-put): New function.
10680 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
10681 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
10682 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
10685 2014-04-22 Daniel Colascione <dancol@dancol.org>
10687 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
10688 Add `full-p' parameter; when nil, call `macroexpand' instead of
10691 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
10692 Improve docstrings.
10694 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
10695 Use lambda function values, not quoted lambdas.
10696 (byte-compile-recurse-toplevel): Remove extraneous &optional.
10698 * emacs-lisp/cl-macs.el
10699 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
10700 (cl-struct-slot-value): Conditionally use aref or nth so that the
10701 compiler produces optimal code.
10703 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10705 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
10706 (inline): Don't inline cl--set-elt.
10707 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
10708 Define as inlinable instead.
10709 (cl-struct-set-slot-value): Remove.
10711 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
10712 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
10715 2014-04-21 Daniel Colascione <dancol@dancol.org>
10717 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
10718 last two parameters after all.
10719 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
10720 (cl--compiler-macro-assoc,cl-struct-slot-value)
10721 (cl-struct-set-slot-value): Stop using them.
10723 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
10725 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
10726 entry in image-mode-winprops-alist.
10728 2014-04-21 Daniel Colascione <dancol@dancol.org>
10730 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
10731 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
10732 (byte-compile-toplevel-file-form): Use it.
10734 * emacs-lisp/cl-macs.el:
10735 (cl--loop-let): Properly destructure `while' clauses.
10737 2014-04-20 Daniel Colascione <dancol@dancol.org>
10739 * vc/vc.el (vc-root-dir): New public autoloaded function for
10740 generically finding the current VC root.
10741 * vc/vc-hooks.el (vc-not-supported): New error.
10742 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
10744 2014-04-20 Daniel Colascione <dancol@dancol.org>
10746 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
10748 (cl--const-expr-val): cl--const-expr-val should macroexpand its
10749 argument in case we're inside a symbol-macrolet.
10750 (cl--do-arglist, cl--compiler-macro-typep)
10751 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
10752 environment to `cl--const-expr-val'.
10753 (cl-struct-sequence-type,cl-struct-slot-info)
10754 (cl-struct-slot-offset, cl-struct-slot-value)
10755 (cl-struct-set-slot-value): New functions.
10757 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10759 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
10760 assignments such as "case=hello" (bug#17297).
10762 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
10764 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
10766 (tramp-file-name-handler, tramp-completion-file-name-handler):
10767 Revert patch from 2014-04-10, it isn't necessary anymore.
10768 (tramp-autoload-file-name-handler)
10769 (tramp-register-autoload-file-name-handlers): New defuns.
10770 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
10771 (tramp-register-file-name-handlers): Remove also
10772 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
10773 Do not autoload its invocation, but eval it after loading of 'tramp.
10775 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
10777 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
10779 2014-04-17 Daniel Colascione <dancol@dancol.org>
10781 Add support for bracketed paste mode; add infrastructure for
10782 managing terminal mode enabling and disabling automatically.
10785 (xterm-mouse-mode): Simplify.
10786 (xterm-mouse-tracking-enable-sequence)
10787 (xterm-mouse-tracking-disable-sequence): New constants.
10788 (turn-on-xterm-mouse-tracking-on-terminal)
10789 (turn-off-xterm-mouse-tracking-on-terminal):
10790 Use tty-mode-set-strings and tty-mode-reset-strings terminal
10791 parameters instead of random hooks.
10792 (turn-on-xterm-mouse-tracking)
10793 (turn-off-xterm-mouse-tracking): Delete.
10795 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
10796 (xterm-paste-ending-sequence): New constant.
10797 (xterm-paste): New command used for bracketed paste support.
10799 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
10800 (terminal-init-xterm-bracketed-paste-mode): New function.
10801 (terminal-init-xterm): Call it.
10802 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
10803 and tty-mode-reset-strings instead of random hooks.
10804 (xterm-turn-on-modify-other-keys)
10805 (xterm-turn-off-modify-other-keys)
10806 (xterm-remove-modify-other-keys): Delete obsolete functions.
10808 * term/screen.el: Rewrite to just use the xterm code.
10809 Add copyright notice. Mention tmux.
10811 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
10813 * image-mode.el (image-mode-window-put): Also update the property of
10814 the "default window".
10815 * doc-view.el (doc-view-new-window-function): If no window
10816 exists, move to the last known page.
10818 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10820 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
10821 here-documents (bug#17262).
10823 2014-04-16 Eli Zaretskii <eliz@gnu.org>
10825 * term/pc-win.el (x-list-fonts, x-get-selection-value):
10826 Provide doc strings, as required by snarf-documentation.
10828 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10830 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
10831 arg of overlays-at. Use `invisible-p'.
10833 * obsolete/lucid.el (extent-at):
10834 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
10836 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
10838 2014-04-16 João Távora <joaotavora@gmail.com>
10840 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
10841 links. (Bug#17217).
10843 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10845 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10846 Use mapc to loop over a vector. (Bug#17257).
10848 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
10850 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
10851 patch, there are new problems with file names containing spaces.
10852 Get rid of backticks. (Bug#17238)
10854 2014-04-16 João Távora <joaotavora@gmail.com>
10856 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
10859 2014-04-16 Eli Zaretskii <eliz@gnu.org>
10861 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
10862 (blink-cursor-mode): Mention customization variables and the
10863 effect of 'blink-cursor-blinks'.
10865 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
10867 * simple.el (undo): Prevent insertion of identity mapping into
10868 undo-equiv-table so as undo-only does not inf loop in the presence
10869 of consecutive nils in undo list.
10871 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
10873 * faces.el (make-face): Deprecate optional argument as it is no
10874 longer needed/used since the conditional X resources handling
10875 has been pushed down to make-face-x-resource-internal itself.
10876 (make-empty-face): Don't pass optional argument to make-face.
10878 2014-04-16 Karl Fogel <kfogel@red-bean.com>
10880 * savehist.el (savehist-save): Remove workaround for a read-passwd
10881 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
10882 noticing that the shim was still present.
10884 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10886 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
10888 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
10890 * faces.el (face-set-after-frame-default): Remove unused local variable.
10892 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10894 * progmodes/grep.el: Use lexical-binding.
10895 (grep-expand-template): Pass explicit lexical env to `eval'.
10896 (zrgrep): Let-bind grep-find-template explicitly.
10898 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
10899 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
10901 2014-04-12 Eli Zaretskii <eliz@gnu.org>
10903 * international/characters.el <standard-case-table>: Add entries
10904 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
10905 Set category of Coptic characters be 'g' (Greek).
10907 2014-04-12 Leo Liu <sdl.web@gmail.com>
10909 * progmodes/octave.el (completion-table-with-cache):
10910 Define if not available.
10911 (octave-goto-function-definition, octave-sync-function-file-names)
10912 (octave-find-definition-default-filename):
10913 Backquote upattern for compatibility.
10915 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
10917 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
10918 name twice due to backticks. (Bug#17238)
10920 2014-04-12 Glenn Morris <rgm@gnu.org>
10922 * term/w32-win.el (x-win-suspend-error):
10923 * term/x-win.el (x-win-suspend-error): Sync docs.
10925 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
10927 * faces.el (make-face): Remove deprecated optional argument.
10928 The conditional application of X resources is handled directly by
10929 make-face-x-resource-internal since Emacs 24.4.
10930 (make-empty-face): Don't pass optional argument to make-face.
10932 2014-04-11 Glenn Morris <rgm@gnu.org>
10934 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
10936 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10938 Ediff's overlay priorities cause more trouble than they solve.
10939 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
10940 (ediff-highest-priority): Remove function (bug#17234).
10941 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
10942 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
10943 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
10944 overlay priorities.
10946 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
10948 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
10949 entry; use symbol boundaries to avoid mis-matches.
10951 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
10953 * net/tramp.el (tramp-file-name-handler)
10954 (tramp-completion-file-name-handler): Avoid recursive loading.
10956 * net/tramp-sh.el (tramp-make-copy-program-file-name):
10957 Quote result also locally.
10959 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10961 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
10962 Remove left-over code.
10964 * newcomment.el (comment-indent-new-line): Sink code where it's used.
10965 Reuse the previous comment's indentation unconditionally if it's on its
10968 2014-04-09 Daniel Colascione <dancol@dancol.org>
10970 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
10971 `no-syntax-crossing' arguments. Forward to `up-list'.
10972 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
10973 Implement logic for escaping from strings. Use narrowing to deal
10976 2014-04-09 Leo Liu <sdl.web@gmail.com>
10978 * net/rcirc.el (rcirc-connection-info): New variable.
10979 (rcirc-connect): Use it to store connection info.
10980 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
10981 for killed process.
10982 (rcirc-cmd-reconnect): New command. (Bug#17045)
10983 (rcirc-mode, set-rcirc-encode-coding-system)
10984 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
10986 2014-04-09 Daniel Colascione <dancol@dancol.org>
10988 * emacs-lisp/cl-indent.el: Add comment claiming
10989 facility is also good for elisp.
10990 (lisp-indent-find-method): New function.
10991 (common-lisp-indent-function): Recognize cl-loop.
10992 (common-lisp-indent-function-1): Recognize cl constructs; use
10993 `lisp-indent-find-method' instead of `get' directly.
10994 (if): Use else-body style for elisp.
10996 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
10998 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10999 Module methods. (Bug#17216)
11001 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
11003 * help.el (describe-bindings): Fix buffer handling (bug#17210).
11004 (describe-bindings-internal): Mark obsolete.
11006 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
11008 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
11009 buffer-file-name, and buffer-file-truename any more.
11011 2014-04-08 Leo Liu <sdl.web@gmail.com>
11013 Use lexical-binding and require cl-lib.
11014 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
11015 (rcirc-handler-generic, rcirc-fill-paragraph)
11016 (rcirc-format-response-string, rcirc-target-buffer)
11017 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
11018 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
11019 (rcirc-ctcp-sender-PING, rcirc-browse-url)
11020 (rcirc-markup-timestamp, rcirc-markup-attributes)
11021 (rcirc-markup-my-nick, rcirc-markup-urls)
11022 (rcirc-markup-bright-nicks, rcirc-markup-fill)
11023 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
11024 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
11025 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
11026 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
11027 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
11028 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
11029 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
11030 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
11031 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
11032 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
11035 2014-04-07 João Távora <joaotavora@gmail.com>
11037 * elec-pair.el (electric-pair--syntax-ppss):
11038 When inside comments parse from comment beginning.
11039 (electric-pair--balance-info): Fix typo in comment.
11040 (electric-pair--in-unterminated-string-p): Delete.
11041 (electric-pair--unbalanced-strings-p): New function.
11042 (electric-pair-string-bound-function): New var.
11043 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11044 according to `electric-pair--in-unterminated-string-p'
11046 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11047 Inhibit quote pairing if point-max is inside an unterminated string.
11048 (electric-pair--looking-at-unterminated-string-p): Delete.
11049 (electric-pair--in-unterminated-string-p): New function.
11051 2014-04-07 Glenn Morris <rgm@gnu.org>
11053 * shell.el (shell-directory-tracker):
11054 Go back to just ignoring failures. (Bug#17159)
11056 2014-04-07 João Távora <joaotavora@gmail.com>
11058 Fix `electric-pair-delete-adjacent-pairs' in modes binding
11059 backspace. (Bug#16981)
11060 * elec-pair.el (electric-pair-backward-delete-char): Delete.
11061 (electric-pair-backward-delete-char-untabify): Delete.
11062 (electric-pair-mode-map): Bind backspace to a menu item filtering
11063 a new `electric-pair-delete-pair' command.
11064 (electric-pair-delete-pair): New command.
11066 * progmodes/python.el (python-electric-pair-string-delimiter):
11067 Fix triple-quoting electricity. (Bug#17192)
11069 * elec-pair.el (electric-pair-post-self-insert-function):
11070 Don't skip whitespace when `electric-pair-text-pairs' and
11071 `electric-pair-pairs' were used. syntax to
11072 electric-pair--skip-whitespace. (Bug#17183)
11074 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11076 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
11079 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
11081 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
11082 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
11084 2014-04-07 Glenn Morris <rgm@gnu.org>
11086 * help.el (view-lossage): Doc tweak.
11088 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
11090 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
11091 only when inhibit-x-resources is nil, and do that earlier in the
11092 function. Doc fix. (Bug#16694)
11093 (face-spec-choose): Accept additional optional argument, whose
11094 value is returned if no matching attributes are found.
11095 (face-spec-recalc): Use the new optional argument when calling
11096 face-spec-choose. (Bug#16378)
11097 (make-face-x-resource-internal): Do nothing when
11098 inhibit-x-resources is non-nil. Don't touch the default face if
11099 reversed video is given--as was done in previous versions of Emacs.
11100 (face-set-after-frame-default): Don't call
11101 make-face-x-resource-internal here. (Bug#16434)
11103 2014-04-07 Tassilo Horn <tsdh@gnu.org>
11105 * doc-view.el (doc-view-bookmark-jump):
11106 Use `bookmark-after-jump-hook' to jump to the right page after the
11107 buffer is shown in a window. (bug#16090)
11109 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11111 * international/characters.el (mirroring): Fix last change:
11112 instead of loading uni-mirrored.el explicitly, do that implicitly
11113 by creating the 'mirroring' uniprop table. This avoids announcing
11114 the loading of uni-mirrored.el.
11116 2014-04-07 Glenn Morris <rgm@gnu.org>
11118 * files.el (buffer-stale--default-function)
11119 (buffer-stale-function, revert-buffer--default):
11120 * autorevert.el (auto-revert-buffers): Doc tweaks.
11122 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11124 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
11126 2014-04-07 Glenn Morris <rgm@gnu.org>
11128 * files.el (make-backup-file-name-function)
11129 (make-backup-file-name, make-backup-file-name--default-function)
11130 (make-backup-file-name-1, find-backup-file-name)
11131 (revert-buffer-function, revert-buffer-insert-file-contents-function)
11132 (buffer-stale--default-function, buffer-stale-function)
11133 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
11134 (revert-buffer, revert-buffer--default)
11135 (revert-buffer-insert-file-contents--default-function):
11136 Doc fixes related to defaults no longer being nil.
11137 (make-backup-file-name-function): Bump :version.
11138 Restore nil as a valid but deprecated custom type.
11140 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
11142 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11143 Handle $' used as a variable (bug#17174).
11145 * progmodes/perl-mode.el (perl-indent-new-calculate):
11146 Handle forward-sexp failure (bug#16985).
11147 (perl-syntax-propertize-function): Add "foreach" and "for" statement
11148 modifiers introducing expressions (bug#17116).
11150 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
11152 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
11154 2014-04-05 Leo Liu <sdl.web@gmail.com>
11156 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11157 Add define-compilation-mode.
11159 2014-04-04 João Távora <joaotavora@gmail.com>
11161 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
11162 parse from comment beginning.
11163 (electric-pair--balance-info): Fix typo in comment.
11164 (electric-pair--in-unterminated-string-p): Delete.
11165 (electric-pair--unbalanced-strings-p): New function.
11166 (electric-pair-string-bound-function): New var.
11167 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11168 according to `electric-pair--in-unterminated-string-p'.
11170 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11172 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
11173 Move declaration before first use.
11174 (reftex-move-to-next-arg): Silence compiler warning.
11176 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
11178 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
11179 Use `window-total-width' instead of `window-width'.
11181 2014-04-03 Daniel Colascione <dancol@dancol.org>
11183 * subr.el (set-transient-map): Remove rms's workaround entirely;
11184 use new `suspicious-object' subr to mark our lambda for closer
11185 scrutiny during gc.
11187 2014-04-02 Richard Stallman <rms@gnu.org>
11189 * subr.el (set-transient-map): Comment out previous change.
11191 2014-04-02 Glenn Morris <rgm@gnu.org>
11193 * menu-bar.el (menu-bar-file-menu):
11194 * vc/ediff.el (ediff-current-file):
11195 Update for revert-buffer-function no longer being nil by default.
11197 * simple.el (command-execute): Respect nil disabled-command-function.
11199 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11201 * simple.el (command-execute): Do not execute the command when it
11202 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
11204 2014-04-02 Juri Linkov <juri@jurta.org>
11206 * dired-aux.el (dired-compress-file): Don't use string-match-p
11207 because its match data is used afterwards.
11209 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
11211 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
11214 2014-04-02 João Távora <joaotavora@gmail.com>
11216 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11217 Inhibit quote pairing if point-max is inside an unterminated string.
11218 (electric-pair--looking-at-unterminated-string-p):
11220 (electric-pair--in-unterminated-string-p): New function.
11222 2014-04-01 Daniel Colascione <dancol@dancol.org>
11224 * minibuffer.el (minibuffer-complete): Prevent assertion failure
11225 when trying to complete the prompt.
11227 2014-03-31 Leo Liu <sdl.web@gmail.com>
11229 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11230 Refactor out eldoc-documentation-function-default.
11231 (eldoc-documentation-function-default): New function.
11232 (eldoc-documentation-function): Change value.
11234 2014-03-31 Glenn Morris <rgm@gnu.org>
11236 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
11238 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
11239 (vhdl-compose-components-package, vhdl-compose-configuration):
11240 Abbreviate default-directory (missing from some previous upstream sync).
11242 2014-03-31 Reto Zimmermann <reto@gnu.org>
11244 Sync with upstream vhdl mode v3.35.2.
11245 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11246 (top-level): No longer require assoc.
11247 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
11248 New functions. Use throughout to replace aget etc.
11249 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
11250 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
11251 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
11252 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
11253 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
11254 except `vhdl-compiler'.
11255 (vhdl-error-regexp-add-emacs): Remove all other compilers,
11258 2014-03-31 Glenn Morris <rgm@gnu.org>
11260 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
11261 Revert 2014-03-26 merge goof; go back to using defalias.
11263 2014-03-30 Daniel Colascione <dancol@dancol.org>
11265 * comint.el (comint-send-input):
11266 Deactivate completion-in-region-mode before we send comint input.
11269 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
11272 2014-03-29 Glenn Morris <rgm@gnu.org>
11274 * textmodes/reftex.el: Manage most autoloads automatically.
11275 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
11276 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
11277 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
11278 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
11279 * textmodes/reftex-toc.el: Set generated-autoload-file,
11280 and add autoload cookies for reftex.el.
11281 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
11283 2014-03-28 Glenn Morris <rgm@gnu.org>
11285 * cus-start.el (report-emacs-bug-address): Set custom properties.
11286 * mail/emacsbug.el (report-emacs-bug-address):
11287 Variable is now defined in emacs.c.
11289 * mail/emacsbug.el (report-emacs-bug):
11290 Include system-configuration-features.
11292 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
11294 * simple.el (cycle-spacing): Never delete spaces on first run by
11295 default, but do so in a new 'fast mode and if there are already
11296 N spaces (the previous behavior).
11297 Compare N with its value in previous invocation so that changing
11298 prefix argument restarts `cycle-spacing' sequence.
11299 The idea is that with this change, binding M-SPC to
11300 `cycle-spacing' should not introduce any changes in behavior of
11301 the binding so long as users do not type M-SPC twice in a raw with
11302 the same prefix argument or lack thereof.
11304 2014-03-28 Glenn Morris <rgm@gnu.org>
11306 * faces.el (term-file-aliases): New variable.
11307 (tty-run-terminal-initialization): Respect term-file-aliases.
11308 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
11309 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
11310 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
11312 2014-03-27 Glenn Morris <rgm@gnu.org>
11314 * startup.el (inhibit-startup-hooks): Doc tweak.
11315 (normal-top-level): Simplify running of hooks.
11316 For window-setup-hook, respect inhibit-startup-hooks.
11317 (command-line-1): Don't set window-setup-hook to nil.
11319 Allow selective autoloading from obsolete/ directory.
11320 * Makefile.in (obsolete-autoloads): New rule.
11321 (autoloads): Run obsolete-autoloads.
11322 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
11323 * simple.el (iswitchb-mode): Remove hand-written autoloads.
11325 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
11327 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11328 Highlight special globals with font-lock-builtin-face. (Bug#17057)
11330 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11331 Don't propertize `?' or `!' as symbol constituent when after
11334 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
11336 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
11337 which is no longer needed and causes trouble in GTK builds (bug#17046).
11339 * emacs-lisp/package-x.el (package--archive-contents-from-url):
11340 Use url-insert-file-contents; package-handle-response no longer exists.
11342 2014-03-26 Daniel Colascione <dancol@dancol.org>
11344 * simple.el (process-menu-mode-map): New variable.
11345 (process-menu-delete-process): New command.
11347 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11349 * emacs-lisp/package.el: Fix bug#16733 (again).
11350 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
11351 (url-http-target-url): Remove unused declarations.
11352 (package-handle-response): Remove.
11353 (package--with-work-buffer): Use url-insert-file-contents and simplify.
11354 (package--download-one-archive): Use current-buffer instead of
11355 dynamic binding of `buffer'.
11356 (describe-package-1): Do not decode readme-string.
11358 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
11360 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
11362 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
11363 from 2014-03-07, it decreases performance unnecessarily. Let-bind
11364 `remote-file-name-inhibit-cache' to nil in the second pass.
11365 (tramp-find-executable): Do not call "which" on SunOS.
11366 (tramp-send-command-and-check): Fix docstring.
11367 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
11368 check whether source directory has set the sticky bit.
11370 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
11372 * simple.el (primitive-undo): Only process marker adjustments
11373 validated against their corresponding (TEXT . POS). Issue warning
11374 for lone marker adjustments in undo history. (Bug#16818)
11375 (undo-make-selective-list): Add marker adjustments to selective
11376 undo list based on whether their corresponding (TEXT . POS) is in
11377 the region. Remove variable adjusted-markers, which was unused
11378 and only non nil during undo-make-selective-list.
11379 (undo-elt-in-region): Return nil when passed a marker adjustment
11380 and explain in function doc.
11382 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11384 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
11386 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11388 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
11389 Match special global variables without curlies, too.
11390 (ruby-font-lock-keywords): Simplify the matcher for special global
11391 variables. Don't require a non-word character after the variable.
11394 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11396 * simple.el (redisplay-highlight-region-function): Increase priority of
11397 overlay to make sure boundaries are visible (bug#15899).
11399 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11401 * frameset.el (frameset--initial-params): Fix typo in parameter name.
11402 (frameset-restore): Compare display strings with equal.
11404 * frame.el (make-frame): Don't quote display name in error message,
11405 it is already a string.
11407 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11409 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
11412 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11414 * emacs-lisp/package.el (package--add-to-archive-contents):
11415 Include already installed and built-in packages in
11416 `package-archive-contents'.
11417 (package-install): Don't include already installed packages in the
11418 options during interactive invocation. (Bug#16762)
11419 (package-show-package-list): If the buffer is already displayed in
11420 another window, switch to that window.
11422 2014-03-26 Reto Zimmermann <reto@gnu.org>
11424 Sync with upstream vhdl mode v3.35.1.
11425 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11426 (vhdl-compiler-alist): Doc fix.
11427 (vhdl-goto-line): Remove.
11428 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
11429 (vhdl-mode) <paragraph-start>: Fix value.
11430 (vhdl-fix-statement-region): Not `for' in wait-statement.
11431 (vhdl-beautify-region): Also (un)tabify.
11432 (vhdl-get-visible-signals):
11433 Scan declarative part of generate statements.
11434 (vhdl-template-record): Fix indentation for record type declaration.
11435 (vhdl-expand-abbrev, vhdl-expand-paren):
11436 Revert to using fset again rather than defalias.
11437 (vhdl-scan-directory-contents): Tweak.
11438 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
11439 (vhdl-compose-components-package):
11440 Replace vhdl-goto-line with forward-line.
11441 (top-level): Tweak speedbar frame selection.
11442 (vhdl-generate-makefile-1): Support for compilers with no
11443 unit-to-file name mapping (create directory with dummy files).
11445 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
11447 Sync with upstream verilog-mode revision 702457d.
11448 * progmodes/verilog-mode.el (verilog-mode-version): Update.
11449 (create-lockfiles): Declare.
11450 (verilog-read-decls): Fix module header imports, bug709.
11451 Reported by Victor Lau.
11452 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
11453 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
11454 interface-only modules, bug721. Reported by Dean Hoyt.
11456 2014-03-26 Glenn Morris <rgm@gnu.org>
11458 * obsolete/gulp.el: Move here from emacs-lisp/.
11460 * files.el (lock-buffer, unlock-buffer, file-locked-p):
11461 Remove fallback aliases, since they are always defined now.
11463 2014-03-24 Daniel Colascione <dancol@dancol.org>
11465 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
11466 instead of cl-loop search function.
11468 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11470 * calendar/parse-time.el (parse-time-iso8601-regexp)
11471 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
11474 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11476 * net/dns.el (network-interface-list): Define for XEmacs.
11478 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
11480 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
11481 the network interfaces changed.
11482 (dns-query): Use it to flush the data.
11484 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
11486 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
11488 2014-03-23 Daniel Colascione <dancol@dancol.org>
11490 Change subword-mode to use `find-word-boundary-function-table' and
11491 replace `capitalized-words-mode'. Also, convert to lexical binding.
11492 * progmodes/cap-words.el: Delete now-obsolete file.
11493 * progmodes/subword.el: Reimplement using
11494 `find-word-boundary-function-table'.
11495 (subword-mode-map): Hollow out.
11496 (capitalized-words-mode): Define as obsolete alias for
11498 (subword-mode, superword-mode): Tweak documentation to reflect new
11499 implementation; call `subword-setup-buffer'.
11500 (subword-forward, subword-capitalize): Add underscore to indicate
11502 (subword-find-word-boundary-function-table): New constant.
11503 (subword-empty-char-table): New constant.
11504 (subword-setup-buffer): New function.
11505 (subword-find-word-boundary): New function.
11507 2014-03-23 Daniel Colascione <dancol@dancol.org>
11509 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
11510 list to look for keyword arguments instead of `memq', fixing
11511 (Bug#3647) --- unfortunately, only for freshly-compiled code.
11512 Please make bootstrap.
11514 2014-03-22 Glenn Morris <rgm@gnu.org>
11516 * dired.el (dired-read-regexp): Make obsolete.
11517 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
11518 (dired-flag-files-regexp):
11519 * dired-aux.el (dired-mark-read-regexp):
11520 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
11522 * startup.el (fancy-startup-text):
11523 * help.el (describe-gnu-project): Visit online info about GNU project.
11525 * help-fns.el (help-fns--interactive-only): New function.
11526 (help-fns-describe-function-functions): Add the above function.
11527 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
11528 (next-line, previous-line): Remove hand-written interactive-only
11529 information from doc strings, it is auto-generated now.
11530 * bookmark.el (bookmark-write):
11531 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
11532 (epa-mail-import-keys): Mark interactive-only,
11533 and remove hand-written interactive-only information from doc strings.
11534 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
11535 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
11536 * files.el (not-modified):
11537 * simple.el (mark-whole-buffer): Mark interactive-only.
11539 * emacs-lisp/byte-run.el (defun-declarations-alist):
11540 Add interactive-only. Doc tweak.
11541 (macro-declarations-alist): Doc tweak.
11542 * subr.el (declare): Doc tweak (add xref to manual).
11543 * comint.el (comint-run):
11544 * files.el (insert-file-literally, insert-file):
11545 * replace.el (replace-string, replace-regexp):
11546 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11547 (delete-forward-char, goto-line, insert-buffer, next-line)
11548 (previous-line): Set interactive-only via declare.
11550 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
11552 * emacs-lisp/package.el (package-desc): Use the contents of the
11553 quoted form, not its cdr. (Bug#16873)
11555 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
11557 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
11558 benefit of doc.c; change parameter profile to match the X function.
11560 2014-03-22 Leo Liu <sdl.web@gmail.com>
11562 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
11563 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
11565 2014-03-21 Richard Stallman <rms@gnu.org>
11567 * battery.el (battery-linux-sysfs): Search for each field
11568 from the beginning of the buffer.
11570 * subr.el (set-transient-map): Clear out function and value
11571 of the temporary symbol when we're done with it.
11573 * mail/rmailsum.el (rmail-summary-delete-forward):
11574 Optimize case of reaching end and handling count.
11575 (rmail-summary-mark-deleted): Optimize when N is current msg.
11576 Don't create new summary line.
11577 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
11578 (rmail-summary-undelete-many): Rewrite for speed.
11579 (rmail-summary-msg-number): New function.
11581 * mail/rmail.el (rmail-delete-message): Update summary.
11582 (rmail-undelete-previous-message): Handle repeat count arg.
11583 (rmail-delete-backward, rmail-delete-forward): Likewise.
11585 2014-03-21 Daniel Colascione <dancol@dancol.org>
11587 * mail/emacsbug.el (report-emacs-bug): Include memory usage
11588 information in bug reports.
11590 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
11592 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
11593 and `tramp-copy-env'.
11595 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
11596 (tramp-maybe-open-connection): Handle `tramp-login-env'.
11598 2014-03-21 Glenn Morris <rgm@gnu.org>
11600 * electric.el (electric-indent-post-self-insert-function): Add doc.
11602 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
11604 * emacs-lisp/package.el (package-compute-transaction):
11605 Use `version-list-<=' to compare the requirement version against
11606 the version of package already to be installed. Update the error
11607 message. (Bug#16826)
11609 * progmodes/ruby-mode.el (ruby-smie-rules):
11610 Add indentation rule for ` @ '. (Bug#17050)
11612 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11614 * align.el (align-regexp): Remove superfluous backslash.
11616 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
11617 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
11618 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
11619 Fix docstring typos.
11620 (ffap-next): Use C-u in docstring.
11621 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
11622 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
11623 Remove superfluous backslashes.
11624 (ffap-string-at-point): Reflow docstring.
11626 * server.el (server-host): Reflow docstring.
11627 (server-unload-function): Fix docstring typo.
11628 (server-eval-at): Remove superfluous backslash.
11630 * skeleton.el (skeleton-insert): Remove superfluous backslash.
11631 (skeleton-insert): Doc fix.
11632 (skeleton-insert): Reflow docstring.
11634 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
11635 (tty-color-approximate, tty-color-by-index, tty-color-values)
11636 (tty-color-desc): Remove superfluous backslashes.
11638 2014-03-21 Glenn Morris <rgm@gnu.org>
11640 * cus-start.el (history-length): Bump :version.
11642 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
11643 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
11644 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
11645 Don't set `make-backup-files'.
11647 * info.el (info--prettify-description): New function,
11648 to give info-finder descriptions consistent case, punctuation.
11649 (Info-finder-find-node): Use it. Sort packages.
11650 Refer to "description" rather than "commentary".
11652 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11654 * frameset.el (frameset--print-register): New function.
11655 (frameset-to-register): Use it.
11657 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
11659 * progmodes/hideif.el (hif-string-to-number): New function.
11660 (hif-tokenize): Use it to understand non-decimal floats.
11662 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
11664 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
11666 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11668 * electric.el (electric-newline-and-maybe-indent): New command.
11669 Bind it globally to C-j.
11670 (electric-indent-mode): Don't mess with the global map any more.
11671 Don't drop the post-self-insert-hook is some buffer is still using it
11674 * bindings.el (global-map): Remove C-j binding.
11676 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
11677 the docstring of functions advised before dumping (bug#16993).
11679 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
11681 * ps-print.el (ps-generate-postscript-with-faces):
11682 Explicitly deactivate the mark (bug#16866).
11683 * simple.el (deactivate-mark): Update region highlight.
11685 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
11687 * emacs-lisp/package.el (describe-package-1):
11688 Decode commentary (bug#16733).
11690 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
11692 * custom.el (defcustom): Doc fix: recommend avoiding destructive
11693 modification of the value argument of :set (bug#16755).
11695 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11697 * simple.el (newline-and-indent): Do autofill (bug#17031).
11699 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
11701 * newcomment.el (comment-normalize-vars): Only add escaping check
11702 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
11703 (comment-beginning): Use `narrow-to-region' instead of moving back
11705 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
11706 (comment-start-skip): Update the docstring.
11708 2014-03-18 Richard Stallman <rms@gnu.org>
11710 * dired.el (dired-display-file): Force use of other window.
11712 2014-03-18 Daniel Colascione <dancol@dancol.org>
11714 * startup.el (tty-handle-args): Remove debug message from 2007.
11716 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
11718 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
11719 (advice--make-interactive-form): Use it to avoid (auto)loading function.
11720 (advice--make-1, advice-add, advice-remove):
11721 Remove braindead :advice-pending hack.
11723 2014-03-17 Glenn Morris <rgm@gnu.org>
11725 * calendar/calendar.el (calendar-generate-month): Apply weekend
11726 face to the right days; fixes 2013-08-06 change. (Bug#17028)
11728 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
11730 * net/tramp.el (tramp-action-out-of-band): Read pending output.
11731 (tramp-call-process): Trace also DESTINATION.
11733 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11734 Quote file names when they are local. Remove superfluous trace.
11736 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
11738 * newcomment.el (comment-beginning): If `comment-start-skip'
11739 doesn't match, move back one char and try again. (Bug#16971)
11741 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11742 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
11743 Set `comment-start-skip' to a simpler value that doesn't try to
11744 check if the semicolon is escaped (this is handled by
11745 `syntax-ppss' now). (Bug#16971)
11747 * progmodes/scheme.el (scheme-mode-variables): Same.
11749 2014-03-16 Martin Rudalics <rudalics@gmx.at>
11751 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
11752 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
11753 current (Bug#16816, Bug#17007).
11754 (with-current-buffer-window): New macro doing the same as
11755 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
11756 * help.el (help-print-return-message): Warn in doc-string to not
11757 use this in `with-help-window'.
11758 (describe-bindings-internal): Call `describe-buffer-bindings'
11759 from within help buffer. See Juanma's scenario in (Bug#16816).
11760 (with-help-window): Update doc-string.
11761 * dired.el (dired-mark-pop-up):
11762 * files.el (save-buffers-kill-emacs):
11763 * register.el (register-preview): Use `with-current-buffer-window'
11764 instead of `with-temp-buffer-window'.
11766 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
11768 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
11769 Implement inserting into current buffer, documented in their docstrings.
11770 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
11771 (rst-section-tree-point, rst-forward-section, rst-indent)
11772 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
11773 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
11774 (rst-font-lock-handle-adornment-pre-match-form)
11775 (rst-repeat-last-character): Reflow docstrings.
11776 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
11777 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
11778 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
11779 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
11780 Fix docstring typos.
11781 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
11782 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
11783 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
11785 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
11787 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
11788 for compatibility with other ports.
11789 (ns-initialize-window-system): Use it. It is set in term/common-win.el
11790 from the -xrm command line argument, but in the Nextstep port its value
11791 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
11793 * progmodes/python.el (defconst, python-syntax-count-quotes)
11794 (python-indent-region, python-indent-shift-right)
11795 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
11796 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
11797 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
11798 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
11799 (inferior-python-mode, python-shell-make-comint, run-python-internal)
11800 (python-shell-buffer-substring, python-shell-send-buffer)
11801 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
11802 (python-completion-complete-at-point, python-fill-docstring-style)
11803 (python-eldoc-function, python-imenu-format-item-label)
11804 (python-imenu-format-parent-item-label)
11805 (python-imenu-format-parent-item-jump-label)
11806 (python-imenu--build-tree, python-imenu-create-index)
11807 (python-imenu-create-flat-index): Fix docstring typos.
11808 (python-indent-context, python-shell-prompt-regexp, run-python):
11809 Remove superfluous backslashes.
11810 (python-indent-line, python-nav-beginning-of-defun)
11811 (python-shell-get-buffer, python-shell-get-process)
11812 (python-info-current-defun, python-info-current-line-comment-p)
11813 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
11814 (python-indent-post-self-insert-function, python-shell-send-file)
11815 (python-shell-completion-get-completions)
11816 (python-shell-completion-complete-or-indent)
11817 (python-eldoc--get-doc-at-point): Reflow docstrings.
11819 2014-03-14 Glenn Morris <rgm@gnu.org>
11821 * emacs-lisp/package.el (package-menu-mode-map):
11822 Replace use of obsolete function alias. Tweak menu item text.
11824 * info.el (Info-finder-find-node):
11825 Ignore the `emacs' metapackage. (Bug#10813)
11827 * finder.el (finder-list-matches): Include unversioned packages
11828 in the result of a keyword search.
11830 * finder.el (finder--builtins-descriptions): New constant.
11831 (finder-compile-keywords): Use finder--builtins-descriptions.
11833 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
11835 * simple.el (blink-matching-paren): Describe the new value,
11836 `jump', enabling the old behavior.
11837 (blink-matching-open): Use that value. (Bug#17008)
11839 2014-03-14 Glenn Morris <rgm@gnu.org>
11841 * finder.el (finder-no-scan-regexp): Add leim-list.
11842 (finder-compile-keywords):
11843 Don't skip files with same basename. (Bug#14010)
11844 * Makefile.in (setwins_finder): New, excluding leim.
11845 (finder-data): Use setwins_finder.
11847 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
11848 (help-function-arglist, help-make-usage): Move from here...
11849 * help.el (help-split-fundoc, help-add-fundoc-usage)
11850 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
11851 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
11853 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
11855 * net/socks.el (socks, socks-override-functions)
11856 (socks-find-services-entry):
11857 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
11858 (hif-find-ifdef-block):
11859 * progmodes/modula2.el (m2-indent): Fix docstring typos.
11861 * net/tls.el (tls-program): Reflow docstring.
11863 * progmodes/pascal.el (pascal-mode-abbrev-table)
11864 (pascal-imenu-generic-expression, pascal-auto-endcomments)
11865 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
11866 (pascal-outline-mode): Fix docstring typos.
11867 (pascal-mode): Let define-derived-mode document mode hook.
11868 (pascal-uncomment-area): Reflow.
11869 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
11871 * progmodes/opascal.el (opascal-compound-block-indent)
11872 (opascal-case-label-indent): Fix docstring typos.
11873 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
11875 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
11877 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11878 Fontify multiple adjacent negation chars. (Bug#17004)
11880 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
11882 * emacs-lisp/package.el (package--prepare-dependencies):
11883 Accept requirements without explicit version (bug#14941).
11885 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11887 * register.el (register-separator, copy-to-register): Doc fixes.
11888 (register-preview-default): Remove unnecessary call to concat.
11890 * frameset.el (frameset-restore): When checking for a visible frame,
11891 use the action map instead of calling visible-frame-list.
11893 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
11895 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
11897 2014-03-12 Martin Rudalics <rudalics@gmx.at>
11899 * window.el (fit-frame-to-buffer): Get maximum width from
11900 display's width instead of height.
11902 2014-03-12 Glenn Morris <rgm@gnu.org>
11904 * desktop.el (desktop-restore-frames)
11905 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
11906 (desktop-restore-reuses-frames): Doc tweaks.
11908 * electric.el (electric-indent-mode): Doc fix.
11910 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11912 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
11913 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
11914 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
11915 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
11916 (cvs-dired-use-hook): Fix docstring typos.
11917 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
11920 * vc/pcvs-defs.el (cvs-auto-remove-handled)
11921 (cvs-auto-remove-directories, cvs-default-ignore-marks)
11922 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
11923 (cvs-execute-single-dir): Fix docstring typos.
11925 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
11926 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
11928 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
11930 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
11931 Fix docstring typos.
11933 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
11935 * frameset.el (frameset--jump-to-register): Add autoload; it could be
11936 called from jump-to-register after unloading the frameset package.
11938 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
11940 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
11941 (bug#16975). Deactivate the mark before setting it to nil.
11942 (activate-mark): Do nothing if region is already active.
11944 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
11946 * frameset.el (frameset--target-display): Remove definition; declare.
11947 (frameset-save, frameset-restore): Let-bind frameset--target-display.
11949 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
11951 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
11952 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
11953 when the advice is pending.
11954 (advice-remove): Remove this marker when not needed any more.
11956 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
11958 * frameset.el: Separate options for reusing frames and cleaning up.
11959 (frameset--reuse-list): Remove definition; declare.
11960 (frameset--action-map): Declare.
11961 (frameset--find-frame-if): Doc fix.
11962 (frameset--restore-frame): Cache frame action.
11963 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
11964 how to clean up the frame list after restoring. Remove cleaning
11965 options from REUSE-FRAMES. Change all keyword values to symbols.
11966 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
11968 * desktop.el (desktop-restore-forces-onscreen)
11969 (desktop-restore-reuses-frames): Use non-keyword values.
11970 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
11972 2014-03-10 Glenn Morris <rgm@gnu.org>
11974 * files.el (find-file): Doc fix: update info node name.
11976 * emacs-lisp/advice.el (ad-add-advice, defadvice):
11977 Doc fix: remove references to deleted info nodes.
11979 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
11981 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
11982 Do not add nil to the environment, when there's no remote `locale'.
11983 (tramp-find-inline-encoding): Check, that the remote host has
11984 installed perl, before sending scripts.
11986 2014-03-10 Leo Liu <sdl.web@gmail.com>
11988 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
11989 Clear eldoc-last-message. (Bug#16920)
11991 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
11993 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
11996 2014-03-09 Juri Linkov <juri@jurta.org>
11998 * ansi-color.el (ansi-color-names-vector): Copy default colors
11999 from `xterm-standard-colors' that look well on the default white
12000 background (and also on the black background) to avoid illegible
12001 color combinations like yellow-on-white and white-on-white.
12002 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
12004 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
12006 * frameset.el (frameset-restore): When no frame is visible, do not
12007 generate a list of frames, just make visible the selected one.
12009 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
12011 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
12012 it only contains the repository root. (Bug#16897)
12014 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
12016 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
12017 only when `remote-file-name-inhibit-cache' is nil.
12018 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
12020 2014-03-06 Martin Rudalics <rudalics@gmx.at>
12022 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
12024 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
12025 fit-frame-to-buffer variable. Fix doc-string.
12026 (fit-window-to-buffer): Set ONLY argument in call of
12027 fit-frame-to-buffer. Fix doc-string.
12029 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
12031 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
12032 (tramp-action-password): Clear password cache if needed.
12033 (tramp-read-passwd): Do not clear password cache.
12035 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
12036 cache unless it is the first password request.
12038 2014-03-06 Glenn Morris <rgm@gnu.org>
12040 * simple.el (newline): Doc tweak.
12042 * emacs-lisp/shadow.el (load-path-shadows-find):
12043 Ignore dir-locals. (Bug#12357)
12045 2014-03-05 Glenn Morris <rgm@gnu.org>
12047 * files.el (interpreter-mode-alist):
12048 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
12050 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
12052 * frameset.el (frameset--initial-params): Filter out null entries.
12054 2014-03-05 Martin Rudalics <rudalics@gmx.at>
12056 * window.el (window-min-height, window-min-width):
12057 Rewrite doc-strings.
12058 (window-body-size): Add PIXELWISE argument to make it consistent
12061 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
12063 * finder.el (finder-mode-map, finder-mode-syntax-table):
12064 Revert part of 2014-02-28 change.
12066 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
12068 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
12069 (eww-setup-buffer): Clear next/prev/etc more reliably.
12070 (eww-textarea-map): [tab] doesn't work on tty.
12071 Reported by Mario Lang.
12073 * net/shr.el (shr-map): Ditto.
12075 2014-03-04 Glenn Morris <rgm@gnu.org>
12077 * minibuffer.el (completion-hilit-commonality):
12078 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
12080 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
12082 * hilit-chg.el (hilit-chg-unload-function): New function.
12083 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
12084 (hilit-chg-map-changes): Prefer cardinal number to digit.
12085 (hilit-chg-display-changes): Reflow docstring.
12086 (highlight-changes-rotate-faces): Remove superfluous backslash.
12088 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
12090 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
12091 `tramp-send-command-and-check'.
12093 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
12095 * hexl.el (hexl-address-region, hexl-ascii-region)
12096 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
12097 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
12098 (hexl-forward-word, hexl-previous-line, hexl-next-line):
12099 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
12100 (hexl-mode): Doc fix.
12101 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
12102 (hexl-mode-ruler): Fix typos in docstrings.
12104 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
12105 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
12106 Remove superfluous backslashes.
12107 (strokes-last-stroke, strokes-global-map, strokes-mode):
12109 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
12110 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
12111 (strokes-distance-squared, strokes-global-set-stroke)
12112 (strokes-global-set-stroke-string): Doc fixes.
12113 (strokes-help): Fix typos; reflow docstring.
12115 2014-03-04 Martin Rudalics <rudalics@gmx.at>
12117 * window.el (window-in-direction): Fix doc-string.
12119 2014-03-04 Glenn Morris <rgm@gnu.org>
12121 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
12122 Explicit error if no grammar.
12123 (smie-config-save): Doc fix. Fix quote typo.
12125 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
12127 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
12128 electric-indent-mode-hook if we obey electric-indent-mode.
12129 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
12130 decide whether we obey electric-indent-mode.
12131 (c-change-set-fl-decl-start, c-extend-after-change-region):
12133 (c-electric-indent-mode-hook): Assume we do want to obey
12134 electric-indent-mode.
12136 * electric.el (electric-indent-mode-has-been-called): Remove.
12137 (electric-indent-mode): Fix accordingly.
12139 * files.el (hack-local-variables): Mention file name in warning.
12141 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
12143 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
12145 * bindings.el: Add comment describing why C-d binds to `delete-char'.
12146 * simple.el (delete-forward-char): Mark as interactive-only.
12148 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
12150 * icomplete.el (icomplete-completions):
12151 Follow-up to 2014-03-01 change.
12153 * icomplete.el: Miscellaneous doc fixes.
12154 Use Icomplete everywhere instead of icomplete for consistency.
12155 (icomplete-max-delay-chars): Fix typo.
12156 (icomplete-mode): Use \[].
12157 (icomplete-tidy, icomplete-exhibit): Reflow.
12158 (icomplete-minibuffer-setup-hook, icomplete-completions):
12159 Remove superfluous backlashes.
12161 * ido.el: Miscellaneous doc fixes.
12162 Use Ido everywhere instead of ido or `ido' for consistency.
12163 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
12164 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
12165 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
12166 (ido-separator): Extract obsolescence info from docstring and declare
12167 with make-obsolete-variable.
12168 (ido-minibuffer-setup-hook): Simplify example.
12169 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
12170 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
12171 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
12172 (ido-everywhere): Reflow docstring.
12173 (ido-toggle-vc): Doc fix.
12174 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
12175 of long list of keybindings.
12177 2014-03-03 Glenn Morris <rgm@gnu.org>
12179 * frame.el (display-pixel-height, display-pixel-width)
12180 (display-mm-dimensions-alist, display-mm-height)
12181 (display-mm-width): Doc tweaks.
12183 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
12185 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
12186 case of undo in region.
12188 2014-03-02 Martin Rudalics <rudalics@gmx.at>
12190 * window.el (fit-window-to-buffer): Fix argument in window-size
12191 call when window is horizontally combined.
12193 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
12195 * icomplete.el (icomplete-completions): Use string-width.
12196 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
12198 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
12200 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12201 Highlight regexp options. (Bug#16914)
12203 2014-03-01 Martin Rudalics <rudalics@gmx.at>
12205 * window.el (window--max-delta-1): Round down when calculating
12206 how many lines/columns we can get from a window.
12208 2014-03-01 Glenn Morris <rgm@gnu.org>
12210 * isearch.el (search-invisible): Doc fix.
12212 * minibuffer.el (completion-hilit-commonality):
12213 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
12214 * comint.el (comint-dynamic-list-completions): Doc fix.
12215 * comint.el (comint-dynamic-list-completions):
12216 * filecache.el (file-cache-minibuffer-complete):
12217 * tempo.el (tempo-display-completions):
12218 * eshell/em-hist.el (eshell-list-history):
12219 Replace use of obsolete argument of display-completion-list.
12221 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
12223 * icomplete.el (icomplete-completions):
12224 Revert back to using "..." when ?… cannot be displayed.
12226 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
12228 * finder.el (finder-unload-function): New function.
12230 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
12232 * dframe.el (dframe-detach):
12233 * find-dired.el (find-dired, find-name-dired):
12234 * finder.el (finder-mode-map, finder-mode-syntax-table)
12235 (finder-headmark, finder-select, finder-mouse-select):
12236 Fix docstring typos.
12238 2014-02-28 Martin Rudalics <rudalics@gmx.at>
12240 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
12241 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
12242 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12243 Fix doc-string based on a suggestion by Nicolas Richard
12244 <theonewiththeevillook@yahoo.fr>.
12245 * help.el (with-help-window): Fix doc-string.
12247 2014-02-28 Ivan Kanis <ivan@kanis.fr>
12249 * net/shr.el (shr-image-animate): New option.
12250 (shr-put-image): Respect shr-image-animate.
12252 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
12254 * net/tramp-adb.el (tramp-adb-parse-device-names):
12255 Use `accept-process-output'.
12256 (tramp-adb-handle-file-truename): Cache the localname only.
12257 (tramp-adb-handle-make-directory)
12258 (tramp-adb-handle-delete-directory): Flush file properties correctly.
12259 (tramp-adb-handle-set-file-modes): Do not raise an error when file
12260 modes cannot be changed.
12262 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
12263 file properties of symlinks.
12265 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
12267 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
12268 required/optional fields to match development biblatex. (Bug#16781)
12270 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
12272 * saveplace.el (toggle-save-place):
12273 Fix argument handling. (Bug#16673)
12275 2014-02-28 Glenn Morris <rgm@gnu.org>
12277 * minibuffer.el (completions-first-difference)
12278 (completions-common-part, completion-hilit-commonality): Doc fixes.
12280 2014-02-28 Karl Berry <karl@gnu.org>
12282 * info.el (Info-mode-map): Add H for describe-mode,
12283 to synchronize with standalone Info.
12285 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
12287 * progmodes/sql.el (sql-interactive-mode):
12288 Avoid setting global comint-input-ring-separator. (Bug#16814)
12290 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
12292 * net/dbus.el (dbus--init-bus): Declare function.
12293 (dbus-path-local, dbus-interface-local): New defconst.
12294 (dbus-init-bus): Use them.
12295 (dbus-return-values-table): Extend doc.
12296 (dbus-handle-bus-disconnect): Extend error message.
12298 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
12300 * subr.el (y-or-n-p): Fix double space issue in message.
12302 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
12304 * net/tramp.el (tramp-call-process): Improve trace message.
12305 (tramp-handle-insert-file-contents): Trace error case.
12307 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12308 <insert-directory>: Use `tramp-handle-insert-directory'.
12309 (tramp-adb-handle-insert-directory): Remove function.
12310 (tramp-adb-send-command-and-check): New defun, replacing
12311 `tramp-adb-command-exit-status'. Change all callees.
12312 (tramp-adb-handle-file-attributes)
12313 (tramp-adb-handle-directory-files-and-attributes): Use it.
12314 (tramp-adb-ls-output-name-less-p):
12315 Use `directory-listing-before-filename-regexp'.
12316 (tramp-adb-handle-delete-directory): Flush also file properties of
12317 the truename of directory.
12318 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
12319 (tramp-adb-handle-file-local-copy): Make the local copy readable.
12320 (tramp-adb-handle-write-region): Implement APPEND.
12321 (tramp-adb-handle-rename-file): Make it more robust. Flush file
12322 properties correctly.
12323 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
12324 variables. Check for connected devices only when needed.
12326 2014-02-27 Glenn Morris <rgm@gnu.org>
12328 * minibuffer.el (completion-table-dynamic)
12329 (completion-table-with-cache): Doc fixes.
12331 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
12332 (completing-read-multiple): Doc fixes.
12334 2014-02-27 Daniel Colascione <dancol@dancol.org>
12336 * minibuffer.el (completion--nth-completion): Fix indentation.
12338 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
12339 explicit tramp path is empty.
12341 2014-02-27 Glenn Morris <rgm@gnu.org>
12343 * emacs-lisp/crm.el (completing-read-multiple):
12344 Empower help-enable-auto-load.
12346 2014-02-26 Glenn Morris <rgm@gnu.org>
12348 * startup.el (command-line): Don't init the tty in daemon mode.
12350 Avoid calling tty-setup-hook twice, eg if a term file
12351 explicitly calls tty-run-terminal-initialization. (Bug#16859)
12352 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
12353 (tty-create-frame-with-faces): Use it.
12354 * startup.el (command-line): Pass run-hook argument
12355 to tty-run-terminal-initialization.
12357 * dired.el (dired-restore-desktop-buffer): Demote errors;
12358 eg in case a glob match fails. (Bug#16884)
12360 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
12362 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
12363 error from `read-from-string'. (Bug#16850)
12365 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
12366 result of `completing-read' in the interactive form. (Bug#16854)
12368 2014-02-25 Glenn Morris <rgm@gnu.org>
12370 * image.el (image-animate, image-animate-timeout):
12371 Stop animating images in dead buffers. (Bug#16878)
12373 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
12375 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
12377 * startup.el (term-setup-hook): Doc fix. Make obsolete.
12378 * term/sun.el (sun-raw-prefix-hooks):
12379 Use tty-setup-hook instead of term-setup-hook.
12380 (terminal-init-sun): Construct message from bytecomp plist.
12381 * term/wyse50.el (enable-arrow-keys): Doc fix.
12383 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12385 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
12386 Fix docstring typos.
12388 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
12390 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
12392 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
12394 * minibuffer.el (completion--try-word-completion):
12395 Fix error when completing M-x commands (bug#16808).
12397 2014-02-24 Leo Liu <sdl.web@gmail.com>
12399 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
12401 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12403 * apropos.el (apropos-print): Avoid formatting error when
12404 apropos-do-all and apropos-compact-layout are both t.
12406 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12408 * apropos.el (apropos-property, apropos-all-words-regexp)
12409 (apropos-true-hit, apropos-variable, apropos-print):
12410 Fix docstring typos, and remove obsolete comment.
12412 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
12414 * net/tramp-sh.el (tramp-sh-handle-file-truename):
12415 Preserve trailing "/". (Bug#16851)
12417 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
12419 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
12420 after `=>' (bug#16811).
12421 (ruby-smie-rules): Handle the inconsistent second element of the
12422 list returned by `smie-indent--parent'.
12423 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
12426 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12428 * elec-pair.el (electric-pair-text-syntax-table)
12429 (electric-pair-syntax-info, electric-pair--syntax-ppss)
12430 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
12431 (electric-pair--looking-at-unterminated-string-p): Doc fix.
12432 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
12434 2014-02-22 Glenn Morris <rgm@gnu.org>
12436 * imenu.el (imenu--generic-function): Doc fix.
12438 * register.el (frame-configuration-to-register): Make obsolete.
12440 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
12442 * desktop.el (desktop-save-buffer-p): Do not fail when
12443 desktop-files-not-to-save is nil. Return t for true result
12446 2014-02-22 Daniel Colascione <dancol@dancol.org>
12448 * net/secrets.el (secrets-create-item, secrets-search-items):
12449 Check that attribute values are strings, avoiding the construction
12450 of invalid dbus messages.
12452 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12454 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
12455 defun-declarations-alist.
12457 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
12459 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
12462 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12464 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
12465 (whitespace-newline, whitespace-trailing, whitespace-line)
12466 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
12467 (whitespace-space-after-tab): Fix typo in docstrings.
12469 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
12471 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
12473 * electric.el (electric-indent-functions-without-reindent):
12474 Add `yaml-indent-line'.
12476 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12478 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
12479 It has done nothing for years; should be removed after the release.
12481 * simple.el (choose-completion): Fix docstring typo.
12482 (read-quoted-char-radix): Remove unneeded * in docstring.
12483 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
12484 Don't escape parentheses unnecessarily in docstrings.
12486 2014-02-21 Martin Rudalics <rudalics@gmx.at>
12488 Fix handling of window-min-height/-width (Bug#16738).
12489 * window.el (window--dump-window, window--dump-frame):
12491 (window--min-size-1): Account for window dividers.
12492 When window-resize-pixelwise is nil, delay rounding till after the
12493 sum of the window components has been calculated.
12494 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
12495 nil make sure at least one text line and two text columns remain
12497 (window-resize): Signal an error when window-resize-apply fails.
12498 (window--resize-child-windows): Fix calculation of by how many
12499 pixels a window can still be shrunk via window-new-normal.
12500 (adjust-window-trailing-edge): Call window--resizable with
12501 correct TRAIL argument.
12503 (with-temp-buffer-window): Don't evaluate BODY within
12504 with-current-buffer (Bug#16816).
12506 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
12508 * net/tramp.el (tramp-check-cached-permissions):
12509 Call `file-attributes' with `suffix' being a symbol but a string.
12511 2014-02-21 Daniel Colascione <dancol@dancol.org>
12513 * net/dbus.el (dbus-init-bus-1): Declare new subr.
12514 (dbus-init-bus): New function: call into dbus-init-bus-1
12515 and installs a handler for the disconnect signal.
12516 (dbus-call-method): Rewrite to look for result in cons.
12517 (dbus-call-method-handler): Store result in cons.
12518 (dbus-check-event): Recognize events with nil sender as valid.
12519 (dbus-handle-bus-disconnect): New function. React to bus
12520 disconnection signal by synthesizing dbus error for each
12521 pending synchronous or asynchronous call.
12522 (dbus-notice-synchronous-call-errors): New function.
12523 (dbus-handle-event): Raise errors directly only when `dbus-debug'
12524 is true, not all the time.
12526 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12528 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
12529 Remove obsolescence declarations, these variables do not exist anymore.
12531 * savehist.el (savehist-save-minibuffer-history)
12532 (savehist-additional-variables, savehist-file, savehist-mode-hook)
12533 (savehist-save-hook, savehist-coding-system, savehist-loaded)
12534 (savehist-load, savehist-install, savehist-autosave): Fix typos;
12535 mostly, refer to "Savehist mode" when talking about the mode,
12536 and not the function.
12538 * saveplace.el (save-place): Remove redundant info in docstring.
12539 (save-place-forget-unreadable-files, toggle-save-place)
12540 (save-place-forget-unreadable-files, save-place-dired-hook):
12541 Fix typos and remove unneeded backslashes.
12543 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
12545 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
12546 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
12548 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12549 <insert-directory>: Use `tramp-handle-insert-directory'.
12550 (tramp-gvfs-handle-insert-directory): Remove function.
12552 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12553 Call `tramp-handle-insert-directory'.
12555 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
12557 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
12558 before the start of buffer/region (bug#16799).
12560 2014-02-20 Glenn Morris <rgm@gnu.org>
12562 * isearch.el (search-invisible): Doc fix.
12564 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
12566 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
12569 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12571 * frameset.el (frameset-restore): Delay removing an old frame's
12572 duplicate id until the new frame has been correctly created.
12574 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
12576 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
12577 (tramp-check-cached-permissions): Call `file-attributes' if the
12580 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12581 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12583 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12584 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12585 (tramp-gvfs-maybe-open-connection): Set always connection
12586 properties, even if target is mounted already.
12588 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
12589 Set tramp-autoload cookie.
12590 (tramp-get-remote-touch): New defun.
12591 (tramp-sh-handle-set-file-times): Use it.
12592 (tramp-sh-handle-directory-files-and-attributes):
12593 Use `tramp-handle-directory-files-and-attributes' if neither stat
12594 nor perl are available on the remote host.
12596 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
12597 "/". Write long listing only when "l" belongs to the switches.
12599 * net/trampver.el: Update release number.
12601 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12603 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
12605 2014-02-19 Martin Rudalics <rudalics@gmx.at>
12607 * window.el (window-state-put): Allow WINDOW to refer to an
12608 internal window (Bug#16793).
12610 2014-02-19 Glenn Morris <rgm@gnu.org>
12612 * textmodes/remember.el: Move provide statement to end.
12613 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
12614 (remember-notes): Doc fixes.
12616 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12618 * delsel.el (delete-char): Restore incorrectly erased property
12621 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
12623 * frameset.el (frameset--restore-frame): When a frame is being reused
12624 and its root window is not alive, delete all the frame's windows before
12625 restoring the window state. This works around the issue in bug#16793.
12627 2014-02-18 Glenn Morris <rgm@gnu.org>
12629 * textmodes/remember.el (remember-data-directory)
12630 (remember-directory-file-name-format, remember-store-in-files)
12631 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
12632 (remember-notes-save-and-bury-buffer)
12633 (remember-notes--kill-buffer-query): Doc fixes.
12635 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
12637 2014-02-17 Alan Mackenzie <acm@muc.de>
12639 Connect electric-indent-mode up with CC Mode. Bug #15478.
12640 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
12641 to electric-indent-{,local-}-mode.
12642 (c-basic-common-init): Set electric-indent-inhibit.
12643 Initialize c-electric-flag from electric-indent-mode.
12644 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
12645 New hook functions which propagate electric-indent-mode to CC mode.
12647 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
12648 hit, toggle electric-indent-local-mode.
12650 * electric.el (electric-indent-mode-has-been-called):
12653 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
12655 * frameset.el (frameset-cfg-id): New function.
12656 (frameset--reuse-frame, frameset-restore): Use it.
12657 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
12659 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
12661 * ido.el (ido-file-internal): Remove unused var `d'.
12662 Use \` for to match BoS. Fit within 80n columns.
12664 2014-02-17 Daniel Colascione <dancol@dancol.org>
12666 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
12667 dbus-call-method check for completion using a busy-wait loop with
12670 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
12672 Sync with Tramp 2.2.9.
12674 * net/trampver.el: Update release number.
12676 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
12678 * ido.el (ido-file-internal): Don't add the name of an existing
12679 directory twice. (Bug#16747)
12681 2014-02-16 Glenn Morris <rgm@gnu.org>
12683 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
12684 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
12686 2014-02-15 Michael R. Mauger <michael@mauger.com>
12688 * progmodes/sql.el: Version 3.4
12689 (sql-oracle-options): New default value ("-L").
12690 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
12691 (sql-placeholders-filter): Correct placeholder pattern.
12692 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
12693 (sql-login-delay): New variable.
12694 (sql-product-interactive): Use it.
12696 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
12698 * frameset.el (frameset--jump-to-register): Check that buffer is live
12701 2014-02-15 Glenn Morris <rgm@gnu.org>
12703 * info.el (info-initialize): Revert 2014-01-10 change.
12705 2014-02-14 Glenn Morris <rgm@gnu.org>
12707 * replace.el (map-query-replace-regexp)
12708 (read-regexp-defaults-function, read-regexp): Doc fixes.
12710 * dired.el (dired-read-regexp):
12711 * faces.el (list-faces-display):
12712 * misearch.el (multi-isearch-read-matching-buffers)
12713 (multi-isearch-read-matching-files):
12714 * play/cookie1.el (cookie-apropos):
12715 * progmodes/grep.el (grep-read-regexp): Doc fixes.
12717 * textmodes/remember.el (remember): Use frameset-to-register
12718 rather than frame-configuration-to-register.
12720 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
12722 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
12723 incorrect keybinding.
12725 2014-02-13 Daniel Colascione <dancol@dancol.org>
12727 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
12728 when adding overlays so that line numbers from compiler match line
12731 2014-02-13 Glenn Morris <rgm@gnu.org>
12733 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
12735 * jit-lock.el (jit-lock-mode): Doc fix.
12737 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
12739 * apropos.el (apropos-read-pattern): When the user passes an empty
12740 string, give a more helpful error message than "Wrong type
12741 argument: stringp, nil".
12743 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
12745 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
12747 2014-02-13 Glenn Morris <rgm@gnu.org>
12749 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
12751 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
12753 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
12754 shift-select commands.
12756 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
12758 * progmodes/js.el (js-indent-line): Don't widen.
12759 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
12761 2014-02-12 Glenn Morris <rgm@gnu.org>
12763 * icomplete.el (icomplete): Add info-link to defgroup.
12764 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
12765 (icomplete-minibuffer-map, icomplete-mode)
12766 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
12768 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
12769 (package-menu-filter): Rename from package-menu-filter-interactive.
12772 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
12774 * frameset.el (frameset--jump-to-register): Select the required
12775 window and buffer before restoring position (bug#16696).
12777 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
12779 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
12781 2014-02-10 Glenn Morris <rgm@gnu.org>
12783 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
12785 2014-02-10 Eli Zaretskii <eliz@gnu.org>
12787 * w32-common-fns.el (x-get-selection): Doc fix.
12788 * select.el (x-get-selection): Doc fix. (Bug#15109)
12790 * face-remap.el (face-remap-add-relative)
12791 (face-remap-remove-relative, face-remap-reset-base)
12792 (face-remap-set-base): Call force-mode-line-update to redisplay
12793 the current buffer due to potential change in faces. (Bug#16709)
12795 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
12797 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
12798 script more robustly.
12800 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12802 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
12804 * simple.el (choose-completion): Doc fix (bug#14160).
12806 * subr.el (event-start): Say what a nil EVENT value means.
12808 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
12811 * progmodes/grep.el (find-program): Doc fix (bug#14289).
12813 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
12815 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
12817 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
12818 predicate function (bug#15455).
12820 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
12822 * ielm.el (inferior-emacs-lisp-mode): Instead of
12823 `comment-use-global-state', set `comment-use-syntax'.
12825 2014-02-10 Glenn Morris <rgm@gnu.org>
12827 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
12829 2014-02-09 Alan Mackenzie <acm@muc.de>
12831 Fix c-invalidate-state-cache on narrowed buffers.
12832 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
12833 Widen when setting and clearing the CPP delimiter properties.
12835 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
12837 * help.el (describe-bindings): Doc fix (bug#9888).
12839 * files.el (save-buffer): Use ARG as the parameter name for
12840 consistency (bug#10346).
12841 (save-buffer): Clarify the 0 argument (bug#10346).
12843 * cus-edit.el (customize-apropos): Fix error string.
12844 (custom-buffer-create): Doc fix (bug#11122).
12845 (custom-sort-items): Doc fix (bug#11121).
12847 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
12849 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
12850 (icomplete-simple-completing-p): Mention the previous variable.
12852 * font-lock.el (font-lock-value-in-major-mode): Clarify the
12853 meaning of the parameter (bug#12282).
12855 * files.el (find-file-noselect): Clarify prompt when changing
12856 readedness (bug#13261).
12857 (locate-file): Suffixes aren't returned, so don't say that they
12859 (backup-inhibited): Doc clarification (bug#12525).
12861 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
12862 before we actually start to delete things (bug#16331).
12864 * subr.el (event-start): Doc fix (bug#14228).
12865 (event-end): Ditto.
12867 2014-02-09 Glenn Morris <rgm@gnu.org>
12869 * emacs-lisp/warnings.el (lwarn):
12870 Empower help-enable-auto-load. (Bug#15940)
12872 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
12874 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
12877 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
12879 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
12880 Insert output at end of buffer. (Bug#16120)
12882 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12884 * simple.el (choose-completion-string-functions): Document new
12885 calling convention (bug#14153).
12886 (execute-extended-command): Clarify doc string (bug#13373).
12888 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
12890 * find-dired.el (find-name-dired): Doc fix (bug#14290).
12891 (find-grep-dired): Doc fix (bug#14288).
12893 2014-02-08 Juri Linkov <juri@jurta.org>
12895 * isearch.el (isearch-quote-char): Check character validity
12896 like in `quoted-insert' (bug#16677).
12898 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12900 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
12902 * isearch.el (isearch-hide-immediately): Doc clarification
12905 * simple.el (line-move): Document utility function used many
12906 places in the Emacs sources (bug#14843).
12908 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
12909 (dired-prev-marked-file): Doc fix (bug#14855).
12910 (dired-up-directory): Doc fix (bug#14848).
12912 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
12914 * files.el (file-relative-name): Doc fix (bug#15159).
12916 * fringe.el (fringe-styles): Doc fix (bug#15239).
12918 * isearch.el (isearch-filter-predicate): Documentation typo fix
12921 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
12923 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
12925 * replace.el (replace-match-maybe-edit): Doc clarification
12928 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
12930 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
12932 2014-02-08 Glenn Morris <rgm@gnu.org>
12934 * help-fns.el (describe-variable):
12935 Check {file,dir}-local-variables-alist, and buffer-file-name,
12936 in the correct buffer.
12938 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
12940 * help-fns.el (describe-variable): Fix the case where
12941 a value is directory-local with no dir-locals file. (Bug#16635)
12943 2014-02-08 Glenn Morris <rgm@gnu.org>
12945 * abbrev.el (edit-abbrevs-mode):
12946 Derive from fundamental-mode. (Bug#16682)
12948 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
12950 * simple.el (quoted-insert): Check character validity (bug#16677).
12952 2014-02-07 Juri Linkov <juri@jurta.org>
12954 * desktop.el (desktop-read): Claim the lock when the owner is not
12955 the current process. (Bug#16157)
12957 2014-02-07 Juri Linkov <juri@jurta.org>
12959 * desktop.el (desktop-buffers-not-to-save): Change default from nil
12960 to "\\` ". (Bug#16651)
12962 2014-02-07 Juri Linkov <juri@jurta.org>
12964 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
12965 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
12966 (desktop-auto-save-cancel-timer): New function with some code from
12967 `desktop-auto-save-set-timer'.
12968 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
12969 Instead of setting `desktop-save-mode' to nil, call
12970 `desktop-save-mode' with arg 0. (Bug#16630)
12972 2014-02-07 Glenn Morris <rgm@gnu.org>
12974 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
12975 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
12976 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
12978 * obsolete/iswitchb.el: Move to obsolete/.
12979 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
12980 since obsolete/ is not scanned for autoloads.
12981 * emacs-lisp/authors.el (authors-valid-file-names):
12984 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
12985 Disable now non-functional find-file-hook.
12987 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
12989 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
12990 instead of ";" in order to avoid additional prompts. Let heredoc
12991 scripts read from tty. (Bug#16582)
12992 (tramp-send-command): No special handling of heredocs, it isn't
12995 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
12997 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
12998 with a space (bug#16664). Limit the symbols considered to the ones
12999 that are bound or fbound (bug#16646).
13001 2014-02-06 Glenn Morris <rgm@gnu.org>
13003 * epa.el (epa-mail-aliases): Doc fix.
13005 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
13007 * emacs-lisp/lisp.el (lisp-completion-at-point):
13008 Use `completion-table-merge' instead of `completion-table-in-turn'
13011 * minibuffer.el (completion-table-merge): New function.
13013 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
13015 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
13016 (tramp-sh-handle-set-file-acl)
13017 (tramp-sh-handle-start-file-process)
13018 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
13019 (tramp-find-executable, tramp-send-command): Use it.
13021 2014-02-05 Glenn Morris <rgm@gnu.org>
13023 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
13025 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
13027 * progmodes/python.el (python-shell-send-string)
13028 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
13030 2014-02-04 Anders Lindgren <andlind@gmail.com>
13032 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
13033 the names (bug#16620).
13035 2014-02-03 Martin Rudalics <rudalics@gmx.at>
13037 * faces.el (window-divider): New default value. Rewrite doc-string.
13038 (window-divider-first-pixel, window-divider-last-pixel): New faces.
13040 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
13042 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
13043 `protected' and `public' can also be called without arguments.
13045 2014-02-03 Glenn Morris <rgm@gnu.org>
13047 * register.el (window-configuration-to-register)
13048 (frame-configuration-to-register): Unadvertise unused argument.
13049 * frameset.el (frameset-to-register): Remove unused argument.
13051 * frameset.el (frameset-to-register):
13052 * kmacro.el (kmacro-to-register):
13053 * register.el (increment-register):
13054 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
13055 (calc-append-to-register, calc-prepend-to-register):
13056 * play/gametree.el (gametree-layout-to-register)
13057 (gametree-apply-register-layout):
13058 * textmodes/picture.el (picture-clear-rectangle-to-register)
13059 (picture-yank-rectangle-from-register):
13060 * vc/emerge.el (emerge-combine-versions-register):
13061 Use register-read-with-preview to read registers.
13063 2014-02-03 João Távora <joaotavora@gmail.com>
13065 * elec-pair.el (electric-pair-backward-delete-char): Don't error
13066 when at beginning of (possibly narrowed) buffer.
13068 2014-02-02 Daniel Colascione <dancol@dancol.org>
13070 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
13071 Also try to display local help from just before point.
13073 2014-02-02 Alan Mackenzie <acm@muc.de>
13075 c-parse-state. Don't "append-lower-brace-pair" in certain
13076 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
13077 recognised as a comment.
13079 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
13080 as well as normal comment starter.
13081 (c-parse-state-get-strategy): Extra return possibility
13083 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
13084 return value list to indicate replacement of a brace-pair cons
13086 (c-parse-state-1): With 'back-and-forward, only call
13087 c-append-lower-brace-pair-to state-cache when cons-separated.
13089 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
13091 * term/ns-win.el (ns-suspend-error): New function.
13092 (ns-initialize-window-system): Add ns-suspend-error to
13093 suspend-hook (Bug#16612).
13095 2014-02-02 Daniel Colascione <dancol@dancol.org>
13097 * progmodes/cc-defs.el (c-find-assignment-for-mode):
13098 Make loading cc-mode silent.
13100 2014-02-02 Daniel Colascione <dancol@dancol.org>
13102 * comint.el (comint-prompt-read-only): Change doc to suggest
13105 2014-02-02 Glenn Morris <rgm@gnu.org>
13107 * register.el (register-read-with-preview, point-to-register)
13108 (window-configuration-to-register, frame-configuration-to-register)
13109 (jump-to-register, number-to-register, view-register, insert-register)
13110 (copy-to-register, append-to-register, prepend-to-register)
13111 (copy-rectangle-to-register): Doc fixes.
13113 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
13115 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
13116 * emacs-lisp/find-func.el (find-function-C-source): Idem.
13117 * emacs-lisp/nadvice.el (advice--cd*r): New function.
13118 * help-fns.el (describe-function-1): Use it.
13120 2014-02-02 Glenn Morris <rgm@gnu.org>
13122 * register.el (register-preview-default): New function,
13123 split from register-preview.
13124 (register-preview-function): Rename from register-preview-functions,
13125 make it not a hook.
13126 (register-preview): Use register-preview-function.
13127 (register-read-with-preview): Error on non-character event. (Bug#16595)
13129 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
13131 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
13132 `:' before binary operators (bug#16609). Don't check for `:'
13133 before `[' and `(', or their syntax status. A percent literal
13134 can't end with either.
13135 (ruby-font-lock-keywords): For built-ins that require arguments,
13136 check that they're followed by something that looks like argument
13139 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
13141 * subr.el (butlast): Document what an omitted N means (bug#13437).
13144 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
13146 * net/shr.el (shr-generic): Make into a defsubst to make the stack
13147 depth shallower (bug#16587).
13148 (shr-tag-svg): Respect `shr-inhibit-images'.
13149 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
13151 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
13153 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
13154 (ruby-smie-grammar): Make "." right-associative. Make its priority
13155 lower than the ternary and all binary operators.
13156 (ruby-smie-rules): Indent "(" relative to the first non-"."
13157 parent, or the first "." parent at indentation.
13158 Use `ruby-align-chained-calls' for indentation of "." tokens.
13161 2014-01-31 Juri Linkov <juri@jurta.org>
13163 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
13164 from `make-hash-table'.
13166 * textmodes/ispell.el (ispell-init-process): Change message format
13167 to be consistent with other messages.
13169 2014-01-31 Glenn Morris <rgm@gnu.org>
13171 * delsel.el (delete-selection-mode): Doc fix.
13173 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
13174 (trace-function-background): Doc fixes.
13176 * ido.el (ido-use-virtual-buffers): Doc fix.
13177 Reset :version, since the default value has not changed.
13179 * register.el (register-preview-delay, register-read-with-preview):
13182 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
13183 do not mess with mail-buffer position (fixes 2009-11-03 change).
13184 * progmodes/cc-mode.el (c-submit-bug-report):
13185 Check auto-fill-mode is bound. (Bug#16592)
13187 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
13189 * startup.el (fancy-splash-image-file): New function,
13190 split from fancy-splash-head.
13191 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
13192 so that we are both using the same image. (Bug#16574)
13194 2014-01-30 Glenn Morris <rgm@gnu.org>
13196 * simple.el (eval-expression): Doc fix.
13198 * hexl.el (hexl-mode-hook):
13199 * ielm.el (ielm-mode-hook):
13200 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
13201 (lisp-interaction-mode-hook):
13202 * progmodes/cfengine.el (cfengine3-documentation-function):
13203 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
13205 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
13207 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
13208 is a symbol (bug#16584).
13210 2014-01-30 Glenn Morris <rgm@gnu.org>
13212 * help.el (help-for-help-internal): Add "P" to text.
13214 2014-01-29 Glenn Morris <rgm@gnu.org>
13216 * simple.el (just-one-space, cycle-spacing): Doc fixes.
13218 2014-01-28 Martin Rudalics <rudalics@gmx.at>
13220 * window.el (fit-frame-to-buffer): Fix calculations for margins and
13221 height constraints.
13223 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
13225 * progmodes/hideif.el: Extend to full CPP expression syntax.
13226 (hif-token-alist): Add missing tokens.
13227 (hif-token-regexp): Add support for float/octal/hex immediates.
13228 (hif-string-literal-regexp): New const.
13229 (hif-tokenize): Recognize strings and float/octal/hex immediates.
13230 (hif-exprlist): New function.
13231 (hif-parse-if-exp): Use it.
13232 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
13233 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
13234 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
13235 (hif-logxor, hif-comma): New functions.
13237 2014-01-28 Glenn Morris <rgm@gnu.org>
13239 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
13241 * indent.el (tab-stop-list): Doc fix. Add :version.
13243 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
13244 (cvs-append-to-ignore): Add compatibility alias.
13246 2014-01-27 Glenn Morris <rgm@gnu.org>
13248 * dired.el (dired-hide-details-mode): Don't autoload it,
13249 since it cannot be used outside Dired buffers anyway.
13251 * emulation/cua-base.el (cua-mode): Doc fix.
13253 * dired.el (dired-hide-details-hide-symlink-targets)
13254 (dired-hide-details-hide-information-lines)
13255 (dired-hide-details-mode): Doc fixes.
13257 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
13258 * strokes.el (strokes-file): Doc fix. Bump :version.
13259 (strokes-help): Doc fix.
13260 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
13261 * emulation/viper.el (viper): Doc fix for custom group.
13262 (top-level): Remove oh-so-no-longer-relevant text about vip.
13263 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
13265 * ido.el (ido-save-directory-list-file):
13266 * saveplace.el (save-place-file):
13267 * calendar/timeclock.el (timeclock-file):
13268 * net/quickurl.el (quickurl-url-file):
13269 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13270 * progmodes/idlwave.el (idlwave-config-directory):
13271 * textmodes/remember.el (remember-data-file):
13274 2014-01-26 Glenn Morris <rgm@gnu.org>
13276 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
13277 Doc fix. Make obsolete.
13278 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
13280 * sort.el (delete-duplicate-lines): Doc fix.
13282 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13284 * progmodes/ada-mode.el (ada):
13285 * woman.el (woman): Link to info manual and Commentary section.
13287 * progmodes/flymake.el (flymake):
13288 * nxml/nxml-mode.el (nxml):
13289 * net/eww.el (eww):
13290 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
13291 * htmlfontify.el (htmlfontify):
13294 * ido.el (ido): Link to info manual.
13296 2014-01-25 Leo Liu <sdl.web@gmail.com>
13298 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
13300 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
13302 * net/shr.el (shr-tag-img): Prefer the title over the alt text
13305 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
13307 * net/eww.el (eww-download-callback):
13308 Fix reference to eww-download-directory.
13310 * emacs-lisp/bytecomp.el (byte-compile-file):
13311 Remove unused local variable `file-name'.
13313 2014-01-24 Glenn Morris <rgm@gnu.org>
13315 * woman.el (woman-default-faces, woman-monochrome-faces):
13316 Fix obsolescence specification.
13318 * subr.el (with-demoted-errors): Doc fix.
13320 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
13322 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
13323 (cl--macroexp-fboundp): New function.
13324 (cl--make-type-test): Use it.
13326 2014-01-23 Glenn Morris <rgm@gnu.org>
13328 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
13329 * simple.el (eval-expression): Doc fixes.
13331 2014-01-22 Glenn Morris <rgm@gnu.org>
13333 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
13335 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13337 * emacs-lisp/package.el: Write files silently.
13338 (package-autoload-ensure-default-file, package--write-file-no-coding)
13339 (package-generate-description-file, package--download-one-archive)
13340 (package-install-from-archive): Tell `write-region' to stay quiet.
13341 (package-menu-mode, package-menu--print-info): Omit the Archive column
13342 if there's only one archive.
13343 (package-all-keywords, package--has-keyword-p): Remove dead code.
13345 2014-01-22 Glenn Morris <rgm@gnu.org>
13347 * version.el (emacs-bzr-version-bzr): Fix typo.
13349 * version.el (emacs-repository-get-version):
13350 Check either .bzr or .git, but not both.
13351 Make the git case actually use the DIR argument, and return nil
13352 rather than the empty string.
13353 Avoid error if .git exists but the git executable is not found.
13355 2014-01-22 Martin Rudalics <rudalics@gmx.at>
13357 Fixes in window size functions around Bug#16430 and Bug#16470.
13358 * window.el (window-total-size, window-size): New argument ROUND.
13359 (window--min-delta-1, window-min-delta, window--max-delta-1):
13360 Be more conservative when calculating the numbers of lines or
13361 columns a window can shrink (Bug#16430).
13362 (fit-window-to-buffer): Simplify code.
13363 * term.el (term-window-width): Call window-body-width again.
13365 2014-01-22 Glenn Morris <rgm@gnu.org>
13367 * image.el (image-format-suffixes): Doc fix.
13369 * international/quail.el (quail-define-package): Doc fix.
13371 * emacs-lisp/authors.el (authors-valid-file-names)
13372 (authors-renamed-files-alist): Additions.
13374 * vc/vc-git.el (vc-git-print-log): Remove --follow;
13375 reverts 2014-01-09 change. (Bug#16422)
13377 * calc/calc-embed.el (thing-at-point-looking-at):
13378 * emacs-lisp/map-ynp.el (x-popup-dialog):
13379 * obsolete/lmenu.el (x-popup-dialog):
13380 * emacs-lisp/package.el (url-recreate-url):
13381 * mail/mailclient.el (clipboard-kill-ring-save):
13382 * subr.el (x-popup-dialog): Update declaration.
13383 * mail/rmail.el (rmail-mime-message-p):
13384 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
13386 2014-01-21 Daniel Colascione <dancol@dancol.org>
13388 * progmodes/sh-script.el (sh--inside-noncommand-expression):
13389 Correctly detect when we're inside an arithmetic expansion form
13390 containing nested parenthesis.
13391 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
13392 to detect cases where we shouldn't expand "<<" to a heredoc
13395 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
13397 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
13398 (eldoc--message-command-p): New function.
13399 (eldoc-display-message-p): Use it.
13400 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
13401 message is not automatically erased for us.
13402 (eldoc-print-current-symbol-info): Erase previous message, if any.
13404 2014-01-21 Tassilo Horn <tsdh@gnu.org>
13406 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
13407 specify it's an interactive function.
13409 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
13410 Fix regex used for scanning for citation keys which failed for
13411 citations with optional arguments.
13413 2014-01-21 Leo Liu <sdl.web@gmail.com>
13415 * simple.el (read--expression): Don't enable eldoc-mode.
13417 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
13419 * simple.el (move-beginning-of-line): Make sure we don't move forward
13422 2014-01-20 Juri Linkov <juri@jurta.org>
13424 * saveplace.el (toggle-save-place, save-place-to-alist)
13425 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
13426 'dired-mode) before checking for dired-directory. (Bug#16477)
13428 2014-01-20 Juri Linkov <juri@jurta.org>
13430 * indent.el (indent-line-to): Use backward-to-indentation
13431 instead of back-to-indentation. (Bug#16461)
13433 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
13435 Revert some of the CANNOT_DUMP fix (Bug#16494).
13436 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
13437 but fixing this can wait until after the next release.
13438 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
13440 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
13442 * eshell/esh-mode.el (eshell-password-prompt-regexp):
13443 Use `password-word-equivalents'.
13444 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
13445 to t. (Bug#5664, Bug#13124)
13447 2014-01-19 Alan Mackenzie <acm@muc.de>
13449 Bind open-paren-in-column-0-is-defun-start to nil at some entry
13451 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
13452 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
13453 * progmodes/cc-mode.el (c-before-change, c-after-change)
13454 (c-font-lock-fontify-region): Bind it here.
13456 2014-01-19 Martin Rudalics <rudalics@gmx.at>
13458 * term.el (term-window-width): Call window-text-width instead of
13459 window-width (Bug#16470).
13461 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
13463 * simple.el (password-word-equivalents): Remove duplicates.
13464 Sort, to make this easier next time.
13465 Downcase. Omit ": " after "jelszó".
13467 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
13469 * term/common-win.el (saved-region-selection): Defvar it.
13470 (x-select-text): Set saved-region-selection (Bug#16382).
13472 2014-01-18 Glenn Morris <rgm@gnu.org>
13474 * emacs-lisp/authors.el (authors-aliases)
13475 (authors-renamed-files-alist): Add some entries.
13477 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
13479 * net/tramp.el (tramp-password-prompt-regexp):
13480 Use `password-word-equivalents' if available.
13481 (tramp-action-password, tramp-process-one-action)
13482 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
13484 2014-01-17 Chong Yidong <cyd@gnu.org>
13486 * simple.el (password-word-equivalents): New defcustom.
13487 * comint.el (comint-password-prompt-regexp): Use it. Bump version
13489 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
13492 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
13494 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
13495 (ruby-align-to-stmt-keywords): Change the default value.
13496 Use `ruby-alignable-keywords' to generate the possible customization
13498 (ruby-smie-rules): Instead of using a hardcoded list of alignable
13499 keywords, check against the value of `ruby-alignable-keywords'
13500 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
13502 2014-01-17 Glenn Morris <rgm@gnu.org>
13504 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
13506 Make M-x authors return zero *Authors Errors* from current logs.
13507 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
13508 (authors-ignored-files): Add some entries, remove others.
13509 (authors-ambiguous-files, authors-valid-file-names):
13511 (authors-renamed-files-alist): Add, remove, and adjust entries.
13512 (authors-renamed-files-regexps): Add some entries.
13513 Remove some very broad ones. Make some entries `lax'.
13514 (authors-lax-changelogs): New constant.
13515 (authors-disambiguate-file-name): Treat top-level specially.
13516 (authors-lax-changelog-p): New function.
13517 (authors-canonical-file-name): Check file as written against
13518 authors-valid-file-names. Do not special-case etc/.
13519 Handle `lax' logs and authors-renamed-files-regexps elements.
13521 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
13523 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
13524 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
13527 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13529 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
13530 Assume we're already in the proper buffer.
13531 Inspired by Anders Lindgren <andlind@gmail.com>.
13532 (follow-post-command-hook): Call it from the right buffer.
13533 (follow-comint-scroll-to-bottom): Adjust call.
13534 (follow-all-followers): Use get-buffer-window-list.
13536 2014-01-15 Daniel Colascione <dancol@dancol.org>
13538 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
13539 `buffer-file-name' in interactive-form so that we don't leave
13540 pathless file names in `file-name-history'.
13542 2014-01-15 Juri Linkov <juri@jurta.org>
13544 * indent.el (indent-rigidly): Set deactivate-mark to nil
13545 in transient indentation mode. (Bug#16438)
13547 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
13549 * emacs-lisp/package.el (package-desc-keywords): New function
13551 (describe-package-1, package-all-keywords)
13552 (package--has-keyword-p): Use it.
13554 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
13556 * simple.el (define-alternatives): When creating the
13557 COMMAND-alternatives variable, assign COMMAND as its definition
13558 name so that `describe-variable' can relocate it.
13560 2014-01-14 Matthew Leach <matthew@mattleach.net>
13562 * font-lock.el (font-lock-keywords): Fix typo in docstring
13565 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13567 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
13568 line instead of wrongly reset `add-coment' (bug#13577).
13570 2014-01-14 Daiki Ueno <ueno@gnu.org>
13572 * epa-file.el (epa-file-write-region): Encode the region according
13573 to `buffer-file-format'. Problem reported at:
13574 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
13576 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
13578 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
13579 so it applies in the right buffer (bug#16410).
13581 2014-01-13 Daniel Colascione <dancol@dancol.org>
13583 * textmodes/rst.el (rst-define-key): Provide deprecated
13584 keybindings through named functions instead of anonymous ones so
13585 that "??" doesn't appear in describe-mode output.
13587 2014-01-13 Bastien Guerry <bzg@gnu.org>
13589 * simple.el (define-alternatives): Call the selected command
13590 interactively. When setting `COMMAND--implementation' for the
13591 first time, tell the user how to chose another implementation.
13592 Enhance the docstring.
13594 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13596 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
13597 (log-edit--match-first-line): New function.
13598 (log-edit-font-lock-keywords): Use it.
13599 (log-edit-mode): Make jit-lock-defer-multiline work.
13601 2014-01-13 Bastien Guerry <bzg@gnu.org>
13603 * rect.el (rectangle-mark-mode): When the region is not active,
13604 display a message saying that the mark as been set and that
13605 rectangle mode is in use.
13606 (rectangle--highlight-for-redisplay): Only put an overlay with a
13607 visible vertical bar when (display-graphic-p) is non-nil.
13608 This partially fixes Bug#16403.
13610 2014-01-13 Juri Linkov <juri@jurta.org>
13612 * info.el (Info-find-file): Go to DIR before displaying the error
13613 about a nonexistent file if no previous Info file is visited.
13614 Use `user-error' instead of `error' for "Info file %s does not exist".
13615 (Info-find-node-2): In case of a nonexistent node in unwind forms
13616 go to the Top node if there is no previous node to revert to.
13619 2014-01-13 Martin Rudalics <rudalics@gmx.at>
13621 fit-frame/window-to-buffer code fixes including one for Bug#14096.
13622 * window.el (fit-frame-to-buffer): Fix doc-string.
13623 Respect window-min-height/-width. Fit pixelwise when
13624 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
13625 when avoiding that frame goes partially off-screen.
13626 (fit-window-to-buffer): Respect window-min-height/-width
13629 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13631 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
13632 after an empty line.
13634 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
13636 * net/shr.el (shr-render-region): Autoload.
13638 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
13640 * net/eww.el (eww-download-directory): Rename from
13641 `eww-download-path' (Bug#16419).
13643 2014-01-12 Leo Liu <sdl.web@gmail.com>
13645 * dired-x.el (dired-mode-map): Fix last change.
13647 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
13649 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
13652 * emacs-lisp/generic.el (generic--normalize-comments):
13653 Rename from generic--normalise-comments. All uses changed.
13654 * play/bubbles.el (bubbles--neighborhood-score)
13655 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
13656 (bubbles--neighborhood-available)
13657 (bubbles--update-neighborhood-score):
13658 Rename from names with 'neighbourhood'. All uses changed.
13660 2014-01-12 Leo Liu <sdl.web@gmail.com>
13662 Re-implement the feature of showing eldoc info after editing.
13663 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
13664 (eldoc-edit-message-commands): New function.
13665 (eldoc-print-after-edit): New variable.
13666 (eldoc-pre-command-refresh-echo-area): Emit message only by
13667 eldoc-message-commands.
13668 (eldoc-mode): Restrict eldoc-message-commands to editing commands
13669 if eldoc-print-after-edit is set. (Bug#16346)
13670 * simple.el (read--expression): Enable eldoc-mode.
13671 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
13673 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
13674 Eric S. Raymond <esr@thyrsus.com>
13676 * version.el (emacs-repository-get-version): Enhance so the
13677 function works correctly in either a Bazaar or Git repo.
13679 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
13681 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
13682 Goes with removal of the joke manpages from /etc.
13684 2014-01-10 Kenichi Handa <handa@gnu.org>
13686 * mail/rmail.el (rmail-get-coding-system):
13687 Check rmail-get-coding-function before "funcall"ing it.
13689 2014-01-10 Glenn Morris <rgm@gnu.org>
13691 * emacs-lisp/authors.el (authors-fixed-entries):
13692 Update for files that no longer exist.
13694 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
13696 * version.el (emacs-bzr-get-version): Restore compatibilty with
13699 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
13701 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
13704 2014-01-10 Eli Zaretskii <eliz@gnu.org>
13706 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
13708 2014-01-10 Chong Yidong <cyd@gnu.org>
13710 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
13712 2014-01-10 Anders Lindgren <andlind@gmail.com>
13714 * follow.el (follow-cache-command-list): Include right-char and
13717 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
13720 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
13721 * woman.el (woman-mark-horizontal-position):
13722 Rename from woman-mark-horizonal-position. Use changed.
13724 2014-01-10 Glenn Morris <rgm@gnu.org>
13726 * info.el (info-initialize): If running uninstalled, ensure our
13727 own info files are always found first, even if INFOPATH is set.
13729 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
13731 2014-01-09 David Engster <deng@randomsample.de>
13733 * emacs-lisp/eieio-custom.el:
13734 * emacs-lisp/eieio-opt.el: Set generated autoload file to
13735 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
13736 * emacs-lisp/eieio.el: Regenerate autoloads.
13738 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
13740 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
13741 following renames. (Bug#8756)
13743 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
13745 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
13747 (activate-mark): Add `no-tmm' argument.
13748 (set-mark, push-mark-command): Use it instead of running
13749 activate-mark-hook by hand.
13751 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
13753 In preparation for the move to git, sanitize out some
13754 Bazaar-specific names.
13756 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
13758 * version.el (emacs-bzr-version): Name changed to
13759 emacs-repository-version. Obsolete-variable alias made.
13760 * loadup.el: Follow through on this name change.
13761 * mail/emacsbug.el (report-emacs-bug): Factor out any
13762 assumption about the version control system in use.
13764 2014-01-08 David Engster <deng@randomsample.de>
13766 * help-fns.el (help-fns-describe-function-functions):
13767 New variable to call functions for augmenting help buffers.
13768 (describe-function-1): Remove explicit calls to
13769 `help-fns--compiler-macro', `help-fns--parent-mode' and
13770 `help-fns--obsolete'. Put them in above new variable instead, and
13771 call them through `run-hook-with-args'.
13772 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
13773 `eieio-describe-class'. Not meant for interactive use anymore,
13774 but to augment existing help buffers. Remove optional second
13775 argument. Create proper button for file location.
13776 Rewrite function to use `insert' instead of `princ' and `prin1' where
13778 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
13779 (eieio-method-def, eieio-class-def): Move further up.
13780 (describe-method, describe-generic, eieio-describe-method):
13782 (eieio-help-constructor, eieio-help-generic): Rename from
13783 `eieio-describe-constructor' and `eieio-describe-generic', resp.
13784 Rewrite to use `insert' in the current buffer and use proper help
13786 (eieio-help-find-method-definition)
13787 (eieio-help-find-class-definition): Also accept symbols as
13789 (eieio-help-mode-augmentation-maybee): Remove.
13790 (eieio-describe-class-sb): Use `describe-function'.
13791 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
13792 Add `eieio-help-generic' and `eieio-help-constructor'.
13794 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
13797 * language/china-util.el (hz-ascii-designation):
13798 Rename from hz-ascii-designnation.
13799 (hz-ascii-designation): Rename from hz-ascii-designnation.
13802 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
13804 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
13807 2014-01-08 Bastien Guerry <bzg@gnu.org>
13809 * emacs-lisp/package.el (package-delete):
13810 Correctly delete the package from package-alist.
13812 2014-01-08 Daiki Ueno <ueno@gnu.org>
13814 * emacs-lisp/package.el (url-recreate-url): Declare.
13815 (url-http-target-url): Declare.
13816 (package-handle-response): Include requested URL in the error message.
13817 (package--check-signature): Don't re-signal errors from
13818 package--with-work-buffer. Suggested by Stefan Monnier.
13820 2014-01-07 Bastien Guerry <bzg@gnu.org>
13822 * minibuffer.el (completion--try-word-completion): When both a
13823 hyphen and a space are possible candidates for the character
13824 following a word, display both candidates. (Bug#15980)
13826 2014-01-07 Martin Rudalics <rudalics@gmx.at>
13828 * window.el (balance-windows-2): While rounding don't give a
13829 window more than the remainder. Bug#16351, bug#16383.
13831 2014-01-07 Glenn Morris <rgm@gnu.org>
13833 * menu-bar.el (menu-bar-help-extra-packages): Remove.
13834 (menu-bar-help-menu): Use view-external-packages instead.
13836 2014-01-07 Bastien Guerry <bzg@gnu.org>
13838 * emacs-lisp/package.el (package-delete): Also delete the package
13839 name from `package-alist', not its description only.
13841 2014-01-07 Glenn Morris <rgm@gnu.org>
13843 * help.el (view-external-packages):
13844 * menu-bar.el (menu-bar-help-extra-packages):
13845 Visit efaq.info rather than etc/MORE.STUFF.
13847 2014-01-07 Juri Linkov <juri@jurta.org>
13849 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
13850 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
13852 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
13853 that shadows RET. (Bug#16342)
13855 2014-01-07 Chong Yidong <cyd@gnu.org>
13857 * isearch.el (isearch-yank-char, isearch-yank-word)
13858 (isearch-yank-line): Doc fix.
13860 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
13862 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
13863 * emacs-lisp/elint.el (elint-find-builtins):
13864 * emacs-lisp/eldoc.el (eldoc-symbol-function):
13865 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
13866 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
13867 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
13868 * apropos.el (apropos-safe-documentation):
13869 * subr.el (symbol-file): Remove redundant fboundp.
13870 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
13872 2014-01-06 Bastien Guerry <bzg@gnu.org>
13874 * hl-line.el (global-hl-line-overlay): Make a local variable.
13875 (global-hl-line-overlays): New variable to store all overlays.
13876 (global-hl-line-mode): Don't delete overlays from the current
13877 buffer when `global-hl-line-sticky-flag' is non-nil.
13878 (global-hl-line-highlight): Add new overlays to
13879 `global-hl-line-overlays'.
13880 (global-hl-line-unhighlight-all): New function to delete all
13881 overlays when turning off `global-hl-line-mode'.
13882 This fixes Bug#16183.
13884 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
13886 * subr.el (set-transient-map): Fix nested case and docstring.
13888 2014-01-06 Tassilo Horn <tsdh@gnu.org>
13890 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
13893 2014-01-06 Daniel Colascione <dancol@dancol.org>
13895 Fix defun navigation in vc log view.
13897 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
13898 like `beginning-of-defun'.
13899 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
13900 log-view-end-of-defun to log-view-end-of-defun-1. Replace
13901 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
13902 (log-view-extract-comment): Call `log-view-current-entry' directly
13903 instead of relying on broken `log-view-beginning-of-defun' behavior.
13905 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
13908 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
13909 * emacs-lisp/debug.el (cancel-debug-on-entry):
13910 * epg.el (epg-error-to-string):
13911 * files.el (recover-file):
13912 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
13913 * mail/emacsbug.el (report-emacs-bug-hook):
13914 * mail/sendmail.el (mail-recover):
13915 * ses.el (ses-yank-resize):
13916 * term/ns-win.el (ns-print-buffer):
13917 Spelling fixes in diagnostics, mostly for "canceled" with one L.
13918 * epg.el (epg-key-capability-alist): Rename from misspelled version.
13920 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
13922 2014-01-06 Leo Liu <sdl.web@gmail.com>
13924 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
13925 to avoid shadowing global key. (Bug#16354)
13927 2014-01-06 Daniel Colascione <dancol@dancol.org>
13929 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
13932 2014-01-05 Martin Rudalics <rudalics@gmx.at>
13934 * window.el (balance-windows): Add mising t to fix Bug#16351.
13936 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
13938 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
13940 (shr-insert): If we have a word that's longer than `shr-width',
13941 break after it anyway. Otherwise we'll do no breaking once we get
13944 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
13946 * net/eww.el (eww): Support single/double quote for search.
13947 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
13948 (eww-history-quit): Delete and use quit-window.
13949 (eww-history-kill): Delete, because it doesn't work well and
13951 (eww-history-mode-map): Delete some keys and add easy-menu.
13953 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
13955 Fix misspelling of 'chinese' in rx (Bug#16237).
13956 * emacs-lisp/rx.el (rx-categories): Correct spelling of
13959 Change subword regexps back to vars (Bug#16296).
13960 * progmodes/subword.el (subword-forward-regexp)
13961 (subword-backward-regexp): Change these back to variables.
13963 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
13965 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
13966 syntax-begin-function (bug#16247).
13968 2014-01-03 Chong Yidong <cyd@gnu.org>
13970 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
13971 (advice--docstring): Delete variable.
13972 (advice--make-1): Leave the docstring empty.
13973 (advice-add): Use function-documentation for advised docstring.
13975 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
13976 Ignore function-documentation property when getting documentation.
13977 (ad-activate-advised-definition): Use function-documentation
13978 generate the docstring.
13979 (ad-make-advised-definition): Don't call
13980 ad-make-advised-definition-docstring.
13981 (ad-make-advised-definition-docstring, ad-advised-definition-p):
13984 * progmodes/sql.el (sql-help): Use function-documentation instead
13985 of dynamic-docstring-function property. No need to autoload now.
13986 (sql--help-docstring): New variable.
13987 (sql--make-help-docstring): Use it.
13989 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
13991 * ielm.el (ielm-tab): Retarget.
13992 (ielm-map): Use ielm-tab for tab.
13993 (ielm-complete-filename): Use comint-filename-completion.
13994 (ielm-complete-symbol): Remove.
13995 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
13996 remove ielm-tab from completion-at-point-functions (bug#16224).
13998 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
13999 Beware signals raised by predicates (bug#16201).
14001 2014-01-02 Richard Stallman <rms@gnu.org>
14003 * dired-aux.el (dired-do-print): Handle printer-name.
14005 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
14006 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
14007 (rmail-epa-decrypt): Turn off mime processing.
14009 * mail/rmail.el (rmail-make-in-reply-to-field):
14010 Add parens in message-id.
14012 * mail/rmail.el (rmail-get-coding-function): Variable.
14013 (rmail-get-coding-system): Use it.
14015 2013-12-31 Eli Zaretskii <eliz@gnu.org>
14017 * international/mule-conf.el: Unify the charset indian-is13194.
14018 (indian-is13194): Specify unify-map.
14020 2013-12-31 Leo Liu <sdl.web@gmail.com>
14022 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
14024 2013-12-30 Daniel Colascione <dancol@dancol.org>
14026 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
14027 of printing a useless when we resume from sleep.
14029 * progmodes/sh-script.el
14030 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
14031 in indentation code. (Bug#16233)
14033 2013-12-28 João Távora <joaotavora@gmail.com>
14035 * elec-pair.el (electric-pair-post-self-insert-function):
14036 Don't open extra newlines at beginning of buffer. (Bug#16272)
14038 2013-12-28 Eli Zaretskii <eliz@gnu.org>
14040 * frame.el (window-system-for-display): Don't allow to create a
14041 GUI frame from a -nw session on MS-Windows. (Bug#14739)
14043 2013-12-28 Glenn Morris <rgm@gnu.org>
14045 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
14048 * apropos.el (apropos-match-face):
14049 * calculator.el (calculator-displayer):
14050 * dabbrev.el (dabbrev-search-these-buffers-only):
14051 * face-remap.el (buffer-face-mode-face):
14052 * simple.el (yank-handled-properties):
14053 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
14054 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
14055 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
14056 (hashcash-double-spend-database):
14057 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
14058 (ruby-deep-indent-paren-style):
14059 * textmodes/flyspell.el (flyspell-auto-correct-binding):
14060 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
14061 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
14062 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
14063 Specify custom types.
14065 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
14066 * bookmark.el (bookmark-bmenu-use-header-line):
14067 * doc-view.el (doc-view-scale-internally):
14068 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
14069 * register.el (register-preview-delay):
14070 * net/shr.el (shr-bullet):
14071 * progmodes/cfengine.el (cfengine-cf-promises)
14072 (cfengine-parameters-indent):
14073 * progmodes/octave.el (inferior-octave-error-regexp-alist):
14074 * textmodes/reftex-vars.el (reftex-label-regexps):
14075 * vc/log-edit.el (log-edit-setup-add-author): Add version.
14077 * net/tls.el (tls-certtool-program): Fix default value.
14079 * desktop.el (desktop-restore-in-current-display):
14080 * newcomment.el (comment-empty-lines):
14081 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
14082 (idlwave-pad-keyword):
14083 * progmodes/tcl.el (tcl-tab-always-indent):
14084 * textmodes/reftex-vars.el (reftex-index-default-tag):
14085 * elec-pair.el (electric-pair-skip-whitespace):
14086 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
14088 * emacs-lisp/authors.el (authors-ignored-files)
14089 (authors-valid-file-names, authors-renamed-files-alist): Additions.
14091 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
14093 * shell.el (shell-dynamic-complete-command): Doc fix.
14094 (shell--command-completion-data): Shell completion now matches
14095 executable filenames from the current buffer's directory, on
14096 systems in which this behavior is the default (windows-nt, ms-dos).
14098 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14100 * net/shr.el (shr-insert): Don't infloop if the width is zero.
14102 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
14104 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
14107 * electric.el: Move all electric-pair-* to elec-pair.el.
14108 * elec-pair.el: New file, split from electric.el.
14110 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14112 * net/shr.el (shr-find-fill-point): Don't try to fill if the
14113 indentation level is larger than the width, because that will
14115 (shr-insert): Fill repeatedly long texts, so that Japanese is
14116 formatted correctly (bug#16263).
14117 (shr-find-fill-point): Off by one error in comparison with the
14120 2013-12-26 João Távora <joaotavora@gmail.com>
14122 * electric.el (electric-pair-mode): More flexible engine for skip-
14123 and inhibit predicates, new options for pairing-related functionality.
14124 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
14125 if that keeps or improves their balance in buffers.
14126 (electric-pair-delete-adjacent-pairs): Delete the pair when
14127 backspacing over adjacent matched delimiters.
14128 (electric-pair-open-extra-newline): Open extra newline when
14129 inserting newlines between adjacent matched delimiters.
14130 (electric--sort-post-self-insertion-hook):
14131 Sort post-self-insert-hook according to priority values when
14132 minor-modes are activated.
14133 * simple.el (newline-and-indent): Call newline with interactive
14135 (blink-paren-post-self-insert-function): Set priority to 100.
14136 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14137 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
14138 comments. Locally set electric-pair-skip-whitespace to 'chomp and
14139 electric-pair-open-newline-between-pairs to nil.
14141 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
14143 * progmodes/python.el: Use lexical-binding.
14144 (python-nav-beginning-of-defun): Stop searching ASAP.
14146 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
14148 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
14149 Fix interactive spec. Doc fix. (Bug#15754)
14151 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
14153 * emacs-lisp/byte-run.el (eval-when-compile):
14154 * progmodes/cc-defs.el (cc-eval-when-compile):
14155 Fix edebug spec (bug#16184).
14157 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
14159 * net/shr.el (shr-visit-file): Remove debugging function.
14160 (shr-insert): Don't infloop if we can't find a good place to break
14161 the line (bug#16256).
14163 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
14165 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
14166 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
14167 python-nav-lisp-forward-sexp-safe.
14168 (python-nav--forward-sexp): New argument SAFE allows switching
14169 forward sexp movement behavior for parens.
14170 (python-nav-forward-sexp): Throw errors on unterminated parens
14172 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
14173 (python-nav-backward-sexp-safe): New functions.
14174 (python-shell-buffer-substring):
14175 Use `python-nav-forward-sexp-safe'.
14177 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
14179 * net/shr.el (shr-find-fill-point): Don't break lines before a
14181 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
14182 (shr-find-fill-point): Remove the special checks for the quotation
14183 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
14185 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14187 * net/eww.el (eww-form-textarea): Use a different face for
14188 textareas than text input since they have different keymaps
14191 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
14193 * progmodes/python.el (python-nav-beginning-of-statement):
14194 Speed up (Bug#15295).
14196 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
14198 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
14199 the window configuration.
14201 2013-12-24 Eli Zaretskii <eliz@gnu.org>
14203 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
14204 we run on MS-Windows or MS-DOS.
14206 2013-12-24 Martin Rudalics <rudalics@gmx.at>
14208 * window.el (balance-windows-area): Call window-size instead of
14209 window-height and window-width. Bug#16241.
14211 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
14213 * net/eww.el (eww-bookmark-quit): Remove.
14214 (eww-bookmark-browse): Restore the window configuration when you
14215 choose a bookmark (bug#16144).
14217 2013-12-24 Daniel Colascione <dancol@dancol.org>
14219 * icomplete.el: Remove redundant :group arguments to `defcustom'
14221 (icomplete-show-matches-on-no-input): New customizable variable.
14222 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
14223 we have something to show.
14224 (icomplete-exhibit): Compute completions even if we have no user input.
14226 2013-12-23 Daniel Colascione <dancol@dancol.org>
14228 * icomplete.el: Move `provide' to end of file.
14230 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
14232 * net/gnutls.el (gnutls-verify-error): Add version tag.
14234 2013-12-23 Chong Yidong <cyd@gnu.org>
14236 * subr.el (set-transient-map): Rename from
14237 set-temporary-overlay-map. Doc fix.
14239 * face-remap.el (text-scale-adjust):
14240 * indent.el (indent-rigidly):
14241 * kmacro.el (kmacro-call-macro):
14242 * minibuffer.el (minibuffer-force-complete):
14243 * repeat.el (repeat):
14244 * simple.el (universal-argument--mode):
14245 * calendar/todo-mode.el (todo-insert-item--next-param):
14246 * progmodes/f90.el (f90-abbrev-start): Callers changed.
14248 * indent.el (indent-rigidly): Use substitute-command-keys.
14250 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14252 * net/eww.el (eww-tag-select): Add text-property to jump to next
14254 (eww): Add non-supported ftp error.
14256 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14258 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
14259 comments. Handle electric indent after typing `?' and `!'.
14261 2013-12-22 Chong Yidong <cyd@gnu.org>
14263 * faces.el (face-spec-recalc): If the theme specs are not
14264 applicable to a frame, fall back on the defface spec.
14265 This prevents themes from obliterating faces on low-color terminals.
14267 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14269 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
14270 after `{'. We need it after block openers, and it doesn't seem
14271 to hurt after hash openers.
14273 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14275 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
14276 extracted from `ruby-smie-rules'.
14277 (ruby--electric-indent-chars): New variable.
14278 (ruby--electric-indent-p): New function.
14279 (ruby-mode): Use `electric-indent-functions' instead of
14280 `electric-indent-chars'.
14282 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14284 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
14286 (ruby-smie-rules): Indent plus one level after `=>'.
14288 2013-12-21 Richard Stallman <rms@gnu.org>
14290 * simple.el (newline): Doc fix.
14292 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14294 * net/eww.el (eww-list-histories, eww-list-histories)
14295 (eww-history-browse, eww-history-quit, eww-history-kill)
14296 (eww-history-mode-map, eww-history-mode): New command and
14297 functions to list browser histories.
14298 (eww-form-text): Support text form with disabled
14299 and readonly attributes.
14300 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
14302 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14304 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
14305 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
14306 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
14307 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
14309 (eww-bookmark-mode-map): Add menu.
14310 (eww-render, eww-mode): Use `setq-local'.
14311 (eww-tool-bar-map): New variable.
14312 (eww-mode): Set `tool-bar-map'.
14313 (eww-view-source): Check for `html-mode' with `fboundp'.
14315 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14317 * net/shr.el (shr--extract-best-source): Don't bug out on audio
14318 elements with text inside. Also remove debugging.
14320 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
14322 * cus-start.el (all): Add ns-use-srgb-colorspace.
14324 2013-12-21 Chong Yidong <cyd@gnu.org>
14326 * custom.el (custom-theme-recalc-face): Do nothing if the face is
14327 undefined. Thus, theme settings for undefined faces do not take
14328 effect until the faces are defined with defface, the same as with
14331 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
14332 (face-spec-reset-face): Don't assign extra properties in temacs.
14333 (face-spec-recalc): Apply X resources too.
14335 2013-12-21 Chong Yidong <cyd@gnu.org>
14337 * faces.el (face-spec-set):
14338 * cus-face.el (custom-theme-set-faces, custom-set-faces):
14339 * custom.el (defface): Doc fixes (Bug#16203).
14341 * indent.el (indent-rigidly-map): Add docstring, and move commands
14342 into named functions.
14343 (indent-rigidly-left, indent-rigidly-right)
14344 (indent-rigidly-left-to-tab-stop)
14345 (indent-rigidly-right-to-tab-stop): New functions. Decide on
14346 indentation direction based on bidi direction, and accumulate
14347 sequential commands in a single undo boundary.
14348 (indent-rigidly--pop-undo): New utility function.
14350 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
14352 * faces.el (read-face-name): Require crm.el when using crm-separator.
14354 2013-12-20 Daniel Colascione <dancol@dancol.org>
14356 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
14357 so that we don't reflow comments into the shebang line.
14359 2013-12-20 Juri Linkov <juri@jurta.org>
14361 * saveplace.el (save-place-to-alist): Add `dired-filename' as
14362 a position when `dired-directory' is non-nil. Check integer
14363 positions with `integerp'.
14364 (toggle-save-place, save-places-to-alist): Add check for
14366 (save-place-find-file-hook): Check integer positions with
14368 (save-place-dired-hook): Use `dired-goto-file' when
14369 `dired-filename' is found in the assoc list. Check integer
14370 positions with `integerp'.
14371 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
14373 * dired.el (dired-initial-position-hook): Rename back from
14374 `dired-initial-point-hook'.
14375 (dired-initial-position): Rename `dired-initial-point-hook' to
14376 `dired-initial-position-hook'.
14377 (dired-file-name-at-point): Doc fix. (Bug#15329)
14379 2013-12-20 Juri Linkov <juri@jurta.org>
14381 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
14382 (read-regexp-suggestions): New function.
14383 (read-regexp): Use `read-regexp-defaults-function' to get default values.
14384 Use `read-regexp-suggestions'. Add non-empty default to history
14386 (occur-read-regexp-defaults-function): Remove function.
14387 (occur-read-primary-args): Use `regexp-history-last' instead of
14388 `occur-read-regexp-defaults-function'.
14390 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
14391 (hi-lock-line-face-buffer, hi-lock-face-buffer)
14392 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
14393 `hi-lock-read-regexp-defaults-function'. Doc fix.
14394 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
14395 with `find-tag-default-as-symbol-regexp'. Doc fix.
14396 (hi-lock-read-regexp-defaults): Remove function.
14397 (hi-lock-regexp-okay): Add check for null.
14399 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
14400 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
14402 * subr.el (find-tag-default-as-symbol-regexp): New function.
14403 (find-tag-default-as-regexp): Move symbol regexp formatting to
14404 `find-tag-default-as-symbol-regexp'.
14406 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
14408 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
14411 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14413 * calendar/todo-mode.el: New implementation of item insertion
14414 commands and key bindings.
14415 (todo-key-prompt): New face.
14416 (todo-insert-item): New command.
14417 (todo-insert-item--parameters): New defconst, replacing defvar
14418 todo-insertion-commands-args-genlist.
14419 (todo-insert-item--param-key-alist): New defconst, replacing
14420 defvar todo-insertion-commands-arg-key-list.
14421 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
14422 (todo-insert-item--argsleft, todo-insert-item--apply-args)
14423 (todo-insert-item--next-param): New functions.
14424 (todo-insert-item--args, todo-insert-item--argleft)
14425 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
14427 (todo-key-bindings-t): Change binding of "i" from
14428 todo-insertion-map to todo-insert-item.
14429 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
14430 (todo-insertion-command-name, todo-insertion-commands-names)
14431 (todo-define-insertion-command, todo-insertion-commands)
14432 (todo-insertion-key-bindings, todo-insertion-map): Remove.
14434 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14436 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
14437 (todo-toggle-item-highlighting): Use eval-and-compile instead of
14439 (todo-move-category): Allow choosing a non-existing todo file to
14440 move the category to, and create that file.
14441 (todo-default-priority): New user option.
14442 (todo-set-item-priority): Use it.
14443 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
14444 (desktop-restore-file-buffer): Declare.
14445 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
14446 (todo-modes-set-2): Locally set desktop-save-buffer to
14447 todo-desktop-save-buffer.
14448 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
14449 (auto-mode-alist): Add autoload cookie.
14451 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
14453 * emacs-lisp/subr-x.el: Renamed from helpers.el.
14454 helpers.el was a poor choice of name.
14455 (string-remove-prefix): New function.
14456 (string-remove-suffix): New function.
14458 2013-12-20 Martin Rudalics <rudalics@gmx.at>
14460 Fix assignment for new window total sizes.
14461 * window.el (window--pixel-to-size): Remove function.
14462 (window--pixel-to-total-1, window--pixel-to-total):
14463 Fix calculation of new total sizes.
14465 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
14467 * comint.el (comint-output-filter): Fix rear-nonsticky property
14468 placement (Bug#16010).
14470 2013-12-20 Chong Yidong <cyd@gnu.org>
14472 * faces.el (read-color): Minor fix for completion function.
14474 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
14476 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
14477 New option. (Bug#16182)
14478 (ruby-smie--indent-to-stmt-p): Use it.
14479 (ruby-smie-rules): Revert the logic in the handling of `when'.
14480 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
14481 (ruby-deep-arglist, ruby-deep-indent-paren)
14482 (ruby-deep-indent-paren-style): Update docstrings to note that the
14483 vars don't have any effect with SMIE.
14485 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
14487 * calc/calc.el (calc-enter, calc-pop): Use the variable
14488 `calc-context-sensitive-enter'.
14490 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14492 * net/shr.el (shr-insert): Protect against infloops in degenerate
14495 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14497 * progmodes/octave.el (octave): Add link to manual and octave
14499 (octave-mode-menu): Link to octave-mode manual.
14501 2013-12-20 Leo Liu <sdl.web@gmail.com>
14503 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
14504 insertion using skeleton-end-newline. (Bug#16138)
14506 2013-12-20 Juri Linkov <juri@jurta.org>
14508 * replace.el (occur-engine): Use `add-face-text-property'
14509 to add the face property to matches and titles. (Bug#14645)
14511 * hi-lock.el (hi-green): Use lighter color "light green" closer to
14512 the palette of other hi-lock colors.
14513 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
14515 2013-12-19 Juri Linkov <juri@jurta.org>
14517 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
14518 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
14519 (minibuffer-history-symbol): Move variable declaration closer to
14522 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
14525 2013-12-19 Juri Linkov <juri@jurta.org>
14527 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
14529 (log-edit-hook): Add it to :options. (Bug#16170)
14531 2013-12-19 Juri Linkov <juri@jurta.org>
14533 * simple.el (eval-expression-print-format): Don't check for
14534 command names and the last command. Always display additional
14535 formats of the integer result in the echo area, and insert them
14536 to the current buffer only with a zero prefix arg.
14537 Display character when char-displayable-p is non-nil.
14538 (eval-expression): With a zero prefix arg, set `print-length' and
14539 `print-level' to nil, and insert the integer values from
14540 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
14542 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
14543 `eval-last-sexp-arg-internal'. Doc fix.
14544 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
14545 `eval-last-sexp-print-value'. Doc fix.
14546 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
14547 Set `print-length' and `print-level' to nil when arg is zero.
14548 (eval-last-sexp): Doc fix.
14549 (eval-defun-2): Print the integer values from
14550 `eval-expression-print-format' at the end.
14552 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
14553 values from `eval-expression-print-format' at the end.
14555 * ielm.el (ielm-eval-input): Print the integer
14556 values from `eval-expression-print-format' at the end.
14558 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
14560 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
14561 2013-12-11T19:01:44Z!tzz@lifelogs.com.
14563 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
14565 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
14566 (hl-line-highlight, global-hl-line-highlight): Use it.
14567 (hl-line-overlay): Use defvar-local.
14569 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
14571 * term/ns-win.el: Require dnd.
14572 (global-map): Remove drag items.
14573 (ns-insert-text, ns-set-foreground-at-mouse)
14574 (ns-set-background-at-mouse):
14575 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
14576 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
14579 2013-12-19 Glenn Morris <rgm@gnu.org>
14581 * emacs-lisp/ert.el (ert-select-tests):
14582 Fix string/symbol mixup. (Bug#16121)
14584 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14586 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
14587 keywords to their parent.
14589 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14591 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
14592 first arg to be a string (fixed dead code), or an operator symbol.
14593 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
14595 (ruby-smie-rules): Remove parent token check in the `.' clause, it
14596 did nothing. Don't respond to `(:after ".")', it will be called
14597 with :before anyway. Remove the ` @ ' rule, it didn't seem to
14598 change anything. Only return indentation for binary operators
14599 when they are hanging. De-dent opening paren when its parent is
14600 `.', otherwise it looks bad when the dot is not at bol or eol
14603 2013-12-19 Juri Linkov <juri@jurta.org>
14605 * replace.el (query-replace-read-args): Split a non-negative arg
14606 and a negative arg into separate elements.
14607 (query-replace, query-replace-regexp, replace-string)
14608 (replace-regexp): Add arg `backward'. Doc fix.
14609 (replace-match-maybe-edit): When new arg `backward' is non-nil,
14610 move point to the beginning of the match.
14611 (replace-search, replace-highlight): Use new arg `backward'
14612 to set the value of `isearch-forward'.
14613 (perform-replace): Add arg `backward' and use it to perform
14614 replacement backward. (Bug#14979)
14616 * isearch.el (isearch-query-replace): Use a negative prefix arg
14617 to call `perform-replace' with a non-nil arg `backward'.
14619 2013-12-18 Juri Linkov <juri@jurta.org>
14621 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
14622 to the default list. Move `log-edit-show-files' to the end.
14623 Add more available functions to options.
14624 (log-edit): Move default specific settings to
14625 `log-edit-insert-message-template'. Don't move point.
14626 (log-edit-insert-message-template): New function.
14627 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
14630 2013-12-18 Juri Linkov <juri@jurta.org>
14632 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
14633 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
14635 2013-12-18 Leo Liu <sdl.web@gmail.com>
14637 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
14640 2013-12-18 Eli Zaretskii <eliz@gnu.org>
14642 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
14643 formats for displaying file sizes when the -s switch is given.
14644 Instead, compute a separate format for displaying the size in
14645 blocks, which is displayed in addition to the "regular" size.
14646 When -h is given in addition to -s, produce size in blocks in
14647 human-readable form as well. (Bug#16179)
14649 2013-12-18 Tassilo Horn <tsdh@gnu.org>
14651 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
14652 Reference tables with ~\ref{...} instead of only \ref{...}.
14654 2013-12-18 Chong Yidong <cyd@gnu.org>
14656 * cus-edit.el (custom-magic-alist): Fix "themed" description
14659 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
14660 is non-nil, do not create a new entry in the symbol's theme-value
14661 or theme-face property; update theme-settings only (Bug#14664).
14662 (custom-available-themes): Doc fix.
14664 * cus-theme.el (custom-new-theme-mode-map): Add bindings
14667 * replace.el (occur-engine): Avoid infloop (Bug#7593).
14669 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
14671 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
14674 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14676 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
14678 2013-12-18 Glenn Morris <rgm@gnu.org>
14680 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
14681 * cus-start.el (load-prefer-newer): New option.
14683 2013-12-18 Le Wang <l26wang@gmail.com>
14685 * comint.el (comint-previous-matching-input-from-input):
14686 Retain point (Bug#13404).
14688 2013-12-18 Chong Yidong <cyd@gnu.org>
14690 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
14692 2013-12-18 Glenn Morris <rgm@gnu.org>
14694 * mail/emacsbug.el (report-emacs-bug):
14695 Only mention enable-multibyte-characters if non-standard.
14697 2013-12-17 Juri Linkov <juri@jurta.org>
14699 * arc-mode.el (archive-extract-by-file): Check if directory exists
14700 before deletion to not show irrelevant errors if it doesn't exist.
14702 2013-12-17 Juri Linkov <juri@jurta.org>
14704 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
14707 * net/eww.el (browse-web): Add alias to `eww'.
14708 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
14709 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
14711 * net/browse-url.el (browse-url-browser-function): Move `eww'
14712 closer to similar functions.
14714 * startup.el (fancy-startup-screen, fancy-about-screen):
14715 Set browse-url-browser-function to eww-browse-url locally.
14718 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14720 * window.el (window--pixel-to-total): Remove unused `mini' var.
14721 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
14722 (split-window): Remove unused `new' var.
14723 (window--display-buffer): Remove unused `frame' and `delta' vars.
14724 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
14725 and display-width'.
14727 2013-12-17 Martin Rudalics <rudalics@gmx.at>
14729 * dired.el (dired-mark-pop-up):
14730 * register.el (register-preview): Don't bind
14731 split-height-threshold here since it's now done in
14732 display-buffer-below-selected.
14734 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
14736 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
14737 xterm-rgb-convert-to-16bit.
14738 (rxvt-register-default-colors): Standardize with
14739 xterm-register-default-colors (Bug#14078).
14741 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
14743 * simple.el (kill-region): Pass mark first, then point, so that
14744 kill-append works right (Bug#12819).
14745 (copy-region-as-kill, kill-ring-save): Likewise.
14747 2013-12-17 Leo Liu <sdl.web@gmail.com>
14749 * net/rcirc.el (rcirc-add-face):
14750 * eshell/em-prompt.el (eshell-emit-prompt):
14751 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
14754 2013-12-17 Chong Yidong <cyd@gnu.org>
14756 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
14757 Suggested by Xue Fuqiao.
14759 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14761 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
14763 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
14765 * net/shr.el (shr-insert-document): Remove unused var
14766 `shr-preliminary-table-render'.
14767 (shr-rescale-image): Remove unused arg `force'.
14768 (shr-put-image): Update calls accordingly.
14769 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
14771 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
14773 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
14774 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
14775 :close-all, to see which indentation method to use (Bug#16116).
14776 (smie-rules-function): Document the method :close-all.
14778 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14780 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
14782 * net/eww.el (eww-display-html): If we can't find the anchor we're
14783 looking for, then go to point-min.
14785 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
14787 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
14788 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
14789 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
14790 Expand dir too, in case it's relative.
14792 2013-12-16 Juri Linkov <juri@jurta.org>
14794 * desktop.el (desktop-auto-save-timeout): Change default to
14795 `auto-save-timeout'. Doc fix.
14796 (desktop-save): Skip the timestamp in desktop-saved-frameset
14797 when checking for auto-save changes.
14798 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
14799 `desktop-auto-save' is called repeatedly by the idle timer.
14800 (desktop-auto-save-set-timer): Replace `run-with-timer' with
14801 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
14804 2013-12-16 Juri Linkov <juri@jurta.org>
14806 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
14808 (isearch-pre-command-hook): Check `this-command' for symbolp.
14810 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
14812 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
14814 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
14816 * progmodes/cfengine.el (cfengine3--current-word): Remove.
14817 (cfengine3--current-function): Bring in the current-function
14818 functionality from `cfengine3--current-word'.
14819 (cfengine3-completion-function): Bring in the
14820 bounds-of-current-word functionality from
14821 `cfengine3--current-word'.
14823 2013-12-16 Martin Rudalics <rudalics@gmx.at>
14825 * window.el (display-buffer-below-selected):
14826 Bind split-height-threshold to 0 as suggested by Juri Linkov.
14828 2013-12-16 Leo Liu <sdl.web@gmail.com>
14830 * progmodes/compile.el (compile-goto-error): Do not push-mark.
14831 Remove NOMSG arg and all uses changed.
14833 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
14835 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
14836 (cua--deactivate-rectangle): Don't deactivate the mark.
14837 (cua-set-rectangle-mark): Don't set mark-active since
14838 cua--activate-rectangle already does it for us.
14839 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
14840 non-rectangular region.
14842 * emulation/cua-base.el (cua-repeat-replace-region):
14843 Use with-current-buffer.
14845 * net/gnutls.el: Use cl-lib.
14846 (gnutls-negotiate): `mapcan' -> cl-mapcan.
14848 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
14850 * emacs-lisp/package.el (package-built-in-p): Support both
14851 built-in and the package.el converted package descriptions.
14852 (package-show-package-list): Allow keywords.
14853 (package-keyword-button-action): Use it instead of
14854 `finder-list-matches'.
14855 (package-menu-filter-interactive): Interactive filtering (by
14857 (package-menu--generate): Support keywords and change keymappings
14858 and headers when they are given.
14859 (package--has-keyword-p): Helper function.
14860 (package-menu--refresh): Use it.
14861 (package--mapc): Helper function.
14862 (package-all-keywords): Use it.
14863 (package-menu-mode-map): Set up menu items and keybindings to
14864 provide a filtering UI.
14866 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
14868 * net/gnutls.el (gnutls-verify-error): New defcustom to control
14869 the behavior when a certificate fails validation. Defaults to
14870 old behavior: never abort, just warn.
14871 (gnutls-negotiate): Use it.
14873 2013-12-14 Martin Rudalics <rudalics@gmx.at>
14875 * window.el (display-buffer-below-selected): Never split window
14876 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
14878 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
14880 * emacs-lisp/package.el (package--prepare-dependencies): New function.
14881 (package-buffer-info): Use it (bug#15108).
14883 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
14885 * icomplete.el (icomplete-completions): Make sure the prefix is already
14886 displayed elsewhere before hiding it (bug#16219).
14888 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
14890 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
14891 open-paren tokens when preceded by a open-paren, too.
14892 (ruby-smie-rules): Handle virtual indentation after open-paren
14893 tokens specially. If there is code between it and eol, return the
14894 column where is starts (Bug#16118).
14896 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
14898 * progmodes/cfengine.el: Fix `add-hook' doc.
14899 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
14900 (cfengine3--current-word): Fix parameters.
14901 (cfengine3-make-syntax-cache): Simplify further.
14902 (cfengine3-completion-function, cfengine3--current-function):
14903 Use `assq' for symbols.
14904 (cfengine3--current-function): Fix `cfengine3--current-word' call.
14906 2013-12-13 Glenn Morris <rgm@gnu.org>
14908 * loadup.el (load-path): Warn if site-load or site-init changes it.
14909 No more need to reset it when bootstrapping.
14911 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
14913 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
14914 locations for cf-promises.
14915 (cfengine-mode-syntax-functions-regex): New caching variable.
14916 (cfengine3-fallback-syntax): Fallback syntax for cases where
14917 cf-promises doesn't run.
14918 (cfengine3--current-word): Reimplement using
14919 `cfengine-mode-syntax-functions-regex'.
14920 (cfengine3-completion-function, cfengine3--current-function):
14921 Use `cfengine3-make-syntax-cache' directly.
14922 (cfengine3-clear-syntax-cache): New function.
14923 (cfengine3-make-syntax-cache): Simplify and create
14924 `cfengine-mode-syntax-functions-regex' on demand.
14925 (cfengine3-format-function-docstring): Don't call
14926 `cfengine3-make-syntax-cache' explicitly.
14928 2013-12-13 Martin Rudalics <rudalics@gmx.at>
14930 Fix windmove-find-other-window broken after pixelwise resizing
14932 * windmove.el (windmove-other-window-loc): Revert change from
14934 (windmove-find-other-window): Call window-in-direction.
14935 * window.el (window-in-direction): New arguments SIGN, WRAP and
14936 MINI to emulate original windmove-find-other-window behavior.
14938 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
14940 * simple.el (blink-matching--overlay): New variable.
14941 (blink-matching-open): Instead of moving point, highlight the
14942 matching paren with an overlay
14943 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
14945 * faces.el (paren-showing-faces, show-paren-match)
14946 (show-paren-mismatch): Move from paren.el.
14948 2013-12-13 Leo Liu <sdl.web@gmail.com>
14950 * indent.el (indent-region): Disable progress reporter in
14951 minibuffer. (Bug#16108)
14953 * bindings.el (visual-order-cursor-movement): Fix version.
14955 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
14957 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
14958 Also match after beginning of line.
14959 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
14960 files. Thanks to Russell Sim. (Bug#15378)
14962 2013-12-13 Juri Linkov <juri@jurta.org>
14964 * simple.el <Keypad support>: Remove key bindings duplicated
14965 with bindings.el. (Bug#14397)
14967 2013-12-13 Juri Linkov <juri@jurta.org>
14969 * comint.el (comint-mode-map): Replace `delete-char' with
14970 `delete-forward-char'. (Bug#16109)
14972 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
14974 * progmodes/python.el (python-indent-calculate-indentation):
14975 Fix de-denters cornercase. (Bug#15731)
14977 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14979 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
14980 (advice--make): Pay attention to `depth'.
14981 (advice--make-1): Don't autoload commands eagerly.
14982 * emacs-lisp/elp.el (elp-instrument-function):
14983 * emacs-lisp/trace.el (trace-function-internal):
14984 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
14986 * iswitchb.el (iswitchb-mode): Don't belittle ido.
14988 2013-12-12 Eli Zaretskii <eliz@gnu.org>
14990 * term/w32-win.el (w32-handle-dropped-file):
14991 * startup.el (normal-top-level):
14992 * net/browse-url.el (browse-url-file-url):
14993 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
14994 decode file names using 'utf-8' rather than
14995 file-name-coding-system.
14997 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
14999 * progmodes/python.el (python-indent-context)
15000 (python-indent-calculate-indentation): Fix auto-identation
15001 behavior for comment blocks. (Bug#15916)
15003 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15005 * progmodes/python.el (python-indent-calculate-indentation):
15006 When determining indentation, don't treat "return", "pass", etc., as
15007 operators when they are just string constituents. (Bug#15812)
15009 2013-12-12 Juri Linkov <juri@jurta.org>
15011 * uniquify.el (uniquify-buffer-name-style): Change default to
15012 `post-forward-angle-brackets'.
15014 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
15015 `uniquify'. Change default to `post-forward-angle-brackets'.
15017 2013-12-11 Glenn Morris <rgm@gnu.org>
15019 * emacs-lisp/package.el (finder-list-matches):
15020 Autoload rather than falsely declaring.
15022 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
15024 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
15025 (eww-mode-map): Use them.
15027 2013-12-11 Martin Rudalics <rudalics@gmx.at>
15029 * window.el (display-buffer-in-side-window): Fix doc-string
15032 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
15034 * vc/vc-git.el: Silence byte-compiler warnings.
15035 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
15036 (log-edit-set-header): Declare.
15038 2013-12-11 Eli Zaretskii <eliz@gnu.org>
15040 * Makefile.in (custom-deps, finder-data): Run output file names
15041 through unmsys--file-name. (Bug#16099)
15043 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
15045 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
15046 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
15048 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
15049 instead of deleting the selection "by hand" (bug#16098).
15050 Rely on insert-for-yank to yank rectangles.
15051 (cua-highlight-region-shift-only): Mark obsolete.
15052 (cua-mode): Don't enable/disable transient-mark-mode,
15053 shift-select-mode (cua-mode works both with and without them), and
15054 pc-selection-mode (obsolete).
15055 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
15056 (cua--deactivate-rectangle): Deactivate it.
15058 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
15059 (delete-selection-helper): Make sure yank starts at the top of the
15061 (minibuffer-keyboard-quit): Use region-active-p.
15063 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
15065 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
15066 to `delete' (bug#16109).
15068 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15070 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
15071 info manual and show keybindings and set `:group' keyword.
15073 2013-12-11 Juri Linkov <juri@jurta.org>
15075 * delsel.el (delete-active-region): Let-bind `this-command'
15076 to prevent `kill-region' from changing its original value.
15077 (delete-selection-helper): Handle `overwrite-mode' for the type
15078 `kill' exactly the same way as for the type `t'.
15079 (insert-char, quoted-insert, reindent-then-newline-and-indent):
15080 Support more commands. (Bug#13312)
15082 2013-12-11 Juri Linkov <juri@jurta.org>
15084 * bindings.el: Map kp keys to non-kp keys systematically
15085 with basic modifiers control, meta and shift. (Bug#14397)
15087 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15089 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
15090 "Close browser" menu items. Fix wrong function of "List
15093 2013-12-11 Juri Linkov <juri@jurta.org>
15095 * misearch.el (multi-isearch-buffers): Set the value of
15096 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
15097 arg of isearch-forward to t.
15098 (multi-isearch-buffers-regexp): Set the value of
15099 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
15100 arg of isearch-forward-regexp to t.
15101 (multi-isearch-files): Set the value of
15102 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
15103 arg of isearch-forward to t.
15104 (multi-isearch-files-regexp): Set the value of
15105 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
15106 arg of isearch-forward-regexp to t. (Bug#16035)
15108 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
15109 arg of isearch-forward to t.
15110 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
15111 arg of isearch-forward-regexp to t.
15112 (dired-isearch-filter-filenames): Remove unnecessary check for
15113 `dired-isearch-filenames'.
15115 * comint.el (comint-history-isearch-backward):
15116 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
15117 (comint-history-isearch-backward-regexp):
15118 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
15120 2013-12-10 Eli Zaretskii <eliz@gnu.org>
15122 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
15123 unmsys--file-name. (Bug#16099)
15125 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
15127 * emacs-lisp/package.el (package-keyword-button-action):
15128 Remove finder.el require dependency.
15130 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
15132 * emacs-lisp/package.el: Require finder.el.
15133 (describe-package-1): Add keyword buttons.
15134 (package-make-button): New convenience function.
15135 (package-keyword-button-action): Keyword button action using
15136 `finder-list-matches'.
15138 2013-12-09 Eli Zaretskii <eliz@gnu.org>
15140 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
15143 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
15145 * autorevert.el (auto-revert-notify-add-watch): Do not handle
15148 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
15150 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
15151 after the end of a percent literal.
15153 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
15155 * progmodes/ruby-mode.el (ruby-forward-string): Document.
15156 Handle caret-delimited strings (Bug#16079).
15158 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
15160 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
15161 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
15162 `ruby-parse-partial' (Bug#16078).
15164 2013-12-09 Leo Liu <sdl.web@gmail.com>
15166 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
15168 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
15170 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
15171 (js-switch-indent-offset): New option.
15172 (js--proper-indentation): Use it. And handle the case when
15173 "default" is actually a key in an object literal.
15174 (js--same-line): New function.
15175 (js--multi-line-declaration-indentation): Use it.
15176 (js--indent-in-array-comp, js--array-comp-indentation):
15178 (js--proper-indentation): Use them, to handle array comprehension
15181 2013-12-08 Leo Liu <sdl.web@gmail.com>
15183 * progmodes/flymake.el (flymake-highlight-line): Re-write.
15184 (flymake-make-overlay): Remove arg MOUSE-FACE.
15185 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
15187 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15189 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
15191 (redisplay-highlight-region-function): Use it.
15193 * emulation/cua-base.el (cua--explicit-region-start)
15194 (cua--last-region-shifted): Remove.
15195 (cua--deactivate): Use deactivate-mark.
15196 (cua--pre-command-handler-1): Don't handle shift-selection.
15197 (cua--post-command-handler-1): Don't change transient-mark-mode.
15198 (cua--select-keymaps): Use region-active-p rather than
15199 cua--explicit-region-start or cua--last-region-shifted.
15200 (cua-mode): Enable shift-select-mode.
15202 2013-12-08 Leo Liu <sdl.web@gmail.com>
15204 * progmodes/flymake.el (flymake-popup-current-error-menu):
15205 Rename from flymake-display-err-menu-for-current-line. Reimplement.
15206 (flymake-posn-at-point-as-event, flymake-popup-menu)
15207 (flymake-make-emacs-menu): Remove. (Bug#16077)
15209 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15211 * rect.el (rectangle-mark-mode): Activate mark even if
15212 transient-mark-mode is off (bug#16066).
15213 (rectangle--highlight-for-redisplay): Fix boundary condition when point
15214 is > mark and at bolp.
15216 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
15217 (region-extract-function): Use it.
15218 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
15219 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
15221 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
15222 kill-ring-save, kill-region, delete-char, delete-forward-char.
15223 Ignore self-insert-iso.
15225 * emulation/cua-gmrk.el (cua--init-global-mark):
15226 Ignore `self-insert-iso'.
15228 * emulation/cua-base.el (cua--prefix-copy-handler)
15229 (cua--prefix-cut-handler): Rely on region-extract-function rather than
15230 checking cua--rectangle.
15231 (cua-delete-region): Use region-extract-function.
15232 (cua-replace-region): Delete function.
15233 (cua-copy-region, cua-cut-region): Obey region-extract-function.
15234 (cua--pre-command-handler-1): Don't do the delete-selection thing.
15235 (cua--self-insert-char-p): Ignore `self-insert-iso'.
15236 (cua--init-keymaps): Don't remap delete-selection commands.
15237 (cua-mode): Use delete-selection-mode instead of rolling our own
15240 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
15241 Obey region-extract-function.
15243 Make registers and delete-selection-mode work on rectangles.
15244 * register.el (describe-register-1): Don't modify the register's value.
15245 (copy-to-register): Obey region-extract-function.
15246 * delsel.el (delete-active-region): Obey region-extract-function.
15248 2013-12-08 Leo Liu <sdl.web@gmail.com>
15250 * progmodes/flymake.el (flymake, flymake-error-bitmap)
15251 (flymake-warning-bitmap, flymake-fringe-indicator-position)
15252 (flymake-compilation-prevents-syntax-check)
15253 (flymake-start-syntax-check-on-newline)
15254 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
15255 (flymake-start-syntax-check-on-find-file, flymake-log-level)
15256 (flymake-xml-program, flymake-master-file-dirs)
15257 (flymake-master-file-count-limit)
15258 (flymake-allowed-file-name-masks): Relocate.
15259 (flymake-makehash, flymake-float-time)
15260 (flymake-replace-regexp-in-string, flymake-split-string)
15261 (flymake-get-temp-dir): Remove.
15262 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
15263 (flymake-current-row, flymake-selected-frame)
15264 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
15265 related functions. (Bug#16077)
15267 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
15269 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
15271 2013-12-07 Tassilo Horn <tsdh@gnu.org>
15273 * help-fns.el (describe-function-1): Use new advice-* functions
15274 rather than old ad-* functions. Fix function type description and
15275 source links for advised functions and subrs.
15277 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15279 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
15281 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
15283 * progmodes/compile.el (compilation-start):
15284 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
15286 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
15287 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
15289 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15291 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
15292 Touch up the last change.
15294 2013-12-06 Leo Liu <sdl.web@gmail.com>
15296 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
15297 (inferior-octave-startup): Always use "octave> " for prompt.
15298 (octave-goto-function-definition)
15299 (octave-sync-function-file-names)
15300 (octave-find-definition-default-filename): Remove redundant backquotes.
15302 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15304 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
15306 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
15307 where appropriate already.
15308 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
15309 end of method names (Bug#15874).
15311 2013-12-06 Juri Linkov <juri@jurta.org>
15313 * isearch.el (isearch--saved-overriding-local-map):
15314 New internal variable.
15315 (isearch-mode): Set it to the initial value of
15316 `overriding-terminal-local-map'.
15317 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
15318 with `isearch--saved-overriding-local-map'. (Bug#16035)
15320 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15322 * progmodes/octave.el (inferior-octave-completion-table):
15323 Turn back into function, use `completion-table-with-cache'
15324 (Bug#11906). Update all references.
15326 * minibuffer.el (completion-table-with-cache): New function.
15328 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
15330 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
15332 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
15334 * net/eww.el (eww-current-source): New variable to store page
15336 (eww-display-html, eww-mode, eww-save-history)
15337 (eww-restore-history): Use it.
15338 (eww-view-source): New command to view page source.
15339 Opportunistically uses `html-mode' to highlight the buffer.
15340 (eww-mode-map): Install it.
15342 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
15344 * net/dbus.el (dbus-unregister-service)
15345 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
15347 (dbus-unregister-service): Skip :serial entries in
15348 `dbus-registered-objects-table'.
15349 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
15351 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
15353 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
15354 around keywords with extra `split-string' argument.
15356 2013-12-04 Martin Rudalics <rudalics@gmx.at>
15358 * windmove.el (windmove-other-window-loc): Handle navigation
15359 between windows (excluding the minibuffer window - Bug#16017).
15361 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
15363 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
15364 in D-Bus type syntax.
15365 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
15366 preserve unibyte strings. (Bug#16048)
15368 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15370 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
15371 Call force-mode-line-update is the proper buffer (bug#16042).
15373 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
15375 * vc/log-edit.el (log-edit-add-new-comment): Rename to
15376 `log-edit-remember-comment', make argument optional. Adjust all
15378 (log-edit-mode): Add `log-edit-remember-comment' to
15379 `kill-buffer-hook' locally.
15380 (log-edit-kill-buffer): Don't remember comment explicitly since
15381 the buffer is killed anyway.
15383 2013-12-04 Juri Linkov <juri@jurta.org>
15385 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
15386 add-hook and remove-hook for multi-buffer search. (Bug#16035)
15388 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
15390 * notifications.el (notifications-close-notification): Call the
15391 D-Bus method with ID being a `:uint32'. (Bug#16030)
15393 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
15395 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
15397 2013-12-03 Juri Linkov <juri@jurta.org>
15399 * progmodes/compile.el (compilation-start): Rename window alist
15400 entry `no-display-ok' to `allow-no-window'.
15402 * simple.el (shell-command): Add window alist entry
15403 `allow-no-window' to `display-buffer'.
15404 (async-shell-command): Doc fix.
15406 * window.el (display-buffer-no-window): New action function.
15407 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
15409 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15411 * vc/log-edit.el (log-edit-set-header): Extract from
15412 `log-edit-toggle-header'.
15413 (log-edit-extract-headers): Separate the summary, when extracted
15414 from header, from the rest of the message with an empty line.
15416 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
15417 line, if present, to the Summary header.
15419 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15421 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
15422 in current-buffer (bug#16029).
15424 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
15426 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
15427 (debugger-mode-map): Bind it.
15428 (debugger--backtrace-base): New function.
15429 (debugger-eval-expression): Use it.
15430 (debugger-frame-number): Skip local vars when present.
15431 (debugger--locals-visible-p, debugger--insert-locals)
15432 (debugger--show-locals, debugger--hide-locals): New functions.
15434 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
15436 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
15438 (tramp-get-remote-locale): New defun.
15439 (tramp-open-connection-setup-interactive-shell): Use it.
15441 2013-12-02 Leo Liu <sdl.web@gmail.com>
15443 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
15445 * progmodes/sh-script.el (sh-shell-process):
15446 * progmodes/octave.el (inferior-octave-process-live-p):
15447 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
15448 (gdb-inferior-io-sentinel):
15449 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
15451 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15453 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
15454 `save-selected-window' to `log-edit-hide-buf'. This makes
15455 `log-edit-show-files' idempotent.
15456 (log-edit-show-files): Mark the new window as dedicated.
15458 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15460 * vc/log-edit.el (log-edit-mode-map): Add binding for
15461 `log-edit-kill-biffer'.
15462 (log-edit-hide-buf): Add a FIXME comment.
15463 (log-edit-add-new-comment): New function, extracted from
15465 (log-edit-done, log-edit-add-to-changelog): Use it.
15466 (log-edit-kill-buffer): New command.
15468 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15470 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
15471 instead of killing the buffer.
15473 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15475 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
15477 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15479 * net/eww.el (eww-form-checkbox-selected-symbol)
15480 (eww-form-checkbox-symbol): New customizable variable.
15481 (eww-form-checkbox, eww-toggle-checkbox):
15482 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
15484 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
15485 (shr--get-media-pref, shr--extract-best-source): New function.
15486 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
15487 no :src tag was specified.
15489 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
15490 (eww-render): Handle `eww-use-external-browser-for-content-type'.
15491 Use \\` to match beginning of string instead of ^.
15492 (eww-browse-with-external-browser): Provide optional URL parameter.
15493 (eww-render): Set `eww-current-title' back to "".
15495 * net/shr.el (shr-tag-video): Display content for video if no
15496 poster is available.
15497 (shr-tag-audio): Add support for <audio> tag.
15499 * net/eww.el (eww-text-input-types): New const.
15500 (eww-process-text-input): Treat input types in
15501 `eww-text-input-types' as text.
15503 * net/shr.el (shr-tag-table): Fix comment typo.
15505 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15507 * net/eww.el (eww-follow-link): New command to avoid reloading
15508 pages when we follow #target links (bug#15243).
15509 (eww-quit): Special mode buffers shouldn't query before exiting.
15511 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15513 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
15516 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15518 * net/eww.el (eww-restore-history): Update the window title after
15519 moving in the history.
15520 (eww-current-dom): New variable used to save the current DOM.
15522 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
15524 * vc/log-edit.el (log-edit-mode-map): Add binding for
15525 `log-edit-beginning-of-line'.
15526 (log-edit-setup-add-author): New user option.
15527 (log-edit-beginning-of-line): New command.
15528 (log-edit): Move major mode call above the contents setup so that
15529 the local variable values are already applied.
15530 (log-edit): Only insert "Author: " when
15531 `log-edit-setup-add-author' is non-nil.
15532 (log-edit): When SETUP is non-nil, position point after ": "
15533 instead of point-min.
15535 2013-12-01 Glenn Morris <rgm@gnu.org>
15537 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
15539 2013-11-30 Eli Zaretskii <eliz@gnu.org>
15541 * startup.el (fancy-splash-frame): On MS-Windows, trigger
15542 redisplay to make sure the initial frame gets a chance to become
15543 visible. (Bug#16014)
15545 2013-11-30 Martin Rudalics <rudalics@gmx.at>
15547 Support resizing frames and windows pixelwise.
15548 * cus-start.el (frame-resize-pixelwise)
15549 (window-resize-pixelwise): New entries.
15550 * emacs-lisp/debug.el (debug): Use window-total-height instead
15551 of window-total-size.
15552 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
15553 * help.el (describe-bindings-internal): Use help-buffer as
15554 argument for with-help-window.
15555 (temp-buffer-max-width): New option.
15556 (resize-temp-buffer-window, help-window-setup)
15557 (with-help-window): Rewrite.
15558 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
15560 * window.el (frame-char-size, window-min-pixel-height)
15561 (window-safe-min-pixel-height, window-safe-min-pixel-width)
15562 (window-min-pixel-width, window-safe-min-pixel-size)
15563 (window-combination-p, window-safe-min-size)
15564 (window-resizable-p, window--size-to-pixel)
15565 (window--pixel-to-size, window--resize-apply-p): New functions.
15566 (window-safe-min-height): Fix doc-string.
15567 (window-size, window-min-size, window--min-size-1)
15568 (window-sizable, window-sizable-p, window--min-delta-1)
15569 (window-min-delta, window--max-delta-1, window-max-delta)
15570 (window--resizable, window--resizable-p, window-resizable)
15571 (window-full-height-p, window-full-width-p, window-at-side-p)
15572 (window--in-direction-2, window-in-direction)
15573 (window--resize-reset-1, window--resize-mini-window)
15574 (window-resize, window-resize-no-error)
15575 (window--resize-child-windows-normal)
15576 (window--resize-child-windows, window--resize-siblings)
15577 (window--resize-this-window, window--resize-root-window)
15578 (window--resize-root-window-vertically)
15579 (adjust-window-trailing-edge, enlarge-window, shrink-window)
15580 (maximize-window, minimize-window, delete-window)
15581 (quit-restore-window, window-split-min-size, split-window)
15582 (balance-windows-2, balance-windows)
15583 (balance-windows-area-adjust, balance-windows-area)
15584 (window--state-get-1, window-state-get, window--state-put-1)
15585 (window--state-put-2, window-state-put)
15586 (display-buffer-record-window, window--display-buffer):
15587 Make functions handle pixelwise sizing of windows.
15588 (display-buffer--action-function-custom-type)
15589 (display-buffer-fallback-action):
15590 Add display-buffer-in-previous-window.
15591 (display-buffer-use-some-window): Resize window to height it had
15593 (fit-window-to-buffer-horizontally): New option.
15594 (fit-frame-to-buffer): Describe new values.
15595 (fit-frame-to-buffer-bottom-margin): Replace with
15596 fit-frame-to-buffer-margins.
15597 (window--sanitize-margin): New function.
15598 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
15599 using window-text-pixel-size.
15601 2013-11-30 Glenn Morris <rgm@gnu.org>
15603 * emacs-lisp/bytecomp.el (byte-compile-form):
15604 Make the `interactive-only' warning like the `obsolete' one.
15605 * comint.el (comint-run):
15606 * files.el (insert-file-literally, insert-file):
15607 * replace.el (replace-string, replace-regexp):
15608 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
15609 (goto-line, insert-buffer, next-line, previous-line):
15610 Tweak `interactive-only' spec.
15612 Stop keeping (most) generated cedet grammar files in the repository.
15613 * Makefile.in (semantic): New.
15614 (compile-main): Depend on semantic.
15616 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15618 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
15619 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
15621 * uniquify.el (uniquify-buffer-name-style): Change default.
15623 * loadup.el: Preload "uniquify".
15625 * time.el (display-time-update): Update all mode lines (bug#15999).
15627 * electric.el (electric-indent-mode): Enable by default.
15628 * loadup.el: Preload "electric".
15630 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
15632 * emacs-lisp/helpers.el (string-empty-p): New function.
15633 (string-blank-p): New function.
15635 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
15637 * imenu.el (imenu--index-alist): Add missing dot to the docstring
15640 2013-11-29 Andreas Politz <politza@fh-trier.de>
15641 * imenu.el (imenu--subalist-p): Don't error on non-conses and
15642 allow non-lambda lists as functions.
15643 (imenu--in-alist): Don't recurse into non-subalists.
15644 (imenu): Don't pass function itself as an argument (Bug#14029).
15646 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15648 * progmodes/python.el (python-mode-map): Remove binding for ":".
15649 (python-indent-electric-colon): Remove command.
15650 (python-indent-post-self-insert-function): Integrate the previous code
15651 of python-indent-electric-colon. Make it conditional on
15652 electric-indent-mode.
15653 (python-mode): Add ?: to electric-indent-chars.
15654 Move python-indent-post-self-insert-function to the end of
15655 post-self-insert-hook.
15657 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15659 * doc-view.el (doc-view-goto-page): Update mode-line.
15661 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
15663 2013-11-27 Glenn Morris <rgm@gnu.org>
15665 * international/charprop.el, international/uni-bidi.el:
15666 * international/uni-category.el, international/uni-combining.el:
15667 * international/uni-comment.el, international/uni-decimal.el:
15668 * international/uni-decomposition.el, international/uni-digit.el:
15669 * international/uni-lowercase.el, international/uni-mirrored.el:
15670 * international/uni-name.el, international/uni-numeric.el:
15671 * international/uni-old-name.el, international/uni-titlecase.el:
15672 * international/uni-uppercase.el:
15673 Remove generated files from VCS repository.
15675 2013-11-27 Eli Zaretskii <eliz@gnu.org>
15677 * filenotify.el (file-notify-add-watch): Don't special-case
15678 w32notify when computing the directory to watch.
15680 2013-11-27 Glenn Morris <rgm@gnu.org>
15682 Make bootstrap without generated uni-*.el files possible again.
15683 * loadup.el: Update command-line-args checking for unidata-gen.
15684 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
15685 * composite.el, international/characters.el:
15686 Handle unicode tables being undefined.
15688 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
15689 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
15690 (compile-main): Depend on leim rule.
15692 * loadup.el: Move leim-list.el to leim/ subdirectory.
15693 * startup.el (normal-top-level): No more leim directory.
15694 * international/ja-dic-cnv.el (skkdic-convert):
15695 Disable version-control and autoloads in output files.
15696 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
15697 Disable version-control and autoloads in output files.
15698 * leim/quail: Move here from ../leim.
15699 * leim/quail/hangul.el (hangul-input-method-activate):
15700 Add autoload cookie.
15701 (generated-autoload-load-name): Set file-local value.
15702 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
15703 (generated-autoload-load-name): Set file-local value.
15705 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
15707 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
15708 (eww-add-bookmark): Ask confirmation when add to bookmarks.
15709 (eww-quit): Ask confirmation before quitting eww.
15711 2013-11-26 Eli Zaretskii <eliz@gnu.org>
15713 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
15714 reading output from Diff on MS-Windows and MS-DOS.
15716 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
15718 * emacs-lisp/helpers.el (string-reverse): New function.
15720 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
15722 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
15723 names on MS Windows, like "/[::1]:".
15725 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
15728 2013-11-26 Glenn Morris <rgm@gnu.org>
15730 * progmodes/python.el (python-indent-guess-indent-offset):
15731 Avoid corner-case error. (Bug#15975)
15733 Preload leim-list.el. (Bug#4789)
15734 * loadup.el: Load leim-list.el when found.
15735 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
15737 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
15739 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
15741 * emacs-lisp/helpers.el (string-join): New function.
15743 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
15745 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15746 Mark as obsolete and replace it with a symbol property.
15747 (byte-compile-form): Use new 'interactive-only property.
15748 * comint.el, files.el, replace.el, simple.el:
15749 Apply new 'interactive-only properly.
15751 2013-11-25 Martin Rudalics <rudalics@gmx.at>
15753 * window.el (display-buffer-at-bottom): Make sure that
15754 split-window-sensibly creates the new window on bottom
15757 2013-11-23 David Kastrup <dak@gnu.org>
15759 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
15760 on the conflict markers when available.
15761 (smerge--get-marker): New function.
15762 (smerge-end-re, smerge-base-re): Add subgroup.
15764 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15766 * frame.el (handle-focus-in, handle-focus-out): Add missing
15769 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
15771 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
15772 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
15774 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15776 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
15777 (gomoku--last-pos): New var.
15778 (gomoku--intangible-chars): New const.
15779 (gomoku--intangible): New function.
15780 (gomoku-mode): Use it. Derive from special-mode.
15781 (gomoku-move-up): Adjust line count.
15782 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
15783 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
15784 Simplify accordingly.
15786 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
15787 Remove blink-cursor code.
15788 (blink-cursor-timer-function, blink-cursor-suspend):
15789 Don't special-case GUIs.
15790 (blink-cursor-mode): Use focus-in/out-hook.
15792 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
15794 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
15795 work when annotation is invisible (Bug#13886).
15797 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
15799 * json.el (json-alist-p): Only return non-nil if the alist has
15800 simple keys (Bug#13518).
15802 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
15804 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
15805 when control-statement is the first statement in a buffer (Bug#15956).
15807 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
15809 * imenu.el (imenu-generic-skip-comments-and-strings):
15810 New option (Bug#15560).
15811 (imenu--generic-function): Use it.
15813 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
15815 * minibuffer.el (completion--in-region-1): Scroll the correct window.
15818 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
15820 * emacs-lisp/helpers.el: Add some string helpers.
15821 (string-trim-left): Removes leading whitespace.
15822 (string-trim-right): Removes trailing whitespace.
15823 (string-trim): Removes leading and trailing whitespace.
15825 * subr.el (string-suffix-p): New function.
15827 2013-11-23 Glenn Morris <rgm@gnu.org>
15829 * progmodes/python.el (python-shell-send-file):
15830 Add option to delete file when done. (Bug#15647)
15831 (python-shell-send-string, python-shell-send-region): Use it.
15833 2013-11-23 Ivan Shmakov <ivan@siamics.net>
15835 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
15836 to set buffer-read-only to t, never to nil. (Bug#15938)
15838 * textmodes/tex-mode.el (latex-noindent-environments):
15839 Add safe-local-variable property. (Bug#15936)
15841 2013-11-23 Glenn Morris <rgm@gnu.org>
15843 * textmodes/enriched.el (enriched-mode): Doc fix.
15844 * emacs-lisp/authors.el (authors-renamed-files-alist):
15845 Add enriched.doc -> enriched.txt.
15847 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
15849 2013-11-22 Leo Liu <sdl.web@gmail.com>
15851 * progmodes/octave.el (inferior-octave-startup): Spit out error
15854 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
15856 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15859 (ruby-encoding-magic-comment-style): Add :version.
15861 2013-11-22 Leo Liu <sdl.web@gmail.com>
15863 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
15865 (octave-help-mode): Adapt to change to help-mode-finish to use
15866 derived-mode-p on 2013-09-17.
15867 (inferior-octave-prompt): Also match octave-gui.
15868 (octave-kill-process): Don't ask twice. (Bug#10564)
15870 2013-11-22 Leo Liu <sdl.web@gmail.com>
15872 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
15873 (inferior-octave-startup, inferior-octave-check-process)
15874 (inferior-octave-track-window-width-change)
15875 (octave-completion-at-point, octave-eldoc-function): Use it.
15876 (octave-kill-process): Provide confirmation. (Bug#10564)
15878 2013-11-21 Leo Liu <sdl.web@gmail.com>
15880 * progmodes/octave.el (octave-mode, inferior-octave-mode):
15881 Fix obsolete variable comment-use-global-state.
15883 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15885 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
15886 Add `octave-source-file'.
15887 (octave-source-file): New function. (Bug#15935)
15889 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
15891 * net/eww.el (eww-local-regex): New variable.
15892 (eww): Use it to detect localhost and similar.
15894 2013-11-21 Leo Liu <sdl.web@gmail.com>
15896 Add completion for command `ag'.
15897 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
15898 (pcomplete/ag): New function.
15899 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
15901 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15903 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
15905 (make-obsolete): Remove interactive spec.
15907 2013-11-21 Glenn Morris <rgm@gnu.org>
15909 * startup.el (command-line-1): Use path-separator with -L.
15911 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
15913 * emacs-lisp/package.el (describe-package-1): Add package archive
15916 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
15918 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
15919 Change default to "# encoding: %s" to differentiate it from the
15920 default Ruby encoding comment template.
15922 2013-11-20 Era Eriksson <era+emacsbugs@iki.fi>
15924 * ses.el (ses-mode): Doc fix. (Bug#14748)
15926 2013-11-20 Leo Liu <sdl.web@gmail.com>
15928 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
15930 2013-11-19 Dan Nicolaescu <dann@gnu.org>
15932 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
15933 when rebase or bisect are in progress.
15935 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
15937 * filenotify.el (file-notify-add-watch): Doc fix.
15939 2013-11-19 Leo Liu <sdl.web@gmail.com>
15941 * obsolete/rcompile.el: Mark obsolete.
15943 * progmodes/compile.el (compilation-start)
15944 (compilation-goto-locus, compilation-find-file):
15945 Pass no-display-ok and handle nil value from display-buffer.
15948 * window.el (display-buffer-alist, display-buffer): Document the
15949 new parameter no-display-ok. Return either a window or nil
15950 but never a non-window value.
15952 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15954 * electric.el (electric-indent-mode-map): Remove.
15955 (electric-indent-mode): Change the global-map instead (bug#15915).
15957 * textmodes/text-mode.el (paragraph-indent-minor-mode):
15960 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
15962 * emacs-lisp/nadvice.el (remove-function): Align with
15963 add-function's behavior.
15965 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
15966 (gdb--string-regexp): New constant.
15967 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
15968 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
15969 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
15971 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
15972 Adjust use accordingly.
15973 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
15975 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
15977 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
15978 interpolation curlies (Bug#15914).
15980 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
15982 * calc/calc.el (calc-context-sensitive-enter): New variable.
15983 (calc-enter): Use `calc-context-sensitive-enter'.
15985 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
15987 * progmodes/cfengine.el: Version bump.
15988 (cfengine-cf-promises): New defcustom to locate cf-promises.
15989 (cfengine3-vartypes): Add new "data" type.
15990 (cfengine3--current-word): New function to get current name-like
15991 word or its bounds.
15992 (cfengine3--current-function): New function to look up a CFEngine
15993 function's definition.
15994 (cfengine3-format-function-docstring): New function.
15995 (cfengine3-make-syntax-cache): New function.
15996 (cfengine3-documentation-function): New function: ElDoc glue.
15997 (cfengine3-completion-function): New function: completion glue.
15998 (cfengine3-mode): Set `compile-command',
15999 `eldoc-documentation-function', and add to
16000 `completion-at-point-functions'.
16002 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
16004 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
16005 `tramp-current-connection'.
16007 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
16009 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
16010 nil/self/true/false with "end of symbol".
16012 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
16014 * subr.el (version-regexp-alist): Fix a typo.
16016 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
16018 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
16019 "en_US.utf8" and "LC_CTYPE" to "".
16020 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
16021 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
16023 2013-11-15 Leo Liu <sdl.web@gmail.com>
16025 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
16027 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16029 * progmodes/gud.el (ctl-x-map):
16030 Remove C-x SPC binding. (Bug#12342)
16031 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
16033 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
16035 * subr.el (version-regexp-alist):
16036 Recognize hg, svn and darcs versions as snapshot versions.
16038 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
16039 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
16040 (ruby--encoding-comment-required-p): Extract from
16041 `ruby-mode-set-encoding'.
16042 (ruby-mode-set-encoding): Add the ability to always insert an
16043 utf-8 encoding comment. Fix and simplify coding comment update
16046 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
16048 * net/tramp-gvfs.el (top): Run init code only when
16049 `tramp-gvfs-enabled' is not nil.
16050 (tramp-gvfs-enabled): Check also :system bus.
16052 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16054 Sync with upstream verilog-mode revision 78e66ba.
16055 * progmodes/verilog-mode.el (verilog-end-of-defun)
16056 (verilog-type-completion, verilog-get-list): Remove unused funcs.
16057 (verilog-get-end-of-defun): Remove unused argument.
16058 (verilog-comment-depth): Remove unused local `e'.
16059 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
16060 Don't pass arg to verilog-get-end-of-defun.
16062 2013-11-14 Glenn Morris <rgm@gnu.org>
16064 * obsolete/assoc.el (aget): Prefix dynamic variable.
16066 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
16068 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16070 * widget.el, hfy-cmap.el: Remove bogus package version number.
16072 2013-11-13 Glenn Morris <rgm@gnu.org>
16074 * replace.el (replace-eval-replacement):
16075 Try to give more helpful error message. (Bug#15836)
16077 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16078 (archive-7z-update): Avoid custom type mismatches.
16080 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
16082 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
16084 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
16085 address can be empty.
16087 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
16088 Accept nil SWITCHES.
16089 (tramp-gvfs-handle-write-region): Implement APPEND.
16091 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
16093 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
16094 binary "|" operator and closing block args delimiter.
16095 Remove FIXME comment referring to Ruby 1.8-only syntax.
16096 (ruby-smie--implicit-semi-p): Not after "|" operator.
16097 (ruby-smie--closing-pipe-p): New function.
16098 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
16099 (ruby-smie-rules): Indent after "|".
16101 2013-11-12 Glenn Morris <rgm@gnu.org>
16103 * ps-print.el (ps-face-attribute-list):
16104 Handle anonymous faces. (Bug#15827)
16106 2013-11-12 Martin Rudalics <rudalics@gmx.at>
16108 * window.el (display-buffer-other-frame): Fix doc-string.
16111 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16113 * subr.el (force-mode-line-update): Delete, move to buffer.c.
16115 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
16117 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
16118 (tramp-sh-handle-file-local-copy): Don't write a message when
16119 saving temporary files.
16121 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
16122 both directories are remote.
16123 (tramp-smb-handle-directory-files): Do not return double entries.
16124 Do not expand full file names.
16125 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
16126 (tramp-smb-handle-write-region): Implement APPEND.
16127 (tramp-smb-get-stat-capability): Fix a stupid bug.
16129 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16131 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
16133 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16135 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
16136 throwing error over malformed let/let* (bug#15814).
16138 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16140 * iswitchb.el (iswitchb-mode): Mark obsolete.
16142 2013-11-11 Glenn Morris <rgm@gnu.org>
16144 * international/uni-bidi.el, international/uni-category.el:
16145 * international/uni-name.el, international/uni-numeric.el:
16146 Regenerate for Unicode 6.3.0.
16148 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
16150 * net/tramp.el (tramp-methods):
16151 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
16152 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
16154 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
16156 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16157 Force highlighting text after Summary keyword in doc face for rpm.
16159 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
16161 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
16162 available and the word has no wildcards, append one to the grep pattern.
16163 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
16164 (ispell-complete-word): Call `ispell-lookup-words' with the value
16165 independent of `ispell-look-p'.
16167 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16169 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
16171 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
16174 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16176 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
16177 (ruby-font-lock-keywords): Use backquote.
16179 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16181 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16182 (ruby-smie--backward-token): Only consider full-string matches.
16184 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
16186 * faces.el (describe-face): Add distant-foreground.
16188 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
16190 * progmodes/ruby-mode.el: Improve encoding comment handling.
16191 (ruby-encoding-magic-comment-style): New option.
16192 (ruby-custom-encoding-magic-comment-template): New option.
16193 (ruby--insert-coding-comment, ruby--detect-encoding):
16194 New functions extracted from `ruby-mode-set-encoding'.
16195 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
16196 to control the style of the auto-inserted encoding comment.
16198 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16200 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
16201 Use `smie-backward-sexp' with token argument.
16203 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
16205 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16206 Remove instrumentation code.
16208 2013-11-08 Glenn Morris <rgm@gnu.org>
16210 * progmodes/autoconf.el (autoconf-mode):
16211 Tweak comment-start-skip. (Bug#15822)
16213 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16215 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
16216 at bobp (bug#15826).
16217 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
16219 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
16221 * man.el (Man-start-calling): New macro, extracted from
16222 Man-getpage-in-background.
16223 (Man-getpage-in-background): Use it.
16224 (Man-update-manpage): New command.
16225 (Man-mode-map): Bind it.
16227 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16229 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
16230 of "and", "or", "&&" and "||".
16231 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
16232 argument. Prohibit opening curly brace because it could only be a
16233 block opener in that position.
16234 (ruby-smie--forward-token, ruby-smie--backward-token):
16235 Separate "|" from "&" or "*" going after it. That can happen in block
16237 (ruby-smie--indent-to-stmt): New function, seeks the end of
16238 previous statement or beginning of buffer.
16239 (ruby-smie-rules): Use it.
16240 (ruby-smie-rules): Check if there's a ":" before a curly block
16241 opener candidate; if there is, it's a hash.
16243 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16245 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
16246 (cl--block-wrapper): Fix last accidental change.
16248 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
16250 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16251 Instrument, in order to hunt failure on hydra.
16253 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16255 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
16256 malformed bindings form (bug#15814).
16258 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
16260 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
16261 "." compared to " @ ". This incidentally fixes some indentation
16262 examples with "do".
16263 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
16264 (ruby-smie-grammar): New tokens: "and" and "or".
16265 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
16266 Exclude "and" and "or". Remove "do" in order to work around token
16268 (ruby-smie-rules): Add all infix tokens. Handle the case of
16269 beginning-of-buffer.
16271 2013-11-06 Glenn Morris <rgm@gnu.org>
16273 * Makefile.in (setwins_almost, setwins_for_subdirs):
16274 Avoid accidental matches.
16276 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
16278 * menu-bar.el (popup-menu): Use key-binding.
16280 2013-11-06 Eli Zaretskii <eliz@gnu.org>
16282 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
16283 menus, support also the menus produced by minor modes.
16286 2013-11-06 Leo Liu <sdl.web@gmail.com>
16288 * thingatpt.el (thing-at-point-looking-at): Add optional arg
16289 DISTANCE to bound the search. All uses changed. (Bug#15808)
16291 2013-11-06 Glenn Morris <rgm@gnu.org>
16293 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
16294 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
16295 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
16297 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
16299 * electric.el (electric-indent-just-newline): New command.
16300 (electric-indent-mode-map): New keymap.
16301 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
16302 Re-add :group which weren't redundant.
16304 * electric.el (electric-indent-local-mode): New minor mode.
16305 (electric-indent-functions-without-reindent): New var.
16306 (electric-indent-post-self-insert-function): Use it.
16307 * emacs-lisp/gv.el (buffer-local-value): Add setter.
16309 2013-11-05 Eli Zaretskii <eliz@gnu.org>
16311 * international/quail.el (quail-help): Be more explicit about the
16312 meaning of the labels shown on the keys. (Bug#15800)
16314 * startup.el (normal-top-level): Load the subdirs.el files before
16315 setting the locale environment. (Bug#15805)
16317 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16319 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
16320 via arguments so as to get the right ones (bug#15418).
16322 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
16324 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
16326 Fix problems found while writing a test suite.
16328 * net/tramp-compat.el (tramp-compat-load): New defun.
16329 * net/tramp.el (tramp-handle-load): Use it.
16331 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
16332 "(numberp ok-if-already-exists)" correctly.
16334 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
16336 * international/characters.el (glyphless-char-display-control):
16339 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
16341 * progmodes/python.el (python-mode):
16342 * progmodes/scheme.el (scheme-mode):
16343 * progmodes/prolog.el (prolog-mode):
16344 * progmodes/ruby-mode.el (ruby-mode):
16345 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
16346 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
16348 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16350 * rect.el (rectangle--highlight-for-redisplay):
16351 * emacs-lisp/smie.el (smie--next-indent-change):
16352 Use buffer-chars-modified-tick.
16354 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
16356 * electric.el (electric-indent-post-self-insert-function):
16357 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
16359 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
16361 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
16363 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16365 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
16368 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16370 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
16372 * progmodes/python.el: Fix up last change.
16373 (python-shell--save-temp-file): New function.
16374 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
16375 `string' comes from the current buffer.
16376 (python-shell-send-string-no-output): Remove `msg' arg.
16377 (python--use-fake-loc): New var.
16378 (python-shell-buffer-substring): Obey it. Try to compensate for the
16379 extra coding line added by python-shell--save-temp-file.
16380 (python-shell-send-region): Use python-shell--save-temp-file and
16381 python-shell-send-file directly. Add `nomain' argument.
16382 (python-shell-send-buffer): Use python-shell-send-region.
16383 (python-electric-pair-string-delimiter): New function.
16384 (python-mode): Use it.
16386 2013-11-04 Eli Zaretskii <eliz@gnu.org>
16388 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
16389 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
16390 environment and decoding all of the default-directory's to here
16392 (command-line): Decode also argv[0].
16394 * loadup.el: Error out if default-directory is a multibyte string
16395 when we are dumping.
16397 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
16399 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
16401 * emacs-lisp/package.el (package-menu-mode)
16402 (package-menu--print-info, package-menu--archive-predicate):
16403 Add Archive column to package list.
16405 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
16407 Fix problems found while writing a test suite.
16409 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
16410 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
16411 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
16412 to nil when running original file name handler. Otherwise,
16413 there are problems with constructs like "$$FOO".
16415 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
16418 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
16420 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
16422 * subr.el (version<, version<=, version=):
16423 Update docstrings with information for snapshot versions.
16425 * helpers.el: New library for misc helper functions.
16426 (hash-table-keys): New function returning a list of hash keys.
16427 (hash-table-values): New function returning a list of hash values.
16429 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
16431 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16432 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
16434 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
16436 * textmodes/fill.el (fill-single-char-nobreak-p): New function
16437 checking whether point is after a 1-letter word.
16439 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16441 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
16442 Don't infloop when expanding region over `multiline' syntax-type that
16443 begins a line (bug#15778).
16445 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16447 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
16448 Make it into a proper minor mode.
16449 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
16450 (rectangle-mark-mode-map): New keymap.
16451 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
16453 2013-11-04 Glenn Morris <rgm@gnu.org>
16455 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
16457 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16459 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
16460 (ruby-smie-rules): Use smie-rule-parent instead.
16462 * emacs-lisp/smie.el (smie-rule-parent): Always call
16463 smie-indent-virtual rather than only for hanging tokens.
16464 (smie--next-indent-change): New helper command.
16466 2013-11-03 Glenn Morris <rgm@gnu.org>
16468 * Makefile.in (abs_srcdir): Remove.
16469 (emacs): Unset EMACSLOADPATH.
16471 2013-11-02 Glenn Morris <rgm@gnu.org>
16473 * Makefile.in (EMACS): Use a relative filename.
16474 (abs_top_builddir): Remove.
16475 (custom-deps, finder-data, autoloads): Use --chdir.
16477 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
16479 Use relative filenames in TAGS files.
16480 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16481 (lisptagsfiles4, TAGS): Use relative file names.
16482 (TAGS-LISP): Remove.
16483 (maintainer-clean): No more TAGS-LISP file.
16485 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16486 (lisptagsfiles4): Use absolute filenames again.
16487 (TAGS, TAGS-LISP): Not everything needs to run in one line.
16488 Remove all *loaddefs files, not just the first. Remove esh-groups.
16489 (maintainer-clean): Delete TAGS, TAGS-LISP.
16491 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16493 * emacs-lisp/package.el (package-version-join):
16494 Recognize snapshot versions.
16496 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16498 * subr.el (version-regexp-alist): Add support for snapshot versions.
16500 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16502 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
16503 New function, replacement for `smie-rule-parent' for when we want to
16504 skip over our direct parent if it's an assignment token..
16505 (ruby-smie-rules): Use it.
16507 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16509 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
16510 unconditionally. Remove now unnecessary forward declarations.
16511 Remove XEmacs-specific setup.
16512 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
16513 (ruby-font-lock-syntactic-keywords)
16514 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
16515 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
16516 (ruby-here-doc-end-syntax): Remove.
16517 (ruby-mode): Don't check whether `syntax-propertize-rules' is
16518 defined as function.
16520 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16522 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
16524 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16526 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
16527 table and abbrev table, `define-derived-mode' does that for us
16530 2013-11-01 Glenn Morris <rgm@gnu.org>
16532 * Makefile.in: Remove manual mh-e dependencies (writing .elc
16533 files is atomic for some time, so no parallel compilation issues).
16535 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
16537 * faces.el (face-x-resources): Add :distant-foreground.
16538 (region): Use :distant-foreground for gtk and ns.
16540 2013-11-01 Tassilo Horn <tsdh@gnu.org>
16542 Allow multiple bibliographies when BibLaTeX is used rather than
16544 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
16545 (reftex-locate-bibliography-files): Us it.
16547 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
16549 * image.el (image-type-header-regexps): Fix the 'pbm' part to
16550 allow comments in pbm files.
16552 * term/w32-win.el (dynamic-library-alist): Support newer versions
16553 of libjpeg starting with v7: look only for the DLL from the
16554 version against which Emacs was built.
16555 Support versions of libpng beyond 1.4.x.
16556 Support libtiff v4.x.
16558 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16560 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
16561 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
16562 Add property :safe.
16563 (ruby-deep-arglist): Add property :type.
16565 2013-10-31 Glenn Morris <rgm@gnu.org>
16567 * Makefile.in (custom-deps, finder-data): No need to setq the target
16568 variables, we are in the right directory and the defaults work fine.
16570 2013-10-30 Glenn Morris <rgm@gnu.org>
16572 * Makefile.in (autoloads): Do not use abs_lisp.
16574 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16575 `newline' does not respect `standard-output', so use `princ'.
16577 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
16579 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
16580 * buff-menu.el (Buffer-menu--unmark): New function.
16581 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
16583 2013-10-30 Glenn Morris <rgm@gnu.org>
16585 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
16587 * emacs-lisp/package.el (lm-homepage): Declare.
16589 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
16592 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
16594 * Makefile.in (finder-data, autoloads, update-subdirs)
16595 (compile-main, compile-clean, compile-always, bootstrap-clean):
16596 Check return value of cd.
16597 (compile-calc): Remove.
16599 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16601 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
16603 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
16604 (byte-compile-and-folded): New function.
16605 (=, <, >, <=, >=): Use it.
16607 * dos-w32.el (minibuffer-history-case-insensitive-variables)
16608 (path-separator, null-device, buffer-file-coding-system)
16609 (lpr-headers-switches): Check system-type before modifying them.
16610 (find-buffer-file-type-coding-system): Mark obsolete.
16611 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
16612 find-file-not-found-set-buffer-file-coding-system.
16613 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
16614 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
16615 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
16616 (w32-direct-print-region-helper, w32-direct-print-region-function)
16617 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
16618 * startup.el (normal-top-level-add-subdirs-to-load-path):
16619 * ps-print.el (ps-print-region-function):
16620 * lpr.el (print-region-function): Use new name.
16622 * subr.el (custom-declare-variable-early): Remove function.
16623 (custom-declare-variable-list): Remove var.
16624 (error, user-error): Remove `while' loop.
16625 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
16626 (user-emacs-directory-warning, locate-user-emacs-file):
16628 * simple.el (read-quoted-char-radix, read-quoted-char):
16629 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
16631 * custom.el (custom-declare-variable-list): Don't process
16632 custom-declare-variable-list.
16634 * progmodes/python.el (python-shell-get-buffer): New function.
16635 (python-shell-get-process): Use it.
16636 (python-shell-send-string): Always use utf-8 and add a cookie to tell
16637 Python which encoding was used. Don't split-string since we only care
16638 about the first line. Return the temp-file, if applicable.
16639 (python-shell-send-region): Tell compile.el how to turn locations in
16640 the temp-file into locations in the source buffer.
16642 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
16644 * subr.el (undefined): Add missing behavior from the C code for
16647 * rect.el: Use lexical-binding. Add new rectangular region support.
16648 (rectangle-mark): New command.
16649 (rectangle--region): New var.
16650 (deactivate-mark-hook): Reset rectangle--region.
16651 (rectangle--extract-region, rectangle--insert-for-yank)
16652 (rectangle--highlight-for-redisplay)
16653 (rectangle--unhighlight-for-redisplay): New functions.
16654 (region-extract-function, redisplay-unhighlight-region-function)
16655 (redisplay-highlight-region-function): Use them to handle
16656 rectangular region.
16657 * simple.el (region-extract-function): New var.
16658 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
16659 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
16660 (kill-region): Replace obsolete `yank-handler' arg with `region'.
16661 (copy-region-as-kill, kill-ring-save): Add `region' argument.
16662 (redisplay-unhighlight-region-function)
16663 (redisplay-highlight-region-function): New vars.
16664 (redisplay--update-region-highlight): New function.
16665 (pre-redisplay-function): Use it.
16666 (exchange-point-and-mark): Don't deactivate the mark before
16667 reactivate-it anyway.
16668 * comint.el (comint-kill-region): Remove yank-handler argument.
16669 * delsel.el (delete-backward-char, backward-delete-char-untabify)
16670 (delete-char): Remove property, since it's now part of their
16672 (self-insert-iso): Remove property since this command doesn't exist.
16674 * emacs-lisp/package.el (package--download-one-archive)
16675 (describe-package-1): Don't query the user about final newline.
16677 2013-10-29 Daniel Colascione <dancol@dancol.org>
16679 * net/tramp.el (tramp-methods): Document new functionality.
16680 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
16681 tramp-hostname-checker if method provides one instead of scanning
16682 argument list for "%h" to decide hostname acceptability.
16684 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
16686 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16687 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16688 Handle COPY-CONTENTS. (Bug#15737)
16690 2013-10-28 Daiki Ueno <ueno@gnu.org>
16692 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16693 Document that this option has no effect with GnuPG 2.0 (bug#15552).
16695 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
16697 * image.el (defimage, image-load-path): Doc fixes.
16699 2013-10-27 Alan Mackenzie <acm@muc.de>
16701 Indent statements in macros following "##" correctly.
16702 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16703 Modify the "#" arm of a cond form to handle "#" and "##" operators.
16705 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16707 * linum.el (linum-update-window): Fix boundary test (bug#13446).
16709 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
16711 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
16712 after `=' is probably a new expression.
16714 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16716 * man.el (man-imenu-title): New option.
16717 (Man-mode-map): Add menu. (Bug#15722)
16718 (Man-mode): Add imenu to menu.
16720 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
16722 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
16723 specific in what the first arg can be: a non-keyword word,
16724 string/regexp/percent literal opener, opening paren, or unary
16725 operator followed directly by word.
16727 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16729 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
16730 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
16731 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
16732 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
16733 Remove vars, they do not apply any more.
16734 (prolog-mode-abbrev-table): Remove redundant declaration.
16735 (prolog-upper-case-string, prolog-lower-case-string): Remove.
16736 (prolog-use-smie): Remove.
16737 (prolog-smie-rules): Add indentation rule for the if-then-else layout
16738 supported by prolog-electric-if-then-else-flag.
16739 (prolog-mode-variables, prolog-menu): Use setq-local.
16740 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
16741 Remove binding to `Backspace' since this key doesn't exist anyway.
16742 Remove bindings for electric self-inserting keys.
16743 (prog-mode): Assume it's defined.
16744 (prolog-post-self-insert): New function.
16745 (prolog-mode): Use it.
16746 (prolog-indent-line, prolog-indent-level)
16747 (prolog-find-indent-of-matching-paren)
16748 (prolog-indentation-level-of-line, prolog-goto-comment-column)
16749 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
16750 (prolog-goto-next-paren, prolog-in-string-or-comment)
16751 (prolog-tokenize, prolog-inside-mline-comment)
16752 (prolog-find-start-of-mline-comment): Remove functions.
16753 (prolog-find-unmatched-paren, prolog-clause-end)
16754 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
16755 (prolog-electric--if-then-else): Rename from
16756 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
16757 (prolog-tokenize-searchkey): Remove const.
16758 (prolog-clause-info): Use forward-sexp.
16759 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
16760 (prolog-electric-if-then-else): Remove commands.
16761 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
16762 for use in post-self-insert-hook.
16763 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
16764 for use in post-self-insert-hook.
16765 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
16766 for use in post-self-insert-hook.
16767 (prolog-electric--underscore): Rename from prolog-electric--underscore;
16768 adapt it for use in post-self-insert-hook.
16770 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
16772 * emacs-lisp/ert.el (ert-run-tests-interactively):
16773 Use `completing-read'. (Bug#9756)
16775 2013-10-25 Eli Zaretskii <eliz@gnu.org>
16777 * simple.el (line-move): Call line-move-1 instead of
16778 line-move-visual when the current window hscroll is zero, but
16779 temporary-goal-column indicates we will need to hscroll as result
16780 of the movement. (Bug#15712)
16782 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
16784 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
16785 capitalization. Use :visible instead of :active.
16786 Fix `ruby-indent-exp' reference. Add menu items for the generic
16787 commands that are used with SMIE.
16788 (ruby-do-end-to-brace): Insert space after `{'.
16790 2013-10-25 John Anthony <john@jo.hnanthony.com>
16792 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
16794 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
16796 2013-10-25 Glenn Morris <rgm@gnu.org>
16798 * vc/vc.el (vc-print-log): Don't use a working revision unless
16799 one was explicitly specified. (Bug#15322)
16801 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16803 * subr.el (add-to-list): Preserve return value in compiler-macro
16806 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16808 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
16809 result. Ask user to retry using '-all' flag. (Bug#15701)
16811 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16813 * emacs-lisp/smie.el: New smie-config system.
16814 (smie-config): New defcustom.
16815 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
16816 (smie-config-guess, smie-config-save): New commands.
16817 (smie-config--mode-local, smie-config--buffer-local)
16818 (smie-config--trace, smie-config--modefuns): New vars.
16819 (smie-config--advice, smie-config--mode-hook)
16820 (smie-config--setter, smie-config-local, smie-config--get-trace)
16821 (smie-config--guess-value, smie-config--guess): New functions.
16822 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
16823 text properties. Treat "string fence" syntax like string syntax.
16825 * progmodes/sh-script.el (sh-use-smie): Change default.
16826 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
16827 (sh-var-value): Simplify by CSE.
16828 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
16829 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
16831 (sh-guess-basic-offset): Use cl-incf.
16832 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
16834 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
16836 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
16839 2013-10-24 Glenn Morris <rgm@gnu.org>
16841 * Makefile.in (abs_top_srcdir): Remove.
16842 (update-subdirs): Use relative path to update-subdirs.
16844 2013-10-24 Eli Zaretskii <eliz@gnu.org>
16846 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
16847 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
16848 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
16849 Call unmsys--file-name before expand-file-name, not after it.
16851 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
16853 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
16854 (ert-test-skipped): New error.
16855 (ert-skip, ert-stats-skipped): New defuns.
16856 (ert--skip-unless): New macro.
16857 (ert-test-skipped): New struct.
16858 (ert--run-test-debugger, ert-test-result-type-p)
16859 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
16860 (ert--stats-set-test-and-result, ert-char-for-test-result)
16861 (ert-string-for-test-result, ert-run-tests-batch)
16862 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
16863 Handle skipped tests. (Bug#9803)
16865 2013-10-24 Glenn Morris <rgm@gnu.org>
16867 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
16869 * Makefile.in (abs_top_srcdir): New, set by configure.
16870 (update-subdirs): Correct build-aux location.
16872 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
16874 * vc/vc.el (vc-print-root-log): Always set `default-directory'
16875 value, whether we could auto-deduce `backend', or not.
16877 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
16878 with parameters" example. Simplify the "is it block or is it
16879 hash" check, but also make it more thorough.
16881 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
16883 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
16885 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
16887 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
16888 { if it is hanging.
16890 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
16893 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
16895 * progmodes/compile.el (compilation-directory-matcher)
16896 (compilation-page-delimiter):
16897 Support GNU Make-4.0 directory quoting. (Bug#15678)
16899 2013-10-23 Leo Liu <sdl.web@gmail.com>
16901 * ido.el (ido-tidy): Handle read-only text.
16903 2013-10-23 Glenn Morris <rgm@gnu.org>
16905 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
16906 (emacs, compile, compile-always):
16907 Quote entities that might contain whitespace.
16908 (custom-deps, finder-data, autoloads): Use abs_lisp.
16909 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
16910 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
16911 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
16913 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
16915 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
16916 Use `following-char'.
16918 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
16920 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
16921 * progmodes/ruby-mode.el (ruby-smie-rules):
16922 Remove corresponding workaround. Fix indentation rule of ";" so it
16923 also applies when ";" is the parent.
16925 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
16927 * frame.el (display-screens, display-pixel-height)
16928 (display-pixel-width, display-mm-width, display-backing-store)
16929 (display-save-under, display-planes, display-color-cells)
16930 (display-visual-class, display-monitor-attributes-list):
16931 Mention the optional ‘display’ argument in doc strings.
16933 2013-10-22 Michael Gauland <mikelygee@amuri.net>
16935 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
16936 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
16938 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
16940 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
16941 TODO. Add "." after " @ ".
16942 (ruby-smie--at-dot-call): New function. Checks if point at method
16943 call with explicit target.
16944 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
16945 to the method name tokens when it precedes them.
16946 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
16947 (ruby-smie-rules): Add rule for indentation before and after "."
16950 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
16952 * textmodes/remember.el (remember-diary-extract-entries):
16955 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
16958 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
16960 * progmodes/ruby-mode.el (ruby-smie-grammar):
16961 Add (almost) all infix operators.
16962 (ruby-smie--implicit-semi-p): Add new operator chars.
16964 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
16966 (ruby-smie--args-separator-p): Check that there's no newline
16967 between method call and its arguments.
16969 2013-10-20 Alan Mackenzie <acm@muc.de>
16971 Allow comma separated lists after Java "implements".
16973 * progmodes/cc-engine.el (c-backward-over-enum-header):
16975 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
16976 from a "disallowed" list in enum fontification.
16978 2013-10-20 Johan Bockgård <bojohan@gnu.org>
16980 * startup.el (default-frame-background-mode): Remove unused defvar.
16982 * progmodes/verilog-mode.el (verilog-mode): Don't set
16983 comment-indent-function globally.
16985 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
16987 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
16988 Move Info menu item creation to ns-win.el.
16990 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
16993 * menu-bar.el: Move GNUstep specific menus...
16995 * term/ns-win.el (ns-initialize-window-system): ... to here.
16997 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16999 * simple.el (newline): Only run post-self-insert-hook when
17000 called interactively.
17002 2013-10-19 Johan Bockgård <bojohan@gnu.org>
17004 * icomplete.el (icomplete-with-completion-tables): Add :version.
17006 2013-10-19 Alan Mackenzie <acm@muc.de>
17008 Fix fontification bugs with constructors and const.
17010 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
17011 CASE 2) Remove the check for the absence of a suffix construct
17012 after a function declaration with only types (no identifiers) in
17013 the parentheses. Also, accept a function declaration with just a
17014 type inside the parentheses, if this type can be positively
17015 recognised as such, or if a prefix keyword like "explicit" nails
17016 down the construct as a declaration.
17018 2013-10-19 Eli Zaretskii <eliz@gnu.org>
17020 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
17021 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
17022 the problem whereby selecting a menu item that leads to a
17023 minibuffer prompt moves the cursor out of the minibuffer window,
17024 making it hard to type at the prompt. Suggested by Stefan Monnier
17025 <monnier@iro.umontreal.ca>.
17027 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
17029 * menu-bar.el: Don't make Services menu.
17031 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17033 * ffap.el: Handle "/usr/include/c++/<version>" directories.
17034 (ffap-alist): Use ffap-c++-mode for c++-mode.
17035 (ffap-c++-path): New variable.
17036 (ffap-c++-mode): New function.
17038 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
17040 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
17042 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
17044 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
17045 introduced on 2013-09-08, which results in an infinite loop
17046 requesting a password.
17048 2013-10-18 Glenn Morris <rgm@gnu.org>
17050 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
17052 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
17054 Sync with upstream verilog-mode revision 1a6ecec7.
17055 * progmodes/verilog-mode.el (verilog-mode-version): Update.
17056 (verilog-mode-release-date): Remove.
17057 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
17058 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
17059 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
17060 (verilog-auto-tieoff-ignore-regexp)
17061 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
17062 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
17063 (verilog-signals-with, verilog-dir-cache-preserving)
17064 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
17066 (verilog-case-fold): New option, to control case folding in
17067 regexp searches, bug597.
17068 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
17069 (verilog-string-match-fold, verilog-in-paren-count)
17070 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
17071 (verilog-at-close-struct-p): New functions.
17072 (verilog-beg-block-re-ordered, verilog-extended-case-re)
17073 (verilog-forward-sexp, verilog-set-auto-endcomments)
17074 (verilog-leap-to-case-head): Handle "unique0" case.
17075 (verilog-in-constraint-re): New constant.
17076 (verilog-keywords, verilog-type-font-keywords):
17077 Add some SystemVerilog 1800-2012 keywords.
17078 (verilog-label-be): Remove unimplemented argument, bug669.
17079 (verilog-batch-execute-func): When batch expanding clear
17080 create-lockfiles to prevent spurious user locks when a file ends
17082 (verilog-calculate-indent, verilog-calc-1)
17083 (verilog-at-close-constraint-p, verilog-at-constraint-p)
17084 (verilog-do-indent): Fix indentation of nested constraints
17086 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
17087 (verilog-auto-inst-param): Use verilog-string-match-fold.
17088 (verilog-read-inst-module-matcher):
17089 Fix AUTOINST on gate primitives with #1.
17090 (verilog-read-decls): Fix double-declaring user-defined typed signals.
17091 Reads all user-defined typed variables.
17092 (verilog-read-defines): Fix reading definitions inside comments, bug647.
17093 (verilog-signals-matching-regexp)
17094 (verilog-signals-not-matching-regexp, verilog-auto):
17095 Respect verilog-case-fold.
17096 (verilog-diff-report): Fix line count.
17097 (verilog-auto-assign-modport): Remove unused local `modi'.
17098 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
17099 better handle multidimensional arrays.
17100 Fix packed array ports misadding bit index in AUTOINST, bug637.
17101 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
17102 to not double-declare existing outputs and inputs, respectively.
17103 (verilog-template-map): Bind U to verilog-sk-uvm-component.
17104 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
17105 (verilog-sk-uvm-component): New skeleton.
17106 (verilog-submit-bug-report): Add verilog-case-fold,
17107 remove verilog-mode-release-date.
17109 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
17111 * subr.el (sit-for): Call (input-pending-p t) so as to behave
17114 2013-10-18 Reuben Thomas <rrt@sc3d.org>
17116 * textmodes/remember.el (remember): Set buffer-offer-save in
17117 remember buffers (bug#13566).
17119 2013-10-18 Daniel Colascione <dancol@dancol.org>
17121 When evaluating forms in ielm, direct standard output to ielm
17122 buffer. Add new ielm-return-for-effect command. Remove trailing
17123 whitespace throughout.
17125 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
17126 (ielm-return-for-effect): New command.
17127 (ielm-send-input): Accept optional `for-effect' parameter.
17128 (ielm-eval-input): Accept optional `for-effect' parameter.
17129 Bind `standard-output' to stream we create using
17130 `ielm-standard-output-impl'. Suppress printing result when
17132 (ielm-standard-output-impl): New function.
17133 (inferior-emacs-lisp-mode): Explain new features in documentation.
17135 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
17139 * net/tramp.el (tramp-debug-message): Do not check for connection
17141 (tramp-message): Use "vector" connection property.
17143 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
17144 (tramp-equal-remote, tramp-eshell-directory-change)
17145 * net/tramp-adb.el (tramp-adb-handle-copy-file)
17146 (tramp-adb-handle-rename-file)
17147 * net/tramp-cmds.el (tramp-list-remote-buffers)
17148 (tramp-cleanup-connection, tramp-cleanup-this-connection)
17149 * net/tramp-compat.el (tramp-compat-process-running-p)
17150 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
17151 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
17152 (tramp-gvfs-handle-rename-file)
17153 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
17154 (tramp-set-file-uid-gid)
17155 * net/tramp-smb.el (tramp-smb-handle-copy-file)
17156 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
17157 of `file-remote-p'.
17159 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
17160 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
17161 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
17162 (tramp-gw-open-network-stream): Suppress unrelated traces.
17164 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
17165 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
17166 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17167 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
17168 connection property.
17170 * net/tramp-cache.el (top): Suppress traces when reading
17173 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
17174 Refactor common code. Improve debug message.
17175 (tramp-maybe-open-connection)
17176 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
17177 connection buffer too early.
17179 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
17180 from `tramp-smb-actions-with-acl'.
17181 (tramp-smb-actions-set-acl): New defconst.
17182 (tramp-smb-handle-copy-directory)
17183 (tramp-smb-action-get-acl): New defun, renamed from
17184 `tramp-smb-action-with-acl'.
17185 (tramp-smb-action-set-acl): New defun.
17186 (tramp-smb-handle-set-file-acl): Rewrite.
17188 2013-10-17 Glenn Morris <rgm@gnu.org>
17190 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
17192 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17194 * skeleton.el (skeleton-newline): Remove.
17195 (skeleton-internal-1): Use (insert "\n") instead.
17197 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
17200 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
17201 forward-sexp-function while we redo its job (bug#15613).
17203 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
17205 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
17206 represented by lists.
17208 2013-10-16 Glenn Morris <rgm@gnu.org>
17210 * tmm.el (tmm--history): New dynamic variable.
17211 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
17213 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
17215 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
17216 (tramp-smb-errors): Add error messages.
17217 (tramp-smb-actions-with-acl): New defconst.
17218 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
17219 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
17220 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
17221 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
17222 (tramp-smb-get-stat-capability): Fix tests.
17224 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
17226 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
17229 2013-10-16 Glenn Morris <rgm@gnu.org>
17231 * ansi-color.el (ansi-color-drop-regexp):
17232 Add 1J, 1K, 2K. (Bug#15617)
17234 * files.el (hack-local-variables--warned-lexical): New.
17235 (hack-local-variables):
17236 Warn about misplaced lexical-binding. (Bug#15616)
17238 * net/eww.el (eww-render): Always set eww-current-url,
17239 and update header line. (Bug#15622)
17240 (eww-display-html): ... Rather than just doing it here.
17242 2013-10-15 Eli Zaretskii <eliz@gnu.org>
17244 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
17245 menu navigations commands.
17247 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
17249 * progmodes/subword.el (subword-capitalize): Be careful when
17250 the search for [[:alpha:]] fails (bug#15580).
17252 2013-10-14 Eli Zaretskii <eliz@gnu.org>
17254 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
17255 to commands that scroll the menu.
17257 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
17259 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
17260 Handle methods ending with `?' and `!'.
17262 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
17264 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
17265 `japanese-cp932' to `cp932' to fix the problem where saving a
17266 source file written in Shift_JIS twice would end up having
17267 `coding: japanese-cp932' which Ruby could not recognize.
17268 (ruby-mode-set-encoding): Add support for encodings mapped to nil
17269 in `ruby-encoding-map'.
17270 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
17271 doesn't need to be explicitly declared in magic comment.
17272 (ruby-encoding-map): Add type declaration for better customize UI.
17274 2013-10-13 Glenn Morris <rgm@gnu.org>
17276 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
17277 Occur buffers are read-only. http://bugs.debian.org/720775
17279 * emacs-lisp/authors.el (authors-fixed-entries):
17280 Comment out old alpha stuff.
17282 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
17284 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
17285 to `after-save-hook' instead of `before-save-hook'.
17286 (ruby-mode-set-encoding): Use the value of coding system used to
17287 write the file. Call `basic-save-buffer-1' after modifying the
17290 2013-10-13 Alan Mackenzie <acm@muc.de>
17292 Fix indentation/fontification of Java enum with
17293 "implements"/generic.
17295 * progmodes/cc-engine.el (c-backward-over-enum-header):
17296 Extracted from the three other places and enhanced to handle generics.
17297 (c-inside-bracelist-p): Uses new function above.
17298 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
17300 (c-font-lock-enum-tail): Uses new function above.
17302 2013-10-13 Kenichi Handa <handa@gnu.org>
17304 * international/mule-cmds.el (select-safe-coding-system): Remove a
17305 superfluous condition in chekcing whether a coding system is safe
17308 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
17310 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
17312 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
17314 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
17316 2013-10-13 Glenn Morris <rgm@gnu.org>
17318 * menu-bar.el (menu-bar-update-buffers):
17319 Unify Buffers menu prompt string. (Bug#15576)
17321 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
17323 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
17325 (authors-fixed-entries): Use accented form of name.
17327 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17329 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
17330 method calls (bug#15594).
17331 (ruby-smie--args-separator-p): New function.
17332 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
17333 recognize paren-free method calls.
17335 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
17336 internals of universal-argument.
17338 2013-10-11 Eli Zaretskii <eliz@gnu.org>
17340 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
17341 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
17342 dropped menu on second mouse click on the menu bar.
17344 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17346 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
17347 (explicit-shell-file-name): Declare.
17348 (sh--vars-before-point, sh--cmd-completion-table): New functions.
17349 (sh-completion-at-point-function): New function.
17351 (sh-smie--keyword-p): Remove unused argument.
17352 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
17354 (sh-set-shell): Always setup SMIE, even if we use the
17355 old indentation code.
17357 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
17359 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
17361 (ruby-smie-rules): Simplify the "do" rule. The cases when the
17362 predicate would return nil are almost non-existent.
17363 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
17365 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
17366 cache also after commands that modify the buffer but don't move
17369 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17371 * env.el (substitute-env-in-file-name): New function.
17372 (substitute-env-vars): Extend the meaning of the optional arg.
17374 2013-10-10 Eli Zaretskii <eliz@gnu.org>
17376 * term/w32-win.el (dynamic-library-alist): Define separate lists
17377 of GIF DLLs for versions before and after 5.0.0 of giflib.
17380 2013-10-10 João Távora <joaotavora@gmail.com>
17382 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
17383 not locked, use last revision and current source as
17384 defaults. (Bug#15569)
17386 2013-10-10 Masatake YAMATO <yamato@redhat.com>
17388 * menu-bar.el (menu-bar-open): Don't use popup-menu if
17389 menu-bar is hidden.
17391 2013-10-10 Martin Rudalics <rudalics@gmx.at>
17393 * window.el (pop-to-buffer-same-window): Fix doc-string.
17396 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17398 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
17400 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
17402 * calendar/icalendar.el (icalendar-import-file):
17403 Fix interactive spec. (Bug#15482)
17405 2013-10-10 Glenn Morris <rgm@gnu.org>
17407 * desktop.el (desktop-save): Default to saving in .emacs.d,
17408 since PWD is no longer in desktop-path by default. (Bug#15319)
17410 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
17411 now that text mode has a menu with the same entry.
17412 (menu-bar-text-mode-auto-fill): Remove now unused func.
17413 * textmodes/text-mode.el (text-mode-map):
17414 Use auto-fill help text from menu-bar.el.
17416 2013-10-10 John Anthony <john@jo.hnanthony.com>
17418 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
17420 2013-10-09 Juri Linkov <juri@jurta.org>
17422 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
17423 instead of this-command-keys. Add universal-argument-more and
17424 universal-argument-minus to the list of prefix commands. (Bug#15568)
17426 2013-10-09 Glenn Morris <rgm@gnu.org>
17428 * vc/vc-svn.el (vc-svn-create-repo):
17429 Expand paths in file://... url. (Bug#15446)
17431 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
17433 (authors): Remove unused local variables.
17435 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
17437 * profiler.el: Create a more coherent calltree from partial backtraces.
17438 (profiler-format): Hide the tail with `invisible' so that C-s can still
17439 find the hidden elements.
17440 (profiler-calltree-depth): Don't recurse so enthusiastically.
17441 (profiler-function-equal): New hash-table-test.
17442 (profiler-calltree-build-unified): New function.
17443 (profiler-calltree-build): Use it.
17444 (profiler-report-make-name-part): Indent the calltree less.
17445 (profiler-report-mode): Add visibility specs for profiler-format.
17446 (profiler-report-expand-entry, profiler-report-toggle-entry):
17447 Expand the whole subtree when provided with a prefix arg.
17449 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
17451 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
17453 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
17454 hanging iuwu-mod token.
17455 (ruby-smie--forward-token): Do not include a dot after a token in
17457 (ruby-smie--backward-token): Likewise.
17459 2013-10-08 Juri Linkov <juri@jurta.org>
17461 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
17462 to isearch-other-control-char.
17463 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
17464 and isearch-post-command-hook to post-command-hook.
17465 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
17466 and isearch-post-command-hook from post-command-hook.
17467 (isearch-unread-key-sequence)
17468 (isearch-reread-key-sequence-naturally)
17469 (isearch-lookup-scroll-key, isearch-other-control-char)
17470 (isearch-other-meta-char): Remove functions.
17471 (isearch-pre-command-hook, isearch-post-command-hook):
17472 New functions based on isearch-other-meta-char rewritten
17473 relying on the new behavior of overriding-terminal-local-map
17474 that does not replace the local keymaps any more. (Bug#15200)
17476 2013-10-08 Eli Zaretskii <eliz@gnu.org>
17478 Support menus on text-mode terminals.
17479 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
17482 * tooltip.el (tooltip-mode): Don't error out on TTYs.
17484 * menu-bar.el (popup-menu, popup-menu-normalize-position):
17485 Move here from mouse.el.
17486 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
17488 (tty-menu-navigation-map): New map for TTY menu navigation.
17490 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
17492 * frame.el (display-mouse-p): Report text-mode mouse as available
17494 (display-popup-menus-p): Report availability if mouse is
17495 available; don't condition on window-system.
17497 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
17498 (tty-menu-selected-face): New faces.
17500 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17502 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
17503 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
17504 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
17505 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
17507 (lisp-mode-variables): New `elisp' argument.
17508 (emacs-lisp-mode): Use it.
17509 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
17510 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
17512 * indent.el: Use lexical-binding.
17513 (indent-region): Add progress reporter.
17514 (tab-stop-list): Make it implicitly extend to infinity by repeating the
17516 (indent--next-tab-stop): New function to implement this behavior.
17517 (tab-to-tab-stop, move-to-tab-stop): Use it.
17519 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
17521 * indent.el (indent-rigidly--current-indentation): New function.
17522 (indent-rigidly-map): New var.
17523 (indent-rigidly): Use it to provide interactive mode (bug#8196).
17525 2013-10-08 Bastien Guerry <bzg@gnu.org>
17527 * register.el (insert-register): Fix 2013-10-07 change.
17529 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17531 * progmodes/perl-mode.el: Use lexical-binding.
17532 Remove redundant :group args.
17533 (perl-nochange): Change default to be closer to other major modes's
17535 (perl-indent-line): Don't consider text on current line as a
17536 valid beginning of function from which to indent.
17538 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
17539 with more than one argument (bug#15538).
17541 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
17543 * vc/pcvs.el: Use lexical-binding.
17544 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
17545 environment of `eval'.
17546 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
17547 than a list of expressions. Adjust callers.
17548 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
17550 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
17552 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
17553 case of the dot in a chained method call being on the following line.
17555 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17557 * electric.el (electric-indent-inhibit): New var.
17558 (electric-indent-post-self-insert-function): Use it.
17559 * progmodes/python.el (python-mode): Set it.
17561 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
17564 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
17566 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
17567 (css-mode): Use electric-indent-chars.
17569 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
17570 (font-lock-beg, font-lock-end): Move before first use.
17571 (nxml-mode): Use syntax-propertize-function.
17572 (nxml-after-change, nxml-after-change1): Adjust accordingly.
17573 (nxml-extend-after-change-region): Remove.
17574 * nxml/xmltok.el: Use lexical-binding.
17575 (xmltok-save): Use `declare'.
17576 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
17577 * nxml/nxml-util.el: Use lexical-binding.
17578 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
17580 * nxml/nxml-ns.el: Use lexical-binding.
17581 (nxml-ns-save): Use `declare'.
17582 (nxml-ns-prefixes-for): Avoid add-to-list.
17583 * nxml/rng-match.el: Use lexical-binding.
17584 (rng--ipattern): Use cl-defstruct.
17585 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
17586 (rng-cons-group-after, rng-subst-group-after)
17587 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
17588 Use closures instead of `(lambda...).
17590 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
17592 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
17595 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17596 Use `tramp-handle-insert-file-contents'.
17597 (tramp-gvfs-handle-insert-file-contents): Remove function.
17599 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17600 Use `save-restriction' in order to keep markers.
17602 * net/trampver.el: Update release number.
17604 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17606 * progmodes/compile.el (compilation-parse-errors):
17607 Use compilation--put-prop.
17608 (compilation--ensure-parse): Check compilation-multiline.
17610 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
17612 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
17615 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
17617 * progmodes/ruby-mode.el: Fix recently added tests.
17618 (ruby-smie-grammar): Add - and +.
17619 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
17620 (ruby-smie--backward-id): New functions.
17621 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
17622 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
17625 2013-10-07 Leo Liu <sdl.web@gmail.com>
17627 * register.el (register-preview-delay)
17628 (register-preview-functions): New variables.
17629 (register-read-with-preview, register-preview)
17630 (register-describe-oneline): New functions.
17631 (point-to-register, window-configuration-to-register)
17632 (frame-configuration-to-register, jump-to-register)
17633 (number-to-register, view-register, insert-register)
17634 (copy-to-register, append-to-register, prepend-to-register)
17635 (copy-rectangle-to-register): Use register-read-with-preview to
17636 read register. (Bug#15525)
17638 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
17640 * net/network-stream.el (network-stream-open-starttls): Don't add
17641 --insecure if it's already present, because that gnutls-cli
17642 rejects getting that parameter twice.
17644 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
17646 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
17649 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
17651 * newcomment.el (comment-use-global-state): Change default value
17652 to t, mark obsolete (Bug#15251).
17653 (comment-beginning): In addition to `comment-to-syntax', check the
17654 value of `comment-use-global-state'.
17656 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17658 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
17659 (ruby-comment-column): Follow the global default, by default.
17660 (ruby-smie-grammar): Add assignment syntax.
17661 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
17662 open-paren, a comma, or a \.
17663 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
17664 and line continuations.
17665 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
17666 followed by implicit semi-colons. Add rule for string concatenation
17667 and for indentation at BOB.
17668 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
17670 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
17671 calling next-sexp, since next-token may have skipped chars which
17672 next-sexp doesn't know should be skipped!
17674 2013-10-05 Leo Liu <sdl.web@gmail.com>
17676 * progmodes/octave.el (octave-send-region):
17677 Call compilation-forget-errors.
17679 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17681 * vc/vc-svn.el (vc-svn-find-admin-dir):
17682 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
17683 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
17684 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
17685 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
17687 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17689 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
17691 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17693 * subr.el (read-passwd): Hide chars even when called within a context
17694 where after-change-functions is disabled (bug#15501).
17695 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
17696 until we removed ourself from overriding-terminal-local-map.
17698 2013-10-04 Leo Liu <sdl.web@gmail.com>
17700 * progmodes/octave.el (inferior-octave-mode):
17701 Call compilation-forget-errors.
17703 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17705 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
17707 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
17709 * net/secrets.el (secrets-create-collection): Add optional
17710 argument ALIAS. Use proper Label keyword. Append ALIAS as
17711 dbus-call-method argument. (Bug#15516)
17713 2013-10-04 Leo Liu <sdl.web@gmail.com>
17715 * progmodes/octave.el (inferior-octave-error-regexp-alist)
17716 (inferior-octave-compilation-font-lock-keywords): New variables.
17717 (compilation-error-regexp-alist)
17718 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
17719 (inferior-octave-mode): Use compilation-shell-minor-mode.
17721 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
17723 * minibuffer.el (completion--replace): Be careful that `end' might be
17726 2013-10-03 Daiki Ueno <ueno@gnu.org>
17728 Add support for package signature checking.
17729 * emacs-lisp/package.el (url-http-file-exists-p)
17730 (epg-make-context, epg-context-set-home-directory)
17731 (epg-verify-string, epg-context-result-for)
17732 (epg-signature-status, epg-signature-to-string)
17733 (epg-check-configuration, epg-configuration)
17734 (epg-import-keys-from-file): Declare.
17735 (package-check-signature): New user option.
17736 (package-unsigned-archives): New user option.
17737 (package-desc): Add `signed' field.
17738 (package-load-descriptor): Set `signed' field if .signed file exists.
17739 (package--archive-file-exists-p): New function.
17740 (package--check-signature): New function.
17741 (package-install-from-archive): Check package signature.
17742 (package--download-one-archive): Check archive signature.
17743 (package-delete): Remove .signed file.
17744 (package-import-keyring): New command.
17745 (package-refresh-contents): Import default keyring.
17746 (package-desc-status): Add "unsigned" status.
17747 (describe-package-1, package-menu--print-info)
17748 (package-menu-mark-delete, package-menu--find-upgrades)
17749 (package-menu--status-predicate): Support "unsigned" status.
17751 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17753 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
17754 the new compilation scheme using the new byte-codes.
17756 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
17757 (byte-pophandler): New byte codes.
17758 (byte-goto-ops): Adjust accordingly.
17759 (byte-compile--use-old-handlers): New var.
17760 (byte-compile-catch): Use new byte codes depending on
17761 byte-compile--use-old-handlers.
17762 (byte-compile-condition-case--old): Rename from
17763 byte-compile-condition-case.
17764 (byte-compile-condition-case--new): New function.
17765 (byte-compile-condition-case): New function that dispatches depending
17766 on byte-compile--use-old-handlers.
17767 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
17770 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
17771 Optimize under `condition-case' and `catch' if
17772 byte-compile--use-old-handlers is nil.
17773 (disassemble-offset): Handle new bytecodes.
17775 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17777 * subr.el (error): Use `declare'.
17778 (decode-char, encode-char): Use advertised-calling-convention instead
17779 of the docstring to discourage use of the `restriction' arg.
17781 2013-10-03 Daiki Ueno <ueno@gnu.org>
17783 * epg.el (epg-verify-file): Add a comment saying that it does not
17784 notify verification error as a return value nor a signal.
17785 (epg-verify-string): Ditto.
17787 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
17789 * progmodes/compile.el (compilation-start): Try globbing the arg to
17792 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
17794 Sync with Tramp 2.2.8.
17796 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
17797 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
17798 * net/trampver.el: Update release number.
17800 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
17802 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17803 and default-process-coding-system for darwin only.
17805 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
17807 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
17809 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
17811 * vc/vc-git.el (vc-git-grep): Disable pager.
17813 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
17815 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
17816 Use :url instead of :homepage, as per
17817 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
17819 * newcomment.el (comment-beginning): When `comment-use-syntax' is
17820 non-nil, use `syntax-ppss' (Bug#15251).
17822 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17824 * progmodes/octave.el (inferior-octave-startup-file):
17825 Prefer ~/.emacs.d/init_octave.m.
17827 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
17829 * emacs-lisp/package.el (package-desc-from-define):
17830 Accept additional arguments as plist, convert them to an alist and store
17831 them in the `extras' slot.
17832 (package-generate-description-file): Convert extras alist back to
17833 plist and append to the `define-package' form arguments.
17834 (package--alist-to-plist): New function.
17835 (package--ac-desc): Add `extras' slot.
17836 (package--add-to-archive-contents): Check if the archive-contents
17837 vector is long enough, and if it is, pass its `extras' slot value
17838 to `package-desc-create'.
17839 (package-buffer-info): Call `lm-homepage', pass the returned value
17840 to `package-desc-from-define'.
17841 (describe-package-1): Render the homepage button (Bug#13291).
17843 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17844 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
17846 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
17848 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
17849 and default-process-coding-system to utf-8-unix (Bug#15402).
17851 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
17853 * subr.el (looking-back): Do not recommend using looking-back.
17855 2013-09-28 Alan Mackenzie <acm@muc.de>
17857 Fix indentation/fontification of Java enum with "implements".
17859 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
17860 regexp which matches "implements", etc., in Java.
17861 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
17862 specifier clauses coming after "enum".
17863 * progmodes/cc-fonts.el (c-font-lock-declarations)
17864 (c-font-lock-enum-tail): Check for extra specifier clauses coming
17867 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
17869 * faces.el (region): Change ns_selection_color to
17870 ns_selection_fg_color, add ns_selection_bg_color.
17872 2013-09-28 Leo Liu <sdl.web@gmail.com>
17874 * progmodes/octave.el (inferior-octave-completion-table)
17875 (inferior-octave-completion-at-point): Minor tweaks.
17877 * textmodes/ispell.el (ispell-lookup-words): Rename from
17878 lookup-words. (Bug#15460)
17879 (lookup-words): Obsolete.
17880 (ispell-complete-word, ispell-command-loop): All uses changed.
17882 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17884 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
17885 (octave-mode-menu): Add octave-send-buffer.
17886 (octave-send-buffer): New function.
17888 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17890 * progmodes/octave.el (octave-mode-map): Add key binding for
17892 (octave-mode-menu): Add octave-lookfor.
17893 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
17895 (octave-lookfor): New function.
17897 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17899 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
17900 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
17902 (cl--loop-set-iterator-function): New function.
17903 (cl-loop): Adjust accordingly, so as not to use cl-subst.
17904 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
17905 Bind `it' with `let' instead of substituting it with `cl-subst'.
17906 (cl--unused-var-p): New function.
17907 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
17908 Eliminate some unused variable warnings (bug#15326).
17910 2013-09-27 Tassilo Horn <tsdh@gnu.org>
17912 * doc-view.el (doc-view-scale-reset): Rename from
17913 `doc-view-reset-zoom-level'.
17914 (doc-view-scale-adjust): New command.
17915 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
17916 `doc-view-scale-adjust'.
17918 2013-09-26 Tassilo Horn <tsdh@gnu.org>
17920 * doc-view.el (doc-view-reset-zoom-level): New command.
17921 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
17922 zoom commands (bug#15466).
17924 2013-09-26 Kenichi Handa <handa@gnu.org>
17926 * international/quail.el (quail-help): Make it not a command.
17928 2013-09-26 Leo Liu <sdl.web@gmail.com>
17930 * minibuffer.el (completion-all-sorted-completions): Make args
17931 optional as they are.
17933 2013-09-25 Daniel Colascione <dancol@dancol.org>
17935 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
17936 specs are and that they're not evaluated.
17938 2013-09-24 Sam Steingold <sds@gnu.org>
17940 * midnight.el (clean-buffer-list-kill-regexps)
17941 (clean-buffer-list-kill-buffer-names): Update for the new Man
17942 buffer naming which includes the object name.
17944 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17946 * eshell/esh-cmd.el (eshell--sep-terms): New var.
17947 (eshell-parse-command, eshell-parse-pipeline): Use it since
17948 eshell-separate-commands requires a dynamic scoped var.
17949 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
17951 2013-09-23 Leo Liu <sdl.web@gmail.com>
17953 * autoinsert.el (auto-insert-alist): Make the value of
17954 lexical-binding match its file setting.
17956 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
17958 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
17960 * autoarg.el (autoarg-kp-digit-argument):
17961 * electric.el (Electric-command-loop):
17962 * kmacro.el (kmacro-step-edit-insert):
17963 Do not set universal-argument-num-events.
17965 2013-09-22 Leo Liu <sdl.web@gmail.com>
17967 * files.el (interpreter-mode-alist): Add octave.
17969 2013-09-21 Alan Mackenzie <acm@muc.de>
17971 C++: fontify identifier in declaration following "public:" correctly.
17972 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
17973 to match "public", etc.
17974 (c-decl-prefix-re): Add ":" into the C++ value.
17975 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
17976 bit. Add a check for a ":" preceded by "public", etc.
17978 2013-09-21 Eli Zaretskii <eliz@gnu.org>
17980 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
17981 recognized by GDB 7.5 and later.
17983 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
17985 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
17987 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17989 * subr.el (internal--call-interactively): New const.
17990 (called-interactively-p): Use it (bug#3984).
17992 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
17994 * vc/pcvs.el (cvs-mode-ignore):
17995 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
17996 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
17998 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18000 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
18001 (eshell-ls-orig-insert-directory): Remove.
18002 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
18003 (eshell-ls-use-in-dired): Use advice-add/remove.
18004 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
18005 Add `orig-fun' arg for use in :around advice.
18006 Make it check (redundantly) eshell-ls-use-in-dired.
18008 2013-09-19 Glenn Morris <rgm@gnu.org>
18010 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
18012 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
18014 * emacs-lisp/eieio.el (class-parent): Undo previous change.
18016 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
18018 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
18019 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
18020 (tramp-get-remote-python): New defuns.
18021 (tramp-get-remote-uid-with-perl)
18022 (tramp-get-remote-gid-with-perl): New defuns. Perl code
18023 contributed by yary <not.com@gmail.com> (tiny change).
18024 (tramp-get-remote-uid-with-python)
18025 (tramp-get-remote-gid-with-python): New defuns. Python code
18026 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
18027 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
18029 2013-09-19 Glenn Morris <rgm@gnu.org>
18031 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
18033 * eshell/em-unix.el (eshell-remove-entries):
18034 Rename argument to avoid name-clash with global `top-level'.
18036 * eshell/esh-proc.el (eshell-kill-process-function):
18037 Remove eshell-reset-after-proc from eshell-kill-hook if present.
18038 (eshell-reset-after-proc): Remove unused arg `proc'.
18040 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
18041 (directory-files-and-attributes): Mark unused arg.
18043 * eshell/em-unix.el (eshell-remove-entries):
18044 Remove unused arg `path'. Update callers.
18046 * eshell/em-hist.el (eshell-hist-parse-arguments):
18047 Remove unused arg `silent'. Update callers.
18049 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
18050 Fix (f)boundp mix-up.
18052 * eshell/em-smart.el (eshell-smart-scroll-window)
18053 (eshell-disable-after-change):
18054 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
18056 2013-09-18 Alan Mackenzie <acm@muc.de>
18058 Fix fontification of type when followed by "const".
18059 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
18060 "known" types from fontification.
18062 2013-09-18 Glenn Morris <rgm@gnu.org>
18064 * emacs-lisp/chart.el (x-display-color-cells): Declare.
18065 (chart-face-list): Drop Emacsen without display-color-p.
18067 * net/eww.el (libxml-parse-html-region): Declare.
18068 (eww-display-html): Explicit error if no libxml2 support.
18070 * doc-view.el (doc-view-mode): Silence --without-x compilation.
18072 * image.el (image-type-from-buffer, image-multi-frame-p):
18073 Remove --without-x warning/error.
18075 * mouse.el (mouse-yank-primary):
18076 * term.el (term-mouse-paste):
18077 Reorder to silence --without-x compilation.
18079 * mpc.el (doc-view-mode): Silence --without-x compilation.
18081 * mail/rmailmm.el (rmail-mime-set-bulk-data):
18082 Silence --without-x compilation.
18084 * progmodes/gud.el (gud-find-file, gud-mode):
18085 Silence --without-x compilation.
18086 (tooltip-mode): Declare.
18088 * wdired.el (dired-backup-overwrite): Remove declaration.
18089 (wdired-mode-map): Add doc string.
18091 * custom.el (x-get-resource): Declare.
18093 * eshell/em-glob.el (ange-cache):
18094 * eshell/em-unix.el (ange-cache): Declare.
18096 * faces.el (x-display-list, x-open-connection, x-get-resource):
18099 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
18100 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
18103 * frame.el (x-display-grayscale-p, x-display-name): Declare.
18105 * net/gnutls.el (gnutls-log-level): Declare.
18107 * net/shr.el (image-size, image-animate): Declare.
18109 * simple.el (font-info): Declare.
18111 * subr.el (x-popup-dialog): Declare.
18113 * term/common-win.el (x-select-enable-primary)
18114 (x-last-selected-text-primary, x-last-selected-text-clipboard):
18117 * term/ns-win.el (x-handle-args): Declare.
18119 * term/x-win.el (x-select-enable-clipboard): Declare.
18121 * term/w32-win.el (create-default-fontset): Declare.
18123 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
18126 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
18127 (fit-frame-to-buffer): Explicit error if --without-x.
18128 (mouse-autoselect-window-select): Silence compiler.
18130 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18132 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
18133 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
18134 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
18135 * eshell/esh-util.el (eshell-sublist):
18136 Remove unused local variables.
18138 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
18140 * textmodes/two-column.el: Make 2C-split work for --without-x.
18141 (scroll-bar-columns): Autoload.
18142 (top-level): Require fringe when compiling.
18144 2013-09-18 Leo Liu <sdl.web@gmail.com>
18146 * subr.el (add-hook): Robustify to handle closure as well.
18148 2013-09-17 Glenn Morris <rgm@gnu.org>
18150 * simple.el (messages-buffer-mode-map): Unbind "g".
18152 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18154 * help-mode.el (help-mode-finish): Use derived-mode-p.
18155 Remove obsolete highlighting.
18157 * play/life.el (life-mode): Use define-derived-mode. Derive from
18159 (life): Let-bind inhibit-read-only.
18160 (life-setup): Avoid `setq'. Use `life-mode'.
18162 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
18163 which should not be needed any more.
18164 (package-menu-refresh, package-menu-describe-package): Use user-error.
18166 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
18167 (eshell-post-rewrite-command-hook): Make obsolete.
18168 (eshell-parse-command): Simplify.
18169 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
18170 (eshell--cmd): Declare.
18171 (eshell-parse-pipeline): Remove unused var `final-p'.
18172 Pass a dynvar to eshell-post-rewrite-command-hook.
18173 Implement the new eshell-post-rewrite-command-function.
18174 (eshell-invoke-directly): Remove unused arg `input'.
18175 * eshell/esh-io.el (eshell-io-initialize):
18176 Use eshell-post-rewrite-command-function (bug#15399).
18177 (eshell--apply-redirections): Rename from eshell-apply-redirections;
18178 adjust to new calling convention.
18179 (eshell-create-handles): Rename args to avoid clashing with dynvar
18182 2013-09-17 Glenn Morris <rgm@gnu.org>
18184 * simple.el (messages-buffer-mode): New major mode.
18185 (messages-buffer): New function.
18186 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
18187 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
18188 (ert-run-test): Use `messages-buffer' function.
18189 (ert--force-message-log-buffer-truncation): Ignore read-only.
18190 * help.el (view-echo-area-messages): Use `messages-buffer' function.
18191 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
18193 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18195 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
18197 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
18199 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18201 * icomplete.el (icomplete-in-buffer): New var.
18202 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
18203 vars and replace them with functions.
18204 (icomplete-minibuffer-setup): Adjust accordingly.
18205 (icomplete--completion-table, icomplete--completion-predicate)
18206 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
18208 (icomplete-forward-completions, icomplete-backward-completions)
18209 (icomplete-simple-completing-p, icomplete-exhibit)
18210 (icomplete-completions): Use them.
18211 (icomplete--in-region-buffer): New var.
18212 (icomplete--in-region-setup): New function.
18213 (icomplete-mode): Use it.
18215 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
18217 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
18218 return args and options.
18219 (eshell-eval-using-options): Use the new return value of
18220 eshell--do-opts to set the options's vars in their scope.
18221 (eshell--set-option): Rename from eshell-set-option.
18222 Add arg `opt-vals'.
18223 (eshell--process-option): Rename from eshell-process-option.
18224 Add arg `opt-vals'.
18225 (eshell--process-args): Use an `opt-vals' alist to store the options's
18226 values during their processing and return them additionally to the
18229 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
18231 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
18232 continuation character an operator, as far as indentation is
18233 concerned (Bug#15369).
18235 2013-09-15 Martin Rudalics <rudalics@gmx.at>
18237 * window.el (window--state-put-2): Don't process buffer state
18238 when buffer doesn't exist any more (Bug#15382).
18240 2013-09-15 Glenn Morris <rgm@gnu.org>
18242 * eshell/em-unix.el (eshell/rm):
18243 Make -f ignore missing files. (Bug#15373)
18245 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
18246 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
18247 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
18249 2013-09-14 Glenn Morris <rgm@gnu.org>
18251 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
18253 2013-09-13 Glenn Morris <rgm@gnu.org>
18255 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
18256 (dired-guess-default): Make `file' available in the env. (Bug#15363)
18258 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
18260 * frame.el (x-focus-frame): Mark as declared in frame.c.
18262 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18264 * ls-lisp.el: Use advice-add.
18265 (original-insert-directory): Remove.
18266 (ls-lisp--insert-directory): Rename from insert-directory; add
18267 `orig-fun' argument.
18268 (insert-directory): Advise.
18270 2013-09-13 Eli Zaretskii <eliz@gnu.org>
18272 * term.el (term-emulate-terminal): Decode the command string
18273 before passing it to term-command-hook. (Bug#15337)
18275 2013-09-13 Glenn Morris <rgm@gnu.org>
18277 * eshell/esh-util.el (ange-cache): Move declaration earlier.
18279 * eshell/esh-ext.el (eshell-search-path): Declare.
18281 * eshell/em-prompt.el (eshell/pwd): Autoload it.
18282 Otherwise an error occurs if eshell-dirs module not loaded.
18284 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
18286 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
18288 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
18289 `tramp-check-proper-host'. Check for a valid method name.
18291 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18292 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
18293 * net/tramp-sh.el (tramp-maybe-open-connection):
18294 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
18296 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
18297 also for hash values.
18299 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18301 * term/ns-win.el (parameters): Don't declare as dynamic.
18302 (before-make-frame-hook): Don't add ineffective function.
18304 * eshell/*.el: Use lexical-binding (bug#15231).
18306 2013-09-12 Kenichi Handa <handa@gnu.org>
18308 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
18310 2013-09-12 Glenn Morris <rgm@gnu.org>
18312 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
18313 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
18315 * subr.el (do-after-load-evaluation): Also give compiler warnings
18316 when obsolete files are used (except by obsolete files).
18318 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
18319 in the status output, assume `filename' is the first. (Bug#15322)
18321 * vc/vc.el (vc-deduce-fileset): Doc fix.
18323 * calc/calc-help.el (Info-goto-node):
18324 * progmodes/cperl-mode.el (Info-find-node):
18325 * vc/ediff.el (Info-goto-node): Update declarations.
18327 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
18329 * vc/vc-bzr.el (vc-compilation-mode): Declare.
18330 (vc-bzr-pull): Require vc-dispatcher.
18331 * vc/vc-git.el (vc-compilation-mode): Declare.
18332 (vc-git-pull): Require vc-dispatcher.
18334 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
18336 * progmodes/octave.el (help-button-action): Declare.
18338 * shell.el (shell-directory-tracker): Output error as a message
18339 rather than just returning it as a string.
18340 (shell-process-pushd): Remove useless use of message.
18342 * dframe.el (dframe-timer-fn):
18343 * files.el (dir-locals-read-from-file):
18344 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
18346 * reveal.el (reveal-post-command):
18347 * saveplace.el (load-save-place-alist-from-file):
18348 * shell.el (shell-resync-dirs):
18349 * w32-common-fns.el (x-get-selection-value):
18350 * emacs-lisp/copyright.el (copyright-find-copyright):
18351 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
18352 * emulation/tpu-edt.el (tpu-copy-keyfile):
18353 * play/bubbles.el (bubbles--mark-neighbourhood):
18354 * progmodes/executable.el
18355 (executable-make-buffer-file-executable-if-script-p):
18356 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
18358 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18360 Cleanup Eshell to rely less on dynamic scoping.
18361 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
18362 last-value, and ext-command here. Bind `args' closer to `body'.
18363 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
18364 (eshell--args): Declare new dynamic var.
18365 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
18366 last-value, and ext-command. Pass `args' to `body'.
18367 (eshell-process-args): Bind eshell--args.
18368 (eshell-set-option): Use eshell--args.
18369 * eshell/eshell.el (eshell): Use derived-mode-p.
18370 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
18371 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
18372 (eshell-glob-function): Declare.
18373 * eshell/esh-util.el: Require cl-lib.
18374 (eshell-read-hosts-file): Avoid add-to-list.
18375 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
18377 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
18379 (eshell/diff): Remove unused var `err'.
18380 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
18382 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
18383 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
18385 * eshell/em-glob.el (eshell-glob-matches, message-shown):
18386 Move declaration before first use.
18387 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
18388 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
18391 2013-09-12 Glenn Morris <rgm@gnu.org>
18393 * term/ns-win.el (global-map): Remove binding for ispell-next,
18394 deleted 1999-05-29. (Bug#15357)
18396 2013-09-11 Glenn Morris <rgm@gnu.org>
18398 * echistory.el (electric-command-history): Remove call to deleted func.
18400 * play/landmark.el (landmark-mode): Fix typos.
18402 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
18403 Check cvs-sort-ignore-file is bound.
18405 * savehist.el: No need for cl when compiling on Emacs.
18407 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18409 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
18411 (eshell-self-insert-command, eshell-send-invisible):
18412 Remove unused argument.
18413 (eshell-handle-control-codes): Remove unused var `orig'.
18414 Avoid delete-backward-char.
18416 * files.el (set-auto-mode): Simplify a bit further.
18418 2013-09-11 Glenn Morris <rgm@gnu.org>
18420 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
18421 (set-auto-mode): Don't regexp-quote elements.
18422 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
18423 * progmodes/cc-mode.el (interpreter-mode-alist):
18424 * progmodes/ruby-mode.el (interpreter-mode-alist):
18425 Revert previous change.
18427 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18429 * play/snake.el (snake-mode):
18430 * play/mpuz.el (mpuz-mode):
18431 * play/landmark.el (lm-mode):
18432 * play/blackbox.el (blackbox-mode):
18433 * play/5x5.el (5x5-mode):
18434 * obsolete/options.el (Edit-options-mode):
18435 * net/quickurl.el (quickurl-list-mode):
18436 * net/newst-treeview.el (newsticker-treeview-mode):
18437 * mail/rmailsum.el (rmail-summary-mode):
18438 * mail/mspools.el (mspools-mode):
18439 * locate.el (locate-mode):
18440 * ibuffer.el (ibuffer-mode):
18441 * emulation/ws-mode.el (wordstar-mode):
18442 * emacs-lisp/debug.el (debugger-mode):
18443 * array.el (array-mode):
18444 * net/eudc.el (eudc-mode): Use define-derived-mode.
18445 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
18446 Move initialization into declaration.
18447 (mairix-searches-mode): Use define-derived-mode.
18448 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
18449 (eudc-edit-hotlist): Use dolist.
18450 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
18451 (Man-mode): Use define-derived-mode.
18452 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
18453 (Info-edit-mode): Use define-derived-mode.
18454 (Info-cease-edit): Use Info-mode.
18455 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
18457 (eshell-mode): Use define-derived-mode.
18458 * chistory.el (command-history-mode-map): Rename from
18459 command-history-map.
18460 (command-history-mode): Use define-derived-mode.
18461 (Command-history-setup): Remove function.
18462 * calc/calc.el (calc-trail-mode-map): New var.
18463 (calc-trail-mode): Use define-derived-mode.
18464 (calc-trail-buffer): Set calc-main-buffer manually.
18465 * bookmark.el (bookmark-insert-annotation): New function.
18466 (bookmark-edit-annotation): Use it.
18467 (bookmark-edit-annotation-mode): Make it a proper major mode.
18468 (bookmark-send-edited-annotation): Use derived-mode-p.
18469 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
18470 closer to its ideal place. Use \' to match EOS.
18472 * profiler.el (profiler-calltree-find): Use function-equal.
18474 2013-09-10 Glenn Morris <rgm@gnu.org>
18476 * files.el (interpreter-mode-alist): Convert to regexps.
18477 (set-auto-mode): Adapt for this. (Bug#15306)
18478 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
18479 Comment out unused variable.
18480 * progmodes/cc-mode.el (interpreter-mode-alist):
18481 * progmodes/python.el (interpreter-mode-alist):
18482 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
18483 * progmodes/sh-script.el (sh-set-shell):
18484 No longer use interpreter-mode-alist to get list of shells.
18486 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
18488 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18490 * simple.el: Use set-temporary-overlay-map for universal-argument.
18491 (universal-argument-map): Don't use default-bindings (bug#15317).
18492 Bind switch-frame explicitly. Replace universal-argument-minus with
18493 a conditional binding.
18494 (universal-argument-num-events, saved-overriding-map): Remove.
18495 (restore-overriding-map): Remove.
18496 (universal-argument--mode): Rename from save&set-overriding-map,
18498 (universal-argument, universal-argument-more, negative-argument)
18499 (digit-argument): Adjust accordingly.
18500 (universal-argument-minus): Remove.
18501 (universal-argument-other-key): Remove.
18503 * subr.el (with-demoted-errors): Add `format' argument.
18505 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
18507 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
18508 `tramp-cleanup-connection'.
18510 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
18511 parameters KEEP-DEBUG and KEEP-PASSWORD.
18513 * net/tramp.el (tramp-file-name-handler):
18514 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18515 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18516 (tramp-maybe-open-connection):
18517 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18518 Use `tramp-cleanup-connection'.
18520 * net/tramp-sh.el (tramp-maybe-open-connection):
18521 Catch 'uname-changed inside the progress reporter.
18523 2013-09-10 Glenn Morris <rgm@gnu.org>
18525 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
18527 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
18528 returns "alternate access method" in mode (eg "-rw-r--r--.").
18530 2013-09-08 Glenn Morris <rgm@gnu.org>
18532 * saveplace.el (load-save-place-alist-from-file):
18533 Demote errors. (Bug#15305)
18535 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
18537 Improve compatibility with older Emacsen, and XEmacs.
18539 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
18540 only if it is bound. It isn't for XEmacs.
18541 (with-tramp-progress-reporter): Do not let-bind `result'.
18542 This yields to scoping errors in XEmacs.
18543 (tramp-handle-make-auto-save-file-name): New function, moved from
18546 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
18547 for `make-auto-save-file-name'.
18548 (tramp-adb--gnu-switches-to-ash):
18549 Use `tramp-compat-replace-regexp-in-string'.
18551 * net/tramp-cache.el (tramp-cache-print): Call
18552 `substring-no-properties' only if it is bound. It isn't for XEmacs.
18554 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
18555 bound. It isn't for XEmacs.
18557 * net/tramp-compat.el (tramp-compat-copy-file):
18558 Catch `wrong-number-of-arguments' error.
18559 (tramp-compat-replace-regexp-in-string): New defun.
18561 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
18562 for `make-auto-save-file-name'.
18563 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
18565 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
18566 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
18567 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
18569 * net/tramp-gw.el (tramp-gw-open-network-stream):
18570 Use `tramp-compat-replace-regexp-in-string'.
18572 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18573 Call `tramp-handle-make-auto-save-file-name'.
18574 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
18575 (tramp-sh-file-gvfs-monitor-dir-process-filter)
18576 (tramp-sh-file-inotifywait-process-filter):
18577 Use `tramp-compat-replace-regexp-in-string'.
18578 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
18580 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
18581 for `make-auto-save-file-name'.
18582 (tramp-smb-handle-copy-directory):
18583 Call `tramp-compat-replace-regexp-in-string'.
18584 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
18585 (tramp-smb-handle-copy-file): Improve error message.
18586 (tramp-smb-handle-rename-file): Rename directly only in case
18587 `newname' does not exist yet. This is a restriction of smbclient.
18588 (tramp-smb-maybe-open-connection): Rerun the function only when
18589 `auth-sources' is non-nil.
18591 2013-09-08 Kenichi Handa <handa@gnu.org>
18593 * international/characters.el: Set category "^" (Combining) for
18596 2013-09-07 Alan Mackenzie <acm@muc.de>
18598 Correctly fontify Java class constructors.
18599 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
18601 (c-recognize-typeless-decls): Set the Java value to t.
18602 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18603 While handling a "(", add a check for, effectively, Java, and handle a
18604 "typeless" declaration there.
18606 2013-09-07 Roland Winkler <winkler@gnu.org>
18608 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
18609 field subtitle for entry type book.
18611 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18613 * minibuffer.el: Make minibuffer-complete call completion-in-region
18614 rather than other way around.
18615 (completion--some, completion-pcm--find-all-completions):
18616 Don't delay signals when debugging.
18617 (minibuffer-completion-contents): Beware fields within the
18618 minibuffer contents.
18619 (completion-all-sorted-completions): Use defvar-local.
18620 (completion--do-completion, completion--cache-all-sorted-completions)
18621 (completion-all-sorted-completions, minibuffer-force-complete):
18622 Add args `beg' and `end'.
18623 (completion--in-region-1): New fun, extracted from minibuffer-complete.
18624 (minibuffer-complete): Use completion-in-region.
18625 (completion-complete-and-exit): New fun, extracted from
18626 minibuffer-complete-and-exit.
18627 (minibuffer-complete-and-exit): Use it.
18628 (completion--complete-and-exit): Rename from
18629 minibuffer--complete-and-exit.
18630 (completion-in-region--single-word): New function, extracted from
18631 minibuffer-complete-word.
18632 (minibuffer-complete-word): Use it.
18633 (display-completion-list): Make `common-substring' argument obsolete.
18634 (completion--in-region): Call completion--in-region-1 instead of
18635 minibuffer-complete.
18636 (completion-help-at-point): Pass boundaries to
18637 minibuffer-completion-help as args rather than via an overlay.
18638 (completion-pcm--string->pattern): Use `any-delim'.
18639 (completion-pcm--optimize-pattern): New function.
18640 (completion-pcm--pattern->regex): Handle `any-delim'.
18641 * icomplete.el (icomplete-forward-completions)
18642 (icomplete-backward-completions, icomplete-completions):
18643 Adjust calls to completion-all-sorted-completions and
18644 completion--cache-all-sorted-completions.
18645 (icomplete-with-completion-tables): Default to t.
18646 * emacs-lisp/crm.el (crm--current-element): Rename from
18647 crm--select-current-element. Don't put an overlay but return the
18648 boundaries instead.
18649 (crm--completion-command): Take two new args to bind to the boundaries.
18650 (crm-completion-help): Adjust accordingly.
18651 (crm-complete): Use completion-in-region.
18652 (crm-complete-word): Use completion-in-region--single-word.
18653 (crm-complete-and-exit): Use completion-complete-and-exit.
18655 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18657 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
18660 2013-09-06 Juri Linkov <juri@jurta.org>
18662 * info.el (Info-display-images-node): When image file doesn't exist
18663 display text version of the image if it's provided in the Info file.
18664 Otherwise, display the location of missing image from SRC attribute.
18665 Add help-echo text property from ALT attribute. (Bug#15279)
18667 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18669 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
18670 (edit-abbrevs-mode): Use define-derived-mode.
18672 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
18673 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
18675 (epa-key-list-mode, epa-key-mode, epa-info-mode):
18676 Use define-derived-mode.
18678 * epg.el (epg-start-encrypt): Minor CSE simplification.
18680 2013-09-06 William Xu <william.xwl@gmail.com>
18682 * arc-mode.el: Add support for 7za (bug#15264).
18683 (archive-7z-program): New var.
18684 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
18685 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
18686 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
18688 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
18692 * net/tramp.el (tramp-syntax, tramp-prefix-format)
18693 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
18694 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
18695 (tramp-postfix-host-format, tramp-file-name-regexp)
18696 (tramp-completion-file-name-regexp)
18697 (tramp-completion-dissect-file-name)
18698 (tramp-handle-substitute-in-file-name): Remove 'url case.
18699 (tramp-file-name-regexp-url)
18700 (tramp-completion-file-name-regexp-url): Remove constants.
18702 2013-09-06 Glenn Morris <rgm@gnu.org>
18704 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
18706 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
18708 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
18709 keywords" below "here-doc beginnings" (Bug#15270).
18711 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18713 * subr.el (pop): Use `car-safe'.
18714 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
18715 to detect unused `pop' return value.
18717 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
18718 var `block-regexp'.
18719 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
18720 (python-fill-string): Remove unused var `marker'.
18721 (python-skeleton-add-menu-items): Remove unused var `items'.
18723 * international/mule-cmds.el: Require CL.
18724 (find-coding-systems-for-charsets): Avoid add-to-list.
18725 (sanitize-coding-system-list): New function, extracted from
18726 select-safe-coding-system-interactively.
18727 (select-safe-coding-system-interactively): Use it.
18728 (read-input-method-name): Accept symbols for `default'.
18730 * emacs-lisp/advice.el (defadvice): Add indent rule.
18732 2013-09-05 Daniel Hackney <dan@haxney.org>
18736 * net/browse-url.el:
18739 * net/eudcb-ldap.el:
18743 * vc/ediff-diff.el:
18744 * vc/ediff-init.el:
18745 * vc/ediff-merg.el:
18746 * vc/ediff-mult.el:
18747 * vc/ediff-util.el:
18748 * vc/ediff-wind.el:
18752 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
18753 byte compiler. Remove some unused let-bound variables.
18755 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
18757 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
18758 a "ref-cell", since it gets better optimized (bug#14883).
18760 2013-09-05 Glenn Morris <rgm@gnu.org>
18762 * progmodes/cc-awk.el (c-forward-sws): Declare.
18764 2013-09-04 Glenn Morris <rgm@gnu.org>
18766 * generic-x.el [rul-generic-mode]: Require cc-mode.
18767 (c++-mode-syntax-table): Declare.
18768 (rul-generic-mode-syntax-table): Init in the defvar.
18770 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
18772 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
18773 (vc-do-command, vc-set-async-update):
18774 * vc/vc-mtn.el (vc-mtn-dir-status):
18775 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
18776 (vc-hg-pull, vc-hg-merge-branch):
18777 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
18778 (vc-git-merge-branch):
18779 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
18780 (vc-cvs-dir-status-files):
18781 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
18782 (vc-bzr-dir-status-files):
18783 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
18784 * vc/vc-annotate.el: Use lexical-binding.
18785 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
18786 (vc-sentinel-movepoint): Declare.
18787 (vc-annotate): Don't use `goto-line'.
18788 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
18789 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
18790 (vc-sentinel-movepoint): Declare.
18791 * vc/vc-svn.el: Use lexical-binding.
18792 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
18794 * vc/vc-rcs.el: Use lexical-binding.
18796 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
18797 `deleted'. Don't drop errors silently.
18799 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
18801 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
18803 * vc/vc.el (vc-ignore): Rewrite.
18804 (vc-default-ignore): New function.
18805 (vc-default-ignore-completion-table): Use find-ignore-file.
18807 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
18808 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
18809 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
18810 Remove. Most code moved to vc.el.
18812 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
18814 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
18815 * net/tramp-smb.el (tramp-smb-get-file-entries):
18816 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
18817 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
18819 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
18821 (eww-change-select): Remove unused var `properties'.
18822 (eww-make-unique-file-name): Remove unused var `base'.
18824 * finder.el (finder-compile-keywords): Don't mess with windows.
18826 * calculator.el (calculator-funcall): Fix typo in last change.
18828 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
18830 * emacs-lisp/package.el (package-activate-1): Don't let a missing
18831 <pkg>-autoloads.el file stop us.
18833 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
18834 warnings, and factor out common code.
18836 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
18838 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
18839 two-character operators and whether the character preceding them
18840 changes their meaning (Bug#15208).
18842 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
18844 Format code sent to Python shell for robustness.
18845 * progmodes/python.el (python-shell-buffer-substring):
18847 (python-shell-send-region, python-shell-send-buffer): Use it.
18849 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
18851 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
18852 * net/tramp.el (tramp-user-error): ... here.
18853 (tramp-find-method, tramp-check-proper-host)
18854 (tramp-dissect-file-name, tramp-debug-message)
18855 (tramp-handle-shell-command):
18856 * net/tramp-adb.el (tramp-adb-handle-shell-command):
18857 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
18859 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
18861 2013-09-02 Martin Rudalics <rudalics@gmx.at>
18863 * avoid.el (mouse-avoidance-point-position)
18864 (mouse-avoidance-too-close-p): Handle case where posn-at-point
18867 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
18869 * progmodes/python.el (python-shell-completion-get-completions):
18870 Drop use of deleted `comint-last-prompt-overlay'.
18871 (python-nav-if-name-main): New command.
18873 2013-09-01 Glenn Morris <rgm@gnu.org>
18875 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
18876 Avoid leading space in $wins. Otherwise the sed command used by
18877 eg compile-main ends up containing "/*.el". (Bug#15170)
18879 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
18881 2013-08-30 Glenn Morris <rgm@gnu.org>
18883 * emacs-lisp/bytecomp.el (byte-recompile-directory):
18884 Fix is-this-a-directory logic. (Bug#15220)
18886 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18888 * textmodes/css-mode.el: Use SMIE.
18889 (css-smie-grammar): New var.
18890 (css-smie--forward-token, css-smie--backward-token)
18891 (css-smie-rules): New functions.
18892 (css-mode): Use them.
18893 (css-navigation-syntax-table): Remove var.
18894 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
18895 (css-indent-calculate, css-indent-line): Remove functions.
18897 Misc changes to reduce use of `(lambda...); and other cleanups.
18898 * cus-edit.el: Use lexical-binding.
18899 (customize-push-and-save, customize-apropos)
18900 (custom-buffer-create-internal): Use closures.
18901 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
18902 * progmodes/ada-xref.el: Use setq.
18903 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
18904 * dframe.el: Use lexical-binding.
18905 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
18906 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
18907 * descr-text.el: Use lexical-binding.
18908 (describe-text-widget, describe-text-sexp, describe-property-list):
18910 * comint.el (comint-history-isearch-push-state): Use a closure.
18911 * calculator.el: Use lexical-binding.
18912 (calculator-number-to-string): Make it work with lexical-binding.
18913 (calculator-funcall): Same and use cl-letf.
18915 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
18916 (lisp--company-doc-string, lisp--company-location): New functions.
18917 (lisp-completion-at-point): Use them to improve Company support.
18919 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
18920 params of lambda expressions.
18921 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
18922 (ruby-smie--opening-pipe-p): New function.
18923 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
18924 symbols and matched |...| for formal params.
18925 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
18926 from being treated as hanging. Handle "rescue".
18928 2013-08-29 Glenn Morris <rgm@gnu.org>
18930 * progmodes/cc-engine.el (c-pull-open-brace):
18931 Move definition before use.
18933 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
18935 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
18936 are immutable. Don't use `unsafe' any more.
18937 (cl--defsubst-expand): Don't substitute at the same time as keeping
18938 a residual unused let-binding. Don't use `unsafe' any more.
18940 2013-08-29 Glenn Morris <rgm@gnu.org>
18942 * calendar/cal-china.el (calendar-chinese-year-cache):
18945 * nxml/nxml-util.el (nxml-debug-clear-inside):
18946 Use cl-loop rather than loop.
18948 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
18950 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
18952 2013-08-28 Glenn Morris <rgm@gnu.org>
18954 * progmodes/antlr-mode.el: No need to require cc-mode twice.
18956 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
18958 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
18960 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18962 * simple.el (repeat-complex-command--called-interactively-skip):
18964 (repeat-complex-command): Use it (bug#14136).
18966 * progmodes/cc-mode.el: Minor cleanup of var declarations.
18967 (c-define-abbrev-table): Add `doc' argument.
18968 (c-mode-abbrev-table, c++-mode-abbrev-table)
18969 (objc-mode-abbrev-table, java-mode-abbrev-table)
18970 (idl-mode-abbrev-table, pike-mode-abbrev-table)
18971 (awk-mode-abbrev-table): Use it.
18972 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
18973 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
18974 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
18975 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
18976 Move initialization into the declaration; and remove any
18979 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
18980 and dynamic let binding.
18982 * vc/smerge-mode.el: Remove redundant :group args.
18984 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
18987 2013-08-28 Juri Linkov <juri@jurta.org>
18989 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
18990 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
18991 (isearch-other-meta-char): Handle an undefined shifted printing
18992 character by downshifting it. (Bug#15200)
18994 2013-08-28 Juri Linkov <juri@jurta.org>
18996 * isearch.el (isearch-search): Change regexp error message for
18997 non-regexp searches. (Bug#15166)
18999 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
19001 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
19002 for portability to hosts where /bin/sh has problems.
19004 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19006 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
19008 2013-08-27 Juri Linkov <juri@jurta.org>
19010 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
19011 in the keyboard macro. (Bug#15126)
19013 2013-08-27 Juri Linkov <juri@jurta.org>
19015 * isearch.el (isearch-quote-char): Comment out converting unibyte
19016 to multibyte, thus syncing with its `quoted-insert' counterpart.
19019 2013-08-27 Martin Rudalics <rudalics@gmx.at>
19021 * window.el (display-buffer-use-some-window): Add missing
19022 argument in call of get-largest-window (Bug#15185).
19023 Reported by Stephen Leake.
19025 2013-08-27 Glenn Morris <rgm@gnu.org>
19027 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
19029 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19031 * progmodes/python.el (python-font-lock-keywords): Don't return nil
19032 from a matcher-function unless there's no more matches (bug#15161).
19034 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
19036 * minibuffer.el: Revert change from 2013-08-20.
19038 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
19039 with text property `tramp-default', if appropriate.
19040 (tramp-check-proper-host): New defun.
19041 (tramp-dissect-file-name): Do not check hostname. Revert change
19043 (tramp-backtrace): Make VEC-OR-PROC optional.
19045 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
19046 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
19047 * net/tramp-sh.el (tramp-maybe-open-connection):
19048 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
19049 Apply `tramp-check-proper-host'.
19051 2013-08-26 Tassilo Horn <tsdh@gnu.org>
19053 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
19054 lambda expression in order to have `describe-variable' display it.
19056 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
19058 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
19059 BUF can be optional. (Bug#15186)
19061 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
19063 * progmodes/flymake.el (flymake-get-real-file-name-function):
19064 Fix broken customization. (Bug#15184)
19066 2013-08-25 Alan Mackenzie <acm@muc.de>
19068 Improve indentation of bracelists defined by macros (without "=").
19070 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
19071 expansion begins with "{", regard it as bracelist when it doesn't
19074 Parse C++ inher-intro when there's a template split over 2 lines.
19076 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
19077 rigorously the search for "class" etc. followed by ":".
19079 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
19080 random languages a regexp which never matches rather than nil.
19082 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
19084 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
19085 (c-awk-regexp-one-line-possibly-open-char-list-re)
19086 (c-awk-one-line-possibly-open-regexp-re)
19087 (c-awk-one-line-non-syn-ws*-re): Remove.
19088 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
19089 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
19090 (c-awk-space*-unclosed-regexp-/-re): New constants.
19091 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
19092 aren't regexp delimiters.
19094 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
19095 handling for a rare situation in AWK Mode involving unterminated
19098 2013-08-23 Glenn Morris <rgm@gnu.org>
19100 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
19102 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
19104 * files.el (create-file-buffer): If the result would begin with
19105 spaces, prepend a "|" instead of removing them. (Bug#15162)
19107 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19109 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
19110 text-properties (bug#15155).
19112 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
19114 (calc-keypad-redraw): Remove unused var `pad'.
19115 (calc-keypad-press): Remove unused var `menu'.
19117 2013-08-23 Martin Rudalics <rudalics@gmx.at>
19119 * window.el (display-buffer-pop-up-frame):
19120 Call pop-up-frame-function with BUFFER current so `make-frame' will
19121 use it as the new frame's buffer (Bug#15133).
19123 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19125 * calendar/timeclock.el: Minor cleanups.
19126 (timeclock-ask-before-exiting, timeclock-use-display-time):
19128 (timeclock-modeline-display): Define as alias before the
19130 (timeclock-mode-line-display): Use define-minor-mode.
19131 (timeclock-day-list-template): Make it a function, add an argument.
19132 (timeclock-day-list-required, timeclock-day-list-length)
19133 (timeclock-day-list-debt, timeclock-day-list-span)
19134 (timeclock-day-list-break): Adjust calls accordingly.
19136 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19138 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
19139 Use read--expression so that completion works again.
19141 2013-08-21 Sam Steingold <sds@gnu.org>
19143 Add rudimentary inferior shell interaction
19144 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
19145 (sh-set-shell): Reset it.
19146 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
19147 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
19149 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
19151 * align.el: Use lexical-binding.
19152 (align-region): Simplify accordingly.
19154 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
19156 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
19158 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
19159 `non-essential' up.
19161 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
19164 * net/tramp-adb.el:
19165 * net/tramp-cmds.el:
19166 * net/tramp-ftp.el:
19167 * net/tramp-gvfs.el:
19169 * net/tramp-sh.el: Don't wrap external variable declarations by
19170 `eval-when-compile'.
19172 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19174 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
19175 now that Emacs supports ImageMagick animations.
19177 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
19179 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
19180 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
19182 2013-08-16 Martin Rudalics <rudalics@gmx.at>
19184 * window.el (mouse-autoselect-window-select): Do autoselect when
19185 mouse pointer is on margin.
19187 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
19189 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
19191 2013-08-16 Glenn Morris <rgm@gnu.org>
19193 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
19194 Handle "Remote Directory" response of some clients. (Bug#15058)
19196 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
19197 Tweak warning. (Bug#14926)
19199 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
19200 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
19202 * image-mode.el (image-mode-map): Add menu items to reverse,
19203 increase, decrease, reset animation speed.
19204 (image--set-speed, image-increase-speed, image-decrease-speed)
19205 (image-reverse-speed, image-reset-speed): New functions.
19206 (image-mode-map): Add bindings for speed commands.
19208 * image.el (image-animate-get-speed, image-animate-set-speed):
19210 (image-animate-timeout): Respect image :speed property.
19212 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19214 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
19215 previous line (bug#15101).
19216 (debugger-eval-expression, debugger-record-expression):
19217 Use read--expression (bug#15102).
19219 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
19221 Remove byte compiler warnings, visible when compiling with
19222 `byte-compile-force-lexical-warnings' set to t.
19224 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
19225 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
19226 (tramp-handle-unhandled-file-name-directory)
19227 (tramp-handle-file-notify-add-watch, tramp-action-login)
19228 (tramp-action-succeed, tramp-action-permission-denied)
19229 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
19230 arguments with "_".
19232 * net/tramp-adb.el (tramp-adb-parse-device-names)
19233 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
19234 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
19235 (tramp-adb-handle-file-truename): Remove unused arguments.
19237 * net/tramp-cache.el (tramp-flush-directory-property)
19238 (tramp-flush-connection-property, tramp-list-connections)
19239 (tramp-parse-connection-properties): Prefix unused arguments with "_".
19241 * net/tramp-compat.el (tramp-compat-make-temp-file):
19242 Rename FILENAME to F.
19244 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
19245 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
19246 (tramp-zeroconf-parse-workstation-device-names)
19247 (tramp-zeroconf-parse-webdav-device-names)
19248 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
19250 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
19251 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
19253 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
19255 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
19256 (tramp-sh-handle-insert-file-contents-literally)
19257 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
19259 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
19260 Remove unused variables.
19262 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
19263 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
19264 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
19266 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
19267 Make them a defconst.
19268 (tramp-uuencode-region): Remove unused variable.
19270 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
19272 * frameset.el (frameset--prop-setter): New function.
19273 (frameset-prop): Add gv-setter declaration.
19274 (frameset-filter-minibuffer): Deal with the case that the minibuffer
19275 parameter was already set in FILTERED. Doc fix.
19276 (frameset--record-minibuffer-relationships): Allow saving a
19277 minibufferless frame without its corresponding minibuffer frame.
19278 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
19279 frame, if the frame id matches.
19280 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
19281 frames before orphaned ones.
19282 (frameset-restore): Warn about orphaned windows, instead of error out.
19284 2013-08-14 Martin Rudalics <rudalics@gmx.at>
19286 * window.el (window-make-atom): Don't overwrite parameter
19288 (display-buffer-in-atom-window): Handle special case where we
19289 split an already atomic window.
19290 (window--major-non-side-window, display-buffer-in-side-window)
19291 (window--side-check): Ignore minibuffer window when walking
19293 (window-deletable-p): Return 'frame only if no other frame uses
19294 our minibuffer window.
19295 (record-window-buffer): Run buffer-list-update-hook.
19296 (split-window): Make sure window--check-frame won't destroy an
19297 existing atomic window in case the new window gets nested
19299 (display-buffer-at-bottom): Ignore minibuffer window when
19300 walking window tree. Don't split a side window.
19301 (pop-to-buffer): Don't set-buffer here, the select-window call
19303 (mouse-autoselect-window-select): Autoselect only if we are in the
19304 text portion of the window.
19306 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19308 * net/shr.el (shr-parse-image-data): New function to grab both the
19309 data itself and the Content-Type.
19310 (shr-put-image): Use it.
19312 * net/eww.el (eww-display-image): Ditto.
19314 * image.el (image-content-type-suffixes): New variable.
19316 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
19318 * progmodes/python.el (python-imenu--build-tree)
19319 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
19321 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
19323 * simple.el (backward-word): Mention the optional argument.
19325 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19327 * frameset.el (frameset--make): Rename constructor from make-frameset.
19328 (frameset-p, frameset-valid-p): Don't autoload.
19329 (frameset-valid-p): Use normal accessors.
19331 2013-08-13 Glenn Morris <rgm@gnu.org>
19333 * progmodes/compile.el (compile-command): Tweak example in doc.
19334 * obsolete/scribe.el (scribe-mode):
19335 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
19337 * mail/feedmail.el (feedmail-confirm-outgoing)
19338 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
19340 * cus-start.el (truncate-partial-width-windows): Fix type.
19342 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
19344 * net/shr.el (shr-table-horizontal-line): Fix custom type.
19346 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19348 * emacs-lisp/timer.el (timer--time-setter): New function.
19349 (timer--time): Use it as gv-setter.
19351 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
19352 setter is not a symbol.
19354 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
19356 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
19357 if sending fails. This makes debugging easier.
19359 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
19361 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
19362 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
19363 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
19365 2013-08-12 Eli Zaretskii <eliz@gnu.org>
19367 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
19369 2013-08-12 Glenn Morris <rgm@gnu.org>
19371 * format.el (format-annotate-function):
19372 Handle read-only text properties in the source. (Bug#14887)
19374 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19376 * net/eww.el (eww-display-html): Ignore coding system errors.
19377 One web site uses "utf-8lias" as the coding system.
19379 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
19381 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
19383 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
19385 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
19386 (tutorial--detailed-help): Remove unused local variables.
19387 (tutorial--save-tutorial-to): Use ignore-errors.
19388 (help-with-tutorial): Use looking-at-p.
19390 * view.el (view-buffer-other-window, view-buffer-other-frame):
19391 Mark unused arguments.
19393 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
19394 (woman-select-symbol-fonts, woman, woman-find-file)
19395 (woman-insert-file-contents, woman-non-underline-faces):
19396 Use string-match-p.
19397 (woman1-unquote): Move declaration.
19399 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
19400 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
19401 argument. Remove unused local variable.
19402 (xml-parse-elem-type): Use string-match-p.
19403 (xml-substitute-numeric-entities): Use ignore-errors.
19405 * calculator.el (calculator): Mark unused argument.
19406 (calculator-paste, calculator-quit, calculator-integer-p):
19408 (calculator-string-to-number, calculator-decimal, calculator-exp)
19409 (calculator-op-or-exp): Use string-match-p.
19411 * dired.el (dired-buffer-more-recently-used-p): Declare.
19412 (dired-insert-set-properties, dired-insert-old-subdirs):
19415 * dired-aux.el (dired-compress): Use ignore-errors.
19416 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
19417 (dired-do-async-shell-command, dired-do-shell-command)
19418 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
19419 (dired-insert-subdir-validate): Use string-match-p.
19420 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
19421 (dired-add-entry): Use string-match-p, looking-at-p.
19422 (dired-insert-subdir-newpos): Remove unused local variable.
19424 * filenotify.el (file-notify-callback): Remove unused local variable.
19426 * filesets.el (filesets-error): Mark unused argument.
19427 (filesets-which-command-p, filesets-filter-dir-names)
19428 (filesets-directory-files, filesets-get-external-viewer)
19429 (filesets-ingroup-get-data): Use string-match-p.
19431 * find-file.el (ff-other-file-name, ff-other-file-name)
19432 (ff-find-the-other-file, ff-cc-hh-converter):
19433 Remove unused local variables.
19434 (ff-get-file-name): Use string-match-p.
19435 (ff-all-dirs-under): Use ignore-errors.
19437 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
19438 (follow-select-if-visible): Remove unused local variable.
19440 * forms.el (read-file-filter): Move declaration.
19441 (forms--make-format, forms--make-parser, forms-insert-record):
19442 Quote function with #'.
19443 (forms--update): Use string-match-p. Quote function with #'.
19445 * help-mode.el (help-dir-local-var-def): Mark unused argument.
19446 (help-make-xrefs): Use looking-at-p.
19447 (help-xref-on-pp): Use looking-at-p, ignore-errors.
19449 * ibuffer.el (ibuffer-ext-visible-p): Declare.
19450 (ibuffer-confirm-operation-on): Use string-match-p.
19452 * msb.el (msb-item-handler, msb-dired-item-handler):
19453 Mark unused arguments.
19455 * ses.el (ses-decode-cell-symbol)
19456 (ses-kill-override): Remove unused local variable.
19457 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
19458 (ses-load): Use ignore-errors, looking-at-p.
19459 (ses-jump-safe): Use ignore-errors.
19460 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
19462 * tabify.el (untabify, tabify): Mark unused arguments.
19464 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
19465 Mark unused argument.
19466 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
19467 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
19469 * emacs-lisp/timer.el (timer--time): Define setter with
19470 gv-define-setter to avoid deprecation warning.
19472 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
19473 (*record-cmpl-statistics-p*): Remove (was commented out).
19474 (cmpl-statistics-block): Remove (body was commented out).
19475 All callers changed.
19476 (add-completions-from-buffer, load-completions-from-file):
19477 Remove unused variables.
19479 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19481 * filecache.el (file-cache-delete-file-list):
19482 Print message only when told so.
19483 (file-cache-files-matching): Use #' in mapconcat argument.
19485 * ffap.el (ffap-url-at-point): Fix reference to variable
19486 thing-at-point-default-mail-uri-scheme.
19488 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
19490 * subr.el (define-error): New function.
19491 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
19492 error-file-not-found and define with define-error.
19493 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
19494 and define with define-error.
19495 * userlock.el (file-locked, file-supersession):
19496 * simple.el (mark-inactive):
19497 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
19498 * progmodes/ada-mode.el (ada-mode-errors):
19499 * play/life.el (life-extinct):
19500 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
19501 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
19502 * nxml/rng-util.el (rng-error):
19503 * nxml/rng-uri.el (rng-uri-error):
19504 * nxml/rng-match.el (rng-compile-error):
19505 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
19506 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
19507 * nxml/nxml-rap.el (nxml-scan-error):
19508 * nxml/nxml-outln.el (nxml-outline-error):
19509 * net/soap-client.el (soap-error):
19510 * net/gnutls.el (gnutls-error):
19511 * net/ange-ftp.el (ftp-error):
19512 * mpc.el (mpc-proc-error):
19513 * json.el (json-error, json-readtable-error, json-unknown-keyword)
19514 (json-number-format, json-string-escape, json-string-format)
19515 (json-key-format, json-object-format):
19516 * jka-compr.el (compression-error):
19517 * international/quail.el (quail-error):
19518 * international/kkc.el (kkc-error):
19519 * emacs-lisp/ert.el (ert-test-failed):
19520 * calc/calc.el (calc-error, inexact-result, math-overflow)
19522 * bookmark.el (bookmark-error-no-filename):
19523 * epg.el (epg-error): Define with define-error.
19525 * time.el (display-time-event-handler)
19526 (display-time-next-load-average): Don't call sit-for since it seems
19527 unnecessary (bug#15045).
19529 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
19530 Use #' instead of ' to quote functions.
19531 (checkdoc-output-mode): Use setq-local.
19532 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
19533 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
19534 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
19535 (checkdoc-ispell, checkdoc-ispell-current-buffer)
19536 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
19537 (checkdoc-ispell-message-text, checkdoc-ispell-start)
19538 (checkdoc-ispell-continue, checkdoc-ispell-comments)
19539 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
19541 * ido.el (ido-completion-help): Fix up compiler warning.
19543 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19545 * frameset.el (frameset-p): Add autoload cookie.
19546 (frameset--jump-to-register): New function, based on code moved from
19548 (frameset-to-register): Move from register.el. Adapt to `registerv'.
19550 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
19551 (frameset-restore, frameset-save, frameset-session-filter-alist):
19552 Remove declarations.
19553 (register-alist): Doc fix.
19554 (frameset-to-register): Move to frameset.el.
19555 (jump-to-register, describe-register-1): Remove frameset-specific code.
19557 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19559 * allout-widgets.el (allout-widgets-pre-command-business)
19560 (allout-widgets-post-command-business)
19561 (allout-widgets-after-change-handler)
19562 (allout-decorate-item-and-context, allout-set-boundary-marker)
19563 (allout-body-modification-handler)
19564 (allout-graphics-modification-handler): Mark ignored arguments.
19565 (allout-widgets-post-command-business)
19566 (allout-widgets-exposure-change-processor)
19567 (allout-widgets-exposure-undo-processor)
19568 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
19569 (allout-parse-item-at-point, allout-decorate-item-guides)
19570 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
19571 * allout.el (epa-passphrase-callback-function): Declare.
19572 (allout-overlay-insert-in-front-handler)
19573 (allout-overlay-interior-modification-handler)
19574 (allout-isearch-end-handler, allout-chart-siblings)
19575 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
19576 (allout-yank-processing, allout-process-exposed)
19577 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
19578 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
19579 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
19580 (lisp-indent-defform): Mark ignored arguments.
19581 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
19582 (calculate-lisp-indent): Remove unused variables.
19583 * international/characters.el (indian-2-column, arabic-2-column)
19584 (tibetan): Mark ignored arguments.
19585 (use-cjk-char-width-table): Mark ignored arguments.
19586 Remove unused variables.
19587 * international/fontset.el (build-default-fontset-data)
19588 (x-compose-font-name, create-fontset-from-fontset-spec):
19589 Mark ignored arguments.
19590 (fontset-plain-name): Remove unused variables.
19591 * international/mule.el (charset-id, charset-bytes, generic-char-p)
19592 (keyboard-coding-system): Mark ignored arguments.
19593 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
19594 * help.el (resize-temp-buffer-window):
19595 * window.el (display-buffer-in-major-side-window)
19596 (display-buffer-in-side-window, display-buffer-in-previous-window):
19597 Remove unused variables.
19598 * isearch.el (isearch-forward-symbol):
19599 * version.el (emacs-bzr-version-bzr):
19600 * international/mule-cmds.el (current-language-environment):
19601 * term/common-win.el (x-handle-iconic, x-handle-geometry)
19602 (x-handle-display):
19603 * term/pc-win.el (x-list-fonts, x-display-planes)
19604 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
19605 (x-server-version, x-display-screens, x-display-mm-height)
19606 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
19607 (x-selection-owner-p, x-own-selection-internal)
19608 (x-disown-selection-internal, x-get-selection-internal)
19609 (msdos-initialize-window-system):
19610 * term/tty-colors.el (tty-color-alist, tty-color-clear):
19611 * term/x-win.el (x-handle-no-bitmap-icon):
19612 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
19613 (vc-default-find-file-hook, vc-default-extra-menu):
19614 Mark ignored arguments.
19616 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19618 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
19619 break-condition in the context of the debugged code (bug#12685).
19621 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
19624 Do not use an overlay to highlight the last prompt. (Bug#14744)
19625 (comint-mode): Make comint-last-prompt buffer local.
19626 (comint-last-prompt): New variable.
19627 (comint-last-prompt-overlay): Remove. Superseded by
19628 comint-last-prompt.
19629 (comint-snapshot-last-prompt, comint-output-filter):
19630 Use comint-last-prompt.
19632 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19634 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
19635 (frameset-save): Check validity of the resulting frameset.
19637 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
19639 * ido.el (ido-record-command): Add doc string.
19641 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19643 * frameset.el (frameset): Do not disable creation of the default
19644 frameset-p predicate. Doc fix.
19645 (frameset-valid-p): New function, copied from the old predicate-p.
19646 Add additional checks.
19647 (frameset-restore): Check with frameset-valid-p.
19648 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
19649 (frameset-name, frameset-description, frameset-properties)
19650 (frameset-states): Add docstring.
19651 (frameset-session-filter-alist, frameset-persistent-filter-alist)
19652 (frameset-filter-alist): Doc fixes.
19654 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19656 * frameset.el (frameset-p, frameset-prop): Doc fixes.
19658 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19660 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
19661 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
19662 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
19663 (byte-compile-normal-call): Remove obsolescence check.
19665 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19667 * frameset.el (frameset-restore): Doc fix.
19669 * register.el (frameset-frame-id, frameset-frame-with-id)
19670 (frameset-p, frameset-restore, frameset-save): Declare.
19671 (register-alist): Document framesets.
19672 (frameset-session-filter-alist): Declare.
19673 (frameset-to-register): New function.
19674 (jump-to-register): Implement jumping to framesets. Doc fix.
19675 (describe-register-1): Describe framesets.
19677 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
19679 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
19681 * desktop.el (desktop-save-frameset): Use new frameset-save args.
19682 Use lexical-binding.
19684 * frameset.el (frameset): Use type vector, not list (incompatible
19685 change). Do not declare a new constructor, use the default one.
19686 Upgrade suggested properties `app', `name' and `desc' to slots `app',
19687 `name' and `description', respectively, and add read-only slot
19688 `timestamp'. Doc fixes.
19689 (frameset-copy, frameset-persistent-filter-alist)
19690 (frameset-filter-alist, frameset-switch-to-gui-p)
19691 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
19692 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
19693 (frameset-filter-iconified, frameset-keep-original-display-p):
19695 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
19696 Rename from frameset-filter-(save|restore)-param. All callers changed.
19698 (frameset-p): Adapt to change to vector and be more thorough.
19699 Change arg name to OBJECT. Doc fix.
19700 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
19701 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
19702 All callers changed.
19703 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
19704 All callers changed.
19705 (frameset--record-minibuffer-relationships): Rename from
19706 frameset--process-minibuffer-frames. All callers changed.
19707 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
19708 Use new default constructor (again). Doc fix.
19709 (frameset--find-frame-if): Rename from `frameset--find-frame'.
19710 All callers changed.
19711 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
19712 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
19714 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
19715 PARAMETERS and WINDOW-STATE, respectively.
19716 (frameset-restore): Add new keyword argument PREDICATE.
19717 Reset frameset--target-display to nil. Doc fix.
19719 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19721 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
19722 (bat-mode): Use it.
19723 (bat-mode-syntax-table): Mark \n as end-of-comment.
19724 (bat-font-lock-keywords): Remove comment rule.
19726 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
19727 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
19729 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
19730 (byte-compile-callargs-warn): Use `push'.
19731 (byte-compile-arglist-warn): Ignore higher-order "calls".
19732 (byte-compile-file-form-autoload): Use `pcase'.
19733 (byte-compile-function-form): If quoting a symbol, check that it exists.
19735 2013-08-07 Eli Zaretskii <eliz@gnu.org>
19737 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
19738 and add a few popular commands found in batch files.
19739 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
19740 (dos-mode): Doc fixes.
19742 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
19744 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
19745 (dos-mode): Use setq-local. Add space after "rem".
19746 (dos-mode-syntax-table): Don't use "w" for symbol chars.
19747 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
19749 2013-08-07 Arni Magnusson <arnima@hafro.is>
19751 * progmodes/dos.el: New file.
19752 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
19755 2013-08-06 Glenn Morris <rgm@gnu.org>
19757 * calendar/calendar.el: Add new faces, and day-header-array.
19758 (calendar-weekday-header, calendar-weekend-header)
19759 (calendar-month-header): New faces.
19760 (calendar-day-header-construct): New function.
19761 (calendar-day-header-width): Also :set calendar-day-header-array.
19762 (calendar-american-month-header, calendar-european-month-header)
19763 (calendar-iso-month-header): Use calendar- faces.
19764 (calendar-generate-month):
19765 Use calendar-day-header-array for day headers; apply faces to them.
19766 (calendar-mode): Check calendar-font-lock-keywords non-nil.
19767 (calendar-abbrev-construct): Add optional maxlen argument.
19768 (calendar-day-name-array): Doc fix.
19769 (calendar-day-name-array, calendar-abbrev-length)
19770 (calendar-day-abbrev-array):
19771 Also :set calendar-day-header-array, and maybe redraw.
19772 (calendar-day-header-array): New option. (Bug#15007)
19773 (calendar-font-lock-keywords): Set to nil and make obsolete.
19774 (calendar-day-name): Add option to use header array.
19776 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19778 * net/shr.el (shr-render-td): Remove debugging.
19779 (shr-render-td): Make width computation consistent by defaulting
19780 all zero-width columns to 10 characters. This may not be optimal,
19781 but it's at least consistent.
19782 (shr-make-table-1): Redo last change to fix the real problem in
19785 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19787 * files.el (cache-long-line-scans):
19788 Make obsolete alias to `cache-long-scans'.
19790 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19792 * frameset.el (frameset, frameset-filter-alist)
19793 (frameset-filter-params, frameset-save, frameset--reuse-frame)
19794 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
19795 (frameset-compute-pos): Rename from frameset--compute-pos,
19797 (frameset-move-onscreen): Use frameset-compute-pos.
19798 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19800 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
19801 Fix typos in docstrings.
19803 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
19805 * frame.el (get-other-frame): Tiny cleanup.
19807 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
19809 * vc/vc.el (vc-default-ignore-completion-table):
19810 Silence byte-compiler warning.
19812 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
19813 slot, which can indeed be nil.
19814 (frameset-live-filter-alist, frameset-persistent-filter-alist):
19815 Move entry for `left' from persistent to live filter alist.
19816 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
19818 (frameset-filter-params): When restoring a frame, copy items added to
19819 `filtered', to avoid unwittingly modifying the original parameters.
19820 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
19821 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
19823 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
19824 to use looking-at-p instead of looking-at. (Bug#15028)
19826 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
19828 Revert introduction of isearch-filter-predicates (bug#14714).
19829 Rely on add-function instead.
19830 * isearch.el (isearch-filter-predicates): Rename it back to
19831 isearch-filter-predicate.
19832 (isearch-message-prefix): Use advice-function-mapc and advice
19833 properties to get the isearch-message-prefix.
19834 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
19835 instead of run-hook-with-args-until-failure.
19836 (isearch-filter-visible): Not obsolete any more.
19837 * loadup.el: Preload nadvice.
19838 * replace.el (perform-replace): Revert to funcall
19839 instead of run-hook-with-args-until-failure.
19840 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
19841 * dired-aux.el (dired-isearch-filenames-mode): Rename from
19842 dired-isearch-filenames-toggle; make it into a proper minor mode.
19843 Use add/remove-function.
19844 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
19845 Call the minor-mode rather than add/remove-hook.
19846 (dired-isearch-filter-filenames):
19847 Remove isearch-message-prefix property.
19848 * info.el (Info--search-loop): New function, extracted from Info-search.
19849 Funcall isearch-filter-predicate instead of
19850 run-hook-with-args-until-failure isearch-filter-predicates.
19851 (Info-search): Use it.
19852 (Info-mode): Use isearch-filter-predicate instead of
19853 isearch-filter-predicates.
19855 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
19857 Do not call to `selected-window' where it is assumed by default.
19858 Affected functions are `window-minibuffer-p', `window-dedicated-p',
19859 `window-hscroll', `window-width', `window-height', `window-buffer',
19860 `window-frame', `window-start', `window-point', `next-window'
19861 and `window-display-table'.
19862 * abbrev.el (abbrev--default-expand):
19863 * bs.el (bs--show-with-configuration):
19864 * buff-menu.el (Buffer-menu-mouse-select):
19865 * calc/calc.el (calc):
19866 * calendar/calendar.el (calendar-generate-window):
19867 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
19868 (diary-make-entry):
19869 * comint.el (send-invisible, comint-dynamic-complete-filename)
19870 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
19871 * completion.el (complete):
19872 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
19873 * disp-table.el (describe-current-display-table):
19874 * doc-view.el (doc-view-insert-image):
19875 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
19876 * ehelp.el (with-electric-help):
19877 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
19878 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
19879 * emacs-lisp/helper.el (Helper-help-scroller):
19880 * emulation/cua-base.el (cua--post-command-handler-1):
19881 * eshell/esh-mode.el (eshell-output-filter):
19882 * ffap.el (ffap-gnus-wrapper):
19883 * help-macro.el (make-help-screen):
19884 * hilit-chg.el (highlight-compare-buffers):
19885 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
19886 * hl-line.el (global-hl-line-highlight):
19887 * icomplete.el (icomplete-simple-completing-p):
19888 * isearch.el (isearch-done):
19889 * jit-lock.el (jit-lock-stealth-fontify):
19890 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
19891 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
19892 * mpc.el (mpc-tagbrowser, mpc):
19893 * net/rcirc.el (rcirc-any-buffer):
19894 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
19895 * play/landmark.el (landmark-max-width, landmark-max-height):
19896 * play/zone.el (zone):
19897 * progmodes/compile.el (compilation-goto-locus):
19898 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
19899 * progmodes/etags.el (find-tag-other-window):
19900 * progmodes/fortran.el (fortran-column-ruler):
19901 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
19902 * progmodes/verilog-mode.el (verilog-point-text):
19903 * reposition.el (reposition-window):
19904 * rot13.el (toggle-rot13-mode):
19905 * server.el (server-switch-buffer):
19906 * shell.el (shell-dynamic-complete-command)
19907 (shell-dynamic-complete-environment-variable):
19908 * simple.el (insert-buffer, set-selective-display)
19909 (delete-completion-window):
19910 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
19911 (speedbar-recenter):
19912 * startup.el (fancy-splash-head):
19913 * textmodes/ispell.el (ispell-command-loop):
19914 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
19915 * tutorial.el (help-with-tutorial):
19916 * vc/add-log.el (add-change-log-entry):
19917 * vc/compare-w.el (compare-windows):
19918 * vc/ediff-help.el (ediff-indent-help-message):
19919 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
19920 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
19921 (ediff-setup-control-frame):
19922 * vc/emerge.el (emerge-position-region):
19923 * vc/pcvs-util.el (cvs-bury-buffer):
19924 * window.el (walk-windows, mouse-autoselect-window-select):
19925 * winner.el (winner-set-conf, winner-undo): Related users changed.
19927 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
19929 * frameset.el (frameset--set-id): Doc fix.
19930 (frameset-frame-id, frameset-frame-id-equal-p)
19931 (frameset-locate-frame-id): New functions.
19932 (frameset--process-minibuffer-frames, frameset--reuse-frame)
19933 (frameset-restore): Use them.
19935 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
19937 Do not call to `selected-frame' where it is assumed by default.
19938 Affected functions are `raise-frame', `redraw-frame',
19939 `frame-first-window', `frame-terminal' and `delete-frame'.
19940 * calendar/appt.el (appt-disp-window):
19941 * epg.el (epg-wait-for-completion):
19942 * follow.el (follow-delete-other-windows-and-split)
19943 (follow-avoid-tail-recenter):
19944 * international/mule.el (set-terminal-coding-system):
19945 * mail/rmail.el (rmail-mail-return):
19946 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
19947 * progmodes/f90.el (f90-add-imenu-menu):
19948 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
19949 * server.el (server-switch-buffer):
19950 * simple.el (delete-completion-window):
19952 * term/xterm.el (terminal-init-xterm-modify-other-keys)
19953 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
19954 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
19955 * vc/ediff.el (ediff-documentation): Related users changed.
19956 * frame.el (selected-terminal): Remove the leftover.
19958 2013-08-05 Glenn Morris <rgm@gnu.org>
19960 * calendar/calendar.el (calendar-generate-month):
19961 Fix for calendar-column-width != 1 + calendar-day-digit-width.
19962 (calendar-generate-month, calendar-font-lock-keywords):
19963 Fix for calendar-day-header-width > length of any day name.
19965 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
19967 * desktop.el (desktop-clear): Use new name of sort predicate.
19969 * frameset.el (frameset): Add docstring. Move :version property to its
19970 own `version' slot.
19971 (frameset-copy): Rename from copy-frameset.
19972 (frameset-p): Check more thoroughly.
19973 (frameset-prop): Do not check for :version, which is no longer a prop.
19974 (frameset-live-filter-alist, frameset-persistent-filter-alist):
19975 Use new :never value instead of t.
19976 (frameset-filter-alist): Expand and clarify docstring.
19977 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
19978 (frameset-filter-minibuffer, frameset-filter-save-param)
19979 (frameset-filter-restore-param, frameset-filter-iconified):
19980 Add pointer to docstring of frameset-filter-alist.
19981 (frameset-filter-params): Rename filter values to be more meaningful:
19982 :never instead of t, and reverse the meanings of :save and :restore.
19983 (frameset--process-minibuffer-frames): Clarify error message.
19984 (frameset-save): Avoid unnecessary and confusing call to framep.
19985 Use new BOA constructor for framesets.
19986 (frameset--reuse-list): Doc fix.
19987 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
19988 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
19989 (frameset-minibufferless-first-p): Doc fix.
19990 Rename from frameset-sort-frames-for-deletion.
19991 (frameset-restore): Doc fixes. Use new function names.
19992 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
19994 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
19996 * desktop.el (desktop-restore-forces-onscreen)
19997 (desktop-restore-reuses-frames): Document :keyword constant values.
19998 (desktop-filter-parameters-alist): Remove, now identical to
19999 frameset-filter-alist.
20000 (desktop--filter-tty*): Remove, moved to frameset.el.
20001 (desktop-save-frameset, desktop-restore-frameset):
20002 Do not pass :filters argument.
20004 * frameset.el (frameset-live-filter-alist)
20005 (frameset-persistent-filter-alist): New variables.
20006 (frameset-filter-alist): Use them. Add autoload cookie.
20007 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
20008 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
20009 `frameset--id' (it's supposed to be internal to frameset.el).
20010 (frameset--process-minibuffer-frames): Ditto. Doc fix.
20011 (frameset--initial-params): New function.
20012 (frameset--get-frame): Use it. Doc fix.
20013 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
20014 Accept :all, not 'all.
20015 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
20016 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
20017 with fbound symbols. Fix frame id matching, and remove matching ids if
20018 the frame being restored is deleted. Obey :delete.
20020 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
20022 * subr.el (macrop): New function.
20023 (text-clone--maintaining): New var.
20024 (text-clone--maintain): Rename from text-clone-maintain. Use it
20025 instead of inhibit-modification-hooks.
20027 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
20028 a proxy, so as handle autoloads and redefinitions of the target.
20029 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
20031 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
20032 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
20033 (pcase--mutually-exclusive-p): New function.
20034 (pcase--split-consp): Use it.
20035 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
20036 mutually exclusive with the current predicate.
20038 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
20039 (edebug-macrop): Remove. Use `macrop' instead.
20040 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
20042 * eshell/esh-cmd.el (eshell-macrop):
20043 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
20045 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
20047 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
20048 (advice-mapc): New function, using it.
20049 (advice-function-member-p): New function.
20050 (advice--normalize): Store the cdr in advice--saved-rewrite since
20051 that's the part that will be changed.
20052 (advice--symbol-function): New function.
20053 (advice-remove): Handle removal before the function is defined.
20054 Adjust to new advice--saved-rewrite.
20055 (advice-member-p): Use advice-function-member-p and
20056 advice--symbol-function.
20058 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
20060 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
20061 (frameset-filter-minibuffer): Doc fix.
20062 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
20063 (frameset--set-id, frameset--process-minibuffer-frames)
20064 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
20065 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
20067 * desktop.el (desktop-clear): Only delete frames when called
20068 interactively and desktop-restore-frames is non-nil. Doc fix.
20069 (desktop-read): Set desktop-saved-frameset to nil.
20071 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
20073 * vc/vc.el (vc-ignore): Rewrite.
20074 (vc-default-ignore-completion-table, vc--read-lines)
20075 (vc--add-line, vc--remove-regexp): New functions.
20077 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
20078 (vc-svn-ignore-completion-table): New function.
20080 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
20081 (vc-hg-ignore-completion-table)
20082 (vc-hg-find-ignore-file): New functions.
20084 * vc/vc-git.el (vc-git-ignore): Rewrite.
20085 (vc-git-ignore-completion-table)
20086 (vc-git-find-ignore-file): New functions.
20088 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
20090 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
20091 (vc-bzr-ignore-completion-table)
20092 (vc-bzr-find-ignore-file): New functions.
20094 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
20096 * frameset.el (frameset-prop): New function and setter.
20097 (frameset-save): Do not modify frame list passed by the caller.
20099 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20101 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
20103 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
20105 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
20106 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
20108 * custom.el (custom-initialize-default, custom-initialize-set)
20109 (custom-initialize-reset, custom-initialize-changed): Affect the
20110 toplevel-default-value (bug#6275, bug#14586).
20111 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
20114 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
20116 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
20117 Add cl-def* expressions.
20119 * frameset.el (frameset-filter-params): Fix order of arguments.
20121 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
20123 Move code related to saving frames to frameset.el.
20124 * desktop.el: Require frameset.
20125 (desktop-restore-frames): Doc fix.
20126 (desktop-restore-reuses-frames): Rename from
20127 desktop-restoring-reuses-frames.
20128 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
20129 (desktop-clear): Clear frames too.
20130 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
20131 (desktop--filter-tty*, desktop-save, desktop-read):
20132 Use frameset functions.
20133 (desktop-before-saving-frames-functions, desktop--filter-*-color)
20134 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20135 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
20136 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
20137 (desktop--process-minibuffer-frames, desktop-save-frames)
20138 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
20139 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
20140 (desktop--sort-states, desktop-restoring-frames-p)
20141 (desktop-restore-frames): Remove. Most code moved to frameset.el.
20142 (desktop-restoring-frameset-p, desktop-restore-frameset)
20143 (desktop--check-dont-save, desktop-save-frameset): New functions.
20144 (desktop--app-id): New constant.
20145 (desktop-first-buffer, desktop-buffer-ok-count)
20146 (desktop-buffer-fail-count): Move before first use.
20147 * frameset.el: New file.
20149 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20151 * files.el: Use lexical-binding.
20152 (dir-locals-read-from-file): Remove unused `err' variable.
20153 (hack-dir-local-variables--warned-coding): New var.
20154 (hack-dir-local-variables): Use it to avoid repeated warnings.
20155 (make-backup-file-name--default-function): New function.
20156 (make-backup-file-name-function): Use it as default.
20157 (buffer-stale--default-function): New function.
20158 (buffer-stale-function): Use it as default.
20159 (revert-buffer-insert-file-contents--default-function): New function.
20160 (revert-buffer-insert-file-contents-function): Use it as default.
20161 (insert-directory): Avoid add-to-list.
20163 * autorevert.el (auto-revert-handler): Simplify.
20164 Use buffer-stale--default-function.
20166 2013-08-01 Tassilo Horn <tsdh@gnu.org>
20168 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
20170 * whitespace.el (whitespace-ensure-local-variables): New function.
20171 (whitespace-cleanup-region): Call it.
20172 (whitespace-turn-on): Call it.
20174 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
20176 Complete file name handlers.
20178 * net/tramp.el (tramp-handle-set-visited-file-modtime)
20179 (tramp-handle-verify-visited-file-modtime)
20180 (tramp-handle-file-notify-rm-watch): New functions.
20181 (tramp-call-process): Do not bind `default-directory'.
20183 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20184 Order alphabetically.
20185 <access-file, add-name-to-file, dired-call-process>:
20186 <dired-compress-file, file-acl, file-notify-rm-watch>:
20187 <file-ownership-preserved-p, file-selinux-context>:
20188 <make-directory-internal, make-symbolic-link, set-file-acl>:
20189 <set-file-selinux-context, set-visited-file-modtime>:
20190 <verify-visited-file-modtime>: Add handler.
20191 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
20193 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
20194 <file-notify-add-watch, file-notify-rm-watch>:
20195 <set-file-times, set-visited-file-modtime>:
20196 <verify-visited-file-modtime>: Add handler.
20197 (with-tramp-gvfs-error-message)
20198 (tramp-gvfs-handle-set-visited-file-modtime)
20199 (tramp-gvfs-fuse-file-name): Remove.
20200 (tramp-gvfs-handle-file-notify-add-watch)
20201 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
20202 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
20204 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20205 Order alphabetically.
20206 <file-notify-rm-watch>: Use default Tramp handler.
20207 <executable-find>: Remove private handler.
20208 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
20209 `default-directory'.
20210 (tramp-sh-handle-executable-find)
20211 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
20212 (tramp-sh-file-gvfs-monitor-dir-process-filter)
20213 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
20214 Do not use `format' in `tramp-message'.
20216 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
20217 <file-notify-rm-watch, set-visited-file-modtime>:
20218 <verify-visited-file-modtime>: Add handler.
20219 (tramp-smb-call-winexe): Do not bind `default-directory'.
20221 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
20223 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
20225 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
20227 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
20229 (log-view-diff-changeset): Same.
20230 (log-view-diff-common): Call backend command `previous-revision'
20231 to find out the previous revision, in both cases. Swap the
20232 variables `to' and `fr', so that `fr' usually refers to the
20233 earlier revision (Bug#14989).
20235 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
20237 * ibuf-ext.el (ibuffer-filter-by-filename):
20238 Make it work with dired buffers too.
20240 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
20242 * emacs-lisp/re-builder.el (reb-color-display-p):
20243 * files.el (save-buffers-kill-terminal):
20244 * net/browse-url.el (browse-url):
20245 * server.el (server-save-buffers-kill-terminal):
20246 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
20247 Prefer nil to selected-frame for the first arg of frame-parameter.
20249 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
20251 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
20253 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
20255 * minibuffer.el (completion--twq-all): Try and preserve each
20256 completion's case choice (bug#14907).
20258 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20260 * net/network-stream.el (open-network-stream): Mention the new
20261 :nogreeting parameter.
20262 (network-stream-open-starttls): Use the :nogreeting parameter
20265 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
20267 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
20268 more natural than popping.
20270 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
20271 (shr-urlify): Highlight under mouse.
20273 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20275 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
20277 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
20279 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
20282 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
20283 point-min==1. Fix search string. Fix parentheses missing.
20285 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
20286 assume point-min==1. Fix search string. Fix parentheses missing.
20288 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
20290 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
20293 2013-07-29 Eli Zaretskii <eliz@gnu.org>
20295 * frame.el (frame-notice-user-settings): Avoid inflooping when the
20296 initial frame is minibuffer-less. (Bug#14841)
20298 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
20300 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
20303 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20304 (tramp-maybe-open-connection): Use it.
20306 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20308 * desktop.el (desktop--make-frame): Include `minibuffer' in the
20309 minimal set of parameters passed when creating a frame, because
20310 the minibuffer status of a frame cannot be changed later.
20312 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
20314 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
20315 replace-regexp-in-string and inadvertent omissions in previous change.
20316 (todo-filter-items): Ensure only file names are comma-separated in
20317 name of filtered items buffer.
20319 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20321 * desktop.el: Optionally force offscreen frames back onscreen.
20322 (desktop-restoring-reuses-frames): New option.
20323 (desktop--compute-pos, desktop--move-onscreen): New functions.
20324 (desktop--make-frame): Use desktop--move-onscreen.
20326 2013-07-27 Alan Mackenzie <acm@muc.de>
20328 Fontify a Java generic method as a function.
20329 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
20332 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
20334 * calendar/todo-mode.el: Add command to rename todo files.
20335 (todo-rename-file): New command.
20336 (todo-key-bindings-t): Add key binding for it. Change the
20337 bindings of todo-filter-regexp-items(-multifile) to use `x'
20338 instead of `r', since the latter is better suited to the new
20341 2013-07-27 Alan Mackenzie <acm@muc.de>
20343 Make Java try-with-resources statement parse properly.
20344 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
20345 (c-block-stmt-1-2-key): New language constants/variables.
20346 * progmodes/cc-engine.el (c-beginning-of-statement-1)
20347 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
20348 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
20349 with c-block-stmt-1-2-key.
20351 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
20353 * desktop.el (desktop--make-frame): Apply most frame parameters after
20354 creating the frame to force (partially or totally) offscreen frames to
20355 be restored as such.
20357 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
20359 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
20362 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20364 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
20365 `base' arg of backtrace-frame.
20367 2013-07-26 Eli Zaretskii <eliz@gnu.org>
20369 * simple.el (list-processes): Doc fix.
20371 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20373 * desktop.el (desktop--select-frame):
20374 Try harder to reuse existing frames.
20376 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20378 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
20379 (edebug-eval): Use backtrace-eval.
20380 (edebug--display, edebug--recursive-edit): Don't let-bind the
20381 edebug-outer-* vars that keep track of variables we locally let-bind.
20382 (edebug-outside-excursion): Don't restore outside values of locally
20384 (edebug--display): Use user-error.
20385 (cl-lexical-debug, cl-debug-env): Remove.
20387 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20389 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
20390 are restored to be sure that they are visible before deleting any
20393 2013-07-26 Matthias Meulien <orontee@gmail.com>
20395 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
20396 vc-print-root-log. (Bug#14948)
20398 2013-07-26 Richard Stallman <rms@gnu.org>
20400 Add aliases for encrypting mail.
20401 * epa.el (epa-mail-aliases): New option.
20402 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
20403 Bind inhibit-read-only so read-only text doesn't ruin everything.
20404 (epa-mail-default-recipients): New subroutine broken out.
20405 Handle epa-mail-aliases.
20407 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20409 Add support for lexical variables to the debugger's `e' command.
20410 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
20411 vars, except for debugger-outer-match-data.
20412 (debugger-frame-number): Move check for "on a function call" from
20413 callers into it. Add `skip-base' argument.
20414 (debugger-frame, debugger-frame-clear): Simplify accordingly.
20415 (debugger-env-macro): Only reset the state stored in non-variables,
20416 i.e. current-buffer and match-data.
20417 (debugger-eval-expression): Rewrite using backtrace-eval.
20418 * subr.el (internal--called-interactively-p--get-frame): Remove.
20419 (called-interactively-p):
20420 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
20421 `base' arg of backtrace-frame instead.
20423 2013-07-26 Glenn Morris <rgm@gnu.org>
20425 * align.el (align-regexp): Doc fix. (Bug#14857)
20426 (align-region): Explicit error if subexpression missing/does not match.
20428 * simple.el (global-visual-line-mode):
20429 Do not duplicate the mode lighter. (Bug#14858)
20431 2013-07-25 Martin Rudalics <rudalics@gmx.at>
20433 * window.el (display-buffer): In display-buffer bind
20434 split-window-keep-point to t, bug#14829.
20436 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20438 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
20439 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
20440 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
20441 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20442 Change accordingly.
20443 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20444 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
20446 2013-07-25 Glenn Morris <rgm@gnu.org>
20448 * dired-x.el (dired-mark-extension): Convert comment to doc string.
20450 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20452 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
20453 parameter to modify-frame-parameters if the value has not changed;
20454 this is a workaround for bug#14949.
20455 (desktop--make-frame): On cl-delete-if call, check parameter name,
20456 not full parameter.
20458 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20460 * vc/vc.el (vc-ignore): New function.
20462 * vc/vc-svn.el (vc-svn-ignore): New function.
20464 * vc/vc-hg.el (vc-hg-ignore): New function.
20466 * vc/vc-git.el (vc-git-ignore): New function.
20468 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
20469 (vc-dir-ignore): New function.
20471 * vc/vc-cvs.el (vc-cvs-ignore): New function.
20472 (cvs-append-to-ignore): Move here from pcvs.el.
20474 * vc/vc-bzr.el (vc-bzr-ignore): New function.
20476 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
20478 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
20480 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
20481 (desktop-restore-frames): Warn when deleting an existing frame failed.
20483 2013-07-24 Glenn Morris <rgm@gnu.org>
20485 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
20487 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
20489 * filenotify.el (file-notify-supported-p):
20490 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20493 * autorevert.el (auto-revert-use-notify)
20494 (auto-revert-notify-add-watch):
20495 * net/tramp.el (tramp-file-name-for-operation):
20496 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20497 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20498 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20499 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20500 Remove `file-notify-supported-p' entry.
20502 2013-07-24 Glenn Morris <rgm@gnu.org>
20504 * printing.el: Replace all uses of deleted ps-windows-system,
20505 ps-lp-system, ps-flatten-list with lpr- versions.
20507 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20509 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
20510 checked with memq (bug#14935).
20512 * files.el (revert-buffer-function): Use a non-nil default.
20513 (revert-buffer-preserve-modes): Declare var to
20514 provide access to the `preserve-modes' argument.
20515 (revert-buffer): Let-bind it.
20516 (revert-buffer--default): New function, extracted from revert-buffer.
20518 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20520 * lpr.el: Signal print errors more prominently.
20521 (print-region-function): Don't default to nil.
20522 (lpr-print-region): New function, extracted from print-region-1.
20523 Check lpr's return value and signal an error in case of problem.
20524 (print-region-1): Use it.
20525 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
20527 (ps-printer-name): Default to nil.
20528 (ps-printer-name-option): Default to lpr-printer-switch.
20529 (ps-print-region-function): Don't default to nil.
20530 (ps-postscript-code-directory): Simplify default.
20531 (ps-do-despool): Use lpr-print-region to properly check the outcome.
20532 (ps-string-list, ps-eval-switch, ps-flatten-list)
20533 (ps-flatten-list-1): Remove.
20534 (ps-multibyte-buffer): Avoid setq.
20535 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
20536 (print-region-function, ps-print-region-function): Don't set them here.
20538 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
20540 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
20541 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
20542 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
20543 (ido-decorations): Doc fix.
20545 * ansi-color.el: Fix old URL.
20547 2013-07-23 Michael R. Mauger <michael@mauger.com>
20549 * progmodes/sql.el: Version 3.3
20550 (sql-product-alist): Improve oracle :prompt-cont-regexp.
20551 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
20552 (sql-interactive-remove-continuation-prompt): Rewrite, use
20553 functions above. Fix continuation prompt and complete output line
20555 (sql-redirect-one, sql-execute): Use `read-only-mode' on
20556 redirected output buffer.
20557 (sql-mode): Restore deleted code (Bug#13591).
20559 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20561 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
20563 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
20565 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
20567 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20568 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20569 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
20571 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20573 * desktop.el (desktop-clear): Simplify; remove useless checks
20574 against invalid buffer names.
20575 (desktop-list*): Use cl-list*.
20576 (desktop-buffer-info, desktop-create-buffer): Simplify.
20578 2013-07-23 Leo Liu <sdl.web@gmail.com>
20580 * bookmark.el (bookmark-make-record): Restore NAME as a default
20583 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
20585 * emacs-lisp/autoload.el (autoload--setup-output): New function,
20586 extracted from autoload--insert-text.
20587 (autoload--insert-text): Remove.
20588 (autoload--print-cookie-text): New function, extracted from
20589 autoload--insert-cookie-text.
20590 (autoload--insert-cookie-text): Remove.
20591 (autoload-generate-file-autoloads): Adjust calls accordingly.
20593 * winner.el (winner-hook-installed-p): Remove.
20594 (winner-mode): Simplify accordingly.
20596 * subr.el (add-to-list): Fix compiler-macro when `append' is
20597 not constant. Don't use `cl-member' for the base case.
20599 * progmodes/subword.el: Fix boundary case (bug#13758).
20600 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
20602 (subword-backward-regexp): Make it a constant.
20603 (subword-forward-internal): Don't treat a trailing capital as the
20604 beginning of a word.
20606 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
20608 * emacs-lisp/package.el (package-menu-mode): Don't modify the
20609 global value of tabulated-list-revert-hook (bug#14930).
20611 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
20613 * desktop.el: Require 'cl-lib.
20614 (desktop-before-saving-frames-functions): New hook.
20615 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
20616 for frames being saved. Rename from desktop--save-minibuffer-frames.
20617 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
20618 Do not save frames with non-nil `desktop-dont-save' parameter.
20619 Filter out deleted frames.
20620 (desktop--find-frame): Use cl-find-if.
20621 (desktop--select-frame): Use cl-(first|second|third) to access values
20623 (desktop--make-frame): Use cl-delete-if.
20624 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
20625 (desktop-restore-frames): Use cl-(first|second|third) to access values
20626 of desktop-mini. Look for visible frame at the end, not while
20629 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
20630 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
20631 Use string-match-p, looking-at-p (bug#14927).
20633 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
20635 * desktop.el (desktop-saved-frame-states):
20636 Rename from desktop--saved-states; all users changed.
20637 (desktop-save-frames): Rename from desktop--save-frames.
20638 Do not save state to desktop file.
20639 (desktop-save): Save desktop-saved-frame-states to desktop file
20641 (desktop-restoring-frames-p): New function.
20642 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
20643 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
20644 buffer-lists when restoring frames. Suggested by Martin Rudalics.
20646 * desktop.el: Correctly restore iconified frames.
20647 (desktop--filter-iconified-position): New function.
20648 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
20650 2013-07-20 Glenn Morris <rgm@gnu.org>
20652 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
20653 Let `message' do the formatting.
20654 (def-gdb-preempt-display-buffer): Add explicit format.
20656 * image-dired.el (image-dired-track-original-file):
20657 Use with-current-buffer.
20658 (image-dired-track-thumbnail): Use with-current-buffer.
20659 Avoid changing point of wrong window.
20661 * image-dired.el (image-dired-track-original-file):
20662 Avoid changing point of wrong window. (Bug#14909)
20664 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
20666 * progmodes/gdb-mi.el (gdb-done-or-error):
20667 Guard against "%" in gdb output. (Bug#14127)
20669 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
20671 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
20674 * international/mule.el (coding-system-iso-2022-flags): Fix last
20677 2013-07-20 Kenichi Handa <handa@gnu.org>
20679 * international/mule.el (coding-system-iso-2022-flags):
20680 Add `8-bit-level-4'. (Bug#8522)
20682 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20684 * net/shr.el (shr-mouse-browse-url): New command and keystroke
20687 * net/eww.el (eww-process-text-input): Allow inputting when the
20688 point is at the start of the line, as the properties aren't
20691 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
20694 2013-07-19 Richard Stallman <rms@gnu.org>
20696 * epa.el (epa-popup-info-window): Doc fix.
20698 * subr.el (split-string): New arg TRIM.
20700 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
20702 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
20703 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
20705 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
20707 * filenotify.el (file-notify--library): Rename from
20708 `file-notify-support'. Do not autoload. Adapt all uses.
20709 (file-notify-supported-p): New defun.
20711 * autorevert.el (auto-revert-use-notify):
20712 Use `file-notify-supported-p' instead of `file-notify-support'.
20714 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
20716 * net/tramp.el (tramp-file-name-for-operation):
20717 Add `file-notify-supported-p'.
20719 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20721 (tramp-sh-file-name-handler-alist): Add it as handler for
20722 `file-notify-supported-p '.
20724 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20725 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20726 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20727 Add `ignore' as handler for `file-notify-*' functions.
20729 2013-07-17 Eli Zaretskii <eliz@gnu.org>
20731 * simple.el (line-move-partial, line-move): Don't start vscroll or
20732 scroll-up if the current line is not taller than the window.
20735 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
20737 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
20738 highlight question marks in the method names as strings.
20739 (ruby-block-beg-keywords): Inline.
20740 (ruby-font-lock-keyword-beg-re): Extract from
20741 `ruby-font-lock-keywords'.
20743 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
20745 * frame.el (blink-cursor-blinks): New defcustom.
20746 (blink-cursor-blinks-done): New defvar.
20747 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
20748 (blink-cursor-timer-function): Check if number of blinks has been
20750 (blink-cursor-suspend, blink-cursor-check): New defuns.
20752 2013-07-15 Glenn Morris <rgm@gnu.org>
20754 * edmacro.el (edmacro-format-keys): Fix previous change.
20756 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
20758 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
20759 The hack didn't work outside English locales anyway.
20761 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
20763 * simple.el (define-alternatives): Rename from alternatives-define,
20764 per RMS' suggestion.
20766 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
20768 * desktop.el (desktop-restore-frames): Change default to t.
20769 (desktop-restore-in-current-display): Now offer more options.
20770 (desktop-restoring-reuses-frames): New customization option.
20771 (desktop--saved-states): Doc fix.
20772 (desktop-filter-parameters-alist): New variable, renamed and expanded
20773 from desktop--excluded-frame-parameters.
20774 (desktop--target-display): New variable.
20775 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
20776 (desktop--filter-tty*, desktop--filter-*-color)
20777 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20778 (desktop--filter-save-desktop-parm)
20779 (desktop-restore-in-original-display-p): New functions.
20780 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
20781 (desktop--save-minibuffer-frames): New function, inspired by a similar
20782 function from Martin Rudalics.
20783 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
20784 (desktop--restore-in-this-display-p): Remove.
20785 (desktop--find-frame): Rename from desktop--find-frame-in-display
20786 and add predicate argument.
20787 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
20788 (desktop--reuse-list): New variable.
20789 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
20791 (desktop--restore-frames): Add support for "minibuffer-special" frames.
20793 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
20795 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
20797 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
20799 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
20800 Highlight conversion methods on Kernel.
20802 2013-07-13 Alan Mackenzie <acm@muc.de>
20804 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
20805 and comment it out. This out-commenting enables certain C++
20806 declarations to be parsed correctly.
20808 2013-07-13 Eli Zaretskii <eliz@gnu.org>
20810 * international/mule.el (define-coding-system): Doc fix.
20812 * simple.el (default-font-height): Don't call font-info if the
20813 frame's default font didn't change since the frame was created.
20816 2013-07-13 Leo Liu <sdl.web@gmail.com>
20818 * ido.el (ido-read-file-name): Guard against non-symbol value.
20820 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
20822 * progmodes/python.el (python-imenu--build-tree): Fix corner case
20825 2013-07-13 Leo Liu <sdl.web@gmail.com>
20827 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
20828 ido-set-matches call. (Bug#6852)
20830 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
20832 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
20833 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
20835 (ruby-font-lock-keywords): Distinguish calls to functions with
20836 module-like names from module references. Highlight character
20839 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
20841 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
20842 (gdb-send): Handle continued commands. (Bug#14847)
20844 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
20846 * desktop.el (desktop--v2s): Remove unused local variable.
20847 (desktop-save-buffer): Make defvar-local; adjust docstring.
20848 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
20849 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
20851 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
20853 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
20855 2013-07-12 Eli Zaretskii <eliz@gnu.org>
20857 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
20860 2013-07-12 Glenn Morris <rgm@gnu.org>
20862 * doc-view.el: Require cl-lib at runtime too.
20863 (doc-view-remove-if): Remove.
20864 (doc-view-search-next-match, doc-view-search-previous-match):
20867 * edmacro.el: Require cl-lib at runtime too.
20868 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
20869 (edmacro-mismatch, edmacro-subseq): Remove.
20871 * shadowfile.el: Require cl-lib.
20872 (shadow-remove-if): Remove.
20873 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
20876 * wid-edit.el: Require cl-lib.
20877 (widget-choose): Use cl-remove-if.
20878 (widget-remove-if): Remove.
20880 * progmodes/ebrowse.el: Require cl-lib at runtime too.
20881 (ebrowse-delete-if-not): Remove.
20882 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
20883 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
20884 Use cl-delete-if-not.
20886 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
20888 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
20889 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
20891 2013-07-12 Leo Liu <sdl.web@gmail.com>
20893 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
20895 2013-07-11 Glenn Morris <rgm@gnu.org>
20897 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
20898 (edebug-gensym-index, edebug-gensym):
20899 Remove reimplementation of cl-gensym.
20900 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
20902 * thumbs.el: Require cl-lib at run-time too.
20903 (thumbs-gensym-counter, thumbs-gensym):
20904 Remove reimplementation of cl-gensym.
20905 (thumbs-temp-file): Use cl-gensym.
20907 * emacs-lisp/ert.el: Require cl-lib at runtime too.
20908 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
20909 (ert--intersection, ert--set-difference, ert--set-difference-eq)
20910 (ert--union, ert--gensym-counter, ert--gensym-counter)
20911 (ert--coerce-to-vector, ert--remove*, ert--string-position)
20912 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
20913 (ert-make-test-unbound, ert--expand-should-1)
20914 (ert--expand-should, ert--should-error-handle-error)
20915 (should-error, ert--explain-equal-rec)
20916 (ert--plist-difference-explanation, ert-select-tests)
20917 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
20918 Use cl-lib functions rather than reimplementations.
20920 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
20922 * net/tramp.el (tramp-methods): Extend docstring.
20923 (tramp-connection-timeout): New defcustom.
20924 (tramp-error-with-buffer): Reset timestamp only when appropriate.
20925 (with-tramp-progress-reporter): Simplify.
20926 (tramp-process-actions): Improve messages.
20928 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
20929 * net/tramp-sh.el (tramp-maybe-open-connection):
20930 Use `tramp-connection-timeout'.
20931 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
20934 2013-07-11 Leo Liu <sdl.web@gmail.com>
20936 * ido.el (ido-read-file-name): Conform to the requirements of
20937 read-file-name. (Bug#11861)
20938 (ido-read-directory-name): Conform to the requirements of
20939 read-directory-name.
20941 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
20943 * subr.el (delay-warning): New function.
20945 2013-07-10 Eli Zaretskii <eliz@gnu.org>
20947 * simple.el (default-line-height): New function.
20948 (line-move-partial, line-move): Use it instead of computing the
20949 line height inline.
20950 (line-move-partial): Always compute ROWH. If the last line is
20951 partially-visible, but its text is completely visible, allow
20952 cursor to enter such a partially-visible line.
20954 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
20956 Improve error messages. (Bug#14808)
20958 * net/tramp.el (tramp-current-connection): New defvar, moved from
20960 (tramp-message-show-progress-reporter-message): Remove, not
20962 (tramp-error-with-buffer): Show message in minibuffer.
20963 Discard input before waiting. Reset connection timestamp.
20964 (with-tramp-progress-reporter): Improve messages.
20965 (tramp-process-actions): Use progress reporter. Delete process in
20966 case of error. Improve messages.
20968 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
20969 Call `tramp-error-with-buffer' with vector and buffer.
20970 (tramp-current-connection): Remove.
20971 (tramp-maybe-open-connection): The car of
20972 `tramp-current-connection' are the first 3 slots of the vector.
20974 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
20976 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
20977 inside continued strings.
20979 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
20981 Timestamp fixes for undo (Bug#14824).
20982 * files.el (clear-visited-file-modtime): Move here from fileio.c.
20984 2013-07-10 Leo Liu <sdl.web@gmail.com>
20986 * files.el (require-final-newline): Allow safe local value.
20989 2013-07-09 Leo Liu <sdl.web@gmail.com>
20991 * ido.el (ido-read-directory-name): Handle fallback.
20992 (ido-read-file-name): Update DIR to ido-current-directory.
20994 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
20996 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
20998 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
20999 "autoload". Remove "warn lower camel case" section, previously
21000 commented out. Highlight negation char. Do not highlight the
21001 target in singleton method definitions.
21003 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21005 * faces.el (tty-setup-hook): Declare the hook.
21007 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
21008 and detect when a guard/pred depends on local vars (bug#14773).
21009 (pcase--u1): Adjust caller.
21011 2013-07-08 Eli Zaretskii <eliz@gnu.org>
21013 * simple.el (line-move-partial, line-move): Account for
21015 (line-move-partial): Avoid setting vscroll when the last
21016 partially-visible line in window is of default height.
21018 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21020 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
21023 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
21025 * subr.el (read-quoted-char): Remove unused local variable `char'.
21027 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
21029 * vc/ediff.el (ediff-version): Version update.
21030 (ediff-files-command, ediff3-files-command, ediff-merge-command)
21031 (ediff-merge-with-ancestor-command, ediff-directories-command)
21032 (ediff-directories3-command, ediff-merge-directories-command)
21033 (ediff-merge-directories-with-ancestor-command): New functions.
21034 All are command-line interfaces to ediff: to facilitate calling
21035 Emacs with the appropriate ediff functions invoked.
21037 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
21039 (viper-save-kill-buffer): Check if buffer is modified.
21041 * emulation/viper.el (viper-version): Version update.
21042 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
21044 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
21046 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
21047 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
21048 (viper-intercept-ESC-key): Simplify.
21049 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
21051 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
21052 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
21053 (viper-setup-ESC-to-escape): New functions.
21054 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
21055 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
21057 2013-07-07 Eli Zaretskii <eliz@gnu.org>
21059 * simple.el (default-font-height, window-screen-lines):
21061 (line-move, line-move-partial): Use them instead of
21062 frame-char-height and window-text-height. This makes scrolling
21063 text smoother when the buffer's default face uses a font that is
21064 different from the frame's default font.
21066 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
21068 * files.el (write-file): Do not display confirm dialog for NS,
21069 it does its own dialog, which can't be canceled (Bug#14578).
21071 2013-07-06 Eli Zaretskii <eliz@gnu.org>
21073 * simple.el (line-move-partial): Adjust the row returned by
21074 posn-at-point for the current window-vscroll. (Bug#14567)
21076 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
21078 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
21079 (tramp-sh-file-inotifywait-process-filter): Handle file names with
21082 2013-07-06 Martin Rudalics <rudalics@gmx.at>
21084 * window.el (window-state-put-stale-windows): New variable.
21085 (window--state-put-2): Save list of windows without matching buffer.
21086 (window-state-put): Remove "bufferless" windows if possible.
21088 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
21090 * simple.el (alternatives-define): Remove leftover :group keyword.
21093 2013-07-06 Leo Liu <sdl.web@gmail.com>
21095 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
21096 (ido-enable-virtual-buffers): New variable.
21097 (ido-buffer-internal, ido-toggle-virtual-buffers)
21098 (ido-make-buffer-list): Use it.
21099 (ido-exhibit): Support turning on and off virtual buffers
21102 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
21104 * simple.el (alternatives-define): New macro.
21106 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
21108 * subr.el (read-quoted-char): Use read-key.
21109 (sit-for): Let read-event decode tty input (bug#14782).
21111 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
21113 * calendar/todo-mode.el: Add handling of file deletion, both by
21114 mode command and externally. Fix various related bugs.
21115 Clarify Commentary and improve some documentation strings and code.
21116 (todo-delete-file): New command.
21117 (todo-check-file): New function.
21118 (todo-show): Handle external deletion of the file we're trying to
21119 show (bug#14688). Replace called-interactively-p by an optional
21120 prefix argument to avoid problematic interaction with catch form
21121 when byte compiled (bug#14702).
21122 (todo-quit): Handle external deletion of the archive's todo file.
21123 Make sure the buffer that was visiting the archive file is still
21124 live before trying to bury it.
21125 (todo-category-completions): Handle external deletion of any
21126 category completion files.
21127 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
21128 of todo files, in case of external deletion.
21129 (todo-add-file): Replace unnecessary setq by let-binding.
21130 (todo-find-archive): Check whether there are any archives.
21131 Replace unnecessary setq by let-binding.
21132 (todo-archive-done-item): Use find-file-noselect to get the
21133 archive buffer whether or not the archive already exists.
21134 Remove superfluous code. Use file size instead of buffer-file-name to
21135 check if the archive is new; if it is, update list of archives.
21136 (todo-default-todo-file): Allow nil to be a valid value for when
21137 there are no todo files.
21138 (todo-reevaluate-default-file-defcustom): Use corrected definition
21139 of todo-default-todo-file.
21140 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
21141 (todo-delete-category, todo-show-categories-table)
21142 (todo-category-number): Clarify comment.
21143 (todo-filter-items): Clarify documentation string.
21144 (todo-show-current-file, todo-display-as-todo-file)
21145 (todo-reset-and-enable-done-separator): Tweak documentation string.
21146 (todo-done-separator): Make separator length window-width, since
21147 bug#2749 is now fixed.
21149 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
21151 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
21152 Support both "gvfs-monitor-dir" and "inotifywait".
21153 (tramp-sh-file-inotifywait-process-filter): Rename from
21154 `tramp-sh-file-notify-process-filter'.
21155 (tramp-sh-file-gvfs-monitor-dir-process-filter)
21156 (tramp-get-remote-gvfs-monitor-dir): New defuns.
21158 2013-07-05 Leo Liu <sdl.web@gmail.com>
21160 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
21162 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21164 * frame.el (display-pixel-height, display-pixel-width)
21165 (display-mm-height, display-mm-width): Mention behavior on
21166 multi-monitor setups in docstrings.
21167 (w32-display-monitor-attributes-list): Declare function.
21168 (display-monitor-attributes-list): Use it.
21170 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
21172 * filenotify.el: New package.
21174 * autorevert.el (top): Require filenotify.el.
21175 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
21177 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
21178 (auto-revert-notify-handler): Use `file-notify-*' functions.
21180 * subr.el (file-notify-handle-event): Move function to filenotify.el.
21182 * net/tramp.el (tramp-file-name-for-operation):
21183 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
21185 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
21186 for `file-notify-add-watch' and `file-notify-rm-watch'.
21187 (tramp-process-sentinel): Improve trace.
21188 (tramp-sh-handle-file-notify-add-watch)
21189 (tramp-sh-file-notify-process-filter)
21190 (tramp-sh-handle-file-notify-rm-watch)
21191 (tramp-get-remote-inotifywait): New defuns.
21193 2013-07-03 Juri Linkov <juri@jurta.org>
21195 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
21196 call of `occur-read-primary-args' to interactive spec.
21198 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
21199 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
21201 2013-07-03 Matthias Meulien <orontee@gmail.com>
21203 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
21204 `Buffer-menu-multi-occur'. Add it to the menu.
21205 (Buffer-menu-mode): Document it in docstring.
21206 (Buffer-menu-multi-occur): New command. (Bug#14673)
21208 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
21210 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
21211 keywords and built-ins.
21213 2013-07-03 Glenn Morris <rgm@gnu.org>
21215 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
21217 Make info-xref checks case-sensitive by default
21218 * info.el (Info-find-node, Info-find-in-tag-table)
21219 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
21220 Add option for exact case matching of nodes.
21221 * info-xref.el (info-xref): New custom group.
21222 (info-xref-case-fold): New option.
21223 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
21225 2013-07-03 Leo Liu <sdl.web@gmail.com>
21227 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
21229 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
21231 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
21232 middle of block statement initially, lower the depth. Remove
21233 FIXME comment, not longer valid. Remove middle of block statement
21234 detection, no need to do that anymore since we've been using
21235 `ruby-parse-region' here.
21237 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
21239 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
21241 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
21243 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
21245 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
21247 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
21248 (desktop-restore-in-current-display): New customization option.
21249 (desktop--excluded-frame-parameters): Add `font'.
21250 (desktop--save-frames): Rename from desktop--save-windows.
21251 (desktop--restore-in-this-display-p): New function.
21252 (desktop--make-full-frame): Remove unwanted width/height from
21253 full(width|height) frames.
21254 (desktop--restore-frames): Rename from desktop--restore-windows.
21255 Obey desktop-restore-current-display. Do not delete old frames or
21256 select a new frame unless we were able to restore at least one frame.
21258 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
21260 * files.el (find-file-noselect): Simplify conditional expression.
21262 * textmodes/remember.el (remember-append-to-file):
21263 Don't mix `find-buffer-visiting' and `get-file-buffer'.
21265 Add `remember-notes' function to store random notes across Emacs
21267 * textmodes/remember.el (remember-data-file): Add :set callback to
21268 affect notes buffer (if any).
21269 (remember-notes): New command.
21270 (remember-notes-buffer-name, bury-remember-notes-on-kill):
21271 New defcustoms for the `remember-notes' function.
21272 (remember-notes-save-and-bury-buffer): New command.
21273 (remember-notes-mode-map): New variable.
21274 (remember-mode): New minor mode.
21275 (remember-notes--kill-buffer-query): New function.
21276 * startup.el (initial-buffer-choice): Add notes to custom type.
21278 2013-06-30 Eli Zaretskii <eliz@gnu.org>
21280 * bindings.el (right-char, left-char): Don't call sit-for, this is
21281 no longer needed. Use arithmetic comparison only for numerical
21284 * international/mule-cmds.el (select-safe-coding-system):
21285 Handle the case of FROM being a string correctly. (Bug#14755)
21287 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21289 * net/shr.el (shr-make-table-1): Add a sanity check that allows
21290 progression on degenerate tables.
21291 (shr-rescale-image): ImageMagick animated images currently don't work.
21293 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
21295 Some fixes and improvements for desktop frame restoration.
21296 It is still experimental and disabled by default.
21297 * desktop.el (desktop--save-windows): Put the selected frame at
21298 the head of the list.
21299 (desktop--make-full-frame): New function.
21300 (desktop--restore-windows): Try to re-select the frame that was
21301 selected upon saving. Do not abort if some frames fail to restore,
21302 just show an error message and continue. Set up maximized frames
21303 so they have default non-maximized dimensions.
21305 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
21307 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
21308 Don't start heredoc inside a string or comment.
21310 2013-06-29 Eli Zaretskii <eliz@gnu.org>
21312 * bindings.el (visual-order-cursor-movement): New defcustom.
21313 (right-char, left-char): Provide visual-order cursor motion by
21314 calling move-point-visually. Update the doc strings.
21316 2013-06-28 Kenichi Handa <handa@gnu.org>
21318 * international/mule.el (define-coding-system): New coding system
21319 properties :inhibit-null-byte-detection,
21320 :inhibit-iso-escape-detection, and :prefer-utf-8.
21321 (set-buffer-file-coding-system): If :charset-list property of
21322 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
21323 appropriate for setting.
21325 * international/mule-cmds.el (select-safe-coding-system):
21326 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
21327 multibyte characters, return utf-8 (or one of its siblings).
21329 * international/mule-conf.el (prefer-utf-8): New coding system.
21330 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
21333 2013-06-28 Ivan Kanis <ivan@kanis.fr>
21335 * net/shr.el (shr-render-region): New function.
21337 * net/eww.el: Autoload `eww-browse-url'.
21339 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
21341 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21342 Adapt to `package-desc-version' being a list.
21343 Use `package--ac-desc-version' to retrieve version from a package
21346 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
21348 New experimental feature to save&restore window and frame setup.
21349 * desktop.el (desktop-save-windows): New defcustom.
21350 (desktop--saved-states): New var.
21351 (desktop--excluded-frame-parameters): New defconst.
21352 (desktop--filter-frame-parms, desktop--find-frame-in-display)
21353 (desktop--restore-windows, desktop--save-windows): New functions.
21354 (desktop-save): Call `desktop--save-windows'.
21355 (desktop-read): Call `desktop--restore-windows'.
21357 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21359 * net/shr.el (add-face-text-property): Remove compat definition.
21361 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21363 * info.el (Info-try-follow-nearest-node): Move search for footnote
21364 above search for node name to prevent missing a footnote (bug#14717).
21366 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21368 * obsolete/otodo-mode.el: Add obsolescence info to file header.
21370 2013-06-27 Leo Liu <sdl.web@gmail.com>
21372 * net/eww.el (eww-read-bookmarks): Check file size.
21374 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21376 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
21377 advice--pending if newdef is nil or an autoload (bug#13820).
21378 (advice-mapc): New function.
21380 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21382 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
21384 (eww-mode-map): Add a menu bar.
21385 (eww-add-bookmark): New command.
21386 (eww-bookmark-mode): New mode and commands.
21387 (eww-add-bookmark): Remove newlines from the title.
21388 (eww-bookmark-browse): Don't bug out if it's the only window.
21390 2013-06-26 Glenn Morris <rgm@gnu.org>
21392 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
21393 (hfy-size): Handle ttys. (Bug#14668)
21395 * info-xref.el: Update for Texinfo 5 change in *note format.
21396 (info-xref-node-re, info-xref-note-re): New constants.
21397 (info-xref-check-buffer): Use info-xref-note-re.
21399 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21401 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
21403 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
21404 nil terminate the loop (bug#14718).
21406 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21408 * net/eww.el: Rework history traversal. When going forward/back,
21409 put these actions into the history, too, so that they can be
21411 (eww-render): Move the history reset to the correct buffer.
21413 2013-06-25 Juri Linkov <juri@jurta.org>
21415 * files-x.el (modify-dir-local-variable): Change the header comment
21416 in the file with directory local variables. (Bug#14692)
21418 * files-x.el (read-file-local-variable-value): Add `default'.
21421 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21423 * net/eww.el (eww-make-unique-file-name): Create a unique file
21424 name before saving to entering `y' accidentally asynchronously.
21426 2013-06-25 Ivan Kanis <ivan@kanis.fr>
21428 * net/eww.el (eww-download): New command and keystroke.
21430 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21432 * net/eww.el (eww-copy-page-url): Change name of command.
21434 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
21435 be more consistent with Info and dired.
21437 * net/eww.el (eww-mode-map): Ditto.
21439 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21441 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
21442 packages from archives.
21443 (package-archive-contents): Change format; include obsolete packages.
21444 (package-desc): Use `dir' to mark builtin packages.
21445 (package--from-builtin): Set the `dir' field to `builtin'.
21446 (generated-autoload-file, version-control): Declare.
21447 (package-compute-transaction): Change first arg and return value to be
21448 lists of package-descs. Adjust to new package-archive-contents format.
21449 (package--add-to-archive-contents): Adjust to new
21450 package-archive-contents format.
21451 (package-download-transaction): Arg is now a list of package-descs.
21452 (package-install): If `pkg' is a package name, pass it as
21453 a requirement, so it is subject to the usual (e.g. disabled) checks.
21454 (describe-package): Accept package-desc as well.
21455 (describe-package-1): Describe a specific package-desc. Add links to
21456 other package-descs for the same package name.
21457 (package-menu-describe-package): Pass the actual package-desc.
21458 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
21460 (package-desc-status): New function.
21461 (package-menu--refresh): New function, extracted
21462 from package-menu--generate.
21463 (package-menu--generate): Use it.
21464 (package-delete): Update package-alist.
21465 (package-menu-execute): Don't call package-initialize.
21467 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
21468 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
21469 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
21470 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
21471 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
21472 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
21474 2013-06-25 Martin Rudalics <rudalics@gmx.at>
21476 * window.el (window--state-get-1): Workaround for bug#14527.
21477 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
21479 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21481 * net/eww.el (eww-back-url): Implement the history by stashing all
21482 the data into a list.
21483 (eww-forward-url): Allow going forward in the history, too.
21485 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21487 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
21488 for values and use read--expression for expressions (bug#14710).
21489 (read-file-local-variable): Avoid setq.
21490 (read-file-local-variable-mode): Use minor-mode-list.
21492 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21494 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
21497 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21499 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
21500 Update imenu-support when dialect changes.
21502 2013-06-25 Leo Liu <sdl.web@gmail.com>
21504 * ido.el (ido-read-internal): Allow forward slash on windows.
21506 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21508 * net/eww.el (eww): Start of strings is \\`, not ^.
21510 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21512 * net/shr.el (shr-browse-url): Fix interactive spec.
21514 * net/eww.el (eww): Add a trailing slash to domain names.
21516 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
21518 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
21520 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21522 * net/shr.el (shr-browse-url): Use an external browser if given a
21525 * net/eww.el (eww-external-browser): Move to shr.
21527 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21529 * net/eww.el (eww): Work more correctly for file: URLs.
21530 (eww-detect-charset): Allow quoted charsets.
21531 (eww-yank-page-url): New command and keystroke.
21533 2013-06-24 Daiki Ueno <ueno@gnu.org>
21535 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
21536 file name of gpg executable.
21537 (epg-context-program): New function.
21538 (epg-context-home-directory): New function.
21539 (epg-context-set-program): New function.
21540 (epg-context-set-home-directory): New function.
21541 (epg--start): Use `epg-context-program' instead of
21543 (epg--list-keys-1): Likewise.
21545 2013-06-24 Leo Liu <sdl.web@gmail.com>
21547 * ido.el (ido-read-internal): Fix bug#14620.
21549 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21551 * faces.el (face-documentation): Simplify.
21552 (read-face-attribute, tty-find-type, x-resolve-font-name):
21553 Use `string-match-p'.
21554 (list-faces-display): Use `string-match-p'. Simplify.
21555 (face-spec-recalc): Check face to avoid face alias loops.
21556 (read-color): Use `string-match-p' and non-capturing parenthesis.
21558 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
21560 * net/shr.el (shr-rescale-image): Use the new
21561 :max-width/:max-height functionality.
21563 2013-06-23 Ivan Kanis <ivan@kanis.fr>
21565 * net/eww.el (eww-search-prefix): New variable.
21567 (eww-external-browser): New variable.
21568 (eww-mode-map): New keystroke.
21569 (eww-browse-with-external-browser): New command.
21571 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
21573 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21575 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
21576 Don't skip aligning the next header field when padding is 0;
21577 otherwise, field width is not respected unless the title is as
21580 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
21582 * emacs-lisp/package.el (package-el-version): Remove.
21583 (package-process-define-package): Fix inf-loop.
21584 (package-install): Allow symbols as arguments again.
21586 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21588 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
21589 add some more keyword-like methods.
21590 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
21592 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
21594 * bs.el (bs-buffer-show-mark): Make defvar-local.
21595 (bs-mode): Use setq-local.
21597 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
21598 (emacs-lock--try-unlocking): Make defvar-local.
21600 2013-06-22 Glenn Morris <rgm@gnu.org>
21602 * play/cookie1.el (cookie-apropos): Minor simplification.
21604 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
21606 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21608 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
21609 `regexp-opt', it breaks the build during dumping.
21611 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
21613 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
21614 Highlight keyword-like methods on Kernel and Module with
21615 font-lock-builtin-face.
21616 (auto-mode-alist): Consolidate different entries into one regexp
21617 and add more *file-s.
21619 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
21621 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
21623 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
21624 (diary-entry): Use it in the action of this button type instead of
21627 * calendar/todo-mode.el: New version.
21628 (todo-add-category): Append new category to end of file and give
21629 it the highest number, instead of putting it at the beginning and
21630 giving it 0. Incorporate noninteractive functionality.
21631 (todo-forward-category): Adapt to 1-based category numbering.
21632 Allow skipping over archived categories.
21633 (todo-backward-category): Derive from todo-forward-category.
21634 (todo-backward-item, todo-forward-item): Make noninteractive and
21635 delegate interactive part to new commands. Make sensitive to done items.
21636 (todo-categories): Make value an alist of category names and
21637 vectors of item counts.
21638 (todo-category-beg): Make a defconst.
21639 (todo-category-number): Use 1 instead of 0 as initial value.
21640 (todo-category-select): Make sensitive to overlays, optional item
21641 highlighting and done items.
21642 (todo-delete-item): Make sensitive to overlays and marked and done items.
21643 (todo-edit-item): Make sensitive to overlays and editing of
21644 date/time header optional. Add format checks.
21645 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
21646 no-op if point is not on an item. Advertise using todo-edit-quit.
21647 (todo-edit-mode): Make sensitive to new format, font-locking, and
21648 multiple todo files.
21649 (todo-insert-item, todo-insert-item-here): Derive from
21650 todo-basic-insert-item and extend functionality.
21651 (todo-item-end, todo-item-start): Make sensitive to done items.
21652 (todo-item-string): Don't return text properties. Restore point.
21653 (todo-jump-to-category): Make sensitive to multiple todo files and
21654 todo archives. Use extended category completion.
21655 (todo-lower-item, todo-raise-item): Rename to *-priority and
21656 derive from todo-set-item-priority.
21657 (todo-mode): Derive from special-mode. Make sensitive to new
21658 format, font-locking and multiple todo files. Make read-only.
21659 (todo-mode-map): Don't suppress digit keys, so they can supply
21660 prefix arguments. Add many new key bindings.
21661 (todo-prefix): Insert as an overlay instead of file text.
21662 Change semantics from diary date expression to purely visual mark.
21663 (todo-print): Rename to todo-print-buffer. Make buffer display
21664 features printable. Remove option to restrict number of items
21665 printed. Add option to print to file.
21666 (todo-print-function): Rename to todo-print-buffer-function.
21667 (todo-quit): Extend to handle exiting new todo modes.
21668 (todo-remove-item): Make sensitive to overlays.
21669 (todo-save): Extend to buffers of filtered items.
21670 (todo-show): Make sensitive to done items, multiple todo files and
21671 new todo modes. Offer to convert legacy todo file before creating
21672 first new todo file.
21673 (todo-show-priorities): Rename to todo-top-priorities.
21674 Change semantics of value 0.
21675 (todo-top-priorities): Rename to todo-filter-top-priorities,
21676 derive from todo-filter-items and extend functionality.
21677 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
21678 and extend functionality to other types of filtered items.
21679 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
21680 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
21681 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
21682 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
21683 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
21684 (todo-edit-mode-hook, todo-entry-prefix-function)
21685 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
21686 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
21687 (todo-initials, todo-insert-threshold, todo-item-string-start)
21688 (todo-line-string, todo-menu, todo-mode-hook)
21689 (todo-more-important-p, todo-previous-answer, todo-previous-line)
21690 (todo-print-priorities, todo-remove-separator)
21691 (todo-save-top-priorities-too, todo-string-count-lines)
21692 (todo-string-multiline-p, todo-time-string-format)
21693 (todo-tmp-buffer-name): Remove.
21694 (todo-add-file, todo-archive-done-item, todo-choose-archive)
21695 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
21696 (todo-edit-category-diary-inclusion)
21697 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
21698 (todo-edit-file, todo-edit-item-date-day)
21699 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
21700 (todo-edit-item-date-month, todo-edit-item-date-to-today)
21701 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
21702 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
21703 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
21704 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
21705 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
21706 (todo-filter-top-priorities-multifile, todo-find-archive)
21707 (todo-find-filtered-items-file, todo-go-to-source-item)
21708 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
21709 (todo-jump-to-archive-category, todo-lower-category)
21710 (todo-mark-category, todo-marked-item-p, todo-merge-category)
21711 (todo-move-category, todo-move-item, todo-next-button)
21712 (todo-next-item, todo-padded-string, todo-powerset)
21713 (todo-previous-button, todo-previous-item)
21714 (todo-print-buffer-to-file, todo-raise-category)
21715 (todo-rename-category, todo-repair-categories-sexp, todo-search)
21716 (todo-set-category-number, todo-set-item-priority)
21717 (todo-set-top-priorities-in-category)
21718 (todo-set-top-priorities-in-file, todo-show-categories-table)
21719 (todo-sort-categories-alphabetically-or-numerically)
21720 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
21721 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
21722 (todo-toggle-item-header, todo-toggle-item-highlighting)
21723 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
21724 (todo-toggle-view-done-items, todo-toggle-view-done-only)
21725 (todo-unarchive-items, todo-unmark-category): New commands.
21726 (todo-absolute-file-name, todo-add-to-buffer-list)
21727 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
21728 (todo-basic-insert-item, todo-category-completions)
21729 (todo-category-number, todo-category-string-matcher-1)
21730 (todo-category-string-matcher-2, todo-check-filtered-items-file)
21731 (todo-check-format, todo-clear-matches)
21732 (todo-comment-string-matcher, todo-convert-legacy-date-time)
21733 (todo-current-category, todo-date-string-matcher)
21734 (todo-define-insertion-command, todo-diary-expired-matcher)
21735 (todo-diary-goto-entry, todo-diary-item-p)
21736 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
21737 (todo-display-categories, todo-display-sorted, todo-done-item-p)
21738 (todo-done-item-section-p, todo-done-separator)
21739 (todo-done-string-matcher, todo-files, todo-filter-items)
21740 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
21741 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
21742 (todo-insert-category-line, todo-insert-item-from-calendar)
21743 (todo-insert-sort-button, todo-insert-with-overlays)
21744 (todo-insertion-command-name, todo-insertion-key-bindings)
21745 (todo-label-to-key, todo-longest-category-name-length)
21746 (todo-make-categories-list, todo-mode-external-set)
21747 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
21748 (todo-modes-set-3, todo-multiple-filter-files)
21749 (todo-nondiary-marker-matcher, todo-prefix-overlays)
21750 (todo-read-category, todo-read-date, todo-read-dayname)
21751 (todo-read-file-name, todo-read-time)
21752 (todo-reevaluate-category-completions-files-defcustom)
21753 (todo-reevaluate-default-file-defcustom)
21754 (todo-reevaluate-filelist-defcustoms)
21755 (todo-reevaluate-filter-files-defcustom)
21756 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
21757 (todo-reset-done-separator, todo-reset-done-separator-string)
21758 (todo-reset-done-string, todo-reset-global-current-todo-file)
21759 (todo-reset-highlight-item, todo-reset-nondiary-marker)
21760 (todo-reset-prefix, todo-set-categories)
21761 (todo-set-date-from-calendar, todo-set-show-current-file)
21762 (todo-set-top-priorities, todo-short-file-name)
21763 (todo-show-current-file, todo-sort, todo-time-string-matcher)
21764 (todo-total-item-counts, todo-update-buffer-list)
21765 (todo-update-categories-display, todo-update-categories-sexp)
21766 (todo-update-count, todo-validate-name, todo-y-or-n-p):
21768 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
21770 (todo-categories, todo-display, todo-edit, todo-faces)
21771 (todo-filtered): New defgroups.
21772 (todo-archived-only, todo-button, todo-category-string, todo-date)
21773 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
21774 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
21775 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
21776 (todo-add-item-if-new-category, todo-always-add-time-string)
21777 (todo-categories-align, todo-categories-archived-label)
21778 (todo-categories-category-label, todo-categories-diary-label)
21779 (todo-categories-done-label, todo-categories-number-separator)
21780 (todo-categories-todo-label, todo-categories-totals-label)
21781 (todo-category-completions-files, todo-completion-ignore-case)
21782 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
21783 (todo-done-separator-string, todo-done-string)
21784 (todo-files-function, todo-filter-done-items, todo-filter-files)
21785 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
21786 (todo-initial-category, todo-initial-file, todo-item-mark)
21787 (todo-legacy-date-time-regexp, todo-mode-line-function)
21788 (todo-nondiary-marker, todo-number-prefix)
21789 (todo-print-buffer-function, todo-show-current-file)
21790 (todo-show-done-only, todo-show-first, todo-show-with-done)
21791 (todo-skip-archived-categories, todo-top-priorities-overrides)
21792 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
21793 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
21795 (todo-category-done, todo-date-pattern, todo-date-string-start)
21796 (todo-diary-items-buffer, todo-done-string-start)
21797 (todo-filtered-items-buffer, todo-item-start)
21798 (todo-month-abbrev-array, todo-month-name-array)
21799 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
21800 (todo-top-priorities-buffer): New defconsts.
21801 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
21802 (todo-categories-with-marks, todo-category-string-face)
21803 (todo-comment-face, todo-comment-string, todo-current-todo-file)
21804 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
21805 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
21806 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
21807 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
21808 (todo-font-lock-keywords, todo-global-current-todo-file)
21809 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
21810 (todo-insertion-commands-args)
21811 (todo-insertion-commands-args-genlist)
21812 (todo-insertion-commands-names, todo-insertion-map)
21813 (todo-key-bindings-t, todo-key-bindings-t+a)
21814 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
21815 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
21816 (todo-nondiary-face, todo-print-buffer, todo-time-face)
21817 (todo-visited): New variables.
21819 2013-06-21 Glenn Morris <rgm@gnu.org>
21821 * play/cookie1.el (cookie-apropos): Add optional display argument.
21822 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
21823 (psychoanalyze-pinhead): Use cookie-doctor.
21825 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21827 * emacs-lisp/package.el (tar-get-file-descriptor)
21828 (tar--extract): Declare.
21830 2013-06-21 Eduard Wiebe <usenet@pusto.de>
21832 Extend flymake's warning predicate to be a function (bug#14217).
21833 * progmodes/flymake.el (flymake-warning-predicate): New.
21834 (flymake-parse-line): Use it.
21835 (flymake-warning-re): Make obsolete alias to
21836 `flymake-warning-predicate'.
21838 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21840 * emacs-lisp/package.el (package-alist): Include obsolete packages.
21841 (package-obsolete-list): Remove.
21842 (package-activate): Remove min-version argument. Add `force' argument.
21843 Adjust to new package-alist format.
21844 (package-mark-obsolete): Remove.
21845 (package-unpack): Force reload of the package's autoloads.
21846 (package-installed-p): Check builtins if the installed package is not
21848 (package-initialize): Don't reset package-obsolete-list.
21849 Don't specify which package version to activate.
21850 (package-process-define-package, describe-package-1)
21851 (package-menu--generate): Adjust to new package-alist format.
21853 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21855 * allout-widgets.el (allout-widgets-mode-off)
21856 (allout-widgets-mode-on, allout-widgets-pre-command-business)
21857 (allout-widgets-post-command-business)
21858 (allout-widgets-after-copy-or-kill-function)
21859 (allout-widgets-after-undo-function, allout-test-range-overlaps)
21860 (allout-decorate-item-and-context)
21861 (allout-graphics-modification-handler): Fix typos in docstrings.
21862 (allout-get-or-create-parent-widget): Use `looking-at-p'.
21864 * cmuscheme.el (scheme-start-file): Doc fix.
21865 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
21866 (scheme-input-filter): Use `string-match-p'.
21868 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
21870 * dired-x.el: Use Dired consistently in docstrings.
21872 * dired.el: Use Dired consistently in docstrings.
21873 (dired-readin, dired-mode): Use `setq-local'.
21874 (dired-switches-alist): Make defvar-local.
21875 (dired-buffers-for-dir): Use `zerop'.
21876 (dired-safe-switches-p, dired-switches-escape-p)
21877 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
21878 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
21879 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
21880 (dired-goto-next-nontrivial-file): Use `string-match-p'.
21881 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
21882 (dired-toggle-marks, dired-mark-files-containing-regexp)
21883 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
21884 (dired-flag-auto-save-files, dired-flag-backup-files):
21885 Use `looking-at-p'.
21886 (dired-mark-files-regexp, dired-build-subdir-alist):
21887 Use `string-match-p', `looking-at-p'.
21889 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
21890 (direct-print-region-helper): Use `string-match-p'.
21892 2013-06-21 Leo Liu <sdl.web@gmail.com>
21894 * comint.el (comint-redirect-results-list-from-process):
21897 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21899 * net/eww.el (eww-update-header-line-format): Quote % characters.
21901 2013-06-21 Glenn Morris <rgm@gnu.org>
21903 * play/cookie1.el (cookie): New custom group.
21904 (cookie-file): New option.
21905 (cookie-check-file): New function.
21906 (cookie): Make it interactive. Make start and end messages optional.
21907 Interactively, display the result. Default to cookie-file.
21908 (cookie-insert): Default to cookie-file.
21909 (cookie-snarf): Make start and end messages optional.
21910 Default to cookie-file. Use with-temp-buffer.
21911 (cookie-read): Rename from read-cookie.
21912 Make start and end messages optional. Default to cookie-file.
21913 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
21914 Do not autoload it.
21915 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
21916 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
21918 2013-06-21 Leo Liu <sdl.web@gmail.com>
21920 * progmodes/octave.el (octave-mode): Backward compatibility fix.
21922 2013-06-21 Glenn Morris <rgm@gnu.org>
21924 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
21926 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
21927 Daniel Hackney <dan@haxney.org>
21929 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
21930 Consolidate the single-file vs tarball code.
21931 (package-desc-suffix): New function.
21932 (package-desc-full-name): Don't bother inlining it.
21933 (package-load-descriptor): Return the new package-desc.
21934 (package-mark-obsolete): Remove unused arg `package'.
21935 (package-unpack): Make it work for single files as well.
21936 Make it update package-alist.
21937 (package--make-autoloads-and-stuff): Rename from
21938 package--make-autoloads-and-compile. Don't compile any more.
21939 (package--compile): New function.
21940 (package-generate-description-file): New function, extracted from
21941 package-unpack-single.
21942 (package-unpack-single): Remove.
21943 (package--with-work-buffer): Add indentation and debugging info.
21944 (package-download-single): Remove.
21945 (package-install-from-archive): Rename from package-download-tar, make
21946 it take a pkg-desc, and make it work for single files as well.
21947 (package-download-transaction): Simplify.
21948 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
21949 external tar program.
21950 (package-install-from-buffer): Remove `pkg-desc' argument.
21951 Use package-tar-file-info for tar-mode buffers.
21952 (package-install-file): Simplify accordingly.
21953 (package-archive-base): Change to take a pkg-desc.
21954 * tar-mode.el (tar--check-descriptor): New function, extracted from
21955 tar-get-descriptor.
21956 (tar-get-descriptor): Use it.
21957 (tar-get-file-descriptor): New function.
21958 (tar--extract): New function, extracted from tar-extract.
21959 (tar--extract): Use it.
21960 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
21961 case the summary uses non-ascii. Adjust to new calling convention of
21962 package-tar-file-info.
21964 2013-06-21 Leo Liu <sdl.web@gmail.com>
21966 * comint.el (comint-redirect-results-list-from-process):
21967 Fix random delay. (Bug#14681)
21969 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
21971 * profiler.el (profiler-format-number): Use log, not log10.
21973 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21975 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
21977 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
21979 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
21980 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
21982 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
21983 (AUTOGENEL): ... here.
21984 * emacs-lisp/cl-macs.el (cl--sublis): New function.
21985 (cl--defsubst-expand): Use it.
21987 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
21989 * subr.el (log10): Move here from C code, and declare as obsolete.
21990 All uses of (log10 X) replaced with (log X 10).
21992 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
21994 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
21995 Declare with `defvar-local'.
21996 (tabulated-list-use-header-line, tabulated-list-entries)
21997 (tabulated-list-padding, tabulated-list-printer)
21998 (tabulated-list-sort-key): Declare with `defvar-local'.
21999 (tabulated-list-init-header, tabulated-list-print-fake-header):
22002 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
22004 * arc-mode.el (archive-mode): Add `archive-write-file' to
22005 `write-contents-functions' also for remote files. (Bug#14652)
22007 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
22009 * cus-edit.el (custom-commands): Fix typos.
22010 (custom-display): Fix tooltip text.
22011 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
22012 Fix typos in docstrings.
22013 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
22014 (custom-unlispify-menu-entry, custom-magic-value-create)
22015 (custom-add-see-also, custom-group-value-create): Use ?\s.
22016 (custom-guess-type, customize-apropos, editable-field)
22017 (custom-face-value-create): Use `string-match-p'.
22018 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
22020 * custom.el (custom-load-symbol): Use `string-match-p'.
22022 * ansi-color.el: Convert to lexical binding.
22023 (ansi-colors): Fix URL.
22024 (ansi-color-context, ansi-color-context-region): Use defvar-local.
22025 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
22026 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
22028 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22030 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
22032 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
22034 2013-06-19 Tom Tromey <tromey@redhat.com>
22036 * net/eww.el (eww-top-url): Remove.
22037 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
22038 (eww-render): Set new variables. Don't set eww-top-url.
22039 (eww-handle-link): Handle "prev", "home", and "contents".
22040 Downcase the rel text.
22041 (eww-top-url): Choose best top URL.
22043 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22045 * net/eww.el: Rewrite to implement form elements "by hand" instead of
22046 relying in widget.el. Using widget.el leads to too many
22047 user interface inconsistencies.
22048 (eww-self-insert): Implement entering commands in text fields.
22049 (eww-process-text-input): New function to make text input field editing
22051 (eww-submit): Rewrite to use the new-style form methods.
22052 (eww-select-display): Display the correct selected item.
22053 (eww-change-select): Implement changing the select value.
22054 (eww-toggle-checkbox): Implement radio/checkboxes.
22055 (eww-update-field): Fix compilation error.
22056 (eww-tag-textarea): Implement <textarea>.
22058 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
22059 we don't shadow mode-specific bindings.
22061 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
22064 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
22066 2013-06-19 Glenn Morris <rgm@gnu.org>
22068 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
22070 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
22072 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
22075 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
22077 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22079 * net/browse-url.el (browse-url-browser-function):
22080 `eww-browse-url' has the right calling signature, `eww' does not.
22082 2013-06-19 Glenn Morris <rgm@gnu.org>
22084 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
22085 Only eval autoloaded macros.
22086 (byte-compile-autoload): Only give the macro warning for macros.
22088 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
22089 (ps-underlined-faces): Declare.
22091 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
22092 (speedbar-add-supported-extension): Declare.
22094 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
22095 Don't include a date stamp in the header of the generated file;
22096 it leads to needless differences between output files.
22098 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
22100 * net/secrets.el (secrets-struct-secret-content-type):
22101 Replace check of introspection data by a test call of "CreateItem".
22102 Some servers do not offer introspection.
22104 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
22106 * electric.el (electric-pair-mode): Improve interaction with
22107 electric-layout-mode.
22108 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
22109 (electric-pair-syntax): Use text-mode-syntax-table in comments
22111 (electric-pair--insert): New function.
22112 (electric-pair-post-self-insert-function): Use it and
22113 electric--after-char-pos.
22115 2013-06-19 Leo Liu <sdl.web@gmail.com>
22117 * progmodes/octave.el (octave-help): Fix regexp.
22119 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
22121 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
22122 (shr-table-horizontal-line): Allow nil as a value, and change the
22124 (shr-insert-table-ruler): Respect the nil value.
22126 2013-06-18 Tom Tromey <tromey@barimba>
22128 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22130 (eww-open-file): New defun.
22131 (eww-render): Initialize new variables.
22132 (eww-display-html): Handle "link" and "a".
22133 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
22134 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
22135 (eww-back-url): Rename from eww-previous-url.
22136 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22139 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
22141 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
22142 Distinguish ternary operator tokens from slash symbol and slash
22145 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
22147 Convert symbol prettification into minor mode and global minor mode.
22149 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
22150 `prog-prettify-symbols', and make a local defvar instead of defcustom.
22151 (prettify-symbols--keywords): Rename from
22152 `prog-prettify-symbols-alist' and make a local defvar.
22153 (prettify-symbols--compose-symbol): Rename from
22154 `prog--prettify-font-lock-compose-symbol'.
22155 (prettify-symbols--make-keywords): Rename from
22156 `prog-prettify-font-lock-symbols-keywords' and simplify.
22157 (prog-prettify-install): Remove.
22158 (prettify-symbols-mode): New minor mode, based on
22159 `prog-prettify-install'.
22160 (turn-on-prettify-symbols-mode): New function.
22161 (global-prettify-symbols-mode): New globalized minor mode.
22163 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22164 * progmodes/cfengine.el (cfengine3-mode):
22165 * progmodes/perl-mode.el (perl-mode): Don't call
22166 `prog-prettify-install'; set `prettify-symbols-alist' instead.
22168 2013-06-18 Juri Linkov <juri@jurta.org>
22170 * files-x.el (modify-file-local-variable-message): New function.
22171 (modify-file-local-variable)
22172 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
22173 and call `modify-file-local-variable-message' when it's non-nil.
22174 (add-file-local-variable, delete-file-local-variable)
22175 (add-file-local-variable-prop-line)
22176 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
22177 and use it. (Bug#9820)
22179 2013-06-18 Juri Linkov <juri@jurta.org>
22181 * emulation/vi.el (vi-shell-op):
22182 * emulation/vip.el (vip-execute-com, ex-command):
22183 * emulation/viper-cmd.el (viper-exec-bang):
22184 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
22185 the call of `shell-command-on-region'. (Bug#14637)
22187 * simple.el (shell-command-on-region): Doc fix.
22189 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
22191 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
22194 2013-06-18 Glenn Morris <rgm@gnu.org>
22196 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
22198 * newcomment.el (comment-search-forward, comment-search-backward):
22199 Doc fix. (Bug#14376)
22201 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
22203 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
22204 (buffer-face-mode-invoke): Doc fix.
22206 2013-06-18 Matthias Meulien <orontee@gmail.com>
22208 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
22209 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
22211 2013-06-18 Glenn Morris <rgm@gnu.org>
22213 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
22214 Replace obsolete function generic-make-keywords with its expansion.
22216 * progmodes/python.el (ffap-alist): Declare.
22218 * textmodes/reftex.el (bibtex-mode-map): Declare.
22220 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
22222 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
22223 (package-unpack, package-unpack-single): Return the pkg-dir.
22224 (package-download-transaction): Use it to update package-alist.
22226 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22228 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
22231 2013-06-17 Juri Linkov <juri@jurta.org>
22233 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
22235 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
22237 * emacs-lisp/package.el (package-load-descriptor):
22238 Remove `with-syntax-table' call, `read' doesn't need it.
22239 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
22241 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
22243 * startup.el (command-line): Expand package name returned by
22244 `package--description-file' (bug#14639).
22246 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
22248 * emacs-lisp/package.el (package-load-descriptor): Do not call
22249 `emacs-lisp-mode', just use its syntax table.
22251 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
22253 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
22254 `font-lock-extra-managed-props' if any prettifying keyword is added.
22255 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
22256 (prog-mode): Use `setq-local'.
22258 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22260 * international/characters.el (standard-case-table): Set syntax of ?»
22261 and ?« to punctuation.
22263 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
22265 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
22266 Save relevant match data before calling `syntax-ppss' (bug#14595).
22268 2013-06-15 Juri Linkov <juri@jurta.org>
22270 * files-x.el (modify-file-local-variable-prop-line): Add local
22271 variables to the end of the existing comment on the first line.
22272 Use `file-auto-mode-skip' to skip interpreter magic line,
22273 and also skip XML declaration.
22275 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22277 * startup.el (package--builtin-versions): New var.
22278 (package-subdirectory-regexp): Remove.
22279 (package--description-file): Hard code its value instead.
22281 * emacs-lisp/package.el: Don't activate packages older than builtin.
22282 (package-obsolete-list): Rename from package-obsolete-alist, and make
22283 it into a simple list of package-desc.
22284 (package-strip-version): Remove.
22285 (package-built-in-p): Use package--builtin-versions.
22286 (package-mark-obsolete): Simplify.
22287 (package-process-define-package): Mark it obsolete if older than the
22289 (package-handle-response): Use line-end-position.
22290 (package-read-archive-contents, package--download-one-archive):
22292 (package--add-to-archive-contents): Skip if older than the builtin or
22294 (package-menu-describe-package): Fix last change.
22295 (package-list-unversioned): New var.
22296 (package-menu--generate): Use it.
22298 * emacs-lisp/autoload.el: Manage package--builtin-versions.
22299 (autoload--insert-text, autoload--insert-cookie-text): New functions.
22300 (autoload-builtin-package-versions): New variable.
22301 (autoload-generate-file-autoloads): Use them.
22302 Remove the list of autoloaded functions/macros from the
22303 (autoload...) comments.
22305 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
22307 2013-06-15 Eli Zaretskii <eliz@gnu.org>
22309 * simple.el (line-move-partial): Don't jump to the next screen
22310 line as soon as it becomes visible. Instead, continue enlarging
22311 the vscroll until the portion of a tall screen line that's left on
22312 display is about the height of the frame's default font.
22315 2013-06-15 Glenn Morris <rgm@gnu.org>
22317 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
22318 compilation-error-regexp-alist void, or local while let-bound.
22320 * progmodes/make-mode.el (makefile-mode-syntax-table):
22321 Treat "=" as punctuation. (Bug#14614)
22323 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
22325 * help-fns.el (describe-variable):
22326 Add extra line for permanent-local variables.
22328 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
22330 * progmodes/scheme.el (scheme-font-lock-keywords-2):
22331 Add export, import, library. (Bug#9164)
22332 (library): Set indent function.
22334 2013-06-14 Glenn Morris <rgm@gnu.org>
22336 * term/xterm.el (xterm--query):
22337 Stop after first matching handler. (Bug#14615)
22339 2013-06-14 Ivan Kanis <ivan@kanis.fr>
22341 Add support for dired in saveplace.
22342 * dired.el (dired-initial-position-hook): New variable.
22343 (dired-initial-position): Call hook to place cursor position.
22344 * saveplace.el (save-place-to-alist): Add dired position.
22345 (save-place-dired-hook): New function.
22347 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
22349 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
22350 through a symbol rather than letrec.
22352 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
22353 (package-desc): Add `dir' field.
22354 (package-desc-full-name): New function.
22355 (package-load-descriptor): Combine the two arguments. Don't use `load'.
22356 (package-maybe-load-descriptor): Remove.
22357 (package-load-all-descriptors): Just call package-load-descriptor.
22358 (package--disabled-p): New function.
22359 (package-desc-vers, package-desc-doc): Remove aliases.
22360 (package--dir): Remove function.
22361 (package-activate): Check if a package is disabled.
22362 (package-process-define-package): New function, extracted from
22364 (define-package): Turn into a place holder.
22365 (package-unpack-single, package-tar-file-info):
22366 Use package--description-file.
22367 (package-compute-transaction): Use package--disabled-p.
22368 (package-download-transaction): Don't call
22369 package-maybe-load-descriptor since they're all loaded anyway.
22370 (package-install): Change argument to be a pkg-desc.
22371 (package-delete): Use a single pkg-desc argument.
22372 (describe-package-1): Use package-desc-dir instead of package--dir.
22373 Use package-desc property instead of package-symbol.
22374 (package-install-button-action): Adjust accordingly.
22375 (package--push): Rewrite.
22376 (package-menu--print-info): Adjust accordingly. Change the ID format
22378 (package-menu-describe-package, package-menu-get-status)
22379 (package-menu--find-upgrades, package-menu-mark-upgrades)
22380 (package-menu-execute, package-menu--name-predicate):
22381 Adjust accordingly.
22382 * startup.el (package--description-file): New function.
22383 (command-line): Use it.
22384 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22385 Use package-desc-version.
22387 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
22388 (byte-compile-preprocess): Use it.
22389 (byte-compile-file-form-defalias): Try a bit harder to use macros we
22390 can't quite recognize.
22391 (byte-compile-add-to-list): Remove.
22392 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
22393 (cconv-closure-convert): Add assertion.
22395 * emacs-lisp/map-ynp.el: Use lexical-binding.
22396 (map-y-or-n-p): Remove unused vars `tail' and `object'.
22397 Factor out some repeated code.
22399 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22401 * subr.el (with-eval-after-load): New macro.
22402 (eval-after-load): Allow form to be a function.
22403 take advantage of lexical-binding.
22404 (do-after-load-evaluation): Use dolist and adjust to new format.
22405 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
22407 2013-06-13 Juri Linkov <juri@jurta.org>
22409 * replace.el (perform-replace): Display "symbol " and other search
22410 modes from `isearch-message-prefix' in the *Help* buffer.
22412 * isearch.el (isearch-query-replace): Add " symbol" and other
22413 possible search modes from `isearch-message-prefix' to the prompt.
22414 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
22415 when reading a regexp to collect.
22417 2013-06-13 Juri Linkov <juri@jurta.org>
22419 * isearch.el (word-search-regexp): Match whitespace if the search
22420 string begins or ends in whitespace. The LAX arg is applied to
22421 both ends of the search string. Use `regexp-quote' and explicit
22422 \< and \> instead of \b. Use \` and \' instead of ^ and $.
22423 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
22424 boundaries are replaced with symbol boundaries, and characters
22425 between symbols match non-word non-symbol syntax. (Bug#14602)
22427 2013-06-13 Juri Linkov <juri@jurta.org>
22429 * isearch.el (isearch-del-char): Don't exceed the length of
22430 `isearch-string' by the prefix arg. (Bug#14563)
22432 2013-06-13 Juri Linkov <juri@jurta.org>
22434 * isearch.el (isearch-yank-word, isearch-yank-line)
22435 (isearch-char-by-name, isearch-quote-char)
22436 (isearch-printing-char, isearch-process-search-char):
22437 Add optional count prefix arg. (Bug#14563)
22439 * international/isearch-x.el
22440 (isearch-process-search-multibyte-characters):
22441 Add optional count prefix arg.
22443 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22445 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
22446 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
22449 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
22451 * subr.el (set-temporary-overlay-map): Add on-exit argument.
22453 2013-06-13 Glenn Morris <rgm@gnu.org>
22455 * startup.el (tty-handle-args):
22456 Don't just discard "--" and anything after. (Bug#14608)
22458 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
22460 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
22462 Implement changes in Secret Service API. Make it backward compatible.
22463 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
22464 (secrets-create-item): Use it. Prefix properties with interface.
22466 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
22468 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
22469 (term-emulate-terminal): Respect term-suppress-hard-newline.
22471 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
22473 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
22474 Only remove a `thumb-file' overlay. (Bug#14548)
22476 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
22478 * mail/reporter.el (reporter-submit-bug-report):
22479 Handle missing package-name. (Bug#14600)
22481 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22483 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
22484 (reftex-citation-prompt, reftex-default-bibliography)
22485 (reftex-bib-or-thebib, reftex-get-bibfile-list)
22486 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
22487 (reftex-bib-sort-author, reftex-bib-sort-year)
22488 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
22489 (reftex-extract-bib-entries-from-thebibliography)
22490 (reftex-get-bibkey-default, reftex-get-bib-names)
22491 (reftex-parse-bibtex-entry, reftex-get-bib-field)
22492 (reftex-format-bib-entry, reftex-parse-bibitem)
22493 (reftex-format-bibitem, reftex-do-citation)
22494 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
22495 (reftex-restrict-bib-matches, reftex-extract-bib-file)
22496 (reftex-insert-bib-matches, reftex-format-citation)
22497 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
22498 (reftex-create-bibtex-file): Add docstrings, mostly by converting
22499 existing comments into docstrings.
22501 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22503 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
22505 2013-06-12 Andreas Schwab <schwab@suse.de>
22507 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
22508 for auto-save files.
22510 2013-06-12 Glenn Morris <rgm@gnu.org>
22512 * ido.el (ido-delete-ignored-files): Remove.
22513 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
22514 Go back to calling ido-ignore-item-p directly.
22516 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
22518 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
22520 * ido.el (ido-delete-ignored-files): New function,
22521 split from ido-make-file-list-1.
22522 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
22523 (ido-make-file-list-1): Use ido-delete-ignored-files.
22525 2013-06-12 Leo Liu <sdl.web@gmail.com>
22527 * progmodes/octave.el (inferior-octave-startup)
22528 (inferior-octave-completion-table)
22529 (inferior-octave-track-window-width-change)
22530 (octave-eldoc-function-signatures, octave-help)
22531 (octave-find-definition): Use single quoted strings.
22532 (inferior-octave-startup-args): Change default value.
22533 (inferior-octave-startup): Do not hard code "-i" and
22534 "--no-line-editing".
22535 (inferior-octave-resync-dirs): Add optional arg NOERROR.
22536 (inferior-octave-directory-tracker): Use it.
22537 (octave-goto-function-definition): Robustify.
22538 (octave-help): Support highlighting operators in 'See also'.
22539 (octave-find-definition): Find subfunctions only in Octave mode.
22541 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22543 * help-fns.el (help-fns--compiler-macro): If the handler function is
22544 named, then put a link to it.
22545 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
22546 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
22547 (cl-typep): Use it.
22548 (cl-eval-when): Simplify debug spec.
22549 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
22550 compiler-macro function instead of setting `compiler-macro-file'.
22552 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22554 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
22555 * vc/vc-hooks.el (vc-stay-local): Doc fix.
22557 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22558 Daniel Hackney <dan@haxney.org>
22560 First part of Daniel Hackney's patch to package.el.
22561 * emacs-lisp/package.el: Use defstruct.
22562 (package-desc): New, main struct.
22563 (package--bi-desc, package--ac-desc): New structs, used to describe the
22564 format in external files.
22565 (package-desc-vers): Replace with package-desc-version accessor.
22566 (package-desc-doc): Replace with package-desc-summary accessor.
22567 (package-activate-1): Remove `package' arg since the pkg-vec now
22569 (define-package): Use package-desc-from-define.
22570 (package-unpack-single): Change file-name arg to be a symbol.
22571 (package--add-to-archive-contents): Use package-desc-create and new
22572 accessor functions to package--ac-desc.
22573 (package-buffer-info, package-tar-file-info): Return a package-desc.
22574 (package-install-from-buffer): Remove `type' argument. Change pkg-info
22575 arg to be a package-desc.
22576 (package-install-file): Adjust accordingly. Use \' to match EOS.
22577 (package--from-builtin): New function.
22578 (describe-package-1, package-menu--generate): Use it.
22579 (package--make-autoloads-and-compile): Change name arg to be a symbol.
22580 (package-generate-autoloads): Idem and return the name of the file.
22581 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22582 Change pkg-info arg to be a package-desc.
22583 Use package-make-ac-desc.
22584 (package-upload-file): Use \' to match EOS.
22585 * finder.el (finder-compile-keywords): Use package-make-builtin.
22587 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22589 * vc/vc.el (vc-deduce-fileset): Change error message.
22590 (vc-read-backend): New function.
22591 (vc-next-action): Use it.
22593 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
22595 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
22596 (prolog-font-lock-keywords): Use regexp-opt instead.
22597 Don't manually highlight strings.
22598 (prolog-mode-variables): Simplify comment-start-skip.
22599 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
22601 * emacs-lisp/generic.el (generic--normalise-comments)
22602 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
22603 (generic-mode-set-comments): Use them.
22604 (generic-bracket-support): Use setq-local.
22605 (generic-make-keywords-list): Declare obsolete.
22607 2013-06-11 Glenn Morris <rgm@gnu.org>
22609 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22610 Prettify after setting font-lock-defaults. (Bug#14574)
22612 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
22614 * replace.el (query-replace, occur-read-regexp-defaults-function)
22616 * subr.el (declare-function, number-sequence, local-set-key)
22617 (substitute-key-definition, locate-user-emacs-file)
22618 (with-silent-modifications, split-string, eval-after-load):
22619 Fix typos, remove unneeded backslashes and reflow some docstrings.
22621 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22623 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
22624 default for Elisp files.
22626 2013-06-11 Glenn Morris <rgm@gnu.org>
22628 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
22629 although define-derived-mode was doing this anyway. (Bug#14583)
22631 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
22633 * allout.el (allout-encryption-plaintext-sanitization-regexps):
22634 Fix make-variable-buffer-local call to refer to the correct variable.
22636 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
22638 * eshell/em-term.el (eshell-visual-commands)
22639 (eshell-visual-subcommands, eshell-visual-options):
22640 Add summary line to docstrings. Add cross-references.
22642 2013-06-10 Glenn Morris <rgm@gnu.org>
22644 * epa.el (epa-read-file-name): New function. (Bug#14510)
22645 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
22647 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22649 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
22650 output redirection to be ignored with visual commands.
22652 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22654 * eshell/em-term.el (eshell-visual-command-p): New function.
22655 (eshell-term-initialize): Move long lambda to separate function
22656 eshell-visual-command-p.
22657 * eshell/em-dirs.el (eshell-dirs-initialize):
22658 * eshell/em-script.el (eshell-script-initialize):
22659 Add missing #' to lambda.
22661 2013-06-08 Leo Liu <sdl.web@gmail.com>
22663 * progmodes/octave.el (octave-add-log-current-defun): New function.
22664 (octave-mode): Set add-log-current-defun-function.
22665 (octave-goto-function-definition): Do not move point if not found.
22666 (octave-find-definition): Enhance to try subfunctions first.
22668 2013-06-08 Glenn Morris <rgm@gnu.org>
22670 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22671 (byte-compile-backward-char, byte-compile-backward-word):
22672 Improve previous change, to handle non-explicit nil.
22674 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
22676 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
22677 (smie--opener/closer-at-point): New function.
22678 (smie--matching-block-data): Use it. Don't match from right after an
22679 opener or right before a closer. Obey smie-blink-matching-inners.
22680 Don't signal a mismatch for repeated inners like "switch..case..case".
22682 2013-06-07 Leo Liu <sdl.web@gmail.com>
22684 * progmodes/octave.el (octave-mode): Set comment-use-global-state
22686 (octave-function-header-regexp): Fix. (Bug#14570)
22687 (octave-help-mode-finish-hook, octave-help-mode-finish):
22688 Remove. Just use temp-buffer-show-hook.
22690 * newcomment.el (comment-search-backward): Revert last change.
22693 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
22695 2013-06-07 Eli Zaretskii <eliz@gnu.org>
22697 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
22698 through xargs, to avoid failure due to MS-Windows limitations on
22699 command-line length.
22701 2013-06-06 Glenn Morris <rgm@gnu.org>
22703 * font-lock.el (lisp-font-lock-keywords-2):
22704 Treat user-error like error.
22706 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22707 (byte-compile-backward-char, byte-compile-backward-word):
22708 Handle explicit nil arguments. (Bug#14565)
22710 2013-06-05 Alan Mackenzie <acm@muc.de>
22712 * isearch.el (isearch-allow-prefix): New user option.
22713 (isearch-other-meta-char): Don't exit isearch when a prefix
22714 argument is typed whilst `isearch-allow-prefix' is non-nil.
22717 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22719 * autorevert.el (auto-revert-notify-handler): Use memq.
22720 Hide assertion failure.
22722 * skeleton.el: Use cl-lib.
22723 (skeleton-further-elements): Use defvar-local.
22724 (skeleton-insert): Use cl-progv.
22726 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22728 * progmodes/prog-mode.el (prog-prettify-symbols)
22729 (prog-prettify-install): Update docstrings.
22731 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22733 * simple.el: Move all the prog-mode code to prog-mode.el.
22734 * progmodes/prog-mode.el: New file.
22735 * loadup.el: Add prog-mode.el.
22737 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22739 * simple.el (prog-prettify-symbols): Add version.
22740 (prog-prettify-install): Add convenience function to prettify symbols.
22742 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
22743 (perl--augmented-font-lock-keywords-1)
22744 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
22745 variables and use it.
22747 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22748 (cfengine3-mode): Remove unneeded variable and use it.
22750 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22751 (lisp--augmented-font-lock-keywords-1)
22752 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
22753 Remove unneeded variables and use it.
22755 2013-06-05 João Távora <joaotavora@gmail.com>
22757 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
22758 to point when opening the connection. (Bug#14380)
22760 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22762 * subr.el (load-history-regexp, load-history-filename-element)
22763 (eval-after-load, after-load-functions, do-after-load-evaluation)
22764 (eval-next-after-load, display-delayed-warnings)
22765 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
22766 definition of save-match-data.
22767 (overriding-local-map): Remove accidental obsolescence declaration.
22769 * emacs-lisp/edebug.el (edebug-result): Move before first use.
22771 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
22773 Generalize symbol prettify support to prog-mode and implement it
22774 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
22775 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
22776 (prog--prettify-font-lock-compose-symbol)
22777 (prog-prettify-font-lock-symbols-keywords): New variables and
22778 functions to support symbol prettification.
22779 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
22780 (lisp--augmented-font-lock-keywords-1)
22781 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
22782 (lisp--prettify-symbols-alist): Implement prettify of lambda.
22783 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
22784 (cfengine3--prettify-symbols-alist, cfengine3-mode):
22785 Implement prettify of -> => :: strings.
22786 * progmodes/perl-mode.el (perl-prettify-symbols)
22787 (perl--font-lock-compose-symbol)
22788 (perl--font-lock-symbols-keywords): Move to prog-mode.
22789 (perl--prettify-symbols-alist): Prettify -> => :: strings.
22790 (perl-font-lock-keywords-1)
22791 (perl-font-lock-keywords-2): Remove explicit prettify support.
22792 (perl--augmented-font-lock-keywords)
22793 (perl--augmented-font-lock-keywords-1)
22794 (perl--augmented-font-lock-keywords-2, perl-mode):
22795 Implement prettify support.
22797 2013-06-05 Leo Liu <sdl.web@gmail.com>
22799 Re-implement SMIE matching block highlight using
22800 show-paren-data-function. (Bug#14395)
22801 * emacs-lisp/smie.el (smie-matching-block-highlight)
22802 (smie--highlight-matching-block-overlay)
22803 (smie--highlight-matching-block-lastpos)
22804 (smie-highlight-matching-block)
22805 (smie-highlight-matching-block-mode): Remove.
22806 (smie--matching-block-data-cache): New variable.
22807 (smie--matching-block-data): New function.
22808 (smie-setup): Use smie--matching-block-data for
22809 show-paren-data-function.
22811 * progmodes/octave.el (octave-mode-menu): Fix.
22812 (octave-find-definition): Skip garbage lines.
22814 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22816 Fix compilation error with simultaneous dynamic+lexical scoping.
22817 Add warning when a defvar appears after the first let-binding.
22818 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
22819 (byte-compile-close-variables): Initialize it.
22820 (byte-compile--declare-var): New function.
22821 (byte-compile-file-form-defvar)
22822 (byte-compile-file-form-define-abbrev-table)
22823 (byte-compile-file-form-custom-declare-variable): Use it.
22824 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
22825 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
22826 (byte-compile-bind): Handle dynamic bindings that shadow
22828 (byte-compile-unbind): Make arg non-optional.
22829 (byte-compile-let): Simplify.
22830 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
22831 (cconv--analyse-function, cconv-analyse-form): Populate it.
22832 Protect byte-compile-bound-variables to limit the scope of defvars.
22833 (cconv-analyse-form): Add missing rule for (defvar <foo>).
22834 Remove unneeded rule for `declare'.
22836 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
22837 so as to avoid depending on cl-adjoin at run-time.
22838 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
22840 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
22841 (macroexp--warn-and-return): Use it.
22843 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
22845 * subr.el: Convert to lexical binding.
22846 (overriding-local-map): Make obsolete.
22847 (add-to-list): Doc fix. Add compiler macro.
22848 (read-key): Swap values of local maps.
22850 2013-06-05 Leo Liu <sdl.web@gmail.com>
22852 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
22854 2013-06-04 Leo Liu <sdl.web@gmail.com>
22856 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
22857 (compilation-auto-jump): Suppress the "Mark set" message to give
22858 way to exit message.
22860 2013-06-04 Alan Mackenzie <acm@muc.de>
22862 Remove faulty optimization from indentation calculation.
22863 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
22864 search limit based on 2000 characters back from indent-point.
22866 2013-06-03 Tassilo Horn <tsdh@gnu.org>
22868 * eshell/em-term.el (cl-lib): Require `cl-lib'.
22870 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
22872 * emacs-lisp/lisp.el: Use lexical-binding.
22873 (lisp--local-variables-1, lisp--local-variables): New functions.
22874 (lisp--local-variables-completion-table): New var.
22875 (lisp-completion-at-point): Use it complete let-bound vars.
22877 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
22878 eagerly (bug#14422).
22880 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
22882 * autorevert.el (auto-revert-notify-enabled)
22883 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
22884 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
22885 (auto-revert-notify-handler): Handle also gfilenotify.
22887 * subr.el (file-notify-handle-event): New defun. Replacing ...
22888 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
22891 2013-06-03 Juri Linkov <juri@jurta.org>
22893 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
22894 `M-s h .'. (Bug#14427)
22896 * hi-lock.el (highlight-symbol-at-point): New alias for the new
22897 command `hi-lock-face-symbol-at-point'.
22898 (hi-lock-face-symbol-at-point): New command.
22899 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
22900 (hi-lock-menu): Add `highlight-symbol-at-point'.
22901 (hi-lock-mode): Doc fix.
22903 * isearch.el (isearch-forward-symbol-at-point): New command.
22904 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
22905 (isearch-highlight-regexp): Add a regexp which matches
22906 words/symbols for word/symbol mode.
22908 * subr.el (find-tag-default-bounds): New function with the body
22909 mostly moved from `find-tag-default'.
22910 (find-tag-default): Move most code to `find-tag-default-bounds',
22911 call it and apply `buffer-substring-no-properties' afterwards.
22913 2013-06-03 Tassilo Horn <tsdh@gnu.org>
22915 * eshell/em-term.el (eshell-term-initialize):
22916 Use `cl-intersection' rather than `intersection'.
22918 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
22920 * vc/log-view.el: Doc fix.
22921 (log-view-mode-map): Copy keymap from `special-mode-map'.
22923 2013-06-02 Eric Ludlam <zappo@gnu.org>
22925 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
22926 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
22927 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
22928 (eieio-unbound, eieio-default-superclass)
22929 (eieio--define-field-accessors, method-static, method-before)
22930 (method-primary, method-after, method-num-lists)
22931 (method-generic-before, method-generic-primary)
22932 (method-generic-after, method-num-slots)
22933 (eieio-specialized-key-to-generic-key)
22934 (eieio--check-type, class-v, class-p)
22935 (eieio-class-name, define-obsolete-function-alias)
22936 (eieio-class-parents-fast, eieio-class-children-fast)
22937 (same-class-fast-p, class-constructor, generic-p)
22938 (generic-primary-only-p, generic-primary-only-one-p)
22939 (class-option-assoc, class-option, eieio-object-p)
22940 (class-abstract-p, class-method-invocation-order)
22941 (eieio-defclass-autoload-map, eieio-defclass-autoload)
22942 (eieio-class-un-autoload, eieio-defclass)
22943 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
22944 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
22945 (eieio--defgeneric-init-form, eieio-defgeneric-form)
22946 (eieio-defgeneric-reset-generic-form)
22947 (eieio-defgeneric-form-primary-only)
22948 (eieio-defgeneric-reset-generic-form-primary-only)
22949 (eieio-defgeneric-form-primary-only-one)
22950 (eieio-defgeneric-reset-generic-form-primary-only-one)
22951 (eieio-unbind-method-implementations)
22952 (eieio--defmethod, eieio--typep)
22953 (eieio-perform-slot-validation, eieio-validate-slot-value)
22954 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
22955 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
22956 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
22957 (eieio-slot-name-index, eieio-class-slot-name-index)
22958 (eieio-set-defaults, eieio-initarg-to-attribute)
22959 (eieio-attribute-to-initarg, eieio-c3-candidate)
22960 (eieio-c3-merge-lists, eieio-class-precedence-c3)
22961 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
22962 (eieio-class-precedence-list, eieio-generic-call-methodname)
22963 (eieio-generic-call-arglst, eieio-generic-call-key)
22964 (eieio-generic-call-next-method-list)
22965 (eieio-pre-method-execution-functions, eieio-generic-call)
22966 (eieio-generic-call-primary-only, eieiomt-method-list)
22967 (eieiomt-optimizing-obarray, eieiomt-install)
22968 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
22969 (eieio-generic-form, eieio-defmethod, make-obsolete)
22970 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
22971 (defclass): Remove `eval-and-compile' from macro.
22972 (call-next-method, shared-initialize): Instead of using
22973 `scoped-class' variable, use new eieio--scoped-class, and
22974 eieio--with-scoped-class.
22975 (initialize-instance): Rename local variable 'scoped-class' to
22976 'this-class' to remove ambiguitity from old global.
22978 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
22980 (eieio--scoped-class-stack): New variable.
22981 (eieio--scoped-class): New fcn.
22982 (eieio--with-scoped-class): New scoping macro.
22983 (eieio-defclass): Use pushnew instead of add-to-list.
22984 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
22985 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
22986 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
22987 `scoped-class' variable, use new eieio--scoped-class, and
22988 eieio--with-scoped-class.
22990 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
22992 2013-06-02 Tassilo Horn <tsdh@gnu.org>
22994 * eshell/esh-ext.el (eshell-external-command): Pass args to
22995 `eshell-find-interpreter'.
22996 (eshell-find-interpreter): Add new second parameter ARGS.
22998 * eshell/em-script.el (eshell-script-initialize): Add second arg
22999 to the function added as MATCH to `eshell-interpreter-alist'.
23001 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
23002 the function added as MATCH to `eshell-interpreter-alist'.
23004 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
23005 (eshell-visual-options): New defcustom.
23006 (eshell-escape-control-x): Adapt docstring.
23007 (eshell-term-initialize): Test `eshell-visual-subcommands' and
23008 `eshell-visual-options' in addition to `eshell-visual-commands'.
23009 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
23011 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
23013 * progmodes/python.el (python-indent-block-enders): Add break,
23014 continue and raise keywords.
23016 2013-06-01 Glenn Morris <rgm@gnu.org>
23018 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
23020 Plain (f)boundp silences compilation warnings since Emacs 22.1.
23021 * progmodes/cc-cmds.el (delete-forward-p):
23022 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
23023 * progmodes/cc-engine.el (buffer-syntactic-context):
23024 * progmodes/cc-fonts.el (face-property-instance):
23025 * progmodes/cc-mode.el (set-keymap-parents):
23026 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
23027 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
23028 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
23029 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
23030 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
23032 * progmodes/cc-vars.el (other): Emacs has this widget since
23033 at least 21.1, so don't (re)define it.
23035 * eshell/em-cmpl.el (eshell-cmpl-initialize):
23036 Replace the obsolete alias pcomplete-arg-quote-list.
23038 2013-06-01 Leo Liu <sdl.web@gmail.com>
23040 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
23041 punctuation syntax.
23042 (inferior-octave-minimal-columns)
23043 (inferior-octave-last-column-width): New variables.
23044 (inferior-octave-track-window-width-change): New function.
23045 (inferior-octave-mode): Adjust column width so that Octave output,
23046 for example from 'ls', can fit into the window nicely.
23048 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
23050 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23051 Highlight expansions inside regexp literals.
23053 2013-05-31 Glenn Morris <rgm@gnu.org>
23055 * obsolete/sym-comp.el (symbol-complete):
23056 Replace obsolete completion-annotate-function.
23058 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
23060 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
23062 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23063 New function, checks if point is inside a literal that allows
23064 expression expansion.
23065 (ruby-syntax-propertize-expansion): Use it.
23066 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
23069 2013-05-30 Juri Linkov <juri@jurta.org>
23071 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
23073 (isearch-invisible): New variable.
23074 (isearch-forward): Doc fix.
23075 (isearch-mode): Set `isearch-invisible'
23076 to the value of `search-invisible'.
23077 (isearch-toggle-case-fold): Doc fix.
23078 (isearch-toggle-invisible): New command.
23079 (isearch-query-replace): Let-bind `search-invisible'
23080 to the value of `isearch-invisible'.
23081 (isearch-search): Use `isearch-invisible' instead of
23082 `search-invisible'. Let-bind `search-invisible'
23083 to the value of `isearch-invisible'. (Bug#11378)
23085 2013-05-30 Juri Linkov <juri@jurta.org>
23087 * replace.el (perform-replace): Avoid `isearch-range-invisible'
23088 call when `query-flag' is nil and `search-invisible' is non-nil.
23091 2013-05-30 Glenn Morris <rgm@gnu.org>
23093 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
23095 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
23096 (cc-require): Suppress spurious "noruntime" warnings.
23097 (cc-require-when-compile): Use fboundp, for sake of compiler.
23099 * progmodes/cc-mode.el: Move load of cc-vars before that of
23100 cc-langs (which in turn loads cc-vars), to quieten compiler.
23102 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23104 * paren.el: Simplify the code.
23105 (show-paren-mode): Always start the timer.
23106 (show-paren--idle-timer): Rename from show-paren-idle-timer.
23107 (show-paren--overlay, show-paren--overlay-1): Rename from
23108 show-paren-overlay and show-paren-overlay-1, and initialize to an
23109 overlay rather than to nil.
23110 (show-paren-function): Misc cleanup and simplifications.
23112 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23114 * paren.el (show-paren-data-function): New hook.
23115 (show-paren--default): New function, extracted from show-paren-function.
23116 (show-paren-function): Use show-paren-data-function.
23118 2013-05-30 Glenn Morris <rgm@gnu.org>
23120 * ielm.el (ielm-map, ielm-complete-symbol):
23121 Use completion-at-point rather than obsolete functions.
23122 (inferior-emacs-lisp-mode): Doc fix.
23123 Set completion-at-point-functions, rather than
23124 comint-dynamic-complete-functions.
23126 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
23127 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
23128 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
23130 * image.el (image-animated-p): Tweak definition.
23132 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
23133 (rlogin-process-connection-type): Tweak default. Add set-after.
23134 (rlogin-host): Doc fix.
23135 (rlogin): Tweak prompt.
23136 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
23138 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
23139 * progmodes/tcl.el (inferior-tcl-mode-map):
23140 Use completion-at-point rather than obsolete alias.
23142 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
23144 * minibuffer.el (read-file-name-completion-ignore-case):
23145 Move before completion--in-region, for eager macro expansion.
23147 2013-05-29 Juri Linkov <juri@jurta.org>
23149 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
23150 for total count of matching lines. Add `global-matches' for total
23151 count of matches. Rename `matches' to `lines' for count of
23152 matching lines. Add `matches' for count of matches.
23153 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
23154 to `prev-line' for line number of prev match endpt.
23155 Increment `matches' for every match. Print the number of
23156 matching lines in the header.
23157 (occur-context-lines): Rename `lines' to `curr-line'.
23158 Rename `prev-lines' to `prev-line'. (Bug#14017)
23160 2013-05-29 Juri Linkov <juri@jurta.org>
23162 * replace.el (perform-replace): Add `skip-read-only-count',
23163 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
23164 Increment them for corresponding conditions and report the number
23165 of skipped occurrences in the final message. (Bug#11746)
23166 (query-replace, query-replace-regexp, query-replace-regexp-eval)
23167 (replace-string, replace-regexp): Doc fix.
23169 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
23171 * emacs-lisp/trace.el (trace--read-args): Provide a default.
23173 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
23174 prog-mode-map (bug#14504).
23176 2013-05-29 Leo Liu <sdl.web@gmail.com>
23178 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
23179 (octave-help): Small simplification.
23181 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
23182 off the highlight first.
23184 2013-05-29 Glenn Morris <rgm@gnu.org>
23186 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
23187 Handle idlwave-last-system-routine-info-cons-cell being nil.
23189 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
23190 (idlwave-write-paths): Simplify via with-temp-buffer.
23192 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
23193 * emulation/cua-rect.el: Also load cua-base at run time.
23195 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
23196 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
23197 (cperl-imenu-on-info): Require imenu.
23199 2013-05-28 Alan Mackenzie <acm@muc.de>
23201 Handle "capitalised keywords" correctly.
23202 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
23204 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
23206 * eshell/em-unix.el: Add -r option to cp.
23208 2013-05-28 Glenn Morris <rgm@gnu.org>
23210 * vc/vc-arch.el (vc-exec-after): Declare.
23211 (vc-switches): Autoload.
23212 * vc/vc-bzr.el: No need to require vc when compiling.
23213 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
23214 (vc-resynch-buffer, vc-dir-refresh): Declare.
23215 (vc-setup-buffer, vc-switches): Autoload.
23216 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
23217 (vc-resynch-buffer): Declare.
23218 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
23219 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
23220 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
23221 (grep-read-regexp, grep-read-files, grep-expand-template)
23222 (vc-dir-refresh): Declare.
23223 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
23224 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
23225 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
23226 * vc/vc-mtn.el (vc-exec-after): Declare.
23227 (vc-switches): Autoload.
23228 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
23229 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
23230 (vc-file-tree-walk): Declare.
23231 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
23232 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
23233 (vc-tag-precondition, vc-rename-master): Autoload.
23234 * vc/vc-svn.el (vc-exec-after): Declare.
23235 (vc-switches, vc-setup-buffer): Autoload.
23236 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
23238 (vc-resynch-buffer): Declare.
23240 * obsolete/fast-lock.el (byte-compile-warnings):
23241 Don't warn about obsolete features in this obsolete file.
23243 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
23244 Move definition before use.
23246 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
23247 (dun-unix-verbs): Remove dun-zippy.
23248 (dun-zippy): Remove function.
23250 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
23252 2013-05-27 Juri Linkov <juri@jurta.org>
23254 * replace.el (replace-search): New function with code moved out
23255 from `perform-replace'.
23256 (replace-highlight, replace-dehighlight): Move function definitions
23257 up closer to `replace-search'. (Bug#11746)
23259 2013-05-27 Juri Linkov <juri@jurta.org>
23261 * replace.el (perform-replace): Ignore invisible matches.
23262 In addition to checking `query-replace-skip-read-only', also
23263 filter out matches by calling `run-hook-with-args-until-failure'
23264 on `isearch-filter-predicates', and also check `search-invisible'
23265 for t or call `isearch-range-invisible'.
23266 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
23268 2013-05-27 Juri Linkov <juri@jurta.org>
23270 * isearch.el (isearch-filter-predicates): Rename from
23271 `isearch-filter-predicate'. Doc fix. (Bug#11378)
23272 (isearch-message-prefix): Display text from the property
23273 `isearch-message-prefix' of the currently active filters.
23274 (isearch-search): Don't compare `isearch-filter-predicate' with
23275 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
23276 on `isearch-filter-predicates'. Also check `search-invisible' for t
23277 or call `isearch-range-invisible'.
23278 (isearch-filter-visible): Make obsolete.
23279 (isearch-lazy-highlight-search):
23280 Call `run-hook-with-args-until-failure' on
23281 `isearch-filter-predicates' and use `isearch-range-invisible'.
23283 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
23284 `isearch-filter-predicates' instead of `funcall'ing
23285 `isearch-filter-predicate'.
23286 (Info-mode): Set `Info-isearch-filter' to
23287 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
23289 * dired-aux.el (dired-isearch-filter-predicate-orig):
23291 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
23292 (dired-isearch-filenames-end): Add and remove
23293 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
23294 instead of changing the value of `isearch-filter-predicate'.
23295 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
23296 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
23297 Put property `isearch-message-prefix' to "filename " on
23298 `dired-isearch-filter-filenames'.
23300 * wdired.el (wdired-change-to-wdired-mode):
23301 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
23302 locally instead of changing `isearch-filter-predicate'.
23303 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
23305 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
23307 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
23308 return the commit hash (Bug#14459). Also set the
23309 `vc-git-detached' property.
23310 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
23311 (vc-git-mode-line-string): Use the same help-echo format whether
23312 in detached mode or not, because we know the actual revision now.
23313 When in detached mode, shorten the revision to 7 chars.
23315 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23317 * emacs-lisp/easy-mmode.el (define-minor-mode):
23318 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
23319 mode hook and provide a docstring.
23321 2013-05-27 Alan Mackenzie <acm@muc.de>
23323 Remove spurious syntax-table text properties inserted by C-y.
23324 * progmodes/cc-mode.el (c-after-change): Also clear hard
23325 syntax-table property with value nil.
23327 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
23329 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
23330 when reading the events; the buffer layout shall not be changed.
23332 2013-05-27 Leo Liu <sdl.web@gmail.com>
23334 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
23336 (inferior-octave-directory-tracker): Automatically re-sync
23338 (octave-help): Improve handling of 'See also'.
23340 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23342 * doc-view.el: Minor naming convention tweaks.
23343 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
23345 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
23346 even if there's no `display' property yet (bug#14435).
23348 2013-05-25 Eli Zaretskii <eliz@gnu.org>
23350 * subr.el (unmsys--file-name): Rename from reveal-filename.
23352 * Makefile.in (custom-deps, finder-data, autoloads)
23353 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23354 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23355 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
23357 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23359 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
23360 error-completion on the first 2 args of condition-case (bug#14446).
23363 2013-05-25 Leo Liu <sdl.web@gmail.com>
23365 * comint.el (comint-previous-matching-input): Do not flood the
23366 *Messages* buffer with trivial messages.
23368 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23370 * progmodes/flymake.el (flymake-nop): Don't return a string.
23371 (flymake-set-at): Fix typo.
23373 * simple.el (read--expression): New function, extracted from
23374 eval-expression. Set completion-at-point-functions (bug#14465).
23375 (eval-expression, eval-minibuffer): Use it.
23377 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
23379 * progmodes/flymake.el (flymake-save-buffer-in-file)
23380 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
23381 (flymake-selected-frame, flymake-log, flymake-ins-after)
23382 (flymake-set-at, flymake-get-buildfile-from-cache)
23383 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
23384 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
23385 Refine the doc string.
23386 (flymake-get-file-name-mode-and-masks): Reformat.
23387 (flymake-get-real-file-name-function): Fix a minor bug.
23389 2013-05-24 Juri Linkov <juri@jurta.org>
23391 * progmodes/grep.el (grep-mode-font-lock-keywords):
23392 Support =linenumber= format used by git-grep for lines with
23393 function names. (Bug#13549)
23395 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23397 * progmodes/octave.el (octave-smie-rules): Return nil rather than
23398 0 after a semi-colon; it works better for smie-auto-fill.
23399 (octave--indent-new-comment-line): New function.
23400 (octave-indent-new-comment-line): Use it (indirectly).
23401 (octave-mode): Don't disable smie-auto-fill. Use add-function to
23402 modify comment-line-break-function.
23404 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
23405 (smie-setup): Use add-function to set it.
23407 2013-05-24 Sam Steingold <sds@gnu.org>
23409 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
23410 argument (before the `interactive' argument).
23412 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23414 * image-mode.el (image-mode-winprops): Add winprops to
23415 image-mode-winprops-alist before running
23416 image-mode-new-window-functions.
23417 * doc-view.el (doc-view-new-window-function): Don't delay
23418 doc-view-goto-page via timers (bug#14435).
23420 2013-05-24 Tassilo Horn <tsdh@gnu.org>
23422 * doc-view.el: Integrate with desktop.el. (Bug#14435)
23423 (doc-view-desktop-save-buffer): New function.
23424 (doc-view-restore-desktop-buffer): New function.
23425 (desktop-buffer-mode-handlers):
23426 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
23428 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
23429 `desktop-save-buffer' function.
23431 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
23433 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
23434 (tramp-gvfs-file-name-handler): Raise a user error when
23435 `tramp-gvfs-enabled' is nil.
23436 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
23437 Do not raise a user error when loading package. (Bug#14447)
23439 * net/xesam.el: Move to obsolete/.
23441 2013-05-24 Glenn Morris <rgm@gnu.org>
23443 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
23445 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
23447 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
23448 (Info-find-node, Man-getpage-in-background): Declare.
23450 * mail/unrmail.el (unrmail):
23451 Replace obsolete detect-coding-with-priority.
23453 * net/socks.el (socks-split-string): Use this rather than split-string.
23454 (socks-nslookup-host): Update for above change.
23455 (dynamic-choice, s5-dynamic-choice-match)
23456 (s5-dynamic-choice-match-inline, s5-widget-value-create):
23457 Comment out unused code.
23459 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
23460 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
23461 (gud-tooltip-echo-area): Make obsolete.
23462 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
23464 * progmodes/js.el (js--optimize-arglist): Declare.
23466 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
23468 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
23469 (ediff-window-C): Declare.
23471 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
23472 Tweak requires to silence compiler.
23474 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
23475 (he-search-string, he-tried-table, he-expand-list)
23476 (he-init-string, he-string-member, he-substitute-string)
23477 (he-reset-string): Declare.
23479 * obsolete/options.el (list-options): Use custom-variable-p,
23480 rather than obsolete alias.
23482 2013-05-23 Sam Steingold <sds@gnu.org>
23484 * simple.el (shell-command-on-region): Pass the `replace' argument
23485 down to `call-process-region' to comply with the doc as reported on
23486 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
23488 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23490 * emacs-lisp/smie.el (smie-indent-forward-token)
23491 (smie-indent-backward-token): Handle string tokens (bug#14381).
23493 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23495 * ielm.el (ielm-menu): New menu.
23496 (inferior-emacs-lisp-mode): Set comment-start.
23498 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23500 * textmodes/reftex.el (reftex-ref-style-toggle):
23501 Fix deactivate action.
23503 * textmodes/reftex-vars.el (reftex-ref-style-alist):
23504 Add cleveref macros.
23506 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
23507 Accept options for bibliography commands.
23508 * textmodes/reftex-vars.el (reftex-bibliography-commands):
23509 Add addbibresource. Basic Biblatex support.
23511 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
23513 * net/tramp-gvfs.el (top):
23514 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
23515 when loading package. (Bug#14447)
23517 2013-05-23 Glenn Morris <rgm@gnu.org>
23519 * progmodes/js.el: No need to load comint when compiling.
23520 (ring-insert, comint-send-string, comint-send-input)
23521 (comint-last-input-end, ido-chop): Declare.
23523 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
23524 * vc/ediff-mult.el: Adjust requires.
23525 (ediff-directories-internal, ediff-directory-revisions-internal)
23526 (ediff-patch-file-internal): Declare.
23527 * vc/ediff-ptch.el: Adjust requires.
23528 (ediff-use-last-dir, ediff-buffers-internal): Declare.
23529 (ediff-find-file): Autoload.
23530 * vc/ediff-util.el: No need to load ediff when compiling.
23531 (ediff-regions-internal): Declare.
23532 * vc/ediff-wind.el: Adjust requires.
23533 (ediff-compute-toolbar-width): Define when compiling.
23534 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
23535 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
23536 (dired-get-filename, dired-get-marked-files)
23537 (ediff-last-dir-patch, ediff-patch-default-directory)
23538 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
23539 (ediff-patch-buffer-internal): Declare.
23541 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
23542 (ispell-process, ispell-buffer-local-words, lm-summary)
23543 (lm-section-start, lm-section-end): Declare.
23544 (checkdoc-ispell-init): Simplify.
23546 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
23547 (he-string-member, he-reset-string, he-substitute-string): Declare.
23549 * eshell/em-ls.el: Adjust requires.
23550 (eshell-glob-regexp): Declare.
23551 * eshell/em-tramp.el: Adjust requires.
23552 (eshell-parse-command): Autoload.
23553 * eshell/em-xtra.el: Adjust requires.
23554 (eshell-parse-command): Autoload.
23555 * eshell/esh-ext.el: Adjust requires.
23556 (eshell-parse-command, eshell-close-handles): Autoload.
23557 * eshell/esh-io.el: Adjust requires.
23558 (eshell-output-filter): Autoload.
23559 * eshell/esh-util.el: No need to load tramp when compiling.
23560 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
23562 (eshell-parse-ange-ls): Require ange-ftp and tramp.
23563 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
23564 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
23565 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
23566 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
23567 * eshell/esh-opt.el, eshell/esh-proc.el:
23568 * eshell/esh-var.el: Adjust requires.
23569 * eshell/eshell.el: Do not require esh-util twice.
23570 (eshell-add-input-to-history): Declare.
23571 (eshell-command): Check history module is active before using it.
23573 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
23575 2013-05-22 Leo Liu <sdl.web@gmail.com>
23577 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
23579 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
23581 * autorevert.el (auto-revert-notify-add-watch)
23582 (auto-revert-notify-handler): Add `attrib' for the inotify case,
23583 it indicates changes in file modification time.
23585 2013-05-22 Glenn Morris <rgm@gnu.org>
23587 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
23588 Always delete the autoloaded function from the noruntime and
23589 unresolved functions lists.
23591 * allout.el: No need to load epa, epg, overlay when compiling.
23592 (epg-context-set-passphrase-callback, epg-list-keys)
23593 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
23594 (epg-key-user-id-list): Declare.
23596 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
23597 (viper-set-parsing-style-toggling-macro)
23598 (viper-set-emacs-state-searchstyle-macros):
23599 Use called-interactively-p on Emacs.
23600 (viper-looking-back): Make it an obsolete alias. Update callers.
23601 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
23602 Use looking-back rather than viper-looking-back.
23603 (viper-tmp-insert-at-eob, viper-enlarge-region)
23604 (viper-read-string-with-history, viper-register-to-point)
23605 (viper-append-to-register, viper-change-state-to-vi)
23606 (viper-backward-char-carefully, viper-forward-char-carefully)
23607 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
23608 (viper-change-state-to-emacs): Declare.
23609 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
23610 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
23611 * emulation/viper-mous.el: Do not load viper-cmd.
23612 (viper-backward-char-carefully, viper-forward-char-carefully)
23613 (viper-forward-word, viper-adjust-window): Declare.
23615 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
23617 * progmodes/idlw-help.el (idlwave-help-fontify):
23618 Use called-interactively-p.
23620 * term/w32console.el (w32-get-console-codepage)
23621 (w32-get-console-output-codepage): Declare.
23623 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
23624 Remove unnecessary declarations.
23625 (dframe-message): Doc fix.
23627 * info.el (dframe-select-attached-frame, dframe-current-frame):
23630 * speedbar.el (speedbar-message): Make it an obsolete alias.
23631 Update all callers.
23632 (speedbar-with-attached-buffer)
23633 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
23634 (speedbar-with-writable): Use backquote.
23635 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
23636 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
23637 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
23638 rather than speedbar- aliases.
23639 * mail/rmail.el: Load dframe rather than speedbar when compiling.
23640 (speedbar-make-specialized-keymap, speedbar-insert-button)
23641 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
23642 (speedbar-do-function-pointer): Declare.
23643 (rmail-speedbar-button, rmail-speedbar-find-file)
23644 (rmail-speedbar-move-message):
23645 Use dframe-with-attached-buffer rather than speedbar- alias.
23646 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
23647 (dframe-message, speedbar-make-specialized-keymap)
23648 (speedbar-add-expansion-list, speedbar-mode-functions-list)
23649 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
23650 (speedbar-insert-button, dframe-select-attached-frame)
23651 (dframe-maybee-jump-to-attached-frame)
23652 (speedbar-change-initial-expansion-list)
23653 (speedbar-previously-used-expansion-list-name): Declare.
23654 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
23655 Use dframe-message, dframe-with-attached-buffer rather than
23657 (gud-sentinel): Silence compiler.
23658 * progmodes/vhdl-mode.el (speedbar-refresh)
23659 (speedbar-do-function-pointer, speedbar-add-supported-extension)
23660 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
23661 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
23662 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
23663 (speedbar-file-lists, speedbar-make-tag-line)
23664 (speedbar-line-directory, speedbar-goto-this-file)
23665 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
23666 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
23667 (speedbar-make-button, speedbar-reset-scanners)
23668 (speedbar-files-item-info, speedbar-line-text)
23669 (speedbar-find-file-in-frame, speedbar-set-timer)
23670 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
23671 (speedbar-with-writable): Do not (re)define it.
23672 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
23673 rather than speedbar- alias.
23675 2013-05-21 Leo Liu <sdl.web@gmail.com>
23677 * progmodes/octave.el (octave-mode-menu): Update and re-organize
23679 (octave-mode): Tweak fill-nobreak-predicate.
23680 (inferior-octave-startup): Check process to avoid infinite loop.
23681 (inferior-octave): Pop to buffer first to show abornmal process
23684 2013-05-21 Glenn Morris <rgm@gnu.org>
23686 * printing.el (pr-menu-bar): Define when compiling.
23688 2013-05-21 Leo Liu <sdl.web@gmail.com>
23690 * progmodes/octave.el (octave-auto-fill): Remove.
23691 (octave-indent-new-comment-line): Improve.
23692 (octave-mode): Use auto fill mode through
23693 comment-line-break-function and fill-nobreak-predicate.
23694 (octave-goto-function-definition): Support DEFUN_DLD.
23695 (octave-beginning-of-defun): Small tweak.
23696 (octave-help): Show parent directory.
23698 2013-05-21 Glenn Morris <rgm@gnu.org>
23700 * files.el (dired-unmark):
23701 * progmodes/gud.el (gdb-input): Update declarations.
23703 * calculator.el (electric, ehelp): No need to load when compiling.
23704 (Electric-command-loop, electric-describe-mode): Declare.
23706 * doc-view.el (doc-view-current-converter-processes): Move before use.
23708 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
23709 Move MODE-set-explicitly definition before use.
23711 * international/mule-diag.el (mule-diag):
23712 Don't use obsolete window-system-version.
23714 * mail/feedmail.el (smtpmail): No need to load when compiling.
23715 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
23717 * mail/mail-utils.el (rfc822): No need to load when compiling.
23718 (rfc822-addresses): Autoload it.
23719 (mail-strip-quoted-names): Trivial simplification.
23721 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
23722 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
23724 * net/snmp-mode.el (tempo): Don't duplicate requires.
23726 * progmodes/prolog.el (info): No need to load when compiling.
23727 (comint): Require before shell requires it.
23728 (Info-goto-node): Autoload it.
23729 (Info-follow-nearest-node): Declare.
23730 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
23732 * textmodes/artist.el (picture-mode-exit): Declare.
23734 * textmodes/reftex-parse.el (reftex-parse-from-file):
23735 Trivial rewrite so the compiler can parse it better.
23737 2013-05-20 Leo Liu <sdl.web@gmail.com>
23739 * progmodes/octave.el (octave-help-mode-map)
23740 (octave-help-mode-finish-hook): New variables.
23741 (octave-help-mode, octave-help-mode-finish): New functions.
23742 (octave-help): Use octave-help-mode.
23744 2013-05-20 Glenn Morris <rgm@gnu.org>
23746 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
23748 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
23750 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
23751 start at point, so that expansion starting right after opening
23752 slash in a regexp is recognized.
23753 (ruby-syntax-before-regexp-re): New defvar, extracted from
23754 ruby-syntax-propertize-function. Since the value of this regexp
23755 is looked up at runtime now, we should be able to turn
23756 `ruby-syntax-methods-before-regexp' into a defcustom later.
23757 (ruby-syntax-propertize-function): Split regexp matching into two
23758 parts, for opening and closing slashes. That allows us to skip
23759 over string interpolations and support multiline regexps.
23760 Don't call `ruby-syntax-propertize-expansions', instead use another rule
23761 for them, which calls `ruby-syntax-propertize-expansion'.
23762 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
23763 call to `ruby-syntax-propertize-function'.
23764 (ruby-syntax-propertize-expansion): Extracted from
23765 `ruby-syntax-propertize-expansions'. Handles one expansion.
23766 (ruby-syntax-propertize-percent-literal): Leave point right after
23767 the percent symbol, so that the expression expansion rule can
23768 propertize the contents.
23769 (ruby-syntax-propertize-heredoc): Leave point at bol following the
23771 (ruby-syntax-propertize-expansions): Remove.
23773 2013-05-18 Juri Linkov <juri@jurta.org>
23775 * man.el (Man-default-man-entry): Remove `-' from the end
23776 of the default value. (Bug#14400)
23778 2013-05-18 Glenn Morris <rgm@gnu.org>
23780 * comint.el (comint-password-prompt-regexp):
23781 Allow "password for XXX" where XXX contains colons (eg https://...).
23783 2013-05-18 Leo Liu <sdl.web@gmail.com>
23785 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
23786 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
23787 (octave-source-directories): Don't check process.
23788 (octave-source-directories, octave-find-definition): Doc fix.
23790 2013-05-18 Glenn Morris <rgm@gnu.org>
23792 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
23793 Remove backspace/delete bindings. (Bug#14392)
23795 * cus-dep.el (custom-make-dependencies): Sort the output.
23796 (custom-versions-load-alist): Convert comment to doc.
23798 2013-05-17 Leo Liu <sdl.web@gmail.com>
23800 * newcomment.el (comment-search-backward): Stricter in finding
23801 comment start. (Bug#14303)
23803 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
23804 (octave-comment-start-skip): Properly anchored.
23806 2013-05-17 Leo Liu <sdl.web@gmail.com>
23808 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
23809 Clean up when turned off. (Bug#14395)
23810 (smie--highlight-matching-block-overlay): No longer buffer-local.
23811 (smie-highlight-matching-block): Adjust.
23813 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
23815 Doc string fix for "nanoseconds" (Bug#14406).
23816 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
23817 Fix doc string typo that had "nanoseconds" instead of "microseconds".
23819 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
23821 * calc/calc-units.el (math-extract-units): Preserve powers
23824 2013-05-17 Leo Liu <sdl.web@gmail.com>
23826 * subr.el (delete-consecutive-dups): New function.
23827 * ido.el (ido-set-matches-1): Use it.
23828 * progmodes/octave.el (inferior-octave-completion-table): Use it.
23829 * ido.el (ido-remove-consecutive-dups): Remove.
23831 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23833 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23834 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
23835 regexp-opt's `words'.
23837 2013-05-16 Leo Liu <sdl.web@gmail.com>
23839 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
23840 (smie--highlight-matching-block-overlay)
23841 (smie--highlight-matching-block-lastpos)
23842 (smie--highlight-matching-block-timer): New variables.
23843 (smie-highlight-matching-block): New function.
23844 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
23845 (smie-setup): Conditionally enable smie-blink-matching-open.
23847 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
23849 Sync with upstream verilog-mode r840.
23850 * progmodes/verilog-mode.el (verilog-mode-version)
23851 (verilog-mode-release-date): Update.
23852 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
23853 (verilog-sig-tieoff): Fix string error on
23854 AUTORESET with colon define, bug594. Reported by Andrew Hou.
23855 (verilog-read-decls): Fix parameters confusing
23856 AUTOINST interfaces, bug565. Reported by Leith Johnson.
23858 2013-05-16 Eli Zaretskii <eliz@gnu.org>
23860 * subr.el (reveal-filename): New function.
23862 * loadup.el: Compute Emacs executable versions on MS-Windows,
23863 where executables have the .exe extension. Add a hard link
23864 emacs-XX.YY.ZZ.exe on MS-Windows.
23866 * Makefile.in (XARGS_LIMIT): New variable.
23867 (custom-deps, finder-data, autoloads)
23868 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23869 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23870 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
23871 (compile-main): Limit xargs according to $(XARGS_LIMIT).
23873 2013-05-16 Leo Liu <sdl.web@gmail.com>
23875 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
23876 (octave-mode-menu, octave-mode-map): Remove its uses.
23878 2013-05-16 Reto Zimmermann <reto@gnu.org>
23880 Sync with upstream vhdl mode v3.34.2.
23881 * progmodes/vhdl-mode.el: Use `push' throughout.
23882 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
23883 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
23884 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
23885 (vhdl-actual-generic-name): New option to derive actual generic name.
23886 (vhdl-port-paste-signals): Replace formal by actual generics.
23887 (vhdl-beautify): New name for old group vhdl-align. Update users.
23888 (vhdl-beautify-options): New option.
23889 (vhdl-last-input-event): New compat alias. Use throughout.
23890 (vhdl-goto-line): Replace user level function `goto-line'.
23891 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
23892 vhdl-fix-statement-buffer.
23893 (vhdl-create-mode-menu): Add some entries.
23894 (vhdl-align-region-groups): Respect vhdl-beautify-options.
23895 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
23896 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
23897 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
23898 to force statements on one line.
23899 (vhdl-remove-trailing-spaces-region):
23900 New, split from vhdl-remove-trailing-spaces.
23901 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
23902 Respect vhdl-beautify-options.
23903 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
23904 (vhdl-update-sensitivity-list): Not add with index if exists without.
23905 Not include array index with signal. Ignore keywords in comments.
23906 (vhdl-get-visible-signals): Regexp tweaks.
23907 (vhdl-template-component-inst): Handle empty library.
23908 (vhdl-template-type): Add template for 'enum' type.
23909 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
23910 Use vhdl-replace-string.
23911 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
23912 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
23913 (vhdl-speedbar-initialize): Update for above name change.
23914 (vhdl-compose-wire-components): Fix in handling of constants.
23915 (vhdl-error-regexp-emacs-alist): New variable.
23916 (vhdl-error-regexp-add-emacs): New function;
23917 adds support for new compile.el (Emacs 22+)
23918 (vhdl-generate-makefile-1): Change target order for single lib. units.
23919 Allow use of absolute file names.
23921 2013-05-16 Leo Liu <sdl.web@gmail.com>
23923 * simple.el (prog-indent-sexp): Indent enclosing defun.
23925 2013-05-15 Glenn Morris <rgm@gnu.org>
23927 * cus-start.el (show-trailing-whitespace): Move to editing basics.
23928 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
23929 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
23930 (whitespace-highlight): Move to whitespace group.
23932 * comint.el (comint-source):
23933 * pcmpl-linux.el (pcmpl-linux):
23934 * shell.el (shell-faces):
23935 * eshell/esh-opt.el (eshell-opt):
23936 * international/ccl.el (ccl): Remove empty custom groups.
23938 * completion.el (dynamic-completion-mode):
23939 * jit-lock.el (jit-lock-debug-mode):
23940 * minibuffer.el (completion-in-region-mode):
23941 * type-break.el (type-break-mode-line-message-mode)
23942 (type-break-query-mode):
23943 * emulation/tpu-edt.el (tpu-edt-mode):
23944 * progmodes/subword.el (global-subword-mode, global-superword-mode):
23945 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
23946 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
23948 * term/xterm.el (xterm): Change parent group to terminals.
23950 * master.el (master): Remove empty custom group.
23951 (master-mode): Remove unused :group argument.
23952 * textmodes/refill.el (refill): Remove empty custom group.
23953 (refill-mode): Remove unused :group argument.
23955 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
23957 * cus-dep.el: Provide a feature.
23958 (custom-make-dependencies): Ignore dotfiles (dir-locals).
23959 Don't mistakenly ignore files whose basenames match a basename
23960 from preloaded-file-list (eg cedet/ede/simple.el).
23961 Add a fallback method for getting :group.
23963 2013-05-15 Juri Linkov <juri@jurta.org>
23965 * isearch.el (isearch-char-by-name): Rename from
23966 `isearch-insert-char-by-name'. Doc fix.
23967 (isearch-forward): Mention `isearch-char-by-name' in
23968 the docstring. (Bug#13348)
23970 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
23971 `exit-minibuffer' instead of
23972 `isearch-nonincremental-exit-minibuffer'.
23973 (isearch-edit-string): Remove mention of
23974 `isearch-nonincremental-exit-minibuffer' from docstring.
23975 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
23976 (isearch-forward-exit-minibuffer)
23977 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
23979 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
23981 * loadup.el: Just use unversioned DOC.
23983 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
23984 literals as extending to EOB.
23985 (nxml-last-fontify-end): Remove unused variable.
23986 (nxml-after-change1): Use with-silent-modifications.
23987 (nxml-extend-after-change-region): Simplify.
23988 (nxml-extend-after-change-region1): Remove function.
23989 (nxml-after-change1): Don't adjust for dependent regions.
23990 (nxml-fontify-matcher): Simplify.
23991 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
23992 (xmltok-add-dependent): Remove function.
23993 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
23994 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
23995 (xmltok-scan-prolog-after-processing-instruction-open): Treat
23996 unclosed <[[, <?, comment, and other literals as extending to EOB.
23997 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
23998 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
24000 (rng-do-some-validation-1): Don't mark dependent regions.
24001 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
24002 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
24003 (nxml-clear-dependent-regions): Remove functions.
24004 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
24005 (nxml-ensure-scan-up-to-date):
24006 Don't clear&mark dependent regions.
24008 2013-05-15 Leo Liu <sdl.web@gmail.com>
24010 * progmodes/octave.el (octave-goto-function-definition):
24011 Improve and fix callers.
24013 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
24015 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
24016 the setter (bug#14387).
24018 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
24019 surrounding group (bug#14402).
24021 2013-05-14 Juri Linkov <juri@jurta.org>
24023 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
24026 2013-05-14 Glenn Morris <rgm@gnu.org>
24028 * progmodes/f90.el (f90-imenu-generic-expression):
24029 Fix typo in 2013-05-08 change. (Bug#14402)
24031 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24033 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
24034 Remove signals for which replies are never received.
24036 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24038 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
24039 (gdb-handler-alist, gdb-handler-number): Remove variables.
24040 (gdb-handler-list): New variable.
24041 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
24042 (gdb-pending-handler-p, gdb-handle-reply)
24043 (gdb-remove-all-pending-triggers): New functions.
24044 (gdb-discard-unordered-replies): New defcustom.
24045 (gdb-handler): New defstruct.
24046 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
24047 instead of gdb-pending-triggers. Update docstring.
24048 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
24049 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
24050 (gdb-var-update-handler, def-gdb-auto-update-trigger)
24051 (def-gdb-auto-update-handler, gdb-get-changed-registers)
24052 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
24053 (gdb-frame-handler): Pending triggers are now automatically managed.
24054 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
24056 (gdb-input): Automatically handles pending triggers. Update docstring.
24057 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
24058 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
24060 (gdb-done-or-error): Now use gdb-handle-reply.
24062 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24064 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
24067 2013-05-14 Glenn Morris <rgm@gnu.org>
24069 * subr.el (user-emacs-directory-warning): New option.
24070 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
24072 2013-05-14 Leo Liu <sdl.web@gmail.com>
24074 * progmodes/octave.el (octave-font-lock-keywords): Fix error
24076 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
24077 (octave-font-lock-texinfo-comment): Fix invalid search bound
24078 error: wrong side of point.
24080 2013-05-14 Glenn Morris <rgm@gnu.org>
24082 * progmodes/flymake.el (flymake-xml-program): New option.
24083 (flymake-xml-init): Use it.
24085 * term/xterm.el: Provide a feature.
24087 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
24089 2013-05-13 Glenn Morris <rgm@gnu.org>
24091 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
24092 Add compat aliases as a hack workaround. (Bug#14384)
24094 2013-05-13 Leo Liu <sdl.web@gmail.com>
24096 * progmodes/octave.el (octave-indent-comment): Fix indentation for
24098 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
24100 (octave-comment-start-skip): Include %!.
24101 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
24103 2013-05-12 Leo Liu <sdl.web@gmail.com>
24105 * progmodes/octave.el (inferior-octave-startup): Store the value
24106 of __octave_srcdir__ for octave-source-directories.
24107 (inferior-octave-check-process): New function refactored out of
24108 inferior-octave-send-list-and-digest.
24109 (octave-source-directories)
24110 (octave-find-definition-filename-function): New variables.
24111 (octave-source-directories)
24112 (octave-find-definition-default-filename): New functions.
24113 (octave-find-definition): Improve to find functions implemented in C++.
24115 2013-05-12 Glenn Morris <rgm@gnu.org>
24117 * calendar/diary-lib.el (diary-outlook-format-1):
24118 Don't include dayname in the output. (Bug#14349)
24120 2013-05-11 Glenn Morris <rgm@gnu.org>
24122 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
24124 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
24125 Treat cc-provide like provide.
24127 2013-05-11 Kevin Ryde <user42@zip.com.au>
24129 * cus-dep.el (custom-make-dependencies):
24130 Use generated-autoload-load-name for the sake of files such
24131 such cedet/semantic/bovine/c.el, where the base file name
24132 is not in load-path. (Bug#5277)
24134 2013-05-11 Glenn Morris <rgm@gnu.org>
24136 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
24139 2013-05-11 Leo Liu <sdl.web@gmail.com>
24141 * progmodes/octave.el (octave-indent-comment): Improve.
24142 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
24143 (octave-eldoc-function-signatures, octave-eldoc-function):
24145 (octave-mode, inferior-octave-mode): Add eldoc support.
24147 2013-05-11 Richard Stallman <rms@gnu.org>
24149 * epa.el (epa-decrypt-file): Take output file name as argument
24150 and read it using `interactive'.
24152 2013-05-11 Leo Liu <sdl.web@gmail.com>
24154 * progmodes/octave.el (octave-beginning-of-line)
24155 (octave-end-of-line): Check before using up-list because it jumps
24156 out of more syntactic contructs since moving to smie.
24157 (octave-indent-comment): New function.
24158 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
24159 (octave-begin-keywords, octave-end-keywords)
24160 (octave-reserved-words, octave-smie-bnf-table)
24161 (octave-smie-rules): Add new keywords from Octave 3.6.4.
24163 2013-05-11 Glenn Morris <rgm@gnu.org>
24165 * faces.el (internal-face-x-get-resource):
24166 * frame.el (ns-display-monitor-attributes-list):
24167 * calc/calc-aent.el (math-to-radians-2):
24168 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
24171 * calc/calc-menu.el: Make it loadable in isolation.
24173 * net/eudcb-bbdb.el: Make it loadable without bbdb.
24174 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
24175 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
24176 (eudc-bbdb-query-internal): Require 'bbdb.
24178 * lpr.el (lpr-headers-switches):
24179 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
24181 * progmodes/sql.el (sql-login-params): Fix and improve :type.
24183 * emulation/edt-mapper.el: In batch mode, error rather than hang.
24185 * term.el (term-set-escape-char): Make it idempotent.
24187 2013-05-10 Leo Liu <sdl.web@gmail.com>
24189 * progmodes/octave.el (inferior-octave-completion-table):
24190 No longer a function and all uses changed. Use cache to speed up
24191 completion due to bug#11906.
24192 (octave-beginning-of-defun): Re-write to be more general.
24194 2013-05-10 Glenn Morris <rgm@gnu.org>
24196 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
24198 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
24200 * comint.el (comint-redirect-send-command-to-process): Use :around
24201 rather than :override for comint-redirect-filter.
24202 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
24203 Call it instead of comint-redirect-original-filter-function (which
24204 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
24206 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
24208 * frame.el (display-monitor-attributes-list): Add NS case.
24209 (ns-display-monitor-attributes-list): Declare.
24211 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
24213 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
24215 2013-05-09 Glenn Morris <rgm@gnu.org>
24217 * international/fontset.el (vertical-centering-font-regexp):
24218 Set standard-value.
24220 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
24222 * bookmark.el (bookmark-search-delay):
24223 * cus-start.el (vertical-centering-font-regexp):
24224 * ps-mule.el (ps-mule-font-info-database-default):
24225 * ps-print.el (ps-default-fg, ps-default-bg):
24226 * type-break.el (type-break-good-break-interval):
24227 * whitespace.el (whitespace-indentation-regexp)
24228 (whitespace-space-after-tab-regexp):
24229 * emacs-lisp/testcover.el (testcover-1value-functions)
24230 (testcover-noreturn-functions, testcover-progn-functions)
24231 (testcover-prog1-functions):
24232 * emulation/viper-init.el (viper-emacs-state-cursor-color):
24233 * eshell/em-glob.el (eshell-glob-translate-alist):
24234 * play/tetris.el (tetris-tty-colors):
24235 * progmodes/cpp.el (cpp-face-default-list):
24236 * progmodes/flymake.el (flymake-allowed-file-name-masks):
24237 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
24238 (idlwave-help-browser-generic-args):
24239 * progmodes/make-mode.el (makefile-special-targets-list):
24240 * progmodes/python.el (python-shell-virtualenv-path):
24241 * progmodes/verilog-mode.el (verilog-active-low-regexp)
24242 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
24243 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
24244 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
24245 * textmodes/reftex-vars.el (reftex-format-label-function):
24246 * textmodes/remember.el (remember-diary-file): Fix custom types.
24248 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
24251 2013-05-09 Leo Liu <sdl.web@gmail.com>
24253 * progmodes/octave.el (inferior-octave-completion-at-point):
24254 Restore file completion. (Bug#14300)
24255 (inferior-octave-startup): Fix incorrect highlighting for the
24258 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24260 * progmodes/ruby-mode.el: First cut at SMIE support.
24261 (ruby-use-smie): New var.
24262 (ruby-smie-grammar): New constant.
24263 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
24264 (ruby-smie--forward-token, ruby-smie--backward-token)
24265 (ruby-smie-rules): New functions.
24266 (ruby-mode-variables): Setup SMIE if applicable.
24268 2013-05-08 Eli Zaretskii <eliz@gnu.org>
24270 * simple.el (line-move-visual): Signal beginning/end of buffer
24271 only if vertical-motion moved less than it was requested. Avoids
24272 silly incorrect error messages when there are display strings with
24273 multiple newlines at EOL.
24275 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24277 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
24278 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
24279 (prolog-char-quote-workaround):
24280 * progmodes/cperl-mode.el (cperl-under-as-char):
24281 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
24283 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
24285 (vhdl-mode-syntax-table-init): Remove.
24287 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
24290 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
24292 (ld-script-font-lock-keywords):
24293 Change regexps to use things like \_< and \_>.
24295 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
24296 Change all regexps to use things like \_< and \_>.
24298 * progmodes/autoconf.el (autoconf-definition-regexp)
24299 (autoconf-font-lock-keywords, autoconf-current-defun-function):
24300 Handle a _ with symbol syntax.
24301 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
24303 * progmodes/ada-mode.el (ada-mode-abbrev-table):
24304 Consolidate declaration.
24305 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
24307 (ada-create-syntax-table): Remove.
24308 (ada-capitalize-word): Don't mess with the syntax of "_" since it
24309 already has the right syntax nowadays.
24310 (ada-goto-next-word): Don't change the syntax of "_".
24312 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
24315 2013-05-08 Sam Steingold <sds@gnu.org>
24317 * thingatpt.el (thing-at-point): Accept optional second argument
24318 NO-PROPERTIES to strip the text properties from the return value.
24319 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
24320 to `thing-at-point' instead of stripping the properties ourselves.
24321 Also, when `thing-at-point' fails to find a url, prepend "http://"
24322 to the filename at point on the assumption that the user is
24323 pointing at something like gnu.org/gnu.
24325 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
24327 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24328 * faces.el (crm-separator):
24329 Silence byte-compiler.
24331 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
24332 (tool-bar-map): Remove unneeded defvars.
24334 2013-05-08 Leo Liu <sdl.web@gmail.com>
24336 Re-work a fix for bug#10994 based on Le Wang's patch.
24337 * ido.el (ido-remove-consecutive-dups): New helper.
24338 (ido-completing-read): Use it.
24339 (ido-chop): Revert fix for bug#10994.
24341 2013-05-08 Adam Spiers <emacs@adamspiers.org>
24343 * cus-edit.el (custom-save-variables):
24344 Pretty-print long values. (Bug#14187)
24346 2013-05-08 Glenn Morris <rgm@gnu.org>
24348 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
24349 (m4-mode-syntax-table): Init in the defvar.
24350 (m4-mode-abbrev-table): Let define-derived-mode define it.
24352 2013-05-08 Tom Tromey <tromey@redhat.com>
24354 * progmodes/m4-mode.el (m4-mode-syntax-table):
24355 Do not treat "_" as word constituent. (Bug#14167)
24357 2013-05-07 Glenn Morris <rgm@gnu.org>
24359 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
24360 Remove explicit eshell-isearch-cancel-map.
24362 * progmodes/f90.el (f90-smart-end-names): New option.
24363 (f90-smart-end): Doc fix.
24364 (f90-end-block-optional-name): New constant.
24365 (f90-block-match): Respect f90-smart-end-names.
24367 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24369 * progmodes/octave.el (octave-smie-forward-token): Be more careful
24370 about implicit semi-colons (bug#14218).
24372 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
24374 * frame.el (display-monitor-attributes-list)
24375 (frame-monitor-attributes): New functions.
24377 2013-05-06 Leo Liu <sdl.web@gmail.com>
24379 * progmodes/octave.el (octave-syntax-propertize-function): Change
24380 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
24381 (octave-font-lock-keywords): Use octave-operator-regexp.
24382 (octave-completion-at-point): Rename from
24383 octave-completion-at-point-function.
24384 (inferior-octave-directory-tracker): Robustify.
24385 (octave-text-functions): Remove and fix its uses. No such things
24388 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24390 * emacs-lisp/trace.el (trace--display-buffer): New function.
24391 (trace-make-advice): Use it.
24393 2013-05-06 Juri Linkov <juri@jurta.org>
24395 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
24396 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
24398 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
24399 in the help string. (Bug#12985)
24401 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
24403 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
24405 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24407 * progmodes/perl-mode.el: Add support for here documents.
24408 (perl-syntax-propertize-function): Match here-doc markers.
24409 (perl-syntax-propertize-special-constructs): Find their end.
24410 (perl-imenu-generic-expression): Use [:alnum:].
24412 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
24413 (advice--add-function): Refresh the advice if already present
24416 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
24418 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
24420 2013-05-06 Glenn Morris <rgm@gnu.org>
24422 * w32-fns.el (w32-charset-info-alist): Declare.
24424 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
24425 of its defcustom properties.
24426 (eshell-cmpl-initialize): No need to load pcomplete.
24428 * generic-x.el: No need to require comint when compiling.
24430 * net/eudc-export.el: Make it loadable without bbdb.
24431 (top-level): Use require rather than load-library.
24432 (eudc-create-bbdb-record, eudc-bbdbify-phone)
24433 (eudc-batch-export-records-to-bbdb)
24434 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
24437 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24439 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
24440 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
24441 some tweaks, instead.
24443 2013-05-05 Leo Liu <sdl.web@gmail.com>
24445 * progmodes/octave.el (octave-font-lock-keywords)
24446 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
24447 (inferior-octave-send-list-and-digest): Improve error message.
24448 (octave-mode, inferior-octave-mode): Use setq-local.
24449 (octave-help): Set info-lookup-mode.
24451 2013-05-05 Richard Stallman <rms@gnu.org>
24453 * vc/compare-w.el (compare-windows-whitespace):
24454 Treat no-break space as whitespace.
24456 * mail/rmailsum.el (rmail-summary-rmail-update):
24457 Detect empty summary and don't change selected message.
24458 (rmail-summary-goto-msg): Likewise.
24460 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
24461 Doc fixes, rename args.
24463 2013-05-05 Alan Mackenzie <acm@muc.de>
24465 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
24467 2013-05-05 Juri Linkov <juri@jurta.org>
24469 * info.el (Info-read-subfile): Use (point-min) instead of (point)
24470 to not add the length of the summary segment to the return value.
24473 2013-05-05 Leo Liu <sdl.web@gmail.com>
24475 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
24476 (inferior-octave-output-filter): Remove.
24477 (octave-send-region, inferior-octave-startup): Fix callers.
24478 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
24479 (octave-binary-file-extensions): New user variable.
24480 (octave-find-definition): Confirm if opening binary files.
24481 (octave-help-file): Use octave-find-definition to get the binary
24483 (octave-help): Adjust for octave-help-file change.
24485 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24487 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
24488 Merge the two entries that handle function definitions.
24489 (pascal--syntax-propertize): New const.
24490 (pascal-mode): Use it. Use setq-local.
24492 2013-05-04 Glenn Morris <rgm@gnu.org>
24494 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
24495 (diary-from-outlook): Respect diary-from-outlook-function.
24497 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24499 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
24500 Move the declaration from C.
24501 (read-minibuffer, eval-minibuffer): Move from C.
24502 (completion-setup-function): Avoid minibuffer-completion-contents.
24504 2013-05-03 Leo Liu <sdl.web@gmail.com>
24506 * progmodes/octave.el (octave-font-lock-keywords): Do not
24507 dehighlight 'end' in comments or strings.
24508 (octave-completing-read, octave-goto-function-definition):
24510 (octave-help-buffer): New user variable.
24511 (octave-help-file, octave-help-function): New button types.
24512 (octave-help): New command and bind it to C-h ;.
24513 (octave-find-definition): New command and bind it to M-.
24514 (user-error): Alias to error if not defined.
24516 2013-05-02 Leo Liu <sdl.web@gmail.com>
24518 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
24520 (octave-font-lock-keywords): Include [ and {.
24522 2013-05-02 Leo Liu <sdl.web@gmail.com>
24524 * progmodes/octave.el (inferior-octave-startup-file): Change default.
24525 (inferior-octave): Remove calling comint-mode and return the buffer.
24526 (inferior-octave-startup): Cosmetic changes.
24528 2013-05-02 Leo Liu <sdl.web@gmail.com>
24530 * progmodes/octave.el (octave-syntax-propertize-function):
24531 Include the case when ' is at line beginning. (Bug#14336)
24533 2013-05-02 Glenn Morris <rgm@gnu.org>
24535 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
24536 * desktop.el (vc-dir-mode): Just autoload it here.
24538 2013-05-02 Alan Mackenzie <acm@muc.de>
24540 Eliminate variable c-standard-font-lock-fontify-region-function.
24541 * progmodes/cc-mode.el
24542 (c-standard-font-lock-fontify-region-function): Remove.
24543 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
24545 2013-05-01 Leo Liu <sdl.web@gmail.com>
24547 * progmodes/octave.el: Compatible with older emacs-24 releases.
24548 (inferior-octave-has-built-in-variables): Remove. Built-in
24549 variables were removed from Octave in 2007.
24550 (inferior-octave-startup): Fix uses.
24551 (comint-line-beginning-position): Remove compatibility code for
24554 2013-05-01 Juri Linkov <juri@jurta.org>
24556 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
24558 2013-05-01 Juri Linkov <juri@jurta.org>
24560 * comint.el (comint-previous-matching-input): Don't print message
24561 "History item: %d" when `isearch-mode' is active.
24562 (comint-history-isearch-message): Print message "History item: %d"
24563 when `comint-input-ring-index' is not empty and this function is
24564 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
24566 2013-05-01 Leo Liu <sdl.web@gmail.com>
24568 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
24569 definitions. Use completion-at-point to insert keywords.
24570 (octave-abbrev-start): Remove.
24571 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
24573 2013-04-30 Leo Liu <sdl.web@gmail.com>
24575 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
24578 2013-04-30 Alan Mackenzie <acm@muc.de>
24580 Handle arbitrarily long C++ member initialization lists.
24581 * progmodes/cc-engine.el (c-back-over-member-initializers):
24583 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
24584 (most) member init lists.
24586 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
24588 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
24591 2013-04-30 Leo Liu <sdl.web@gmail.com>
24593 * progmodes/octave.el (octave-variables): Remove. No builtin
24594 variables any more. All converted to functions.
24595 (octave-font-lock-keywords, octave-completion-at-point-function):
24597 (octave-font-lock-texinfo-comment): New user variable.
24598 (octave-texinfo-font-lock-keywords): New variable for texinfo
24600 (octave-function-comment-block): New face.
24601 (octave-font-lock-texinfo-comment): New function.
24602 (octave-mode): Font lock texinfo comment block.
24604 2013-04-29 Leo Liu <sdl.web@gmail.com>
24606 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
24607 indexing expression.
24608 (octave-continuation-string): Do not use \.
24609 (inferior-octave-complete-impossible): Remove.
24610 (inferior-octave-completion-table)
24611 (inferior-octave-completion-at-point): Remove its uses.
24612 (inferior-octave-startup): completion_matches was introduced to
24613 Octave in 1996 so safe to assume it.
24614 (octave-function-file-comment): Improve to follow how Octave does it.
24615 (octave-update-function-file-comment): Tweak.
24617 2013-04-29 Leo Liu <sdl.web@gmail.com>
24619 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
24620 (inferior-octave-startup): Remove inferior-octave-startup-hook.
24621 (octave-function-file-comment): Fix typo.
24622 (octave-sync-function-file-names): Use read-char-choice.
24624 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
24626 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
24627 to t for the less important warnings.
24629 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
24631 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
24633 2013-04-27 Glenn Morris <rgm@gnu.org>
24635 * vc/log-view.el (log-view-current-entry):
24636 Treat "---" separator lines as part of the following rev. (Bug#14169)
24638 2013-04-27 Juri Linkov <juri@jurta.org>
24640 * subr.el (read-number): Doc fix about using it by interactive
24641 code letter `n'. (Bug#14254)
24643 2013-04-27 Juri Linkov <juri@jurta.org>
24645 * desktop.el (desktop-auto-save-timeout): New option.
24646 (desktop-file-checksum): New variable.
24647 (desktop-save): Add optional arg `auto-save' and don't auto-save
24648 if nothing changed.
24649 (desktop-auto-save-timer): New variable.
24650 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
24651 (after-init-hook): Call `desktop-auto-save-set-timer'.
24652 Suggested by Reuben Thomas <rrt@sc3d.org> in
24653 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
24655 2013-04-27 Leo Liu <sdl.web@gmail.com>
24657 * progmodes/octave.el (octave-function-file-p)
24658 (octave-skip-comment-forward, octave-function-file-comment)
24659 (octave-update-function-file-comment): New functions.
24660 (octave-mode-map): Bind C-c ; to
24661 octave-update-function-file-comment.
24662 (octave-mode-menu): Add octave-update-function-file-comment.
24663 (octave-mode, inferior-octave-mode): Fix doc-string.
24664 (octave-insert-defun): Conform to Octave's coding convention.
24667 * files.el (basic-save-buffer): Don't let errors in
24668 before-save-hook prevent saving buffer.
24670 2013-04-20 Roland Winkler <winkler@gnu.org>
24672 * faces.el (read-face-name): Use completing-read if arg multiple
24675 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
24677 * ls-lisp.el (ls-lisp-insert-directory): If no files are
24678 displayed, move point to after the totals line.
24679 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
24682 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
24684 * emacs-lisp/package.el (package-autoload-ensure-default-file):
24685 Add current dir to the load-path.
24686 (package-generate-autoloads): Don't rely on
24687 autoload-ensure-default-file.
24689 2013-04-26 Reuben Thomas <rrt@sc3d.org>
24691 * textmodes/remember.el (remember-store-in-files): Document that
24692 the file name format is passed to `format-time-string'.
24694 2013-04-26 Leo Liu <sdl.web@gmail.com>
24696 * progmodes/octave.el (octave-sync-function-file-names): New function.
24697 (octave-mode): Use it in before-save-hook.
24699 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
24701 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
24704 * progmodes/octave.el (octave-smie-forward-token): Properly skip
24705 \n and comment, even if it's not an implicit ; (bug#14218).
24707 2013-04-26 Glenn Morris <rgm@gnu.org>
24709 * subr.el (read-number): Once more use `read' rather than
24710 `string-to-number', to trap non-numeric input. (Bug#14254)
24712 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
24714 * emacs-lisp/syntax.el (syntax-propertize-multiline):
24715 Use `syntax-multiline' text property consistently instead of
24716 `font-lock-multiline'. (Bug#14237)
24718 2013-04-26 Glenn Morris <rgm@gnu.org>
24720 * emacs-lisp/shadow.el (list-load-path-shadows):
24721 No longer necessary to check for duplicate simple.el, since
24722 2012-07-07 change to init_lread to not include installation lisp
24723 directories in load-path when running uninstalled. (Bug#14270)
24725 2013-04-26 Leo Liu <sdl.web@gmail.com>
24727 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
24728 (octave-mode, inferior-octave-mode): Use setq-local.
24729 (octave-not-in-string-or-comment-p): Rename to
24730 octave-in-string-or-comment-p.
24731 (octave-in-comment-p, octave-in-string-p)
24732 (octave-in-string-or-comment-p): Replace defsubst with defun.
24734 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
24736 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
24738 2013-04-25 Bastien Guerry <bzg@gnu.org>
24740 * textmodes/remember.el (remember-data-directory)
24741 (remember-directory-file-name-format): Fix custom types.
24743 2013-04-25 Leo Liu <sdl.web@gmail.com>
24745 * progmodes/octave.el (octave-completion-at-point-function):
24746 Make use of inferior octave process.
24747 (octave-initialize-completions): Remove.
24748 (inferior-octave-completion-table): New function.
24749 (inferior-octave-completion-at-point): Use it.
24750 (octave-completion-alist): Remove.
24752 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24754 * progmodes/opascal.el: Use font-lock and syntax-propertize.
24755 (opascal-mode-syntax-table): New var.
24756 (opascal-literal-kind, opascal-is-literal-end)
24757 (opascal-literal-token-at): Rewrite.
24758 (opascal--literal-start-re, opascal-font-lock-keywords)
24759 (opascal--syntax-propertize): New constants.
24760 (opascal-font-lock-defaults): Adjust.
24761 (opascal-mode): Use them. Set comment-<foo> variables as well.
24762 (delphi-comment-face, opascal-comment-face, delphi-string-face)
24763 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
24764 (delphi-other-face, opascal-other-face): Remove face variables.
24765 (opascal-save-state): Remove macro.
24766 (opascal-fontifying-progress-step): Remove constant.
24767 (opascal--ignore-changes): Remove var.
24768 (opascal-set-token-property, opascal-parse-next-literal)
24769 (opascal-is-stable-literal, opascal-complete-literal)
24770 (opascal-is-literal-start, opascal-face-of)
24771 (opascal-parse-region, opascal-parse-region-until-stable)
24772 (opascal-fontify-region, opascal-after-change)
24773 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
24774 (opascal-debug-parse-region, opascal-debug-parse-window)
24775 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
24776 (opascal-debug-fontify-buffer): Remove.
24777 (opascal-debug-mode-map): Adjust accordingly.
24779 2013-04-25 Leo Liu <sdl.web@gmail.com>
24781 Merge octave-mod.el and octave-inf.el into octave.el with some
24783 * progmodes/octave.el: New file renamed from octave-mod.el.
24784 * progmodes/octave-inf.el: Merged into octave.el.
24785 * progmodes/octave-mod.el: Renamed to octave.el.
24787 2013-04-25 Tassilo Horn <tsdh@gnu.org>
24789 * textmodes/reftex-vars.el
24790 (reftex-label-ignored-macros-and-environments): New defcustom.
24792 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
24794 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24796 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
24797 (smie-indent-keyword): Improve the check to ensure that the next
24798 comment is really on the same line.
24799 (smie-indent-comment): Don't align with a subsequent closer (or eob).
24801 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
24802 semi-colons if the line is not otherwise empty (bug#14218).
24804 2013-04-25 Glenn Morris <rgm@gnu.org>
24806 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
24808 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
24810 * progmodes/opascal.el (opascal-set-token-property): Rename from
24811 opascal-set-text-properties and only set `token' (bug#14134).
24812 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
24813 (opascal-literal-text-properties): Remove.
24814 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
24817 2013-04-24 Reuben Thomas <rrt@sc3d.org>
24819 * textmodes/remember.el (remember-handler-functions): Add an
24820 option for a new handler `remember-store-in-files'.
24821 (remember-data-directory, remember-directory-file-name-format):
24823 (remember-store-in-files): New function to store remember notes
24824 as separate files within a directory.
24826 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
24828 * progmodes/compile.el (compilation-next-error-function):
24829 Pass "formats" to compilation-find-file (bug#11777).
24831 2013-04-24 Glenn Morris <rgm@gnu.org>
24833 * vc/vc-bzr.el (vc-bzr-print-log):
24834 * vc/vc-hg.el (vc-hg-print-log):
24835 * vc/vc-svn.el (vc-svn-print-log):
24836 Fix START-REVISION with LIMIT != 1. (Bug#14168)
24838 * vc/vc-bzr.el (vc-bzr-print-log):
24839 * vc/vc-cvs.el (vc-cvs-print-log):
24840 * vc/vc-git.el (vc-git-print-log):
24841 * vc/vc-hg.el (vc-hg-print-log):
24842 * vc/vc-mtn.el (vc-mtn-print-log):
24843 * vc/vc-rcs.el (vc-rcs-print-log):
24844 * vc/vc-sccs.el (vc-sccs-print-log):
24845 * vc/vc-svn.el (vc-svn-print-log):
24846 * vc/vc.el (vc-print-log-internal): Doc fixes.
24848 2013-04-23 Glenn Morris <rgm@gnu.org>
24850 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
24851 Remove venerable code attempting to avoid substitute-command-keys.
24853 2013-04-23 Tassilo Horn <tsdh@gnu.org>
24855 * textmodes/reftex-vars.el (reftex-label-regexps):
24856 Call `reftex-compile-variables' after changes to this variable.
24858 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
24860 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
24861 Use lexical-binding.
24862 (jit-lock-force-redisplay): Use markers, check buffer's continued
24863 existence and beware narrowed buffers.
24864 (jit-lock-fontify-now): Adjust call accordingly.
24866 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
24868 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
24869 to avoid misleading the user.
24871 2013-04-22 Leo Liu <sdl.web@gmail.com>
24873 * info-look.el: Prefer latex2e.info. (Bug#14240)
24875 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
24877 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
24879 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
24880 * net/tramp.el (tramp-call-process): ... here.
24881 (tramp-set-completion-function, tramp-parse-putty):
24882 * net/tramp-adb.el (tramp-adb-execute-adb-command):
24883 * net/tramp-gvfs.el (tramp-gvfs-send-command):
24884 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
24885 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
24886 (tramp-call-local-coding-command): Use `tramp-call-process'
24887 instead of `tramp-compat-call-process'.
24889 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
24890 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
24891 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
24892 (tramp-find-inline-compress): Improve traces.
24893 (tramp-maybe-send-script): Check for Perl binary.
24894 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
24896 2013-04-22 Daiki Ueno <ueno@gnu.org>
24898 * epg.el (epg-context-pinentry-mode): New function.
24899 (epg-context-set-pinentry-mode): New function.
24900 (epg--start): Pass --pinentry-mode option to gpg command.
24902 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
24904 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
24905 `comint-dynamic-complete' is obsolete since 24.1, replaced by
24906 `completion-at-point'. (Bug#13774)
24908 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
24909 default key binding for `describe-distribution' has been moved to
24910 `C-h C-o'. (Bug#13970)
24912 2013-04-21 Glenn Morris <rgm@gnu.org>
24914 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
24916 (vc-print-log): Clarify interactive prompt.
24918 2013-04-20 Glenn Morris <rgm@gnu.org>
24920 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24921 No longer include timestamp etc information.
24923 2013-04-20 Roland Winkler <winkler@gnu.org>
24925 * faces.el (read-face-name): Bug fix, return just one face if arg
24926 multiple is nil. (Bug#14209)
24928 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24930 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
24931 (remove-function): Autoload.
24933 * comint.el (comint-redirect-original-filter-function): Remove.
24934 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
24935 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
24936 (vc-cvs-annotate-command):
24937 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
24938 * progmodes/prolog.el (prolog-consult-compile):
24939 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
24940 Use add/remove-function instead.
24941 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
24942 (gud-tooltip-process-output, gud-tooltip-tips):
24943 Use add/remove-function instead.
24944 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
24945 (scheme-interaction-mode, exit-scheme-interaction-mode):
24946 Use add/remove-function instead.
24948 * vc/vc-dispatcher.el: Use lexical-binding.
24949 (vc--process-sentinel): Rename from vc-process-sentinel.
24950 Change last arg to be the code to run. Don't use vc-previous-sentinel
24951 and vc-sentinel-commands any more.
24952 (vc-exec-after): Allow code to be a function. Use add/remove-function.
24953 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
24955 2013-04-19 Masatake YAMATO <yamato@redhat.com>
24957 * progmodes/sh-script.el (sh-imenu-generic-expression):
24958 Handle function names with a single character. (Bug#14111)
24960 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
24962 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
24963 for subroutines defined in an eval (bug#14182).
24965 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
24967 * bookmark.el (bookmark-completing-read): Improve handling of empty
24968 string (bug#14176).
24970 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24972 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
24974 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
24976 New faster Imenu implementation (bug#14058).
24977 * progmodes/python.el (python-imenu-prev-index-position)
24978 (python-imenu-format-item-label-function)
24979 (python-imenu-format-parent-item-label-function)
24980 (python-imenu-format-parent-item-jump-label-function):
24982 (python-imenu-format-item-label)
24983 (python-imenu-format-parent-item-label)
24984 (python-imenu-format-parent-item-jump-label)
24985 (python-imenu--put-parent, python-imenu--build-tree)
24986 (python-imenu-create-index, python-imenu-create-flat-index)
24987 (python-util-popn): New functions.
24988 (python-mode): Set imenu-create-index-function to
24989 python-imenu-create-index.
24991 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
24993 * winner.el (winner-active-region): Use region-active-p, activate-mark
24994 and deactivate-mark (bug#14225).
24996 * simple.el (deactivate-mark): Don't inline it.
24998 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
25000 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
25002 2013-04-18 Tassilo Horn <tsdh@gnu.org>
25004 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
25005 file extensions from the archive-mode entry in order to prefer
25006 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
25008 2013-04-18 Leo Liu <sdl.web@gmail.com>
25010 * bindings.el (help-event-list): Add ?\?.
25012 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
25014 * subr.el (with-wrapper-hook): Declare obsolete.
25015 * simple.el (filter-buffer-substring-function): New hook.
25016 (filter-buffer-substring): Use it.
25017 (filter-buffer-substring-functions): Mark obsolete.
25018 * minibuffer.el (completion-in-region-function): New hook.
25019 (completion-in-region): Use it.
25020 (completion-in-region-functions): Mark obsolete.
25021 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
25022 * abbrev.el (abbrev-expand-function): New hook.
25023 (expand-abbrev): Use it.
25024 (abbrev-expand-functions): Mark obsolete.
25025 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
25026 and :filter-return.
25028 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25030 * progmodes/python.el (python-nav--syntactically): Fix cornercases
25031 and do not care about match data.
25033 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
25035 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
25036 completion tables when completing error conditions and
25037 `declare' arguments.
25038 (lisp-complete-symbol, field-complete): Mark as obsolete.
25039 (check-parens): Unmatched parens are user errors.
25040 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
25042 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
25044 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
25045 command changed buffer (ie. `flyspell-pre-buffer' is not current
25046 buffer), which prevents making decisions based on invalid value of
25047 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
25048 cause an error when `flyspell-pre-point' was nil after switching
25050 (flyspell-post-command-hook): No longer needs to change buffers when
25051 checking pre-word. While at it remove unnecessary progn.
25053 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
25055 * textmodes/ispell.el (ispell-add-per-file-word-list):
25056 Fix `flyspell-correct-word-before-point' error when accepting
25057 words and `coment-padding' is an integer by using
25058 `comment-normalize-vars' (Bug #14214).
25060 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25062 New defun movement commands.
25063 * progmodes/python.el (python-nav--syntactically)
25064 (python-nav--forward-defun, python-nav-backward-defun)
25065 (python-nav-forward-defun): New functions.
25067 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25069 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
25070 (python-syntax-context): Use named compiler-macro for backwards
25071 compatibility with Emacs 24.x.
25073 2013-04-17 Leo Liu <sdl.web@gmail.com>
25075 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
25076 octave-hide-process-buffer.
25078 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
25080 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
25083 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
25085 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
25086 Fix adjustment of offset when receiving incomplete responses from GDB
25089 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
25091 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
25092 python-mode-abbrev-table.
25093 (python-skeleton-define): Adjust accordingly.
25094 (python-mode-abbrev-table): New table that inherits from it so that
25095 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
25097 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
25098 (abbrev-symbol): Use it.
25099 (abbrev--before-point): Use it since we already handle inheritance.
25101 2013-04-16 Leo Liu <sdl.web@gmail.com>
25103 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
25104 binding to info-lookup-symbol.
25106 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
25108 * minibuffer.el (completion--twq-all):
25109 * term/ns-win.el (ns-initialize-window-system):
25110 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
25112 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
25114 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
25117 * doc-view.el (doc-view-start-process): Handle url-handler directories.
25119 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
25121 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
25122 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
25124 (ruby-end-of-defun): Remove the unused arg, change the docstring
25125 to reflect that this function is only used as the value of
25126 `end-of-defun-function'.
25127 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
25128 to reflect an earlier change that beginning/end-of-defun functions
25129 jump between methods in a class definition, as well as top-level
25132 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25134 * minibuffer.el (minibuffer-complete): Don't just scroll
25135 a *Completions* that's been iconified.
25136 (minibuffer-force-complete): Make sure repetitions do cycle when going
25137 through completion-in-region -> minibuffer-complete.
25139 2013-04-15 Alan Mackenzie <acm@muc.de>
25141 Correct the placement of c-cpp-delimiters when there're #s not at
25144 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
25145 place a submatch around the #.
25146 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
25147 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
25150 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25152 * emacs-lisp/nadvice.el: Properly test names when adding advice.
25153 (advice--member-p): New arg `name'.
25154 (advice--add-function, advice-member-p): Use it (bug#14202).
25156 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
25158 Reformulate java imenu-generic-expression.
25159 The old expression contained ill formed regexps.
25161 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
25162 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
25163 (cc-imenu-java-method-arg-regexp): New defconsts.
25164 (cc-imenu-java-build-type-args-regex): New defun.
25165 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
25166 handling of spaces in the regexp.
25168 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
25170 * textmodes/ispell.el (ispell-command-loop): Remove
25171 flyspell highlight of a word when ispell accepts it (bug #14178).
25173 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
25175 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
25176 uses code from the previous `ange-ftp-run-real-handler'.
25177 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
25178 only in case that function exist. This is needed for proper
25179 unloading of Tramp.
25181 2013-04-15 Tassilo Horn <tsdh@gnu.org>
25183 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
25185 * textmodes/reftex.el (reftex-compile-variables): Use it.
25187 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25189 * files.el (normal-mode): Only use default major-mode if no other mode
25192 * emacs-lisp/trace.el (trace-values): New function.
25194 * files.el: Allow : in local variables (bug#14089).
25195 (hack-local-variable-regexp): New var.
25196 (hack-local-variables-prop-line, hack-local-variables): Use it.
25198 2013-04-13 Roland Winkler <winkler@gnu.org>
25200 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
25201 data before it gets modified by bibtex-beginning-of-entry.
25203 2013-04-13 Roland Winkler <winkler@gnu.org>
25205 * textmodes/bibtex.el (bibtex-url): Doc fix.
25207 2013-04-13 Roland Winkler <winkler@gnu.org>
25209 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
25210 does not visit a BibTeX file, exclude it from the list of buffers
25211 returned by bibtex-initialize.
25213 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
25215 * window.el (split-window): Remove interactive form, since as a
25216 command this function is a special case of split-window-below.
25217 Correct doc string.
25219 2013-04-12 Roland Winkler <winkler@gnu.org>
25221 * faces.el (read-face-name): Do not override value of arg default.
25222 Allow single faces and strings as default values. Remove those
25223 elements from return value that are not faces.
25224 (describe-face): Simplify.
25225 (face-at-point): New optional args thing and multiple so that this
25226 function can provide the same functionality previously provided by
25228 (make-face-bold, make-face-unbold, make-face-italic)
25229 (make-face-unitalic, make-face-bold-italic, invert-face)
25230 (modify-face, read-face-and-attribute): Use face-at-point.
25232 * cus-edit.el (customize-face, customize-face-other-window)
25233 * cus-theme.el (custom-theme-add-face)
25234 * face-remap.el (buffer-face-set)
25235 * facemenu.el (facemenu-set-face): Use face-at-point.
25237 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
25239 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
25241 2013-04-10 Tassilo Horn <tsdh@gnu.org>
25243 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
25244 off leading { and trailing } from field values.
25246 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
25248 * emacs-lisp/timer.el (timer--check): New function.
25249 (timer--time, timer-set-function, timer-event-handler): Use it.
25250 (timer-set-idle-time): Simplify.
25251 (timer--activate): CSE.
25252 (timer-event-handler): Give more info in error message.
25253 (internal-timer-start-idle): New function, moved from C.
25255 * mpc.el (mpc-proc): Add `restart' argument.
25256 (mpc-proc-cmd): Use it.
25257 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
25258 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
25261 2013-04-10 Masatake YAMATO <yamato@redhat.com>
25263 * progmodes/sh-script.el: Implement `sh-mode' own
25264 `add-log-current-defun-function' (bug#14112).
25265 (sh-current-defun-name): New function.
25266 (sh-mode): Use the function.
25268 2013-04-09 Bastien Guerry <bzg@gnu.org>
25270 * simple.el (choose-completion-string): Fix docstring (bug#14163).
25272 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
25274 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
25276 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
25279 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
25281 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
25284 2013-04-07 Leo Liu <sdl.web@gmail.com>
25286 * pcmpl-x.el: New file.
25288 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
25290 Do not set x-display-name until X connection is established.
25291 This is needed to prevent from weird situation described at
25292 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
25293 * frame.el (make-frame): Set x-display-name after call to
25294 window system initialization function, not before.
25295 * term/x-win.el (x-initialize-window-system): Add optional
25296 display argument and use it.
25297 * term/w32-win.el (w32-initialize-window-system):
25298 * term/ns-win.el (ns-initialize-window-system):
25299 * term/pc-win.el (msdos-initialize-window-system):
25300 Add compatible optional display argument.
25302 2013-04-06 Eli Zaretskii <eliz@gnu.org>
25304 * files.el (normal-backup-enable-predicate): On MS-Windows and
25305 MS-DOS compare truenames of temporary-file-directory and of the
25306 file, so that 8+3 aliases (usually found in $TEMP on Windows)
25307 don't fail comparison by compare-strings. Also, compare file
25308 names case-insensitively on MS-Windows and MS-DOS.
25310 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25312 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
25313 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
25315 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
25317 * whitespace.el (whitespace-color-on, whitespace-color-off):
25318 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
25320 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
25322 * ispell.el (ispell-set-spellchecker-params):
25323 Really set `ispell-args' for all equivs.
25325 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25327 * ido.el (ido-completions): Use extra elements of ido-decorations
25329 (ido-decorations): Update docstring.
25331 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
25333 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
25334 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
25335 nil during initialization, in order not to miss changes since the
25336 file was opened. (Bug#14140)
25338 2013-04-05 Leo Liu <sdl.web@gmail.com>
25340 * kmacro.el (kmacro-call-macro): Fix bug#14135.
25342 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
25344 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
25346 2013-04-04 Glenn Morris <rgm@gnu.org>
25348 * electric.el (electric-pair-inhibit-predicate): Add :version.
25350 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
25352 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
25353 when a package is required several times (bug#14082).
25355 2013-04-04 Roland Winkler <winkler@gnu.org>
25357 * faces.el (read-face-name): Behave as promised by the docstring.
25358 Assume that arg default is a list of faces.
25359 (describe-face): Call read-face-name with list of default faces.
25361 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
25363 * bookmark.el: Fix deletion of bookmarks (bug#13972).
25364 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
25365 (bookmark-bmenu-execute-deletions): Only skip first line if it's
25367 (bookmark-exit-hook-internal): Save even if list is empty.
25369 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
25371 * emacs-lisp/package.el (package-pinned-packages): New var.
25372 (package--add-to-archive-contents): Obey it (bug#14118).
25374 2013-04-03 Alan Mackenzie <acm@muc.de>
25376 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
25377 Also adapt to the new values of element 7 of a parse state.
25379 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
25380 parameter `not-in-delimiter'. Handle being inside comment opener.
25381 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
25382 character in case we're typing a '*' after a '/'.
25383 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
25384 instead by passing the parameter to c-state-pp-to-literal.
25386 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
25387 for elt. 7 of a parse state.
25389 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
25391 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
25392 * international/latin1-disp.el, international/mule-util.el:
25393 * language/cyril-util.el, language/european.el, language/ind-util.el:
25394 * language/lao-util.el, language/thai.el, language/tibet-util.el:
25395 * language/tibetan.el, language/viet-util.el:
25396 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
25398 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25400 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
25401 (electric-pair-post-self-insert-function): Use it.
25402 (electric-pair-default-inhibit): New function, extracted from
25403 electric-pair-post-self-insert-function.
25405 2013-03-31 Roland Winkler <winkler@gnu.org>
25407 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
25409 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25411 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
25413 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
25415 Un-indent after "pass" and "return" statements (Bug#13888)
25416 * progmodes/python.el (python-indent-block-enders): New var.
25417 (python-indent-calculate-indentation): Use it.
25419 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
25421 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
25422 defun. Defining it as defalias could introduce too eager
25423 byte-compiler optimization. (Bug#14030)
25425 2013-03-30 Chong Yidong <cyd@gnu.org>
25427 * iswitchb.el (iswitchb-read-buffer): Fix typo.
25429 2013-03-30 Leo Liu <sdl.web@gmail.com>
25431 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
25432 (kmacro-execute-from-register): Pass the keyboard macro to
25433 kmacro-call-macro or repeating won't work correctly.
25435 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
25437 * progmodes/subword.el: Back to using `forward-symbol'.
25439 * subr.el (forward-whitespace, forward-symbol)
25440 (forward-same-syntax): Move from thingatpt.el.
25442 2013-03-29 Leo Liu <sdl.web@gmail.com>
25444 * kmacro.el (kmacro-to-register): New command.
25445 (kmacro-execute-from-register): New function.
25446 (kmacro-keymap): Bind to 'x'. (Bug#14071)
25448 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
25450 * mpc.el: Use defvar-local and setq-local.
25451 (mpc--proc-connect): Connection failures are not bugs.
25452 (mpc-mode-map): `follow-link' only applies to the buffer's content.
25453 (mpc-volume-map): Bind to the up-events.
25455 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
25457 * progmodes/subword.el (superword-mode): Use `forward-sexp'
25458 instead of `forward-symbol'.
25460 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
25462 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
25463 (edebug--recursive-edit): Use it.
25464 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
25465 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
25467 2013-03-28 Leo Liu <sdl.web@gmail.com>
25469 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
25471 2013-03-27 Eli Zaretskii <eliz@gnu.org>
25473 * facemenu.el (list-colors-callback): New defvar.
25474 (list-colors-redisplay): New function.
25475 (list-colors-display): Install list-colors-redisplay as the
25476 revert-buffer-function. (Bug#14063)
25478 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
25480 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
25481 and suffixes don't overlap (bug#14061).
25483 * case-table.el: Use lexical-binding.
25484 (case-table-get-table): New function.
25485 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
25487 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
25489 * progmodes/subword.el: Add `superword-mode' to do word motion
25490 over symbol_words (parallels and leverages `subword-mode' which
25491 does word motion inside MixedCaseWords).
25493 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
25495 * eshell/em-unix.el: Move su and sudo to...
25496 * eshell/em-tramp.el: ...Eshell tramp module.
25498 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25500 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
25501 Change return value to be a sexp. Delay `get-buffer' to after
25502 restoring the desktop (bug#13951).
25504 2013-03-26 Leo Liu <sdl.web@gmail.com>
25506 * register.el: Move semantic tag handling back to
25507 cedet/semantic/senator.el. (Bug#14052)
25509 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25511 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
25512 into the prompt either (bug#13963).
25514 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
25516 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
25517 part of "(error-foo)".
25519 2013-03-24 Juri Linkov <juri@jurta.org>
25521 * replace.el (list-matching-lines-prefix-face): New defcustom.
25522 (occur-1): Pass `list-matching-lines-prefix-face' to the function
25523 `occur-engine' if `face-differs-from-default-p' returns t.
25524 (occur-engine): Add `,' inside backquote construct to evaluate
25525 `prefix-face'. Propertize the prefix with the `prefix-face' face.
25526 Pass `prefix-face' to the functions `occur-context-lines' and
25527 `occur-engine-add-prefix'.
25528 (occur-engine-add-prefix, occur-context-lines): Add optional arg
25529 `prefix-face' and propertize the prefix with `prefix-face'.
25532 2013-03-24 Leo Liu <sdl.web@gmail.com>
25534 * nxml/rng-valid.el (rng-validate-while-idle)
25535 (rng-validate-quick-while-idle): Guard against deleted buffer.
25538 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
25539 is the last entry in kill-buffer-hook.
25541 * files.el (kill-buffer-hook): Doc fix.
25543 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
25545 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
25546 Make it safe-local.
25548 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
25550 2013-03-23 Leo Liu <sdl.web@gmail.com>
25552 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
25555 * nxml/rng-valid.el (rng-validate-mode)
25556 (rng-after-change-function, rng-do-some-validation):
25557 * nxml/rng-maint.el (rng-validate-buffer):
25558 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
25559 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
25560 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
25561 (nxml-extend-after-change-region): Use with-silent-modifications.
25563 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
25566 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
25567 (rng-next-error-1, rng-previous-error-1): Do not let-bind
25568 timer-idle-list. (Bug#13999)
25570 2013-03-23 Juri Linkov <juri@jurta.org>
25572 * info.el (info-index-match): New face.
25573 (Info-index, Info-apropos-matches): Add a nested subgroup to the
25574 main pattern and add text properties with the new face to matches
25575 in index entries relative to the beginning of the index entry.
25578 2013-03-21 Eric Ludlam <zappo@gnu.org>
25580 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
25581 Inhibit read only while inserting objects.
25583 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
25585 * progmodes/cfengine.el: Update docs to mention
25586 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
25587 symbol motion. Remove "_" from the word syntax.
25589 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
25591 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
25592 syntax for both `cfengine2-mode' and `cfengine3-mode'.
25594 2013-03-20 Juri Linkov <juri@jurta.org>
25596 * info.el (Info-next-reference-or-link)
25597 (Info-prev-reference-or-link): New functions.
25598 (Info-next-reference, Info-prev-reference): Use them.
25599 (Info-try-follow-nearest-node): Handle footnote navigation.
25600 (Info-fontify-node): Fontify footnotes. (Bug#13989)
25602 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
25604 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
25605 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
25607 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
25609 Suppress unnecessary non-ASCII chatter during build process.
25610 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
25611 (batch-skkdic-convert): Suppress most of the chatter.
25612 It's not needed so much now that machines are faster,
25613 and its non-ASCII component was confusing; see Dmitry Gutov in
25614 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
25616 2013-03-20 Leo Liu <sdl.web@gmail.com>
25618 * ido.el (ido-chop): Fix bug#10994.
25620 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25622 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
25624 (whitespace-color-on, whitespace-color-off):
25625 Use `font-lock-fontify-buffer' (Bug#13817).
25627 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
25629 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
25630 remapping in mode-line.
25631 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
25633 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25635 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
25636 value for `whitespace-line' face (Bug#13875).
25637 (whitespace-font-lock-keywords): Change description.
25638 (whitespace-color-on): Don't save `font-lock-keywords' value, save
25639 the constructed keywords instead.
25640 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
25642 2013-03-19 Leo Liu <sdl.web@gmail.com>
25644 * progmodes/compile.el (compilation-display-error): New command.
25645 (compilation-mode-map, compilation-minor-mode-map): Bind it to
25648 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25650 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
25652 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
25654 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
25656 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
25658 * net/tramp-compat.el (tramp-compat-user-error): New defun.
25660 * net/tramp-adb.el (tramp-adb-handle-shell-command):
25661 * net/tramp-gvfs.el (top):
25662 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
25663 (tramp-handle-shell-command): Use it.
25664 (tramp-dissect-file-name): Raise an error when hostname is a
25665 method name, and neither method nor user is specified.
25667 * net/trampver.el: Update release number.
25669 2013-03-18 Leo Liu <sdl.web@gmail.com>
25671 Make sure eldoc can be turned off properly.
25672 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
25674 (eldoc-display-message-p): Revert last change.
25675 (eldoc-display-message-no-interference-p)
25676 (eldoc-print-current-symbol-info): Tweak.
25678 2013-03-18 Tassilo Horn <tsdh@gnu.org>
25680 * doc-view.el (doc-view-new-window-function): Check the new window
25681 overlay's display property instead the char property of the
25682 buffer's first char. Use `with-selected-window' instead of
25683 `save-window-excursion' with `select-window'.
25684 (doc-view-document->bitmap): Check the current doc-view overlay's
25685 display property instead the char property of the buffer's first char.
25687 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25689 Automate the build of ja-dic.el (Bug#13984).
25690 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
25691 from the input, rather than assume that it's been done for us by the
25692 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
25693 the current date into a ja-dic.el comment, as that complicates
25694 regression testing.
25696 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25698 * whitespace.el: Fix double evaluation.
25699 (whitespace-space, whitespace-hspace, whitespace-tab)
25700 (whitespace-newline, whitespace-trailing, whitespace-line)
25701 (whitespace-space-before-tab, whitespace-indentation)
25702 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
25704 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
25705 (whitespace-color-on): Use a single font-lock-add-keywords call.
25706 Fix double-evaluation of face variables.
25708 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
25710 * net/tramp-adb.el (tramp-adb-parse-device-names):
25711 Use `start-process' instead of `call-process'. Otherwise, the
25712 function might be blocked under MS Windows. (Bug#13299)
25714 2013-03-17 Leo Liu <sdl.web@gmail.com>
25716 Extend eldoc to display info in the mode-line. (Bug#13978)
25717 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
25718 (eldoc-mode-line-string): New variable.
25719 (eldoc-minibuffer-message): New function.
25720 (eldoc-message-function): New variable.
25721 (eldoc-message): Use it.
25722 (eldoc-display-message-p)
25723 (eldoc-display-message-no-interference-p):
25724 Support eldoc-post-insert-mode.
25726 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
25727 (eval-expression): Run it.
25729 2013-03-17 Roland Winkler <winkler@gnu.org>
25731 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
25732 strings in the list of return values.
25734 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25736 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
25737 radix before checking for HMS forms.
25739 2013-03-16 Leo Liu <sdl.web@gmail.com>
25741 * progmodes/scheme.el: Add indentation and font-locking for λ.
25744 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
25746 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
25747 token before point (bug#13942).
25749 2013-03-16 Leo Liu <sdl.web@gmail.com>
25751 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
25753 2013-03-16 Eli Zaretskii <eliz@gnu.org>
25755 * startup.el (command-line-normalize-file-name): Fix handling of
25756 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
25757 <xfq.free@gmail.com> in
25758 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
25760 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
25762 Sync with Tramp 2.2.7.
25764 * net/trampver.el: Update release number.
25766 2013-03-14 Tassilo Horn <tsdh@gnu.org>
25768 * doc-view.el: Fix bug#13887.
25769 (doc-view-insert-image): Don't modify overlay associated to
25770 non-live windows, and implement horizontal centering of image in
25771 case it's smaller than the window.
25772 (doc-view-new-window-function): Force redisplay of new windows on
25775 2013-03-13 Karl Fogel <kfogel@red-bean.com>
25777 * saveplace.el (save-place-alist-to-file): Don't sort
25778 `save-place-alist', just pretty-print it (bug#13882).
25780 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
25782 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
25783 Check whether `default-file-name-coding-system' is bound.
25784 It isn't in XEmacs.
25786 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
25788 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
25789 backquotes for `obsolete' (bug#13929).
25791 * international/mule.el (find-auto-coding): Include file name in
25792 obsolescence warning (bug#13922).
25794 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
25796 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
25797 for CFEngine 3-specific indentation.
25798 (cfengine3-indent-line): Use it. Fix up category regex.
25799 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
25801 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25803 * type-break.el (type-break-file-name):
25804 * textmodes/remember.el (remember-data-file):
25805 * strokes.el (strokes-file):
25806 * shadowfile.el (shadow-initialize):
25807 * saveplace.el (save-place-file):
25808 * ps-bdf.el (bdf-cache-file):
25809 * progmodes/idlwave.el (idlwave-config-directory):
25810 * net/quickurl.el (quickurl-url-file):
25811 * international/kkc.el (kkc-init-file-name):
25812 * ido.el (ido-save-directory-list-file):
25813 * emulation/viper.el (viper-custom-file-name):
25814 * emulation/vip.el (vip-startup-file):
25815 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
25816 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
25818 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
25820 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
25821 * language/thai-word.el: Switch to UTF-8.
25823 See ChangeLog.16 for earlier changes.
25825 ;; Local Variables:
25829 Copyright (C) 2011-2015 Free Software Foundation, Inc.
25831 This file is part of GNU Emacs.
25833 GNU Emacs is free software: you can redistribute it and/or modify
25834 it under the terms of the GNU General Public License as published by
25835 the Free Software Foundation, either version 3 of the License, or
25836 (at your option) any later version.
25838 GNU Emacs is distributed in the hope that it will be useful,
25839 but WITHOUT ANY WARRANTY; without even the implied warranty of
25840 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25841 GNU General Public License for more details.
25843 You should have received a copy of the GNU General Public License
25844 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.