1 2015-04-01 Artur Malabarba <bruce.connor.am@gmail.com>
3 * emacs-lisp/package.el: Implement asynchronous refreshing.
4 (package--with-work-buffer-async)
5 (package--check-signature-content)
6 (package--update-downloads-in-progress): New functions.
7 (package--check-signature, package--download-one-archive)
8 (package--download-and-read-archives, package-refresh-contents):
9 Optional arguments for async usage.
10 (package--post-download-archives-hook): New variable. Hook run
13 * emacs-lisp/package.el: Make package-menu asynchronous.
14 (package-menu-async): New variable. Controls whether
15 `list-packages' is asynchronous.
16 (list-packages): Now asynchronous by default.
17 (package-menu--new-package-list): Always buffer-local.
18 (package-menu--post-refresh)
19 (package-menu--find-and-notify-upgrades)
20 (package-menu--populate-new-package-list): New functions.
22 2015-03-31 Simen Heggestøyl <simenheg@gmail.com>
24 * textmodes/css-mode.el (css-mode): Derive from `prog-mode'.
26 2015-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
28 * jit-lock.el (jit-lock--run-functions): Fix min/max copy&paste error.
30 Let jit-lock know the result of font-lock-extend-region-functions.
31 * jit-lock.el (jit-lock--run-functions): New function.
32 (jit-lock-fontify-now): Use it. Handle fontification bounds more
33 precisely in case the backend functions fontify more than requested.
34 Don't round up to whole lines since that shouldn't be needed
36 * font-lock.el (font-lock-fontify-region-function): Adjust docstring.
37 (font-lock-inhibit-thing-lock): Make obsolete.
38 (font-lock-default-fontify-region): Return the bounds actually used.
40 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
41 Fix compilation error.
43 2015-03-30 Artur Malabarba <bruce.connor.am@gmail.com>
45 * emacs-lisp/package.el: Reorganize package.el and divide it with
46 page-breaks and comments.
48 2015-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
50 * emacs-lisp/eieio-base.el (make-instance) <eieio-named>: New instance
51 which stores the old-style object name argument into the
54 2015-03-30 Alan Mackenzie <acm@muc.de>
56 Correct calculation of CC Mode's font-lock region.
58 * progmodes/cc-mode.el (c-fl-decl-start): Rename from
59 c-set-fl-decl-start. Change signature such that nil is returned
60 when no declaration is found.
61 (c-change-expand-fl-region): Rename from
62 c-change-set-fl-decl-start. This now also handles expanding the
63 font lock region to whole lines.
64 (c-context-expand-fl-region): Rename from
65 c-context-set-fl-decl-start. This now also handles expanding the
66 font lock region to whole lines.
67 (c-font-lock-fontify-region): When a change font lock region is
68 spuriously enlarged to the beginning-of-line by jit-lock, fontify
69 the extra bit separately from the region calculated by CC Mode.
70 (c-extend-after-change-region): Explicitly apply 'fontified
71 properties to the extended bits of the font lock region.
73 * progmodes/cc-langs.el (c-before-font-lock-functions)
74 (c-before-context-fontification-functions): Use new names for
75 existing functions (see above).
77 2015-03-30 Richard Ryniker <ryniker@alum.mit.edu> (tiny change)
79 * mail/sendmail.el (sendmail-send-it): Do not attempt to switch
80 to non-existent buffer (errbuf is not created when customization
81 variable mail-interactive is nil). (Bug#20211)
83 2015-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
85 * emacs-lisp/smie.el (smie-backward-sexp-command)
86 (smie-forward-sexp-command): Don't pretend the arg is optional
89 2015-03-29 Dmitry Gutov <dgutov@yandex.ru>
91 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
92 Detect regexps after `!'. (Bug#19285)
94 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
95 Use `font-lock-constant-face' for nil, true and false.
96 Highlight `self' as a keyword. (Bug#17733)
98 2015-03-29 Nobuyoshi Nakada <nobu@ruby-lang.org>
100 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
101 Expect beginning of regexp also after open brace or vertical bar.
104 2015-03-28 Jan Djärv <jan.h.d@swipnet.se>
106 * emacs-lisp/package.el (package-refresh-contents): Fix spelling
107 error in previous change.
109 2015-03-28 Tom Willemse <tom@ryuslash.org> (tiny change)
111 * elec-pair.el (electric-pair-local-mode): New command.
112 (electric-pair-mode): Mention `electric-pair-local-mode' in the
115 2015-03-28 Jan Djärv <jan.h.d@swipnet.se>
117 * emacs-lisp/package.el (package-refresh-contents): Add a message at
118 the end so it does not appear to have hanged (Bug#17879).
120 2015-03-27 Wolfgang Jenkner <wjenkner@inode.at>
122 * font-lock.el (font-lock--remove-face-from-text-property):
123 New function. Adapted from the previously commented out
124 remove-single-text-property.
125 Remove previously unused and commented out auxiliary function
126 remove-text-property and obsolete comment.
127 * comint.el (comint-output-filter): Use it to remove
128 comint-highlight-prompt.
129 (comint-snapshot-last-prompt, comint-output-filter):
130 Use font-lock-prepend-text-property for comint-highlight-prompt.
133 2015-03-26 Daniel Colascione <dancol@dancol.org>
134 * progmodes/python.el
135 (python-indent-guess-indent-offset-verbose): New defcustom.
136 (python-indent-guess-indent-offset): Use it.
138 2015-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
140 * emacs-lisp/eieio.el (defclass): Change internal name so as to make
141 sure only EIEIO files should have "eieio--" prefixes in their .elc.
143 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Silence byte-compiler.
145 2015-03-26 Boruch Baum <boruch_baum@gmx.com> (tiny change)
147 * bookmark.el (bookmark-show-all-annotations): Sort them (bug#20177).
149 2015-03-25 Dmitry Gutov <dgutov@yandex.ru>
151 * json.el (json-special-chars): Don't treat `/' specially, there's
153 (json-encode-string): Only escape quotation mark, backslash and
154 the control characters U+0000 to U+001F.
156 2015-03-25 Artur Malabarba <bruce.connor.am@gmail.com>
158 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
159 Don't complain about args starting with _.
161 2015-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
163 * international/mule-cmds.el (mule--ucs-names-annotation): New func.
164 (read-char-by-name): Use it.
166 * xt-mouse.el (xterm-mouse--read-number-from-terminal): Fix last commit.
168 2015-03-25 Nicolas Petton <nicolas@petton.fr>
170 * emacs-lisp/seq.el: Documentation improvements.
172 2015-03-25 Glenn Morris <rgm@gnu.org>
174 * net/browse-url.el (browse-url-browser-function)
175 (browse-url-default-browser):
176 Remove obsolete items from the explicit listing.
177 (browse-url-new-window-flag, browse-url-of-file-hook): Doc fixes.
178 (browse-url-netscape-program, browse-url-netscape-arguments)
179 (browse-url-netscape-startup-arguments)
180 (browse-url-galeon-program, browse-url-galeon-arguments)
181 (browse-url-galeon-startup-arguments)
182 (browse-url-gnome-moz-program, browse-url-gnome-moz-arguments)
183 (browse-url-galeon-new-window-is-tab)
184 (browse-url-netscape-new-window-is-tab)
185 (browse-url-mosaic-program, browse-url-mosaic-arguments)
186 (browse-url-mosaic-pidfile, browse-url-CCI-port)
187 (browse-url-CCI-host, browse-url-netscape-version)
188 (browse-url-netscape, browse-url-netscape-sentinel)
189 (browse-url-netscape-reload, browse-url-netscape-send)
190 (browse-url-galeon, browse-url-galeon-sentinel)
191 (browse-url-gnome-moz, browse-url-mosaic, browse-url-cci)
192 (browse-url-w3-gnudoit): Make obsolete.
193 * ffap.el (ffap-url-fetcher): Simplify default and doc.
195 2015-03-25 Olaf Rogalsky <olaf.rogalsky@gmail.com>
197 * xt-mouse.el: Add mouse-tracking support (bug#19416).
198 (xterm-mouse-translate-1): Handle mouse-movement events.
199 (xterm-mouse--read-event-sequence-1000)
200 (xterm-mouse--read-event-sequence-1006): Delete functions.
201 (xterm-mouse--read-event-sequence): New function that handles both at
202 the same time. Handle mouse-movements.
203 (xterm-mouse--read-utf8-char, xterm-mouse--read-number-from-terminal):
205 (xterm-mouse-event): Simplify.
206 (xterm-mouse-tracking-enable-sequence)
207 (xterm-mouse-tracking-disable-sequence): Enable mouse tracking.
209 * mouse.el (mouse-drag-line): Also ignore `vertical-line' prefix events.
211 2015-03-24 Michael Albinus <michael.albinus@gmx.de>
213 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
214 (tramp-do-file-attributes-with-stat): Quote file names in output.
215 (tramp-do-directory-files-and-attributes-with-stat): Use "//" as marker.
217 2015-03-24 Daiki Ueno <ueno@gnu.org>
219 * epg.el (epg-start-generate-key): Fix typo in "gpg --gen-key"
220 invocation; make the PARAMETERS documentation clearer.
222 2015-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
224 Add cl-struct specific optimizations to pcase.
225 * emacs-lisp/cl-macs.el (cl--struct-all-parents)
226 (cl--pcase-mutually-exclusive-p): New functions.
227 (pcase--mutually-exclusive-p): Advise to optimize cl-struct patterns.
229 * emacs-lisp/pcase.el (pcase--split-pred): Handle quoted string.
231 2015-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
233 Add new `cl-struct' and `eieio' pcase patterns.
234 * emacs-lisp/cl-macs.el (cl-struct): New pcase pattern.
235 * emacs-lisp/eieio.el (eieio-pcase-slot-index-table)
236 (eieio-pcase-slot-index-from-index-table): New functions.
237 (eieio): New pcase pattern.
238 * emacs-lisp/pcase.el (pcase--make-docstring): New function.
239 (pcase): Use it to build the docstring.
240 (pcase-defmacro): Make sure the macro is lazy-loaded.
241 (\`): Move its docstring from `pcase'.
243 2015-03-23 Glenn Morris <rgm@gnu.org>
245 * emacs-lisp/authors.el (authors-aliases)
246 (authors-obsolete-files-regexps): Additions.
248 2015-03-23 Jan Djärv <jan.h.d@swipnet.se>
250 * simple.el (deactivate-mark): Only modify PRIMARY if we own
253 2015-03-23 Martin Rudalics <rudalics@gmx.at>
255 * emacs-lisp/debug.el (debug): Don't try using "previous" window
256 when its not live or on an invisible frame (Bug#17170).
258 2015-03-23 Dmitry Gutov <dgutov@yandex.ru>
260 * json.el (json-decode-char0): Delete this alias as well.
261 (json-read-escaped-char): Don't call it (bug#20154).
263 2015-03-23 Daniel Colascione <dancol@dancol.org>
265 * emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p): New function.
266 (lisp--el-match-keyword): Use it.
268 2015-03-23 Daiki Ueno <ueno@gnu.org>
270 * subr.el (start-process): New function, ported from the C
273 2015-03-23 Daniel Colascione <dancol@dancol.org>
275 Automatically adjust process window sizes.
277 * window.el (window-adjust-process-window-size-function):
278 New customizable variable.
279 (window-adjust-process-window-size)
280 (window-adjust-process-window-size-smallest)
281 (window-adjust-process-window-size-largest)
282 (window--process-window-list, window--adjust-process-windows):
284 (window-configuration-change-hook):
285 Add `window--adjust-process-windows'.
286 * term.el (term-mode): Observe result of
287 `window-adjust-process-window-size-function'.
288 (term-check-size): Delete.
290 2015-03-22 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
292 * textmodes/sgml-mode.el (sgml-attribute-offset): New defcustom.
293 (sgml-calculate-indent): Use `sgml-attribute-offset' for attribute
294 indentation (bug#20161).
296 2015-03-22 Dmitry Gutov <dgutov@yandex.ru>
298 * json.el (json-encode-char0): Delete this alias.
299 (json-encode-string): Rewrite to improve performance (bug#20154).
300 (json-encode-char): Fold into `json-encode-string'.
302 2015-03-22 Artur Malabarba <bruce.connor.am@gmail.com>
304 * menu-bar.el (menu-bar-update-buffers): Count displayed buffers
305 for `buffers-menu-max-size', not total buffers.
307 2015-03-21 Titus von der Malsburg <malsburg@posteo.de>
309 * window.el (window-font-width, window-font-height)
310 (window-max-chars-per-line): New functions.
312 * simple.el (default-font-height): Doc fix.
313 (default-font-width): New function.
315 2015-03-21 Tassilo Horn <tsdh@gnu.org>
317 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1):
318 Also recognize (cl-)defmethod with (setf method) name.
320 2015-03-20 Tassilo Horn <tsdh@gnu.org>
322 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1):
323 Fix false positive in function name font-locking.
324 (lisp-cl-font-lock-keywords-1): Ditto.
326 2015-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
328 * emacs-lisp/cl-macs.el (cl-defsubst): Ignore false-positive
329 occurrences of args via &cl-defs (bug#20149).
331 2015-03-20 Alan Mackenzie <acm@muc.de>
335 * font-lock.el (font-lock-extend-jit-lock-region-after-change):
336 Return the calculated values, as per spec.
338 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
340 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `at_exit'
341 and `callcc' to the "methods with required arguments" section,
342 they need a block argument. Remove a `throw' duplicate.
344 2015-03-19 Vibhav Pant <vibhavp@gmail.com>
346 * progmodes/cperl-mode.el (cperl-electric-backspace):
347 Call delete-backward-space interactively instead of delete-char.
349 2015-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
351 * emacs-lisp/pcase.el (pcase-lambda): Rewrite.
353 * emacs-lisp/eieio.el (object-slots): Return slot names as before
356 2015-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
358 EIEIO: Change class's representation to unify instance and class slots
359 * emacs-lisp/eieio-core.el (eieio--class): Change field names and order
360 to match those of cl--class; use cl--slot for both instance slots and
362 (eieio--object-num-slots): Use cl-struct-slot-info.
363 (eieio--object-class): Rename from eieio--object-class-object.
364 (eieio--object-class-name): Remove.
365 (eieio-defclass-internal): Adjust to new slot representation.
366 Store doc in class rather than in `variable-documentation'.
367 (eieio--perform-slot-validation-for-default): Change API to take
369 (eieio--slot-override): New function.
370 (eieio--add-new-slot): Rewrite.
371 (eieio-copy-parents-into-subclass): Rewrite.
372 (eieio--validate-slot-value, eieio--validate-class-slot-value)
373 (eieio-oref-default, eieio-oset-default)
374 (eieio--class-slot-name-index, eieio-set-defaults): Adjust to new
376 (eieio--c3-merge-lists): Simplify.
377 (eieio--class/struct-parents): New function.
378 (eieio--class-precedence-bfs): Use it.
380 * emacs-lisp/eieio.el (with-slots): Use macroexp-let2.
381 (object-class-fast): Change recommend replacement.
382 (eieio-object-class): Rewrite.
383 (slot-exists-p): Adjust to new slot representation.
384 (initialize-instance): Adjust to new slot representation.
385 (object-write): Adjust to new slot representation.
387 * emacs-lisp/eieio-opt.el (eieio--help-print-slot): New function
388 extracted from eieio-help-class-slots.
389 (eieio-help-class-slots): Use it. Adjust to new slot representation.
391 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
392 Declare to silence warnings.
393 (data-debug-insert-object-button): Avoid `object-slots'.
394 (data-debug/eieio-insert-slots): Adjust to new slot representation.
396 * emacs-lisp/eieio-custom.el (eieio-object-value-create)
397 (eieio-object-value-get): Adjust to new slot representation.
399 * emacs-lisp/eieio-compat.el
400 (eieio--generic-static-symbol-specializers):
401 Extract from eieio--generic-static-symbol-generalizer.
402 (eieio--generic-static-symbol-generalizer): Use it.
404 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
405 Manually map initargs to slot names.
406 (eieio-persistent-validate/fix-slot-value): Adjust to new
409 * emacs-lisp/cl-preloaded.el (cl--class): Fix type of `parents'.
411 2015-03-19 Vibhav Pant <vibhavp@gmail.com>
413 * leim/quail/hangul.el (hangul-delete-backward-char)
414 (hangul-to-hanja-conversion):
415 * progmodes/cperl-mode.el (cperl-electric-keyword)
416 (cperl-electric-backspace): Use delete-char instead of
417 delete-backward-char, fixes compilation warnings.
419 2015-03-18 Michael Albinus <michael.albinus@gmx.de>
421 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
422 Mark apostrophs with ?/ instead of \037. (Bug#20117)
424 2015-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
426 Add classes as run-time descriptors of cl-structs.
427 * emacs-lisp/cl-preloaded.el (cl--struct-get-class): New function.
428 (cl--make-slot-desc): New constructor.
429 (cl--plist-remove, cl--struct-register-child): New functions.
430 (cl-struct-define): Rewrite.
431 (cl-structure-class, cl-structure-object, cl-slot-descriptor)
432 (cl--class): New structs.
433 (cl--struct-default-parent): Initialize it here.
434 * emacs-lisp/cl-macs.el (cl--find-class): New macro.
435 (cl-defsubst, cl--defsubst-expand, cl--sublis): Move before first use.
436 (cl--struct-default-parent): New var.
437 (cl-defstruct): Adjust to new representation of classes; add
438 default parent. In accessors, signal `wrong-type-argument' rather than
440 (cl-struct-sequence-type, cl-struct-slot-info)
441 (cl-struct-slot-offset): Rewrite.
442 * emacs-lisp/cl-generic.el (cl--generic-struct-specializers)
443 (cl-generic-generalizers): Rewrite.
445 * emacs-lisp/macroexp.el (macroexp--debug-eager): New var.
446 (internal-macroexpand-for-load): Use it.
448 * emacs-lisp/debug.el (debug--implement-debug-on-entry):
449 Bind inhibit-debug-on-entry here...
450 (debug): Instead of here.
452 2015-03-18 Dima Kogan <dima@secretsauce.net>
454 Have gud-display-line not display source buffer in gud window.
455 * progmodes/gud.el (gud-display-line): Make display-buffer
456 not reuse selected window. (Bug#17675, Bug#19901, Bug#20034)
458 2015-03-17 Tassilo Horn <tsdh@gnu.org>
460 * emacs-lisp/byte-run.el (macro-declarations-alist):
461 New declaration no-font-lock-keyword.
462 (defmacro): Flush font-lock in existing elisp buffers.
464 * emacs-lisp/lisp-mode.el (lisp--el-update-after-load)
465 (lisp--el-update-macro-regexp, lisp--el-macro-regexp):
466 Delete functions and defconst.
467 (lisp--el-match-keyword): Rename from lisp--el-match-macro.
468 (lisp--el-font-lock-flush-elisp-buffers): New function.
469 (lisp-mode-variables): Remove code for updating
470 lisp--el-macro-regexp, and add
471 lisp--el-font-lock-flush-elisp-buffers to after-load-functions.
473 2015-03-17 Simen Heggestøyl <simenheg@gmail.com>
475 * textmodes/css-mode.el (css--font-lock-keywords):
476 Discriminate between pseudo-classes and pseudo-elements.
477 (css-pseudo-ids): Remove.
478 (css-pseudo-class-ids, css-pseudo-element-ids): New variables.
479 (css--complete-property): New function for completing CSS properties.
480 (css--complete-pseudo-element-or-class): New function
481 completing CSS pseudo-elements and pseudo-classes.
482 (css--complete-at-rule): New function for completing CSS at-rules.
483 (css-completion-at-point): New function.
484 (css-mode): Add support for completion.
485 (css-extract-keyword-list, css-extract-parse-val-grammar)
486 (css-extract-props-and-vals): Remove function in favor of manual
488 (css-at-ids): Update list of CSS at-rule ids.
489 (css-property-ids): Update list of CSS properties.
491 2015-03-17 Bozhidar Batsov <bozhidar@batsov.com>
493 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Font-lock
496 2015-03-17 Michael Albinus <michael.albinus@gmx.de>
498 * net/tramp-sh.el (tramp-maybe-send-script): Avoid leading tabs in
499 shell scripts. (Bug#20118)
501 2015-03-17 Eli Zaretskii <eliz@gnu.org>
503 * mouse.el (mouse-appearance-menu): If w32-use-w32-font-dialog is
504 nil, construct a menu of fixed fonts. This resurrects a feature
507 * w32-vars.el (w32-use-w32-font-dialog): Add a ':set' function to
508 reset mouse-appearance-menu-map, so the font dialog is recomputed
509 the next time the menu is requested.
510 (w32-fixed-font-alist): Fix to use correct names of Courier fonts.
512 2015-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
514 * emacs-lisp/cl-macs.el (cl--transform-lambda): Refine last change
517 2015-03-17 Michael Albinus <michael.albinus@gmx.de>
519 * net/tramp-sh.el (tramp-ssh-controlmaster-options): Change test
520 for ControlPath in order to avoid DNS timeouts. (Bug#20015)
522 2015-03-16 Alan Mackenzie <acm@muc.de>
524 Edebug: Allow "S" to work during trace mode. Fixes debbugs #20074.
525 Also display the overlay arrow in go and go-nonstop modes.
527 * emacs-lisp/edebug.el (edebug--display-1): Move the
528 `input-pending' test to after trace mode's `sit-for'.
529 (edebug--recursive-edit): Insert "(sit-for 0)" after
530 "(edebug-overlay-arrow)".
532 2015-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
534 * emacs-lisp/cl-macs.el (cl--transform-lambda): Rework to avoid
535 cl--do-arglist in more cases; add comments to explain what's going on.
536 (cl--do-&aux): New function extracted from cl--do-arglist.
537 (cl--do-arglist): Use it.
539 * emacs-lisp/cl-generic.el: Add Version: header, for ELPA purposes.
541 * obsolete/iswitchb.el (iswitchb-read-buffer): Add `predicate' arg.
542 * isearchb.el (isearchb-iswitchb): Adjust accordingly.
543 * ido.el (ido-read-buffer): Add `predicate' argument.
544 * misearch.el (unload-function-defs-list): Declare before use.
546 2015-03-16 Vibhav Pant <vibhavp@gmail.com>
548 * net/browse-url.el (browse-url-browser-function): Add "Conkeror".
549 (browse-url-conkeror-program, browse-url-conkeror-arguments)
550 (browse-url-conkeror-new-window-is-buffer): New defcustoms.
551 (browse-url-default-browser): Check for `browse-url-conkeror'
552 and call `browse-url-conkeror-program'.
553 (browse-url-conkeror): New command.
556 2015-03-16 Vibhav Pant <vibhavp@gmail.com>
558 * eshell/esh-mode.el (eshell/clear): New function.
560 2015-03-16 Alan Mackenzie <acm@muc.de>
562 Make Edebug work with Follow Mode.
564 * emacs-lisp/edebug.el (edebug--display-1): Remove call to
565 edebug-adjust-window.
566 (edebug--recursive-edit): Don't bind pre/post-command-hooks to nil
567 over the recursive edit.
568 (edebug-adjust-window): Remove.
570 2015-03-15 Michael Albinus <michael.albinus@gmx.de>
575 * net/tramp-smb.el: Set tramp-autoload cookie for all defcustoms.
577 * net/tramp.el (tramp-ssh-controlmaster-options)
578 (tramp-use-ssh-controlmaster-options): Move them to tramp-sh.el.
579 (tramp-default-method): Do not check for
580 `tramp-ssh-controlmaster-options'.
582 * net/tramp-sh.el (tramp-use-ssh-controlmaster-options):
583 New defcustom, moved from tramp.el.
584 (tramp-ssh-controlmaster-options): New defvar, moved from tramp.el
585 but with a nil initial value.
586 (tramp-ssh-controlmaster-options): New defun.
587 (tramp-do-copy-or-rename-file-out-of-band)
588 (tramp-maybe-open-connection): Use it. (Bug#20015)
590 2015-03-15 Tassilo Horn <tsdh@gnu.org>
592 * emacs-lisp/lisp-mode.el (lisp--el-macro-regexp): New defconst.
593 (lisp--el-update-macro-regexp, lisp--el-update-after-load)
594 (lisp--el-match-macro): New functions.
595 (lisp-mode-variables): Update lisp--el-macro-regexp and add
596 lisp--el-update-after-load to after-load-functions.
598 2015-03-15 Daniel Colascione <dancol@dancol.org>
600 * emacs-lisp/cl-indent.el
601 (lisp-indent-backquote-substitution-mode): New user option.
602 (common-lisp-indent-function-1, common-lisp-loop-part-indentation)
603 (common-lisp-indent-function): Support normally indenting
604 backquote substitutions.
605 (extended-loop-p): Rename to `lisp-extended-loop-p'.
607 2015-03-14 Michael R. Mauger <michael@mauger.com>
609 * progmodes/sql.el: Version 3.5
610 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): Match password prompts.
611 (sql-interactive-remove-continuation-prompt): Fix regression. (Bug#6686)
613 2015-03-14 Daniel Colascione <dancol@dancol.org>
615 * widget.el (define-widget): Check that documentation is a string
616 or nil; prevent wailing and gnashing of teeth when users forget to
617 pass a docstring and wonder why their properties don't work.
619 * startup.el (command-line): Process "--no-x-resources".
621 2015-03-13 Kevin Ryde <user42_kevin@yahoo.com.au>
623 info-look fixes for Texinfo 5
624 * info-look.el (c-mode, bison-mode, makefile-mode)
625 (makefile-automake-mode, texinfo-mode, autoconf-mode, awk-mode)
626 (latex-mode, emacs-lisp-mode, sh-mode, cfengine-mode):
627 Match `foo' and 'foo' and ‘foo’ for @item and similar.
628 (latex-mode): Match multi-arg \frac{num}{den} or \sqrt[root]{n} in
631 2015-03-12 Juri Linkov <juri@linkov.net>
633 * simple.el (next-line-or-history-element)
634 (previous-line-or-history-element): Remember the goal column of
635 possibly multi-line input, and restore it afterwards. (Bug#19824)
637 2015-03-12 Rasmus Pank Roulund <emacs@pank.eu>
639 * ido.el (ido-add-virtual-buffers-to-list): Include bookmark-alist
642 2015-03-12 Eli Zaretskii <eliz@gnu.org>
644 * international/fontset.el (script-representative-chars): Add a
645 representative character for 'vai'.
647 2015-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
649 * international/quail.el (quail-input-method):
650 Use with-silent-modifications.
652 * simple.el (goto-history-element): Don't burp on t history.
654 2015-03-10 Paul Eggert <eggert@cs.ucla.edu>
656 Prefer "initialize" to "initialise"
657 * progmodes/js.el (js-indent-first-init):
658 Rename from js-indent-first-initialiser, to avoid worrying about
659 American vs British spelling. All uses changed.
661 2015-03-10 Glenn Morris <rgm@gnu.org>
663 * progmodes/js.el (js-indent-first-initialiser):
664 Fix doc, type, version.
666 2015-03-10 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
668 * progmodes/js.el (js-indent-first-initialiser): New option.
669 (js--maybe-goto-declaration-keyword-end): New function.
670 (js--proper-indentation): Use js--maybe-goto-declaration-keyword-end.
672 2015-03-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
674 * net/ldap.el (ldap-attribute-syntaxes-alist): Add LDAP attributes
675 from RFC2798 Section 9.1.1. (Bug#8983)
677 2015-03-09 Nicolas Petton <nicolas@petton.fr>
679 * emacs-lisp/seq.el (seq-into): New function.
680 Bump seq.el version to 1.3.
682 2015-03-09 Dmitry Gutov <dgutov@yandex.ru>
684 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't consider
685 `=' a part of symbol when followed by `>'. (Bug#18644)
686 (ruby-syntax-before-regexp-re): Detect regexps after `!'.
689 2015-03-09 Eli Zaretskii <eliz@gnu.org>
691 * dired.el (dired-delete-file): Doc fix. (Bug#20021)
693 2015-03-06 Sergio Durigan Junior <sergiodj@sergiodj.net>
694 Thomas Fitzsimmons <fitzsim@fitzsim.org>
696 * net/eudcb-bbdb.el (eudc-bbdb-field): New function.
697 (eudc-bbdb-filter-non-matching-record): Call eudc-bbdb-field.
698 (eudc-bbdb-format-record-as-result): Likewise.
700 2015-03-08 Dmitry Gutov <dgutov@yandex.ru>
702 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
703 Use `font-lock-constant-face' for nil, true and false.
704 Highlight `self' as a keyword. (Bug#17733)
706 2015-03-08 Nobuyoshi Nakada <nobu@ruby-lang.org>
708 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
709 Expect beginning of regexp also after open brace or vertical bar.
712 2015-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
714 * battery.el (battery-echo-area-format): Simplify default.
715 (battery-linux-sysfs): Standardize on energy&power. Accept ADP1
718 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't try to
719 unfold `closure's since byte-compile-unfold-lambda doesn't know how to
722 2015-03-06 Oscar Fuentes <ofv@wanadoo.es>
724 * net/browse-url.el (browse-url-firefox): Remove outdated
725 MS-Windows limitations.
727 2015-03-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
729 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): Mark as
731 (eudc-ldap-cleanup-record-filtering-addresses): Add docstring.
732 Don't clean up postal addresses if ldap-ignore-attribute-codings
733 is set. Combine mail addresses into one field. (Bug#17720)
734 (eudc-ldap-simple-query-internal):
735 Call eudc-ldap-cleanup-record-filtering-addresses instead of
736 eudc-ldap-cleanup-record-simple.
737 (eudc-ldap-get-field-list): Likewise.
739 2015-03-05 Ivan Shmakov <ivan@siamics.net>
741 * net/eww.el (eww-html-p): New function (bug#20009).
742 (eww-render): Use it.
744 2015-03-05 Artur Malabarba <bruce.connor.am@gmail.com>
746 * desktop.el (desktop-buffer-info): Write docstring.
747 (desktop-buffer-info): Use `pushnew' instead of `add-to-list' and
750 * emacs-lisp/package.el (package-refresh-contents): Update doc.
752 2015-03-05 Dmitry Gutov <dgutov@yandex.ru>
754 * progmodes/js.el (js-mode-syntax-table): Add an entry for `.
756 2015-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
758 Replace *-function vars with generic functions in cl-generic.
759 * emacs-lisp/cl-generic.el (cl--generic-generalizer): New struct.
760 (cl-generic-tagcode-function, cl-generic-tag-types-function): Remove.
761 (cl--generic-t-generalizer): New const.
762 (cl--generic-make-method): Rename from `cl--generic-method-make'.
763 (cl--generic-make): Change calling convention.
764 (cl--generic): Add `options' field.
765 (cl-generic-function-options): New function.
766 (cl-defgeneric): Rewrite handling of options. Add support for :method
767 options and allow the use of a default body.
768 (cl-generic-define): Save options in the corresponding new field.
769 (cl-defmethod): Fix ordering of qualifiers.
770 (cl-generic-define-method): Use cl-generic-generalizers.
771 (cl--generic-get-dispatcher): Change calling convention, and change
772 calling convention of the returned function as well so as to take the
773 list of methods separately from the generic function object, so that it
774 can receive the original generic function object.
775 (cl--generic-make-next-function): New function, extracted from
776 cl--generic-make-function.
777 (cl--generic-make-function): Use it.
778 (cl-generic-method-combination-function): Remove.
779 (cl--generic-cyclic-definition): New error.
780 (cl-generic-call-method): Take a generic function object rather than
782 (cl-method-qualifiers): New alias.
783 (cl--generic-build-combined-method): Use cl-generic-combine-methods,
784 don't segregate by qualifiers here any more.
785 (cl--generic-standard-method-combination): Segregate by qualifiers
786 here instead. Add support for the `:extra' qualifier.
787 (cl--generic-cache-miss): Move earlier, adjust to new calling convention.
788 (cl-generic-generalizers, cl-generic-combine-methods):
789 New generic functions.
790 (cl-no-next-method, cl-no-applicable-method, cl-no-primary-method):
791 Use the new "default method in defgeneric" functionality, change
792 calling convention to receive a generic function object.
793 (cl--generic-head-used): New var.
794 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
795 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer):
797 * emacs-lisp/eieio-core.el (eieio--generic-generalizer)
798 (eieio--generic-subclass-generalizer): New consts.
799 (cl-generic-generalizers): New methods.
800 * emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer)
801 (eieio--generic-static-object-generalizer): New consts.
802 (cl-generic-generalizers) <(head eieio--static)>: New method.
803 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
804 Unfold closures like lambdas.
806 2015-03-04 Filipp Gunbin <fgunbin@fastmail.fm>
808 * autorevert.el (auto-revert-notify-add-watch):
809 Fix handler installation. (Bug#20000)
811 2015-03-04 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
813 * net/eww.el (eww-search-prefix, eww-open-file, eww-search-words)
814 (eww-same-page-p,eww-set-character-encoding): Fix docstring.
815 (eww): Do not end error messages with a period.
817 2015-03-04 Zhongwei Yao <ashi08104@gmail.com>
819 * net/tramp-adb.el (tramp-adb-connect-if-not-connected):
821 (tramp-adb-ls-toolbox-regexp): Fix regexp in order to support file
822 names starting with a space.
823 (tramp-methods): Add `tramp-default-port' for "adb".
824 (tramp-adb-parse-device-names): Add traces. Return device names
825 with port, if present.
826 (tramp-adb-handle-directory-files-and-attributes): Quote all
828 (tramp-adb-get-device): New defun.
829 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
831 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
832 variables. Remove checks for listed devices.
834 2015-03-04 Michael Albinus <michael.albinus@gmx.de>
836 * net/tramp.el (tramp): Add :link property.
837 (tramp-login-prompt-regexp): Allow also "user", as required by
839 (tramp-autoload-file-name-handler): Use "/".
840 (tramp-handle-unhandled-file-name-directory): Return nil when
841 required by the spec.
843 * net/tramp-cache.el (tramp-dump-connection-properties):
844 Use `with-temp-file'.
846 * net/tramp-sh.el (tramp-perl-file-attributes)
847 (tramp-perl-directory-files-and-attributes): Escape apostrophes in
849 (tramp-do-file-attributes-with-stat): Quote file name.
850 (tramp-sh-handle-directory-files-and-attributes): Fall back to
851 `tramp-handle-directory-files-and-attributes' in case of problems.
852 (tramp-do-directory-files-and-attributes-with-stat)
853 (tramp-sh-handle-file-name-all-completions)
854 (tramp-sh-handle-delete-directory)
855 (tramp-sh-handle-expand-file-name, tramp-sh-handle-process-file):
856 Normalize use of "cd".
857 (tramp-do-directory-files-and-attributes-with-stat): Use the
858 `quoting-style' arg of `ls' if possible. Make it also working for
859 file names with apostrophes.
860 (tramp-sh-handle-file-name-all-completions): Use arguments of `ls'
862 (tramp-do-copy-or-rename-file-via-buffer)
863 (tramp-sh-handle-file-local-copy): Use `with-temp-file'.
864 (tramp-get-remote-locale): Accept also \r in output.
865 (tramp-get-ls-command-with-quoting-style): New defun.
866 (tramp-get-inline-coding): Set `default-directory' to a local
867 directory. Sporadically, `call-process-region' does not handle a
868 remote default directory properly.
870 * net/trampver.el: Update release number.
872 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
874 * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
875 .dat files for aspell dicts are also searched for in location
876 described by `ispell-aspell-dict-dir', matching aspell's dict-dir
879 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
881 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
882 (ispell-hunspell-fill-dictionary-entry)
883 (ispell-find-hunspell-dictionaries)
884 (ispell-set-spellchecker-params): New generic name for
885 `ispell-hunspell-dictionary-equivs-alist'.
886 (ispell-aspell-add-aliases): Also use
887 `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
890 2015-03-03 Glenn Morris <rgm@gnu.org>
892 * net/browse-url.el (browse-url-firefox-startup-arguments):
894 (browse-url-firefox): Doc fix. Remove -remote, which no longer
895 exists in Firefox 36. (Bug#19921)
896 (browse-url-firefox-sentinel): Remove function.
898 2015-03-03 Eli Zaretskii <eliz@gnu.org>
900 * frame.el (blink-cursor-timer-function): Don't increment
901 blink-cursor-blinks-done counter when a menu is active on a w32
904 2015-03-03 Juri Linkov <juri@linkov.net>
906 * comint.el (comint-line-beginning-position): Revert searching for
907 the prompt when comint-use-prompt-regexp is non-nil because it
908 doesn't distinguish input from output. Check the field property
909 `output' for the case when comint-use-prompt-regexp is nil.
912 2015-03-03 Jérémy Compostella <jeremy.compostella@gmail.com>
914 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
915 with PAGER=cat. (Bug#19870)
917 2015-03-03 Glenn Morris <rgm@gnu.org>
919 * textmodes/flyspell.el (flyspell-duplicate-distance):
922 2015-03-03 Eli Zaretskii <eliz@gnu.org>
924 * textmodes/text-mode.el (text-mode-syntax-table): Make some
925 punctuation character behave as word-constituent, for more
926 compatibility with Unicode.
928 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
930 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
932 Improve string search in `flyspell-word-search-*`. (Bug#16800)
933 * textmodes/flyspell.el (flyspell-duplicate-distance):
934 Limit default search distance for duplicated words to 40000.
935 (flyspell-word-search-backward, flyspell-word-search-forward):
936 Search as full word with defined casechars, not as substring.
938 2015-03-03 Juri Linkov <juri@linkov.net>
940 Better support for the case of typing RET on the prompt in comint.
941 * comint.el (comint-get-old-input-default): Go to the field end
942 when comint-use-prompt-regexp is nil.
943 (comint-line-beginning-position): Check if point is already
944 on the prompt before searching for the prompt when
945 comint-use-prompt-regexp is non-nil. (Bug#19710)
947 2015-03-03 Eli Zaretskii <eliz@gnu.org>
949 * frame.el (frame-notice-user-settings): Refresh the value of
950 frame parameters after calling tty-handle-reverse-video.
951 Call face-set-after-frame-default with the actual parameters, to avoid
952 resetting colors back to unspecified.
953 (set-background-color, set-foreground-color): Pass the foreground
954 and background colors to face-set-after-frame-default. (Bug#19802)
956 2015-03-03 Wolfgang Jenkner <wjenkner@inode.at>
958 * net/network-stream.el (network-stream-open-tls): Respect the
959 :end-of-capability setting.
961 2015-03-03 Juri Linkov <juri@linkov.net>
963 Revert the previous change of comint-line-beginning-position callers,
964 and modify comint-line-beginning-position instead.
966 * comint.el (comint-history-isearch-search)
967 (comint-history-isearch-message, comint-history-isearch-wrap):
968 Use comint-line-beginning-position instead of field-beginning.
969 (comint-send-input): Use either end-of-line or field-end
970 depending on comint-use-prompt-regexp.
971 (comint-line-beginning-position): Search backward
972 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
973 Use field-beginning instead of line-beginning-position
974 if comint-use-prompt-regexp is nil. (Bug#19710)
976 2015-03-03 Robert Pluim <rpluim@gmail.com> (tiny change)
978 * calendar/todo-mode.el (todo-item-done): When done items are
979 hidden, restore point to its location prior to invoking this
982 2015-03-03 Eli Zaretskii <eliz@gnu.org>
984 * textmodes/artist.el (artist-ellipse-compute-fill-info):
985 Use mapcar, not mapc, to create the other half of fill-info.
988 2015-03-03 Nicolas Petton <nicolas@petton.fr>
990 * emacs-lisp/authors.el (authors-ignored-files)
991 (authors-renamed-files-alist): Additions.
993 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
995 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
996 tempfile for ControlPath. (Bug#19702)
998 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
1000 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
1001 ControlPath if possible. (Bug#19702)
1003 2015-03-03 Glenn Morris <rgm@gnu.org>
1005 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1006 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1008 2015-03-03 Alan Mackenzie <acm@muc.de>
1010 CC Mode: Stop Font Lock forcing fontification from BOL. (Bug#19669)
1011 * progmodes/cc-mode.el (c-font-lock-init):
1012 Set font-lock-extend-region-functions to nil.
1014 2015-03-03 Daniel Colascione <dancol@dancol.org>
1016 * emacs-lisp/generator.el: Make globals conform to elisp
1017 style throughout. Use more efficient font-lock patterns.
1018 (cps-inhibit-atomic-optimization): Rename from
1019 `cps-disable-atomic-optimization'.
1020 (cps--gensym): New macro; replaces `cl-gensym' throughout.
1021 (cps-generate-evaluator): Move the `iter-yield' local macro
1023 (iter-defun, iter-lambda): from here.
1025 (iter-defun): Use `macroexp-parse-body'.
1027 2015-03-03 Daniel Colascione <dancol@dancol.org>
1029 2015-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
1031 * progmodes/gud.el: Use lexical-binding (bug#19966).
1033 * emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases.
1035 2015-03-03 Daniel Colascione <dancol@dancol.org>
1037 * emacs-lisp/generator.el: Make globals conform to elisp
1038 style throughout. Use more efficient font-lock patterns.
1039 (cps-inhibit-atomic-optimization): Rename from
1040 `cps-disable-atomic-optimization'.
1041 (cps--gensym): New macro; replaces `cl-gensym' throughout.
1042 (cps-generate-evaluator): Move the `iter-yield' local macro
1044 (iter-defun, iter-lambda): ...from here.
1046 2015-03-03 Artur Malabarba <bruce.connor.am@gmail.com>
1048 * emacs-lisp/package.el (package-autoremove): Fix if logic.
1050 2015-03-03 Martin Rudalics <rudalics@gmx.at>
1052 * window.el (window--dump-frame): For pixel height return total
1053 number of frame's lines.
1055 2015-03-03 Daniel Colascione <dancol@dancol.org>
1057 * emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun.
1059 * emacs-lisp/generator.el (iter-defun): Correctly propagate
1060 docstrings and declarations to underlying function.
1062 2015-03-02 Daniel Colascione <dancol@dancol.org>
1064 * emacs-lisp/generator.el: New file.
1066 * vc/vc.el (vc-responsible-backend): Add autoload cookie for
1067 `vc-responsible-backend'.
1069 2015-03-01 Michael Albinus <michael.albinus@gmx.de>
1071 * vc/vc-hooks.el (vc-state, vc-working-revision):
1072 Use `vc-responsible-backend' in order to support unregistered files.
1074 * vc/vc-rcs.el (vc-rcs-unregister): Support unregistered files.
1076 * vc/vc-rcs.el (vc-rcs-fetch-master-state):
1077 * vc/vc-sccs.el (vc-sccs-working-revision): Handle undefined
1080 * vc/vc-src.el (vc-src-working-revision): Do not return an empty string.
1082 2015-03-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1084 * net/shr.el (shr-insert): Remove soft hyphens.
1085 (shr-insert): Also remove soft hypens from non-folded text.
1087 2015-02-28 Eli Zaretskii <eliz@gnu.org>
1089 * mail/rmailmm.el (rmail-mime-insert-html): Decode HTML payload
1090 when the charset is only given by the HTML <head>, and allow to
1091 specify the encoding with "C-x RET c".
1093 2015-02-27 Mark Laws <mdl@60hz.org>
1095 Support daemon mode on MS-Windows (bug#19688)
1096 * server.el (server-process-filter): Force GUI frames on
1097 MS-Windows in daemon mode, even if a TTY frame was requested.
1099 * frameset.el (frameset-keep-original-display-p): Don't assume
1100 windows-nt cannot be in daemon mode.
1102 * frame.el (window-system-for-display): Don't assume windows-nt
1103 cannot be in daemon mode.
1105 2015-02-26 Ivan Shmakov <ivan@siamics.net>
1107 * faces.el (face-list-p): Split from face-at-point.
1108 (face-at-point): Use it.
1109 * facemenu.el (facemenu-add-face): Likewise. (Bug#19912)
1111 2015-02-26 Oscar Fuentes <ofv@wanadoo.es>
1113 * vc/vc.el (vc-annotate-switches): New defcustom.
1114 * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
1115 (vc-bzr-annotate-command): Use vc-switches.
1116 * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
1117 (vc-cvs-annotate-command): Use vc-switches.
1118 * vc/vc-git.el (vc-git-annotate-switches): New defcustom.
1119 (vc-git-annotate-command): Use vc-switches.
1120 * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
1121 (vc-hg-annotate-command): Use vc-switches.
1122 * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
1123 (vc-mtn-annotate-command): Use vc-switches.
1124 * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
1125 (vc-svn-annotate-command): Use vc-switches.
1127 2015-02-26 Alan Mackenzie <acm@muc.de>
1129 Handle "#" operator properly inside macro. Fix coding bug.
1131 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1132 On finding a "#" which looks like the start of a macro, check it
1133 isn't already inside a macro.
1135 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
1136 "safe" position into the list of them when this is beyond our
1139 2015-02-26 Martin Rudalics <rudalics@gmx.at>
1141 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
1142 the menu frame is dead. (Bug#19728)
1144 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1146 python.el: Handle tabs in python-indent-dedent-line.
1147 * progmodes/python.el (python-indent-dedent-line): Fixes for
1148 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
1150 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1152 * progmodes/python.el (python-indent-context): Respect user
1153 indentation after comment.
1155 2015-02-26 Tassilo Horn <tsdh@gnu.org>
1157 * textmodes/reftex-vars.el (featurep): Conditionalize value of
1158 reftex-label-regexps in order to stay compatible with XEmacs 21.5
1159 which has no explicitly numbered groups in regexps (bug#19714).
1161 2015-02-26 Daiki Ueno <ueno@gnu.org>
1163 * net/dbus.el (dbus-register-signal): Convert "N" of ":argN" to
1164 integer before comparison.
1166 2015-02-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1168 * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
1170 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
1172 * emacs-lisp/check-declare.el (check-declare-warn):
1173 Use compilation-style warnings.
1174 (check-declare-files): Make sure that
1175 `check-declare-warning-buffer' is in `compilation-mode'.
1177 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
1179 * emacs-lisp/check-declare.el (check-declare-ext-errors):
1181 (check-declare): New defgroup.
1182 (check-declare-verify): When `check-declare-ext-errors' is
1183 non-nil, warn about an unfound function, instead of saying
1184 "skipping external file".
1186 2015-02-25 Tassilo Horn <tsdh@gnu.org>
1188 * textmodes/reftex-vars.el (reftex-include-file-commands):
1189 Call reftex-set-dirty on changes.
1191 2015-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1193 * emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611).
1194 * emacs-lisp/debug.el (debugger-env-macro): Remove redundant
1197 2015-02-24 Glenn Morris <rgm@gnu.org>
1199 * mail/rmailsum.el (rmail-summary-previous-all)
1200 (rmail-summary-previous-msg): Simplify.
1202 2015-02-25 Artur Malabarba <bruce.connor.am@gmail.com>
1204 * simple.el (region-active-p): Fix doc to say non-nil.
1206 2015-02-24 Samer Masterson <nosefrog@gmail.com>
1208 * eshell/em-hist.el (eshell-hist-parse-word-designator):
1209 Return args joined with " ".
1210 * eshell/em-pred.el (eshell-parse-modifiers): Correct docstring.
1211 (eshell-hist-parse-modifier): Pass mod a list instead of a string
1214 2015-02-24 Karl Fogel <kfogel@red-bean.com> (tiny change)
1216 * comint.el (comint-mode-map): Fix obvious typo.
1218 2015-02-24 Johan Claesson <johanclaesson@bredband.net> (tiny change)
1220 * filecache.el (file-cache-filter-regexps):
1221 Add lock files. (Bug#19516)
1223 2015-02-24 Glenn Morris <rgm@gnu.org>
1225 * mail/rmailsum.el (rmail-summary-next-all)
1226 (rmail-summary-previous-all, rmail-summary-next-msg):
1227 Fix handling of optional argument. (Bug#19916)
1229 * progmodes/f90.el (f90-beginning-of-subprogram)
1230 (f90-end-of-subprogram, f90-match-end):
1231 Handle continued strings where the continuation does not start
1232 with "&" and happens to match our regexp. (Bug#19809)
1234 2015-02-24 Bozhidar Batsov <bozhidar@batsov.com>
1236 * comint.el (comint-clear-buffer): New command.
1237 (comint-mode-map): Bind `comint-clear-buffer' to 'C-c M-o'.
1239 2015-02-23 Pete Williamson <petewil0@googlemail.com> (tiny change)
1241 Use ${EXEEXT} more uniformly in makefiles
1242 * Makefile.in (EMACS): Append ${EXEEXT}.
1244 2015-02-23 Sam Steingold <sds@gnu.org>
1246 * files.el (recover-session): Handle `auto-save-list-file-prefix'
1247 being a directory (empty non-directory part).
1249 2015-02-23 Magnus Henoch <magnus.henoch@gmail.com>
1251 * net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
1252 instead of sasl-scram-sha-1, as the former is the name that can be
1255 * net/sasl-scram-rfc.el (sasl-scram-sha-1-steps)
1256 (sasl-scram-sha-1-client-final-message)
1257 (sasl-scram-sha-1-authenticate-server): Move to end of file.
1259 2015-02-23 Paul Eggert <eggert@cs.ucla.edu>
1261 * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding.
1264 2015-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1266 * emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare
1267 and :documentation. Change return value format accordingly.
1268 * emacs-lisp/cl-generic.el (cl--generic-lambda):
1269 * emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly.
1270 * emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body.
1272 2015-02-23 Dmitry Gutov <dgutov@yandex.ru>
1274 Introduce `xref-etags-mode'.
1275 * progmodes/xref.el (xref-etags-mode--saved): New variable.
1276 (xref-etags-mode): New minor mode. (Bug#19466)
1278 2015-02-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1280 * dom.el (dom-previous-sibling): New function.
1282 2015-02-21 Paul Eggert <eggert@cs.ucla.edu>
1284 * bindings.el (ctl-x-map): There is no 'C-;'.
1285 For now, make do with 'M-;'; this allows 'make bootstrap' to work.
1286 Perhaps some other binding should be chosen. (Bug#19826)
1288 2015-02-21 Artur Malabarba <bruce.connor.am@gmail.com>
1290 * bindings.el (ctl-x-map): Fix `comment-line' binding. (Bug#19826)
1292 2015-02-21 Michael Albinus <michael.albinus@gmx.de>
1294 * autorevert.el (auto-revert-notify-add-watch)
1295 (auto-revert-notify-handler, auto-revert-buffers): Handle also
1296 buffers without an associated file, like dired buffers. (Bug#16112)
1298 2015-02-21 Dima Kogan <dima@secretsauce.net>
1300 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1301 (global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... )
1302 wrappers. Call (auto-revert-buffers) consequently in order to
1305 2015-02-21 Wilson Snyder <wsnyder@wsnyder.org>
1307 Sync with upstream verilog-mode revision 0d6420b.
1308 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1309 (vector-skip-list): Remove.
1310 (verilog-auto-inst-port, verilog-auto-inst-port-list)
1311 (verilog-auto-inst, verilog-auto-inst-param):
1312 Use arguments rather than vector-skip.
1313 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
1314 modport if signal attachment is itself a modport.
1315 Reported by Matthew Lovell.
1317 2015-02-21 Reto Zimmermann <reto@gnu.org>
1319 Sync with upstream vhdl mode v3.37.1. Add VHDL'08 support.
1320 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
1321 (vhdl-doc-release-notes): Update.
1322 (vhdl-standard): Add VHDL'08 option.
1323 (vhdl-sensitivity-list-all): New option.
1324 (vhdl-directive-keywords): Add psl.
1325 (vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
1326 (vhdl-template-construct-alist-init, vhdl-create-mode-menu):
1327 (vhdl-imenu-generic-expression): Add context, directive.
1328 (vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
1329 (vhdl-template-map-init): Add vhdl-template-context.
1330 (vhdl-mode-syntax-table): Support VHDL'08 block comments.
1331 (vhdl-create-mode-menu): Add some entries.
1332 (vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
1333 (vhdl-08-functions, vhdl-08-packages, vhdl-08-directives):
1335 (vhdl-directives): New variable.
1336 (vhdl-words-init, vhdl-template-process)
1337 (vhdl-template-replace-header-keywords): Support VHDL'08.
1338 (vhdl-abbrev-list-init): Add vhdl-directives.
1339 (vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
1340 (vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
1341 (vhdl-lineup-comment): Handle block comments and directives.
1342 (vhdl-beginning-of-directive, vhdl-template-context)
1343 (vhdl-template-context-hook): New functions.
1344 (vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
1345 (vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
1346 (vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
1347 (vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
1348 (vhdl-scan-context-clause): Add context.
1350 2015-02-20 Glenn Morris <rgm@gnu.org>
1352 * calendar/solar.el (solar-sunrise-sunset-string):
1353 Shorten message a little.
1354 (sunrise-sunset): Use message rather than a window. (Bug#19859)
1356 * progmodes/f90.el (f90-keywords-re, f90-procedures-re)
1357 (f90-font-lock-keywords-2): Some F2008 additions.
1359 2015-02-19 Dima Kogan <dima@secretsauce.net>
1361 * autorevert.el (auto-revert-buffers-counter)
1362 (auto-revert-buffers-counter-lockedout): New variables.
1363 (auto-revert-buffers): Increase `auto-revert-buffers-counter'.
1364 (auto-revert-notify-handler): Apply `auto-revert-handler' if not
1365 suppressed by lockout. (Bug#18958)
1367 2015-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1369 * emacs-lisp/eieio-opt.el (eieio-help-class): `eieio-class-parents'
1370 returns classes, not class names (bug#19891).
1372 * emacs-lisp/cl-macs.el (cl-struct-slot-value): Handle a nil type.
1374 * emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem.
1376 2015-02-18 Kelly Dean <kelly@prtime.org>
1378 * register.el (jump-to-register):
1379 * emacs-lisp/lisp.el (check-parens):
1380 Push mark before goto-char so user doesn't lose his previous place.
1382 2015-02-18 Kelly Dean <kelly@prtime.org>
1384 * rect.el (rectangle-mark-mode):
1385 Suppress superfluous "Mark set" message from push-mark.
1387 2015-02-18 Kelly Dean <kelly@prtime.org>
1389 * help-mode.el (help-go-back, help-go-forward, help-follow):
1390 * simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark):
1391 * winner.el (winner-redo):
1392 * windmove.el (windmove-do-window-select):
1393 * register.el (jump-to-register, increment-register, insert-register)
1394 (append-to-register, prepend-to-register):
1395 * files.el (find-alternate-file, abort-if-file-too-large, write-file)
1396 (set-visited-file-name):
1397 * emacs-lisp/lisp.el (kill-backward-up-list):
1398 Use user-error instead of error. (Bug#14480)
1400 2015-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1402 * emacs-lisp/checkdoc.el (checkdoc-show-diagnostics): Don't make bogus
1403 assumptions about window ordering.
1405 2015-02-16 Kelly Dean <kelly@prtime.org>
1407 * files.el (insert-file-contents-literally): Fix docstring typo.
1409 2015-02-16 Kelly Dean <kelly@prtime.org>
1411 * emacs-lisp/easy-mmode.el (define-minor-mode): Process macro
1412 arguments correctly. (Bug#19685)
1413 (define-minor-mode): Clarify docstring.
1414 Clarify mode switch messages for minor modes. (Bug#19690)
1416 2015-02-16 Kelly Dean <kelly@prtime.org>
1418 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1419 Create valid tar files. (Bug#19536)
1421 2015-02-16 Kelly Dean <kelly@prtime.org>
1423 * desktop.el (desktop-read): Conditionally re-enable desktop autosave.
1426 2015-02-16 Kelly Dean <kelly@prtime.org>
1428 * help-mode.el (help-do-xref): Prevent duplicated display of Info
1429 buffer, and prevent interference with existing buffer. (Bug#13190)
1431 2015-02-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
1433 python.el: Do not deactivate mark on shell fontification. (Bug#19871)
1435 * progmodes/python.el (python-shell-font-lock-post-command-hook):
1436 Do not deactivate mark on fontification.
1438 2015-02-16 Ivan Shmakov <ivan@siamics.net>
1440 * net/eww.el: Fix desktop support. (Bug#19226)
1441 (eww-mode): Add autoload cookie.
1442 (eww-restore-desktop): Use inhibit-read-only.
1444 * net/eww.el (eww-suggest-uris): Add autoload cookie, so that
1445 add-hook works correctly even if the file is not yet loaded.
1447 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
1449 * emacs-lisp/eieio.el (defclass): Use make-instance rather than
1451 (set-slot-value): Mark as obsolete.
1452 (eieio-object-class-name): Improve call to eieio-class-name.
1453 (eieio-slot-descriptor-name, eieio-class-slots): New functions.
1454 (object-slots): Use it. Declare obsolete.
1455 (eieio-constructor): Merge it with `make-instance'.
1456 (initialize-instance): Use `dolist'.
1457 (eieio-override-prin1, eieio-edebug-prin1-to-string):
1458 Use eieio--class-print-name.
1460 * emacs-lisp/eieio-core.el (eieio--class-print-name): New function.
1461 (eieio-class-name): Make it do what the docstring claims.
1462 (eieio-defclass-internal): Simplify since `prots' isn't used any more.
1463 (eieio--slot-name-index): Simplify accordingly.
1464 (eieio-barf-if-slot-unbound): Pass the class object rather than its
1465 name to `slot-unbound'.
1467 * emacs-lisp/eieio-base.el (make-instance): Add a method here rather
1468 than on eieio-constructor.
1470 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
1472 * emacs-lisp/cl-macs.el (cl-defstruct): Keep type=nil by default.
1473 * emacs-lisp/cl-preloaded.el (cl-struct-define): Add sanity checks
1474 about relationship between `type', `named', and `slots'.
1475 * emacs-lisp/cl-generic.el (cl--generic-struct-tagcode): Adjust to new
1476 value of `cl-struct-type' property.
1478 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
1480 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
1481 with PAGER=cat. (Bug#19870)
1483 2015-02-14 Artur Malabarba <bruce.connor.am@gmail.com>
1485 * emacs-lisp/package.el (package-read-all-archive-contents):
1486 Don't build the compatibility table.
1487 (package-refresh-contents, package-initialize): Do build the
1488 compatibility table.
1489 (package--build-compatibility-table): New function.
1490 (describe-package-1): Describe why a package is incompatible.
1492 2015-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
1494 * emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children
1496 (cl--assertion-failed): New function.
1497 (cl-assertion-failed): Move in from cl-lib.el.
1499 * emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register
1500 as children of its parents.
1501 (cl--make-type-test, cl--compiler-macro-typep): Remove functions.
1502 (cl-typep): Reimplement using define-inline.
1503 (cl-assert): Use cl--assertion-failed.
1504 (cl-struct-slot-value): Use define-inline.
1506 * emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload.
1508 * textmodes/flyspell.el (flyspell-word): Defvar (bug#19844).
1509 (flyspell-generic-check-word-p): Mark as obsolete.
1511 2015-02-13 Artur Malabarba <bruce.connor.am@gmail.com>
1513 * emacs-lisp/package.el (package--compatibility-table): New var.
1514 (package--add-to-compatibility-table): New function.
1515 (package-read-all-archive-contents): Populate compatibility table.
1516 (package--incompatible-p): Also look in dependencies.
1517 (describe-package-1): Fix "incompat" handling.
1519 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1521 * net/rfc2104.el: Moved here from lisp/gnus.
1523 2015-02-13 Magnus Henoch <magnus.henoch@gmail.com>
1525 * net/sasl-scram-rfc.el: New file.
1527 * net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5.
1528 Add SCRAM-SHA-1 first.
1529 (sasl-mechanism-alist): Remove SCRAM-MD5 entry. Add SCRAM-SHA-1
1532 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1534 * net/shr.el (shr-tag-li): Speed up rendering pages with lots of
1537 2015-02-12 Oleh Krehel <ohwoeowho@gmail.com>
1539 * progmodes/gdb-mi.el (gdb-display-io-nopopup): New defcustom.
1540 (gdb-inferior-filter): Don't pop up the buried output buffer when
1541 `gdb-display-io-nopopup' is non-nil.
1543 2015-02-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1545 python.el: Allow killing shell buffer if process is dead. (Bug#19823)
1547 * progmodes/python.el (python-shell-font-lock-kill-buffer):
1548 Don't require a running process.
1549 (python-shell-font-lock-post-command-hook): Fontify only if the
1550 shell process is running.
1552 2015-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1554 * hi-lock.el (hi-lock-unface-buffer): Don't call
1555 font-lock-remove-keywords if not needed (bug#19796).
1557 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
1559 * emacs-lisp/package.el (package-install): Invert the second
1560 argument, for better backwards compatibility.
1561 (package-install-button-action, package-reinstall)
1562 (package-menu-execute): Account for the change.
1564 2015-02-11 Nicolas Petton <nicolas@petton.fr>
1566 * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible
1567 version of seq-reverse that works on sequences in Emacs 24.
1568 Bump seq.el version to 1.2.
1570 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
1572 * emacs-lisp/package.el (package--incompatible-p): New function.
1573 Return non-nil if PKG has no chance of being installable.
1574 (package--emacs-version-list): New variable.
1575 (describe-package-1, package-desc-status)
1576 (package-menu--print-info, package-menu--status-predicate):
1577 Account for the "incompat" status.
1579 2015-02-11 Martin Rudalics <rudalics@gmx.at>
1581 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1582 Rename frame parameter `maximized' to `fullscreen-restore'.
1583 Restore fullwidth/-height after fullboth state. Update doc-strings.
1585 2015-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1587 * net/shr.el (shr-insert): Make sure the space inserted has the
1588 right font (for width).
1589 (shr-fill-line): Preserve background colours when indenting/folding.
1590 (shr-ensure-paragraph): Don't insert a new paragraph as the first
1593 2015-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1595 * net/shr.el (shr-use-fonts): New variable.
1596 (shr-fill-text): Rename from "fold".
1597 (shr-pixel-column, shr-pixel-region, shr-string-pixel-width):
1599 (shr-insert): Just insert, don't fill the text. Filling is now
1600 done afterwards per display unit.
1601 (shr-fill-lines, shr-fill-line): New functions to fill text on a
1603 (shr-find-fill-point): Take a "beginning" parameter.
1604 (shr-indent): Indent using the :width display parameter when using
1606 (shr-parse-style): Ignore "inherit" values, since we already do that.
1607 (shr-tag-img): Remove the insertion states.
1608 (shr-tag-blockquote): New-style filling.
1609 (shr-tag-dd): Ditto.
1610 (shr-tag-li): Ditto.
1611 (shr-mark-fill): New function to mark lines that need filling.
1612 (shr-tag-h1): Use a larger font.
1613 (shr-tag-table-1): Get the natural and suggested widths in one
1615 (shr-tag-table): Create the "fixed" version of the table only once
1616 so that we can cache data in the table.
1617 (shr-insert-table): Get colspan calculations right by having
1618 zero-width columns after colspan ones.
1619 (shr-expand-alignments): New function to make :align-to specs work
1620 right when rendered in one buffer and displayed in another one.
1621 (shr-insert-table-ruler): Use :align-to to get the widths right.
1622 (shr-make-table): Cache more.
1623 (shr-make-table-1): Use the new <td> data layout.
1624 (shr-pixel-buffer-width): New function.
1625 (shr-render-td): Add a caching layer.
1626 (shr-dom-max-natural-width): New function.
1627 (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering.
1628 (shr-tag-tt): New function.
1629 (shr-tag-hr): Compute the right length when using fonts.
1630 (shr-table-widths): Off-by-one error in width computation.
1631 (shr-expand-newlines): Remove dead code.
1632 (shr-insert-table): Extend background colors to the end of the column.
1633 (shr-insert-table): Only copy the background, not underline and
1635 (shr-face-background): New function.
1637 2015-02-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
1639 python.el: Improved shell font lock respecting markers. (Bug#19650)
1641 * progmodes/python.el
1642 (python-shell-font-lock-get-or-create-buffer): Use special buffer name.
1643 (python-shell-font-lock-with-font-lock-buffer): Enable font lock.
1644 (python-shell-font-lock-post-command-hook): Fontify by copying text
1645 properties from fontified buffer to shell, keeping markers unchanged.
1646 (python-shell-font-lock-turn-off): Fix typo.
1647 (python-util-text-properties-replace-name): Delete function.
1649 2015-02-09 Nicolas Petton <nicolas@petton.fr>
1651 * emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to
1652 return sequence elements in correct order.
1654 2015-02-09 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
1656 * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815).
1658 2015-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1660 * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body.
1662 * emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpected
1663 case where the default value would be re-interpreted as a form!
1665 2015-02-09 Christopher Genovese <genovese@cmu.edu> (tiny change)
1667 * help-fns.el (help-fns--signature): Keep doc for keymap.
1669 2015-02-09 Kelly Dean <kelly@prtime.org>
1671 * desktop.el: Save mark-ring less verbosely.
1672 (desktop-var-serdes-funs): New var.
1673 (desktop-buffer-info, desktop-create-buffer): Use it.
1674 (desktop-file-version): Update to 208.
1676 2015-02-09 Leo Liu <sdl.web@gmail.com>
1678 * emacs-lisp/pcase.el (pcase-lambda): New Macro. (Bug#19814)
1680 * emacs-lisp/lisp-mode.el (el-kws-re): Include `pcase-lambda'.
1682 * emacs-lisp/macroexp.el (macroexp-parse-body): New function.
1684 2015-02-08 Paul Eggert <eggert@cs.ucla.edu>
1686 Port to platforms lacking test -a and -o
1687 * Makefile.in (compile-clean):
1688 * net/tramp-sh.el (tramp-find-executable):
1689 Prefer '&&' and '||' to 'test -a' and 'test -o'.
1691 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1693 * newcomment.el (comment-line): Fix missing paren.
1695 2015-02-08 Ulrich Müller <ulm@gentoo.org>
1697 * play/gamegrid.el: Update comment to reflect that the
1698 'update-game-score' helper program is now setgid by default.
1700 2015-02-08 David Kastrup <dak@gnu.org>
1702 * subr.el (apply-partially): Use lexical binding here.
1704 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1706 * newcomment.el (comment-line): New command.
1708 * bindings.el (ctl-x-map): Bind to `C-x C-;'.
1710 2015-02-08 Oleh Krehel <ohwoeowho@gmail.com>
1712 * outline.el (outline-show-entry): Fix one invisible char for the
1713 file's last outline. (Bug#19493)
1715 2015-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1717 * subr.el (indirect-function): Change advertised calling convention.
1719 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1721 python.el: Fix completion-at-point. (Bug#19667)
1723 * progmodes/python.el
1724 (python-shell-completion-native-get-completions): Force process buffer.
1725 (python-shell-completion-at-point): Handle case where call is not
1728 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1730 python.el: Fix shell font-lock multiline input. (Bug#19744)
1732 * progmodes/python.el
1733 (python-shell-font-lock-post-command-hook): Handle multiline input.
1735 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1737 python.el: Make shell font-lock respect markers. (Bug#19650)
1739 * progmodes/python.el (python-shell-font-lock-cleanup-buffer):
1741 (python-shell-font-lock-comint-output-filter-function):
1743 (python-shell-font-lock-post-command-hook): Respect markers on
1746 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1748 python.el: Keep eldoc visible while typing args. (Bug#19637)
1749 * progmodes/python.el (python-eldoc--get-symbol-at-point):
1750 New function based on Carlos Pita <carlosjosepita@gmail.com> patch.
1751 (python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it.
1753 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1755 Fix hideshow integration. (Bug#19761)
1756 * progmodes/python.el
1757 (python-hideshow-forward-sexp-function): New function based on
1758 Carlos Pita <carlosjosepita@gmail.com> patch.
1759 (python-mode): Make `hs-special-modes-alist` use it and initialize
1760 the end regexp with the empty string to avoid skipping parens.
1762 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1764 * progmodes/python.el (python-check-custom-command): Do not use
1765 defvar-local for compat with Emacs<24.3.
1767 2015-02-07 Martin Rudalics <rudalics@gmx.at>
1769 * frame.el (frame-notice-user-settings):
1770 Update `frame-size-history'.
1771 (make-frame): Update `frame-size-history'.
1772 Call `frame-after-make-frame'.
1773 * faces.el (face-set-after-frame-default): Remove call to
1774 frame-can-run-window-configuration-change-hook.
1776 2015-02-06 Dmitry Gutov <dgutov@yandex.ru>
1778 * vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to
1779 `vc-cvs-command' (bug#19732).
1781 2015-02-06 Nicolas Petton <nicolas@petton.fr>
1783 * emacs-lisp/seq.el (seq-mapcat, seq-partition, seq-group-by):
1785 * emacs-lisp/seq.el (seq-drop-while, seq-take-while, seq-count)
1786 (seq--drop-list, seq--take-list, seq--take-while-list):
1789 2015-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1791 * doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. Use
1792 `image-kill-buffer' instead.
1794 2015-02-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1796 * net/ldap.el (ldap-search-internal): Fix docstring.
1798 2015-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1800 * subr.el (define-error): The error conditions may be constant
1801 lists, so use `append' to concatenate them.
1803 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
1805 * net/network-stream.el (network-stream-open-tls): Respect the
1806 :end-of-capability setting.
1808 2015-02-05 Artur Malabarba <bruce.connor.am@gmail.com>
1810 * emacs-lisp/package.el (package--sort-by-dependence):
1811 New function. Return PACKAGE-LIST sorted by dependencies.
1812 (package-menu-execute): Use it to delete packages in order.
1813 (package--sort-deps-in-alist): New function.
1814 (package-menu-mark-install): Can mark dependencies.
1815 (package--newest-p): New function.
1816 (package-delete): Don't deselect when deleting an older version of
1817 an upgraded package.
1819 * emacs-lisp/package.el: Add missing (require 'subr-x)
1821 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1823 * textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be
1824 hyphenated (bug#19263).
1826 * textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence
1827 of variable interpolation (bug#19751).
1829 2015-02-05 Era Eriksson <era+emacs@iki.fi>
1831 * json.el (json-end-of-file): New error (bug#19768).
1832 (json-pop, json-read): Use it.
1834 2015-02-05 Kelly Dean <kelly@prtime.org>
1836 * help-mode.el (help-xref-interned): Pass BUFFER and FRAME to
1837 `describe-variable'.
1839 * help-fns.el (describe-function-or-variable): New function.
1841 * help.el (help-map): Bind `describe-function-or-variable' to o.
1842 (help-for-help-internal): Document o key.
1844 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1846 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use new
1847 special (:documentation ...) feature.
1848 * emacs-lisp/eieio-core.el (eieio-make-class-predicate)
1849 (eieio-make-child-predicate): Same.
1850 (eieio-copy-parents-into-subclass): Remove unused arg.
1851 (eieio-defclass-internal): Adjust call accordingly and remove redundant
1853 (eieio--slot-name-index): Remove unused arg `obj' and adjust all
1854 callers accordingly.
1856 * emacs-lisp/cconv.el (cconv--convert-function):
1857 Add `docstring' argument.
1858 (cconv-convert): Use it to handle the new (:documentation ...) form.
1859 (cconv-analyze-form): Handle the new (:documentation ...) form.
1861 * emacs-lisp/bytecomp.el:
1862 (byte-compile-initial-macro-environment): Use macroexp-progn.
1863 (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
1864 (byte-compile-file-form-defvar-function): Rename from
1865 byte-compile-file-form-define-abbrev-table.
1866 (defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
1867 (byte-compile): Use byte-compile-top-level rather than
1868 byte-compile-lambda so we can compile non-values.
1869 (byte-compile-form): Add warnings for failed uses of lexical vars via
1871 (byte-compile-unfold-bcf): Improve message for failed inlining.
1872 (byte-compile-make-closure): Handle new format of internal-make-closure
1873 for dynamically-generated docstrings.
1875 * delsel.el: Deprecate the `kill' option. Use lexical-binding.
1876 (open-line): Delete like all other commands, instead of killing.
1877 (delete-active-region): Don't define any return any value.
1879 * progmodes/python.el: Try to preserve compatibility with Emacs-24.
1880 (python-mode): Don't assume eldoc-documentation-function has a non-nil
1883 2015-02-04 Sam Steingold <sds@gnu.org>
1885 * progmodes/python.el (python-indent-calculate-indentation):
1886 Avoid the error when computing top-level indentation.
1888 2015-02-04 Stefan Monnier <monnier@iro.umontreal.ca>
1890 * emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
1892 * textmodes/flyspell.el: Use lexical-binding and cl-lib.
1893 (mail-mode-flyspell-verify): Fix last change.
1894 (flyspell-external-point-words, flyspell-large-region):
1895 Avoid add-to-list on local vars.
1897 2015-02-04 Tassilo Horn <tsdh@gnu.org>
1899 * emacs-lisp/package.el (package-installed-p): Fix typo causing
1900 void-variable error.
1902 2015-02-04 Artur Malabarba <bruce.connor.am@gmail.com>
1904 * image-mode.el (image-kill-buffer): New command.
1905 (image-mode-map): Bind it to k.
1907 * emacs-lisp/package.el (package-delete): Remove package from
1908 `package-selected-packages' even if it can't be deleted.
1909 (package-installed-p): Accept package-desc objects.
1910 (package-install): Can be used to mark dependencies as
1911 selected. When given a package-desc object which is already
1912 installed, the package is not downloaded again, but it is marked
1913 as selected (if it wasn't already).
1914 (package-reinstall): Accept package-desc objects.
1916 2015-02-03 Artur Malabarba <bruce.connor.am@gmail.com>
1918 * emacs-lisp/package.el (package-delete): Document NOSAVE.
1919 (package--get-deps): delete-dups when ONLY is nil.
1920 (package-autoremove): Warn the user if `package-selected-packages'
1923 (package--user-selected-p): New function.
1924 (package-delete, package-install, package-install-from-buffer):
1926 (package-selected-packages): Mention it.
1928 (package-initialize): Don't populate `package-selected-packages'.
1929 (package-install-user-selected-packages, package-autoremove):
1930 Special handling for empty `package-selected-packages'.
1931 (package-install): Fix when PKG is a package-desc.
1933 (package-desc-status): Add "dependency" status to the Package
1935 (package-menu--status-predicate, package-menu--print-info)
1936 (package-menu-mark-delete, package-menu--find-upgrades)
1937 (package-menu--status-predicate, describe-package-1): Use it
1939 (package--removable-packages): New function.
1940 (package-autoremove): Use it.
1941 (package-menu-execute): Offer to remove unneeded packages.
1943 (package--read-pkg-desc, package-tar-file-info): Fix reference to
1946 2015-02-03 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1948 * emacs-lisp/package.el (package-reinstall): Don't change package's selected status.
1949 (package-delete): New NOSAVE argument.
1951 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
1953 * net/tramp-sh.el (tramp-histfile-override): Fix docstring.
1954 (tramp-open-shell, tramp-maybe-open-connection): Set also
1955 HISTFILESIZE and HISTSIZE when needed. (Bug#19731)
1957 2015-02-02 Artur Malabarba <bruce.connor.am@gmail.com>
1959 * emacs-lisp/package.el (package--find-non-dependencies):
1961 (package-initialize): Use it to populate `package-selected-packages'.
1962 (package-menu-execute): Clean unnecessary `and'.
1963 (package--get-deps): Fix returning duplicates.
1965 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
1967 * net/tramp-sh.el (tramp-histfile-override): Add another choice t.
1969 (tramp-open-shell, tramp-maybe-open-connection): Support it.
1972 2015-02-02 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1974 * emacs-lisp/package.el (package-delete): Remove package from
1975 package-selected-packages.
1976 (package-autoremove): Remove unneeded variable.
1978 2015-02-01 Artur Malabarba <bruce.connor.am@gmail.com>
1980 * emacs-lisp/package.el (package-selected-packages): Fix :type
1981 (package-install): Rename ARG to MARK-SELECTED.
1982 (package--get-deps): Fix for indirect dependencies.
1983 (package-used-elsewhere-p): Rename to
1984 (package--used-elsewhere-p): New function.
1985 (package-reinstall, package-user-selected-packages-install)
1986 (package-autoremove): Use sharp-quote.
1987 (package-user-selected-packages-install): Reindent and rename to
1988 (package-install-user-selected-packages): New function.
1990 2015-02-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1992 * emacs-lisp/package.el: Don't allow deleting dependencies.
1994 (package-used-elsewhere-p): New function.
1995 (package-delete): Use it, return now an error when trying to
1996 delete a package used as dependency by another package.
1998 Add a reinstall package command.
1999 (package-reinstall): New function.
2001 Add a package-autoremove command.
2002 (package-selected-packages): New user var.
2003 (package-install): Add an optional arg to notify interactive use.
2004 Fix docstring. Save installed package to
2005 packages-installed-directly.
2006 (package-install-from-buffer): Same.
2007 (package-user-selected-packages-install): Allow installing all
2008 packages in packages-installed-directly at once.
2009 (package--get-deps): New function.
2010 (package-autoremove): New function.
2011 (package-install-button-action): Call package-install with
2013 (package-menu-execute): Same but only for only for not installed
2016 2015-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2018 * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
2019 and eieio-make-child-predicate.
2020 (eieio-class-parents): Use eieio--class-object.
2021 (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
2022 (slot-exists-p): Use find-class.
2024 * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
2025 Use find-lisp-object-file-name, help-fns-short-filename and new calling
2026 convention for eieio-class-def.
2027 (eieio-build-class-list): Remove function, unused.
2028 (eieio-method-def): Remove button type, unused.
2029 (eieio-class-def): Inherit from help-function-def.
2030 (eieio--defclass-regexp): New constant.
2031 (find-function-regexp-alist): Use it.
2032 (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
2033 (eieio-help-find-method-definition, eieio-help-find-class-definition):
2036 * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
2037 Use cl-check-type everywhere instead.
2038 (eieio-class-object): Remove, use find-class instead when needed.
2039 (class-p): Don't inline.
2040 (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
2041 such as eieio classes, as objects. Don't inline.
2042 (object-p): Mark as obsolete.
2043 (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
2044 (eieio--generic-tagcode): Avoid `class-p'.
2045 (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
2046 (eieio-defclass-internal): Use current-load-list rather than
2049 * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
2051 2015-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2053 * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
2054 since it may be "equivalent" in some sense, yet different (bug#19734).
2056 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
2058 * outline.el (outline-font-lock-face): Add docstring.
2059 (outline-invisible-p): Improve docstring.
2060 (outline-invent-heading): Add docstring.
2061 (outline-promote): Improve docstring.
2062 (outline-demote): Improve docstring.
2063 (outline-head-from-level): Improve docstring.
2064 (outline-end-of-heading): Add docstring.
2065 (outline-next-visible-heading): Improve docstring.
2066 (outline-previous-visible-heading): Improve docstring.
2067 (outline-hide-region-body): Improve docstring.
2068 (outline-flag-subtree): Add docstring.
2069 (outline-end-of-subtree): Add docstring.
2070 (outline-headers-as-kill): Improve docstring.
2072 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
2074 * outline.el (outline-hide-entry): Rename from `hide-entry'.
2075 (hide-entry): Declare as obsolete.
2076 (outline-show-entry): Rename from `show-entry'.
2077 (show-entry): Declare as obsolete.
2078 (outline-hide-body): Rename from `hide-body'.
2079 (hide-body): Declare as obsolete.
2080 (outline-hide-region-body): Rename from `hide-region-body'.
2081 (hide-region-body): Declare as obsolete.
2082 (outline-show-all): Rename from `show-all'.
2083 (show-all): Declare as obsolete.
2084 (outline-hide-subtree): Rename from `hide-subtree'.
2085 (hide-subtree): Declare as obsolete.
2086 (outline-hide-leaves): Rename from `hide-leaves'.
2087 (hide-leaves): Declare as obsolete.
2088 (outline-show-subtree): Rename from `show-subtree'.
2089 (show-subtree): Declare as obsolete.
2090 (outline-hide-sublevels): Rename from `hide-sublevels'.
2091 (hide-sublevels): Declare as obsolete.
2092 (outline-hide-other): Rename from `hide-other'.
2093 (hide-other): Declare as obsolete.
2094 (outline-show-children): Rename from `show-children'.
2095 (show-children): Declare as obsolete.
2096 (outline-show-branches): Rename from `show-branches'.
2097 (show-branches): Declare as obsolete.
2099 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
2101 * outline.el (outline-mode): Clean up docstring.
2102 (font-lock-warning-face): Remove obsolete declaration.
2103 (outline-font-lock-face): Remove obsolete comment.
2105 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
2107 * custom.el (defface): Set `indent' to 1.
2109 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
2111 * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
2113 2015-01-30 Michal Nazarewicz <mina86@mina86.com>
2115 * files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
2116 is set, but user has just been asked whether they really want to
2117 kill Emacs (for example with a ‘Modified buffers exist; exit
2118 anyway?’ prompt), do not ask them for another confirmation.
2120 2015-01-29 Jay Belanger <jay.p.belanger@gmail.com>
2122 * calc/calc-units.el (calc-convert-exact-units): New function.
2123 (calc-convert-units): Check for missing units.
2124 (math-consistent-units-p): Strengthen the test for consistent units.
2126 * calc/calc-ext.el (calc-init-extensions): Autoload
2127 `calc-convert-exact-units' and assign it a keybinding.
2129 * calc/calc-help (calc-u-prefix-help): Add help for the
2132 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2134 * emacs-lisp/cl.el (cl--function-convert): Simplify.
2136 2015-01-28 Tassilo Horn <tsdh@gnu.org>
2138 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
2139 punctuation syntax since to allow bibtex fields with values such
2140 as {Test 1) and 2)} (bug#19205, bug#19707).
2141 (reftex--prepare-syntax-tables): New function.
2142 (reftex-mode): Use it.
2144 2015-01-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
2146 python.el: New non-global state dependent indentation engine.
2147 (Bug#18319, Bug#19595)
2148 * progmodes/python.el (python-syntax-comment-or-string-p):
2149 Accept PPSS as argument.
2150 (python-syntax-closing-paren-p): New function.
2151 (python-indent-current-level)
2152 (python-indent-levels): Mark obsolete.
2153 (python-indent-context): Return more context cases.
2154 (python-indent--calculate-indentation)
2155 (python-indent--calculate-levels): New functions.
2156 (python-indent-calculate-levels): Use them.
2157 (python-indent-calculate-indentation, python-indent-line):
2158 (python-indent-line-function): Rewritten to use new API.
2159 (python-indent-dedent-line): Simplify logic.
2160 (python-indent-dedent-line-backspace): Use `unless`.
2161 (python-indent-toggle-levels): Delete function.
2163 2015-01-28 Daniel Koning <dk@danielkoning.com> (tiny change)
2165 * subr.el (posnp): Correct docstring of `posnp'.
2166 (posn-col-row): Make it work with all mouse position objects.
2167 * textmodes/artist.el (artist-mouse-draw-continously):
2168 Cancel timers if an error occurs during continuous drawing. (Bug#6130)
2170 2015-01-28 Eli Zaretskii <eliz@gnu.org>
2172 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
2174 2015-01-28 Michael Albinus <michael.albinus@gmx.de>
2176 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
2178 (file-notify--descriptor): New defun.
2179 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
2180 Adapt docstring. Handle multiple values for
2181 `file-notify-descriptors' entries. (Bug#18880)
2183 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
2184 `file-notify-descriptors', the implementation has been changed.
2186 2015-01-28 Eli Zaretskii <eliz@gnu.org>
2188 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
2189 On MS-Windows, bind coding-system-for-read to the console output
2190 codepage. (Bug#19458)
2192 2015-01-28 Dmitry Gutov <dgutov@yandex.ru>
2194 Unbreak `mouse-action' property in text buttons.
2195 * button.el (push-button): Fix regression from 2012-12-06.
2197 2015-01-28 Glenn Morris <rgm@gnu.org>
2199 * progmodes/sh-script.el (sh-mode): Doc fix.
2200 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
2202 2015-01-28 Paul Eggert <eggert@cs.ucla.edu>
2204 Fix dired quoting bug with "Hit`N`Hide".
2205 * files.el (shell-quote-wildcard-pattern): Also quote "`". (Bug#19498)
2207 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2209 Tighten up the tagcode used for eieio and cl-struct objects.
2210 * loadup.el: Load cl-preloaded.
2211 * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
2212 slot of the tag symbol to :quick-object-witness-check.
2213 (eieio-object-p): Use :quick-object-witness-check.
2214 (eieio--generic-tagcode): Use cl--generic-struct-tag.
2215 * emacs-lisp/cl-preloaded.el: New file.
2216 * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
2217 (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
2218 (cl--make-usage-args): Strip away &aux args.
2219 (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
2220 (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
2221 (cl-defstruct): Use `declare' and cl-struct-define.
2222 * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
2223 (cl--generic-struct-tagcode): Use it to tighten the tagcode.
2225 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
2227 * emacs-lisp/cl.el (cl--function-convert):
2228 Merge cache that cl--labels-convert adds (bug#19699).
2230 2015-01-27 Ivan Shmakov <ivan@siamics.net>
2232 * tar-mode.el: Allow for adding new archive members. (Bug#19274)
2233 (tar-new-regular-file-header, tar--pad-to, tar--put-at)
2234 (tar-header-serialize): New functions.
2235 (tar-current-position): Split from tar-current-descriptor.
2236 (tar-current-descriptor): Use it.
2237 (tar-new-entry): New command.
2238 (tar-mode-map): Bind it.
2240 2015-01-27 Sam Steingold <sds@gnu.org>
2242 * progmodes/python.el (python-check-custom-command): Buffer local
2243 because it usually includes the buffer name.
2244 (python-check-command): Set to epylint when pyflakes is not available.
2246 2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
2248 * isearch.el (isearch-process-search-char): Add docstring.
2250 2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
2252 * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
2254 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
2256 * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
2257 for the case cl-flet or cl-labels form is wrapped with lexical-let
2260 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
2262 * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
2263 (cl--generic): The method-table is now a (list-of cl--generic-method).
2264 (cl--generic-member-method): New function.
2265 (cl-generic-define-method): Use it.
2266 (cl--generic-build-combined-method, cl--generic-cache-miss):
2267 Adapt to new method-table.
2268 (cl--generic-no-next-method-function): Add `method' argument.
2269 (cl-generic-call-method): Adapt to new method representation.
2270 (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
2271 (cl-find-method, cl-method-qualifiers): New functions.
2272 (cl--generic-method-info): Adapt to new method representation.
2273 Return a string for the qualifiers.
2274 (cl--generic-describe):
2275 * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
2276 (eieio-all-generic-functions, eieio-method-documentation):
2277 Adjust to new method representation.
2279 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
2281 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
2283 * emacs-lisp/cl-generic.el: Add a method-combination hook.
2284 (cl-generic-method-combination-function): New var.
2285 (cl--generic-lambda): Remove `with-cnm' arg.
2286 (cl-defmethod): Change accordingly.
2287 (cl-generic-define-method): Don't check qualifiers validity.
2288 Preserve all qualifiers in `method-table'.
2289 (cl-generic-call-method): New function.
2290 (cl--generic-nest): Remove (morph into cl-generic-call-method).
2291 (cl--generic-build-combined-method): Adjust to new format of method-table
2292 and use cl-generic-method-combination-function.
2293 (cl--generic-standard-method-combination): New function, extracted from
2294 cl--generic-build-combined-method.
2295 (cl--generic-cnm-sample): Adjust to new format of method-table.
2297 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
2298 instead of :primary.
2300 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2301 Remove obsolete function.
2303 2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
2305 * net/shr.el (shr-make-table-1): Fix colspan typo.
2306 (shr-make-table-1): Add comments.
2307 (shr-make-table-1): Make colspan display more sensibly.
2309 * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
2312 2015-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2314 * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
2315 (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
2317 (cl--generic-typeof-types): Add support for `sequence'.
2318 (cl-defmethod): Add non-keywords in the qualifiers.
2320 2015-01-25 Dmitry Gutov <dgutov@yandex.ru>
2322 * emacs-lisp/find-func.el (find-function-regexp): Don't match
2323 `defgroup' (regression from the previous change here).
2325 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2327 * net/ldap.el (ldap-search-internal): Mention binddn in invalid
2328 credentials error message.
2330 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2332 * net/ldap.el (ldap-password-read): Validate password before
2334 (ldap-search-internal): Handle ldapsearch error conditions.
2336 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2338 * net/ldap.el (ldap-password-read): Handle password-cache being nil.
2340 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2342 * net/eudc.el (eudc-expand-inline): Always restore former server
2345 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2347 * net/eudcb-ldap.el: Don't nag the user in case a default base is
2348 provided by the LDAP system configuration file.
2350 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2352 * net/eudc.el (eudc-format-query): Preserve the
2353 eudc-inline-query-format ordering of attributes in the returned list.
2354 * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
2355 Append the LDAP wildcard character to the last attribute value.
2357 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2359 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
2360 Downcase field names of LDAP results.
2361 (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
2363 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2365 * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
2366 (ldap-search-internal): Send password to ldapsearch through a pipe
2367 instead of via the command line.
2369 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2371 * net/ldap.el: Require password-cache.
2372 (ldap-password-read): New function.
2373 (ldap-search-internal): Call ldap-password-read when it is
2374 configured to be called.
2376 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2378 * net/eudc-vars.el (eudc-expansion-overwrites-query):
2379 Change default to nil.
2381 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2383 * net/eudc.el (eudc-expand-inline): Ignore text properties of
2386 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2388 * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
2389 format that includes first name and surname.
2391 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2393 * net/eudc-vars.el (eudc-inline-query-format): Change default to
2394 query email and first name instead of surname.
2396 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2398 * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
2400 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2402 * net/eudc-vars.el (eudc-server): Adjust docstring to mention
2403 eudc-server-hotlist.
2404 (eudc-server-hotlist): Move from eudc.el and make defcustom.
2405 * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
2406 (eudc-set-server): Allow setting protocol to nil.
2407 (eudc-expand-inline): Support hotlist-only expansions when server
2410 2015-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2412 * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
2413 (cl--generic-build-combined-method): Use it.
2415 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
2417 Don't downcase system diagnostics' first letters
2418 * emacs-lisp/bytecomp.el (byte-compile-file):
2419 * ffap.el (find-file-at-point):
2420 * files.el (insert-file-1):
2421 * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
2422 (ange-ftp-copy-file-internal):
2423 * progmodes/etags.el (visit-tags-table):
2424 Keep diagnostics consistent with system's.
2425 * ffap.el (ffap-machine-p):
2426 Ignore case while comparing diagnostics.
2428 2015-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2430 * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
2432 * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
2433 body with a docstring.
2435 2015-01-22 Dmitry Gutov <dgutov@yandex.ru>
2437 * progmodes/xref.el (xref-location-marker, xref-location-group):
2438 Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
2441 * progmodes/etags.el (xref-location-marker): Same.
2443 * progmodes/xref.el (xref--current): Rename from `xref--selected'.
2444 (xref--inhibit-mark-current): Rename from
2445 `xref--inhibit-mark-selected'. Update the usages.
2446 (xref-quit): Reword the docstring. Kill buffers after quitting
2447 windows instead of before.
2448 (xref--insert-xrefs): Tweak help-echo.
2449 (xref--read-identifier-history, xref--read-pattern-history):
2451 (xref--read-identifier, xref-find-apropos): Use them.
2453 2015-01-21 Ulrich Müller <ulm@gentoo.org>
2455 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2456 Allow the 'update-game-score' helper program to run suid or sgid.
2458 2015-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2460 * emacs-lisp/eieio.el: Use cl-defmethod.
2461 (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
2462 (eieio-object-name-string): Declare as obsolete.
2464 * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
2465 (eieio--specializers-apply-to-class-p): New function.
2466 (eieio-all-generic-functions): Use it.
2467 (eieio-method-documentation): Use it as well as cl--generic-method-info.
2468 Change format of return value.
2469 (eieio-help-class): Adapt accordingly.
2471 * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
2472 errors when there's a `before' but no `primary' (bug#19645).
2473 (next-method-p): Return nil rather than signal an error.
2474 (eieio-defgeneric): Remove bogus (fboundp 'method).
2476 * emacs-lisp/eieio-speedbar.el:
2477 * emacs-lisp/eieio-datadebug.el:
2478 * emacs-lisp/eieio-custom.el:
2479 * emacs-lisp/eieio-base.el: Use cl-defmethod.
2481 * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
2482 (cl--generic-setf-rewrite): Setup the setf expander right away.
2483 (cl-defmethod): Make sure the setf expander is setup before we expand
2485 (cl-defmethod): Silence byte-compiler warnings.
2486 (cl-generic-define-method): Shuffle code to change return value.
2487 (cl--generic-method-info): New function, extracted from
2488 cl--generic-describe.
2489 (cl--generic-describe): Use it.
2491 2015-01-21 Dmitry Gutov <dgutov@yandex.ru>
2493 * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
2494 the major mode. Remap `quit-window' to `xref-quit'.
2495 (xref--xref-buffer-mode): Inherit from special-mode.
2497 xref: Keep track of temporary buffers (bug#19466).
2498 * progmodes/xref.el (xref--temporary-buffers, xref--selected)
2499 (xref--inhibit-mark-selected): New variables.
2500 (xref--mark-selected): New function.
2501 (xref--show-location): Maybe add the buffer to
2502 `xref--temporary-buffers', add `xref--mark-selected' to
2503 `buffer-list-update-hook' there.
2504 (xref--window): Add docstring.
2505 (xref-quit): Rename from `xref--quit'. Update both references.
2506 Add KILL argument. When it's non-nil, kill the temporary buffers
2507 that haven't been selected by the user.
2508 (xref--show-xref-buffer): Change the second argument to alist,
2509 extract the values for `xref--window' and
2510 `xref--temporary-buffers' from it. Add `xref--mark-selected' to
2511 `buffer-list-update-hook' to each buffer in the list.
2512 (xref--show-xrefs): Move the logic of calling `xref-find-function'
2513 here. Save the difference between buffer lists before and after
2514 it's called as "temporary buffers", and `pass it to
2515 `xref-show-xrefs-function'.
2516 (xref--find-definitions, xref-find-references)
2517 (xref-find-apropos): Update accordingly.
2519 2015-01-20 Artur Malabarba <bruce.connor.am@gmail.com>
2521 * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
2523 2015-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2525 * emacs-lisp/eieio-generic.el: Remove.
2526 (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete.
2527 * emacs-lisp/eieio-compat.el: New file.
2528 * emacs-lisp/eieio.el: Don't require eieio-generic any more.
2529 * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
2530 Remove unused function.
2531 (eieio-defclass): Move to eieio-compat.el.
2532 * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
2533 (macroexp--expand-all): Use it.
2534 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
2536 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2538 * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
2539 major modes should use `add-function' to alter value of the variable.
2540 * hexl.el (hexl-mode):
2541 * ielm.el (inferior-emacs-lisp-mode):
2542 * progmodes/cfengine.el (cfengine3-mode):
2543 * progmodes/elisp-mode (emacs-lisp-mode):
2544 * progmodes/octave.el (octave-mode):
2545 * progmodes/python.el (python-mode):
2546 * simple.el (read--expression): Set `eldoc-documentation-function'
2547 using `add-function' so the default value is always used.
2549 * descr-text.el (describe-char-eldoc): New function returning
2550 basic Unicode codepoint information (e.g. name) about character
2551 at point. It is meant to be used as a default value of the
2552 `eldoc-documentation-function' variable.
2553 (describe-char-eldoc--format, describe-char-eldoc--truncate):
2554 New helper functions for `describe-char-eldoc' function.
2556 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2558 * textmodes/paragraphs.el (sentence-end-base): Include an
2559 ellipsis (…) and interrobang (‽) characters as end of a sentence,
2560 and a closing single quote (’) as an end of a quote.
2562 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2564 * textmodes/tildify.el (tildify-double-space-undos): A new
2565 variable specifying whether pressing space in `tildify-mode' after
2566 a space has been replaced with hard space undos the substitution.
2567 (tildify-space): Add code branch for handling `tildify-doule-space'.
2569 * textmodes/tildify.el (tildify-space): A new function
2570 which can be used as a `post-self-insert-hook' to automatically
2571 convert spaces into hard spaces.
2572 (tildify-space-pattern): A new variable specifying pattern where
2573 `tildify-space' should take effect.
2574 (tildify-space-predicates): A new variable specifying list of
2575 predicate functions that all must return non-nil for
2576 `tildify-space' to take effect.
2577 (tildify-space-region-predicate): A new functions meant to be
2578 used as a predicate in `tildify-space-predicates' list.
2579 (tildify-mode): A new minor mode enabling `tildify-space' as a
2580 `post-self-insert-hook'
2582 2015-01-20 Daniel Colascione <dancol@dancol.org>
2584 * vc/vc-dir.el (vc-dir): Default to repository root, not
2587 2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
2589 * progmodes/etags.el (xref-etags-location): New class.
2590 (xref-make-etags-location): New function.
2591 (etags--xref-find-definitions): Use it.
2592 (xref-location-marker): New method implementation.
2594 * progmodes/xref.el: Mention that xref-location is an EIEIO class.
2595 (xref--insert-xrefs): Expand help-echo string.
2597 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2599 * ido.el: Update Customization instructions.
2601 2015-01-19 Jonas Bernoulli <jonas@bernoul.li>
2603 Define Ido keymaps once (bug#17000).
2604 * ido.el (ido-common-completion-map)
2605 (ido-file-dir-completion-map)
2606 (ido-file-completion-map, ido-buffer-completion-map): Set up key
2607 bindings when each variable is defined.
2608 (ido-completion-map): Move definition.
2609 (ido-init-completion-maps): Noop.
2610 (ido-common-initialization): Don't call it.
2611 (ido-setup-completion-map): Improve doc-string, cleanup.
2613 2015-01-19 Ivan Shmakov <ivan@siamics.net>
2615 * cus-dep.el (custom-make-dependencies): Ensure that
2616 default-directory is interpreted as a directory (see bug#19140.)
2618 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2620 * progmodes/xref.el (xref--display-position):
2621 Set `other-window-scroll-buffer'.
2622 (xref-goto-xref): Use `user-error'.
2624 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2626 * progmodes/xref.el (xref--display-history): New variable.
2627 (xref--window-configuration): Remove.
2628 (xref--save-to-history): New function.
2629 (xref--display-position): Use it. Add new argument.
2630 (xref--restore-window-configuration): Remove.
2631 (xref--show-location, xref-show-location-at-point):
2633 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
2634 (xref--quit): New command.
2635 (xref-goto-xref): Use it.
2636 (xref--xref-buffer-mode-map): Bind `q' to it.
2638 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
2640 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
2641 indentation or at eol.
2643 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2645 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2646 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2648 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2650 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
2653 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
2654 introduction of a new dispatch argument.
2655 (cl--generic-cache-miss): Handle dispatch on an argument which was not
2656 considered as dispatchable for this method.
2657 (cl-defmethod): Warn when adding a method to an obsolete generic function.
2658 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
2660 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
2662 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
2664 * emacs-lisp/package.el (package--append-to-alist): Rename from
2665 `package--add-to-alist'
2666 Updated docstring due to new name.
2668 2015-01-18 Leo Liu <sdl.web@gmail.com>
2670 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
2671 multiple evaluation. (Bug#19519)
2673 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
2676 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2678 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2679 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2681 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2683 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
2685 (cl-struct-type-p): New function.
2687 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
2688 (cl-defmethod): Add edebug spec.
2689 (cl--generic-build-combined-method): Fix call to
2690 cl-no-applicable-method.
2691 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
2692 (cl--generic-isnot-nnm-p): New function.
2693 (cl--generic-lambda): Use it to add support for cl-next-method-p.
2694 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
2695 (cl-next-method-p): New function.
2697 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2699 * version.el (emacs-repository-get-version): Update docstring.
2701 2015-01-17 Ivan Shmakov <ivan@siamics.net>
2703 * files.el (find-file-other-window, find-file-other-frame):
2704 Use mapc instead of mapcar. (Bug#18175)
2706 * files.el (dir-locals-collect-variables): Use default-directory
2707 in place of the file name while working on non-file buffers, just
2708 like hack-dir-local-variables already does. (Bug#19140)
2710 * textmodes/enriched.el (enriched-encode):
2711 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
2714 * desktop.el (desktop-read): Do not call desktop-clear when no
2715 desktop file is found. (Bug#18371)
2717 * misearch.el (multi-isearch-unload-function): New function.
2718 (misearch-unload-function): New alias. (Bug#19566)
2720 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2722 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
2723 class-constructor, and make it an alias for `identity'.
2726 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
2727 argument here (bug#19620)...
2728 (defclass): ...instead of in the constructor here.
2730 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2732 * emacs-lisp/package.el (package-archive-priorities):
2733 Specify correct type.
2735 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2737 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
2739 (emacs-repository-get-version): Discard the Bazaar case.
2740 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
2741 emacs-bzr-version-dirstate and move from version.el to here.
2742 (vc-bzr-working-revision): Use it.
2744 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2746 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
2747 eieio--scoped-class any more.
2749 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
2750 (eieio--scoped-class): Remove function.
2751 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
2752 (eieio--slot-name-index): Don't check the :protection anymore.
2753 (eieio-initializing-object): Remove var.
2754 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
2756 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2758 Improve handling of doc-strings and describe-function for cl-generic.
2760 * help-mode.el (help-function-def): Add optional arg `type'.
2762 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
2764 (help-fns-short-filename): New function.
2765 (describe-function-1): Use it. Use autoload-do-load.
2767 * emacs-lisp/find-func.el: Use lexical-binding.
2768 (find-function-regexp): Don't rule out `defgeneric'.
2769 (find-function-regexp-alist): Document new possibility of including
2770 a function instead of a regexp.
2771 (find-function-search-for-symbol): Implement that new possibility.
2772 (find-function-library): Don't assume that `function' is a symbol.
2773 (find-function-do-it): Remove unused var `orig-buf'.
2775 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
2776 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
2777 (eieio--method-optimize-primary): Don't mess with the docstring.
2778 (defgeneric): Keep the `args' in the docstring.
2779 (defmethod): Don't use the method's docstring for the generic
2780 function's docstring.
2782 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
2783 (eieio-defclass-autoload): Don't record the superclasses any more.
2784 (eieio-defclass-internal): Reuse the old class object if it was just an
2786 (eieio--class-precedence-list): Load the class if it's autoloaded.
2788 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
2789 override an autoload.
2790 (cl-generic-current-method-specializers): Replace dyn-bind variable
2791 with a lexically-scoped macro.
2792 (cl--generic-lambda): Update accordingly.
2793 (cl-generic-define-method): Record manually in the load-history with
2794 type `cl-defmethod'.
2795 (cl--generic-get-dispatcher): Minor optimization.
2796 (cl--generic-search-method): New function.
2797 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
2798 (cl--generic-search-method): Add hyperlinks for methods. Merge the
2799 specializers and the function's arguments.
2801 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
2803 * emacs-lisp/package.el (package--read-pkg-desc):
2804 New function. Read a `define-package' form in current buffer.
2805 Return the pkg-desc, with desc-kind set to KIND.
2806 (package-dir-info): New function. Find package information for a
2807 directory. The return result is a `package-desc'.
2808 (package-install-from-buffer): Install packages from dired buffer.
2809 (package-install-file): Install packages from directory.
2810 (package-desc-suffix)
2811 (package-install-from-archive)
2812 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2813 Ensure all remaining instances of `package-desc-kind' handle the 'dir
2816 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2818 * emacs-lisp/package.el: Provide repository priorities.
2819 (package-archive-priorities): New variable.
2820 (package--add-to-alist): New function.
2821 (package--add-to-archive-contents): Use it.
2822 (package-menu--find-upgrades): Use it as well. Small clean up to
2823 make the use of the package name here explicit.
2824 (package-archive-priority): New function.
2825 (package-desc-priority-version): New function.
2827 2015-01-16 Daniel Colascione <dancol@dancol.org>
2829 * cus-start.el (all): Make `ring-bell-function' customizable.
2831 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
2833 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
2834 vc-svn-after-dir-status's second argument. (Bug#19429)
2836 2015-01-16 Samer Masterson <samer@samertm.com>
2838 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
2839 regardless of pcomplete-cycle-completions's value. (Bug#18950)
2841 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2843 * dom.el (dom-strings): New function.
2845 * files.el (directory-files-recursively): Don't use the word
2846 "path" for a file name.
2848 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
2850 * calc/calc-units.el (math-units-in-expr-p)
2851 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
2852 (math-extract-units): Handle the `neg' operator. (Bug#19582)
2854 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2856 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
2857 (cl--labels-convert): Use it to ask the macro what is its replacement
2860 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
2861 Return the value of the primary rather than the after method.
2863 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
2864 (eieio--generic-tagcode): New function.
2865 (cl-generic-tagcode-function): Use it.
2866 (eieio--generic-tag-types): New function.
2867 (cl-generic-tag-types-function): Use it.
2868 (eieio-object-p): Tighten up the test.
2870 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
2872 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2874 * emacs-lisp/cl-generic.el: New file.
2876 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
2877 (cl-load-time-value, cl-labels): Use closures rather than
2879 (cl-macrolet): Use `eval' to create the function value, and support CL
2880 style arguments in for the defined macros.
2882 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2884 * net/eww.el: Use lexical-binding.
2885 (eww-links-at-point): Remove unused arg.
2886 (eww-mode-map): Inherit from special-mode-map.
2887 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
2889 2015-01-13 Alan Mackenzie <acm@muc.de>
2891 Allow compilation during loading of CC Mode-derived modes (bug#19206).
2892 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
2893 New function which walks the stack to discover whether we're compiling
2895 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
2896 (cc-bytecomp-is-loading): New defsubst.
2897 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
2898 Use the above defsubsts.
2899 (cc-require-when-compile, cc-bytecomp-defvar)
2900 (cc-bytecomp-defun): Simplify conditionals.
2901 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
2902 "Borrow" this function from cc-bytecomp.el.
2903 (c-get-current-file): Reformulate using the above.
2904 (c-lang-defconst): Prevent duplicate entries of file names in a
2905 symbol's 'source property.
2906 (c-lang-const): Use cc-bytecomp-is-compiling.
2907 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
2908 Use cc-bytecomp-is-compiling.
2910 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2912 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
2915 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
2917 * menu-bar.el (menu-bar-goto-menu): Before calling
2918 `xref-marker-stack-empty-p', first check that `xref' is loaded.
2921 2015-01-12 Martin Rudalics <rudalics@gmx.at>
2923 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
2926 * frame.el (frame-notice-user-settings): Remove code dealing with
2927 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
2928 only if `window-system-frame-alist' or `default-frame-alist' ask
2930 (make-frame): Update frame-adjust-size-history if needed.
2932 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
2934 Have 'make' output better GEN names
2935 * Makefile.in (PHONY_EXTRAS): New macro.
2936 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
2937 relevant files' time stamps are ignored.
2938 (custom-deps, $(lisp)/cus-load.el, finder-data)
2939 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
2940 (custom-deps, $(lisp)/cus-load.el, finder-data)
2941 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
2942 ($(lisp)/subdirs.el, update-subdirs):
2943 Output more-accurate destination names with GEN.
2945 Say "ELC foo.elc" instead of "GEN foo.elc"
2946 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
2948 ($(THEFILE)c, .el.elc): Use them.
2950 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
2952 * files.el (directory-files-recursively): Do not include
2953 superfluous remote file names.
2955 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2957 * net/eww.el (eww): Interpret anything that looks like a protocol
2958 designator as a full URL.
2960 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2962 * net/shr.el (shr-urlify): Don't bother the user about
2963 invalidly-encoded display strings.
2965 2015-01-10 Ivan Shmakov <ivan@siamics.net>
2967 * net/shr.el (shr-urlify): Decode URLs before using them as titles
2970 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2972 * net/eww.el (eww): Always interpret URLs that start with https?:
2973 as plain URLs, even if they have spaces in them (bug#19556).
2974 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
2975 software" as an URL.
2976 (eww): Don't interpret "org/foo" as an URL.
2977 (eww): Clear the title when loading so that we don't display
2978 misleading information.
2980 2015-01-10 Daniel Colascione <dancol@dancol.org>
2982 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
2983 by analogy with dired.
2985 2015-01-09 Daniel Colascione <dancol@dancol.org>
2987 * progmodes/js.el (js--function-heading-1-re)
2988 (js--function-prologue-beginning): Parse ES6 generator function
2989 declarations. (That is, "function* name()").
2991 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2993 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
2994 that creates functions, and most of the sanity checks.
2995 Mark as obsolete the <class>-child-p function.
2996 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
2997 (eieio--class, eieio--object): Use cl-defstruct.
2998 (eieio--object-num-slots): Define manually.
2999 (eieio-defclass-autoload): Use eieio--class-make.
3000 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
3001 `(lambda...) definitions and most of the sanity checks to `defclass'.
3002 Mark as obsolete the <class>-list-p function, the <class> variable and
3003 the <initarg> variables. Use pcase-dolist.
3004 (eieio-defclass): New compatibility function.
3005 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
3006 (eieio-class-speedbar): Don't use eieio-default-superclass var.
3008 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3010 * emacs-lisp/eieio-generic.el: New file.
3011 * emacs-lisp/eieio-core.el: Move all generic function code to
3013 (eieio--defmethod): Declare.
3015 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
3016 function code to eieio-generic.el.
3017 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
3019 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
3020 to eieio--generic-call.
3021 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
3024 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3026 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
3027 Don't use <class> as a variable.
3029 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
3030 (call-next-method): Simplify.
3031 (clone): Obey eieio-backward-compatibility.
3033 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
3034 (eieio-read-generic): Use `generic-p' instead.
3036 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
3037 (eieio-defclass-autoload): Obey it.
3038 (eieio--class-object): Improve error behavior.
3039 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
3041 (eieio--defgeneric-form-primary-only): Rename from
3042 eieio-defgeneric-form-primary-only; update all callers.
3043 (eieio--defgeneric-form-primary-only-one): Rename from
3044 eieio-defgeneric-form-primary-only-one; update all callers.
3045 (eieio-defgeneric-reset-generic-form)
3046 (eieio-defgeneric-reset-generic-form-primary-only)
3047 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
3048 (eieio--method-optimize-primary): New function to replace them.
3049 (eieio--defmethod, eieio-defmethod): Use it.
3050 (eieio--perform-slot-validation): Rename from
3051 eieio-perform-slot-validation; update all callers.
3052 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
3053 Change `class' to be a class object. Update all callers.
3054 (eieio--validate-class-slot-value): Rename from
3055 eieio-validate-class-slot-value. Change `class' to be a class object.
3057 (eieio-oset-default): Accept class object as well.
3058 (eieio--generic-call-primary-only): Rename from
3059 eieio-generic-call-primary-only. Update all callers.
3061 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
3062 Improve error messages.
3063 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
3064 well as user-defined types. Emit errors for legacy types like
3065 <class>-child and <class>-list, if not eieio-backward-compatibility.
3067 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3069 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
3070 (eieio--class-slot-initarg): Rename from class-slot-initarg.
3071 Change `class' arg to be a class object. Update all callers.
3072 (call-next-method): Adjust to new return value of `eieio-generic-form'.
3073 (eieio-default-superclass): Set var to the class object.
3074 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
3075 Change print behavior to affect class objects rather than
3078 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
3079 (eieio-class-parents-fast): Remove macro.
3080 (eieio--class-option-assoc): Rename from class-option-assoc.
3082 (eieio--class-option): Rename from class-option. Change `class' arg to
3083 be a class object. Update all callers.
3084 (eieio--class-method-invocation-order): Rename from
3085 class-method-invocation-order. Change `class' arg to be a class
3086 object. Update all callers.
3087 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
3088 a list of class objects rather than names.
3089 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
3090 for accessors to class allocated slots.
3091 (eieio--perform-slot-validation-for-default): Rename from
3092 eieio-perform-slot-validation-for-default. Update all callers.
3093 (eieio--add-new-slot): Rename from eieio-add-new-slot.
3094 Update all callers. Use push.
3095 (eieio-copy-parents-into-subclass): Adjust to new content of
3096 `parent' field. Use dolist.
3097 (eieio-oref): Remove support for providing a class rather than
3099 (eieio-oref-default): Prefer class objects over class names.
3100 (eieio--slot-originating-class-p): Rename from
3101 eieio-slot-originating-class-p. Update all callers. Use `or'.
3102 (eieio--slot-name-index): Turn check into assertion.
3103 (eieio--class-slot-name-index): Rename from
3104 eieio-class-slot-name-index. Change `class' arg to be a class object.
3106 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
3107 (eieio--c3-candidate): Rename from eieio-c3-candidate.
3109 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
3111 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
3113 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
3115 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
3116 Update all callers. Adjust to new `parent' content.
3117 (eieio--class-precedence-list): Rename from -class-precedence-list.
3119 (eieio-generic-call): Use autoloadp and autoload-do-load.
3120 Slight simplification.
3121 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
3122 return value of `eieio-generic-form'.
3123 (eieiomt-add): Index the hashtable with class objects rather than
3125 (eieio-generic-form): Accept class objects as well.
3127 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
3128 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
3129 (eieio-persistent-validate/fix-slot-value):
3130 Change `class' arg to be a class object. Update all callers.
3132 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3134 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
3135 additionally to class names.
3137 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
3138 (object): Remove first (constant) slot; rename second to `class-tag'.
3139 (eieio--object-class-object, eieio--object-class-name): New funs
3140 to replace eieio--object-class.
3141 (eieio--class-object, eieio--class-p): New functions.
3142 (same-class-fast-p): Make it a defsubst, change its implementation
3143 to check the class objects rather than their names.
3144 (eieio-object-p): Rewrite.
3145 (eieio-defclass): Adjust the object initialization according to the new
3147 (eieio--scoped-class): Declare it returns a class object (not a class
3148 name any more). Adjust calls accordingly (along with calls to
3149 eieio--with-scoped-class).
3150 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
3151 its class arg to be a class object. Adjust callers accordingly.
3152 (eieio-slot-originating-class-p): Make its start-class arg a class
3153 object. Adjust all callers.
3154 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
3155 Make its `class' arg a class object. Adjust all callers.
3157 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
3158 Use eieio--slot-name-index rather than eieio-slot-name-index.
3160 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3162 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
3164 (eieio-object-name): Use eieio-object-name-string.
3165 (eieio--object-names): New const.
3166 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
3167 using a hashtable rather than a built-in slot.
3168 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
3169 (clone): Don't mess with the object's "name".
3171 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
3172 (eieio-object-value-get): Use eieio-object-set-name-string.
3174 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
3175 (eieio--object): Remove `name' field.
3176 (eieio-defclass): Adjust to new convention where constructors don't
3177 take an "object name" any more.
3178 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
3179 (eieio-validate-slot-value, eieio-oset-default)
3180 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
3181 (eieio-generic-call-primary-only): Simplify.
3183 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
3184 Use call-next-method.
3185 (eieio-constructor): Rename from `constructor'.
3186 (eieio-persistent-convert-list-to-object): Drop objname.
3187 (eieio-persistent-validate/fix-slot-value): Don't hardcode
3188 eieio--object-num-slots.
3189 (eieio-named): Use a normal slot.
3190 (slot-missing) <eieio-named>: Remove.
3191 (eieio-object-name-string, eieio-object-set-name-string, clone)
3192 <eieio-named>: New methods.
3194 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3196 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
3197 (method-*): Add a "eieio--" prefix to those constants.
3199 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
3201 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
3203 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3205 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
3206 `eieio-default-superclass'.
3208 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
3210 * emacs-lisp/eieio-custom.el: Use lexical-binding.
3211 (eieio-object-value-to-abstract): Simplify.
3213 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
3214 (eieio-build-class-alist): Use dolist.
3215 (eieio-all-generic-functions): Adjust to use of hashtables.
3217 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
3218 symbol-hashtable. It contains a hashtable instead of an obarray.
3219 (generic-p): Use symbol property `eieio-method-hashtable' instead of
3220 `eieio-method-obarray'.
3221 (generic-primary-only-p, generic-primary-only-one-p):
3222 Slight optimization.
3223 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
3224 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
3225 (eieio-class-un-autoload): Use autoload-do-load.
3226 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
3227 Use new cl-deftype-satisfies. Adjust to use of hashtables.
3228 Don't hardcode the value of eieio--object-num-slots.
3229 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
3230 Use a closure rather than a backquoted lambda.
3231 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
3232 function-documentation property.
3233 (eieio-slot-originating-class-p, eieio-slot-name-index)
3234 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
3235 (eieio-generic-form): Adjust to use of hashtables.
3236 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
3237 additional class argument.
3238 (eieio-generic-call-methodname): Remove, unused.
3240 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
3243 2015-01-08 Eli Zaretskii <eliz@gnu.org>
3245 * simple.el (line-move-visual): When converting X pixel coordinate
3246 to temporary-goal-column, adjust the value for right-to-left
3247 screen lines. This fixes vertical-motion, next/prev-line, etc.
3249 2015-01-08 Glenn Morris <rgm@gnu.org>
3251 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
3253 2015-01-07 K. Handa <handa@gnu.org>
3255 * international/ccl.el (define-ccl-program): Improve the docstring.
3257 2015-01-06 Sam Steingold <sds@gnu.org>
3259 * shell.el (shell-display-buffer-actions): Remove,
3260 use `display-buffer-alist' instead.
3262 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
3264 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
3267 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
3269 * minibuffer.el (completion-category-defaults): New var.
3270 Set unicode-name to use substring completion.
3271 (completion-category-defaults): Set it to nil.
3273 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
3275 Add mouse interaction to xref.
3276 * progmodes/xref.el (xref--button-map): New variable.
3277 (xref--mouse-2): New command.
3278 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
3279 the inserted references.
3281 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
3283 Less 'make' chatter for lisp dir
3284 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
3285 to make it clearer that the caller must specify it.
3286 (compile-onefile): Remove, replacing by ...
3287 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
3288 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
3289 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3290 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3291 Use AM_V_GEN to lessen 'make' chatter.
3292 (.el.elc): Omit duplicate comment.
3294 Less 'make' chatter in batch mode
3295 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3296 * emacs-lisp/bytecomp.el (byte-compile-file):
3297 * files.el (save-buffer, basic-save-buffer):
3298 * international/quail.el (quail-update-leim-list-file):
3299 Don't output messages like "Generating ..." in batch mode.
3301 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
3303 Unbreak `mouse-action' property in text buttons.
3304 * button.el (push-button): Fix regression from 2012-12-06.
3306 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
3308 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
3310 * menu-bar.el (menu-bar-goto-menu): Use it.
3312 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
3314 * progmodes/xref.el (xref--window-configuration): New variable.
3315 (xref-show-location-at-point): New command.
3316 (xref--restore-window-configuration): New function.
3317 (xref-next-line, xref-prev-line): Delegate to
3318 `xref-show-location-at-point'.
3319 (xref--location-at-point): Don't signal the error.
3320 (xref-goto-xref): Do that here instead.
3321 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
3322 to `pre-command-hook'.
3323 (xref--xref-buffer-mode-map): Don't remap `next-line' and
3324 `previous-line'. Additionally bind `xref-next-line' and
3325 `xref-prev-line' to `n' and `p' respectively.
3326 Bind `xref-show-location-at-point' to `C-o'.
3328 2015-01-01 Eli Zaretskii <eliz@gnu.org>
3330 * tool-bar.el (tool-bar-local-item)
3331 (tool-bar-local-item-from-menu): Call force-mode-line-update to
3332 make sure the tool-bar changes show on display.
3334 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
3336 Sync with Tramp 2.2.11.
3338 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
3339 Make an alias for `default-toplevel-value' if it doesn't exist.
3341 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3342 Use `tramp-compat-delete-directory'.
3344 * net/trampver.el: Update release number.
3346 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
3348 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
3349 for remote files. (Bug#19449)
3351 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
3353 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
3355 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
3357 Less 'make' chatter in lisp directory
3358 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
3359 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
3360 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
3362 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
3364 * info.el (info-display-manual): Limit the completion alternatives
3365 to currently visited manuals if prefix argument is non-nil.
3367 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
3369 * Makefile.in (semantic): Simplify.
3371 2014-12-30 Juri Linkov <juri@linkov.net>
3373 * net/eww.el (eww-isearch-next-buffer): New function.
3374 (eww-mode): Set multi-isearch-next-buffer-function to it.
3376 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
3378 * progmodes/xref.el (xref-find-definitions): Mention "no
3379 identifier at point" case in the docstring.
3381 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
3382 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
3383 and `separator-tag-file' items.
3385 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
3387 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
3388 This is instead of system-name, which is both wrong here and obsolete.
3389 * desktop.el (desktop-save-frameset):
3390 * dnd.el (dnd-get-local-file-uri):
3391 * nxml/rng-uri.el (rng-uri-file-name-1):
3392 Prefer (system-name) to system-name, and avoid naming
3393 locals 'system-name'.
3394 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
3396 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3398 * menu-bar.el (menu-bar-next-tag-other-window)
3399 (menu-bar-next-tag): Remove.
3401 2014-12-29 K. Handa <handa@gnu.org>
3403 * international/mule.el (make-translation-table-from-alist):
3404 Accept nil or zero-length vector for FROM and TO.
3406 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
3408 * net/eww.el (eww-mode): Truncate overlong lines for prettier
3409 display when resizing.
3411 * net/shr.el (shr-width): Default to using the window width when
3414 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3416 Unbreak jumping to an alias's definition.
3417 * emacs-lisp/find-func.el (find-function-library): Return a pair
3418 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
3419 (find-function-noselect): Use it.
3420 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
3421 `elisp--xref-identifier-location', incorporate logic from
3422 `elisp--xref-find-definitions', use the changed
3423 `find-function-library' return value.
3425 2014-12-29 Juri Linkov <juri@linkov.net>
3427 * comint.el (comint-history-isearch-message): Use field-beginning
3428 instead of comint-line-beginning-position - that's more fixes for
3429 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
3430 (comint-history-isearch-message): Fix args of isearch-message-prefix.
3432 2014-12-29 Juri Linkov <juri@linkov.net>
3434 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
3435 (vc-dir-mode-map): Bind it to "\C-o".
3436 (vc-dir-menu-map): Add it to menu.
3438 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3440 * progmodes/etags.el (find-tag-other-window)
3441 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
3442 (tags-apropos): Declare obsolete.
3444 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
3447 2014-12-28 Eli Zaretskii <eliz@gnu.org>
3449 * international/mule.el (define-coding-system): Fix typos in the
3452 2014-12-28 Kenichi Handa <handa@gnu.org>
3454 * international/mule.el (define-coding-system): Improve the doc
3457 2014-12-28 Ivan Shmakov <ivan@siamics.net>
3459 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
3460 elements in tables (bug#19444).
3462 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
3465 2014-12-28 Juri Linkov <juri@linkov.net>
3467 * vc/compare-w.el: Require diff-mode for diff faces.
3468 (compare-windows-removed, compare-windows-added): New faces
3469 inheriting from diff faces.
3470 (compare-windows): Define obsolete face alias.
3471 (compare-windows-highlight): Replace face `compare-windows' with
3472 new faces `compare-windows-added' and `compare-windows-removed'
3474 (compare-windows-get-recent-window): Signal an error when
3475 no other window is found (bug#19170).
3477 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3479 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
3480 Skip features that have no sources.
3482 * simple.el (execute-extended-command):
3483 When `suggest-key-bindings' is nil, don't.
3485 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3487 python.el: Native readline completion.
3488 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
3489 (python-shell-completion-native-enable)
3490 (python-shell-completion-native-output-timeout): New defcustoms.
3491 (python-shell-completion-native-interpreter-disabled-p)
3492 (python-shell-completion-native-try)
3493 (python-shell-completion-native-setup)
3494 (python-shell-completion-native-turn-off)
3495 (python-shell-completion-native-turn-on)
3496 (python-shell-completion-native-turn-on-maybe)
3497 (python-shell-completion-native-turn-on-maybe-with-msg)
3498 (python-shell-completion-native-toggle): New functions.
3499 (python-shell-completion-native-get-completions): New function.
3500 (python-shell-completion-at-point): Use it.
3502 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3504 python.el: Enhance shell user interaction and deprecate
3505 python-shell-get-or-create-process.
3506 * progmodes/python.el (python-shell-get-process-or-error):
3508 (python-shell-with-shell-buffer): Use it.
3509 (python-shell-send-string, python-shell-send-region)
3510 (python-shell-send-buffer, python-shell-send-defun)
3511 (python-shell-send-file, python-shell-switch-to-shell): Use it.
3512 Add argument MSG to display user-friendly message when no process
3514 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
3515 (python-shell-make-comint): Rename argument SHOW from POP.
3516 Use display-buffer instead of pop-to-buffer.
3517 (run-python): Doc fix. Return process.
3518 (python-shell-get-or-create-process): Make obsolete.
3520 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3522 * progmodes/python.el (python-shell-buffer-substring):
3523 Handle cornercase when region sent starts at point-min.
3525 2014-12-27 Eli Zaretskii <eliz@gnu.org>
3527 * language/misc-lang.el (composition-function-table): Add Syriac
3528 characters and also ZWJ/ZWNJ.
3529 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
3532 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3534 python.el: Fix message when sending region.
3535 * progmodes/python.el (python-shell-send-region): Rename argument
3536 send-main from nomain. Fix message.
3537 (python-shell-send-buffer): Rename argument send-main from arg.
3539 python.el: Cleanup temp files even with eval errors.
3540 * progmodes/python.el (python-shell-send-file): Make file-name
3541 mandatory. Fix temp file removal in the majority of cases.
3543 python.el: Handle file encoding for shell.
3544 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
3545 (python-shell--save-temp-file): Write file with proper encoding.
3546 (python-shell-buffer-substring): Add coding cookie for detected
3547 encoding to generated content. Fix blank lines when removing
3549 (python-shell-send-file): Handle file encoding.
3550 (python-info-encoding-from-cookie)
3551 (python-info-encoding): New functions.
3553 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3555 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3556 Use `tramp-rsh-end-of-line', it ought to be more robust.
3558 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3560 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
3563 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3565 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
3567 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
3568 as end-of-line delimeter for passwords, when running on MS Windows.
3570 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3572 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
3573 of indent-line-function (bug#19433).
3575 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3577 Fix line numbers on Python shell.
3578 * progmodes/python.el (python-shell--save-temp-file): Do not
3579 append coding cookie.
3580 (python-shell-send-string): Generalize for
3581 python-shell-send-region.
3582 (python--use-fake-loc): Delete var.
3583 (python-shell-buffer-substring): Cleanup fake-loc logic.
3584 (python-shell-send-region): Remove fake-loc logic, simplify.
3586 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3588 * progmodes/python.el (python-indent-post-self-insert-function):
3589 Make colon to re-indent only for dedenters, handling
3590 multiline-statements gracefully.
3592 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3594 * net/tramp.el (tramp-handle-insert-file-contents):
3595 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
3597 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3599 * net/tramp-sh.el (tramp-send-command-and-read): New optional
3601 (tramp-get-remote-path): Use it.
3603 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3605 * subr.el (redisplay-dont-pause): Mark as obsolete.
3607 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3609 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
3610 (tramp-accept-process-output): Use nil as argument for
3611 `accept-process-output', when there is a gateway prepended.
3613 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
3615 (tramp-gw-open-connection): Set process coding system 'binary.
3616 (tramp-gw-open-network-stream): Handle HTTP error 403.
3618 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
3620 (tramp-maybe-open-connection): Set connection property "gateway".
3622 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3624 * subr.el (sit-for): Tweak docstring (bug#19381).
3626 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3628 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
3629 stage to after `diff-index' (bug#19386).
3631 2014-12-27 João Távora <joaotavora@gmail.com>
3633 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
3634 `electric-pair-mode' (bug#19356).
3636 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3638 elisp-xref-find: Don't create buffers eagerly.
3640 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
3641 into `elisp--company-location'.
3642 (elisp--identifier-completion-table): Rename to
3643 `elisp--identifier-completion-table', and do not include just any
3644 symbols with a property list.
3645 (elisp-completion-at-point): Revert the 2014-12-25 change.
3646 (elisp--xref-identifier-file): New function.
3647 (elisp--xref-find-definitions): Use it.
3649 * emacs-lisp/find-func.el (find-function-library): New function,
3650 extracted from `find-function-noselect'.
3652 * progmodes/xref.el (xref-elisp-location): New class.
3653 (xref-make-elisp-location): New function.
3654 (xref-location-marker): New implementation.
3656 2014-12-27 Juri Linkov <juri@linkov.net>
3658 * minibuffer.el (minibuffer-completion-help):
3659 Use shrink-window-if-larger-than-buffer in window-height
3660 when temp-buffer-resize-mode is nil.
3662 * window.el (with-displayed-buffer-window): Remove window-height
3663 from the action alist in the temp-buffer-window-show call
3664 when window-height is handled explicitly afterwards (bug#19355).
3666 2014-12-27 Juri Linkov <juri@linkov.net>
3668 Support subdirectories when saving places in dired.
3669 * saveplace.el (toggle-save-place, save-place-to-alist)
3670 (save-places-to-alist, save-place-dired-hook):
3671 Use dired-current-directory instead of dired-directory (bug#19436).
3672 (save-place-dired-hook): Add check for alist to make the new
3673 format future-proof to allow other possible formats.
3675 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3677 python.el: Generate clearer shell buffer names.
3678 * progmodes/python.el (python-shell-get-process-name)
3679 (python-shell-internal-get-process-name): Use `buffer-name`.
3680 (python-shell-internal-get-or-create-process): Simplify.
3682 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
3684 Add basic xref apropos implementation to elisp-mode.
3686 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
3687 Filter out nil results.
3688 (elisp--xref-find-apropos): New function.
3689 (elisp-xref-find): Use it.
3691 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
3693 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
3695 * dired-aux.el (dired-maybe-insert-subdir):
3696 Make dired-maybe-insert-subdir always skip trivial files.
3698 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
3699 Dmitry Gutov <dgutov@yandex.ru>
3701 Consolidate cross-referencing commands.
3703 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
3704 `C-x 5 .' from etags.el to xref.el.
3706 * progmodes/xref.el: New file.
3708 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
3709 (elisp--identifier-location): New function, extracted from
3710 `elisp--company-location'.
3711 (elisp--company-location): Use it.
3712 (elisp--identifier-completion-table): New variable.
3713 (elisp-completion-at-point): Use it.
3714 (emacs-lisp-mode): Set the local values of `xref-find-function'
3715 and `xref-identifier-completion-table-function'.
3716 (elisp-xref-find, elisp--xref-find-definitions)
3717 (elisp--xref-identifier-completion-table): New functions.
3719 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
3720 favor of `xref--marker-ring'.
3721 (tags-lazy-completion-table): Autoload.
3722 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
3723 (find-tag-noselect): Use `xref-push-marker-stack'.
3724 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
3725 (etags--xref-limit): New constant.
3726 (etags-xref-find, etags--xref-find-definitions): New functions.
3728 2014-12-25 Martin Rudalics <rudalics@gmx.at>
3730 * cus-start.el (resize-mini-windows): Make it customizable.
3732 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
3734 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
3735 to (info "(emacs)Contributing"). (Bug#19299)
3737 2014-12-24 Martin Rudalics <rudalics@gmx.at>
3739 * window.el (mouse-autoselect-window-position-1): New variable.
3740 (mouse-autoselect-window-cancel)
3741 (mouse-autoselect-window-select, handle-select-window):
3742 With delayed autoselection select window only if mouse moves after
3743 selecting its frame.
3745 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
3747 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
3748 remote file names. (Bug#18782)
3750 2014-12-23 Sam Steingold <sds@gnu.org>
3752 * shell.el (shell-display-buffer-actions): New user option.
3753 (shell): Pass it to `pop-to-buffer' instead of hard-coding
3754 `pop-to-buffer-same-window'.
3756 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
3758 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
3759 (js-syntax-propertize-regexp): Use it to recognize "slash in
3760 a character class" (bug#19397).
3762 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3764 * completion.el: Use post-self-insert-hook (bug#19400).
3765 (completion-separator-self-insert-command)
3766 (completion-separator-self-insert-autofilling): Remove.
3767 (completion-separator-chars): New var.
3768 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
3769 of changing the keymap.
3770 (completion--post-self-insert): New function.
3771 (dynamic-completion-mode): Use it instead of rebinding keys.
3772 (cmpl--completion-string): Rename from completion-string.
3773 (add-completion-to-head, delete-completion): Let-bind it explicitly.
3775 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
3777 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
3778 by leveraging `syntax-ppss'.
3780 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
3782 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
3784 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
3786 * net/tramp-sh.el (tramp-histfile-override): Add :version.
3788 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
3790 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
3792 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
3794 * let-alist.el (let-alist): Enable access to deeper alists by
3795 using dots inside the dotted symbols.
3797 2014-12-19 Alan Mackenzie <acm@muc.de>
3799 Make C++11 uniform init syntax work.
3800 New keywords "final" and "override".
3801 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
3803 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
3805 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
3806 carefully for "are we at a declarator?" using
3807 c-back-over-member-initializers.
3808 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
3809 and "override" in the C++ value.
3811 2014-12-19 Martin Rudalics <rudalics@gmx.at>
3813 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
3815 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
3817 * net/nsm.el (nsm-save-host): Don't save the host name twice
3820 2014-12-18 Sam Steingold <sds@gnu.org>
3822 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
3823 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
3824 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
3825 * menu-bar.el (menu-bar-buffer-vector): Extract from
3826 `menu-bar-update-buffers'.
3827 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
3828 (buffer-menu-open): New user command, bound globally to C-f10,
3829 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
3830 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
3831 convert the value returned by `mouse-buffer-menu-map' to a list
3832 acceptable to `popup-menu' for `buffer-menu-open'.
3834 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
3836 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
3838 2014-12-18 Sam Steingold <sds@gnu.org>
3840 * emacs-lisp/package.el: Avoid compilation warning by declaring
3841 the `find-library-name' function.
3842 (package-activate-1): Fix the `with-demoted-errors' calls:
3843 the first argument must be a string literal.
3845 2014-12-18 Martin Rudalics <rudalics@gmx.at>
3847 Add code for "preserving" window sizes.
3848 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
3850 (dired-mark-pop-up): Preserve size of window showing marked files.
3851 * electric.el (Electric-pop-up-window):
3852 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
3853 with `preserve-size' t.
3854 * minibuffer.el (minibuffer-completion-help):
3855 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
3856 (Bug#19355). Preserve size of completions window.
3857 * register.el (register-preview): Preserve size of register
3859 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
3860 with `preserve-size' t (Bug#1291).
3861 * window.el (with-displayed-buffer-window): Add calls to
3862 `window-preserve-size'.
3863 (window-min-pixel-size, window--preservable-size)
3864 (window-preserve-size, window-preserved-size)
3865 (window--preserve-size, window--min-size-ignore-p): New functions.
3866 (window-min-size, window-min-delta, window--resizable)
3867 (window--resize-this-window, split-window-below)
3868 (split-window-right): Amend doc-string.
3869 (window--min-size-1, window-sizable, window--size-fixed-1)
3870 (window-size-fixed-p, window--min-delta-1)
3871 (frame-windows-min-size, window--max-delta-1, window-resize)
3872 (window--resize-child-windows, window--resize-siblings)
3873 (enlarge-window, shrink-window, split-window): Handle preserving
3875 (adjust-window-trailing-edge): Handle preserving window
3876 sizes. Signal user-error instead of an error when there's no
3877 window above or below.
3878 (window--state-put-2): Handle horizontal scroll bars.
3879 (window--display-buffer): Call `preserve-size' if asked for.
3880 (display-buffer): Mention `preserve-size' alist member in doc-string.
3881 (fit-window-to-buffer): New argument PRESERVE-SIZE.
3882 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
3883 scroll bar on ispell's windows. Don't count window lines and
3884 don't deal with dedicated windows.
3885 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
3886 do the window handling.
3887 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
3888 (ispell-display-buffer): New function to reuse, create and fit
3889 window to ispell's buffers. (Bug#3413)
3891 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3893 * emacs-lisp/package.el (package-activate): Do not re-activate or
3894 reload the dependencies (bug#19390).
3896 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
3898 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
3899 (c-update-modeline):
3900 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
3901 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
3902 (c-mode-base-map): Use c-subword-mode.
3904 2014-12-18 Eli Zaretskii <eliz@gnu.org>
3906 * international/mule-diag.el (describe-font-internal):
3907 Display additional info returned by font-info.
3909 * linum.el (linum--face-width): Rename from linum--face-height,
3910 and use the new functionality of font-info.
3911 (linum-update-window): Use linum--face-width and frame-char-width,
3912 instead of approximating with height.
3914 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
3916 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
3917 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
3919 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
3921 (package-activate): Call itself on dependencies on PACKAGE with
3922 the same FORCE argument. Pass FORCE as RELOAD into
3923 `package-activate-1' (bug#19390).
3925 2014-12-17 Sam Steingold <sds@gnu.org>
3927 * emacs-lisp/package.el (package--list-loaded-files):
3928 Handle `(nil ...)' elements in `load-history'.
3930 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
3932 * net/tramp-sh.el (tramp-histfile-override): New variable.
3933 (tramp-open-shell, tramp-maybe-open-connection): Use it.
3935 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
3937 * vc/vc.el: Improve `dir-status-files' description.
3939 * emacs-lisp/package.el (package--list-loaded-files): Don't call
3940 file-truename on load-history elements (bug#19390).
3942 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
3944 * emacs-lisp/seq.el: New file.
3946 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
3948 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
3949 is 0 and there is no input pending.
3951 2014-12-15 Juri Linkov <juri@linkov.net>
3953 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
3954 only on the return value (bug#19383).
3956 2014-12-15 Juri Linkov <juri@linkov.net>
3958 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
3959 the wrapped search by the length of the search string to be able
3960 to lazy-highlight the whole search string at point (bug#19353).
3962 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3964 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
3966 2014-12-14 Alan Mackenzie <acm@muc.de>
3968 * cus-start.el (all): Add fast-but-imprecise-scrolling.
3970 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
3972 * let-alist.el: Add lexical binding.
3974 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
3976 * emacs-lisp/package.el (package-menu-mode): Use an extra column
3977 for the "Version" column, to accomodate date-and-time-based versions.
3979 2014-12-14 Cameron Desautels <camdez@gmail.com>
3981 * cus-edit.el (custom-unsaved-options): New function, extracted
3982 from `customize-unsaved'.
3983 (custom-unsaved): Use it.
3984 (custom-prompt-customize-unsaved-options): New function.
3987 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3989 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
3991 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
3993 Move ASYNC argument to the `diff' VC command to the fifth
3994 position, for better compatibility with existing third-party code,
3997 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
3998 backend `diff' command in the last position.
4000 * vc/vc-svn.el (vc-svn-diff):
4001 * vc/vc-src.el (vc-src-diff):
4002 * vc/vc-sccs.el (vc-sccs-diff):
4003 * vc/vc-rcs.el (vc-rcs-diff):
4004 * vc/vc-mtn.el (vc-mtn-diff):
4005 * vc/vc-hg.el (vc-hg-diff):
4006 * vc/vc-git.el (vc-git-diff):
4007 * vc/vc-dav.el (vc-dav-diff):
4008 * vc/vc-cvs.el (vc-cvs-diff):
4009 * vc/vc-bzr.el (vc-bzr-diff):
4010 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
4012 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
4014 * emacs-lisp/cconv.el (cconv--analyze-use):
4015 Rename from cconv--analyse-use.
4016 (cconv--analyze-function): Rename from cconv--analyse-function.
4017 (cconv-analyze-form): Rename from cconv-analyse-form.
4019 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
4021 * net/shr.el (shr-next-link): Don't error out at eob.
4023 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4025 * isearch.el (isearch-open-necessary-overlays): Open overlay
4026 ending at point (bug#19333).
4028 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4030 * net/shr.el (shr-fold-text): New function.
4031 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
4033 (shr-fold-text): Inhibit state from being altered.
4035 * files.el (directory-files-recursively): Really check whether
4037 (directory-name-p): New function.
4038 (directory-files-recursively): Use it.
4040 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
4042 * emacs-lisp/package.el (package--list-loaded-files): New function
4043 to list files in a given directory which correspond to already
4045 (package-activate-1): Reload files given by `package--list-loaded-files'.
4046 Fix bug#10125, bug#18443, and bug#18448.
4048 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
4050 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
4052 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
4054 * simple.el (password-word-equivalents): Add "passcode", used for
4055 numeric secrets like PINs or RSA tokens.
4057 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
4059 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
4060 order to determine `tramp-own-remote-path'.
4062 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4064 * progmodes/python.el (python-shell-parse-command):
4065 Quote `python-shell-interpreter`. (Bug#19289)
4067 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4069 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
4070 (python-indent-levels): Document extra value.
4071 (python-indent-calculate-indentation): Return `noindent' in strings.
4072 (python-indent-post-self-insert-function)
4073 (python-indent-calculate-levels): Handle new value.
4075 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4077 * net/network-stream.el (network-stream-open-starttls): No need to
4078 check for the availability of `gnutls-available-p'.
4080 * files.el (directory-files-recursively): Don't follow symlinks to
4083 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
4085 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
4086 * vc/vc.el: latest-on-branch-p is no longer a public method.
4088 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
4089 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
4090 Remove `rollback' method, to be replaced in the future by uncommit.
4092 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
4094 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
4095 that there is empty output.
4097 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4099 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
4100 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
4102 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
4104 * let-alist.el: Add new package and macro.
4106 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
4108 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
4109 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
4110 it's a shoot-self-in-foot archaism. Workfiles are always kept.
4112 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
4114 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
4115 trouble with ls over ftp. These flags result in ls returning no
4116 output, causing Tramp-breakage. (bug#19192)
4118 2014-12-10 Andreas Schwab <schwab@suse.de>
4120 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
4122 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4124 * files.el (directory-files-recursively):
4125 Use `file-name-all-completions' instead of `directory-files' for
4128 * net/shr.el (shr-tag-object): Don't bug out on text elements in
4131 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
4133 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
4135 (ruby-toggle-string-quotes): New command that allows you to quickly
4136 toggle between single-quoted and double-quoted string literals.
4138 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
4140 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
4141 list, avoids problems witt names containing hyphens.
4143 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
4145 Sync with upstream verilog-mode revision aa4b777.
4146 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4147 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
4148 (verilog-set-auto-endcomments): Automatically comment property/
4149 endproperty blocks to match other similar blocks like sequence/
4150 endsequence, function/endfunction, etc. Reported by Alex Reed.
4151 (verilog-set-auto-endcomments): Fix end comments for functions of
4152 type void, etc. Detect the function- or task-name when
4153 auto-commenting blocks that lack an explicit portlist.
4154 Reported by Alex Reed.
4155 (verilog-nameable-item-re): Fix nameable items that can have an
4156 end-identifier to include endchecker, endgroup, endprogram,
4157 endproperty, and endsequence. Reported by Alex Reed.
4158 (verilog-preprocessor-re, verilog-beg-of-statement):
4159 Fix indentation of property/endproperty around pre-processor
4160 directives. Reported by Alex Reed.
4161 (verilog-label-be): When auto-commenting a buffer, consider
4162 auto-comments on all known keywords (not just a subset thereof).
4163 Reported by Alex Reed.
4164 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
4165 Reported by Alex Reed.
4166 (verilog-beg-of-statement-1, verilog-at-constraint-p):
4167 Fix hanging with many curly-bracket pairs, bug663.
4168 (verilog-do-indent): Fix electric tab deleting form-feeds.
4169 Note caused by indent-line-to deleting tabls pre 24.5.
4170 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
4171 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
4172 (verilog-read-always-signals, verilog-auto-sense-sigs)
4173 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
4174 bug844. Reported by Greg Hilton.
4176 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
4178 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
4179 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
4180 'foreach', and 'do' keywords.
4181 (verilog-endcomment-reason-re, verilog-beg-of-statement):
4182 Fix labeling do-while blocks, bug842.
4183 (verilog-backward-token): Fix indenting sensitivity lists with
4184 named events, bug840.
4186 2014-12-09 Reto Zimmermann <reto@gnu.org>
4188 Sync with upstream vhdl mode v3.36.1.
4189 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4190 (vhdl-compiler-alist): Anchor all error regexps.
4191 (vhdl-compile-use-local-error-regexp): Change default to nil.
4192 (vhdl-asort, vhdl-anot-head-p): Remove.
4193 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
4194 Remove optional argument of vhdl-aget and update all callers.
4195 (vhdl-import-project): Also set `vhdl-compiler'.
4197 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4199 * files.el (find-files): New function.
4201 * net/shr.el (shr-dom-print): Don't print comments.
4202 (shr-tag-svg): Give inline SVG images the right type.
4204 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
4205 certificates in the header line.
4206 (eww-invalid-certificate, eww-valid-certificate): New faces.
4208 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
4210 * progmodes/python.el (inferior-python-mode):
4211 Set `comint-prompt-read-only` to `t` only locally.
4213 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4215 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
4216 (nsm-format-certificate): Include more data about the connection.
4217 (nsm-query): Fill the text to that it looks nicer.
4218 (nsm-check-protocol): Also warn if using SSL3 or older.
4220 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4222 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
4224 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
4226 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
4228 * info.el (Info-mode-map): Remove left-over binding.
4230 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
4231 (avl-tree--root): Remove redundant defsetf.
4233 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4235 * net/nsm.el (network-security-level): Remove the detailed
4236 description, which was already outdated, and refer the users to
4238 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
4241 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
4243 * net/eww.el (eww-buffers-mode): New major mode.
4244 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
4245 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
4246 New commands/functions (bug#19131).
4248 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4250 * net/gnutls.el (gnutls-negotiate): Ignore files found via
4251 'file-name-handler-alist' since the gnutls library can't use those
4254 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
4256 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
4257 when FILES is non-nil (bug#19304).
4259 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
4261 * vc/vc-arch.el: Move to obsolete directory so a test framework
4262 won't trip over bit-rot in it. There has been no Arch snapshot
4265 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4267 * net/eww.el (eww-follow-link): Revert prefix behaviour to
4269 (eww-copy-page-url): Add doc string.
4271 2014-12-07 Ivan Shmakov <ivan@siamics.net>
4273 * net/eww.el (eww): Move history recording here...
4274 (eww-browse-url): ... from here (bug#19253).
4276 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
4277 iterating over possible buffer names.)
4279 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4281 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
4282 (eww-current-buffer): Compilation fix for bug#18550 patch.
4284 2014-12-07 Ivan Shmakov <ivan@siamics.net>
4286 * net/eww.el (eww-list-histories): Restore the history in the
4287 correct buffer (bug#18550).
4289 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4291 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
4292 displaying shortened titles first (bug#16398).
4294 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
4296 * progmodes/python.el: Recognize docstrings.
4297 (python-docstring-at-p, python-font-lock-syntactic-face-function):
4299 (python-mode): Use them.
4301 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
4303 * net/newst-treeview.el (newsticker--treeview-list-add-item)
4304 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
4305 (newsticker--treeview-create-groups-menu)
4306 (newsticker--treeview-create-tree-menu): Remove.
4307 (newsticker--treeview-tree-open-menu): New.
4308 (newsticker-treeview-tree-click): Pass event to
4309 `newsticker-treeview-tree-do-click'.
4310 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
4312 2014-12-05 Juri Linkov <juri@linkov.net>
4314 * comint.el (comint-history-isearch-search)
4315 (comint-history-isearch-wrap): Use field-beginning instead of
4316 comint-line-beginning-position.
4317 (comint-send-input): Go to the end of the field instead of the end
4318 of the line to accept whole multi-line input.
4319 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
4321 2014-12-05 Juri Linkov <juri@linkov.net>
4323 * minibuffer.el (minibuffer-completion-help):
4324 Compare selected-window with minibuffer-window to check whether
4325 completions should be displayed near the minibuffer. (Bug#17809)
4326 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
4328 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
4330 * vc/vc-mtn.el (vc-mtn-root):
4331 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
4333 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4335 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
4336 of the whole pipe when indenting an opening keyword after a |.
4337 Generalize this treatment to opening keywords like "while" (bug#18031).
4339 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4341 * simple.el (newline): Place the hook buffer-locally,
4342 to make sure it's first.
4344 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
4345 Fix handling of symbols with different syntax at beginning/end or with
4346 symbol rather than word syntax.
4348 2014-12-05 Eli Zaretskii <eliz@gnu.org>
4350 * simple.el (line-move): If noninteractive, call line-move-1, not
4351 forward-line, since the former is compatible with line-move-visual
4352 both in terms of the column to which it moves and the return
4355 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4357 * vc/ediff-init.el (ediff-odd-p): Remove.
4358 (ediff-background-face): Use cl-oddp instead.
4359 (ediff-buffer-live-p): Make it a defsubst.
4361 * tooltip.el (tooltip-region-active-p): Remove.
4363 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
4364 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
4366 * fringe.el (fringe-bitmap-p): Make it a plain function.
4368 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
4369 (class-p, generic-p, eieio-object-p, class-abstract-p):
4370 Make them defsubst, so as to avoid corner case problems where
4371 the arg might be evaluated in the condition-case, or it can't be passed
4372 to higher-order functions like `cl-some'.
4374 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4376 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
4377 and remove old menu-related code.
4379 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4381 * net/eww.el (eww-display-pdf): Let mailcap determine how to
4382 display PDF files (bug#19270).
4384 2014-12-05 Juri Linkov <juri@linkov.net>
4386 Compare with the most recent window by default.
4387 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
4388 (compare-windows-get-recent-window)
4389 (compare-windows-get-next-window): New functions.
4390 (compare-windows, compare-windows-sync-default-function):
4391 Use `compare-windows-get-window-function' instead of `next-window'.
4392 (compare-windows): Add diff/match messages with region boundaries.
4395 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4397 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
4399 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4401 * net/shr.el (shr--extract-best-source): Ignore non-text children.
4403 2014-12-04 Eli Zaretskii <eliz@gnu.org>
4405 Implement copying of a buffer portion while preserving visual order.
4406 * simple.el (bidi-directional-controls-chars)
4407 (bidi-directional-non-controls-chars): New variables.
4408 (squeeze-bidi-context-1, squeeze-bidi-context)
4409 (line-substring-with-bidi-context)
4410 (buffer-substring-with-bidi-context): New functions.
4412 * files.el (file-tree-walk): Doc fix.
4414 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
4415 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4417 * autoinsert.el (auto-insert-alist): Update C/C++ header and
4418 program support to match more extensions. Replace non-alnum
4419 characters when generating include guards (headers) and check for
4420 more extensions when generating includes (programs)
4423 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
4425 * files.el (file-tree-walk): Fix docstring.
4427 2014-12-03 Karl Fogel <kfogel@red-bean.com>
4429 Fix bug whereby saving files hung in VC hook.
4431 Saving a buffer visiting a file under SVN control would hang if
4432 the remote repository were unreachable, because the VC hooks tried
4433 to run "svn status -u" on the file, where the "-u" tells svn to
4434 get update information from the remote repository.
4435 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
4437 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
4438 argument and always pass "-v" to "svn status", never "-u".
4440 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4442 * emacs-lisp/inline.el: Fix up copyright header.
4443 (inline-quote, inline-const-p, inline-const-val, inline-error):
4444 Silence compiler warnings.
4445 (inline-letevals): Fix edebug spec.
4446 (inline--testconst-p): Consider lambda expressions as const-p.
4447 (inline--getconst-val): Use inline--testconst-p.
4449 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
4450 and change default to stay in the minibuffer when called from
4451 the minibuffer (bug#19250).
4452 (lazy-completion-table): Use this new argument to preserve the
4455 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
4456 incorrect lexical elements (bug#19250).
4458 2014-12-03 A. N. Other <none@example.com>
4460 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
4462 2014-12-02 Glenn Morris <rgm@gnu.org>
4464 * whitespace.el (whitespace-big-indent-regexp): Add :version.
4466 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
4468 * subr.el (filter): New macro. Because it's just silly for a Lisp
4469 not to have this in 2014. And VC needs it.
4471 * vc.el: All backends: API simplification: Abolish dir-status.
4472 It's replaced by dir-status-files.
4474 * vc.el: All backends: API simplification: Remove 4th
4475 'default-state' argument from vc-dir-status files and its backend
4476 methods - no backend method ever set it. It was used only in the
4477 fallback method to to set a default of 'up-to-date, though a
4478 convoluted call chain obscured this.
4480 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
4482 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
4483 improving behavior on directories using multiple file-oriented VCSes.
4485 * vc/vc.el: All backends: API simplification; clear-headers
4486 is no longer a public method. It is now local to the one place
4487 it's used, in the RCS steal-lock method.
4489 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4491 * vc/vc.el: In all backends: API simplification; could-register
4492 is no longer a public method. (vc-cvs.el still has a private
4495 * vc/vc.el: In all backends: API cleanup; the backend diff method
4496 takes an explicit async flag. This eliminates a particularly ugly
4499 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
4500 VC randomly/unpredictably fails without it; cause not yet established.
4502 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4504 Merge some of the differences from the standalone CC-mode.
4505 The main change is to only use the `category' text-property only when
4506 available. For that many calls are changed to use c-get-char-property,
4507 c-next-single-property-change, c-sc-scan-lists,
4508 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
4510 * progmodes/cc-mode.el (c-just-done-before-change): New var.
4511 (c-basic-common-init): Initialize it.
4512 (c-common-init): Only use mode-require-final-newline when available.
4513 (c-before-change): Check and set c-just-done-before-change.
4514 (c-after-change): Re-set c-just-done-before-change.
4515 (c-advise-fl-for-region): New macro.
4516 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
4517 (font-lock-after-change-function, jit-lock-after-change):
4520 * progmodes/cc-langs.el (c-modified-constant): New lang var.
4521 (c-known-type-key): Don't make a list just to throw it away.
4523 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
4524 Handle the case where categories are not available.
4525 (c-record-parse-state-state, c-replay-parse-state-state):
4526 Handle marker values.
4527 (c-before-change-check-<>-operators): Look for the `syntax-table'
4528 property rather than for the corresponding `category'.
4529 (c-looking-at-decl-block): Remove unused var
4530 `c-disallow-comma-in-<>-arglists'.
4531 (c-forward-<>-arglist-recur): Remove unused var
4532 `orig-record-found-types'.
4534 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
4535 (c-use-category): New const.
4536 (c-next-single-property-change): New macro.
4537 (c-region-is-active-p): Prefer region-active-p when available.
4538 (c-search-backward-char-property): Fix old min/max typo; probably
4540 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
4541 Turn them into macros that obey c-use-category.
4542 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
4543 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
4544 (c-sc-scan-lists, c-sc-parse-partial-sexp)
4545 (c-looking-at-non-alphnumspace): New macros.
4546 (c-sc-parse-partial-sexp-no-category): New function.
4547 (c-emacs-features): Add `category-properties' element.
4549 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
4550 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
4552 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
4553 (c-indent-line-or-region): Use c-region-is-active-p.
4555 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
4556 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
4557 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
4558 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
4559 (cc-bytecomp-obsolete-fun): Delete unused functions.
4561 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
4563 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4565 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
4568 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4570 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
4571 current "project" rather than just the current directory.
4572 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
4573 the file names make sense.
4575 * vc/smerge-mode.el (smerge-swap): New command.
4577 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
4579 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
4581 * net/newst-treeview.el (newsticker--treeview-item-show):
4582 Check window liveliness before measuring its width.
4584 * net/newst-backend.el (newsticker--get-news-by-url-callback):
4585 Pass correct status to `newsticker--sentinel-work'.
4586 (newsticker--sentinel-work): Use "newsticker--download-error" as
4587 guid in order to prevent multiple "Could not download..."
4588 messages. (Bug#19166)
4590 2014-12-01 Ivan Shmakov <ivan@siamics.net>
4592 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
4593 correct buffer (bug#19225).
4595 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4597 * net/nsm.el (network-security-level): Change the default to `medium'.
4599 * net/eww.el (eww): Leave point in a place that doesn't cause
4600 scrolling when displaying "Loading...".
4602 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4604 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
4605 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
4606 'merge-branch'. Prompting for merge revisions is pushed down to
4607 the back ends; this fixes a layering violation that caused bad
4610 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4611 vc-stay-local-p and repository-hostname are no longer public
4612 methods. Only the CVS and SVN backends used these, and the SVN
4613 support was conditioned out because svn status -v is too slow.
4614 The CVS back end retains this machinery and the vc-stay-local
4615 configuration variable now only affects it.
4617 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4619 * emacs-lisp/inline.el: New file.
4621 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4623 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4624 vc-state-heuristic is no longer a public method, having been
4625 removed where it is redundant, unnecessary, or known buggy.
4626 This eliminated all backends except CVS. Eliminates bug#7850.
4628 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
4629 Eliminate vc-mistrust-permissions. It was only relevant to the
4630 RCS and SCCS back ends and defaulted to t. Code now always
4631 mistrusts permissions - by actual measurement the effect on
4632 performance is negligible. As a side effect bug#11490 is now
4635 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4636 vc-workfile-unchanged-p is no longer a public method (but the RCS
4637 and SCCS back ends retain it as a private method used in state
4638 computation). This method was redundant with vc-state and usually
4639 implemented as a trivial call to same. Fixes the failure mode
4640 described in bug#694.
4642 * vc/vc.el: All backends: API simplification; init-revision is
4643 gone, and vc-registered functions no longer take an
4644 initial-revision argument.
4646 2014-11-29 Glenn Morris <rgm@gnu.org>
4648 * vc/vc-src.el (vc-src, vc-src-diff-switches)
4649 (vc-src-master-templates): Fix :version tags.
4651 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
4653 * outline.el (outline-move-subtree-down): Refactor and improve code.
4655 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4656 Stefan Monnier <monnier@iro.umontreal.ca>
4658 * outline.el (outline-move-subtree-down): Make sure we can move
4659 forward to find the end of the subtree and the insertion point
4662 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4664 * progmodes/python.el (python-shell-completion-setup-code):
4665 Use __builtin__ module (or builtins in Python 3) and catch all errors
4666 when importing readline and rlcompleter.
4668 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4670 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
4671 (todo-revert-buffer): New function.
4672 (todo-modes-set-1): Use it as the buffer-local value of
4673 revert-buffer-function.
4675 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4677 * calendar/todo-mode.el (todo-mode): If called interactively, just
4678 display a message saying to call todo-show to enter Todo mode
4681 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
4683 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
4686 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
4689 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4691 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
4692 remote `buffer-file-name'.
4694 2014-11-29 Leo Liu <sdl.web@gmail.com>
4696 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
4698 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4700 Set PYTHONUNBUFFERED on shell startup.
4702 * progmodes/python.el (python-shell-unbuffered): New var.
4703 (python-shell-calculate-process-environment): Use it.
4705 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4707 * net/tramp.el (tramp-action-password): Clean password on subsequent
4708 attempts even if there was no wrong password indication. (Bug#19047)
4710 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
4712 (tramp-open-connection-setup-interactive-shell): No need to check
4713 for nil as `tramp-get-remote-locale' return value.
4715 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4717 * vc/vc-git.el (vc-git-command, vc-git--call):
4718 Bind coding-system-for-read and coding-system-for-write to
4719 vc-git-commits-coding-system.
4720 (vc-git-previous-revision): Use "~1" instead of "^", since the
4721 latter is a special character for MS-Windows system shells.
4723 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4725 Improve XEmacs compatibility.
4727 * net/tramp.el (tramp-autoload-file-name-handler):
4728 Wrap `temporary-file-directory' by `symbol-value', it doesn't
4730 (tramp-read-passwd): Don't use `with-timeout-suspend' and
4731 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
4732 (tramp-time-less-p, tramp-time-subtract): Remove functions.
4733 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
4734 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
4735 * net/tramp-cache.el (tramp-get-file-property):
4736 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
4737 Use `time-less-p' and `time-subtract, respectively.
4739 * net/tramp-adb.el (top): Do not require time-date.el.
4741 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
4743 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4744 Check, whether `utf-8' is a valid coding system.
4746 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4748 * vc/vc.el (vc-retrieve-tag): Doc fix.
4750 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4752 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
4755 2014-11-28 Martin Rudalics <rudalics@gmx.at>
4757 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
4758 * help.el (help-window-old-frame): New variable.
4759 (help-window-select): Default to nil (Bug#11039).
4761 (help-window-setup): When the help window appears on another
4762 frame and `help-window-select' is non-nil, give that frame input
4763 focus too (Bug#19012).
4764 (with-help-window): Store selected frame in
4765 help-window-old-frame.
4767 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
4769 * net/newst-treeview.el (newsticker--treeview-load): Take care of
4770 nil value for `newsticker-groups-filename'.
4772 2014-11-28 Daiki Ueno <ueno@gnu.org>
4774 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4775 (epa-sign-region, epa-encrypt-region):
4776 Use `epg-context-set-{passphrase,progress}-callback', instead of
4777 `setf'. This partially reverts commit 9e48a95c (bug#19150).
4778 Reported by José A. Romero L.
4780 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4782 * net/eww.el (eww-restore-history):
4783 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
4785 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4787 * net/newst-backend.el (newsticker--parse-atom-1.0):
4788 Handle embedded (x)html in summary node.
4790 2014-11-27 Sam Steingold <sds@gnu.org>
4792 * menu-bar.el (menu-bar-open): When everything else fails,
4793 use (mouse-menu-bar-map).
4795 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4797 * net/newst-treeview.el (newsticker-groups-filename):
4798 Change default value to nil. Point out that variable is obsolete in doc
4800 (newsticker--treeview-load): Change wording of the questions the
4801 user is asked when `newsticker-groups-filename' is found to be
4802 used and we offer to read and remove the groups file. (Bug#19165)
4804 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4806 * net/eww.el (eww): Record the new URL immediately, so that if the
4807 HTTP fetch fails, we have the right URL in the buffer.
4808 (eww-process-text-input): Don't shorten the input field if
4809 deleting at the last character (bug#19085).
4810 (eww-restore-history): Inhibit change functions while restoring
4812 (eww-process-text-input): Fix deletion at the start of the field, too.
4813 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
4814 (eww-process-text-input): Try to keep track of the size more reliably.
4816 * dom.el (dom-pp): New function.
4818 2014-11-27 Eli Zaretskii <eliz@gnu.org>
4820 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
4821 Don't assume --long is the default for "bzr log", always specify
4822 it explicitly, in case the user defined an alias for 'log' that
4823 uses some other format.
4825 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
4827 * progmodes/python.el (python-eldoc--get-doc-at-point):
4828 Strip shell output before returning. (bug#18794)
4830 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
4832 Fix indentation before `!=' and after `+='. Originally reported
4833 in https://github.com/mooz/js2-mode/issues/174.
4834 * progmodes/js.el (js--indent-operator-re): Make assignments and
4835 (in)equality operator a separate case.
4836 (js--continued-expression-p): Escape the second `+' in the regexp.
4838 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4840 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
4842 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4844 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
4845 when querying about new certificates.
4847 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
4849 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
4851 (dom-elements): Protect against non-text nodes.
4852 (dom-non-text-children): New function.
4854 * net/eww.el (eww-tag-title): Use `dom-text'.
4856 2014-11-26 Sam Steingold <sds@gnu.org>
4858 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
4860 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4862 * net/eww.el (eww-highest-readability): More dom.el fixes.
4864 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
4866 * net/newst-backend.el (newsticker--parse-generic-items):
4867 Take care of UIDs when adding elements to cache.
4869 2014-11-26 Alan Mackenzie <acm@muc.de>
4871 Remove spurious reference to symbol category_properties.
4872 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
4874 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4876 * net/eww.el: Use the new dom.el accessors throughout.
4878 * net/shr.el: Ditto.
4882 2014-11-26 Glenn Morris <rgm@gnu.org>
4884 * arc-mode.el (archive-visit-single-files): Add :version.
4886 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4888 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
4890 (nsm-warnings-ok-p): The new version of this function always
4891 returned nil when everything was OK.
4893 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
4895 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
4897 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
4898 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
4900 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4902 * emacs-lisp/byte-run.el (function-put): Match argument names to
4905 2014-11-24 Sam Steingold <sds@gnu.org>
4907 * vc/vc-hooks.el (vc-directory-exclusion-list):
4908 Fix a trivial typo (bug#19171).
4910 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4912 * vc/vc-hooks.el (vc-state-base-face): Don't override
4915 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4917 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
4918 (eww-process-text-input): Inhibit read only so that input fields
4919 don't get shortened (bug#19085).
4921 2014-11-24 Leo Liu <sdl.web@gmail.com>
4923 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
4925 * window.el (with-temp-buffer-window)
4926 (with-current-buffer-window, with-displayed-buffer-window):
4927 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
4928 * emacs-lisp/cl-lib.el (substring):
4929 * emacs-lisp/cl-extra.el (cl-getf): Use it.
4931 2014-11-24 Eli Zaretskii <eliz@gnu.org>
4933 * isearch.el (isearch-update): Don't assume
4934 pos-visible-in-window-p will return nil when point is hscrolled
4935 out of view. (Bug#19157)
4937 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
4939 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
4940 (eww-follow-link): Follow in new buffer in case of prefix
4941 argument, open externally with double prefix (bug#19130).
4943 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4945 * net/eww.el (eww-display-html): Decode the document-defined charset.
4946 (eww): Pop to the *eww* buffer immediately after executing the
4947 `M-x eww' command to avoid having buffers pop up later.
4948 (eww-display-html): Don't pop the *eww* buffer.
4949 (eww-display-raw): Ditto.
4950 (eww-display-image): Ditto.
4951 (eww-follow-link): Make going to #targets in the page work again.
4953 2014-11-23 Ivan Shmakov <ivan@siamics.net>
4955 * net/eww.el (eww-suggest-uris): New variable.
4956 (eww-suggested-uris): New function.
4957 (eww): Default to URL under point.
4958 (eww-links-at-point): New function.
4960 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4962 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
4964 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
4966 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
4968 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
4970 * net/eww.el (eww-set-character-encoding): New command and keystroke.
4971 (eww-display-raw): Use it (bug#16225).
4973 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4975 * net/nsm.el (network-security-level): Rename from
4976 `nsm-security-level' and documented.
4978 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
4979 we're sending a password.
4981 * net/nsm.el: New file that implements a Network Security Manager.
4983 * net/network-stream.el (open-network-stream): Add a new
4984 :warn-unless-encrypted parameter.
4985 (network-stream-open-plain): Allow warning unless encrypted.
4986 (network-stream-open-starttls): Call the Network Security Manager.
4987 (network-stream-open-tls): Ditto.
4989 2014-11-23 Leo Liu <sdl.web@gmail.com>
4991 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
4992 (calendar-chinese-to-absolute-for-diary)
4993 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
4994 Handle leap months in Chinese calendar. (Bug#18953)
4996 2014-11-22 Alan Mackenzie <acm@muc.de>
4998 Fix error with `mark-defun' and "protected:" in C++ Mode.
4999 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
5000 return code of (label) from c-beginning-of-decl-1. (Bug#19134)
5002 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
5004 * net/newst-backend.el (newsticker--sentinel-work):
5005 Tell `libxml-parse-xml-region' to discard comments. (Bug#18787)
5007 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
5009 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
5010 (tramp-sh-handle-process-file): Propagate `process-environment'.
5012 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
5013 Tramp propagates environment variables now.
5015 2014-11-22 Eric S. Raymond <esr@snark>
5017 * vc/vc-filewise.el: New file to isolate code used only by the
5018 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
5019 live in vc.el and certainly not in vc-hooks.el.
5021 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
5022 This is preparatory to isolating all the 'master' functions
5023 used only by the file-oriented back ends. With this done first,
5024 the substantive diffs will be easier to read.
5026 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5028 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
5029 that is recognized by `help-mode'.
5031 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5033 * desktop.el (desktop-create-buffer): Use activate-mark to set
5034 `mark-active' (bug#19058).
5036 2014-11-21 Eric S. Raymond <esr@snark>
5038 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
5041 2014-11-21 Eli Zaretskii <eliz@gnu.org>
5043 * vc/vc.el (vc-deduce-fileset): Support invocation from
5044 *vc-change-log* buffer. (Bug#19084)
5046 2014-11-13 Matthew Leach <matthew@mattleach.net>
5048 * arc-mode.el (archive-visit-single-files): New.
5049 (archive-mode): Visit file if archive contains a single file.
5052 2014-11-21 Ulrich Müller <ulm@gentoo.org>
5054 * vc/vc.el: Fix a typo in the commentary.
5056 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
5058 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
5059 testing and a real log-view mode.
5061 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
5062 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
5063 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
5064 checkout methods; where it matters (which is only in SCCS and RCS)
5065 files are always checked out editable. This may actually have
5066 been dynamically true already - it looks like the vc-next-action
5067 code evolved past visiting the other case. Tested with RCS.
5069 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
5070 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
5071 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
5072 argument from the backend checkin methods. Only the RCS, SCCS,
5073 and CVS back ends tried to do anything with it, and that code was
5074 never exercised. Chiseling away the cruft of decades...
5076 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5078 * net/eww.el (eww-render): Remove a no-op :title setting.
5080 2014-11-19 Ivan Shmakov <ivan@siamics.net>
5082 * net/eww.el (eww-history-limit): New variable.
5083 (eww-save-history): Use it (bug#19105).
5084 (eww-reload): Reload the page in the right buffer.
5086 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5088 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
5090 2014-11-19 Ivan Shmakov <ivan@siamics.net>
5092 * net/eww.el (eww-desktop-remove-duplicates)
5093 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
5094 (eww-mode): Set up desktop mode (bug#18010).
5095 (eww-desktop-data-save, eww-desktop-data-1)
5096 (eww-desktop-history-duplicate, eww-desktop-misc-data)
5097 (eww-restore-desktop): New functions.
5099 2014-11-19 Eli Zaretskii <eliz@gnu.org>
5101 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
5102 correct buffer. (Bug#19101)
5104 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5106 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
5107 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
5109 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
5111 * ido.el (ido-bury-buffer-at-head): New command.
5112 (ido-buffer-completion-map): Bind it to C-S-b.
5114 2014-11-18 Juri Linkov <juri@linkov.net>
5116 * simple.el (next-line-or-history-element): Wrap next-line
5117 in with-no-warnings.
5118 (previous-line-or-history-element): Wrap previous-line
5119 in with-no-warnings.
5121 2014-11-18 Juri Linkov <juri@linkov.net>
5123 * progmodes/grep.el (grep-compute-defaults):
5124 Compute grep-highlight-matches before its use.
5126 2014-11-18 Juri Linkov <juri@linkov.net>
5128 * replace.el (query-replace-from-to-separator): Turn defvar into
5129 defcustom. Wrap char-displayable-p in ignore-errors because an
5130 attempt to autoload char-displayable-p fails during pre-loading.
5131 Move (propertize "\0" ... 'separator t) out of customizable part
5132 to query-replace-read-from.
5133 (query-replace-read-from): Call custom-reevaluate-setting on
5134 query-replace-from-to-separator to reevaluate the separator
5135 depending on the return value of char-displayable-p.
5136 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
5138 2014-11-18 Juri Linkov <juri@linkov.net>
5140 * bindings.el (minibuffer-local-map): Rebind [down] from
5141 next-history-element to next-line-or-history-element, and [up]
5142 from previous-history-element to previous-line-or-history-element.
5144 * simple.el (next-line-or-history-element)
5145 (previous-line-or-history-element): New commands.
5146 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
5148 2014-11-18 Leo Liu <sdl.web@gmail.com>
5150 * emacs-lisp/nadvice.el (define-advice): New macro.
5151 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5153 (lisp-font-lock-keywords-1): Add define-advice.
5155 2014-11-18 Daiki Ueno <ueno@gnu.org>
5157 * epg.el (epg-context): New slot EDIT-CALLBACK.
5158 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
5159 (epg-reset): Reset EDIT-CALLBACK of the context.
5160 (epg-start-edit-key): New function.
5161 (epg-edit-key): New function.
5163 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
5165 Port new time stamp handling to Emacs 23.2.
5166 This fix is for Gnus. Reported by Katsumi Yamaoka.
5167 * calendar/time-date.el (time-add, time-subtract, time-less-p):
5168 Use eval-and-compile, not eval-when-compile.
5170 2014-11-18 Daiki Ueno <ueno@gnu.org>
5172 * epg.el (epg-context-set-passphrase-callback)
5173 (epg-context-set-progress-callback): Check if the CALLBACK
5174 argument is a function, instead of a cons.
5176 2014-11-18 Daiki Ueno <ueno@gnu.org>
5178 * epa-file.el (epa-file-insert-file-contents)
5179 (epa-file-write-region): Remove redundant check of
5181 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
5182 (epa-sign-region, epa-encrypt-region): Remove redundant check of
5185 2014-11-18 Daiki Ueno <ueno@gnu.org>
5187 * epa-file.el (epa-file-insert-file-contents): Don't show
5188 "*Error*" buffer if input file does not exist.
5189 Reported by Herbert J. Skuhra.
5191 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
5192 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5194 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
5195 An alternative version of the patch from bug#13871.
5196 (c-operators): Add "alignof".
5197 (c-primitive-type-kwds): Add "char16_t", "char32_t".
5198 (c-type-modifier-kwds): Add "constexpr", "noexcept".
5199 (c-modifier-kwds): Add "thread_local".
5200 (c-constant-kwds): Add "nullptr".
5202 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
5204 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
5205 New variables for specifying tildify pattern and representation of
5206 a hard space -- a no-break space by default -- respectively.
5207 Being buffer-local they are much easier to handle than
5208 `tildify-string-alist' and `tildify-pattern-alist' respectively
5209 that have been used so far. They also works better with derived
5211 (tildify-foreach-region-function): New variable specifying
5212 a function determining portions of buffer that should be
5213 tildified. It allows major modes to create a filtering function
5214 more elaborate than a set of regular expressions. Initialized to
5215 `tildify--deprecated-ignore-evironments' by default to handle now
5216 deprecated `tildify-ignored-environments-alist' variable.
5217 (tildify--foreach-region): A new function that takes
5218 `tildify-foreach-region-function' into account and calls callback
5219 for regions of the buffer that should be tildified.
5220 (tildify-foreach-ignore-environments): A new function which can be
5221 partially applied and used as `tildify-foreach-region-function'.
5222 (tildify-ignored-environments-alist, tildify-pattern)
5223 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
5224 (tildify--find-env): Rename from `tildify-find-env' and mark as
5226 (tildify--deprecated-ignore-evironments): New function,
5227 immediately marked as obsolete, used to handle deprecated
5228 `tildify-ignored-environments-alist'.
5230 * textmodes/tex-mode.el (tex-common-initialization):
5231 Set `tildify-space-string' and `tildify-foreach-region-function'
5232 variables in all variants of TeX mode since `tildify-string-alist'
5233 and `tildify-ignored-environments-alist' are now empty by default.
5235 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
5236 If encoding supports it use no-break space instead of character
5237 entity; this changes previous default which used a numeric
5240 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
5241 If encoding does not support no-break space, use numeric reference;
5242 this changes previous default which used named entity (“ ”)
5245 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
5247 * calendar/icalendar.el (icalendar-export-alarms):
5248 New customizable variable. (Bug#5433)
5249 (icalendar-export-region): Export alarms as specified in
5250 `icalendar-export-alarms'.
5251 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
5252 New functions for exporting alarms.
5254 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5256 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
5258 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
5260 Port new time stamp handling to old Emacs and to XEmacs.
5261 This is needed for Gnus, which copies time-date.el and which
5262 runs on older Emacs implementations.
5263 * calendar/time-date.el (with-decoded-time-value):
5264 Handle 'nil' and floating-point arg more compatibly with new Emacs.
5265 (encode-time-value, with-decoded-time-value):
5266 Obsolete only if new Emacs.
5267 (time-add, time-subtract, time-less-p): Define if not new Emacs.
5269 Improve time stamp handling, and be more consistent about it.
5270 This implements a suggestion made in:
5271 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
5272 Among other things, this means timer.el no longer needs to
5273 autoload the time-date module.
5274 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
5275 * arc-mode.el (archive-ar-summarize):
5276 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
5277 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
5278 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
5279 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5280 * proced.el (proced-time-lessp):
5281 * timezone.el (timezone-time-from-absolute):
5282 * type-break.el (type-break-schedule, type-break-time-sum):
5283 Simplify by using new functionality.
5284 * calendar/cal-dst.el (calendar-next-time-zone-transition):
5285 Do not return time values in obsolete and undocumented (HI . LO)
5286 format; use (HI LO) instead.
5287 * calendar/time-date.el (with-decoded-time-value):
5288 Treat 'nil' as current time. This is mostly for XEmacs.
5289 (encode-time-value, with-decoded-time-value): Obsolete.
5290 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
5291 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
5292 * ldefs-boot.el: Update to match new time-date.el
5293 * proced.el: Do not require time-date.
5295 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5297 * net/eww.el (eww-mode): Make the buffer read-only.
5298 (eww-form-text): Inhibit read-only-ness in text input fields
5301 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5303 * simple.el (execute-extended-command--shorter): Cut search here.
5304 (execute-extended-command): Instead of here.
5306 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5308 * progmodes/python.el (python-mode): Avoid use of set-local to
5309 keep Emacs 24.x compatibility.
5311 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5313 * net/shr.el (shr): Move to the new defgroup `web'.
5315 * net/eww.el (eww): Ditto.
5317 * simple.el (execute-extended-command): Don't show the help
5318 message if the binding isn't significantly shorter than the
5319 M-x command the user typed (bug#19013).
5321 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
5323 * calendar/icalendar.el (icalendar--convert-tz-offset):
5324 Return complete cons when offsets of standard time and daylight saving
5326 (icalendar-export-region): Fix unbound variable warning.
5328 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5330 * progmodes/python.el (run-python): Allow CMD to be optional and
5331 default it to a safe command, even for Windows. (bug#18596)
5333 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5335 * progmodes/python.el (python-shell-calculate-command):
5336 Rename from python-shell-parse-command. Cleanup.
5337 (run-python, run-python-internal): Use it.
5338 (python-shell-calculate-pythonpath): Rename from
5339 python-new-pythonpath.
5340 (python-shell-calculate-process-environment): Use it.
5341 (python-shell-calculate-exec-path): Add comment.
5343 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
5345 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
5348 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
5350 * version.el (emacs-repository-get-version): Use git rev-parse
5353 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5355 * progmodes/python.el (python-indent-calculate-levels):
5356 Fix indentation behavior multiline dedenter statement. (Bug#18432)
5358 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5360 * progmodes/python.el (python-indent-region):
5361 Use python-indent-line and skip special cases. (Bug#18843)
5363 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
5365 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
5366 envelope-from when reporting through sendmail (bug#19054).
5368 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
5370 Add faces for the VC modeline state indicator.
5372 (vc-state-faces, vc-state-base-face)
5373 (vc-up-to-date-state, vc-needs-update-state)
5374 (vc-locked-state, vc-locally-added-state)
5375 (vc-conflict-state, vc-removed-state)
5376 (vc-missing-state, vc-edited-state):
5378 (vc-default-mode-line-string): Use them
5380 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5382 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
5384 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5386 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
5388 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
5390 * progmodes/python.el (python-eldoc-setup-code): Enhance string
5391 type checks, simplify printing. (Bug#18962)
5393 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
5395 * progmodes/python.el (python-shell-font-lock-kill-buffer):
5396 (python-shell-font-lock-with-font-lock-buffer)
5397 (python-shell-get-buffer, python-ffap-module-path):
5398 Use `derived-mode-p' instead of equality test on `major-mode'.
5400 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
5402 * progmodes/python.el (python-shell-virtualenv-root): Rename from
5403 python-shell-virtualenv-path.
5404 (python-shell-internal-get-process-name)
5405 (python-shell-calculate-process-environment)
5406 (python-shell-calculate-exec-path): Use it.
5408 2014-11-14 Eli Zaretskii <eliz@gnu.org>
5410 * bindings.el (search-map): Fix last change: don't use 'kbd' in
5411 bindings.el, since it is not yet loaded when bindings.el is
5414 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
5416 * progmodes/python.el (python-shell-completion-get-completions):
5419 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5421 * net/eww.el (eww-render): Don't set the title to the URL.
5423 2014-11-13 Ulrich Müller <ulm@gentoo.org>
5425 * version.el (emacs-repository-get-version): Call `git log'
5426 command with proper format argument (bug#19049).
5428 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5430 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
5432 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5434 * net/eww.el (eww-search-words): New command (bug#16258).
5436 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5438 * net/shr.el (shr-inhibit-images): Add a doc string.
5440 * net/eww.el (eww-after-render-hook): New variable.
5441 (eww-render): Use it.
5443 * net/shr.el (shr-descend): Don't descend further than
5444 `max-specpdl-size' allows (bug#16587).
5445 (shr-depth): New variable.
5446 (shr-warning): New variable.
5448 2014-11-13 Ivan Shmakov <ivan@siamics.net>
5450 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
5451 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
5453 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5455 * net/eww.el (eww): Add comment to clarify.
5457 * net/shr.el (shr-parse-image-data): Remove blocked bits from
5458 external SVG images.
5459 (shr-tag-object): Display images in <object> forms (bug#16244).
5460 (shr-tag-table): Also insert <objects> after the tables.
5462 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
5464 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
5466 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5468 * net/eww.el (eww-form-file): Fix version number.
5470 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5472 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
5474 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5476 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
5477 (eww-submit-file): New key map of file upload.
5478 (eww-form-file): New file upload button and file name context.
5479 (eww-select-file): Select file and display selected file name.
5480 (eww-tag-input): Handle input tag of file type.
5481 (eww-update-field): Add point offset.
5482 (eww-submit): Add submit with multipart/form-data.
5484 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5486 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
5487 Allow taking a buffer to render data in. This allows using several
5488 eww buffers (bug#16211).
5490 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
5492 * net/eww.el (eww-download-callback): Save only the file contents,
5495 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5497 * net/eww.el (eww-data): New plist to store all the data relevant
5498 to a single page, used throughout the file instead of the
5499 variables `eww-current-url', `eww-current-dom',
5500 `eww-current-source', and `eww-current-title'.
5501 (eww-readable): Copy over pertinent data from the parent page.
5502 (eww-save-history): Don't let the history grow infinitely.
5504 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
5505 `eww-up-url', `eww-home-url', `eww-start-url' and
5506 `eww-contents-url' and put the data into the `eww-data' plist.
5507 This allow restoring these values after going back in the history.
5509 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
5511 Allow VTIMEZONE where daylight and standard time zones are equal.
5512 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
5513 * calendar/icalendar.el (icalendar--convert-tz-offset):
5514 Support timezone without daylight saving time.
5516 2014-11-10 Glenn Morris <rgm@gnu.org>
5518 * startup.el (command-line): Handle nil elements in load-path.
5520 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5522 * help.el (view-lossage): Include the actual commands run.
5524 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
5526 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
5527 no state is specified. (Bug#18964)
5529 2014-11-09 Eric Ludlam <zappo@gnu.org>
5531 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5532 Set eieio-cog (current group) to g, which is an improved form of input
5535 2014-11-09 Juri Linkov <juri@jurta.org>
5537 * isearch.el (isearch-message-prefix): Show "Multi-file" and
5538 "Multi-buffer" instead of "Multi". (Bug#13592)
5540 * misearch.el (multi-isearch-file-list):
5541 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
5542 (multi-isearch-end): Reset multi-isearch-buffer-list and
5543 multi-isearch-file-list to nil.
5545 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5547 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5548 Don't call byte-compile-preprocess since the result will go through
5550 (byte-compile-output-docform): Handle uninterned `name' correctly.
5551 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
5552 to circumvent byte-compiler bug.
5554 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
5555 (macroexp--compiler-macro): Remove left-over debug code.
5557 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
5559 2014-11-08 Juri Linkov <juri@jurta.org>
5561 * simple.el (shell-command): Use buffer-name when output-buffer is
5562 a buffer. (Bug#18096)
5564 2014-11-08 Juri Linkov <juri@jurta.org>
5566 * minibuffer.el (minibuffer-completion-help): Compare this-command
5567 with completion-at-point. (Bug#17809)
5569 2014-11-08 Glenn Morris <rgm@gnu.org>
5571 * emacs-lisp/bytecomp.el (byte-compile-report-error):
5572 Allow the argument to be a string. Due to the vague doc,
5573 it was already being used this way.
5575 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5577 * net/tramp.el (tramp-check-cached-permissions): Include hop in
5578 the constructed Tramp file name. (Bug#18943)
5580 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5582 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
5584 (cua-set-mark, cua--post-command-handler-1):
5585 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
5587 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5589 * files.el (file-name-non-special): Wrap the call of
5590 `insert-file-contents' by `unwind-protect', in order to set the
5591 buffer's file name anyway. (Bug#18891)
5593 2014-11-08 Alan Mackenzie <acm@muc.de>
5595 Fix wrong bound to c-font-lock-declarators.
5596 * progmodes/cc-fonts.el (c-font-lock-declarations):
5597 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
5598 the buffer is sometimes narrowed to less than "limit" (e.g., in
5599 the presence of macros). (Bug#18948)
5601 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5603 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
5604 only when message appeared in minibuffer. (Bug#18891)
5606 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
5607 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
5608 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
5611 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5613 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5614 Don't compile before eval in `eval-and-compile'.
5615 (byte-compile-arglist-warn): Add check for defining macros after their
5616 first use. Check call use even if the function is fboundp.
5618 2014-11-08 Richard Stallman <rms@gnu.org>
5620 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
5621 Check more carefully for mime-part specified character set.
5622 Check for mime-part Content Transfer Encoding.
5623 Notify if no armor found.
5625 2014-11-08 Martin Rudalics <rudalics@gmx.at>
5627 * faces.el (face-set-after-frame-default): Enable running
5628 `window-configuration-change-hook'.
5630 2014-11-07 Juri Linkov <juri@jurta.org>
5632 * replace.el: History for query replace pairs.
5633 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
5634 (query-replace-from-to-separator): New variable.
5635 (query-replace-read-from): Let-bind query-replace-from-to-history
5636 to a list of FROM-TO strings created from query-replace-defaults
5637 and separated by query-replace-from-to-separator. Use it as
5638 the history while reading from the minibuffer. Split the returned
5639 string by the separator to get FROM and TO parts, and add them
5640 to the history variables.
5641 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
5642 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
5643 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
5645 * isearch.el (isearch-text-char-description): Keep characters
5646 intact and put formatted strings with the `display' property.
5648 2014-11-07 Martin Rudalics <rudalics@gmx.at>
5650 * cus-start.el (frame-resize-pixelwise): Fix group.
5651 (frame-inhibit-implied-resize): Add entry.
5653 2014-11-07 Daiki Ueno <ueno@gnu.org>
5655 * epa.el (epa-pinentry-mode): New user option.
5656 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
5657 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
5658 * epa-file.el (epa-file-insert-file-contents)
5659 (epa-file-write-region): Respect epa-pinentry-mode.
5661 2014-11-07 Daiki Ueno <ueno@gnu.org>
5663 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
5664 (bug#18979). Reported by Hideki Saito.
5666 2014-11-06 Daiki Ueno <ueno@gnu.org>
5668 * emacs-lisp/package.el (package--display-verify-error): New function.
5669 (package--check-signature): Use it to display output sent to stderr.
5671 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5673 * subr.el (pop): Don't call the getter twice (bug#18968).
5675 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
5678 2014-11-06 Daiki Ueno <ueno@gnu.org>
5680 * epa.el (epa-error-buffer): New variable.
5681 (epa-display-error): New function.
5682 (epa-decrypt-file, epa-verify-file, epa-verify-region)
5683 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
5684 (epa-sign-file, epa-sign-region, epa-encrypt-region)
5685 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
5686 Use setf instead of epg-context-set-*.
5687 * epa-file.el (epa-file-insert-file-contents):
5688 Use epa-display-error instead of epa-display-info. Mimic the behavior
5689 of jka-compr when decryption program is not found.
5690 (epa-file-write-region): Use epa-display-error instead of
5693 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5695 * vc/vc.el (vc-region-history): New command.
5696 (vc-print-log-internal): Use cl-some.
5698 * vc/vc-git.el (vc-git-region-history): New function.
5699 (vc-git-region-history-mode-map)
5700 (vc-git--log-view-long-font-lock-keywords)
5701 (vc-git-region-history-font-lock-keywords): New vars.
5702 (vc-git-region-history-font-lock): New function.
5703 (vc-git-region-history-mode): New major mode.
5705 2014-11-05 Tassilo Horn <tsdh@gnu.org>
5707 * net/eww.el (subr-x): Require subr-x at compile-time because eww
5710 2014-11-05 Daiki Ueno <ueno@gnu.org>
5712 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
5713 (epg-error-output): New buffer-local variable.
5714 (epg--start): Initialize epg-error-output.
5715 (epg--process-filter): Record output lines sent to stderr, in
5717 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
5719 * epa-file.el (epa-file-insert-file-contents): On error, display
5720 output sent to stderr.
5721 (epa-file-write-region): Likewise.
5723 2014-11-05 Eli Zaretskii <eliz@gnu.org>
5725 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
5726 returned by load-average.
5728 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
5730 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
5731 a local copy; setting `inhibit-file-name-handlers' proper might be
5732 more performant. (Bug#18751)
5734 2014-11-05 Glenn Morris <rgm@gnu.org>
5736 * mail/emacsbug.el (report-emacs-bug): No longer include
5737 recent-keys in the report. (Bug#18900)
5739 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
5741 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
5743 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5745 * net/eww.el (eww): Trim URL with `string-trim'.
5746 Suggested by Vibhav Pant <vibhavp@gmail.com>.
5748 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5750 * net/eww.el (eww-score-readability): Don't count comments positively.
5752 * net/shr.el (shr-retransform-dom): Typo fix.
5754 * net/eww.el (eww-score-readability): Parse SVC images correctly.
5755 (eww-display-html): Don't leave point inside forms.
5757 * net/shr.el: Ditto.
5759 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5761 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
5762 edebug-prin1-to-string already handles circularity.
5764 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
5765 autoloading when specified as a lambda.
5767 * simple.el (execute-extended-command--last-typed): New var.
5768 (read-extended-command): Set it.
5769 Don't complete obsolete commands.
5770 (execute-extended-command--shorter-1)
5771 (execute-extended-command--shorter): New functions.
5772 (execute-extended-command): Use them to suggest shorter names.
5773 (indicate-copied-region, deactivate-mark): Use region-active-p.
5775 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
5777 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
5778 local copy of FILENAME, when it is remote. (Bug#18751)
5780 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
5781 an error when the command fails; the return code must indicate.
5782 (tramp-adb-send-command-and-check): Fix docstring.
5784 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5786 * net/shr.el (shr-retransform-dom): Don't ignore elements that
5787 have no children like <br />.
5789 * net/eww.el (eww-display-html): Clear `url-queue'.
5790 (eww-display-pdf): New function.
5791 (eww-render): Display PDFs with `doc-view'.
5792 (url-queue): Require `url-queue' to avoid compilation warning.
5793 (eww-colorize-region): Remove duplicate function.
5794 (eww-tag-body): Use `shr-colorize-region'.
5796 2014-11-03 Yoni Rabkin <yrk@gnu.org>
5798 * net/eww.el (eww-list-bookmarks): Autoload.
5800 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5802 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
5804 * net/eww.el (eww-display-html): The charset is called `utf-8',
5806 (eww-readable): Decode the saved text correctly.
5807 (eww-readable): Save the history before displaying so that we can
5808 go back to the non-readable version.
5809 (eww-display-html): Don't try to decode the text if we've been
5810 passed in a pre-parsed DOM.
5811 (eww-tag-title): Remove newlines and extra whitespace from the
5814 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5816 * net/eww.el (eww-readable): New command and keystroke.
5818 * net/shr.el (shr-retransform-dom): New function.
5820 * net/eww.el (eww-display-html): Set `eww-current-source' in the
5822 (eww-view-source): Use it.
5824 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5826 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
5829 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
5831 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
5833 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5835 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
5837 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5839 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
5842 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
5844 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
5846 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
5848 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5850 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
5852 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
5854 2014-11-01 Michael R. Mauger <michael@mauger.com>
5856 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
5857 syntax, add new keywords, and parse longer keywords first.
5858 (sql-redirect-one): Protect against empty command.
5859 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
5862 2014-11-01 Michael R. Mauger <michael@mauger.com>
5864 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
5865 Bug#16814 with let-bind of comint-input-ring variables around read
5868 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
5870 * net/tramp-cache.el (tramp-get-file-property)
5871 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
5872 and `tramp-cache-set-count-*' are bound. Otherwise, there might
5873 be compiler warnings.
5875 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
5876 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
5878 2014-11-01 Eli Zaretskii <eliz@gnu.org>
5880 * progmodes/compile.el (compilation-mode): Turn off deferred
5881 fontifications locally. (Bug#18856)
5883 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
5885 * net/tramp-sh.el (tramp-send-command): Fix the case where the
5886 remote-echo connection property is non-nil (bug#18858).
5888 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
5890 * simple.el (newline): Add assertions to try and help catch bug#18913.
5892 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
5894 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
5896 2014-11-01 Kim F. Storm <storm@cua.dk>
5898 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
5899 * delsel.el (delete-selection-save-to-register)
5900 (delsel--replace-text-or-position): New vars.
5901 (delete-active-region): Use them.
5902 (delete-selection-repeat-replace-region): New command, moved from
5904 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
5905 (cua-repeat-replace-region): Move command to delsel.el.
5906 (cua--init-keymaps): Update binding accordingly.
5907 (cua-mode): Set delete-selection-save-to-register.
5909 2014-11-01 Alan Mackenzie <acm@muc.de>
5911 Make blink-parens work with a closing template delimiter.
5912 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
5913 before calling blink-paren-function, so as to apply syntax-table
5914 properties to the ">".
5916 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
5918 * select.el (gui-get-selection): Comment: data-type ignored on NS.
5920 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5922 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
5923 (macroexp--expand-all): Unrelated tweaks.
5925 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
5927 2014-10-30 Glenn Morris <rgm@gnu.org>
5929 * startup.el (command-line): Remove pointless attempt to avoid
5930 statting the file-system (which expand-file-name doesn't do).
5932 2014-10-30 Daniel Colascione <dancol@dancol.org>
5934 Add "enum class" support to C++ mode.
5935 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
5936 (c-after-brace-list-key): New language consts/variables.
5937 * progmodes/cc-engine.el (c-looking-at-decl-block):
5938 Exclude spurious match of "enum struct" from decl-block recognition.
5939 (c-backward-colon-prefixed-type): New function.
5940 (c-backward-over-enum-header): Call above function to extend
5941 recognition of enum structure.
5943 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5945 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
5947 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
5949 2014-10-30 Eli Zaretskii <eliz@gnu.org>
5951 * progmodes/compile.el (compilation-start):
5952 If compilation-scroll-output is non-nil, don't force window-start of
5953 the compilation buffer to be at beginning of buffer. (Bug#18874)
5955 * startup.el (fancy-about-text): Read the entire tutorial, not
5956 just its first 256 bytes. (Bug#18760)
5958 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5960 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
5961 * emacs-lisp/cl-extra.el: Add missing provide.
5963 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
5964 all args are copyable (bug#18767).
5965 (=, <, >, <=, >=): Re-enable the optimization.
5967 2014-10-29 Glenn Morris <rgm@gnu.org>
5969 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
5971 * version.el (emacs-bzr-version, emacs-bzr-get-version):
5972 Revert 2014-10-26 change.
5974 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
5976 Simplify use of current-time and friends.
5977 * allout-widgets.el (allout-widgets-hook-error-handler):
5978 * calendar/appt.el (appt-display-message):
5979 * calendar/icalendar.el (icalendar--convert-float-to-ical):
5980 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
5981 (timeclock-last-period, timeclock-day-base):
5982 * eshell/em-ls.el (eshell-ls-file):
5983 * eshell/esh-util.el (eshell-parse-ange-ls):
5984 * generic-x.el (named-database-print-serial):
5985 * net/newst-backend.el (newsticker--get-news-by-url-callback)
5986 (newsticker-get-news, newsticker--sentinel-work)
5987 (newsticker--image-get, newsticker--image-sentinel):
5988 * net/tramp-sh.el (tramp-get-remote-touch):
5989 * progmodes/opascal.el (opascal-debug-log):
5990 * textmodes/remember.el (remember-mail-date)
5991 (remember-store-in-files):
5992 * vc/vc-annotate.el (vc-annotate-display-autoscale)
5993 (vc-default-annotate-current-time):
5994 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
5995 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
5996 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
5997 Omit unnecessary call to current-time.
5998 * calendar/time-date.el (time-to-seconds) [!float-time]:
5999 * vc/vc-annotate.el (vc-annotate-convert-time):
6000 Use current time if arg is nil, to be compatible with float-time.
6001 (time-date--day-in-year): New function, with most of the guts of
6002 the old time-to-day-in-year.
6003 (time-to-day-in-year): Use it.
6004 (time-to-days): Use it, to avoid decoding the same time stamp twice.
6005 * calendar/timeclock.el (timeclock-time-to-date):
6006 Arg is now optional, like current-time-string.
6007 (timeclock-update-mode-line):
6008 Don't call current-time twice to get the current time stamp,
6009 as this can lead to inconsistent results.
6010 * completion.el (cmpl-hours-since-origin):
6011 * ido.el (ido-time-stamp):
6012 * vc/vc-annotate.el (vc-annotate-convert-time):
6013 Simplify by using float-time.
6014 * completion.el (save-completions-to-file):
6015 Rename local var to avoid confusion.
6016 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
6017 time-to-seconds now behaves like float-time with respect to nil arg.
6018 * subr.el (progress-reporter-do-update):
6019 Don't call float-time unless needed.
6021 2014-10-29 Leo Liu <sdl.web@gmail.com>
6023 * net/rcirc.el (rcirc-fill-column): Use function.
6024 (rcirc-markup-fill): Remove adjustment.
6026 2014-10-28 Christopher Schmidt <ch@ristopher.com>
6028 * calc/calc.el (quick-calc):
6029 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
6031 2014-10-28 Sam Steingold <sds@gnu.org>
6033 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
6034 the sake of `window-body-width' (in addition to `frame-width').
6036 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
6038 * version.el: Fix some fallback values to conform to the actual
6041 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
6043 * Makefile.in: Change some production names so they're neutral
6044 about the repository type.
6046 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
6048 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
6049 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
6050 during initialization. (Bug#18774)
6052 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
6054 * ses.el (macroexp): Add require for this package, so that
6055 function `ses--cell' gets macroexp-quote --- this change was
6056 supposed to be in my previous commit, but left out by mistake.
6057 (ses--cell): Do not make formula a macroexp-quote of value when
6058 value, not formula, is *skip*.
6060 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6062 * ses.el (macroexp): Add require for this package, so that function
6063 `ses--cell gets macroexp-quote.
6064 (ses--cell): Makes formula a macroexp-quote of value when formula
6065 is nil. The rationale of this changr is to allow in the future
6066 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
6067 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
6068 reference list REFLIST would be re-computed after load --- thus
6069 trading off load time against file size.
6071 * emacs-lisp/package.el (package--alist-to-plist-args):
6072 Use macroexp-quote instead of a lambda expression which has the same
6073 content as macroexp-quote.
6074 (macroexp): Add require for this package, so that function
6075 `package--alist-to-plist-args' gets macroexp-quote.
6077 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
6079 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6081 * term/ns-win.el (ns-store-cut-buffer-internal)
6082 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
6084 2014-10-24 Martin Rudalics <rudalics@gmx.at>
6086 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
6087 Calculate increment from last position instead of window edge.
6088 Add right- and bottom-divider bindings to transient map.
6090 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6092 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
6093 even if :predicate was nil, for the benefit of typep.
6094 Record the name of the predicate for typep's use.
6095 (cl--make-type-test): Use pcase. Obey new
6096 cl-deftype-satisfies property.
6098 * epg.el: Use cl-defstruct.
6099 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
6100 (epg-data-string): Define via cl-defstruct.
6101 (epg--gv-nreverse): New macro.
6102 (epg-context--make): New constructor (provided vi cl-defstruct).
6103 (epg-make-context): Rewrite using it.
6104 (epg-context-protocol, epg-context-program)
6105 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
6106 (epg-context-include-certs, epg-context-cipher-algorithm)
6107 (epg-context-digest-algorithm, epg-context-compress-algorithm)
6108 (epg-context-passphrase-callback, epg-context-progress-callback)
6109 (epg-context-signers, epg-context-sig-notations, epg-context-process)
6110 (epg-context-output-file, epg-context-result, epg-context-operation)
6111 (epg-context-pinentry-mode): Define using cl-defstruct.
6112 (epg-context-set-protocol, epg-context-set-program)
6113 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
6114 (epg-context-set-digest-algorithm)
6115 (epg-context-set-sig-notations, epg-context-set-process)
6116 (epg-context-set-output-file, epg-context-set-result)
6117 (epg-context-set-operation, epg-context-set-pinentry-mode)
6118 (epg-context-set-compress-algorithm): Remove. Use setf instead.
6119 (epg-context-set-armor, epg-context-set-textmode)
6120 (epg-context-set-signers): Redefine using setf
6121 and declare as obsolete.
6122 (epg-context-set-passphrase-callback)
6123 (epg-context-set-progress-callback): Use setf.
6124 (epg-signature-notations): Rename from epg-sig-notations.
6125 (epg-make-signature, epg-signature-status, epg-signature-key-id)
6126 (epg-signature-validity, epg-signature-fingerprint)
6127 (epg-signature-creation-time, epg-signature-expiration-time)
6128 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
6129 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
6130 (epg-signature-set-status, epg-signature-set-key-id)
6131 (epg-signature-set-validity, epg-signature-set-fingerprint)
6132 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
6133 (epg-signature-set-pubkey-algorithm)
6134 (epg-signature-set-digest-algorithm, epg-signature-set-class)
6135 (epg-signature-set-version, epg-signature-set-notations): Remove.
6137 (epg-make-new-signature, epg-new-signature-type)
6138 (epg-new-signature-pubkey-algorithm)
6139 (epg-new-signature-digest-algorithm, epg-new-signature-class)
6140 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
6141 Define using cl-defstruct.
6142 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
6143 (epg-key-user-id-list): Define using cl-defstruct.
6144 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
6146 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
6147 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
6148 (epg-sub-key-id, epg-sub-key-creation-time)
6149 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
6151 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
6152 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
6153 (epg-user-id-signature-list): Define using cl-defstruct.
6154 (epg-user-id-set-signature-list): Remove. Use setf instead.
6155 (epg-make-key-signature, epg-key-signature-validity)
6156 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
6157 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
6158 (epg-key-signature-user-id, epg-key-signature-class)
6159 (epg-key-signature-exportable-p): Define using cl-defstruct.
6160 (epg-make-sig-notation, epg-sig-notation-name)
6161 (epg-sig-notation-value, epg-sig-notation-human-readable)
6162 (epg-sig-notation-critical): Define using cl-defstruct.
6163 (epg-sig-notation-set-value): Remove. Use setf instead.
6164 (epg-make-import-status, epg-import-status-fingerprint)
6165 (epg-import-status-reason, epg-import-status-new)
6166 (epg-import-status-user-id, epg-import-status-signature)
6167 (epg-import-status-sub-key, epg-import-status-secret): Define using
6169 (epg-make-import-result, epg-import-result-considered)
6170 (epg-import-result-no-user-id, epg-import-result-imported)
6171 (epg-import-result-imported-rsa, epg-import-result-unchanged)
6172 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
6173 (epg-import-result-new-signatures, epg-import-result-new-revocations)
6174 (epg-import-result-secret-read, epg-import-result-secret-imported)
6175 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
6176 (epg-import-result-imports): Define using cl-defstruct.
6178 * emacs-lisp/package.el: Require EPG during macroexpansion.
6179 (package--check-signature, package-import-keyring): Use setf instead of
6180 epg-context-set-home-directory.
6182 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6184 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
6186 2014-10-23 Leo Liu <sdl.web@gmail.com>
6188 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
6189 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
6190 (cfengine3-current-defun): New function.
6191 (cfengine3-mode): Set add-log-current-defun-function.
6193 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6195 * select.el: Use lexical-binding.
6196 (gui-set-selection): Provide an implementation for non-GUI frames
6198 * term/x-win.el: Use lexical-binding.
6199 (x-clipboard-yank): Fix up missed renamings.
6200 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
6201 (w32--set-selection): Fix up var names.
6202 * term/pc-win.el: Use lexical-binding.
6203 (w16-selection-exists-p): Silence compiler warning.
6204 (w16-selection-owner-p): Fix up missed renamings.
6206 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
6208 * frame.el (frame-notice-user-settings): Fix excessive quoting.
6210 2014-10-22 Tassilo Horn <tsdh@gnu.org>
6212 * doc-view.el (doc-view-open-text): View the document's plain text
6213 in the current buffer instead of a new one.
6214 (doc-view-toggle-display): Handle the case where the current
6215 buffer contains the plain text contents of the document.
6216 (doc-view-initiate-display): Don't switch to fallback mode if the
6217 user wants to view the doc's plain text.
6218 (doc-view-set-doc-type): Use assoc-string instead of
6221 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6223 * subr.el (read-key): Fix clicks on the mode-line.
6224 (set-transient-map): Return exit function.
6226 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
6227 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
6228 (mouse-yank-secondary): Use gui-get-selection.
6229 (mouse--down-1-maybe-follows-link): Use read-key.
6231 * xt-mouse.el: Add `event-kind' property on the fly from
6232 xterm-mouse-translate-1 rather than statically at the outset.
6234 2014-10-21 Daniel Colascione <dancol@dancol.org>
6236 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
6237 change window configuration when we turn it off.
6239 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6241 Get rid of backend-dependent selection-handling functions for kill/yank
6242 and make it generic instead by relying on the lower-level selection
6243 management functions.
6245 * select.el (select-enable-clipboard): Rename from
6246 gui-select-enable-clipboard.
6247 (select-enable-primary): Move from x-win.el and rename from
6248 x-select-enable-primary.
6249 (gui-last-selected-text): Remove.
6250 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
6252 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
6253 (gui-select-text-alist, gui-selection-value-alist): Remove.
6254 (x-select-request-type): Move from x-win.el.
6255 (gui--selection-value-internal): New function, taken from x-win's
6256 x-selection-value-internal.
6257 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
6258 (gui-set-selection-alist): Rename from gui-own-selection-alist and
6259 extend it to handle a nil value as a "disown" request.
6260 (gui-disown-selection-alist): Remove.
6261 (xselect-convert-to-delete): Adjust accordingly.
6262 (gui-set-selection): Simplify accordingly as well. Use dotimes.
6264 * term/x-win.el (x-last-selected-text-primary)
6265 (x-select-enable-primary): Remove (moved to select.el).
6266 (x-select-request-type): Move to select.el.
6267 (x-selection-value-internal, x--selection-value): Remove functions.
6268 (gui-selection-value, gui-select-text): Remove moethods.
6269 (gui-set-selection): Merge own and disown methods.
6271 * term/w32-win.el (w32--select-text, w32--get-selection-value):
6272 Delete function (move functionality into w32--set-selection and
6273 w32--get-selection).
6274 (gui-select-text, gui-selection-value): Don't define methods.
6275 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
6277 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
6279 (gui-selection-exists-p): Adjust to new name of C primitive.
6281 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
6282 test of gui-select-enable-clipboard, to make it usable as
6283 a gui-get-selection method.
6284 (gui-selection-exists-p): Adjust to new name of C primitive.
6285 (gui-set-selection): Merge own and disown methods.
6286 (gui-select-text, gui-selection-value): Delete methods.
6287 (w16--select-text): Delete function.
6289 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
6290 (ns-selection-value): Remove functions.
6291 (gui-select-text, gui-selection-value): Don't define method any more.
6292 (gui-set-selection): Merge the old own and disown methods.
6293 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
6294 underlying C primitive.
6296 * startup.el (command-line): Adjust now that `gui-method' expects nil
6299 * frame.el (gui-method): Use window-system rather than framep.
6300 (gui-method-declare): The tty case is now nil rather than t.
6301 (make-frame): Adjust accordingly.
6303 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6305 * net/newst-reader.el (newsticker--image-read): Simplify.
6306 (newsticker--icon-read): Use dolist and fix free var error.
6308 * imenu.el (imenu--menubar-keymap): New var.
6309 (imenu-add-to-menubar): Set it to remember the keymap we used.
6310 (imenu-update-menubar): Use it instead of asking lookup-key.
6312 * obsolete/cc-compat.el: Make obsolete (bug#18561).
6314 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
6316 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
6319 2014-10-21 Glenn Morris <rgm@gnu.org>
6321 * Merge in all changes up to version 24.4 release.
6323 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6325 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
6328 2014-10-20 Glenn Morris <rgm@gnu.org>
6330 * Merge in all changes up to 24.4 release.
6332 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
6334 * net/newst-backend.el
6335 (newsticker--image-download-by-url-callback): Make this function
6336 actually work: Check status properly, then save image.
6338 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6340 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
6342 (mouse-drag-line): Unless there's no actual mouse, use the event's
6345 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6347 * textmodes/css-mode.el (scss-mode): New major-mode.
6348 (css-mode-syntax-table): Use d style comment, to ease the scss case.
6349 (css-ident-re): Allow things like @-moz-keyframes.
6350 (scss--hash-re): New const.
6351 (css--font-lock-keywords): New function, extracted from
6352 css-font-lock-keywords.
6354 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
6356 * net/newst-backend.el: Require url-parse.
6357 (newsticker--get-news-by-wget): Store feed name as process property.
6358 (newsticker--sentinel): Read feed name from process property.
6359 (newsticker--sentinel-work): Rename argument name to feed-name.
6360 Rename variable imageurl to image-url. Pick icon url from Atom
6361 1.0 data. Launch download of feed icon.
6362 (newsticker--get-icon-url-atom-1.0): New.
6364 (newsticker--unxml-node)
6365 (newsticker--unxml-attribute): Documentation.
6366 (newsticker--icons-dir): New.
6367 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
6368 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
6369 (newsticker--image-download-by-wget): New. Use process properties
6370 for storing informations.
6371 (newsticker--image-sentinel): Read informations from process properties.
6372 (newsticker--image-save)
6373 (newsticker--image-remove)
6374 (newsticker--image-download-by-url)
6375 (newsticker--image-download-by-url-callback): New.
6376 (newsticker-opml-export): Handle url list entries containing a
6377 function instead of an url string.
6379 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
6380 (newsticker--print-extra-elements)
6381 (newsticker--do-print-extra-element):
6382 Documentation (newsticker--image-read): Optionally limit image height.
6383 Use imagemagick if possible.
6384 (newsticker--icon-read): New.
6386 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
6387 (newsticker--treeview-tree-expand): Use feed icons in treeview.
6388 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
6389 (newsticker--tree-widget-leaf-icon): Use feed icon.
6391 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6393 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
6394 Use help-function-arglist instead.
6396 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
6397 (eieio--with-scoped-class): Use `declare'.
6398 (eieio-defclass): Remove compatibility code.
6399 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
6400 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
6402 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
6404 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
6406 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
6407 replacements to stock names before stock names in a list.
6408 Cdr may be a list, each name is tried in turn until one is found.
6410 2014-10-18 Alan Mackenzie <acm@muc.de>
6412 Check that a "macro" found near point-min isn't a ## operator.
6413 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
6414 (c-beginning-of-macro): Use the above new function. (Bug#18749)
6416 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
6418 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
6419 correct data to `gnutls-boot' (Bug#18664).
6420 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
6422 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
6424 * whitespace.el (whitespace-style, whitespace-big-indent)
6425 (whitespace-big-indent-regexp, whitespace-style-value-list)
6426 (whitespace-toggle-option-alist, whitespace-interactive-char)
6427 (whitespace-toggle-options)
6428 (global-whitespace-toggle-options, whitespace-help-text)
6429 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
6430 style to `whitespace-mode' to indicate that the line indentation
6431 is too deep. By default, 32 SPACEs or four TABs are considered
6432 too many but `whitespace-big-indent-regexp' can be configured.
6434 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
6436 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
6439 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6441 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
6442 (defclass, defgeneric, defmethod): Add doc-string position.
6443 (with-slots): Require cl-lib.
6445 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
6446 (list-of): New type.
6447 (eieio--typep): Remove.
6448 (eieio-perform-slot-validation): Use cl-typep instead.
6450 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
6452 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
6454 2014-10-16 Alan Mackenzie <acm@muc.de>
6456 Trigger showing when point is in the "periphery" of a line or just
6458 * paren.el (show-paren-style, show-paren-delay)
6459 (show-paren-priority, show-paren-ring-bell-on-mismatch):
6460 Remove superfluous :group specifications.
6461 (show-paren-when-point-inside-paren)
6462 (show-paren-when-point-in-periphery): New customizable variables.
6463 (show-paren-highlight-openparen): Make into a defcustom.
6464 (show-paren--unescaped-p, show-paren--categorize-paren)
6465 (show-paren--locate-near-paren): New defuns.
6466 (show-paren--default): Refaactor and trigger on more paren
6468 (show-paren-function): Small consequential changes.
6470 2014-10-16 Tom Tromey <tom@tromey.com>
6472 * files.el (auto-mode-alist): Use javascript-mode for .jsm
6475 2014-10-16 Eli Zaretskii <eliz@gnu.org>
6477 * international/characters.el (bracket-type): Force pre-loading of
6480 2014-10-16 Alan Mackenzie <acm@muc.de>
6482 * cus-edit.el (custom-command-apply): Specify the return value in
6484 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
6485 custom-command-apply has returned non-nil.
6487 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
6489 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
6490 Remove incorrect handling of eldoc-print-after-edit.
6491 (eldoc-message-commands, eldoc-last-data): Use defvar.
6492 * loadup.el (emacs-lisp/eldoc): Load it.
6494 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
6496 (m4--quoted-p): New function.
6497 (m4-font-lock-keywords): Don't handle #..\n comments any more.
6498 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
6499 for most special characters.
6501 * progmodes/compile.el (compilation--previous-directory): Simplify.
6502 (compilation-next-error): Ensure the parse before we look at
6503 compilation-message property.
6505 2014-10-15 Eli Zaretskii <eliz@gnu.org>
6507 * simple.el (what-cursor-position):
6508 * descr-text.el (describe-char): Update to support the new bidi
6511 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
6512 Force bidi-paragraph-direction to 'left-to-right'. This fixes
6513 buffer-menu display when the first buffer happens to start with
6516 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
6518 * progmodes/elisp-mode.el (elisp--local-variables-1):
6519 Handle quoted expressions (bug#18688).
6521 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
6522 Michael Albinus <michael.albinus@gmx.de>
6524 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6525 Reduce the amount of set environment variable commands.
6527 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6529 Fix import completion. (Bug#18582)
6530 * progmodes/python.el (python-shell-completion-get-completions):
6531 Fix import case regexp.
6533 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6535 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
6536 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
6537 * progmodes/prolog.el (prolog-electric--underscore): Same.
6539 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
6541 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
6543 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
6545 * cus-start.el (all): Add missing ns and boolean to
6546 ns-use-fullscreen-animation.
6548 2014-10-11 Leo Liu <sdl.web@gmail.com>
6550 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
6552 (cfengine3-create-imenu-index): New function.
6553 (cfengine3-mode): Use it for `imenu-create-index-function'.
6554 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
6557 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
6559 * cus-start.el (all): Add ns-use-fullscreen-animation.
6561 2014-10-11 Glenn Morris <rgm@gnu.org>
6563 * calendar/diary-lib.el (diary-display-function):
6564 Drop support for deprecated nil and list forms.
6565 (diary-list-entries): Update for the above.
6566 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
6568 2014-10-10 Leo Liu <sdl.web@gmail.com>
6570 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
6573 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6575 * select.el (gui-selection-exists-p-alist): New method.
6576 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
6577 * simple.el (deactivate-mark): Use it.
6578 * term/x-win.el (gui-selection-exists-p):
6579 * term/w32-win.el (gui-selection-exists-p):
6580 * term/pc-win.el (gui-selection-exists-p):
6581 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
6583 2014-10-10 Glenn Morris <rgm@gnu.org>
6585 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
6586 Fix :type. Allow t to mean no limit.
6587 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
6589 2014-10-09 Glenn Morris <rgm@gnu.org>
6591 * frame.el (display-monitor-attributes-list): Doc tweaks.
6593 2014-10-09 Eli Zaretskii <eliz@gnu.org>
6595 * faces.el (display-grayscale-p): Mention in the doc string that
6596 the argument can be either a display name or a frame.
6598 * frame.el (display-pixel-height, display-pixel-width)
6599 (display-mm-height, display-mm-width, display-backing-store)
6600 (display-save-under, display-planes, display-color-cells)
6601 (display-visual-class, display-monitor-attributes-list)
6602 (display-screens): Mention in the doc string that the argument can
6603 be either a display name or a frame. Improve the docs of the
6604 monitor attributes. (Bug#18636)
6606 2014-10-09 Martin Rudalics <rudalics@gmx.at>
6608 * term.el (term-window-width): Subtract 1 from the width when
6609 any fringe has zero width, not just the right fringe. (Bug#18601)
6611 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6613 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
6615 2014-10-08 Leo Liu <sdl.web@gmail.com>
6617 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
6619 2014-10-08 Glenn Morris <rgm@gnu.org>
6621 * calendar/cal-x.el (calendar-dedicate-diary):
6622 Drop support for recently deleted aliases.
6624 2014-10-08 Leo Liu <sdl.web@gmail.com>
6626 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
6627 Always return a syntax. Replace call-process-shell-command with
6628 process-file. Ensure cfengine-mode-syntax-functions-regex is
6629 always set. Ensure cache when cfengine-cf-promises fails.
6632 2014-10-07 Glenn Morris <rgm@gnu.org>
6634 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
6636 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
6638 Sync with upstream verilog-mode revision c075a492.
6639 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
6640 (verilog-menu): Add AUTOINSERTLAST.
6641 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
6642 is nil, fix indenting initial/final to match always statements, bug825.
6643 Reported by Tim Clapp.
6644 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
6645 bug557. Reported by ZeDong Mao and Jason Forkey.
6646 (verilog-read-decls): Fix parsing typed interfaces.
6647 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
6648 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
6649 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
6650 Reported by Pierre-David Pfister.
6651 (verilog-auto-insert-lisp): Doc fix.
6652 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
6653 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
6654 (verilog-sk-ovm-class, verilog-sk-uvm-object)
6655 (verilog-sk-uvm-component): Fix missing string keyword in class
6656 skeletons, bug824. Reported by eldad faruhi.
6658 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6660 * term/w32-win.el: Move all code from 32-common-fns.el here.
6661 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
6662 console as well (bug#18629).
6663 * w32-common-fns.el: Remove.
6664 * loadup.el: Don't load w32-common-fns.el.
6665 * w32-fns.elc: Don't require w32-common-fns.
6667 * icomplete.el: Move Iswitchb autoload here. Much simpler.
6668 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
6669 Remove redundant obsolescence thingy.
6670 * loadup.el: Don't load obsolete/loaddefs.el.
6671 * Makefile.in (obsolete-autoloads): Remove.
6672 (AUTOGENEL): Remove obsolete/loaddefs.el.
6674 2014-10-06 Glenn Morris <rgm@gnu.org>
6676 * Makefile.in (obsolete-autoloads): Write to a separate file,
6677 to workaround autoloads bug. (Bug#17407)
6678 (AUTOGENEL): Add obsolete/loaddefs.el.
6679 * loadup.el: Load obsolete/loaddefs.el if present.
6680 * subr.el (do-after-load-evaluation):
6681 Don't warn about obsolete/loaddefs.el.
6683 * menu-bar.el (menu-bar-games-menu): Remove landmark.
6684 It has zero relationship to a game.
6686 2014-10-06 Leo Liu <sdl.web@gmail.com>
6688 * imenu.el (imenu): Re-write for clarity.
6690 2014-10-06 Glenn Morris <rgm@gnu.org>
6692 Remove calendar code obsolete since at least version 23.1.
6693 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
6694 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
6695 (calendar-goto-bahai-date, list-bahai-diary-entries)
6696 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
6697 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
6698 (insert-yearly-bahai-diary-entry):
6699 * calendar/cal-china.el (chinese-calendar-time-zone)
6700 (chinese-calendar-location-name)
6701 (chinese-calendar-daylight-time-offset)
6702 (chinese-calendar-standard-time-zone-name)
6703 (chinese-calendar-daylight-time-zone-name)
6704 (chinese-calendar-daylight-savings-starts)
6705 (chinese-calendar-daylight-savings-ends)
6706 (chinese-calendar-daylight-savings-starts-time)
6707 (chinese-calendar-daylight-savings-ends-time)
6708 (chinese-calendar-celestial-stem)
6709 (chinese-calendar-terrestrial-branch)
6710 (calendar-absolute-from-chinese, calendar-print-chinese-date)
6711 (calendar-goto-chinese-date):
6712 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
6713 (calendar-print-coptic-date, coptic-prompt-for-date)
6714 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
6715 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
6716 * calendar/cal-french.el (calendar-absolute-from-french)
6717 (calendar-print-french-date, calendar-goto-french-date):
6718 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
6719 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
6720 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
6721 (holiday-rosh-hashanah-etc, holiday-hanukkah)
6722 (holiday-passover-etc, holiday-tisha-b-av-etc)
6723 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
6724 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
6725 (insert-monthly-hebrew-diary-entry)
6726 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
6727 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
6728 (diary-sabbath-candles):
6729 * calendar/cal-islam.el (calendar-absolute-from-islamic)
6730 (calendar-print-islamic-date, calendar-goto-islamic-date)
6731 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
6732 (mark-islamic-diary-entries, insert-islamic-diary-entry)
6733 (insert-monthly-islamic-diary-entry)
6734 (insert-yearly-islamic-diary-entry):
6735 * calendar/cal-iso.el (calendar-absolute-from-iso)
6736 (calendar-print-iso-date, calendar-iso-read-args)
6737 (calendar-goto-iso-date, calendar-goto-iso-week):
6738 * calendar/cal-julian.el (calendar-absolute-from-julian)
6739 (calendar-print-julian-date, calendar-goto-julian-date)
6740 (calendar-absolute-from-astro, calendar-print-astro-day-number)
6741 (calendar-goto-astro-day-number):
6742 * calendar/cal-mayan.el (calendar-print-mayan-date)
6743 (calendar-next-haab-date, calendar-previous-haab-date)
6744 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6745 (calendar-next-calendar-round-date)
6746 (calendar-previous-calendar-round-date)
6747 (calendar-absolute-from-mayan-long-count)
6748 (calendar-goto-mayan-long-count-date):
6749 * calendar/cal-move.el (scroll-calendar-left)
6750 (scroll-calendar-right, scroll-calendar-left-three-months)
6751 (scroll-calendar-right-three-months):
6752 * calendar/cal-persia.el (calendar-absolute-from-persian)
6753 (calendar-print-persian-date, persian-prompt-for-date)
6754 (calendar-goto-persian-date):
6755 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
6756 * calendar/calendar.el (view-diary-entries-initially)
6757 (mark-diary-entries-in-calendar, calendar-today-face)
6758 (diary-face, holiday-face, view-calendar-holidays-initially)
6759 (mark-holidays-in-calendar, initial-calendar-window-hook)
6760 (today-visible-calendar-hook, today-invisible-calendar-hook)
6761 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
6762 (bahai-diary-entry-symbol, american-date-diary-pattern)
6763 (european-date-diary-pattern, european-calendar-display-form)
6764 (american-calendar-display-form, holidays-in-diary-buffer)
6765 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
6766 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
6767 (fancy-diary-buffer, increment-calendar-month)
6768 (extract-calendar-month, extract-calendar-day)
6769 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
6770 (mark-visible-calendar-date, calendar-version):
6771 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
6772 (diary-display-hook, list-diary-entries-hook)
6773 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
6774 (nongregorian-diary-marking-hook, print-diary-entries-hook)
6775 (abbreviated-calendar-year, number-of-diary-entries)
6776 (view-other-diary-entries, add-to-diary-list)
6777 (include-other-diary-files, simple-diary-display)
6778 (fancy-diary-display, print-diary-entries, mark-diary-entries)
6779 (mark-sexp-diary-entries, mark-included-diary-files)
6780 (mark-calendar-days-named, mark-calendar-month)
6781 (mark-calendar-date-pattern, sort-diary-entries)
6782 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
6783 (insert-weekly-diary-entry, insert-monthly-diary-entry)
6784 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
6785 (insert-block-diary-entry, insert-cyclic-diary-entry)
6786 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
6787 * calendar/holidays.el (general-holidays, oriental-holidays)
6788 (local-holidays, other-holidays, hebrew-holidays)
6789 (christian-holidays, islamic-holidays, bahai-holidays)
6790 (solar-holidays, list-calendar-holidays)
6791 (check-calendar-holidays, mark-calendar-holidays)
6792 (filter-visible-calendar-holidays):
6793 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
6794 (diary-phases-of-moon): Remove obsolete aliases.
6795 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
6796 * calendar/cal-x.el (calendar-one-frame-setup)
6797 (calendar-only-one-frame-setup, calendar-two-frame-setup):
6798 Remove obsolete functions.
6799 (cal-x-load-hook): Remove obsolete hook.
6800 * calendar/calendar.el (european-calendar-style):
6801 Remove obsolete variable.
6802 (calendar-date-style): No longer consult european-calendar-style.
6803 * calendar/calendar.el (european-calendar, american-calendar):
6804 Remove obsolete commands.
6805 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
6806 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
6807 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
6808 Use the face `diary' instead of the variable `diary-face'.
6809 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
6810 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
6811 * calendar/icalendar.el (icalendar--date-style): Remove function.
6812 Replace all uses with calendar-date-style.
6813 * textmodes/remember.el (calendar-date-style): Declare.
6814 (remember-diary-convert-entry):
6815 No longer consult european-calendar-style.
6817 2014-10-05 Leo Liu <sdl.web@gmail.com>
6819 * imenu.el (imenu-default-goto-function): Fix typo.
6821 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6823 * net/ntlm.el (ntlm-build-auth-request):
6824 Add NTLM2 Session support. (Bug#15603)
6826 2014-10-04 Glenn Morris <rgm@gnu.org>
6828 * apropos.el (apropos-symbols-internal):
6829 Avoid error with non-symbol properties. (Bug#18337#16)
6831 * startup.el (command-line):
6832 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
6834 2014-10-04 Martin Rudalics <rudalics@gmx.at>
6836 * window.el (window-full-height-p): Make it behave correctly for
6838 (window-current-scroll-bars): Fix code.
6839 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
6841 * frame.el (frame-current-scroll-bars): Fix doc-string.
6842 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
6844 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
6846 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
6848 2014-10-04 Glenn Morris <rgm@gnu.org>
6850 * frame.el (frame-monitor-attributes)
6851 (display-monitor-attributes-list): Doc fixes.
6853 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6855 Merge trivially safe differences from standalone CC-mode.
6856 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
6857 just to then pass it to `symbol-value'.
6858 (prog-mode): Provide fallback definition, if needed.
6859 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
6860 Remove "cl-" prefix accordingly.
6861 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
6862 characterp depending on the type of characters.
6863 (c-font-lock-enum-tail): Remove unused var `start'.
6864 * progmodes/cc-engine.el: Load CL at compile-time.
6865 (c-declare-lang-variables): Use mapcan.
6866 (c-append-to-state-cache): Remove unused var `ce+1'.
6867 (c-parse-state-state): Make buffer-local.
6868 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
6869 (c-just-after-func-arglist-p): Remove unused var `end'.
6870 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
6871 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
6872 (c-make-keywords-re): Use delete-dups.
6873 (c-get-current-file): Avoid file-name-base.
6874 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
6875 `close-paren-inserted'.
6876 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
6878 * progmodes/python.el: Avoid building unneeded markers.
6879 (python-font-lock-keywords, python-indent-dedent-line)
6880 (python-fill-paren, python-shell-completion-complete-or-indent):
6881 Prefer point over point-marker.
6882 (inferior-python-mode): Remove redundant completion settings.
6884 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
6886 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
6887 (vc-svn-ignore): Use it. (Bug#18619)
6889 2014-10-03 Martin Rudalics <rudalics@gmx.at>
6891 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
6892 In doc-string mention need to set `frame-resize-pixelwise'.
6894 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6896 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
6897 similarly to Rogers's 2010-06-16 change for the remote case
6900 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6902 New gui-selection-value consolidating x-selection-value.
6903 * select.el (gui-selection-value-alist): New method.
6904 (gui-selection-value): New function.
6905 (x-selection-value): Make it an obsolete alias.
6906 * simple.el (interprogram-paste-function): Default to
6907 gui-selection-value.
6908 * w32-common-fns.el (w32-get-selection-value): Simplify.
6909 (x-selection-value): Remove alias.
6910 (interprogram-paste-function): Don't set.
6911 (gui-selection-value): Define for w32.
6912 * term/x-win.el (gui-selection-value): Define for x.
6913 (x--selection-value): Rename from x--selection-value.
6914 (interprogram-paste-function): Don't set.
6915 * term/pc-win.el (w16-get-selection-value): Simplify.
6916 (msdos-initialize-window-system): Don't set
6917 interprogram-paste-function.
6918 (gui-selection-value): Define for pc.
6919 * term/ns-win.el (x-selection-value): Remove.
6920 (gui-selection-value): Define for ns, instead.
6921 * term/common-win.el (x-setup-function-keys): Don't set
6922 interprogram-paste-function.
6923 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
6924 Use gui-selection-value.
6926 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
6928 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
6930 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6932 * obsolete/lucid.el (read-number): Remove, redundant.
6933 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
6936 2014-10-02 Glenn Morris <rgm@gnu.org>
6938 * emacs-lisp/package.el (package-import-keyring):
6939 Create gnupg directory private. (Bug#17625#155)
6941 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6943 * progmodes/python.el (python-shell-completion-get-completions):
6944 Use python-shell--prompt-calculated-input-regexp from the
6945 process buffer (bug#18582).
6946 Don't assume that `line' comes from the process buffer.
6948 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6950 * frame.el: Use lexical-binding (bug#18598).
6951 (make-frame): Use t rather than nil for tty's window-system.
6952 * startup.el (command-line): Use gui-method.
6954 Consolidate management/ownership of selections.
6955 * select.el (gui-get-selection-alist): New method.
6956 (gui-get-selection): Use it. Rename from x-get-selection.
6957 (x-get-selection): Define as obsolete alias.
6958 (x-get-clipboard): Mark obsolete.
6959 (gui-get-primary-selection): New function.
6960 (x-get-selection-value): Mark obsolete.
6961 (gui-own-selection-alist, gui-disown-selection-alist)
6962 (gui-selection-owner-p-alist): New methods.
6963 (gui-set-selection): Use them. Rename from x-set-selection.
6964 (x-set-selection): Define as obsolete alias.
6965 (gui--valid-simple-selection-p): Rename from
6966 x-valid-simple-selection-p.
6967 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
6968 (gui-selection-owner-p, gui-get-selection): Define for w32.
6969 (w32-get-selection-value): Rename from x-get-selection-value.
6970 Use the new gui-last-selected-text.
6971 * term/x-win.el (x-get-selection-value): Remove.
6972 (x-clipboard-yank): Declare obsolete.
6973 (gui-own-selection, gui-disown-selection, gui-get-selection)
6974 (gui-selection-owner-p): Define for x.
6975 * term/w32-win.el (w32-win-suspend-error): Rename from
6976 x-win-suspend-error.
6977 * term/pc-win.el (w16-get-selection-value): Rename from
6978 x-get-selection-value.
6979 (w16-selection-owner-p): Rename from x-selection-owner-p.
6980 (gui-own-selection, gui-disown-selection, gui-get-selection)
6981 (gui-selection-owner-p): Define for pc.
6982 (w16--select-text): New function.
6983 * term/ns-win.el (gui-own-selection, gui-disown-selection)
6984 (gui-get-selection, gui-selection-owner-p): Define for ns.
6985 * term.el (term-mouse-paste):
6986 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
6988 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
6990 * calc/calc-help.el (calc-describe-thing): Quote strings
6991 which could look like regexps.
6993 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6995 Consolidate x-select-text.
6996 * frame.el (gui-method, gui-method-define, gui-method-declare)
6997 (gui-call): New macros.
6998 (gui-method--name): New function.
6999 (frame-creation-function-alist): Use gui-method-declare.
7000 (make-frame): Use gui-method.
7001 * select.el (gui-select-enable-clipboard): Rename from
7002 x-select-enable-clipboard and move here.
7003 (x-select-enable-clipboard): Define as obsolete alias.
7004 (gui-last-selected-text): New var, to replace x-last-selected-text.
7005 (gui-select-text): New GUI method.
7006 (gui-select-text): New function.
7007 (x-select-text): Define as obsolete alias.
7008 * term/common-win.el (x-select-enable-clipboard, x-select-text):
7010 * simple.el (interprogram-cut-function): Change default to
7012 (interprogram-paste-function): Change default to `ignore'.
7013 * w32-common-fns.el (interprogram-cut-function): Don't modify.
7014 * term/x-win.el (interprogram-cut-function): Don't modify.
7015 (gui-select-text): Add method for x.
7016 * term/w32-win.el (gui-select-text): Add method for w32.
7017 * term/pc-win.el (x-last-selected-text): Remove, use
7018 gui-last-selected-text instead.
7019 (msdos-initialize-window-system): Don't set interprogram-cut-function.
7020 (gui-select-text): Add method for pc.
7021 * term/ns-win.el (ns-last-selected-text): Remove, use
7022 gui-last-selected-text instead.
7023 (gui-select-text): Add method for ns.
7024 (x-setup-function-keys): Don't change interprogram-cut-function.
7025 * loadup.el ("startup"): Load after "frame".
7026 * subr.el (package--builtin-versions, package--description-file):
7027 Move from startup.el.
7028 * startup.el (package--builtin-versions, package--description-file):
7030 (handle-args-function-alist, window-system-initialization-alist):
7031 Use gui-method-declare.
7032 (command-line): Use gui-method.
7034 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7036 * subr.el (alist-get): New accessor.
7037 * emacs-lisp/gv.el (alist-get): Provide expander.
7038 * winner.el (winner-remember):
7039 * tempo.el (tempo-use-tag-list):
7040 * progmodes/gud.el (minor-mode-map-alist):
7041 * international/mule-cmds.el (define-char-code-property):
7042 * frameset.el (frameset-filter-params):
7043 * files.el (dir-locals-set-class-variables):
7044 * register.el (get-register, set-register):
7045 * calc/calc-yank.el (calc-set-register): Use it.
7046 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
7047 * tooltip.el (tooltip-set-param): Mark as obsolete.
7048 (tooltip-show): Use alist-get instead.
7049 * ses.el (ses--alist-get): Remove. Use alist-get instead.
7051 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
7053 * net/newst-backend.el: Remove Time-stamp. Rename variable
7054 `newsticker--download-logos' to `newsticker-download-logos' and
7055 make it customizable.
7056 (newsticker--sentinel-work): Move xml-workarounds to function
7057 `newsticker--do-xml-workarounds', call unless libxml-parser is
7058 used. Allow single quote in regexp for encoding.
7059 Use libxml-parser if available, else fall back to `xml-parse-region'.
7060 Take care of possibly missing namespace prefixes (like "RDF"
7061 instead of "rdf:RDF") when checking xml nodes and attributes (as
7062 libxml correctly removes the prefixes). Always use Atom 1.0 as
7063 fallback feed type. Rename `newsticker--download-logos' to
7064 `newsticker-download-logos'
7065 (newsticker--unxml, newsticker--unxml-node)
7066 (newsticker--unxml-attribute): New.
7067 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
7068 HTML code has become part of the xml parse tree.
7069 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
7070 of possibly missing namespace prefixes.
7071 (newsticker--parse-generic-items): Code formatting. Typo.
7072 (newsticker--images-dir): Add trailing slash.
7073 (newsticker--image-get): Fix error message.
7075 * net/newst-plainview.el: Remove Time-stamp.
7077 * net/newst-reader.el: Remove Time-stamp.
7078 (newsticker-download-logos): Rename variable
7079 `newsticker--download-logos' to `newsticker-download-logos' and
7080 make it customizable.
7081 (newsticker--print-extra-elements): Add optional parameter
7082 'htmlish for using html markup. Amend list of ignored elements.
7083 (newsticker--do-print-extra-element): Add parameter 'htmlish for
7086 * net/newst-ticker.el: Remove Time-stamp.
7088 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
7089 for formatting extra elements.
7091 * net/newsticker.el: Remove Time-stamp, Version.
7092 (newsticker-version): Make obsolete.
7094 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
7096 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
7099 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7101 * emacs-lisp/package.el (package-check-signature): Default to nil if
7102 GPG is not available.
7103 (package-refresh-contents): Don't mess with the keyring if we won't
7104 check the signatures anyway.
7106 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7108 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
7109 (ses-center, ses-center-span): Use them.
7110 (ses-print-cell): Bind them while calling the printer.
7111 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
7112 (ses-dorange): Revert last change.
7113 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
7115 (ses-set-cell): Avoid `eval'.
7116 (ses--time-check): Rename it from ses-time-check and turn it into
7119 * ses.el (ses-setup): Don't assume modifying the iteration var of
7120 dotimes affects the iteration (bug#18191).
7122 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
7124 * ses.el (ses-calculate-cell): Bind row and col dynamically to
7125 their values with 'cl-progv'.
7126 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
7127 their values with 'cl-progv', also use non-interned symbols for
7128 row, minrow, maxrow, mincol and maxcol.
7129 (maxrow maxcol): New defvar, to make the compiler happy.
7131 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7133 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
7134 completion functions.
7136 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
7138 * ses.el (ses--letref): Quote value before it gets re-evaluated.
7140 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
7142 Font-lock `cl-flet*', too.
7143 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
7144 Add "flet*" to intermediate var `cl-lib-kw'.
7146 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7148 * epg-config.el (epg-gpg-program): Use the plain program names rather
7149 than their absolute file name.
7151 * subr.el (track-mouse): New macro.
7152 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7153 Remove track-mouse case.
7154 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
7156 2014-09-27 Leo Liu <sdl.web@gmail.com>
7158 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
7160 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
7162 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7164 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
7165 Handle the case where `match' is :pcase--succeed or :pcase--fail
7168 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
7169 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
7170 (eldoc-schedule-timer): Obey it.
7171 (eldoc-documentation-function): Default to nil.
7172 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
7173 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
7174 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
7175 (eldoc-last-data-store, eldoc-docstring-first-line)
7176 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
7177 (eldoc-beginning-of-sexp, eldoc-current-symbol)
7178 (eldoc-function-argstring): Move to elisp-mode.el.
7179 (eldoc-symbol-function): Remove, unused.
7180 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
7181 (elisp-completion-at-point): Rename from lisp-completion-at-point.
7182 (elisp--preceding-sexp): Rename from preceding-sexp.
7183 * loadup.el: Load new file progmodes/elisp-mode.
7184 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
7185 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
7186 (lisp--local-variables-completion-table, lisp--expect-function-p)
7187 (lisp--form-quoted-p, lisp--company-doc-buffer)
7188 (lisp--company-doc-string, lisp--company-location)
7189 (lisp-completion-at-point): Move to elisp-mode.el.
7190 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
7191 extracted from emacs-lisp-mode-syntax-table.
7192 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
7194 (lisp-imenu-generic-expression): Add comments to document what comes
7195 from which Lisp dialect.
7196 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
7197 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
7198 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
7199 (emacs-lisp-byte-code-comment)
7200 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
7201 (lisp-interaction-mode-map, lisp-interaction-mode)
7202 (eval-print-last-sexp, last-sexp-setup-props)
7203 (last-sexp-toggle-display, prin1-char, preceding-sexp)
7204 (eval-last-sexp-1, eval-last-sexp-print-value)
7205 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
7206 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
7208 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
7210 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
7211 Do not match file names that end in '/', as they cannot be 'grep'
7212 hits nowadays. This prevents confusion when 'grep -r' reports a
7213 match in a file whose basename is ':12345:'. Conversely, do not
7214 require exactly the same sequence of spaces and tabs after both
7215 colons, and allow spaces or tabs before the second colon, as per
7216 the POSIX spec for 'grep' output.
7218 2014-09-26 Leo Liu <sdl.web@gmail.com>
7220 Add cl-parse-integer based on parse-integer (Bug#18557)
7221 * calendar/parse-time.el (parse-time-digits): Remove.
7222 (digit-char-p, parse-integer) Moved to cl-lib.el.
7223 (parse-time-tokenize, parse-time-rules, parse-time-string):
7224 Use cl-parse-integer.
7226 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
7228 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
7229 (cl-digit-char-p): New function.
7231 2014-09-25 Juri Linkov <juri@jurta.org>
7233 * vc/add-log.el (change-log-next-buffer): Don't create an empty
7234 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
7235 Return the current buffer if no files match the default pattern
7236 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
7238 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
7240 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
7241 the global vc-handled-backends (bug#18535).
7243 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
7245 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
7246 Suggested by <lompik@voila.fr>.
7248 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
7250 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
7251 Rename from `newsticker--treeview-do-get-node'.
7252 (newsticker--treeview-get-node-by-id):
7253 Rename from `newsticker--treeview-get-node'.
7254 (newsticker--treeview-buffer-init)
7255 (newsticker--treeview-buffer-init): Disable buffer undo.
7256 (newsticker--treeview-unfold-node): Adapt to modified
7257 `newsticker--group-find-parent-group'.
7258 (newsticker--group-do-find-group):
7259 Rename from `newsticker--group-do-find-group-for-feed'.
7260 Now works for both, groups and feeds.
7261 (newsticker--group-find-parent-group):
7262 Rename from `newsticker--group-find-group-for-feed'.
7263 Now works for both, groups and feeds.
7264 (newsticker--group-do-get-parent-group)
7265 (newsticker--group-get-parent-group): Remove.
7266 (newsticker-group-add-group): Change interactive prompts.
7267 (newsticker-group-add-group): Finally jump to added group.
7268 (newsticker-group-delete-group): Finally jump to current feed.
7269 (newsticker--group-do-rename-group, newsticker-group-rename-group)
7270 (newsticker--get-group-names, newsticker--group-names): New.
7271 (newsticker-group-move-feed): Finally jump to moved feed.
7272 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
7273 (newsticker-group-shift-group-down)
7274 (newsticker-group-shift-group-up, newsticker--group-shift): New.
7275 (newsticker-treeview-mode-map): New keybindings for new shift commands.
7277 * net/newst-backend.el (newsticker--item-list)
7278 (newsticker--item-position, newsticker--prev-message)
7279 (newsticker--scrollable-text): Move to newst-ticker.el.
7281 * net/newst-ticker.el (newsticker--item-list)
7282 (newsticker--item-position, newsticker--prev-message)
7283 (newsticker--scrollable-text): Move from newst-backend.el.
7285 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
7287 * window.el (fit-window-to-buffer): When counting buffer width,
7288 count the whole visible buffer. Correctly convert the body-height
7289 to pixel size for window-text-pixel-size (Bug#18498).
7291 2014-09-22 Sam Steingold <sds@gnu.org>
7293 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
7294 (sql-execute): Use `special-mode'.
7296 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7298 Add pcase-defmacro, as well as `quote' and `app' patterns.
7299 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
7300 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
7301 (pcase--funcall, pcase--eval): New functions.
7302 (pcase--u1): Use them for guard, pred, let, and app.
7303 (\`): Use the new feature to generate better code for vector patterns.
7304 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
7305 (pcase--upat): Remove.
7306 (pcase--macroexpand): Don't hardcode handling of `.
7307 (pcase--split-consp, pcase--split-vector): Remove.
7308 (pcase--split-equal): Disregard ` since it's expanded away.
7309 (pcase--split-member): Optimize for quote rather than for `.
7310 (pcase--split-pred): Optimize for quote rather than for `.
7311 (pcase--u1): Remove handling of ` (and of `or' and `and').
7312 Quote non-selfquoting values when passing them to `eq'.
7313 Drop `app's let-binding if the variable is not used.
7314 (pcase--q1): Remove.
7315 (`): Define as a pattern macro.
7316 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
7317 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
7318 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
7320 (pcase--split-match): Don't hoist or/and here any more.
7321 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
7322 (pcase--flip): New helper macro.
7323 (pcase--u1): Optimize the memq case directly.
7324 Don't handle neither self-quoting nor and/or patterns any more.
7325 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
7326 (pcase--macroexpand): New function.
7327 (pcase--expand): Use it.
7328 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
7329 New optimization functions.
7330 (pcase--u1): Add support for `quote' and `app'.
7331 (pcase): Document them in the docstring.
7333 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7335 Use lexical-bindin in Ibuffer.
7336 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
7337 (ibuffer-compile-format): Simplify.
7338 (ibuffer-clear-summary-columns): Simplify.
7339 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
7340 elem of dotimes when we don't refer to the iteration var from it.
7341 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
7342 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
7343 Silence byte-compiler.
7345 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7347 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
7348 expression for a list.
7350 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
7351 for functions with no arguments.
7353 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
7354 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
7356 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
7358 * simple.el (clone-indirect-buffer): Mention the return value
7361 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
7362 Text mode in docstring (bug#18464).
7364 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7366 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7367 Accept underscores in identifiers after "sub" (bug#18502).
7369 2014-09-21 Tassilo Horn <tsdh@gnu.org>
7371 * textmodes/reftex-sel.el (reftex-select-label-mode)
7372 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
7373 from special-mode (instead of fundamental-mode) and propertize
7374 with font-lock-face instead of just face. (Bug#18496)
7376 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
7378 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
7380 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
7381 `table-etc' when `end' is non-nil.
7382 (lisp-completion-at-point): Move `end' back if it's after quote.
7383 If in comment or string, only complete when after backquote.
7385 (lisp-completion-at-point): Don't use
7386 `lisp--local-variables-completion-table' in the
7387 `lisp--form-quoted-p' case.
7389 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
7391 * emacs-lisp/lisp.el (lisp--expect-function-p)
7392 (lisp--form-quoted-p): New functions.
7393 (lisp-completion-at-point): Use them to see if we're completing a
7394 variable reference, a function name, or just any symbol.
7395 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
7397 2014-09-18 Ivan Kanis <ivan@kanis.fr>
7399 * net/shr.el, net/eww.el: Don't override `shr-width', but
7400 introduce a new variable `shr-internal-width'. This allows users
7401 to specify a width themselves.
7403 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7405 * image-mode.el (image-toggle-display-image): If we have a
7406 `fit-width' or a `fit-height', don't limit the size of the image
7407 to the window size, because that doesn't preserve the aspect ratio.
7408 * image-mode.el: Move defvars earlier to avoid a byte-compilation
7411 2014-09-17 Reuben Thomas <rrt@sc3d.org>
7413 * progmodes/js.el: Add interpreter-mode-alist support for various
7414 JavaScript interpreters.
7416 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
7418 Don't assume 'grep' supports GREP_OPTIONS.
7419 The GREP_OPTIONS environment variable is planned to be marked
7420 obsolescent in GNU grep, due to problems in its use, so stop
7422 * progmodes/grep.el (grep-highlight-matches): Document this.
7423 (grep-process-setup): Do not set GREP_OPTIONS.
7424 (grep-compute-defaults): Use an explicit --color option if supported.
7426 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7428 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
7429 Don't add outdated key-shortcut cache (bug#18482).
7431 2014-09-15 Glenn Morris <rgm@gnu.org>
7433 * image.el (image-multi-frame-p): Fix thinko - do not force
7434 a delay if none was specified. (Bug#18334)
7436 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
7438 * window.el (fit-window-to-buffer): Doc fix.
7440 2014-09-15 Ivan Shmakov <ivan@siamics.net>
7442 * desktop.el (desktop-create-buffer): Check that buffers are still live
7443 before burying them (bug#18373).
7445 2014-09-15 Glenn Morris <rgm@gnu.org>
7447 * calendar/diary-lib.el (diary-list-entries):
7448 Restore 24.3 display behavior. (Bug#18381)
7450 2014-09-15 Eli Zaretskii <eliz@gnu.org>
7452 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
7453 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
7454 discrepancy between window-pixel-edges and mouse events, and
7455 avoids moving mode line up when the mouse click is on the modeline
7456 and no drag is attempted.
7458 2014-09-14 Daniel Colascione <dancol@dancol.org>
7460 * register.el (insert-register): Change default interactive
7463 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
7465 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
7466 Suppress debug messages.
7468 * net/tramp.el (tramp-file-name-handler):
7469 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
7472 2014-09-13 Christopher Schmidt <ch@ristopher.com>
7474 * calendar/calendar.el (calendar-update-mode-line):
7475 Do not overwrite mode-line-format if calendar-mode-line-format is
7478 2014-09-13 Leo Liu <sdl.web@gmail.com>
7480 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
7481 (pcase--expand): Use it.
7482 (pcase-exhaustive): New macro. (Bug#16567)
7484 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
7485 Add pcase-exhaustive.
7487 2014-09-13 Eli Zaretskii <eliz@gnu.org>
7489 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
7490 using the specified transfer-encoding, if any, or 'undecided'.
7491 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
7492 broken at the window margin.
7494 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
7496 Support rendering of HTML parts in Rmail (bug#4258).
7497 * mail/rmailmm.el (rmail-mime-process): Handle text/html
7498 separately from other text/ types. Suppress tagline for
7500 (rmail-mime-parse): Don't change visibility of tagline here.
7501 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
7502 Handle text/html specially.
7503 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
7504 (rmail-mime-insert-html, rmail-mime-render-html-shr)
7505 (rmail-mime-render-html-lynx): New functions.
7506 (rmail-mime-fix-inserted-faces): New function.
7507 (rmail-mime-process-multipart): Find the best part to show
7508 following rmail-mime-prefer-html if set.
7509 (rmail-mime-searching): New variable.
7510 (rmail-search-mime-message): Bind rmail-mime-searching to
7511 suppress rendering while searching.
7513 2014-09-12 Sam Steingold <sds@gnu.org>
7515 * progmodes/sql.el (sql-product-alist): Add vertica.
7516 (sql-vertica-program, sql-vertica-options)
7517 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
7518 New functions and variables to support Vertica.
7519 Inspired by code by Roman Scherer <roman@burningswell.com>.
7521 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
7523 * ses.el (ses-file-format-extend-parameter-list): Rename from
7524 ses-file-format-extend-paramter-list, to correct a misspelling.
7527 2014-09-10 Alan Mackenzie <acm@muc.de>
7529 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
7530 gets loaded at run-time).
7531 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
7532 c-lang-const to c-make-no-parens-syntax-table and correct the
7534 (c-no-parens-syntax-table): Correct the logic of the
7537 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7539 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
7541 * progmodes/cc-mode.el (c-basic-common-init):
7542 Set open-paren-in-column-0-is-defun-start.
7543 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
7544 Remove declarations, unused.
7545 (run-mode-hooks): Remove declaration.
7546 (font-lock-defaults): Use plain `defvar' to declare.
7547 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
7548 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
7549 (c-make-mode-syntax-table): Don't micro-optimize.
7550 (c-keywords, c-keyword-member-alist): Simplify.
7551 (c-kwds-lang-consts): Don't eval at compile-time.
7552 (c-primary-expr-regexp): Comment out unused vars.
7553 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
7554 (c-font-byte-compile): New var.
7555 (c--compile): New function. Use it instead of `byte-compile'.
7556 (c-cpp-matchers): Quote the value returned by
7557 `c-make-syntactic-matcher' in case it's not self-evaluating.
7558 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
7559 parentheses instead (in case MATCHER happens to be a list).
7560 (c-font-lock-enum-tail): Remove unused var `start'.
7561 (c-font-lock-objc-methods): Silence byte-compiler warnings.
7562 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
7563 test into an argument.
7564 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
7565 (c-get-char-property): Don't use `eval' just to unquote a constant.
7566 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
7568 (c-put-char-property-fun): Don't call `byte-compile' by hand.
7569 (c-clear-char-property, c-clear-char-properties): Check that `property'
7570 is a quoted constant.
7571 (c-emacs-features): Remove `infodock', `syntax-properties', and
7572 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
7573 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
7574 changing buffer, so we don't have to setq them again afterwards.
7575 (c-lang-const): Remove redundant symbolp assertions.
7576 (c-find-assignment-for-mode): Use `or'.
7577 * Makefile.in (compile-one-process): Remove cc-mode dependency.
7579 2014-09-09 Sam Steingold <sds@gnu.org>
7581 * progmodes/sql.el (sql-default-directory): Fix type annotation.
7583 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7585 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
7586 Change doc comments into docstrings.
7587 * Makefile.in: Remove cc-awk dependency.
7589 2014-09-08 Sam Steingold <sds@gnu.org>
7591 * progmodes/sql.el (sql-send-line-and-next): New command,
7593 (sql-show-sqli-buffer): Display the buffer instead of its name and
7594 bind the command to C-c C-z.
7595 (sql-default-directory): New user option.
7596 (sql-product-interactive): Bind `default-directory' to it to
7597 enable remote connections using Tramp.
7598 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
7599 suitable buffer is available.
7601 2014-09-08 Glenn Morris <rgm@gnu.org>
7603 * calendar/calendar.el (calendar-basic-setup):
7604 Fix calendar-view-holidays-initially-flag and fancy display.
7605 * calendar/diary-lib.el (diary-live-p): Doc fix.
7607 * calendar/calendar.el (calendar-basic-setup):
7608 Avoid clobbering calendar with diary. (Bug#18381)
7610 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7612 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
7614 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
7616 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
7617 as well (bug#18400).
7619 2014-09-08 Eli Zaretskii <eliz@gnu.org>
7621 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
7623 2014-09-06 Leo Liu <sdl.web@gmail.com>
7625 * emacs-lisp/pcase.el (pcase): Doc fix.
7626 (pcase--split-vector): New function.
7627 (pcase--q1): Support vector qpattern. (Bug#18327)
7629 2014-09-05 Sam Steingold <sds@gnu.org>
7631 * textmodes/tex-mode.el (tex-print-file-extension): New user
7633 (tex-print): Use it instead of the hard-coded string.
7635 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
7637 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7638 Expand `default-directory'.
7640 2014-09-05 Martin Rudalics <rudalics@gmx.at>
7642 * scroll-bar.el (horizontal-scroll-bars-available-p):
7644 (horizontal-scroll-bar-mode): Rewrite using
7645 horizontal-scroll-bars-available-p.
7646 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
7647 horizontal-scroll-bars-available-p.
7649 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7651 * subr.el (call-process-shell-command, process-file-shell-command):
7652 Make the `args' obsolete (bug#18409).
7653 (start-process-shell-command, start-file-process-shell-command):
7656 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
7658 * calc/calc-forms.el (math-normalize-hms): Do a better check for
7659 "negative" hms forms.
7661 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
7663 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
7664 returns nil (bug#18391).
7666 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7668 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
7669 terminating paren (bug#18352).
7670 (eldoc-last-data-store): Return cached data.
7671 (eldoc-get-var-docstring): Avoid setq.
7672 (eldoc-get-fnsym-args-string): Clarify data flow.
7674 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7676 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
7677 case where we're currently providing part of the &rest arg after some
7678 &key args, as in define-ibuffer-op (bug#18048).
7680 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7682 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
7683 buffer-local setting of which-func-mode.
7684 (which-func-mode): Use defvar-local.
7685 (which-function-mode): Don't reset which-func-mode in each buffer since
7686 it might have been set by someone else.
7687 (which-func-update-ediff-windows): Check which-function-mode.
7689 2014-09-03 Martin Rudalics <rudalics@gmx.at>
7691 * frame.el (frame-initialize): Remove horizontal-scroll-bars
7692 from frame-initial-frame-alist.
7693 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
7694 (horizontal-scroll-bar-mode-explicit)
7695 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
7696 (toggle-horizontal-scroll-bar): Remove.
7697 (horizontal-scroll-bar-mode): Remove defcustom.
7698 (horizontal-scroll-bar-mode): Fix doc-string.
7699 (scroll-bar-toolkit-scroll)
7700 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
7702 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7704 * emacs-lisp/package.el (package-generate-description-file):
7705 Properly quote the arguments (bug#18332). Change second arg.
7706 (package--alist-to-plist-args): Rename from package--alist-to-plist and
7708 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
7709 the *-pkg.el file. Adjust to new calling convention of
7710 package-generate-description-file.
7712 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
7713 (gud-gdb-completions): Remove obsolete workaround.
7715 2014-09-03 Eli Zaretskii <eliz@gnu.org>
7717 * subr.el (posn-col-row): Revert the change from commit
7718 2010-11-13T21:07:58Z!eliz@gnu.org, which
7719 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
7720 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
7721 introduced an off-by-one error in the reported row when there is a
7722 header line. (Bug#18384)
7724 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
7726 * progmodes/python.el (python-indent-post-self-insert-function):
7727 Avoid electric colon at beginning-of-defun. (Bug#18228)
7729 2014-09-03 Glenn Morris <rgm@gnu.org>
7731 * tutorial.el (tutorial--display-changes):
7732 Fix 2014-08-01 change. (Bug#18382)
7734 2014-09-03 Ken Brown <kbrown@cornell.edu>
7736 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
7737 the Cygwin-w32 build. (Bug#18347)
7739 2014-09-03 Glenn Morris <rgm@gnu.org>
7741 * tar-mode.el (tar--extract, tar-extract):
7742 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
7744 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7746 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
7747 handle multiline elements (bug#18380).
7749 2014-09-01 Eli Zaretskii <eliz@gnu.org>
7751 * ls-lisp.el (ls-lisp-use-string-collate)
7752 (ls-lisp-UCA-like-collation): New defcustoms.
7753 (ls-lisp-string-lessp): Use them to control sorting by file
7755 (ls-lisp-version-lessp): New function.
7756 (ls-lisp-handle-switches): Use it to implement the -v switch of
7758 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
7760 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
7762 * ibuffer.el: Replace mode-specific quit function with
7763 `quit-window' via `special-mode'.
7764 (ibuffer-mode-map): Use keybindings from special-mode-map instead
7766 (ibuffer): Don't store previous windows configuration.
7767 Let `quit-window' handle restoring.
7768 (ibuffer-quit): Remove function. Use `quit-window' instead.
7769 (ibuffer-restore-window-config-on-quit): Remove variable.
7770 (ibuffer-prev-window-config): Remove variable.
7772 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
7774 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
7775 name instead of variable name in hook docstring. (Bug#18349)
7777 2014-08-29 Martin Rudalics <rudalics@gmx.at>
7779 * window.el (display-buffer-at-bottom): Prefer bottom-left
7780 window to other bottom windows. Reuse a bottom window if it
7781 shows the buffer already. Suggested by Juri Linkov
7782 <juri@jurta.org> in discussion of (Bug#18181).
7784 2014-08-29 Leo Liu <sdl.web@gmail.com>
7786 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
7787 append to minibuffer-setup-hook. (Bug#18341)
7789 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7791 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
7793 (lookup-syntax-properties): Silence byte-compiler.
7794 (c-lang-defconst): Quote the code with `lambda' rather than with
7796 (c-lang-const): Avoid unneeded setq.
7797 (c-lang-constants-under-evaluation): Add docstring.
7798 (c-lang--novalue): New constant.
7799 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
7800 (c-get-lang-constant): Same here.
7801 Get the mode's value using `funcall' now that the code is quoted
7804 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7806 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
7809 2014-08-28 Martin Rudalics <rudalics@gmx.at>
7811 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
7812 interpretation of `portion-whole'.
7814 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7816 * net/tramp-adb.el: Spell author name correctly.
7818 2014-08-28 João Távora <joaotavora@gmail.com>
7820 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
7821 use url-expand-file-name. (Bug#18310)
7823 2014-08-28 Glenn Morris <rgm@gnu.org>
7825 * emulation/cua-rect.el (cua--highlight-rectangle):
7826 Avoid error at point-min. (Bug#18309)
7828 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7830 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
7831 executable-find (bug#18244).
7833 * simple.el (self-insert-uses-region-functions): Defvar.
7835 2014-08-28 Glenn Morris <rgm@gnu.org>
7837 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
7839 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
7841 * startup.el (normal-top-level): Now use internal--top-level-message.
7843 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
7845 * startup.el (normal-top-level): Use top-level-message.
7847 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7849 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
7850 URLs containing spaces and the like.
7852 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7854 * subr.el (remq): Fix docstring (Bug#18253).
7856 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7858 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
7860 2014-08-24 Alan Mackenzie <acm@muc.de>
7862 Handle C++11's "auto" and "decltype" constructions.
7863 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
7864 and return 'decltype.
7865 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
7866 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
7868 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
7870 (c-font-lock-c++-new): Handle "decltype" constructions.
7871 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
7872 New c-lang-defconsts/defvars.
7873 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
7874 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
7875 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
7876 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
7878 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
7879 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
7880 off from c->-op-cont-re.
7881 (c->-op-cont-tokens): Change to use the above.
7882 (c->-op-without->-cont-regexp): New lang-const.
7883 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
7884 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
7887 2014-08-23 Alan Mackenzie <acm@muc.de>
7889 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
7890 loop, bug #18306. The bug was introduced on 2014-08-02.
7892 2014-08-21 Eli Zaretskii <eliz@gnu.org>
7894 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
7895 Don't recognize a Top node if there are other sectioning commands
7896 earlier in the Texinfo file. This fixes a bug in
7897 texinfo-make-menu and avoids inflooping in
7898 texinfo-all-menus-update when they are invoked on texinfo.texi.
7900 2014-08-21 Martin Rudalics <rudalics@gmx.at>
7902 * window.el (window--side-window-p): New function.
7903 (split-window, window-splittable-p): Use window--side-window-p to
7904 determine whether WINDOW can be split (Bug#18304).
7905 * calendar/calendar.el (calendar-basic-setup): Fix one call of
7906 `window-splittable-p' and add another (Bug#18304).
7908 2014-08-20 Sam Steingold <sds@gnu.org>
7910 * progmodes/python.el (python-new-pythonpath): Extract from
7911 `python-shell-calculate-process-environment'.
7913 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7915 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
7916 for &key args (bug#18048).
7918 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7920 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
7921 (eldoc-function-argstring-format): Remove.
7922 (eldoc-function-argstring): Always return upcase args.
7923 Use help-make-usage. Don't add parens.
7924 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
7925 it's too late to do it right (bug#18048).
7927 2014-08-18 Eli Zaretskii <eliz@gnu.org>
7929 * scroll-bar.el (scroll-bar-horizontal-drag-1)
7930 (scroll-bar-toolkit-horizontal-scroll): When determining the
7931 paragraph direction, use the buffer of the window designated in
7934 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
7936 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
7937 context of unified diff.
7939 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
7941 Add dependencies to fix loaddefs race during parallel builds.
7942 Without this, for example, 'make -j bootstrap' can fail and report
7943 "Opening input file: no such file or directory,
7944 .../lisp/calendar/diary-loaddefs.el ... recipe for target
7945 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
7946 got confused because diary-loaddefs.el was being built in parallel.
7947 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
7948 Depend on $(CAL_DIR)/cal-loaddefs.el.
7949 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
7951 2014-08-16 Martin Rudalics <rudalics@gmx.at>
7953 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
7954 portion-whole for scrolling right-to-left text.
7956 2014-08-15 Leo Liu <sdl.web@gmail.com>
7958 * speedbar.el (speedbar-generic-list-tag-p): Allow special
7959 elements from imenu.
7961 2014-08-15 Glenn Morris <rgm@gnu.org>
7963 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
7965 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7967 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7968 Add Guile regexpses.
7970 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
7972 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
7973 add Guile debugger support for GUD.
7975 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7977 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
7978 (mouse-sel--ignore): New function.
7979 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
7980 (mouse-sel-original-interprogram-cut-function)
7981 (mouse-sel-original-interprogram-paste-function): Remove.
7983 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
7985 * vc/vc-git.el (vc-git-resolve-when-done): New function.
7986 Call "git add" when there are no longer conflict markers.
7988 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7990 * vc/vc-git.el (vc-git-find-file-hook): New function.
7991 Adds support for calling smerge (and resolve) on a conflicted file.
7992 (vc-git-conflicted-files): New function.
7993 Useful in itself and a step towards better smerge support.
7995 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7997 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
7998 to the first part if they're the same as the selection.
8000 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8002 * image-mode.el (image-transform-reset): New command and menu item.
8003 (image-mode-map): Rearrange the menu items to put presumably more
8004 obscure items at the end.
8006 2014-08-12 Juri Linkov <juri@jurta.org>
8008 * vc/vc-annotate.el (vc-annotate-background-mode):
8009 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
8011 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8013 * files.el (out-of-memory-warning-percentage): Turn it off by default.
8015 2014-08-11 Sam Steingold <sds@gnu.org>
8017 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
8018 the presence of known validators (tidy, (o)nsgmls).
8020 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
8022 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
8023 * net/newst-treeview.el (newsticker-treeview-date-format): New.
8024 (newsticker--treeview-list-add-item):
8025 Use `newsticker-treeview-date-format'.
8027 2014-08-11 Glenn Morris <rgm@gnu.org>
8029 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
8030 chose coding system for writing before backing up, since it causes
8031 a more serious problem than the one it solves. (Closes Bug#18141,
8034 2014-08-11 Martin Rudalics <rudalics@gmx.at>
8036 * window.el (window-total-size): Make doc-string more self-contained.
8038 * window.el (display-buffer-below-selected): Restore original
8039 behavior if buffer is already displayed in the window below the
8040 selected one (Bug#18181).
8042 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
8044 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
8047 2014-08-11 Eli Zaretskii <eliz@gnu.org>
8049 * info.el (info): Doc fix.
8051 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
8053 * info.el (Info-mode-map): Override a global down-mouse-2 binding
8056 2014-08-11 Eli Zaretskii <eliz@gnu.org>
8058 * simple.el (default-line-height): A floating-point value of
8059 line-spacing means a fraction of the default frame font's height,
8060 not of the font currently used by the 'default' face.
8061 Truncate the pixel value, like the display engine does.
8062 (window-screen-lines): Use window-inside-pixel-edges for
8063 determining the window height in pixels. (Bug#18195)
8065 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
8067 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
8069 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
8071 Enumerate evaluated sexp diary entries (Bug#7911).
8072 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
8073 (icalendar-export-sexp-enumeration-days): New.
8074 (icalendar-export-region): Now `icalendar--convert-to-ical'
8075 returns a cons cell or a list of cons cells.
8076 (icalendar--convert-to-ical): Take care of
8077 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
8078 (icalendar--convert-ordinary-to-ical)
8079 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8080 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
8081 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
8082 (icalendar--convert-anniversary-to-ical): Return cons cell.
8083 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
8084 entries. Return (list of) cons cells.
8086 2014-08-09 Juri Linkov <juri@jurta.org>
8088 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
8089 to reevaluate `vc-annotate-color-map'. (Bug#18189)
8091 2014-08-09 Alan Mackenzie <acm@muc.de>
8093 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
8094 for top-level that can cause unacceptable slow-down in scrolling.
8095 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
8096 Antipov from 2013-10-14 in emacs-devel.
8098 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8100 * ibuffer.el (ibuffer-mode-map): Use toggle button for
8101 `ibuffer-auto-mode' menu entry.
8102 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
8104 2014-08-08 Matthias Meulien <orontee@gmail.com>
8106 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
8109 2014-08-07 Martin Rudalics <rudalics@gmx.at>
8111 * window.el (window--min-size-1): Explicitly set WINDOW arg in
8112 calls of window-min-pixel-height and window-min-pixel-width.
8114 2014-08-07 Reuben Thomas <rrt@sc3d.org>
8116 * progmodes/ada-mode.el:
8117 * net/tramp.el (tramp-handle-file-symlink-p):
8118 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
8119 about VMS, which we no longer support.
8120 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
8121 and fix a FIXME, using convert-standard-filename in place of
8122 removed ada-convert-file-name.
8124 2014-08-07 Eli Zaretskii <eliz@gnu.org>
8126 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
8128 2014-08-07 Reuben Thomas <rrt@sc3d.org>
8130 Refer to MS-DOS using the same name everywhere.
8131 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
8132 ``msdog'' become ``MS-DOS''.
8134 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
8136 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8137 Use cached "remote-copy-args" value, if available. (Bug#18199)
8139 2014-08-07 Leo Liu <sdl.web@gmail.com>
8141 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
8142 Revert change on 2014-03-22.
8144 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
8146 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
8147 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
8151 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8153 * image-mode.el (image-toggle-display-image): Always rescale images
8154 to not be bigger than the current window.
8156 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
8158 * net/eww.el (eww-bookmarks-directory): New variable.
8159 (eww-write-bookmarks): Use it.
8160 (eww-read-bookmarks): Ditto.
8162 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8164 * net/shr.el (shr-copy-url): Also copy the image URL.
8166 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
8168 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
8169 also for Tramp working buffers.
8171 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
8173 * progmodes/python.el: Fix completions inside (i)pdb.
8174 (python-shell-completion-pdb-string-code): Make obsolete.
8175 (python-shell-completion-get-completions):
8176 Use python-shell-completion-string-code resending setup code
8177 continuously for (i)pdb.
8179 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
8181 * rect.el (rectangle--default-line-number-format): Rename
8182 from misspelled rectange--default-line-number-format (Bug#18045).
8185 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
8187 Don't mishandle year-9999 dates (Bug#18176).
8188 * calendar/parse-time.el (parse-time-rules):
8189 Allow years up to most-positive-fixnum.
8190 * calendar/time-date.el (date-to-time):
8191 Pass "Specified time is not representable" errors through.
8193 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8195 * progmodes/python.el: Completion code cleanups.
8196 (python-shell-completion-get-completions): Detect and send import
8197 statements directly to completion function.
8198 (python-shell-completion-at-point): Simplify prompt calculation
8199 and import vs input completion logic.
8201 2014-08-02 Alan Mackenzie <acm@muc.de>
8203 Fix confusion in C++ file caused by comma in "= {1,2},".
8205 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
8206 for a statement boundary marked by "}", check there's no "="
8208 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
8209 non-nil `comma-delim' argument.
8210 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
8211 initializer expression more accurately.
8213 Correct loop termination condition in c-syntactic-skip-backward.
8214 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
8215 the situation where, after moving back out of a literal,
8216 skip-chars-backward doesn't move further, yet checks have still to
8219 2014-08-01 Eli Zaretskii <eliz@gnu.org>
8221 * tutorial.el (tutorial--display-changes): Accept punctuation
8222 characters before the key binding. (Bug#18146)
8224 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
8226 * progmodes/python.el: Shell output capture enhancements.
8227 (python-shell-accept-process-output): New function.
8228 (inferior-python-mode)
8229 (python-shell-send-setup-code): Use it.
8231 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
8233 * calendar/icalendar.el (icalendar--decode-isodatetime):
8234 Use actual current-time-zone when converting to local time. (Bug#15408)
8236 2014-07-29 Martin Rudalics <rudalics@gmx.at>
8238 * window.el (window--state-put-2): Handle horizontal scroll
8241 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8243 * menu-bar.el (menu-bar-update-buffers): Update item list format
8244 in `buffers-menu' to confirm with changes to `get_keyelt'
8245 (r117463). (Bug#18016)
8247 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8249 * progmodes/python.el (inferior-python-mode): Make input prompts
8252 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
8254 * net/tramp-sh.el (tramp-get-remote-python): Also search for
8255 executables named "python2" or "python3".
8256 (tramp-get-remote-uid-with-python): Use parentheses around
8257 arguments to `print' to make it compatible with Python 3.
8258 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
8260 2014-07-28 Eli Zaretskii <eliz@gnu.org>
8262 * window.el (window--pixel-to-total): Use FRAME's root window, not
8263 that of the selected frame. (Bug#18112, Bug#16674)
8265 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
8267 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
8270 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8272 * progmodes/python.el (inferior-python-mode): Doc fix.
8274 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
8276 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
8277 not a character, ignore it instead of raising an error.
8279 * calendar/todo-mode.el: Fix handling of marked items and make
8280 minor code improvements.
8281 (todo-edit-item): If there are marked items, ensure user can only
8282 invoke editing commands that work with marked items.
8283 (todo-edit-item--text): When there are marked items, make it a
8284 noop if invoked with point not on an item; otherwise, ensure it
8285 applies only to item at point.
8286 (todo-item-undone): If there are marked not-done items, return
8287 point to its original position before signaling user error.
8288 (todo--user-error-if-marked-done-item): New function.
8289 (todo-edit-item--header, todo-edit-item--diary-inclusion)
8290 (todo-item-done): Use it.
8292 2014-07-28 Glenn Morris <rgm@gnu.org>
8294 * files.el (toggle-read-only): Re-add basic doc-string.
8295 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
8297 * progmodes/prolog.el (prolog-mode-keybindings-edit):
8298 Replace missing `switch-to-prolog' with `run-prolog'.
8299 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
8301 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
8303 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
8304 of file-wide setting when changing category-wide setting.
8306 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
8308 * doc-view.el (doc-view-open-text): Don't require that the
8309 document is saved in a file (e.g., email attachment).
8311 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8313 Parse completion input in a iPython friendly way. (Bug#18084)
8314 * progmodes/python.el
8315 (python-shell-completion-at-point): Rename from
8316 python-shell-completion-complete-at-point.
8317 (inferior-python-mode): Use it.
8318 (python-completion-at-point): Rename from
8319 python-completion-complete-at-point. Parse input up to first
8320 backward occurrence of whitespace, open-paren, close-paren or
8322 (python-mode): Use it.
8324 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8326 * progmodes/python.el
8327 (python-shell-with-shell-buffer): New macro.
8328 (python-shell-font-lock-get-or-create-buffer)
8329 (python-shell-font-lock-kill-buffer)
8330 (python-shell-font-lock-with-font-lock-buffer)
8331 (python-shell-font-lock-cleanup-buffer)
8332 (python-shell-font-lock-toggle): Use it.
8333 (python-shell-font-lock-turn-on)
8334 (python-shell-font-lock-turn-off): Use it. Make command.
8336 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8338 Grab all Python process output before inferior-python-mode hooks.
8339 * progmodes/python.el (inferior-python-mode):
8340 Call accept-process-output and sit-for to ensure all output for process
8341 has been received before running hooks.
8342 (python-shell-internal-get-or-create-process):
8343 Cleanup accept-process-output and sit-for calls.
8345 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8347 More robust shell startup and code setup.
8348 * progmodes/python.el (python-shell-make-comint):
8349 Remove accept-process-output call.
8350 (python-shell-get-buffer): Return current buffer if major-mode is
8351 inferior-python-mode.
8352 (python-shell-get-or-create-process): Use it.
8353 (python-shell-send-setup-code): Send all setup code in one string,
8354 output success message and accept-process-output.
8356 2014-07-27 Eli Zaretskii <eliz@gnu.org>
8358 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
8359 Add rudimentary support for bidirectional text.
8361 2014-07-27 Martin Rudalics <rudalics@gmx.at>
8363 * frame.el (frame-notice-user-settings): Rewrite using
8364 frame-initial-frame-tool-bar-height.
8365 * menu-bar.el (menu-bar-horizontal-scroll-bar)
8366 (menu-bar-no-horizontal-scroll-bar): New functions.
8367 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
8369 * scroll-bar.el (scroll-bar-lines)
8370 (set-horizontal-scroll-bar-mode)
8371 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
8372 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
8373 (scroll-bar-toolkit-horizontal-scroll): New functions.
8374 (horizontal-scroll-bar-mode)
8375 (previous-horizontal-scroll-bar-mode)
8376 (horizontal-scroll-bar-mode-explicit): New variables.
8377 (horizontal-scroll-bar-mode): New option.
8378 (toggle-horizontal-scroll-bar): Do something.
8379 (top-level): Bind horizontal-scroll-bar mouse-1.
8380 * startup.el (tool-bar-originally-present): Remove variable.
8381 (command-line): Don't set tool-bar-originally-present.
8382 * window.el (window-min-height): Update doc-string.
8383 (window--dump-frame): Dump horizontal scroll bar values.
8384 (window--min-size-1): Handle minibuffer window separately.
8385 Count in margins and horizontal scroll bar. Return safe value
8386 iff IGNORE equals 'safe.
8387 (frame-windows-min-size): New function (used by frame resizing
8389 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
8391 (window--sanitize-window-sizes): New function.
8392 (window-split-min-size): Remove.
8393 (split-window): Count divider-width. Don't use
8394 `window-split-min-size' any more. Reword error messages.
8395 Sanitize windows sizes after splitting.
8397 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
8399 Use `defvar-local' more.
8400 * progmodes/hideshow.el
8401 (hs-c-start-regexp, hs-block-start-regexp)
8402 (hs-block-start-mdata-select, hs-block-end-regexp)
8403 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
8404 remove corresponding `make-variable-buffer-local' top-level calls.
8406 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8408 Cleanup error signals. (Bug#18067)
8409 * progmodes/python.el
8410 (python-indent-shift-left): Use user-error instead.
8411 (python-shell-prompt-detect): Use lwarn with python group.
8412 (python-completion-complete-at-point)
8413 (python-eldoc--get-doc-at-point): Don't signal error.
8415 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8417 Support for packages in Python shell. (Bug#13570)
8418 * progmodes/python.el (python-shell--package-depth): New var.
8419 (python-shell-package-enable): New command.
8420 (python-util-list-directories, python-util-list-files)
8421 (python-util-list-packages): New functions.
8423 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8425 Faster comint output. (Bug#16875)
8426 * progmodes/python.el:
8427 (python-comint-output-filter-function): Make obsolete.
8428 (python-comint-postoutput-scroll-to-bottom): New function.
8429 (inferior-python-mode): Set comint-output-filter-functions to a
8432 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8434 * progmodes/python.el (python-shell-font-lock-post-command-hook):
8435 Safeguard current point and undo history.
8437 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
8439 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
8440 * progmodes/python.el:
8441 (python-shell-prompt-input-regexps): Add iPython block prompt.
8442 (python-shell-output-syntax-table): Delete var.
8443 (python-shell-font-lock-with-font-lock-buffer): New macro.
8444 (python-shell-font-lock-get-or-create-buffer)
8445 (python-shell-font-lock-kill-buffer)
8446 (python-shell-font-lock-cleanup-buffer)
8447 (python-shell-font-lock-post-command-hook)
8448 (python-shell-font-lock-turn-off): New functions.
8449 (python-shell-font-lock-turn-on): New function.
8450 (inferior-python-mode): Use it.
8451 (python-shell-font-lock-toggle): New command.
8452 (python-shell-font-lock-enable): Rename from
8453 python-shell-enable-font-lock.
8454 (run-python-internal): Use it.
8455 (python-shell-font-lock-comint-output-filter-function): New function.
8456 (python-shell-comint-end-of-output-p): New function.
8457 (python-shell-output-filter): Use it.
8458 (python-util-comint-last-prompt): New function.
8459 (python-util-text-properties-replace-name): New function.
8461 2014-07-25 Glenn Morris <rgm@gnu.org>
8463 * vc/ediff-init.el (ediff-toggle-read-only-function):
8464 * vc/ediff-util.el (ediff-toggle-read-only):
8465 Replace obsolete toggle-read-only with read-only-mode.
8467 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
8469 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
8470 with `save-match-data'. (Bug#18095)
8472 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
8474 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
8475 order to ensure that row and col are lexically bound inside the
8478 2014-07-21 Glenn Morris <rgm@gnu.org>
8480 * progmodes/hideif.el (hide-ifdef-mode-submap):
8481 Also substitute read-only-mode.
8482 * bindings.el (mode-line-toggle-read-only):
8483 * bs.el (bs-toggle-readonly):
8484 * buff-menu.el (Buffer-menu-toggle-read-only):
8485 * dired.el (dired-toggle-read-only):
8486 * files.el (view-read-only, find-file-read-only)
8487 (find-file-read-only-other-window)
8488 (find-file-read-only-other-frame):
8489 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
8490 Doc fixes re toggle-read-only.
8492 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8494 * progmodes/python.el: Add comment about pipe buffering and
8495 solutions for missing/delayed output in inferior Python shells.
8498 * progmodes/python.el (python-mode): Don't set
8499 mode-require-final-newline. (Bug#17990)
8501 Make python.el work with IPython automatically. (Bug#15510)
8502 * progmodes/python.el:
8503 (python-shell-completion-setup-code): New value supporting iPython.
8504 (python-shell-completion-string-code): New value supporting iPython.
8505 (python-shell-completion-get-completions): Use them.
8506 (python-shell-completion-module-string-code): Make obsolete.
8507 (python-shell-prompt-input-regexps)
8508 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
8509 (python-shell-output-filter): Fix comment typo.
8511 Fix Python shell prompts detection for remote hosts.
8512 * progmodes/python.el (python-shell-prompt-detect):
8513 Replace call-process with process-file and make it more robust.
8515 Autodetect Python shell prompts. (Bug#17370)
8516 * progmodes/python.el:
8517 (python-shell-interpreter-interactive-arg)
8518 (python-shell-prompt-detect-enabled)
8519 (python-shell-prompt-detect-failure-warning)
8520 (python-shell-prompt-input-regexps)
8521 (python-shell-prompt-output-regexps): New vars.
8522 (python-shell-prompt-calculated-input-regexp)
8523 (python-shell-prompt-calculated-output-regexp): New vars.
8524 (python-shell-get-process-name)
8525 (python-shell-internal-get-process-name)
8526 (python-shell-output-filter)
8527 (python-shell-completion-get-completions): Use them.
8528 (python-shell-prompt-detect)
8529 (python-shell-prompt-validate-regexps): New functions.
8530 (python-shell-prompt-set-calculated-regexps): New function.
8531 (inferior-python-mode): Use it. Also honor overriden
8532 python-shell-interpreter and python-shell-interpreter-args.
8533 (python-shell-make-comint): Honor overriden
8534 python-shell-interpreter and python-shell-interpreter-args.
8535 (python-shell-get-or-create-process): Make it testable by allowing
8536 to call run-python non-interactively.
8537 (python-util-valid-regexp-p): New function.
8538 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
8539 (python-shell-prompt-output-regexp)
8540 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
8542 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
8544 * emacs-lisp/smie.el (smie-config--guess-1): Split from
8546 (smie-config--guess): Use it.
8548 * emacs-lisp/edebug.el: Use nadvice.
8549 (edebug-original-read): Remove.
8550 (edebug--read): Rename from edebug-read and add `orig' arg.
8551 (edebug-uninstall-read-eval-functions)
8552 (edebug-install-read-eval-functions): Use nadvice.
8553 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
8554 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
8555 (edebug-read-string, edebug-read-function): Use just `read'.
8556 (edebug-original-debug-on-entry): Remove.
8557 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
8559 (debug-on-entry): Override with nadvice.
8561 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
8562 it also makes sense to bind it to a non-mouse event.
8564 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
8566 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8568 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
8571 * rect.el (rectangle--string-preview): Don't assume there
8572 a non-nil default (bug#17984).
8574 2014-07-16 Glenn Morris <rgm@gnu.org>
8576 * desktop.el (after-init-hook): Disable startup frame restoration
8577 in non-graphical situations. (Bug#17693)
8579 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
8580 if it was "empty", or used for a different set of files. (Bug#17884)
8582 2014-07-16 Eli Zaretskii <eliz@gnu.org>
8584 * bindings.el (mode-line-remote): If default-directory is not a
8585 string, don't call file-remote-p on it; instead state in the
8586 help-echo that it is nil. (Bug#17986)
8588 2014-07-14 Daniel Colascione <dancol@dancol.org>
8590 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
8591 to `macroexpand-all'
8593 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
8594 Use `macroexpand-all' instead of `cl-macroexpand-all'.
8596 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
8598 Fix bug: C-x v v discarded existing log message (Bug#17884).
8599 * vc/vc-dispatcher.el (vc-log-edit):
8600 Don't clobber an already-existing log message.
8602 2014-07-12 Glenn Morris <rgm@gnu.org>
8604 * vc/log-edit.el (log-edit-changelog-entries):
8605 Check for a visited-but-never-saved ChangeLog.
8607 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
8609 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
8610 a non-existing file (bug#17970).
8612 * faces.el (face-name): Undo last change.
8613 (x-resolve-font-name): Don't call face-name (bug#17956).
8615 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8617 Fix dedenters and electric colon handling. (Bug#15163)
8618 * progmodes/python.el
8619 (python-rx-constituents): Add dedenter and block-ender.
8620 (python-indent-dedenters, python-indent-block-enders): Delete.
8621 (python-indent-context): Return new case for dedenter-statement.
8622 (python-indent-calculate-indentation): Handle new case.
8623 (python-indent-calculate-levels): Fix levels calculation for
8624 dedenter statements.
8625 (python-indent-post-self-insert-function): Fix colon handling.
8626 (python-info-dedenter-opening-block-message): New function.
8627 (python-indent-line): Use it.
8628 (python-info-closing-block)
8629 (python-info-closing-block-message): Remove.
8630 (python-info-dedenter-opening-block-position)
8631 (python-info-dedenter-opening-block-positions)
8632 (python-info-dedenter-statement-p): New functions.
8634 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
8636 * files.el (out-of-memory-warning-percentage): New defcustom.
8637 (warn-maybe-out-of-memory): Use it.
8639 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
8641 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
8642 when calling `read-string'. (Bug#17839)
8644 2014-07-10 Eli Zaretskii <eliz@gnu.org>
8646 * files.el (warn-maybe-out-of-memory): Fix the wording of the
8649 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
8651 * files.el (warn-maybe-out-of-memory): New function.
8652 (find-file-noselect): Use it.
8654 2014-07-09 Sam Steingold <sds@gnu.org>
8656 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
8657 `constant' like `bless', `return' &c
8659 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8661 * rect.el (apply-on-rectangle): Check forward-line really moved to the
8664 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8666 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
8667 the middle of a line (bug#17896).
8669 2014-07-09 Juri Linkov <juri@jurta.org>
8671 * startup.el (command-line): Append displaying the warning about
8672 the errors in the init file to the end of `after-init-hook'.
8675 * faces.el (face-name): Return input arg `face' as-is
8676 when it's not a symbol.
8677 (x-resolve-font-name): Don't check if the face is a symbol.
8680 * facemenu.el (list-colors-print): In help-echo format use %.2f
8681 instead of %d because now HSV values are floating-point components
8682 between 0.0 and 1.0.
8684 2014-07-09 Glenn Morris <rgm@gnu.org>
8686 * emulation/cua-rect.el (cua--activate-rectangle):
8687 Avoid setting cua--rectangle to nil. (Bug#17877)
8689 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8691 * calendar/todo-mode.el: Fix wrong-type-argument error when
8692 marking multiple consecutive items.
8693 (todo-toggle-mark-item): Don't try to mark the empty lines at the
8694 end of the todo and done items sections. Note in doc string that
8695 items marked by passing a numeric prefix argument can include the
8696 last todo and first done items.
8697 (todo-mark-category): Don't try to mark the empty line between the
8698 todo and done items sections.
8700 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8702 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
8703 proper Lisp quoting (bug#17934).
8705 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
8706 require-final-newline since prog-mode already took care of it (bug#17947).
8708 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8710 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
8711 refer to the Todo mode Info manual. Update the comment on
8713 (todo-find-filtered-items-file): Add todo-prefix overlays.
8714 (todo-filter-items): Reorder a let-bound variable to avoid a
8715 wrong-type-argument error on canceling the file choice dialog.
8717 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8719 * progmodes/octave.el (inferior-octave-mode):
8720 Set comint-input-ring-size to a number (bug#17912).
8722 2014-07-09 Juri Linkov <juri@jurta.org>
8724 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
8725 and `isearch-mode' associated with nil. (Bug#17849)
8727 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8729 * linum.el (linum--face-height): New function (bug#17813).
8730 (linum-update-window): Use it to adjust margin to linum's width.
8732 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
8733 * eshell/em-smart.el (eshell-smart-scroll-window):
8734 Use with-selected-window.
8736 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
8737 Remove also pointless window&mark manipulation.
8739 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
8740 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
8741 (perl-continuation-line-p): Don't skip over anything else than labels.
8742 Return the previous char.
8743 (perl-calculate-indent): Use syntax-ppss instead of parse-start
8744 and update callers accordingly. For continuation lines, check the
8745 the case of array hashes.
8746 (perl-backward-to-noncomment): Make it non-interactive.
8747 (perl-backward-to-start-of-continued-exp): Rewrite.
8749 2014-07-08 Sam Steingold <sds@gnu.org>
8751 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
8754 2014-07-08 Juri Linkov <juri@jurta.org>
8756 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
8757 (vc-annotate-color-map): Use less saturated colors (20%) for
8759 (vc-annotate-very-old-color): Add default value for background-mode.
8760 (vc-annotate-background): Set default value to nil since now text on
8761 the default backgrounds should be legible in light and dark modes.
8762 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
8765 2014-07-08 Juri Linkov <juri@jurta.org>
8767 * simple.el (transpose-chars): Don't move point into read-only area.
8770 2014-07-08 Juri Linkov <juri@jurta.org>
8772 * window.el (with-displayed-buffer-window): New macro.
8773 (with-temp-buffer-window, with-current-buffer-window):
8774 Use `macroexp-let2' to evaluate and bind variables
8775 in the same order as macro arguments.
8776 (display-buffer--action-function-custom-type):
8777 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
8779 * minibuffer.el (minibuffer-completion-help): Replace
8780 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
8781 with actions that display *Completions* at-bottom when called
8782 from the minibuffer, or below-selected in a normal buffer.
8783 Associate `window-height' with `fit-window-to-buffer'.
8784 Let-bind `pop-up-windows' to nil.
8786 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
8787 instead of `with-current-buffer-window'. (Bug#17809)
8789 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
8791 * progmodes/hideif.el (hide-ifdef-env): Change to global.
8792 (hide-ifdef-env-backup): New variable.
8793 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
8794 New customizable variables.
8795 (hif-clear-all-ifdef-defined): New defun.
8796 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
8797 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
8798 (hif-tokenize): Fix for MS-DOS/Win EOL style.
8799 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
8800 Fix bug to hide the correct #elif region(s).
8801 (hif-range-elif): New defun.
8802 (hif-recurse-level): New var.
8803 (hif-evaluate-region, hif-evaluate-macro): New defun.
8804 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
8806 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
8809 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
8811 * net/dbus.el (dbus-peer-handler): New defun.
8812 (dbus-register-service): Register it. (Bug#17858)
8813 (dbus-managed-objects-handler): Fix docstring.
8815 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
8817 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
8818 (narrow-to-defun): New arg include-comments, defaulting to it
8821 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8823 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
8824 different calling convention to rectangle--unhighlight-for-redisplay.
8826 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
8828 * net/tramp.el (tramp-call-process): Handle error strings.
8830 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
8832 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
8833 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
8835 * net/trampver.el: Update release number.
8837 2014-07-03 Juri Linkov <juri@jurta.org>
8839 * desktop.el (desktop-save): Rename arg `auto-save' to
8840 `only-if-changed'. Doc fix. (Bug#17873)
8842 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8844 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8845 Use insert-for-yank (bug#17271).
8847 2014-07-03 Leo Liu <sdl.web@gmail.com>
8849 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
8850 Support lexical-binding.
8852 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8854 * vc/log-edit.el (log-edit-goto-eoh): New function.
8855 (log-edit--match-first-line): Use it (bug#17861).
8857 2014-07-03 Glenn Morris <rgm@gnu.org>
8859 * vc/log-edit.el (log-edit-hook): Add missing :version.
8861 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
8863 * progmodes/python.el (python-indent-post-self-insert-function):
8864 Enhancements to electric indentation behavior inside
8867 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8869 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
8870 buffer-invisibility-spec (bug#17867).
8872 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
8874 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
8877 2014-07-03 Glenn Morris <rgm@gnu.org>
8879 * cus-edit.el (help):
8880 * finder.el (finder-known-keywords):
8881 * help.el (help-for-help-internal):
8882 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
8883 (ediff-redraw-registry-buffer):
8884 * vc/ediff-ptch.el (ediff-patch-file-internal):
8885 Doc fixes re "online" help. (Bug#17803)
8887 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
8888 (idlwave-mode): Doc URL update.
8890 2014-07-01 Juri Linkov <juri@jurta.org>
8892 * man.el: Display man pages immediately and use process-filter
8893 to format them asynchronously.
8894 (Man-width): Doc fix.
8896 (Man-start-calling): Use `with-selected-window' to get
8897 `frame-width' and `window-width'.
8898 (Man-getpage-in-background): Call `Man-notify-when-ready'
8899 immediately after creating a new buffer. Call `Man-mode' and set
8900 `mode-line-process' in the created buffer. Set process-filter to
8901 `Man-bgproc-filter' in start-process branch. In call-process branch
8902 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
8903 Use `Man-start-calling' inside `with-current-buffer'.
8904 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
8905 (Man-cleanup-manpage): Don't print messages.
8906 (Man-bgproc-filter): New function.
8907 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
8908 user moved it during asynchronous formatting. Move calls of
8909 `Man-fontify-manpage' and `Man-cleanup-manpage' to
8910 `Man-bgproc-filter'. Move the call of `Man-mode' to
8911 `Man-getpage-in-background'. Use `quit-restore-window'
8912 instead of `kill-buffer'. Use `message' instead of `error'
8913 because errors are caught by process sentinel.
8914 (Man-mode): Move calls of `Man-build-page-list',
8915 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
8916 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
8918 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
8919 for the message about the man page cleaned up.
8921 2014-07-01 Mario Lang <mlang@delysid.org>
8923 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
8924 cosutomization option `gnutls-verify-error'.
8926 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
8928 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
8929 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
8931 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
8932 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
8933 is suspended (bug#17857).
8935 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
8937 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
8938 Prefer utf-8 coding. (Bug#17859)
8940 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8942 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
8945 2014-06-30 Glenn Morris <rgm@gnu.org>
8947 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
8948 (autoload-ensure-default-file): Maybe make existing output writable.
8949 * Makefile.in (AUTOGEN_VCS): Remove.
8950 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
8952 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8954 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
8956 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
8958 New if-let, when-let, thread-first and thread-last macros.
8960 * emacs-lisp/subr-x.el
8961 (internal--listify, internal--check-binding)
8962 (internal--build-binding-value-form, internal--build-binding)
8963 (internal--build-bindings): New functions.
8964 (internal--thread-argument, thread-first, thread-last)
8965 (if-let, when-let): New macros.
8967 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
8969 * net/rcirc.el (rcirc-buffer-process): Restore previous
8970 behaviour. (Bug#17772)
8972 2014-06-29 Alan Mackenzie <acm@muc.de>
8974 Don't call c-parse-state when c++-template-syntax-table is active.
8975 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
8976 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
8977 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
8979 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8981 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
8982 account for file-wide setting of todo-top-priorities-overrides.
8983 Make code a bit cleaner.
8985 2014-06-28 Glenn Morris <rgm@gnu.org>
8987 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
8989 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
8991 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
8992 category-wide setting of todo-top-priorities-overrides, check for
8993 a file-wide setting and fontify accordingly.
8995 2014-06-28 Glenn Morris <rgm@gnu.org>
8997 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
8999 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9001 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
9003 2014-06-28 K. Handa <handa@gnu.org>
9007 * composite.el: Setup composition-function-table for dotted circle.
9008 (compose-gstring-for-dotted-circle): New function.
9010 * international/characters.el: Add category "^" to all
9011 non-spacing characters.
9013 2014-06-28 Glenn Morris <rgm@gnu.org>
9015 * Makefile.in (doit): Remove force rule.
9016 (custom-deps, finder-data, autoloads, update-subdirs)
9017 (compile-one-process): PHONY targets do not need force rules.
9019 * Makefile.in (compile-main, compile, compile-always):
9020 No need to explicitly pass variables to ourself in recursive calls.
9022 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9024 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
9026 2014-06-26 Glenn Morris <rgm@gnu.org>
9028 * Makefile.in (update-authors): Update for moved authors.el.
9030 2014-06-26 Leo Liu <sdl.web@gmail.com>
9032 * skeleton.el (skeleton-end-hook): Default to nil and move the
9033 work to skeleton-insert. (Bug#17850)
9035 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
9037 * calc/calc-alg.el (math-beforep):
9038 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
9039 Simplify because string-lessp can accept symbols as args.
9041 2014-06-26 Daiki Ueno <ueno@gnu.org>
9043 * emacs-lisp/package.el (package--check-signature):
9044 If package-check-signature is allow-unsigned, don't signal error when
9045 we can't verify signature because of missing public key
9048 2014-06-26 Glenn Morris <rgm@gnu.org>
9050 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
9051 Remove outdated declaration.
9053 * emacs-lisp/authors.el (authors-valid-file-names)
9054 (authors-renamed-files-alist): Additions.
9056 2014-06-26 Leo Liu <sdl.web@gmail.com>
9058 * textmodes/picture.el (picture-set-tab-stops):
9059 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
9060 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
9062 * progmodes/asm-mode.el (asm-calculate-indentation):
9063 Use indent-next-tab-stop.
9065 * indent.el (indent-accumulate-tab-stops): New function.
9067 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9069 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
9070 (package-desc-status): Obey it.
9072 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
9074 * calendar/todo-mode.el: Fix two bugs.
9075 (todo-insert-item--basic): If user cancels item insertion to
9076 another category before setting priority, show original category
9077 whether it is in the same or a different file.
9078 (todo-set-item-priority): After selecting category, instead of
9079 moving point to top, which extends an active region, restore it.
9081 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9083 * help-fns.el (describe-function-1): Check file-name is a string before
9084 calling help-fns--autoloaded-p (bug#17564).
9086 2014-06-26 Juri Linkov <juri@jurta.org>
9088 * desktop.el (desktop-auto-save-enable)
9089 (desktop-auto-save-disable): New functions.
9090 (desktop-save-mode, desktop-auto-save-timeout): Use them.
9091 (desktop-read): Disable the autosave before loading the desktop,
9092 and enable afterwards. (Bug#17351)
9094 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9096 Fix some indentation problem with \; and pipes (bug#17842).
9097 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
9098 (sh-smie--default-forward-token, sh-smie--default-backward-token):
9100 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
9101 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
9102 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
9104 2014-06-26 Glenn Morris <rgm@gnu.org>
9106 * emacs-lisp/find-func.el (find-function-C-source-directory):
9107 Use file-accessible-directory-p.
9109 * ps-samp.el: Make it slightly less awful.
9110 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
9111 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
9112 Only set local values.
9113 (ps-article-subject, ps-article-author): Use standard functions
9114 like mail-fetch-field.
9115 (ps-info-file, ps-info-node): Use match-string.
9116 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
9117 (ps-samp-ps-setup): ... new function.
9119 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
9120 Optimize away code unneeded on any modern Emacs.
9122 * emacs-lisp/authors.el: Move to ../admin.
9124 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
9126 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
9128 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
9129 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
9130 performance enhancements.
9131 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
9133 (hif-factor, hif-string-concatenation, intern-safe): Support string
9134 concatenation and argumented macro expansion.
9135 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
9136 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
9137 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
9138 (hif-canonicalize-tokens, hif-place-macro-invocation)
9139 (hif-parse-macro-arglist): Mostly new functions for supporting
9140 argumented macro expansion.
9141 (hif-string-concatenation, hif-stringify, hif-token-concat)
9142 (hif-token-stringification, hif-token-concatenation):
9143 Stringification and concatenation.
9144 (hif-find-next-relevant): Fix comments.
9145 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
9146 some cases involving #elif.
9147 (hif-find-define, hif-add-new-defines): New functions for automatically
9148 scanning of defined symbols.
9149 (hide-ifdef-guts): Fix for defined symbol auto scanning.
9150 (hide-ifdef-undef): Fix behavior to match CPP.
9152 2014-06-25 Glenn Morris <rgm@gnu.org>
9154 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
9155 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
9156 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
9157 files. They are not relevant to the original issue (bug#1004),
9158 and cause unnecessary recompilation (bug#2151).
9160 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9162 * play/landmark.el: Use lexical-binding and avoid `intangible'.
9163 (landmark--last-pos): New var.
9164 (landmark--intangible-chars): New const.
9165 (landmark--intangible): New function.
9166 (landmark-mode, landmark-move): Use it.
9167 (landmark-mode): Remove properties.
9168 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
9169 (landmark-cross-qtuple):
9170 Don't worry about `intangible' any more.
9171 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
9172 (landmark-init-display): Don't set `intangible' and `point-entered'.
9173 (square): Remove. Inline it instead.
9174 (landmark--distance): Rename from `distance'.
9175 (landmark-calc-distance-of-robot-from): Rename from
9176 calc-distance-of-robot-from.
9177 (landmark-calc-smell-internal): Rename from calc-smell-internal.
9179 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
9181 * files.el (dir-locals-find-file, file-relative-name):
9182 * info.el (Info-complete-menu-item):
9183 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
9184 to compare-strings to avoid out-of-range errors.
9185 * subr.el (string-prefix-p): Adjust to match strict range
9186 checking in compare-strings.
9188 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
9190 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
9191 for comment lines non-greedy and stopping at newlines to fix stack
9192 overflows with large files.
9194 2014-06-24 Eli Barzilay <eli@barzilay.org>
9196 * calculator.el (calculator-last-input): Drop 'ascii-character property
9199 2014-06-24 Leo Liu <sdl.web@gmail.com>
9201 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
9202 tab-stop-list to nil. (Bug#16381)
9204 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
9205 (indent-rigidly-left-to-tab-stop)
9206 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
9207 (move-to-tab-stop): Change callers.
9209 2014-06-24 Eli Zaretskii <eliz@gnu.org>
9211 * skeleton.el (skeleton-insert): Yet another fix of the doc string
9212 wrt behavior of \n as the first/last element of a skeleton.
9214 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
9216 * net/tramp-adb.el (tramp-adb-handle-process-file):
9217 * net/tramp-sh.el (tramp-sh-handle-process-file):
9218 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
9219 the output buffer when DISPLAY is non-nil. (Bug#17815)
9221 2014-06-24 Glenn Morris <rgm@gnu.org>
9223 * play/landmark.el (landmark-move-down, landmark-move-up):
9224 Fix 2007-10-20 change - preserve horizontal position.
9226 2014-06-23 Sam Steingold <sds@gnu.org>
9228 * simple.el (kill-append): Remove undo boundary depending on ...
9229 (kill-append-merge-undo): New user option.
9231 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9233 * simple.el (handle-shift-selection, exchange-point-and-mark)
9234 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
9235 (transient-mark-mode): Use&set the global value.
9236 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
9237 * emulation/edt.el (edt-emulation-off): Save&restore the global
9238 transient-mark-mode setting.
9239 * obsolete/pc-select.el (pc-selection-mode): Use the
9240 transient-mark-mode function.
9242 2014-06-23 Eli Zaretskii <eliz@gnu.org>
9244 * international/fontset.el (script-representative-chars):
9245 Add representative characters for scripts added in Unicode 7.0.
9246 (otf-script-alist): Synchronize with the latest registry of OTF
9249 * international/characters.el (char-script-table): Update for
9250 scripts added and codepoint ranges changed in Unicode 7.0.
9252 2014-06-23 Eli Barzilay <eli@barzilay.org>
9254 * calculator.el (calculator-standard-displayer): Fix bug in use of
9255 `calculator-groupize-number'.
9256 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
9257 `eval' code, so it works in v24.3.1 too.
9258 (calculator-last-input): Comment to clarify purpose.
9260 2014-06-22 Mario Lang <mlang@delysid.org>
9262 * textmodes/rst.el (rst-comment-region): From from -> from.
9264 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
9266 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
9268 * electric.el (electric-layout-post-self-insert-function):
9269 * emacs-lisp/ert.el (ert--insert-infos):
9270 * obsolete/vi.el (vi-set-mark):
9271 * term.el (term-handle-scroll):
9272 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
9273 * wid-edit.el (widget-editable-list-value-create):
9274 Prefer point-marker to copy-marker of point.
9276 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
9278 Fix completion retrieval parsing (bug#17209).
9279 * progmodes/python.el (python-mode):
9280 (python-util-strip-string): New function.
9281 (python-shell-completion-get-completions): Use it.
9283 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9285 * skeleton.el (skeleton-insert): Fix last change.
9287 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
9289 Enhancements for outline integration (bug#17796).
9290 * progmodes/python.el (python-mode): Properly set
9291 outline-heading-end-regexp so that comments after colons for
9292 defuns are supported.
9294 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9296 * skeleton.el (skeleton-insert): Doc fix.
9298 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9300 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
9301 (smie-config-guess): Use smie-config-local so the rules are obeyed
9304 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
9305 since it's already done inside the loop (bug#17819).
9307 2014-06-21 Martin Rudalics <rudalics@gmx.at>
9309 * mouse.el (mouse-drag-line): Re-remove code initially removed
9310 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
9313 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9315 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
9316 align with the surrounding parent (bug#17721).
9318 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9320 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
9322 (texinfo-insert-block, texinfo-insert-@end)
9323 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
9324 local setting of skeleton-end-newline by adding an explicit \n to
9325 the skeletons where appropriate. (Bug#17801)
9327 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9329 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
9330 (smie-indent--hanging-p): Use it.
9331 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
9333 2014-06-21 Leo Liu <sdl.web@gmail.com>
9335 * simple.el (read-quoted-char): Don't let help chars pop up help
9338 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9340 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
9343 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
9344 Drop unknown events instead of burping.
9346 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9348 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
9349 and later. (Bug#17790)
9351 2014-06-21 Juri Linkov <juri@jurta.org>
9353 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
9354 to `soft'. (Bug#17554)
9356 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9358 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
9361 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
9363 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
9364 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
9366 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
9368 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
9369 `unread-command-events'.
9371 2014-06-19 William Xu <william.xwl@gmail.com>
9373 * progmodes/hideif.el (hif-string-to-number): Don't return float for
9374 hex integer constants (bug#17807).
9376 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9378 * international/mule-util.el (truncate-string-ellipsis): New var.
9379 (truncate-string-to-width): Use it.
9381 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
9383 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
9384 (lisp-string-in-doc-position-p): New function, extracted from
9385 lisp-font-lock-syntactic-face-function.
9386 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
9388 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
9390 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
9392 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9394 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
9395 (bubbles--game-over): Don't add `intangible' properties since they
9398 2014-06-18 Juri Linkov <juri@jurta.org>
9400 * vc/ediff-init.el (ediff-current-diff-Ancestor)
9401 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
9402 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
9403 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
9404 Add `min-colors 88' version with removed black/white foregrounds.
9407 2014-06-18 Juri Linkov <juri@jurta.org>
9409 * vc/diff-mode.el (diff-changed): Empty face definition to use
9410 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
9411 (diff-context): Use darker color on light background and
9412 lighter color on dark background.
9414 2014-06-18 Juri Linkov <juri@jurta.org>
9416 * vc/diff-mode.el (diff-refine-changed): Rename from
9417 `diff-refine-change' for consistency with `diff-changed'.
9418 (diff-refine-change): Add obsolete face alias. (Bug#10181)
9420 * vc/smerge-mode.el (smerge-refined-changed): Rename from
9421 `smerge-refined-change'.
9422 (smerge-refined-change): Add obsolete face alias.
9424 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9426 * rect.el (rectangle-preview): New custom.
9427 (rectangle): New group.
9428 (rectangle--pos-cols): Add `window' argument.
9429 (rectangle--string-preview-state, rectangle--string-preview-window):
9431 (rectangle--string-flush-preview, rectangle--string-erase-preview)
9432 (rectangle--space-to, rectangle--string-preview): New functions.
9433 (string-rectangle): Use them.
9434 (rectangle--inhibit-region-highlight): New var.
9435 (rectangle--highlight-for-redisplay): Obey it. Make sure
9436 `apply-on-region' uses the point-crutches of the right window.
9437 Use :align-to rather than multiple spaces.
9439 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
9441 * ruler-mode.el (ruler-mode-window-col)
9442 (ruler-mode-mouse-set-left-margin)
9443 (ruler-mode-mouse-set-right-margin): Fix calculation of column
9444 from mouse position (Bug#17768).
9446 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
9448 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
9449 without varname or rhs causes crash.
9450 (dun-ftp): Fix bug where blank ftp password is allowed, making it
9451 impossible to win endgame.
9452 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
9454 (dun-help): Bump version number; update contact info.
9456 2014-06-15 Eli Barzilay <eli@barzilay.org>
9458 * calculator.el (calculator-prompt, calculator-remove-zeros)
9459 (calculator-mode-hook, calculator-operators, calculator-stack)
9460 (calculator-mode): Tweak docstring.
9461 (calculator-user-operators): Tweak docstring, fix a bug in the last
9463 (calculator-displayer): `std' case has an optional boolean.
9464 (calculator-displayers): Use the new boolean to group in decimal mode.
9465 (calculator-mode-map, calculator, calculator-message)
9466 (calculator-op-arity, calculator-add-operators)
9467 (calculator-string-to-number, calculator-displayer-prev)
9468 (calculator-displayer-next, calculator-remove-zeros)
9469 (calculator-eng-display, calculator-number-to-string)
9470 (calculator-update-display, calculator-last-input)
9471 (calculator-clear-fragile, calculator-digit, calculator-decimal)
9472 (calculator-exp, calculator-saved-move, calculator-clear)
9473 (calculator-copy, calculator-put-value, calculator-help)
9474 (calculator-expt, calculator-truncate): Minor code improvements.
9475 (calculator-need-3-lines): New function pulling out code from
9477 (calculator-get-display): Rename from `calculator-get-prompt', and
9479 (calculator-push-curnum): Rename from `calculator-curnum-value', and
9480 extended for all uses of it. All callers changed.
9481 (calculator-groupize-number): New utility for splitting a number into
9483 (calculator-standard-displayer): Improve code, new optional argument to
9484 use comma-split groups, make second argument optional too to use with
9485 'left/'right inputs. All callers changed.
9486 (calculator-reduce-stack-once): New utility, doing the meat of what
9487 `calculator-reduce-stack' used to do, much improved (mostly using
9488 `pcase' for conciseness and clarity).
9489 (calculator-reduce-stack): Now doing just the reduction loop using
9490 `calculator-reduce-stack-once'.
9491 (calculator-funcall): Improve code, make it work in v24.3.1 too.
9492 (calculator-last-input): Improve code, remove some old cruft.
9493 (calculator-quit): Kill `calculator-buffer' in electric mode too.
9494 (calculator-integer-p): Remove.
9495 (calculator-fact): Improve code, make it work on non-integer values
9496 too (using truncated numbers).
9498 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
9500 Sync with Tramp 2.2.10.
9502 * net/tramp.el (tramp-methods): Tweak docstring.
9503 (tramp-handle-file-accessible-directory-p): Check for
9504 `file-readable-p' instead of `file-executable-p'.
9505 (tramp-check-cached-permissions):
9506 Use `tramp-compat-file-attributes'.
9507 (tramp-call-process): Add new argument VEC. Adapt callees in all
9510 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
9511 (tramp-adb-maybe-open-connection): Don't set
9512 `tramp-current-*' variables.
9514 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
9515 file properties of temporary buffers.
9517 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
9519 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
9520 (tramp-gvfs-handle-delete-file): Flush file
9521 properties, not directory properties.
9522 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
9523 reading "unix::mode".
9524 (tramp-gvfs-handle-file-name-all-completions):
9525 Use "-h" option for "gvfs-ls".
9526 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
9527 (tramp-gvfs-send-command): Simplify traces.
9529 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
9530 (vc-git-program, vc-hg-program): Declare.
9531 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
9532 (tramp-methods) <nc>: Add new method.
9533 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
9534 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
9536 (tramp-default-user-alist): Add "nc".
9537 (top): Remove completion function for "sftp". Add completion
9538 functions for "nc" and "psftp".
9539 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
9540 Implement support for "nc" method.
9541 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
9542 (tramp-remote-coding-commands, tramp-call-local-coding-command):
9544 (tramp-sh-handle-write-region): Tweak error message.
9545 (tramp-sh-handle-vc-registered): Remove backends when the remote
9546 binary does not exist.
9547 (tramp-find-inline-encoding): Do not raise an error.
9548 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
9549 the "nc" case. Quote result also locally.
9551 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9552 (tramp-smb-handle-set-file-acl): Use `start-process'.
9553 (tramp-smb-handle-insert-directory): Use progress reporter.
9554 (tramp-smb-handle-rename-file): Flush also file properties of
9557 * net/trampver.el: Update release number.
9559 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9561 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
9563 (ses-localvars): Remove ses--local-printer-list, unused.
9564 (ses--metaprogramming): New macro. Use it to defvar variables.
9565 (ses-set-localvars): Simplify.
9566 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
9567 property-list into an alist.
9568 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9569 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
9570 Remove; use defstruct accessors/setters instead.
9571 (ses-cell-formula-aset, ses-cell-printer-aset)
9572 (ses-cell-references-aset): Remove, use setf instead.
9573 (ses--alist-get): New function.
9574 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
9575 Use an alist instead of a plist and don't do move-to-front since the
9576 list is always short.
9577 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
9578 (ses-cell-property-set-fun, ses-cell-property-set)
9579 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
9580 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
9581 (ses--letref): New macro.
9582 (ses-cell-property-pop): Rewrite.
9583 (ses--cell): Rename from ses-cell and make it into a function.
9584 Make `formula' fallback on `value' if nil.
9585 (ses--local-printer): Rename from ses-local-printer and make it into
9587 (ses-set-cell): Turn it into a macro so finding the accessor from the
9588 field name is done at compile time.
9589 (ses-repair-cell-reference-all): Test presence of `sym' rather than
9590 `ref' before adding `sym' to :ses-repair-reference.
9591 (ses-calculate-cell): Use ses--letref rather than
9592 ses-cell-property-get-handle.
9593 (ses-write-cells): Use a single prin1-to-string.
9594 (ses-setter-with-undo): New function.
9595 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
9596 (ses-unset-with-undo): Remove.
9597 (ses-load): Prefer apply' over `eval'.
9598 (ses-read-printer, ses-set-column-width): Use standard "(default
9601 2014-06-15 Glenn Morris <rgm@gnu.org>
9603 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
9605 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
9606 Replace delete-duplicates and mapcan by cl- versions throughout.
9607 And cl-macroexpand-all by macroexpand-all.
9608 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
9610 2014-06-15 Eli Zaretskii <eliz@gnu.org>
9612 * subr.el (posn-col-row): Doc fix. (Bug#17768)
9614 2014-06-15 Juri Linkov <juri@jurta.org>
9616 * bindings.el: Put `ascii-character' property on keypad keys
9617 mapped to characters. (Bug#17759)
9619 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9621 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
9622 bumping forward into a closing paren (bug#17761).
9624 * term/xterm.el (xterm--version-handler): Work around for OSX
9625 Terminal.app (bug#17607).
9627 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
9629 * play/dunnet.el (dun-describe-room, dun-mode):
9630 If a lamp is in the room, you won't be eaten by a grue.
9632 2014-06-13 Glenn Morris <rgm@gnu.org>
9634 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
9635 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
9636 (compile-always): GNU make automatically passes
9637 command-line arguments to sub-makes.
9639 * calendar/calendar.el (calendar-generate-window):
9640 Remove pointless call to font-lock-fontify-buffer.
9642 2014-06-13 Matthias Meulien <orontee@gmail.com>
9644 * simple.el (completion-list-mode-map): Navigate with tab and backtab
9647 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9649 * simple.el (set-mark-command): Simplify a bit.
9651 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9653 * help.el (help--key-binding-keymap): New function.
9654 (help--binding-locus): New function.
9655 (describe-key): Mention the keymap in which the binding was
9658 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9660 * hippie-exp.el (he--all-buffers): New function.
9661 (try-expand-line-all-buffers, try-expand-list-all-buffers)
9662 (try-expand-dabbrev-all-buffers): Use it.
9664 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
9666 * hippie-exp.el (try-expand-line-all-buffers)
9667 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
9668 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
9669 original buffer, in case they're buffer-local.
9671 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
9673 * ses.el (ses-initial-global-parameters-re): New defconst, a
9674 specific regexp is needed now that ses.el can handle both
9675 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
9677 (ses-localvars): Add local variables needed for local printer handling.
9678 (ses-set-localvars): Handle hashmap initialization.
9679 (ses-paramlines-plist): Add param-line for number of local printers.
9680 (ses-paramfmt-plist): New defconst, needed for code factorization
9681 between functions `ses-set-parameter' and
9682 `ses-file-format-extend-paramter-list'
9683 (ses-make-local-printer-info): New defsubst.
9684 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9685 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
9686 (ses-cell-printer-aset): New defmacro.
9687 (ses-local-printer-compile): New defun.
9688 (ses-local-printer): New defmacro.
9689 (ses-printer-validate, ses-call-printer): Add support for local
9691 (ses-file-format-extend-paramter-list): New defun.
9692 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
9694 (ses-load): Add support for local printer functions.
9695 (ses-read-printer): Update docstring and add support for local printer
9697 (ses-refresh-local-printer, ses-define-local-printer): New defun.
9698 (ses-safe-printer): Add support for local printer functions.
9700 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
9702 * ffap.el (ffap-lax-url): New var (bug#17723).
9703 (ffap-url-at-point): Use it.
9704 (ffap-file-at-point): Avoid returning just "/".
9706 2014-06-12 Matthias Meulien <orontee@gmail.com>
9708 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
9709 (python-mode-map): Bind it.
9711 * progmodes/python.el (class skeleton): Don't erase last char of class
9714 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
9716 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
9718 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
9720 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
9723 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9725 * international/mule-cmds.el: Use lexical-binding.
9726 (ucs-names): Simplify.
9728 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
9730 * progmodes/python.el (run-python): Use read-shell-command.
9732 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9734 * rect.el: Make it possible to move bounds past EOL or into TABs.
9735 (operate-on-rectangle): Use apply-on-rectangle.
9736 (rectangle--mark-crutches): New var.
9737 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
9738 (rectangle--crutches, rectangle--reset-crutches): New functions.
9739 (apply-on-rectangle): Obey crutches. Avoid setq.
9740 Fix missing final iteration if end is at EOB&BOL.
9741 (rectangle-mark-mode-map): Add remap bindings for
9742 exchange-point-and-mark and char/line movements.
9743 (rectangle--*-char): New function.
9744 (rectangle-exchange-point-and-mark, rectangle-right-char)
9745 (rectangle-left-char, rectangle-forward-char)
9746 (rectangle-backward-char, rectangle-next-line)
9747 (rectangle-previous-line): New commands.
9748 (rectangle--place-cursor): New function.
9749 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
9751 2014-06-08 Glenn Morris <rgm@gnu.org>
9753 * startup.el (initial-buffer-choice): Doc fix.
9754 Reset :version (adding an option does not merit a :version bump).
9756 * bookmark.el (bookmark-load):
9757 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
9759 2014-06-08 Juri Linkov <juri@jurta.org>
9761 * desktop.el: Activate auto-saving on window configuration changes.
9762 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
9763 `desktop-auto-save-set-timer' to/from
9764 `window-configuration-change-hook'.
9765 (desktop-auto-save-set-timer): Change REPEAT arg of
9766 `run-with-idle-timer' from t to nil.
9767 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
9769 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
9771 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
9772 vc-hg-command (bug#17570).
9774 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9776 * international/mule-cmds.el (ucs-names): Add special entry for BEL
9779 2014-06-08 Glenn Morris <rgm@gnu.org>
9781 * startup.el (window-setup-hook): Doc fix.
9783 * emacs-lisp/package.el (package-check-signature)
9784 (package-unsigned-archives): Doc fixes.
9786 2014-06-08 Martin Rudalics <rudalics@gmx.at>
9788 * window.el (display-buffer-use-some-window): Don't make window
9789 used smaller than it was before (Bug#17671).
9791 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9793 * menu-bar.el (menu-bar-open): Fix last change: use the PC
9794 'redisplay' instead of '(sit-for 0)'.
9796 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
9798 * net/tramp.el (tramp-ssh-controlmaster-options):
9799 Improve search regexp. (Bug#17653)
9801 2014-06-08 Glenn Morris <rgm@gnu.org>
9803 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
9805 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9807 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
9809 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
9811 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
9814 * vc/vc-hg.el (vc-hg-log-graph): New var.
9815 (vc-hg-print-log): Use it.
9816 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
9817 graph output (bug#17515).
9819 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9821 * mouse.el (mouse-posn-property): Ignore buffer position info when the
9822 even happened elsewhere.
9824 2014-06-06 Mario Lang <mlang@delysid.org>
9826 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
9827 `recenter' if `current-buffer' is equal to `window-buffer'.
9829 2014-06-05 Leo Liu <sdl.web@gmail.com>
9831 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
9833 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
9835 * textmodes/tildify.el (tildify-foreach-region-outside-env):
9836 New function which calls a callback on portions of the buffer that are
9837 outside of ignored environments.
9838 (tildify-build-regexp): Remove function since it is now
9839 incorporated in `tildify-foreach-region-outside-env' where it is
9840 optimized and simplified by the use of `mapconcat'.
9841 (tildify-tildify): Return number of substitutions made so that…
9842 (tildify-count): …can be removed.
9843 (tildify-find-env): Accept a new PAIRS argument which was
9844 previously looked up in `tildify-ignored-environments-alist' each
9845 time the function was called. With this change, the lookup is
9846 performed only once in `tildify-foreach-region-outside-env'.
9847 (tildify-region): Greatly simplify the function since now most of
9848 the work is done by `tildify-foreach-region-outside-env'.
9849 (tildify-mode-alist): Simplify slightly by avoiding if and setq
9850 and instead using or.
9852 * textmodes/tildify.el (tildify-ignored-environments-alist):
9853 Optimize environments regexes
9855 Each time beginning of an environment to ignore is found,
9856 `tildify-find-env' needs to identify regexp for the ending
9857 of the environment. This is done by trying all the opening
9858 regexes on matched text in a loop, so to speed that up, this
9859 loop should have fewer things to match, which can be done by
9860 using alternatives in the opening regexes.
9862 Coincidentally, this should make matching of the opening
9863 regexp faster as well thanks to the use of `regexp-opt' and
9864 having common prefix pulled from many regexes.
9866 * textmodes/tildify.el (tildify-string-alist)
9867 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
9868 of supported modes since `xml-mode' is no longer a thing but just
9869 an alias to the former. Also include comments and insides of tags
9870 in `tildify-ignored-environments-alist' for XML modes. Finally,
9871 since XML does not define “ ”[1], use a numeric reference for
9872 a no-break space (namely “ ”)
9874 [1] XML specification defines only a handful of predefined entities.
9875 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
9876 and includes only <, >, &, ' and " (meaning <,
9877 >, &, ' and " respectively). This is in contrast to HTML and even
9878 XHTML which defined a whole bunch of entities including “ ”.
9880 * textmodes/tildify.el (tildify-pattern-alist)
9881 (tildify-string-alist, tildify-ignored-environments-alist):
9882 Improve defcustom's types by adding more tags explaining what each
9883 value means and replace “sexp” used in
9884 `tildify-ignored-environments-alist' with a full type declaration.
9886 * textmodes/tildify.el (tildify-find-env): Fix matched group
9887 indexes in end-regex building
9889 When looking for a start of an ignore-environment, the regex is built
9890 by concatenating regexes of all the environments configured in
9891 `tildify-ignored-environments-alist'. So for example, the following
9892 list could be used to match TeX's \verb and \verb* commands:
9894 (("\\\\verb\\(.\\)" . (1))
9895 ("\\\\verb\\*\\(.\\)" . (1)))
9897 This would result in the following regex being used to find the start
9898 of any of the variants of the \verb command:
9900 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
9902 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
9903 won't match anything, and thus (match-string 1) will be nil, which
9904 will cause building of the end-matching regex to fail.
9906 Fix this by using capture groups from the time when the opening
9907 regexes are matched individually.
9909 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
9910 in `tildify-find-env'
9912 The `tildify-ignored-environments-alist' allows the end-regex to
9913 be provided not as a static string but mix of strings and indexes
9914 of groups matched the begin-regex. For example, the “\verb!…!”
9915 TeX-command (where “!” is an arbitrary character) is handled
9918 ("\\\\verb\\*?\\(.\\)" . (1))
9920 In the same way, the following should be supported as well:
9922 ("open-\\(.\\)" . ("end-" 1))
9924 However the tildify-find-env function fails at
9927 (if (stringp (setq aux (car expression)))
9928 expression ; BUG: expression is a list
9929 (regexp-quote (match-string aux))))
9931 where the string part is handled incorrectly.
9933 The most trivial fix would be to replace `expression' in the
9934 true-part of the if-statement with `aux', but instead, this commit
9935 optimizes `tildify-find-env' by changing it to use `mapconcat'
9936 rather than open-coded while-loop.
9938 2014-06-05 Mario Lang <mlang@delysid.org>
9940 * woman.el (woman-mapcan): Remove.
9941 (woman-parse-colon-path): Use cl-mapcan instead.
9943 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9945 * register.el: Add link to Emacs manual in Commentary.
9947 2014-06-02 Sam Steingold <sds@gnu.org>
9949 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
9950 (popup-menu): ...here.
9951 (menu-bar-open): Use it to avoid an error when `lookup-key'
9954 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
9956 * net/tramp.el (tramp-call-process): Add traces.
9957 (tramp-handle-unhandled-file-name-directory): Return "/".
9959 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
9961 Sync with upstream verilog-mode revision 3cd8144.
9962 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
9963 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
9964 (verilog-type-font-keywords): Add nor.
9965 (verilog-batch-execute-func): Force reading of Local Variables.
9966 Fix printing "no changes to be saved" with verilog-batch.
9967 (verilog-auto-arg-ports): Doc fix.
9968 Add verilog-auto-arg-format to support newlines in AUTOARG.
9969 (verilog-auto-arg): Doc fix.
9971 2014-06-02 Glenn Morris <rgm@gnu.org>
9973 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
9974 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
9975 * emulation/ws-mode.el: Move to obsolete/.
9976 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
9978 2014-06-02 Eli Zaretskii <eliz@gnu.org>
9980 * simple.el (keyboard-quit): Force update of mode lines, to remove
9981 the "Def" indicator, if we were defining a macro. (Bug#17615)
9983 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
9985 * minibuffer.el (minibuffer-force-complete-and-exit):
9986 Obey minibuffer-default (bug#17545).
9988 * progmodes/js.el (js-indent-line): Don't mix columns and chars
9991 * subr.el (set-transient-map): Don't wait for some "nested"
9992 transient-map to finish if we're only supposed to be active for
9993 the next command (bug#17642).
9995 2014-06-02 Leo Liu <sdl.web@gmail.com>
9997 * emacs-lisp/gv.el (window-buffer, window-display-table)
9998 (window-dedicated-p, window-hscroll, window-point, window-start):
9999 Fix gv-expander. (Bug#17630)
10001 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10003 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
10004 clicks (bug#17633).
10006 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
10007 for the single comma, since ", " is *very* common in normal French text
10010 2014-06-02 Glenn Morris <rgm@gnu.org>
10012 * emacs-lisp/package.el (package-check-signature)
10013 (package-unsigned-archives): Fix :version.
10015 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10017 * subr.el (sit-for): Don't run input-methods (bug#15614).
10019 2014-06-02 Glenn Morris <rgm@gnu.org>
10021 * cus-start.el: Fix some :version numbers.
10023 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10025 * simple.el (deactivate-mark): Set mark-active to nil even if
10026 deactivation is done via setting transient-mark-mode to nil,
10027 since one is buffer-local and the other is global.
10029 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
10030 there can't be more than 2 arguments (bug#17584).
10032 2014-06-02 Glenn Morris <rgm@gnu.org>
10034 * simple.el (filter-buffer-substring-functions)
10035 (filter-buffer-substring-function, buffer-substring-filters)
10036 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
10038 * minibuffer.el (completion-in-region-functions, completion-in-region)
10039 (completion--in-region): Doc fixes.
10041 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
10042 (expand-abbrev, abbrev--default-expand): Doc fixes.
10044 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
10046 Include sources used to create macuvs.h.
10047 * international/README: Refer to the Unicode Terms of Use rather
10048 than copying it bodily here, as that simplifies maintenance.
10050 2014-06-01 Glenn Morris <rgm@gnu.org>
10052 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
10054 2014-05-31 Glenn Morris <rgm@gnu.org>
10056 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
10058 2014-05-30 Glenn Morris <rgm@gnu.org>
10060 * loadup.el: Treat `command-line-args' more flexibly.
10062 2014-05-30 Alan Mackenzie <acm@muc.de>
10064 Guard (looking-at "\\s!") from XEmacs.
10065 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
10067 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
10069 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
10070 The argument COUNT is now optional, to be more backward-compatible.
10071 Doc fix. (Bug#17560)
10073 2014-05-29 Reuben Thomas <rrt@sc3d.org>
10075 * whitespace.el (whitespace-report-region):
10076 Simplify documentation.
10077 (whitespace-report-region): Allow report-if-bogus to take the
10078 value `never', for non-interactive use.
10079 (whitespace-report): Refer to whitespace-report-region's
10082 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10084 * whitespace.el: Use font-lock-flush. Minimize refontifications.
10085 Side benefit: it works without jit-lock.
10086 (whitespace-point--used): New buffer-local var.
10087 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
10088 (whitespace-color-off): Use font-lock-flush.
10089 (whitespace-point--used, whitespace-point--flush-used): New functions.
10090 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
10091 (whitespace-empty-at-eob-regexp): Use them.
10092 (whitespace-post-command-hook): Rewrite.
10094 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
10095 (font-lock-fontify-buffer): Mark interactive-only.
10096 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
10098 (font-lock-specified-p): Remove redundant boundp check.
10099 (font-lock-flush-function, font-lock-ensure-function): New vars.
10100 (font-lock-turn-on-thing-lock): Set them.
10101 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
10102 (font-lock-after-change-function): Make `old-len' optional.
10103 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
10104 Call font-lock-flush, just in case.
10105 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
10107 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
10108 (vera-mode-map, vera-mode-menu): Remove bindings to it.
10109 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
10110 and with-syntax-table.
10111 * textmodes/conf-mode.el (conf-quote-normal):
10112 * progmodes/sh-script.el (sh-set-shell):
10113 * progmodes/prog-mode.el (prettify-symbols-mode):
10114 * progmodes/f90.el (f90-font-lock-n):
10115 * progmodes/cwarn.el (cwarn-mode):
10116 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
10117 * progmodes/compile.el (compilation-setup, compilation--unsetup):
10118 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
10119 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
10120 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
10121 font-lock-fontify-buffer-function and
10122 font-lock-unfontify-buffer-function.
10123 (rmail-unfontify-buffer-function, rmail-fontify-message):
10124 Use with-silent-modifications.
10125 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
10126 and font-lock-ensure.
10127 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
10129 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
10131 * emacs-lisp/package.el (package-generate-autoloads):
10132 Inhibit backup files.
10134 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10136 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
10139 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
10141 * textmodes/tildify.el (tildify-buffer, tildify-region):
10142 Add dont-ask option.
10144 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10146 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
10147 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
10149 * subr.el (internal--funcall-interactively): New.
10150 (internal--call-interactively): Remove.
10151 (called-interactively-p): Detect funcall-interactively instead of
10152 call-interactively.
10153 * simple.el (repeat-complex-command): Use funcall-interactively.
10154 (repeat-complex-command--called-interactively-skip): Remove.
10156 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10158 * register.el (register-read-with-preview): Don't burp on
10159 frame switches (e.g. due to the frame we just popped).
10161 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
10162 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
10164 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
10166 * cus-face.el (custom-face-attributes): Add :distant-foreground.
10168 2014-05-26 Martin Rudalics <rudalics@gmx.at>
10170 * window.el (window--dump-frame): Remove interactive specification.
10172 2014-05-26 Glenn Morris <rgm@gnu.org>
10174 * hippie-exp.el (he-line-search-regexp):
10175 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
10177 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
10179 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
10180 to avoid errors when trying to create or visit a file foo.todo
10181 located outside to todo-directory, and to allow having such files
10182 without them being tied to Todo mode (bug#17482).
10183 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
10184 (todo-archive-done-item, todo-find-filtered-items-file)
10185 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
10186 (todo-category-completions, todo-read-category): When visiting a
10187 Todo file, make sure we're in the right mode and the buffer local
10189 (todo-make-categories-list, todo-reset-nondiary-marker)
10190 (todo-reset-done-string, todo-reset-comment-string):
10191 After processing all Todo files, kill the buffers of those files that
10192 weren't being visited before the processing.
10193 (todo-display-as-todo-file, todo-add-to-buffer-list)
10194 (todo-visit-files-commands): Comment out.
10195 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
10196 (auto-mode-alist): Remove add-to-list calls making Todo file
10197 extensions unrestrictedly tied to Todo modes.
10199 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10201 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
10202 (advice-function-member-p): Tell it to check both names and functions
10204 (advice--add-function): Adjust call accordingly.
10206 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
10208 * calendar/todo-mode.el: Miscellaneous bug fixes.
10209 (todo-delete-file): When deleting an archive but not its todo
10210 file, make sure to update the todo file's category sexp.
10211 (todo-move-category): Keep the moved category's name unless the
10212 file moved to already has a category with that name. If the
10213 numerically last category of the source file was moved, make the
10214 first category current to avoid selecting a nonexisting category.
10215 (todo-merge-category): Fix implementation to make merging to a
10216 category in another file work as documented. Eliminate now
10217 insufficient and unnecessary renaming of archive category, correct
10218 document string accordingly, and clarify it. If the numerically
10219 last category of the source file was merged, make the first
10220 category current to avoid selecting a nonexisting category.
10221 (todo-archive-done-item): When there are marked items and point
10222 happens to be on an unmarked item, ignore the latter. Don't leave
10223 point below last item after archiving marked items.
10224 (todo-unarchive-items): Fix logic to ensure unarchiving an item
10225 from an archive with only one category deletes the archive only
10226 when the category is empty after unarchiving. Make sure the todo
10227 file's category sexp is updated.
10228 (todo-read-file-name): Allow an existing file name even when it is
10229 not required (todo-move-category needs this to work as documented).
10230 (todo-add-file): Call todo-validate-name to reject the name of an
10231 existing todo file (needed due to fix in todo-read-file-name).
10232 (todo-reset-nondiary-marker): Also reset in filtered items files.
10233 (todo-reset-done-string, todo-reset-comment-string): Also reset in
10234 regexp filtered items files.
10235 (todo-reset-highlight-item): Also reset in filtered items files.
10236 Fix incorrect variable reference in document string.
10238 2014-05-26 Glenn Morris <rgm@gnu.org>
10240 * window.el (window--dump-frame): Avoid error in --without-x builds.
10242 2014-05-26 Glenn Morris <rgm@gnu.org>
10244 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
10246 2014-05-26 Eli Zaretskii <eliz@gnu.org>
10248 * frame.el (set-frame-font): Doc fix.
10250 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
10252 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
10254 * emacs-lisp/package.el (package--download-one-archive):
10255 Use `write-region' instead of `save-buffer' to avoid running various
10257 (describe-package-1): Same. Insert newline at the end of the
10258 buffer if appropriate.
10260 2014-05-26 Juri Linkov <juri@jurta.org>
10262 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
10263 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
10264 Add more modifiers: meta, control, shift, hyper, super, alt.
10267 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
10268 to allow changing its value with `set-variable'.
10270 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10272 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
10274 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
10276 (scheme-mode-variables): Set syntax-propertize-function instead of
10277 font-lock-syntactic-face-function.
10278 (scheme-font-lock-syntactic-face-function): Delete.
10280 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
10282 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
10285 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
10287 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
10288 for a temporary file name.
10290 2014-05-26 Eli Zaretskii <eliz@gnu.org>
10292 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
10294 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
10296 * net/dbus.el (dbus-init-bus, dbus-call-method)
10297 (dbus-call-method-asynchronously, dbus-send-signal)
10298 (dbus-method-return-internal, dbus-method-error-internal):
10299 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
10301 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10303 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
10304 methods which do not have a doc string. (Bug#17490)
10306 2014-05-25 Tassilo Horn <tsdh@gnu.org>
10308 * textmodes/reftex-ref.el (reftex-format-special): Make it work
10309 also for AMS Math's \eqref macro.
10311 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
10313 Arrange to never byte-compile the generated -pkg.el file.
10315 * emacs-lisp/package.el (package-generate-description-file):
10316 Output first-line comment to set buffer-local var `no-byte-compile'.
10317 Suggested by Dmitry Gutov:
10318 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
10320 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
10322 Fix bug: Properly quote args to generated -pkg.el `define-package'.
10324 * emacs-lisp/package.el (package-generate-description-file):
10325 Inline `package--alist-to-plist'; rewrite to selectively
10326 quote alist values that are not self-quoting.
10327 (package--alist-to-plist): Delete func.
10329 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
10331 * term/xterm.el (xterm-function-map): Add mapping for shifted
10334 2014-05-24 Daniel Colascione <dancol@dancol.org>
10336 * progmodes/subword.el (subword-find-word-boundary): Move point to
10337 correct spot before search. (Bug#17580)
10339 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
10340 breaking the build.
10342 2014-05-24 Leo Liu <sdl.web@gmail.com>
10344 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
10346 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10348 * minibuffer.el (completion--sreverse): Remove.
10349 (completion--common-suffix): Use `reverse' instead.
10350 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
10352 2014-05-22 Glenn Morris <rgm@gnu.org>
10354 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
10356 2014-05-21 Daniel Colascione <dancol@dancol.org>
10358 * files.el (interpreter-mode-alist): Add mksh.
10360 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
10362 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
10363 mksh. Improve custom spec; allow regular expressions.
10364 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
10365 (sh-after-hack-local-variables): New function.
10366 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
10367 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
10369 (sh-canonicalize-shell): Rewrite to support regexes.
10371 2014-05-21 Leo Liu <sdl.web@gmail.com>
10373 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
10375 2014-05-19 Leo Liu <sdl.web@gmail.com>
10377 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
10379 2014-05-18 Glenn Morris <rgm@gnu.org>
10382 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
10384 2014-05-14 Sam Steingold <sds@gnu.org>
10386 * progmodes/python.el (python-shell-get-or-create-process):
10387 Do not bind `current-prefix-arg' so that C-c C-z does not talk
10388 back unless requested.
10390 2014-05-14 Glenn Morris <rgm@gnu.org>
10392 * subr.el (with-file-modes): New macro.
10393 * printing.el (pr-save-file-modes): Make obsolete.
10394 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
10395 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
10396 Add with-file-modes.
10397 * doc-view.el (doc-view-make-safe-dir):
10398 * epg.el (epg--start):
10399 * files.el (locate-user-emacs-file, make-temp-file)
10400 (backup-buffer-copy, move-file-to-trash):
10401 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
10402 * eshell/esh-util.el (eshell-with-private-file-modes)
10403 (eshell-make-private-directory):
10404 * net/browse-url.el (browse-url-mosaic):
10405 * obsolete/mailpost.el (post-mail-send-it):
10406 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
10407 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
10408 Use with-file-modes.
10410 * vc/emerge.el (emerge-make-temp-file): Simplify.
10412 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
10413 Stefan Monnier <monnier@iro.umontreal.ca>
10415 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
10416 suffix (bug#15419).
10418 2014-05-14 Glenn Morris <rgm@gnu.org>
10420 * vc/emerge.el (emerge-temp-file-prefix):
10421 Make pointless option obsolete.
10422 (emerge-temp-file-mode): Make non-functional option obsolete.
10424 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
10426 * net/browse-url.el (browse-url):
10427 Use `unhandled-file-name-directory' when setting `default-directory',
10428 in order to circumvent stalled remote connections. (Bug#17425)
10430 2014-05-14 Glenn Morris <rgm@gnu.org>
10432 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
10433 Optimize on Emacs, which has the relevant functions for ages.
10435 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10437 * simple.el (undo-make-selective-list): Obey undo-no-redo.
10439 2014-05-12 Sam Steingold <sds@gnu.org>
10441 * calendar/time-date.el (seconds-to-string): New function to
10442 pretty print time delay in seconds.
10444 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10446 * mpc.el (mpc-format): Trim Date to the year.
10447 (mpc-songs-hashcons): Shorten the Date field.
10449 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
10450 into autoloading just because of a silly indirection.
10452 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
10454 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
10456 2014-05-12 Glenn Morris <rgm@gnu.org>
10458 * emacs-lisp/find-gc.el: Move to ../admin.
10460 * printing.el (pr-version):
10461 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
10463 * net/browse-url.el (browse-url-mosaic):
10464 Create /tmp/Mosaic.PID as a private file.
10466 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10468 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
10469 (advice--member-p): If name is given, only compare the name.
10470 (advice--remove-function): Don't stop at the first match.
10471 (advice--normalize-place): New function.
10472 (add-function, remove-function): Use it.
10473 (advice--add-function): Pass the name, if any, to
10474 advice--remove-function.
10476 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
10478 * electric.el (electric-indent-post-self-insert-function): Don't use
10479 `pos' after modifying the buffer (bug#17449).
10481 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
10483 * calendar/todo-mode.el (todo-insert-item-from-calendar):
10484 Correct argument list to conform to todo-insert-item--basic.
10486 2014-05-12 Glenn Morris <rgm@gnu.org>
10488 * files.el (cd-absolute): Test if directory is accessible
10489 rather than executable. (Bug#17330)
10491 * progmodes/compile.el (recompile):
10492 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
10494 * net/browse-url.el (browse-url-mosaic):
10495 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
10496 This is CVE-2014-3423.
10498 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10500 * mouse.el: Use the normal toplevel loop while dragging.
10501 (mouse-set-point): Handle multi-clicks.
10502 (mouse-set-region): Handle multi-clicks for drags.
10503 (mouse-drag-region): Update call accordingly.
10504 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
10505 Use the normal event loop instead of a local while/read-event loop.
10506 (global-map): Remove redundant bindings for double/triple-mouse-1.
10507 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
10508 Generate synthetic down events when the protocol only sends up events.
10509 (xterm-mouse-last): Remove.
10510 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
10511 terminal parameter instead.
10512 (xterm-mouse--set-click-count): New function.
10513 (xterm-mouse-event): Detect/generate double/triple clicks.
10514 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
10516 * info.el (Info-quoted): New face.
10517 (Info-mode-font-lock-keywords): New var.
10518 (Info-mode): Use it.
10520 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
10521 are a hindrance for C-x C-e.
10523 2014-05-11 Leo Liu <sdl.web@gmail.com>
10525 * net/rcirc.el (rcirc-sentinel): Fix last change.
10527 2014-05-08 Sam Steingold <sds@gnu.org>
10529 * net/rcirc.el (rcirc-reconnect-delay): New user option.
10530 (rcirc-sentinel): Auto-reconnect to the server if
10531 `rcirc-reconnect-delay' is non-0 (but not more often than its
10532 value in case the host is off-line).
10534 2014-05-09 Eli Zaretskii <eliz@gnu.org>
10536 * progmodes/grep.el (lgrep): Fix a typo in last commit.
10538 2014-05-09 Glenn Morris <rgm@gnu.org>
10540 * files.el (file-expand-wildcards):
10541 * man.el (Man-support-local-filenames):
10542 * printing.el (pr-i-directory, pr-interface-directory):
10543 * progmodes/grep.el (lgrep, rgrep):
10544 * textmodes/ispell.el (ispell-call-process)
10545 (ispell-call-process-region, ispell-start-process)
10546 (ispell-init-process): Use file-accessible-directory-p.
10548 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10550 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
10551 (xterm-mouse--read-event-sequence-1000): Return nil if something
10553 (xterm-mouse-event): Propagate it.
10554 (xterm-mouse-translate-1): Handle it.
10556 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
10558 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
10559 four slots of the parameter list are filled, make sure to pass it
10560 to the argument list of todo-insert-item--basic.
10562 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10564 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
10565 Add optional `seen' argument to detect and break infinite loops.
10567 2014-05-08 Eli Zaretskii <eliz@gnu.org>
10569 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
10570 (trace-unsafe, trace-use-tree): Make parentheses style be
10571 according to Emacs style.
10573 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
10575 * net/tramp-sh.el (tramp-remote-process-environment):
10576 Remove HISTFILE and HISTSIZE; it's too late to set them here.
10577 Add :version entry.
10578 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
10579 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
10580 extra "PSx=..." commands.
10581 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
10584 (tramp-uudecode): Replace the hard-coded temporary file name by a
10586 (tramp-remote-coding-commands): Enhance docstring.
10587 (tramp-find-inline-encoding): Replace "%t" by a temporary file
10589 This is CVE-2014-3424.
10591 2014-05-08 Glenn Morris <rgm@gnu.org>
10593 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
10594 (find-gc-source-files): Update some names.
10595 (trace-call-tree): Simplify and update.
10596 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
10597 This is CVE-2014-3422.
10599 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10601 * minibuffer.el (completion--try-word-completion): Revert fix for
10602 Bug#15980 (bug#17375).
10604 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
10605 Always store button numbers in the same way in xterm-mouse-last;
10606 Don't burp is xterm-mouse-last is not set as expected.
10607 Never return negative indices.
10609 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
10611 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10612 Backtrack one char if the global/char-literal var matcher hits
10613 inside a string. The next char could be the beginning of an
10614 expression expansion.
10616 2014-05-08 Glenn Morris <rgm@gnu.org>
10618 * help-fns.el (describe-function-1): Test for an autoload before a
10619 macro, since `macrop' works on autoloads. (Bug#17410)
10621 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10623 * electric.el (electric-indent-functions-without-reindent): Add yaml.
10625 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
10626 Make sure the new point we return is within the new string (bug#17239).
10628 2014-05-05 Daniel Colascione <dancol@dancol.org>
10630 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10631 Port `gnu' pattern to rx.
10633 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
10635 Remove unneeded prompt when closing a buffer with active
10636 emacsclient ("Buffer ... still has clients"), #16548.
10637 * server.el (server-start): Remove the only call to:
10638 (server-kill-buffer-query-function): Remove.
10640 2014-05-04 Leo Liu <sdl.web@gmail.com>
10642 * calendar/diary-lib.el (calendar-chinese-month-name-array):
10643 Defvar to pacify compiler.
10645 2014-05-04 Eli Zaretskii <eliz@gnu.org>
10647 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
10649 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10651 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10652 Use nil rather than `default' for the "default" appearance (bug#17388).
10653 * vc/ediff-util.el (ediff-inferior-compare-regions)
10654 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
10655 a misleading `default' value when it's really a boolean.
10656 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
10657 overlay is not visible.
10659 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10661 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
10662 (todo-menu): Uncomment and update.
10664 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10666 * calendar/todo-mode.el: Reimplement item editing to have the same
10667 basic user interface as item insertion, and make small UI and
10668 larger internal improvements to the latter.
10669 (todo-insert-item): Add reference to the Todo mode user manual to
10670 the documentation string.
10671 (todo-insert-item--basic): Rename from todo-basic-insert-item and
10672 adjust all callers. Change signature to combine diary and
10673 nonmarking arguments. Incorporate functionality of deleted item
10674 copying command and add error checking. Remove detailed
10675 descriptions of the arguments from the documentation string, since
10676 this is treated in the Todo mode user manual.
10677 (todo-copy-item, todo-edit-multiline-item)
10678 (todo-edit-done-item-comment, todo-edit-item-header)
10679 (todo-edit-item-time, todo-edit-item-date-from-calendar)
10680 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
10681 (todo-edit-item-date-year, todo-edit-item-date-month)
10682 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
10684 (todo-edit-item): Reimplement as wrapper command for
10685 todo-edit-item--next-key and make it distinguish done and not done
10687 (todo-edit-item--text): New function, replacing old command
10688 todo-edit-item and incorporating deleted commands
10689 todo-edit-multiline-item and todo-edit-done-item-comment.
10690 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
10691 Use only numeric value of prefix argument. Remove detailed
10692 descriptions of the arguments from the documentation string, since
10693 this is treated in the Todo mode user manual.
10694 (todo-edit-item--diary-inclusion): New function, replacing old
10695 command todo-edit-item-diary-inclusion and incorporating and fixing
10696 functionality of deleted command todo-edit-item-diary-nonmarking,
10697 making sure to remove todo-nondiary-marker when adding
10698 diary-nonmarking-symbol.
10699 (todo-edit-category-diary-inclusion): Make sure to delete
10700 diary-nonmarking-symbol when adding todo-nondiary-marker.
10701 (todo-edit-category-diary-nonmarking): Fix indentation.
10702 (todo-insert-item--parameters): Group diary and nonmarking
10703 parameters together.
10704 (todo-insert-item--apply-args): Adjust to signature of
10705 todo-insert-item--basic and incorporate copy parameter.
10706 Make small code improvements.
10707 (todo-insert-item--next-param): Improve prompt and adjust it to
10708 new parameter grouping. Remove obsolete code.
10709 (todo-edit-item--param-key-alist)
10710 (todo-edit-item--date-param-key-alist)
10711 (todo-edit-done-item--param-key-alist): New defconsts.
10712 (todo-edit-item--prompt): New variable.
10713 (todo-edit-item--next-key): New function.
10714 (todo-key-bindings-t): Bind "e" to todo-edit-item.
10715 Remove bindings of deleted commands.
10717 2014-05-04 Leo Liu <sdl.web@gmail.com>
10719 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
10721 2014-05-04 Glenn Morris <rgm@gnu.org>
10723 * allout-widgets.el (allout-widgets-tally)
10724 (allout-decorate-item-guides):
10725 * menu-bar.el (menu-bar-positive-p):
10726 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10727 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
10728 * progmodes/js.el (js--inside-param-list-p)
10729 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
10730 * progmodes/prolog.el (region-exists-p):
10731 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
10732 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
10733 Doc fixes (replace `iff').
10735 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10737 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
10739 2014-05-04 Leo Liu <sdl.web@gmail.com>
10741 Support Chinese diary entries in calendar and diary. (Bug#17393)
10742 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
10743 (calendar-chinese-from-absolute-for-diary)
10744 (calendar-chinese-to-absolute-for-diary)
10745 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
10746 (diary-chinese-list-entries): New functions to list and mark
10747 Chinese diary entries in the calendar window.
10748 (diary-chinese-anniversary)
10749 (diary-chinese-insert-anniversary-entry)
10750 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
10751 (diary-chinese-insert-yearly-entry): New commands to insert
10752 Chinese diary entries.
10754 * calendar/diary-lib.el (diary-font-lock-keywords):
10755 Support font-locking Chinese dates.
10757 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
10758 inserting Chinese diary entries.
10760 * calendar/calendar.el (diary-chinese-entry-symbol):
10761 New customizable variable.
10762 (calendar-mode-map): Add bindings for inserting Chinese diary
10765 2014-05-03 Juri Linkov <juri@jurta.org>
10767 * dired.el (dired-check-switches, dired-switches-recursive-p):
10768 New functions. (Bug#17218)
10769 (dired-switches-escape-p, dired-move-to-end-of-filename):
10770 Use `dired-check-switches'.
10771 (dired-insert-old-subdirs, dired-build-subdir-alist)
10772 (dired-sort-R-check): Use `dired-switches-recursive-p'.
10774 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
10776 * simple.el (undo-make-selective-list): New algorithm fixes
10777 incorrectness of position adjustments when undoing in region.
10779 (undo-elt-crosses-region): Make obsolete.
10780 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
10781 New functions to adjust positions using undo-deltas.
10783 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10785 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
10786 the last consecutive closing paren (bug#17345).
10788 2014-04-30 Reuben Thomas <rrt@sc3d.org>
10790 * dired.el (dired-mode): make terminology for eXpunge command
10791 consistent. (Bug#17276)
10793 2014-04-30 Eli Zaretskii <eliz@gnu.org>
10795 * dired.el (dired-initial-position-hook, dired-initial-position):
10798 2014-04-30 Glenn Morris <rgm@gnu.org>
10800 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
10802 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
10804 * faces.el (face-spec-recalc): Apply X resources only after the
10805 defface spec has been applied. Thus, X resources are no longer
10806 overriden by the defface spec which also fixes issues on win32 where
10807 the toolbar coloring was wrong because it is set through X resources
10808 and was (wrongfully) overriden. (Bug#16694)
10810 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
10812 * textmodes/rst.el (electric-pair-pairs): Declare.
10813 (rst-mode): Set it (bug#17131).
10815 2014-04-30 Juri Linkov <juri@jurta.org>
10817 * desktop.el (desktop-value-to-string): Let-bind `print-length'
10818 and `print-level' to nil. (Bug#17351)
10820 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10822 * battery.el (battery-update): Handle the case where battery
10823 status is "N/A" (bug#17319).
10825 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10827 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
10828 to syntax-propertize.
10829 (ps-mode-auto-indent): Mark as obsolete.
10830 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
10831 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
10832 word regexp operators.
10833 (ps-mode-map): Move initialization into declaration. Remove binding
10834 for TAB, RET, >, ], and }.
10835 (ps-mode-syntax-table): Move initialization into declaration.
10836 Don't give word syntax to non-word chars.
10837 (ps-run-mode-map): Move initialization into declaration.
10838 (ps-mode-menu-main): Remove auto-indent entry.
10839 (ps-mode-smie-rules): New function.
10840 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
10841 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
10842 (ps-mode--string-syntax-table): New const.
10843 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
10845 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
10846 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
10848 2014-04-27 Daniel Colascione <dancol@dancol.org>
10850 * term/xterm.el (xterm-paste): Use large finite timeout when
10851 reading event to avoid putting keys in this-command-keys.
10853 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10855 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
10856 (perl-syntax-propertize-function): Use it. Extend handling of
10857 here-docs to the unquoted case.
10859 2014-04-25 Eli Zaretskii <eliz@gnu.org>
10861 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
10862 Use equal-including-properties to compare help-echo strings (bug#17331).
10864 2014-04-25 Leo Liu <sdl.web@gmail.com>
10866 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10867 Fix syntax for @. (Bug#17325)
10869 2014-04-25 Daniel Colascione <dancol@dancol.org>
10871 * emacs-lisp/cl.el (gv): Require gv early to break eager
10872 macro-expansion cycles.
10874 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10876 * simple.el (region-active-p): Check there's a mark (bug#17324).
10878 * simple.el (completion-list-mode-map): Use choose-completion for the
10879 mouse binding as well (bug#17302).
10880 (completion-list-mode, completion-setup-function): Adjust docstring and
10881 echo area message accordingly.
10882 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
10883 calling convention of choose-completion.
10884 * comint.el (comint-dynamic-list-completions):
10885 * term.el (term-dynamic-list-completions): Accept choose-completion.
10887 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
10888 &, |, +, - and * can't be a division (bug#17317).
10890 * term/xterm.el (xterm--version-handler): Don't use modern xterm
10891 features on gnome-terminal (bug#16988).
10893 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
10895 Improve Scheme font-locking for (define ((foo ...) ...) ...).
10897 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
10898 the declared object, ignore zero or more parens, not zero or one.
10900 2014-04-24 Leo Liu <sdl.web@gmail.com>
10902 * progmodes/xscheme.el (xscheme-expressions-ring)
10903 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
10904 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
10905 (xscheme-allow-output-p, xscheme-prompt)
10906 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
10908 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
10909 Comment out unused functions.
10911 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10913 * info.el: Use lexical-binding and cl-lib.
10914 Use defvar-local and setq-local instead of make-local-variable.
10915 (Info-apropos-matches): Avoid add-to-list.
10916 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
10918 2014-04-24 Daniel Colascione <dancol@dancol.org>
10920 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
10922 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10924 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
10926 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
10928 * dired.el (dired-insert-set-properties): Do not consider
10929 subdirectory headings and empty lines to be information that
10930 `dired-hide-details-mode' should hide. (Bug#17228)
10932 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10934 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10935 Remove test messages.
10936 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
10937 and `target' twice.
10939 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10941 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
10942 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
10944 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
10946 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10948 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10949 Set "IFS=" when using read builtin, in order to preserve spaces in
10950 the file name. Add test messages for hunting a bug on hydra.
10951 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
10953 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10955 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
10956 Don't prettify a word within a symbol.
10958 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
10960 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
10963 2014-04-22 Daniel Colascione <dancol@dancol.org>
10965 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
10966 use defun to define `function-put'.
10968 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10970 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
10971 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
10972 (lisp-mode-variables): Set font-lock-extra-managed-props.
10974 * emacs-lisp/byte-run.el (function-put): New function.
10975 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
10976 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
10977 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
10980 2014-04-22 Daniel Colascione <dancol@dancol.org>
10982 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
10983 Add `full-p' parameter; when nil, call `macroexpand' instead of
10986 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
10987 Improve docstrings.
10989 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
10990 Use lambda function values, not quoted lambdas.
10991 (byte-compile-recurse-toplevel): Remove extraneous &optional.
10993 * emacs-lisp/cl-macs.el
10994 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
10995 (cl-struct-slot-value): Conditionally use aref or nth so that the
10996 compiler produces optimal code.
10998 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11000 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
11001 (inline): Don't inline cl--set-elt.
11002 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
11003 Define as inlinable instead.
11004 (cl-struct-set-slot-value): Remove.
11006 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
11007 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
11010 2014-04-21 Daniel Colascione <dancol@dancol.org>
11012 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
11013 last two parameters after all.
11014 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
11015 (cl--compiler-macro-assoc,cl-struct-slot-value)
11016 (cl-struct-set-slot-value): Stop using them.
11018 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11020 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
11021 entry in image-mode-winprops-alist.
11023 2014-04-21 Daniel Colascione <dancol@dancol.org>
11025 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
11026 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
11027 (byte-compile-toplevel-file-form): Use it.
11029 * emacs-lisp/cl-macs.el:
11030 (cl--loop-let): Properly destructure `while' clauses.
11032 2014-04-20 Daniel Colascione <dancol@dancol.org>
11034 * vc/vc.el (vc-root-dir): New public autoloaded function for
11035 generically finding the current VC root.
11036 * vc/vc-hooks.el (vc-not-supported): New error.
11037 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
11039 2014-04-20 Daniel Colascione <dancol@dancol.org>
11041 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
11043 (cl--const-expr-val): cl--const-expr-val should macroexpand its
11044 argument in case we're inside a symbol-macrolet.
11045 (cl--do-arglist, cl--compiler-macro-typep)
11046 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
11047 environment to `cl--const-expr-val'.
11048 (cl-struct-sequence-type,cl-struct-slot-info)
11049 (cl-struct-slot-offset, cl-struct-slot-value)
11050 (cl-struct-set-slot-value): New functions.
11052 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11054 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
11055 assignments such as "case=hello" (bug#17297).
11057 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
11059 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
11061 (tramp-file-name-handler, tramp-completion-file-name-handler):
11062 Revert patch from 2014-04-10, it isn't necessary anymore.
11063 (tramp-autoload-file-name-handler)
11064 (tramp-register-autoload-file-name-handlers): New defuns.
11065 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
11066 (tramp-register-file-name-handlers): Remove also
11067 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
11068 Do not autoload its invocation, but eval it after loading of 'tramp.
11070 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
11072 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
11074 2014-04-17 Daniel Colascione <dancol@dancol.org>
11076 Add support for bracketed paste mode; add infrastructure for
11077 managing terminal mode enabling and disabling automatically.
11080 (xterm-mouse-mode): Simplify.
11081 (xterm-mouse-tracking-enable-sequence)
11082 (xterm-mouse-tracking-disable-sequence): New constants.
11083 (turn-on-xterm-mouse-tracking-on-terminal)
11084 (turn-off-xterm-mouse-tracking-on-terminal):
11085 Use tty-mode-set-strings and tty-mode-reset-strings terminal
11086 parameters instead of random hooks.
11087 (turn-on-xterm-mouse-tracking)
11088 (turn-off-xterm-mouse-tracking): Delete.
11090 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
11091 (xterm-paste-ending-sequence): New constant.
11092 (xterm-paste): New command used for bracketed paste support.
11094 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
11095 (terminal-init-xterm-bracketed-paste-mode): New function.
11096 (terminal-init-xterm): Call it.
11097 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
11098 and tty-mode-reset-strings instead of random hooks.
11099 (xterm-turn-on-modify-other-keys)
11100 (xterm-turn-off-modify-other-keys)
11101 (xterm-remove-modify-other-keys): Delete obsolete functions.
11103 * term/screen.el: Rewrite to just use the xterm code.
11104 Add copyright notice. Mention tmux.
11106 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
11108 * image-mode.el (image-mode-window-put): Also update the property of
11109 the "default window".
11110 * doc-view.el (doc-view-new-window-function): If no window
11111 exists, move to the last known page.
11113 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11115 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
11116 here-documents (bug#17262).
11118 2014-04-16 Eli Zaretskii <eliz@gnu.org>
11120 * term/pc-win.el (x-list-fonts, x-get-selection-value):
11121 Provide doc strings, as required by snarf-documentation.
11123 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11125 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
11126 arg of overlays-at. Use `invisible-p'.
11128 * obsolete/lucid.el (extent-at):
11129 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
11131 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
11133 2014-04-16 João Távora <joaotavora@gmail.com>
11135 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
11136 links. (Bug#17217).
11138 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11140 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
11141 Use mapc to loop over a vector. (Bug#17257).
11143 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
11145 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
11146 patch, there are new problems with file names containing spaces.
11147 Get rid of backticks. (Bug#17238)
11149 2014-04-16 João Távora <joaotavora@gmail.com>
11151 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
11154 2014-04-16 Eli Zaretskii <eliz@gnu.org>
11156 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
11157 (blink-cursor-mode): Mention customization variables and the
11158 effect of 'blink-cursor-blinks'.
11160 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
11162 * simple.el (undo): Prevent insertion of identity mapping into
11163 undo-equiv-table so as undo-only does not inf loop in the presence
11164 of consecutive nils in undo list.
11166 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
11168 * faces.el (make-face): Deprecate optional argument as it is no
11169 longer needed/used since the conditional X resources handling
11170 has been pushed down to make-face-x-resource-internal itself.
11171 (make-empty-face): Don't pass optional argument to make-face.
11173 2014-04-16 Karl Fogel <kfogel@red-bean.com>
11175 * savehist.el (savehist-save): Remove workaround for a read-passwd
11176 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
11177 noticing that the shim was still present.
11179 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11181 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
11183 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
11185 * faces.el (face-set-after-frame-default): Remove unused local variable.
11187 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11189 * progmodes/grep.el: Use lexical-binding.
11190 (grep-expand-template): Pass explicit lexical env to `eval'.
11191 (zrgrep): Let-bind grep-find-template explicitly.
11193 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
11194 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
11196 2014-04-12 Eli Zaretskii <eliz@gnu.org>
11198 * international/characters.el <standard-case-table>: Add entries
11199 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
11200 Set category of Coptic characters be 'g' (Greek).
11202 2014-04-12 Leo Liu <sdl.web@gmail.com>
11204 * progmodes/octave.el (completion-table-with-cache):
11205 Define if not available.
11206 (octave-goto-function-definition, octave-sync-function-file-names)
11207 (octave-find-definition-default-filename):
11208 Backquote upattern for compatibility.
11210 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
11212 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
11213 name twice due to backticks. (Bug#17238)
11215 2014-04-12 Glenn Morris <rgm@gnu.org>
11217 * term/w32-win.el (x-win-suspend-error):
11218 * term/x-win.el (x-win-suspend-error): Sync docs.
11220 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
11222 * faces.el (make-face): Remove deprecated optional argument.
11223 The conditional application of X resources is handled directly by
11224 make-face-x-resource-internal since Emacs 24.4.
11225 (make-empty-face): Don't pass optional argument to make-face.
11227 2014-04-11 Glenn Morris <rgm@gnu.org>
11229 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
11231 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11233 Ediff's overlay priorities cause more trouble than they solve.
11234 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
11235 (ediff-highest-priority): Remove function (bug#17234).
11236 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
11237 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
11238 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
11239 overlay priorities.
11241 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
11243 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
11244 entry; use symbol boundaries to avoid mis-matches.
11246 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
11248 * net/tramp.el (tramp-file-name-handler)
11249 (tramp-completion-file-name-handler): Avoid recursive loading.
11251 * net/tramp-sh.el (tramp-make-copy-program-file-name):
11252 Quote result also locally.
11254 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11256 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
11257 Remove left-over code.
11259 * newcomment.el (comment-indent-new-line): Sink code where it's used.
11260 Reuse the previous comment's indentation unconditionally if it's on its
11263 2014-04-09 Daniel Colascione <dancol@dancol.org>
11265 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
11266 `no-syntax-crossing' arguments. Forward to `up-list'.
11267 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
11268 Implement logic for escaping from strings. Use narrowing to deal
11271 2014-04-09 Leo Liu <sdl.web@gmail.com>
11273 * net/rcirc.el (rcirc-connection-info): New variable.
11274 (rcirc-connect): Use it to store connection info.
11275 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
11276 for killed process.
11277 (rcirc-cmd-reconnect): New command. (Bug#17045)
11278 (rcirc-mode, set-rcirc-encode-coding-system)
11279 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
11281 2014-04-09 Daniel Colascione <dancol@dancol.org>
11283 * emacs-lisp/cl-indent.el: Add comment claiming
11284 facility is also good for elisp.
11285 (lisp-indent-find-method): New function.
11286 (common-lisp-indent-function): Recognize cl-loop.
11287 (common-lisp-indent-function-1): Recognize cl constructs; use
11288 `lisp-indent-find-method' instead of `get' directly.
11289 (if): Use else-body style for elisp.
11291 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
11293 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11294 Module methods. (Bug#17216)
11296 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
11298 * help.el (describe-bindings): Fix buffer handling (bug#17210).
11299 (describe-bindings-internal): Mark obsolete.
11301 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
11303 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
11304 buffer-file-name, and buffer-file-truename any more.
11306 2014-04-08 Leo Liu <sdl.web@gmail.com>
11308 Use lexical-binding and require cl-lib.
11309 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
11310 (rcirc-handler-generic, rcirc-fill-paragraph)
11311 (rcirc-format-response-string, rcirc-target-buffer)
11312 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
11313 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
11314 (rcirc-ctcp-sender-PING, rcirc-browse-url)
11315 (rcirc-markup-timestamp, rcirc-markup-attributes)
11316 (rcirc-markup-my-nick, rcirc-markup-urls)
11317 (rcirc-markup-bright-nicks, rcirc-markup-fill)
11318 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
11319 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
11320 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
11321 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
11322 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
11323 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
11324 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
11325 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
11326 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
11327 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
11330 2014-04-07 João Távora <joaotavora@gmail.com>
11332 * elec-pair.el (electric-pair--syntax-ppss):
11333 When inside comments parse from comment beginning.
11334 (electric-pair--balance-info): Fix typo in comment.
11335 (electric-pair--in-unterminated-string-p): Delete.
11336 (electric-pair--unbalanced-strings-p): New function.
11337 (electric-pair-string-bound-function): New var.
11338 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11339 according to `electric-pair--in-unterminated-string-p'
11341 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11342 Inhibit quote pairing if point-max is inside an unterminated string.
11343 (electric-pair--looking-at-unterminated-string-p): Delete.
11344 (electric-pair--in-unterminated-string-p): New function.
11346 2014-04-07 Glenn Morris <rgm@gnu.org>
11348 * shell.el (shell-directory-tracker):
11349 Go back to just ignoring failures. (Bug#17159)
11351 2014-04-07 João Távora <joaotavora@gmail.com>
11353 Fix `electric-pair-delete-adjacent-pairs' in modes binding
11354 backspace. (Bug#16981)
11355 * elec-pair.el (electric-pair-backward-delete-char): Delete.
11356 (electric-pair-backward-delete-char-untabify): Delete.
11357 (electric-pair-mode-map): Bind backspace to a menu item filtering
11358 a new `electric-pair-delete-pair' command.
11359 (electric-pair-delete-pair): New command.
11361 * progmodes/python.el (python-electric-pair-string-delimiter):
11362 Fix triple-quoting electricity. (Bug#17192)
11364 * elec-pair.el (electric-pair-post-self-insert-function):
11365 Don't skip whitespace when `electric-pair-text-pairs' and
11366 `electric-pair-pairs' were used. syntax to
11367 electric-pair--skip-whitespace. (Bug#17183)
11369 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11371 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
11374 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
11376 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
11377 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
11379 2014-04-07 Glenn Morris <rgm@gnu.org>
11381 * help.el (view-lossage): Doc tweak.
11383 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
11385 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
11386 only when inhibit-x-resources is nil, and do that earlier in the
11387 function. Doc fix. (Bug#16694)
11388 (face-spec-choose): Accept additional optional argument, whose
11389 value is returned if no matching attributes are found.
11390 (face-spec-recalc): Use the new optional argument when calling
11391 face-spec-choose. (Bug#16378)
11392 (make-face-x-resource-internal): Do nothing when
11393 inhibit-x-resources is non-nil. Don't touch the default face if
11394 reversed video is given--as was done in previous versions of Emacs.
11395 (face-set-after-frame-default): Don't call
11396 make-face-x-resource-internal here. (Bug#16434)
11398 2014-04-07 Tassilo Horn <tsdh@gnu.org>
11400 * doc-view.el (doc-view-bookmark-jump):
11401 Use `bookmark-after-jump-hook' to jump to the right page after the
11402 buffer is shown in a window. (bug#16090)
11404 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11406 * international/characters.el (mirroring): Fix last change:
11407 instead of loading uni-mirrored.el explicitly, do that implicitly
11408 by creating the 'mirroring' uniprop table. This avoids announcing
11409 the loading of uni-mirrored.el.
11411 2014-04-07 Glenn Morris <rgm@gnu.org>
11413 * files.el (buffer-stale--default-function)
11414 (buffer-stale-function, revert-buffer--default):
11415 * autorevert.el (auto-revert-buffers): Doc tweaks.
11417 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11419 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
11421 2014-04-07 Glenn Morris <rgm@gnu.org>
11423 * files.el (make-backup-file-name-function)
11424 (make-backup-file-name, make-backup-file-name--default-function)
11425 (make-backup-file-name-1, find-backup-file-name)
11426 (revert-buffer-function, revert-buffer-insert-file-contents-function)
11427 (buffer-stale--default-function, buffer-stale-function)
11428 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
11429 (revert-buffer, revert-buffer--default)
11430 (revert-buffer-insert-file-contents--default-function):
11431 Doc fixes related to defaults no longer being nil.
11432 (make-backup-file-name-function): Bump :version.
11433 Restore nil as a valid but deprecated custom type.
11435 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
11437 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11438 Handle $' used as a variable (bug#17174).
11440 * progmodes/perl-mode.el (perl-indent-new-calculate):
11441 Handle forward-sexp failure (bug#16985).
11442 (perl-syntax-propertize-function): Add "foreach" and "for" statement
11443 modifiers introducing expressions (bug#17116).
11445 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
11447 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
11449 2014-04-05 Leo Liu <sdl.web@gmail.com>
11451 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11452 Add define-compilation-mode.
11454 2014-04-04 João Távora <joaotavora@gmail.com>
11456 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
11457 parse from comment beginning.
11458 (electric-pair--balance-info): Fix typo in comment.
11459 (electric-pair--in-unterminated-string-p): Delete.
11460 (electric-pair--unbalanced-strings-p): New function.
11461 (electric-pair-string-bound-function): New var.
11462 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11463 according to `electric-pair--in-unterminated-string-p'.
11465 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11467 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
11468 Move declaration before first use.
11469 (reftex-move-to-next-arg): Silence compiler warning.
11471 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
11473 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
11474 Use `window-total-width' instead of `window-width'.
11476 2014-04-03 Daniel Colascione <dancol@dancol.org>
11478 * subr.el (set-transient-map): Remove rms's workaround entirely;
11479 use new `suspicious-object' subr to mark our lambda for closer
11480 scrutiny during gc.
11482 2014-04-02 Richard Stallman <rms@gnu.org>
11484 * subr.el (set-transient-map): Comment out previous change.
11486 2014-04-02 Glenn Morris <rgm@gnu.org>
11488 * menu-bar.el (menu-bar-file-menu):
11489 * vc/ediff.el (ediff-current-file):
11490 Update for revert-buffer-function no longer being nil by default.
11492 * simple.el (command-execute): Respect nil disabled-command-function.
11494 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11496 * simple.el (command-execute): Do not execute the command when it
11497 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
11499 2014-04-02 Juri Linkov <juri@jurta.org>
11501 * dired-aux.el (dired-compress-file): Don't use string-match-p
11502 because its match data is used afterwards.
11504 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
11506 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
11509 2014-04-02 João Távora <joaotavora@gmail.com>
11511 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11512 Inhibit quote pairing if point-max is inside an unterminated string.
11513 (electric-pair--looking-at-unterminated-string-p):
11515 (electric-pair--in-unterminated-string-p): New function.
11517 2014-04-01 Daniel Colascione <dancol@dancol.org>
11519 * minibuffer.el (minibuffer-complete): Prevent assertion failure
11520 when trying to complete the prompt.
11522 2014-03-31 Leo Liu <sdl.web@gmail.com>
11524 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11525 Refactor out eldoc-documentation-function-default.
11526 (eldoc-documentation-function-default): New function.
11527 (eldoc-documentation-function): Change value.
11529 2014-03-31 Glenn Morris <rgm@gnu.org>
11531 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
11533 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
11534 (vhdl-compose-components-package, vhdl-compose-configuration):
11535 Abbreviate default-directory (missing from some previous upstream sync).
11537 2014-03-31 Reto Zimmermann <reto@gnu.org>
11539 Sync with upstream vhdl mode v3.35.2.
11540 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11541 (top-level): No longer require assoc.
11542 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
11543 New functions. Use throughout to replace aget etc.
11544 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
11545 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
11546 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
11547 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
11548 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
11549 except `vhdl-compiler'.
11550 (vhdl-error-regexp-add-emacs): Remove all other compilers,
11553 2014-03-31 Glenn Morris <rgm@gnu.org>
11555 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
11556 Revert 2014-03-26 merge goof; go back to using defalias.
11558 2014-03-30 Daniel Colascione <dancol@dancol.org>
11560 * comint.el (comint-send-input):
11561 Deactivate completion-in-region-mode before we send comint input.
11564 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
11567 2014-03-29 Glenn Morris <rgm@gnu.org>
11569 * textmodes/reftex.el: Manage most autoloads automatically.
11570 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
11571 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
11572 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
11573 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
11574 * textmodes/reftex-toc.el: Set generated-autoload-file,
11575 and add autoload cookies for reftex.el.
11576 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
11578 2014-03-28 Glenn Morris <rgm@gnu.org>
11580 * cus-start.el (report-emacs-bug-address): Set custom properties.
11581 * mail/emacsbug.el (report-emacs-bug-address):
11582 Variable is now defined in emacs.c.
11584 * mail/emacsbug.el (report-emacs-bug):
11585 Include system-configuration-features.
11587 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
11589 * simple.el (cycle-spacing): Never delete spaces on first run by
11590 default, but do so in a new 'fast mode and if there are already
11591 N spaces (the previous behavior).
11592 Compare N with its value in previous invocation so that changing
11593 prefix argument restarts `cycle-spacing' sequence.
11594 The idea is that with this change, binding M-SPC to
11595 `cycle-spacing' should not introduce any changes in behavior of
11596 the binding so long as users do not type M-SPC twice in a raw with
11597 the same prefix argument or lack thereof.
11599 2014-03-28 Glenn Morris <rgm@gnu.org>
11601 * faces.el (term-file-aliases): New variable.
11602 (tty-run-terminal-initialization): Respect term-file-aliases.
11603 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
11604 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
11605 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
11607 2014-03-27 Glenn Morris <rgm@gnu.org>
11609 * startup.el (inhibit-startup-hooks): Doc tweak.
11610 (normal-top-level): Simplify running of hooks.
11611 For window-setup-hook, respect inhibit-startup-hooks.
11612 (command-line-1): Don't set window-setup-hook to nil.
11614 Allow selective autoloading from obsolete/ directory.
11615 * Makefile.in (obsolete-autoloads): New rule.
11616 (autoloads): Run obsolete-autoloads.
11617 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
11618 * simple.el (iswitchb-mode): Remove hand-written autoloads.
11620 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
11622 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11623 Highlight special globals with font-lock-builtin-face. (Bug#17057)
11625 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11626 Don't propertize `?' or `!' as symbol constituent when after
11629 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
11631 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
11632 which is no longer needed and causes trouble in GTK builds (bug#17046).
11634 * emacs-lisp/package-x.el (package--archive-contents-from-url):
11635 Use url-insert-file-contents; package-handle-response no longer exists.
11637 2014-03-26 Daniel Colascione <dancol@dancol.org>
11639 * simple.el (process-menu-mode-map): New variable.
11640 (process-menu-delete-process): New command.
11642 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11644 * emacs-lisp/package.el: Fix bug#16733 (again).
11645 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
11646 (url-http-target-url): Remove unused declarations.
11647 (package-handle-response): Remove.
11648 (package--with-work-buffer): Use url-insert-file-contents and simplify.
11649 (package--download-one-archive): Use current-buffer instead of
11650 dynamic binding of `buffer'.
11651 (describe-package-1): Do not decode readme-string.
11653 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
11655 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
11657 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
11658 from 2014-03-07, it decreases performance unnecessarily. Let-bind
11659 `remote-file-name-inhibit-cache' to nil in the second pass.
11660 (tramp-find-executable): Do not call "which" on SunOS.
11661 (tramp-send-command-and-check): Fix docstring.
11662 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
11663 check whether source directory has set the sticky bit.
11665 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
11667 * simple.el (primitive-undo): Only process marker adjustments
11668 validated against their corresponding (TEXT . POS). Issue warning
11669 for lone marker adjustments in undo history. (Bug#16818)
11670 (undo-make-selective-list): Add marker adjustments to selective
11671 undo list based on whether their corresponding (TEXT . POS) is in
11672 the region. Remove variable adjusted-markers, which was unused
11673 and only non nil during undo-make-selective-list.
11674 (undo-elt-in-region): Return nil when passed a marker adjustment
11675 and explain in function doc.
11677 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11679 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
11681 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11683 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
11684 Match special global variables without curlies, too.
11685 (ruby-font-lock-keywords): Simplify the matcher for special global
11686 variables. Don't require a non-word character after the variable.
11689 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11691 * simple.el (redisplay-highlight-region-function): Increase priority of
11692 overlay to make sure boundaries are visible (bug#15899).
11694 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11696 * frameset.el (frameset--initial-params): Fix typo in parameter name.
11697 (frameset-restore): Compare display strings with equal.
11699 * frame.el (make-frame): Don't quote display name in error message,
11700 it is already a string.
11702 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11704 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
11707 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11709 * emacs-lisp/package.el (package--add-to-archive-contents):
11710 Include already installed and built-in packages in
11711 `package-archive-contents'.
11712 (package-install): Don't include already installed packages in the
11713 options during interactive invocation. (Bug#16762)
11714 (package-show-package-list): If the buffer is already displayed in
11715 another window, switch to that window.
11717 2014-03-26 Reto Zimmermann <reto@gnu.org>
11719 Sync with upstream vhdl mode v3.35.1.
11720 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11721 (vhdl-compiler-alist): Doc fix.
11722 (vhdl-goto-line): Remove.
11723 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
11724 (vhdl-mode) <paragraph-start>: Fix value.
11725 (vhdl-fix-statement-region): Not `for' in wait-statement.
11726 (vhdl-beautify-region): Also (un)tabify.
11727 (vhdl-get-visible-signals):
11728 Scan declarative part of generate statements.
11729 (vhdl-template-record): Fix indentation for record type declaration.
11730 (vhdl-expand-abbrev, vhdl-expand-paren):
11731 Revert to using fset again rather than defalias.
11732 (vhdl-scan-directory-contents): Tweak.
11733 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
11734 (vhdl-compose-components-package):
11735 Replace vhdl-goto-line with forward-line.
11736 (top-level): Tweak speedbar frame selection.
11737 (vhdl-generate-makefile-1): Support for compilers with no
11738 unit-to-file name mapping (create directory with dummy files).
11740 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
11742 Sync with upstream verilog-mode revision 702457d.
11743 * progmodes/verilog-mode.el (verilog-mode-version): Update.
11744 (create-lockfiles): Declare.
11745 (verilog-read-decls): Fix module header imports, bug709.
11746 Reported by Victor Lau.
11747 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
11748 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
11749 interface-only modules, bug721. Reported by Dean Hoyt.
11751 2014-03-26 Glenn Morris <rgm@gnu.org>
11753 * obsolete/gulp.el: Move here from emacs-lisp/.
11755 * files.el (lock-buffer, unlock-buffer, file-locked-p):
11756 Remove fallback aliases, since they are always defined now.
11758 2014-03-24 Daniel Colascione <dancol@dancol.org>
11760 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
11761 instead of cl-loop search function.
11763 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11765 * calendar/parse-time.el (parse-time-iso8601-regexp)
11766 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
11769 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11771 * net/dns.el (network-interface-list): Define for XEmacs.
11773 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
11775 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
11776 the network interfaces changed.
11777 (dns-query): Use it to flush the data.
11779 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
11781 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
11783 2014-03-23 Daniel Colascione <dancol@dancol.org>
11785 Change subword-mode to use `find-word-boundary-function-table' and
11786 replace `capitalized-words-mode'. Also, convert to lexical binding.
11787 * progmodes/cap-words.el: Delete now-obsolete file.
11788 * progmodes/subword.el: Reimplement using
11789 `find-word-boundary-function-table'.
11790 (subword-mode-map): Hollow out.
11791 (capitalized-words-mode): Define as obsolete alias for
11793 (subword-mode, superword-mode): Tweak documentation to reflect new
11794 implementation; call `subword-setup-buffer'.
11795 (subword-forward, subword-capitalize): Add underscore to indicate
11797 (subword-find-word-boundary-function-table): New constant.
11798 (subword-empty-char-table): New constant.
11799 (subword-setup-buffer): New function.
11800 (subword-find-word-boundary): New function.
11802 2014-03-23 Daniel Colascione <dancol@dancol.org>
11804 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
11805 list to look for keyword arguments instead of `memq', fixing
11806 (Bug#3647) --- unfortunately, only for freshly-compiled code.
11807 Please make bootstrap.
11809 2014-03-22 Glenn Morris <rgm@gnu.org>
11811 * dired.el (dired-read-regexp): Make obsolete.
11812 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
11813 (dired-flag-files-regexp):
11814 * dired-aux.el (dired-mark-read-regexp):
11815 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
11817 * startup.el (fancy-startup-text):
11818 * help.el (describe-gnu-project): Visit online info about GNU project.
11820 * help-fns.el (help-fns--interactive-only): New function.
11821 (help-fns-describe-function-functions): Add the above function.
11822 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
11823 (next-line, previous-line): Remove hand-written interactive-only
11824 information from doc strings, it is auto-generated now.
11825 * bookmark.el (bookmark-write):
11826 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
11827 (epa-mail-import-keys): Mark interactive-only,
11828 and remove hand-written interactive-only information from doc strings.
11829 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
11830 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
11831 * files.el (not-modified):
11832 * simple.el (mark-whole-buffer): Mark interactive-only.
11834 * emacs-lisp/byte-run.el (defun-declarations-alist):
11835 Add interactive-only. Doc tweak.
11836 (macro-declarations-alist): Doc tweak.
11837 * subr.el (declare): Doc tweak (add xref to manual).
11838 * comint.el (comint-run):
11839 * files.el (insert-file-literally, insert-file):
11840 * replace.el (replace-string, replace-regexp):
11841 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11842 (delete-forward-char, goto-line, insert-buffer, next-line)
11843 (previous-line): Set interactive-only via declare.
11845 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
11847 * emacs-lisp/package.el (package-desc): Use the contents of the
11848 quoted form, not its cdr. (Bug#16873)
11850 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
11852 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
11853 benefit of doc.c; change parameter profile to match the X function.
11855 2014-03-22 Leo Liu <sdl.web@gmail.com>
11857 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
11858 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
11860 2014-03-21 Richard Stallman <rms@gnu.org>
11862 * battery.el (battery-linux-sysfs): Search for each field
11863 from the beginning of the buffer.
11865 * subr.el (set-transient-map): Clear out function and value
11866 of the temporary symbol when we're done with it.
11868 * mail/rmailsum.el (rmail-summary-delete-forward):
11869 Optimize case of reaching end and handling count.
11870 (rmail-summary-mark-deleted): Optimize when N is current msg.
11871 Don't create new summary line.
11872 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
11873 (rmail-summary-undelete-many): Rewrite for speed.
11874 (rmail-summary-msg-number): New function.
11876 * mail/rmail.el (rmail-delete-message): Update summary.
11877 (rmail-undelete-previous-message): Handle repeat count arg.
11878 (rmail-delete-backward, rmail-delete-forward): Likewise.
11880 2014-03-21 Daniel Colascione <dancol@dancol.org>
11882 * mail/emacsbug.el (report-emacs-bug): Include memory usage
11883 information in bug reports.
11885 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
11887 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
11888 and `tramp-copy-env'.
11890 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
11891 (tramp-maybe-open-connection): Handle `tramp-login-env'.
11893 2014-03-21 Glenn Morris <rgm@gnu.org>
11895 * electric.el (electric-indent-post-self-insert-function): Add doc.
11897 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
11899 * emacs-lisp/package.el (package-compute-transaction):
11900 Use `version-list-<=' to compare the requirement version against
11901 the version of package already to be installed. Update the error
11902 message. (Bug#16826)
11904 * progmodes/ruby-mode.el (ruby-smie-rules):
11905 Add indentation rule for ` @ '. (Bug#17050)
11907 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11909 * align.el (align-regexp): Remove superfluous backslash.
11911 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
11912 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
11913 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
11914 Fix docstring typos.
11915 (ffap-next): Use C-u in docstring.
11916 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
11917 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
11918 Remove superfluous backslashes.
11919 (ffap-string-at-point): Reflow docstring.
11921 * server.el (server-host): Reflow docstring.
11922 (server-unload-function): Fix docstring typo.
11923 (server-eval-at): Remove superfluous backslash.
11925 * skeleton.el (skeleton-insert): Remove superfluous backslash.
11926 (skeleton-insert): Doc fix.
11927 (skeleton-insert): Reflow docstring.
11929 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
11930 (tty-color-approximate, tty-color-by-index, tty-color-values)
11931 (tty-color-desc): Remove superfluous backslashes.
11933 2014-03-21 Glenn Morris <rgm@gnu.org>
11935 * cus-start.el (history-length): Bump :version.
11937 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
11938 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
11939 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
11940 Don't set `make-backup-files'.
11942 * info.el (info--prettify-description): New function,
11943 to give info-finder descriptions consistent case, punctuation.
11944 (Info-finder-find-node): Use it. Sort packages.
11945 Refer to "description" rather than "commentary".
11947 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
11949 * frameset.el (frameset--print-register): New function.
11950 (frameset-to-register): Use it.
11952 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
11954 * progmodes/hideif.el (hif-string-to-number): New function.
11955 (hif-tokenize): Use it to understand non-decimal floats.
11957 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
11959 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
11961 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11963 * electric.el (electric-newline-and-maybe-indent): New command.
11964 Bind it globally to C-j.
11965 (electric-indent-mode): Don't mess with the global map any more.
11966 Don't drop the post-self-insert-hook is some buffer is still using it
11969 * bindings.el (global-map): Remove C-j binding.
11971 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
11972 the docstring of functions advised before dumping (bug#16993).
11974 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
11976 * ps-print.el (ps-generate-postscript-with-faces):
11977 Explicitly deactivate the mark (bug#16866).
11978 * simple.el (deactivate-mark): Update region highlight.
11980 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
11982 * emacs-lisp/package.el (describe-package-1):
11983 Decode commentary (bug#16733).
11985 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
11987 * custom.el (defcustom): Doc fix: recommend avoiding destructive
11988 modification of the value argument of :set (bug#16755).
11990 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11992 * simple.el (newline-and-indent): Do autofill (bug#17031).
11994 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
11996 * newcomment.el (comment-normalize-vars): Only add escaping check
11997 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
11998 (comment-beginning): Use `narrow-to-region' instead of moving back
12000 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
12001 (comment-start-skip): Update the docstring.
12003 2014-03-18 Richard Stallman <rms@gnu.org>
12005 * dired.el (dired-display-file): Force use of other window.
12007 2014-03-18 Daniel Colascione <dancol@dancol.org>
12009 * startup.el (tty-handle-args): Remove debug message from 2007.
12011 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12013 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
12014 (advice--make-interactive-form): Use it to avoid (auto)loading function.
12015 (advice--make-1, advice-add, advice-remove):
12016 Remove braindead :advice-pending hack.
12018 2014-03-17 Glenn Morris <rgm@gnu.org>
12020 * calendar/calendar.el (calendar-generate-month): Apply weekend
12021 face to the right days; fixes 2013-08-06 change. (Bug#17028)
12023 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
12025 * net/tramp.el (tramp-action-out-of-band): Read pending output.
12026 (tramp-call-process): Trace also DESTINATION.
12028 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12029 Quote file names when they are local. Remove superfluous trace.
12031 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
12033 * newcomment.el (comment-beginning): If `comment-start-skip'
12034 doesn't match, move back one char and try again. (Bug#16971)
12036 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12037 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
12038 Set `comment-start-skip' to a simpler value that doesn't try to
12039 check if the semicolon is escaped (this is handled by
12040 `syntax-ppss' now). (Bug#16971)
12042 * progmodes/scheme.el (scheme-mode-variables): Same.
12044 2014-03-16 Martin Rudalics <rudalics@gmx.at>
12046 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
12047 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
12048 current (Bug#16816, Bug#17007).
12049 (with-current-buffer-window): New macro doing the same as
12050 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
12051 * help.el (help-print-return-message): Warn in doc-string to not
12052 use this in `with-help-window'.
12053 (describe-bindings-internal): Call `describe-buffer-bindings'
12054 from within help buffer. See Juanma's scenario in (Bug#16816).
12055 (with-help-window): Update doc-string.
12056 * dired.el (dired-mark-pop-up):
12057 * files.el (save-buffers-kill-emacs):
12058 * register.el (register-preview): Use `with-current-buffer-window'
12059 instead of `with-temp-buffer-window'.
12061 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
12063 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
12064 Implement inserting into current buffer, documented in their docstrings.
12065 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
12066 (rst-section-tree-point, rst-forward-section, rst-indent)
12067 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
12068 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
12069 (rst-font-lock-handle-adornment-pre-match-form)
12070 (rst-repeat-last-character): Reflow docstrings.
12071 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
12072 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
12073 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
12074 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
12075 Fix docstring typos.
12076 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
12077 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
12078 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
12080 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
12082 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
12083 for compatibility with other ports.
12084 (ns-initialize-window-system): Use it. It is set in term/common-win.el
12085 from the -xrm command line argument, but in the Nextstep port its value
12086 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
12088 * progmodes/python.el (defconst, python-syntax-count-quotes)
12089 (python-indent-region, python-indent-shift-right)
12090 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
12091 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
12092 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
12093 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
12094 (inferior-python-mode, python-shell-make-comint, run-python-internal)
12095 (python-shell-buffer-substring, python-shell-send-buffer)
12096 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
12097 (python-completion-complete-at-point, python-fill-docstring-style)
12098 (python-eldoc-function, python-imenu-format-item-label)
12099 (python-imenu-format-parent-item-label)
12100 (python-imenu-format-parent-item-jump-label)
12101 (python-imenu--build-tree, python-imenu-create-index)
12102 (python-imenu-create-flat-index): Fix docstring typos.
12103 (python-indent-context, python-shell-prompt-regexp, run-python):
12104 Remove superfluous backslashes.
12105 (python-indent-line, python-nav-beginning-of-defun)
12106 (python-shell-get-buffer, python-shell-get-process)
12107 (python-info-current-defun, python-info-current-line-comment-p)
12108 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
12109 (python-indent-post-self-insert-function, python-shell-send-file)
12110 (python-shell-completion-get-completions)
12111 (python-shell-completion-complete-or-indent)
12112 (python-eldoc--get-doc-at-point): Reflow docstrings.
12114 2014-03-14 Glenn Morris <rgm@gnu.org>
12116 * emacs-lisp/package.el (package-menu-mode-map):
12117 Replace use of obsolete function alias. Tweak menu item text.
12119 * info.el (Info-finder-find-node):
12120 Ignore the `emacs' metapackage. (Bug#10813)
12122 * finder.el (finder-list-matches): Include unversioned packages
12123 in the result of a keyword search.
12125 * finder.el (finder--builtins-descriptions): New constant.
12126 (finder-compile-keywords): Use finder--builtins-descriptions.
12128 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
12130 * simple.el (blink-matching-paren): Describe the new value,
12131 `jump', enabling the old behavior.
12132 (blink-matching-open): Use that value. (Bug#17008)
12134 2014-03-14 Glenn Morris <rgm@gnu.org>
12136 * finder.el (finder-no-scan-regexp): Add leim-list.
12137 (finder-compile-keywords):
12138 Don't skip files with same basename. (Bug#14010)
12139 * Makefile.in (setwins_finder): New, excluding leim.
12140 (finder-data): Use setwins_finder.
12142 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
12143 (help-function-arglist, help-make-usage): Move from here...
12144 * help.el (help-split-fundoc, help-add-fundoc-usage)
12145 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
12146 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
12148 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
12150 * net/socks.el (socks, socks-override-functions)
12151 (socks-find-services-entry):
12152 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
12153 (hif-find-ifdef-block):
12154 * progmodes/modula2.el (m2-indent): Fix docstring typos.
12156 * net/tls.el (tls-program): Reflow docstring.
12158 * progmodes/pascal.el (pascal-mode-abbrev-table)
12159 (pascal-imenu-generic-expression, pascal-auto-endcomments)
12160 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
12161 (pascal-outline-mode): Fix docstring typos.
12162 (pascal-mode): Let define-derived-mode document mode hook.
12163 (pascal-uncomment-area): Reflow.
12164 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
12166 * progmodes/opascal.el (opascal-compound-block-indent)
12167 (opascal-case-label-indent): Fix docstring typos.
12168 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
12170 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
12172 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12173 Fontify multiple adjacent negation chars. (Bug#17004)
12175 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
12177 * emacs-lisp/package.el (package--prepare-dependencies):
12178 Accept requirements without explicit version (bug#14941).
12180 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
12182 * register.el (register-separator, copy-to-register): Doc fixes.
12183 (register-preview-default): Remove unnecessary call to concat.
12185 * frameset.el (frameset-restore): When checking for a visible frame,
12186 use the action map instead of calling visible-frame-list.
12188 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
12190 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
12192 2014-03-12 Martin Rudalics <rudalics@gmx.at>
12194 * window.el (fit-frame-to-buffer): Get maximum width from
12195 display's width instead of height.
12197 2014-03-12 Glenn Morris <rgm@gnu.org>
12199 * desktop.el (desktop-restore-frames)
12200 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
12201 (desktop-restore-reuses-frames): Doc tweaks.
12203 * electric.el (electric-indent-mode): Doc fix.
12205 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
12207 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
12208 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
12209 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
12210 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
12211 (cvs-dired-use-hook): Fix docstring typos.
12212 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
12215 * vc/pcvs-defs.el (cvs-auto-remove-handled)
12216 (cvs-auto-remove-directories, cvs-default-ignore-marks)
12217 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
12218 (cvs-execute-single-dir): Fix docstring typos.
12220 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
12221 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
12223 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
12225 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
12226 Fix docstring typos.
12228 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
12230 * frameset.el (frameset--jump-to-register): Add autoload; it could be
12231 called from jump-to-register after unloading the frameset package.
12233 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
12235 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
12236 (bug#16975). Deactivate the mark before setting it to nil.
12237 (activate-mark): Do nothing if region is already active.
12239 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
12241 * frameset.el (frameset--target-display): Remove definition; declare.
12242 (frameset-save, frameset-restore): Let-bind frameset--target-display.
12244 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
12246 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
12247 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
12248 when the advice is pending.
12249 (advice-remove): Remove this marker when not needed any more.
12251 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
12253 * frameset.el: Separate options for reusing frames and cleaning up.
12254 (frameset--reuse-list): Remove definition; declare.
12255 (frameset--action-map): Declare.
12256 (frameset--find-frame-if): Doc fix.
12257 (frameset--restore-frame): Cache frame action.
12258 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
12259 how to clean up the frame list after restoring. Remove cleaning
12260 options from REUSE-FRAMES. Change all keyword values to symbols.
12261 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
12263 * desktop.el (desktop-restore-forces-onscreen)
12264 (desktop-restore-reuses-frames): Use non-keyword values.
12265 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
12267 2014-03-10 Glenn Morris <rgm@gnu.org>
12269 * files.el (find-file): Doc fix: update info node name.
12271 * emacs-lisp/advice.el (ad-add-advice, defadvice):
12272 Doc fix: remove references to deleted info nodes.
12274 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
12276 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
12277 Do not add nil to the environment, when there's no remote `locale'.
12278 (tramp-find-inline-encoding): Check, that the remote host has
12279 installed perl, before sending scripts.
12281 2014-03-10 Leo Liu <sdl.web@gmail.com>
12283 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
12284 Clear eldoc-last-message. (Bug#16920)
12286 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12288 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
12291 2014-03-09 Juri Linkov <juri@jurta.org>
12293 * ansi-color.el (ansi-color-names-vector): Copy default colors
12294 from `xterm-standard-colors' that look well on the default white
12295 background (and also on the black background) to avoid illegible
12296 color combinations like yellow-on-white and white-on-white.
12297 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
12299 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
12301 * frameset.el (frameset-restore): When no frame is visible, do not
12302 generate a list of frames, just make visible the selected one.
12304 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
12306 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
12307 it only contains the repository root. (Bug#16897)
12309 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
12311 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
12312 only when `remote-file-name-inhibit-cache' is nil.
12313 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
12315 2014-03-06 Martin Rudalics <rudalics@gmx.at>
12317 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
12319 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
12320 fit-frame-to-buffer variable. Fix doc-string.
12321 (fit-window-to-buffer): Set ONLY argument in call of
12322 fit-frame-to-buffer. Fix doc-string.
12324 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
12326 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
12327 (tramp-action-password): Clear password cache if needed.
12328 (tramp-read-passwd): Do not clear password cache.
12330 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
12331 cache unless it is the first password request.
12333 2014-03-06 Glenn Morris <rgm@gnu.org>
12335 * simple.el (newline): Doc tweak.
12337 * emacs-lisp/shadow.el (load-path-shadows-find):
12338 Ignore dir-locals. (Bug#12357)
12340 2014-03-05 Glenn Morris <rgm@gnu.org>
12342 * files.el (interpreter-mode-alist):
12343 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
12345 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
12347 * frameset.el (frameset--initial-params): Filter out null entries.
12349 2014-03-05 Martin Rudalics <rudalics@gmx.at>
12351 * window.el (window-min-height, window-min-width):
12352 Rewrite doc-strings.
12353 (window-body-size): Add PIXELWISE argument to make it consistent
12356 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
12358 * finder.el (finder-mode-map, finder-mode-syntax-table):
12359 Revert part of 2014-02-28 change.
12361 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
12363 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
12364 (eww-setup-buffer): Clear next/prev/etc more reliably.
12365 (eww-textarea-map): [tab] doesn't work on tty.
12366 Reported by Mario Lang.
12368 * net/shr.el (shr-map): Ditto.
12370 2014-03-04 Glenn Morris <rgm@gnu.org>
12372 * minibuffer.el (completion-hilit-commonality):
12373 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
12375 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
12377 * hilit-chg.el (hilit-chg-unload-function): New function.
12378 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
12379 (hilit-chg-map-changes): Prefer cardinal number to digit.
12380 (hilit-chg-display-changes): Reflow docstring.
12381 (highlight-changes-rotate-faces): Remove superfluous backslash.
12383 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
12385 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
12386 `tramp-send-command-and-check'.
12388 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
12390 * hexl.el (hexl-address-region, hexl-ascii-region)
12391 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
12392 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
12393 (hexl-forward-word, hexl-previous-line, hexl-next-line):
12394 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
12395 (hexl-mode): Doc fix.
12396 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
12397 (hexl-mode-ruler): Fix typos in docstrings.
12399 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
12400 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
12401 Remove superfluous backslashes.
12402 (strokes-last-stroke, strokes-global-map, strokes-mode):
12404 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
12405 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
12406 (strokes-distance-squared, strokes-global-set-stroke)
12407 (strokes-global-set-stroke-string): Doc fixes.
12408 (strokes-help): Fix typos; reflow docstring.
12410 2014-03-04 Martin Rudalics <rudalics@gmx.at>
12412 * window.el (window-in-direction): Fix doc-string.
12414 2014-03-04 Glenn Morris <rgm@gnu.org>
12416 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
12417 Explicit error if no grammar.
12418 (smie-config-save): Doc fix. Fix quote typo.
12420 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
12422 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
12423 electric-indent-mode-hook if we obey electric-indent-mode.
12424 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
12425 decide whether we obey electric-indent-mode.
12426 (c-change-set-fl-decl-start, c-extend-after-change-region):
12428 (c-electric-indent-mode-hook): Assume we do want to obey
12429 electric-indent-mode.
12431 * electric.el (electric-indent-mode-has-been-called): Remove.
12432 (electric-indent-mode): Fix accordingly.
12434 * files.el (hack-local-variables): Mention file name in warning.
12436 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
12438 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
12440 * bindings.el: Add comment describing why C-d binds to `delete-char'.
12441 * simple.el (delete-forward-char): Mark as interactive-only.
12443 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
12445 * icomplete.el (icomplete-completions):
12446 Follow-up to 2014-03-01 change.
12448 * icomplete.el: Miscellaneous doc fixes.
12449 Use Icomplete everywhere instead of icomplete for consistency.
12450 (icomplete-max-delay-chars): Fix typo.
12451 (icomplete-mode): Use \[].
12452 (icomplete-tidy, icomplete-exhibit): Reflow.
12453 (icomplete-minibuffer-setup-hook, icomplete-completions):
12454 Remove superfluous backlashes.
12456 * ido.el: Miscellaneous doc fixes.
12457 Use Ido everywhere instead of ido or `ido' for consistency.
12458 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
12459 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
12460 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
12461 (ido-separator): Extract obsolescence info from docstring and declare
12462 with make-obsolete-variable.
12463 (ido-minibuffer-setup-hook): Simplify example.
12464 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
12465 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
12466 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
12467 (ido-everywhere): Reflow docstring.
12468 (ido-toggle-vc): Doc fix.
12469 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
12470 of long list of keybindings.
12472 2014-03-03 Glenn Morris <rgm@gnu.org>
12474 * frame.el (display-pixel-height, display-pixel-width)
12475 (display-mm-dimensions-alist, display-mm-height)
12476 (display-mm-width): Doc tweaks.
12478 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
12480 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
12481 case of undo in region.
12483 2014-03-02 Martin Rudalics <rudalics@gmx.at>
12485 * window.el (fit-window-to-buffer): Fix argument in window-size
12486 call when window is horizontally combined.
12488 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
12490 * icomplete.el (icomplete-completions): Use string-width.
12491 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
12493 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
12495 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12496 Highlight regexp options. (Bug#16914)
12498 2014-03-01 Martin Rudalics <rudalics@gmx.at>
12500 * window.el (window--max-delta-1): Round down when calculating
12501 how many lines/columns we can get from a window.
12503 2014-03-01 Glenn Morris <rgm@gnu.org>
12505 * isearch.el (search-invisible): Doc fix.
12507 * minibuffer.el (completion-hilit-commonality):
12508 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
12509 * comint.el (comint-dynamic-list-completions): Doc fix.
12510 * comint.el (comint-dynamic-list-completions):
12511 * filecache.el (file-cache-minibuffer-complete):
12512 * tempo.el (tempo-display-completions):
12513 * eshell/em-hist.el (eshell-list-history):
12514 Replace use of obsolete argument of display-completion-list.
12516 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
12518 * icomplete.el (icomplete-completions):
12519 Revert back to using "..." when ?… cannot be displayed.
12521 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
12523 * finder.el (finder-unload-function): New function.
12525 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
12527 * dframe.el (dframe-detach):
12528 * find-dired.el (find-dired, find-name-dired):
12529 * finder.el (finder-mode-map, finder-mode-syntax-table)
12530 (finder-headmark, finder-select, finder-mouse-select):
12531 Fix docstring typos.
12533 2014-02-28 Martin Rudalics <rudalics@gmx.at>
12535 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
12536 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
12537 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12538 Fix doc-string based on a suggestion by Nicolas Richard
12539 <theonewiththeevillook@yahoo.fr>.
12540 * help.el (with-help-window): Fix doc-string.
12542 2014-02-28 Ivan Kanis <ivan@kanis.fr>
12544 * net/shr.el (shr-image-animate): New option.
12545 (shr-put-image): Respect shr-image-animate.
12547 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
12549 * net/tramp-adb.el (tramp-adb-parse-device-names):
12550 Use `accept-process-output'.
12551 (tramp-adb-handle-file-truename): Cache the localname only.
12552 (tramp-adb-handle-make-directory)
12553 (tramp-adb-handle-delete-directory): Flush file properties correctly.
12554 (tramp-adb-handle-set-file-modes): Do not raise an error when file
12555 modes cannot be changed.
12557 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
12558 file properties of symlinks.
12560 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
12562 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
12563 required/optional fields to match development biblatex. (Bug#16781)
12565 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
12567 * saveplace.el (toggle-save-place):
12568 Fix argument handling. (Bug#16673)
12570 2014-02-28 Glenn Morris <rgm@gnu.org>
12572 * minibuffer.el (completions-first-difference)
12573 (completions-common-part, completion-hilit-commonality): Doc fixes.
12575 2014-02-28 Karl Berry <karl@gnu.org>
12577 * info.el (Info-mode-map): Add H for describe-mode,
12578 to synchronize with standalone Info.
12580 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
12582 * progmodes/sql.el (sql-interactive-mode):
12583 Avoid setting global comint-input-ring-separator. (Bug#16814)
12585 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
12587 * net/dbus.el (dbus--init-bus): Declare function.
12588 (dbus-path-local, dbus-interface-local): New defconst.
12589 (dbus-init-bus): Use them.
12590 (dbus-return-values-table): Extend doc.
12591 (dbus-handle-bus-disconnect): Extend error message.
12593 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
12595 * subr.el (y-or-n-p): Fix double space issue in message.
12597 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
12599 * net/tramp.el (tramp-call-process): Improve trace message.
12600 (tramp-handle-insert-file-contents): Trace error case.
12602 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12603 <insert-directory>: Use `tramp-handle-insert-directory'.
12604 (tramp-adb-handle-insert-directory): Remove function.
12605 (tramp-adb-send-command-and-check): New defun, replacing
12606 `tramp-adb-command-exit-status'. Change all callees.
12607 (tramp-adb-handle-file-attributes)
12608 (tramp-adb-handle-directory-files-and-attributes): Use it.
12609 (tramp-adb-ls-output-name-less-p):
12610 Use `directory-listing-before-filename-regexp'.
12611 (tramp-adb-handle-delete-directory): Flush also file properties of
12612 the truename of directory.
12613 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
12614 (tramp-adb-handle-file-local-copy): Make the local copy readable.
12615 (tramp-adb-handle-write-region): Implement APPEND.
12616 (tramp-adb-handle-rename-file): Make it more robust. Flush file
12617 properties correctly.
12618 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
12619 variables. Check for connected devices only when needed.
12621 2014-02-27 Glenn Morris <rgm@gnu.org>
12623 * minibuffer.el (completion-table-dynamic)
12624 (completion-table-with-cache): Doc fixes.
12626 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
12627 (completing-read-multiple): Doc fixes.
12629 2014-02-27 Daniel Colascione <dancol@dancol.org>
12631 * minibuffer.el (completion--nth-completion): Fix indentation.
12633 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
12634 explicit tramp path is empty.
12636 2014-02-27 Glenn Morris <rgm@gnu.org>
12638 * emacs-lisp/crm.el (completing-read-multiple):
12639 Empower help-enable-auto-load.
12641 2014-02-26 Glenn Morris <rgm@gnu.org>
12643 * startup.el (command-line): Don't init the tty in daemon mode.
12645 Avoid calling tty-setup-hook twice, eg if a term file
12646 explicitly calls tty-run-terminal-initialization. (Bug#16859)
12647 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
12648 (tty-create-frame-with-faces): Use it.
12649 * startup.el (command-line): Pass run-hook argument
12650 to tty-run-terminal-initialization.
12652 * dired.el (dired-restore-desktop-buffer): Demote errors;
12653 eg in case a glob match fails. (Bug#16884)
12655 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
12657 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
12658 error from `read-from-string'. (Bug#16850)
12660 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
12661 result of `completing-read' in the interactive form. (Bug#16854)
12663 2014-02-25 Glenn Morris <rgm@gnu.org>
12665 * image.el (image-animate, image-animate-timeout):
12666 Stop animating images in dead buffers. (Bug#16878)
12668 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
12670 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
12672 * startup.el (term-setup-hook): Doc fix. Make obsolete.
12673 * term/sun.el (sun-raw-prefix-hooks):
12674 Use tty-setup-hook instead of term-setup-hook.
12675 (terminal-init-sun): Construct message from bytecomp plist.
12676 * term/wyse50.el (enable-arrow-keys): Doc fix.
12678 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12680 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
12681 Fix docstring typos.
12683 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
12685 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
12687 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
12689 * minibuffer.el (completion--try-word-completion):
12690 Fix error when completing M-x commands (bug#16808).
12692 2014-02-24 Leo Liu <sdl.web@gmail.com>
12694 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
12696 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12698 * apropos.el (apropos-print): Avoid formatting error when
12699 apropos-do-all and apropos-compact-layout are both t.
12701 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12703 * apropos.el (apropos-property, apropos-all-words-regexp)
12704 (apropos-true-hit, apropos-variable, apropos-print):
12705 Fix docstring typos, and remove obsolete comment.
12707 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
12709 * net/tramp-sh.el (tramp-sh-handle-file-truename):
12710 Preserve trailing "/". (Bug#16851)
12712 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
12714 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
12715 after `=>' (bug#16811).
12716 (ruby-smie-rules): Handle the inconsistent second element of the
12717 list returned by `smie-indent--parent'.
12718 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
12721 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12723 * elec-pair.el (electric-pair-text-syntax-table)
12724 (electric-pair-syntax-info, electric-pair--syntax-ppss)
12725 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
12726 (electric-pair--looking-at-unterminated-string-p): Doc fix.
12727 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
12729 2014-02-22 Glenn Morris <rgm@gnu.org>
12731 * imenu.el (imenu--generic-function): Doc fix.
12733 * register.el (frame-configuration-to-register): Make obsolete.
12735 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
12737 * desktop.el (desktop-save-buffer-p): Do not fail when
12738 desktop-files-not-to-save is nil. Return t for true result
12741 2014-02-22 Daniel Colascione <dancol@dancol.org>
12743 * net/secrets.el (secrets-create-item, secrets-search-items):
12744 Check that attribute values are strings, avoiding the construction
12745 of invalid dbus messages.
12747 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12749 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
12750 defun-declarations-alist.
12752 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
12754 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
12757 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12759 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
12760 (whitespace-newline, whitespace-trailing, whitespace-line)
12761 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
12762 (whitespace-space-after-tab): Fix typo in docstrings.
12764 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
12766 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
12768 * electric.el (electric-indent-functions-without-reindent):
12769 Add `yaml-indent-line'.
12771 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12773 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
12774 It has done nothing for years; should be removed after the release.
12776 * simple.el (choose-completion): Fix docstring typo.
12777 (read-quoted-char-radix): Remove unneeded * in docstring.
12778 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
12779 Don't escape parentheses unnecessarily in docstrings.
12781 2014-02-21 Martin Rudalics <rudalics@gmx.at>
12783 Fix handling of window-min-height/-width (Bug#16738).
12784 * window.el (window--dump-window, window--dump-frame):
12786 (window--min-size-1): Account for window dividers.
12787 When window-resize-pixelwise is nil, delay rounding till after the
12788 sum of the window components has been calculated.
12789 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
12790 nil make sure at least one text line and two text columns remain
12792 (window-resize): Signal an error when window-resize-apply fails.
12793 (window--resize-child-windows): Fix calculation of by how many
12794 pixels a window can still be shrunk via window-new-normal.
12795 (adjust-window-trailing-edge): Call window--resizable with
12796 correct TRAIL argument.
12798 (with-temp-buffer-window): Don't evaluate BODY within
12799 with-current-buffer (Bug#16816).
12801 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
12803 * net/tramp.el (tramp-check-cached-permissions):
12804 Call `file-attributes' with `suffix' being a symbol but a string.
12806 2014-02-21 Daniel Colascione <dancol@dancol.org>
12808 * net/dbus.el (dbus-init-bus-1): Declare new subr.
12809 (dbus-init-bus): New function: call into dbus-init-bus-1
12810 and installs a handler for the disconnect signal.
12811 (dbus-call-method): Rewrite to look for result in cons.
12812 (dbus-call-method-handler): Store result in cons.
12813 (dbus-check-event): Recognize events with nil sender as valid.
12814 (dbus-handle-bus-disconnect): New function. React to bus
12815 disconnection signal by synthesizing dbus error for each
12816 pending synchronous or asynchronous call.
12817 (dbus-notice-synchronous-call-errors): New function.
12818 (dbus-handle-event): Raise errors directly only when `dbus-debug'
12819 is true, not all the time.
12821 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12823 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
12824 Remove obsolescence declarations, these variables do not exist anymore.
12826 * savehist.el (savehist-save-minibuffer-history)
12827 (savehist-additional-variables, savehist-file, savehist-mode-hook)
12828 (savehist-save-hook, savehist-coding-system, savehist-loaded)
12829 (savehist-load, savehist-install, savehist-autosave): Fix typos;
12830 mostly, refer to "Savehist mode" when talking about the mode,
12831 and not the function.
12833 * saveplace.el (save-place): Remove redundant info in docstring.
12834 (save-place-forget-unreadable-files, toggle-save-place)
12835 (save-place-forget-unreadable-files, save-place-dired-hook):
12836 Fix typos and remove unneeded backslashes.
12838 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
12840 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
12841 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
12843 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12844 <insert-directory>: Use `tramp-handle-insert-directory'.
12845 (tramp-gvfs-handle-insert-directory): Remove function.
12847 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12848 Call `tramp-handle-insert-directory'.
12850 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
12852 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
12853 before the start of buffer/region (bug#16799).
12855 2014-02-20 Glenn Morris <rgm@gnu.org>
12857 * isearch.el (search-invisible): Doc fix.
12859 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
12861 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
12864 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12866 * frameset.el (frameset-restore): Delay removing an old frame's
12867 duplicate id until the new frame has been correctly created.
12869 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
12871 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
12872 (tramp-check-cached-permissions): Call `file-attributes' if the
12875 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12876 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12878 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12879 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
12880 (tramp-gvfs-maybe-open-connection): Set always connection
12881 properties, even if target is mounted already.
12883 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
12884 Set tramp-autoload cookie.
12885 (tramp-get-remote-touch): New defun.
12886 (tramp-sh-handle-set-file-times): Use it.
12887 (tramp-sh-handle-directory-files-and-attributes):
12888 Use `tramp-handle-directory-files-and-attributes' if neither stat
12889 nor perl are available on the remote host.
12891 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
12892 "/". Write long listing only when "l" belongs to the switches.
12894 * net/trampver.el: Update release number.
12896 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12898 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
12900 2014-02-19 Martin Rudalics <rudalics@gmx.at>
12902 * window.el (window-state-put): Allow WINDOW to refer to an
12903 internal window (Bug#16793).
12905 2014-02-19 Glenn Morris <rgm@gnu.org>
12907 * textmodes/remember.el: Move provide statement to end.
12908 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
12909 (remember-notes): Doc fixes.
12911 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
12913 * delsel.el (delete-char): Restore incorrectly erased property
12916 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
12918 * frameset.el (frameset--restore-frame): When a frame is being reused
12919 and its root window is not alive, delete all the frame's windows before
12920 restoring the window state. This works around the issue in bug#16793.
12922 2014-02-18 Glenn Morris <rgm@gnu.org>
12924 * textmodes/remember.el (remember-data-directory)
12925 (remember-directory-file-name-format, remember-store-in-files)
12926 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
12927 (remember-notes-save-and-bury-buffer)
12928 (remember-notes--kill-buffer-query): Doc fixes.
12930 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
12932 2014-02-17 Alan Mackenzie <acm@muc.de>
12934 Connect electric-indent-mode up with CC Mode. Bug #15478.
12935 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
12936 to electric-indent-{,local-}-mode.
12937 (c-basic-common-init): Set electric-indent-inhibit.
12938 Initialize c-electric-flag from electric-indent-mode.
12939 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
12940 New hook functions which propagate electric-indent-mode to CC mode.
12942 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
12943 hit, toggle electric-indent-local-mode.
12945 * electric.el (electric-indent-mode-has-been-called):
12948 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
12950 * frameset.el (frameset-cfg-id): New function.
12951 (frameset--reuse-frame, frameset-restore): Use it.
12952 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
12954 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
12956 * ido.el (ido-file-internal): Remove unused var `d'.
12957 Use \` for to match BoS. Fit within 80n columns.
12959 2014-02-17 Daniel Colascione <dancol@dancol.org>
12961 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
12962 dbus-call-method check for completion using a busy-wait loop with
12965 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
12967 Sync with Tramp 2.2.9.
12969 * net/trampver.el: Update release number.
12971 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
12973 * ido.el (ido-file-internal): Don't add the name of an existing
12974 directory twice. (Bug#16747)
12976 2014-02-16 Glenn Morris <rgm@gnu.org>
12978 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
12979 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
12981 2014-02-15 Michael R. Mauger <michael@mauger.com>
12983 * progmodes/sql.el: Version 3.4
12984 (sql-oracle-options): New default value ("-L").
12985 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
12986 (sql-placeholders-filter): Correct placeholder pattern.
12987 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
12988 (sql-login-delay): New variable.
12989 (sql-product-interactive): Use it.
12991 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
12993 * frameset.el (frameset--jump-to-register): Check that buffer is live
12996 2014-02-15 Glenn Morris <rgm@gnu.org>
12998 * info.el (info-initialize): Revert 2014-01-10 change.
13000 2014-02-14 Glenn Morris <rgm@gnu.org>
13002 * replace.el (map-query-replace-regexp)
13003 (read-regexp-defaults-function, read-regexp): Doc fixes.
13005 * dired.el (dired-read-regexp):
13006 * faces.el (list-faces-display):
13007 * misearch.el (multi-isearch-read-matching-buffers)
13008 (multi-isearch-read-matching-files):
13009 * play/cookie1.el (cookie-apropos):
13010 * progmodes/grep.el (grep-read-regexp): Doc fixes.
13012 * textmodes/remember.el (remember): Use frameset-to-register
13013 rather than frame-configuration-to-register.
13015 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
13017 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
13018 incorrect keybinding.
13020 2014-02-13 Daniel Colascione <dancol@dancol.org>
13022 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
13023 when adding overlays so that line numbers from compiler match line
13026 2014-02-13 Glenn Morris <rgm@gnu.org>
13028 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
13030 * jit-lock.el (jit-lock-mode): Doc fix.
13032 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
13034 * apropos.el (apropos-read-pattern): When the user passes an empty
13035 string, give a more helpful error message than "Wrong type
13036 argument: stringp, nil".
13038 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
13040 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
13042 2014-02-13 Glenn Morris <rgm@gnu.org>
13044 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
13046 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
13048 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
13049 shift-select commands.
13051 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
13053 * progmodes/js.el (js-indent-line): Don't widen.
13054 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
13056 2014-02-12 Glenn Morris <rgm@gnu.org>
13058 * icomplete.el (icomplete): Add info-link to defgroup.
13059 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
13060 (icomplete-minibuffer-map, icomplete-mode)
13061 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
13063 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
13064 (package-menu-filter): Rename from package-menu-filter-interactive.
13067 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
13069 * frameset.el (frameset--jump-to-register): Select the required
13070 window and buffer before restoring position (bug#16696).
13072 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
13074 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
13076 2014-02-10 Glenn Morris <rgm@gnu.org>
13078 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
13080 2014-02-10 Eli Zaretskii <eliz@gnu.org>
13082 * w32-common-fns.el (x-get-selection): Doc fix.
13083 * select.el (x-get-selection): Doc fix. (Bug#15109)
13085 * face-remap.el (face-remap-add-relative)
13086 (face-remap-remove-relative, face-remap-reset-base)
13087 (face-remap-set-base): Call force-mode-line-update to redisplay
13088 the current buffer due to potential change in faces. (Bug#16709)
13090 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
13092 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
13093 script more robustly.
13095 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13097 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
13099 * simple.el (choose-completion): Doc fix (bug#14160).
13101 * subr.el (event-start): Say what a nil EVENT value means.
13103 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
13106 * progmodes/grep.el (find-program): Doc fix (bug#14289).
13108 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
13110 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
13112 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
13113 predicate function (bug#15455).
13115 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
13117 * ielm.el (inferior-emacs-lisp-mode): Instead of
13118 `comment-use-global-state', set `comment-use-syntax'.
13120 2014-02-10 Glenn Morris <rgm@gnu.org>
13122 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
13124 2014-02-09 Alan Mackenzie <acm@muc.de>
13126 Fix c-invalidate-state-cache on narrowed buffers.
13127 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
13128 Widen when setting and clearing the CPP delimiter properties.
13130 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
13132 * help.el (describe-bindings): Doc fix (bug#9888).
13134 * files.el (save-buffer): Use ARG as the parameter name for
13135 consistency (bug#10346).
13136 (save-buffer): Clarify the 0 argument (bug#10346).
13138 * cus-edit.el (customize-apropos): Fix error string.
13139 (custom-buffer-create): Doc fix (bug#11122).
13140 (custom-sort-items): Doc fix (bug#11121).
13142 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
13144 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
13145 (icomplete-simple-completing-p): Mention the previous variable.
13147 * font-lock.el (font-lock-value-in-major-mode): Clarify the
13148 meaning of the parameter (bug#12282).
13150 * files.el (find-file-noselect): Clarify prompt when changing
13151 readedness (bug#13261).
13152 (locate-file): Suffixes aren't returned, so don't say that they
13154 (backup-inhibited): Doc clarification (bug#12525).
13156 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
13157 before we actually start to delete things (bug#16331).
13159 * subr.el (event-start): Doc fix (bug#14228).
13160 (event-end): Ditto.
13162 2014-02-09 Glenn Morris <rgm@gnu.org>
13164 * emacs-lisp/warnings.el (lwarn):
13165 Empower help-enable-auto-load. (Bug#15940)
13167 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
13169 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
13172 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
13174 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
13175 Insert output at end of buffer. (Bug#16120)
13177 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
13179 * simple.el (choose-completion-string-functions): Document new
13180 calling convention (bug#14153).
13181 (execute-extended-command): Clarify doc string (bug#13373).
13183 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
13185 * find-dired.el (find-name-dired): Doc fix (bug#14290).
13186 (find-grep-dired): Doc fix (bug#14288).
13188 2014-02-08 Juri Linkov <juri@jurta.org>
13190 * isearch.el (isearch-quote-char): Check character validity
13191 like in `quoted-insert' (bug#16677).
13193 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
13195 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
13197 * isearch.el (isearch-hide-immediately): Doc clarification
13200 * simple.el (line-move): Document utility function used many
13201 places in the Emacs sources (bug#14843).
13203 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
13204 (dired-prev-marked-file): Doc fix (bug#14855).
13205 (dired-up-directory): Doc fix (bug#14848).
13207 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
13209 * files.el (file-relative-name): Doc fix (bug#15159).
13211 * fringe.el (fringe-styles): Doc fix (bug#15239).
13213 * isearch.el (isearch-filter-predicate): Documentation typo fix
13216 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
13218 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
13220 * replace.el (replace-match-maybe-edit): Doc clarification
13223 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
13225 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
13227 2014-02-08 Glenn Morris <rgm@gnu.org>
13229 * help-fns.el (describe-variable):
13230 Check {file,dir}-local-variables-alist, and buffer-file-name,
13231 in the correct buffer.
13233 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
13235 * help-fns.el (describe-variable): Fix the case where
13236 a value is directory-local with no dir-locals file. (Bug#16635)
13238 2014-02-08 Glenn Morris <rgm@gnu.org>
13240 * abbrev.el (edit-abbrevs-mode):
13241 Derive from fundamental-mode. (Bug#16682)
13243 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
13245 * simple.el (quoted-insert): Check character validity (bug#16677).
13247 2014-02-07 Juri Linkov <juri@jurta.org>
13249 * desktop.el (desktop-read): Claim the lock when the owner is not
13250 the current process. (Bug#16157)
13252 2014-02-07 Juri Linkov <juri@jurta.org>
13254 * desktop.el (desktop-buffers-not-to-save): Change default from nil
13255 to "\\` ". (Bug#16651)
13257 2014-02-07 Juri Linkov <juri@jurta.org>
13259 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
13260 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
13261 (desktop-auto-save-cancel-timer): New function with some code from
13262 `desktop-auto-save-set-timer'.
13263 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
13264 Instead of setting `desktop-save-mode' to nil, call
13265 `desktop-save-mode' with arg 0. (Bug#16630)
13267 2014-02-07 Glenn Morris <rgm@gnu.org>
13269 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
13270 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
13271 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
13273 * obsolete/iswitchb.el: Move to obsolete/.
13274 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
13275 since obsolete/ is not scanned for autoloads.
13276 * emacs-lisp/authors.el (authors-valid-file-names):
13279 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
13280 Disable now non-functional find-file-hook.
13282 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
13284 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
13285 instead of ";" in order to avoid additional prompts. Let heredoc
13286 scripts read from tty. (Bug#16582)
13287 (tramp-send-command): No special handling of heredocs, it isn't
13290 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
13292 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
13293 with a space (bug#16664). Limit the symbols considered to the ones
13294 that are bound or fbound (bug#16646).
13296 2014-02-06 Glenn Morris <rgm@gnu.org>
13298 * epa.el (epa-mail-aliases): Doc fix.
13300 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
13302 * emacs-lisp/lisp.el (lisp-completion-at-point):
13303 Use `completion-table-merge' instead of `completion-table-in-turn'
13306 * minibuffer.el (completion-table-merge): New function.
13308 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
13310 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
13311 (tramp-sh-handle-set-file-acl)
13312 (tramp-sh-handle-start-file-process)
13313 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
13314 (tramp-find-executable, tramp-send-command): Use it.
13316 2014-02-05 Glenn Morris <rgm@gnu.org>
13318 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
13320 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
13322 * progmodes/python.el (python-shell-send-string)
13323 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
13325 2014-02-04 Anders Lindgren <andlind@gmail.com>
13327 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
13328 the names (bug#16620).
13330 2014-02-03 Martin Rudalics <rudalics@gmx.at>
13332 * faces.el (window-divider): New default value. Rewrite doc-string.
13333 (window-divider-first-pixel, window-divider-last-pixel): New faces.
13335 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
13337 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
13338 `protected' and `public' can also be called without arguments.
13340 2014-02-03 Glenn Morris <rgm@gnu.org>
13342 * register.el (window-configuration-to-register)
13343 (frame-configuration-to-register): Unadvertise unused argument.
13344 * frameset.el (frameset-to-register): Remove unused argument.
13346 * frameset.el (frameset-to-register):
13347 * kmacro.el (kmacro-to-register):
13348 * register.el (increment-register):
13349 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
13350 (calc-append-to-register, calc-prepend-to-register):
13351 * play/gametree.el (gametree-layout-to-register)
13352 (gametree-apply-register-layout):
13353 * textmodes/picture.el (picture-clear-rectangle-to-register)
13354 (picture-yank-rectangle-from-register):
13355 * vc/emerge.el (emerge-combine-versions-register):
13356 Use register-read-with-preview to read registers.
13358 2014-02-03 João Távora <joaotavora@gmail.com>
13360 * elec-pair.el (electric-pair-backward-delete-char): Don't error
13361 when at beginning of (possibly narrowed) buffer.
13363 2014-02-02 Daniel Colascione <dancol@dancol.org>
13365 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
13366 Also try to display local help from just before point.
13368 2014-02-02 Alan Mackenzie <acm@muc.de>
13370 c-parse-state. Don't "append-lower-brace-pair" in certain
13371 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
13372 recognised as a comment.
13374 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
13375 as well as normal comment starter.
13376 (c-parse-state-get-strategy): Extra return possibility
13378 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
13379 return value list to indicate replacement of a brace-pair cons
13381 (c-parse-state-1): With 'back-and-forward, only call
13382 c-append-lower-brace-pair-to state-cache when cons-separated.
13384 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
13386 * term/ns-win.el (ns-suspend-error): New function.
13387 (ns-initialize-window-system): Add ns-suspend-error to
13388 suspend-hook (Bug#16612).
13390 2014-02-02 Daniel Colascione <dancol@dancol.org>
13392 * progmodes/cc-defs.el (c-find-assignment-for-mode):
13393 Make loading cc-mode silent.
13395 2014-02-02 Daniel Colascione <dancol@dancol.org>
13397 * comint.el (comint-prompt-read-only): Change doc to suggest
13400 2014-02-02 Glenn Morris <rgm@gnu.org>
13402 * register.el (register-read-with-preview, point-to-register)
13403 (window-configuration-to-register, frame-configuration-to-register)
13404 (jump-to-register, number-to-register, view-register, insert-register)
13405 (copy-to-register, append-to-register, prepend-to-register)
13406 (copy-rectangle-to-register): Doc fixes.
13408 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
13410 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
13411 * emacs-lisp/find-func.el (find-function-C-source): Idem.
13412 * emacs-lisp/nadvice.el (advice--cd*r): New function.
13413 * help-fns.el (describe-function-1): Use it.
13415 2014-02-02 Glenn Morris <rgm@gnu.org>
13417 * register.el (register-preview-default): New function,
13418 split from register-preview.
13419 (register-preview-function): Rename from register-preview-functions,
13420 make it not a hook.
13421 (register-preview): Use register-preview-function.
13422 (register-read-with-preview): Error on non-character event. (Bug#16595)
13424 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
13426 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
13427 `:' before binary operators (bug#16609). Don't check for `:'
13428 before `[' and `(', or their syntax status. A percent literal
13429 can't end with either.
13430 (ruby-font-lock-keywords): For built-ins that require arguments,
13431 check that they're followed by something that looks like argument
13434 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
13436 * subr.el (butlast): Document what an omitted N means (bug#13437).
13439 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
13441 * net/shr.el (shr-generic): Make into a defsubst to make the stack
13442 depth shallower (bug#16587).
13443 (shr-tag-svg): Respect `shr-inhibit-images'.
13444 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
13446 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
13448 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
13449 (ruby-smie-grammar): Make "." right-associative. Make its priority
13450 lower than the ternary and all binary operators.
13451 (ruby-smie-rules): Indent "(" relative to the first non-"."
13452 parent, or the first "." parent at indentation.
13453 Use `ruby-align-chained-calls' for indentation of "." tokens.
13456 2014-01-31 Juri Linkov <juri@jurta.org>
13458 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
13459 from `make-hash-table'.
13461 * textmodes/ispell.el (ispell-init-process): Change message format
13462 to be consistent with other messages.
13464 2014-01-31 Glenn Morris <rgm@gnu.org>
13466 * delsel.el (delete-selection-mode): Doc fix.
13468 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
13469 (trace-function-background): Doc fixes.
13471 * ido.el (ido-use-virtual-buffers): Doc fix.
13472 Reset :version, since the default value has not changed.
13474 * register.el (register-preview-delay, register-read-with-preview):
13477 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
13478 do not mess with mail-buffer position (fixes 2009-11-03 change).
13479 * progmodes/cc-mode.el (c-submit-bug-report):
13480 Check auto-fill-mode is bound. (Bug#16592)
13482 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
13484 * startup.el (fancy-splash-image-file): New function,
13485 split from fancy-splash-head.
13486 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
13487 so that we are both using the same image. (Bug#16574)
13489 2014-01-30 Glenn Morris <rgm@gnu.org>
13491 * simple.el (eval-expression): Doc fix.
13493 * hexl.el (hexl-mode-hook):
13494 * ielm.el (ielm-mode-hook):
13495 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
13496 (lisp-interaction-mode-hook):
13497 * progmodes/cfengine.el (cfengine3-documentation-function):
13498 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
13500 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
13502 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
13503 is a symbol (bug#16584).
13505 2014-01-30 Glenn Morris <rgm@gnu.org>
13507 * help.el (help-for-help-internal): Add "P" to text.
13509 2014-01-29 Glenn Morris <rgm@gnu.org>
13511 * simple.el (just-one-space, cycle-spacing): Doc fixes.
13513 2014-01-28 Martin Rudalics <rudalics@gmx.at>
13515 * window.el (fit-frame-to-buffer): Fix calculations for margins and
13516 height constraints.
13518 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
13520 * progmodes/hideif.el: Extend to full CPP expression syntax.
13521 (hif-token-alist): Add missing tokens.
13522 (hif-token-regexp): Add support for float/octal/hex immediates.
13523 (hif-string-literal-regexp): New const.
13524 (hif-tokenize): Recognize strings and float/octal/hex immediates.
13525 (hif-exprlist): New function.
13526 (hif-parse-if-exp): Use it.
13527 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
13528 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
13529 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
13530 (hif-logxor, hif-comma): New functions.
13532 2014-01-28 Glenn Morris <rgm@gnu.org>
13534 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
13536 * indent.el (tab-stop-list): Doc fix. Add :version.
13538 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
13539 (cvs-append-to-ignore): Add compatibility alias.
13541 2014-01-27 Glenn Morris <rgm@gnu.org>
13543 * dired.el (dired-hide-details-mode): Don't autoload it,
13544 since it cannot be used outside Dired buffers anyway.
13546 * emulation/cua-base.el (cua-mode): Doc fix.
13548 * dired.el (dired-hide-details-hide-symlink-targets)
13549 (dired-hide-details-hide-information-lines)
13550 (dired-hide-details-mode): Doc fixes.
13552 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
13553 * strokes.el (strokes-file): Doc fix. Bump :version.
13554 (strokes-help): Doc fix.
13555 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
13556 * emulation/viper.el (viper): Doc fix for custom group.
13557 (top-level): Remove oh-so-no-longer-relevant text about vip.
13558 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
13560 * ido.el (ido-save-directory-list-file):
13561 * saveplace.el (save-place-file):
13562 * calendar/timeclock.el (timeclock-file):
13563 * net/quickurl.el (quickurl-url-file):
13564 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13565 * progmodes/idlwave.el (idlwave-config-directory):
13566 * textmodes/remember.el (remember-data-file):
13569 2014-01-26 Glenn Morris <rgm@gnu.org>
13571 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
13572 Doc fix. Make obsolete.
13573 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
13575 * sort.el (delete-duplicate-lines): Doc fix.
13577 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13579 * progmodes/ada-mode.el (ada):
13580 * woman.el (woman): Link to info manual and Commentary section.
13582 * progmodes/flymake.el (flymake):
13583 * nxml/nxml-mode.el (nxml):
13584 * net/eww.el (eww):
13585 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
13586 * htmlfontify.el (htmlfontify):
13589 * ido.el (ido): Link to info manual.
13591 2014-01-25 Leo Liu <sdl.web@gmail.com>
13593 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
13595 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
13597 * net/shr.el (shr-tag-img): Prefer the title over the alt text
13600 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
13602 * net/eww.el (eww-download-callback):
13603 Fix reference to eww-download-directory.
13605 * emacs-lisp/bytecomp.el (byte-compile-file):
13606 Remove unused local variable `file-name'.
13608 2014-01-24 Glenn Morris <rgm@gnu.org>
13610 * woman.el (woman-default-faces, woman-monochrome-faces):
13611 Fix obsolescence specification.
13613 * subr.el (with-demoted-errors): Doc fix.
13615 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
13617 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
13618 (cl--macroexp-fboundp): New function.
13619 (cl--make-type-test): Use it.
13621 2014-01-23 Glenn Morris <rgm@gnu.org>
13623 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
13624 * simple.el (eval-expression): Doc fixes.
13626 2014-01-22 Glenn Morris <rgm@gnu.org>
13628 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
13630 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13632 * emacs-lisp/package.el: Write files silently.
13633 (package-autoload-ensure-default-file, package--write-file-no-coding)
13634 (package-generate-description-file, package--download-one-archive)
13635 (package-install-from-archive): Tell `write-region' to stay quiet.
13636 (package-menu-mode, package-menu--print-info): Omit the Archive column
13637 if there's only one archive.
13638 (package-all-keywords, package--has-keyword-p): Remove dead code.
13640 2014-01-22 Glenn Morris <rgm@gnu.org>
13642 * version.el (emacs-bzr-version-bzr): Fix typo.
13644 * version.el (emacs-repository-get-version):
13645 Check either .bzr or .git, but not both.
13646 Make the git case actually use the DIR argument, and return nil
13647 rather than the empty string.
13648 Avoid error if .git exists but the git executable is not found.
13650 2014-01-22 Martin Rudalics <rudalics@gmx.at>
13652 Fixes in window size functions around Bug#16430 and Bug#16470.
13653 * window.el (window-total-size, window-size): New argument ROUND.
13654 (window--min-delta-1, window-min-delta, window--max-delta-1):
13655 Be more conservative when calculating the numbers of lines or
13656 columns a window can shrink (Bug#16430).
13657 (fit-window-to-buffer): Simplify code.
13658 * term.el (term-window-width): Call window-body-width again.
13660 2014-01-22 Glenn Morris <rgm@gnu.org>
13662 * image.el (image-format-suffixes): Doc fix.
13664 * international/quail.el (quail-define-package): Doc fix.
13666 * emacs-lisp/authors.el (authors-valid-file-names)
13667 (authors-renamed-files-alist): Additions.
13669 * vc/vc-git.el (vc-git-print-log): Remove --follow;
13670 reverts 2014-01-09 change. (Bug#16422)
13672 * calc/calc-embed.el (thing-at-point-looking-at):
13673 * emacs-lisp/map-ynp.el (x-popup-dialog):
13674 * obsolete/lmenu.el (x-popup-dialog):
13675 * emacs-lisp/package.el (url-recreate-url):
13676 * mail/mailclient.el (clipboard-kill-ring-save):
13677 * subr.el (x-popup-dialog): Update declaration.
13678 * mail/rmail.el (rmail-mime-message-p):
13679 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
13681 2014-01-21 Daniel Colascione <dancol@dancol.org>
13683 * progmodes/sh-script.el (sh--inside-noncommand-expression):
13684 Correctly detect when we're inside an arithmetic expansion form
13685 containing nested parenthesis.
13686 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
13687 to detect cases where we shouldn't expand "<<" to a heredoc
13690 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
13692 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
13693 (eldoc--message-command-p): New function.
13694 (eldoc-display-message-p): Use it.
13695 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
13696 message is not automatically erased for us.
13697 (eldoc-print-current-symbol-info): Erase previous message, if any.
13699 2014-01-21 Tassilo Horn <tsdh@gnu.org>
13701 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
13702 specify it's an interactive function.
13704 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
13705 Fix regex used for scanning for citation keys which failed for
13706 citations with optional arguments.
13708 2014-01-21 Leo Liu <sdl.web@gmail.com>
13710 * simple.el (read--expression): Don't enable eldoc-mode.
13712 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
13714 * simple.el (move-beginning-of-line): Make sure we don't move forward
13717 2014-01-20 Juri Linkov <juri@jurta.org>
13719 * saveplace.el (toggle-save-place, save-place-to-alist)
13720 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
13721 'dired-mode) before checking for dired-directory. (Bug#16477)
13723 2014-01-20 Juri Linkov <juri@jurta.org>
13725 * indent.el (indent-line-to): Use backward-to-indentation
13726 instead of back-to-indentation. (Bug#16461)
13728 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
13730 Revert some of the CANNOT_DUMP fix (Bug#16494).
13731 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
13732 but fixing this can wait until after the next release.
13733 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
13735 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
13737 * eshell/esh-mode.el (eshell-password-prompt-regexp):
13738 Use `password-word-equivalents'.
13739 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
13740 to t. (Bug#5664, Bug#13124)
13742 2014-01-19 Alan Mackenzie <acm@muc.de>
13744 Bind open-paren-in-column-0-is-defun-start to nil at some entry
13746 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
13747 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
13748 * progmodes/cc-mode.el (c-before-change, c-after-change)
13749 (c-font-lock-fontify-region): Bind it here.
13751 2014-01-19 Martin Rudalics <rudalics@gmx.at>
13753 * term.el (term-window-width): Call window-text-width instead of
13754 window-width (Bug#16470).
13756 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
13758 * simple.el (password-word-equivalents): Remove duplicates.
13759 Sort, to make this easier next time.
13760 Downcase. Omit ": " after "jelszó".
13762 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
13764 * term/common-win.el (saved-region-selection): Defvar it.
13765 (x-select-text): Set saved-region-selection (Bug#16382).
13767 2014-01-18 Glenn Morris <rgm@gnu.org>
13769 * emacs-lisp/authors.el (authors-aliases)
13770 (authors-renamed-files-alist): Add some entries.
13772 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
13774 * net/tramp.el (tramp-password-prompt-regexp):
13775 Use `password-word-equivalents' if available.
13776 (tramp-action-password, tramp-process-one-action)
13777 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
13779 2014-01-17 Chong Yidong <cyd@gnu.org>
13781 * simple.el (password-word-equivalents): New defcustom.
13782 * comint.el (comint-password-prompt-regexp): Use it. Bump version
13784 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
13787 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
13789 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
13790 (ruby-align-to-stmt-keywords): Change the default value.
13791 Use `ruby-alignable-keywords' to generate the possible customization
13793 (ruby-smie-rules): Instead of using a hardcoded list of alignable
13794 keywords, check against the value of `ruby-alignable-keywords'
13795 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
13797 2014-01-17 Glenn Morris <rgm@gnu.org>
13799 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
13801 Make M-x authors return zero *Authors Errors* from current logs.
13802 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
13803 (authors-ignored-files): Add some entries, remove others.
13804 (authors-ambiguous-files, authors-valid-file-names):
13806 (authors-renamed-files-alist): Add, remove, and adjust entries.
13807 (authors-renamed-files-regexps): Add some entries.
13808 Remove some very broad ones. Make some entries `lax'.
13809 (authors-lax-changelogs): New constant.
13810 (authors-disambiguate-file-name): Treat top-level specially.
13811 (authors-lax-changelog-p): New function.
13812 (authors-canonical-file-name): Check file as written against
13813 authors-valid-file-names. Do not special-case etc/.
13814 Handle `lax' logs and authors-renamed-files-regexps elements.
13816 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
13818 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
13819 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
13822 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13824 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
13825 Assume we're already in the proper buffer.
13826 Inspired by Anders Lindgren <andlind@gmail.com>.
13827 (follow-post-command-hook): Call it from the right buffer.
13828 (follow-comint-scroll-to-bottom): Adjust call.
13829 (follow-all-followers): Use get-buffer-window-list.
13831 2014-01-15 Daniel Colascione <dancol@dancol.org>
13833 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
13834 `buffer-file-name' in interactive-form so that we don't leave
13835 pathless file names in `file-name-history'.
13837 2014-01-15 Juri Linkov <juri@jurta.org>
13839 * indent.el (indent-rigidly): Set deactivate-mark to nil
13840 in transient indentation mode. (Bug#16438)
13842 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
13844 * emacs-lisp/package.el (package-desc-keywords): New function
13846 (describe-package-1, package-all-keywords)
13847 (package--has-keyword-p): Use it.
13849 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
13851 * simple.el (define-alternatives): When creating the
13852 COMMAND-alternatives variable, assign COMMAND as its definition
13853 name so that `describe-variable' can relocate it.
13855 2014-01-14 Matthew Leach <matthew@mattleach.net>
13857 * font-lock.el (font-lock-keywords): Fix typo in docstring
13860 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13862 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
13863 line instead of wrongly reset `add-coment' (bug#13577).
13865 2014-01-14 Daiki Ueno <ueno@gnu.org>
13867 * epa-file.el (epa-file-write-region): Encode the region according
13868 to `buffer-file-format'. Problem reported at:
13869 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
13871 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
13873 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
13874 so it applies in the right buffer (bug#16410).
13876 2014-01-13 Daniel Colascione <dancol@dancol.org>
13878 * textmodes/rst.el (rst-define-key): Provide deprecated
13879 keybindings through named functions instead of anonymous ones so
13880 that "??" doesn't appear in describe-mode output.
13882 2014-01-13 Bastien Guerry <bzg@gnu.org>
13884 * simple.el (define-alternatives): Call the selected command
13885 interactively. When setting `COMMAND--implementation' for the
13886 first time, tell the user how to chose another implementation.
13887 Enhance the docstring.
13889 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13891 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
13892 (log-edit--match-first-line): New function.
13893 (log-edit-font-lock-keywords): Use it.
13894 (log-edit-mode): Make jit-lock-defer-multiline work.
13896 2014-01-13 Bastien Guerry <bzg@gnu.org>
13898 * rect.el (rectangle-mark-mode): When the region is not active,
13899 display a message saying that the mark as been set and that
13900 rectangle mode is in use.
13901 (rectangle--highlight-for-redisplay): Only put an overlay with a
13902 visible vertical bar when (display-graphic-p) is non-nil.
13903 This partially fixes Bug#16403.
13905 2014-01-13 Juri Linkov <juri@jurta.org>
13907 * info.el (Info-find-file): Go to DIR before displaying the error
13908 about a nonexistent file if no previous Info file is visited.
13909 Use `user-error' instead of `error' for "Info file %s does not exist".
13910 (Info-find-node-2): In case of a nonexistent node in unwind forms
13911 go to the Top node if there is no previous node to revert to.
13914 2014-01-13 Martin Rudalics <rudalics@gmx.at>
13916 fit-frame/window-to-buffer code fixes including one for Bug#14096.
13917 * window.el (fit-frame-to-buffer): Fix doc-string.
13918 Respect window-min-height/-width. Fit pixelwise when
13919 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
13920 when avoiding that frame goes partially off-screen.
13921 (fit-window-to-buffer): Respect window-min-height/-width
13924 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
13926 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
13927 after an empty line.
13929 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
13931 * net/shr.el (shr-render-region): Autoload.
13933 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
13935 * net/eww.el (eww-download-directory): Rename from
13936 `eww-download-path' (Bug#16419).
13938 2014-01-12 Leo Liu <sdl.web@gmail.com>
13940 * dired-x.el (dired-mode-map): Fix last change.
13942 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
13944 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
13947 * emacs-lisp/generic.el (generic--normalize-comments):
13948 Rename from generic--normalise-comments. All uses changed.
13949 * play/bubbles.el (bubbles--neighborhood-score)
13950 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
13951 (bubbles--neighborhood-available)
13952 (bubbles--update-neighborhood-score):
13953 Rename from names with 'neighbourhood'. All uses changed.
13955 2014-01-12 Leo Liu <sdl.web@gmail.com>
13957 Re-implement the feature of showing eldoc info after editing.
13958 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
13959 (eldoc-edit-message-commands): New function.
13960 (eldoc-print-after-edit): New variable.
13961 (eldoc-pre-command-refresh-echo-area): Emit message only by
13962 eldoc-message-commands.
13963 (eldoc-mode): Restrict eldoc-message-commands to editing commands
13964 if eldoc-print-after-edit is set. (Bug#16346)
13965 * simple.el (read--expression): Enable eldoc-mode.
13966 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
13968 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
13969 Eric S. Raymond <esr@thyrsus.com>
13971 * version.el (emacs-repository-get-version): Enhance so the
13972 function works correctly in either a Bazaar or Git repo.
13974 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
13976 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
13977 Goes with removal of the joke manpages from /etc.
13979 2014-01-10 Kenichi Handa <handa@gnu.org>
13981 * mail/rmail.el (rmail-get-coding-system):
13982 Check rmail-get-coding-function before "funcall"ing it.
13984 2014-01-10 Glenn Morris <rgm@gnu.org>
13986 * emacs-lisp/authors.el (authors-fixed-entries):
13987 Update for files that no longer exist.
13989 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
13991 * version.el (emacs-bzr-get-version): Restore compatibilty with
13994 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
13996 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
13999 2014-01-10 Eli Zaretskii <eliz@gnu.org>
14001 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
14003 2014-01-10 Chong Yidong <cyd@gnu.org>
14005 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
14007 2014-01-10 Anders Lindgren <andlind@gmail.com>
14009 * follow.el (follow-cache-command-list): Include right-char and
14012 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
14015 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
14016 * woman.el (woman-mark-horizontal-position):
14017 Rename from woman-mark-horizonal-position. Use changed.
14019 2014-01-10 Glenn Morris <rgm@gnu.org>
14021 * info.el (info-initialize): If running uninstalled, ensure our
14022 own info files are always found first, even if INFOPATH is set.
14024 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
14026 2014-01-09 David Engster <deng@randomsample.de>
14028 * emacs-lisp/eieio-custom.el:
14029 * emacs-lisp/eieio-opt.el: Set generated autoload file to
14030 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
14031 * emacs-lisp/eieio.el: Regenerate autoloads.
14033 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
14035 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
14036 following renames. (Bug#8756)
14038 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
14040 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
14042 (activate-mark): Add `no-tmm' argument.
14043 (set-mark, push-mark-command): Use it instead of running
14044 activate-mark-hook by hand.
14046 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
14048 In preparation for the move to git, sanitize out some
14049 Bazaar-specific names.
14051 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
14053 * version.el (emacs-bzr-version): Name changed to
14054 emacs-repository-version. Obsolete-variable alias made.
14055 * loadup.el: Follow through on this name change.
14056 * mail/emacsbug.el (report-emacs-bug): Factor out any
14057 assumption about the version control system in use.
14059 2014-01-08 David Engster <deng@randomsample.de>
14061 * help-fns.el (help-fns-describe-function-functions):
14062 New variable to call functions for augmenting help buffers.
14063 (describe-function-1): Remove explicit calls to
14064 `help-fns--compiler-macro', `help-fns--parent-mode' and
14065 `help-fns--obsolete'. Put them in above new variable instead, and
14066 call them through `run-hook-with-args'.
14067 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
14068 `eieio-describe-class'. Not meant for interactive use anymore,
14069 but to augment existing help buffers. Remove optional second
14070 argument. Create proper button for file location.
14071 Rewrite function to use `insert' instead of `princ' and `prin1' where
14073 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
14074 (eieio-method-def, eieio-class-def): Move further up.
14075 (describe-method, describe-generic, eieio-describe-method):
14077 (eieio-help-constructor, eieio-help-generic): Rename from
14078 `eieio-describe-constructor' and `eieio-describe-generic', resp.
14079 Rewrite to use `insert' in the current buffer and use proper help
14081 (eieio-help-find-method-definition)
14082 (eieio-help-find-class-definition): Also accept symbols as
14084 (eieio-help-mode-augmentation-maybee): Remove.
14085 (eieio-describe-class-sb): Use `describe-function'.
14086 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
14087 Add `eieio-help-generic' and `eieio-help-constructor'.
14089 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
14092 * language/china-util.el (hz-ascii-designation):
14093 Rename from hz-ascii-designnation.
14094 (hz-ascii-designation): Rename from hz-ascii-designnation.
14097 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
14099 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
14102 2014-01-08 Bastien Guerry <bzg@gnu.org>
14104 * emacs-lisp/package.el (package-delete):
14105 Correctly delete the package from package-alist.
14107 2014-01-08 Daiki Ueno <ueno@gnu.org>
14109 * emacs-lisp/package.el (url-recreate-url): Declare.
14110 (url-http-target-url): Declare.
14111 (package-handle-response): Include requested URL in the error message.
14112 (package--check-signature): Don't re-signal errors from
14113 package--with-work-buffer. Suggested by Stefan Monnier.
14115 2014-01-07 Bastien Guerry <bzg@gnu.org>
14117 * minibuffer.el (completion--try-word-completion): When both a
14118 hyphen and a space are possible candidates for the character
14119 following a word, display both candidates. (Bug#15980)
14121 2014-01-07 Martin Rudalics <rudalics@gmx.at>
14123 * window.el (balance-windows-2): While rounding don't give a
14124 window more than the remainder. Bug#16351, bug#16383.
14126 2014-01-07 Glenn Morris <rgm@gnu.org>
14128 * menu-bar.el (menu-bar-help-extra-packages): Remove.
14129 (menu-bar-help-menu): Use view-external-packages instead.
14131 2014-01-07 Bastien Guerry <bzg@gnu.org>
14133 * emacs-lisp/package.el (package-delete): Also delete the package
14134 name from `package-alist', not its description only.
14136 2014-01-07 Glenn Morris <rgm@gnu.org>
14138 * help.el (view-external-packages):
14139 * menu-bar.el (menu-bar-help-extra-packages):
14140 Visit efaq.info rather than etc/MORE.STUFF.
14142 2014-01-07 Juri Linkov <juri@jurta.org>
14144 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
14145 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
14147 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
14148 that shadows RET. (Bug#16342)
14150 2014-01-07 Chong Yidong <cyd@gnu.org>
14152 * isearch.el (isearch-yank-char, isearch-yank-word)
14153 (isearch-yank-line): Doc fix.
14155 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
14157 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
14158 * emacs-lisp/elint.el (elint-find-builtins):
14159 * emacs-lisp/eldoc.el (eldoc-symbol-function):
14160 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
14161 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
14162 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
14163 * apropos.el (apropos-safe-documentation):
14164 * subr.el (symbol-file): Remove redundant fboundp.
14165 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
14167 2014-01-06 Bastien Guerry <bzg@gnu.org>
14169 * hl-line.el (global-hl-line-overlay): Make a local variable.
14170 (global-hl-line-overlays): New variable to store all overlays.
14171 (global-hl-line-mode): Don't delete overlays from the current
14172 buffer when `global-hl-line-sticky-flag' is non-nil.
14173 (global-hl-line-highlight): Add new overlays to
14174 `global-hl-line-overlays'.
14175 (global-hl-line-unhighlight-all): New function to delete all
14176 overlays when turning off `global-hl-line-mode'.
14177 This fixes Bug#16183.
14179 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
14181 * subr.el (set-transient-map): Fix nested case and docstring.
14183 2014-01-06 Tassilo Horn <tsdh@gnu.org>
14185 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
14188 2014-01-06 Daniel Colascione <dancol@dancol.org>
14190 Fix defun navigation in vc log view.
14192 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
14193 like `beginning-of-defun'.
14194 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
14195 log-view-end-of-defun to log-view-end-of-defun-1. Replace
14196 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
14197 (log-view-extract-comment): Call `log-view-current-entry' directly
14198 instead of relying on broken `log-view-beginning-of-defun' behavior.
14200 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
14203 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
14204 * emacs-lisp/debug.el (cancel-debug-on-entry):
14205 * epg.el (epg-error-to-string):
14206 * files.el (recover-file):
14207 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
14208 * mail/emacsbug.el (report-emacs-bug-hook):
14209 * mail/sendmail.el (mail-recover):
14210 * ses.el (ses-yank-resize):
14211 * term/ns-win.el (ns-print-buffer):
14212 Spelling fixes in diagnostics, mostly for "canceled" with one L.
14213 * epg.el (epg-key-capability-alist): Rename from misspelled version.
14215 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
14217 2014-01-06 Leo Liu <sdl.web@gmail.com>
14219 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
14220 to avoid shadowing global key. (Bug#16354)
14222 2014-01-06 Daniel Colascione <dancol@dancol.org>
14224 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
14227 2014-01-05 Martin Rudalics <rudalics@gmx.at>
14229 * window.el (balance-windows): Add mising t to fix Bug#16351.
14231 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14233 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
14235 (shr-insert): If we have a word that's longer than `shr-width',
14236 break after it anyway. Otherwise we'll do no breaking once we get
14239 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14241 * net/eww.el (eww): Support single/double quote for search.
14242 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
14243 (eww-history-quit): Delete and use quit-window.
14244 (eww-history-kill): Delete, because it doesn't work well and
14246 (eww-history-mode-map): Delete some keys and add easy-menu.
14248 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
14250 Fix misspelling of 'chinese' in rx (Bug#16237).
14251 * emacs-lisp/rx.el (rx-categories): Correct spelling of
14254 Change subword regexps back to vars (Bug#16296).
14255 * progmodes/subword.el (subword-forward-regexp)
14256 (subword-backward-regexp): Change these back to variables.
14258 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
14260 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
14261 syntax-begin-function (bug#16247).
14263 2014-01-03 Chong Yidong <cyd@gnu.org>
14265 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
14266 (advice--docstring): Delete variable.
14267 (advice--make-1): Leave the docstring empty.
14268 (advice-add): Use function-documentation for advised docstring.
14270 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
14271 Ignore function-documentation property when getting documentation.
14272 (ad-activate-advised-definition): Use function-documentation
14273 generate the docstring.
14274 (ad-make-advised-definition): Don't call
14275 ad-make-advised-definition-docstring.
14276 (ad-make-advised-definition-docstring, ad-advised-definition-p):
14279 * progmodes/sql.el (sql-help): Use function-documentation instead
14280 of dynamic-docstring-function property. No need to autoload now.
14281 (sql--help-docstring): New variable.
14282 (sql--make-help-docstring): Use it.
14284 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
14286 * ielm.el (ielm-tab): Retarget.
14287 (ielm-map): Use ielm-tab for tab.
14288 (ielm-complete-filename): Use comint-filename-completion.
14289 (ielm-complete-symbol): Remove.
14290 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
14291 remove ielm-tab from completion-at-point-functions (bug#16224).
14293 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
14294 Beware signals raised by predicates (bug#16201).
14296 2014-01-02 Richard Stallman <rms@gnu.org>
14298 * dired-aux.el (dired-do-print): Handle printer-name.
14300 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
14301 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
14302 (rmail-epa-decrypt): Turn off mime processing.
14304 * mail/rmail.el (rmail-make-in-reply-to-field):
14305 Add parens in message-id.
14307 * mail/rmail.el (rmail-get-coding-function): Variable.
14308 (rmail-get-coding-system): Use it.
14310 2013-12-31 Eli Zaretskii <eliz@gnu.org>
14312 * international/mule-conf.el: Unify the charset indian-is13194.
14313 (indian-is13194): Specify unify-map.
14315 2013-12-31 Leo Liu <sdl.web@gmail.com>
14317 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
14319 2013-12-30 Daniel Colascione <dancol@dancol.org>
14321 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
14322 of printing a useless when we resume from sleep.
14324 * progmodes/sh-script.el
14325 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
14326 in indentation code. (Bug#16233)
14328 2013-12-28 João Távora <joaotavora@gmail.com>
14330 * elec-pair.el (electric-pair-post-self-insert-function):
14331 Don't open extra newlines at beginning of buffer. (Bug#16272)
14333 2013-12-28 Eli Zaretskii <eliz@gnu.org>
14335 * frame.el (window-system-for-display): Don't allow to create a
14336 GUI frame from a -nw session on MS-Windows. (Bug#14739)
14338 2013-12-28 Glenn Morris <rgm@gnu.org>
14340 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
14343 * apropos.el (apropos-match-face):
14344 * calculator.el (calculator-displayer):
14345 * dabbrev.el (dabbrev-search-these-buffers-only):
14346 * face-remap.el (buffer-face-mode-face):
14347 * simple.el (yank-handled-properties):
14348 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
14349 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
14350 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
14351 (hashcash-double-spend-database):
14352 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
14353 (ruby-deep-indent-paren-style):
14354 * textmodes/flyspell.el (flyspell-auto-correct-binding):
14355 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
14356 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
14357 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
14358 Specify custom types.
14360 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
14361 * bookmark.el (bookmark-bmenu-use-header-line):
14362 * doc-view.el (doc-view-scale-internally):
14363 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
14364 * register.el (register-preview-delay):
14365 * net/shr.el (shr-bullet):
14366 * progmodes/cfengine.el (cfengine-cf-promises)
14367 (cfengine-parameters-indent):
14368 * progmodes/octave.el (inferior-octave-error-regexp-alist):
14369 * textmodes/reftex-vars.el (reftex-label-regexps):
14370 * vc/log-edit.el (log-edit-setup-add-author): Add version.
14372 * net/tls.el (tls-certtool-program): Fix default value.
14374 * desktop.el (desktop-restore-in-current-display):
14375 * newcomment.el (comment-empty-lines):
14376 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
14377 (idlwave-pad-keyword):
14378 * progmodes/tcl.el (tcl-tab-always-indent):
14379 * textmodes/reftex-vars.el (reftex-index-default-tag):
14380 * elec-pair.el (electric-pair-skip-whitespace):
14381 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
14383 * emacs-lisp/authors.el (authors-ignored-files)
14384 (authors-valid-file-names, authors-renamed-files-alist): Additions.
14386 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
14388 * shell.el (shell-dynamic-complete-command): Doc fix.
14389 (shell--command-completion-data): Shell completion now matches
14390 executable filenames from the current buffer's directory, on
14391 systems in which this behavior is the default (windows-nt, ms-dos).
14393 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14395 * net/shr.el (shr-insert): Don't infloop if the width is zero.
14397 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
14399 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
14402 * electric.el: Move all electric-pair-* to elec-pair.el.
14403 * elec-pair.el: New file, split from electric.el.
14405 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14407 * net/shr.el (shr-find-fill-point): Don't try to fill if the
14408 indentation level is larger than the width, because that will
14410 (shr-insert): Fill repeatedly long texts, so that Japanese is
14411 formatted correctly (bug#16263).
14412 (shr-find-fill-point): Off by one error in comparison with the
14415 2013-12-26 João Távora <joaotavora@gmail.com>
14417 * electric.el (electric-pair-mode): More flexible engine for skip-
14418 and inhibit predicates, new options for pairing-related functionality.
14419 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
14420 if that keeps or improves their balance in buffers.
14421 (electric-pair-delete-adjacent-pairs): Delete the pair when
14422 backspacing over adjacent matched delimiters.
14423 (electric-pair-open-extra-newline): Open extra newline when
14424 inserting newlines between adjacent matched delimiters.
14425 (electric--sort-post-self-insertion-hook):
14426 Sort post-self-insert-hook according to priority values when
14427 minor-modes are activated.
14428 * simple.el (newline-and-indent): Call newline with interactive
14430 (blink-paren-post-self-insert-function): Set priority to 100.
14431 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14432 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
14433 comments. Locally set electric-pair-skip-whitespace to 'chomp and
14434 electric-pair-open-newline-between-pairs to nil.
14436 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
14438 * progmodes/python.el: Use lexical-binding.
14439 (python-nav-beginning-of-defun): Stop searching ASAP.
14441 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
14443 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
14444 Fix interactive spec. Doc fix. (Bug#15754)
14446 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
14448 * emacs-lisp/byte-run.el (eval-when-compile):
14449 * progmodes/cc-defs.el (cc-eval-when-compile):
14450 Fix edebug spec (bug#16184).
14452 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
14454 * net/shr.el (shr-visit-file): Remove debugging function.
14455 (shr-insert): Don't infloop if we can't find a good place to break
14456 the line (bug#16256).
14458 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
14460 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
14461 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
14462 python-nav-lisp-forward-sexp-safe.
14463 (python-nav--forward-sexp): New argument SAFE allows switching
14464 forward sexp movement behavior for parens.
14465 (python-nav-forward-sexp): Throw errors on unterminated parens
14467 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
14468 (python-nav-backward-sexp-safe): New functions.
14469 (python-shell-buffer-substring):
14470 Use `python-nav-forward-sexp-safe'.
14472 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
14474 * net/shr.el (shr-find-fill-point): Don't break lines before a
14476 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
14477 (shr-find-fill-point): Remove the special checks for the quotation
14478 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
14480 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14482 * net/eww.el (eww-form-textarea): Use a different face for
14483 textareas than text input since they have different keymaps
14486 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
14488 * progmodes/python.el (python-nav-beginning-of-statement):
14489 Speed up (Bug#15295).
14491 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
14493 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
14494 the window configuration.
14496 2013-12-24 Eli Zaretskii <eliz@gnu.org>
14498 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
14499 we run on MS-Windows or MS-DOS.
14501 2013-12-24 Martin Rudalics <rudalics@gmx.at>
14503 * window.el (balance-windows-area): Call window-size instead of
14504 window-height and window-width. Bug#16241.
14506 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
14508 * net/eww.el (eww-bookmark-quit): Remove.
14509 (eww-bookmark-browse): Restore the window configuration when you
14510 choose a bookmark (bug#16144).
14512 2013-12-24 Daniel Colascione <dancol@dancol.org>
14514 * icomplete.el: Remove redundant :group arguments to `defcustom'
14516 (icomplete-show-matches-on-no-input): New customizable variable.
14517 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
14518 we have something to show.
14519 (icomplete-exhibit): Compute completions even if we have no user input.
14521 2013-12-23 Daniel Colascione <dancol@dancol.org>
14523 * icomplete.el: Move `provide' to end of file.
14525 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
14527 * net/gnutls.el (gnutls-verify-error): Add version tag.
14529 2013-12-23 Chong Yidong <cyd@gnu.org>
14531 * subr.el (set-transient-map): Rename from
14532 set-temporary-overlay-map. Doc fix.
14534 * face-remap.el (text-scale-adjust):
14535 * indent.el (indent-rigidly):
14536 * kmacro.el (kmacro-call-macro):
14537 * minibuffer.el (minibuffer-force-complete):
14538 * repeat.el (repeat):
14539 * simple.el (universal-argument--mode):
14540 * calendar/todo-mode.el (todo-insert-item--next-param):
14541 * progmodes/f90.el (f90-abbrev-start): Callers changed.
14543 * indent.el (indent-rigidly): Use substitute-command-keys.
14545 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14547 * net/eww.el (eww-tag-select): Add text-property to jump to next
14549 (eww): Add non-supported ftp error.
14551 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14553 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
14554 comments. Handle electric indent after typing `?' and `!'.
14556 2013-12-22 Chong Yidong <cyd@gnu.org>
14558 * faces.el (face-spec-recalc): If the theme specs are not
14559 applicable to a frame, fall back on the defface spec.
14560 This prevents themes from obliterating faces on low-color terminals.
14562 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14564 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
14565 after `{'. We need it after block openers, and it doesn't seem
14566 to hurt after hash openers.
14568 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14570 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
14571 extracted from `ruby-smie-rules'.
14572 (ruby--electric-indent-chars): New variable.
14573 (ruby--electric-indent-p): New function.
14574 (ruby-mode): Use `electric-indent-functions' instead of
14575 `electric-indent-chars'.
14577 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14579 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
14581 (ruby-smie-rules): Indent plus one level after `=>'.
14583 2013-12-21 Richard Stallman <rms@gnu.org>
14585 * simple.el (newline): Doc fix.
14587 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14589 * net/eww.el (eww-list-histories, eww-list-histories)
14590 (eww-history-browse, eww-history-quit, eww-history-kill)
14591 (eww-history-mode-map, eww-history-mode): New command and
14592 functions to list browser histories.
14593 (eww-form-text): Support text form with disabled
14594 and readonly attributes.
14595 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
14597 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14599 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
14600 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
14601 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
14602 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
14604 (eww-bookmark-mode-map): Add menu.
14605 (eww-render, eww-mode): Use `setq-local'.
14606 (eww-tool-bar-map): New variable.
14607 (eww-mode): Set `tool-bar-map'.
14608 (eww-view-source): Check for `html-mode' with `fboundp'.
14610 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14612 * net/shr.el (shr--extract-best-source): Don't bug out on audio
14613 elements with text inside. Also remove debugging.
14615 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
14617 * cus-start.el (all): Add ns-use-srgb-colorspace.
14619 2013-12-21 Chong Yidong <cyd@gnu.org>
14621 * custom.el (custom-theme-recalc-face): Do nothing if the face is
14622 undefined. Thus, theme settings for undefined faces do not take
14623 effect until the faces are defined with defface, the same as with
14626 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
14627 (face-spec-reset-face): Don't assign extra properties in temacs.
14628 (face-spec-recalc): Apply X resources too.
14630 2013-12-21 Chong Yidong <cyd@gnu.org>
14632 * faces.el (face-spec-set):
14633 * cus-face.el (custom-theme-set-faces, custom-set-faces):
14634 * custom.el (defface): Doc fixes (Bug#16203).
14636 * indent.el (indent-rigidly-map): Add docstring, and move commands
14637 into named functions.
14638 (indent-rigidly-left, indent-rigidly-right)
14639 (indent-rigidly-left-to-tab-stop)
14640 (indent-rigidly-right-to-tab-stop): New functions. Decide on
14641 indentation direction based on bidi direction, and accumulate
14642 sequential commands in a single undo boundary.
14643 (indent-rigidly--pop-undo): New utility function.
14645 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
14647 * faces.el (read-face-name): Require crm.el when using crm-separator.
14649 2013-12-20 Daniel Colascione <dancol@dancol.org>
14651 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
14652 so that we don't reflow comments into the shebang line.
14654 2013-12-20 Juri Linkov <juri@jurta.org>
14656 * saveplace.el (save-place-to-alist): Add `dired-filename' as
14657 a position when `dired-directory' is non-nil. Check integer
14658 positions with `integerp'.
14659 (toggle-save-place, save-places-to-alist): Add check for
14661 (save-place-find-file-hook): Check integer positions with
14663 (save-place-dired-hook): Use `dired-goto-file' when
14664 `dired-filename' is found in the assoc list. Check integer
14665 positions with `integerp'.
14666 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
14668 * dired.el (dired-initial-position-hook): Rename back from
14669 `dired-initial-point-hook'.
14670 (dired-initial-position): Rename `dired-initial-point-hook' to
14671 `dired-initial-position-hook'.
14672 (dired-file-name-at-point): Doc fix. (Bug#15329)
14674 2013-12-20 Juri Linkov <juri@jurta.org>
14676 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
14677 (read-regexp-suggestions): New function.
14678 (read-regexp): Use `read-regexp-defaults-function' to get default values.
14679 Use `read-regexp-suggestions'. Add non-empty default to history
14681 (occur-read-regexp-defaults-function): Remove function.
14682 (occur-read-primary-args): Use `regexp-history-last' instead of
14683 `occur-read-regexp-defaults-function'.
14685 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
14686 (hi-lock-line-face-buffer, hi-lock-face-buffer)
14687 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
14688 `hi-lock-read-regexp-defaults-function'. Doc fix.
14689 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
14690 with `find-tag-default-as-symbol-regexp'. Doc fix.
14691 (hi-lock-read-regexp-defaults): Remove function.
14692 (hi-lock-regexp-okay): Add check for null.
14694 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
14695 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
14697 * subr.el (find-tag-default-as-symbol-regexp): New function.
14698 (find-tag-default-as-regexp): Move symbol regexp formatting to
14699 `find-tag-default-as-symbol-regexp'.
14701 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
14703 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
14706 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14708 * calendar/todo-mode.el: New implementation of item insertion
14709 commands and key bindings.
14710 (todo-key-prompt): New face.
14711 (todo-insert-item): New command.
14712 (todo-insert-item--parameters): New defconst, replacing defvar
14713 todo-insertion-commands-args-genlist.
14714 (todo-insert-item--param-key-alist): New defconst, replacing
14715 defvar todo-insertion-commands-arg-key-list.
14716 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
14717 (todo-insert-item--argsleft, todo-insert-item--apply-args)
14718 (todo-insert-item--next-param): New functions.
14719 (todo-insert-item--args, todo-insert-item--argleft)
14720 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
14722 (todo-key-bindings-t): Change binding of "i" from
14723 todo-insertion-map to todo-insert-item.
14724 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
14725 (todo-insertion-command-name, todo-insertion-commands-names)
14726 (todo-define-insertion-command, todo-insertion-commands)
14727 (todo-insertion-key-bindings, todo-insertion-map): Remove.
14729 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14731 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
14732 (todo-toggle-item-highlighting): Use eval-and-compile instead of
14734 (todo-move-category): Allow choosing a non-existing todo file to
14735 move the category to, and create that file.
14736 (todo-default-priority): New user option.
14737 (todo-set-item-priority): Use it.
14738 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
14739 (desktop-restore-file-buffer): Declare.
14740 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
14741 (todo-modes-set-2): Locally set desktop-save-buffer to
14742 todo-desktop-save-buffer.
14743 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
14744 (auto-mode-alist): Add autoload cookie.
14746 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
14748 * emacs-lisp/subr-x.el: Renamed from helpers.el.
14749 helpers.el was a poor choice of name.
14750 (string-remove-prefix): New function.
14751 (string-remove-suffix): New function.
14753 2013-12-20 Martin Rudalics <rudalics@gmx.at>
14755 Fix assignment for new window total sizes.
14756 * window.el (window--pixel-to-size): Remove function.
14757 (window--pixel-to-total-1, window--pixel-to-total):
14758 Fix calculation of new total sizes.
14760 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
14762 * comint.el (comint-output-filter): Fix rear-nonsticky property
14763 placement (Bug#16010).
14765 2013-12-20 Chong Yidong <cyd@gnu.org>
14767 * faces.el (read-color): Minor fix for completion function.
14769 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
14771 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
14772 New option. (Bug#16182)
14773 (ruby-smie--indent-to-stmt-p): Use it.
14774 (ruby-smie-rules): Revert the logic in the handling of `when'.
14775 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
14776 (ruby-deep-arglist, ruby-deep-indent-paren)
14777 (ruby-deep-indent-paren-style): Update docstrings to note that the
14778 vars don't have any effect with SMIE.
14780 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
14782 * calc/calc.el (calc-enter, calc-pop): Use the variable
14783 `calc-context-sensitive-enter'.
14785 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14787 * net/shr.el (shr-insert): Protect against infloops in degenerate
14790 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14792 * progmodes/octave.el (octave): Add link to manual and octave
14794 (octave-mode-menu): Link to octave-mode manual.
14796 2013-12-20 Leo Liu <sdl.web@gmail.com>
14798 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
14799 insertion using skeleton-end-newline. (Bug#16138)
14801 2013-12-20 Juri Linkov <juri@jurta.org>
14803 * replace.el (occur-engine): Use `add-face-text-property'
14804 to add the face property to matches and titles. (Bug#14645)
14806 * hi-lock.el (hi-green): Use lighter color "light green" closer to
14807 the palette of other hi-lock colors.
14808 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
14810 2013-12-19 Juri Linkov <juri@jurta.org>
14812 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
14813 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
14814 (minibuffer-history-symbol): Move variable declaration closer to
14817 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
14820 2013-12-19 Juri Linkov <juri@jurta.org>
14822 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
14824 (log-edit-hook): Add it to :options. (Bug#16170)
14826 2013-12-19 Juri Linkov <juri@jurta.org>
14828 * simple.el (eval-expression-print-format): Don't check for
14829 command names and the last command. Always display additional
14830 formats of the integer result in the echo area, and insert them
14831 to the current buffer only with a zero prefix arg.
14832 Display character when char-displayable-p is non-nil.
14833 (eval-expression): With a zero prefix arg, set `print-length' and
14834 `print-level' to nil, and insert the integer values from
14835 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
14837 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
14838 `eval-last-sexp-arg-internal'. Doc fix.
14839 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
14840 `eval-last-sexp-print-value'. Doc fix.
14841 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
14842 Set `print-length' and `print-level' to nil when arg is zero.
14843 (eval-last-sexp): Doc fix.
14844 (eval-defun-2): Print the integer values from
14845 `eval-expression-print-format' at the end.
14847 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
14848 values from `eval-expression-print-format' at the end.
14850 * ielm.el (ielm-eval-input): Print the integer
14851 values from `eval-expression-print-format' at the end.
14853 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
14855 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
14856 2013-12-11T19:01:44Z!tzz@lifelogs.com.
14858 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
14860 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
14861 (hl-line-highlight, global-hl-line-highlight): Use it.
14862 (hl-line-overlay): Use defvar-local.
14864 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
14866 * term/ns-win.el: Require dnd.
14867 (global-map): Remove drag items.
14868 (ns-insert-text, ns-set-foreground-at-mouse)
14869 (ns-set-background-at-mouse):
14870 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
14871 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
14874 2013-12-19 Glenn Morris <rgm@gnu.org>
14876 * emacs-lisp/ert.el (ert-select-tests):
14877 Fix string/symbol mixup. (Bug#16121)
14879 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14881 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
14882 keywords to their parent.
14884 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
14886 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
14887 first arg to be a string (fixed dead code), or an operator symbol.
14888 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
14890 (ruby-smie-rules): Remove parent token check in the `.' clause, it
14891 did nothing. Don't respond to `(:after ".")', it will be called
14892 with :before anyway. Remove the ` @ ' rule, it didn't seem to
14893 change anything. Only return indentation for binary operators
14894 when they are hanging. De-dent opening paren when its parent is
14895 `.', otherwise it looks bad when the dot is not at bol or eol
14898 2013-12-19 Juri Linkov <juri@jurta.org>
14900 * replace.el (query-replace-read-args): Split a non-negative arg
14901 and a negative arg into separate elements.
14902 (query-replace, query-replace-regexp, replace-string)
14903 (replace-regexp): Add arg `backward'. Doc fix.
14904 (replace-match-maybe-edit): When new arg `backward' is non-nil,
14905 move point to the beginning of the match.
14906 (replace-search, replace-highlight): Use new arg `backward'
14907 to set the value of `isearch-forward'.
14908 (perform-replace): Add arg `backward' and use it to perform
14909 replacement backward. (Bug#14979)
14911 * isearch.el (isearch-query-replace): Use a negative prefix arg
14912 to call `perform-replace' with a non-nil arg `backward'.
14914 2013-12-18 Juri Linkov <juri@jurta.org>
14916 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
14917 to the default list. Move `log-edit-show-files' to the end.
14918 Add more available functions to options.
14919 (log-edit): Move default specific settings to
14920 `log-edit-insert-message-template'. Don't move point.
14921 (log-edit-insert-message-template): New function.
14922 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
14925 2013-12-18 Juri Linkov <juri@jurta.org>
14927 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
14928 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
14930 2013-12-18 Leo Liu <sdl.web@gmail.com>
14932 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
14935 2013-12-18 Eli Zaretskii <eliz@gnu.org>
14937 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
14938 formats for displaying file sizes when the -s switch is given.
14939 Instead, compute a separate format for displaying the size in
14940 blocks, which is displayed in addition to the "regular" size.
14941 When -h is given in addition to -s, produce size in blocks in
14942 human-readable form as well. (Bug#16179)
14944 2013-12-18 Tassilo Horn <tsdh@gnu.org>
14946 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
14947 Reference tables with ~\ref{...} instead of only \ref{...}.
14949 2013-12-18 Chong Yidong <cyd@gnu.org>
14951 * cus-edit.el (custom-magic-alist): Fix "themed" description
14954 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
14955 is non-nil, do not create a new entry in the symbol's theme-value
14956 or theme-face property; update theme-settings only (Bug#14664).
14957 (custom-available-themes): Doc fix.
14959 * cus-theme.el (custom-new-theme-mode-map): Add bindings
14962 * replace.el (occur-engine): Avoid infloop (Bug#7593).
14964 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
14966 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
14969 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
14971 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
14973 2013-12-18 Glenn Morris <rgm@gnu.org>
14975 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
14976 * cus-start.el (load-prefer-newer): New option.
14978 2013-12-18 Le Wang <l26wang@gmail.com>
14980 * comint.el (comint-previous-matching-input-from-input):
14981 Retain point (Bug#13404).
14983 2013-12-18 Chong Yidong <cyd@gnu.org>
14985 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
14987 2013-12-18 Glenn Morris <rgm@gnu.org>
14989 * mail/emacsbug.el (report-emacs-bug):
14990 Only mention enable-multibyte-characters if non-standard.
14992 2013-12-17 Juri Linkov <juri@jurta.org>
14994 * arc-mode.el (archive-extract-by-file): Check if directory exists
14995 before deletion to not show irrelevant errors if it doesn't exist.
14997 2013-12-17 Juri Linkov <juri@jurta.org>
14999 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
15002 * net/eww.el (browse-web): Add alias to `eww'.
15003 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
15004 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
15006 * net/browse-url.el (browse-url-browser-function): Move `eww'
15007 closer to similar functions.
15009 * startup.el (fancy-startup-screen, fancy-about-screen):
15010 Set browse-url-browser-function to eww-browse-url locally.
15013 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
15015 * window.el (window--pixel-to-total): Remove unused `mini' var.
15016 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
15017 (split-window): Remove unused `new' var.
15018 (window--display-buffer): Remove unused `frame' and `delta' vars.
15019 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
15020 and display-width'.
15022 2013-12-17 Martin Rudalics <rudalics@gmx.at>
15024 * dired.el (dired-mark-pop-up):
15025 * register.el (register-preview): Don't bind
15026 split-height-threshold here since it's now done in
15027 display-buffer-below-selected.
15029 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
15031 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
15032 xterm-rgb-convert-to-16bit.
15033 (rxvt-register-default-colors): Standardize with
15034 xterm-register-default-colors (Bug#14078).
15036 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
15038 * simple.el (kill-region): Pass mark first, then point, so that
15039 kill-append works right (Bug#12819).
15040 (copy-region-as-kill, kill-ring-save): Likewise.
15042 2013-12-17 Leo Liu <sdl.web@gmail.com>
15044 * net/rcirc.el (rcirc-add-face):
15045 * eshell/em-prompt.el (eshell-emit-prompt):
15046 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
15049 2013-12-17 Chong Yidong <cyd@gnu.org>
15051 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
15052 Suggested by Xue Fuqiao.
15054 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
15056 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
15058 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
15060 * net/shr.el (shr-insert-document): Remove unused var
15061 `shr-preliminary-table-render'.
15062 (shr-rescale-image): Remove unused arg `force'.
15063 (shr-put-image): Update calls accordingly.
15064 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
15066 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
15068 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
15069 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
15070 :close-all, to see which indentation method to use (Bug#16116).
15071 (smie-rules-function): Document the method :close-all.
15073 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15075 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
15077 * net/eww.el (eww-display-html): If we can't find the anchor we're
15078 looking for, then go to point-min.
15080 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
15082 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
15083 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
15084 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
15085 Expand dir too, in case it's relative.
15087 2013-12-16 Juri Linkov <juri@jurta.org>
15089 * desktop.el (desktop-auto-save-timeout): Change default to
15090 `auto-save-timeout'. Doc fix.
15091 (desktop-save): Skip the timestamp in desktop-saved-frameset
15092 when checking for auto-save changes.
15093 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
15094 `desktop-auto-save' is called repeatedly by the idle timer.
15095 (desktop-auto-save-set-timer): Replace `run-with-timer' with
15096 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
15099 2013-12-16 Juri Linkov <juri@jurta.org>
15101 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
15103 (isearch-pre-command-hook): Check `this-command' for symbolp.
15105 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
15107 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
15109 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
15111 * progmodes/cfengine.el (cfengine3--current-word): Remove.
15112 (cfengine3--current-function): Bring in the current-function
15113 functionality from `cfengine3--current-word'.
15114 (cfengine3-completion-function): Bring in the
15115 bounds-of-current-word functionality from
15116 `cfengine3--current-word'.
15118 2013-12-16 Martin Rudalics <rudalics@gmx.at>
15120 * window.el (display-buffer-below-selected):
15121 Bind split-height-threshold to 0 as suggested by Juri Linkov.
15123 2013-12-16 Leo Liu <sdl.web@gmail.com>
15125 * progmodes/compile.el (compile-goto-error): Do not push-mark.
15126 Remove NOMSG arg and all uses changed.
15128 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
15130 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
15131 (cua--deactivate-rectangle): Don't deactivate the mark.
15132 (cua-set-rectangle-mark): Don't set mark-active since
15133 cua--activate-rectangle already does it for us.
15134 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
15135 non-rectangular region.
15137 * emulation/cua-base.el (cua-repeat-replace-region):
15138 Use with-current-buffer.
15140 * net/gnutls.el: Use cl-lib.
15141 (gnutls-negotiate): `mapcan' -> cl-mapcan.
15143 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
15145 * emacs-lisp/package.el (package-built-in-p): Support both
15146 built-in and the package.el converted package descriptions.
15147 (package-show-package-list): Allow keywords.
15148 (package-keyword-button-action): Use it instead of
15149 `finder-list-matches'.
15150 (package-menu-filter-interactive): Interactive filtering (by
15152 (package-menu--generate): Support keywords and change keymappings
15153 and headers when they are given.
15154 (package--has-keyword-p): Helper function.
15155 (package-menu--refresh): Use it.
15156 (package--mapc): Helper function.
15157 (package-all-keywords): Use it.
15158 (package-menu-mode-map): Set up menu items and keybindings to
15159 provide a filtering UI.
15161 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
15163 * net/gnutls.el (gnutls-verify-error): New defcustom to control
15164 the behavior when a certificate fails validation. Defaults to
15165 old behavior: never abort, just warn.
15166 (gnutls-negotiate): Use it.
15168 2013-12-14 Martin Rudalics <rudalics@gmx.at>
15170 * window.el (display-buffer-below-selected): Never split window
15171 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
15173 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
15175 * emacs-lisp/package.el (package--prepare-dependencies): New function.
15176 (package-buffer-info): Use it (bug#15108).
15178 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
15180 * icomplete.el (icomplete-completions): Make sure the prefix is already
15181 displayed elsewhere before hiding it (bug#16219).
15183 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
15185 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
15186 open-paren tokens when preceded by a open-paren, too.
15187 (ruby-smie-rules): Handle virtual indentation after open-paren
15188 tokens specially. If there is code between it and eol, return the
15189 column where is starts (Bug#16118).
15191 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
15193 * progmodes/cfengine.el: Fix `add-hook' doc.
15194 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
15195 (cfengine3--current-word): Fix parameters.
15196 (cfengine3-make-syntax-cache): Simplify further.
15197 (cfengine3-completion-function, cfengine3--current-function):
15198 Use `assq' for symbols.
15199 (cfengine3--current-function): Fix `cfengine3--current-word' call.
15201 2013-12-13 Glenn Morris <rgm@gnu.org>
15203 * loadup.el (load-path): Warn if site-load or site-init changes it.
15204 No more need to reset it when bootstrapping.
15206 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
15208 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
15209 locations for cf-promises.
15210 (cfengine-mode-syntax-functions-regex): New caching variable.
15211 (cfengine3-fallback-syntax): Fallback syntax for cases where
15212 cf-promises doesn't run.
15213 (cfengine3--current-word): Reimplement using
15214 `cfengine-mode-syntax-functions-regex'.
15215 (cfengine3-completion-function, cfengine3--current-function):
15216 Use `cfengine3-make-syntax-cache' directly.
15217 (cfengine3-clear-syntax-cache): New function.
15218 (cfengine3-make-syntax-cache): Simplify and create
15219 `cfengine-mode-syntax-functions-regex' on demand.
15220 (cfengine3-format-function-docstring): Don't call
15221 `cfengine3-make-syntax-cache' explicitly.
15223 2013-12-13 Martin Rudalics <rudalics@gmx.at>
15225 Fix windmove-find-other-window broken after pixelwise resizing
15227 * windmove.el (windmove-other-window-loc): Revert change from
15229 (windmove-find-other-window): Call window-in-direction.
15230 * window.el (window-in-direction): New arguments SIGN, WRAP and
15231 MINI to emulate original windmove-find-other-window behavior.
15233 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
15235 * simple.el (blink-matching--overlay): New variable.
15236 (blink-matching-open): Instead of moving point, highlight the
15237 matching paren with an overlay
15238 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
15240 * faces.el (paren-showing-faces, show-paren-match)
15241 (show-paren-mismatch): Move from paren.el.
15243 2013-12-13 Leo Liu <sdl.web@gmail.com>
15245 * indent.el (indent-region): Disable progress reporter in
15246 minibuffer. (Bug#16108)
15248 * bindings.el (visual-order-cursor-movement): Fix version.
15250 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
15252 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
15253 Also match after beginning of line.
15254 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
15255 files. Thanks to Russell Sim. (Bug#15378)
15257 2013-12-13 Juri Linkov <juri@jurta.org>
15259 * simple.el <Keypad support>: Remove key bindings duplicated
15260 with bindings.el. (Bug#14397)
15262 2013-12-13 Juri Linkov <juri@jurta.org>
15264 * comint.el (comint-mode-map): Replace `delete-char' with
15265 `delete-forward-char'. (Bug#16109)
15267 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
15269 * progmodes/python.el (python-indent-calculate-indentation):
15270 Fix de-denters cornercase. (Bug#15731)
15272 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
15274 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
15275 (advice--make): Pay attention to `depth'.
15276 (advice--make-1): Don't autoload commands eagerly.
15277 * emacs-lisp/elp.el (elp-instrument-function):
15278 * emacs-lisp/trace.el (trace-function-internal):
15279 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
15281 * iswitchb.el (iswitchb-mode): Don't belittle ido.
15283 2013-12-12 Eli Zaretskii <eliz@gnu.org>
15285 * term/w32-win.el (w32-handle-dropped-file):
15286 * startup.el (normal-top-level):
15287 * net/browse-url.el (browse-url-file-url):
15288 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
15289 decode file names using 'utf-8' rather than
15290 file-name-coding-system.
15292 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
15294 * progmodes/python.el (python-indent-context)
15295 (python-indent-calculate-indentation): Fix auto-identation
15296 behavior for comment blocks. (Bug#15916)
15298 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15300 * progmodes/python.el (python-indent-calculate-indentation):
15301 When determining indentation, don't treat "return", "pass", etc., as
15302 operators when they are just string constituents. (Bug#15812)
15304 2013-12-12 Juri Linkov <juri@jurta.org>
15306 * uniquify.el (uniquify-buffer-name-style): Change default to
15307 `post-forward-angle-brackets'.
15309 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
15310 `uniquify'. Change default to `post-forward-angle-brackets'.
15312 2013-12-11 Glenn Morris <rgm@gnu.org>
15314 * emacs-lisp/package.el (finder-list-matches):
15315 Autoload rather than falsely declaring.
15317 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
15319 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
15320 (eww-mode-map): Use them.
15322 2013-12-11 Martin Rudalics <rudalics@gmx.at>
15324 * window.el (display-buffer-in-side-window): Fix doc-string
15327 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
15329 * vc/vc-git.el: Silence byte-compiler warnings.
15330 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
15331 (log-edit-set-header): Declare.
15333 2013-12-11 Eli Zaretskii <eliz@gnu.org>
15335 * Makefile.in (custom-deps, finder-data): Run output file names
15336 through unmsys--file-name. (Bug#16099)
15338 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
15340 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
15341 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
15343 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
15344 instead of deleting the selection "by hand" (bug#16098).
15345 Rely on insert-for-yank to yank rectangles.
15346 (cua-highlight-region-shift-only): Mark obsolete.
15347 (cua-mode): Don't enable/disable transient-mark-mode,
15348 shift-select-mode (cua-mode works both with and without them), and
15349 pc-selection-mode (obsolete).
15350 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
15351 (cua--deactivate-rectangle): Deactivate it.
15353 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
15354 (delete-selection-helper): Make sure yank starts at the top of the
15356 (minibuffer-keyboard-quit): Use region-active-p.
15358 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
15360 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
15361 to `delete' (bug#16109).
15363 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15365 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
15366 info manual and show keybindings and set `:group' keyword.
15368 2013-12-11 Juri Linkov <juri@jurta.org>
15370 * delsel.el (delete-active-region): Let-bind `this-command'
15371 to prevent `kill-region' from changing its original value.
15372 (delete-selection-helper): Handle `overwrite-mode' for the type
15373 `kill' exactly the same way as for the type `t'.
15374 (insert-char, quoted-insert, reindent-then-newline-and-indent):
15375 Support more commands. (Bug#13312)
15377 2013-12-11 Juri Linkov <juri@jurta.org>
15379 * bindings.el: Map kp keys to non-kp keys systematically
15380 with basic modifiers control, meta and shift. (Bug#14397)
15382 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15384 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
15385 "Close browser" menu items. Fix wrong function of "List
15388 2013-12-11 Juri Linkov <juri@jurta.org>
15390 * misearch.el (multi-isearch-buffers): Set the value of
15391 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
15392 arg of isearch-forward to t.
15393 (multi-isearch-buffers-regexp): Set the value of
15394 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
15395 arg of isearch-forward-regexp to t.
15396 (multi-isearch-files): Set the value of
15397 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
15398 arg of isearch-forward to t.
15399 (multi-isearch-files-regexp): Set the value of
15400 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
15401 arg of isearch-forward-regexp to t. (Bug#16035)
15403 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
15404 arg of isearch-forward to t.
15405 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
15406 arg of isearch-forward-regexp to t.
15407 (dired-isearch-filter-filenames): Remove unnecessary check for
15408 `dired-isearch-filenames'.
15410 * comint.el (comint-history-isearch-backward):
15411 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
15412 (comint-history-isearch-backward-regexp):
15413 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
15415 2013-12-10 Eli Zaretskii <eliz@gnu.org>
15417 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
15418 unmsys--file-name. (Bug#16099)
15420 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
15422 * emacs-lisp/package.el (package-keyword-button-action):
15423 Remove finder.el require dependency.
15425 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
15427 * emacs-lisp/package.el: Require finder.el.
15428 (describe-package-1): Add keyword buttons.
15429 (package-make-button): New convenience function.
15430 (package-keyword-button-action): Keyword button action using
15431 `finder-list-matches'.
15433 2013-12-09 Eli Zaretskii <eliz@gnu.org>
15435 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
15438 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
15440 * autorevert.el (auto-revert-notify-add-watch): Do not handle
15443 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
15445 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
15446 after the end of a percent literal.
15448 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
15450 * progmodes/ruby-mode.el (ruby-forward-string): Document.
15451 Handle caret-delimited strings (Bug#16079).
15453 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
15455 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
15456 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
15457 `ruby-parse-partial' (Bug#16078).
15459 2013-12-09 Leo Liu <sdl.web@gmail.com>
15461 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
15463 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
15465 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
15466 (js-switch-indent-offset): New option.
15467 (js--proper-indentation): Use it. And handle the case when
15468 "default" is actually a key in an object literal.
15469 (js--same-line): New function.
15470 (js--multi-line-declaration-indentation): Use it.
15471 (js--indent-in-array-comp, js--array-comp-indentation):
15473 (js--proper-indentation): Use them, to handle array comprehension
15476 2013-12-08 Leo Liu <sdl.web@gmail.com>
15478 * progmodes/flymake.el (flymake-highlight-line): Re-write.
15479 (flymake-make-overlay): Remove arg MOUSE-FACE.
15480 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
15482 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15484 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
15486 (redisplay-highlight-region-function): Use it.
15488 * emulation/cua-base.el (cua--explicit-region-start)
15489 (cua--last-region-shifted): Remove.
15490 (cua--deactivate): Use deactivate-mark.
15491 (cua--pre-command-handler-1): Don't handle shift-selection.
15492 (cua--post-command-handler-1): Don't change transient-mark-mode.
15493 (cua--select-keymaps): Use region-active-p rather than
15494 cua--explicit-region-start or cua--last-region-shifted.
15495 (cua-mode): Enable shift-select-mode.
15497 2013-12-08 Leo Liu <sdl.web@gmail.com>
15499 * progmodes/flymake.el (flymake-popup-current-error-menu):
15500 Rename from flymake-display-err-menu-for-current-line. Reimplement.
15501 (flymake-posn-at-point-as-event, flymake-popup-menu)
15502 (flymake-make-emacs-menu): Remove. (Bug#16077)
15504 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15506 * rect.el (rectangle-mark-mode): Activate mark even if
15507 transient-mark-mode is off (bug#16066).
15508 (rectangle--highlight-for-redisplay): Fix boundary condition when point
15509 is > mark and at bolp.
15511 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
15512 (region-extract-function): Use it.
15513 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
15514 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
15516 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
15517 kill-ring-save, kill-region, delete-char, delete-forward-char.
15518 Ignore self-insert-iso.
15520 * emulation/cua-gmrk.el (cua--init-global-mark):
15521 Ignore `self-insert-iso'.
15523 * emulation/cua-base.el (cua--prefix-copy-handler)
15524 (cua--prefix-cut-handler): Rely on region-extract-function rather than
15525 checking cua--rectangle.
15526 (cua-delete-region): Use region-extract-function.
15527 (cua-replace-region): Delete function.
15528 (cua-copy-region, cua-cut-region): Obey region-extract-function.
15529 (cua--pre-command-handler-1): Don't do the delete-selection thing.
15530 (cua--self-insert-char-p): Ignore `self-insert-iso'.
15531 (cua--init-keymaps): Don't remap delete-selection commands.
15532 (cua-mode): Use delete-selection-mode instead of rolling our own
15535 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
15536 Obey region-extract-function.
15538 Make registers and delete-selection-mode work on rectangles.
15539 * register.el (describe-register-1): Don't modify the register's value.
15540 (copy-to-register): Obey region-extract-function.
15541 * delsel.el (delete-active-region): Obey region-extract-function.
15543 2013-12-08 Leo Liu <sdl.web@gmail.com>
15545 * progmodes/flymake.el (flymake, flymake-error-bitmap)
15546 (flymake-warning-bitmap, flymake-fringe-indicator-position)
15547 (flymake-compilation-prevents-syntax-check)
15548 (flymake-start-syntax-check-on-newline)
15549 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
15550 (flymake-start-syntax-check-on-find-file, flymake-log-level)
15551 (flymake-xml-program, flymake-master-file-dirs)
15552 (flymake-master-file-count-limit)
15553 (flymake-allowed-file-name-masks): Relocate.
15554 (flymake-makehash, flymake-float-time)
15555 (flymake-replace-regexp-in-string, flymake-split-string)
15556 (flymake-get-temp-dir): Remove.
15557 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
15558 (flymake-current-row, flymake-selected-frame)
15559 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
15560 related functions. (Bug#16077)
15562 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
15564 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
15566 2013-12-07 Tassilo Horn <tsdh@gnu.org>
15568 * help-fns.el (describe-function-1): Use new advice-* functions
15569 rather than old ad-* functions. Fix function type description and
15570 source links for advised functions and subrs.
15572 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15574 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
15576 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
15578 * progmodes/compile.el (compilation-start):
15579 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
15581 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
15582 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
15584 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15586 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
15587 Touch up the last change.
15589 2013-12-06 Leo Liu <sdl.web@gmail.com>
15591 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
15592 (inferior-octave-startup): Always use "octave> " for prompt.
15593 (octave-goto-function-definition)
15594 (octave-sync-function-file-names)
15595 (octave-find-definition-default-filename): Remove redundant backquotes.
15597 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15599 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
15601 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
15602 where appropriate already.
15603 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
15604 end of method names (Bug#15874).
15606 2013-12-06 Juri Linkov <juri@jurta.org>
15608 * isearch.el (isearch--saved-overriding-local-map):
15609 New internal variable.
15610 (isearch-mode): Set it to the initial value of
15611 `overriding-terminal-local-map'.
15612 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
15613 with `isearch--saved-overriding-local-map'. (Bug#16035)
15615 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15617 * progmodes/octave.el (inferior-octave-completion-table):
15618 Turn back into function, use `completion-table-with-cache'
15619 (Bug#11906). Update all references.
15621 * minibuffer.el (completion-table-with-cache): New function.
15623 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
15625 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
15627 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
15629 * net/eww.el (eww-current-source): New variable to store page
15631 (eww-display-html, eww-mode, eww-save-history)
15632 (eww-restore-history): Use it.
15633 (eww-view-source): New command to view page source.
15634 Opportunistically uses `html-mode' to highlight the buffer.
15635 (eww-mode-map): Install it.
15637 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
15639 * net/dbus.el (dbus-unregister-service)
15640 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
15642 (dbus-unregister-service): Skip :serial entries in
15643 `dbus-registered-objects-table'.
15644 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
15646 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
15648 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
15649 around keywords with extra `split-string' argument.
15651 2013-12-04 Martin Rudalics <rudalics@gmx.at>
15653 * windmove.el (windmove-other-window-loc): Handle navigation
15654 between windows (excluding the minibuffer window - Bug#16017).
15656 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
15658 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
15659 in D-Bus type syntax.
15660 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
15661 preserve unibyte strings. (Bug#16048)
15663 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15665 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
15666 Call force-mode-line-update is the proper buffer (bug#16042).
15668 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
15670 * vc/log-edit.el (log-edit-add-new-comment): Rename to
15671 `log-edit-remember-comment', make argument optional. Adjust all
15673 (log-edit-mode): Add `log-edit-remember-comment' to
15674 `kill-buffer-hook' locally.
15675 (log-edit-kill-buffer): Don't remember comment explicitly since
15676 the buffer is killed anyway.
15678 2013-12-04 Juri Linkov <juri@jurta.org>
15680 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
15681 add-hook and remove-hook for multi-buffer search. (Bug#16035)
15683 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
15685 * notifications.el (notifications-close-notification): Call the
15686 D-Bus method with ID being a `:uint32'. (Bug#16030)
15688 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
15690 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
15692 2013-12-03 Juri Linkov <juri@jurta.org>
15694 * progmodes/compile.el (compilation-start): Rename window alist
15695 entry `no-display-ok' to `allow-no-window'.
15697 * simple.el (shell-command): Add window alist entry
15698 `allow-no-window' to `display-buffer'.
15699 (async-shell-command): Doc fix.
15701 * window.el (display-buffer-no-window): New action function.
15702 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
15704 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15706 * vc/log-edit.el (log-edit-set-header): Extract from
15707 `log-edit-toggle-header'.
15708 (log-edit-extract-headers): Separate the summary, when extracted
15709 from header, from the rest of the message with an empty line.
15711 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
15712 line, if present, to the Summary header.
15714 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15716 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
15717 in current-buffer (bug#16029).
15719 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
15721 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
15722 (debugger-mode-map): Bind it.
15723 (debugger--backtrace-base): New function.
15724 (debugger-eval-expression): Use it.
15725 (debugger-frame-number): Skip local vars when present.
15726 (debugger--locals-visible-p, debugger--insert-locals)
15727 (debugger--show-locals, debugger--hide-locals): New functions.
15729 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
15731 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
15733 (tramp-get-remote-locale): New defun.
15734 (tramp-open-connection-setup-interactive-shell): Use it.
15736 2013-12-02 Leo Liu <sdl.web@gmail.com>
15738 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
15740 * progmodes/sh-script.el (sh-shell-process):
15741 * progmodes/octave.el (inferior-octave-process-live-p):
15742 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
15743 (gdb-inferior-io-sentinel):
15744 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
15746 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15748 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
15749 `save-selected-window' to `log-edit-hide-buf'. This makes
15750 `log-edit-show-files' idempotent.
15751 (log-edit-show-files): Mark the new window as dedicated.
15753 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15755 * vc/log-edit.el (log-edit-mode-map): Add binding for
15756 `log-edit-kill-biffer'.
15757 (log-edit-hide-buf): Add a FIXME comment.
15758 (log-edit-add-new-comment): New function, extracted from
15760 (log-edit-done, log-edit-add-to-changelog): Use it.
15761 (log-edit-kill-buffer): New command.
15763 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15765 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
15766 instead of killing the buffer.
15768 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15770 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
15772 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15774 * net/eww.el (eww-form-checkbox-selected-symbol)
15775 (eww-form-checkbox-symbol): New customizable variable.
15776 (eww-form-checkbox, eww-toggle-checkbox):
15777 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
15779 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
15780 (shr--get-media-pref, shr--extract-best-source): New function.
15781 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
15782 no :src tag was specified.
15784 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
15785 (eww-render): Handle `eww-use-external-browser-for-content-type'.
15786 Use \\` to match beginning of string instead of ^.
15787 (eww-browse-with-external-browser): Provide optional URL parameter.
15788 (eww-render): Set `eww-current-title' back to "".
15790 * net/shr.el (shr-tag-video): Display content for video if no
15791 poster is available.
15792 (shr-tag-audio): Add support for <audio> tag.
15794 * net/eww.el (eww-text-input-types): New const.
15795 (eww-process-text-input): Treat input types in
15796 `eww-text-input-types' as text.
15798 * net/shr.el (shr-tag-table): Fix comment typo.
15800 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15802 * net/eww.el (eww-follow-link): New command to avoid reloading
15803 pages when we follow #target links (bug#15243).
15804 (eww-quit): Special mode buffers shouldn't query before exiting.
15806 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15808 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
15811 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15813 * net/eww.el (eww-restore-history): Update the window title after
15814 moving in the history.
15815 (eww-current-dom): New variable used to save the current DOM.
15817 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
15819 * vc/log-edit.el (log-edit-mode-map): Add binding for
15820 `log-edit-beginning-of-line'.
15821 (log-edit-setup-add-author): New user option.
15822 (log-edit-beginning-of-line): New command.
15823 (log-edit): Move major mode call above the contents setup so that
15824 the local variable values are already applied.
15825 (log-edit): Only insert "Author: " when
15826 `log-edit-setup-add-author' is non-nil.
15827 (log-edit): When SETUP is non-nil, position point after ": "
15828 instead of point-min.
15830 2013-12-01 Glenn Morris <rgm@gnu.org>
15832 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
15834 2013-11-30 Eli Zaretskii <eliz@gnu.org>
15836 * startup.el (fancy-splash-frame): On MS-Windows, trigger
15837 redisplay to make sure the initial frame gets a chance to become
15838 visible. (Bug#16014)
15840 2013-11-30 Martin Rudalics <rudalics@gmx.at>
15842 Support resizing frames and windows pixelwise.
15843 * cus-start.el (frame-resize-pixelwise)
15844 (window-resize-pixelwise): New entries.
15845 * emacs-lisp/debug.el (debug): Use window-total-height instead
15846 of window-total-size.
15847 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
15848 * help.el (describe-bindings-internal): Use help-buffer as
15849 argument for with-help-window.
15850 (temp-buffer-max-width): New option.
15851 (resize-temp-buffer-window, help-window-setup)
15852 (with-help-window): Rewrite.
15853 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
15855 * window.el (frame-char-size, window-min-pixel-height)
15856 (window-safe-min-pixel-height, window-safe-min-pixel-width)
15857 (window-min-pixel-width, window-safe-min-pixel-size)
15858 (window-combination-p, window-safe-min-size)
15859 (window-resizable-p, window--size-to-pixel)
15860 (window--pixel-to-size, window--resize-apply-p): New functions.
15861 (window-safe-min-height): Fix doc-string.
15862 (window-size, window-min-size, window--min-size-1)
15863 (window-sizable, window-sizable-p, window--min-delta-1)
15864 (window-min-delta, window--max-delta-1, window-max-delta)
15865 (window--resizable, window--resizable-p, window-resizable)
15866 (window-full-height-p, window-full-width-p, window-at-side-p)
15867 (window--in-direction-2, window-in-direction)
15868 (window--resize-reset-1, window--resize-mini-window)
15869 (window-resize, window-resize-no-error)
15870 (window--resize-child-windows-normal)
15871 (window--resize-child-windows, window--resize-siblings)
15872 (window--resize-this-window, window--resize-root-window)
15873 (window--resize-root-window-vertically)
15874 (adjust-window-trailing-edge, enlarge-window, shrink-window)
15875 (maximize-window, minimize-window, delete-window)
15876 (quit-restore-window, window-split-min-size, split-window)
15877 (balance-windows-2, balance-windows)
15878 (balance-windows-area-adjust, balance-windows-area)
15879 (window--state-get-1, window-state-get, window--state-put-1)
15880 (window--state-put-2, window-state-put)
15881 (display-buffer-record-window, window--display-buffer):
15882 Make functions handle pixelwise sizing of windows.
15883 (display-buffer--action-function-custom-type)
15884 (display-buffer-fallback-action):
15885 Add display-buffer-in-previous-window.
15886 (display-buffer-use-some-window): Resize window to height it had
15888 (fit-window-to-buffer-horizontally): New option.
15889 (fit-frame-to-buffer): Describe new values.
15890 (fit-frame-to-buffer-bottom-margin): Replace with
15891 fit-frame-to-buffer-margins.
15892 (window--sanitize-margin): New function.
15893 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
15894 using window-text-pixel-size.
15896 2013-11-30 Glenn Morris <rgm@gnu.org>
15898 * emacs-lisp/bytecomp.el (byte-compile-form):
15899 Make the `interactive-only' warning like the `obsolete' one.
15900 * comint.el (comint-run):
15901 * files.el (insert-file-literally, insert-file):
15902 * replace.el (replace-string, replace-regexp):
15903 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
15904 (goto-line, insert-buffer, next-line, previous-line):
15905 Tweak `interactive-only' spec.
15907 Stop keeping (most) generated cedet grammar files in the repository.
15908 * Makefile.in (semantic): New.
15909 (compile-main): Depend on semantic.
15911 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15913 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
15914 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
15916 * uniquify.el (uniquify-buffer-name-style): Change default.
15918 * loadup.el: Preload "uniquify".
15920 * time.el (display-time-update): Update all mode lines (bug#15999).
15922 * electric.el (electric-indent-mode): Enable by default.
15923 * loadup.el: Preload "electric".
15925 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
15927 * emacs-lisp/helpers.el (string-empty-p): New function.
15928 (string-blank-p): New function.
15930 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
15932 * imenu.el (imenu--index-alist): Add missing dot to the docstring
15935 2013-11-29 Andreas Politz <politza@fh-trier.de>
15936 * imenu.el (imenu--subalist-p): Don't error on non-conses and
15937 allow non-lambda lists as functions.
15938 (imenu--in-alist): Don't recurse into non-subalists.
15939 (imenu): Don't pass function itself as an argument (Bug#14029).
15941 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15943 * progmodes/python.el (python-mode-map): Remove binding for ":".
15944 (python-indent-electric-colon): Remove command.
15945 (python-indent-post-self-insert-function): Integrate the previous code
15946 of python-indent-electric-colon. Make it conditional on
15947 electric-indent-mode.
15948 (python-mode): Add ?: to electric-indent-chars.
15949 Move python-indent-post-self-insert-function to the end of
15950 post-self-insert-hook.
15952 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15954 * doc-view.el (doc-view-goto-page): Update mode-line.
15956 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
15958 2013-11-27 Glenn Morris <rgm@gnu.org>
15960 * international/charprop.el, international/uni-bidi.el:
15961 * international/uni-category.el, international/uni-combining.el:
15962 * international/uni-comment.el, international/uni-decimal.el:
15963 * international/uni-decomposition.el, international/uni-digit.el:
15964 * international/uni-lowercase.el, international/uni-mirrored.el:
15965 * international/uni-name.el, international/uni-numeric.el:
15966 * international/uni-old-name.el, international/uni-titlecase.el:
15967 * international/uni-uppercase.el:
15968 Remove generated files from VCS repository.
15970 2013-11-27 Eli Zaretskii <eliz@gnu.org>
15972 * filenotify.el (file-notify-add-watch): Don't special-case
15973 w32notify when computing the directory to watch.
15975 2013-11-27 Glenn Morris <rgm@gnu.org>
15977 Make bootstrap without generated uni-*.el files possible again.
15978 * loadup.el: Update command-line-args checking for unidata-gen.
15979 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
15980 * composite.el, international/characters.el:
15981 Handle unicode tables being undefined.
15983 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
15984 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
15985 (compile-main): Depend on leim rule.
15987 * loadup.el: Move leim-list.el to leim/ subdirectory.
15988 * startup.el (normal-top-level): No more leim directory.
15989 * international/ja-dic-cnv.el (skkdic-convert):
15990 Disable version-control and autoloads in output files.
15991 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
15992 Disable version-control and autoloads in output files.
15993 * leim/quail: Move here from ../leim.
15994 * leim/quail/hangul.el (hangul-input-method-activate):
15995 Add autoload cookie.
15996 (generated-autoload-load-name): Set file-local value.
15997 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
15998 (generated-autoload-load-name): Set file-local value.
16000 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
16002 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
16003 (eww-add-bookmark): Ask confirmation when add to bookmarks.
16004 (eww-quit): Ask confirmation before quitting eww.
16006 2013-11-26 Eli Zaretskii <eliz@gnu.org>
16008 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
16009 reading output from Diff on MS-Windows and MS-DOS.
16011 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
16013 * emacs-lisp/helpers.el (string-reverse): New function.
16015 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
16017 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
16018 names on MS Windows, like "/[::1]:".
16020 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
16023 2013-11-26 Glenn Morris <rgm@gnu.org>
16025 * progmodes/python.el (python-indent-guess-indent-offset):
16026 Avoid corner-case error. (Bug#15975)
16028 Preload leim-list.el. (Bug#4789)
16029 * loadup.el: Load leim-list.el when found.
16030 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
16032 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
16034 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
16036 * emacs-lisp/helpers.el (string-join): New function.
16038 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
16040 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16041 Mark as obsolete and replace it with a symbol property.
16042 (byte-compile-form): Use new 'interactive-only property.
16043 * comint.el, files.el, replace.el, simple.el:
16044 Apply new 'interactive-only properly.
16046 2013-11-25 Martin Rudalics <rudalics@gmx.at>
16048 * window.el (display-buffer-at-bottom): Make sure that
16049 split-window-sensibly creates the new window on bottom
16052 2013-11-23 David Kastrup <dak@gnu.org>
16054 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
16055 on the conflict markers when available.
16056 (smerge--get-marker): New function.
16057 (smerge-end-re, smerge-base-re): Add subgroup.
16059 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16061 * frame.el (handle-focus-in, handle-focus-out): Add missing
16064 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
16066 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
16067 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
16069 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16071 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
16072 (gomoku--last-pos): New var.
16073 (gomoku--intangible-chars): New const.
16074 (gomoku--intangible): New function.
16075 (gomoku-mode): Use it. Derive from special-mode.
16076 (gomoku-move-up): Adjust line count.
16077 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
16078 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
16079 Simplify accordingly.
16081 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
16082 Remove blink-cursor code.
16083 (blink-cursor-timer-function, blink-cursor-suspend):
16084 Don't special-case GUIs.
16085 (blink-cursor-mode): Use focus-in/out-hook.
16087 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
16089 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
16090 work when annotation is invisible (Bug#13886).
16092 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
16094 * json.el (json-alist-p): Only return non-nil if the alist has
16095 simple keys (Bug#13518).
16097 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
16099 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
16100 when control-statement is the first statement in a buffer (Bug#15956).
16102 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
16104 * imenu.el (imenu-generic-skip-comments-and-strings):
16105 New option (Bug#15560).
16106 (imenu--generic-function): Use it.
16108 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
16110 * minibuffer.el (completion--in-region-1): Scroll the correct window.
16113 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
16115 * emacs-lisp/helpers.el: Add some string helpers.
16116 (string-trim-left): Removes leading whitespace.
16117 (string-trim-right): Removes trailing whitespace.
16118 (string-trim): Removes leading and trailing whitespace.
16120 * subr.el (string-suffix-p): New function.
16122 2013-11-23 Glenn Morris <rgm@gnu.org>
16124 * progmodes/python.el (python-shell-send-file):
16125 Add option to delete file when done. (Bug#15647)
16126 (python-shell-send-string, python-shell-send-region): Use it.
16128 2013-11-23 Ivan Shmakov <ivan@siamics.net>
16130 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
16131 to set buffer-read-only to t, never to nil. (Bug#15938)
16133 * textmodes/tex-mode.el (latex-noindent-environments):
16134 Add safe-local-variable property. (Bug#15936)
16136 2013-11-23 Glenn Morris <rgm@gnu.org>
16138 * textmodes/enriched.el (enriched-mode): Doc fix.
16139 * emacs-lisp/authors.el (authors-renamed-files-alist):
16140 Add enriched.doc -> enriched.txt.
16142 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
16144 2013-11-22 Leo Liu <sdl.web@gmail.com>
16146 * progmodes/octave.el (inferior-octave-startup): Spit out error
16149 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
16151 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
16154 (ruby-encoding-magic-comment-style): Add :version.
16156 2013-11-22 Leo Liu <sdl.web@gmail.com>
16158 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
16160 (octave-help-mode): Adapt to change to help-mode-finish to use
16161 derived-mode-p on 2013-09-17.
16162 (inferior-octave-prompt): Also match octave-gui.
16163 (octave-kill-process): Don't ask twice. (Bug#10564)
16165 2013-11-22 Leo Liu <sdl.web@gmail.com>
16167 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
16168 (inferior-octave-startup, inferior-octave-check-process)
16169 (inferior-octave-track-window-width-change)
16170 (octave-completion-at-point, octave-eldoc-function): Use it.
16171 (octave-kill-process): Provide confirmation. (Bug#10564)
16173 2013-11-21 Leo Liu <sdl.web@gmail.com>
16175 * progmodes/octave.el (octave-mode, inferior-octave-mode):
16176 Fix obsolete variable comment-use-global-state.
16178 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16180 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
16181 Add `octave-source-file'.
16182 (octave-source-file): New function. (Bug#15935)
16184 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
16186 * net/eww.el (eww-local-regex): New variable.
16187 (eww): Use it to detect localhost and similar.
16189 2013-11-21 Leo Liu <sdl.web@gmail.com>
16191 Add completion for command `ag'.
16192 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
16193 (pcomplete/ag): New function.
16194 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
16196 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16198 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
16200 (make-obsolete): Remove interactive spec.
16202 2013-11-21 Glenn Morris <rgm@gnu.org>
16204 * startup.el (command-line-1): Use path-separator with -L.
16206 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
16208 * emacs-lisp/package.el (describe-package-1): Add package archive
16211 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
16213 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
16214 Change default to "# encoding: %s" to differentiate it from the
16215 default Ruby encoding comment template.
16217 2013-11-20 Era Eriksson <era+emacsbugs@iki.fi>
16219 * ses.el (ses-mode): Doc fix. (Bug#14748)
16221 2013-11-20 Leo Liu <sdl.web@gmail.com>
16223 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
16225 2013-11-19 Dan Nicolaescu <dann@gnu.org>
16227 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
16228 when rebase or bisect are in progress.
16230 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
16232 * filenotify.el (file-notify-add-watch): Doc fix.
16234 2013-11-19 Leo Liu <sdl.web@gmail.com>
16236 * obsolete/rcompile.el: Mark obsolete.
16238 * progmodes/compile.el (compilation-start)
16239 (compilation-goto-locus, compilation-find-file):
16240 Pass no-display-ok and handle nil value from display-buffer.
16243 * window.el (display-buffer-alist, display-buffer): Document the
16244 new parameter no-display-ok. Return either a window or nil
16245 but never a non-window value.
16247 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16249 * electric.el (electric-indent-mode-map): Remove.
16250 (electric-indent-mode): Change the global-map instead (bug#15915).
16252 * textmodes/text-mode.el (paragraph-indent-minor-mode):
16255 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
16257 * emacs-lisp/nadvice.el (remove-function): Align with
16258 add-function's behavior.
16260 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
16261 (gdb--string-regexp): New constant.
16262 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
16263 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
16264 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
16266 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
16267 Adjust use accordingly.
16268 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
16270 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
16272 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
16273 interpolation curlies (Bug#15914).
16275 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
16277 * calc/calc.el (calc-context-sensitive-enter): New variable.
16278 (calc-enter): Use `calc-context-sensitive-enter'.
16280 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
16282 * progmodes/cfengine.el: Version bump.
16283 (cfengine-cf-promises): New defcustom to locate cf-promises.
16284 (cfengine3-vartypes): Add new "data" type.
16285 (cfengine3--current-word): New function to get current name-like
16286 word or its bounds.
16287 (cfengine3--current-function): New function to look up a CFEngine
16288 function's definition.
16289 (cfengine3-format-function-docstring): New function.
16290 (cfengine3-make-syntax-cache): New function.
16291 (cfengine3-documentation-function): New function: ElDoc glue.
16292 (cfengine3-completion-function): New function: completion glue.
16293 (cfengine3-mode): Set `compile-command',
16294 `eldoc-documentation-function', and add to
16295 `completion-at-point-functions'.
16297 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
16299 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
16300 `tramp-current-connection'.
16302 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
16304 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
16305 nil/self/true/false with "end of symbol".
16307 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
16309 * subr.el (version-regexp-alist): Fix a typo.
16311 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
16313 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
16314 "en_US.utf8" and "LC_CTYPE" to "".
16315 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
16316 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
16318 2013-11-15 Leo Liu <sdl.web@gmail.com>
16320 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
16322 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16324 * progmodes/gud.el (ctl-x-map):
16325 Remove C-x SPC binding. (Bug#12342)
16326 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
16328 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
16330 * subr.el (version-regexp-alist):
16331 Recognize hg, svn and darcs versions as snapshot versions.
16333 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
16334 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
16335 (ruby--encoding-comment-required-p): Extract from
16336 `ruby-mode-set-encoding'.
16337 (ruby-mode-set-encoding): Add the ability to always insert an
16338 utf-8 encoding comment. Fix and simplify coding comment update
16341 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
16343 * net/tramp-gvfs.el (top): Run init code only when
16344 `tramp-gvfs-enabled' is not nil.
16345 (tramp-gvfs-enabled): Check also :system bus.
16347 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16349 Sync with upstream verilog-mode revision 78e66ba.
16350 * progmodes/verilog-mode.el (verilog-end-of-defun)
16351 (verilog-type-completion, verilog-get-list): Remove unused funcs.
16352 (verilog-get-end-of-defun): Remove unused argument.
16353 (verilog-comment-depth): Remove unused local `e'.
16354 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
16355 Don't pass arg to verilog-get-end-of-defun.
16357 2013-11-14 Glenn Morris <rgm@gnu.org>
16359 * obsolete/assoc.el (aget): Prefix dynamic variable.
16361 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
16363 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16365 * widget.el, hfy-cmap.el: Remove bogus package version number.
16367 2013-11-13 Glenn Morris <rgm@gnu.org>
16369 * replace.el (replace-eval-replacement):
16370 Try to give more helpful error message. (Bug#15836)
16372 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16373 (archive-7z-update): Avoid custom type mismatches.
16375 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
16377 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
16379 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
16380 address can be empty.
16382 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
16383 Accept nil SWITCHES.
16384 (tramp-gvfs-handle-write-region): Implement APPEND.
16386 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
16388 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
16389 binary "|" operator and closing block args delimiter.
16390 Remove FIXME comment referring to Ruby 1.8-only syntax.
16391 (ruby-smie--implicit-semi-p): Not after "|" operator.
16392 (ruby-smie--closing-pipe-p): New function.
16393 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
16394 (ruby-smie-rules): Indent after "|".
16396 2013-11-12 Glenn Morris <rgm@gnu.org>
16398 * ps-print.el (ps-face-attribute-list):
16399 Handle anonymous faces. (Bug#15827)
16401 2013-11-12 Martin Rudalics <rudalics@gmx.at>
16403 * window.el (display-buffer-other-frame): Fix doc-string.
16406 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16408 * subr.el (force-mode-line-update): Delete, move to buffer.c.
16410 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
16412 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
16413 (tramp-sh-handle-file-local-copy): Don't write a message when
16414 saving temporary files.
16416 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
16417 both directories are remote.
16418 (tramp-smb-handle-directory-files): Do not return double entries.
16419 Do not expand full file names.
16420 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
16421 (tramp-smb-handle-write-region): Implement APPEND.
16422 (tramp-smb-get-stat-capability): Fix a stupid bug.
16424 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16426 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
16428 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16430 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
16431 throwing error over malformed let/let* (bug#15814).
16433 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16435 * iswitchb.el (iswitchb-mode): Mark obsolete.
16437 2013-11-11 Glenn Morris <rgm@gnu.org>
16439 * international/uni-bidi.el, international/uni-category.el:
16440 * international/uni-name.el, international/uni-numeric.el:
16441 Regenerate for Unicode 6.3.0.
16443 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
16445 * net/tramp.el (tramp-methods):
16446 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
16447 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
16449 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
16451 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16452 Force highlighting text after Summary keyword in doc face for rpm.
16454 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
16456 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
16457 available and the word has no wildcards, append one to the grep pattern.
16458 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
16459 (ispell-complete-word): Call `ispell-lookup-words' with the value
16460 independent of `ispell-look-p'.
16462 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16464 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
16466 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
16469 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16471 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
16472 (ruby-font-lock-keywords): Use backquote.
16474 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16476 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16477 (ruby-smie--backward-token): Only consider full-string matches.
16479 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
16481 * faces.el (describe-face): Add distant-foreground.
16483 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
16485 * progmodes/ruby-mode.el: Improve encoding comment handling.
16486 (ruby-encoding-magic-comment-style): New option.
16487 (ruby-custom-encoding-magic-comment-template): New option.
16488 (ruby--insert-coding-comment, ruby--detect-encoding):
16489 New functions extracted from `ruby-mode-set-encoding'.
16490 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
16491 to control the style of the auto-inserted encoding comment.
16493 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16495 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
16496 Use `smie-backward-sexp' with token argument.
16498 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
16500 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16501 Remove instrumentation code.
16503 2013-11-08 Glenn Morris <rgm@gnu.org>
16505 * progmodes/autoconf.el (autoconf-mode):
16506 Tweak comment-start-skip. (Bug#15822)
16508 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16510 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
16511 at bobp (bug#15826).
16512 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
16514 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
16516 * man.el (Man-start-calling): New macro, extracted from
16517 Man-getpage-in-background.
16518 (Man-getpage-in-background): Use it.
16519 (Man-update-manpage): New command.
16520 (Man-mode-map): Bind it.
16522 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16524 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
16525 of "and", "or", "&&" and "||".
16526 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
16527 argument. Prohibit opening curly brace because it could only be a
16528 block opener in that position.
16529 (ruby-smie--forward-token, ruby-smie--backward-token):
16530 Separate "|" from "&" or "*" going after it. That can happen in block
16532 (ruby-smie--indent-to-stmt): New function, seeks the end of
16533 previous statement or beginning of buffer.
16534 (ruby-smie-rules): Use it.
16535 (ruby-smie-rules): Check if there's a ":" before a curly block
16536 opener candidate; if there is, it's a hash.
16538 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16540 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
16541 (cl--block-wrapper): Fix last accidental change.
16543 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
16545 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16546 Instrument, in order to hunt failure on hydra.
16548 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16550 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
16551 malformed bindings form (bug#15814).
16553 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
16555 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
16556 "." compared to " @ ". This incidentally fixes some indentation
16557 examples with "do".
16558 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
16559 (ruby-smie-grammar): New tokens: "and" and "or".
16560 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
16561 Exclude "and" and "or". Remove "do" in order to work around token
16563 (ruby-smie-rules): Add all infix tokens. Handle the case of
16564 beginning-of-buffer.
16566 2013-11-06 Glenn Morris <rgm@gnu.org>
16568 * Makefile.in (setwins_almost, setwins_for_subdirs):
16569 Avoid accidental matches.
16571 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
16573 * menu-bar.el (popup-menu): Use key-binding.
16575 2013-11-06 Eli Zaretskii <eliz@gnu.org>
16577 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
16578 menus, support also the menus produced by minor modes.
16581 2013-11-06 Leo Liu <sdl.web@gmail.com>
16583 * thingatpt.el (thing-at-point-looking-at): Add optional arg
16584 DISTANCE to bound the search. All uses changed. (Bug#15808)
16586 2013-11-06 Glenn Morris <rgm@gnu.org>
16588 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
16589 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
16590 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
16592 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
16594 * electric.el (electric-indent-just-newline): New command.
16595 (electric-indent-mode-map): New keymap.
16596 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
16597 Re-add :group which weren't redundant.
16599 * electric.el (electric-indent-local-mode): New minor mode.
16600 (electric-indent-functions-without-reindent): New var.
16601 (electric-indent-post-self-insert-function): Use it.
16602 * emacs-lisp/gv.el (buffer-local-value): Add setter.
16604 2013-11-05 Eli Zaretskii <eliz@gnu.org>
16606 * international/quail.el (quail-help): Be more explicit about the
16607 meaning of the labels shown on the keys. (Bug#15800)
16609 * startup.el (normal-top-level): Load the subdirs.el files before
16610 setting the locale environment. (Bug#15805)
16612 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16614 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
16615 via arguments so as to get the right ones (bug#15418).
16617 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
16619 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
16621 Fix problems found while writing a test suite.
16623 * net/tramp-compat.el (tramp-compat-load): New defun.
16624 * net/tramp.el (tramp-handle-load): Use it.
16626 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
16627 "(numberp ok-if-already-exists)" correctly.
16629 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
16631 * international/characters.el (glyphless-char-display-control):
16634 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
16636 * progmodes/python.el (python-mode):
16637 * progmodes/scheme.el (scheme-mode):
16638 * progmodes/prolog.el (prolog-mode):
16639 * progmodes/ruby-mode.el (ruby-mode):
16640 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
16641 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
16643 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16645 * rect.el (rectangle--highlight-for-redisplay):
16646 * emacs-lisp/smie.el (smie--next-indent-change):
16647 Use buffer-chars-modified-tick.
16649 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
16651 * electric.el (electric-indent-post-self-insert-function):
16652 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
16654 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
16656 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
16658 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16660 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
16663 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16665 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
16667 * progmodes/python.el: Fix up last change.
16668 (python-shell--save-temp-file): New function.
16669 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
16670 `string' comes from the current buffer.
16671 (python-shell-send-string-no-output): Remove `msg' arg.
16672 (python--use-fake-loc): New var.
16673 (python-shell-buffer-substring): Obey it. Try to compensate for the
16674 extra coding line added by python-shell--save-temp-file.
16675 (python-shell-send-region): Use python-shell--save-temp-file and
16676 python-shell-send-file directly. Add `nomain' argument.
16677 (python-shell-send-buffer): Use python-shell-send-region.
16678 (python-electric-pair-string-delimiter): New function.
16679 (python-mode): Use it.
16681 2013-11-04 Eli Zaretskii <eliz@gnu.org>
16683 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
16684 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
16685 environment and decoding all of the default-directory's to here
16687 (command-line): Decode also argv[0].
16689 * loadup.el: Error out if default-directory is a multibyte string
16690 when we are dumping.
16692 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
16694 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
16696 * emacs-lisp/package.el (package-menu-mode)
16697 (package-menu--print-info, package-menu--archive-predicate):
16698 Add Archive column to package list.
16700 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
16702 Fix problems found while writing a test suite.
16704 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
16705 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
16706 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
16707 to nil when running original file name handler. Otherwise,
16708 there are problems with constructs like "$$FOO".
16710 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
16713 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
16715 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
16717 * subr.el (version<, version<=, version=):
16718 Update docstrings with information for snapshot versions.
16720 * helpers.el: New library for misc helper functions.
16721 (hash-table-keys): New function returning a list of hash keys.
16722 (hash-table-values): New function returning a list of hash values.
16724 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
16726 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16727 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
16729 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
16731 * textmodes/fill.el (fill-single-char-nobreak-p): New function
16732 checking whether point is after a 1-letter word.
16734 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16736 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
16737 Don't infloop when expanding region over `multiline' syntax-type that
16738 begins a line (bug#15778).
16740 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16742 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
16743 Make it into a proper minor mode.
16744 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
16745 (rectangle-mark-mode-map): New keymap.
16746 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
16748 2013-11-04 Glenn Morris <rgm@gnu.org>
16750 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
16752 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16754 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
16755 (ruby-smie-rules): Use smie-rule-parent instead.
16757 * emacs-lisp/smie.el (smie-rule-parent): Always call
16758 smie-indent-virtual rather than only for hanging tokens.
16759 (smie--next-indent-change): New helper command.
16761 2013-11-03 Glenn Morris <rgm@gnu.org>
16763 * Makefile.in (abs_srcdir): Remove.
16764 (emacs): Unset EMACSLOADPATH.
16766 2013-11-02 Glenn Morris <rgm@gnu.org>
16768 * Makefile.in (EMACS): Use a relative filename.
16769 (abs_top_builddir): Remove.
16770 (custom-deps, finder-data, autoloads): Use --chdir.
16772 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
16774 Use relative filenames in TAGS files.
16775 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16776 (lisptagsfiles4, TAGS): Use relative file names.
16777 (TAGS-LISP): Remove.
16778 (maintainer-clean): No more TAGS-LISP file.
16780 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16781 (lisptagsfiles4): Use absolute filenames again.
16782 (TAGS, TAGS-LISP): Not everything needs to run in one line.
16783 Remove all *loaddefs files, not just the first. Remove esh-groups.
16784 (maintainer-clean): Delete TAGS, TAGS-LISP.
16786 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16788 * emacs-lisp/package.el (package-version-join):
16789 Recognize snapshot versions.
16791 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16793 * subr.el (version-regexp-alist): Add support for snapshot versions.
16795 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16797 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
16798 New function, replacement for `smie-rule-parent' for when we want to
16799 skip over our direct parent if it's an assignment token..
16800 (ruby-smie-rules): Use it.
16802 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16804 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
16805 unconditionally. Remove now unnecessary forward declarations.
16806 Remove XEmacs-specific setup.
16807 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
16808 (ruby-font-lock-syntactic-keywords)
16809 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
16810 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
16811 (ruby-here-doc-end-syntax): Remove.
16812 (ruby-mode): Don't check whether `syntax-propertize-rules' is
16813 defined as function.
16815 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16817 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
16819 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16821 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
16822 table and abbrev table, `define-derived-mode' does that for us
16825 2013-11-01 Glenn Morris <rgm@gnu.org>
16827 * Makefile.in: Remove manual mh-e dependencies (writing .elc
16828 files is atomic for some time, so no parallel compilation issues).
16830 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
16832 * faces.el (face-x-resources): Add :distant-foreground.
16833 (region): Use :distant-foreground for gtk and ns.
16835 2013-11-01 Tassilo Horn <tsdh@gnu.org>
16837 Allow multiple bibliographies when BibLaTeX is used rather than
16839 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
16840 (reftex-locate-bibliography-files): Us it.
16842 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
16844 * image.el (image-type-header-regexps): Fix the 'pbm' part to
16845 allow comments in pbm files.
16847 * term/w32-win.el (dynamic-library-alist): Support newer versions
16848 of libjpeg starting with v7: look only for the DLL from the
16849 version against which Emacs was built.
16850 Support versions of libpng beyond 1.4.x.
16851 Support libtiff v4.x.
16853 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16855 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
16856 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
16857 Add property :safe.
16858 (ruby-deep-arglist): Add property :type.
16860 2013-10-31 Glenn Morris <rgm@gnu.org>
16862 * Makefile.in (custom-deps, finder-data): No need to setq the target
16863 variables, we are in the right directory and the defaults work fine.
16865 2013-10-30 Glenn Morris <rgm@gnu.org>
16867 * Makefile.in (autoloads): Do not use abs_lisp.
16869 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16870 `newline' does not respect `standard-output', so use `princ'.
16872 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
16874 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
16875 * buff-menu.el (Buffer-menu--unmark): New function.
16876 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
16878 2013-10-30 Glenn Morris <rgm@gnu.org>
16880 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
16882 * emacs-lisp/package.el (lm-homepage): Declare.
16884 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
16887 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
16889 * Makefile.in (finder-data, autoloads, update-subdirs)
16890 (compile-main, compile-clean, compile-always, bootstrap-clean):
16891 Check return value of cd.
16892 (compile-calc): Remove.
16894 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16896 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
16898 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
16899 (byte-compile-and-folded): New function.
16900 (=, <, >, <=, >=): Use it.
16902 * dos-w32.el (minibuffer-history-case-insensitive-variables)
16903 (path-separator, null-device, buffer-file-coding-system)
16904 (lpr-headers-switches): Check system-type before modifying them.
16905 (find-buffer-file-type-coding-system): Mark obsolete.
16906 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
16907 find-file-not-found-set-buffer-file-coding-system.
16908 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
16909 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
16910 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
16911 (w32-direct-print-region-helper, w32-direct-print-region-function)
16912 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
16913 * startup.el (normal-top-level-add-subdirs-to-load-path):
16914 * ps-print.el (ps-print-region-function):
16915 * lpr.el (print-region-function): Use new name.
16917 * subr.el (custom-declare-variable-early): Remove function.
16918 (custom-declare-variable-list): Remove var.
16919 (error, user-error): Remove `while' loop.
16920 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
16921 (user-emacs-directory-warning, locate-user-emacs-file):
16923 * simple.el (read-quoted-char-radix, read-quoted-char):
16924 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
16926 * custom.el (custom-declare-variable-list): Don't process
16927 custom-declare-variable-list.
16929 * progmodes/python.el (python-shell-get-buffer): New function.
16930 (python-shell-get-process): Use it.
16931 (python-shell-send-string): Always use utf-8 and add a cookie to tell
16932 Python which encoding was used. Don't split-string since we only care
16933 about the first line. Return the temp-file, if applicable.
16934 (python-shell-send-region): Tell compile.el how to turn locations in
16935 the temp-file into locations in the source buffer.
16937 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
16939 * subr.el (undefined): Add missing behavior from the C code for
16942 * rect.el: Use lexical-binding. Add new rectangular region support.
16943 (rectangle-mark): New command.
16944 (rectangle--region): New var.
16945 (deactivate-mark-hook): Reset rectangle--region.
16946 (rectangle--extract-region, rectangle--insert-for-yank)
16947 (rectangle--highlight-for-redisplay)
16948 (rectangle--unhighlight-for-redisplay): New functions.
16949 (region-extract-function, redisplay-unhighlight-region-function)
16950 (redisplay-highlight-region-function): Use them to handle
16951 rectangular region.
16952 * simple.el (region-extract-function): New var.
16953 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
16954 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
16955 (kill-region): Replace obsolete `yank-handler' arg with `region'.
16956 (copy-region-as-kill, kill-ring-save): Add `region' argument.
16957 (redisplay-unhighlight-region-function)
16958 (redisplay-highlight-region-function): New vars.
16959 (redisplay--update-region-highlight): New function.
16960 (pre-redisplay-function): Use it.
16961 (exchange-point-and-mark): Don't deactivate the mark before
16962 reactivate-it anyway.
16963 * comint.el (comint-kill-region): Remove yank-handler argument.
16964 * delsel.el (delete-backward-char, backward-delete-char-untabify)
16965 (delete-char): Remove property, since it's now part of their
16967 (self-insert-iso): Remove property since this command doesn't exist.
16969 * emacs-lisp/package.el (package--download-one-archive)
16970 (describe-package-1): Don't query the user about final newline.
16972 2013-10-29 Daniel Colascione <dancol@dancol.org>
16974 * net/tramp.el (tramp-methods): Document new functionality.
16975 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
16976 tramp-hostname-checker if method provides one instead of scanning
16977 argument list for "%h" to decide hostname acceptability.
16979 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
16981 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16982 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16983 Handle COPY-CONTENTS. (Bug#15737)
16985 2013-10-28 Daiki Ueno <ueno@gnu.org>
16987 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
16988 Document that this option has no effect with GnuPG 2.0 (bug#15552).
16990 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
16992 * image.el (defimage, image-load-path): Doc fixes.
16994 2013-10-27 Alan Mackenzie <acm@muc.de>
16996 Indent statements in macros following "##" correctly.
16997 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16998 Modify the "#" arm of a cond form to handle "#" and "##" operators.
17000 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
17002 * linum.el (linum-update-window): Fix boundary test (bug#13446).
17004 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
17006 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
17007 after `=' is probably a new expression.
17009 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17011 * man.el (man-imenu-title): New option.
17012 (Man-mode-map): Add menu. (Bug#15722)
17013 (Man-mode): Add imenu to menu.
17015 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
17017 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
17018 specific in what the first arg can be: a non-keyword word,
17019 string/regexp/percent literal opener, opening paren, or unary
17020 operator followed directly by word.
17022 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17024 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
17025 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
17026 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
17027 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
17028 Remove vars, they do not apply any more.
17029 (prolog-mode-abbrev-table): Remove redundant declaration.
17030 (prolog-upper-case-string, prolog-lower-case-string): Remove.
17031 (prolog-use-smie): Remove.
17032 (prolog-smie-rules): Add indentation rule for the if-then-else layout
17033 supported by prolog-electric-if-then-else-flag.
17034 (prolog-mode-variables, prolog-menu): Use setq-local.
17035 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
17036 Remove binding to `Backspace' since this key doesn't exist anyway.
17037 Remove bindings for electric self-inserting keys.
17038 (prog-mode): Assume it's defined.
17039 (prolog-post-self-insert): New function.
17040 (prolog-mode): Use it.
17041 (prolog-indent-line, prolog-indent-level)
17042 (prolog-find-indent-of-matching-paren)
17043 (prolog-indentation-level-of-line, prolog-goto-comment-column)
17044 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
17045 (prolog-goto-next-paren, prolog-in-string-or-comment)
17046 (prolog-tokenize, prolog-inside-mline-comment)
17047 (prolog-find-start-of-mline-comment): Remove functions.
17048 (prolog-find-unmatched-paren, prolog-clause-end)
17049 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
17050 (prolog-electric--if-then-else): Rename from
17051 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
17052 (prolog-tokenize-searchkey): Remove const.
17053 (prolog-clause-info): Use forward-sexp.
17054 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
17055 (prolog-electric-if-then-else): Remove commands.
17056 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
17057 for use in post-self-insert-hook.
17058 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
17059 for use in post-self-insert-hook.
17060 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
17061 for use in post-self-insert-hook.
17062 (prolog-electric--underscore): Rename from prolog-electric--underscore;
17063 adapt it for use in post-self-insert-hook.
17065 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
17067 * emacs-lisp/ert.el (ert-run-tests-interactively):
17068 Use `completing-read'. (Bug#9756)
17070 2013-10-25 Eli Zaretskii <eliz@gnu.org>
17072 * simple.el (line-move): Call line-move-1 instead of
17073 line-move-visual when the current window hscroll is zero, but
17074 temporary-goal-column indicates we will need to hscroll as result
17075 of the movement. (Bug#15712)
17077 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
17079 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
17080 capitalization. Use :visible instead of :active.
17081 Fix `ruby-indent-exp' reference. Add menu items for the generic
17082 commands that are used with SMIE.
17083 (ruby-do-end-to-brace): Insert space after `{'.
17085 2013-10-25 John Anthony <john@jo.hnanthony.com>
17087 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
17089 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
17091 2013-10-25 Glenn Morris <rgm@gnu.org>
17093 * vc/vc.el (vc-print-log): Don't use a working revision unless
17094 one was explicitly specified. (Bug#15322)
17096 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17098 * subr.el (add-to-list): Preserve return value in compiler-macro
17101 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17103 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
17104 result. Ask user to retry using '-all' flag. (Bug#15701)
17106 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17108 * emacs-lisp/smie.el: New smie-config system.
17109 (smie-config): New defcustom.
17110 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
17111 (smie-config-guess, smie-config-save): New commands.
17112 (smie-config--mode-local, smie-config--buffer-local)
17113 (smie-config--trace, smie-config--modefuns): New vars.
17114 (smie-config--advice, smie-config--mode-hook)
17115 (smie-config--setter, smie-config-local, smie-config--get-trace)
17116 (smie-config--guess-value, smie-config--guess): New functions.
17117 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
17118 text properties. Treat "string fence" syntax like string syntax.
17120 * progmodes/sh-script.el (sh-use-smie): Change default.
17121 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
17122 (sh-var-value): Simplify by CSE.
17123 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
17124 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
17126 (sh-guess-basic-offset): Use cl-incf.
17127 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
17129 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
17131 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
17134 2013-10-24 Glenn Morris <rgm@gnu.org>
17136 * Makefile.in (abs_top_srcdir): Remove.
17137 (update-subdirs): Use relative path to update-subdirs.
17139 2013-10-24 Eli Zaretskii <eliz@gnu.org>
17141 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
17142 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
17143 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
17144 Call unmsys--file-name before expand-file-name, not after it.
17146 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
17148 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
17149 (ert-test-skipped): New error.
17150 (ert-skip, ert-stats-skipped): New defuns.
17151 (ert--skip-unless): New macro.
17152 (ert-test-skipped): New struct.
17153 (ert--run-test-debugger, ert-test-result-type-p)
17154 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
17155 (ert--stats-set-test-and-result, ert-char-for-test-result)
17156 (ert-string-for-test-result, ert-run-tests-batch)
17157 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
17158 Handle skipped tests. (Bug#9803)
17160 2013-10-24 Glenn Morris <rgm@gnu.org>
17162 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
17164 * Makefile.in (abs_top_srcdir): New, set by configure.
17165 (update-subdirs): Correct build-aux location.
17167 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
17169 * vc/vc.el (vc-print-root-log): Always set `default-directory'
17170 value, whether we could auto-deduce `backend', or not.
17172 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
17173 with parameters" example. Simplify the "is it block or is it
17174 hash" check, but also make it more thorough.
17176 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
17178 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
17180 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17182 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
17183 { if it is hanging.
17185 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
17188 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
17190 * progmodes/compile.el (compilation-directory-matcher)
17191 (compilation-page-delimiter):
17192 Support GNU Make-4.0 directory quoting. (Bug#15678)
17194 2013-10-23 Leo Liu <sdl.web@gmail.com>
17196 * ido.el (ido-tidy): Handle read-only text.
17198 2013-10-23 Glenn Morris <rgm@gnu.org>
17200 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
17201 (emacs, compile, compile-always):
17202 Quote entities that might contain whitespace.
17203 (custom-deps, finder-data, autoloads): Use abs_lisp.
17204 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
17205 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
17206 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
17208 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
17210 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
17211 Use `following-char'.
17213 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17215 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
17216 * progmodes/ruby-mode.el (ruby-smie-rules):
17217 Remove corresponding workaround. Fix indentation rule of ";" so it
17218 also applies when ";" is the parent.
17220 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
17222 * frame.el (display-screens, display-pixel-height)
17223 (display-pixel-width, display-mm-width, display-backing-store)
17224 (display-save-under, display-planes, display-color-cells)
17225 (display-visual-class, display-monitor-attributes-list):
17226 Mention the optional ‘display’ argument in doc strings.
17228 2013-10-22 Michael Gauland <mikelygee@amuri.net>
17230 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
17231 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
17233 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
17235 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
17236 TODO. Add "." after " @ ".
17237 (ruby-smie--at-dot-call): New function. Checks if point at method
17238 call with explicit target.
17239 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
17240 to the method name tokens when it precedes them.
17241 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
17242 (ruby-smie-rules): Add rule for indentation before and after "."
17245 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17247 * textmodes/remember.el (remember-diary-extract-entries):
17250 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
17253 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
17255 * progmodes/ruby-mode.el (ruby-smie-grammar):
17256 Add (almost) all infix operators.
17257 (ruby-smie--implicit-semi-p): Add new operator chars.
17259 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
17261 (ruby-smie--args-separator-p): Check that there's no newline
17262 between method call and its arguments.
17264 2013-10-20 Alan Mackenzie <acm@muc.de>
17266 Allow comma separated lists after Java "implements".
17268 * progmodes/cc-engine.el (c-backward-over-enum-header):
17270 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
17271 from a "disallowed" list in enum fontification.
17273 2013-10-20 Johan Bockgård <bojohan@gnu.org>
17275 * startup.el (default-frame-background-mode): Remove unused defvar.
17277 * progmodes/verilog-mode.el (verilog-mode): Don't set
17278 comment-indent-function globally.
17280 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
17282 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
17283 Move Info menu item creation to ns-win.el.
17285 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
17288 * menu-bar.el: Move GNUstep specific menus...
17290 * term/ns-win.el (ns-initialize-window-system): ... to here.
17292 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17294 * simple.el (newline): Only run post-self-insert-hook when
17295 called interactively.
17297 2013-10-19 Johan Bockgård <bojohan@gnu.org>
17299 * icomplete.el (icomplete-with-completion-tables): Add :version.
17301 2013-10-19 Alan Mackenzie <acm@muc.de>
17303 Fix fontification bugs with constructors and const.
17305 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
17306 CASE 2) Remove the check for the absence of a suffix construct
17307 after a function declaration with only types (no identifiers) in
17308 the parentheses. Also, accept a function declaration with just a
17309 type inside the parentheses, if this type can be positively
17310 recognised as such, or if a prefix keyword like "explicit" nails
17311 down the construct as a declaration.
17313 2013-10-19 Eli Zaretskii <eliz@gnu.org>
17315 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
17316 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
17317 the problem whereby selecting a menu item that leads to a
17318 minibuffer prompt moves the cursor out of the minibuffer window,
17319 making it hard to type at the prompt. Suggested by Stefan Monnier
17320 <monnier@iro.umontreal.ca>.
17322 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
17324 * menu-bar.el: Don't make Services menu.
17326 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17328 * ffap.el: Handle "/usr/include/c++/<version>" directories.
17329 (ffap-alist): Use ffap-c++-mode for c++-mode.
17330 (ffap-c++-path): New variable.
17331 (ffap-c++-mode): New function.
17333 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
17335 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
17337 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
17339 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
17340 introduced on 2013-09-08, which results in an infinite loop
17341 requesting a password.
17343 2013-10-18 Glenn Morris <rgm@gnu.org>
17345 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
17347 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
17349 Sync with upstream verilog-mode revision 1a6ecec7.
17350 * progmodes/verilog-mode.el (verilog-mode-version): Update.
17351 (verilog-mode-release-date): Remove.
17352 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
17353 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
17354 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
17355 (verilog-auto-tieoff-ignore-regexp)
17356 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
17357 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
17358 (verilog-signals-with, verilog-dir-cache-preserving)
17359 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
17361 (verilog-case-fold): New option, to control case folding in
17362 regexp searches, bug597.
17363 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
17364 (verilog-string-match-fold, verilog-in-paren-count)
17365 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
17366 (verilog-at-close-struct-p): New functions.
17367 (verilog-beg-block-re-ordered, verilog-extended-case-re)
17368 (verilog-forward-sexp, verilog-set-auto-endcomments)
17369 (verilog-leap-to-case-head): Handle "unique0" case.
17370 (verilog-in-constraint-re): New constant.
17371 (verilog-keywords, verilog-type-font-keywords):
17372 Add some SystemVerilog 1800-2012 keywords.
17373 (verilog-label-be): Remove unimplemented argument, bug669.
17374 (verilog-batch-execute-func): When batch expanding clear
17375 create-lockfiles to prevent spurious user locks when a file ends
17377 (verilog-calculate-indent, verilog-calc-1)
17378 (verilog-at-close-constraint-p, verilog-at-constraint-p)
17379 (verilog-do-indent): Fix indentation of nested constraints
17381 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
17382 (verilog-auto-inst-param): Use verilog-string-match-fold.
17383 (verilog-read-inst-module-matcher):
17384 Fix AUTOINST on gate primitives with #1.
17385 (verilog-read-decls): Fix double-declaring user-defined typed signals.
17386 Reads all user-defined typed variables.
17387 (verilog-read-defines): Fix reading definitions inside comments, bug647.
17388 (verilog-signals-matching-regexp)
17389 (verilog-signals-not-matching-regexp, verilog-auto):
17390 Respect verilog-case-fold.
17391 (verilog-diff-report): Fix line count.
17392 (verilog-auto-assign-modport): Remove unused local `modi'.
17393 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
17394 better handle multidimensional arrays.
17395 Fix packed array ports misadding bit index in AUTOINST, bug637.
17396 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
17397 to not double-declare existing outputs and inputs, respectively.
17398 (verilog-template-map): Bind U to verilog-sk-uvm-component.
17399 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
17400 (verilog-sk-uvm-component): New skeleton.
17401 (verilog-submit-bug-report): Add verilog-case-fold,
17402 remove verilog-mode-release-date.
17404 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
17406 * subr.el (sit-for): Call (input-pending-p t) so as to behave
17409 2013-10-18 Reuben Thomas <rrt@sc3d.org>
17411 * textmodes/remember.el (remember): Set buffer-offer-save in
17412 remember buffers (bug#13566).
17414 2013-10-18 Daniel Colascione <dancol@dancol.org>
17416 When evaluating forms in ielm, direct standard output to ielm
17417 buffer. Add new ielm-return-for-effect command. Remove trailing
17418 whitespace throughout.
17420 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
17421 (ielm-return-for-effect): New command.
17422 (ielm-send-input): Accept optional `for-effect' parameter.
17423 (ielm-eval-input): Accept optional `for-effect' parameter.
17424 Bind `standard-output' to stream we create using
17425 `ielm-standard-output-impl'. Suppress printing result when
17427 (ielm-standard-output-impl): New function.
17428 (inferior-emacs-lisp-mode): Explain new features in documentation.
17430 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
17434 * net/tramp.el (tramp-debug-message): Do not check for connection
17436 (tramp-message): Use "vector" connection property.
17438 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
17439 (tramp-equal-remote, tramp-eshell-directory-change)
17440 * net/tramp-adb.el (tramp-adb-handle-copy-file)
17441 (tramp-adb-handle-rename-file)
17442 * net/tramp-cmds.el (tramp-list-remote-buffers)
17443 (tramp-cleanup-connection, tramp-cleanup-this-connection)
17444 * net/tramp-compat.el (tramp-compat-process-running-p)
17445 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
17446 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
17447 (tramp-gvfs-handle-rename-file)
17448 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
17449 (tramp-set-file-uid-gid)
17450 * net/tramp-smb.el (tramp-smb-handle-copy-file)
17451 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
17452 of `file-remote-p'.
17454 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
17455 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
17456 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
17457 (tramp-gw-open-network-stream): Suppress unrelated traces.
17459 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
17460 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
17461 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17462 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
17463 connection property.
17465 * net/tramp-cache.el (top): Suppress traces when reading
17468 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
17469 Refactor common code. Improve debug message.
17470 (tramp-maybe-open-connection)
17471 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
17472 connection buffer too early.
17474 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
17475 from `tramp-smb-actions-with-acl'.
17476 (tramp-smb-actions-set-acl): New defconst.
17477 (tramp-smb-handle-copy-directory)
17478 (tramp-smb-action-get-acl): New defun, renamed from
17479 `tramp-smb-action-with-acl'.
17480 (tramp-smb-action-set-acl): New defun.
17481 (tramp-smb-handle-set-file-acl): Rewrite.
17483 2013-10-17 Glenn Morris <rgm@gnu.org>
17485 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
17487 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17489 * skeleton.el (skeleton-newline): Remove.
17490 (skeleton-internal-1): Use (insert "\n") instead.
17492 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
17495 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
17496 forward-sexp-function while we redo its job (bug#15613).
17498 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
17500 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
17501 represented by lists.
17503 2013-10-16 Glenn Morris <rgm@gnu.org>
17505 * tmm.el (tmm--history): New dynamic variable.
17506 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
17508 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
17510 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
17511 (tramp-smb-errors): Add error messages.
17512 (tramp-smb-actions-with-acl): New defconst.
17513 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
17514 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
17515 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
17516 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
17517 (tramp-smb-get-stat-capability): Fix tests.
17519 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
17521 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
17524 2013-10-16 Glenn Morris <rgm@gnu.org>
17526 * ansi-color.el (ansi-color-drop-regexp):
17527 Add 1J, 1K, 2K. (Bug#15617)
17529 * files.el (hack-local-variables--warned-lexical): New.
17530 (hack-local-variables):
17531 Warn about misplaced lexical-binding. (Bug#15616)
17533 * net/eww.el (eww-render): Always set eww-current-url,
17534 and update header line. (Bug#15622)
17535 (eww-display-html): ... Rather than just doing it here.
17537 2013-10-15 Eli Zaretskii <eliz@gnu.org>
17539 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
17540 menu navigations commands.
17542 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
17544 * progmodes/subword.el (subword-capitalize): Be careful when
17545 the search for [[:alpha:]] fails (bug#15580).
17547 2013-10-14 Eli Zaretskii <eliz@gnu.org>
17549 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
17550 to commands that scroll the menu.
17552 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
17554 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
17555 Handle methods ending with `?' and `!'.
17557 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
17559 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
17560 `japanese-cp932' to `cp932' to fix the problem where saving a
17561 source file written in Shift_JIS twice would end up having
17562 `coding: japanese-cp932' which Ruby could not recognize.
17563 (ruby-mode-set-encoding): Add support for encodings mapped to nil
17564 in `ruby-encoding-map'.
17565 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
17566 doesn't need to be explicitly declared in magic comment.
17567 (ruby-encoding-map): Add type declaration for better customize UI.
17569 2013-10-13 Glenn Morris <rgm@gnu.org>
17571 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
17572 Occur buffers are read-only. http://bugs.debian.org/720775
17574 * emacs-lisp/authors.el (authors-fixed-entries):
17575 Comment out old alpha stuff.
17577 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
17579 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
17580 to `after-save-hook' instead of `before-save-hook'.
17581 (ruby-mode-set-encoding): Use the value of coding system used to
17582 write the file. Call `basic-save-buffer-1' after modifying the
17585 2013-10-13 Alan Mackenzie <acm@muc.de>
17587 Fix indentation/fontification of Java enum with
17588 "implements"/generic.
17590 * progmodes/cc-engine.el (c-backward-over-enum-header):
17591 Extracted from the three other places and enhanced to handle generics.
17592 (c-inside-bracelist-p): Uses new function above.
17593 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
17595 (c-font-lock-enum-tail): Uses new function above.
17597 2013-10-13 Kenichi Handa <handa@gnu.org>
17599 * international/mule-cmds.el (select-safe-coding-system): Remove a
17600 superfluous condition in chekcing whether a coding system is safe
17603 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
17605 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
17607 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
17609 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
17611 2013-10-13 Glenn Morris <rgm@gnu.org>
17613 * menu-bar.el (menu-bar-update-buffers):
17614 Unify Buffers menu prompt string. (Bug#15576)
17616 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
17618 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
17620 (authors-fixed-entries): Use accented form of name.
17622 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17624 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
17625 method calls (bug#15594).
17626 (ruby-smie--args-separator-p): New function.
17627 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
17628 recognize paren-free method calls.
17630 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
17631 internals of universal-argument.
17633 2013-10-11 Eli Zaretskii <eliz@gnu.org>
17635 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
17636 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
17637 dropped menu on second mouse click on the menu bar.
17639 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17641 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
17642 (explicit-shell-file-name): Declare.
17643 (sh--vars-before-point, sh--cmd-completion-table): New functions.
17644 (sh-completion-at-point-function): New function.
17646 (sh-smie--keyword-p): Remove unused argument.
17647 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
17649 (sh-set-shell): Always setup SMIE, even if we use the
17650 old indentation code.
17652 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
17654 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
17656 (ruby-smie-rules): Simplify the "do" rule. The cases when the
17657 predicate would return nil are almost non-existent.
17658 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
17660 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
17661 cache also after commands that modify the buffer but don't move
17664 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17666 * env.el (substitute-env-in-file-name): New function.
17667 (substitute-env-vars): Extend the meaning of the optional arg.
17669 2013-10-10 Eli Zaretskii <eliz@gnu.org>
17671 * term/w32-win.el (dynamic-library-alist): Define separate lists
17672 of GIF DLLs for versions before and after 5.0.0 of giflib.
17675 2013-10-10 João Távora <joaotavora@gmail.com>
17677 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
17678 not locked, use last revision and current source as
17679 defaults. (Bug#15569)
17681 2013-10-10 Masatake YAMATO <yamato@redhat.com>
17683 * menu-bar.el (menu-bar-open): Don't use popup-menu if
17684 menu-bar is hidden.
17686 2013-10-10 Martin Rudalics <rudalics@gmx.at>
17688 * window.el (pop-to-buffer-same-window): Fix doc-string.
17691 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17693 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
17695 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
17697 * calendar/icalendar.el (icalendar-import-file):
17698 Fix interactive spec. (Bug#15482)
17700 2013-10-10 Glenn Morris <rgm@gnu.org>
17702 * desktop.el (desktop-save): Default to saving in .emacs.d,
17703 since PWD is no longer in desktop-path by default. (Bug#15319)
17705 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
17706 now that text mode has a menu with the same entry.
17707 (menu-bar-text-mode-auto-fill): Remove now unused func.
17708 * textmodes/text-mode.el (text-mode-map):
17709 Use auto-fill help text from menu-bar.el.
17711 2013-10-10 John Anthony <john@jo.hnanthony.com>
17713 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
17715 2013-10-09 Juri Linkov <juri@jurta.org>
17717 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
17718 instead of this-command-keys. Add universal-argument-more and
17719 universal-argument-minus to the list of prefix commands. (Bug#15568)
17721 2013-10-09 Glenn Morris <rgm@gnu.org>
17723 * vc/vc-svn.el (vc-svn-create-repo):
17724 Expand paths in file://... url. (Bug#15446)
17726 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
17728 (authors): Remove unused local variables.
17730 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
17732 * profiler.el: Create a more coherent calltree from partial backtraces.
17733 (profiler-format): Hide the tail with `invisible' so that C-s can still
17734 find the hidden elements.
17735 (profiler-calltree-depth): Don't recurse so enthusiastically.
17736 (profiler-function-equal): New hash-table-test.
17737 (profiler-calltree-build-unified): New function.
17738 (profiler-calltree-build): Use it.
17739 (profiler-report-make-name-part): Indent the calltree less.
17740 (profiler-report-mode): Add visibility specs for profiler-format.
17741 (profiler-report-expand-entry, profiler-report-toggle-entry):
17742 Expand the whole subtree when provided with a prefix arg.
17744 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
17746 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
17748 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
17749 hanging iuwu-mod token.
17750 (ruby-smie--forward-token): Do not include a dot after a token in
17752 (ruby-smie--backward-token): Likewise.
17754 2013-10-08 Juri Linkov <juri@jurta.org>
17756 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
17757 to isearch-other-control-char.
17758 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
17759 and isearch-post-command-hook to post-command-hook.
17760 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
17761 and isearch-post-command-hook from post-command-hook.
17762 (isearch-unread-key-sequence)
17763 (isearch-reread-key-sequence-naturally)
17764 (isearch-lookup-scroll-key, isearch-other-control-char)
17765 (isearch-other-meta-char): Remove functions.
17766 (isearch-pre-command-hook, isearch-post-command-hook):
17767 New functions based on isearch-other-meta-char rewritten
17768 relying on the new behavior of overriding-terminal-local-map
17769 that does not replace the local keymaps any more. (Bug#15200)
17771 2013-10-08 Eli Zaretskii <eliz@gnu.org>
17773 Support menus on text-mode terminals.
17774 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
17777 * tooltip.el (tooltip-mode): Don't error out on TTYs.
17779 * menu-bar.el (popup-menu, popup-menu-normalize-position):
17780 Move here from mouse.el.
17781 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
17783 (tty-menu-navigation-map): New map for TTY menu navigation.
17785 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
17787 * frame.el (display-mouse-p): Report text-mode mouse as available
17789 (display-popup-menus-p): Report availability if mouse is
17790 available; don't condition on window-system.
17792 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
17793 (tty-menu-selected-face): New faces.
17795 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17797 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
17798 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
17799 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
17800 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
17802 (lisp-mode-variables): New `elisp' argument.
17803 (emacs-lisp-mode): Use it.
17804 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
17805 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
17807 * indent.el: Use lexical-binding.
17808 (indent-region): Add progress reporter.
17809 (tab-stop-list): Make it implicitly extend to infinity by repeating the
17811 (indent--next-tab-stop): New function to implement this behavior.
17812 (tab-to-tab-stop, move-to-tab-stop): Use it.
17814 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
17816 * indent.el (indent-rigidly--current-indentation): New function.
17817 (indent-rigidly-map): New var.
17818 (indent-rigidly): Use it to provide interactive mode (bug#8196).
17820 2013-10-08 Bastien Guerry <bzg@gnu.org>
17822 * register.el (insert-register): Fix 2013-10-07 change.
17824 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17826 * progmodes/perl-mode.el: Use lexical-binding.
17827 Remove redundant :group args.
17828 (perl-nochange): Change default to be closer to other major modes's
17830 (perl-indent-line): Don't consider text on current line as a
17831 valid beginning of function from which to indent.
17833 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
17834 with more than one argument (bug#15538).
17836 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
17838 * vc/pcvs.el: Use lexical-binding.
17839 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
17840 environment of `eval'.
17841 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
17842 than a list of expressions. Adjust callers.
17843 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
17845 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
17847 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
17848 case of the dot in a chained method call being on the following line.
17850 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17852 * electric.el (electric-indent-inhibit): New var.
17853 (electric-indent-post-self-insert-function): Use it.
17854 * progmodes/python.el (python-mode): Set it.
17856 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
17859 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
17861 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
17862 (css-mode): Use electric-indent-chars.
17864 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
17865 (font-lock-beg, font-lock-end): Move before first use.
17866 (nxml-mode): Use syntax-propertize-function.
17867 (nxml-after-change, nxml-after-change1): Adjust accordingly.
17868 (nxml-extend-after-change-region): Remove.
17869 * nxml/xmltok.el: Use lexical-binding.
17870 (xmltok-save): Use `declare'.
17871 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
17872 * nxml/nxml-util.el: Use lexical-binding.
17873 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
17875 * nxml/nxml-ns.el: Use lexical-binding.
17876 (nxml-ns-save): Use `declare'.
17877 (nxml-ns-prefixes-for): Avoid add-to-list.
17878 * nxml/rng-match.el: Use lexical-binding.
17879 (rng--ipattern): Use cl-defstruct.
17880 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
17881 (rng-cons-group-after, rng-subst-group-after)
17882 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
17883 Use closures instead of `(lambda...).
17885 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
17887 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
17890 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
17891 Use `tramp-handle-insert-file-contents'.
17892 (tramp-gvfs-handle-insert-file-contents): Remove function.
17894 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17895 Use `save-restriction' in order to keep markers.
17897 * net/trampver.el: Update release number.
17899 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17901 * progmodes/compile.el (compilation-parse-errors):
17902 Use compilation--put-prop.
17903 (compilation--ensure-parse): Check compilation-multiline.
17905 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
17907 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
17910 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
17912 * progmodes/ruby-mode.el: Fix recently added tests.
17913 (ruby-smie-grammar): Add - and +.
17914 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
17915 (ruby-smie--backward-id): New functions.
17916 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
17917 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
17920 2013-10-07 Leo Liu <sdl.web@gmail.com>
17922 * register.el (register-preview-delay)
17923 (register-preview-functions): New variables.
17924 (register-read-with-preview, register-preview)
17925 (register-describe-oneline): New functions.
17926 (point-to-register, window-configuration-to-register)
17927 (frame-configuration-to-register, jump-to-register)
17928 (number-to-register, view-register, insert-register)
17929 (copy-to-register, append-to-register, prepend-to-register)
17930 (copy-rectangle-to-register): Use register-read-with-preview to
17931 read register. (Bug#15525)
17933 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
17935 * net/network-stream.el (network-stream-open-starttls): Don't add
17936 --insecure if it's already present, because that gnutls-cli
17937 rejects getting that parameter twice.
17939 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
17941 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
17944 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
17946 * newcomment.el (comment-use-global-state): Change default value
17947 to t, mark obsolete (Bug#15251).
17948 (comment-beginning): In addition to `comment-to-syntax', check the
17949 value of `comment-use-global-state'.
17951 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17953 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
17954 (ruby-comment-column): Follow the global default, by default.
17955 (ruby-smie-grammar): Add assignment syntax.
17956 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
17957 open-paren, a comma, or a \.
17958 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
17959 and line continuations.
17960 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
17961 followed by implicit semi-colons. Add rule for string concatenation
17962 and for indentation at BOB.
17963 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
17965 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
17966 calling next-sexp, since next-token may have skipped chars which
17967 next-sexp doesn't know should be skipped!
17969 2013-10-05 Leo Liu <sdl.web@gmail.com>
17971 * progmodes/octave.el (octave-send-region):
17972 Call compilation-forget-errors.
17974 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
17976 * vc/vc-svn.el (vc-svn-find-admin-dir):
17977 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
17978 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
17979 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
17980 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
17982 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17984 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
17986 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
17988 * subr.el (read-passwd): Hide chars even when called within a context
17989 where after-change-functions is disabled (bug#15501).
17990 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
17991 until we removed ourself from overriding-terminal-local-map.
17993 2013-10-04 Leo Liu <sdl.web@gmail.com>
17995 * progmodes/octave.el (inferior-octave-mode):
17996 Call compilation-forget-errors.
17998 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
18000 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
18002 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
18004 * net/secrets.el (secrets-create-collection): Add optional
18005 argument ALIAS. Use proper Label keyword. Append ALIAS as
18006 dbus-call-method argument. (Bug#15516)
18008 2013-10-04 Leo Liu <sdl.web@gmail.com>
18010 * progmodes/octave.el (inferior-octave-error-regexp-alist)
18011 (inferior-octave-compilation-font-lock-keywords): New variables.
18012 (compilation-error-regexp-alist)
18013 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
18014 (inferior-octave-mode): Use compilation-shell-minor-mode.
18016 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
18018 * minibuffer.el (completion--replace): Be careful that `end' might be
18021 2013-10-03 Daiki Ueno <ueno@gnu.org>
18023 Add support for package signature checking.
18024 * emacs-lisp/package.el (url-http-file-exists-p)
18025 (epg-make-context, epg-context-set-home-directory)
18026 (epg-verify-string, epg-context-result-for)
18027 (epg-signature-status, epg-signature-to-string)
18028 (epg-check-configuration, epg-configuration)
18029 (epg-import-keys-from-file): Declare.
18030 (package-check-signature): New user option.
18031 (package-unsigned-archives): New user option.
18032 (package-desc): Add `signed' field.
18033 (package-load-descriptor): Set `signed' field if .signed file exists.
18034 (package--archive-file-exists-p): New function.
18035 (package--check-signature): New function.
18036 (package-install-from-archive): Check package signature.
18037 (package--download-one-archive): Check archive signature.
18038 (package-delete): Remove .signed file.
18039 (package-import-keyring): New command.
18040 (package-refresh-contents): Import default keyring.
18041 (package-desc-status): Add "unsigned" status.
18042 (describe-package-1, package-menu--print-info)
18043 (package-menu-mark-delete, package-menu--find-upgrades)
18044 (package-menu--status-predicate): Support "unsigned" status.
18046 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18048 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
18049 the new compilation scheme using the new byte-codes.
18051 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
18052 (byte-pophandler): New byte codes.
18053 (byte-goto-ops): Adjust accordingly.
18054 (byte-compile--use-old-handlers): New var.
18055 (byte-compile-catch): Use new byte codes depending on
18056 byte-compile--use-old-handlers.
18057 (byte-compile-condition-case--old): Rename from
18058 byte-compile-condition-case.
18059 (byte-compile-condition-case--new): New function.
18060 (byte-compile-condition-case): New function that dispatches depending
18061 on byte-compile--use-old-handlers.
18062 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
18065 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
18066 Optimize under `condition-case' and `catch' if
18067 byte-compile--use-old-handlers is nil.
18068 (disassemble-offset): Handle new bytecodes.
18070 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18072 * subr.el (error): Use `declare'.
18073 (decode-char, encode-char): Use advertised-calling-convention instead
18074 of the docstring to discourage use of the `restriction' arg.
18076 2013-10-03 Daiki Ueno <ueno@gnu.org>
18078 * epg.el (epg-verify-file): Add a comment saying that it does not
18079 notify verification error as a return value nor a signal.
18080 (epg-verify-string): Ditto.
18082 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18084 * progmodes/compile.el (compilation-start): Try globbing the arg to
18087 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
18089 Sync with Tramp 2.2.8.
18091 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
18092 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
18093 * net/trampver.el: Update release number.
18095 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
18097 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
18098 and default-process-coding-system for darwin only.
18100 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18102 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
18104 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
18106 * vc/vc-git.el (vc-git-grep): Disable pager.
18108 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
18110 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
18111 Use :url instead of :homepage, as per
18112 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
18114 * newcomment.el (comment-beginning): When `comment-use-syntax' is
18115 non-nil, use `syntax-ppss' (Bug#15251).
18117 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18119 * progmodes/octave.el (inferior-octave-startup-file):
18120 Prefer ~/.emacs.d/init_octave.m.
18122 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
18124 * emacs-lisp/package.el (package-desc-from-define):
18125 Accept additional arguments as plist, convert them to an alist and store
18126 them in the `extras' slot.
18127 (package-generate-description-file): Convert extras alist back to
18128 plist and append to the `define-package' form arguments.
18129 (package--alist-to-plist): New function.
18130 (package--ac-desc): Add `extras' slot.
18131 (package--add-to-archive-contents): Check if the archive-contents
18132 vector is long enough, and if it is, pass its `extras' slot value
18133 to `package-desc-create'.
18134 (package-buffer-info): Call `lm-homepage', pass the returned value
18135 to `package-desc-from-define'.
18136 (describe-package-1): Render the homepage button (Bug#13291).
18138 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18139 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
18141 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
18143 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
18144 and default-process-coding-system to utf-8-unix (Bug#15402).
18146 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
18148 * subr.el (looking-back): Do not recommend using looking-back.
18150 2013-09-28 Alan Mackenzie <acm@muc.de>
18152 Fix indentation/fontification of Java enum with "implements".
18154 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
18155 regexp which matches "implements", etc., in Java.
18156 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
18157 specifier clauses coming after "enum".
18158 * progmodes/cc-fonts.el (c-font-lock-declarations)
18159 (c-font-lock-enum-tail): Check for extra specifier clauses coming
18162 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
18164 * faces.el (region): Change ns_selection_color to
18165 ns_selection_fg_color, add ns_selection_bg_color.
18167 2013-09-28 Leo Liu <sdl.web@gmail.com>
18169 * progmodes/octave.el (inferior-octave-completion-table)
18170 (inferior-octave-completion-at-point): Minor tweaks.
18172 * textmodes/ispell.el (ispell-lookup-words): Rename from
18173 lookup-words. (Bug#15460)
18174 (lookup-words): Obsolete.
18175 (ispell-complete-word, ispell-command-loop): All uses changed.
18177 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18179 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
18180 (octave-mode-menu): Add octave-send-buffer.
18181 (octave-send-buffer): New function.
18183 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18185 * progmodes/octave.el (octave-mode-map): Add key binding for
18187 (octave-mode-menu): Add octave-lookfor.
18188 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
18190 (octave-lookfor): New function.
18192 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18194 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
18195 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
18197 (cl--loop-set-iterator-function): New function.
18198 (cl-loop): Adjust accordingly, so as not to use cl-subst.
18199 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
18200 Bind `it' with `let' instead of substituting it with `cl-subst'.
18201 (cl--unused-var-p): New function.
18202 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
18203 Eliminate some unused variable warnings (bug#15326).
18205 2013-09-27 Tassilo Horn <tsdh@gnu.org>
18207 * doc-view.el (doc-view-scale-reset): Rename from
18208 `doc-view-reset-zoom-level'.
18209 (doc-view-scale-adjust): New command.
18210 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
18211 `doc-view-scale-adjust'.
18213 2013-09-26 Tassilo Horn <tsdh@gnu.org>
18215 * doc-view.el (doc-view-reset-zoom-level): New command.
18216 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
18217 zoom commands (bug#15466).
18219 2013-09-26 Kenichi Handa <handa@gnu.org>
18221 * international/quail.el (quail-help): Make it not a command.
18223 2013-09-26 Leo Liu <sdl.web@gmail.com>
18225 * minibuffer.el (completion-all-sorted-completions): Make args
18226 optional as they are.
18228 2013-09-25 Daniel Colascione <dancol@dancol.org>
18230 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
18231 specs are and that they're not evaluated.
18233 2013-09-24 Sam Steingold <sds@gnu.org>
18235 * midnight.el (clean-buffer-list-kill-regexps)
18236 (clean-buffer-list-kill-buffer-names): Update for the new Man
18237 buffer naming which includes the object name.
18239 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18241 * eshell/esh-cmd.el (eshell--sep-terms): New var.
18242 (eshell-parse-command, eshell-parse-pipeline): Use it since
18243 eshell-separate-commands requires a dynamic scoped var.
18244 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
18246 2013-09-23 Leo Liu <sdl.web@gmail.com>
18248 * autoinsert.el (auto-insert-alist): Make the value of
18249 lexical-binding match its file setting.
18251 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
18253 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
18255 * autoarg.el (autoarg-kp-digit-argument):
18256 * electric.el (Electric-command-loop):
18257 * kmacro.el (kmacro-step-edit-insert):
18258 Do not set universal-argument-num-events.
18260 2013-09-22 Leo Liu <sdl.web@gmail.com>
18262 * files.el (interpreter-mode-alist): Add octave.
18264 2013-09-21 Alan Mackenzie <acm@muc.de>
18266 C++: fontify identifier in declaration following "public:" correctly.
18267 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
18268 to match "public", etc.
18269 (c-decl-prefix-re): Add ":" into the C++ value.
18270 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
18271 bit. Add a check for a ":" preceded by "public", etc.
18273 2013-09-21 Eli Zaretskii <eliz@gnu.org>
18275 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
18276 recognized by GDB 7.5 and later.
18278 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
18280 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
18282 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18284 * subr.el (internal--call-interactively): New const.
18285 (called-interactively-p): Use it (bug#3984).
18287 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
18289 * vc/pcvs.el (cvs-mode-ignore):
18290 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
18291 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
18293 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18295 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
18296 (eshell-ls-orig-insert-directory): Remove.
18297 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
18298 (eshell-ls-use-in-dired): Use advice-add/remove.
18299 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
18300 Add `orig-fun' arg for use in :around advice.
18301 Make it check (redundantly) eshell-ls-use-in-dired.
18303 2013-09-19 Glenn Morris <rgm@gnu.org>
18305 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
18307 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
18309 * emacs-lisp/eieio.el (class-parent): Undo previous change.
18311 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
18313 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
18314 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
18315 (tramp-get-remote-python): New defuns.
18316 (tramp-get-remote-uid-with-perl)
18317 (tramp-get-remote-gid-with-perl): New defuns. Perl code
18318 contributed by yary <not.com@gmail.com> (tiny change).
18319 (tramp-get-remote-uid-with-python)
18320 (tramp-get-remote-gid-with-python): New defuns. Python code
18321 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
18322 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
18324 2013-09-19 Glenn Morris <rgm@gnu.org>
18326 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
18328 * eshell/em-unix.el (eshell-remove-entries):
18329 Rename argument to avoid name-clash with global `top-level'.
18331 * eshell/esh-proc.el (eshell-kill-process-function):
18332 Remove eshell-reset-after-proc from eshell-kill-hook if present.
18333 (eshell-reset-after-proc): Remove unused arg `proc'.
18335 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
18336 (directory-files-and-attributes): Mark unused arg.
18338 * eshell/em-unix.el (eshell-remove-entries):
18339 Remove unused arg `path'. Update callers.
18341 * eshell/em-hist.el (eshell-hist-parse-arguments):
18342 Remove unused arg `silent'. Update callers.
18344 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
18345 Fix (f)boundp mix-up.
18347 * eshell/em-smart.el (eshell-smart-scroll-window)
18348 (eshell-disable-after-change):
18349 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
18351 2013-09-18 Alan Mackenzie <acm@muc.de>
18353 Fix fontification of type when followed by "const".
18354 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
18355 "known" types from fontification.
18357 2013-09-18 Glenn Morris <rgm@gnu.org>
18359 * emacs-lisp/chart.el (x-display-color-cells): Declare.
18360 (chart-face-list): Drop Emacsen without display-color-p.
18362 * net/eww.el (libxml-parse-html-region): Declare.
18363 (eww-display-html): Explicit error if no libxml2 support.
18365 * doc-view.el (doc-view-mode): Silence --without-x compilation.
18367 * image.el (image-type-from-buffer, image-multi-frame-p):
18368 Remove --without-x warning/error.
18370 * mouse.el (mouse-yank-primary):
18371 * term.el (term-mouse-paste):
18372 Reorder to silence --without-x compilation.
18374 * mpc.el (doc-view-mode): Silence --without-x compilation.
18376 * mail/rmailmm.el (rmail-mime-set-bulk-data):
18377 Silence --without-x compilation.
18379 * progmodes/gud.el (gud-find-file, gud-mode):
18380 Silence --without-x compilation.
18381 (tooltip-mode): Declare.
18383 * wdired.el (dired-backup-overwrite): Remove declaration.
18384 (wdired-mode-map): Add doc string.
18386 * custom.el (x-get-resource): Declare.
18388 * eshell/em-glob.el (ange-cache):
18389 * eshell/em-unix.el (ange-cache): Declare.
18391 * faces.el (x-display-list, x-open-connection, x-get-resource):
18394 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
18395 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
18398 * frame.el (x-display-grayscale-p, x-display-name): Declare.
18400 * net/gnutls.el (gnutls-log-level): Declare.
18402 * net/shr.el (image-size, image-animate): Declare.
18404 * simple.el (font-info): Declare.
18406 * subr.el (x-popup-dialog): Declare.
18408 * term/common-win.el (x-select-enable-primary)
18409 (x-last-selected-text-primary, x-last-selected-text-clipboard):
18412 * term/ns-win.el (x-handle-args): Declare.
18414 * term/x-win.el (x-select-enable-clipboard): Declare.
18416 * term/w32-win.el (create-default-fontset): Declare.
18418 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
18421 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
18422 (fit-frame-to-buffer): Explicit error if --without-x.
18423 (mouse-autoselect-window-select): Silence compiler.
18425 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18427 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
18428 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
18429 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
18430 * eshell/esh-util.el (eshell-sublist):
18431 Remove unused local variables.
18433 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
18435 * textmodes/two-column.el: Make 2C-split work for --without-x.
18436 (scroll-bar-columns): Autoload.
18437 (top-level): Require fringe when compiling.
18439 2013-09-18 Leo Liu <sdl.web@gmail.com>
18441 * subr.el (add-hook): Robustify to handle closure as well.
18443 2013-09-17 Glenn Morris <rgm@gnu.org>
18445 * simple.el (messages-buffer-mode-map): Unbind "g".
18447 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18449 * help-mode.el (help-mode-finish): Use derived-mode-p.
18450 Remove obsolete highlighting.
18452 * play/life.el (life-mode): Use define-derived-mode. Derive from
18454 (life): Let-bind inhibit-read-only.
18455 (life-setup): Avoid `setq'. Use `life-mode'.
18457 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
18458 which should not be needed any more.
18459 (package-menu-refresh, package-menu-describe-package): Use user-error.
18461 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
18462 (eshell-post-rewrite-command-hook): Make obsolete.
18463 (eshell-parse-command): Simplify.
18464 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
18465 (eshell--cmd): Declare.
18466 (eshell-parse-pipeline): Remove unused var `final-p'.
18467 Pass a dynvar to eshell-post-rewrite-command-hook.
18468 Implement the new eshell-post-rewrite-command-function.
18469 (eshell-invoke-directly): Remove unused arg `input'.
18470 * eshell/esh-io.el (eshell-io-initialize):
18471 Use eshell-post-rewrite-command-function (bug#15399).
18472 (eshell--apply-redirections): Rename from eshell-apply-redirections;
18473 adjust to new calling convention.
18474 (eshell-create-handles): Rename args to avoid clashing with dynvar
18477 2013-09-17 Glenn Morris <rgm@gnu.org>
18479 * simple.el (messages-buffer-mode): New major mode.
18480 (messages-buffer): New function.
18481 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
18482 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
18483 (ert-run-test): Use `messages-buffer' function.
18484 (ert--force-message-log-buffer-truncation): Ignore read-only.
18485 * help.el (view-echo-area-messages): Use `messages-buffer' function.
18486 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
18488 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18490 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
18492 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
18494 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18496 * icomplete.el (icomplete-in-buffer): New var.
18497 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
18498 vars and replace them with functions.
18499 (icomplete-minibuffer-setup): Adjust accordingly.
18500 (icomplete--completion-table, icomplete--completion-predicate)
18501 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
18503 (icomplete-forward-completions, icomplete-backward-completions)
18504 (icomplete-simple-completing-p, icomplete-exhibit)
18505 (icomplete-completions): Use them.
18506 (icomplete--in-region-buffer): New var.
18507 (icomplete--in-region-setup): New function.
18508 (icomplete-mode): Use it.
18510 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
18512 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
18513 return args and options.
18514 (eshell-eval-using-options): Use the new return value of
18515 eshell--do-opts to set the options's vars in their scope.
18516 (eshell--set-option): Rename from eshell-set-option.
18517 Add arg `opt-vals'.
18518 (eshell--process-option): Rename from eshell-process-option.
18519 Add arg `opt-vals'.
18520 (eshell--process-args): Use an `opt-vals' alist to store the options's
18521 values during their processing and return them additionally to the
18524 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
18526 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
18527 continuation character an operator, as far as indentation is
18528 concerned (Bug#15369).
18530 2013-09-15 Martin Rudalics <rudalics@gmx.at>
18532 * window.el (window--state-put-2): Don't process buffer state
18533 when buffer doesn't exist any more (Bug#15382).
18535 2013-09-15 Glenn Morris <rgm@gnu.org>
18537 * eshell/em-unix.el (eshell/rm):
18538 Make -f ignore missing files. (Bug#15373)
18540 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
18541 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
18542 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
18544 2013-09-14 Glenn Morris <rgm@gnu.org>
18546 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
18548 2013-09-13 Glenn Morris <rgm@gnu.org>
18550 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
18551 (dired-guess-default): Make `file' available in the env. (Bug#15363)
18553 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
18555 * frame.el (x-focus-frame): Mark as declared in frame.c.
18557 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18559 * ls-lisp.el: Use advice-add.
18560 (original-insert-directory): Remove.
18561 (ls-lisp--insert-directory): Rename from insert-directory; add
18562 `orig-fun' argument.
18563 (insert-directory): Advise.
18565 2013-09-13 Eli Zaretskii <eliz@gnu.org>
18567 * term.el (term-emulate-terminal): Decode the command string
18568 before passing it to term-command-hook. (Bug#15337)
18570 2013-09-13 Glenn Morris <rgm@gnu.org>
18572 * eshell/esh-util.el (ange-cache): Move declaration earlier.
18574 * eshell/esh-ext.el (eshell-search-path): Declare.
18576 * eshell/em-prompt.el (eshell/pwd): Autoload it.
18577 Otherwise an error occurs if eshell-dirs module not loaded.
18579 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
18581 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
18583 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
18584 `tramp-check-proper-host'. Check for a valid method name.
18586 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18587 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
18588 * net/tramp-sh.el (tramp-maybe-open-connection):
18589 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
18591 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
18592 also for hash values.
18594 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18596 * term/ns-win.el (parameters): Don't declare as dynamic.
18597 (before-make-frame-hook): Don't add ineffective function.
18599 * eshell/*.el: Use lexical-binding (bug#15231).
18601 2013-09-12 Kenichi Handa <handa@gnu.org>
18603 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
18605 2013-09-12 Glenn Morris <rgm@gnu.org>
18607 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
18608 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
18610 * subr.el (do-after-load-evaluation): Also give compiler warnings
18611 when obsolete files are used (except by obsolete files).
18613 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
18614 in the status output, assume `filename' is the first. (Bug#15322)
18616 * vc/vc.el (vc-deduce-fileset): Doc fix.
18618 * calc/calc-help.el (Info-goto-node):
18619 * progmodes/cperl-mode.el (Info-find-node):
18620 * vc/ediff.el (Info-goto-node): Update declarations.
18622 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
18624 * vc/vc-bzr.el (vc-compilation-mode): Declare.
18625 (vc-bzr-pull): Require vc-dispatcher.
18626 * vc/vc-git.el (vc-compilation-mode): Declare.
18627 (vc-git-pull): Require vc-dispatcher.
18629 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
18631 * progmodes/octave.el (help-button-action): Declare.
18633 * shell.el (shell-directory-tracker): Output error as a message
18634 rather than just returning it as a string.
18635 (shell-process-pushd): Remove useless use of message.
18637 * dframe.el (dframe-timer-fn):
18638 * files.el (dir-locals-read-from-file):
18639 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
18641 * reveal.el (reveal-post-command):
18642 * saveplace.el (load-save-place-alist-from-file):
18643 * shell.el (shell-resync-dirs):
18644 * w32-common-fns.el (x-get-selection-value):
18645 * emacs-lisp/copyright.el (copyright-find-copyright):
18646 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
18647 * emulation/tpu-edt.el (tpu-copy-keyfile):
18648 * play/bubbles.el (bubbles--mark-neighbourhood):
18649 * progmodes/executable.el
18650 (executable-make-buffer-file-executable-if-script-p):
18651 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
18653 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18655 Cleanup Eshell to rely less on dynamic scoping.
18656 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
18657 last-value, and ext-command here. Bind `args' closer to `body'.
18658 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
18659 (eshell--args): Declare new dynamic var.
18660 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
18661 last-value, and ext-command. Pass `args' to `body'.
18662 (eshell-process-args): Bind eshell--args.
18663 (eshell-set-option): Use eshell--args.
18664 * eshell/eshell.el (eshell): Use derived-mode-p.
18665 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
18666 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
18667 (eshell-glob-function): Declare.
18668 * eshell/esh-util.el: Require cl-lib.
18669 (eshell-read-hosts-file): Avoid add-to-list.
18670 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
18672 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
18674 (eshell/diff): Remove unused var `err'.
18675 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
18677 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
18678 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
18680 * eshell/em-glob.el (eshell-glob-matches, message-shown):
18681 Move declaration before first use.
18682 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
18683 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
18686 2013-09-12 Glenn Morris <rgm@gnu.org>
18688 * term/ns-win.el (global-map): Remove binding for ispell-next,
18689 deleted 1999-05-29. (Bug#15357)
18691 2013-09-11 Glenn Morris <rgm@gnu.org>
18693 * echistory.el (electric-command-history): Remove call to deleted func.
18695 * play/landmark.el (landmark-mode): Fix typos.
18697 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
18698 Check cvs-sort-ignore-file is bound.
18700 * savehist.el: No need for cl when compiling on Emacs.
18702 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18704 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
18706 (eshell-self-insert-command, eshell-send-invisible):
18707 Remove unused argument.
18708 (eshell-handle-control-codes): Remove unused var `orig'.
18709 Avoid delete-backward-char.
18711 * files.el (set-auto-mode): Simplify a bit further.
18713 2013-09-11 Glenn Morris <rgm@gnu.org>
18715 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
18716 (set-auto-mode): Don't regexp-quote elements.
18717 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
18718 * progmodes/cc-mode.el (interpreter-mode-alist):
18719 * progmodes/ruby-mode.el (interpreter-mode-alist):
18720 Revert previous change.
18722 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18724 * play/snake.el (snake-mode):
18725 * play/mpuz.el (mpuz-mode):
18726 * play/landmark.el (lm-mode):
18727 * play/blackbox.el (blackbox-mode):
18728 * play/5x5.el (5x5-mode):
18729 * obsolete/options.el (Edit-options-mode):
18730 * net/quickurl.el (quickurl-list-mode):
18731 * net/newst-treeview.el (newsticker-treeview-mode):
18732 * mail/rmailsum.el (rmail-summary-mode):
18733 * mail/mspools.el (mspools-mode):
18734 * locate.el (locate-mode):
18735 * ibuffer.el (ibuffer-mode):
18736 * emulation/ws-mode.el (wordstar-mode):
18737 * emacs-lisp/debug.el (debugger-mode):
18738 * array.el (array-mode):
18739 * net/eudc.el (eudc-mode): Use define-derived-mode.
18740 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
18741 Move initialization into declaration.
18742 (mairix-searches-mode): Use define-derived-mode.
18743 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
18744 (eudc-edit-hotlist): Use dolist.
18745 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
18746 (Man-mode): Use define-derived-mode.
18747 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
18748 (Info-edit-mode): Use define-derived-mode.
18749 (Info-cease-edit): Use Info-mode.
18750 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
18752 (eshell-mode): Use define-derived-mode.
18753 * chistory.el (command-history-mode-map): Rename from
18754 command-history-map.
18755 (command-history-mode): Use define-derived-mode.
18756 (Command-history-setup): Remove function.
18757 * calc/calc.el (calc-trail-mode-map): New var.
18758 (calc-trail-mode): Use define-derived-mode.
18759 (calc-trail-buffer): Set calc-main-buffer manually.
18760 * bookmark.el (bookmark-insert-annotation): New function.
18761 (bookmark-edit-annotation): Use it.
18762 (bookmark-edit-annotation-mode): Make it a proper major mode.
18763 (bookmark-send-edited-annotation): Use derived-mode-p.
18764 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
18765 closer to its ideal place. Use \' to match EOS.
18767 * profiler.el (profiler-calltree-find): Use function-equal.
18769 2013-09-10 Glenn Morris <rgm@gnu.org>
18771 * files.el (interpreter-mode-alist): Convert to regexps.
18772 (set-auto-mode): Adapt for this. (Bug#15306)
18773 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
18774 Comment out unused variable.
18775 * progmodes/cc-mode.el (interpreter-mode-alist):
18776 * progmodes/python.el (interpreter-mode-alist):
18777 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
18778 * progmodes/sh-script.el (sh-set-shell):
18779 No longer use interpreter-mode-alist to get list of shells.
18781 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
18783 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18785 * simple.el: Use set-temporary-overlay-map for universal-argument.
18786 (universal-argument-map): Don't use default-bindings (bug#15317).
18787 Bind switch-frame explicitly. Replace universal-argument-minus with
18788 a conditional binding.
18789 (universal-argument-num-events, saved-overriding-map): Remove.
18790 (restore-overriding-map): Remove.
18791 (universal-argument--mode): Rename from save&set-overriding-map,
18793 (universal-argument, universal-argument-more, negative-argument)
18794 (digit-argument): Adjust accordingly.
18795 (universal-argument-minus): Remove.
18796 (universal-argument-other-key): Remove.
18798 * subr.el (with-demoted-errors): Add `format' argument.
18800 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
18802 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
18803 `tramp-cleanup-connection'.
18805 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
18806 parameters KEEP-DEBUG and KEEP-PASSWORD.
18808 * net/tramp.el (tramp-file-name-handler):
18809 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18810 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18811 (tramp-maybe-open-connection):
18812 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18813 Use `tramp-cleanup-connection'.
18815 * net/tramp-sh.el (tramp-maybe-open-connection):
18816 Catch 'uname-changed inside the progress reporter.
18818 2013-09-10 Glenn Morris <rgm@gnu.org>
18820 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
18822 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
18823 returns "alternate access method" in mode (eg "-rw-r--r--.").
18825 2013-09-08 Glenn Morris <rgm@gnu.org>
18827 * saveplace.el (load-save-place-alist-from-file):
18828 Demote errors. (Bug#15305)
18830 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
18832 Improve compatibility with older Emacsen, and XEmacs.
18834 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
18835 only if it is bound. It isn't for XEmacs.
18836 (with-tramp-progress-reporter): Do not let-bind `result'.
18837 This yields to scoping errors in XEmacs.
18838 (tramp-handle-make-auto-save-file-name): New function, moved from
18841 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
18842 for `make-auto-save-file-name'.
18843 (tramp-adb--gnu-switches-to-ash):
18844 Use `tramp-compat-replace-regexp-in-string'.
18846 * net/tramp-cache.el (tramp-cache-print): Call
18847 `substring-no-properties' only if it is bound. It isn't for XEmacs.
18849 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
18850 bound. It isn't for XEmacs.
18852 * net/tramp-compat.el (tramp-compat-copy-file):
18853 Catch `wrong-number-of-arguments' error.
18854 (tramp-compat-replace-regexp-in-string): New defun.
18856 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
18857 for `make-auto-save-file-name'.
18858 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
18860 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
18861 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
18862 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
18864 * net/tramp-gw.el (tramp-gw-open-network-stream):
18865 Use `tramp-compat-replace-regexp-in-string'.
18867 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
18868 Call `tramp-handle-make-auto-save-file-name'.
18869 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
18870 (tramp-sh-file-gvfs-monitor-dir-process-filter)
18871 (tramp-sh-file-inotifywait-process-filter):
18872 Use `tramp-compat-replace-regexp-in-string'.
18873 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
18875 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
18876 for `make-auto-save-file-name'.
18877 (tramp-smb-handle-copy-directory):
18878 Call `tramp-compat-replace-regexp-in-string'.
18879 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
18880 (tramp-smb-handle-copy-file): Improve error message.
18881 (tramp-smb-handle-rename-file): Rename directly only in case
18882 `newname' does not exist yet. This is a restriction of smbclient.
18883 (tramp-smb-maybe-open-connection): Rerun the function only when
18884 `auth-sources' is non-nil.
18886 2013-09-08 Kenichi Handa <handa@gnu.org>
18888 * international/characters.el: Set category "^" (Combining) for
18891 2013-09-07 Alan Mackenzie <acm@muc.de>
18893 Correctly fontify Java class constructors.
18894 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
18896 (c-recognize-typeless-decls): Set the Java value to t.
18897 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18898 While handling a "(", add a check for, effectively, Java, and handle a
18899 "typeless" declaration there.
18901 2013-09-07 Roland Winkler <winkler@gnu.org>
18903 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
18904 field subtitle for entry type book.
18906 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18908 * minibuffer.el: Make minibuffer-complete call completion-in-region
18909 rather than other way around.
18910 (completion--some, completion-pcm--find-all-completions):
18911 Don't delay signals when debugging.
18912 (minibuffer-completion-contents): Beware fields within the
18913 minibuffer contents.
18914 (completion-all-sorted-completions): Use defvar-local.
18915 (completion--do-completion, completion--cache-all-sorted-completions)
18916 (completion-all-sorted-completions, minibuffer-force-complete):
18917 Add args `beg' and `end'.
18918 (completion--in-region-1): New fun, extracted from minibuffer-complete.
18919 (minibuffer-complete): Use completion-in-region.
18920 (completion-complete-and-exit): New fun, extracted from
18921 minibuffer-complete-and-exit.
18922 (minibuffer-complete-and-exit): Use it.
18923 (completion--complete-and-exit): Rename from
18924 minibuffer--complete-and-exit.
18925 (completion-in-region--single-word): New function, extracted from
18926 minibuffer-complete-word.
18927 (minibuffer-complete-word): Use it.
18928 (display-completion-list): Make `common-substring' argument obsolete.
18929 (completion--in-region): Call completion--in-region-1 instead of
18930 minibuffer-complete.
18931 (completion-help-at-point): Pass boundaries to
18932 minibuffer-completion-help as args rather than via an overlay.
18933 (completion-pcm--string->pattern): Use `any-delim'.
18934 (completion-pcm--optimize-pattern): New function.
18935 (completion-pcm--pattern->regex): Handle `any-delim'.
18936 * icomplete.el (icomplete-forward-completions)
18937 (icomplete-backward-completions, icomplete-completions):
18938 Adjust calls to completion-all-sorted-completions and
18939 completion--cache-all-sorted-completions.
18940 (icomplete-with-completion-tables): Default to t.
18941 * emacs-lisp/crm.el (crm--current-element): Rename from
18942 crm--select-current-element. Don't put an overlay but return the
18943 boundaries instead.
18944 (crm--completion-command): Take two new args to bind to the boundaries.
18945 (crm-completion-help): Adjust accordingly.
18946 (crm-complete): Use completion-in-region.
18947 (crm-complete-word): Use completion-in-region--single-word.
18948 (crm-complete-and-exit): Use completion-complete-and-exit.
18950 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18952 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
18955 2013-09-06 Juri Linkov <juri@jurta.org>
18957 * info.el (Info-display-images-node): When image file doesn't exist
18958 display text version of the image if it's provided in the Info file.
18959 Otherwise, display the location of missing image from SRC attribute.
18960 Add help-echo text property from ALT attribute. (Bug#15279)
18962 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
18964 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
18965 (edit-abbrevs-mode): Use define-derived-mode.
18967 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
18968 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
18970 (epa-key-list-mode, epa-key-mode, epa-info-mode):
18971 Use define-derived-mode.
18973 * epg.el (epg-start-encrypt): Minor CSE simplification.
18975 2013-09-06 William Xu <william.xwl@gmail.com>
18977 * arc-mode.el: Add support for 7za (bug#15264).
18978 (archive-7z-program): New var.
18979 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
18980 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
18981 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
18983 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
18987 * net/tramp.el (tramp-syntax, tramp-prefix-format)
18988 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
18989 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
18990 (tramp-postfix-host-format, tramp-file-name-regexp)
18991 (tramp-completion-file-name-regexp)
18992 (tramp-completion-dissect-file-name)
18993 (tramp-handle-substitute-in-file-name): Remove 'url case.
18994 (tramp-file-name-regexp-url)
18995 (tramp-completion-file-name-regexp-url): Remove constants.
18997 2013-09-06 Glenn Morris <rgm@gnu.org>
18999 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
19001 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
19003 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
19004 keywords" below "here-doc beginnings" (Bug#15270).
19006 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
19008 * subr.el (pop): Use `car-safe'.
19009 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
19010 to detect unused `pop' return value.
19012 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
19013 var `block-regexp'.
19014 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
19015 (python-fill-string): Remove unused var `marker'.
19016 (python-skeleton-add-menu-items): Remove unused var `items'.
19018 * international/mule-cmds.el: Require CL.
19019 (find-coding-systems-for-charsets): Avoid add-to-list.
19020 (sanitize-coding-system-list): New function, extracted from
19021 select-safe-coding-system-interactively.
19022 (select-safe-coding-system-interactively): Use it.
19023 (read-input-method-name): Accept symbols for `default'.
19025 * emacs-lisp/advice.el (defadvice): Add indent rule.
19027 2013-09-05 Daniel Hackney <dan@haxney.org>
19031 * net/browse-url.el:
19034 * net/eudcb-ldap.el:
19038 * vc/ediff-diff.el:
19039 * vc/ediff-init.el:
19040 * vc/ediff-merg.el:
19041 * vc/ediff-mult.el:
19042 * vc/ediff-util.el:
19043 * vc/ediff-wind.el:
19047 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
19048 byte compiler. Remove some unused let-bound variables.
19050 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
19052 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
19053 a "ref-cell", since it gets better optimized (bug#14883).
19055 2013-09-05 Glenn Morris <rgm@gnu.org>
19057 * progmodes/cc-awk.el (c-forward-sws): Declare.
19059 2013-09-04 Glenn Morris <rgm@gnu.org>
19061 * generic-x.el [rul-generic-mode]: Require cc-mode.
19062 (c++-mode-syntax-table): Declare.
19063 (rul-generic-mode-syntax-table): Init in the defvar.
19065 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19067 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
19068 (vc-do-command, vc-set-async-update):
19069 * vc/vc-mtn.el (vc-mtn-dir-status):
19070 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
19071 (vc-hg-pull, vc-hg-merge-branch):
19072 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
19073 (vc-git-merge-branch):
19074 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
19075 (vc-cvs-dir-status-files):
19076 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
19077 (vc-bzr-dir-status-files):
19078 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
19079 * vc/vc-annotate.el: Use lexical-binding.
19080 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
19081 (vc-sentinel-movepoint): Declare.
19082 (vc-annotate): Don't use `goto-line'.
19083 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
19084 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
19085 (vc-sentinel-movepoint): Declare.
19086 * vc/vc-svn.el: Use lexical-binding.
19087 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
19089 * vc/vc-rcs.el: Use lexical-binding.
19091 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
19092 `deleted'. Don't drop errors silently.
19094 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
19096 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
19098 * vc/vc.el (vc-ignore): Rewrite.
19099 (vc-default-ignore): New function.
19100 (vc-default-ignore-completion-table): Use find-ignore-file.
19102 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
19103 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
19104 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
19105 Remove. Most code moved to vc.el.
19107 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
19109 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
19110 * net/tramp-smb.el (tramp-smb-get-file-entries):
19111 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
19112 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
19114 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
19116 (eww-change-select): Remove unused var `properties'.
19117 (eww-make-unique-file-name): Remove unused var `base'.
19119 * finder.el (finder-compile-keywords): Don't mess with windows.
19121 * calculator.el (calculator-funcall): Fix typo in last change.
19123 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
19125 * emacs-lisp/package.el (package-activate-1): Don't let a missing
19126 <pkg>-autoloads.el file stop us.
19128 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
19129 warnings, and factor out common code.
19131 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
19133 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
19134 two-character operators and whether the character preceding them
19135 changes their meaning (Bug#15208).
19137 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
19139 Format code sent to Python shell for robustness.
19140 * progmodes/python.el (python-shell-buffer-substring):
19142 (python-shell-send-region, python-shell-send-buffer): Use it.
19144 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
19146 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
19147 * net/tramp.el (tramp-user-error): ... here.
19148 (tramp-find-method, tramp-check-proper-host)
19149 (tramp-dissect-file-name, tramp-debug-message)
19150 (tramp-handle-shell-command):
19151 * net/tramp-adb.el (tramp-adb-handle-shell-command):
19152 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
19154 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
19156 2013-09-02 Martin Rudalics <rudalics@gmx.at>
19158 * avoid.el (mouse-avoidance-point-position)
19159 (mouse-avoidance-too-close-p): Handle case where posn-at-point
19162 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
19164 * progmodes/python.el (python-shell-completion-get-completions):
19165 Drop use of deleted `comint-last-prompt-overlay'.
19166 (python-nav-if-name-main): New command.
19168 2013-09-01 Glenn Morris <rgm@gnu.org>
19170 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
19171 Avoid leading space in $wins. Otherwise the sed command used by
19172 eg compile-main ends up containing "/*.el". (Bug#15170)
19174 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
19176 2013-08-30 Glenn Morris <rgm@gnu.org>
19178 * emacs-lisp/bytecomp.el (byte-recompile-directory):
19179 Fix is-this-a-directory logic. (Bug#15220)
19181 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19183 * textmodes/css-mode.el: Use SMIE.
19184 (css-smie-grammar): New var.
19185 (css-smie--forward-token, css-smie--backward-token)
19186 (css-smie-rules): New functions.
19187 (css-mode): Use them.
19188 (css-navigation-syntax-table): Remove var.
19189 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
19190 (css-indent-calculate, css-indent-line): Remove functions.
19192 Misc changes to reduce use of `(lambda...); and other cleanups.
19193 * cus-edit.el: Use lexical-binding.
19194 (customize-push-and-save, customize-apropos)
19195 (custom-buffer-create-internal): Use closures.
19196 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
19197 * progmodes/ada-xref.el: Use setq.
19198 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
19199 * dframe.el: Use lexical-binding.
19200 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
19201 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
19202 * descr-text.el: Use lexical-binding.
19203 (describe-text-widget, describe-text-sexp, describe-property-list):
19205 * comint.el (comint-history-isearch-push-state): Use a closure.
19206 * calculator.el: Use lexical-binding.
19207 (calculator-number-to-string): Make it work with lexical-binding.
19208 (calculator-funcall): Same and use cl-letf.
19210 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
19211 (lisp--company-doc-string, lisp--company-location): New functions.
19212 (lisp-completion-at-point): Use them to improve Company support.
19214 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
19215 params of lambda expressions.
19216 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
19217 (ruby-smie--opening-pipe-p): New function.
19218 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
19219 symbols and matched |...| for formal params.
19220 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
19221 from being treated as hanging. Handle "rescue".
19223 2013-08-29 Glenn Morris <rgm@gnu.org>
19225 * progmodes/cc-engine.el (c-pull-open-brace):
19226 Move definition before use.
19228 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19230 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
19231 are immutable. Don't use `unsafe' any more.
19232 (cl--defsubst-expand): Don't substitute at the same time as keeping
19233 a residual unused let-binding. Don't use `unsafe' any more.
19235 2013-08-29 Glenn Morris <rgm@gnu.org>
19237 * calendar/cal-china.el (calendar-chinese-year-cache):
19240 * nxml/nxml-util.el (nxml-debug-clear-inside):
19241 Use cl-loop rather than loop.
19243 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
19245 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
19247 2013-08-28 Glenn Morris <rgm@gnu.org>
19249 * progmodes/antlr-mode.el: No need to require cc-mode twice.
19251 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
19253 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
19255 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19257 * simple.el (repeat-complex-command--called-interactively-skip):
19259 (repeat-complex-command): Use it (bug#14136).
19261 * progmodes/cc-mode.el: Minor cleanup of var declarations.
19262 (c-define-abbrev-table): Add `doc' argument.
19263 (c-mode-abbrev-table, c++-mode-abbrev-table)
19264 (objc-mode-abbrev-table, java-mode-abbrev-table)
19265 (idl-mode-abbrev-table, pike-mode-abbrev-table)
19266 (awk-mode-abbrev-table): Use it.
19267 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
19268 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
19269 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
19270 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
19271 Move initialization into the declaration; and remove any
19274 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
19275 and dynamic let binding.
19277 * vc/smerge-mode.el: Remove redundant :group args.
19279 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
19282 2013-08-28 Juri Linkov <juri@jurta.org>
19284 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
19285 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
19286 (isearch-other-meta-char): Handle an undefined shifted printing
19287 character by downshifting it. (Bug#15200)
19289 2013-08-28 Juri Linkov <juri@jurta.org>
19291 * isearch.el (isearch-search): Change regexp error message for
19292 non-regexp searches. (Bug#15166)
19294 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
19296 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
19297 for portability to hosts where /bin/sh has problems.
19299 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19301 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
19303 2013-08-27 Juri Linkov <juri@jurta.org>
19305 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
19306 in the keyboard macro. (Bug#15126)
19308 2013-08-27 Juri Linkov <juri@jurta.org>
19310 * isearch.el (isearch-quote-char): Comment out converting unibyte
19311 to multibyte, thus syncing with its `quoted-insert' counterpart.
19314 2013-08-27 Martin Rudalics <rudalics@gmx.at>
19316 * window.el (display-buffer-use-some-window): Add missing
19317 argument in call of get-largest-window (Bug#15185).
19318 Reported by Stephen Leake.
19320 2013-08-27 Glenn Morris <rgm@gnu.org>
19322 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
19324 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19326 * progmodes/python.el (python-font-lock-keywords): Don't return nil
19327 from a matcher-function unless there's no more matches (bug#15161).
19329 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
19331 * minibuffer.el: Revert change from 2013-08-20.
19333 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
19334 with text property `tramp-default', if appropriate.
19335 (tramp-check-proper-host): New defun.
19336 (tramp-dissect-file-name): Do not check hostname. Revert change
19338 (tramp-backtrace): Make VEC-OR-PROC optional.
19340 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
19341 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
19342 * net/tramp-sh.el (tramp-maybe-open-connection):
19343 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
19344 Apply `tramp-check-proper-host'.
19346 2013-08-26 Tassilo Horn <tsdh@gnu.org>
19348 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
19349 lambda expression in order to have `describe-variable' display it.
19351 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
19353 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
19354 BUF can be optional. (Bug#15186)
19356 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
19358 * progmodes/flymake.el (flymake-get-real-file-name-function):
19359 Fix broken customization. (Bug#15184)
19361 2013-08-25 Alan Mackenzie <acm@muc.de>
19363 Improve indentation of bracelists defined by macros (without "=").
19365 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
19366 expansion begins with "{", regard it as bracelist when it doesn't
19369 Parse C++ inher-intro when there's a template split over 2 lines.
19371 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
19372 rigorously the search for "class" etc. followed by ":".
19374 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
19375 random languages a regexp which never matches rather than nil.
19377 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
19379 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
19380 (c-awk-regexp-one-line-possibly-open-char-list-re)
19381 (c-awk-one-line-possibly-open-regexp-re)
19382 (c-awk-one-line-non-syn-ws*-re): Remove.
19383 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
19384 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
19385 (c-awk-space*-unclosed-regexp-/-re): New constants.
19386 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
19387 aren't regexp delimiters.
19389 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
19390 handling for a rare situation in AWK Mode involving unterminated
19393 2013-08-23 Glenn Morris <rgm@gnu.org>
19395 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
19397 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
19399 * files.el (create-file-buffer): If the result would begin with
19400 spaces, prepend a "|" instead of removing them. (Bug#15162)
19402 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19404 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
19405 text-properties (bug#15155).
19407 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
19409 (calc-keypad-redraw): Remove unused var `pad'.
19410 (calc-keypad-press): Remove unused var `menu'.
19412 2013-08-23 Martin Rudalics <rudalics@gmx.at>
19414 * window.el (display-buffer-pop-up-frame):
19415 Call pop-up-frame-function with BUFFER current so `make-frame' will
19416 use it as the new frame's buffer (Bug#15133).
19418 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19420 * calendar/timeclock.el: Minor cleanups.
19421 (timeclock-ask-before-exiting, timeclock-use-display-time):
19423 (timeclock-modeline-display): Define as alias before the
19425 (timeclock-mode-line-display): Use define-minor-mode.
19426 (timeclock-day-list-template): Make it a function, add an argument.
19427 (timeclock-day-list-required, timeclock-day-list-length)
19428 (timeclock-day-list-debt, timeclock-day-list-span)
19429 (timeclock-day-list-break): Adjust calls accordingly.
19431 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19433 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
19434 Use read--expression so that completion works again.
19436 2013-08-21 Sam Steingold <sds@gnu.org>
19438 Add rudimentary inferior shell interaction
19439 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
19440 (sh-set-shell): Reset it.
19441 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
19442 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
19444 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
19446 * align.el: Use lexical-binding.
19447 (align-region): Simplify accordingly.
19449 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
19451 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
19453 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
19454 `non-essential' up.
19456 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
19459 * net/tramp-adb.el:
19460 * net/tramp-cmds.el:
19461 * net/tramp-ftp.el:
19462 * net/tramp-gvfs.el:
19464 * net/tramp-sh.el: Don't wrap external variable declarations by
19465 `eval-when-compile'.
19467 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19469 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
19470 now that Emacs supports ImageMagick animations.
19472 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
19474 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
19475 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
19477 2013-08-16 Martin Rudalics <rudalics@gmx.at>
19479 * window.el (mouse-autoselect-window-select): Do autoselect when
19480 mouse pointer is on margin.
19482 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
19484 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
19486 2013-08-16 Glenn Morris <rgm@gnu.org>
19488 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
19489 Handle "Remote Directory" response of some clients. (Bug#15058)
19491 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
19492 Tweak warning. (Bug#14926)
19494 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
19495 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
19497 * image-mode.el (image-mode-map): Add menu items to reverse,
19498 increase, decrease, reset animation speed.
19499 (image--set-speed, image-increase-speed, image-decrease-speed)
19500 (image-reverse-speed, image-reset-speed): New functions.
19501 (image-mode-map): Add bindings for speed commands.
19503 * image.el (image-animate-get-speed, image-animate-set-speed):
19505 (image-animate-timeout): Respect image :speed property.
19507 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19509 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
19510 previous line (bug#15101).
19511 (debugger-eval-expression, debugger-record-expression):
19512 Use read--expression (bug#15102).
19514 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
19516 Remove byte compiler warnings, visible when compiling with
19517 `byte-compile-force-lexical-warnings' set to t.
19519 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
19520 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
19521 (tramp-handle-unhandled-file-name-directory)
19522 (tramp-handle-file-notify-add-watch, tramp-action-login)
19523 (tramp-action-succeed, tramp-action-permission-denied)
19524 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
19525 arguments with "_".
19527 * net/tramp-adb.el (tramp-adb-parse-device-names)
19528 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
19529 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
19530 (tramp-adb-handle-file-truename): Remove unused arguments.
19532 * net/tramp-cache.el (tramp-flush-directory-property)
19533 (tramp-flush-connection-property, tramp-list-connections)
19534 (tramp-parse-connection-properties): Prefix unused arguments with "_".
19536 * net/tramp-compat.el (tramp-compat-make-temp-file):
19537 Rename FILENAME to F.
19539 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
19540 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
19541 (tramp-zeroconf-parse-workstation-device-names)
19542 (tramp-zeroconf-parse-webdav-device-names)
19543 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
19545 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
19546 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
19548 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
19550 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
19551 (tramp-sh-handle-insert-file-contents-literally)
19552 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
19554 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
19555 Remove unused variables.
19557 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
19558 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
19559 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
19561 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
19562 Make them a defconst.
19563 (tramp-uuencode-region): Remove unused variable.
19565 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
19567 * frameset.el (frameset--prop-setter): New function.
19568 (frameset-prop): Add gv-setter declaration.
19569 (frameset-filter-minibuffer): Deal with the case that the minibuffer
19570 parameter was already set in FILTERED. Doc fix.
19571 (frameset--record-minibuffer-relationships): Allow saving a
19572 minibufferless frame without its corresponding minibuffer frame.
19573 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
19574 frame, if the frame id matches.
19575 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
19576 frames before orphaned ones.
19577 (frameset-restore): Warn about orphaned windows, instead of error out.
19579 2013-08-14 Martin Rudalics <rudalics@gmx.at>
19581 * window.el (window-make-atom): Don't overwrite parameter
19583 (display-buffer-in-atom-window): Handle special case where we
19584 split an already atomic window.
19585 (window--major-non-side-window, display-buffer-in-side-window)
19586 (window--side-check): Ignore minibuffer window when walking
19588 (window-deletable-p): Return 'frame only if no other frame uses
19589 our minibuffer window.
19590 (record-window-buffer): Run buffer-list-update-hook.
19591 (split-window): Make sure window--check-frame won't destroy an
19592 existing atomic window in case the new window gets nested
19594 (display-buffer-at-bottom): Ignore minibuffer window when
19595 walking window tree. Don't split a side window.
19596 (pop-to-buffer): Don't set-buffer here, the select-window call
19598 (mouse-autoselect-window-select): Autoselect only if we are in the
19599 text portion of the window.
19601 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19603 * net/shr.el (shr-parse-image-data): New function to grab both the
19604 data itself and the Content-Type.
19605 (shr-put-image): Use it.
19607 * net/eww.el (eww-display-image): Ditto.
19609 * image.el (image-content-type-suffixes): New variable.
19611 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
19613 * progmodes/python.el (python-imenu--build-tree)
19614 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
19616 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
19618 * simple.el (backward-word): Mention the optional argument.
19620 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19622 * frameset.el (frameset--make): Rename constructor from make-frameset.
19623 (frameset-p, frameset-valid-p): Don't autoload.
19624 (frameset-valid-p): Use normal accessors.
19626 2013-08-13 Glenn Morris <rgm@gnu.org>
19628 * progmodes/compile.el (compile-command): Tweak example in doc.
19629 * obsolete/scribe.el (scribe-mode):
19630 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
19632 * mail/feedmail.el (feedmail-confirm-outgoing)
19633 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
19635 * cus-start.el (truncate-partial-width-windows): Fix type.
19637 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
19639 * net/shr.el (shr-table-horizontal-line): Fix custom type.
19641 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19643 * emacs-lisp/timer.el (timer--time-setter): New function.
19644 (timer--time): Use it as gv-setter.
19646 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
19647 setter is not a symbol.
19649 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
19651 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
19652 if sending fails. This makes debugging easier.
19654 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
19656 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
19657 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
19658 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
19660 2013-08-12 Eli Zaretskii <eliz@gnu.org>
19662 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
19664 2013-08-12 Glenn Morris <rgm@gnu.org>
19666 * format.el (format-annotate-function):
19667 Handle read-only text properties in the source. (Bug#14887)
19669 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19671 * net/eww.el (eww-display-html): Ignore coding system errors.
19672 One web site uses "utf-8lias" as the coding system.
19674 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
19676 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
19678 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
19680 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
19681 (tutorial--detailed-help): Remove unused local variables.
19682 (tutorial--save-tutorial-to): Use ignore-errors.
19683 (help-with-tutorial): Use looking-at-p.
19685 * view.el (view-buffer-other-window, view-buffer-other-frame):
19686 Mark unused arguments.
19688 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
19689 (woman-select-symbol-fonts, woman, woman-find-file)
19690 (woman-insert-file-contents, woman-non-underline-faces):
19691 Use string-match-p.
19692 (woman1-unquote): Move declaration.
19694 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
19695 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
19696 argument. Remove unused local variable.
19697 (xml-parse-elem-type): Use string-match-p.
19698 (xml-substitute-numeric-entities): Use ignore-errors.
19700 * calculator.el (calculator): Mark unused argument.
19701 (calculator-paste, calculator-quit, calculator-integer-p):
19703 (calculator-string-to-number, calculator-decimal, calculator-exp)
19704 (calculator-op-or-exp): Use string-match-p.
19706 * dired.el (dired-buffer-more-recently-used-p): Declare.
19707 (dired-insert-set-properties, dired-insert-old-subdirs):
19710 * dired-aux.el (dired-compress): Use ignore-errors.
19711 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
19712 (dired-do-async-shell-command, dired-do-shell-command)
19713 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
19714 (dired-insert-subdir-validate): Use string-match-p.
19715 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
19716 (dired-add-entry): Use string-match-p, looking-at-p.
19717 (dired-insert-subdir-newpos): Remove unused local variable.
19719 * filenotify.el (file-notify-callback): Remove unused local variable.
19721 * filesets.el (filesets-error): Mark unused argument.
19722 (filesets-which-command-p, filesets-filter-dir-names)
19723 (filesets-directory-files, filesets-get-external-viewer)
19724 (filesets-ingroup-get-data): Use string-match-p.
19726 * find-file.el (ff-other-file-name, ff-other-file-name)
19727 (ff-find-the-other-file, ff-cc-hh-converter):
19728 Remove unused local variables.
19729 (ff-get-file-name): Use string-match-p.
19730 (ff-all-dirs-under): Use ignore-errors.
19732 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
19733 (follow-select-if-visible): Remove unused local variable.
19735 * forms.el (read-file-filter): Move declaration.
19736 (forms--make-format, forms--make-parser, forms-insert-record):
19737 Quote function with #'.
19738 (forms--update): Use string-match-p. Quote function with #'.
19740 * help-mode.el (help-dir-local-var-def): Mark unused argument.
19741 (help-make-xrefs): Use looking-at-p.
19742 (help-xref-on-pp): Use looking-at-p, ignore-errors.
19744 * ibuffer.el (ibuffer-ext-visible-p): Declare.
19745 (ibuffer-confirm-operation-on): Use string-match-p.
19747 * msb.el (msb-item-handler, msb-dired-item-handler):
19748 Mark unused arguments.
19750 * ses.el (ses-decode-cell-symbol)
19751 (ses-kill-override): Remove unused local variable.
19752 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
19753 (ses-load): Use ignore-errors, looking-at-p.
19754 (ses-jump-safe): Use ignore-errors.
19755 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
19757 * tabify.el (untabify, tabify): Mark unused arguments.
19759 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
19760 Mark unused argument.
19761 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
19762 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
19764 * emacs-lisp/timer.el (timer--time): Define setter with
19765 gv-define-setter to avoid deprecation warning.
19767 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
19768 (*record-cmpl-statistics-p*): Remove (was commented out).
19769 (cmpl-statistics-block): Remove (body was commented out).
19770 All callers changed.
19771 (add-completions-from-buffer, load-completions-from-file):
19772 Remove unused variables.
19774 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19776 * filecache.el (file-cache-delete-file-list):
19777 Print message only when told so.
19778 (file-cache-files-matching): Use #' in mapconcat argument.
19780 * ffap.el (ffap-url-at-point): Fix reference to variable
19781 thing-at-point-default-mail-uri-scheme.
19783 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
19785 * subr.el (define-error): New function.
19786 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
19787 error-file-not-found and define with define-error.
19788 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
19789 and define with define-error.
19790 * userlock.el (file-locked, file-supersession):
19791 * simple.el (mark-inactive):
19792 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
19793 * progmodes/ada-mode.el (ada-mode-errors):
19794 * play/life.el (life-extinct):
19795 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
19796 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
19797 * nxml/rng-util.el (rng-error):
19798 * nxml/rng-uri.el (rng-uri-error):
19799 * nxml/rng-match.el (rng-compile-error):
19800 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
19801 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
19802 * nxml/nxml-rap.el (nxml-scan-error):
19803 * nxml/nxml-outln.el (nxml-outline-error):
19804 * net/soap-client.el (soap-error):
19805 * net/gnutls.el (gnutls-error):
19806 * net/ange-ftp.el (ftp-error):
19807 * mpc.el (mpc-proc-error):
19808 * json.el (json-error, json-readtable-error, json-unknown-keyword)
19809 (json-number-format, json-string-escape, json-string-format)
19810 (json-key-format, json-object-format):
19811 * jka-compr.el (compression-error):
19812 * international/quail.el (quail-error):
19813 * international/kkc.el (kkc-error):
19814 * emacs-lisp/ert.el (ert-test-failed):
19815 * calc/calc.el (calc-error, inexact-result, math-overflow)
19817 * bookmark.el (bookmark-error-no-filename):
19818 * epg.el (epg-error): Define with define-error.
19820 * time.el (display-time-event-handler)
19821 (display-time-next-load-average): Don't call sit-for since it seems
19822 unnecessary (bug#15045).
19824 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
19825 Use #' instead of ' to quote functions.
19826 (checkdoc-output-mode): Use setq-local.
19827 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
19828 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
19829 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
19830 (checkdoc-ispell, checkdoc-ispell-current-buffer)
19831 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
19832 (checkdoc-ispell-message-text, checkdoc-ispell-start)
19833 (checkdoc-ispell-continue, checkdoc-ispell-comments)
19834 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
19836 * ido.el (ido-completion-help): Fix up compiler warning.
19838 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19840 * frameset.el (frameset-p): Add autoload cookie.
19841 (frameset--jump-to-register): New function, based on code moved from
19843 (frameset-to-register): Move from register.el. Adapt to `registerv'.
19845 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
19846 (frameset-restore, frameset-save, frameset-session-filter-alist):
19847 Remove declarations.
19848 (register-alist): Doc fix.
19849 (frameset-to-register): Move to frameset.el.
19850 (jump-to-register, describe-register-1): Remove frameset-specific code.
19852 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19854 * allout-widgets.el (allout-widgets-pre-command-business)
19855 (allout-widgets-post-command-business)
19856 (allout-widgets-after-change-handler)
19857 (allout-decorate-item-and-context, allout-set-boundary-marker)
19858 (allout-body-modification-handler)
19859 (allout-graphics-modification-handler): Mark ignored arguments.
19860 (allout-widgets-post-command-business)
19861 (allout-widgets-exposure-change-processor)
19862 (allout-widgets-exposure-undo-processor)
19863 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
19864 (allout-parse-item-at-point, allout-decorate-item-guides)
19865 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
19866 * allout.el (epa-passphrase-callback-function): Declare.
19867 (allout-overlay-insert-in-front-handler)
19868 (allout-overlay-interior-modification-handler)
19869 (allout-isearch-end-handler, allout-chart-siblings)
19870 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
19871 (allout-yank-processing, allout-process-exposed)
19872 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
19873 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
19874 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
19875 (lisp-indent-defform): Mark ignored arguments.
19876 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
19877 (calculate-lisp-indent): Remove unused variables.
19878 * international/characters.el (indian-2-column, arabic-2-column)
19879 (tibetan): Mark ignored arguments.
19880 (use-cjk-char-width-table): Mark ignored arguments.
19881 Remove unused variables.
19882 * international/fontset.el (build-default-fontset-data)
19883 (x-compose-font-name, create-fontset-from-fontset-spec):
19884 Mark ignored arguments.
19885 (fontset-plain-name): Remove unused variables.
19886 * international/mule.el (charset-id, charset-bytes, generic-char-p)
19887 (keyboard-coding-system): Mark ignored arguments.
19888 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
19889 * help.el (resize-temp-buffer-window):
19890 * window.el (display-buffer-in-major-side-window)
19891 (display-buffer-in-side-window, display-buffer-in-previous-window):
19892 Remove unused variables.
19893 * isearch.el (isearch-forward-symbol):
19894 * version.el (emacs-bzr-version-bzr):
19895 * international/mule-cmds.el (current-language-environment):
19896 * term/common-win.el (x-handle-iconic, x-handle-geometry)
19897 (x-handle-display):
19898 * term/pc-win.el (x-list-fonts, x-display-planes)
19899 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
19900 (x-server-version, x-display-screens, x-display-mm-height)
19901 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
19902 (x-selection-owner-p, x-own-selection-internal)
19903 (x-disown-selection-internal, x-get-selection-internal)
19904 (msdos-initialize-window-system):
19905 * term/tty-colors.el (tty-color-alist, tty-color-clear):
19906 * term/x-win.el (x-handle-no-bitmap-icon):
19907 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
19908 (vc-default-find-file-hook, vc-default-extra-menu):
19909 Mark ignored arguments.
19911 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19913 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
19914 break-condition in the context of the debugged code (bug#12685).
19916 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
19919 Do not use an overlay to highlight the last prompt. (Bug#14744)
19920 (comint-mode): Make comint-last-prompt buffer local.
19921 (comint-last-prompt): New variable.
19922 (comint-last-prompt-overlay): Remove. Superseded by
19923 comint-last-prompt.
19924 (comint-snapshot-last-prompt, comint-output-filter):
19925 Use comint-last-prompt.
19927 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19929 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
19930 (frameset-save): Check validity of the resulting frameset.
19932 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
19934 * ido.el (ido-record-command): Add doc string.
19936 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19938 * frameset.el (frameset): Do not disable creation of the default
19939 frameset-p predicate. Doc fix.
19940 (frameset-valid-p): New function, copied from the old predicate-p.
19941 Add additional checks.
19942 (frameset-restore): Check with frameset-valid-p.
19943 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
19944 (frameset-name, frameset-description, frameset-properties)
19945 (frameset-states): Add docstring.
19946 (frameset-session-filter-alist, frameset-persistent-filter-alist)
19947 (frameset-filter-alist): Doc fixes.
19949 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19951 * frameset.el (frameset-p, frameset-prop): Doc fixes.
19953 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
19955 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
19956 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
19957 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
19958 (byte-compile-normal-call): Remove obsolescence check.
19960 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19962 * frameset.el (frameset-restore): Doc fix.
19964 * register.el (frameset-frame-id, frameset-frame-with-id)
19965 (frameset-p, frameset-restore, frameset-save): Declare.
19966 (register-alist): Document framesets.
19967 (frameset-session-filter-alist): Declare.
19968 (frameset-to-register): New function.
19969 (jump-to-register): Implement jumping to framesets. Doc fix.
19970 (describe-register-1): Describe framesets.
19972 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
19974 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
19976 * desktop.el (desktop-save-frameset): Use new frameset-save args.
19977 Use lexical-binding.
19979 * frameset.el (frameset): Use type vector, not list (incompatible
19980 change). Do not declare a new constructor, use the default one.
19981 Upgrade suggested properties `app', `name' and `desc' to slots `app',
19982 `name' and `description', respectively, and add read-only slot
19983 `timestamp'. Doc fixes.
19984 (frameset-copy, frameset-persistent-filter-alist)
19985 (frameset-filter-alist, frameset-switch-to-gui-p)
19986 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
19987 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
19988 (frameset-filter-iconified, frameset-keep-original-display-p):
19990 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
19991 Rename from frameset-filter-(save|restore)-param. All callers changed.
19993 (frameset-p): Adapt to change to vector and be more thorough.
19994 Change arg name to OBJECT. Doc fix.
19995 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
19996 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
19997 All callers changed.
19998 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
19999 All callers changed.
20000 (frameset--record-minibuffer-relationships): Rename from
20001 frameset--process-minibuffer-frames. All callers changed.
20002 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
20003 Use new default constructor (again). Doc fix.
20004 (frameset--find-frame-if): Rename from `frameset--find-frame'.
20005 All callers changed.
20006 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
20007 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
20009 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
20010 PARAMETERS and WINDOW-STATE, respectively.
20011 (frameset-restore): Add new keyword argument PREDICATE.
20012 Reset frameset--target-display to nil. Doc fix.
20014 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
20016 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
20017 (bat-mode): Use it.
20018 (bat-mode-syntax-table): Mark \n as end-of-comment.
20019 (bat-font-lock-keywords): Remove comment rule.
20021 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
20022 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
20024 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
20025 (byte-compile-callargs-warn): Use `push'.
20026 (byte-compile-arglist-warn): Ignore higher-order "calls".
20027 (byte-compile-file-form-autoload): Use `pcase'.
20028 (byte-compile-function-form): If quoting a symbol, check that it exists.
20030 2013-08-07 Eli Zaretskii <eliz@gnu.org>
20032 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
20033 and add a few popular commands found in batch files.
20034 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
20035 (dos-mode): Doc fixes.
20037 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
20039 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
20040 (dos-mode): Use setq-local. Add space after "rem".
20041 (dos-mode-syntax-table): Don't use "w" for symbol chars.
20042 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
20044 2013-08-07 Arni Magnusson <arnima@hafro.is>
20046 * progmodes/dos.el: New file.
20047 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
20050 2013-08-06 Glenn Morris <rgm@gnu.org>
20052 * calendar/calendar.el: Add new faces, and day-header-array.
20053 (calendar-weekday-header, calendar-weekend-header)
20054 (calendar-month-header): New faces.
20055 (calendar-day-header-construct): New function.
20056 (calendar-day-header-width): Also :set calendar-day-header-array.
20057 (calendar-american-month-header, calendar-european-month-header)
20058 (calendar-iso-month-header): Use calendar- faces.
20059 (calendar-generate-month):
20060 Use calendar-day-header-array for day headers; apply faces to them.
20061 (calendar-mode): Check calendar-font-lock-keywords non-nil.
20062 (calendar-abbrev-construct): Add optional maxlen argument.
20063 (calendar-day-name-array): Doc fix.
20064 (calendar-day-name-array, calendar-abbrev-length)
20065 (calendar-day-abbrev-array):
20066 Also :set calendar-day-header-array, and maybe redraw.
20067 (calendar-day-header-array): New option. (Bug#15007)
20068 (calendar-font-lock-keywords): Set to nil and make obsolete.
20069 (calendar-day-name): Add option to use header array.
20071 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20073 * net/shr.el (shr-render-td): Remove debugging.
20074 (shr-render-td): Make width computation consistent by defaulting
20075 all zero-width columns to 10 characters. This may not be optimal,
20076 but it's at least consistent.
20077 (shr-make-table-1): Redo last change to fix the real problem in
20080 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
20082 * files.el (cache-long-line-scans):
20083 Make obsolete alias to `cache-long-scans'.
20085 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
20087 * frameset.el (frameset, frameset-filter-alist)
20088 (frameset-filter-params, frameset-save, frameset--reuse-frame)
20089 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
20090 (frameset-compute-pos): Rename from frameset--compute-pos,
20092 (frameset-move-onscreen): Use frameset-compute-pos.
20093 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
20095 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
20096 Fix typos in docstrings.
20098 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
20100 * frame.el (get-other-frame): Tiny cleanup.
20102 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
20104 * vc/vc.el (vc-default-ignore-completion-table):
20105 Silence byte-compiler warning.
20107 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
20108 slot, which can indeed be nil.
20109 (frameset-live-filter-alist, frameset-persistent-filter-alist):
20110 Move entry for `left' from persistent to live filter alist.
20111 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
20113 (frameset-filter-params): When restoring a frame, copy items added to
20114 `filtered', to avoid unwittingly modifying the original parameters.
20115 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
20116 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
20118 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
20119 to use looking-at-p instead of looking-at. (Bug#15028)
20121 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20123 Revert introduction of isearch-filter-predicates (bug#14714).
20124 Rely on add-function instead.
20125 * isearch.el (isearch-filter-predicates): Rename it back to
20126 isearch-filter-predicate.
20127 (isearch-message-prefix): Use advice-function-mapc and advice
20128 properties to get the isearch-message-prefix.
20129 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
20130 instead of run-hook-with-args-until-failure.
20131 (isearch-filter-visible): Not obsolete any more.
20132 * loadup.el: Preload nadvice.
20133 * replace.el (perform-replace): Revert to funcall
20134 instead of run-hook-with-args-until-failure.
20135 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
20136 * dired-aux.el (dired-isearch-filenames-mode): Rename from
20137 dired-isearch-filenames-toggle; make it into a proper minor mode.
20138 Use add/remove-function.
20139 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
20140 Call the minor-mode rather than add/remove-hook.
20141 (dired-isearch-filter-filenames):
20142 Remove isearch-message-prefix property.
20143 * info.el (Info--search-loop): New function, extracted from Info-search.
20144 Funcall isearch-filter-predicate instead of
20145 run-hook-with-args-until-failure isearch-filter-predicates.
20146 (Info-search): Use it.
20147 (Info-mode): Use isearch-filter-predicate instead of
20148 isearch-filter-predicates.
20150 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
20152 Do not call to `selected-window' where it is assumed by default.
20153 Affected functions are `window-minibuffer-p', `window-dedicated-p',
20154 `window-hscroll', `window-width', `window-height', `window-buffer',
20155 `window-frame', `window-start', `window-point', `next-window'
20156 and `window-display-table'.
20157 * abbrev.el (abbrev--default-expand):
20158 * bs.el (bs--show-with-configuration):
20159 * buff-menu.el (Buffer-menu-mouse-select):
20160 * calc/calc.el (calc):
20161 * calendar/calendar.el (calendar-generate-window):
20162 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
20163 (diary-make-entry):
20164 * comint.el (send-invisible, comint-dynamic-complete-filename)
20165 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
20166 * completion.el (complete):
20167 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
20168 * disp-table.el (describe-current-display-table):
20169 * doc-view.el (doc-view-insert-image):
20170 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
20171 * ehelp.el (with-electric-help):
20172 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
20173 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
20174 * emacs-lisp/helper.el (Helper-help-scroller):
20175 * emulation/cua-base.el (cua--post-command-handler-1):
20176 * eshell/esh-mode.el (eshell-output-filter):
20177 * ffap.el (ffap-gnus-wrapper):
20178 * help-macro.el (make-help-screen):
20179 * hilit-chg.el (highlight-compare-buffers):
20180 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
20181 * hl-line.el (global-hl-line-highlight):
20182 * icomplete.el (icomplete-simple-completing-p):
20183 * isearch.el (isearch-done):
20184 * jit-lock.el (jit-lock-stealth-fontify):
20185 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
20186 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
20187 * mpc.el (mpc-tagbrowser, mpc):
20188 * net/rcirc.el (rcirc-any-buffer):
20189 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
20190 * play/landmark.el (landmark-max-width, landmark-max-height):
20191 * play/zone.el (zone):
20192 * progmodes/compile.el (compilation-goto-locus):
20193 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
20194 * progmodes/etags.el (find-tag-other-window):
20195 * progmodes/fortran.el (fortran-column-ruler):
20196 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
20197 * progmodes/verilog-mode.el (verilog-point-text):
20198 * reposition.el (reposition-window):
20199 * rot13.el (toggle-rot13-mode):
20200 * server.el (server-switch-buffer):
20201 * shell.el (shell-dynamic-complete-command)
20202 (shell-dynamic-complete-environment-variable):
20203 * simple.el (insert-buffer, set-selective-display)
20204 (delete-completion-window):
20205 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
20206 (speedbar-recenter):
20207 * startup.el (fancy-splash-head):
20208 * textmodes/ispell.el (ispell-command-loop):
20209 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
20210 * tutorial.el (help-with-tutorial):
20211 * vc/add-log.el (add-change-log-entry):
20212 * vc/compare-w.el (compare-windows):
20213 * vc/ediff-help.el (ediff-indent-help-message):
20214 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
20215 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
20216 (ediff-setup-control-frame):
20217 * vc/emerge.el (emerge-position-region):
20218 * vc/pcvs-util.el (cvs-bury-buffer):
20219 * window.el (walk-windows, mouse-autoselect-window-select):
20220 * winner.el (winner-set-conf, winner-undo): Related users changed.
20222 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
20224 * frameset.el (frameset--set-id): Doc fix.
20225 (frameset-frame-id, frameset-frame-id-equal-p)
20226 (frameset-locate-frame-id): New functions.
20227 (frameset--process-minibuffer-frames, frameset--reuse-frame)
20228 (frameset-restore): Use them.
20230 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
20232 Do not call to `selected-frame' where it is assumed by default.
20233 Affected functions are `raise-frame', `redraw-frame',
20234 `frame-first-window', `frame-terminal' and `delete-frame'.
20235 * calendar/appt.el (appt-disp-window):
20236 * epg.el (epg-wait-for-completion):
20237 * follow.el (follow-delete-other-windows-and-split)
20238 (follow-avoid-tail-recenter):
20239 * international/mule.el (set-terminal-coding-system):
20240 * mail/rmail.el (rmail-mail-return):
20241 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
20242 * progmodes/f90.el (f90-add-imenu-menu):
20243 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
20244 * server.el (server-switch-buffer):
20245 * simple.el (delete-completion-window):
20247 * term/xterm.el (terminal-init-xterm-modify-other-keys)
20248 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
20249 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
20250 * vc/ediff.el (ediff-documentation): Related users changed.
20251 * frame.el (selected-terminal): Remove the leftover.
20253 2013-08-05 Glenn Morris <rgm@gnu.org>
20255 * calendar/calendar.el (calendar-generate-month):
20256 Fix for calendar-column-width != 1 + calendar-day-digit-width.
20257 (calendar-generate-month, calendar-font-lock-keywords):
20258 Fix for calendar-day-header-width > length of any day name.
20260 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
20262 * desktop.el (desktop-clear): Use new name of sort predicate.
20264 * frameset.el (frameset): Add docstring. Move :version property to its
20265 own `version' slot.
20266 (frameset-copy): Rename from copy-frameset.
20267 (frameset-p): Check more thoroughly.
20268 (frameset-prop): Do not check for :version, which is no longer a prop.
20269 (frameset-live-filter-alist, frameset-persistent-filter-alist):
20270 Use new :never value instead of t.
20271 (frameset-filter-alist): Expand and clarify docstring.
20272 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
20273 (frameset-filter-minibuffer, frameset-filter-save-param)
20274 (frameset-filter-restore-param, frameset-filter-iconified):
20275 Add pointer to docstring of frameset-filter-alist.
20276 (frameset-filter-params): Rename filter values to be more meaningful:
20277 :never instead of t, and reverse the meanings of :save and :restore.
20278 (frameset--process-minibuffer-frames): Clarify error message.
20279 (frameset-save): Avoid unnecessary and confusing call to framep.
20280 Use new BOA constructor for framesets.
20281 (frameset--reuse-list): Doc fix.
20282 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
20283 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
20284 (frameset-minibufferless-first-p): Doc fix.
20285 Rename from frameset-sort-frames-for-deletion.
20286 (frameset-restore): Doc fixes. Use new function names.
20287 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
20289 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
20291 * desktop.el (desktop-restore-forces-onscreen)
20292 (desktop-restore-reuses-frames): Document :keyword constant values.
20293 (desktop-filter-parameters-alist): Remove, now identical to
20294 frameset-filter-alist.
20295 (desktop--filter-tty*): Remove, moved to frameset.el.
20296 (desktop-save-frameset, desktop-restore-frameset):
20297 Do not pass :filters argument.
20299 * frameset.el (frameset-live-filter-alist)
20300 (frameset-persistent-filter-alist): New variables.
20301 (frameset-filter-alist): Use them. Add autoload cookie.
20302 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
20303 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
20304 `frameset--id' (it's supposed to be internal to frameset.el).
20305 (frameset--process-minibuffer-frames): Ditto. Doc fix.
20306 (frameset--initial-params): New function.
20307 (frameset--get-frame): Use it. Doc fix.
20308 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
20309 Accept :all, not 'all.
20310 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
20311 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
20312 with fbound symbols. Fix frame id matching, and remove matching ids if
20313 the frame being restored is deleted. Obey :delete.
20315 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
20317 * subr.el (macrop): New function.
20318 (text-clone--maintaining): New var.
20319 (text-clone--maintain): Rename from text-clone-maintain. Use it
20320 instead of inhibit-modification-hooks.
20322 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
20323 a proxy, so as handle autoloads and redefinitions of the target.
20324 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
20326 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
20327 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
20328 (pcase--mutually-exclusive-p): New function.
20329 (pcase--split-consp): Use it.
20330 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
20331 mutually exclusive with the current predicate.
20333 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
20334 (edebug-macrop): Remove. Use `macrop' instead.
20335 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
20337 * eshell/esh-cmd.el (eshell-macrop):
20338 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
20340 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
20342 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
20343 (advice-mapc): New function, using it.
20344 (advice-function-member-p): New function.
20345 (advice--normalize): Store the cdr in advice--saved-rewrite since
20346 that's the part that will be changed.
20347 (advice--symbol-function): New function.
20348 (advice-remove): Handle removal before the function is defined.
20349 Adjust to new advice--saved-rewrite.
20350 (advice-member-p): Use advice-function-member-p and
20351 advice--symbol-function.
20353 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
20355 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
20356 (frameset-filter-minibuffer): Doc fix.
20357 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
20358 (frameset--set-id, frameset--process-minibuffer-frames)
20359 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
20360 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
20362 * desktop.el (desktop-clear): Only delete frames when called
20363 interactively and desktop-restore-frames is non-nil. Doc fix.
20364 (desktop-read): Set desktop-saved-frameset to nil.
20366 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
20368 * vc/vc.el (vc-ignore): Rewrite.
20369 (vc-default-ignore-completion-table, vc--read-lines)
20370 (vc--add-line, vc--remove-regexp): New functions.
20372 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
20373 (vc-svn-ignore-completion-table): New function.
20375 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
20376 (vc-hg-ignore-completion-table)
20377 (vc-hg-find-ignore-file): New functions.
20379 * vc/vc-git.el (vc-git-ignore): Rewrite.
20380 (vc-git-ignore-completion-table)
20381 (vc-git-find-ignore-file): New functions.
20383 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
20385 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
20386 (vc-bzr-ignore-completion-table)
20387 (vc-bzr-find-ignore-file): New functions.
20389 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
20391 * frameset.el (frameset-prop): New function and setter.
20392 (frameset-save): Do not modify frame list passed by the caller.
20394 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20396 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
20398 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
20400 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
20401 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
20403 * custom.el (custom-initialize-default, custom-initialize-set)
20404 (custom-initialize-reset, custom-initialize-changed): Affect the
20405 toplevel-default-value (bug#6275, bug#14586).
20406 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
20409 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
20411 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
20412 Add cl-def* expressions.
20414 * frameset.el (frameset-filter-params): Fix order of arguments.
20416 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
20418 Move code related to saving frames to frameset.el.
20419 * desktop.el: Require frameset.
20420 (desktop-restore-frames): Doc fix.
20421 (desktop-restore-reuses-frames): Rename from
20422 desktop-restoring-reuses-frames.
20423 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
20424 (desktop-clear): Clear frames too.
20425 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
20426 (desktop--filter-tty*, desktop-save, desktop-read):
20427 Use frameset functions.
20428 (desktop-before-saving-frames-functions, desktop--filter-*-color)
20429 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20430 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
20431 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
20432 (desktop--process-minibuffer-frames, desktop-save-frames)
20433 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
20434 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
20435 (desktop--sort-states, desktop-restoring-frames-p)
20436 (desktop-restore-frames): Remove. Most code moved to frameset.el.
20437 (desktop-restoring-frameset-p, desktop-restore-frameset)
20438 (desktop--check-dont-save, desktop-save-frameset): New functions.
20439 (desktop--app-id): New constant.
20440 (desktop-first-buffer, desktop-buffer-ok-count)
20441 (desktop-buffer-fail-count): Move before first use.
20442 * frameset.el: New file.
20444 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20446 * files.el: Use lexical-binding.
20447 (dir-locals-read-from-file): Remove unused `err' variable.
20448 (hack-dir-local-variables--warned-coding): New var.
20449 (hack-dir-local-variables): Use it to avoid repeated warnings.
20450 (make-backup-file-name--default-function): New function.
20451 (make-backup-file-name-function): Use it as default.
20452 (buffer-stale--default-function): New function.
20453 (buffer-stale-function): Use it as default.
20454 (revert-buffer-insert-file-contents--default-function): New function.
20455 (revert-buffer-insert-file-contents-function): Use it as default.
20456 (insert-directory): Avoid add-to-list.
20458 * autorevert.el (auto-revert-handler): Simplify.
20459 Use buffer-stale--default-function.
20461 2013-08-01 Tassilo Horn <tsdh@gnu.org>
20463 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
20465 * whitespace.el (whitespace-ensure-local-variables): New function.
20466 (whitespace-cleanup-region): Call it.
20467 (whitespace-turn-on): Call it.
20469 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
20471 Complete file name handlers.
20473 * net/tramp.el (tramp-handle-set-visited-file-modtime)
20474 (tramp-handle-verify-visited-file-modtime)
20475 (tramp-handle-file-notify-rm-watch): New functions.
20476 (tramp-call-process): Do not bind `default-directory'.
20478 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20479 Order alphabetically.
20480 <access-file, add-name-to-file, dired-call-process>:
20481 <dired-compress-file, file-acl, file-notify-rm-watch>:
20482 <file-ownership-preserved-p, file-selinux-context>:
20483 <make-directory-internal, make-symbolic-link, set-file-acl>:
20484 <set-file-selinux-context, set-visited-file-modtime>:
20485 <verify-visited-file-modtime>: Add handler.
20486 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
20488 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
20489 <file-notify-add-watch, file-notify-rm-watch>:
20490 <set-file-times, set-visited-file-modtime>:
20491 <verify-visited-file-modtime>: Add handler.
20492 (with-tramp-gvfs-error-message)
20493 (tramp-gvfs-handle-set-visited-file-modtime)
20494 (tramp-gvfs-fuse-file-name): Remove.
20495 (tramp-gvfs-handle-file-notify-add-watch)
20496 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
20497 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
20499 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20500 Order alphabetically.
20501 <file-notify-rm-watch>: Use default Tramp handler.
20502 <executable-find>: Remove private handler.
20503 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
20504 `default-directory'.
20505 (tramp-sh-handle-executable-find)
20506 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
20507 (tramp-sh-file-gvfs-monitor-dir-process-filter)
20508 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
20509 Do not use `format' in `tramp-message'.
20511 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
20512 <file-notify-rm-watch, set-visited-file-modtime>:
20513 <verify-visited-file-modtime>: Add handler.
20514 (tramp-smb-call-winexe): Do not bind `default-directory'.
20516 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
20518 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
20520 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
20522 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
20524 (log-view-diff-changeset): Same.
20525 (log-view-diff-common): Call backend command `previous-revision'
20526 to find out the previous revision, in both cases. Swap the
20527 variables `to' and `fr', so that `fr' usually refers to the
20528 earlier revision (Bug#14989).
20530 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
20532 * ibuf-ext.el (ibuffer-filter-by-filename):
20533 Make it work with dired buffers too.
20535 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
20537 * emacs-lisp/re-builder.el (reb-color-display-p):
20538 * files.el (save-buffers-kill-terminal):
20539 * net/browse-url.el (browse-url):
20540 * server.el (server-save-buffers-kill-terminal):
20541 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
20542 Prefer nil to selected-frame for the first arg of frame-parameter.
20544 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
20546 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
20548 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
20550 * minibuffer.el (completion--twq-all): Try and preserve each
20551 completion's case choice (bug#14907).
20553 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20555 * net/network-stream.el (open-network-stream): Mention the new
20556 :nogreeting parameter.
20557 (network-stream-open-starttls): Use the :nogreeting parameter
20560 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
20562 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
20563 more natural than popping.
20565 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
20566 (shr-urlify): Highlight under mouse.
20568 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20570 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
20572 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
20574 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
20577 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
20578 point-min==1. Fix search string. Fix parentheses missing.
20580 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
20581 assume point-min==1. Fix search string. Fix parentheses missing.
20583 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
20585 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
20588 2013-07-29 Eli Zaretskii <eliz@gnu.org>
20590 * frame.el (frame-notice-user-settings): Avoid inflooping when the
20591 initial frame is minibuffer-less. (Bug#14841)
20593 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
20595 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
20598 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20599 (tramp-maybe-open-connection): Use it.
20601 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20603 * desktop.el (desktop--make-frame): Include `minibuffer' in the
20604 minimal set of parameters passed when creating a frame, because
20605 the minibuffer status of a frame cannot be changed later.
20607 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
20609 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
20610 replace-regexp-in-string and inadvertent omissions in previous change.
20611 (todo-filter-items): Ensure only file names are comma-separated in
20612 name of filtered items buffer.
20614 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20616 * desktop.el: Optionally force offscreen frames back onscreen.
20617 (desktop-restoring-reuses-frames): New option.
20618 (desktop--compute-pos, desktop--move-onscreen): New functions.
20619 (desktop--make-frame): Use desktop--move-onscreen.
20621 2013-07-27 Alan Mackenzie <acm@muc.de>
20623 Fontify a Java generic method as a function.
20624 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
20627 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
20629 * calendar/todo-mode.el: Add command to rename todo files.
20630 (todo-rename-file): New command.
20631 (todo-key-bindings-t): Add key binding for it. Change the
20632 bindings of todo-filter-regexp-items(-multifile) to use `x'
20633 instead of `r', since the latter is better suited to the new
20636 2013-07-27 Alan Mackenzie <acm@muc.de>
20638 Make Java try-with-resources statement parse properly.
20639 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
20640 (c-block-stmt-1-2-key): New language constants/variables.
20641 * progmodes/cc-engine.el (c-beginning-of-statement-1)
20642 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
20643 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
20644 with c-block-stmt-1-2-key.
20646 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
20648 * desktop.el (desktop--make-frame): Apply most frame parameters after
20649 creating the frame to force (partially or totally) offscreen frames to
20650 be restored as such.
20652 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
20654 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
20657 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20659 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
20660 `base' arg of backtrace-frame.
20662 2013-07-26 Eli Zaretskii <eliz@gnu.org>
20664 * simple.el (list-processes): Doc fix.
20666 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20668 * desktop.el (desktop--select-frame):
20669 Try harder to reuse existing frames.
20671 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20673 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
20674 (edebug-eval): Use backtrace-eval.
20675 (edebug--display, edebug--recursive-edit): Don't let-bind the
20676 edebug-outer-* vars that keep track of variables we locally let-bind.
20677 (edebug-outside-excursion): Don't restore outside values of locally
20679 (edebug--display): Use user-error.
20680 (cl-lexical-debug, cl-debug-env): Remove.
20682 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20684 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
20685 are restored to be sure that they are visible before deleting any
20688 2013-07-26 Matthias Meulien <orontee@gmail.com>
20690 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
20691 vc-print-root-log. (Bug#14948)
20693 2013-07-26 Richard Stallman <rms@gnu.org>
20695 Add aliases for encrypting mail.
20696 * epa.el (epa-mail-aliases): New option.
20697 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
20698 Bind inhibit-read-only so read-only text doesn't ruin everything.
20699 (epa-mail-default-recipients): New subroutine broken out.
20700 Handle epa-mail-aliases.
20702 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20704 Add support for lexical variables to the debugger's `e' command.
20705 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
20706 vars, except for debugger-outer-match-data.
20707 (debugger-frame-number): Move check for "on a function call" from
20708 callers into it. Add `skip-base' argument.
20709 (debugger-frame, debugger-frame-clear): Simplify accordingly.
20710 (debugger-env-macro): Only reset the state stored in non-variables,
20711 i.e. current-buffer and match-data.
20712 (debugger-eval-expression): Rewrite using backtrace-eval.
20713 * subr.el (internal--called-interactively-p--get-frame): Remove.
20714 (called-interactively-p):
20715 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
20716 `base' arg of backtrace-frame instead.
20718 2013-07-26 Glenn Morris <rgm@gnu.org>
20720 * align.el (align-regexp): Doc fix. (Bug#14857)
20721 (align-region): Explicit error if subexpression missing/does not match.
20723 * simple.el (global-visual-line-mode):
20724 Do not duplicate the mode lighter. (Bug#14858)
20726 2013-07-25 Martin Rudalics <rudalics@gmx.at>
20728 * window.el (display-buffer): In display-buffer bind
20729 split-window-keep-point to t, bug#14829.
20731 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20733 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
20734 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
20735 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
20736 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20737 Change accordingly.
20738 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20739 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
20741 2013-07-25 Glenn Morris <rgm@gnu.org>
20743 * dired-x.el (dired-mark-extension): Convert comment to doc string.
20745 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20747 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
20748 parameter to modify-frame-parameters if the value has not changed;
20749 this is a workaround for bug#14949.
20750 (desktop--make-frame): On cl-delete-if call, check parameter name,
20751 not full parameter.
20753 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20755 * vc/vc.el (vc-ignore): New function.
20757 * vc/vc-svn.el (vc-svn-ignore): New function.
20759 * vc/vc-hg.el (vc-hg-ignore): New function.
20761 * vc/vc-git.el (vc-git-ignore): New function.
20763 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
20764 (vc-dir-ignore): New function.
20766 * vc/vc-cvs.el (vc-cvs-ignore): New function.
20767 (cvs-append-to-ignore): Move here from pcvs.el.
20769 * vc/vc-bzr.el (vc-bzr-ignore): New function.
20771 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
20773 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
20775 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
20776 (desktop-restore-frames): Warn when deleting an existing frame failed.
20778 2013-07-24 Glenn Morris <rgm@gnu.org>
20780 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
20782 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
20784 * filenotify.el (file-notify-supported-p):
20785 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20788 * autorevert.el (auto-revert-use-notify)
20789 (auto-revert-notify-add-watch):
20790 * net/tramp.el (tramp-file-name-for-operation):
20791 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20792 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20793 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20794 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20795 Remove `file-notify-supported-p' entry.
20797 2013-07-24 Glenn Morris <rgm@gnu.org>
20799 * printing.el: Replace all uses of deleted ps-windows-system,
20800 ps-lp-system, ps-flatten-list with lpr- versions.
20802 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20804 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
20805 checked with memq (bug#14935).
20807 * files.el (revert-buffer-function): Use a non-nil default.
20808 (revert-buffer-preserve-modes): Declare var to
20809 provide access to the `preserve-modes' argument.
20810 (revert-buffer): Let-bind it.
20811 (revert-buffer--default): New function, extracted from revert-buffer.
20813 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20815 * lpr.el: Signal print errors more prominently.
20816 (print-region-function): Don't default to nil.
20817 (lpr-print-region): New function, extracted from print-region-1.
20818 Check lpr's return value and signal an error in case of problem.
20819 (print-region-1): Use it.
20820 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
20822 (ps-printer-name): Default to nil.
20823 (ps-printer-name-option): Default to lpr-printer-switch.
20824 (ps-print-region-function): Don't default to nil.
20825 (ps-postscript-code-directory): Simplify default.
20826 (ps-do-despool): Use lpr-print-region to properly check the outcome.
20827 (ps-string-list, ps-eval-switch, ps-flatten-list)
20828 (ps-flatten-list-1): Remove.
20829 (ps-multibyte-buffer): Avoid setq.
20830 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
20831 (print-region-function, ps-print-region-function): Don't set them here.
20833 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
20835 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
20836 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
20837 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
20838 (ido-decorations): Doc fix.
20840 * ansi-color.el: Fix old URL.
20842 2013-07-23 Michael R. Mauger <michael@mauger.com>
20844 * progmodes/sql.el: Version 3.3
20845 (sql-product-alist): Improve oracle :prompt-cont-regexp.
20846 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
20847 (sql-interactive-remove-continuation-prompt): Rewrite, use
20848 functions above. Fix continuation prompt and complete output line
20850 (sql-redirect-one, sql-execute): Use `read-only-mode' on
20851 redirected output buffer.
20852 (sql-mode): Restore deleted code (Bug#13591).
20854 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20856 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
20858 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
20860 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
20862 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20863 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20864 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
20866 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20868 * desktop.el (desktop-clear): Simplify; remove useless checks
20869 against invalid buffer names.
20870 (desktop-list*): Use cl-list*.
20871 (desktop-buffer-info, desktop-create-buffer): Simplify.
20873 2013-07-23 Leo Liu <sdl.web@gmail.com>
20875 * bookmark.el (bookmark-make-record): Restore NAME as a default
20878 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
20880 * emacs-lisp/autoload.el (autoload--setup-output): New function,
20881 extracted from autoload--insert-text.
20882 (autoload--insert-text): Remove.
20883 (autoload--print-cookie-text): New function, extracted from
20884 autoload--insert-cookie-text.
20885 (autoload--insert-cookie-text): Remove.
20886 (autoload-generate-file-autoloads): Adjust calls accordingly.
20888 * winner.el (winner-hook-installed-p): Remove.
20889 (winner-mode): Simplify accordingly.
20891 * subr.el (add-to-list): Fix compiler-macro when `append' is
20892 not constant. Don't use `cl-member' for the base case.
20894 * progmodes/subword.el: Fix boundary case (bug#13758).
20895 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
20897 (subword-backward-regexp): Make it a constant.
20898 (subword-forward-internal): Don't treat a trailing capital as the
20899 beginning of a word.
20901 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
20903 * emacs-lisp/package.el (package-menu-mode): Don't modify the
20904 global value of tabulated-list-revert-hook (bug#14930).
20906 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
20908 * desktop.el: Require 'cl-lib.
20909 (desktop-before-saving-frames-functions): New hook.
20910 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
20911 for frames being saved. Rename from desktop--save-minibuffer-frames.
20912 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
20913 Do not save frames with non-nil `desktop-dont-save' parameter.
20914 Filter out deleted frames.
20915 (desktop--find-frame): Use cl-find-if.
20916 (desktop--select-frame): Use cl-(first|second|third) to access values
20918 (desktop--make-frame): Use cl-delete-if.
20919 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
20920 (desktop-restore-frames): Use cl-(first|second|third) to access values
20921 of desktop-mini. Look for visible frame at the end, not while
20924 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
20925 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
20926 Use string-match-p, looking-at-p (bug#14927).
20928 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
20930 * desktop.el (desktop-saved-frame-states):
20931 Rename from desktop--saved-states; all users changed.
20932 (desktop-save-frames): Rename from desktop--save-frames.
20933 Do not save state to desktop file.
20934 (desktop-save): Save desktop-saved-frame-states to desktop file
20936 (desktop-restoring-frames-p): New function.
20937 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
20938 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
20939 buffer-lists when restoring frames. Suggested by Martin Rudalics.
20941 * desktop.el: Correctly restore iconified frames.
20942 (desktop--filter-iconified-position): New function.
20943 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
20945 2013-07-20 Glenn Morris <rgm@gnu.org>
20947 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
20948 Let `message' do the formatting.
20949 (def-gdb-preempt-display-buffer): Add explicit format.
20951 * image-dired.el (image-dired-track-original-file):
20952 Use with-current-buffer.
20953 (image-dired-track-thumbnail): Use with-current-buffer.
20954 Avoid changing point of wrong window.
20956 * image-dired.el (image-dired-track-original-file):
20957 Avoid changing point of wrong window. (Bug#14909)
20959 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
20961 * progmodes/gdb-mi.el (gdb-done-or-error):
20962 Guard against "%" in gdb output. (Bug#14127)
20964 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
20966 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
20969 * international/mule.el (coding-system-iso-2022-flags): Fix last
20972 2013-07-20 Kenichi Handa <handa@gnu.org>
20974 * international/mule.el (coding-system-iso-2022-flags):
20975 Add `8-bit-level-4'. (Bug#8522)
20977 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20979 * net/shr.el (shr-mouse-browse-url): New command and keystroke
20982 * net/eww.el (eww-process-text-input): Allow inputting when the
20983 point is at the start of the line, as the properties aren't
20986 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
20989 2013-07-19 Richard Stallman <rms@gnu.org>
20991 * epa.el (epa-popup-info-window): Doc fix.
20993 * subr.el (split-string): New arg TRIM.
20995 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
20997 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
20998 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
21000 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
21002 * filenotify.el (file-notify--library): Rename from
21003 `file-notify-support'. Do not autoload. Adapt all uses.
21004 (file-notify-supported-p): New defun.
21006 * autorevert.el (auto-revert-use-notify):
21007 Use `file-notify-supported-p' instead of `file-notify-support'.
21009 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
21011 * net/tramp.el (tramp-file-name-for-operation):
21012 Add `file-notify-supported-p'.
21014 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
21016 (tramp-sh-file-name-handler-alist): Add it as handler for
21017 `file-notify-supported-p '.
21019 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
21020 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21021 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21022 Add `ignore' as handler for `file-notify-*' functions.
21024 2013-07-17 Eli Zaretskii <eliz@gnu.org>
21026 * simple.el (line-move-partial, line-move): Don't start vscroll or
21027 scroll-up if the current line is not taller than the window.
21030 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
21032 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
21033 highlight question marks in the method names as strings.
21034 (ruby-block-beg-keywords): Inline.
21035 (ruby-font-lock-keyword-beg-re): Extract from
21036 `ruby-font-lock-keywords'.
21038 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
21040 * frame.el (blink-cursor-blinks): New defcustom.
21041 (blink-cursor-blinks-done): New defvar.
21042 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
21043 (blink-cursor-timer-function): Check if number of blinks has been
21045 (blink-cursor-suspend, blink-cursor-check): New defuns.
21047 2013-07-15 Glenn Morris <rgm@gnu.org>
21049 * edmacro.el (edmacro-format-keys): Fix previous change.
21051 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
21053 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
21054 The hack didn't work outside English locales anyway.
21056 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
21058 * simple.el (define-alternatives): Rename from alternatives-define,
21059 per RMS' suggestion.
21061 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
21063 * desktop.el (desktop-restore-frames): Change default to t.
21064 (desktop-restore-in-current-display): Now offer more options.
21065 (desktop-restoring-reuses-frames): New customization option.
21066 (desktop--saved-states): Doc fix.
21067 (desktop-filter-parameters-alist): New variable, renamed and expanded
21068 from desktop--excluded-frame-parameters.
21069 (desktop--target-display): New variable.
21070 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
21071 (desktop--filter-tty*, desktop--filter-*-color)
21072 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
21073 (desktop--filter-save-desktop-parm)
21074 (desktop-restore-in-original-display-p): New functions.
21075 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
21076 (desktop--save-minibuffer-frames): New function, inspired by a similar
21077 function from Martin Rudalics.
21078 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
21079 (desktop--restore-in-this-display-p): Remove.
21080 (desktop--find-frame): Rename from desktop--find-frame-in-display
21081 and add predicate argument.
21082 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
21083 (desktop--reuse-list): New variable.
21084 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
21086 (desktop--restore-frames): Add support for "minibuffer-special" frames.
21088 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
21090 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
21092 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
21094 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
21095 Highlight conversion methods on Kernel.
21097 2013-07-13 Alan Mackenzie <acm@muc.de>
21099 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
21100 and comment it out. This out-commenting enables certain C++
21101 declarations to be parsed correctly.
21103 2013-07-13 Eli Zaretskii <eliz@gnu.org>
21105 * international/mule.el (define-coding-system): Doc fix.
21107 * simple.el (default-font-height): Don't call font-info if the
21108 frame's default font didn't change since the frame was created.
21111 2013-07-13 Leo Liu <sdl.web@gmail.com>
21113 * ido.el (ido-read-file-name): Guard against non-symbol value.
21115 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
21117 * progmodes/python.el (python-imenu--build-tree): Fix corner case
21120 2013-07-13 Leo Liu <sdl.web@gmail.com>
21122 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
21123 ido-set-matches call. (Bug#6852)
21125 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
21127 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
21128 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
21130 (ruby-font-lock-keywords): Distinguish calls to functions with
21131 module-like names from module references. Highlight character
21134 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
21136 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
21137 (gdb-send): Handle continued commands. (Bug#14847)
21139 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
21141 * desktop.el (desktop--v2s): Remove unused local variable.
21142 (desktop-save-buffer): Make defvar-local; adjust docstring.
21143 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
21144 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
21146 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
21148 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
21150 2013-07-12 Eli Zaretskii <eliz@gnu.org>
21152 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
21155 2013-07-12 Glenn Morris <rgm@gnu.org>
21157 * doc-view.el: Require cl-lib at runtime too.
21158 (doc-view-remove-if): Remove.
21159 (doc-view-search-next-match, doc-view-search-previous-match):
21162 * edmacro.el: Require cl-lib at runtime too.
21163 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
21164 (edmacro-mismatch, edmacro-subseq): Remove.
21166 * shadowfile.el: Require cl-lib.
21167 (shadow-remove-if): Remove.
21168 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
21171 * wid-edit.el: Require cl-lib.
21172 (widget-choose): Use cl-remove-if.
21173 (widget-remove-if): Remove.
21175 * progmodes/ebrowse.el: Require cl-lib at runtime too.
21176 (ebrowse-delete-if-not): Remove.
21177 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
21178 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
21179 Use cl-delete-if-not.
21181 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
21183 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
21184 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
21186 2013-07-12 Leo Liu <sdl.web@gmail.com>
21188 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
21190 2013-07-11 Glenn Morris <rgm@gnu.org>
21192 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
21193 (edebug-gensym-index, edebug-gensym):
21194 Remove reimplementation of cl-gensym.
21195 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
21197 * thumbs.el: Require cl-lib at run-time too.
21198 (thumbs-gensym-counter, thumbs-gensym):
21199 Remove reimplementation of cl-gensym.
21200 (thumbs-temp-file): Use cl-gensym.
21202 * emacs-lisp/ert.el: Require cl-lib at runtime too.
21203 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
21204 (ert--intersection, ert--set-difference, ert--set-difference-eq)
21205 (ert--union, ert--gensym-counter, ert--gensym-counter)
21206 (ert--coerce-to-vector, ert--remove*, ert--string-position)
21207 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
21208 (ert-make-test-unbound, ert--expand-should-1)
21209 (ert--expand-should, ert--should-error-handle-error)
21210 (should-error, ert--explain-equal-rec)
21211 (ert--plist-difference-explanation, ert-select-tests)
21212 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
21213 Use cl-lib functions rather than reimplementations.
21215 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
21217 * net/tramp.el (tramp-methods): Extend docstring.
21218 (tramp-connection-timeout): New defcustom.
21219 (tramp-error-with-buffer): Reset timestamp only when appropriate.
21220 (with-tramp-progress-reporter): Simplify.
21221 (tramp-process-actions): Improve messages.
21223 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
21224 * net/tramp-sh.el (tramp-maybe-open-connection):
21225 Use `tramp-connection-timeout'.
21226 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
21229 2013-07-11 Leo Liu <sdl.web@gmail.com>
21231 * ido.el (ido-read-file-name): Conform to the requirements of
21232 read-file-name. (Bug#11861)
21233 (ido-read-directory-name): Conform to the requirements of
21234 read-directory-name.
21236 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
21238 * subr.el (delay-warning): New function.
21240 2013-07-10 Eli Zaretskii <eliz@gnu.org>
21242 * simple.el (default-line-height): New function.
21243 (line-move-partial, line-move): Use it instead of computing the
21244 line height inline.
21245 (line-move-partial): Always compute ROWH. If the last line is
21246 partially-visible, but its text is completely visible, allow
21247 cursor to enter such a partially-visible line.
21249 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
21251 Improve error messages. (Bug#14808)
21253 * net/tramp.el (tramp-current-connection): New defvar, moved from
21255 (tramp-message-show-progress-reporter-message): Remove, not
21257 (tramp-error-with-buffer): Show message in minibuffer.
21258 Discard input before waiting. Reset connection timestamp.
21259 (with-tramp-progress-reporter): Improve messages.
21260 (tramp-process-actions): Use progress reporter. Delete process in
21261 case of error. Improve messages.
21263 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
21264 Call `tramp-error-with-buffer' with vector and buffer.
21265 (tramp-current-connection): Remove.
21266 (tramp-maybe-open-connection): The car of
21267 `tramp-current-connection' are the first 3 slots of the vector.
21269 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
21271 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
21272 inside continued strings.
21274 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
21276 Timestamp fixes for undo (Bug#14824).
21277 * files.el (clear-visited-file-modtime): Move here from fileio.c.
21279 2013-07-10 Leo Liu <sdl.web@gmail.com>
21281 * files.el (require-final-newline): Allow safe local value.
21284 2013-07-09 Leo Liu <sdl.web@gmail.com>
21286 * ido.el (ido-read-directory-name): Handle fallback.
21287 (ido-read-file-name): Update DIR to ido-current-directory.
21289 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
21291 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
21293 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
21294 "autoload". Remove "warn lower camel case" section, previously
21295 commented out. Highlight negation char. Do not highlight the
21296 target in singleton method definitions.
21298 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21300 * faces.el (tty-setup-hook): Declare the hook.
21302 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
21303 and detect when a guard/pred depends on local vars (bug#14773).
21304 (pcase--u1): Adjust caller.
21306 2013-07-08 Eli Zaretskii <eliz@gnu.org>
21308 * simple.el (line-move-partial, line-move): Account for
21310 (line-move-partial): Avoid setting vscroll when the last
21311 partially-visible line in window is of default height.
21313 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21315 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
21318 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
21320 * subr.el (read-quoted-char): Remove unused local variable `char'.
21322 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
21324 * vc/ediff.el (ediff-version): Version update.
21325 (ediff-files-command, ediff3-files-command, ediff-merge-command)
21326 (ediff-merge-with-ancestor-command, ediff-directories-command)
21327 (ediff-directories3-command, ediff-merge-directories-command)
21328 (ediff-merge-directories-with-ancestor-command): New functions.
21329 All are command-line interfaces to ediff: to facilitate calling
21330 Emacs with the appropriate ediff functions invoked.
21332 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
21334 (viper-save-kill-buffer): Check if buffer is modified.
21336 * emulation/viper.el (viper-version): Version update.
21337 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
21339 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
21341 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
21342 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
21343 (viper-intercept-ESC-key): Simplify.
21344 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
21346 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
21347 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
21348 (viper-setup-ESC-to-escape): New functions.
21349 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
21350 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
21352 2013-07-07 Eli Zaretskii <eliz@gnu.org>
21354 * simple.el (default-font-height, window-screen-lines):
21356 (line-move, line-move-partial): Use them instead of
21357 frame-char-height and window-text-height. This makes scrolling
21358 text smoother when the buffer's default face uses a font that is
21359 different from the frame's default font.
21361 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
21363 * files.el (write-file): Do not display confirm dialog for NS,
21364 it does its own dialog, which can't be canceled (Bug#14578).
21366 2013-07-06 Eli Zaretskii <eliz@gnu.org>
21368 * simple.el (line-move-partial): Adjust the row returned by
21369 posn-at-point for the current window-vscroll. (Bug#14567)
21371 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
21373 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
21374 (tramp-sh-file-inotifywait-process-filter): Handle file names with
21377 2013-07-06 Martin Rudalics <rudalics@gmx.at>
21379 * window.el (window-state-put-stale-windows): New variable.
21380 (window--state-put-2): Save list of windows without matching buffer.
21381 (window-state-put): Remove "bufferless" windows if possible.
21383 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
21385 * simple.el (alternatives-define): Remove leftover :group keyword.
21388 2013-07-06 Leo Liu <sdl.web@gmail.com>
21390 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
21391 (ido-enable-virtual-buffers): New variable.
21392 (ido-buffer-internal, ido-toggle-virtual-buffers)
21393 (ido-make-buffer-list): Use it.
21394 (ido-exhibit): Support turning on and off virtual buffers
21397 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
21399 * simple.el (alternatives-define): New macro.
21401 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
21403 * subr.el (read-quoted-char): Use read-key.
21404 (sit-for): Let read-event decode tty input (bug#14782).
21406 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
21408 * calendar/todo-mode.el: Add handling of file deletion, both by
21409 mode command and externally. Fix various related bugs.
21410 Clarify Commentary and improve some documentation strings and code.
21411 (todo-delete-file): New command.
21412 (todo-check-file): New function.
21413 (todo-show): Handle external deletion of the file we're trying to
21414 show (bug#14688). Replace called-interactively-p by an optional
21415 prefix argument to avoid problematic interaction with catch form
21416 when byte compiled (bug#14702).
21417 (todo-quit): Handle external deletion of the archive's todo file.
21418 Make sure the buffer that was visiting the archive file is still
21419 live before trying to bury it.
21420 (todo-category-completions): Handle external deletion of any
21421 category completion files.
21422 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
21423 of todo files, in case of external deletion.
21424 (todo-add-file): Replace unnecessary setq by let-binding.
21425 (todo-find-archive): Check whether there are any archives.
21426 Replace unnecessary setq by let-binding.
21427 (todo-archive-done-item): Use find-file-noselect to get the
21428 archive buffer whether or not the archive already exists.
21429 Remove superfluous code. Use file size instead of buffer-file-name to
21430 check if the archive is new; if it is, update list of archives.
21431 (todo-default-todo-file): Allow nil to be a valid value for when
21432 there are no todo files.
21433 (todo-reevaluate-default-file-defcustom): Use corrected definition
21434 of todo-default-todo-file.
21435 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
21436 (todo-delete-category, todo-show-categories-table)
21437 (todo-category-number): Clarify comment.
21438 (todo-filter-items): Clarify documentation string.
21439 (todo-show-current-file, todo-display-as-todo-file)
21440 (todo-reset-and-enable-done-separator): Tweak documentation string.
21441 (todo-done-separator): Make separator length window-width, since
21442 bug#2749 is now fixed.
21444 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
21446 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
21447 Support both "gvfs-monitor-dir" and "inotifywait".
21448 (tramp-sh-file-inotifywait-process-filter): Rename from
21449 `tramp-sh-file-notify-process-filter'.
21450 (tramp-sh-file-gvfs-monitor-dir-process-filter)
21451 (tramp-get-remote-gvfs-monitor-dir): New defuns.
21453 2013-07-05 Leo Liu <sdl.web@gmail.com>
21455 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
21457 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21459 * frame.el (display-pixel-height, display-pixel-width)
21460 (display-mm-height, display-mm-width): Mention behavior on
21461 multi-monitor setups in docstrings.
21462 (w32-display-monitor-attributes-list): Declare function.
21463 (display-monitor-attributes-list): Use it.
21465 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
21467 * filenotify.el: New package.
21469 * autorevert.el (top): Require filenotify.el.
21470 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
21472 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
21473 (auto-revert-notify-handler): Use `file-notify-*' functions.
21475 * subr.el (file-notify-handle-event): Move function to filenotify.el.
21477 * net/tramp.el (tramp-file-name-for-operation):
21478 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
21480 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
21481 for `file-notify-add-watch' and `file-notify-rm-watch'.
21482 (tramp-process-sentinel): Improve trace.
21483 (tramp-sh-handle-file-notify-add-watch)
21484 (tramp-sh-file-notify-process-filter)
21485 (tramp-sh-handle-file-notify-rm-watch)
21486 (tramp-get-remote-inotifywait): New defuns.
21488 2013-07-03 Juri Linkov <juri@jurta.org>
21490 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
21491 call of `occur-read-primary-args' to interactive spec.
21493 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
21494 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
21496 2013-07-03 Matthias Meulien <orontee@gmail.com>
21498 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
21499 `Buffer-menu-multi-occur'. Add it to the menu.
21500 (Buffer-menu-mode): Document it in docstring.
21501 (Buffer-menu-multi-occur): New command. (Bug#14673)
21503 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
21505 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
21506 keywords and built-ins.
21508 2013-07-03 Glenn Morris <rgm@gnu.org>
21510 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
21512 Make info-xref checks case-sensitive by default
21513 * info.el (Info-find-node, Info-find-in-tag-table)
21514 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
21515 Add option for exact case matching of nodes.
21516 * info-xref.el (info-xref): New custom group.
21517 (info-xref-case-fold): New option.
21518 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
21520 2013-07-03 Leo Liu <sdl.web@gmail.com>
21522 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
21524 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
21526 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
21527 middle of block statement initially, lower the depth. Remove
21528 FIXME comment, not longer valid. Remove middle of block statement
21529 detection, no need to do that anymore since we've been using
21530 `ruby-parse-region' here.
21532 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
21534 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
21536 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
21538 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
21540 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
21542 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
21543 (desktop-restore-in-current-display): New customization option.
21544 (desktop--excluded-frame-parameters): Add `font'.
21545 (desktop--save-frames): Rename from desktop--save-windows.
21546 (desktop--restore-in-this-display-p): New function.
21547 (desktop--make-full-frame): Remove unwanted width/height from
21548 full(width|height) frames.
21549 (desktop--restore-frames): Rename from desktop--restore-windows.
21550 Obey desktop-restore-current-display. Do not delete old frames or
21551 select a new frame unless we were able to restore at least one frame.
21553 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
21555 * files.el (find-file-noselect): Simplify conditional expression.
21557 * textmodes/remember.el (remember-append-to-file):
21558 Don't mix `find-buffer-visiting' and `get-file-buffer'.
21560 Add `remember-notes' function to store random notes across Emacs
21562 * textmodes/remember.el (remember-data-file): Add :set callback to
21563 affect notes buffer (if any).
21564 (remember-notes): New command.
21565 (remember-notes-buffer-name, bury-remember-notes-on-kill):
21566 New defcustoms for the `remember-notes' function.
21567 (remember-notes-save-and-bury-buffer): New command.
21568 (remember-notes-mode-map): New variable.
21569 (remember-mode): New minor mode.
21570 (remember-notes--kill-buffer-query): New function.
21571 * startup.el (initial-buffer-choice): Add notes to custom type.
21573 2013-06-30 Eli Zaretskii <eliz@gnu.org>
21575 * bindings.el (right-char, left-char): Don't call sit-for, this is
21576 no longer needed. Use arithmetic comparison only for numerical
21579 * international/mule-cmds.el (select-safe-coding-system):
21580 Handle the case of FROM being a string correctly. (Bug#14755)
21582 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21584 * net/shr.el (shr-make-table-1): Add a sanity check that allows
21585 progression on degenerate tables.
21586 (shr-rescale-image): ImageMagick animated images currently don't work.
21588 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
21590 Some fixes and improvements for desktop frame restoration.
21591 It is still experimental and disabled by default.
21592 * desktop.el (desktop--save-windows): Put the selected frame at
21593 the head of the list.
21594 (desktop--make-full-frame): New function.
21595 (desktop--restore-windows): Try to re-select the frame that was
21596 selected upon saving. Do not abort if some frames fail to restore,
21597 just show an error message and continue. Set up maximized frames
21598 so they have default non-maximized dimensions.
21600 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
21602 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
21603 Don't start heredoc inside a string or comment.
21605 2013-06-29 Eli Zaretskii <eliz@gnu.org>
21607 * bindings.el (visual-order-cursor-movement): New defcustom.
21608 (right-char, left-char): Provide visual-order cursor motion by
21609 calling move-point-visually. Update the doc strings.
21611 2013-06-28 Kenichi Handa <handa@gnu.org>
21613 * international/mule.el (define-coding-system): New coding system
21614 properties :inhibit-null-byte-detection,
21615 :inhibit-iso-escape-detection, and :prefer-utf-8.
21616 (set-buffer-file-coding-system): If :charset-list property of
21617 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
21618 appropriate for setting.
21620 * international/mule-cmds.el (select-safe-coding-system):
21621 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
21622 multibyte characters, return utf-8 (or one of its siblings).
21624 * international/mule-conf.el (prefer-utf-8): New coding system.
21625 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
21628 2013-06-28 Ivan Kanis <ivan@kanis.fr>
21630 * net/shr.el (shr-render-region): New function.
21632 * net/eww.el: Autoload `eww-browse-url'.
21634 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
21636 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21637 Adapt to `package-desc-version' being a list.
21638 Use `package--ac-desc-version' to retrieve version from a package
21641 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
21643 New experimental feature to save&restore window and frame setup.
21644 * desktop.el (desktop-save-windows): New defcustom.
21645 (desktop--saved-states): New var.
21646 (desktop--excluded-frame-parameters): New defconst.
21647 (desktop--filter-frame-parms, desktop--find-frame-in-display)
21648 (desktop--restore-windows, desktop--save-windows): New functions.
21649 (desktop-save): Call `desktop--save-windows'.
21650 (desktop-read): Call `desktop--restore-windows'.
21652 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21654 * net/shr.el (add-face-text-property): Remove compat definition.
21656 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21658 * info.el (Info-try-follow-nearest-node): Move search for footnote
21659 above search for node name to prevent missing a footnote (bug#14717).
21661 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21663 * obsolete/otodo-mode.el: Add obsolescence info to file header.
21665 2013-06-27 Leo Liu <sdl.web@gmail.com>
21667 * net/eww.el (eww-read-bookmarks): Check file size.
21669 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21671 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
21672 advice--pending if newdef is nil or an autoload (bug#13820).
21673 (advice-mapc): New function.
21675 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21677 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
21679 (eww-mode-map): Add a menu bar.
21680 (eww-add-bookmark): New command.
21681 (eww-bookmark-mode): New mode and commands.
21682 (eww-add-bookmark): Remove newlines from the title.
21683 (eww-bookmark-browse): Don't bug out if it's the only window.
21685 2013-06-26 Glenn Morris <rgm@gnu.org>
21687 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
21688 (hfy-size): Handle ttys. (Bug#14668)
21690 * info-xref.el: Update for Texinfo 5 change in *note format.
21691 (info-xref-node-re, info-xref-note-re): New constants.
21692 (info-xref-check-buffer): Use info-xref-note-re.
21694 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21696 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
21698 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
21699 nil terminate the loop (bug#14718).
21701 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21703 * net/eww.el: Rework history traversal. When going forward/back,
21704 put these actions into the history, too, so that they can be
21706 (eww-render): Move the history reset to the correct buffer.
21708 2013-06-25 Juri Linkov <juri@jurta.org>
21710 * files-x.el (modify-dir-local-variable): Change the header comment
21711 in the file with directory local variables. (Bug#14692)
21713 * files-x.el (read-file-local-variable-value): Add `default'.
21716 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21718 * net/eww.el (eww-make-unique-file-name): Create a unique file
21719 name before saving to entering `y' accidentally asynchronously.
21721 2013-06-25 Ivan Kanis <ivan@kanis.fr>
21723 * net/eww.el (eww-download): New command and keystroke.
21725 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21727 * net/eww.el (eww-copy-page-url): Change name of command.
21729 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
21730 be more consistent with Info and dired.
21732 * net/eww.el (eww-mode-map): Ditto.
21734 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21736 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
21737 packages from archives.
21738 (package-archive-contents): Change format; include obsolete packages.
21739 (package-desc): Use `dir' to mark builtin packages.
21740 (package--from-builtin): Set the `dir' field to `builtin'.
21741 (generated-autoload-file, version-control): Declare.
21742 (package-compute-transaction): Change first arg and return value to be
21743 lists of package-descs. Adjust to new package-archive-contents format.
21744 (package--add-to-archive-contents): Adjust to new
21745 package-archive-contents format.
21746 (package-download-transaction): Arg is now a list of package-descs.
21747 (package-install): If `pkg' is a package name, pass it as
21748 a requirement, so it is subject to the usual (e.g. disabled) checks.
21749 (describe-package): Accept package-desc as well.
21750 (describe-package-1): Describe a specific package-desc. Add links to
21751 other package-descs for the same package name.
21752 (package-menu-describe-package): Pass the actual package-desc.
21753 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
21755 (package-desc-status): New function.
21756 (package-menu--refresh): New function, extracted
21757 from package-menu--generate.
21758 (package-menu--generate): Use it.
21759 (package-delete): Update package-alist.
21760 (package-menu-execute): Don't call package-initialize.
21762 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
21763 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
21764 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
21765 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
21766 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
21767 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
21769 2013-06-25 Martin Rudalics <rudalics@gmx.at>
21771 * window.el (window--state-get-1): Workaround for bug#14527.
21772 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
21774 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21776 * net/eww.el (eww-back-url): Implement the history by stashing all
21777 the data into a list.
21778 (eww-forward-url): Allow going forward in the history, too.
21780 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21782 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
21783 for values and use read--expression for expressions (bug#14710).
21784 (read-file-local-variable): Avoid setq.
21785 (read-file-local-variable-mode): Use minor-mode-list.
21787 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21789 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
21792 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21794 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
21795 Update imenu-support when dialect changes.
21797 2013-06-25 Leo Liu <sdl.web@gmail.com>
21799 * ido.el (ido-read-internal): Allow forward slash on windows.
21801 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21803 * net/eww.el (eww): Start of strings is \\`, not ^.
21805 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21807 * net/shr.el (shr-browse-url): Fix interactive spec.
21809 * net/eww.el (eww): Add a trailing slash to domain names.
21811 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
21813 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
21815 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21817 * net/shr.el (shr-browse-url): Use an external browser if given a
21820 * net/eww.el (eww-external-browser): Move to shr.
21822 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21824 * net/eww.el (eww): Work more correctly for file: URLs.
21825 (eww-detect-charset): Allow quoted charsets.
21826 (eww-yank-page-url): New command and keystroke.
21828 2013-06-24 Daiki Ueno <ueno@gnu.org>
21830 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
21831 file name of gpg executable.
21832 (epg-context-program): New function.
21833 (epg-context-home-directory): New function.
21834 (epg-context-set-program): New function.
21835 (epg-context-set-home-directory): New function.
21836 (epg--start): Use `epg-context-program' instead of
21838 (epg--list-keys-1): Likewise.
21840 2013-06-24 Leo Liu <sdl.web@gmail.com>
21842 * ido.el (ido-read-internal): Fix bug#14620.
21844 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21846 * faces.el (face-documentation): Simplify.
21847 (read-face-attribute, tty-find-type, x-resolve-font-name):
21848 Use `string-match-p'.
21849 (list-faces-display): Use `string-match-p'. Simplify.
21850 (face-spec-recalc): Check face to avoid face alias loops.
21851 (read-color): Use `string-match-p' and non-capturing parenthesis.
21853 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
21855 * net/shr.el (shr-rescale-image): Use the new
21856 :max-width/:max-height functionality.
21858 2013-06-23 Ivan Kanis <ivan@kanis.fr>
21860 * net/eww.el (eww-search-prefix): New variable.
21862 (eww-external-browser): New variable.
21863 (eww-mode-map): New keystroke.
21864 (eww-browse-with-external-browser): New command.
21866 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
21868 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21870 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
21871 Don't skip aligning the next header field when padding is 0;
21872 otherwise, field width is not respected unless the title is as
21875 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
21877 * emacs-lisp/package.el (package-el-version): Remove.
21878 (package-process-define-package): Fix inf-loop.
21879 (package-install): Allow symbols as arguments again.
21881 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21883 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
21884 add some more keyword-like methods.
21885 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
21887 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
21889 * bs.el (bs-buffer-show-mark): Make defvar-local.
21890 (bs-mode): Use setq-local.
21892 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
21893 (emacs-lock--try-unlocking): Make defvar-local.
21895 2013-06-22 Glenn Morris <rgm@gnu.org>
21897 * play/cookie1.el (cookie-apropos): Minor simplification.
21899 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
21901 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
21903 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
21904 `regexp-opt', it breaks the build during dumping.
21906 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
21908 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
21909 Highlight keyword-like methods on Kernel and Module with
21910 font-lock-builtin-face.
21911 (auto-mode-alist): Consolidate different entries into one regexp
21912 and add more *file-s.
21914 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
21916 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
21918 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
21919 (diary-entry): Use it in the action of this button type instead of
21922 * calendar/todo-mode.el: New version.
21923 (todo-add-category): Append new category to end of file and give
21924 it the highest number, instead of putting it at the beginning and
21925 giving it 0. Incorporate noninteractive functionality.
21926 (todo-forward-category): Adapt to 1-based category numbering.
21927 Allow skipping over archived categories.
21928 (todo-backward-category): Derive from todo-forward-category.
21929 (todo-backward-item, todo-forward-item): Make noninteractive and
21930 delegate interactive part to new commands. Make sensitive to done items.
21931 (todo-categories): Make value an alist of category names and
21932 vectors of item counts.
21933 (todo-category-beg): Make a defconst.
21934 (todo-category-number): Use 1 instead of 0 as initial value.
21935 (todo-category-select): Make sensitive to overlays, optional item
21936 highlighting and done items.
21937 (todo-delete-item): Make sensitive to overlays and marked and done items.
21938 (todo-edit-item): Make sensitive to overlays and editing of
21939 date/time header optional. Add format checks.
21940 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
21941 no-op if point is not on an item. Advertise using todo-edit-quit.
21942 (todo-edit-mode): Make sensitive to new format, font-locking, and
21943 multiple todo files.
21944 (todo-insert-item, todo-insert-item-here): Derive from
21945 todo-basic-insert-item and extend functionality.
21946 (todo-item-end, todo-item-start): Make sensitive to done items.
21947 (todo-item-string): Don't return text properties. Restore point.
21948 (todo-jump-to-category): Make sensitive to multiple todo files and
21949 todo archives. Use extended category completion.
21950 (todo-lower-item, todo-raise-item): Rename to *-priority and
21951 derive from todo-set-item-priority.
21952 (todo-mode): Derive from special-mode. Make sensitive to new
21953 format, font-locking and multiple todo files. Make read-only.
21954 (todo-mode-map): Don't suppress digit keys, so they can supply
21955 prefix arguments. Add many new key bindings.
21956 (todo-prefix): Insert as an overlay instead of file text.
21957 Change semantics from diary date expression to purely visual mark.
21958 (todo-print): Rename to todo-print-buffer. Make buffer display
21959 features printable. Remove option to restrict number of items
21960 printed. Add option to print to file.
21961 (todo-print-function): Rename to todo-print-buffer-function.
21962 (todo-quit): Extend to handle exiting new todo modes.
21963 (todo-remove-item): Make sensitive to overlays.
21964 (todo-save): Extend to buffers of filtered items.
21965 (todo-show): Make sensitive to done items, multiple todo files and
21966 new todo modes. Offer to convert legacy todo file before creating
21967 first new todo file.
21968 (todo-show-priorities): Rename to todo-top-priorities.
21969 Change semantics of value 0.
21970 (todo-top-priorities): Rename to todo-filter-top-priorities,
21971 derive from todo-filter-items and extend functionality.
21972 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
21973 and extend functionality to other types of filtered items.
21974 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
21975 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
21976 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
21977 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
21978 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
21979 (todo-edit-mode-hook, todo-entry-prefix-function)
21980 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
21981 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
21982 (todo-initials, todo-insert-threshold, todo-item-string-start)
21983 (todo-line-string, todo-menu, todo-mode-hook)
21984 (todo-more-important-p, todo-previous-answer, todo-previous-line)
21985 (todo-print-priorities, todo-remove-separator)
21986 (todo-save-top-priorities-too, todo-string-count-lines)
21987 (todo-string-multiline-p, todo-time-string-format)
21988 (todo-tmp-buffer-name): Remove.
21989 (todo-add-file, todo-archive-done-item, todo-choose-archive)
21990 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
21991 (todo-edit-category-diary-inclusion)
21992 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
21993 (todo-edit-file, todo-edit-item-date-day)
21994 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
21995 (todo-edit-item-date-month, todo-edit-item-date-to-today)
21996 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
21997 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
21998 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
21999 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
22000 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
22001 (todo-filter-top-priorities-multifile, todo-find-archive)
22002 (todo-find-filtered-items-file, todo-go-to-source-item)
22003 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
22004 (todo-jump-to-archive-category, todo-lower-category)
22005 (todo-mark-category, todo-marked-item-p, todo-merge-category)
22006 (todo-move-category, todo-move-item, todo-next-button)
22007 (todo-next-item, todo-padded-string, todo-powerset)
22008 (todo-previous-button, todo-previous-item)
22009 (todo-print-buffer-to-file, todo-raise-category)
22010 (todo-rename-category, todo-repair-categories-sexp, todo-search)
22011 (todo-set-category-number, todo-set-item-priority)
22012 (todo-set-top-priorities-in-category)
22013 (todo-set-top-priorities-in-file, todo-show-categories-table)
22014 (todo-sort-categories-alphabetically-or-numerically)
22015 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
22016 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
22017 (todo-toggle-item-header, todo-toggle-item-highlighting)
22018 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
22019 (todo-toggle-view-done-items, todo-toggle-view-done-only)
22020 (todo-unarchive-items, todo-unmark-category): New commands.
22021 (todo-absolute-file-name, todo-add-to-buffer-list)
22022 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
22023 (todo-basic-insert-item, todo-category-completions)
22024 (todo-category-number, todo-category-string-matcher-1)
22025 (todo-category-string-matcher-2, todo-check-filtered-items-file)
22026 (todo-check-format, todo-clear-matches)
22027 (todo-comment-string-matcher, todo-convert-legacy-date-time)
22028 (todo-current-category, todo-date-string-matcher)
22029 (todo-define-insertion-command, todo-diary-expired-matcher)
22030 (todo-diary-goto-entry, todo-diary-item-p)
22031 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
22032 (todo-display-categories, todo-display-sorted, todo-done-item-p)
22033 (todo-done-item-section-p, todo-done-separator)
22034 (todo-done-string-matcher, todo-files, todo-filter-items)
22035 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
22036 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
22037 (todo-insert-category-line, todo-insert-item-from-calendar)
22038 (todo-insert-sort-button, todo-insert-with-overlays)
22039 (todo-insertion-command-name, todo-insertion-key-bindings)
22040 (todo-label-to-key, todo-longest-category-name-length)
22041 (todo-make-categories-list, todo-mode-external-set)
22042 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
22043 (todo-modes-set-3, todo-multiple-filter-files)
22044 (todo-nondiary-marker-matcher, todo-prefix-overlays)
22045 (todo-read-category, todo-read-date, todo-read-dayname)
22046 (todo-read-file-name, todo-read-time)
22047 (todo-reevaluate-category-completions-files-defcustom)
22048 (todo-reevaluate-default-file-defcustom)
22049 (todo-reevaluate-filelist-defcustoms)
22050 (todo-reevaluate-filter-files-defcustom)
22051 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
22052 (todo-reset-done-separator, todo-reset-done-separator-string)
22053 (todo-reset-done-string, todo-reset-global-current-todo-file)
22054 (todo-reset-highlight-item, todo-reset-nondiary-marker)
22055 (todo-reset-prefix, todo-set-categories)
22056 (todo-set-date-from-calendar, todo-set-show-current-file)
22057 (todo-set-top-priorities, todo-short-file-name)
22058 (todo-show-current-file, todo-sort, todo-time-string-matcher)
22059 (todo-total-item-counts, todo-update-buffer-list)
22060 (todo-update-categories-display, todo-update-categories-sexp)
22061 (todo-update-count, todo-validate-name, todo-y-or-n-p):
22063 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
22065 (todo-categories, todo-display, todo-edit, todo-faces)
22066 (todo-filtered): New defgroups.
22067 (todo-archived-only, todo-button, todo-category-string, todo-date)
22068 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
22069 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
22070 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
22071 (todo-add-item-if-new-category, todo-always-add-time-string)
22072 (todo-categories-align, todo-categories-archived-label)
22073 (todo-categories-category-label, todo-categories-diary-label)
22074 (todo-categories-done-label, todo-categories-number-separator)
22075 (todo-categories-todo-label, todo-categories-totals-label)
22076 (todo-category-completions-files, todo-completion-ignore-case)
22077 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
22078 (todo-done-separator-string, todo-done-string)
22079 (todo-files-function, todo-filter-done-items, todo-filter-files)
22080 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
22081 (todo-initial-category, todo-initial-file, todo-item-mark)
22082 (todo-legacy-date-time-regexp, todo-mode-line-function)
22083 (todo-nondiary-marker, todo-number-prefix)
22084 (todo-print-buffer-function, todo-show-current-file)
22085 (todo-show-done-only, todo-show-first, todo-show-with-done)
22086 (todo-skip-archived-categories, todo-top-priorities-overrides)
22087 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
22088 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
22090 (todo-category-done, todo-date-pattern, todo-date-string-start)
22091 (todo-diary-items-buffer, todo-done-string-start)
22092 (todo-filtered-items-buffer, todo-item-start)
22093 (todo-month-abbrev-array, todo-month-name-array)
22094 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
22095 (todo-top-priorities-buffer): New defconsts.
22096 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
22097 (todo-categories-with-marks, todo-category-string-face)
22098 (todo-comment-face, todo-comment-string, todo-current-todo-file)
22099 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
22100 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
22101 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
22102 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
22103 (todo-font-lock-keywords, todo-global-current-todo-file)
22104 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
22105 (todo-insertion-commands-args)
22106 (todo-insertion-commands-args-genlist)
22107 (todo-insertion-commands-names, todo-insertion-map)
22108 (todo-key-bindings-t, todo-key-bindings-t+a)
22109 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
22110 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
22111 (todo-nondiary-face, todo-print-buffer, todo-time-face)
22112 (todo-visited): New variables.
22114 2013-06-21 Glenn Morris <rgm@gnu.org>
22116 * play/cookie1.el (cookie-apropos): Add optional display argument.
22117 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
22118 (psychoanalyze-pinhead): Use cookie-doctor.
22120 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
22122 * emacs-lisp/package.el (tar-get-file-descriptor)
22123 (tar--extract): Declare.
22125 2013-06-21 Eduard Wiebe <usenet@pusto.de>
22127 Extend flymake's warning predicate to be a function (bug#14217).
22128 * progmodes/flymake.el (flymake-warning-predicate): New.
22129 (flymake-parse-line): Use it.
22130 (flymake-warning-re): Make obsolete alias to
22131 `flymake-warning-predicate'.
22133 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22135 * emacs-lisp/package.el (package-alist): Include obsolete packages.
22136 (package-obsolete-list): Remove.
22137 (package-activate): Remove min-version argument. Add `force' argument.
22138 Adjust to new package-alist format.
22139 (package-mark-obsolete): Remove.
22140 (package-unpack): Force reload of the package's autoloads.
22141 (package-installed-p): Check builtins if the installed package is not
22143 (package-initialize): Don't reset package-obsolete-list.
22144 Don't specify which package version to activate.
22145 (package-process-define-package, describe-package-1)
22146 (package-menu--generate): Adjust to new package-alist format.
22148 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
22150 * allout-widgets.el (allout-widgets-mode-off)
22151 (allout-widgets-mode-on, allout-widgets-pre-command-business)
22152 (allout-widgets-post-command-business)
22153 (allout-widgets-after-copy-or-kill-function)
22154 (allout-widgets-after-undo-function, allout-test-range-overlaps)
22155 (allout-decorate-item-and-context)
22156 (allout-graphics-modification-handler): Fix typos in docstrings.
22157 (allout-get-or-create-parent-widget): Use `looking-at-p'.
22159 * cmuscheme.el (scheme-start-file): Doc fix.
22160 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
22161 (scheme-input-filter): Use `string-match-p'.
22163 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
22165 * dired-x.el: Use Dired consistently in docstrings.
22167 * dired.el: Use Dired consistently in docstrings.
22168 (dired-readin, dired-mode): Use `setq-local'.
22169 (dired-switches-alist): Make defvar-local.
22170 (dired-buffers-for-dir): Use `zerop'.
22171 (dired-safe-switches-p, dired-switches-escape-p)
22172 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
22173 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
22174 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
22175 (dired-goto-next-nontrivial-file): Use `string-match-p'.
22176 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
22177 (dired-toggle-marks, dired-mark-files-containing-regexp)
22178 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
22179 (dired-flag-auto-save-files, dired-flag-backup-files):
22180 Use `looking-at-p'.
22181 (dired-mark-files-regexp, dired-build-subdir-alist):
22182 Use `string-match-p', `looking-at-p'.
22184 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
22185 (direct-print-region-helper): Use `string-match-p'.
22187 2013-06-21 Leo Liu <sdl.web@gmail.com>
22189 * comint.el (comint-redirect-results-list-from-process):
22192 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22194 * net/eww.el (eww-update-header-line-format): Quote % characters.
22196 2013-06-21 Glenn Morris <rgm@gnu.org>
22198 * play/cookie1.el (cookie): New custom group.
22199 (cookie-file): New option.
22200 (cookie-check-file): New function.
22201 (cookie): Make it interactive. Make start and end messages optional.
22202 Interactively, display the result. Default to cookie-file.
22203 (cookie-insert): Default to cookie-file.
22204 (cookie-snarf): Make start and end messages optional.
22205 Default to cookie-file. Use with-temp-buffer.
22206 (cookie-read): Rename from read-cookie.
22207 Make start and end messages optional. Default to cookie-file.
22208 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
22209 Do not autoload it.
22210 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
22211 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
22213 2013-06-21 Leo Liu <sdl.web@gmail.com>
22215 * progmodes/octave.el (octave-mode): Backward compatibility fix.
22217 2013-06-21 Glenn Morris <rgm@gnu.org>
22219 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
22221 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22222 Daniel Hackney <dan@haxney.org>
22224 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
22225 Consolidate the single-file vs tarball code.
22226 (package-desc-suffix): New function.
22227 (package-desc-full-name): Don't bother inlining it.
22228 (package-load-descriptor): Return the new package-desc.
22229 (package-mark-obsolete): Remove unused arg `package'.
22230 (package-unpack): Make it work for single files as well.
22231 Make it update package-alist.
22232 (package--make-autoloads-and-stuff): Rename from
22233 package--make-autoloads-and-compile. Don't compile any more.
22234 (package--compile): New function.
22235 (package-generate-description-file): New function, extracted from
22236 package-unpack-single.
22237 (package-unpack-single): Remove.
22238 (package--with-work-buffer): Add indentation and debugging info.
22239 (package-download-single): Remove.
22240 (package-install-from-archive): Rename from package-download-tar, make
22241 it take a pkg-desc, and make it work for single files as well.
22242 (package-download-transaction): Simplify.
22243 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
22244 external tar program.
22245 (package-install-from-buffer): Remove `pkg-desc' argument.
22246 Use package-tar-file-info for tar-mode buffers.
22247 (package-install-file): Simplify accordingly.
22248 (package-archive-base): Change to take a pkg-desc.
22249 * tar-mode.el (tar--check-descriptor): New function, extracted from
22250 tar-get-descriptor.
22251 (tar-get-descriptor): Use it.
22252 (tar-get-file-descriptor): New function.
22253 (tar--extract): New function, extracted from tar-extract.
22254 (tar--extract): Use it.
22255 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
22256 case the summary uses non-ascii. Adjust to new calling convention of
22257 package-tar-file-info.
22259 2013-06-21 Leo Liu <sdl.web@gmail.com>
22261 * comint.el (comint-redirect-results-list-from-process):
22262 Fix random delay. (Bug#14681)
22264 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
22266 * profiler.el (profiler-format-number): Use log, not log10.
22268 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
22270 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
22272 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22274 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
22275 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
22277 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
22278 (AUTOGENEL): ... here.
22279 * emacs-lisp/cl-macs.el (cl--sublis): New function.
22280 (cl--defsubst-expand): Use it.
22282 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
22284 * subr.el (log10): Move here from C code, and declare as obsolete.
22285 All uses of (log10 X) replaced with (log X 10).
22287 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
22289 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
22290 Declare with `defvar-local'.
22291 (tabulated-list-use-header-line, tabulated-list-entries)
22292 (tabulated-list-padding, tabulated-list-printer)
22293 (tabulated-list-sort-key): Declare with `defvar-local'.
22294 (tabulated-list-init-header, tabulated-list-print-fake-header):
22297 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
22299 * arc-mode.el (archive-mode): Add `archive-write-file' to
22300 `write-contents-functions' also for remote files. (Bug#14652)
22302 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
22304 * cus-edit.el (custom-commands): Fix typos.
22305 (custom-display): Fix tooltip text.
22306 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
22307 Fix typos in docstrings.
22308 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
22309 (custom-unlispify-menu-entry, custom-magic-value-create)
22310 (custom-add-see-also, custom-group-value-create): Use ?\s.
22311 (custom-guess-type, customize-apropos, editable-field)
22312 (custom-face-value-create): Use `string-match-p'.
22313 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
22315 * custom.el (custom-load-symbol): Use `string-match-p'.
22317 * ansi-color.el: Convert to lexical binding.
22318 (ansi-colors): Fix URL.
22319 (ansi-color-context, ansi-color-context-region): Use defvar-local.
22320 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
22321 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
22323 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22325 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
22327 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
22329 2013-06-19 Tom Tromey <tromey@redhat.com>
22331 * net/eww.el (eww-top-url): Remove.
22332 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
22333 (eww-render): Set new variables. Don't set eww-top-url.
22334 (eww-handle-link): Handle "prev", "home", and "contents".
22335 Downcase the rel text.
22336 (eww-top-url): Choose best top URL.
22338 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22340 * net/eww.el: Rewrite to implement form elements "by hand" instead of
22341 relying in widget.el. Using widget.el leads to too many
22342 user interface inconsistencies.
22343 (eww-self-insert): Implement entering commands in text fields.
22344 (eww-process-text-input): New function to make text input field editing
22346 (eww-submit): Rewrite to use the new-style form methods.
22347 (eww-select-display): Display the correct selected item.
22348 (eww-change-select): Implement changing the select value.
22349 (eww-toggle-checkbox): Implement radio/checkboxes.
22350 (eww-update-field): Fix compilation error.
22351 (eww-tag-textarea): Implement <textarea>.
22353 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
22354 we don't shadow mode-specific bindings.
22356 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
22359 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
22361 2013-06-19 Glenn Morris <rgm@gnu.org>
22363 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
22365 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
22367 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
22370 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
22372 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22374 * net/browse-url.el (browse-url-browser-function):
22375 `eww-browse-url' has the right calling signature, `eww' does not.
22377 2013-06-19 Glenn Morris <rgm@gnu.org>
22379 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
22380 Only eval autoloaded macros.
22381 (byte-compile-autoload): Only give the macro warning for macros.
22383 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
22384 (ps-underlined-faces): Declare.
22386 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
22387 (speedbar-add-supported-extension): Declare.
22389 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
22390 Don't include a date stamp in the header of the generated file;
22391 it leads to needless differences between output files.
22393 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
22395 * net/secrets.el (secrets-struct-secret-content-type):
22396 Replace check of introspection data by a test call of "CreateItem".
22397 Some servers do not offer introspection.
22399 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
22401 * electric.el (electric-pair-mode): Improve interaction with
22402 electric-layout-mode.
22403 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
22404 (electric-pair-syntax): Use text-mode-syntax-table in comments
22406 (electric-pair--insert): New function.
22407 (electric-pair-post-self-insert-function): Use it and
22408 electric--after-char-pos.
22410 2013-06-19 Leo Liu <sdl.web@gmail.com>
22412 * progmodes/octave.el (octave-help): Fix regexp.
22414 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
22416 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
22417 (shr-table-horizontal-line): Allow nil as a value, and change the
22419 (shr-insert-table-ruler): Respect the nil value.
22421 2013-06-18 Tom Tromey <tromey@barimba>
22423 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22425 (eww-open-file): New defun.
22426 (eww-render): Initialize new variables.
22427 (eww-display-html): Handle "link" and "a".
22428 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
22429 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
22430 (eww-back-url): Rename from eww-previous-url.
22431 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22434 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
22436 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
22437 Distinguish ternary operator tokens from slash symbol and slash
22440 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
22442 Convert symbol prettification into minor mode and global minor mode.
22444 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
22445 `prog-prettify-symbols', and make a local defvar instead of defcustom.
22446 (prettify-symbols--keywords): Rename from
22447 `prog-prettify-symbols-alist' and make a local defvar.
22448 (prettify-symbols--compose-symbol): Rename from
22449 `prog--prettify-font-lock-compose-symbol'.
22450 (prettify-symbols--make-keywords): Rename from
22451 `prog-prettify-font-lock-symbols-keywords' and simplify.
22452 (prog-prettify-install): Remove.
22453 (prettify-symbols-mode): New minor mode, based on
22454 `prog-prettify-install'.
22455 (turn-on-prettify-symbols-mode): New function.
22456 (global-prettify-symbols-mode): New globalized minor mode.
22458 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22459 * progmodes/cfengine.el (cfengine3-mode):
22460 * progmodes/perl-mode.el (perl-mode): Don't call
22461 `prog-prettify-install'; set `prettify-symbols-alist' instead.
22463 2013-06-18 Juri Linkov <juri@jurta.org>
22465 * files-x.el (modify-file-local-variable-message): New function.
22466 (modify-file-local-variable)
22467 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
22468 and call `modify-file-local-variable-message' when it's non-nil.
22469 (add-file-local-variable, delete-file-local-variable)
22470 (add-file-local-variable-prop-line)
22471 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
22472 and use it. (Bug#9820)
22474 2013-06-18 Juri Linkov <juri@jurta.org>
22476 * emulation/vi.el (vi-shell-op):
22477 * emulation/vip.el (vip-execute-com, ex-command):
22478 * emulation/viper-cmd.el (viper-exec-bang):
22479 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
22480 the call of `shell-command-on-region'. (Bug#14637)
22482 * simple.el (shell-command-on-region): Doc fix.
22484 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
22486 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
22489 2013-06-18 Glenn Morris <rgm@gnu.org>
22491 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
22493 * newcomment.el (comment-search-forward, comment-search-backward):
22494 Doc fix. (Bug#14376)
22496 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
22498 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
22499 (buffer-face-mode-invoke): Doc fix.
22501 2013-06-18 Matthias Meulien <orontee@gmail.com>
22503 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
22504 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
22506 2013-06-18 Glenn Morris <rgm@gnu.org>
22508 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
22509 Replace obsolete function generic-make-keywords with its expansion.
22511 * progmodes/python.el (ffap-alist): Declare.
22513 * textmodes/reftex.el (bibtex-mode-map): Declare.
22515 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
22517 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
22518 (package-unpack, package-unpack-single): Return the pkg-dir.
22519 (package-download-transaction): Use it to update package-alist.
22521 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22523 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
22526 2013-06-17 Juri Linkov <juri@jurta.org>
22528 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
22530 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
22532 * emacs-lisp/package.el (package-load-descriptor):
22533 Remove `with-syntax-table' call, `read' doesn't need it.
22534 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
22536 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
22538 * startup.el (command-line): Expand package name returned by
22539 `package--description-file' (bug#14639).
22541 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
22543 * emacs-lisp/package.el (package-load-descriptor): Do not call
22544 `emacs-lisp-mode', just use its syntax table.
22546 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
22548 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
22549 `font-lock-extra-managed-props' if any prettifying keyword is added.
22550 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
22551 (prog-mode): Use `setq-local'.
22553 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22555 * international/characters.el (standard-case-table): Set syntax of ?»
22556 and ?« to punctuation.
22558 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
22560 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
22561 Save relevant match data before calling `syntax-ppss' (bug#14595).
22563 2013-06-15 Juri Linkov <juri@jurta.org>
22565 * files-x.el (modify-file-local-variable-prop-line): Add local
22566 variables to the end of the existing comment on the first line.
22567 Use `file-auto-mode-skip' to skip interpreter magic line,
22568 and also skip XML declaration.
22570 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22572 * startup.el (package--builtin-versions): New var.
22573 (package-subdirectory-regexp): Remove.
22574 (package--description-file): Hard code its value instead.
22576 * emacs-lisp/package.el: Don't activate packages older than builtin.
22577 (package-obsolete-list): Rename from package-obsolete-alist, and make
22578 it into a simple list of package-desc.
22579 (package-strip-version): Remove.
22580 (package-built-in-p): Use package--builtin-versions.
22581 (package-mark-obsolete): Simplify.
22582 (package-process-define-package): Mark it obsolete if older than the
22584 (package-handle-response): Use line-end-position.
22585 (package-read-archive-contents, package--download-one-archive):
22587 (package--add-to-archive-contents): Skip if older than the builtin or
22589 (package-menu-describe-package): Fix last change.
22590 (package-list-unversioned): New var.
22591 (package-menu--generate): Use it.
22593 * emacs-lisp/autoload.el: Manage package--builtin-versions.
22594 (autoload--insert-text, autoload--insert-cookie-text): New functions.
22595 (autoload-builtin-package-versions): New variable.
22596 (autoload-generate-file-autoloads): Use them.
22597 Remove the list of autoloaded functions/macros from the
22598 (autoload...) comments.
22600 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
22602 2013-06-15 Eli Zaretskii <eliz@gnu.org>
22604 * simple.el (line-move-partial): Don't jump to the next screen
22605 line as soon as it becomes visible. Instead, continue enlarging
22606 the vscroll until the portion of a tall screen line that's left on
22607 display is about the height of the frame's default font.
22610 2013-06-15 Glenn Morris <rgm@gnu.org>
22612 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
22613 compilation-error-regexp-alist void, or local while let-bound.
22615 * progmodes/make-mode.el (makefile-mode-syntax-table):
22616 Treat "=" as punctuation. (Bug#14614)
22618 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
22620 * help-fns.el (describe-variable):
22621 Add extra line for permanent-local variables.
22623 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
22625 * progmodes/scheme.el (scheme-font-lock-keywords-2):
22626 Add export, import, library. (Bug#9164)
22627 (library): Set indent function.
22629 2013-06-14 Glenn Morris <rgm@gnu.org>
22631 * term/xterm.el (xterm--query):
22632 Stop after first matching handler. (Bug#14615)
22634 2013-06-14 Ivan Kanis <ivan@kanis.fr>
22636 Add support for dired in saveplace.
22637 * dired.el (dired-initial-position-hook): New variable.
22638 (dired-initial-position): Call hook to place cursor position.
22639 * saveplace.el (save-place-to-alist): Add dired position.
22640 (save-place-dired-hook): New function.
22642 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
22644 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
22645 through a symbol rather than letrec.
22647 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
22648 (package-desc): Add `dir' field.
22649 (package-desc-full-name): New function.
22650 (package-load-descriptor): Combine the two arguments. Don't use `load'.
22651 (package-maybe-load-descriptor): Remove.
22652 (package-load-all-descriptors): Just call package-load-descriptor.
22653 (package--disabled-p): New function.
22654 (package-desc-vers, package-desc-doc): Remove aliases.
22655 (package--dir): Remove function.
22656 (package-activate): Check if a package is disabled.
22657 (package-process-define-package): New function, extracted from
22659 (define-package): Turn into a place holder.
22660 (package-unpack-single, package-tar-file-info):
22661 Use package--description-file.
22662 (package-compute-transaction): Use package--disabled-p.
22663 (package-download-transaction): Don't call
22664 package-maybe-load-descriptor since they're all loaded anyway.
22665 (package-install): Change argument to be a pkg-desc.
22666 (package-delete): Use a single pkg-desc argument.
22667 (describe-package-1): Use package-desc-dir instead of package--dir.
22668 Use package-desc property instead of package-symbol.
22669 (package-install-button-action): Adjust accordingly.
22670 (package--push): Rewrite.
22671 (package-menu--print-info): Adjust accordingly. Change the ID format
22673 (package-menu-describe-package, package-menu-get-status)
22674 (package-menu--find-upgrades, package-menu-mark-upgrades)
22675 (package-menu-execute, package-menu--name-predicate):
22676 Adjust accordingly.
22677 * startup.el (package--description-file): New function.
22678 (command-line): Use it.
22679 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22680 Use package-desc-version.
22682 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
22683 (byte-compile-preprocess): Use it.
22684 (byte-compile-file-form-defalias): Try a bit harder to use macros we
22685 can't quite recognize.
22686 (byte-compile-add-to-list): Remove.
22687 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
22688 (cconv-closure-convert): Add assertion.
22690 * emacs-lisp/map-ynp.el: Use lexical-binding.
22691 (map-y-or-n-p): Remove unused vars `tail' and `object'.
22692 Factor out some repeated code.
22694 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22696 * subr.el (with-eval-after-load): New macro.
22697 (eval-after-load): Allow form to be a function.
22698 take advantage of lexical-binding.
22699 (do-after-load-evaluation): Use dolist and adjust to new format.
22700 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
22702 2013-06-13 Juri Linkov <juri@jurta.org>
22704 * replace.el (perform-replace): Display "symbol " and other search
22705 modes from `isearch-message-prefix' in the *Help* buffer.
22707 * isearch.el (isearch-query-replace): Add " symbol" and other
22708 possible search modes from `isearch-message-prefix' to the prompt.
22709 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
22710 when reading a regexp to collect.
22712 2013-06-13 Juri Linkov <juri@jurta.org>
22714 * isearch.el (word-search-regexp): Match whitespace if the search
22715 string begins or ends in whitespace. The LAX arg is applied to
22716 both ends of the search string. Use `regexp-quote' and explicit
22717 \< and \> instead of \b. Use \` and \' instead of ^ and $.
22718 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
22719 boundaries are replaced with symbol boundaries, and characters
22720 between symbols match non-word non-symbol syntax. (Bug#14602)
22722 2013-06-13 Juri Linkov <juri@jurta.org>
22724 * isearch.el (isearch-del-char): Don't exceed the length of
22725 `isearch-string' by the prefix arg. (Bug#14563)
22727 2013-06-13 Juri Linkov <juri@jurta.org>
22729 * isearch.el (isearch-yank-word, isearch-yank-line)
22730 (isearch-char-by-name, isearch-quote-char)
22731 (isearch-printing-char, isearch-process-search-char):
22732 Add optional count prefix arg. (Bug#14563)
22734 * international/isearch-x.el
22735 (isearch-process-search-multibyte-characters):
22736 Add optional count prefix arg.
22738 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22740 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
22741 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
22744 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
22746 * subr.el (set-temporary-overlay-map): Add on-exit argument.
22748 2013-06-13 Glenn Morris <rgm@gnu.org>
22750 * startup.el (tty-handle-args):
22751 Don't just discard "--" and anything after. (Bug#14608)
22753 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
22755 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
22757 Implement changes in Secret Service API. Make it backward compatible.
22758 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
22759 (secrets-create-item): Use it. Prefix properties with interface.
22761 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
22763 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
22764 (term-emulate-terminal): Respect term-suppress-hard-newline.
22766 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
22768 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
22769 Only remove a `thumb-file' overlay. (Bug#14548)
22771 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
22773 * mail/reporter.el (reporter-submit-bug-report):
22774 Handle missing package-name. (Bug#14600)
22776 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22778 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
22779 (reftex-citation-prompt, reftex-default-bibliography)
22780 (reftex-bib-or-thebib, reftex-get-bibfile-list)
22781 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
22782 (reftex-bib-sort-author, reftex-bib-sort-year)
22783 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
22784 (reftex-extract-bib-entries-from-thebibliography)
22785 (reftex-get-bibkey-default, reftex-get-bib-names)
22786 (reftex-parse-bibtex-entry, reftex-get-bib-field)
22787 (reftex-format-bib-entry, reftex-parse-bibitem)
22788 (reftex-format-bibitem, reftex-do-citation)
22789 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
22790 (reftex-restrict-bib-matches, reftex-extract-bib-file)
22791 (reftex-insert-bib-matches, reftex-format-citation)
22792 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
22793 (reftex-create-bibtex-file): Add docstrings, mostly by converting
22794 existing comments into docstrings.
22796 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22798 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
22800 2013-06-12 Andreas Schwab <schwab@suse.de>
22802 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
22803 for auto-save files.
22805 2013-06-12 Glenn Morris <rgm@gnu.org>
22807 * ido.el (ido-delete-ignored-files): Remove.
22808 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
22809 Go back to calling ido-ignore-item-p directly.
22811 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
22813 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
22815 * ido.el (ido-delete-ignored-files): New function,
22816 split from ido-make-file-list-1.
22817 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
22818 (ido-make-file-list-1): Use ido-delete-ignored-files.
22820 2013-06-12 Leo Liu <sdl.web@gmail.com>
22822 * progmodes/octave.el (inferior-octave-startup)
22823 (inferior-octave-completion-table)
22824 (inferior-octave-track-window-width-change)
22825 (octave-eldoc-function-signatures, octave-help)
22826 (octave-find-definition): Use single quoted strings.
22827 (inferior-octave-startup-args): Change default value.
22828 (inferior-octave-startup): Do not hard code "-i" and
22829 "--no-line-editing".
22830 (inferior-octave-resync-dirs): Add optional arg NOERROR.
22831 (inferior-octave-directory-tracker): Use it.
22832 (octave-goto-function-definition): Robustify.
22833 (octave-help): Support highlighting operators in 'See also'.
22834 (octave-find-definition): Find subfunctions only in Octave mode.
22836 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22838 * help-fns.el (help-fns--compiler-macro): If the handler function is
22839 named, then put a link to it.
22840 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
22841 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
22842 (cl-typep): Use it.
22843 (cl-eval-when): Simplify debug spec.
22844 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
22845 compiler-macro function instead of setting `compiler-macro-file'.
22847 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22849 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
22850 * vc/vc-hooks.el (vc-stay-local): Doc fix.
22852 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22853 Daniel Hackney <dan@haxney.org>
22855 First part of Daniel Hackney's patch to package.el.
22856 * emacs-lisp/package.el: Use defstruct.
22857 (package-desc): New, main struct.
22858 (package--bi-desc, package--ac-desc): New structs, used to describe the
22859 format in external files.
22860 (package-desc-vers): Replace with package-desc-version accessor.
22861 (package-desc-doc): Replace with package-desc-summary accessor.
22862 (package-activate-1): Remove `package' arg since the pkg-vec now
22864 (define-package): Use package-desc-from-define.
22865 (package-unpack-single): Change file-name arg to be a symbol.
22866 (package--add-to-archive-contents): Use package-desc-create and new
22867 accessor functions to package--ac-desc.
22868 (package-buffer-info, package-tar-file-info): Return a package-desc.
22869 (package-install-from-buffer): Remove `type' argument. Change pkg-info
22870 arg to be a package-desc.
22871 (package-install-file): Adjust accordingly. Use \' to match EOS.
22872 (package--from-builtin): New function.
22873 (describe-package-1, package-menu--generate): Use it.
22874 (package--make-autoloads-and-compile): Change name arg to be a symbol.
22875 (package-generate-autoloads): Idem and return the name of the file.
22876 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22877 Change pkg-info arg to be a package-desc.
22878 Use package-make-ac-desc.
22879 (package-upload-file): Use \' to match EOS.
22880 * finder.el (finder-compile-keywords): Use package-make-builtin.
22882 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22884 * vc/vc.el (vc-deduce-fileset): Change error message.
22885 (vc-read-backend): New function.
22886 (vc-next-action): Use it.
22888 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
22890 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
22891 (prolog-font-lock-keywords): Use regexp-opt instead.
22892 Don't manually highlight strings.
22893 (prolog-mode-variables): Simplify comment-start-skip.
22894 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
22896 * emacs-lisp/generic.el (generic--normalise-comments)
22897 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
22898 (generic-mode-set-comments): Use them.
22899 (generic-bracket-support): Use setq-local.
22900 (generic-make-keywords-list): Declare obsolete.
22902 2013-06-11 Glenn Morris <rgm@gnu.org>
22904 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22905 Prettify after setting font-lock-defaults. (Bug#14574)
22907 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
22909 * replace.el (query-replace, occur-read-regexp-defaults-function)
22911 * subr.el (declare-function, number-sequence, local-set-key)
22912 (substitute-key-definition, locate-user-emacs-file)
22913 (with-silent-modifications, split-string, eval-after-load):
22914 Fix typos, remove unneeded backslashes and reflow some docstrings.
22916 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
22918 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
22919 default for Elisp files.
22921 2013-06-11 Glenn Morris <rgm@gnu.org>
22923 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
22924 although define-derived-mode was doing this anyway. (Bug#14583)
22926 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
22928 * allout.el (allout-encryption-plaintext-sanitization-regexps):
22929 Fix make-variable-buffer-local call to refer to the correct variable.
22931 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
22933 * eshell/em-term.el (eshell-visual-commands)
22934 (eshell-visual-subcommands, eshell-visual-options):
22935 Add summary line to docstrings. Add cross-references.
22937 2013-06-10 Glenn Morris <rgm@gnu.org>
22939 * epa.el (epa-read-file-name): New function. (Bug#14510)
22940 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
22942 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22944 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
22945 output redirection to be ignored with visual commands.
22947 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
22949 * eshell/em-term.el (eshell-visual-command-p): New function.
22950 (eshell-term-initialize): Move long lambda to separate function
22951 eshell-visual-command-p.
22952 * eshell/em-dirs.el (eshell-dirs-initialize):
22953 * eshell/em-script.el (eshell-script-initialize):
22954 Add missing #' to lambda.
22956 2013-06-08 Leo Liu <sdl.web@gmail.com>
22958 * progmodes/octave.el (octave-add-log-current-defun): New function.
22959 (octave-mode): Set add-log-current-defun-function.
22960 (octave-goto-function-definition): Do not move point if not found.
22961 (octave-find-definition): Enhance to try subfunctions first.
22963 2013-06-08 Glenn Morris <rgm@gnu.org>
22965 * emacs-lisp/bytecomp.el (byte-compile-char-before)
22966 (byte-compile-backward-char, byte-compile-backward-word):
22967 Improve previous change, to handle non-explicit nil.
22969 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
22971 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
22972 (smie--opener/closer-at-point): New function.
22973 (smie--matching-block-data): Use it. Don't match from right after an
22974 opener or right before a closer. Obey smie-blink-matching-inners.
22975 Don't signal a mismatch for repeated inners like "switch..case..case".
22977 2013-06-07 Leo Liu <sdl.web@gmail.com>
22979 * progmodes/octave.el (octave-mode): Set comment-use-global-state
22981 (octave-function-header-regexp): Fix. (Bug#14570)
22982 (octave-help-mode-finish-hook, octave-help-mode-finish):
22983 Remove. Just use temp-buffer-show-hook.
22985 * newcomment.el (comment-search-backward): Revert last change.
22988 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
22990 2013-06-07 Eli Zaretskii <eliz@gnu.org>
22992 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
22993 through xargs, to avoid failure due to MS-Windows limitations on
22994 command-line length.
22996 2013-06-06 Glenn Morris <rgm@gnu.org>
22998 * font-lock.el (lisp-font-lock-keywords-2):
22999 Treat user-error like error.
23001 * emacs-lisp/bytecomp.el (byte-compile-char-before)
23002 (byte-compile-backward-char, byte-compile-backward-word):
23003 Handle explicit nil arguments. (Bug#14565)
23005 2013-06-05 Alan Mackenzie <acm@muc.de>
23007 * isearch.el (isearch-allow-prefix): New user option.
23008 (isearch-other-meta-char): Don't exit isearch when a prefix
23009 argument is typed whilst `isearch-allow-prefix' is non-nil.
23012 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
23014 * autorevert.el (auto-revert-notify-handler): Use memq.
23015 Hide assertion failure.
23017 * skeleton.el: Use cl-lib.
23018 (skeleton-further-elements): Use defvar-local.
23019 (skeleton-insert): Use cl-progv.
23021 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
23023 * progmodes/prog-mode.el (prog-prettify-symbols)
23024 (prog-prettify-install): Update docstrings.
23026 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
23028 * simple.el: Move all the prog-mode code to prog-mode.el.
23029 * progmodes/prog-mode.el: New file.
23030 * loadup.el: Add prog-mode.el.
23032 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
23034 * simple.el (prog-prettify-symbols): Add version.
23035 (prog-prettify-install): Add convenience function to prettify symbols.
23037 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
23038 (perl--augmented-font-lock-keywords-1)
23039 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
23040 variables and use it.
23042 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
23043 (cfengine3-mode): Remove unneeded variable and use it.
23045 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
23046 (lisp--augmented-font-lock-keywords-1)
23047 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
23048 Remove unneeded variables and use it.
23050 2013-06-05 João Távora <joaotavora@gmail.com>
23052 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
23053 to point when opening the connection. (Bug#14380)
23055 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
23057 * subr.el (load-history-regexp, load-history-filename-element)
23058 (eval-after-load, after-load-functions, do-after-load-evaluation)
23059 (eval-next-after-load, display-delayed-warnings)
23060 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
23061 definition of save-match-data.
23062 (overriding-local-map): Remove accidental obsolescence declaration.
23064 * emacs-lisp/edebug.el (edebug-result): Move before first use.
23066 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
23068 Generalize symbol prettify support to prog-mode and implement it
23069 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
23070 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
23071 (prog--prettify-font-lock-compose-symbol)
23072 (prog-prettify-font-lock-symbols-keywords): New variables and
23073 functions to support symbol prettification.
23074 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
23075 (lisp--augmented-font-lock-keywords-1)
23076 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
23077 (lisp--prettify-symbols-alist): Implement prettify of lambda.
23078 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
23079 (cfengine3--prettify-symbols-alist, cfengine3-mode):
23080 Implement prettify of -> => :: strings.
23081 * progmodes/perl-mode.el (perl-prettify-symbols)
23082 (perl--font-lock-compose-symbol)
23083 (perl--font-lock-symbols-keywords): Move to prog-mode.
23084 (perl--prettify-symbols-alist): Prettify -> => :: strings.
23085 (perl-font-lock-keywords-1)
23086 (perl-font-lock-keywords-2): Remove explicit prettify support.
23087 (perl--augmented-font-lock-keywords)
23088 (perl--augmented-font-lock-keywords-1)
23089 (perl--augmented-font-lock-keywords-2, perl-mode):
23090 Implement prettify support.
23092 2013-06-05 Leo Liu <sdl.web@gmail.com>
23094 Re-implement SMIE matching block highlight using
23095 show-paren-data-function. (Bug#14395)
23096 * emacs-lisp/smie.el (smie-matching-block-highlight)
23097 (smie--highlight-matching-block-overlay)
23098 (smie--highlight-matching-block-lastpos)
23099 (smie-highlight-matching-block)
23100 (smie-highlight-matching-block-mode): Remove.
23101 (smie--matching-block-data-cache): New variable.
23102 (smie--matching-block-data): New function.
23103 (smie-setup): Use smie--matching-block-data for
23104 show-paren-data-function.
23106 * progmodes/octave.el (octave-mode-menu): Fix.
23107 (octave-find-definition): Skip garbage lines.
23109 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
23111 Fix compilation error with simultaneous dynamic+lexical scoping.
23112 Add warning when a defvar appears after the first let-binding.
23113 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
23114 (byte-compile-close-variables): Initialize it.
23115 (byte-compile--declare-var): New function.
23116 (byte-compile-file-form-defvar)
23117 (byte-compile-file-form-define-abbrev-table)
23118 (byte-compile-file-form-custom-declare-variable): Use it.
23119 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
23120 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
23121 (byte-compile-bind): Handle dynamic bindings that shadow
23123 (byte-compile-unbind): Make arg non-optional.
23124 (byte-compile-let): Simplify.
23125 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
23126 (cconv--analyse-function, cconv-analyse-form): Populate it.
23127 Protect byte-compile-bound-variables to limit the scope of defvars.
23128 (cconv-analyse-form): Add missing rule for (defvar <foo>).
23129 Remove unneeded rule for `declare'.
23131 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
23132 so as to avoid depending on cl-adjoin at run-time.
23133 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
23135 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
23136 (macroexp--warn-and-return): Use it.
23138 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
23140 * subr.el: Convert to lexical binding.
23141 (overriding-local-map): Make obsolete.
23142 (add-to-list): Doc fix. Add compiler macro.
23143 (read-key): Swap values of local maps.
23145 2013-06-05 Leo Liu <sdl.web@gmail.com>
23147 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
23149 2013-06-04 Leo Liu <sdl.web@gmail.com>
23151 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
23152 (compilation-auto-jump): Suppress the "Mark set" message to give
23153 way to exit message.
23155 2013-06-04 Alan Mackenzie <acm@muc.de>
23157 Remove faulty optimization from indentation calculation.
23158 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
23159 search limit based on 2000 characters back from indent-point.
23161 2013-06-03 Tassilo Horn <tsdh@gnu.org>
23163 * eshell/em-term.el (cl-lib): Require `cl-lib'.
23165 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
23167 * emacs-lisp/lisp.el: Use lexical-binding.
23168 (lisp--local-variables-1, lisp--local-variables): New functions.
23169 (lisp--local-variables-completion-table): New var.
23170 (lisp-completion-at-point): Use it complete let-bound vars.
23172 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
23173 eagerly (bug#14422).
23175 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
23177 * autorevert.el (auto-revert-notify-enabled)
23178 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
23179 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
23180 (auto-revert-notify-handler): Handle also gfilenotify.
23182 * subr.el (file-notify-handle-event): New defun. Replacing ...
23183 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
23186 2013-06-03 Juri Linkov <juri@jurta.org>
23188 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
23189 `M-s h .'. (Bug#14427)
23191 * hi-lock.el (highlight-symbol-at-point): New alias for the new
23192 command `hi-lock-face-symbol-at-point'.
23193 (hi-lock-face-symbol-at-point): New command.
23194 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
23195 (hi-lock-menu): Add `highlight-symbol-at-point'.
23196 (hi-lock-mode): Doc fix.
23198 * isearch.el (isearch-forward-symbol-at-point): New command.
23199 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
23200 (isearch-highlight-regexp): Add a regexp which matches
23201 words/symbols for word/symbol mode.
23203 * subr.el (find-tag-default-bounds): New function with the body
23204 mostly moved from `find-tag-default'.
23205 (find-tag-default): Move most code to `find-tag-default-bounds',
23206 call it and apply `buffer-substring-no-properties' afterwards.
23208 2013-06-03 Tassilo Horn <tsdh@gnu.org>
23210 * eshell/em-term.el (eshell-term-initialize):
23211 Use `cl-intersection' rather than `intersection'.
23213 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
23215 * vc/log-view.el: Doc fix.
23216 (log-view-mode-map): Copy keymap from `special-mode-map'.
23218 2013-06-02 Eric Ludlam <zappo@gnu.org>
23220 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
23221 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
23222 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
23223 (eieio-unbound, eieio-default-superclass)
23224 (eieio--define-field-accessors, method-static, method-before)
23225 (method-primary, method-after, method-num-lists)
23226 (method-generic-before, method-generic-primary)
23227 (method-generic-after, method-num-slots)
23228 (eieio-specialized-key-to-generic-key)
23229 (eieio--check-type, class-v, class-p)
23230 (eieio-class-name, define-obsolete-function-alias)
23231 (eieio-class-parents-fast, eieio-class-children-fast)
23232 (same-class-fast-p, class-constructor, generic-p)
23233 (generic-primary-only-p, generic-primary-only-one-p)
23234 (class-option-assoc, class-option, eieio-object-p)
23235 (class-abstract-p, class-method-invocation-order)
23236 (eieio-defclass-autoload-map, eieio-defclass-autoload)
23237 (eieio-class-un-autoload, eieio-defclass)
23238 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
23239 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
23240 (eieio--defgeneric-init-form, eieio-defgeneric-form)
23241 (eieio-defgeneric-reset-generic-form)
23242 (eieio-defgeneric-form-primary-only)
23243 (eieio-defgeneric-reset-generic-form-primary-only)
23244 (eieio-defgeneric-form-primary-only-one)
23245 (eieio-defgeneric-reset-generic-form-primary-only-one)
23246 (eieio-unbind-method-implementations)
23247 (eieio--defmethod, eieio--typep)
23248 (eieio-perform-slot-validation, eieio-validate-slot-value)
23249 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
23250 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
23251 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
23252 (eieio-slot-name-index, eieio-class-slot-name-index)
23253 (eieio-set-defaults, eieio-initarg-to-attribute)
23254 (eieio-attribute-to-initarg, eieio-c3-candidate)
23255 (eieio-c3-merge-lists, eieio-class-precedence-c3)
23256 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
23257 (eieio-class-precedence-list, eieio-generic-call-methodname)
23258 (eieio-generic-call-arglst, eieio-generic-call-key)
23259 (eieio-generic-call-next-method-list)
23260 (eieio-pre-method-execution-functions, eieio-generic-call)
23261 (eieio-generic-call-primary-only, eieiomt-method-list)
23262 (eieiomt-optimizing-obarray, eieiomt-install)
23263 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
23264 (eieio-generic-form, eieio-defmethod, make-obsolete)
23265 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
23266 (defclass): Remove `eval-and-compile' from macro.
23267 (call-next-method, shared-initialize): Instead of using
23268 `scoped-class' variable, use new eieio--scoped-class, and
23269 eieio--with-scoped-class.
23270 (initialize-instance): Rename local variable 'scoped-class' to
23271 'this-class' to remove ambiguitity from old global.
23273 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
23275 (eieio--scoped-class-stack): New variable.
23276 (eieio--scoped-class): New fcn.
23277 (eieio--with-scoped-class): New scoping macro.
23278 (eieio-defclass): Use pushnew instead of add-to-list.
23279 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
23280 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
23281 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
23282 `scoped-class' variable, use new eieio--scoped-class, and
23283 eieio--with-scoped-class.
23285 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
23287 2013-06-02 Tassilo Horn <tsdh@gnu.org>
23289 * eshell/esh-ext.el (eshell-external-command): Pass args to
23290 `eshell-find-interpreter'.
23291 (eshell-find-interpreter): Add new second parameter ARGS.
23293 * eshell/em-script.el (eshell-script-initialize): Add second arg
23294 to the function added as MATCH to `eshell-interpreter-alist'.
23296 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
23297 the function added as MATCH to `eshell-interpreter-alist'.
23299 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
23300 (eshell-visual-options): New defcustom.
23301 (eshell-escape-control-x): Adapt docstring.
23302 (eshell-term-initialize): Test `eshell-visual-subcommands' and
23303 `eshell-visual-options' in addition to `eshell-visual-commands'.
23304 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
23306 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
23308 * progmodes/python.el (python-indent-block-enders): Add break,
23309 continue and raise keywords.
23311 2013-06-01 Glenn Morris <rgm@gnu.org>
23313 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
23315 Plain (f)boundp silences compilation warnings since Emacs 22.1.
23316 * progmodes/cc-cmds.el (delete-forward-p):
23317 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
23318 * progmodes/cc-engine.el (buffer-syntactic-context):
23319 * progmodes/cc-fonts.el (face-property-instance):
23320 * progmodes/cc-mode.el (set-keymap-parents):
23321 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
23322 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
23323 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
23324 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
23325 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
23327 * progmodes/cc-vars.el (other): Emacs has this widget since
23328 at least 21.1, so don't (re)define it.
23330 * eshell/em-cmpl.el (eshell-cmpl-initialize):
23331 Replace the obsolete alias pcomplete-arg-quote-list.
23333 2013-06-01 Leo Liu <sdl.web@gmail.com>
23335 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
23336 punctuation syntax.
23337 (inferior-octave-minimal-columns)
23338 (inferior-octave-last-column-width): New variables.
23339 (inferior-octave-track-window-width-change): New function.
23340 (inferior-octave-mode): Adjust column width so that Octave output,
23341 for example from 'ls', can fit into the window nicely.
23343 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
23345 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23346 Highlight expansions inside regexp literals.
23348 2013-05-31 Glenn Morris <rgm@gnu.org>
23350 * obsolete/sym-comp.el (symbol-complete):
23351 Replace obsolete completion-annotate-function.
23353 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
23355 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
23357 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23358 New function, checks if point is inside a literal that allows
23359 expression expansion.
23360 (ruby-syntax-propertize-expansion): Use it.
23361 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
23364 2013-05-30 Juri Linkov <juri@jurta.org>
23366 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
23368 (isearch-invisible): New variable.
23369 (isearch-forward): Doc fix.
23370 (isearch-mode): Set `isearch-invisible'
23371 to the value of `search-invisible'.
23372 (isearch-toggle-case-fold): Doc fix.
23373 (isearch-toggle-invisible): New command.
23374 (isearch-query-replace): Let-bind `search-invisible'
23375 to the value of `isearch-invisible'.
23376 (isearch-search): Use `isearch-invisible' instead of
23377 `search-invisible'. Let-bind `search-invisible'
23378 to the value of `isearch-invisible'. (Bug#11378)
23380 2013-05-30 Juri Linkov <juri@jurta.org>
23382 * replace.el (perform-replace): Avoid `isearch-range-invisible'
23383 call when `query-flag' is nil and `search-invisible' is non-nil.
23386 2013-05-30 Glenn Morris <rgm@gnu.org>
23388 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
23390 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
23391 (cc-require): Suppress spurious "noruntime" warnings.
23392 (cc-require-when-compile): Use fboundp, for sake of compiler.
23394 * progmodes/cc-mode.el: Move load of cc-vars before that of
23395 cc-langs (which in turn loads cc-vars), to quieten compiler.
23397 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23399 * paren.el: Simplify the code.
23400 (show-paren-mode): Always start the timer.
23401 (show-paren--idle-timer): Rename from show-paren-idle-timer.
23402 (show-paren--overlay, show-paren--overlay-1): Rename from
23403 show-paren-overlay and show-paren-overlay-1, and initialize to an
23404 overlay rather than to nil.
23405 (show-paren-function): Misc cleanup and simplifications.
23407 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23409 * paren.el (show-paren-data-function): New hook.
23410 (show-paren--default): New function, extracted from show-paren-function.
23411 (show-paren-function): Use show-paren-data-function.
23413 2013-05-30 Glenn Morris <rgm@gnu.org>
23415 * ielm.el (ielm-map, ielm-complete-symbol):
23416 Use completion-at-point rather than obsolete functions.
23417 (inferior-emacs-lisp-mode): Doc fix.
23418 Set completion-at-point-functions, rather than
23419 comint-dynamic-complete-functions.
23421 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
23422 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
23423 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
23425 * image.el (image-animated-p): Tweak definition.
23427 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
23428 (rlogin-process-connection-type): Tweak default. Add set-after.
23429 (rlogin-host): Doc fix.
23430 (rlogin): Tweak prompt.
23431 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
23433 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
23434 * progmodes/tcl.el (inferior-tcl-mode-map):
23435 Use completion-at-point rather than obsolete alias.
23437 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
23439 * minibuffer.el (read-file-name-completion-ignore-case):
23440 Move before completion--in-region, for eager macro expansion.
23442 2013-05-29 Juri Linkov <juri@jurta.org>
23444 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
23445 for total count of matching lines. Add `global-matches' for total
23446 count of matches. Rename `matches' to `lines' for count of
23447 matching lines. Add `matches' for count of matches.
23448 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
23449 to `prev-line' for line number of prev match endpt.
23450 Increment `matches' for every match. Print the number of
23451 matching lines in the header.
23452 (occur-context-lines): Rename `lines' to `curr-line'.
23453 Rename `prev-lines' to `prev-line'. (Bug#14017)
23455 2013-05-29 Juri Linkov <juri@jurta.org>
23457 * replace.el (perform-replace): Add `skip-read-only-count',
23458 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
23459 Increment them for corresponding conditions and report the number
23460 of skipped occurrences in the final message. (Bug#11746)
23461 (query-replace, query-replace-regexp, query-replace-regexp-eval)
23462 (replace-string, replace-regexp): Doc fix.
23464 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
23466 * emacs-lisp/trace.el (trace--read-args): Provide a default.
23468 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
23469 prog-mode-map (bug#14504).
23471 2013-05-29 Leo Liu <sdl.web@gmail.com>
23473 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
23474 (octave-help): Small simplification.
23476 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
23477 off the highlight first.
23479 2013-05-29 Glenn Morris <rgm@gnu.org>
23481 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
23482 Handle idlwave-last-system-routine-info-cons-cell being nil.
23484 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
23485 (idlwave-write-paths): Simplify via with-temp-buffer.
23487 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
23488 * emulation/cua-rect.el: Also load cua-base at run time.
23490 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
23491 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
23492 (cperl-imenu-on-info): Require imenu.
23494 2013-05-28 Alan Mackenzie <acm@muc.de>
23496 Handle "capitalised keywords" correctly.
23497 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
23499 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
23501 * eshell/em-unix.el: Add -r option to cp.
23503 2013-05-28 Glenn Morris <rgm@gnu.org>
23505 * vc/vc-arch.el (vc-exec-after): Declare.
23506 (vc-switches): Autoload.
23507 * vc/vc-bzr.el: No need to require vc when compiling.
23508 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
23509 (vc-resynch-buffer, vc-dir-refresh): Declare.
23510 (vc-setup-buffer, vc-switches): Autoload.
23511 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
23512 (vc-resynch-buffer): Declare.
23513 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
23514 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
23515 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
23516 (grep-read-regexp, grep-read-files, grep-expand-template)
23517 (vc-dir-refresh): Declare.
23518 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
23519 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
23520 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
23521 * vc/vc-mtn.el (vc-exec-after): Declare.
23522 (vc-switches): Autoload.
23523 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
23524 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
23525 (vc-file-tree-walk): Declare.
23526 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
23527 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
23528 (vc-tag-precondition, vc-rename-master): Autoload.
23529 * vc/vc-svn.el (vc-exec-after): Declare.
23530 (vc-switches, vc-setup-buffer): Autoload.
23531 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
23533 (vc-resynch-buffer): Declare.
23535 * obsolete/fast-lock.el (byte-compile-warnings):
23536 Don't warn about obsolete features in this obsolete file.
23538 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
23539 Move definition before use.
23541 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
23542 (dun-unix-verbs): Remove dun-zippy.
23543 (dun-zippy): Remove function.
23545 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
23547 2013-05-27 Juri Linkov <juri@jurta.org>
23549 * replace.el (replace-search): New function with code moved out
23550 from `perform-replace'.
23551 (replace-highlight, replace-dehighlight): Move function definitions
23552 up closer to `replace-search'. (Bug#11746)
23554 2013-05-27 Juri Linkov <juri@jurta.org>
23556 * replace.el (perform-replace): Ignore invisible matches.
23557 In addition to checking `query-replace-skip-read-only', also
23558 filter out matches by calling `run-hook-with-args-until-failure'
23559 on `isearch-filter-predicates', and also check `search-invisible'
23560 for t or call `isearch-range-invisible'.
23561 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
23563 2013-05-27 Juri Linkov <juri@jurta.org>
23565 * isearch.el (isearch-filter-predicates): Rename from
23566 `isearch-filter-predicate'. Doc fix. (Bug#11378)
23567 (isearch-message-prefix): Display text from the property
23568 `isearch-message-prefix' of the currently active filters.
23569 (isearch-search): Don't compare `isearch-filter-predicate' with
23570 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
23571 on `isearch-filter-predicates'. Also check `search-invisible' for t
23572 or call `isearch-range-invisible'.
23573 (isearch-filter-visible): Make obsolete.
23574 (isearch-lazy-highlight-search):
23575 Call `run-hook-with-args-until-failure' on
23576 `isearch-filter-predicates' and use `isearch-range-invisible'.
23578 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
23579 `isearch-filter-predicates' instead of `funcall'ing
23580 `isearch-filter-predicate'.
23581 (Info-mode): Set `Info-isearch-filter' to
23582 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
23584 * dired-aux.el (dired-isearch-filter-predicate-orig):
23586 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
23587 (dired-isearch-filenames-end): Add and remove
23588 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
23589 instead of changing the value of `isearch-filter-predicate'.
23590 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
23591 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
23592 Put property `isearch-message-prefix' to "filename " on
23593 `dired-isearch-filter-filenames'.
23595 * wdired.el (wdired-change-to-wdired-mode):
23596 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
23597 locally instead of changing `isearch-filter-predicate'.
23598 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
23600 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
23602 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
23603 return the commit hash (Bug#14459). Also set the
23604 `vc-git-detached' property.
23605 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
23606 (vc-git-mode-line-string): Use the same help-echo format whether
23607 in detached mode or not, because we know the actual revision now.
23608 When in detached mode, shorten the revision to 7 chars.
23610 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23612 * emacs-lisp/easy-mmode.el (define-minor-mode):
23613 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
23614 mode hook and provide a docstring.
23616 2013-05-27 Alan Mackenzie <acm@muc.de>
23618 Remove spurious syntax-table text properties inserted by C-y.
23619 * progmodes/cc-mode.el (c-after-change): Also clear hard
23620 syntax-table property with value nil.
23622 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
23624 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
23625 when reading the events; the buffer layout shall not be changed.
23627 2013-05-27 Leo Liu <sdl.web@gmail.com>
23629 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
23631 (inferior-octave-directory-tracker): Automatically re-sync
23633 (octave-help): Improve handling of 'See also'.
23635 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23637 * doc-view.el: Minor naming convention tweaks.
23638 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
23640 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
23641 even if there's no `display' property yet (bug#14435).
23643 2013-05-25 Eli Zaretskii <eliz@gnu.org>
23645 * subr.el (unmsys--file-name): Rename from reveal-filename.
23647 * Makefile.in (custom-deps, finder-data, autoloads)
23648 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23649 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23650 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
23652 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23654 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
23655 error-completion on the first 2 args of condition-case (bug#14446).
23658 2013-05-25 Leo Liu <sdl.web@gmail.com>
23660 * comint.el (comint-previous-matching-input): Do not flood the
23661 *Messages* buffer with trivial messages.
23663 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23665 * progmodes/flymake.el (flymake-nop): Don't return a string.
23666 (flymake-set-at): Fix typo.
23668 * simple.el (read--expression): New function, extracted from
23669 eval-expression. Set completion-at-point-functions (bug#14465).
23670 (eval-expression, eval-minibuffer): Use it.
23672 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
23674 * progmodes/flymake.el (flymake-save-buffer-in-file)
23675 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
23676 (flymake-selected-frame, flymake-log, flymake-ins-after)
23677 (flymake-set-at, flymake-get-buildfile-from-cache)
23678 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
23679 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
23680 Refine the doc string.
23681 (flymake-get-file-name-mode-and-masks): Reformat.
23682 (flymake-get-real-file-name-function): Fix a minor bug.
23684 2013-05-24 Juri Linkov <juri@jurta.org>
23686 * progmodes/grep.el (grep-mode-font-lock-keywords):
23687 Support =linenumber= format used by git-grep for lines with
23688 function names. (Bug#13549)
23690 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23692 * progmodes/octave.el (octave-smie-rules): Return nil rather than
23693 0 after a semi-colon; it works better for smie-auto-fill.
23694 (octave--indent-new-comment-line): New function.
23695 (octave-indent-new-comment-line): Use it (indirectly).
23696 (octave-mode): Don't disable smie-auto-fill. Use add-function to
23697 modify comment-line-break-function.
23699 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
23700 (smie-setup): Use add-function to set it.
23702 2013-05-24 Sam Steingold <sds@gnu.org>
23704 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
23705 argument (before the `interactive' argument).
23707 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23709 * image-mode.el (image-mode-winprops): Add winprops to
23710 image-mode-winprops-alist before running
23711 image-mode-new-window-functions.
23712 * doc-view.el (doc-view-new-window-function): Don't delay
23713 doc-view-goto-page via timers (bug#14435).
23715 2013-05-24 Tassilo Horn <tsdh@gnu.org>
23717 * doc-view.el: Integrate with desktop.el. (Bug#14435)
23718 (doc-view-desktop-save-buffer): New function.
23719 (doc-view-restore-desktop-buffer): New function.
23720 (desktop-buffer-mode-handlers):
23721 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
23723 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
23724 `desktop-save-buffer' function.
23726 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
23728 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
23729 (tramp-gvfs-file-name-handler): Raise a user error when
23730 `tramp-gvfs-enabled' is nil.
23731 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
23732 Do not raise a user error when loading package. (Bug#14447)
23734 * net/xesam.el: Move to obsolete/.
23736 2013-05-24 Glenn Morris <rgm@gnu.org>
23738 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
23740 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
23742 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
23743 (Info-find-node, Man-getpage-in-background): Declare.
23745 * mail/unrmail.el (unrmail):
23746 Replace obsolete detect-coding-with-priority.
23748 * net/socks.el (socks-split-string): Use this rather than split-string.
23749 (socks-nslookup-host): Update for above change.
23750 (dynamic-choice, s5-dynamic-choice-match)
23751 (s5-dynamic-choice-match-inline, s5-widget-value-create):
23752 Comment out unused code.
23754 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
23755 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
23756 (gud-tooltip-echo-area): Make obsolete.
23757 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
23759 * progmodes/js.el (js--optimize-arglist): Declare.
23761 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
23763 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
23764 (ediff-window-C): Declare.
23766 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
23767 Tweak requires to silence compiler.
23769 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
23770 (he-search-string, he-tried-table, he-expand-list)
23771 (he-init-string, he-string-member, he-substitute-string)
23772 (he-reset-string): Declare.
23774 * obsolete/options.el (list-options): Use custom-variable-p,
23775 rather than obsolete alias.
23777 2013-05-23 Sam Steingold <sds@gnu.org>
23779 * simple.el (shell-command-on-region): Pass the `replace' argument
23780 down to `call-process-region' to comply with the doc as reported on
23781 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
23783 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23785 * emacs-lisp/smie.el (smie-indent-forward-token)
23786 (smie-indent-backward-token): Handle string tokens (bug#14381).
23788 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23790 * ielm.el (ielm-menu): New menu.
23791 (inferior-emacs-lisp-mode): Set comment-start.
23793 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23795 * textmodes/reftex.el (reftex-ref-style-toggle):
23796 Fix deactivate action.
23798 * textmodes/reftex-vars.el (reftex-ref-style-alist):
23799 Add cleveref macros.
23801 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
23802 Accept options for bibliography commands.
23803 * textmodes/reftex-vars.el (reftex-bibliography-commands):
23804 Add addbibresource. Basic Biblatex support.
23806 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
23808 * net/tramp-gvfs.el (top):
23809 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
23810 when loading package. (Bug#14447)
23812 2013-05-23 Glenn Morris <rgm@gnu.org>
23814 * progmodes/js.el: No need to load comint when compiling.
23815 (ring-insert, comint-send-string, comint-send-input)
23816 (comint-last-input-end, ido-chop): Declare.
23818 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
23819 * vc/ediff-mult.el: Adjust requires.
23820 (ediff-directories-internal, ediff-directory-revisions-internal)
23821 (ediff-patch-file-internal): Declare.
23822 * vc/ediff-ptch.el: Adjust requires.
23823 (ediff-use-last-dir, ediff-buffers-internal): Declare.
23824 (ediff-find-file): Autoload.
23825 * vc/ediff-util.el: No need to load ediff when compiling.
23826 (ediff-regions-internal): Declare.
23827 * vc/ediff-wind.el: Adjust requires.
23828 (ediff-compute-toolbar-width): Define when compiling.
23829 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
23830 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
23831 (dired-get-filename, dired-get-marked-files)
23832 (ediff-last-dir-patch, ediff-patch-default-directory)
23833 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
23834 (ediff-patch-buffer-internal): Declare.
23836 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
23837 (ispell-process, ispell-buffer-local-words, lm-summary)
23838 (lm-section-start, lm-section-end): Declare.
23839 (checkdoc-ispell-init): Simplify.
23841 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
23842 (he-string-member, he-reset-string, he-substitute-string): Declare.
23844 * eshell/em-ls.el: Adjust requires.
23845 (eshell-glob-regexp): Declare.
23846 * eshell/em-tramp.el: Adjust requires.
23847 (eshell-parse-command): Autoload.
23848 * eshell/em-xtra.el: Adjust requires.
23849 (eshell-parse-command): Autoload.
23850 * eshell/esh-ext.el: Adjust requires.
23851 (eshell-parse-command, eshell-close-handles): Autoload.
23852 * eshell/esh-io.el: Adjust requires.
23853 (eshell-output-filter): Autoload.
23854 * eshell/esh-util.el: No need to load tramp when compiling.
23855 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
23857 (eshell-parse-ange-ls): Require ange-ftp and tramp.
23858 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
23859 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
23860 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
23861 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
23862 * eshell/esh-opt.el, eshell/esh-proc.el:
23863 * eshell/esh-var.el: Adjust requires.
23864 * eshell/eshell.el: Do not require esh-util twice.
23865 (eshell-add-input-to-history): Declare.
23866 (eshell-command): Check history module is active before using it.
23868 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
23870 2013-05-22 Leo Liu <sdl.web@gmail.com>
23872 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
23874 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
23876 * autorevert.el (auto-revert-notify-add-watch)
23877 (auto-revert-notify-handler): Add `attrib' for the inotify case,
23878 it indicates changes in file modification time.
23880 2013-05-22 Glenn Morris <rgm@gnu.org>
23882 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
23883 Always delete the autoloaded function from the noruntime and
23884 unresolved functions lists.
23886 * allout.el: No need to load epa, epg, overlay when compiling.
23887 (epg-context-set-passphrase-callback, epg-list-keys)
23888 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
23889 (epg-key-user-id-list): Declare.
23891 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
23892 (viper-set-parsing-style-toggling-macro)
23893 (viper-set-emacs-state-searchstyle-macros):
23894 Use called-interactively-p on Emacs.
23895 (viper-looking-back): Make it an obsolete alias. Update callers.
23896 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
23897 Use looking-back rather than viper-looking-back.
23898 (viper-tmp-insert-at-eob, viper-enlarge-region)
23899 (viper-read-string-with-history, viper-register-to-point)
23900 (viper-append-to-register, viper-change-state-to-vi)
23901 (viper-backward-char-carefully, viper-forward-char-carefully)
23902 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
23903 (viper-change-state-to-emacs): Declare.
23904 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
23905 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
23906 * emulation/viper-mous.el: Do not load viper-cmd.
23907 (viper-backward-char-carefully, viper-forward-char-carefully)
23908 (viper-forward-word, viper-adjust-window): Declare.
23910 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
23912 * progmodes/idlw-help.el (idlwave-help-fontify):
23913 Use called-interactively-p.
23915 * term/w32console.el (w32-get-console-codepage)
23916 (w32-get-console-output-codepage): Declare.
23918 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
23919 Remove unnecessary declarations.
23920 (dframe-message): Doc fix.
23922 * info.el (dframe-select-attached-frame, dframe-current-frame):
23925 * speedbar.el (speedbar-message): Make it an obsolete alias.
23926 Update all callers.
23927 (speedbar-with-attached-buffer)
23928 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
23929 (speedbar-with-writable): Use backquote.
23930 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
23931 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
23932 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
23933 rather than speedbar- aliases.
23934 * mail/rmail.el: Load dframe rather than speedbar when compiling.
23935 (speedbar-make-specialized-keymap, speedbar-insert-button)
23936 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
23937 (speedbar-do-function-pointer): Declare.
23938 (rmail-speedbar-button, rmail-speedbar-find-file)
23939 (rmail-speedbar-move-message):
23940 Use dframe-with-attached-buffer rather than speedbar- alias.
23941 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
23942 (dframe-message, speedbar-make-specialized-keymap)
23943 (speedbar-add-expansion-list, speedbar-mode-functions-list)
23944 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
23945 (speedbar-insert-button, dframe-select-attached-frame)
23946 (dframe-maybee-jump-to-attached-frame)
23947 (speedbar-change-initial-expansion-list)
23948 (speedbar-previously-used-expansion-list-name): Declare.
23949 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
23950 Use dframe-message, dframe-with-attached-buffer rather than
23952 (gud-sentinel): Silence compiler.
23953 * progmodes/vhdl-mode.el (speedbar-refresh)
23954 (speedbar-do-function-pointer, speedbar-add-supported-extension)
23955 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
23956 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
23957 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
23958 (speedbar-file-lists, speedbar-make-tag-line)
23959 (speedbar-line-directory, speedbar-goto-this-file)
23960 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
23961 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
23962 (speedbar-make-button, speedbar-reset-scanners)
23963 (speedbar-files-item-info, speedbar-line-text)
23964 (speedbar-find-file-in-frame, speedbar-set-timer)
23965 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
23966 (speedbar-with-writable): Do not (re)define it.
23967 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
23968 rather than speedbar- alias.
23970 2013-05-21 Leo Liu <sdl.web@gmail.com>
23972 * progmodes/octave.el (octave-mode-menu): Update and re-organize
23974 (octave-mode): Tweak fill-nobreak-predicate.
23975 (inferior-octave-startup): Check process to avoid infinite loop.
23976 (inferior-octave): Pop to buffer first to show abornmal process
23979 2013-05-21 Glenn Morris <rgm@gnu.org>
23981 * printing.el (pr-menu-bar): Define when compiling.
23983 2013-05-21 Leo Liu <sdl.web@gmail.com>
23985 * progmodes/octave.el (octave-auto-fill): Remove.
23986 (octave-indent-new-comment-line): Improve.
23987 (octave-mode): Use auto fill mode through
23988 comment-line-break-function and fill-nobreak-predicate.
23989 (octave-goto-function-definition): Support DEFUN_DLD.
23990 (octave-beginning-of-defun): Small tweak.
23991 (octave-help): Show parent directory.
23993 2013-05-21 Glenn Morris <rgm@gnu.org>
23995 * files.el (dired-unmark):
23996 * progmodes/gud.el (gdb-input): Update declarations.
23998 * calculator.el (electric, ehelp): No need to load when compiling.
23999 (Electric-command-loop, electric-describe-mode): Declare.
24001 * doc-view.el (doc-view-current-converter-processes): Move before use.
24003 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
24004 Move MODE-set-explicitly definition before use.
24006 * international/mule-diag.el (mule-diag):
24007 Don't use obsolete window-system-version.
24009 * mail/feedmail.el (smtpmail): No need to load when compiling.
24010 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
24012 * mail/mail-utils.el (rfc822): No need to load when compiling.
24013 (rfc822-addresses): Autoload it.
24014 (mail-strip-quoted-names): Trivial simplification.
24016 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
24017 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
24019 * net/snmp-mode.el (tempo): Don't duplicate requires.
24021 * progmodes/prolog.el (info): No need to load when compiling.
24022 (comint): Require before shell requires it.
24023 (Info-goto-node): Autoload it.
24024 (Info-follow-nearest-node): Declare.
24025 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
24027 * textmodes/artist.el (picture-mode-exit): Declare.
24029 * textmodes/reftex-parse.el (reftex-parse-from-file):
24030 Trivial rewrite so the compiler can parse it better.
24032 2013-05-20 Leo Liu <sdl.web@gmail.com>
24034 * progmodes/octave.el (octave-help-mode-map)
24035 (octave-help-mode-finish-hook): New variables.
24036 (octave-help-mode, octave-help-mode-finish): New functions.
24037 (octave-help): Use octave-help-mode.
24039 2013-05-20 Glenn Morris <rgm@gnu.org>
24041 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
24043 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
24045 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
24046 start at point, so that expansion starting right after opening
24047 slash in a regexp is recognized.
24048 (ruby-syntax-before-regexp-re): New defvar, extracted from
24049 ruby-syntax-propertize-function. Since the value of this regexp
24050 is looked up at runtime now, we should be able to turn
24051 `ruby-syntax-methods-before-regexp' into a defcustom later.
24052 (ruby-syntax-propertize-function): Split regexp matching into two
24053 parts, for opening and closing slashes. That allows us to skip
24054 over string interpolations and support multiline regexps.
24055 Don't call `ruby-syntax-propertize-expansions', instead use another rule
24056 for them, which calls `ruby-syntax-propertize-expansion'.
24057 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
24058 call to `ruby-syntax-propertize-function'.
24059 (ruby-syntax-propertize-expansion): Extracted from
24060 `ruby-syntax-propertize-expansions'. Handles one expansion.
24061 (ruby-syntax-propertize-percent-literal): Leave point right after
24062 the percent symbol, so that the expression expansion rule can
24063 propertize the contents.
24064 (ruby-syntax-propertize-heredoc): Leave point at bol following the
24066 (ruby-syntax-propertize-expansions): Remove.
24068 2013-05-18 Juri Linkov <juri@jurta.org>
24070 * man.el (Man-default-man-entry): Remove `-' from the end
24071 of the default value. (Bug#14400)
24073 2013-05-18 Glenn Morris <rgm@gnu.org>
24075 * comint.el (comint-password-prompt-regexp):
24076 Allow "password for XXX" where XXX contains colons (eg https://...).
24078 2013-05-18 Leo Liu <sdl.web@gmail.com>
24080 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
24081 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
24082 (octave-source-directories): Don't check process.
24083 (octave-source-directories, octave-find-definition): Doc fix.
24085 2013-05-18 Glenn Morris <rgm@gnu.org>
24087 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
24088 Remove backspace/delete bindings. (Bug#14392)
24090 * cus-dep.el (custom-make-dependencies): Sort the output.
24091 (custom-versions-load-alist): Convert comment to doc.
24093 2013-05-17 Leo Liu <sdl.web@gmail.com>
24095 * newcomment.el (comment-search-backward): Stricter in finding
24096 comment start. (Bug#14303)
24098 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
24099 (octave-comment-start-skip): Properly anchored.
24101 2013-05-17 Leo Liu <sdl.web@gmail.com>
24103 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
24104 Clean up when turned off. (Bug#14395)
24105 (smie--highlight-matching-block-overlay): No longer buffer-local.
24106 (smie-highlight-matching-block): Adjust.
24108 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
24110 Doc string fix for "nanoseconds" (Bug#14406).
24111 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
24112 Fix doc string typo that had "nanoseconds" instead of "microseconds".
24114 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
24116 * calc/calc-units.el (math-extract-units): Preserve powers
24119 2013-05-17 Leo Liu <sdl.web@gmail.com>
24121 * subr.el (delete-consecutive-dups): New function.
24122 * ido.el (ido-set-matches-1): Use it.
24123 * progmodes/octave.el (inferior-octave-completion-table): Use it.
24124 * ido.el (ido-remove-consecutive-dups): Remove.
24126 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24128 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
24129 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
24130 regexp-opt's `words'.
24132 2013-05-16 Leo Liu <sdl.web@gmail.com>
24134 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
24135 (smie--highlight-matching-block-overlay)
24136 (smie--highlight-matching-block-lastpos)
24137 (smie--highlight-matching-block-timer): New variables.
24138 (smie-highlight-matching-block): New function.
24139 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
24140 (smie-setup): Conditionally enable smie-blink-matching-open.
24142 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
24144 Sync with upstream verilog-mode r840.
24145 * progmodes/verilog-mode.el (verilog-mode-version)
24146 (verilog-mode-release-date): Update.
24147 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
24148 (verilog-sig-tieoff): Fix string error on
24149 AUTORESET with colon define, bug594. Reported by Andrew Hou.
24150 (verilog-read-decls): Fix parameters confusing
24151 AUTOINST interfaces, bug565. Reported by Leith Johnson.
24153 2013-05-16 Eli Zaretskii <eliz@gnu.org>
24155 * subr.el (reveal-filename): New function.
24157 * loadup.el: Compute Emacs executable versions on MS-Windows,
24158 where executables have the .exe extension. Add a hard link
24159 emacs-XX.YY.ZZ.exe on MS-Windows.
24161 * Makefile.in (XARGS_LIMIT): New variable.
24162 (custom-deps, finder-data, autoloads)
24163 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
24164 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
24165 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
24166 (compile-main): Limit xargs according to $(XARGS_LIMIT).
24168 2013-05-16 Leo Liu <sdl.web@gmail.com>
24170 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
24171 (octave-mode-menu, octave-mode-map): Remove its uses.
24173 2013-05-16 Reto Zimmermann <reto@gnu.org>
24175 Sync with upstream vhdl mode v3.34.2.
24176 * progmodes/vhdl-mode.el: Use `push' throughout.
24177 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
24178 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
24179 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
24180 (vhdl-actual-generic-name): New option to derive actual generic name.
24181 (vhdl-port-paste-signals): Replace formal by actual generics.
24182 (vhdl-beautify): New name for old group vhdl-align. Update users.
24183 (vhdl-beautify-options): New option.
24184 (vhdl-last-input-event): New compat alias. Use throughout.
24185 (vhdl-goto-line): Replace user level function `goto-line'.
24186 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
24187 vhdl-fix-statement-buffer.
24188 (vhdl-create-mode-menu): Add some entries.
24189 (vhdl-align-region-groups): Respect vhdl-beautify-options.
24190 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
24191 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
24192 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
24193 to force statements on one line.
24194 (vhdl-remove-trailing-spaces-region):
24195 New, split from vhdl-remove-trailing-spaces.
24196 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
24197 Respect vhdl-beautify-options.
24198 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
24199 (vhdl-update-sensitivity-list): Not add with index if exists without.
24200 Not include array index with signal. Ignore keywords in comments.
24201 (vhdl-get-visible-signals): Regexp tweaks.
24202 (vhdl-template-component-inst): Handle empty library.
24203 (vhdl-template-type): Add template for 'enum' type.
24204 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
24205 Use vhdl-replace-string.
24206 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
24207 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
24208 (vhdl-speedbar-initialize): Update for above name change.
24209 (vhdl-compose-wire-components): Fix in handling of constants.
24210 (vhdl-error-regexp-emacs-alist): New variable.
24211 (vhdl-error-regexp-add-emacs): New function;
24212 adds support for new compile.el (Emacs 22+)
24213 (vhdl-generate-makefile-1): Change target order for single lib. units.
24214 Allow use of absolute file names.
24216 2013-05-16 Leo Liu <sdl.web@gmail.com>
24218 * simple.el (prog-indent-sexp): Indent enclosing defun.
24220 2013-05-15 Glenn Morris <rgm@gnu.org>
24222 * cus-start.el (show-trailing-whitespace): Move to editing basics.
24223 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
24224 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
24225 (whitespace-highlight): Move to whitespace group.
24227 * comint.el (comint-source):
24228 * pcmpl-linux.el (pcmpl-linux):
24229 * shell.el (shell-faces):
24230 * eshell/esh-opt.el (eshell-opt):
24231 * international/ccl.el (ccl): Remove empty custom groups.
24233 * completion.el (dynamic-completion-mode):
24234 * jit-lock.el (jit-lock-debug-mode):
24235 * minibuffer.el (completion-in-region-mode):
24236 * type-break.el (type-break-mode-line-message-mode)
24237 (type-break-query-mode):
24238 * emulation/tpu-edt.el (tpu-edt-mode):
24239 * progmodes/subword.el (global-subword-mode, global-superword-mode):
24240 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
24241 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
24243 * term/xterm.el (xterm): Change parent group to terminals.
24245 * master.el (master): Remove empty custom group.
24246 (master-mode): Remove unused :group argument.
24247 * textmodes/refill.el (refill): Remove empty custom group.
24248 (refill-mode): Remove unused :group argument.
24250 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
24252 * cus-dep.el: Provide a feature.
24253 (custom-make-dependencies): Ignore dotfiles (dir-locals).
24254 Don't mistakenly ignore files whose basenames match a basename
24255 from preloaded-file-list (eg cedet/ede/simple.el).
24256 Add a fallback method for getting :group.
24258 2013-05-15 Juri Linkov <juri@jurta.org>
24260 * isearch.el (isearch-char-by-name): Rename from
24261 `isearch-insert-char-by-name'. Doc fix.
24262 (isearch-forward): Mention `isearch-char-by-name' in
24263 the docstring. (Bug#13348)
24265 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
24266 `exit-minibuffer' instead of
24267 `isearch-nonincremental-exit-minibuffer'.
24268 (isearch-edit-string): Remove mention of
24269 `isearch-nonincremental-exit-minibuffer' from docstring.
24270 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
24271 (isearch-forward-exit-minibuffer)
24272 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
24274 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
24276 * loadup.el: Just use unversioned DOC.
24278 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
24279 literals as extending to EOB.
24280 (nxml-last-fontify-end): Remove unused variable.
24281 (nxml-after-change1): Use with-silent-modifications.
24282 (nxml-extend-after-change-region): Simplify.
24283 (nxml-extend-after-change-region1): Remove function.
24284 (nxml-after-change1): Don't adjust for dependent regions.
24285 (nxml-fontify-matcher): Simplify.
24286 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
24287 (xmltok-add-dependent): Remove function.
24288 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
24289 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
24290 (xmltok-scan-prolog-after-processing-instruction-open): Treat
24291 unclosed <[[, <?, comment, and other literals as extending to EOB.
24292 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
24293 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
24295 (rng-do-some-validation-1): Don't mark dependent regions.
24296 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
24297 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
24298 (nxml-clear-dependent-regions): Remove functions.
24299 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
24300 (nxml-ensure-scan-up-to-date):
24301 Don't clear&mark dependent regions.
24303 2013-05-15 Leo Liu <sdl.web@gmail.com>
24305 * progmodes/octave.el (octave-goto-function-definition):
24306 Improve and fix callers.
24308 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
24310 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
24311 the setter (bug#14387).
24313 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
24314 surrounding group (bug#14402).
24316 2013-05-14 Juri Linkov <juri@jurta.org>
24318 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
24321 2013-05-14 Glenn Morris <rgm@gnu.org>
24323 * progmodes/f90.el (f90-imenu-generic-expression):
24324 Fix typo in 2013-05-08 change. (Bug#14402)
24326 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24328 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
24329 Remove signals for which replies are never received.
24331 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24333 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
24334 (gdb-handler-alist, gdb-handler-number): Remove variables.
24335 (gdb-handler-list): New variable.
24336 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
24337 (gdb-pending-handler-p, gdb-handle-reply)
24338 (gdb-remove-all-pending-triggers): New functions.
24339 (gdb-discard-unordered-replies): New defcustom.
24340 (gdb-handler): New defstruct.
24341 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
24342 instead of gdb-pending-triggers. Update docstring.
24343 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
24344 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
24345 (gdb-var-update-handler, def-gdb-auto-update-trigger)
24346 (def-gdb-auto-update-handler, gdb-get-changed-registers)
24347 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
24348 (gdb-frame-handler): Pending triggers are now automatically managed.
24349 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
24351 (gdb-input): Automatically handles pending triggers. Update docstring.
24352 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
24353 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
24355 (gdb-done-or-error): Now use gdb-handle-reply.
24357 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24359 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
24362 2013-05-14 Glenn Morris <rgm@gnu.org>
24364 * subr.el (user-emacs-directory-warning): New option.
24365 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
24367 2013-05-14 Leo Liu <sdl.web@gmail.com>
24369 * progmodes/octave.el (octave-font-lock-keywords): Fix error
24371 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
24372 (octave-font-lock-texinfo-comment): Fix invalid search bound
24373 error: wrong side of point.
24375 2013-05-14 Glenn Morris <rgm@gnu.org>
24377 * progmodes/flymake.el (flymake-xml-program): New option.
24378 (flymake-xml-init): Use it.
24380 * term/xterm.el: Provide a feature.
24382 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
24384 2013-05-13 Glenn Morris <rgm@gnu.org>
24386 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
24387 Add compat aliases as a hack workaround. (Bug#14384)
24389 2013-05-13 Leo Liu <sdl.web@gmail.com>
24391 * progmodes/octave.el (octave-indent-comment): Fix indentation for
24393 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
24395 (octave-comment-start-skip): Include %!.
24396 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
24398 2013-05-12 Leo Liu <sdl.web@gmail.com>
24400 * progmodes/octave.el (inferior-octave-startup): Store the value
24401 of __octave_srcdir__ for octave-source-directories.
24402 (inferior-octave-check-process): New function refactored out of
24403 inferior-octave-send-list-and-digest.
24404 (octave-source-directories)
24405 (octave-find-definition-filename-function): New variables.
24406 (octave-source-directories)
24407 (octave-find-definition-default-filename): New functions.
24408 (octave-find-definition): Improve to find functions implemented in C++.
24410 2013-05-12 Glenn Morris <rgm@gnu.org>
24412 * calendar/diary-lib.el (diary-outlook-format-1):
24413 Don't include dayname in the output. (Bug#14349)
24415 2013-05-11 Glenn Morris <rgm@gnu.org>
24417 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
24419 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
24420 Treat cc-provide like provide.
24422 2013-05-11 Kevin Ryde <user42@zip.com.au>
24424 * cus-dep.el (custom-make-dependencies):
24425 Use generated-autoload-load-name for the sake of files such
24426 such cedet/semantic/bovine/c.el, where the base file name
24427 is not in load-path. (Bug#5277)
24429 2013-05-11 Glenn Morris <rgm@gnu.org>
24431 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
24434 2013-05-11 Leo Liu <sdl.web@gmail.com>
24436 * progmodes/octave.el (octave-indent-comment): Improve.
24437 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
24438 (octave-eldoc-function-signatures, octave-eldoc-function):
24440 (octave-mode, inferior-octave-mode): Add eldoc support.
24442 2013-05-11 Richard Stallman <rms@gnu.org>
24444 * epa.el (epa-decrypt-file): Take output file name as argument
24445 and read it using `interactive'.
24447 2013-05-11 Leo Liu <sdl.web@gmail.com>
24449 * progmodes/octave.el (octave-beginning-of-line)
24450 (octave-end-of-line): Check before using up-list because it jumps
24451 out of more syntactic contructs since moving to smie.
24452 (octave-indent-comment): New function.
24453 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
24454 (octave-begin-keywords, octave-end-keywords)
24455 (octave-reserved-words, octave-smie-bnf-table)
24456 (octave-smie-rules): Add new keywords from Octave 3.6.4.
24458 2013-05-11 Glenn Morris <rgm@gnu.org>
24460 * faces.el (internal-face-x-get-resource):
24461 * frame.el (ns-display-monitor-attributes-list):
24462 * calc/calc-aent.el (math-to-radians-2):
24463 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
24466 * calc/calc-menu.el: Make it loadable in isolation.
24468 * net/eudcb-bbdb.el: Make it loadable without bbdb.
24469 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
24470 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
24471 (eudc-bbdb-query-internal): Require 'bbdb.
24473 * lpr.el (lpr-headers-switches):
24474 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
24476 * progmodes/sql.el (sql-login-params): Fix and improve :type.
24478 * emulation/edt-mapper.el: In batch mode, error rather than hang.
24480 * term.el (term-set-escape-char): Make it idempotent.
24482 2013-05-10 Leo Liu <sdl.web@gmail.com>
24484 * progmodes/octave.el (inferior-octave-completion-table):
24485 No longer a function and all uses changed. Use cache to speed up
24486 completion due to bug#11906.
24487 (octave-beginning-of-defun): Re-write to be more general.
24489 2013-05-10 Glenn Morris <rgm@gnu.org>
24491 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
24493 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
24495 * comint.el (comint-redirect-send-command-to-process): Use :around
24496 rather than :override for comint-redirect-filter.
24497 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
24498 Call it instead of comint-redirect-original-filter-function (which
24499 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
24501 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
24503 * frame.el (display-monitor-attributes-list): Add NS case.
24504 (ns-display-monitor-attributes-list): Declare.
24506 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
24508 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
24510 2013-05-09 Glenn Morris <rgm@gnu.org>
24512 * international/fontset.el (vertical-centering-font-regexp):
24513 Set standard-value.
24515 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
24517 * bookmark.el (bookmark-search-delay):
24518 * cus-start.el (vertical-centering-font-regexp):
24519 * ps-mule.el (ps-mule-font-info-database-default):
24520 * ps-print.el (ps-default-fg, ps-default-bg):
24521 * type-break.el (type-break-good-break-interval):
24522 * whitespace.el (whitespace-indentation-regexp)
24523 (whitespace-space-after-tab-regexp):
24524 * emacs-lisp/testcover.el (testcover-1value-functions)
24525 (testcover-noreturn-functions, testcover-progn-functions)
24526 (testcover-prog1-functions):
24527 * emulation/viper-init.el (viper-emacs-state-cursor-color):
24528 * eshell/em-glob.el (eshell-glob-translate-alist):
24529 * play/tetris.el (tetris-tty-colors):
24530 * progmodes/cpp.el (cpp-face-default-list):
24531 * progmodes/flymake.el (flymake-allowed-file-name-masks):
24532 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
24533 (idlwave-help-browser-generic-args):
24534 * progmodes/make-mode.el (makefile-special-targets-list):
24535 * progmodes/python.el (python-shell-virtualenv-path):
24536 * progmodes/verilog-mode.el (verilog-active-low-regexp)
24537 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
24538 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
24539 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
24540 * textmodes/reftex-vars.el (reftex-format-label-function):
24541 * textmodes/remember.el (remember-diary-file): Fix custom types.
24543 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
24546 2013-05-09 Leo Liu <sdl.web@gmail.com>
24548 * progmodes/octave.el (inferior-octave-completion-at-point):
24549 Restore file completion. (Bug#14300)
24550 (inferior-octave-startup): Fix incorrect highlighting for the
24553 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24555 * progmodes/ruby-mode.el: First cut at SMIE support.
24556 (ruby-use-smie): New var.
24557 (ruby-smie-grammar): New constant.
24558 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
24559 (ruby-smie--forward-token, ruby-smie--backward-token)
24560 (ruby-smie-rules): New functions.
24561 (ruby-mode-variables): Setup SMIE if applicable.
24563 2013-05-08 Eli Zaretskii <eliz@gnu.org>
24565 * simple.el (line-move-visual): Signal beginning/end of buffer
24566 only if vertical-motion moved less than it was requested. Avoids
24567 silly incorrect error messages when there are display strings with
24568 multiple newlines at EOL.
24570 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24572 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
24573 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
24574 (prolog-char-quote-workaround):
24575 * progmodes/cperl-mode.el (cperl-under-as-char):
24576 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
24578 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
24580 (vhdl-mode-syntax-table-init): Remove.
24582 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
24585 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
24587 (ld-script-font-lock-keywords):
24588 Change regexps to use things like \_< and \_>.
24590 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
24591 Change all regexps to use things like \_< and \_>.
24593 * progmodes/autoconf.el (autoconf-definition-regexp)
24594 (autoconf-font-lock-keywords, autoconf-current-defun-function):
24595 Handle a _ with symbol syntax.
24596 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
24598 * progmodes/ada-mode.el (ada-mode-abbrev-table):
24599 Consolidate declaration.
24600 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
24602 (ada-create-syntax-table): Remove.
24603 (ada-capitalize-word): Don't mess with the syntax of "_" since it
24604 already has the right syntax nowadays.
24605 (ada-goto-next-word): Don't change the syntax of "_".
24607 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
24610 2013-05-08 Sam Steingold <sds@gnu.org>
24612 * thingatpt.el (thing-at-point): Accept optional second argument
24613 NO-PROPERTIES to strip the text properties from the return value.
24614 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
24615 to `thing-at-point' instead of stripping the properties ourselves.
24616 Also, when `thing-at-point' fails to find a url, prepend "http://"
24617 to the filename at point on the assumption that the user is
24618 pointing at something like gnu.org/gnu.
24620 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
24622 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24623 * faces.el (crm-separator):
24624 Silence byte-compiler.
24626 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
24627 (tool-bar-map): Remove unneeded defvars.
24629 2013-05-08 Leo Liu <sdl.web@gmail.com>
24631 Re-work a fix for bug#10994 based on Le Wang's patch.
24632 * ido.el (ido-remove-consecutive-dups): New helper.
24633 (ido-completing-read): Use it.
24634 (ido-chop): Revert fix for bug#10994.
24636 2013-05-08 Adam Spiers <emacs@adamspiers.org>
24638 * cus-edit.el (custom-save-variables):
24639 Pretty-print long values. (Bug#14187)
24641 2013-05-08 Glenn Morris <rgm@gnu.org>
24643 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
24644 (m4-mode-syntax-table): Init in the defvar.
24645 (m4-mode-abbrev-table): Let define-derived-mode define it.
24647 2013-05-08 Tom Tromey <tromey@redhat.com>
24649 * progmodes/m4-mode.el (m4-mode-syntax-table):
24650 Do not treat "_" as word constituent. (Bug#14167)
24652 2013-05-07 Glenn Morris <rgm@gnu.org>
24654 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
24655 Remove explicit eshell-isearch-cancel-map.
24657 * progmodes/f90.el (f90-smart-end-names): New option.
24658 (f90-smart-end): Doc fix.
24659 (f90-end-block-optional-name): New constant.
24660 (f90-block-match): Respect f90-smart-end-names.
24662 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24664 * progmodes/octave.el (octave-smie-forward-token): Be more careful
24665 about implicit semi-colons (bug#14218).
24667 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
24669 * frame.el (display-monitor-attributes-list)
24670 (frame-monitor-attributes): New functions.
24672 2013-05-06 Leo Liu <sdl.web@gmail.com>
24674 * progmodes/octave.el (octave-syntax-propertize-function): Change
24675 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
24676 (octave-font-lock-keywords): Use octave-operator-regexp.
24677 (octave-completion-at-point): Rename from
24678 octave-completion-at-point-function.
24679 (inferior-octave-directory-tracker): Robustify.
24680 (octave-text-functions): Remove and fix its uses. No such things
24683 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24685 * emacs-lisp/trace.el (trace--display-buffer): New function.
24686 (trace-make-advice): Use it.
24688 2013-05-06 Juri Linkov <juri@jurta.org>
24690 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
24691 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
24693 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
24694 in the help string. (Bug#12985)
24696 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
24698 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
24700 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24702 * progmodes/perl-mode.el: Add support for here documents.
24703 (perl-syntax-propertize-function): Match here-doc markers.
24704 (perl-syntax-propertize-special-constructs): Find their end.
24705 (perl-imenu-generic-expression): Use [:alnum:].
24707 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
24708 (advice--add-function): Refresh the advice if already present
24711 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
24713 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
24715 2013-05-06 Glenn Morris <rgm@gnu.org>
24717 * w32-fns.el (w32-charset-info-alist): Declare.
24719 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
24720 of its defcustom properties.
24721 (eshell-cmpl-initialize): No need to load pcomplete.
24723 * generic-x.el: No need to require comint when compiling.
24725 * net/eudc-export.el: Make it loadable without bbdb.
24726 (top-level): Use require rather than load-library.
24727 (eudc-create-bbdb-record, eudc-bbdbify-phone)
24728 (eudc-batch-export-records-to-bbdb)
24729 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
24732 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24734 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
24735 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
24736 some tweaks, instead.
24738 2013-05-05 Leo Liu <sdl.web@gmail.com>
24740 * progmodes/octave.el (octave-font-lock-keywords)
24741 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
24742 (inferior-octave-send-list-and-digest): Improve error message.
24743 (octave-mode, inferior-octave-mode): Use setq-local.
24744 (octave-help): Set info-lookup-mode.
24746 2013-05-05 Richard Stallman <rms@gnu.org>
24748 * vc/compare-w.el (compare-windows-whitespace):
24749 Treat no-break space as whitespace.
24751 * mail/rmailsum.el (rmail-summary-rmail-update):
24752 Detect empty summary and don't change selected message.
24753 (rmail-summary-goto-msg): Likewise.
24755 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
24756 Doc fixes, rename args.
24758 2013-05-05 Alan Mackenzie <acm@muc.de>
24760 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
24762 2013-05-05 Juri Linkov <juri@jurta.org>
24764 * info.el (Info-read-subfile): Use (point-min) instead of (point)
24765 to not add the length of the summary segment to the return value.
24768 2013-05-05 Leo Liu <sdl.web@gmail.com>
24770 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
24771 (inferior-octave-output-filter): Remove.
24772 (octave-send-region, inferior-octave-startup): Fix callers.
24773 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
24774 (octave-binary-file-extensions): New user variable.
24775 (octave-find-definition): Confirm if opening binary files.
24776 (octave-help-file): Use octave-find-definition to get the binary
24778 (octave-help): Adjust for octave-help-file change.
24780 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24782 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
24783 Merge the two entries that handle function definitions.
24784 (pascal--syntax-propertize): New const.
24785 (pascal-mode): Use it. Use setq-local.
24787 2013-05-04 Glenn Morris <rgm@gnu.org>
24789 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
24790 (diary-from-outlook): Respect diary-from-outlook-function.
24792 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24794 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
24795 Move the declaration from C.
24796 (read-minibuffer, eval-minibuffer): Move from C.
24797 (completion-setup-function): Avoid minibuffer-completion-contents.
24799 2013-05-03 Leo Liu <sdl.web@gmail.com>
24801 * progmodes/octave.el (octave-font-lock-keywords): Do not
24802 dehighlight 'end' in comments or strings.
24803 (octave-completing-read, octave-goto-function-definition):
24805 (octave-help-buffer): New user variable.
24806 (octave-help-file, octave-help-function): New button types.
24807 (octave-help): New command and bind it to C-h ;.
24808 (octave-find-definition): New command and bind it to M-.
24809 (user-error): Alias to error if not defined.
24811 2013-05-02 Leo Liu <sdl.web@gmail.com>
24813 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
24815 (octave-font-lock-keywords): Include [ and {.
24817 2013-05-02 Leo Liu <sdl.web@gmail.com>
24819 * progmodes/octave.el (inferior-octave-startup-file): Change default.
24820 (inferior-octave): Remove calling comint-mode and return the buffer.
24821 (inferior-octave-startup): Cosmetic changes.
24823 2013-05-02 Leo Liu <sdl.web@gmail.com>
24825 * progmodes/octave.el (octave-syntax-propertize-function):
24826 Include the case when ' is at line beginning. (Bug#14336)
24828 2013-05-02 Glenn Morris <rgm@gnu.org>
24830 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
24831 * desktop.el (vc-dir-mode): Just autoload it here.
24833 2013-05-02 Alan Mackenzie <acm@muc.de>
24835 Eliminate variable c-standard-font-lock-fontify-region-function.
24836 * progmodes/cc-mode.el
24837 (c-standard-font-lock-fontify-region-function): Remove.
24838 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
24840 2013-05-01 Leo Liu <sdl.web@gmail.com>
24842 * progmodes/octave.el: Compatible with older emacs-24 releases.
24843 (inferior-octave-has-built-in-variables): Remove. Built-in
24844 variables were removed from Octave in 2007.
24845 (inferior-octave-startup): Fix uses.
24846 (comint-line-beginning-position): Remove compatibility code for
24849 2013-05-01 Juri Linkov <juri@jurta.org>
24851 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
24853 2013-05-01 Juri Linkov <juri@jurta.org>
24855 * comint.el (comint-previous-matching-input): Don't print message
24856 "History item: %d" when `isearch-mode' is active.
24857 (comint-history-isearch-message): Print message "History item: %d"
24858 when `comint-input-ring-index' is not empty and this function is
24859 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
24861 2013-05-01 Leo Liu <sdl.web@gmail.com>
24863 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
24864 definitions. Use completion-at-point to insert keywords.
24865 (octave-abbrev-start): Remove.
24866 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
24868 2013-04-30 Leo Liu <sdl.web@gmail.com>
24870 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
24873 2013-04-30 Alan Mackenzie <acm@muc.de>
24875 Handle arbitrarily long C++ member initialization lists.
24876 * progmodes/cc-engine.el (c-back-over-member-initializers):
24878 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
24879 (most) member init lists.
24881 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
24883 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
24886 2013-04-30 Leo Liu <sdl.web@gmail.com>
24888 * progmodes/octave.el (octave-variables): Remove. No builtin
24889 variables any more. All converted to functions.
24890 (octave-font-lock-keywords, octave-completion-at-point-function):
24892 (octave-font-lock-texinfo-comment): New user variable.
24893 (octave-texinfo-font-lock-keywords): New variable for texinfo
24895 (octave-function-comment-block): New face.
24896 (octave-font-lock-texinfo-comment): New function.
24897 (octave-mode): Font lock texinfo comment block.
24899 2013-04-29 Leo Liu <sdl.web@gmail.com>
24901 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
24902 indexing expression.
24903 (octave-continuation-string): Do not use \.
24904 (inferior-octave-complete-impossible): Remove.
24905 (inferior-octave-completion-table)
24906 (inferior-octave-completion-at-point): Remove its uses.
24907 (inferior-octave-startup): completion_matches was introduced to
24908 Octave in 1996 so safe to assume it.
24909 (octave-function-file-comment): Improve to follow how Octave does it.
24910 (octave-update-function-file-comment): Tweak.
24912 2013-04-29 Leo Liu <sdl.web@gmail.com>
24914 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
24915 (inferior-octave-startup): Remove inferior-octave-startup-hook.
24916 (octave-function-file-comment): Fix typo.
24917 (octave-sync-function-file-names): Use read-char-choice.
24919 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
24921 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
24922 to t for the less important warnings.
24924 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
24926 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
24928 2013-04-27 Glenn Morris <rgm@gnu.org>
24930 * vc/log-view.el (log-view-current-entry):
24931 Treat "---" separator lines as part of the following rev. (Bug#14169)
24933 2013-04-27 Juri Linkov <juri@jurta.org>
24935 * subr.el (read-number): Doc fix about using it by interactive
24936 code letter `n'. (Bug#14254)
24938 2013-04-27 Juri Linkov <juri@jurta.org>
24940 * desktop.el (desktop-auto-save-timeout): New option.
24941 (desktop-file-checksum): New variable.
24942 (desktop-save): Add optional arg `auto-save' and don't auto-save
24943 if nothing changed.
24944 (desktop-auto-save-timer): New variable.
24945 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
24946 (after-init-hook): Call `desktop-auto-save-set-timer'.
24947 Suggested by Reuben Thomas <rrt@sc3d.org> in
24948 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
24950 2013-04-27 Leo Liu <sdl.web@gmail.com>
24952 * progmodes/octave.el (octave-function-file-p)
24953 (octave-skip-comment-forward, octave-function-file-comment)
24954 (octave-update-function-file-comment): New functions.
24955 (octave-mode-map): Bind C-c ; to
24956 octave-update-function-file-comment.
24957 (octave-mode-menu): Add octave-update-function-file-comment.
24958 (octave-mode, inferior-octave-mode): Fix doc-string.
24959 (octave-insert-defun): Conform to Octave's coding convention.
24962 * files.el (basic-save-buffer): Don't let errors in
24963 before-save-hook prevent saving buffer.
24965 2013-04-20 Roland Winkler <winkler@gnu.org>
24967 * faces.el (read-face-name): Use completing-read if arg multiple
24970 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
24972 * ls-lisp.el (ls-lisp-insert-directory): If no files are
24973 displayed, move point to after the totals line.
24974 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
24977 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
24979 * emacs-lisp/package.el (package-autoload-ensure-default-file):
24980 Add current dir to the load-path.
24981 (package-generate-autoloads): Don't rely on
24982 autoload-ensure-default-file.
24984 2013-04-26 Reuben Thomas <rrt@sc3d.org>
24986 * textmodes/remember.el (remember-store-in-files): Document that
24987 the file name format is passed to `format-time-string'.
24989 2013-04-26 Leo Liu <sdl.web@gmail.com>
24991 * progmodes/octave.el (octave-sync-function-file-names): New function.
24992 (octave-mode): Use it in before-save-hook.
24994 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
24996 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
24999 * progmodes/octave.el (octave-smie-forward-token): Properly skip
25000 \n and comment, even if it's not an implicit ; (bug#14218).
25002 2013-04-26 Glenn Morris <rgm@gnu.org>
25004 * subr.el (read-number): Once more use `read' rather than
25005 `string-to-number', to trap non-numeric input. (Bug#14254)
25007 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
25009 * emacs-lisp/syntax.el (syntax-propertize-multiline):
25010 Use `syntax-multiline' text property consistently instead of
25011 `font-lock-multiline'. (Bug#14237)
25013 2013-04-26 Glenn Morris <rgm@gnu.org>
25015 * emacs-lisp/shadow.el (list-load-path-shadows):
25016 No longer necessary to check for duplicate simple.el, since
25017 2012-07-07 change to init_lread to not include installation lisp
25018 directories in load-path when running uninstalled. (Bug#14270)
25020 2013-04-26 Leo Liu <sdl.web@gmail.com>
25022 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
25023 (octave-mode, inferior-octave-mode): Use setq-local.
25024 (octave-not-in-string-or-comment-p): Rename to
25025 octave-in-string-or-comment-p.
25026 (octave-in-comment-p, octave-in-string-p)
25027 (octave-in-string-or-comment-p): Replace defsubst with defun.
25029 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
25031 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
25033 2013-04-25 Bastien Guerry <bzg@gnu.org>
25035 * textmodes/remember.el (remember-data-directory)
25036 (remember-directory-file-name-format): Fix custom types.
25038 2013-04-25 Leo Liu <sdl.web@gmail.com>
25040 * progmodes/octave.el (octave-completion-at-point-function):
25041 Make use of inferior octave process.
25042 (octave-initialize-completions): Remove.
25043 (inferior-octave-completion-table): New function.
25044 (inferior-octave-completion-at-point): Use it.
25045 (octave-completion-alist): Remove.
25047 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25049 * progmodes/opascal.el: Use font-lock and syntax-propertize.
25050 (opascal-mode-syntax-table): New var.
25051 (opascal-literal-kind, opascal-is-literal-end)
25052 (opascal-literal-token-at): Rewrite.
25053 (opascal--literal-start-re, opascal-font-lock-keywords)
25054 (opascal--syntax-propertize): New constants.
25055 (opascal-font-lock-defaults): Adjust.
25056 (opascal-mode): Use them. Set comment-<foo> variables as well.
25057 (delphi-comment-face, opascal-comment-face, delphi-string-face)
25058 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
25059 (delphi-other-face, opascal-other-face): Remove face variables.
25060 (opascal-save-state): Remove macro.
25061 (opascal-fontifying-progress-step): Remove constant.
25062 (opascal--ignore-changes): Remove var.
25063 (opascal-set-token-property, opascal-parse-next-literal)
25064 (opascal-is-stable-literal, opascal-complete-literal)
25065 (opascal-is-literal-start, opascal-face-of)
25066 (opascal-parse-region, opascal-parse-region-until-stable)
25067 (opascal-fontify-region, opascal-after-change)
25068 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
25069 (opascal-debug-parse-region, opascal-debug-parse-window)
25070 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
25071 (opascal-debug-fontify-buffer): Remove.
25072 (opascal-debug-mode-map): Adjust accordingly.
25074 2013-04-25 Leo Liu <sdl.web@gmail.com>
25076 Merge octave-mod.el and octave-inf.el into octave.el with some
25078 * progmodes/octave.el: New file renamed from octave-mod.el.
25079 * progmodes/octave-inf.el: Merged into octave.el.
25080 * progmodes/octave-mod.el: Renamed to octave.el.
25082 2013-04-25 Tassilo Horn <tsdh@gnu.org>
25084 * textmodes/reftex-vars.el
25085 (reftex-label-ignored-macros-and-environments): New defcustom.
25087 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
25089 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25091 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
25092 (smie-indent-keyword): Improve the check to ensure that the next
25093 comment is really on the same line.
25094 (smie-indent-comment): Don't align with a subsequent closer (or eob).
25096 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
25097 semi-colons if the line is not otherwise empty (bug#14218).
25099 2013-04-25 Glenn Morris <rgm@gnu.org>
25101 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
25103 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
25105 * progmodes/opascal.el (opascal-set-token-property): Rename from
25106 opascal-set-text-properties and only set `token' (bug#14134).
25107 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
25108 (opascal-literal-text-properties): Remove.
25109 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
25112 2013-04-24 Reuben Thomas <rrt@sc3d.org>
25114 * textmodes/remember.el (remember-handler-functions): Add an
25115 option for a new handler `remember-store-in-files'.
25116 (remember-data-directory, remember-directory-file-name-format):
25118 (remember-store-in-files): New function to store remember notes
25119 as separate files within a directory.
25121 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
25123 * progmodes/compile.el (compilation-next-error-function):
25124 Pass "formats" to compilation-find-file (bug#11777).
25126 2013-04-24 Glenn Morris <rgm@gnu.org>
25128 * vc/vc-bzr.el (vc-bzr-print-log):
25129 * vc/vc-hg.el (vc-hg-print-log):
25130 * vc/vc-svn.el (vc-svn-print-log):
25131 Fix START-REVISION with LIMIT != 1. (Bug#14168)
25133 * vc/vc-bzr.el (vc-bzr-print-log):
25134 * vc/vc-cvs.el (vc-cvs-print-log):
25135 * vc/vc-git.el (vc-git-print-log):
25136 * vc/vc-hg.el (vc-hg-print-log):
25137 * vc/vc-mtn.el (vc-mtn-print-log):
25138 * vc/vc-rcs.el (vc-rcs-print-log):
25139 * vc/vc-sccs.el (vc-sccs-print-log):
25140 * vc/vc-svn.el (vc-svn-print-log):
25141 * vc/vc.el (vc-print-log-internal): Doc fixes.
25143 2013-04-23 Glenn Morris <rgm@gnu.org>
25145 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
25146 Remove venerable code attempting to avoid substitute-command-keys.
25148 2013-04-23 Tassilo Horn <tsdh@gnu.org>
25150 * textmodes/reftex-vars.el (reftex-label-regexps):
25151 Call `reftex-compile-variables' after changes to this variable.
25153 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
25155 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
25156 Use lexical-binding.
25157 (jit-lock-force-redisplay): Use markers, check buffer's continued
25158 existence and beware narrowed buffers.
25159 (jit-lock-fontify-now): Adjust call accordingly.
25161 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
25163 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
25164 to avoid misleading the user.
25166 2013-04-22 Leo Liu <sdl.web@gmail.com>
25168 * info-look.el: Prefer latex2e.info. (Bug#14240)
25170 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
25172 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
25174 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
25175 * net/tramp.el (tramp-call-process): ... here.
25176 (tramp-set-completion-function, tramp-parse-putty):
25177 * net/tramp-adb.el (tramp-adb-execute-adb-command):
25178 * net/tramp-gvfs.el (tramp-gvfs-send-command):
25179 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
25180 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
25181 (tramp-call-local-coding-command): Use `tramp-call-process'
25182 instead of `tramp-compat-call-process'.
25184 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
25185 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
25186 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
25187 (tramp-find-inline-compress): Improve traces.
25188 (tramp-maybe-send-script): Check for Perl binary.
25189 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
25191 2013-04-22 Daiki Ueno <ueno@gnu.org>
25193 * epg.el (epg-context-pinentry-mode): New function.
25194 (epg-context-set-pinentry-mode): New function.
25195 (epg--start): Pass --pinentry-mode option to gpg command.
25197 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
25199 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
25200 `comint-dynamic-complete' is obsolete since 24.1, replaced by
25201 `completion-at-point'. (Bug#13774)
25203 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
25204 default key binding for `describe-distribution' has been moved to
25205 `C-h C-o'. (Bug#13970)
25207 2013-04-21 Glenn Morris <rgm@gnu.org>
25209 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
25211 (vc-print-log): Clarify interactive prompt.
25213 2013-04-20 Glenn Morris <rgm@gnu.org>
25215 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
25216 No longer include timestamp etc information.
25218 2013-04-20 Roland Winkler <winkler@gnu.org>
25220 * faces.el (read-face-name): Bug fix, return just one face if arg
25221 multiple is nil. (Bug#14209)
25223 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25225 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
25226 (remove-function): Autoload.
25228 * comint.el (comint-redirect-original-filter-function): Remove.
25229 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
25230 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
25231 (vc-cvs-annotate-command):
25232 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
25233 * progmodes/prolog.el (prolog-consult-compile):
25234 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
25235 Use add/remove-function instead.
25236 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
25237 (gud-tooltip-process-output, gud-tooltip-tips):
25238 Use add/remove-function instead.
25239 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
25240 (scheme-interaction-mode, exit-scheme-interaction-mode):
25241 Use add/remove-function instead.
25243 * vc/vc-dispatcher.el: Use lexical-binding.
25244 (vc--process-sentinel): Rename from vc-process-sentinel.
25245 Change last arg to be the code to run. Don't use vc-previous-sentinel
25246 and vc-sentinel-commands any more.
25247 (vc-exec-after): Allow code to be a function. Use add/remove-function.
25248 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
25250 2013-04-19 Masatake YAMATO <yamato@redhat.com>
25252 * progmodes/sh-script.el (sh-imenu-generic-expression):
25253 Handle function names with a single character. (Bug#14111)
25255 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
25257 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
25258 for subroutines defined in an eval (bug#14182).
25260 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
25262 * bookmark.el (bookmark-completing-read): Improve handling of empty
25263 string (bug#14176).
25265 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25267 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
25269 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
25271 New faster Imenu implementation (bug#14058).
25272 * progmodes/python.el (python-imenu-prev-index-position)
25273 (python-imenu-format-item-label-function)
25274 (python-imenu-format-parent-item-label-function)
25275 (python-imenu-format-parent-item-jump-label-function):
25277 (python-imenu-format-item-label)
25278 (python-imenu-format-parent-item-label)
25279 (python-imenu-format-parent-item-jump-label)
25280 (python-imenu--put-parent, python-imenu--build-tree)
25281 (python-imenu-create-index, python-imenu-create-flat-index)
25282 (python-util-popn): New functions.
25283 (python-mode): Set imenu-create-index-function to
25284 python-imenu-create-index.
25286 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
25288 * winner.el (winner-active-region): Use region-active-p, activate-mark
25289 and deactivate-mark (bug#14225).
25291 * simple.el (deactivate-mark): Don't inline it.
25293 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
25295 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
25297 2013-04-18 Tassilo Horn <tsdh@gnu.org>
25299 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
25300 file extensions from the archive-mode entry in order to prefer
25301 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
25303 2013-04-18 Leo Liu <sdl.web@gmail.com>
25305 * bindings.el (help-event-list): Add ?\?.
25307 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
25309 * subr.el (with-wrapper-hook): Declare obsolete.
25310 * simple.el (filter-buffer-substring-function): New hook.
25311 (filter-buffer-substring): Use it.
25312 (filter-buffer-substring-functions): Mark obsolete.
25313 * minibuffer.el (completion-in-region-function): New hook.
25314 (completion-in-region): Use it.
25315 (completion-in-region-functions): Mark obsolete.
25316 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
25317 * abbrev.el (abbrev-expand-function): New hook.
25318 (expand-abbrev): Use it.
25319 (abbrev-expand-functions): Mark obsolete.
25320 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
25321 and :filter-return.
25323 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25325 * progmodes/python.el (python-nav--syntactically): Fix cornercases
25326 and do not care about match data.
25328 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
25330 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
25331 completion tables when completing error conditions and
25332 `declare' arguments.
25333 (lisp-complete-symbol, field-complete): Mark as obsolete.
25334 (check-parens): Unmatched parens are user errors.
25335 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
25337 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
25339 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
25340 command changed buffer (ie. `flyspell-pre-buffer' is not current
25341 buffer), which prevents making decisions based on invalid value of
25342 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
25343 cause an error when `flyspell-pre-point' was nil after switching
25345 (flyspell-post-command-hook): No longer needs to change buffers when
25346 checking pre-word. While at it remove unnecessary progn.
25348 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
25350 * textmodes/ispell.el (ispell-add-per-file-word-list):
25351 Fix `flyspell-correct-word-before-point' error when accepting
25352 words and `coment-padding' is an integer by using
25353 `comment-normalize-vars' (Bug #14214).
25355 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25357 New defun movement commands.
25358 * progmodes/python.el (python-nav--syntactically)
25359 (python-nav--forward-defun, python-nav-backward-defun)
25360 (python-nav-forward-defun): New functions.
25362 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25364 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
25365 (python-syntax-context): Use named compiler-macro for backwards
25366 compatibility with Emacs 24.x.
25368 2013-04-17 Leo Liu <sdl.web@gmail.com>
25370 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
25371 octave-hide-process-buffer.
25373 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
25375 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
25378 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
25380 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
25381 Fix adjustment of offset when receiving incomplete responses from GDB
25384 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
25386 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
25387 python-mode-abbrev-table.
25388 (python-skeleton-define): Adjust accordingly.
25389 (python-mode-abbrev-table): New table that inherits from it so that
25390 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
25392 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
25393 (abbrev-symbol): Use it.
25394 (abbrev--before-point): Use it since we already handle inheritance.
25396 2013-04-16 Leo Liu <sdl.web@gmail.com>
25398 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
25399 binding to info-lookup-symbol.
25401 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
25403 * minibuffer.el (completion--twq-all):
25404 * term/ns-win.el (ns-initialize-window-system):
25405 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
25407 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
25409 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
25412 * doc-view.el (doc-view-start-process): Handle url-handler directories.
25414 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
25416 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
25417 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
25419 (ruby-end-of-defun): Remove the unused arg, change the docstring
25420 to reflect that this function is only used as the value of
25421 `end-of-defun-function'.
25422 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
25423 to reflect an earlier change that beginning/end-of-defun functions
25424 jump between methods in a class definition, as well as top-level
25427 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25429 * minibuffer.el (minibuffer-complete): Don't just scroll
25430 a *Completions* that's been iconified.
25431 (minibuffer-force-complete): Make sure repetitions do cycle when going
25432 through completion-in-region -> minibuffer-complete.
25434 2013-04-15 Alan Mackenzie <acm@muc.de>
25436 Correct the placement of c-cpp-delimiters when there're #s not at
25439 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
25440 place a submatch around the #.
25441 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
25442 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
25445 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25447 * emacs-lisp/nadvice.el: Properly test names when adding advice.
25448 (advice--member-p): New arg `name'.
25449 (advice--add-function, advice-member-p): Use it (bug#14202).
25451 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
25453 Reformulate java imenu-generic-expression.
25454 The old expression contained ill formed regexps.
25456 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
25457 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
25458 (cc-imenu-java-method-arg-regexp): New defconsts.
25459 (cc-imenu-java-build-type-args-regex): New defun.
25460 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
25461 handling of spaces in the regexp.
25463 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
25465 * textmodes/ispell.el (ispell-command-loop): Remove
25466 flyspell highlight of a word when ispell accepts it (bug #14178).
25468 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
25470 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
25471 uses code from the previous `ange-ftp-run-real-handler'.
25472 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
25473 only in case that function exist. This is needed for proper
25474 unloading of Tramp.
25476 2013-04-15 Tassilo Horn <tsdh@gnu.org>
25478 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
25480 * textmodes/reftex.el (reftex-compile-variables): Use it.
25482 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25484 * files.el (normal-mode): Only use default major-mode if no other mode
25487 * emacs-lisp/trace.el (trace-values): New function.
25489 * files.el: Allow : in local variables (bug#14089).
25490 (hack-local-variable-regexp): New var.
25491 (hack-local-variables-prop-line, hack-local-variables): Use it.
25493 2013-04-13 Roland Winkler <winkler@gnu.org>
25495 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
25496 data before it gets modified by bibtex-beginning-of-entry.
25498 2013-04-13 Roland Winkler <winkler@gnu.org>
25500 * textmodes/bibtex.el (bibtex-url): Doc fix.
25502 2013-04-13 Roland Winkler <winkler@gnu.org>
25504 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
25505 does not visit a BibTeX file, exclude it from the list of buffers
25506 returned by bibtex-initialize.
25508 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
25510 * window.el (split-window): Remove interactive form, since as a
25511 command this function is a special case of split-window-below.
25512 Correct doc string.
25514 2013-04-12 Roland Winkler <winkler@gnu.org>
25516 * faces.el (read-face-name): Do not override value of arg default.
25517 Allow single faces and strings as default values. Remove those
25518 elements from return value that are not faces.
25519 (describe-face): Simplify.
25520 (face-at-point): New optional args thing and multiple so that this
25521 function can provide the same functionality previously provided by
25523 (make-face-bold, make-face-unbold, make-face-italic)
25524 (make-face-unitalic, make-face-bold-italic, invert-face)
25525 (modify-face, read-face-and-attribute): Use face-at-point.
25527 * cus-edit.el (customize-face, customize-face-other-window)
25528 * cus-theme.el (custom-theme-add-face)
25529 * face-remap.el (buffer-face-set)
25530 * facemenu.el (facemenu-set-face): Use face-at-point.
25532 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
25534 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
25536 2013-04-10 Tassilo Horn <tsdh@gnu.org>
25538 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
25539 off leading { and trailing } from field values.
25541 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
25543 * emacs-lisp/timer.el (timer--check): New function.
25544 (timer--time, timer-set-function, timer-event-handler): Use it.
25545 (timer-set-idle-time): Simplify.
25546 (timer--activate): CSE.
25547 (timer-event-handler): Give more info in error message.
25548 (internal-timer-start-idle): New function, moved from C.
25550 * mpc.el (mpc-proc): Add `restart' argument.
25551 (mpc-proc-cmd): Use it.
25552 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
25553 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
25556 2013-04-10 Masatake YAMATO <yamato@redhat.com>
25558 * progmodes/sh-script.el: Implement `sh-mode' own
25559 `add-log-current-defun-function' (bug#14112).
25560 (sh-current-defun-name): New function.
25561 (sh-mode): Use the function.
25563 2013-04-09 Bastien Guerry <bzg@gnu.org>
25565 * simple.el (choose-completion-string): Fix docstring (bug#14163).
25567 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
25569 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
25571 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
25574 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
25576 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
25579 2013-04-07 Leo Liu <sdl.web@gmail.com>
25581 * pcmpl-x.el: New file.
25583 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
25585 Do not set x-display-name until X connection is established.
25586 This is needed to prevent from weird situation described at
25587 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
25588 * frame.el (make-frame): Set x-display-name after call to
25589 window system initialization function, not before.
25590 * term/x-win.el (x-initialize-window-system): Add optional
25591 display argument and use it.
25592 * term/w32-win.el (w32-initialize-window-system):
25593 * term/ns-win.el (ns-initialize-window-system):
25594 * term/pc-win.el (msdos-initialize-window-system):
25595 Add compatible optional display argument.
25597 2013-04-06 Eli Zaretskii <eliz@gnu.org>
25599 * files.el (normal-backup-enable-predicate): On MS-Windows and
25600 MS-DOS compare truenames of temporary-file-directory and of the
25601 file, so that 8+3 aliases (usually found in $TEMP on Windows)
25602 don't fail comparison by compare-strings. Also, compare file
25603 names case-insensitively on MS-Windows and MS-DOS.
25605 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25607 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
25608 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
25610 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
25612 * whitespace.el (whitespace-color-on, whitespace-color-off):
25613 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
25615 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
25617 * ispell.el (ispell-set-spellchecker-params):
25618 Really set `ispell-args' for all equivs.
25620 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25622 * ido.el (ido-completions): Use extra elements of ido-decorations
25624 (ido-decorations): Update docstring.
25626 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
25628 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
25629 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
25630 nil during initialization, in order not to miss changes since the
25631 file was opened. (Bug#14140)
25633 2013-04-05 Leo Liu <sdl.web@gmail.com>
25635 * kmacro.el (kmacro-call-macro): Fix bug#14135.
25637 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
25639 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
25641 2013-04-04 Glenn Morris <rgm@gnu.org>
25643 * electric.el (electric-pair-inhibit-predicate): Add :version.
25645 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
25647 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
25648 when a package is required several times (bug#14082).
25650 2013-04-04 Roland Winkler <winkler@gnu.org>
25652 * faces.el (read-face-name): Behave as promised by the docstring.
25653 Assume that arg default is a list of faces.
25654 (describe-face): Call read-face-name with list of default faces.
25656 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
25658 * bookmark.el: Fix deletion of bookmarks (bug#13972).
25659 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
25660 (bookmark-bmenu-execute-deletions): Only skip first line if it's
25662 (bookmark-exit-hook-internal): Save even if list is empty.
25664 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
25666 * emacs-lisp/package.el (package-pinned-packages): New var.
25667 (package--add-to-archive-contents): Obey it (bug#14118).
25669 2013-04-03 Alan Mackenzie <acm@muc.de>
25671 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
25672 Also adapt to the new values of element 7 of a parse state.
25674 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
25675 parameter `not-in-delimiter'. Handle being inside comment opener.
25676 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
25677 character in case we're typing a '*' after a '/'.
25678 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
25679 instead by passing the parameter to c-state-pp-to-literal.
25681 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
25682 for elt. 7 of a parse state.
25684 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
25686 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
25687 * international/latin1-disp.el, international/mule-util.el:
25688 * language/cyril-util.el, language/european.el, language/ind-util.el:
25689 * language/lao-util.el, language/thai.el, language/tibet-util.el:
25690 * language/tibetan.el, language/viet-util.el:
25691 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
25693 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25695 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
25696 (electric-pair-post-self-insert-function): Use it.
25697 (electric-pair-default-inhibit): New function, extracted from
25698 electric-pair-post-self-insert-function.
25700 2013-03-31 Roland Winkler <winkler@gnu.org>
25702 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
25704 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25706 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
25708 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
25710 Un-indent after "pass" and "return" statements (Bug#13888)
25711 * progmodes/python.el (python-indent-block-enders): New var.
25712 (python-indent-calculate-indentation): Use it.
25714 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
25716 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
25717 defun. Defining it as defalias could introduce too eager
25718 byte-compiler optimization. (Bug#14030)
25720 2013-03-30 Chong Yidong <cyd@gnu.org>
25722 * iswitchb.el (iswitchb-read-buffer): Fix typo.
25724 2013-03-30 Leo Liu <sdl.web@gmail.com>
25726 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
25727 (kmacro-execute-from-register): Pass the keyboard macro to
25728 kmacro-call-macro or repeating won't work correctly.
25730 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
25732 * progmodes/subword.el: Back to using `forward-symbol'.
25734 * subr.el (forward-whitespace, forward-symbol)
25735 (forward-same-syntax): Move from thingatpt.el.
25737 2013-03-29 Leo Liu <sdl.web@gmail.com>
25739 * kmacro.el (kmacro-to-register): New command.
25740 (kmacro-execute-from-register): New function.
25741 (kmacro-keymap): Bind to 'x'. (Bug#14071)
25743 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
25745 * mpc.el: Use defvar-local and setq-local.
25746 (mpc--proc-connect): Connection failures are not bugs.
25747 (mpc-mode-map): `follow-link' only applies to the buffer's content.
25748 (mpc-volume-map): Bind to the up-events.
25750 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
25752 * progmodes/subword.el (superword-mode): Use `forward-sexp'
25753 instead of `forward-symbol'.
25755 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
25757 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
25758 (edebug--recursive-edit): Use it.
25759 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
25760 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
25762 2013-03-28 Leo Liu <sdl.web@gmail.com>
25764 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
25766 2013-03-27 Eli Zaretskii <eliz@gnu.org>
25768 * facemenu.el (list-colors-callback): New defvar.
25769 (list-colors-redisplay): New function.
25770 (list-colors-display): Install list-colors-redisplay as the
25771 revert-buffer-function. (Bug#14063)
25773 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
25775 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
25776 and suffixes don't overlap (bug#14061).
25778 * case-table.el: Use lexical-binding.
25779 (case-table-get-table): New function.
25780 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
25782 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
25784 * progmodes/subword.el: Add `superword-mode' to do word motion
25785 over symbol_words (parallels and leverages `subword-mode' which
25786 does word motion inside MixedCaseWords).
25788 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
25790 * eshell/em-unix.el: Move su and sudo to...
25791 * eshell/em-tramp.el: ...Eshell tramp module.
25793 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25795 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
25796 Change return value to be a sexp. Delay `get-buffer' to after
25797 restoring the desktop (bug#13951).
25799 2013-03-26 Leo Liu <sdl.web@gmail.com>
25801 * register.el: Move semantic tag handling back to
25802 cedet/semantic/senator.el. (Bug#14052)
25804 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25806 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
25807 into the prompt either (bug#13963).
25809 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
25811 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
25812 part of "(error-foo)".
25814 2013-03-24 Juri Linkov <juri@jurta.org>
25816 * replace.el (list-matching-lines-prefix-face): New defcustom.
25817 (occur-1): Pass `list-matching-lines-prefix-face' to the function
25818 `occur-engine' if `face-differs-from-default-p' returns t.
25819 (occur-engine): Add `,' inside backquote construct to evaluate
25820 `prefix-face'. Propertize the prefix with the `prefix-face' face.
25821 Pass `prefix-face' to the functions `occur-context-lines' and
25822 `occur-engine-add-prefix'.
25823 (occur-engine-add-prefix, occur-context-lines): Add optional arg
25824 `prefix-face' and propertize the prefix with `prefix-face'.
25827 2013-03-24 Leo Liu <sdl.web@gmail.com>
25829 * nxml/rng-valid.el (rng-validate-while-idle)
25830 (rng-validate-quick-while-idle): Guard against deleted buffer.
25833 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
25834 is the last entry in kill-buffer-hook.
25836 * files.el (kill-buffer-hook): Doc fix.
25838 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
25840 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
25841 Make it safe-local.
25843 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
25845 2013-03-23 Leo Liu <sdl.web@gmail.com>
25847 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
25850 * nxml/rng-valid.el (rng-validate-mode)
25851 (rng-after-change-function, rng-do-some-validation):
25852 * nxml/rng-maint.el (rng-validate-buffer):
25853 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
25854 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
25855 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
25856 (nxml-extend-after-change-region): Use with-silent-modifications.
25858 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
25861 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
25862 (rng-next-error-1, rng-previous-error-1): Do not let-bind
25863 timer-idle-list. (Bug#13999)
25865 2013-03-23 Juri Linkov <juri@jurta.org>
25867 * info.el (info-index-match): New face.
25868 (Info-index, Info-apropos-matches): Add a nested subgroup to the
25869 main pattern and add text properties with the new face to matches
25870 in index entries relative to the beginning of the index entry.
25873 2013-03-21 Eric Ludlam <zappo@gnu.org>
25875 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
25876 Inhibit read only while inserting objects.
25878 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
25880 * progmodes/cfengine.el: Update docs to mention
25881 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
25882 symbol motion. Remove "_" from the word syntax.
25884 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
25886 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
25887 syntax for both `cfengine2-mode' and `cfengine3-mode'.
25889 2013-03-20 Juri Linkov <juri@jurta.org>
25891 * info.el (Info-next-reference-or-link)
25892 (Info-prev-reference-or-link): New functions.
25893 (Info-next-reference, Info-prev-reference): Use them.
25894 (Info-try-follow-nearest-node): Handle footnote navigation.
25895 (Info-fontify-node): Fontify footnotes. (Bug#13989)
25897 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
25899 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
25900 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
25902 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
25904 Suppress unnecessary non-ASCII chatter during build process.
25905 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
25906 (batch-skkdic-convert): Suppress most of the chatter.
25907 It's not needed so much now that machines are faster,
25908 and its non-ASCII component was confusing; see Dmitry Gutov in
25909 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
25911 2013-03-20 Leo Liu <sdl.web@gmail.com>
25913 * ido.el (ido-chop): Fix bug#10994.
25915 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25917 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
25919 (whitespace-color-on, whitespace-color-off):
25920 Use `font-lock-fontify-buffer' (Bug#13817).
25922 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
25924 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
25925 remapping in mode-line.
25926 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
25928 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
25930 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
25931 value for `whitespace-line' face (Bug#13875).
25932 (whitespace-font-lock-keywords): Change description.
25933 (whitespace-color-on): Don't save `font-lock-keywords' value, save
25934 the constructed keywords instead.
25935 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
25937 2013-03-19 Leo Liu <sdl.web@gmail.com>
25939 * progmodes/compile.el (compilation-display-error): New command.
25940 (compilation-mode-map, compilation-minor-mode-map): Bind it to
25943 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25945 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
25947 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
25949 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
25951 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
25953 * net/tramp-compat.el (tramp-compat-user-error): New defun.
25955 * net/tramp-adb.el (tramp-adb-handle-shell-command):
25956 * net/tramp-gvfs.el (top):
25957 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
25958 (tramp-handle-shell-command): Use it.
25959 (tramp-dissect-file-name): Raise an error when hostname is a
25960 method name, and neither method nor user is specified.
25962 * net/trampver.el: Update release number.
25964 2013-03-18 Leo Liu <sdl.web@gmail.com>
25966 Make sure eldoc can be turned off properly.
25967 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
25969 (eldoc-display-message-p): Revert last change.
25970 (eldoc-display-message-no-interference-p)
25971 (eldoc-print-current-symbol-info): Tweak.
25973 2013-03-18 Tassilo Horn <tsdh@gnu.org>
25975 * doc-view.el (doc-view-new-window-function): Check the new window
25976 overlay's display property instead the char property of the
25977 buffer's first char. Use `with-selected-window' instead of
25978 `save-window-excursion' with `select-window'.
25979 (doc-view-document->bitmap): Check the current doc-view overlay's
25980 display property instead the char property of the buffer's first char.
25982 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
25984 Automate the build of ja-dic.el (Bug#13984).
25985 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
25986 from the input, rather than assume that it's been done for us by the
25987 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
25988 the current date into a ja-dic.el comment, as that complicates
25989 regression testing.
25991 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25993 * whitespace.el: Fix double evaluation.
25994 (whitespace-space, whitespace-hspace, whitespace-tab)
25995 (whitespace-newline, whitespace-trailing, whitespace-line)
25996 (whitespace-space-before-tab, whitespace-indentation)
25997 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
25999 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
26000 (whitespace-color-on): Use a single font-lock-add-keywords call.
26001 Fix double-evaluation of face variables.
26003 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
26005 * net/tramp-adb.el (tramp-adb-parse-device-names):
26006 Use `start-process' instead of `call-process'. Otherwise, the
26007 function might be blocked under MS Windows. (Bug#13299)
26009 2013-03-17 Leo Liu <sdl.web@gmail.com>
26011 Extend eldoc to display info in the mode-line. (Bug#13978)
26012 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
26013 (eldoc-mode-line-string): New variable.
26014 (eldoc-minibuffer-message): New function.
26015 (eldoc-message-function): New variable.
26016 (eldoc-message): Use it.
26017 (eldoc-display-message-p)
26018 (eldoc-display-message-no-interference-p):
26019 Support eldoc-post-insert-mode.
26021 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
26022 (eval-expression): Run it.
26024 2013-03-17 Roland Winkler <winkler@gnu.org>
26026 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
26027 strings in the list of return values.
26029 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
26031 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
26032 radix before checking for HMS forms.
26034 2013-03-16 Leo Liu <sdl.web@gmail.com>
26036 * progmodes/scheme.el: Add indentation and font-locking for λ.
26039 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
26041 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
26042 token before point (bug#13942).
26044 2013-03-16 Leo Liu <sdl.web@gmail.com>
26046 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
26048 2013-03-16 Eli Zaretskii <eliz@gnu.org>
26050 * startup.el (command-line-normalize-file-name): Fix handling of
26051 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
26052 <xfq.free@gmail.com> in
26053 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
26055 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
26057 Sync with Tramp 2.2.7.
26059 * net/trampver.el: Update release number.
26061 2013-03-14 Tassilo Horn <tsdh@gnu.org>
26063 * doc-view.el: Fix bug#13887.
26064 (doc-view-insert-image): Don't modify overlay associated to
26065 non-live windows, and implement horizontal centering of image in
26066 case it's smaller than the window.
26067 (doc-view-new-window-function): Force redisplay of new windows on
26070 2013-03-13 Karl Fogel <kfogel@red-bean.com>
26072 * saveplace.el (save-place-alist-to-file): Don't sort
26073 `save-place-alist', just pretty-print it (bug#13882).
26075 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
26077 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
26078 Check whether `default-file-name-coding-system' is bound.
26079 It isn't in XEmacs.
26081 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
26083 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
26084 backquotes for `obsolete' (bug#13929).
26086 * international/mule.el (find-auto-coding): Include file name in
26087 obsolescence warning (bug#13922).
26089 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
26091 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
26092 for CFEngine 3-specific indentation.
26093 (cfengine3-indent-line): Use it. Fix up category regex.
26094 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
26096 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26098 * type-break.el (type-break-file-name):
26099 * textmodes/remember.el (remember-data-file):
26100 * strokes.el (strokes-file):
26101 * shadowfile.el (shadow-initialize):
26102 * saveplace.el (save-place-file):
26103 * ps-bdf.el (bdf-cache-file):
26104 * progmodes/idlwave.el (idlwave-config-directory):
26105 * net/quickurl.el (quickurl-url-file):
26106 * international/kkc.el (kkc-init-file-name):
26107 * ido.el (ido-save-directory-list-file):
26108 * emulation/viper.el (viper-custom-file-name):
26109 * emulation/vip.el (vip-startup-file):
26110 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
26111 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
26113 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
26115 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
26116 * language/thai-word.el: Switch to UTF-8.
26118 See ChangeLog.16 for earlier changes.
26120 ;; Local Variables:
26124 Copyright (C) 2011-2015 Free Software Foundation, Inc.
26126 This file is part of GNU Emacs.
26128 GNU Emacs is free software: you can redistribute it and/or modify
26129 it under the terms of the GNU General Public License as published by
26130 the Free Software Foundation, either version 3 of the License, or
26131 (at your option) any later version.
26133 GNU Emacs is distributed in the hope that it will be useful,
26134 but WITHOUT ANY WARRANTY; without even the implied warranty of
26135 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26136 GNU General Public License for more details.
26138 You should have received a copy of the GNU General Public License
26139 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.