1 2015-04-05 Alan Mackenzie <acm@muc.de>
3 * jit-lock.el (jit-lock-after-change): Widen the buffer only
4 whilst putting the 'fontified text properties.
6 2015-04-05 Alan Mackenzie <acm@muc.de>
8 Rationalize use of c[ad]+r, expunging cl-c[ad]\{3,4\}r.
9 Also expunge eudc-c[ad]+r.
11 * subr.el (internal--compiler-macro-cXXr): "New" function, copied
12 from cl--compiler-macro-cXXr.
13 (caar, cadr, cdar, cddr): Changed from defsubsts to defuns with
14 the above compiler-macro.
16 * net/eudc.el (eudc-cadr, eudc-cdar, eudc-caar, eudc-cdaar): Remove.
18 * emacs-lisp/cl.el (Top level dolist doing defaliases): Remove
19 caaar, etc., from list of new alias functions.
21 * emacs-lisp/cl-lib.el (cl-caaar, etc): Rename to caaar, etc.
22 (gen-cXXr--rawname, gen-cXXr-all-cl-aliases): New function/macro
23 which generate obsolete cl- aliases for caaar, etc. Invoke them.
27 * emacs-lisp/cl-macs.el:
40 * progmodes/hideif.el:
41 * ses.el: Replace cl-caaar, eudc-cadr, etc. with caaar and cadr,
44 2015-04-05 Richard Stallman <rms@gnu.org>
46 * mail/rmail.el (rmail-show-message-1): When displaying a mime message,
47 indicate start and finish in the echo area.
49 * mail/rmail.el (rmail-epa-decrypt): Disregard <pre> before armor.
50 Ignore more kinds of whitespace in mime headers.
51 Modify the decrypted mime part's mime type so it will be displayed
52 by default when visiting this message again.
54 * net/browse-url.el (browse-url-firefox-program): Prefer IceCat, doc.
55 (browse-url-firefox-arguments)
56 (browse-url-firefox-startup-arguments): Doc fix.
58 2015-04-05 Artur Malabarba <bruce.connor.am@gmail.com>
60 * emacs-lisp/package.el: Add package-initialize to user-init-file.
61 (package--ensure-init-file): New function.
62 (package-install, package-install-from-buffer): Use it.
64 2015-04-05 Pete Williamson <petewil@chromium.org> (tiny-change)
66 Fix .emacs and .emacs.d/init file recursion problem for NaCl
67 * files.el (file-truename): Add NaCl to the exception list ms-dos uses.
69 2015-04-04 Alan Mackenzie <acm@muc.de>
71 * progmodes/cc-mode.el (c-font-lock-init): Revert 2015-02-01 change
72 "Stop Font Lock forcing fontification from BOL." (Bug#20245)
74 2015-04-04 Artur Malabarba <bruce.connor.am@gmail.com>
76 * emacs-lisp/package.el (package--download-and-read-archives): Add
77 `package-archives' to `package--downloads-in-progress' instead of
79 (package--with-work-buffer-async): Protect macro arguments.
80 (package--download-one-archive)
81 (package--download-and-read-archives): Prevent
82 downloads-in-progress list from becoming outdated.
84 2015-04-04 Michael Albinus <michael.albinus@gmx.de>
86 * net/tramp-cache.el (tramp-flush-directory-property): Quote directory
87 name when used in regexp.
89 2015-04-04 Alan Mackenzie <acm@muc.de>
91 Fix debbugs#20240 part two (jit-lock error during `comment-dwim').
93 * jit-lock.el (jit-lock-after-change): Widen the buffer before
94 putting 'fontified text properties.
96 2015-04-03 Michael Albinus <michael.albinus@gmx.de>
98 * net/tramp-cache.el (tramp-flush-file-property)
99 (tramp-flush-directory-property): Use `directory-file-name' of the
100 truename. (Bug#20249)
102 2015-04-03 Nicolas Richard <theonewiththeevillook@yahoo.fr>
104 * pcmpl-unix.el (pcmpl-ssh-known-hosts): Use `char-before' instead
105 of `looking-back' (bug#17284).
107 2015-04-03 Dmitry Gutov <dgutov@yandex.ru>
109 * progmodes/js.el (js-indent-line): Do nothing when bol is inside
110 a string (https://github.com/mooz/js2-mode/issues/227).
112 2015-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
114 * abbrev.el (define-abbrev-table): Treat a non-string "docstring" as
115 part of the "props" arguments rather than silently ignoring it.
117 * emacs-lisp/lisp-mnt.el (lm-version): Don't burp in a non-file buffer.
119 2015-04-01 Alan Mackenzie <acm@muc.de>
121 Fix the CC Mode fixes from 2015-03-30. Fixes debbugs#20240.
123 * progmodes/cc-mode.el (c-extend-after-change-region):
124 Widen before applying text properties.
125 * progmodes/cc-langs.el (c-before-font-lock-functions): Update an
126 entry to a new function name.
128 2015-04-01 Paul Eggert <eggert@cs.ucla.edu>
130 * emacs-lisp/package.el: Spelling fixes and use active voice.
132 2015-04-01 Artur Malabarba <bruce.connor.am@gmail.com>
134 * emacs-lisp/package.el: Implement asynchronous refreshing.
135 (package--with-work-buffer-async)
136 (package--check-signature-content)
137 (package--update-downloads-in-progress): New functions.
138 (package--check-signature, package--download-one-archive)
139 (package--download-and-read-archives, package-refresh-contents):
140 Optional arguments for async usage.
141 (package--post-download-archives-hook): New variable. Hook run
144 * emacs-lisp/package.el: Make package-menu asynchronous.
145 (package-menu-async): New variable. Controls whether
146 `list-packages' is asynchronous.
147 (list-packages): Now asynchronous by default.
148 (package-menu--new-package-list): Always buffer-local.
149 (package-menu--post-refresh)
150 (package-menu--find-and-notify-upgrades)
151 (package-menu--populate-new-package-list): New functions.
153 2015-03-31 Simen Heggestøyl <simenheg@gmail.com>
155 * textmodes/css-mode.el (css-mode): Derive from `prog-mode'.
157 2015-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
159 * jit-lock.el (jit-lock--run-functions): Fix min/max copy&paste error.
161 Let jit-lock know the result of font-lock-extend-region-functions.
162 * jit-lock.el (jit-lock--run-functions): New function.
163 (jit-lock-fontify-now): Use it. Handle fontification bounds more
164 precisely in case the backend functions fontify more than requested.
165 Don't round up to whole lines since that shouldn't be needed
167 * font-lock.el (font-lock-fontify-region-function): Adjust docstring.
168 (font-lock-inhibit-thing-lock): Make obsolete.
169 (font-lock-default-fontify-region): Return the bounds actually used.
171 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
172 Fix compilation error.
174 2015-03-30 Artur Malabarba <bruce.connor.am@gmail.com>
176 * emacs-lisp/package.el: Reorganize package.el and divide it with
177 page-breaks and comments.
179 2015-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
181 * emacs-lisp/eieio-base.el (make-instance) <eieio-named>: New instance
182 which stores the old-style object name argument into the
185 2015-03-30 Alan Mackenzie <acm@muc.de>
187 Correct calculation of CC Mode's font-lock region.
189 * progmodes/cc-mode.el (c-fl-decl-start): Rename from
190 c-set-fl-decl-start. Change signature such that nil is returned
191 when no declaration is found.
192 (c-change-expand-fl-region): Rename from
193 c-change-set-fl-decl-start. This now also handles expanding the
194 font lock region to whole lines.
195 (c-context-expand-fl-region): Rename from
196 c-context-set-fl-decl-start. This now also handles expanding the
197 font lock region to whole lines.
198 (c-font-lock-fontify-region): When a change font lock region is
199 spuriously enlarged to the beginning-of-line by jit-lock, fontify
200 the extra bit separately from the region calculated by CC Mode.
201 (c-extend-after-change-region): Explicitly apply 'fontified
202 properties to the extended bits of the font lock region.
204 * progmodes/cc-langs.el (c-before-font-lock-functions)
205 (c-before-context-fontification-functions): Use new names for
206 existing functions (see above).
208 2015-03-30 Richard Ryniker <ryniker@alum.mit.edu> (tiny change)
210 * mail/sendmail.el (sendmail-send-it): Do not attempt to switch
211 to non-existent buffer (errbuf is not created when customization
212 variable mail-interactive is nil). (Bug#20211)
214 2015-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
216 * emacs-lisp/smie.el (smie-backward-sexp-command)
217 (smie-forward-sexp-command): Don't pretend the arg is optional
220 2015-03-29 Dmitry Gutov <dgutov@yandex.ru>
222 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
223 Detect regexps after `!'. (Bug#19285)
225 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
226 Use `font-lock-constant-face' for nil, true and false.
227 Highlight `self' as a keyword. (Bug#17733)
229 2015-03-29 Nobuyoshi Nakada <nobu@ruby-lang.org>
231 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
232 Expect beginning of regexp also after open brace or vertical bar.
235 2015-03-28 Jan Djärv <jan.h.d@swipnet.se>
237 * emacs-lisp/package.el (package-refresh-contents): Fix spelling
238 error in previous change.
240 2015-03-28 Tom Willemse <tom@ryuslash.org> (tiny change)
242 * elec-pair.el (electric-pair-local-mode): New command.
243 (electric-pair-mode): Mention `electric-pair-local-mode' in the
246 2015-03-28 Jan Djärv <jan.h.d@swipnet.se>
248 * emacs-lisp/package.el (package-refresh-contents): Add a message at
249 the end so it does not appear to have hanged (Bug#17879).
251 2015-03-27 Wolfgang Jenkner <wjenkner@inode.at>
253 * font-lock.el (font-lock--remove-face-from-text-property):
254 New function. Adapted from the previously commented out
255 remove-single-text-property.
256 Remove previously unused and commented out auxiliary function
257 remove-text-property and obsolete comment.
258 * comint.el (comint-output-filter): Use it to remove
259 comint-highlight-prompt.
260 (comint-snapshot-last-prompt, comint-output-filter):
261 Use font-lock-prepend-text-property for comint-highlight-prompt.
264 2015-03-26 Daniel Colascione <dancol@dancol.org>
266 * progmodes/python.el
267 (python-indent-guess-indent-offset-verbose): New defcustom.
268 (python-indent-guess-indent-offset): Use it.
270 2015-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
272 * emacs-lisp/eieio.el (defclass): Change internal name so as to make
273 sure only EIEIO files should have "eieio--" prefixes in their .elc.
275 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Silence byte-compiler.
277 2015-03-26 Boruch Baum <boruch_baum@gmx.com> (tiny change)
279 * bookmark.el (bookmark-show-all-annotations): Sort them (bug#20177).
281 2015-03-25 Dmitry Gutov <dgutov@yandex.ru>
283 * json.el (json-special-chars): Don't treat `/' specially, there's
285 (json-encode-string): Only escape quotation mark, backslash and
286 the control characters U+0000 to U+001F.
288 2015-03-25 Artur Malabarba <bruce.connor.am@gmail.com>
290 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
291 Don't complain about args starting with _.
293 2015-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
295 * international/mule-cmds.el (mule--ucs-names-annotation): New func.
296 (read-char-by-name): Use it.
298 * xt-mouse.el (xterm-mouse--read-number-from-terminal): Fix last commit.
300 2015-03-25 Nicolas Petton <nicolas@petton.fr>
302 * emacs-lisp/seq.el: Documentation improvements.
304 2015-03-25 Glenn Morris <rgm@gnu.org>
306 * net/browse-url.el (browse-url-browser-function)
307 (browse-url-default-browser):
308 Remove obsolete items from the explicit listing.
309 (browse-url-new-window-flag, browse-url-of-file-hook): Doc fixes.
310 (browse-url-netscape-program, browse-url-netscape-arguments)
311 (browse-url-netscape-startup-arguments)
312 (browse-url-galeon-program, browse-url-galeon-arguments)
313 (browse-url-galeon-startup-arguments)
314 (browse-url-gnome-moz-program, browse-url-gnome-moz-arguments)
315 (browse-url-galeon-new-window-is-tab)
316 (browse-url-netscape-new-window-is-tab)
317 (browse-url-mosaic-program, browse-url-mosaic-arguments)
318 (browse-url-mosaic-pidfile, browse-url-CCI-port)
319 (browse-url-CCI-host, browse-url-netscape-version)
320 (browse-url-netscape, browse-url-netscape-sentinel)
321 (browse-url-netscape-reload, browse-url-netscape-send)
322 (browse-url-galeon, browse-url-galeon-sentinel)
323 (browse-url-gnome-moz, browse-url-mosaic, browse-url-cci)
324 (browse-url-w3-gnudoit): Make obsolete.
325 * ffap.el (ffap-url-fetcher): Simplify default and doc.
327 2015-03-25 Olaf Rogalsky <olaf.rogalsky@gmail.com>
329 * xt-mouse.el: Add mouse-tracking support (bug#19416).
330 (xterm-mouse-translate-1): Handle mouse-movement events.
331 (xterm-mouse--read-event-sequence-1000)
332 (xterm-mouse--read-event-sequence-1006): Delete functions.
333 (xterm-mouse--read-event-sequence): New function that handles both at
334 the same time. Handle mouse-movements.
335 (xterm-mouse--read-utf8-char, xterm-mouse--read-number-from-terminal):
337 (xterm-mouse-event): Simplify.
338 (xterm-mouse-tracking-enable-sequence)
339 (xterm-mouse-tracking-disable-sequence): Enable mouse tracking.
341 * mouse.el (mouse-drag-line): Also ignore `vertical-line' prefix events.
343 2015-03-24 Michael Albinus <michael.albinus@gmx.de>
345 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
346 (tramp-do-file-attributes-with-stat): Quote file names in output.
347 (tramp-do-directory-files-and-attributes-with-stat): Use "//" as marker.
349 2015-03-24 Daiki Ueno <ueno@gnu.org>
351 * epg.el (epg-start-generate-key): Fix typo in "gpg --gen-key"
352 invocation; make the PARAMETERS documentation clearer.
354 2015-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
356 Add cl-struct specific optimizations to pcase.
357 * emacs-lisp/cl-macs.el (cl--struct-all-parents)
358 (cl--pcase-mutually-exclusive-p): New functions.
359 (pcase--mutually-exclusive-p): Advise to optimize cl-struct patterns.
361 * emacs-lisp/pcase.el (pcase--split-pred): Handle quoted string.
363 2015-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
365 Add new `cl-struct' and `eieio' pcase patterns.
366 * emacs-lisp/cl-macs.el (cl-struct): New pcase pattern.
367 * emacs-lisp/eieio.el (eieio-pcase-slot-index-table)
368 (eieio-pcase-slot-index-from-index-table): New functions.
369 (eieio): New pcase pattern.
370 * emacs-lisp/pcase.el (pcase--make-docstring): New function.
371 (pcase): Use it to build the docstring.
372 (pcase-defmacro): Make sure the macro is lazy-loaded.
373 (\`): Move its docstring from `pcase'.
375 2015-03-23 Glenn Morris <rgm@gnu.org>
377 * emacs-lisp/authors.el (authors-aliases)
378 (authors-obsolete-files-regexps): Additions.
380 2015-03-23 Jan Djärv <jan.h.d@swipnet.se>
382 * simple.el (deactivate-mark): Only modify PRIMARY if we own
385 2015-03-23 Martin Rudalics <rudalics@gmx.at>
387 * emacs-lisp/debug.el (debug): Don't try using "previous" window
388 when its not live or on an invisible frame (Bug#17170).
390 2015-03-23 Dmitry Gutov <dgutov@yandex.ru>
392 * json.el (json-decode-char0): Delete this alias as well.
393 (json-read-escaped-char): Don't call it (bug#20154).
395 2015-03-23 Daniel Colascione <dancol@dancol.org>
397 * emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p): New function.
398 (lisp--el-match-keyword): Use it.
400 2015-03-23 Daiki Ueno <ueno@gnu.org>
402 * subr.el (start-process): New function, ported from the C
405 2015-03-23 Daniel Colascione <dancol@dancol.org>
407 Automatically adjust process window sizes.
409 * window.el (window-adjust-process-window-size-function):
410 New customizable variable.
411 (window-adjust-process-window-size)
412 (window-adjust-process-window-size-smallest)
413 (window-adjust-process-window-size-largest)
414 (window--process-window-list, window--adjust-process-windows):
416 (window-configuration-change-hook):
417 Add `window--adjust-process-windows'.
418 * term.el (term-mode): Observe result of
419 `window-adjust-process-window-size-function'.
420 (term-check-size): Delete.
422 2015-03-22 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
424 * textmodes/sgml-mode.el (sgml-attribute-offset): New defcustom.
425 (sgml-calculate-indent): Use `sgml-attribute-offset' for attribute
426 indentation (bug#20161).
428 2015-03-22 Dmitry Gutov <dgutov@yandex.ru>
430 * json.el (json-encode-char0): Delete this alias.
431 (json-encode-string): Rewrite to improve performance (bug#20154).
432 (json-encode-char): Fold into `json-encode-string'.
434 2015-03-22 Artur Malabarba <bruce.connor.am@gmail.com>
436 * menu-bar.el (menu-bar-update-buffers): Count displayed buffers
437 for `buffers-menu-max-size', not total buffers.
439 2015-03-21 Titus von der Malsburg <malsburg@posteo.de>
441 * window.el (window-font-width, window-font-height)
442 (window-max-chars-per-line): New functions.
444 * simple.el (default-font-height): Doc fix.
445 (default-font-width): New function.
447 2015-03-21 Tassilo Horn <tsdh@gnu.org>
449 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1):
450 Also recognize (cl-)defmethod with (setf method) name.
452 2015-03-20 Tassilo Horn <tsdh@gnu.org>
454 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1):
455 Fix false positive in function name font-locking.
456 (lisp-cl-font-lock-keywords-1): Ditto.
458 2015-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
460 * emacs-lisp/cl-macs.el (cl-defsubst): Ignore false-positive
461 occurrences of args via &cl-defs (bug#20149).
463 2015-03-20 Alan Mackenzie <acm@muc.de>
467 * font-lock.el (font-lock-extend-jit-lock-region-after-change):
468 Return the calculated values, as per spec.
470 2015-03-20 Dmitry Gutov <dgutov@yandex.ru>
472 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `at_exit'
473 and `callcc' to the "methods with required arguments" section,
474 they need a block argument. Remove a `throw' duplicate.
476 2015-03-19 Vibhav Pant <vibhavp@gmail.com>
478 * progmodes/cperl-mode.el (cperl-electric-backspace):
479 Call delete-backward-space interactively instead of delete-char.
481 2015-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
483 * emacs-lisp/pcase.el (pcase-lambda): Rewrite.
485 * emacs-lisp/eieio.el (object-slots): Return slot names as before
488 2015-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
490 EIEIO: Change class's representation to unify instance and class slots
491 * emacs-lisp/eieio-core.el (eieio--class): Change field names and order
492 to match those of cl--class; use cl--slot for both instance slots and
494 (eieio--object-num-slots): Use cl-struct-slot-info.
495 (eieio--object-class): Rename from eieio--object-class-object.
496 (eieio--object-class-name): Remove.
497 (eieio-defclass-internal): Adjust to new slot representation.
498 Store doc in class rather than in `variable-documentation'.
499 (eieio--perform-slot-validation-for-default): Change API to take
501 (eieio--slot-override): New function.
502 (eieio--add-new-slot): Rewrite.
503 (eieio-copy-parents-into-subclass): Rewrite.
504 (eieio--validate-slot-value, eieio--validate-class-slot-value)
505 (eieio-oref-default, eieio-oset-default)
506 (eieio--class-slot-name-index, eieio-set-defaults): Adjust to new
508 (eieio--c3-merge-lists): Simplify.
509 (eieio--class/struct-parents): New function.
510 (eieio--class-precedence-bfs): Use it.
512 * emacs-lisp/eieio.el (with-slots): Use macroexp-let2.
513 (object-class-fast): Change recommend replacement.
514 (eieio-object-class): Rewrite.
515 (slot-exists-p): Adjust to new slot representation.
516 (initialize-instance): Adjust to new slot representation.
517 (object-write): Adjust to new slot representation.
519 * emacs-lisp/eieio-opt.el (eieio--help-print-slot): New function
520 extracted from eieio-help-class-slots.
521 (eieio-help-class-slots): Use it. Adjust to new slot representation.
523 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
524 Declare to silence warnings.
525 (data-debug-insert-object-button): Avoid `object-slots'.
526 (data-debug/eieio-insert-slots): Adjust to new slot representation.
528 * emacs-lisp/eieio-custom.el (eieio-object-value-create)
529 (eieio-object-value-get): Adjust to new slot representation.
531 * emacs-lisp/eieio-compat.el
532 (eieio--generic-static-symbol-specializers):
533 Extract from eieio--generic-static-symbol-generalizer.
534 (eieio--generic-static-symbol-generalizer): Use it.
536 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
537 Manually map initargs to slot names.
538 (eieio-persistent-validate/fix-slot-value): Adjust to new
541 * emacs-lisp/cl-preloaded.el (cl--class): Fix type of `parents'.
543 2015-03-19 Vibhav Pant <vibhavp@gmail.com>
545 * leim/quail/hangul.el (hangul-delete-backward-char)
546 (hangul-to-hanja-conversion):
547 * progmodes/cperl-mode.el (cperl-electric-keyword)
548 (cperl-electric-backspace): Use delete-char instead of
549 delete-backward-char, fixes compilation warnings.
551 2015-03-18 Michael Albinus <michael.albinus@gmx.de>
553 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
554 Mark apostrophs with ?/ instead of \037. (Bug#20117)
556 2015-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
558 Add classes as run-time descriptors of cl-structs.
559 * emacs-lisp/cl-preloaded.el (cl--struct-get-class): New function.
560 (cl--make-slot-desc): New constructor.
561 (cl--plist-remove, cl--struct-register-child): New functions.
562 (cl-struct-define): Rewrite.
563 (cl-structure-class, cl-structure-object, cl-slot-descriptor)
564 (cl--class): New structs.
565 (cl--struct-default-parent): Initialize it here.
566 * emacs-lisp/cl-macs.el (cl--find-class): New macro.
567 (cl-defsubst, cl--defsubst-expand, cl--sublis): Move before first use.
568 (cl--struct-default-parent): New var.
569 (cl-defstruct): Adjust to new representation of classes; add
570 default parent. In accessors, signal `wrong-type-argument' rather than
572 (cl-struct-sequence-type, cl-struct-slot-info)
573 (cl-struct-slot-offset): Rewrite.
574 * emacs-lisp/cl-generic.el (cl--generic-struct-specializers)
575 (cl-generic-generalizers): Rewrite.
577 * emacs-lisp/macroexp.el (macroexp--debug-eager): New var.
578 (internal-macroexpand-for-load): Use it.
580 * emacs-lisp/debug.el (debug--implement-debug-on-entry):
581 Bind inhibit-debug-on-entry here...
582 (debug): Instead of here.
584 2015-03-18 Dima Kogan <dima@secretsauce.net>
586 Have gud-display-line not display source buffer in gud window.
587 * progmodes/gud.el (gud-display-line): Make display-buffer
588 not reuse selected window. (Bug#17675, Bug#19901, Bug#20034)
590 2015-03-17 Tassilo Horn <tsdh@gnu.org>
592 * emacs-lisp/byte-run.el (macro-declarations-alist):
593 New declaration no-font-lock-keyword.
594 (defmacro): Flush font-lock in existing elisp buffers.
596 * emacs-lisp/lisp-mode.el (lisp--el-update-after-load)
597 (lisp--el-update-macro-regexp, lisp--el-macro-regexp):
598 Delete functions and defconst.
599 (lisp--el-match-keyword): Rename from lisp--el-match-macro.
600 (lisp--el-font-lock-flush-elisp-buffers): New function.
601 (lisp-mode-variables): Remove code for updating
602 lisp--el-macro-regexp, and add
603 lisp--el-font-lock-flush-elisp-buffers to after-load-functions.
605 2015-03-17 Simen Heggestøyl <simenheg@gmail.com>
607 * textmodes/css-mode.el (css--font-lock-keywords):
608 Discriminate between pseudo-classes and pseudo-elements.
609 (css-pseudo-ids): Remove.
610 (css-pseudo-class-ids, css-pseudo-element-ids): New variables.
611 (css--complete-property): New function for completing CSS properties.
612 (css--complete-pseudo-element-or-class): New function
613 completing CSS pseudo-elements and pseudo-classes.
614 (css--complete-at-rule): New function for completing CSS at-rules.
615 (css-completion-at-point): New function.
616 (css-mode): Add support for completion.
617 (css-extract-keyword-list, css-extract-parse-val-grammar)
618 (css-extract-props-and-vals): Remove function in favor of manual
620 (css-at-ids): Update list of CSS at-rule ids.
621 (css-property-ids): Update list of CSS properties.
623 2015-03-17 Bozhidar Batsov <bozhidar@batsov.com>
625 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Font-lock
628 2015-03-17 Michael Albinus <michael.albinus@gmx.de>
630 * net/tramp-sh.el (tramp-maybe-send-script): Avoid leading tabs in
631 shell scripts. (Bug#20118)
633 2015-03-17 Eli Zaretskii <eliz@gnu.org>
635 * mouse.el (mouse-appearance-menu): If w32-use-w32-font-dialog is
636 nil, construct a menu of fixed fonts. This resurrects a feature
639 * w32-vars.el (w32-use-w32-font-dialog): Add a ':set' function to
640 reset mouse-appearance-menu-map, so the font dialog is recomputed
641 the next time the menu is requested.
642 (w32-fixed-font-alist): Fix to use correct names of Courier fonts.
644 2015-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
646 * emacs-lisp/cl-macs.el (cl--transform-lambda): Refine last change
649 2015-03-17 Michael Albinus <michael.albinus@gmx.de>
651 * net/tramp-sh.el (tramp-ssh-controlmaster-options): Change test
652 for ControlPath in order to avoid DNS timeouts. (Bug#20015)
654 2015-03-16 Alan Mackenzie <acm@muc.de>
656 Edebug: Allow "S" to work during trace mode. Fixes debbugs #20074.
657 Also display the overlay arrow in go and go-nonstop modes.
659 * emacs-lisp/edebug.el (edebug--display-1): Move the
660 `input-pending' test to after trace mode's `sit-for'.
661 (edebug--recursive-edit): Insert "(sit-for 0)" after
662 "(edebug-overlay-arrow)".
664 2015-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
666 * emacs-lisp/cl-macs.el (cl--transform-lambda): Rework to avoid
667 cl--do-arglist in more cases; add comments to explain what's going on.
668 (cl--do-&aux): New function extracted from cl--do-arglist.
669 (cl--do-arglist): Use it.
671 * emacs-lisp/cl-generic.el: Add Version: header, for ELPA purposes.
673 * obsolete/iswitchb.el (iswitchb-read-buffer): Add `predicate' arg.
674 * isearchb.el (isearchb-iswitchb): Adjust accordingly.
675 * ido.el (ido-read-buffer): Add `predicate' argument.
676 * misearch.el (unload-function-defs-list): Declare before use.
678 2015-03-16 Vibhav Pant <vibhavp@gmail.com>
680 * net/browse-url.el (browse-url-browser-function): Add "Conkeror".
681 (browse-url-conkeror-program, browse-url-conkeror-arguments)
682 (browse-url-conkeror-new-window-is-buffer): New defcustoms.
683 (browse-url-default-browser): Check for `browse-url-conkeror'
684 and call `browse-url-conkeror-program'.
685 (browse-url-conkeror): New command.
688 2015-03-16 Vibhav Pant <vibhavp@gmail.com>
690 * eshell/esh-mode.el (eshell/clear): New function.
692 2015-03-16 Alan Mackenzie <acm@muc.de>
694 Make Edebug work with Follow Mode.
696 * emacs-lisp/edebug.el (edebug--display-1): Remove call to
697 edebug-adjust-window.
698 (edebug--recursive-edit): Don't bind pre/post-command-hooks to nil
699 over the recursive edit.
700 (edebug-adjust-window): Remove.
702 2015-03-15 Michael Albinus <michael.albinus@gmx.de>
707 * net/tramp-smb.el: Set tramp-autoload cookie for all defcustoms.
709 * net/tramp.el (tramp-ssh-controlmaster-options)
710 (tramp-use-ssh-controlmaster-options): Move them to tramp-sh.el.
711 (tramp-default-method): Do not check for
712 `tramp-ssh-controlmaster-options'.
714 * net/tramp-sh.el (tramp-use-ssh-controlmaster-options):
715 New defcustom, moved from tramp.el.
716 (tramp-ssh-controlmaster-options): New defvar, moved from tramp.el
717 but with a nil initial value.
718 (tramp-ssh-controlmaster-options): New defun.
719 (tramp-do-copy-or-rename-file-out-of-band)
720 (tramp-maybe-open-connection): Use it. (Bug#20015)
722 2015-03-15 Tassilo Horn <tsdh@gnu.org>
724 * emacs-lisp/lisp-mode.el (lisp--el-macro-regexp): New defconst.
725 (lisp--el-update-macro-regexp, lisp--el-update-after-load)
726 (lisp--el-match-macro): New functions.
727 (lisp-mode-variables): Update lisp--el-macro-regexp and add
728 lisp--el-update-after-load to after-load-functions.
730 2015-03-15 Daniel Colascione <dancol@dancol.org>
732 * emacs-lisp/cl-indent.el
733 (lisp-indent-backquote-substitution-mode): New user option.
734 (common-lisp-indent-function-1, common-lisp-loop-part-indentation)
735 (common-lisp-indent-function): Support normally indenting
736 backquote substitutions.
737 (extended-loop-p): Rename to `lisp-extended-loop-p'.
739 2015-03-14 Michael R. Mauger <michael@mauger.com>
741 * progmodes/sql.el: Version 3.5
742 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): Match password prompts.
743 (sql-interactive-remove-continuation-prompt): Fix regression. (Bug#6686)
745 2015-03-14 Daniel Colascione <dancol@dancol.org>
747 * widget.el (define-widget): Check that documentation is a string
748 or nil; prevent wailing and gnashing of teeth when users forget to
749 pass a docstring and wonder why their properties don't work.
751 * startup.el (command-line): Process "--no-x-resources".
753 2015-03-13 Kevin Ryde <user42_kevin@yahoo.com.au>
755 info-look fixes for Texinfo 5
756 * info-look.el (c-mode, bison-mode, makefile-mode)
757 (makefile-automake-mode, texinfo-mode, autoconf-mode, awk-mode)
758 (latex-mode, emacs-lisp-mode, sh-mode, cfengine-mode):
759 Match `foo' and 'foo' and ‘foo’ for @item and similar.
760 (latex-mode): Match multi-arg \frac{num}{den} or \sqrt[root]{n} in
763 2015-03-12 Juri Linkov <juri@linkov.net>
765 * simple.el (next-line-or-history-element)
766 (previous-line-or-history-element): Remember the goal column of
767 possibly multi-line input, and restore it afterwards. (Bug#19824)
769 2015-03-12 Rasmus Pank Roulund <emacs@pank.eu>
771 * ido.el (ido-add-virtual-buffers-to-list): Include bookmark-alist
774 2015-03-12 Eli Zaretskii <eliz@gnu.org>
776 * international/fontset.el (script-representative-chars): Add a
777 representative character for 'vai'.
779 2015-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
781 * international/quail.el (quail-input-method):
782 Use with-silent-modifications.
784 * simple.el (goto-history-element): Don't burp on t history.
786 2015-03-10 Paul Eggert <eggert@cs.ucla.edu>
788 Prefer "initialize" to "initialise"
789 * progmodes/js.el (js-indent-first-init):
790 Rename from js-indent-first-initialiser, to avoid worrying about
791 American vs British spelling. All uses changed.
793 2015-03-10 Glenn Morris <rgm@gnu.org>
795 * progmodes/js.el (js-indent-first-initialiser):
796 Fix doc, type, version.
798 2015-03-10 Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
800 * progmodes/js.el (js-indent-first-initialiser): New option.
801 (js--maybe-goto-declaration-keyword-end): New function.
802 (js--proper-indentation): Use js--maybe-goto-declaration-keyword-end.
804 2015-03-10 Thomas Fitzsimmons <fitzsim@fitzsim.org>
806 * net/ldap.el (ldap-attribute-syntaxes-alist): Add LDAP attributes
807 from RFC2798 Section 9.1.1. (Bug#8983)
809 2015-03-09 Nicolas Petton <nicolas@petton.fr>
811 * emacs-lisp/seq.el (seq-into): New function.
812 Bump seq.el version to 1.3.
814 2015-03-09 Dmitry Gutov <dgutov@yandex.ru>
816 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't consider
817 `=' a part of symbol when followed by `>'. (Bug#18644)
818 (ruby-syntax-before-regexp-re): Detect regexps after `!'.
821 2015-03-09 Eli Zaretskii <eliz@gnu.org>
823 * dired.el (dired-delete-file): Doc fix. (Bug#20021)
825 2015-03-06 Sergio Durigan Junior <sergiodj@sergiodj.net>
826 Thomas Fitzsimmons <fitzsim@fitzsim.org>
828 * net/eudcb-bbdb.el (eudc-bbdb-field): New function.
829 (eudc-bbdb-filter-non-matching-record): Call eudc-bbdb-field.
830 (eudc-bbdb-format-record-as-result): Likewise.
832 2015-03-08 Dmitry Gutov <dgutov@yandex.ru>
834 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
835 Use `font-lock-constant-face' for nil, true and false.
836 Highlight `self' as a keyword. (Bug#17733)
838 2015-03-08 Nobuyoshi Nakada <nobu@ruby-lang.org>
840 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
841 Expect beginning of regexp also after open brace or vertical bar.
844 2015-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
846 * battery.el (battery-echo-area-format): Simplify default.
847 (battery-linux-sysfs): Standardize on energy&power. Accept ADP1
850 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't try to
851 unfold `closure's since byte-compile-unfold-lambda doesn't know how to
854 2015-03-06 Oscar Fuentes <ofv@wanadoo.es>
856 * net/browse-url.el (browse-url-firefox): Remove outdated
857 MS-Windows limitations.
859 2015-03-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
861 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple): Mark as
863 (eudc-ldap-cleanup-record-filtering-addresses): Add docstring.
864 Don't clean up postal addresses if ldap-ignore-attribute-codings
865 is set. Combine mail addresses into one field. (Bug#17720)
866 (eudc-ldap-simple-query-internal):
867 Call eudc-ldap-cleanup-record-filtering-addresses instead of
868 eudc-ldap-cleanup-record-simple.
869 (eudc-ldap-get-field-list): Likewise.
871 2015-03-05 Ivan Shmakov <ivan@siamics.net>
873 * net/eww.el (eww-html-p): New function (bug#20009).
874 (eww-render): Use it.
876 2015-03-05 Artur Malabarba <bruce.connor.am@gmail.com>
878 * desktop.el (desktop-buffer-info): Write docstring.
879 (desktop-buffer-info): Use `pushnew' instead of `add-to-list' and
882 * emacs-lisp/package.el (package-refresh-contents): Update doc.
884 2015-03-05 Dmitry Gutov <dgutov@yandex.ru>
886 * progmodes/js.el (js-mode-syntax-table): Add an entry for `.
888 2015-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
890 Replace *-function vars with generic functions in cl-generic.
891 * emacs-lisp/cl-generic.el (cl--generic-generalizer): New struct.
892 (cl-generic-tagcode-function, cl-generic-tag-types-function): Remove.
893 (cl--generic-t-generalizer): New const.
894 (cl--generic-make-method): Rename from `cl--generic-method-make'.
895 (cl--generic-make): Change calling convention.
896 (cl--generic): Add `options' field.
897 (cl-generic-function-options): New function.
898 (cl-defgeneric): Rewrite handling of options. Add support for :method
899 options and allow the use of a default body.
900 (cl-generic-define): Save options in the corresponding new field.
901 (cl-defmethod): Fix ordering of qualifiers.
902 (cl-generic-define-method): Use cl-generic-generalizers.
903 (cl--generic-get-dispatcher): Change calling convention, and change
904 calling convention of the returned function as well so as to take the
905 list of methods separately from the generic function object, so that it
906 can receive the original generic function object.
907 (cl--generic-make-next-function): New function, extracted from
908 cl--generic-make-function.
909 (cl--generic-make-function): Use it.
910 (cl-generic-method-combination-function): Remove.
911 (cl--generic-cyclic-definition): New error.
912 (cl-generic-call-method): Take a generic function object rather than
914 (cl-method-qualifiers): New alias.
915 (cl--generic-build-combined-method): Use cl-generic-combine-methods,
916 don't segregate by qualifiers here any more.
917 (cl--generic-standard-method-combination): Segregate by qualifiers
918 here instead. Add support for the `:extra' qualifier.
919 (cl--generic-cache-miss): Move earlier, adjust to new calling convention.
920 (cl-generic-generalizers, cl-generic-combine-methods):
921 New generic functions.
922 (cl-no-next-method, cl-no-applicable-method, cl-no-primary-method):
923 Use the new "default method in defgeneric" functionality, change
924 calling convention to receive a generic function object.
925 (cl--generic-head-used): New var.
926 (cl--generic-head-generalizer, cl--generic-eql-generalizer)
927 (cl--generic-struct-generalizer, cl--generic-typeof-generalizer):
929 * emacs-lisp/eieio-core.el (eieio--generic-generalizer)
930 (eieio--generic-subclass-generalizer): New consts.
931 (cl-generic-generalizers): New methods.
932 * emacs-lisp/eieio-compat.el (eieio--generic-static-symbol-generalizer)
933 (eieio--generic-static-object-generalizer): New consts.
934 (cl-generic-generalizers) <(head eieio--static)>: New method.
935 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
936 Unfold closures like lambdas.
938 2015-03-04 Filipp Gunbin <fgunbin@fastmail.fm>
940 * autorevert.el (auto-revert-notify-add-watch):
941 Fix handler installation. (Bug#20000)
943 2015-03-04 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
945 * net/eww.el (eww-search-prefix, eww-open-file, eww-search-words)
946 (eww-same-page-p,eww-set-character-encoding): Fix docstring.
947 (eww): Do not end error messages with a period.
949 2015-03-04 Zhongwei Yao <ashi08104@gmail.com>
951 * net/tramp-adb.el (tramp-adb-connect-if-not-connected):
953 (tramp-adb-ls-toolbox-regexp): Fix regexp in order to support file
954 names starting with a space.
955 (tramp-methods): Add `tramp-default-port' for "adb".
956 (tramp-adb-parse-device-names): Add traces. Return device names
957 with port, if present.
958 (tramp-adb-handle-directory-files-and-attributes): Quote all
960 (tramp-adb-get-device): New defun.
961 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
963 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
964 variables. Remove checks for listed devices.
966 2015-03-04 Michael Albinus <michael.albinus@gmx.de>
968 * net/tramp.el (tramp): Add :link property.
969 (tramp-login-prompt-regexp): Allow also "user", as required by
971 (tramp-autoload-file-name-handler): Use "/".
972 (tramp-handle-unhandled-file-name-directory): Return nil when
973 required by the spec.
975 * net/tramp-cache.el (tramp-dump-connection-properties):
976 Use `with-temp-file'.
978 * net/tramp-sh.el (tramp-perl-file-attributes)
979 (tramp-perl-directory-files-and-attributes): Escape apostrophes in
981 (tramp-do-file-attributes-with-stat): Quote file name.
982 (tramp-sh-handle-directory-files-and-attributes): Fall back to
983 `tramp-handle-directory-files-and-attributes' in case of problems.
984 (tramp-do-directory-files-and-attributes-with-stat)
985 (tramp-sh-handle-file-name-all-completions)
986 (tramp-sh-handle-delete-directory)
987 (tramp-sh-handle-expand-file-name, tramp-sh-handle-process-file):
988 Normalize use of "cd".
989 (tramp-do-directory-files-and-attributes-with-stat): Use the
990 `quoting-style' arg of `ls' if possible. Make it also working for
991 file names with apostrophes.
992 (tramp-sh-handle-file-name-all-completions): Use arguments of `ls'
994 (tramp-do-copy-or-rename-file-via-buffer)
995 (tramp-sh-handle-file-local-copy): Use `with-temp-file'.
996 (tramp-get-remote-locale): Accept also \r in output.
997 (tramp-get-ls-command-with-quoting-style): New defun.
998 (tramp-get-inline-coding): Set `default-directory' to a local
999 directory. Sporadically, `call-process-region' does not handle a
1000 remote default directory properly.
1002 * net/trampver.el: Update release number.
1004 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
1006 * textmodes/ispell.el (ispell-aspell-find-dictionary): Make sure
1007 .dat files for aspell dicts are also searched for in location
1008 described by `ispell-aspell-dict-dir', matching aspell's dict-dir
1011 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
1013 * textmodes/ispell.el (ispell-dicts-name2locale-equivs-alist)
1014 (ispell-hunspell-fill-dictionary-entry)
1015 (ispell-find-hunspell-dictionaries)
1016 (ispell-set-spellchecker-params): New generic name for
1017 `ispell-hunspell-dictionary-equivs-alist'.
1018 (ispell-aspell-add-aliases): Also use
1019 `ispell-dicts-name2locale-equivs-alist' to get aspell aliases for
1020 standard dict names.
1022 2015-03-03 Glenn Morris <rgm@gnu.org>
1024 * net/browse-url.el (browse-url-firefox-startup-arguments):
1026 (browse-url-firefox): Doc fix. Remove -remote, which no longer
1027 exists in Firefox 36. (Bug#19921)
1028 (browse-url-firefox-sentinel): Remove function.
1030 2015-03-03 Eli Zaretskii <eliz@gnu.org>
1032 * frame.el (blink-cursor-timer-function): Don't increment
1033 blink-cursor-blinks-done counter when a menu is active on a w32
1036 2015-03-03 Juri Linkov <juri@linkov.net>
1038 * comint.el (comint-line-beginning-position): Revert searching for
1039 the prompt when comint-use-prompt-regexp is non-nil because it
1040 doesn't distinguish input from output. Check the field property
1041 `output' for the case when comint-use-prompt-regexp is nil.
1044 2015-03-03 Jérémy Compostella <jeremy.compostella@gmail.com>
1046 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
1047 with PAGER=cat. (Bug#19870)
1049 2015-03-03 Glenn Morris <rgm@gnu.org>
1051 * textmodes/flyspell.el (flyspell-duplicate-distance):
1054 2015-03-03 Eli Zaretskii <eliz@gnu.org>
1056 * textmodes/text-mode.el (text-mode-syntax-table): Make some
1057 punctuation character behave as word-constituent, for more
1058 compatibility with Unicode.
1060 * simple.el (transient-mark-mode): Doc fix. (Bug#19841)
1062 2015-03-03 Agustín Martín Domingo <agustin6martin@gmail.com>
1064 Improve string search in `flyspell-word-search-*`. (Bug#16800)
1065 * textmodes/flyspell.el (flyspell-duplicate-distance):
1066 Limit default search distance for duplicated words to 40000.
1067 (flyspell-word-search-backward, flyspell-word-search-forward):
1068 Search as full word with defined casechars, not as substring.
1070 2015-03-03 Juri Linkov <juri@linkov.net>
1072 Better support for the case of typing RET on the prompt in comint.
1073 * comint.el (comint-get-old-input-default): Go to the field end
1074 when comint-use-prompt-regexp is nil.
1075 (comint-line-beginning-position): Check if point is already
1076 on the prompt before searching for the prompt when
1077 comint-use-prompt-regexp is non-nil. (Bug#19710)
1079 2015-03-03 Eli Zaretskii <eliz@gnu.org>
1081 * frame.el (frame-notice-user-settings): Refresh the value of
1082 frame parameters after calling tty-handle-reverse-video.
1083 Call face-set-after-frame-default with the actual parameters, to avoid
1084 resetting colors back to unspecified.
1085 (set-background-color, set-foreground-color): Pass the foreground
1086 and background colors to face-set-after-frame-default. (Bug#19802)
1088 2015-03-03 Wolfgang Jenkner <wjenkner@inode.at>
1090 * net/network-stream.el (network-stream-open-tls): Respect the
1091 :end-of-capability setting.
1093 2015-03-03 Juri Linkov <juri@linkov.net>
1095 Revert the previous change of comint-line-beginning-position callers,
1096 and modify comint-line-beginning-position instead.
1098 * comint.el (comint-history-isearch-search)
1099 (comint-history-isearch-message, comint-history-isearch-wrap):
1100 Use comint-line-beginning-position instead of field-beginning.
1101 (comint-send-input): Use either end-of-line or field-end
1102 depending on comint-use-prompt-regexp.
1103 (comint-line-beginning-position): Search backward
1104 for comint-prompt-regexp if comint-use-prompt-regexp is non-nil.
1105 Use field-beginning instead of line-beginning-position
1106 if comint-use-prompt-regexp is nil. (Bug#19710)
1108 2015-03-03 Robert Pluim <rpluim@gmail.com> (tiny change)
1110 * calendar/todo-mode.el (todo-item-done): When done items are
1111 hidden, restore point to its location prior to invoking this
1112 command. (Bug#19727)
1114 2015-03-03 Eli Zaretskii <eliz@gnu.org>
1116 * textmodes/artist.el (artist-ellipse-compute-fill-info):
1117 Use mapcar, not mapc, to create the other half of fill-info.
1120 2015-03-03 Nicolas Petton <nicolas@petton.fr>
1122 * emacs-lisp/authors.el (authors-ignored-files)
1123 (authors-renamed-files-alist): Additions.
1125 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
1127 * net/tramp.el (tramp-ssh-controlmaster-options): Don't use a
1128 tempfile for ControlPath. (Bug#19702)
1130 2015-03-03 Michael Albinus <michael.albinus@gmx.de>
1132 * net/tramp.el (tramp-ssh-controlmaster-options): Use "%C" for
1133 ControlPath if possible. (Bug#19702)
1135 2015-03-03 Glenn Morris <rgm@gnu.org>
1137 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1138 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1140 2015-03-03 Alan Mackenzie <acm@muc.de>
1142 CC Mode: Stop Font Lock forcing fontification from BOL. (Bug#19669)
1143 * progmodes/cc-mode.el (c-font-lock-init):
1144 Set font-lock-extend-region-functions to nil.
1146 2015-03-03 Daniel Colascione <dancol@dancol.org>
1148 * emacs-lisp/generator.el: Make globals conform to elisp
1149 style throughout. Use more efficient font-lock patterns.
1150 (cps-inhibit-atomic-optimization): Rename from
1151 `cps-disable-atomic-optimization'.
1152 (cps--gensym): New macro; replaces `cl-gensym' throughout.
1153 (cps-generate-evaluator): Move the `iter-yield' local macro
1155 (iter-defun, iter-lambda): from here.
1157 (iter-defun): Use `macroexp-parse-body'.
1159 2015-03-03 Daniel Colascione <dancol@dancol.org>
1161 2015-03-03 Stefan Monnier <monnier@iro.umontreal.ca>
1163 * progmodes/gud.el: Use lexical-binding (bug#19966).
1165 * emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases.
1167 2015-03-03 Daniel Colascione <dancol@dancol.org>
1169 * emacs-lisp/generator.el: Make globals conform to elisp
1170 style throughout. Use more efficient font-lock patterns.
1171 (cps-inhibit-atomic-optimization): Rename from
1172 `cps-disable-atomic-optimization'.
1173 (cps--gensym): New macro; replaces `cl-gensym' throughout.
1174 (cps-generate-evaluator): Move the `iter-yield' local macro
1176 (iter-defun, iter-lambda): ...from here.
1178 2015-03-03 Artur Malabarba <bruce.connor.am@gmail.com>
1180 * emacs-lisp/package.el (package-autoremove): Fix if logic.
1182 2015-03-03 Martin Rudalics <rudalics@gmx.at>
1184 * window.el (window--dump-frame): For pixel height return total
1185 number of frame's lines.
1187 2015-03-03 Daniel Colascione <dancol@dancol.org>
1189 * emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun.
1191 * emacs-lisp/generator.el (iter-defun): Correctly propagate
1192 docstrings and declarations to underlying function.
1194 2015-03-02 Daniel Colascione <dancol@dancol.org>
1196 * emacs-lisp/generator.el: New file.
1198 * vc/vc.el (vc-responsible-backend): Add autoload cookie for
1199 `vc-responsible-backend'.
1201 2015-03-01 Michael Albinus <michael.albinus@gmx.de>
1203 * vc/vc-hooks.el (vc-state, vc-working-revision):
1204 Use `vc-responsible-backend' in order to support unregistered files.
1206 * vc/vc-rcs.el (vc-rcs-unregister): Support unregistered files.
1208 * vc/vc-rcs.el (vc-rcs-fetch-master-state):
1209 * vc/vc-sccs.el (vc-sccs-working-revision): Handle undefined
1212 * vc/vc-src.el (vc-src-working-revision): Do not return an empty string.
1214 2015-03-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1216 * net/shr.el (shr-insert): Remove soft hyphens.
1217 (shr-insert): Also remove soft hypens from non-folded text.
1219 2015-02-28 Eli Zaretskii <eliz@gnu.org>
1221 * mail/rmailmm.el (rmail-mime-insert-html): Decode HTML payload
1222 when the charset is only given by the HTML <head>, and allow to
1223 specify the encoding with "C-x RET c".
1225 2015-02-27 Mark Laws <mdl@60hz.org>
1227 Support daemon mode on MS-Windows (bug#19688)
1228 * server.el (server-process-filter): Force GUI frames on
1229 MS-Windows in daemon mode, even if a TTY frame was requested.
1231 * frameset.el (frameset-keep-original-display-p): Don't assume
1232 windows-nt cannot be in daemon mode.
1234 * frame.el (window-system-for-display): Don't assume windows-nt
1235 cannot be in daemon mode.
1237 2015-02-26 Ivan Shmakov <ivan@siamics.net>
1239 * faces.el (face-list-p): Split from face-at-point.
1240 (face-at-point): Use it.
1241 * facemenu.el (facemenu-add-face): Likewise. (Bug#19912)
1243 2015-02-26 Oscar Fuentes <ofv@wanadoo.es>
1245 * vc/vc.el (vc-annotate-switches): New defcustom.
1246 * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
1247 (vc-bzr-annotate-command): Use vc-switches.
1248 * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
1249 (vc-cvs-annotate-command): Use vc-switches.
1250 * vc/vc-git.el (vc-git-annotate-switches): New defcustom.
1251 (vc-git-annotate-command): Use vc-switches.
1252 * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
1253 (vc-hg-annotate-command): Use vc-switches.
1254 * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
1255 (vc-mtn-annotate-command): Use vc-switches.
1256 * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
1257 (vc-svn-annotate-command): Use vc-switches.
1259 2015-02-26 Alan Mackenzie <acm@muc.de>
1261 Handle "#" operator properly inside macro. Fix coding bug.
1263 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
1264 On finding a "#" which looks like the start of a macro, check it
1265 isn't already inside a macro.
1267 * progmodes/cc-engine.el (c-state-safe-place): Don't record a new
1268 "safe" position into the list of them when this is beyond our
1271 2015-02-26 Martin Rudalics <rudalics@gmx.at>
1273 * menu-bar.el (menu-bar-non-minibuffer-window-p): Return nil when
1274 the menu frame is dead. (Bug#19728)
1276 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1278 python.el: Handle tabs in python-indent-dedent-line.
1279 * progmodes/python.el (python-indent-dedent-line): Fixes for
1280 indentation with tabs. Thanks to <dale@codefu.org> (Bug#19730).
1282 2015-02-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1284 * progmodes/python.el (python-indent-context): Respect user
1285 indentation after comment.
1287 2015-02-26 Tassilo Horn <tsdh@gnu.org>
1289 * textmodes/reftex-vars.el (featurep): Conditionalize value of
1290 reftex-label-regexps in order to stay compatible with XEmacs 21.5
1291 which has no explicitly numbered groups in regexps (bug#19714).
1293 2015-02-26 Daiki Ueno <ueno@gnu.org>
1295 * net/dbus.el (dbus-register-signal): Convert "N" of ":argN" to
1296 integer before comparison.
1298 2015-02-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1300 * progmodes/elisp-mode.el (elisp--eval-last-sexp): Document argument.
1302 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
1304 * emacs-lisp/check-declare.el (check-declare-warn):
1305 Use compilation-style warnings.
1306 (check-declare-files): Make sure that
1307 `check-declare-warning-buffer' is in `compilation-mode'.
1309 2015-02-25 Oleh Krehel <ohwoeowho@gmail.com>
1311 * emacs-lisp/check-declare.el (check-declare-ext-errors):
1313 (check-declare): New defgroup.
1314 (check-declare-verify): When `check-declare-ext-errors' is
1315 non-nil, warn about an unfound function, instead of saying
1316 "skipping external file".
1318 2015-02-25 Tassilo Horn <tsdh@gnu.org>
1320 * textmodes/reftex-vars.el (reftex-include-file-commands):
1321 Call reftex-set-dirty on changes.
1323 2015-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1325 * emacs-lisp/edebug.el (edebug--display): Save-excursion (bug#19611).
1326 * emacs-lisp/debug.el (debugger-env-macro): Remove redundant
1329 2015-02-24 Glenn Morris <rgm@gnu.org>
1331 * mail/rmailsum.el (rmail-summary-previous-all)
1332 (rmail-summary-previous-msg): Simplify.
1334 2015-02-25 Artur Malabarba <bruce.connor.am@gmail.com>
1336 * simple.el (region-active-p): Fix doc to say non-nil.
1338 2015-02-24 Samer Masterson <nosefrog@gmail.com>
1340 * eshell/em-hist.el (eshell-hist-parse-word-designator):
1341 Return args joined with " ".
1342 * eshell/em-pred.el (eshell-parse-modifiers): Correct docstring.
1343 (eshell-hist-parse-modifier): Pass mod a list instead of a string
1346 2015-02-24 Karl Fogel <kfogel@red-bean.com> (tiny change)
1348 * comint.el (comint-mode-map): Fix obvious typo.
1350 2015-02-24 Johan Claesson <johanclaesson@bredband.net> (tiny change)
1352 * filecache.el (file-cache-filter-regexps):
1353 Add lock files. (Bug#19516)
1355 2015-02-24 Glenn Morris <rgm@gnu.org>
1357 * mail/rmailsum.el (rmail-summary-next-all)
1358 (rmail-summary-previous-all, rmail-summary-next-msg):
1359 Fix handling of optional argument. (Bug#19916)
1361 * progmodes/f90.el (f90-beginning-of-subprogram)
1362 (f90-end-of-subprogram, f90-match-end):
1363 Handle continued strings where the continuation does not start
1364 with "&" and happens to match our regexp. (Bug#19809)
1366 2015-02-24 Bozhidar Batsov <bozhidar@batsov.com>
1368 * comint.el (comint-clear-buffer): New command.
1369 (comint-mode-map): Bind `comint-clear-buffer' to 'C-c M-o'.
1371 2015-02-23 Pete Williamson <petewil0@googlemail.com> (tiny change)
1373 Use ${EXEEXT} more uniformly in makefiles
1374 * Makefile.in (EMACS): Append ${EXEEXT}.
1376 2015-02-23 Sam Steingold <sds@gnu.org>
1378 * files.el (recover-session): Handle `auto-save-list-file-prefix'
1379 being a directory (empty non-directory part).
1381 2015-02-23 Magnus Henoch <magnus.henoch@gmail.com>
1383 * net/sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
1384 instead of sasl-scram-sha-1, as the former is the name that can be
1387 * net/sasl-scram-rfc.el (sasl-scram-sha-1-steps)
1388 (sasl-scram-sha-1-client-final-message)
1389 (sasl-scram-sha-1-authenticate-server): Move to end of file.
1391 2015-02-23 Paul Eggert <eggert@cs.ucla.edu>
1393 * bindings.el (ctl-x-map): Use [?\C-\;] to get the desired binding.
1396 2015-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
1398 * emacs-lisp/macroexp.el (macroexp-parse-body): Handle cl-declare
1399 and :documentation. Change return value format accordingly.
1400 * emacs-lisp/cl-generic.el (cl--generic-lambda):
1401 * emacs-lisp/pcase.el (pcase-lambda): Adjust accordingly.
1402 * emacs-lisp/cl-macs.el (cl--transform-lambda): Use macroexp-parse-body.
1404 2015-02-23 Dmitry Gutov <dgutov@yandex.ru>
1406 Introduce `xref-etags-mode'.
1407 * progmodes/xref.el (xref-etags-mode--saved): New variable.
1408 (xref-etags-mode): New minor mode. (Bug#19466)
1410 2015-02-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1412 * dom.el (dom-previous-sibling): New function.
1414 2015-02-21 Paul Eggert <eggert@cs.ucla.edu>
1416 * bindings.el (ctl-x-map): There is no 'C-;'.
1417 For now, make do with 'M-;'; this allows 'make bootstrap' to work.
1418 Perhaps some other binding should be chosen. (Bug#19826)
1420 2015-02-21 Artur Malabarba <bruce.connor.am@gmail.com>
1422 * bindings.el (ctl-x-map): Fix `comment-line' binding. (Bug#19826)
1424 2015-02-21 Michael Albinus <michael.albinus@gmx.de>
1426 * autorevert.el (auto-revert-notify-add-watch)
1427 (auto-revert-notify-handler, auto-revert-buffers): Handle also
1428 buffers without an associated file, like dired buffers. (Bug#16112)
1430 2015-02-21 Dima Kogan <dima@secretsauce.net>
1432 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1433 (global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... )
1434 wrappers. Call (auto-revert-buffers) consequently in order to
1437 2015-02-21 Wilson Snyder <wsnyder@wsnyder.org>
1439 Sync with upstream verilog-mode revision 0d6420b.
1440 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1441 (vector-skip-list): Remove.
1442 (verilog-auto-inst-port, verilog-auto-inst-port-list)
1443 (verilog-auto-inst, verilog-auto-inst-param):
1444 Use arguments rather than vector-skip.
1445 (verilog-auto-inst-port): Fix AUTOINST interfaces to not show
1446 modport if signal attachment is itself a modport.
1447 Reported by Matthew Lovell.
1449 2015-02-21 Reto Zimmermann <reto@gnu.org>
1451 Sync with upstream vhdl mode v3.37.1. Add VHDL'08 support.
1452 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp)
1453 (vhdl-doc-release-notes): Update.
1454 (vhdl-standard): Add VHDL'08 option.
1455 (vhdl-sensitivity-list-all): New option.
1456 (vhdl-directive-keywords): Add psl.
1457 (vhdl-offsets-alist-default, vhdl-mode-abbrev-table-init)
1458 (vhdl-template-construct-alist-init, vhdl-create-mode-menu):
1459 (vhdl-imenu-generic-expression): Add context, directive.
1460 (vhdl-offsets-alist, vhdl-mode, vhdl-doc-keywords): Doc fixes.
1461 (vhdl-template-map-init): Add vhdl-template-context.
1462 (vhdl-mode-syntax-table): Support VHDL'08 block comments.
1463 (vhdl-create-mode-menu): Add some entries.
1464 (vhdl-08-keywords, vhdl-08-types, vhdl-08-attributes)
1465 (vhdl-08-functions, vhdl-08-packages, vhdl-08-directives):
1467 (vhdl-directives): New variable.
1468 (vhdl-words-init, vhdl-template-process)
1469 (vhdl-template-replace-header-keywords): Support VHDL'08.
1470 (vhdl-abbrev-list-init): Add vhdl-directives.
1471 (vhdl-in-comment-p, vhdl-in-literal, vhdl-win-il)
1472 (vhdl-forward-syntactic-ws, vhdl-get-syntactic-context)
1473 (vhdl-lineup-comment): Handle block comments and directives.
1474 (vhdl-beginning-of-directive, vhdl-template-context)
1475 (vhdl-template-context-hook): New functions.
1476 (vhdl-libunit-re, vhdl-defun-re, vhdl-begin-p)
1477 (vhdl-corresponding-begin, vhdl-get-library-unit, vhdl-regress-line)
1478 (vhdl-align-declarations, vhdl-beginning-of-block, vhdl-end-of-block)
1479 (vhdl-font-lock-keywords-2, vhdl-get-end-of-unit)
1480 (vhdl-scan-context-clause): Add context.
1482 2015-02-20 Glenn Morris <rgm@gnu.org>
1484 * calendar/solar.el (solar-sunrise-sunset-string):
1485 Shorten message a little.
1486 (sunrise-sunset): Use message rather than a window. (Bug#19859)
1488 * progmodes/f90.el (f90-keywords-re, f90-procedures-re)
1489 (f90-font-lock-keywords-2): Some F2008 additions.
1491 2015-02-19 Dima Kogan <dima@secretsauce.net>
1493 * autorevert.el (auto-revert-buffers-counter)
1494 (auto-revert-buffers-counter-lockedout): New variables.
1495 (auto-revert-buffers): Increase `auto-revert-buffers-counter'.
1496 (auto-revert-notify-handler): Apply `auto-revert-handler' if not
1497 suppressed by lockout. (Bug#18958)
1499 2015-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1501 * emacs-lisp/eieio-opt.el (eieio-help-class): `eieio-class-parents'
1502 returns classes, not class names (bug#19891).
1504 * emacs-lisp/cl-macs.el (cl-struct-slot-value): Handle a nil type.
1506 * emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem.
1508 2015-02-18 Kelly Dean <kelly@prtime.org>
1510 * register.el (jump-to-register):
1511 * emacs-lisp/lisp.el (check-parens):
1512 Push mark before goto-char so user doesn't lose his previous place.
1514 2015-02-18 Kelly Dean <kelly@prtime.org>
1516 * rect.el (rectangle-mark-mode):
1517 Suppress superfluous "Mark set" message from push-mark.
1519 2015-02-18 Kelly Dean <kelly@prtime.org>
1521 * help-mode.el (help-go-back, help-go-forward, help-follow):
1522 * simple.el (yank-pop, pop-to-mark-command, exchange-point-and-mark):
1523 * winner.el (winner-redo):
1524 * windmove.el (windmove-do-window-select):
1525 * register.el (jump-to-register, increment-register, insert-register)
1526 (append-to-register, prepend-to-register):
1527 * files.el (find-alternate-file, abort-if-file-too-large, write-file)
1528 (set-visited-file-name):
1529 * emacs-lisp/lisp.el (kill-backward-up-list):
1530 Use user-error instead of error. (Bug#14480)
1532 2015-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1534 * emacs-lisp/checkdoc.el (checkdoc-show-diagnostics): Don't make bogus
1535 assumptions about window ordering.
1537 2015-02-16 Kelly Dean <kelly@prtime.org>
1539 * files.el (insert-file-contents-literally): Fix docstring typo.
1541 2015-02-16 Kelly Dean <kelly@prtime.org>
1543 * emacs-lisp/easy-mmode.el (define-minor-mode): Process macro
1544 arguments correctly. (Bug#19685)
1545 (define-minor-mode): Clarify docstring.
1546 Clarify mode switch messages for minor modes. (Bug#19690)
1548 2015-02-16 Kelly Dean <kelly@prtime.org>
1550 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1551 Create valid tar files. (Bug#19536)
1553 2015-02-16 Kelly Dean <kelly@prtime.org>
1555 * desktop.el (desktop-read): Conditionally re-enable desktop autosave.
1558 2015-02-16 Kelly Dean <kelly@prtime.org>
1560 * help-mode.el (help-do-xref): Prevent duplicated display of Info
1561 buffer, and prevent interference with existing buffer. (Bug#13190)
1563 2015-02-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
1565 python.el: Do not deactivate mark on shell fontification. (Bug#19871)
1567 * progmodes/python.el (python-shell-font-lock-post-command-hook):
1568 Do not deactivate mark on fontification.
1570 2015-02-16 Ivan Shmakov <ivan@siamics.net>
1572 * net/eww.el: Fix desktop support. (Bug#19226)
1573 (eww-mode): Add autoload cookie.
1574 (eww-restore-desktop): Use inhibit-read-only.
1576 * net/eww.el (eww-suggest-uris): Add autoload cookie, so that
1577 add-hook works correctly even if the file is not yet loaded.
1579 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
1581 * emacs-lisp/eieio.el (defclass): Use make-instance rather than
1583 (set-slot-value): Mark as obsolete.
1584 (eieio-object-class-name): Improve call to eieio-class-name.
1585 (eieio-slot-descriptor-name, eieio-class-slots): New functions.
1586 (object-slots): Use it. Declare obsolete.
1587 (eieio-constructor): Merge it with `make-instance'.
1588 (initialize-instance): Use `dolist'.
1589 (eieio-override-prin1, eieio-edebug-prin1-to-string):
1590 Use eieio--class-print-name.
1592 * emacs-lisp/eieio-core.el (eieio--class-print-name): New function.
1593 (eieio-class-name): Make it do what the docstring claims.
1594 (eieio-defclass-internal): Simplify since `prots' isn't used any more.
1595 (eieio--slot-name-index): Simplify accordingly.
1596 (eieio-barf-if-slot-unbound): Pass the class object rather than its
1597 name to `slot-unbound'.
1599 * emacs-lisp/eieio-base.el (make-instance): Add a method here rather
1600 than on eieio-constructor.
1602 2015-02-16 Stefan Monnier <monnier@iro.umontreal.ca>
1604 * emacs-lisp/cl-macs.el (cl-defstruct): Keep type=nil by default.
1605 * emacs-lisp/cl-preloaded.el (cl-struct-define): Add sanity checks
1606 about relationship between `type', `named', and `slots'.
1607 * emacs-lisp/cl-generic.el (cl--generic-struct-tagcode): Adjust to new
1608 value of `cl-struct-type' property.
1610 2015-02-15 Jérémy Compostella <jeremy.compostella@gmail.com>
1612 * net/tramp-sh.el (tramp-remote-process-environment): Disable paging
1613 with PAGER=cat. (Bug#19870)
1615 2015-02-14 Artur Malabarba <bruce.connor.am@gmail.com>
1617 * emacs-lisp/package.el (package-read-all-archive-contents):
1618 Don't build the compatibility table.
1619 (package-refresh-contents, package-initialize): Do build the
1620 compatibility table.
1621 (package--build-compatibility-table): New function.
1622 (describe-package-1): Describe why a package is incompatible.
1624 2015-02-14 Stefan Monnier <monnier@iro.umontreal.ca>
1626 * emacs-lisp/cl-preloaded.el (cl-struct-define): Register as children
1628 (cl--assertion-failed): New function.
1629 (cl-assertion-failed): Move in from cl-lib.el.
1631 * emacs-lisp/cl-macs.el (cl-defstruct): Don't generate code to register
1632 as children of its parents.
1633 (cl--make-type-test, cl--compiler-macro-typep): Remove functions.
1634 (cl-typep): Reimplement using define-inline.
1635 (cl-assert): Use cl--assertion-failed.
1636 (cl-struct-slot-value): Use define-inline.
1638 * emacs-lisp/cl-lib.el: Move autoloaded code to cl-preload.
1640 * textmodes/flyspell.el (flyspell-word): Defvar (bug#19844).
1641 (flyspell-generic-check-word-p): Mark as obsolete.
1643 2015-02-13 Artur Malabarba <bruce.connor.am@gmail.com>
1645 * emacs-lisp/package.el (package--compatibility-table): New var.
1646 (package--add-to-compatibility-table): New function.
1647 (package-read-all-archive-contents): Populate compatibility table.
1648 (package--incompatible-p): Also look in dependencies.
1649 (describe-package-1): Fix "incompat" handling.
1651 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1653 * net/rfc2104.el: Moved here from lisp/gnus.
1655 2015-02-13 Magnus Henoch <magnus.henoch@gmail.com>
1657 * net/sasl-scram-rfc.el: New file.
1659 * net/sasl.el (sasl-mechanisms): Remove SCRAM-MD5.
1660 Add SCRAM-SHA-1 first.
1661 (sasl-mechanism-alist): Remove SCRAM-MD5 entry. Add SCRAM-SHA-1
1664 2015-02-13 Lars Ingebrigtsen <larsi@gnus.org>
1666 * net/shr.el (shr-tag-li): Speed up rendering pages with lots of
1669 2015-02-12 Oleh Krehel <ohwoeowho@gmail.com>
1671 * progmodes/gdb-mi.el (gdb-display-io-nopopup): New defcustom.
1672 (gdb-inferior-filter): Don't pop up the buried output buffer when
1673 `gdb-display-io-nopopup' is non-nil.
1675 2015-02-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1677 python.el: Allow killing shell buffer if process is dead. (Bug#19823)
1679 * progmodes/python.el (python-shell-font-lock-kill-buffer):
1680 Don't require a running process.
1681 (python-shell-font-lock-post-command-hook): Fontify only if the
1682 shell process is running.
1684 2015-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1686 * hi-lock.el (hi-lock-unface-buffer): Don't call
1687 font-lock-remove-keywords if not needed (bug#19796).
1689 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
1691 * emacs-lisp/package.el (package-install): Invert the second
1692 argument, for better backwards compatibility.
1693 (package-install-button-action, package-reinstall)
1694 (package-menu-execute): Account for the change.
1696 2015-02-11 Nicolas Petton <nicolas@petton.fr>
1698 * emacs-lisp/seq.el (seq-reverse): Add a backward-compatible
1699 version of seq-reverse that works on sequences in Emacs 24.
1700 Bump seq.el version to 1.2.
1702 2015-02-11 Artur Malabarba <bruce.connor.am@gmail.com>
1704 * emacs-lisp/package.el (package--incompatible-p): New function.
1705 Return non-nil if PKG has no chance of being installable.
1706 (package--emacs-version-list): New variable.
1707 (describe-package-1, package-desc-status)
1708 (package-menu--print-info, package-menu--status-predicate):
1709 Account for the "incompat" status.
1711 2015-02-11 Martin Rudalics <rudalics@gmx.at>
1713 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
1714 Rename frame parameter `maximized' to `fullscreen-restore'.
1715 Restore fullwidth/-height after fullboth state. Update doc-strings.
1717 2015-02-11 Lars Ingebrigtsen <larsi@gnus.org>
1719 * net/shr.el (shr-insert): Make sure the space inserted has the
1720 right font (for width).
1721 (shr-fill-line): Preserve background colours when indenting/folding.
1722 (shr-ensure-paragraph): Don't insert a new paragraph as the first
1725 2015-02-10 Lars Ingebrigtsen <larsi@gnus.org>
1727 * net/shr.el (shr-use-fonts): New variable.
1728 (shr-fill-text): Rename from "fold".
1729 (shr-pixel-column, shr-pixel-region, shr-string-pixel-width):
1731 (shr-insert): Just insert, don't fill the text. Filling is now
1732 done afterwards per display unit.
1733 (shr-fill-lines, shr-fill-line): New functions to fill text on a
1735 (shr-find-fill-point): Take a "beginning" parameter.
1736 (shr-indent): Indent using the :width display parameter when using
1738 (shr-parse-style): Ignore "inherit" values, since we already do that.
1739 (shr-tag-img): Remove the insertion states.
1740 (shr-tag-blockquote): New-style filling.
1741 (shr-tag-dd): Ditto.
1742 (shr-tag-li): Ditto.
1743 (shr-mark-fill): New function to mark lines that need filling.
1744 (shr-tag-h1): Use a larger font.
1745 (shr-tag-table-1): Get the natural and suggested widths in one
1747 (shr-tag-table): Create the "fixed" version of the table only once
1748 so that we can cache data in the table.
1749 (shr-insert-table): Get colspan calculations right by having
1750 zero-width columns after colspan ones.
1751 (shr-expand-alignments): New function to make :align-to specs work
1752 right when rendered in one buffer and displayed in another one.
1753 (shr-insert-table-ruler): Use :align-to to get the widths right.
1754 (shr-make-table): Cache more.
1755 (shr-make-table-1): Use the new <td> data layout.
1756 (shr-pixel-buffer-width): New function.
1757 (shr-render-td): Add a caching layer.
1758 (shr-dom-max-natural-width): New function.
1759 (shr-tag-h1): Don't use variable-pitch fonts on fontless rendering.
1760 (shr-tag-tt): New function.
1761 (shr-tag-hr): Compute the right length when using fonts.
1762 (shr-table-widths): Off-by-one error in width computation.
1763 (shr-expand-newlines): Remove dead code.
1764 (shr-insert-table): Extend background colors to the end of the column.
1765 (shr-insert-table): Only copy the background, not underline and
1767 (shr-face-background): New function.
1769 2015-02-10 Fabián Ezequiel Gallina <fgallina@gnu.org>
1771 python.el: Improved shell font lock respecting markers. (Bug#19650)
1773 * progmodes/python.el
1774 (python-shell-font-lock-get-or-create-buffer): Use special buffer name.
1775 (python-shell-font-lock-with-font-lock-buffer): Enable font lock.
1776 (python-shell-font-lock-post-command-hook): Fontify by copying text
1777 properties from fontified buffer to shell, keeping markers unchanged.
1778 (python-shell-font-lock-turn-off): Fix typo.
1779 (python-util-text-properties-replace-name): Delete function.
1781 2015-02-09 Nicolas Petton <nicolas@petton.fr>
1783 * emacs-lisp/seq.el (seq-group-by): Improves seq-group-by to
1784 return sequence elements in correct order.
1786 2015-02-09 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
1788 * textmodes/css-mode.el (css-smie-rules): Fix paren indent (bug#19815).
1790 2015-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1792 * emacs-lisp/cl-generic.el (cl--generic-lambda): Use macroexp-parse-body.
1794 * emacs-lisp/eieio-core.el (eieio-oset-default): Catch the unexpected
1795 case where the default value would be re-interpreted as a form!
1797 2015-02-09 Christopher Genovese <genovese@cmu.edu> (tiny change)
1799 * help-fns.el (help-fns--signature): Keep doc for keymap.
1801 2015-02-09 Kelly Dean <kelly@prtime.org>
1803 * desktop.el: Save mark-ring less verbosely.
1804 (desktop-var-serdes-funs): New var.
1805 (desktop-buffer-info, desktop-create-buffer): Use it.
1806 (desktop-file-version): Update to 208.
1808 2015-02-09 Leo Liu <sdl.web@gmail.com>
1810 * emacs-lisp/pcase.el (pcase-lambda): New Macro. (Bug#19814)
1812 * emacs-lisp/lisp-mode.el (el-kws-re): Include `pcase-lambda'.
1814 * emacs-lisp/macroexp.el (macroexp-parse-body): New function.
1816 2015-02-08 Paul Eggert <eggert@cs.ucla.edu>
1818 Port to platforms lacking test -a and -o
1819 * Makefile.in (compile-clean):
1820 * net/tramp-sh.el (tramp-find-executable):
1821 Prefer '&&' and '||' to 'test -a' and 'test -o'.
1823 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1825 * newcomment.el (comment-line): Fix missing paren.
1827 2015-02-08 Ulrich Müller <ulm@gentoo.org>
1829 * play/gamegrid.el: Update comment to reflect that the
1830 'update-game-score' helper program is now setgid by default.
1832 2015-02-08 David Kastrup <dak@gnu.org>
1834 * subr.el (apply-partially): Use lexical binding here.
1836 2015-02-08 Artur Malabarba <bruce.connor.am@gmail.com>
1838 * newcomment.el (comment-line): New command.
1840 * bindings.el (ctl-x-map): Bind to `C-x C-;'.
1842 2015-02-08 Oleh Krehel <ohwoeowho@gmail.com>
1844 * outline.el (outline-show-entry): Fix one invisible char for the
1845 file's last outline. (Bug#19493)
1847 2015-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1849 * subr.el (indirect-function): Change advertised calling convention.
1851 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1853 python.el: Fix completion-at-point. (Bug#19667)
1855 * progmodes/python.el
1856 (python-shell-completion-native-get-completions): Force process buffer.
1857 (python-shell-completion-at-point): Handle case where call is not
1860 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1862 python.el: Fix shell font-lock multiline input. (Bug#19744)
1864 * progmodes/python.el
1865 (python-shell-font-lock-post-command-hook): Handle multiline input.
1867 2015-02-08 Fabián Ezequiel Gallina <fgallina@gnu.org>
1869 python.el: Make shell font-lock respect markers. (Bug#19650)
1871 * progmodes/python.el (python-shell-font-lock-cleanup-buffer):
1873 (python-shell-font-lock-comint-output-filter-function):
1875 (python-shell-font-lock-post-command-hook): Respect markers on
1878 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1880 python.el: Keep eldoc visible while typing args. (Bug#19637)
1881 * progmodes/python.el (python-eldoc--get-symbol-at-point):
1882 New function based on Carlos Pita <carlosjosepita@gmail.com> patch.
1883 (python-eldoc--get-doc-at-point, python-eldoc-at-point): Use it.
1885 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1887 Fix hideshow integration. (Bug#19761)
1888 * progmodes/python.el
1889 (python-hideshow-forward-sexp-function): New function based on
1890 Carlos Pita <carlosjosepita@gmail.com> patch.
1891 (python-mode): Make `hs-special-modes-alist` use it and initialize
1892 the end regexp with the empty string to avoid skipping parens.
1894 2015-02-07 Fabián Ezequiel Gallina <fgallina@gnu.org>
1896 * progmodes/python.el (python-check-custom-command): Do not use
1897 defvar-local for compat with Emacs<24.3.
1899 2015-02-07 Martin Rudalics <rudalics@gmx.at>
1901 * frame.el (frame-notice-user-settings):
1902 Update `frame-size-history'.
1903 (make-frame): Update `frame-size-history'.
1904 Call `frame-after-make-frame'.
1905 * faces.el (face-set-after-frame-default): Remove call to
1906 frame-can-run-window-configuration-change-hook.
1908 2015-02-06 Dmitry Gutov <dgutov@yandex.ru>
1910 * vc/vc-cvs.el (vc-cvs-dir-status-files): Don't pass DIR to
1911 `vc-cvs-command' (bug#19732).
1913 2015-02-06 Nicolas Petton <nicolas@petton.fr>
1915 * emacs-lisp/seq.el (seq-mapcat, seq-partition, seq-group-by):
1917 * emacs-lisp/seq.el (seq-drop-while, seq-take-while, seq-count)
1918 (seq--drop-list, seq--take-list, seq--take-while-list):
1921 2015-02-06 Artur Malabarba <bruce.connor.am@gmail.com>
1923 * doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. Use
1924 `image-kill-buffer' instead.
1926 2015-02-06 Thomas Fitzsimmons <fitzsim@fitzsim.org>
1928 * net/ldap.el (ldap-search-internal): Fix docstring.
1930 2015-02-06 Lars Ingebrigtsen <larsi@gnus.org>
1932 * subr.el (define-error): The error conditions may be constant
1933 lists, so use `append' to concatenate them.
1935 2015-02-06 Wolfgang Jenkner <wjenkner@inode.at>
1937 * net/network-stream.el (network-stream-open-tls): Respect the
1938 :end-of-capability setting.
1940 2015-02-05 Artur Malabarba <bruce.connor.am@gmail.com>
1942 * emacs-lisp/package.el (package--sort-by-dependence):
1943 New function. Return PACKAGE-LIST sorted by dependencies.
1944 (package-menu-execute): Use it to delete packages in order.
1945 (package--sort-deps-in-alist): New function.
1946 (package-menu-mark-install): Can mark dependencies.
1947 (package--newest-p): New function.
1948 (package-delete): Don't deselect when deleting an older version of
1949 an upgraded package.
1951 * emacs-lisp/package.el: Add missing (require 'subr-x)
1953 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1955 * textmodes/css-mode.el (scss-smie--not-interpolation-p): Vars can be
1956 hyphenated (bug#19263).
1958 * textmodes/css-mode.el (css-fill-paragraph): Fix filling in presence
1959 of variable interpolation (bug#19751).
1961 2015-02-05 Era Eriksson <era+emacs@iki.fi>
1963 * json.el (json-end-of-file): New error (bug#19768).
1964 (json-pop, json-read): Use it.
1966 2015-02-05 Kelly Dean <kelly@prtime.org>
1968 * help-mode.el (help-xref-interned): Pass BUFFER and FRAME to
1969 `describe-variable'.
1971 * help-fns.el (describe-function-or-variable): New function.
1973 * help.el (help-map): Bind `describe-function-or-variable' to o.
1974 (help-for-help-internal): Document o key.
1976 2015-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1978 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use new
1979 special (:documentation ...) feature.
1980 * emacs-lisp/eieio-core.el (eieio-make-class-predicate)
1981 (eieio-make-child-predicate): Same.
1982 (eieio-copy-parents-into-subclass): Remove unused arg.
1983 (eieio-defclass-internal): Adjust call accordingly and remove redundant
1985 (eieio--slot-name-index): Remove unused arg `obj' and adjust all
1986 callers accordingly.
1988 * emacs-lisp/cconv.el (cconv--convert-function):
1989 Add `docstring' argument.
1990 (cconv-convert): Use it to handle the new (:documentation ...) form.
1991 (cconv-analyze-form): Handle the new (:documentation ...) form.
1993 * emacs-lisp/bytecomp.el:
1994 (byte-compile-initial-macro-environment): Use macroexp-progn.
1995 (byte-compile-cl-warn): Don't silence use of cl-macroexpand-all.
1996 (byte-compile-file-form-defvar-function): Rename from
1997 byte-compile-file-form-define-abbrev-table.
1998 (defvaralias, byte-compile-file-form-custom-declare-variable): Use it.
1999 (byte-compile): Use byte-compile-top-level rather than
2000 byte-compile-lambda so we can compile non-values.
2001 (byte-compile-form): Add warnings for failed uses of lexical vars via
2003 (byte-compile-unfold-bcf): Improve message for failed inlining.
2004 (byte-compile-make-closure): Handle new format of internal-make-closure
2005 for dynamically-generated docstrings.
2007 * delsel.el: Deprecate the `kill' option. Use lexical-binding.
2008 (open-line): Delete like all other commands, instead of killing.
2009 (delete-active-region): Don't define any return any value.
2011 * progmodes/python.el: Try to preserve compatibility with Emacs-24.
2012 (python-mode): Don't assume eldoc-documentation-function has a non-nil
2015 2015-02-04 Sam Steingold <sds@gnu.org>
2017 * progmodes/python.el (python-indent-calculate-indentation):
2018 Avoid the error when computing top-level indentation.
2020 2015-02-04 Stefan Monnier <monnier@iro.umontreal.ca>
2022 * emacs-lisp/cl-generic.el (cl--generic-member-method): Fix paren typo.
2024 * textmodes/flyspell.el: Use lexical-binding and cl-lib.
2025 (mail-mode-flyspell-verify): Fix last change.
2026 (flyspell-external-point-words, flyspell-large-region):
2027 Avoid add-to-list on local vars.
2029 2015-02-04 Tassilo Horn <tsdh@gnu.org>
2031 * emacs-lisp/package.el (package-installed-p): Fix typo causing
2032 void-variable error.
2034 2015-02-04 Artur Malabarba <bruce.connor.am@gmail.com>
2036 * image-mode.el (image-kill-buffer): New command.
2037 (image-mode-map): Bind it to k.
2039 * emacs-lisp/package.el (package-delete): Remove package from
2040 `package-selected-packages' even if it can't be deleted.
2041 (package-installed-p): Accept package-desc objects.
2042 (package-install): Can be used to mark dependencies as
2043 selected. When given a package-desc object which is already
2044 installed, the package is not downloaded again, but it is marked
2045 as selected (if it wasn't already).
2046 (package-reinstall): Accept package-desc objects.
2048 2015-02-03 Artur Malabarba <bruce.connor.am@gmail.com>
2050 * emacs-lisp/package.el (package-delete): Document NOSAVE.
2051 (package--get-deps): delete-dups when ONLY is nil.
2052 (package-autoremove): Warn the user if `package-selected-packages'
2055 (package--user-selected-p): New function.
2056 (package-delete, package-install, package-install-from-buffer):
2058 (package-selected-packages): Mention it.
2060 (package-initialize): Don't populate `package-selected-packages'.
2061 (package-install-user-selected-packages, package-autoremove):
2062 Special handling for empty `package-selected-packages'.
2063 (package-install): Fix when PKG is a package-desc.
2065 (package-desc-status): Add "dependency" status to the Package
2067 (package-menu--status-predicate, package-menu--print-info)
2068 (package-menu-mark-delete, package-menu--find-upgrades)
2069 (package-menu--status-predicate, describe-package-1): Use it
2071 (package--removable-packages): New function.
2072 (package-autoremove): Use it.
2073 (package-menu-execute): Offer to remove unneeded packages.
2075 (package--read-pkg-desc, package-tar-file-info): Fix reference to
2078 2015-02-03 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2080 * emacs-lisp/package.el (package-reinstall): Don't change package's selected status.
2081 (package-delete): New NOSAVE argument.
2083 2015-02-03 Michael Albinus <michael.albinus@gmx.de>
2085 * net/tramp-sh.el (tramp-histfile-override): Fix docstring.
2086 (tramp-open-shell, tramp-maybe-open-connection): Set also
2087 HISTFILESIZE and HISTSIZE when needed. (Bug#19731)
2089 2015-02-02 Artur Malabarba <bruce.connor.am@gmail.com>
2091 * emacs-lisp/package.el (package--find-non-dependencies):
2093 (package-initialize): Use it to populate `package-selected-packages'.
2094 (package-menu-execute): Clean unnecessary `and'.
2095 (package--get-deps): Fix returning duplicates.
2097 2015-02-02 Michael Albinus <michael.albinus@gmx.de>
2099 * net/tramp-sh.el (tramp-histfile-override): Add another choice t.
2101 (tramp-open-shell, tramp-maybe-open-connection): Support it.
2104 2015-02-02 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2106 * emacs-lisp/package.el (package-delete): Remove package from
2107 package-selected-packages.
2108 (package-autoremove): Remove unneeded variable.
2110 2015-02-01 Artur Malabarba <bruce.connor.am@gmail.com>
2112 * emacs-lisp/package.el (package-selected-packages): Fix :type
2113 (package-install): Rename ARG to MARK-SELECTED.
2114 (package--get-deps): Fix for indirect dependencies.
2115 (package-used-elsewhere-p): Rename to
2116 (package--used-elsewhere-p): New function.
2117 (package-reinstall, package-user-selected-packages-install)
2118 (package-autoremove): Use sharp-quote.
2119 (package-user-selected-packages-install): Reindent and rename to
2120 (package-install-user-selected-packages): New function.
2122 2015-02-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2124 * emacs-lisp/package.el: Don't allow deleting dependencies.
2126 (package-used-elsewhere-p): New function.
2127 (package-delete): Use it, return now an error when trying to
2128 delete a package used as dependency by another package.
2130 Add a reinstall package command.
2131 (package-reinstall): New function.
2133 Add a package-autoremove command.
2134 (package-selected-packages): New user var.
2135 (package-install): Add an optional arg to notify interactive use.
2136 Fix docstring. Save installed package to
2137 packages-installed-directly.
2138 (package-install-from-buffer): Same.
2139 (package-user-selected-packages-install): Allow installing all
2140 packages in packages-installed-directly at once.
2141 (package--get-deps): New function.
2142 (package-autoremove): New function.
2143 (package-install-button-action): Call package-install with
2145 (package-menu-execute): Same but only for only for not installed
2148 2015-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2150 * emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
2151 and eieio-make-child-predicate.
2152 (eieio-class-parents): Use eieio--class-object.
2153 (slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
2154 (slot-exists-p): Use find-class.
2156 * emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
2157 Use find-lisp-object-file-name, help-fns-short-filename and new calling
2158 convention for eieio-class-def.
2159 (eieio-build-class-list): Remove function, unused.
2160 (eieio-method-def): Remove button type, unused.
2161 (eieio-class-def): Inherit from help-function-def.
2162 (eieio--defclass-regexp): New constant.
2163 (find-function-regexp-alist): Use it.
2164 (eieio--specializers-apply-to-class-p): Handle eieio--static as well.
2165 (eieio-help-find-method-definition, eieio-help-find-class-definition):
2168 * emacs-lisp/eieio-core.el (eieio--check-type): Remove.
2169 Use cl-check-type everywhere instead.
2170 (eieio-class-object): Remove, use find-class instead when needed.
2171 (class-p): Don't inline.
2172 (eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
2173 such as eieio classes, as objects. Don't inline.
2174 (object-p): Mark as obsolete.
2175 (eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
2176 (eieio--generic-tagcode): Avoid `class-p'.
2177 (eieio-make-class-predicate, eieio-make-child-predicate): New functions.
2178 (eieio-defclass-internal): Use current-load-list rather than
2181 * emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.
2183 2015-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2185 * emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
2186 since it may be "equivalent" in some sense, yet different (bug#19734).
2188 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
2190 * outline.el (outline-font-lock-face): Add docstring.
2191 (outline-invisible-p): Improve docstring.
2192 (outline-invent-heading): Add docstring.
2193 (outline-promote): Improve docstring.
2194 (outline-demote): Improve docstring.
2195 (outline-head-from-level): Improve docstring.
2196 (outline-end-of-heading): Add docstring.
2197 (outline-next-visible-heading): Improve docstring.
2198 (outline-previous-visible-heading): Improve docstring.
2199 (outline-hide-region-body): Improve docstring.
2200 (outline-flag-subtree): Add docstring.
2201 (outline-end-of-subtree): Add docstring.
2202 (outline-headers-as-kill): Improve docstring.
2204 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
2206 * outline.el (outline-hide-entry): Rename from `hide-entry'.
2207 (hide-entry): Declare as obsolete.
2208 (outline-show-entry): Rename from `show-entry'.
2209 (show-entry): Declare as obsolete.
2210 (outline-hide-body): Rename from `hide-body'.
2211 (hide-body): Declare as obsolete.
2212 (outline-hide-region-body): Rename from `hide-region-body'.
2213 (hide-region-body): Declare as obsolete.
2214 (outline-show-all): Rename from `show-all'.
2215 (show-all): Declare as obsolete.
2216 (outline-hide-subtree): Rename from `hide-subtree'.
2217 (hide-subtree): Declare as obsolete.
2218 (outline-hide-leaves): Rename from `hide-leaves'.
2219 (hide-leaves): Declare as obsolete.
2220 (outline-show-subtree): Rename from `show-subtree'.
2221 (show-subtree): Declare as obsolete.
2222 (outline-hide-sublevels): Rename from `hide-sublevels'.
2223 (hide-sublevels): Declare as obsolete.
2224 (outline-hide-other): Rename from `hide-other'.
2225 (hide-other): Declare as obsolete.
2226 (outline-show-children): Rename from `show-children'.
2227 (show-children): Declare as obsolete.
2228 (outline-show-branches): Rename from `show-branches'.
2229 (show-branches): Declare as obsolete.
2231 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
2233 * outline.el (outline-mode): Clean up docstring.
2234 (font-lock-warning-face): Remove obsolete declaration.
2235 (outline-font-lock-face): Remove obsolete comment.
2237 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
2239 * custom.el (defface): Set `indent' to 1.
2241 2015-01-30 Oleh Krehel <ohwoeowho@gmail.com>
2243 * emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1.
2245 2015-01-30 Michal Nazarewicz <mina86@mina86.com>
2247 * files.el (save-buffers-kill-emacs): If `confirm-kill-emacs'
2248 is set, but user has just been asked whether they really want to
2249 kill Emacs (for example with a ‘Modified buffers exist; exit
2250 anyway?’ prompt), do not ask them for another confirmation.
2252 2015-01-29 Jay Belanger <jay.p.belanger@gmail.com>
2254 * calc/calc-units.el (calc-convert-exact-units): New function.
2255 (calc-convert-units): Check for missing units.
2256 (math-consistent-units-p): Strengthen the test for consistent units.
2258 * calc/calc-ext.el (calc-init-extensions): Autoload
2259 `calc-convert-exact-units' and assign it a keybinding.
2261 * calc/calc-help (calc-u-prefix-help): Add help for the
2264 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2266 * emacs-lisp/cl.el (cl--function-convert): Simplify.
2268 2015-01-28 Tassilo Horn <tsdh@gnu.org>
2270 * textmodes/reftex.el (reftex-syntax-table-for-bib): Give ( and )
2271 punctuation syntax since to allow bibtex fields with values such
2272 as {Test 1) and 2)} (bug#19205, bug#19707).
2273 (reftex--prepare-syntax-tables): New function.
2274 (reftex-mode): Use it.
2276 2015-01-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
2278 python.el: New non-global state dependent indentation engine.
2279 (Bug#18319, Bug#19595)
2280 * progmodes/python.el (python-syntax-comment-or-string-p):
2281 Accept PPSS as argument.
2282 (python-syntax-closing-paren-p): New function.
2283 (python-indent-current-level)
2284 (python-indent-levels): Mark obsolete.
2285 (python-indent-context): Return more context cases.
2286 (python-indent--calculate-indentation)
2287 (python-indent--calculate-levels): New functions.
2288 (python-indent-calculate-levels): Use them.
2289 (python-indent-calculate-indentation, python-indent-line):
2290 (python-indent-line-function): Rewritten to use new API.
2291 (python-indent-dedent-line): Simplify logic.
2292 (python-indent-dedent-line-backspace): Use `unless`.
2293 (python-indent-toggle-levels): Delete function.
2295 2015-01-28 Daniel Koning <dk@danielkoning.com> (tiny change)
2297 * subr.el (posnp): Correct docstring of `posnp'.
2298 (posn-col-row): Make it work with all mouse position objects.
2299 * textmodes/artist.el (artist-mouse-draw-continously):
2300 Cancel timers if an error occurs during continuous drawing. (Bug#6130)
2302 2015-01-28 Eli Zaretskii <eliz@gnu.org>
2304 * button.el (button-activate, push-button): Doc fix. (Bug#19628)
2306 2015-01-28 Michael Albinus <michael.albinus@gmx.de>
2308 * filenotify.el (file-notify-descriptors, file-notify-handle-event):
2310 (file-notify--descriptor): New defun.
2311 (file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
2312 Adapt docstring. Handle multiple values for
2313 `file-notify-descriptors' entries. (Bug#18880)
2315 * net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
2316 `file-notify-descriptors', the implementation has been changed.
2318 2015-01-28 Eli Zaretskii <eliz@gnu.org>
2320 * net/net-utils.el (net-utils-run-program, net-utils-run-simple):
2321 On MS-Windows, bind coding-system-for-read to the console output
2322 codepage. (Bug#19458)
2324 2015-01-28 Dmitry Gutov <dgutov@yandex.ru>
2326 Unbreak `mouse-action' property in text buttons.
2327 * button.el (push-button): Fix regression from 2012-12-06.
2329 2015-01-28 Glenn Morris <rgm@gnu.org>
2331 * progmodes/sh-script.el (sh-mode): Doc fix.
2332 (sh-basic-indent-line): Handle electric newline. (Bug#18756)
2334 2015-01-28 Paul Eggert <eggert@cs.ucla.edu>
2336 Fix dired quoting bug with "Hit`N`Hide".
2337 * files.el (shell-quote-wildcard-pattern): Also quote "`". (Bug#19498)
2339 2015-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2341 Tighten up the tagcode used for eieio and cl-struct objects.
2342 * loadup.el: Load cl-preloaded.
2343 * emacs-lisp/eieio-core.el (eieio-defclass-internal): Set the function
2344 slot of the tag symbol to :quick-object-witness-check.
2345 (eieio-object-p): Use :quick-object-witness-check.
2346 (eieio--generic-tagcode): Use cl--generic-struct-tag.
2347 * emacs-lisp/cl-preloaded.el: New file.
2348 * emacs-lisp/cl-macs.el (cl--bind-inits): Remove, unused.
2349 (cl--transform-lambda, cl-destructuring-bind): Remove cl--bind-inits.
2350 (cl--make-usage-args): Strip away &aux args.
2351 (cl-case, cl-typecase, cl--parse-loop-clause): Use macroexp-let2.
2352 (cl-the, cl-check-type): Use macroexp-let2 and cl-typep.
2353 (cl-defstruct): Use `declare' and cl-struct-define.
2354 * emacs-lisp/cl-generic.el (cl--generic-struct-tag): New function.
2355 (cl--generic-struct-tagcode): Use it to tighten the tagcode.
2357 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
2359 * emacs-lisp/cl.el (cl--function-convert):
2360 Merge cache that cl--labels-convert adds (bug#19699).
2362 2015-01-27 Ivan Shmakov <ivan@siamics.net>
2364 * tar-mode.el: Allow for adding new archive members. (Bug#19274)
2365 (tar-new-regular-file-header, tar--pad-to, tar--put-at)
2366 (tar-header-serialize): New functions.
2367 (tar-current-position): Split from tar-current-descriptor.
2368 (tar-current-descriptor): Use it.
2369 (tar-new-entry): New command.
2370 (tar-mode-map): Bind it.
2372 2015-01-27 Sam Steingold <sds@gnu.org>
2374 * progmodes/python.el (python-check-custom-command): Buffer local
2375 because it usually includes the buffer name.
2376 (python-check-command): Set to epylint when pyflakes is not available.
2378 2015-01-27 Artur Malabarba <bruce.connor.am@gmail.com>
2380 * isearch.el (isearch-process-search-char): Add docstring.
2382 2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
2384 * emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
2386 2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
2388 * emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
2389 for the case cl-flet or cl-labels form is wrapped with lexical-let
2392 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
2394 * emacs-lisp/cl-generic.el (cl--generic-method): New struct.
2395 (cl--generic): The method-table is now a (list-of cl--generic-method).
2396 (cl--generic-member-method): New function.
2397 (cl-generic-define-method): Use it.
2398 (cl--generic-build-combined-method, cl--generic-cache-miss):
2399 Adapt to new method-table.
2400 (cl--generic-no-next-method-function): Add `method' argument.
2401 (cl-generic-call-method): Adapt to new method representation.
2402 (cl--generic-cnm-sample, cl--generic-nnm-sample): Adjust.
2403 (cl-find-method, cl-method-qualifiers): New functions.
2404 (cl--generic-method-info): Adapt to new method representation.
2405 Return a string for the qualifiers.
2406 (cl--generic-describe):
2407 * emacs-lisp/eieio-opt.el (eieio-help-class): Adjust accordingly.
2408 (eieio-all-generic-functions, eieio-method-documentation):
2409 Adjust to new method representation.
2411 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use cl-find-method.
2413 2015-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
2415 * emacs-lisp/cl-generic.el: Add a method-combination hook.
2416 (cl-generic-method-combination-function): New var.
2417 (cl--generic-lambda): Remove `with-cnm' arg.
2418 (cl-defmethod): Change accordingly.
2419 (cl-generic-define-method): Don't check qualifiers validity.
2420 Preserve all qualifiers in `method-table'.
2421 (cl-generic-call-method): New function.
2422 (cl--generic-nest): Remove (morph into cl-generic-call-method).
2423 (cl--generic-build-combined-method): Adjust to new format of method-table
2424 and use cl-generic-method-combination-function.
2425 (cl--generic-standard-method-combination): New function, extracted from
2426 cl--generic-build-combined-method.
2427 (cl--generic-cnm-sample): Adjust to new format of method-table.
2429 * emacs-lisp/eieio-compat.el (eieio--defmethod): Use () qualifiers
2430 instead of :primary.
2432 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
2433 Remove obsolete function.
2435 2015-01-26 Lars Ingebrigtsen <larsi@gnus.org>
2437 * net/shr.el (shr-make-table-1): Fix colspan typo.
2438 (shr-make-table-1): Add comments.
2439 (shr-make-table-1): Make colspan display more sensibly.
2441 * net/eww.el (eww-add-bookmark): Fix prompt and clean up the code
2444 2015-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2446 * emacs-lisp/cl-generic.el (cl--generic-no-next-method-function): New fun.
2447 (cl--generic-build-combined-method, cl--generic-nnm-sample): Use it
2449 (cl--generic-typeof-types): Add support for `sequence'.
2450 (cl-defmethod): Add non-keywords in the qualifiers.
2452 2015-01-25 Dmitry Gutov <dgutov@yandex.ru>
2454 * emacs-lisp/find-func.el (find-function-regexp): Don't match
2455 `defgroup' (regression from the previous change here).
2457 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2459 * net/ldap.el (ldap-search-internal): Mention binddn in invalid
2460 credentials error message.
2462 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2464 * net/ldap.el (ldap-password-read): Validate password before
2466 (ldap-search-internal): Handle ldapsearch error conditions.
2468 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2470 * net/ldap.el (ldap-password-read): Handle password-cache being nil.
2472 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2474 * net/eudc.el (eudc-expand-inline): Always restore former server
2477 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2479 * net/eudcb-ldap.el: Don't nag the user in case a default base is
2480 provided by the LDAP system configuration file.
2482 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2484 * net/eudc.el (eudc-format-query): Preserve the
2485 eudc-inline-query-format ordering of attributes in the returned list.
2486 * net/eudcb-ldap.el (eudc-ldap-format-query-as-rfc1558):
2487 Append the LDAP wildcard character to the last attribute value.
2489 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2491 * net/eudcb-ldap.el (eudc-ldap-cleanup-record-simple):
2492 Downcase field names of LDAP results.
2493 (eudc-ldap-cleanup-record-filtering-addresses): Likewise.
2495 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2497 * net/ldap.el (ldap-ldapsearch-password-prompt): New defcustom.
2498 (ldap-search-internal): Send password to ldapsearch through a pipe
2499 instead of via the command line.
2501 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2503 * net/ldap.el: Require password-cache.
2504 (ldap-password-read): New function.
2505 (ldap-search-internal): Call ldap-password-read when it is
2506 configured to be called.
2508 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2510 * net/eudc-vars.el (eudc-expansion-overwrites-query):
2511 Change default to nil.
2513 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2515 * net/eudc.el (eudc-expand-inline): Ignore text properties of
2518 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2520 * net/eudc-vars.el (eudc-inline-expansion-format): Default to a
2521 format that includes first name and surname.
2523 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2525 * net/eudc-vars.el (eudc-inline-query-format): Change default to
2526 query email and first name instead of surname.
2528 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2530 * net/ldap.el (ldap-search-internal): Support new-style LDAP URIs.
2532 2015-01-23 Thomas Fitzsimmons <fitzsim@fitzsim.org>
2534 * net/eudc-vars.el (eudc-server): Adjust docstring to mention
2535 eudc-server-hotlist.
2536 (eudc-server-hotlist): Move from eudc.el and make defcustom.
2537 * net/eudc.el (eudc-server-hotlist): Move to eudc-vars.el.
2538 (eudc-set-server): Allow setting protocol to nil.
2539 (eudc-expand-inline): Support hotlist-only expansions when server
2542 2015-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2544 * emacs-lisp/cl-generic.el (cl-no-primary-method): New fun and error.
2545 (cl--generic-build-combined-method): Use it.
2547 2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
2549 Don't downcase system diagnostics' first letters
2550 * emacs-lisp/bytecomp.el (byte-compile-file):
2551 * ffap.el (find-file-at-point):
2552 * files.el (insert-file-1):
2553 * net/ange-ftp.el (ange-ftp-barf-if-not-directory)
2554 (ange-ftp-copy-file-internal):
2555 * progmodes/etags.el (visit-tags-table):
2556 Keep diagnostics consistent with system's.
2557 * ffap.el (ffap-machine-p):
2558 Ignore case while comparing diagnostics.
2560 2015-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2562 * help.el (help-make-usage): Don't turn a "_" arg into an empty-string
2564 * emacs-lisp/cl-generic.el (cl--generic-lambda): Don't confuse a string
2565 body with a docstring.
2567 2015-01-22 Dmitry Gutov <dgutov@yandex.ru>
2569 * progmodes/xref.el (xref-location-marker, xref-location-group):
2570 Use `cl-defgeneric' and `cl-defmethod' instead of the EIEIO
2573 * progmodes/etags.el (xref-location-marker): Same.
2575 * progmodes/xref.el (xref--current): Rename from `xref--selected'.
2576 (xref--inhibit-mark-current): Rename from
2577 `xref--inhibit-mark-selected'. Update the usages.
2578 (xref-quit): Reword the docstring. Kill buffers after quitting
2579 windows instead of before.
2580 (xref--insert-xrefs): Tweak help-echo.
2581 (xref--read-identifier-history, xref--read-pattern-history):
2583 (xref--read-identifier, xref-find-apropos): Use them.
2585 2015-01-21 Ulrich Müller <ulm@gentoo.org>
2587 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2588 Allow the 'update-game-score' helper program to run suid or sgid.
2590 2015-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
2592 * emacs-lisp/eieio.el: Use cl-defmethod.
2593 (defclass): Generate cl-defmethod calls; use setf methods for :accessor.
2594 (eieio-object-name-string): Declare as obsolete.
2596 * emacs-lisp/eieio-opt.el: Adapt to cl-generic.
2597 (eieio--specializers-apply-to-class-p): New function.
2598 (eieio-all-generic-functions): Use it.
2599 (eieio-method-documentation): Use it as well as cl--generic-method-info.
2600 Change format of return value.
2601 (eieio-help-class): Adapt accordingly.
2603 * emacs-lisp/eieio-compat.el (eieio--defmethod): Avoid no-next-method
2604 errors when there's a `before' but no `primary' (bug#19645).
2605 (next-method-p): Return nil rather than signal an error.
2606 (eieio-defgeneric): Remove bogus (fboundp 'method).
2608 * emacs-lisp/eieio-speedbar.el:
2609 * emacs-lisp/eieio-datadebug.el:
2610 * emacs-lisp/eieio-custom.el:
2611 * emacs-lisp/eieio-base.el: Use cl-defmethod.
2613 * emacs-lisp/cl-generic.el (cl-defgeneric): Add support for `declare'.
2614 (cl--generic-setf-rewrite): Setup the setf expander right away.
2615 (cl-defmethod): Make sure the setf expander is setup before we expand
2617 (cl-defmethod): Silence byte-compiler warnings.
2618 (cl-generic-define-method): Shuffle code to change return value.
2619 (cl--generic-method-info): New function, extracted from
2620 cl--generic-describe.
2621 (cl--generic-describe): Use it.
2623 2015-01-21 Dmitry Gutov <dgutov@yandex.ru>
2625 * progmodes/xref.el (xref--xref-buffer-mode-map): Define before
2626 the major mode. Remap `quit-window' to `xref-quit'.
2627 (xref--xref-buffer-mode): Inherit from special-mode.
2629 xref: Keep track of temporary buffers (bug#19466).
2630 * progmodes/xref.el (xref--temporary-buffers, xref--selected)
2631 (xref--inhibit-mark-selected): New variables.
2632 (xref--mark-selected): New function.
2633 (xref--show-location): Maybe add the buffer to
2634 `xref--temporary-buffers', add `xref--mark-selected' to
2635 `buffer-list-update-hook' there.
2636 (xref--window): Add docstring.
2637 (xref-quit): Rename from `xref--quit'. Update both references.
2638 Add KILL argument. When it's non-nil, kill the temporary buffers
2639 that haven't been selected by the user.
2640 (xref--show-xref-buffer): Change the second argument to alist,
2641 extract the values for `xref--window' and
2642 `xref--temporary-buffers' from it. Add `xref--mark-selected' to
2643 `buffer-list-update-hook' to each buffer in the list.
2644 (xref--show-xrefs): Move the logic of calling `xref-find-function'
2645 here. Save the difference between buffer lists before and after
2646 it's called as "temporary buffers", and `pass it to
2647 `xref-show-xrefs-function'.
2648 (xref--find-definitions, xref-find-references)
2649 (xref-find-apropos): Update accordingly.
2651 2015-01-20 Artur Malabarba <bruce.connor.am@gmail.com>
2653 * emacs-lisp/package.el (package-dir-info): Fix `while' logic.
2655 2015-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2657 * emacs-lisp/eieio-generic.el: Remove.
2658 (defgeneric, defmethod): Move to eieio-compat.el. Mark obsolete.
2659 * emacs-lisp/eieio-compat.el: New file.
2660 * emacs-lisp/eieio.el: Don't require eieio-generic any more.
2661 * emacs-lisp/eieio-core.el (eieio--slot-originating-class-p):
2662 Remove unused function.
2663 (eieio-defclass): Move to eieio-compat.el.
2664 * emacs-lisp/macroexp.el (macroexp-macroexpand): New function.
2665 (macroexp--expand-all): Use it.
2666 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): Here too.
2668 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2670 * emacs-lisp/eldoc.el (eldoc-documentation-function): Describe how
2671 major modes should use `add-function' to alter value of the variable.
2672 * hexl.el (hexl-mode):
2673 * ielm.el (inferior-emacs-lisp-mode):
2674 * progmodes/cfengine.el (cfengine3-mode):
2675 * progmodes/elisp-mode (emacs-lisp-mode):
2676 * progmodes/octave.el (octave-mode):
2677 * progmodes/python.el (python-mode):
2678 * simple.el (read--expression): Set `eldoc-documentation-function'
2679 using `add-function' so the default value is always used.
2681 * descr-text.el (describe-char-eldoc): New function returning
2682 basic Unicode codepoint information (e.g. name) about character
2683 at point. It is meant to be used as a default value of the
2684 `eldoc-documentation-function' variable.
2685 (describe-char-eldoc--format, describe-char-eldoc--truncate):
2686 New helper functions for `describe-char-eldoc' function.
2688 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2690 * textmodes/paragraphs.el (sentence-end-base): Include an
2691 ellipsis (…) and interrobang (‽) characters as end of a sentence,
2692 and a closing single quote (’) as an end of a quote.
2694 2015-01-20 Michal Nazarewicz <mina86@mina86.com>
2696 * textmodes/tildify.el (tildify-double-space-undos): A new
2697 variable specifying whether pressing space in `tildify-mode' after
2698 a space has been replaced with hard space undos the substitution.
2699 (tildify-space): Add code branch for handling `tildify-doule-space'.
2701 * textmodes/tildify.el (tildify-space): A new function
2702 which can be used as a `post-self-insert-hook' to automatically
2703 convert spaces into hard spaces.
2704 (tildify-space-pattern): A new variable specifying pattern where
2705 `tildify-space' should take effect.
2706 (tildify-space-predicates): A new variable specifying list of
2707 predicate functions that all must return non-nil for
2708 `tildify-space' to take effect.
2709 (tildify-space-region-predicate): A new functions meant to be
2710 used as a predicate in `tildify-space-predicates' list.
2711 (tildify-mode): A new minor mode enabling `tildify-space' as a
2712 `post-self-insert-hook'
2714 2015-01-20 Daniel Colascione <dancol@dancol.org>
2716 * vc/vc-dir.el (vc-dir): Default to repository root, not
2719 2015-01-20 Dmitry Gutov <dgutov@yandex.ru>
2721 * progmodes/etags.el (xref-etags-location): New class.
2722 (xref-make-etags-location): New function.
2723 (etags--xref-find-definitions): Use it.
2724 (xref-location-marker): New method implementation.
2726 * progmodes/xref.el: Mention that xref-location is an EIEIO class.
2727 (xref--insert-xrefs): Expand help-echo string.
2729 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2731 * ido.el: Update Customization instructions.
2733 2015-01-19 Jonas Bernoulli <jonas@bernoul.li>
2735 Define Ido keymaps once (bug#17000).
2736 * ido.el (ido-common-completion-map)
2737 (ido-file-dir-completion-map)
2738 (ido-file-completion-map, ido-buffer-completion-map): Set up key
2739 bindings when each variable is defined.
2740 (ido-completion-map): Move definition.
2741 (ido-init-completion-maps): Noop.
2742 (ido-common-initialization): Don't call it.
2743 (ido-setup-completion-map): Improve doc-string, cleanup.
2745 2015-01-19 Ivan Shmakov <ivan@siamics.net>
2747 * cus-dep.el (custom-make-dependencies): Ensure that
2748 default-directory is interpreted as a directory (see bug#19140.)
2750 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2752 * progmodes/xref.el (xref--display-position):
2753 Set `other-window-scroll-buffer'.
2754 (xref-goto-xref): Use `user-error'.
2756 2015-01-19 Dmitry Gutov <dgutov@yandex.ru>
2758 * progmodes/xref.el (xref--display-history): New variable.
2759 (xref--window-configuration): Remove.
2760 (xref--save-to-history): New function.
2761 (xref--display-position): Use it. Add new argument.
2762 (xref--restore-window-configuration): Remove.
2763 (xref--show-location, xref-show-location-at-point):
2765 (xref--xref-buffer-mode): Don't use `pre-command-hook'.
2766 (xref--quit): New command.
2767 (xref-goto-xref): Use it.
2768 (xref--xref-buffer-mode-map): Bind `q' to it.
2770 2015-01-18 Dmitry Gutov <dgutov@yandex.ru>
2772 * progmodes/xref.el (xref-goto-xref): Perform the jump even inside
2773 indentation or at eol.
2775 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2777 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2778 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2780 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2782 * emacs-lisp/eieio.el (defclass): Add obsolescence warning for the
2785 * emacs-lisp/cl-generic.el (cl-generic-define-method): Correctly handle
2786 introduction of a new dispatch argument.
2787 (cl--generic-cache-miss): Handle dispatch on an argument which was not
2788 considered as dispatchable for this method.
2789 (cl-defmethod): Warn when adding a method to an obsolete generic function.
2790 (cl--generic-lambda): Make sure it works if cl-lib is not yet loaded.
2792 * emacs-lisp/eieio-generic.el (eieio--defgeneric-init-form): Use autoloadp.
2794 2015-01-18 Artur Malabarba <bruce.connor.am@gmail.com>
2796 * emacs-lisp/package.el (package--append-to-alist): Rename from
2797 `package--add-to-alist'
2798 Updated docstring due to new name.
2800 2015-01-18 Leo Liu <sdl.web@gmail.com>
2802 * emacs-lisp/cl-extra.el (cl-subseq): Use seq-subseq and fix
2803 multiple evaluation. (Bug#19519)
2805 * emacs-lisp/seq.el (seq-subseq): Throw bad bounding indices
2808 2015-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2810 * emacs-lisp/eieio-core.el: Add `subclass' specializer for cl-generic.
2811 (eieio--generic-subclass-tagcode, eieio--generic-subclass-tag-types):
2813 (cl-generic-tagcode-function, cl-generic-tag-types-function): Use them.
2815 * emacs-lisp/cl-macs.el (cl-defstruct): Minor optimization when include
2817 (cl-struct-type-p): New function.
2819 * emacs-lisp/cl-generic.el: Add support for cl-next-method-p.
2820 (cl-defmethod): Add edebug spec.
2821 (cl--generic-build-combined-method): Fix call to
2822 cl-no-applicable-method.
2823 (cl--generic-nnm-sample, cl--generic-cnm-sample): New constant.
2824 (cl--generic-isnot-nnm-p): New function.
2825 (cl--generic-lambda): Use it to add support for cl-next-method-p.
2826 (cl-no-next-method, cl-no-applicable-method): Simplify arg list.
2827 (cl-next-method-p): New function.
2829 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2831 * version.el (emacs-repository-get-version): Update docstring.
2833 2015-01-17 Ivan Shmakov <ivan@siamics.net>
2835 * files.el (find-file-other-window, find-file-other-frame):
2836 Use mapc instead of mapcar. (Bug#18175)
2838 * files.el (dir-locals-collect-variables): Use default-directory
2839 in place of the file name while working on non-file buffers, just
2840 like hack-dir-local-variables already does. (Bug#19140)
2842 * textmodes/enriched.el (enriched-encode):
2843 Use inhibit-point-motion-hooks in addition to inhibit-read-only.
2846 * desktop.el (desktop-read): Do not call desktop-clear when no
2847 desktop file is found. (Bug#18371)
2849 * misearch.el (multi-isearch-unload-function): New function.
2850 (misearch-unload-function): New alias. (Bug#19566)
2852 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2854 * emacs-lisp/eieio-core.el (eieio--class-constructor): Rename from
2855 class-constructor, and make it an alias for `identity'.
2858 * emacs-lisp/eieio.el (eieio-constructor): Handle obsolete object name
2859 argument here (bug#19620)...
2860 (defclass): ...instead of in the constructor here.
2862 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2864 * emacs-lisp/package.el (package-archive-priorities):
2865 Specify correct type.
2867 2015-01-17 Ulrich Müller <ulm@gentoo.org>
2869 * version.el (emacs-bzr-version-dirstate, emacs-bzr-version-bzr):
2871 (emacs-repository-get-version): Discard the Bazaar case.
2872 * vc/vc-bzr.el (vc-bzr-version-dirstate): Rename from
2873 emacs-bzr-version-dirstate and move from version.el to here.
2874 (vc-bzr-working-revision): Use it.
2876 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2878 * emacs-lisp/eieio-generic.el (call-next-method): Don't bother checking
2879 eieio--scoped-class any more.
2881 * emacs-lisp/eieio-core.el (eieio--scoped-class-stack): Remove var.
2882 (eieio--scoped-class): Remove function.
2883 (eieio--with-scoped-class): Remove macro. Replace uses with `progn'.
2884 (eieio--slot-name-index): Don't check the :protection anymore.
2885 (eieio-initializing-object): Remove var.
2886 (eieio-set-defaults): Don't let-bind eieio-initializing-object.
2888 2015-01-17 Stefan Monnier <monnier@iro.umontreal.ca>
2890 Improve handling of doc-strings and describe-function for cl-generic.
2892 * help-mode.el (help-function-def): Add optional arg `type'.
2894 * help-fns.el (find-lisp-object-file-name): Accept any `type' as long
2896 (help-fns-short-filename): New function.
2897 (describe-function-1): Use it. Use autoload-do-load.
2899 * emacs-lisp/find-func.el: Use lexical-binding.
2900 (find-function-regexp): Don't rule out `defgeneric'.
2901 (find-function-regexp-alist): Document new possibility of including
2902 a function instead of a regexp.
2903 (find-function-search-for-symbol): Implement that new possibility.
2904 (find-function-library): Don't assume that `function' is a symbol.
2905 (find-function-do-it): Remove unused var `orig-buf'.
2907 * emacs-lisp/eieio-generic.el (eieio--defalias): Move from eieio-core.
2908 (eieio--defgeneric-init-form): Don't throw away a previous docstring.
2909 (eieio--method-optimize-primary): Don't mess with the docstring.
2910 (defgeneric): Keep the `args' in the docstring.
2911 (defmethod): Don't use the method's docstring for the generic
2912 function's docstring.
2914 * emacs-lisp/eieio-core.el (eieio--defalias): Move to eieio-generic.el.
2915 (eieio-defclass-autoload): Don't record the superclasses any more.
2916 (eieio-defclass-internal): Reuse the old class object if it was just an
2918 (eieio--class-precedence-list): Load the class if it's autoloaded.
2920 * emacs-lisp/cl-generic.el (cl-generic-ensure-function): It's OK to
2921 override an autoload.
2922 (cl-generic-current-method-specializers): Replace dyn-bind variable
2923 with a lexically-scoped macro.
2924 (cl--generic-lambda): Update accordingly.
2925 (cl-generic-define-method): Record manually in the load-history with
2926 type `cl-defmethod'.
2927 (cl--generic-get-dispatcher): Minor optimization.
2928 (cl--generic-search-method): New function.
2929 (find-function-regexp-alist): Add entry for `cl-defmethod' type.
2930 (cl--generic-search-method): Add hyperlinks for methods. Merge the
2931 specializers and the function's arguments.
2933 2015-01-16 Artur Malabarba <bruce.connor.am@gmail.com>
2935 * emacs-lisp/package.el (package--read-pkg-desc):
2936 New function. Read a `define-package' form in current buffer.
2937 Return the pkg-desc, with desc-kind set to KIND.
2938 (package-dir-info): New function. Find package information for a
2939 directory. The return result is a `package-desc'.
2940 (package-install-from-buffer): Install packages from dired buffer.
2941 (package-install-file): Install packages from directory.
2942 (package-desc-suffix)
2943 (package-install-from-archive)
2944 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2945 Ensure all remaining instances of `package-desc-kind' handle the 'dir
2948 2015-01-16 Jorgen Schaefer <contact@jorgenschaefer.de>
2950 * emacs-lisp/package.el: Provide repository priorities.
2951 (package-archive-priorities): New variable.
2952 (package--add-to-alist): New function.
2953 (package--add-to-archive-contents): Use it.
2954 (package-menu--find-upgrades): Use it as well. Small clean up to
2955 make the use of the package name here explicit.
2956 (package-archive-priority): New function.
2957 (package-desc-priority-version): New function.
2959 2015-01-16 Daniel Colascione <dancol@dancol.org>
2961 * cus-start.el (all): Make `ring-bell-function' customizable.
2963 2015-01-16 Dmitry Gutov <dgutov@yandex.ru>
2965 * vc/vc-svn.el (vc-svn-dir-status-files): Pass t as
2966 vc-svn-after-dir-status's second argument. (Bug#19429)
2968 2015-01-16 Samer Masterson <samer@samertm.com>
2970 * pcomplete.el (pcomplete-parse-arguments): Parse arguments
2971 regardless of pcomplete-cycle-completions's value. (Bug#18950)
2973 2015-01-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2975 * dom.el (dom-strings): New function.
2977 * files.el (directory-files-recursively): Don't use the word
2978 "path" for a file name.
2980 2015-01-15 Wolfgang Jenkner <wjenkner@inode.at>
2982 * calc/calc-units.el (math-units-in-expr-p)
2983 (math-single-units-in-expr-p, math-find-compatible-unit-rec)
2984 (math-extract-units): Handle the `neg' operator. (Bug#19582)
2986 2015-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2988 * emacs-lisp/cl-macs.el (cl--labels-magic): New constant.
2989 (cl--labels-convert): Use it to ask the macro what is its replacement
2992 * emacs-lisp/cl-generic.el (cl--generic-build-combined-method):
2993 Return the value of the primary rather than the after method.
2995 * emacs-lisp/eieio-core.el: Provide support for cl-generic.
2996 (eieio--generic-tagcode): New function.
2997 (cl-generic-tagcode-function): Use it.
2998 (eieio--generic-tag-types): New function.
2999 (cl-generic-tag-types-function): Use it.
3000 (eieio-object-p): Tighten up the test.
3002 * emacs-lisp/cl-generic.el (cl-generic-define-method): Fix paren typo.
3004 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3006 * emacs-lisp/cl-generic.el: New file.
3008 * emacs-lisp/cl-macs.el (cl-flet): Allow (FUN EXP) forms.
3009 (cl-load-time-value, cl-labels): Use closures rather than
3011 (cl-macrolet): Use `eval' to create the function value, and support CL
3012 style arguments in for the defined macros.
3014 2015-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3016 * net/eww.el: Use lexical-binding.
3017 (eww-links-at-point): Remove unused arg.
3018 (eww-mode-map): Inherit from special-mode-map.
3019 (eww-mode): Derive from special-mode. Don't use `setq' on a hook.
3021 2015-01-13 Alan Mackenzie <acm@muc.de>
3023 Allow compilation during loading of CC Mode-derived modes (bug#19206).
3024 * progmodes/cc-bytecomp.el (cc-bytecomp-compiling-or-loading):
3025 New function which walks the stack to discover whether we're compiling
3027 (cc-bytecomp-is-compiling): Reformulate, and move towards beginning.
3028 (cc-bytecomp-is-loading): New defsubst.
3029 (cc-bytecomp-setup-environment, cc-bytecomp-restore-environment):
3030 Use the above defsubsts.
3031 (cc-require-when-compile, cc-bytecomp-defvar)
3032 (cc-bytecomp-defun): Simplify conditionals.
3033 * progmodes/cc-defs.el (cc-bytecomp-compiling-or-loading):
3034 "Borrow" this function from cc-bytecomp.el.
3035 (c-get-current-file): Reformulate using the above.
3036 (c-lang-defconst): Prevent duplicate entries of file names in a
3037 symbol's 'source property.
3038 (c-lang-const): Use cc-bytecomp-is-compiling.
3039 * progmodes/cc-langs.el (c-make-init-lang-vars-fun):
3040 Use cc-bytecomp-is-compiling.
3042 2015-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3044 * emacs-lisp/eieio-core.el (eieio-defclass): Fix call to `defclass'
3047 2015-01-13 Dmitry Gutov <dgutov@yandex.ru>
3049 * menu-bar.el (menu-bar-goto-menu): Before calling
3050 `xref-marker-stack-empty-p', first check that `xref' is loaded.
3053 2015-01-12 Martin Rudalics <rudalics@gmx.at>
3055 * progmodes/xref.el (xref-marker-stack-empty-p): Add autoload
3058 * frame.el (frame-notice-user-settings): Remove code dealing with
3059 frame-initial-frame-tool-bar-height. Turn off `tool-bar-mode'
3060 only if `window-system-frame-alist' or `default-frame-alist' ask
3062 (make-frame): Update frame-adjust-size-history if needed.
3064 2015-01-12 Paul Eggert <eggert@cs.ucla.edu>
3066 Have 'make' output better GEN names
3067 * Makefile.in (PHONY_EXTRAS): New macro.
3068 (.PHONY): Depend on it, and on $(lisp)/loaddefs.el, so that the
3069 relevant files' time stamps are ignored.
3070 (custom-deps, $(lisp)/cus-load.el, finder-data)
3071 ($(lisp)/finder-inf.el): Use PHONY_EXTRAS.
3072 (custom-deps, $(lisp)/cus-load.el, finder-data)
3073 ($(lisp)/finder-inf.el, autoloads, $(lisp)/loaddefs.el)
3074 ($(lisp)/subdirs.el, update-subdirs):
3075 Output more-accurate destination names with GEN.
3077 Say "ELC foo.elc" instead of "GEN foo.elc"
3078 * Makefile.in (AM_V_ELC, am__v_ELC_, am__v_ELC_0, am__v_ELC_1):
3080 ($(THEFILE)c, .el.elc): Use them.
3082 2015-01-11 Michael Albinus <michael.albinus@gmx.de>
3084 * files.el (directory-files-recursively): Do not include
3085 superfluous remote file names.
3087 2015-01-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3089 * net/eww.el (eww): Interpret anything that looks like a protocol
3090 designator as a full URL.
3092 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3094 * net/shr.el (shr-urlify): Don't bother the user about
3095 invalidly-encoded display strings.
3097 2015-01-10 Ivan Shmakov <ivan@siamics.net>
3099 * net/shr.el (shr-urlify): Decode URLs before using them as titles
3102 2015-01-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3104 * net/eww.el (eww): Always interpret URLs that start with https?:
3105 as plain URLs, even if they have spaces in them (bug#19556).
3106 (eww): Also interpret things like "en.wikipedia.org/wiki/Free
3107 software" as an URL.
3108 (eww): Don't interpret "org/foo" as an URL.
3109 (eww): Clear the title when loading so that we don't display
3110 misleading information.
3112 2015-01-10 Daniel Colascione <dancol@dancol.org>
3114 * vc/vc-hooks.el (vc-prefix-map): Bind vc-delete-file to C-x v x,
3115 by analogy with dired.
3117 2015-01-09 Daniel Colascione <dancol@dancol.org>
3119 * progmodes/js.el (js--function-heading-1-re)
3120 (js--function-prologue-beginning): Parse ES6 generator function
3121 declarations. (That is, "function* name()").
3123 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3125 * emacs-lisp/eieio.el (defclass): Move from eieio-defclass all the code
3126 that creates functions, and most of the sanity checks.
3127 Mark as obsolete the <class>-child-p function.
3128 * emacs-lisp/eieio-core.el (eieio--define-field-accessors): Remove.
3129 (eieio--class, eieio--object): Use cl-defstruct.
3130 (eieio--object-num-slots): Define manually.
3131 (eieio-defclass-autoload): Use eieio--class-make.
3132 (eieio-defclass-internal): Rename from eieio-defclass. Move all the
3133 `(lambda...) definitions and most of the sanity checks to `defclass'.
3134 Mark as obsolete the <class>-list-p function, the <class> variable and
3135 the <initarg> variables. Use pcase-dolist.
3136 (eieio-defclass): New compatibility function.
3137 * emacs-lisp/eieio-opt.el (eieio-build-class-alist)
3138 (eieio-class-speedbar): Don't use eieio-default-superclass var.
3140 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3142 * emacs-lisp/eieio-generic.el: New file.
3143 * emacs-lisp/eieio-core.el: Move all generic function code to
3145 (eieio--defmethod): Declare.
3147 * emacs-lisp/eieio.el: Require eieio-generic. Move all generic
3148 function code to eieio-generic.el.
3149 * emacs-lisp/eieio-opt.el (eieio-help-generic): Move to
3151 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke): Update call
3152 to eieio--generic-call.
3153 * emacs-lisp/eieio-base.el (eieio-instance-inheritor): Don't use
3156 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3158 * emacs-lisp/chart.el (chart-add-sequence, chart-bar-quickie):
3159 Don't use <class> as a variable.
3161 * emacs-lisp/eieio.el (same-class-p): Accept class object as well.
3162 (call-next-method): Simplify.
3163 (clone): Obey eieio-backward-compatibility.
3165 * emacs-lisp/eieio-opt.el (eieio-read-generic-p): Remove.
3166 (eieio-read-generic): Use `generic-p' instead.
3168 * emacs-lisp/eieio-core.el (eieio-backward-compatibility): New var.
3169 (eieio-defclass-autoload): Obey it.
3170 (eieio--class-object): Improve error behavior.
3171 (eieio-class-children-fast, same-class-fast-p): Remove. Inline at
3173 (eieio--defgeneric-form-primary-only): Rename from
3174 eieio-defgeneric-form-primary-only; update all callers.
3175 (eieio--defgeneric-form-primary-only-one): Rename from
3176 eieio-defgeneric-form-primary-only-one; update all callers.
3177 (eieio-defgeneric-reset-generic-form)
3178 (eieio-defgeneric-reset-generic-form-primary-only)
3179 (eieio-defgeneric-reset-generic-form-primary-only-one): Remove.
3180 (eieio--method-optimize-primary): New function to replace them.
3181 (eieio--defmethod, eieio-defmethod): Use it.
3182 (eieio--perform-slot-validation): Rename from
3183 eieio-perform-slot-validation; update all callers.
3184 (eieio--validate-slot-value): Rename from eieio-validate-slot-value.
3185 Change `class' to be a class object. Update all callers.
3186 (eieio--validate-class-slot-value): Rename from
3187 eieio-validate-class-slot-value. Change `class' to be a class object.
3189 (eieio-oset-default): Accept class object as well.
3190 (eieio--generic-call-primary-only): Rename from
3191 eieio-generic-call-primary-only. Update all callers.
3193 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
3194 Improve error messages.
3195 (eieio-persistent-slot-type-is-class-p): Handle `list-of' types, as
3196 well as user-defined types. Emit errors for legacy types like
3197 <class>-child and <class>-list, if not eieio-backward-compatibility.
3199 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3201 * emacs-lisp/eieio.el (eieio-class-parents): Accept class objects.
3202 (eieio--class-slot-initarg): Rename from class-slot-initarg.
3203 Change `class' arg to be a class object. Update all callers.
3204 (call-next-method): Adjust to new return value of `eieio-generic-form'.
3205 (eieio-default-superclass): Set var to the class object.
3206 (eieio-edebug-prin1-to-string): Fix recursive call for lists.
3207 Change print behavior to affect class objects rather than
3210 * emacs-lisp/eieio-core.el (eieio-class-object): New function.
3211 (eieio-class-parents-fast): Remove macro.
3212 (eieio--class-option-assoc): Rename from class-option-assoc.
3214 (eieio--class-option): Rename from class-option. Change `class' arg to
3215 be a class object. Update all callers.
3216 (eieio--class-method-invocation-order): Rename from
3217 class-method-invocation-order. Change `class' arg to be a class
3218 object. Update all callers.
3219 (eieio-defclass-autoload, eieio-defclass): Set the `parent' field to
3220 a list of class objects rather than names.
3221 (eieio-defclass): Remove redundant quotes. Use `eieio-oref-default'
3222 for accessors to class allocated slots.
3223 (eieio--perform-slot-validation-for-default): Rename from
3224 eieio-perform-slot-validation-for-default. Update all callers.
3225 (eieio--add-new-slot): Rename from eieio-add-new-slot.
3226 Update all callers. Use push.
3227 (eieio-copy-parents-into-subclass): Adjust to new content of
3228 `parent' field. Use dolist.
3229 (eieio-oref): Remove support for providing a class rather than
3231 (eieio-oref-default): Prefer class objects over class names.
3232 (eieio--slot-originating-class-p): Rename from
3233 eieio-slot-originating-class-p. Update all callers. Use `or'.
3234 (eieio--slot-name-index): Turn check into assertion.
3235 (eieio--class-slot-name-index): Rename from
3236 eieio-class-slot-name-index. Change `class' arg to be a class object.
3238 (eieio-attribute-to-initarg): Move to eieio-test-persist.el.
3239 (eieio--c3-candidate): Rename from eieio-c3-candidate.
3241 (eieio--c3-merge-lists): Rename from eieio-c3-merge-lists.
3243 (eieio--class-precedence-c3): Rename from eieio-class-precedence-c3.
3245 (eieio--class-precedence-dfs): Rename from eieio-class-precedence-dfs.
3247 (eieio--class-precedence-bfs): Rename from eieio-class-precedence-bfs.
3248 Update all callers. Adjust to new `parent' content.
3249 (eieio--class-precedence-list): Rename from -class-precedence-list.
3251 (eieio-generic-call): Use autoloadp and autoload-do-load.
3252 Slight simplification.
3253 (eieio-generic-call, eieio-generic-call-primary-only): Adjust to new
3254 return value of `eieio-generic-form'.
3255 (eieiomt-add): Index the hashtable with class objects rather than
3257 (eieio-generic-form): Accept class objects as well.
3259 * emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object):
3260 Adjust to new convention for eieio-persistent-validate/fix-slot-value.
3261 (eieio-persistent-validate/fix-slot-value):
3262 Change `class' arg to be a class object. Update all callers.
3264 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3266 * emacs-lisp/eieio.el (child-of-class-p): Make it accept class objects
3267 additionally to class names.
3269 * emacs-lisp/eieio-core.el (eieio--with-scoped-class): Use let-binding.
3270 (object): Remove first (constant) slot; rename second to `class-tag'.
3271 (eieio--object-class-object, eieio--object-class-name): New funs
3272 to replace eieio--object-class.
3273 (eieio--class-object, eieio--class-p): New functions.
3274 (same-class-fast-p): Make it a defsubst, change its implementation
3275 to check the class objects rather than their names.
3276 (eieio-object-p): Rewrite.
3277 (eieio-defclass): Adjust the object initialization according to the new
3279 (eieio--scoped-class): Declare it returns a class object (not a class
3280 name any more). Adjust calls accordingly (along with calls to
3281 eieio--with-scoped-class).
3282 (eieio--slot-name-index): Rename from eieio-slot-name-index and change
3283 its class arg to be a class object. Adjust callers accordingly.
3284 (eieio-slot-originating-class-p): Make its start-class arg a class
3285 object. Adjust all callers.
3286 (eieio--initarg-to-attribute): Rename from eieio-initarg-to-attribute.
3287 Make its `class' arg a class object. Adjust all callers.
3289 * emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value):
3290 Use eieio--slot-name-index rather than eieio-slot-name-index.
3292 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3294 * emacs-lisp/eieio.el (make-instance): Simplify by not adding an object
3296 (eieio-object-name): Use eieio-object-name-string.
3297 (eieio--object-names): New const.
3298 (eieio-object-name-string, eieio-object-set-name-string): Re-implement
3299 using a hashtable rather than a built-in slot.
3300 (eieio-constructor): Rename from `constructor'. Remove `newname' arg.
3301 (clone): Don't mess with the object's "name".
3303 * emacs-lisp/eieio-custom.el (eieio-widget-test): Remove dummy arg.
3304 (eieio-object-value-get): Use eieio-object-set-name-string.
3306 * emacs-lisp/eieio-core.el (eieio--defalias): Follow aliases.
3307 (eieio--object): Remove `name' field.
3308 (eieio-defclass): Adjust to new convention where constructors don't
3309 take an "object name" any more.
3310 (eieio--defgeneric-init-form, eieio--defmethod): Follow aliases.
3311 (eieio-validate-slot-value, eieio-oset-default)
3312 (eieio-slot-name-index): Don't hardcode eieio--object-num-slots.
3313 (eieio-generic-call-primary-only): Simplify.
3315 * emacs-lisp/eieio-base.el (clone) <eieio-instance-inheritor>:
3316 Use call-next-method.
3317 (eieio-constructor): Rename from `constructor'.
3318 (eieio-persistent-convert-list-to-object): Drop objname.
3319 (eieio-persistent-validate/fix-slot-value): Don't hardcode
3320 eieio--object-num-slots.
3321 (eieio-named): Use a normal slot.
3322 (slot-missing) <eieio-named>: Remove.
3323 (eieio-object-name-string, eieio-object-set-name-string, clone)
3324 <eieio-named>: New methods.
3326 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3328 * emacs-lisp/eieio-core.el (eieio--class-v): Rename from class-v.
3329 (method-*): Add a "eieio--" prefix to those constants.
3331 * emacs-lisp/eieio.el: Move edebug specs to the corresponding macro.
3333 * emacs-lisp/eieio-speedbar.el: Use lexical-binding.
3335 2015-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3337 * emacs-lisp/eieio.el (child-of-class-p): Fix case where `class' is
3338 `eieio-default-superclass'.
3340 * emacs-lisp/eieio-datadebug.el: Use lexical-binding.
3342 * emacs-lisp/eieio-custom.el: Use lexical-binding.
3343 (eieio-object-value-to-abstract): Simplify.
3345 * emacs-lisp/eieio-opt.el (eieio-build-class-list): Use cl-mapcan.
3346 (eieio-build-class-alist): Use dolist.
3347 (eieio-all-generic-functions): Adjust to use of hashtables.
3349 * emacs-lisp/eieio-core.el (class): Rename field symbol-obarray to
3350 symbol-hashtable. It contains a hashtable instead of an obarray.
3351 (generic-p): Use symbol property `eieio-method-hashtable' instead of
3352 `eieio-method-obarray'.
3353 (generic-primary-only-p, generic-primary-only-one-p):
3354 Slight optimization.
3355 (eieio-defclass-autoload-map): Use a hashtable instead of an obarray.
3356 (eieio-defclass-autoload, eieio-defclass): Adjust/simplify accordingly.
3357 (eieio-class-un-autoload): Use autoload-do-load.
3358 (eieio-defclass): Use dolist, cl-pushnew, cl-callf.
3359 Use new cl-deftype-satisfies. Adjust to use of hashtables.
3360 Don't hardcode the value of eieio--object-num-slots.
3361 (eieio-defgeneric-form-primary-only-one): Remove `doc-string' arg.
3362 Use a closure rather than a backquoted lambda.
3363 (eieio--defmethod): Adjust call accordingly. Set doc-string via the
3364 function-documentation property.
3365 (eieio-slot-originating-class-p, eieio-slot-name-index)
3366 (eieiomt--optimizing-hashtable, eieiomt-install, eieiomt-add)
3367 (eieio-generic-form): Adjust to use of hashtables.
3368 (eieiomt--sym-optimize): Rename from eieiomt-sym-optimize; take
3369 additional class argument.
3370 (eieio-generic-call-methodname): Remove, unused.
3372 * emacs-lisp/eieio-base.el (eieio-persistent-slot-type-is-class-p):
3375 2015-01-08 Eli Zaretskii <eliz@gnu.org>
3377 * simple.el (line-move-visual): When converting X pixel coordinate
3378 to temporary-goal-column, adjust the value for right-to-left
3379 screen lines. This fixes vertical-motion, next/prev-line, etc.
3381 2015-01-08 Glenn Morris <rgm@gnu.org>
3383 * files.el (file-tree-walk): Remove; of unknown authorship. (Bug#19325)
3385 2015-01-07 K. Handa <handa@gnu.org>
3387 * international/ccl.el (define-ccl-program): Improve the docstring.
3389 2015-01-06 Sam Steingold <sds@gnu.org>
3391 * shell.el (shell-display-buffer-actions): Remove,
3392 use `display-buffer-alist' instead.
3394 2015-01-05 Dmitry Gutov <dgutov@yandex.ru>
3396 * progmodes/xref.el (xref--insert-xrefs): Add `help-echo' property
3399 2015-01-05 Stefan Monnier <monnier@iro.umontreal.ca>
3401 * minibuffer.el (completion-category-defaults): New var.
3402 Set unicode-name to use substring completion.
3403 (completion-category-defaults): Set it to nil.
3405 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
3407 Add mouse interaction to xref.
3408 * progmodes/xref.el (xref--button-map): New variable.
3409 (xref--mouse-2): New command.
3410 (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to
3411 the inserted references.
3413 2015-01-04 Paul Eggert <eggert@cs.ucla.edu>
3415 Less 'make' chatter for lisp dir
3416 * Makefile.in (THEFILE): Define to be 'no-such-file' by default,
3417 to make it clearer that the caller must specify it.
3418 (compile-onefile): Remove, replacing by ...
3419 ($(THEFILE)c): ... new rule. This lets us use AM_V_GEN here.
3420 ($(THEFILE)c, .el.elc, $(MH_E_DIR)/mh-loaddefs.el)
3421 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3422 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3423 Use AM_V_GEN to lessen 'make' chatter.
3424 (.el.elc): Omit duplicate comment.
3426 Less 'make' chatter in batch mode
3427 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3428 * emacs-lisp/bytecomp.el (byte-compile-file):
3429 * files.el (save-buffer, basic-save-buffer):
3430 * international/quail.el (quail-update-leim-list-file):
3431 Don't output messages like "Generating ..." in batch mode.
3433 2015-01-04 Dmitry Gutov <dgutov@yandex.ru>
3435 Unbreak `mouse-action' property in text buttons.
3436 * button.el (push-button): Fix regression from 2012-12-06.
3438 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
3440 * progmodes/xref.el (xref-marker-stack-empty-p): New function.
3442 * menu-bar.el (menu-bar-goto-menu): Use it.
3444 2015-01-03 Dmitry Gutov <dgutov@yandex.ru>
3446 * progmodes/xref.el (xref--window-configuration): New variable.
3447 (xref-show-location-at-point): New command.
3448 (xref--restore-window-configuration): New function.
3449 (xref-next-line, xref-prev-line): Delegate to
3450 `xref-show-location-at-point'.
3451 (xref--location-at-point): Don't signal the error.
3452 (xref-goto-xref): Do that here instead.
3453 (xref--xref-buffer-mode): Add `xref--restore-window-configuration'
3454 to `pre-command-hook'.
3455 (xref--xref-buffer-mode-map): Don't remap `next-line' and
3456 `previous-line'. Additionally bind `xref-next-line' and
3457 `xref-prev-line' to `n' and `p' respectively.
3458 Bind `xref-show-location-at-point' to `C-o'.
3460 2015-01-01 Eli Zaretskii <eliz@gnu.org>
3462 * tool-bar.el (tool-bar-local-item)
3463 (tool-bar-local-item-from-menu): Call force-mode-line-update to
3464 make sure the tool-bar changes show on display.
3466 2015-01-01 Michael Albinus <michael.albinus@gmx.de>
3468 Sync with Tramp 2.2.11.
3470 * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
3471 Make an alias for `default-toplevel-value' if it doesn't exist.
3473 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3474 Use `tramp-compat-delete-directory'.
3476 * net/trampver.el: Update release number.
3478 2015-01-01 Filipp Gunbin <fgunbin@fastmail.fm>
3480 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode
3481 for remote files. (Bug#19449)
3483 2015-01-01 Simen Heggestøyl <simenheg@gmail.com> (tiny change)
3485 * textmodes/css-mode.el (scss-mode): Fix typo (bug#19446).
3487 2014-12-31 Paul Eggert <eggert@cs.ucla.edu>
3489 Less 'make' chatter in lisp directory
3490 * Makefile.in (AM_DEFAULT_VERBOSITY, AM_V_GEN, am__v_GEN_)
3491 (am__v_GEN_0, am__v_GEN_1): New macros, from ../src/Makefile.in.
3492 (custom-deps, finder-data, autoloads, update-subdirs): Use them.
3494 2014-12-31 Filipp Gunbin <fgunbin@fastmail.fm>
3496 * info.el (info-display-manual): Limit the completion alternatives
3497 to currently visited manuals if prefix argument is non-nil.
3499 2014-12-30 Paul Eggert <eggert@cs.ucla.edu>
3501 * Makefile.in (semantic): Simplify.
3503 2014-12-30 Juri Linkov <juri@linkov.net>
3505 * net/eww.el (eww-isearch-next-buffer): New function.
3506 (eww-mode): Set multi-isearch-next-buffer-function to it.
3508 2014-12-30 Dmitry Gutov <dgutov@yandex.ru>
3510 * progmodes/xref.el (xref-find-definitions): Mention "no
3511 identifier at point" case in the docstring.
3513 * menu-bar.el (menu-bar-goto-uses-etags-p): New function.
3514 (menu-bar-goto-menu): Use it to show or hide the `set-tags-name'
3515 and `separator-tag-file' items.
3517 2014-12-29 Paul Eggert <eggert@cs.ucla.edu>
3519 * obsolete/pc-select.el (pc-selection-mode): Use system-type.
3520 This is instead of system-name, which is both wrong here and obsolete.
3521 * desktop.el (desktop-save-frameset):
3522 * dnd.el (dnd-get-local-file-uri):
3523 * nxml/rng-uri.el (rng-uri-file-name-1):
3524 Prefer (system-name) to system-name, and avoid naming
3525 locals 'system-name'.
3526 * startup.el (system-name): Now an obsolete variable. (Bug#19438)
3528 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3530 * menu-bar.el (menu-bar-next-tag-other-window)
3531 (menu-bar-next-tag): Remove.
3533 2014-12-29 K. Handa <handa@gnu.org>
3535 * international/mule.el (make-translation-table-from-alist):
3536 Accept nil or zero-length vector for FROM and TO.
3538 2014-12-29 Lars Ingebrigtsen <larsi@gnus.org>
3540 * net/eww.el (eww-mode): Truncate overlong lines for prettier
3541 display when resizing.
3543 * net/shr.el (shr-width): Default to using the window width when
3546 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3548 Unbreak jumping to an alias's definition.
3549 * emacs-lisp/find-func.el (find-function-library): Return a pair
3550 (ORIG-FUNCTION . LIBRARY) instead of just its second element.
3551 (find-function-noselect): Use it.
3552 * progmodes/elisp-mode.el (elisp--xref-identifier-file): Rename to
3553 `elisp--xref-identifier-location', incorporate logic from
3554 `elisp--xref-find-definitions', use the changed
3555 `find-function-library' return value.
3557 2014-12-29 Juri Linkov <juri@linkov.net>
3559 * comint.el (comint-history-isearch-message): Use field-beginning
3560 instead of comint-line-beginning-position - that's more fixes for
3561 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
3562 (comint-history-isearch-message): Fix args of isearch-message-prefix.
3564 2014-12-29 Juri Linkov <juri@linkov.net>
3566 * vc/vc-dir.el (vc-dir-display-file): New command (bug#19450).
3567 (vc-dir-mode-map): Bind it to "\C-o".
3568 (vc-dir-menu-map): Add it to menu.
3570 2014-12-29 Dmitry Gutov <dgutov@yandex.ru>
3572 * progmodes/etags.el (find-tag-other-window)
3573 (find-tag-other-frame, find-tag-regexp, tags-loop-continue)
3574 (tags-apropos): Declare obsolete.
3576 * menu-bar.el (menu-bar-goto-menu): Replace all but one etags item
3579 2014-12-28 Eli Zaretskii <eliz@gnu.org>
3581 * international/mule.el (define-coding-system): Fix typos in the
3584 2014-12-28 Kenichi Handa <handa@gnu.org>
3586 * international/mule.el (define-coding-system): Improve the doc
3589 2014-12-28 Ivan Shmakov <ivan@siamics.net>
3591 * net/shr.el (shr-tag-table): Fix handling of tbody/header/footer
3592 elements in tables (bug#19444).
3594 * net/eww.el (eww-handle-link): Fix typo in "up" rel handling
3597 2014-12-28 Juri Linkov <juri@linkov.net>
3599 * vc/compare-w.el: Require diff-mode for diff faces.
3600 (compare-windows-removed, compare-windows-added): New faces
3601 inheriting from diff faces.
3602 (compare-windows): Define obsolete face alias.
3603 (compare-windows-highlight): Replace face `compare-windows' with
3604 new faces `compare-windows-added' and `compare-windows-removed'
3606 (compare-windows-get-recent-window): Signal an error when
3607 no other window is found (bug#19170).
3609 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3611 * progmodes/elisp-mode.el (elisp--xref-identifier-file):
3612 Skip features that have no sources.
3614 * simple.el (execute-extended-command):
3615 When `suggest-key-bindings' is nil, don't.
3617 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3619 python.el: Native readline completion.
3620 * progmodes/python.el (python-shell-completion-native-disabled-interpreters)
3621 (python-shell-completion-native-enable)
3622 (python-shell-completion-native-output-timeout): New defcustoms.
3623 (python-shell-completion-native-interpreter-disabled-p)
3624 (python-shell-completion-native-try)
3625 (python-shell-completion-native-setup)
3626 (python-shell-completion-native-turn-off)
3627 (python-shell-completion-native-turn-on)
3628 (python-shell-completion-native-turn-on-maybe)
3629 (python-shell-completion-native-turn-on-maybe-with-msg)
3630 (python-shell-completion-native-toggle): New functions.
3631 (python-shell-completion-native-get-completions): New function.
3632 (python-shell-completion-at-point): Use it.
3634 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3636 python.el: Enhance shell user interaction and deprecate
3637 python-shell-get-or-create-process.
3638 * progmodes/python.el (python-shell-get-process-or-error):
3640 (python-shell-with-shell-buffer): Use it.
3641 (python-shell-send-string, python-shell-send-region)
3642 (python-shell-send-buffer, python-shell-send-defun)
3643 (python-shell-send-file, python-shell-switch-to-shell): Use it.
3644 Add argument MSG to display user-friendly message when no process
3646 (python-shell-switch-to-shell): Call pop-to-buffer with NORECORD.
3647 (python-shell-make-comint): Rename argument SHOW from POP.
3648 Use display-buffer instead of pop-to-buffer.
3649 (run-python): Doc fix. Return process.
3650 (python-shell-get-or-create-process): Make obsolete.
3652 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3654 * progmodes/python.el (python-shell-buffer-substring):
3655 Handle cornercase when region sent starts at point-min.
3657 2014-12-27 Eli Zaretskii <eliz@gnu.org>
3659 * language/misc-lang.el (composition-function-table): Add Syriac
3660 characters and also ZWJ/ZWNJ.
3661 See http://lists.gnu.org/archive/html/help-gnu-emacs/2014-12/msg00248.html
3664 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3666 python.el: Fix message when sending region.
3667 * progmodes/python.el (python-shell-send-region): Rename argument
3668 send-main from nomain. Fix message.
3669 (python-shell-send-buffer): Rename argument send-main from arg.
3671 python.el: Cleanup temp files even with eval errors.
3672 * progmodes/python.el (python-shell-send-file): Make file-name
3673 mandatory. Fix temp file removal in the majority of cases.
3675 python.el: Handle file encoding for shell.
3676 * progmodes/python.el (python-rx-constituents): Add coding-cookie.
3677 (python-shell--save-temp-file): Write file with proper encoding.
3678 (python-shell-buffer-substring): Add coding cookie for detected
3679 encoding to generated content. Fix blank lines when removing
3681 (python-shell-send-file): Handle file encoding.
3682 (python-info-encoding-from-cookie)
3683 (python-info-encoding): New functions.
3685 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3687 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3688 Use `tramp-rsh-end-of-line', it ought to be more robust.
3690 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3692 * progmodes/js.el (js-syntax-propertize): "return" can't be divided
3695 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3697 * net/tramp.el (tramp-read-passwd): Ignore errors from `auth-source-*'.
3699 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use "\n"
3700 as end-of-line delimeter for passwords, when running on MS Windows.
3702 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3704 * progmodes/sh-script.el (sh-set-shell): Don't change the global value
3705 of indent-line-function (bug#19433).
3707 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3709 Fix line numbers on Python shell.
3710 * progmodes/python.el (python-shell--save-temp-file): Do not
3711 append coding cookie.
3712 (python-shell-send-string): Generalize for
3713 python-shell-send-region.
3714 (python--use-fake-loc): Delete var.
3715 (python-shell-buffer-substring): Cleanup fake-loc logic.
3716 (python-shell-send-region): Remove fake-loc logic, simplify.
3718 2014-12-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
3720 * progmodes/python.el (python-indent-post-self-insert-function):
3721 Make colon to re-indent only for dedenters, handling
3722 multiline-statements gracefully.
3724 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3726 * net/tramp.el (tramp-handle-insert-file-contents):
3727 Set `find-file-not-found-functions' in case of errors. (Bug#18623)
3729 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3731 * net/tramp-sh.el (tramp-send-command-and-read): New optional
3733 (tramp-get-remote-path): Use it.
3735 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3737 * subr.el (redisplay-dont-pause): Mark as obsolete.
3739 2014-12-27 Michael Albinus <michael.albinus@gmx.de>
3741 * net/tramp.el (tramp-error-with-buffer): Call `message' properly.
3742 (tramp-accept-process-output): Use nil as argument for
3743 `accept-process-output', when there is a gateway prepended.
3745 * net/tramp-gw.el (tramp-gw-open-connection): Suppress traces in
3747 (tramp-gw-open-connection): Set process coding system 'binary.
3748 (tramp-gw-open-network-stream): Handle HTTP error 403.
3750 * net/tramp-sh.el (tramp-compute-multi-hops): Suppress traces in
3752 (tramp-maybe-open-connection): Set connection property "gateway".
3754 2014-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3756 * subr.el (sit-for): Tweak docstring (bug#19381).
3758 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3760 * vc/vc-git.el (vc-git-after-dir-status-stage): Move `up-to-date'
3761 stage to after `diff-index' (bug#19386).
3763 2014-12-27 João Távora <joaotavora@gmail.com>
3765 * textmodes/tex-mode.el (tex-insert-quote): Consider and respect
3766 `electric-pair-mode' (bug#19356).
3768 2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
3770 elisp-xref-find: Don't create buffers eagerly.
3772 * progmodes/elisp-mode.el (elisp--identifier-location): Fold back
3773 into `elisp--company-location'.
3774 (elisp--identifier-completion-table): Rename to
3775 `elisp--identifier-completion-table', and do not include just any
3776 symbols with a property list.
3777 (elisp-completion-at-point): Revert the 2014-12-25 change.
3778 (elisp--xref-identifier-file): New function.
3779 (elisp--xref-find-definitions): Use it.
3781 * emacs-lisp/find-func.el (find-function-library): New function,
3782 extracted from `find-function-noselect'.
3784 * progmodes/xref.el (xref-elisp-location): New class.
3785 (xref-make-elisp-location): New function.
3786 (xref-location-marker): New implementation.
3788 2014-12-27 Juri Linkov <juri@linkov.net>
3790 * minibuffer.el (minibuffer-completion-help):
3791 Use shrink-window-if-larger-than-buffer in window-height
3792 when temp-buffer-resize-mode is nil.
3794 * window.el (with-displayed-buffer-window): Remove window-height
3795 from the action alist in the temp-buffer-window-show call
3796 when window-height is handled explicitly afterwards (bug#19355).
3798 2014-12-27 Juri Linkov <juri@linkov.net>
3800 Support subdirectories when saving places in dired.
3801 * saveplace.el (toggle-save-place, save-place-to-alist)
3802 (save-places-to-alist, save-place-dired-hook):
3803 Use dired-current-directory instead of dired-directory (bug#19436).
3804 (save-place-dired-hook): Add check for alist to make the new
3805 format future-proof to allow other possible formats.
3807 2014-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3809 python.el: Generate clearer shell buffer names.
3810 * progmodes/python.el (python-shell-get-process-name)
3811 (python-shell-internal-get-process-name): Use `buffer-name`.
3812 (python-shell-internal-get-or-create-process): Simplify.
3814 2014-12-26 Dmitry Gutov <dgutov@yandex.ru>
3816 Add basic xref apropos implementation to elisp-mode.
3818 * progmodes/elisp-mode.el (elisp--xref-find-definitions):
3819 Filter out nil results.
3820 (elisp--xref-find-apropos): New function.
3821 (elisp-xref-find): Use it.
3823 * progmodes/xref.el (xref--show-xrefs): Use `user-error'.
3825 2014-12-25 Filipp Gunbin <fgunbin@fastmail.fm>
3827 * dired-aux.el (dired-maybe-insert-subdir):
3828 Make dired-maybe-insert-subdir always skip trivial files.
3830 2014-12-25 Helmut Eller <eller.helmut@gmail.com>
3831 Dmitry Gutov <dgutov@yandex.ru>
3833 Consolidate cross-referencing commands.
3835 Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
3836 `C-x 5 .' from etags.el to xref.el.
3838 * progmodes/xref.el: New file.
3840 * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
3841 (elisp--identifier-location): New function, extracted from
3842 `elisp--company-location'.
3843 (elisp--company-location): Use it.
3844 (elisp--identifier-completion-table): New variable.
3845 (elisp-completion-at-point): Use it.
3846 (emacs-lisp-mode): Set the local values of `xref-find-function'
3847 and `xref-identifier-completion-table-function'.
3848 (elisp-xref-find, elisp--xref-find-definitions)
3849 (elisp--xref-identifier-completion-table): New functions.
3851 * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
3852 favor of `xref--marker-ring'.
3853 (tags-lazy-completion-table): Autoload.
3854 (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
3855 (find-tag-noselect): Use `xref-push-marker-stack'.
3856 (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
3857 (etags--xref-limit): New constant.
3858 (etags-xref-find, etags--xref-find-definitions): New functions.
3860 2014-12-25 Martin Rudalics <rudalics@gmx.at>
3862 * cus-start.el (resize-mini-windows): Make it customizable.
3864 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org>
3866 * startup.el (fancy-about-text): Change buttons for etc/CONTRIBUTE
3867 to (info "(emacs)Contributing"). (Bug#19299)
3869 2014-12-24 Martin Rudalics <rudalics@gmx.at>
3871 * window.el (mouse-autoselect-window-position-1): New variable.
3872 (mouse-autoselect-window-cancel)
3873 (mouse-autoselect-window-select, handle-select-window):
3874 With delayed autoselection select window only if mouse moves after
3875 selecting its frame.
3877 2014-12-24 Michael Albinus <michael.albinus@gmx.de>
3879 * eshell/esh-ext.el (eshell-find-interpreter): Expand relative
3880 remote file names. (Bug#18782)
3882 2014-12-23 Sam Steingold <sds@gnu.org>
3884 * shell.el (shell-display-buffer-actions): New user option.
3885 (shell): Pass it to `pop-to-buffer' instead of hard-coding
3886 `pop-to-buffer-same-window'.
3888 2014-12-23 Stefan Monnier <monnier@iro.umontreal.ca>
3890 * progmodes/js.el (js--syntax-propertize-regexp-syntax-table): New var.
3891 (js-syntax-propertize-regexp): Use it to recognize "slash in
3892 a character class" (bug#19397).
3894 2014-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3896 * completion.el: Use post-self-insert-hook (bug#19400).
3897 (completion-separator-self-insert-command)
3898 (completion-separator-self-insert-autofilling): Remove.
3899 (completion-separator-chars): New var.
3900 (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
3901 of changing the keymap.
3902 (completion--post-self-insert): New function.
3903 (dynamic-completion-mode): Use it instead of rebinding keys.
3904 (cmpl--completion-string): Rename from completion-string.
3905 (add-completion-to-head, delete-completion): Let-bind it explicitly.
3907 2014-12-22 Bozhidar Batsov <bozhidar@batsov.com>
3909 * progmodes/ruby-mode.el (ruby--string-region): Simplify code
3910 by leveraging `syntax-ppss'.
3912 2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
3914 * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
3916 2014-12-20 Michael Albinus <michael.albinus@gmx.de>
3918 * net/tramp-sh.el (tramp-histfile-override): Add :version.
3920 2014-12-20 Teodor Zlatanov <tzz@lifelogs.com>
3922 * net/tramp-sh.el (tramp-histfile-override): Clarify docstring.
3924 2014-12-19 Artur Malabarba <bruce.connor.am@gmail.com>
3926 * let-alist.el (let-alist): Enable access to deeper alists by
3927 using dots inside the dotted symbols.
3929 2014-12-19 Alan Mackenzie <acm@muc.de>
3931 Make C++11 uniform init syntax work.
3932 New keywords "final" and "override".
3933 * progmodes/cc-engine.el (c-back-over-member-initializer-braces):
3935 (c-guess-basic-syntax): Set `containing-sex' and `lim' using the
3937 * progmodes/cc-fonts.el (c-font-lock-declarations): Check more
3938 carefully for "are we at a declarator?" using
3939 c-back-over-member-initializers.
3940 * progmodes/cc-langs.el (c-type-modifier-kwds): Include "final"
3941 and "override" in the C++ value.
3943 2014-12-19 Martin Rudalics <rudalics@gmx.at>
3945 * textmodes/ispell.el (ispell-command-loop): Don't use `next-window'.
3947 2014-12-21 Lars Ingebrigtsen <larsi@gnus.org>
3949 * net/nsm.el (nsm-save-host): Don't save the host name twice
3952 2014-12-18 Sam Steingold <sds@gnu.org>
3954 Keyboard interface (C-f10) to `mouse-buffer-menu' (C-down-mouse-1).
3955 * mouse.el (mouse-buffer-menu-map): Extract from `mouse-buffer-menu'.
3956 (mouse-buffer-menu): Use `mouse-buffer-menu-map'.
3957 * menu-bar.el (menu-bar-buffer-vector): Extract from
3958 `menu-bar-update-buffers'.
3959 (menu-bar-update-buffers): Use `menu-bar-buffer-vector'.
3960 (buffer-menu-open): New user command, bound globally to C-f10,
3961 provides a keyboard interface to `mouse-buffer-menu' (C-down-mouse-1).
3962 (mouse-buffer-menu-keymap): Use `menu-bar-buffer-vector' to
3963 convert the value returned by `mouse-buffer-menu-map' to a list
3964 acceptable to `popup-menu' for `buffer-menu-open'.
3966 2014-12-18 Artur Malabarba <bruce.connor.am@gmail.com>
3968 * let-alist.el (let-alist): Evaluate the `alist' argument only once.
3970 2014-12-18 Sam Steingold <sds@gnu.org>
3972 * emacs-lisp/package.el: Avoid compilation warning by declaring
3973 the `find-library-name' function.
3974 (package-activate-1): Fix the `with-demoted-errors' calls:
3975 the first argument must be a string literal.
3977 2014-12-18 Martin Rudalics <rudalics@gmx.at>
3979 Add code for "preserving" window sizes.
3980 * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
3982 (dired-mark-pop-up): Preserve size of window showing marked files.
3983 * electric.el (Electric-pop-up-window):
3984 * help.el (resize-temp-buffer-window): Call fit-window-to-buffer
3985 with `preserve-size' t.
3986 * minibuffer.el (minibuffer-completion-help):
3987 Use `resize-temp-buffer-window' instead of `fit-window-to-buffer'
3988 (Bug#19355). Preserve size of completions window.
3989 * register.el (register-preview): Preserve size of register
3991 * tmm.el (tmm-add-prompt): Call fit-window-to-buffer
3992 with `preserve-size' t (Bug#1291).
3993 * window.el (with-displayed-buffer-window): Add calls to
3994 `window-preserve-size'.
3995 (window-min-pixel-size, window--preservable-size)
3996 (window-preserve-size, window-preserved-size)
3997 (window--preserve-size, window--min-size-ignore-p): New functions.
3998 (window-min-size, window-min-delta, window--resizable)
3999 (window--resize-this-window, split-window-below)
4000 (split-window-right): Amend doc-string.
4001 (window--min-size-1, window-sizable, window--size-fixed-1)
4002 (window-size-fixed-p, window--min-delta-1)
4003 (frame-windows-min-size, window--max-delta-1, window-resize)
4004 (window--resize-child-windows, window--resize-siblings)
4005 (enlarge-window, shrink-window, split-window): Handle preserving
4007 (adjust-window-trailing-edge): Handle preserving window
4008 sizes. Signal user-error instead of an error when there's no
4009 window above or below.
4010 (window--state-put-2): Handle horizontal scroll bars.
4011 (window--display-buffer): Call `preserve-size' if asked for.
4012 (display-buffer): Mention `preserve-size' alist member in doc-string.
4013 (fit-window-to-buffer): New argument PRESERVE-SIZE.
4014 * textmodes/ispell.el (ispell-command-loop): Suppress horizontal
4015 scroll bar on ispell's windows. Don't count window lines and
4016 don't deal with dedicated windows.
4017 (ispell-show-choices, ispell-help): Let `ispell-display-buffer'
4018 do the window handling.
4019 (ispell-adjusted-window-height, ispell-overlay-window): Remove.
4020 (ispell-display-buffer): New function to reuse, create and fit
4021 window to ispell's buffers. (Bug#3413)
4023 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
4025 * emacs-lisp/package.el (package-activate): Do not re-activate or
4026 reload the dependencies (bug#19390).
4028 2014-12-18 Stefan Monnier <monnier@iro.umontreal.ca>
4030 * progmodes/cc-cmds.el (c-subword-mode): Alias to subword-mode.
4031 (c-update-modeline):
4032 * progmodes/cc-langs.el (c-mode-menu): Use c-subword-mode.
4033 * progmodes/cc-mode.el (subword-mode): Move autoload to cc-cmds.el.
4034 (c-mode-base-map): Use c-subword-mode.
4036 2014-12-18 Eli Zaretskii <eliz@gnu.org>
4038 * international/mule-diag.el (describe-font-internal):
4039 Display additional info returned by font-info.
4041 * linum.el (linum--face-width): Rename from linum--face-height,
4042 and use the new functionality of font-info.
4043 (linum-update-window): Use linum--face-width and frame-char-width,
4044 instead of approximating with height.
4046 2014-12-18 Dmitry Gutov <dgutov@yandex.ru>
4048 * vc/vc-svn.el (vc-svn-dir-status-files): Revert the 2014-12-02
4049 change (bug#19387). Use `apply' on `vc-dir-command' (bug#19405).
4051 * emacs-lisp/package.el (package-activate-1): Add RELOAD argument
4053 (package-activate): Call itself on dependencies on PACKAGE with
4054 the same FORCE argument. Pass FORCE as RELOAD into
4055 `package-activate-1' (bug#19390).
4057 2014-12-17 Sam Steingold <sds@gnu.org>
4059 * emacs-lisp/package.el (package--list-loaded-files):
4060 Handle `(nil ...)' elements in `load-history'.
4062 2014-12-17 Teodor Zlatanov <tzz@lifelogs.com>
4064 * net/tramp-sh.el (tramp-histfile-override): New variable.
4065 (tramp-open-shell, tramp-maybe-open-connection): Use it.
4067 2014-12-17 Dmitry Gutov <dgutov@yandex.ru>
4069 * vc/vc.el: Improve `dir-status-files' description.
4071 * emacs-lisp/package.el (package--list-loaded-files): Don't call
4072 file-truename on load-history elements (bug#19390).
4074 2014-12-16 Nicolas Petton <petton.nicolas@gmail.com>
4076 * emacs-lisp/seq.el: New file.
4078 2014-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4080 * jit-lock.el (jit-lock-function): Don't defer if jit-lock-defer-time
4081 is 0 and there is no input pending.
4083 2014-12-15 Juri Linkov <juri@linkov.net>
4085 * replace.el (query-replace-read-from): Use query-replace-compile-replacement
4086 only on the return value (bug#19383).
4088 2014-12-15 Juri Linkov <juri@linkov.net>
4090 * isearch.el (isearch-lazy-highlight-search): Extend the bound of
4091 the wrapped search by the length of the search string to be able
4092 to lazy-highlight the whole search string at point (bug#19353).
4094 2014-12-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4096 * net/shr.el (shr-fold-text): Don't bug out on zero-length text.
4098 2014-12-14 Alan Mackenzie <acm@muc.de>
4100 * cus-start.el (all): Add fast-but-imprecise-scrolling.
4102 2014-12-14 Artur Malabarba <bruce.connor.am@gmail.com>
4104 * let-alist.el: Add lexical binding.
4106 2014-12-14 Steve Purcell <steve@sanityinc.com> (tiny change)
4108 * emacs-lisp/package.el (package-menu-mode): Use an extra column
4109 for the "Version" column, to accomodate date-and-time-based versions.
4111 2014-12-14 Cameron Desautels <camdez@gmail.com>
4113 * cus-edit.el (custom-unsaved-options): New function, extracted
4114 from `customize-unsaved'.
4115 (custom-unsaved): Use it.
4116 (custom-prompt-customize-unsaved-options): New function.
4119 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
4121 * fringe.el (fringe-bitmap-p): Fix 2014-12-05 breakage.
4123 2014-12-14 Dmitry Gutov <dgutov@yandex.ru>
4125 Move ASYNC argument to the `diff' VC command to the fifth
4126 position, for better compatibility with existing third-party code,
4129 * vc/vc.el (vc-diff-internal): Pass `async' argument to the
4130 backend `diff' command in the last position.
4132 * vc/vc-svn.el (vc-svn-diff):
4133 * vc/vc-src.el (vc-src-diff):
4134 * vc/vc-sccs.el (vc-sccs-diff):
4135 * vc/vc-rcs.el (vc-rcs-diff):
4136 * vc/vc-mtn.el (vc-mtn-diff):
4137 * vc/vc-hg.el (vc-hg-diff):
4138 * vc/vc-git.el (vc-git-diff):
4139 * vc/vc-dav.el (vc-dav-diff):
4140 * vc/vc-cvs.el (vc-cvs-diff):
4141 * vc/vc-bzr.el (vc-bzr-diff):
4142 * obsolete/vc-arch.el (vc-arch-diff): Move ASYNC argument to the end.
4144 2014-12-14 Paul Eggert <eggert@cs.ucla.edu>
4146 * emacs-lisp/cconv.el (cconv--analyze-use):
4147 Rename from cconv--analyse-use.
4148 (cconv--analyze-function): Rename from cconv--analyse-function.
4149 (cconv-analyze-form): Rename from cconv-analyse-form.
4151 2014-12-13 Andreas Schwab <schwab@linux-m68k.org>
4153 * net/shr.el (shr-next-link): Don't error out at eob.
4155 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4157 * isearch.el (isearch-open-necessary-overlays): Open overlay
4158 ending at point (bug#19333).
4160 2014-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4162 * net/shr.el (shr-fold-text): New function.
4163 (shr-show-alt-text, shr-urlify, shr-tag-img): Use it to fold long
4165 (shr-fold-text): Inhibit state from being altered.
4167 * files.el (directory-files-recursively): Really check whether
4169 (directory-name-p): New function.
4170 (directory-files-recursively): Use it.
4172 2014-12-13 Artur Malabarba <bruce.connor.am@gmail.com>
4174 * emacs-lisp/package.el (package--list-loaded-files): New function
4175 to list files in a given directory which correspond to already
4177 (package-activate-1): Reload files given by `package--list-loaded-files'.
4178 Fix bug#10125, bug#18443, and bug#18448.
4180 2014-12-13 Eric S. Raymond <esr@snark.thyrsus.com>
4182 * vc/vc-svn.el (vc-svn-diff): Fix bug #19312.
4184 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
4186 * simple.el (password-word-equivalents): Add "passcode", used for
4187 numeric secrets like PINs or RSA tokens.
4189 2014-12-13 Michael Albinus <michael.albinus@gmx.de>
4191 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in
4192 order to determine `tramp-own-remote-path'.
4194 2014-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4196 * progmodes/python.el (python-shell-parse-command):
4197 Quote `python-shell-interpreter`. (Bug#19289)
4199 2014-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4201 * progmodes/python.el (python-indent-line): Use `noindent' in strings.
4202 (python-indent-levels): Document extra value.
4203 (python-indent-calculate-indentation): Return `noindent' in strings.
4204 (python-indent-post-self-insert-function)
4205 (python-indent-calculate-levels): Handle new value.
4207 2014-12-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
4209 * net/network-stream.el (network-stream-open-starttls): No need to
4210 check for the availability of `gnutls-available-p'.
4212 * files.el (directory-files-recursively): Don't follow symlinks to
4215 2014-12-12 Eric S. Raymond <esr@snark.thyrsus.com>
4217 * vc/vc-dav.el, vc/vc-git.el, vc/vc-hg.el, vc/vc-src.el:
4218 * vc/vc.el: latest-on-branch-p is no longer a public method.
4220 * vc/vc.el, vc/vc-hg.el, vc/vc-git.el, vc/vc-hooks.el:
4221 * vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el, vc/vc-src.el:
4222 Remove `rollback' method, to be replaced in the future by uncommit.
4224 2014-12-11 Michael Albinus <michael.albinus@gmx.de>
4226 * vc/vc-hg.el (vc-hg-state): Make FILE absolute. Handle the case
4227 that there is empty output.
4229 2014-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4231 * emacs-lisp/eldoc.el (eldoc-documentation-function): Change default.
4232 (eldoc-mode, eldoc-schedule-timer): Adjust to new default.
4234 2014-12-10 Artur Malabarba <bruce.connor.am@gmail.com>
4236 * let-alist.el: Add new package and macro.
4238 2014-12-10 Eric S. Raymond <esr@snark.thyrsus.com>
4240 * vc/vc-dispatcher.el, vc/vc-hooks.el, vc/vc-rcs.el:
4241 * vc/vc-sccs.el, vc/vc.el: Righteous featurectomy of vc-keep-workfiles,
4242 it's a shoot-self-in-foot archaism. Workfiles are always kept.
4244 2014-12-10 Rasmus Pank Roulund <emacs@pank.eu>
4246 * net/ange-ftp.el (ange-ftp-switches-ok): Disallow flags causing
4247 trouble with ls over ftp. These flags result in ls returning no
4248 output, causing Tramp-breakage. (bug#19192)
4250 2014-12-10 Andreas Schwab <schwab@suse.de>
4252 * files.el (file-tree-walk): Use file-name-as-directory unconditionally.
4254 2014-12-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4256 * files.el (directory-files-recursively):
4257 Use `file-name-all-completions' instead of `directory-files' for
4260 * net/shr.el (shr-tag-object): Don't bug out on text elements in
4263 2014-12-09 Bozhidar Batsov <bozhidar@batsov.com>
4265 * progmodes/ruby-mode.el (auto-mode-alist): Add .rabl, Berksfile
4267 (ruby-toggle-string-quotes): New command that allows you to quickly
4268 toggle between single-quoted and double-quoted string literals.
4270 2014-12-09 Eric S. Raymond <esr@snark.thyrsus.com>
4272 * vc/vc-src.el (vc-src-do-comand): Prepend -- to file argument
4273 list, avoids problems witt names containing hyphens.
4275 2014-12-09 Wilson Snyder <wsnyder@wsnyder.org>
4277 Sync with upstream verilog-mode revision aa4b777.
4278 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4279 (verilog-auto-end-comment-lines-re, verilog-end-block-ordered-re)
4280 (verilog-set-auto-endcomments): Automatically comment property/
4281 endproperty blocks to match other similar blocks like sequence/
4282 endsequence, function/endfunction, etc. Reported by Alex Reed.
4283 (verilog-set-auto-endcomments): Fix end comments for functions of
4284 type void, etc. Detect the function- or task-name when
4285 auto-commenting blocks that lack an explicit portlist.
4286 Reported by Alex Reed.
4287 (verilog-nameable-item-re): Fix nameable items that can have an
4288 end-identifier to include endchecker, endgroup, endprogram,
4289 endproperty, and endsequence. Reported by Alex Reed.
4290 (verilog-preprocessor-re, verilog-beg-of-statement):
4291 Fix indentation of property/endproperty around pre-processor
4292 directives. Reported by Alex Reed.
4293 (verilog-label-be): When auto-commenting a buffer, consider
4294 auto-comments on all known keywords (not just a subset thereof).
4295 Reported by Alex Reed.
4296 (verilog-beg-of-statement): Fix labeling do-while blocks, bug842.
4297 Reported by Alex Reed.
4298 (verilog-beg-of-statement-1, verilog-at-constraint-p):
4299 Fix hanging with many curly-bracket pairs, bug663.
4300 (verilog-do-indent): Fix electric tab deleting form-feeds.
4301 Note caused by indent-line-to deleting tabls pre 24.5.
4302 (verilog-auto-output, verilog-auto-input, verilog-auto-inout)
4303 (verilog-auto-inout-module, verilog-auto-inout-in): Doc fixes.
4304 (verilog-read-always-signals, verilog-auto-sense-sigs)
4305 (verilog-auto-reset): Fix AUTORESET with always_comb and always_latch,
4306 bug844. Reported by Greg Hilton.
4308 2014-12-09 Alex Reed <acreed4@gmail.com> (tiny change)
4310 * progmodes/verilog-mode.el (verilog-no-indent-begin-re):
4311 Fix `verilog-indent-begin-after-if' nil not honoring 'forever',
4312 'foreach', and 'do' keywords.
4313 (verilog-endcomment-reason-re, verilog-beg-of-statement):
4314 Fix labeling do-while blocks, bug842.
4315 (verilog-backward-token): Fix indenting sensitivity lists with
4316 named events, bug840.
4318 2014-12-09 Reto Zimmermann <reto@gnu.org>
4320 Sync with upstream vhdl mode v3.36.1.
4321 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
4322 (vhdl-compiler-alist): Anchor all error regexps.
4323 (vhdl-compile-use-local-error-regexp): Change default to nil.
4324 (vhdl-asort, vhdl-anot-head-p): Remove.
4325 (vhdl-aput, vhdl-adelete, vhdl-aget): Simplify.
4326 Remove optional argument of vhdl-aget and update all callers.
4327 (vhdl-import-project): Also set `vhdl-compiler'.
4329 2014-12-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
4331 * files.el (find-files): New function.
4333 * net/shr.el (shr-dom-print): Don't print comments.
4334 (shr-tag-svg): Give inline SVG images the right type.
4336 * net/eww.el (eww-update-header-line-format): Mark valid/invalid
4337 certificates in the header line.
4338 (eww-invalid-certificate, eww-valid-certificate): New faces.
4340 2014-12-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
4342 * progmodes/python.el (inferior-python-mode):
4343 Set `comint-prompt-read-only` to `t` only locally.
4345 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4347 * net/nsm.el (nsm-check-protocol): Test for RC4 on `high'.
4348 (nsm-format-certificate): Include more data about the connection.
4349 (nsm-query): Fill the text to that it looks nicer.
4350 (nsm-check-protocol): Also warn if using SSL3 or older.
4352 2014-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4354 * progmodes/gud.el (gud-gdb-completions): Remove unused var `start'.
4356 * obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'.
4358 * net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg.
4360 * info.el (Info-mode-map): Remove left-over binding.
4362 * emacs-lisp/avl-tree.el: Use lexical-binding and cl-lib.
4363 (avl-tree--root): Remove redundant defsetf.
4365 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4367 * net/nsm.el (network-security-level): Remove the detailed
4368 description, which was already outdated, and refer the users to
4370 (nsm-check-protocol): Check for weak Diffie-Hellman prime bits
4373 2014-12-06 Andrey Kotlarski <m00naticus@gmail.com>
4375 * net/eww.el (eww-buffers-mode): New major mode.
4376 (eww-list-buffers, eww-buffer-select, eww-buffer-show-next)
4377 (eww-buffer-show-previous, eww-buffer-kill, eww-buffer-show):
4378 New commands/functions (bug#19131).
4380 2014-12-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4382 * net/gnutls.el (gnutls-negotiate): Ignore files found via
4383 'file-name-handler-alist' since the gnutls library can't use those
4386 2014-12-08 Dmitry Gutov <dgutov@yandex.ru>
4388 * vc/vc-hg.el (vc-hg-dir-status-files): Only include ignores files
4389 when FILES is non-nil (bug#19304).
4391 2014-12-08 Eric S. Raymond <esr@snark.thyrsus.com>
4393 * vc/vc-arch.el: Move to obsolete directory so a test framework
4394 won't trip over bit-rot in it. There has been no Arch snapshot
4397 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4399 * net/eww.el (eww-follow-link): Revert prefix behaviour to
4401 (eww-copy-page-url): Add doc string.
4403 2014-12-07 Ivan Shmakov <ivan@siamics.net>
4405 * net/eww.el (eww): Move history recording here...
4406 (eww-browse-url): ... from here (bug#19253).
4408 * net/eww.el (eww-browse-url): Use generate-new-buffer (was:
4409 iterating over possible buffer names.)
4411 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4413 * net/eww.el (eww-reload): Take a prefix to work locally (bug#19086).
4414 (eww-current-buffer): Compilation fix for bug#18550 patch.
4416 2014-12-07 Ivan Shmakov <ivan@siamics.net>
4418 * net/eww.el (eww-list-histories): Restore the history in the
4419 correct buffer (bug#18550).
4421 2014-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4423 * net/eww.el (eww-bookmark-prepare): Display URLs in first by
4424 displaying shortened titles first (bug#16398).
4426 2014-12-07 Tom Willemse <tom@ryuslash.org> (tiny change)
4428 * progmodes/python.el: Recognize docstrings.
4429 (python-docstring-at-p, python-font-lock-syntactic-face-function):
4431 (python-mode): Use them.
4433 2014-12-06 Ulf Jasper <ulf.jasper@web.de>
4435 * net/newst-treeview.el (newsticker--treeview-list-add-item)
4436 (newsticker--treeview-propertize-tag): Bind tree menu to mouse-3.
4437 (newsticker--treeview-create-groups-menu)
4438 (newsticker--treeview-create-tree-menu): Remove.
4439 (newsticker--treeview-tree-open-menu): New.
4440 (newsticker-treeview-tree-click): Pass event to
4441 `newsticker-treeview-tree-do-click'.
4442 (newsticker-treeview-tree-do-click): Open treemenu on mouse-3.
4444 2014-12-05 Juri Linkov <juri@linkov.net>
4446 * comint.el (comint-history-isearch-search)
4447 (comint-history-isearch-wrap): Use field-beginning instead of
4448 comint-line-beginning-position.
4449 (comint-send-input): Go to the end of the field instead of the end
4450 of the line to accept whole multi-line input.
4451 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00305.html
4453 2014-12-05 Juri Linkov <juri@linkov.net>
4455 * minibuffer.el (minibuffer-completion-help):
4456 Compare selected-window with minibuffer-window to check whether
4457 completions should be displayed near the minibuffer. (Bug#17809)
4458 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00311.html
4460 2014-12-05 Michael Albinus <michael.albinus@gmx.de>
4462 * vc/vc-mtn.el (vc-mtn-root):
4463 * vc/vc-svn.el (vc-svn-registered): Make FILE absolute.
4465 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4467 * progmodes/sh-script.el (sh-smie-sh-rules): Go back to the beginning
4468 of the whole pipe when indenting an opening keyword after a |.
4469 Generalize this treatment to opening keywords like "while" (bug#18031).
4471 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4473 * simple.el (newline): Place the hook buffer-locally,
4474 to make sure it's first.
4476 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
4477 Fix handling of symbols with different syntax at beginning/end or with
4478 symbol rather than word syntax.
4480 2014-12-05 Eli Zaretskii <eliz@gnu.org>
4482 * simple.el (line-move): If noninteractive, call line-move-1, not
4483 forward-line, since the former is compatible with line-move-visual
4484 both in terms of the column to which it moves and the return
4487 2014-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4489 * vc/ediff-init.el (ediff-odd-p): Remove.
4490 (ediff-background-face): Use cl-oddp instead.
4491 (ediff-buffer-live-p): Make it a defsubst.
4493 * tooltip.el (tooltip-region-active-p): Remove.
4495 * net/shr.el (shr-char-breakable-p, shr-char-kinsoku-bol-p)
4496 (shr-char-kinsoku-eol-p, shr-char-nospace-p): Use define-inline.
4498 * fringe.el (fringe-bitmap-p): Make it a plain function.
4500 * emacs-lisp/eieio-core.el: Prefer inlinable functions over macros.
4501 (class-p, generic-p, eieio-object-p, class-abstract-p):
4502 Make them defsubst, so as to avoid corner case problems where
4503 the arg might be evaluated in the condition-case, or it can't be passed
4504 to higher-order functions like `cl-some'.
4506 2014-12-05 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4508 * wid-edit.el (widget-choose): Let numeric keypad work (bug#19268)
4509 and remove old menu-related code.
4511 2014-12-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4513 * net/eww.el (eww-display-pdf): Let mailcap determine how to
4514 display PDF files (bug#19270).
4516 2014-12-05 Juri Linkov <juri@linkov.net>
4518 Compare with the most recent window by default.
4519 * vc/compare-w.el (compare-windows-get-window-function): New defcustom.
4520 (compare-windows-get-recent-window)
4521 (compare-windows-get-next-window): New functions.
4522 (compare-windows, compare-windows-sync-default-function):
4523 Use `compare-windows-get-window-function' instead of `next-window'.
4524 (compare-windows): Add diff/match messages with region boundaries.
4527 2014-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4529 * subr.el (filter): Remove. Use `cl-remove-if-not' or `seq-filter'.
4531 2014-12-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4533 * net/shr.el (shr--extract-best-source): Ignore non-text children.
4535 2014-12-04 Eli Zaretskii <eliz@gnu.org>
4537 Implement copying of a buffer portion while preserving visual order.
4538 * simple.el (bidi-directional-controls-chars)
4539 (bidi-directional-non-controls-chars): New variables.
4540 (squeeze-bidi-context-1, squeeze-bidi-context)
4541 (line-substring-with-bidi-context)
4542 (buffer-substring-with-bidi-context): New functions.
4544 * files.el (file-tree-walk): Doc fix.
4546 2014-12-04 Rupert Swarbrick <ruperts@broadcom.com> (tiny change)
4547 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
4549 * autoinsert.el (auto-insert-alist): Update C/C++ header and
4550 program support to match more extensions. Replace non-alnum
4551 characters when generating include guards (headers) and check for
4552 more extensions when generating includes (programs)
4555 2014-12-03 Eric S. Raymond <esr@snark.thyrsus.com>
4557 * files.el (file-tree-walk): Fix docstring.
4559 2014-12-03 Karl Fogel <kfogel@red-bean.com>
4561 Fix bug whereby saving files hung in VC hook.
4563 Saving a buffer visiting a file under SVN control would hang if
4564 the remote repository were unreachable, because the VC hooks tried
4565 to run "svn status -u" on the file, where the "-u" tells svn to
4566 get update information from the remote repository.
4567 http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00174.html
4569 * vc/vc-svn.el (vc-svn-state): Remove optional `localp'
4570 argument and always pass "-v" to "svn status", never "-u".
4572 2014-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4574 * emacs-lisp/inline.el: Fix up copyright header.
4575 (inline-quote, inline-const-p, inline-const-val, inline-error):
4576 Silence compiler warnings.
4577 (inline-letevals): Fix edebug spec.
4578 (inline--testconst-p): Consider lambda expressions as const-p.
4579 (inline--getconst-val): Use inline--testconst-p.
4581 * minibuffer.el (completion-table-dynamic): Add arg `switch-buffer'
4582 and change default to stay in the minibuffer when called from
4583 the minibuffer (bug#19250).
4584 (lazy-completion-table): Use this new argument to preserve the
4587 * progmodes/elisp-mode.el (elisp--local-variables): Don't burp on
4588 incorrect lexical elements (bug#19250).
4590 2014-12-03 A. N. Other <none@example.com>
4592 * files.el (file-tree-walk): Lisp translation of ANSI ftw(3).
4594 2014-12-02 Glenn Morris <rgm@gnu.org>
4596 * whitespace.el (whitespace-big-indent-regexp): Add :version.
4598 2014-12-02 Eric S. Raymond <esr@snark.thyrsus.com>
4600 * subr.el (filter): New macro. Because it's just silly for a Lisp
4601 not to have this in 2014. And VC needs it.
4603 * vc.el: All backends: API simplification: Abolish dir-status.
4604 It's replaced by dir-status-files.
4606 * vc.el: All backends: API simplification: Remove 4th
4607 'default-state' argument from vc-dir-status files and its backend
4608 methods - no backend method ever set it. It was used only in the
4609 fallback method to to set a default of 'up-to-date, though a
4610 convoluted call chain obscured this.
4612 * vc-hooks.el: Bind vc-delete-file to Ctrl-x v delete.
4614 * vc.el (vc-expand-dirs): Now takes a second BACKEND argument,
4615 improving behavior on directories using multiple file-oriented VCSes.
4617 * vc/vc.el: All backends: API simplification; clear-headers
4618 is no longer a public method. It is now local to the one place
4619 it's used, in the RCS steal-lock method.
4621 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4623 * vc/vc.el: In all backends: API simplification; could-register
4624 is no longer a public method. (vc-cvs.el still has a private
4627 * vc/vc.el: In all backends: API cleanup; the backend diff method
4628 takes an explicit async flag. This eliminates a particularly ugly
4631 * vc-bzr.el: Restore vc-bzr-state-heuristic as a private method.
4632 VC randomly/unpredictably fails without it; cause not yet established.
4634 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4636 Merge some of the differences from the standalone CC-mode.
4637 The main change is to only use the `category' text-property only when
4638 available. For that many calls are changed to use c-get-char-property,
4639 c-next-single-property-change, c-sc-scan-lists,
4640 c-sc-parse-partial-sexp, c-unmark-<->-as-paren.
4642 * progmodes/cc-mode.el (c-just-done-before-change): New var.
4643 (c-basic-common-init): Initialize it.
4644 (c-common-init): Only use mode-require-final-newline when available.
4645 (c-before-change): Check and set c-just-done-before-change.
4646 (c-after-change): Re-set c-just-done-before-change.
4647 (c-advise-fl-for-region): New macro.
4648 (lazy-lock-defer-rest-after-change, lazy-lock-defer-line-after-change)
4649 (font-lock-after-change-function, jit-lock-after-change):
4652 * progmodes/cc-langs.el (c-modified-constant): New lang var.
4653 (c-known-type-key): Don't make a list just to throw it away.
4655 * progmodes/cc-engine.el (c-invalidate-state-cache, c-parse-state):
4656 Handle the case where categories are not available.
4657 (c-record-parse-state-state, c-replay-parse-state-state):
4658 Handle marker values.
4659 (c-before-change-check-<>-operators): Look for the `syntax-table'
4660 property rather than for the corresponding `category'.
4661 (c-looking-at-decl-block): Remove unused var
4662 `c-disallow-comma-in-<>-arglists'.
4663 (c-forward-<>-arglist-recur): Remove unused var
4664 `orig-record-found-types'.
4666 * progmodes/cc-defs.el (c-version): Bump up to 5.33.
4667 (c-use-category): New const.
4668 (c-next-single-property-change): New macro.
4669 (c-region-is-active-p): Prefer region-active-p when available.
4670 (c-search-backward-char-property): Fix old min/max typo; probably
4672 (c-mark-<-as-paren, c-mark->-as-paren, c-unmark-<->-as-paren):
4673 Turn them into macros that obey c-use-category.
4674 (c-sc-scan-lists-no-category+1+1, c-sc-scan-lists-no-category+1-1)
4675 (c-sc-scan-lists-no-category-1+1, c-sc-scan-lists-no-category-1-1)
4676 (c-sc-scan-lists, c-sc-parse-partial-sexp)
4677 (c-looking-at-non-alphnumspace): New macros.
4678 (c-sc-parse-partial-sexp-no-category): New function.
4679 (c-emacs-features): Add `category-properties' element.
4681 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
4682 (c-backward-into-nomenclature): Use cc-subword if subword-mode is
4684 (c-beginning-of-defun, c-end-of-defun, c-mark-function)
4685 (c-indent-line-or-region): Use c-region-is-active-p.
4687 * progmodes/cc-bytecomp.el (cc-bytecomp-unbound-variables)
4688 (cc-bytecomp-original-functions, cc-bytecomp-original-properties)
4689 (cc-bytecomp-loaded-files): Re-set each time the file is loaded.
4690 (cc-bytecomp-obsolete-var, cc-bytecomp-ignore-obsolete)
4691 (cc-bytecomp-obsolete-fun): Delete unused functions.
4693 * progmodes/cc-align.el (c-lineup-respect-col-0): New function.
4695 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4697 * net/shr.el (shr-dom-print): Fix up `shr-dom-print' after the
4700 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4702 * vc/vc.el (vc-find-conflicted-file): Look for conflicted files in the
4703 current "project" rather than just the current directory.
4704 * vc/vc-git.el (vc-git-conflicted-files): Clarify in which directory
4705 the file names make sense.
4707 * vc/smerge-mode.el (smerge-swap): New command.
4709 * vc/diff-mode.el (diff-kill-applied-hunks): New command.
4711 2014-12-01 Ulf Jasper <ulf.jasper@web.de>
4713 * net/newst-treeview.el (newsticker--treeview-item-show):
4714 Check window liveliness before measuring its width.
4716 * net/newst-backend.el (newsticker--get-news-by-url-callback):
4717 Pass correct status to `newsticker--sentinel-work'.
4718 (newsticker--sentinel-work): Use "newsticker--download-error" as
4719 guid in order to prevent multiple "Could not download..."
4720 messages. (Bug#19166)
4722 2014-12-01 Ivan Shmakov <ivan@siamics.net>
4724 * net/eww.el (eww-render): Call `eww-after-render-hook' in the
4725 correct buffer (bug#19225).
4727 2014-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4729 * net/nsm.el (network-security-level): Change the default to `medium'.
4731 * net/eww.el (eww): Leave point in a place that doesn't cause
4732 scrolling when displaying "Loading...".
4734 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4736 * vc/vc.el, vc/vc-cvs.el, vc/vc-rcs.el, vc/vc-svn.el: The 'merge'
4737 backend method of RCS/CVS/SVN is now 'merge-file', to contrast with
4738 'merge-branch'. Prompting for merge revisions is pushed down to
4739 the back ends; this fixes a layering violation that caused bad
4742 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4743 vc-stay-local-p and repository-hostname are no longer public
4744 methods. Only the CVS and SVN backends used these, and the SVN
4745 support was conditioned out because svn status -v is too slow.
4746 The CVS back end retains this machinery and the vc-stay-local
4747 configuration variable now only affects it.
4749 2014-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4751 * emacs-lisp/inline.el: New file.
4753 2014-12-01 Eric S. Raymond <esr@snark.thyrsus.com>
4755 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4756 vc-state-heuristic is no longer a public method, having been
4757 removed where it is redundant, unnecessary, or known buggy.
4758 This eliminated all backends except CVS. Eliminates bug#7850.
4760 * vc/vc-cvs.el, vc/vc-hooks.el, vc/vc-rcs.el, vc/vc-sccs.el:
4761 Eliminate vc-mistrust-permissions. It was only relevant to the
4762 RCS and SCCS back ends and defaulted to t. Code now always
4763 mistrusts permissions - by actual measurement the effect on
4764 performance is negligible. As a side effect bug#11490 is now
4767 * vc/vc.el, vc-hooks.el: All backends: API simplification;
4768 vc-workfile-unchanged-p is no longer a public method (but the RCS
4769 and SCCS back ends retain it as a private method used in state
4770 computation). This method was redundant with vc-state and usually
4771 implemented as a trivial call to same. Fixes the failure mode
4772 described in bug#694.
4774 * vc/vc.el: All backends: API simplification; init-revision is
4775 gone, and vc-registered functions no longer take an
4776 initial-revision argument.
4778 2014-11-29 Glenn Morris <rgm@gnu.org>
4780 * vc/vc-src.el (vc-src, vc-src-diff-switches)
4781 (vc-src-master-templates): Fix :version tags.
4783 2014-11-29 Paul Rankin <paul@tilk.co> (tiny change)
4785 * outline.el (outline-move-subtree-down): Refactor and improve code.
4787 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4788 Stefan Monnier <monnier@iro.umontreal.ca>
4790 * outline.el (outline-move-subtree-down): Make sure we can move
4791 forward to find the end of the subtree and the insertion point
4794 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4796 * progmodes/python.el (python-shell-completion-setup-code):
4797 Use __builtin__ module (or builtins in Python 3) and catch all errors
4798 when importing readline and rlcompleter.
4800 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4802 * calendar/todo-mode.el: Handle calling revert-buffer (bug#19187).
4803 (todo-revert-buffer): New function.
4804 (todo-modes-set-1): Use it as the buffer-local value of
4805 revert-buffer-function.
4807 2014-11-29 Stephen Berman <stephen.berman@gmx.net>
4809 * calendar/todo-mode.el (todo-mode): If called interactively, just
4810 display a message saying to call todo-show to enter Todo mode
4813 2014-11-29 Dmitry Gutov <dgutov@yandex.ru>
4815 * vc/vc-hg.el (vc-hg-dir-status-files): Include ignored files.
4818 * vc/vc-bzr.el (vc-bzr-after-dir-status): Don't skip ignored
4821 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4823 * textmodes/makeinfo.el (makeinfo-buffer): Make it work also for
4824 remote `buffer-file-name'.
4826 2014-11-29 Leo Liu <sdl.web@gmail.com>
4828 * calendar/diary-lib.el (calendar-mark-1): Fix thinko.
4830 2014-11-29 Fabián Ezequiel Gallina <fgallina@gnu.org>
4832 Set PYTHONUNBUFFERED on shell startup.
4834 * progmodes/python.el (python-shell-unbuffered): New var.
4835 (python-shell-calculate-process-environment): Use it.
4837 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4839 * net/tramp.el (tramp-action-password): Clean password on subsequent
4840 attempts even if there was no wrong password indication. (Bug#19047)
4842 * net/tramp-sh.el (tramp-get-remote-locale): Return "LC_ALL=C" as
4844 (tramp-open-connection-setup-interactive-shell): No need to check
4845 for nil as `tramp-get-remote-locale' return value.
4847 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4849 * vc/vc-git.el (vc-git-command, vc-git--call):
4850 Bind coding-system-for-read and coding-system-for-write to
4851 vc-git-commits-coding-system.
4852 (vc-git-previous-revision): Use "~1" instead of "^", since the
4853 latter is a special character for MS-Windows system shells.
4855 2014-11-29 Michael Albinus <michael.albinus@gmx.de>
4857 Improve XEmacs compatibility.
4859 * net/tramp.el (tramp-autoload-file-name-handler):
4860 Wrap `temporary-file-directory' by `symbol-value', it doesn't
4862 (tramp-read-passwd): Don't use `with-timeout-suspend' and
4863 `with-timeout-unsuspend' if they don't exist, like in XEmacs.
4864 (tramp-time-less-p, tramp-time-subtract): Remove functions.
4865 (tramp-handle-file-newer-than-file-p, tramp-time-diff):
4866 * net/tramp-adb.el (tramp-adb-ls-output-time-less-p):
4867 * net/tramp-cache.el (tramp-get-file-property):
4868 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
4869 Use `time-less-p' and `time-subtract, respectively.
4871 * net/tramp-adb.el (top): Do not require time-date.el.
4873 * net/tramp-compat.el (top): Require time-date.el for XEmacs.
4875 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4876 Check, whether `utf-8' is a valid coding system.
4878 2014-11-29 Eli Zaretskii <eliz@gnu.org>
4880 * vc/vc.el (vc-retrieve-tag): Doc fix.
4882 2014-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4884 * simple.el (execute-extended-command--shorter): Fix the "M-p" case
4887 2014-11-28 Martin Rudalics <rudalics@gmx.at>
4889 Fix two issues around help-window-select. (Bug#11039) (Bug#19012)
4890 * help.el (help-window-old-frame): New variable.
4891 (help-window-select): Default to nil (Bug#11039).
4893 (help-window-setup): When the help window appears on another
4894 frame and `help-window-select' is non-nil, give that frame input
4895 focus too (Bug#19012).
4896 (with-help-window): Store selected frame in
4897 help-window-old-frame.
4899 2014-11-28 Ulf Jasper <ulf.jasper@web.de>
4901 * net/newst-treeview.el (newsticker--treeview-load): Take care of
4902 nil value for `newsticker-groups-filename'.
4904 2014-11-28 Daiki Ueno <ueno@gnu.org>
4906 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
4907 (epa-sign-region, epa-encrypt-region):
4908 Use `epg-context-set-{passphrase,progress}-callback', instead of
4909 `setf'. This partially reverts commit 9e48a95c (bug#19150).
4910 Reported by José A. Romero L.
4912 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4914 * net/eww.el (eww-restore-history):
4915 Bind `inhibit-modification-hooks' instead of `after-change-functions'.
4917 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4919 * net/newst-backend.el (newsticker--parse-atom-1.0):
4920 Handle embedded (x)html in summary node.
4922 2014-11-27 Sam Steingold <sds@gnu.org>
4924 * menu-bar.el (menu-bar-open): When everything else fails,
4925 use (mouse-menu-bar-map).
4927 2014-11-27 Ulf Jasper <ulf.jasper@web.de>
4929 * net/newst-treeview.el (newsticker-groups-filename):
4930 Change default value to nil. Point out that variable is obsolete in doc
4932 (newsticker--treeview-load): Change wording of the questions the
4933 user is asked when `newsticker-groups-filename' is found to be
4934 used and we offer to read and remove the groups file. (Bug#19165)
4936 2014-11-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4938 * net/eww.el (eww): Record the new URL immediately, so that if the
4939 HTTP fetch fails, we have the right URL in the buffer.
4940 (eww-process-text-input): Don't shorten the input field if
4941 deleting at the last character (bug#19085).
4942 (eww-restore-history): Inhibit change functions while restoring
4944 (eww-process-text-input): Fix deletion at the start of the field, too.
4945 (eww-mode): Revert mistanken removal of `buffer-disable-undo'.
4946 (eww-process-text-input): Try to keep track of the size more reliably.
4948 * dom.el (dom-pp): New function.
4950 2014-11-27 Eli Zaretskii <eliz@gnu.org>
4952 * vc/vc-bzr.el (vc-bzr-print-log, vc-bzr-expanded-log-entry):
4953 Don't assume --long is the default for "bzr log", always specify
4954 it explicitly, in case the user defined an alias for 'log' that
4955 uses some other format.
4957 2014-11-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
4959 * progmodes/python.el (python-eldoc--get-doc-at-point):
4960 Strip shell output before returning. (bug#18794)
4962 2014-11-27 Dmitry Gutov <dgutov@yandex.ru>
4964 Fix indentation before `!=' and after `+='. Originally reported
4965 in https://github.com/mooz/js2-mode/issues/174.
4966 * progmodes/js.el (js--indent-operator-re): Make assignments and
4967 (in)equality operator a separate case.
4968 (js--continued-expression-p): Escape the second `+' in the regexp.
4970 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4972 * window.el (handle-select-window): Deactivate shift-region (bug#19003).
4974 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4976 * net/nsm.el (nsm-new-fingerprint-ok-p): Display the certificate
4977 when querying about new certificates.
4979 * net/shr.el (shr-make-table-1): dom.el changes for table rendering.
4981 * dom.el (dom-by-tag): Use `equal' for comparisons so that tags
4983 (dom-elements): Protect against non-text nodes.
4984 (dom-non-text-children): New function.
4986 * net/eww.el (eww-tag-title): Use `dom-text'.
4988 2014-11-26 Sam Steingold <sds@gnu.org>
4990 * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
4992 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4994 * net/eww.el (eww-highest-readability): More dom.el fixes.
4996 2014-11-26 Ulf Jasper <ulf.jasper@web.de>
4998 * net/newst-backend.el (newsticker--parse-generic-items):
4999 Take care of UIDs when adding elements to cache.
5001 2014-11-26 Alan Mackenzie <acm@muc.de>
5003 Remove spurious reference to symbol category_properties.
5004 * progmodes/cc-engine.el (c-state-pp-to-literal): Fix here.
5006 2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5008 * net/eww.el: Use the new dom.el accessors throughout.
5010 * net/shr.el: Ditto.
5014 2014-11-26 Glenn Morris <rgm@gnu.org>
5016 * arc-mode.el (archive-visit-single-files): Add :version.
5018 2014-11-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5020 * net/nsm.el (nsm-format-certificate): Don't bug out on missing
5022 (nsm-warnings-ok-p): The new version of this function always
5023 returned nil when everything was OK.
5025 2014-11-25 Teodor Zlatanov <tzz@lifelogs.com>
5027 * net/gnutls.el (gnutls): Set :group to 'comm so it's near NSM.
5029 * net/nsm.el (nsm-check-tls-connection, nsm-save-host)
5030 (nsm-warnings-ok-p): Use `gnutls-peer-status-warning-describe'.
5032 2014-11-20 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5034 * emacs-lisp/byte-run.el (function-put): Match argument names to
5037 2014-11-24 Sam Steingold <sds@gnu.org>
5039 * vc/vc-hooks.el (vc-directory-exclusion-list):
5040 Fix a trivial typo (bug#19171).
5042 2014-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5044 * vc/vc-hooks.el (vc-state-base-face): Don't override
5047 2014-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5049 * net/eww.el (eww-set-character-encoding): Use `read-coding-system'.
5050 (eww-process-text-input): Inhibit read only so that input fields
5051 don't get shortened (bug#19085).
5053 2014-11-24 Leo Liu <sdl.web@gmail.com>
5055 * emacs-lisp/macroexp.el (macroexp-let2*): New macro.
5057 * window.el (with-temp-buffer-window)
5058 (with-current-buffer-window, with-displayed-buffer-window):
5059 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin):
5060 * emacs-lisp/cl-lib.el (substring):
5061 * emacs-lisp/cl-extra.el (cl-getf): Use it.
5063 2014-11-24 Eli Zaretskii <eliz@gnu.org>
5065 * isearch.el (isearch-update): Don't assume
5066 pos-visible-in-window-p will return nil when point is hscrolled
5067 out of view. (Bug#19157)
5069 2014-11-20 Andrey Kotlarski <m00naticus@gmail.com>
5071 * net/eww.el (eww-browse-url): Optionally create new eww buffer.
5072 (eww-follow-link): Follow in new buffer in case of prefix
5073 argument, open externally with double prefix (bug#19130).
5075 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5077 * net/eww.el (eww-display-html): Decode the document-defined charset.
5078 (eww): Pop to the *eww* buffer immediately after executing the
5079 `M-x eww' command to avoid having buffers pop up later.
5080 (eww-display-html): Don't pop the *eww* buffer.
5081 (eww-display-raw): Ditto.
5082 (eww-display-image): Ditto.
5083 (eww-follow-link): Make going to #targets in the page work again.
5085 2014-11-23 Ivan Shmakov <ivan@siamics.net>
5087 * net/eww.el (eww-suggest-uris): New variable.
5088 (eww-suggested-uris): New function.
5089 (eww): Default to URL under point.
5090 (eww-links-at-point): New function.
5092 2014-11-20 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
5094 * net/eww.el (eww-add-bookmark): Fix bookmark titles.
5096 2014-11-17 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
5098 * net/eww.el (eww-mode-map): Bind backtab to shr-previous-link.
5100 2014-11-23 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
5102 * net/eww.el (eww-set-character-encoding): New command and keystroke.
5103 (eww-display-raw): Use it (bug#16225).
5105 2014-11-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5107 * net/nsm.el (network-security-level): Rename from
5108 `nsm-security-level' and documented.
5110 * mail/smtpmail.el (smtpmail-via-smtp): Warn unless encrypted and
5111 we're sending a password.
5113 * net/nsm.el: New file that implements a Network Security Manager.
5115 * net/network-stream.el (open-network-stream): Add a new
5116 :warn-unless-encrypted parameter.
5117 (network-stream-open-plain): Allow warning unless encrypted.
5118 (network-stream-open-starttls): Call the Network Security Manager.
5119 (network-stream-open-tls): Ditto.
5121 2014-11-23 Leo Liu <sdl.web@gmail.com>
5123 * calendar/cal-china.el (calendar-chinese-from-absolute-for-diary)
5124 (calendar-chinese-to-absolute-for-diary)
5125 (calendar-chinese-mark-date-pattern, diary-chinese-anniversary):
5126 Handle leap months in Chinese calendar. (Bug#18953)
5128 2014-11-22 Alan Mackenzie <acm@muc.de>
5130 Fix error with `mark-defun' and "protected:" in C++ Mode.
5131 * progmodes/cc-cmds.el (c-where-wrt-brace-construct): Handle a
5132 return code of (label) from c-beginning-of-decl-1. (Bug#19134)
5134 2014-11-22 Ulf Jasper <ulf.jasper@web.de>
5136 * net/newst-backend.el (newsticker--sentinel-work):
5137 Tell `libxml-parse-xml-region' to discard comments. (Bug#18787)
5139 2014-11-22 Michael Albinus <michael.albinus@gmx.de>
5141 * net/tramp-sh.el (tramp-sh-handle-start-file-process)
5142 (tramp-sh-handle-process-file): Propagate `process-environment'.
5144 * vc/vc-hg.el (vc-hg-state): No special handling for remote files;
5145 Tramp propagates environment variables now.
5147 2014-11-22 Eric S. Raymond <esr@snark>
5149 * vc/vc-filewise.el: New file to isolate code used only by the
5150 file-oriented back ends (SCCS/RCS/CVS/SRC) which should not
5151 live in vc.el and certainly not in vc-hooks.el.
5153 * vc/vc-hooks.el, vc-rcs.el, vc-sccs.el: vc-name -> vc-master-name.
5154 This is preparatory to isolating all the 'master' functions
5155 used only by the file-oriented back ends. With this done first,
5156 the substantive diffs will be easier to read.
5158 2014-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5160 * play/morse.el (nato-alphabet): Mark URL in docstring in a way
5161 that is recognized by `help-mode'.
5163 2014-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5165 * desktop.el (desktop-create-buffer): Use activate-mark to set
5166 `mark-active' (bug#19058).
5168 2014-11-21 Eric S. Raymond <esr@snark>
5170 * vc/vc-src.el (vc-src-state): Fix bug that produced spurious
5173 2014-11-21 Eli Zaretskii <eliz@gnu.org>
5175 * vc/vc.el (vc-deduce-fileset): Support invocation from
5176 *vc-change-log* buffer. (Bug#19084)
5178 2014-11-13 Matthew Leach <matthew@mattleach.net>
5180 * arc-mode.el (archive-visit-single-files): New.
5181 (archive-mode): Visit file if archive contains a single file.
5184 2014-11-21 Ulrich Müller <ulm@gentoo.org>
5186 * vc/vc.el: Fix a typo in the commentary.
5188 2014-11-20 Eric S. Raymond <esr@snark.thyrsus.com>
5190 * vc/vc-src.el, vc/vc.el: Added support for SRC. Needs more
5191 testing and a real log-view mode.
5193 * vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el, vc/vc-git.el:
5194 * vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el, vc/vc-sccs.el:
5195 * vc/vc-svn.el, vc/vc.el: Remove editable argument from the backend
5196 checkout methods; where it matters (which is only in SCCS and RCS)
5197 files are always checked out editable. This may actually have
5198 been dynamically true already - it looks like the vc-next-action
5199 code evolved past visiting the other case. Tested with RCS.
5201 * vc/vc-arch.el, vc/vc-bzr.el, vc/vc-cvs.el, vc/vc-dav.el:
5202 * vc/vc-git.el, vc/vc-hg.el, vc/vc-mtn.el, vc/vc-rcs.el:
5203 * vc/vc-sccs.el, vc/vc-svn.el, vc/vc.el: Remove never-used rev
5204 argument from the backend checkin methods. Only the RCS, SCCS,
5205 and CVS back ends tried to do anything with it, and that code was
5206 never exercised. Chiseling away the cruft of decades...
5208 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5210 * net/eww.el (eww-render): Remove a no-op :title setting.
5212 2014-11-19 Ivan Shmakov <ivan@siamics.net>
5214 * net/eww.el (eww-history-limit): New variable.
5215 (eww-save-history): Use it (bug#19105).
5216 (eww-reload): Reload the page in the right buffer.
5218 2014-11-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5220 * net/eww.el (eww-desktop-misc-data): Use `cl-remove-duplicates'.
5222 2014-11-19 Ivan Shmakov <ivan@siamics.net>
5224 * net/eww.el (eww-desktop-remove-duplicates)
5225 (eww-restore-desktop, eww-restore-reload-prompt): New variables.
5226 (eww-mode): Set up desktop mode (bug#18010).
5227 (eww-desktop-data-save, eww-desktop-data-1)
5228 (eww-desktop-history-duplicate, eww-desktop-misc-data)
5229 (eww-restore-desktop): New functions.
5231 2014-11-19 Eli Zaretskii <eliz@gnu.org>
5233 * vc/vc.el (vc-log-internal-common): Turn on log-view-mode in the
5234 correct buffer. (Bug#19101)
5236 2014-11-19 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5238 * vc/vc-git.el (vc-git-diff): Use "difftool -x diff" with
5239 `diff-switches' if `vc-git-diff-switches' is nil. (Bug#19099)
5241 2014-11-19 Artur Malabarba <bruce.connor.am@gmail.com>
5243 * ido.el (ido-bury-buffer-at-head): New command.
5244 (ido-buffer-completion-map): Bind it to C-S-b.
5246 2014-11-18 Juri Linkov <juri@linkov.net>
5248 * simple.el (next-line-or-history-element): Wrap next-line
5249 in with-no-warnings.
5250 (previous-line-or-history-element): Wrap previous-line
5251 in with-no-warnings.
5253 2014-11-18 Juri Linkov <juri@linkov.net>
5255 * progmodes/grep.el (grep-compute-defaults):
5256 Compute grep-highlight-matches before its use.
5258 2014-11-18 Juri Linkov <juri@linkov.net>
5260 * replace.el (query-replace-from-to-separator): Turn defvar into
5261 defcustom. Wrap char-displayable-p in ignore-errors because an
5262 attempt to autoload char-displayable-p fails during pre-loading.
5263 Move (propertize "\0" ... 'separator t) out of customizable part
5264 to query-replace-read-from.
5265 (query-replace-read-from): Call custom-reevaluate-setting on
5266 query-replace-from-to-separator to reevaluate the separator
5267 depending on the return value of char-displayable-p.
5268 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00466.html
5270 2014-11-18 Juri Linkov <juri@linkov.net>
5272 * bindings.el (minibuffer-local-map): Rebind [down] from
5273 next-history-element to next-line-or-history-element, and [up]
5274 from previous-history-element to previous-line-or-history-element.
5276 * simple.el (next-line-or-history-element)
5277 (previous-line-or-history-element): New commands.
5278 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00822.html
5280 2014-11-18 Leo Liu <sdl.web@gmail.com>
5282 * emacs-lisp/nadvice.el (define-advice): New macro.
5283 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5285 (lisp-font-lock-keywords-1): Add define-advice.
5287 2014-11-18 Daiki Ueno <ueno@gnu.org>
5289 * epg.el (epg-context): New slot EDIT-CALLBACK.
5290 (epg--process-filter): Call EDIT-CALLBACK when editing a key.
5291 (epg-reset): Reset EDIT-CALLBACK of the context.
5292 (epg-start-edit-key): New function.
5293 (epg-edit-key): New function.
5295 2014-11-18 Paul Eggert <eggert@cs.ucla.edu>
5297 Port new time stamp handling to Emacs 23.2.
5298 This fix is for Gnus. Reported by Katsumi Yamaoka.
5299 * calendar/time-date.el (time-add, time-subtract, time-less-p):
5300 Use eval-and-compile, not eval-when-compile.
5302 2014-11-18 Daiki Ueno <ueno@gnu.org>
5304 * epg.el (epg-context-set-passphrase-callback)
5305 (epg-context-set-progress-callback): Check if the CALLBACK
5306 argument is a function, instead of a cons.
5308 2014-11-18 Daiki Ueno <ueno@gnu.org>
5310 * epa-file.el (epa-file-insert-file-contents)
5311 (epa-file-write-region): Remove redundant check of
5313 * epa.el (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
5314 (epa-sign-region, epa-encrypt-region): Remove redundant check of
5317 2014-11-18 Daiki Ueno <ueno@gnu.org>
5319 * epa-file.el (epa-file-insert-file-contents): Don't show
5320 "*Error*" buffer if input file does not exist.
5321 Reported by Herbert J. Skuhra.
5323 2014-11-18 Paul Pogonyshev <pogonyshev@gmail.com>
5324 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
5326 * progmodes/cc-langs.el: Support some of the new keywords in C++11.
5327 An alternative version of the patch from bug#13871.
5328 (c-operators): Add "alignof".
5329 (c-primitive-type-kwds): Add "char16_t", "char32_t".
5330 (c-type-modifier-kwds): Add "constexpr", "noexcept".
5331 (c-modifier-kwds): Add "thread_local".
5332 (c-constant-kwds): Add "nullptr".
5334 2014-11-17 Michal Nazarewicz <mina86@mina86.com>
5336 * textmodes/tildify.el (tildify-pattern, tildify-space-string):
5337 New variables for specifying tildify pattern and representation of
5338 a hard space -- a no-break space by default -- respectively.
5339 Being buffer-local they are much easier to handle than
5340 `tildify-string-alist' and `tildify-pattern-alist' respectively
5341 that have been used so far. They also works better with derived
5343 (tildify-foreach-region-function): New variable specifying
5344 a function determining portions of buffer that should be
5345 tildified. It allows major modes to create a filtering function
5346 more elaborate than a set of regular expressions. Initialized to
5347 `tildify--deprecated-ignore-evironments' by default to handle now
5348 deprecated `tildify-ignored-environments-alist' variable.
5349 (tildify--foreach-region): A new function that takes
5350 `tildify-foreach-region-function' into account and calls callback
5351 for regions of the buffer that should be tildified.
5352 (tildify-foreach-ignore-environments): A new function which can be
5353 partially applied and used as `tildify-foreach-region-function'.
5354 (tildify-ignored-environments-alist, tildify-pattern)
5355 (tildify-string-alist, tildify--pick-alist-entry): Mark as obsolete.
5356 (tildify--find-env): Rename from `tildify-find-env' and mark as
5358 (tildify--deprecated-ignore-evironments): New function,
5359 immediately marked as obsolete, used to handle deprecated
5360 `tildify-ignored-environments-alist'.
5362 * textmodes/tex-mode.el (tex-common-initialization):
5363 Set `tildify-space-string' and `tildify-foreach-region-function'
5364 variables in all variants of TeX mode since `tildify-string-alist'
5365 and `tildify-ignored-environments-alist' are now empty by default.
5367 * nxml/nxml-mode.el (nxml-mode): Ditto in `nxml-mode'.
5368 If encoding supports it use no-break space instead of character
5369 entity; this changes previous default which used a numeric
5372 * textmodes/sgml-mode.el (sgml-mode): ditto in `sgml-mode'.
5373 If encoding does not support no-break space, use numeric reference;
5374 this changes previous default which used named entity (“ ”)
5377 2014-11-17 Ulf Jasper <ulf.jasper@web.de>
5379 * calendar/icalendar.el (icalendar-export-alarms):
5380 New customizable variable. (Bug#5433)
5381 (icalendar-export-region): Export alarms as specified in
5382 `icalendar-export-alarms'.
5383 (icalendar--create-ical-alarm, icalendar--do-create-ical-alarm):
5384 New functions for exporting alarms.
5386 2014-11-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5388 * bindings.el (search-map): Move `eww-search-words' to `M-s M-w'.
5390 2014-11-17 Paul Eggert <eggert@cs.ucla.edu>
5392 Port new time stamp handling to old Emacs and to XEmacs.
5393 This is needed for Gnus, which copies time-date.el and which
5394 runs on older Emacs implementations.
5395 * calendar/time-date.el (with-decoded-time-value):
5396 Handle 'nil' and floating-point arg more compatibly with new Emacs.
5397 (encode-time-value, with-decoded-time-value):
5398 Obsolete only if new Emacs.
5399 (time-add, time-subtract, time-less-p): Define if not new Emacs.
5401 Improve time stamp handling, and be more consistent about it.
5402 This implements a suggestion made in:
5403 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html
5404 Among other things, this means timer.el no longer needs to
5405 autoload the time-date module.
5406 * allout-widgets.el (allout-elapsed-time-seconds): Doc fix.
5407 * arc-mode.el (archive-ar-summarize):
5408 * calendar/time-date.el (seconds-to-time, days-to-time, time-since):
5409 * emacs-lisp/timer.el (timer-relative-time, timer-event-handler)
5410 (run-at-time, with-timeout-suspend, with-timeout-unsuspend):
5411 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5412 * proced.el (proced-time-lessp):
5413 * timezone.el (timezone-time-from-absolute):
5414 * type-break.el (type-break-schedule, type-break-time-sum):
5415 Simplify by using new functionality.
5416 * calendar/cal-dst.el (calendar-next-time-zone-transition):
5417 Do not return time values in obsolete and undocumented (HI . LO)
5418 format; use (HI LO) instead.
5419 * calendar/time-date.el (with-decoded-time-value):
5420 Treat 'nil' as current time. This is mostly for XEmacs.
5421 (encode-time-value, with-decoded-time-value): Obsolete.
5422 (time-add, time-subtract, time-less-p): Use no-op autoloads, for
5423 XEmacs. Define only if XEmacs, as they're now C builtins in Emacs.
5424 * ldefs-boot.el: Update to match new time-date.el
5425 * proced.el: Do not require time-date.
5427 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5429 * net/eww.el (eww-mode): Make the buffer read-only.
5430 (eww-form-text): Inhibit read-only-ness in text input fields
5433 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5435 * simple.el (execute-extended-command--shorter): Cut search here.
5436 (execute-extended-command): Instead of here.
5438 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5440 * progmodes/python.el (python-mode): Avoid use of set-local to
5441 keep Emacs 24.x compatibility.
5443 2014-11-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5445 * net/shr.el (shr): Move to the new defgroup `web'.
5447 * net/eww.el (eww): Ditto.
5449 * simple.el (execute-extended-command): Don't show the help
5450 message if the binding isn't significantly shorter than the
5451 M-x command the user typed (bug#19013).
5453 2014-11-16 Ulf Jasper <ulf.jasper@web.de>
5455 * calendar/icalendar.el (icalendar--convert-tz-offset):
5456 Return complete cons when offsets of standard time and daylight saving
5458 (icalendar-export-region): Fix unbound variable warning.
5460 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5462 * progmodes/python.el (run-python): Allow CMD to be optional and
5463 default it to a safe command, even for Windows. (bug#18596)
5465 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5467 * progmodes/python.el (python-shell-calculate-command):
5468 Rename from python-shell-parse-command. Cleanup.
5469 (run-python, run-python-internal): Use it.
5470 (python-shell-calculate-pythonpath): Rename from
5471 python-new-pythonpath.
5472 (python-shell-calculate-process-environment): Use it.
5473 (python-shell-calculate-exec-path): Add comment.
5475 2014-11-16 Thierry Banel <tbanelwebmin@free.fr> (tiny change)
5477 * calc/calc-arith.el (math-max-list, math-min-list): Fix bug
5480 2014-11-16 Andreas Schwab <schwab@linux-m68k.org>
5482 * version.el (emacs-repository-get-version): Use git rev-parse
5485 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5487 * progmodes/python.el (python-indent-calculate-levels):
5488 Fix indentation behavior multiline dedenter statement. (Bug#18432)
5490 2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
5492 * progmodes/python.el (python-indent-region):
5493 Use python-indent-line and skip special cases. (Bug#18843)
5495 2014-11-16 Peder O. Klingenberg <peder@klingenberg.no>
5497 * mail/emacsbug.el (report-emacs-bug): Make a better guess at
5498 envelope-from when reporting through sendmail (bug#19054).
5500 2014-11-16 Oscar Fuentes <ofv@wanadoo.es>
5502 Add faces for the VC modeline state indicator.
5504 (vc-state-faces, vc-state-base-face)
5505 (vc-up-to-date-state, vc-needs-update-state)
5506 (vc-locked-state, vc-locally-added-state)
5507 (vc-conflict-state, vc-removed-state)
5508 (vc-missing-state, vc-edited-state):
5510 (vc-default-mode-line-string): Use them
5512 2014-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5514 * emacs-lisp/backquote.el (backquote-process): Optimize away ",'".
5516 2014-11-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
5518 * net/eww.el (eww-search-words): Mention `eww-search-prefix'.
5520 2014-11-15 Fabián Ezequiel Gallina <fgallina@gnu.org>
5522 * progmodes/python.el (python-eldoc-setup-code): Enhance string
5523 type checks, simplify printing. (Bug#18962)
5525 2014-11-14 Ivan Andrus <darthandrus@gmail.com>
5527 * progmodes/python.el (python-shell-font-lock-kill-buffer):
5528 (python-shell-font-lock-with-font-lock-buffer)
5529 (python-shell-get-buffer, python-ffap-module-path):
5530 Use `derived-mode-p' instead of equality test on `major-mode'.
5532 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
5534 * progmodes/python.el (python-shell-virtualenv-root): Rename from
5535 python-shell-virtualenv-path.
5536 (python-shell-internal-get-process-name)
5537 (python-shell-calculate-process-environment)
5538 (python-shell-calculate-exec-path): Use it.
5540 2014-11-14 Eli Zaretskii <eliz@gnu.org>
5542 * bindings.el (search-map): Fix last change: don't use 'kbd' in
5543 bindings.el, since it is not yet loaded when bindings.el is
5546 2014-11-14 Fabián Ezequiel Gallina <fgallina@gnu.org>
5548 * progmodes/python.el (python-shell-completion-get-completions):
5551 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5553 * net/eww.el (eww-render): Don't set the title to the URL.
5555 2014-11-13 Ulrich Müller <ulm@gentoo.org>
5557 * version.el (emacs-repository-get-version): Call `git log'
5558 command with proper format argument (bug#19049).
5560 2014-11-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
5562 * bindings.el (search-map): Bind M-s M-s to `eww-search-words'.
5564 2014-11-14 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5566 * net/eww.el (eww-search-words): New command (bug#16258).
5568 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5570 * net/shr.el (shr-inhibit-images): Add a doc string.
5572 * net/eww.el (eww-after-render-hook): New variable.
5573 (eww-render): Use it.
5575 * net/shr.el (shr-descend): Don't descend further than
5576 `max-specpdl-size' allows (bug#16587).
5577 (shr-depth): New variable.
5578 (shr-warning): New variable.
5580 2014-11-13 Ivan Shmakov <ivan@siamics.net>
5582 * net/shr.el (shr-parse-base): Handle <base href=""> correctly.
5583 (shr-expand-url): Expand absolute URLs correctly (bug#17958).
5585 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5587 * net/eww.el (eww): Add comment to clarify.
5589 * net/shr.el (shr-parse-image-data): Remove blocked bits from
5590 external SVG images.
5591 (shr-tag-object): Display images in <object> forms (bug#16244).
5592 (shr-tag-table): Also insert <objects> after the tables.
5594 2014-11-13 Michael Albinus <michael.albinus@gmx.de>
5596 * vc/vc-hg.el (vc-hg-state): Disable pager. (Bug#18940)
5598 2014-11-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5600 * net/eww.el (eww-form-file): Fix version number.
5602 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5604 * net/eww.el (eww-form-file): :type isn't a valid `defface' keyword.
5606 2014-11-10 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5608 * net/eww.el(eww-form-file(defface)): New defface of file upload form.
5609 (eww-submit-file): New key map of file upload.
5610 (eww-form-file): New file upload button and file name context.
5611 (eww-select-file): Select file and display selected file name.
5612 (eww-tag-input): Handle input tag of file type.
5613 (eww-update-field): Add point offset.
5614 (eww-submit): Add submit with multipart/form-data.
5616 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5618 * net/eww.el (eww-render, eww-display-html, eww-setup-buffer):
5619 Allow taking a buffer to render data in. This allows using several
5620 eww buffers (bug#16211).
5622 2014-11-10 Charles Rendleman <carendle@gmail.com> (tiny change)
5624 * net/eww.el (eww-download-callback): Save only the file contents,
5627 2014-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5629 * net/eww.el (eww-data): New plist to store all the data relevant
5630 to a single page, used throughout the file instead of the
5631 variables `eww-current-url', `eww-current-dom',
5632 `eww-current-source', and `eww-current-title'.
5633 (eww-readable): Copy over pertinent data from the parent page.
5634 (eww-save-history): Don't let the history grow infinitely.
5636 * net/eww.el: Remove `eww-next-url', `eww-previous-url',
5637 `eww-up-url', `eww-home-url', `eww-start-url' and
5638 `eww-contents-url' and put the data into the `eww-data' plist.
5639 This allow restoring these values after going back in the history.
5641 2014-11-10 Sylvain Chouleur <sylvain.chouleur@gmail.com> (tiny change)
5643 Allow VTIMEZONE where daylight and standard time zones are equal.
5644 See: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00494.html
5645 * calendar/icalendar.el (icalendar--convert-tz-offset):
5646 Support timezone without daylight saving time.
5648 2014-11-10 Glenn Morris <rgm@gnu.org>
5650 * startup.el (command-line): Handle nil elements in load-path.
5652 2014-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5654 * help.el (view-lossage): Include the actual commands run.
5656 2014-11-10 Dmitry Gutov <dgutov@yandex.ru>
5658 * vc/vc-dir.el (vc-dir-hide-state): Also hide `ignored' items when
5659 no state is specified. (Bug#18964)
5661 2014-11-09 Eric Ludlam <zappo@gnu.org>
5663 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5664 Set eieio-cog (current group) to g, which is an improved form of input
5667 2014-11-09 Juri Linkov <juri@jurta.org>
5669 * isearch.el (isearch-message-prefix): Show "Multi-file" and
5670 "Multi-buffer" instead of "Multi". (Bug#13592)
5672 * misearch.el (multi-isearch-file-list):
5673 Autoload multi-isearch-buffer-list and multi-isearch-file-list.
5674 (multi-isearch-end): Reset multi-isearch-buffer-list and
5675 multi-isearch-file-list to nil.
5677 2014-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5679 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5680 Don't call byte-compile-preprocess since the result will go through
5682 (byte-compile-output-docform): Handle uninterned `name' correctly.
5683 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Use interned name
5684 to circumvent byte-compiler bug.
5686 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix typo.
5687 (macroexp--compiler-macro): Remove left-over debug code.
5689 * emacs-lisp/cl-extra.el (cl-get): Silence compiler warning.
5691 2014-11-08 Juri Linkov <juri@jurta.org>
5693 * simple.el (shell-command): Use buffer-name when output-buffer is
5694 a buffer. (Bug#18096)
5696 2014-11-08 Juri Linkov <juri@jurta.org>
5698 * minibuffer.el (minibuffer-completion-help): Compare this-command
5699 with completion-at-point. (Bug#17809)
5701 2014-11-08 Glenn Morris <rgm@gnu.org>
5703 * emacs-lisp/bytecomp.el (byte-compile-report-error):
5704 Allow the argument to be a string. Due to the vague doc,
5705 it was already being used this way.
5707 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5709 * net/tramp.el (tramp-check-cached-permissions): Include hop in
5710 the constructed Tramp file name. (Bug#18943)
5712 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5714 * emulation/cua-base.el (cua--select-keymaps): Use region-active-p
5716 (cua-set-mark, cua--post-command-handler-1):
5717 * emulation/cua-gmrk.el (cua-cancel-global-mark): Same.
5719 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5721 * files.el (file-name-non-special): Wrap the call of
5722 `insert-file-contents' by `unwind-protect', in order to set the
5723 buffer's file name anyway. (Bug#18891)
5725 2014-11-08 Alan Mackenzie <acm@muc.de>
5727 Fix wrong bound to c-font-lock-declarators.
5728 * progmodes/cc-fonts.el (c-font-lock-declarations):
5729 Pass "(point-max)" as bound to c-font-lock-declarators, not "limit", as
5730 the buffer is sometimes narrowed to less than "limit" (e.g., in
5731 the presence of macros). (Bug#18948)
5733 2014-11-08 Michael Albinus <michael.albinus@gmx.de>
5735 * net/tramp.el (tramp-error-with-buffer): Show connection buffer
5736 only when message appeared in minibuffer. (Bug#18891)
5738 * net/tramp-adb.el (tramp-adb-handle-file-attributes):
5739 * net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
5740 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Return nil in
5743 2014-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5745 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5746 Don't compile before eval in `eval-and-compile'.
5747 (byte-compile-arglist-warn): Add check for defining macros after their
5748 first use. Check call use even if the function is fboundp.
5750 2014-11-08 Richard Stallman <rms@gnu.org>
5752 * mail/rmail.el (rmail-epa-decrypt): Detect armor with line prefixes.
5753 Check more carefully for mime-part specified character set.
5754 Check for mime-part Content Transfer Encoding.
5755 Notify if no armor found.
5757 2014-11-08 Martin Rudalics <rudalics@gmx.at>
5759 * faces.el (face-set-after-frame-default): Enable running
5760 `window-configuration-change-hook'.
5762 2014-11-07 Juri Linkov <juri@jurta.org>
5764 * replace.el: History for query replace pairs.
5765 (query-replace-defaults): Promote to a list of cons cell. Doc fix.
5766 (query-replace-from-to-separator): New variable.
5767 (query-replace-read-from): Let-bind query-replace-from-to-history
5768 to a list of FROM-TO strings created from query-replace-defaults
5769 and separated by query-replace-from-to-separator. Use it as
5770 the history while reading from the minibuffer. Split the returned
5771 string by the separator to get FROM and TO parts, and add them
5772 to the history variables.
5773 (query-replace-read-to): Add FROM-TO pairs to query-replace-defaults.
5774 (query-replace-regexp-eval): Let-bind query-replace-defaults to nil.
5775 http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg00253.html
5777 * isearch.el (isearch-text-char-description): Keep characters
5778 intact and put formatted strings with the `display' property.
5780 2014-11-07 Martin Rudalics <rudalics@gmx.at>
5782 * cus-start.el (frame-resize-pixelwise): Fix group.
5783 (frame-inhibit-implied-resize): Add entry.
5785 2014-11-07 Daiki Ueno <ueno@gnu.org>
5787 * epa.el (epa-pinentry-mode): New user option.
5788 (epa-sign-file, epa-encrypt-file, epa-decrypt-region)
5789 (epa-sign-region, epa-encrypt-region): Respect epa-pinentry-mode.
5790 * epa-file.el (epa-file-insert-file-contents)
5791 (epa-file-write-region): Respect epa-pinentry-mode.
5793 2014-11-07 Daiki Ueno <ueno@gnu.org>
5795 * epg.el (epg--list-keys-1): Ignore fields after the 15th field
5796 (bug#18979). Reported by Hideki Saito.
5798 2014-11-06 Daiki Ueno <ueno@gnu.org>
5800 * emacs-lisp/package.el (package--display-verify-error): New function.
5801 (package--check-signature): Use it to display output sent to stderr.
5803 2014-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5805 * subr.el (pop): Don't call the getter twice (bug#18968).
5807 * emacs-lisp/macroexp.el (macroexp--expand-all): Optimize away trivial
5810 2014-11-06 Daiki Ueno <ueno@gnu.org>
5812 * epa.el (epa-error-buffer): New variable.
5813 (epa-display-error): New function.
5814 (epa-decrypt-file, epa-verify-file, epa-verify-region)
5815 (epa-delete-keys, epa-import-keys): Display output sent to stderr.
5816 (epa-sign-file, epa-sign-region, epa-encrypt-region)
5817 (epa-export-keys, epa-insert-keys): Display output sent to stderr.
5818 Use setf instead of epg-context-set-*.
5819 * epa-file.el (epa-file-insert-file-contents):
5820 Use epa-display-error instead of epa-display-info. Mimic the behavior
5821 of jka-compr when decryption program is not found.
5822 (epa-file-write-region): Use epa-display-error instead of
5825 2014-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5827 * vc/vc.el (vc-region-history): New command.
5828 (vc-print-log-internal): Use cl-some.
5830 * vc/vc-git.el (vc-git-region-history): New function.
5831 (vc-git-region-history-mode-map)
5832 (vc-git--log-view-long-font-lock-keywords)
5833 (vc-git-region-history-font-lock-keywords): New vars.
5834 (vc-git-region-history-font-lock): New function.
5835 (vc-git-region-history-mode): New major mode.
5837 2014-11-05 Tassilo Horn <tsdh@gnu.org>
5839 * net/eww.el (subr-x): Require subr-x at compile-time because eww
5842 2014-11-05 Daiki Ueno <ueno@gnu.org>
5844 * epg.el (epg-context): Add new slot ERROR-OUTPUT.
5845 (epg-error-output): New buffer-local variable.
5846 (epg--start): Initialize epg-error-output.
5847 (epg--process-filter): Record output lines sent to stderr, in
5849 (epg-wait-for-completion): Copy epg-error-output to ERROR-OUTPUT
5851 * epa-file.el (epa-file-insert-file-contents): On error, display
5852 output sent to stderr.
5853 (epa-file-write-region): Likewise.
5855 2014-11-05 Eli Zaretskii <eliz@gnu.org>
5857 * jit-lock.el (jit-lock-stealth-fontify): Be tolerant to nil being
5858 returned by load-average.
5860 2014-11-05 Michael Albinus <michael.albinus@gmx.de>
5862 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Don't use
5863 a local copy; setting `inhibit-file-name-handlers' proper might be
5864 more performant. (Bug#18751)
5866 2014-11-05 Glenn Morris <rgm@gnu.org>
5868 * mail/emacsbug.el (report-emacs-bug): No longer include
5869 recent-keys in the report. (Bug#18900)
5871 2014-11-04 Paul Eggert <eggert@cs.ucla.edu>
5873 * mouse.el (mouse-drag-line): Fix misspelling of "right-fringe".
5875 2014-11-04 Teodor Zlatanov <tzz@lifelogs.com>
5877 * net/eww.el (eww): Trim URL with `string-trim'.
5878 Suggested by Vibhav Pant <vibhavp@gmail.com>.
5880 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5882 * net/eww.el (eww-score-readability): Don't count comments positively.
5884 * net/shr.el (shr-retransform-dom): Typo fix.
5886 * net/eww.el (eww-score-readability): Parse SVC images correctly.
5887 (eww-display-html): Don't leave point inside forms.
5889 * net/shr.el: Ditto.
5891 2014-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5893 * emacs-lisp/edebug.el (edebug-safe-prin1-to-string): Assume that
5894 edebug-prin1-to-string already handles circularity.
5896 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix compiler-macro
5897 autoloading when specified as a lambda.
5899 * simple.el (execute-extended-command--last-typed): New var.
5900 (read-extended-command): Set it.
5901 Don't complete obsolete commands.
5902 (execute-extended-command--shorter-1)
5903 (execute-extended-command--shorter): New functions.
5904 (execute-extended-command): Use them to suggest shorter names.
5905 (indicate-copied-region, deactivate-mark): Use region-active-p.
5907 2014-11-03 Michael Albinus <michael.albinus@gmx.de>
5909 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a
5910 local copy of FILENAME, when it is remote. (Bug#18751)
5912 * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise
5913 an error when the command fails; the return code must indicate.
5914 (tramp-adb-send-command-and-check): Fix docstring.
5916 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5918 * net/shr.el (shr-retransform-dom): Don't ignore elements that
5919 have no children like <br />.
5921 * net/eww.el (eww-display-html): Clear `url-queue'.
5922 (eww-display-pdf): New function.
5923 (eww-render): Display PDFs with `doc-view'.
5924 (url-queue): Require `url-queue' to avoid compilation warning.
5925 (eww-colorize-region): Remove duplicate function.
5926 (eww-tag-body): Use `shr-colorize-region'.
5928 2014-11-03 Yoni Rabkin <yrk@gnu.org>
5930 * net/eww.el (eww-list-bookmarks): Autoload.
5932 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5934 * net/shr.el (shr-retransform-dom): Allow several text sub-nodes.
5936 * net/eww.el (eww-display-html): The charset is called `utf-8',
5938 (eww-readable): Decode the saved text correctly.
5939 (eww-readable): Save the history before displaying so that we can
5940 go back to the non-readable version.
5941 (eww-display-html): Don't try to decode the text if we've been
5942 passed in a pre-parsed DOM.
5943 (eww-tag-title): Remove newlines and extra whitespace from the
5946 2014-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
5948 * net/eww.el (eww-readable): New command and keystroke.
5950 * net/shr.el (shr-retransform-dom): New function.
5952 * net/eww.el (eww-display-html): Set `eww-current-source' in the
5954 (eww-view-source): Use it.
5956 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5958 * net/eww.el (eww): Recognize colon-delimited IPv6 addresses.
5961 2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
5963 * net/eww.el (eww-submit): Encode empty form values as "". (Bug#17785).
5965 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5967 * net/eww.el (eww): Allow "file:/file/name" URLs. (Bug#18825).
5969 2014-11-02 Ivan Shmakov <ivan@siamics.net>
5971 * net/eww.el (eww-mode-map): Remove mentions of `eww-quit'.
5974 2014-11-02 Eric Abrahamsen <eric@ericabrahamsen.net>
5976 * emacs-lisp/eieio.el (eieio-edebug-prin1-to-string): Adjust for
5978 (edebug-setup-hook): Advise `edebug-prin1-to-string'. (Bug#18897)
5980 2014-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5982 * emacs-lisp/pp.el (pp-macroexpand-expression): Use macroexpand-1
5984 * progmodes/elisp-mode.el (emacs-lisp-macroexpand): Idem.
5986 2014-11-01 Michael R. Mauger <michael@mauger.com>
5988 * sql.el (sql-mode-oracle-font-lock-keywords): Correct regexp
5989 syntax, add new keywords, and parse longer keywords first.
5990 (sql-redirect-one): Protect against empty command.
5991 (sql-mode, sql-interactive-mode): Set `custom-mode-group' property
5994 2014-11-01 Michael R. Mauger <michael@mauger.com>
5996 * sql.el (sql-interactive-mode, sql-stop): Correct fix for
5997 Bug#16814 with let-bind of comint-input-ring variables around read
6000 2014-11-01 Michael Albinus <michael.albinus@gmx.de>
6002 * net/tramp-cache.el (tramp-get-file-property)
6003 (tramp-set-file-property): Check that `tramp-cache-get-count-*'
6004 and `tramp-cache-set-count-*' are bound. Otherwise, there might
6005 be compiler warnings.
6007 * net/tramp-sh.el (tramp-get-remote-uid, tramp-get-remote-gid):
6008 Return -1 respective "UNKNOWN", if uid or gid cannot be determined.
6010 2014-11-01 Eli Zaretskii <eliz@gnu.org>
6012 * progmodes/compile.el (compilation-mode): Turn off deferred
6013 fontifications locally. (Bug#18856)
6015 2014-11-01 Wolfgang Jenkner <wjenkner@inode.at>
6017 * net/tramp-sh.el (tramp-send-command): Fix the case where the
6018 remote-echo connection property is non-nil (bug#18858).
6020 2014-11-01 Stefan Monnier <monnier@iro.umontreal.ca>
6022 * simple.el (newline): Add assertions to try and help catch bug#18913.
6024 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
6026 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
6028 2014-11-01 Kim F. Storm <storm@cua.dk>
6030 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
6031 * delsel.el (delete-selection-save-to-register)
6032 (delsel--replace-text-or-position): New vars.
6033 (delete-active-region): Use them.
6034 (delete-selection-repeat-replace-region): New command, moved from
6036 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
6037 (cua-repeat-replace-region): Move command to delsel.el.
6038 (cua--init-keymaps): Update binding accordingly.
6039 (cua-mode): Set delete-selection-save-to-register.
6041 2014-11-01 Alan Mackenzie <acm@muc.de>
6043 Make blink-parens work with a closing template delimiter.
6044 * progmodes/cc-cmds.el (c-electric-lt-gt): Cause a redisplay
6045 before calling blink-paren-function, so as to apply syntax-table
6046 properties to the ">".
6048 2014-11-01 Jan Djärv <jan.h.d@swipnet.se>
6050 * select.el (gui-get-selection): Comment: data-type ignored on NS.
6052 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6054 * emacs-lisp/macroexp.el (macroexpand-1): New function (bug#18821).
6055 (macroexp--expand-all): Unrelated tweaks.
6057 * emacs-lisp/gv.el (gv-get): Use macroexpand-1.
6059 2014-10-30 Glenn Morris <rgm@gnu.org>
6061 * startup.el (command-line): Remove pointless attempt to avoid
6062 statting the file-system (which expand-file-name doesn't do).
6064 2014-10-30 Daniel Colascione <dancol@dancol.org>
6066 Add "enum class" support to C++ mode.
6067 * progmodes/cc-langs.el (c-after-brace-list-decl-kwds)
6068 (c-after-brace-list-key): New language consts/variables.
6069 * progmodes/cc-engine.el (c-looking-at-decl-block):
6070 Exclude spurious match of "enum struct" from decl-block recognition.
6071 (c-backward-colon-prefixed-type): New function.
6072 (c-backward-over-enum-header): Call above function to extend
6073 recognition of enum structure.
6075 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6077 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
6079 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
6081 2014-10-30 Eli Zaretskii <eliz@gnu.org>
6083 * progmodes/compile.el (compilation-start):
6084 If compilation-scroll-output is non-nil, don't force window-start of
6085 the compilation buffer to be at beginning of buffer. (Bug#18874)
6087 * startup.el (fancy-about-text): Read the entire tutorial, not
6088 just its first 256 bytes. (Bug#18760)
6090 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6092 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
6093 * emacs-lisp/cl-extra.el: Add missing provide.
6095 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
6096 all args are copyable (bug#18767).
6097 (=, <, >, <=, >=): Re-enable the optimization.
6099 2014-10-29 Glenn Morris <rgm@gnu.org>
6101 * net/rcirc.el (rcirc-fill-column): Unbump :version. Mark :risky.
6103 * version.el (emacs-bzr-version, emacs-bzr-get-version):
6104 Revert 2014-10-26 change.
6106 2014-10-29 Paul Eggert <eggert@cs.ucla.edu>
6108 Simplify use of current-time and friends.
6109 * allout-widgets.el (allout-widgets-hook-error-handler):
6110 * calendar/appt.el (appt-display-message):
6111 * calendar/icalendar.el (icalendar--convert-float-to-ical):
6112 * calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
6113 (timeclock-last-period, timeclock-day-base):
6114 * eshell/em-ls.el (eshell-ls-file):
6115 * eshell/esh-util.el (eshell-parse-ange-ls):
6116 * generic-x.el (named-database-print-serial):
6117 * net/newst-backend.el (newsticker--get-news-by-url-callback)
6118 (newsticker-get-news, newsticker--sentinel-work)
6119 (newsticker--image-get, newsticker--image-sentinel):
6120 * net/tramp-sh.el (tramp-get-remote-touch):
6121 * progmodes/opascal.el (opascal-debug-log):
6122 * textmodes/remember.el (remember-mail-date)
6123 (remember-store-in-files):
6124 * vc/vc-annotate.el (vc-annotate-display-autoscale)
6125 (vc-default-annotate-current-time):
6126 * vc/vc-bzr.el (vc-bzr-shelve-snapshot):
6127 * vc/vc-cvs.el (vc-cvs-annotate-current-time):
6128 * vc/vc-rcs.el (vc-rcs-annotate-current-time):
6129 Omit unnecessary call to current-time.
6130 * calendar/time-date.el (time-to-seconds) [!float-time]:
6131 * vc/vc-annotate.el (vc-annotate-convert-time):
6132 Use current time if arg is nil, to be compatible with float-time.
6133 (time-date--day-in-year): New function, with most of the guts of
6134 the old time-to-day-in-year.
6135 (time-to-day-in-year): Use it.
6136 (time-to-days): Use it, to avoid decoding the same time stamp twice.
6137 * calendar/timeclock.el (timeclock-time-to-date):
6138 Arg is now optional, like current-time-string.
6139 (timeclock-update-mode-line):
6140 Don't call current-time twice to get the current time stamp,
6141 as this can lead to inconsistent results.
6142 * completion.el (cmpl-hours-since-origin):
6143 * ido.el (ido-time-stamp):
6144 * vc/vc-annotate.el (vc-annotate-convert-time):
6145 Simplify by using float-time.
6146 * completion.el (save-completions-to-file):
6147 Rename local var to avoid confusion.
6148 * net/rcirc.el (rcirc-float-time): Simplify to an alias because
6149 time-to-seconds now behaves like float-time with respect to nil arg.
6150 * subr.el (progress-reporter-do-update):
6151 Don't call float-time unless needed.
6153 2014-10-29 Leo Liu <sdl.web@gmail.com>
6155 * net/rcirc.el (rcirc-fill-column): Use function.
6156 (rcirc-markup-fill): Remove adjustment.
6158 2014-10-28 Christopher Schmidt <ch@ristopher.com>
6160 * calc/calc.el (quick-calc):
6161 * calc/calc-aent.el (calc-do-quick-calc): New argument INSERT.
6163 2014-10-28 Sam Steingold <sds@gnu.org>
6165 * net/rcirc.el (rcirc-fill-column): Allow any symbolic value for
6166 the sake of `window-body-width' (in addition to `frame-width').
6168 2014-10-26 Eric S. Raymond <esr@thyrsus.com>
6170 * version.el: Fix some fallback values to conform to the actual
6173 2014-10-25 Eric S. Raymond <esr@thyrsus.com>
6175 * Makefile.in: Change some production names so they're neutral
6176 about the repository type.
6178 2014-10-25 Michael Albinus <michael.albinus@gmx.de>
6180 * net/tramp-gvfs.el (tramp-gvfs-methods-mounttracker)
6181 (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
6182 during initialization. (Bug#18774)
6184 2014-10-25 Vincent Belaïche <vincentb1@users.sourceforge.net>
6186 * ses.el (macroexp): Add require for this package, so that
6187 function `ses--cell' gets macroexp-quote --- this change was
6188 supposed to be in my previous commit, but left out by mistake.
6189 (ses--cell): Do not make formula a macroexp-quote of value when
6190 value, not formula, is *skip*.
6192 2014-10-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
6194 * ses.el (macroexp): Add require for this package, so that function
6195 `ses--cell gets macroexp-quote.
6196 (ses--cell): Makes formula a macroexp-quote of value when formula
6197 is nil. The rationale of this changr is to allow in the future
6198 shorter SES files, e.g. we could have only `(ses-cell A1 1.0)'
6199 instead of `(ses-cell A1 1.0 1.0 nil REFLIST)'. In such a case
6200 reference list REFLIST would be re-computed after load --- thus
6201 trading off load time against file size.
6203 * emacs-lisp/package.el (package--alist-to-plist-args):
6204 Use macroexp-quote instead of a lambda expression which has the same
6205 content as macroexp-quote.
6206 (macroexp): Add require for this package, so that function
6207 `package--alist-to-plist-args' gets macroexp-quote.
6209 * emacs-lisp/macroexp.el (macroexp-quote): New defun.
6211 2014-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6213 * term/ns-win.el (ns-store-cut-buffer-internal)
6214 (ns-copy-including-secondary): Use gui-set-selection (bug#18816).
6216 2014-10-24 Martin Rudalics <rudalics@gmx.at>
6218 * mouse.el (mouse-drag-line): Don't use mouse-pixel-position.
6219 Calculate increment from last position instead of window edge.
6220 Add right- and bottom-divider bindings to transient map.
6222 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6224 * emacs-lisp/cl-macs.el (cl-defstruct): Define an internal predicate
6225 even if :predicate was nil, for the benefit of typep.
6226 Record the name of the predicate for typep's use.
6227 (cl--make-type-test): Use pcase. Obey new
6228 cl-deftype-satisfies property.
6230 * epg.el: Use cl-defstruct.
6231 (epg-make-data-from-file, epg-make-data-from-string, epg-data-file)
6232 (epg-data-string): Define via cl-defstruct.
6233 (epg--gv-nreverse): New macro.
6234 (epg-context--make): New constructor (provided vi cl-defstruct).
6235 (epg-make-context): Rewrite using it.
6236 (epg-context-protocol, epg-context-program)
6237 (epg-context-home-directory, epg-context-armor, epg-context-textmode)
6238 (epg-context-include-certs, epg-context-cipher-algorithm)
6239 (epg-context-digest-algorithm, epg-context-compress-algorithm)
6240 (epg-context-passphrase-callback, epg-context-progress-callback)
6241 (epg-context-signers, epg-context-sig-notations, epg-context-process)
6242 (epg-context-output-file, epg-context-result, epg-context-operation)
6243 (epg-context-pinentry-mode): Define using cl-defstruct.
6244 (epg-context-set-protocol, epg-context-set-program)
6245 (epg-context-set-include-certs, epg-context-set-cipher-algorithm)
6246 (epg-context-set-digest-algorithm)
6247 (epg-context-set-sig-notations, epg-context-set-process)
6248 (epg-context-set-output-file, epg-context-set-result)
6249 (epg-context-set-operation, epg-context-set-pinentry-mode)
6250 (epg-context-set-compress-algorithm): Remove. Use setf instead.
6251 (epg-context-set-armor, epg-context-set-textmode)
6252 (epg-context-set-signers): Redefine using setf
6253 and declare as obsolete.
6254 (epg-context-set-passphrase-callback)
6255 (epg-context-set-progress-callback): Use setf.
6256 (epg-signature-notations): Rename from epg-sig-notations.
6257 (epg-make-signature, epg-signature-status, epg-signature-key-id)
6258 (epg-signature-validity, epg-signature-fingerprint)
6259 (epg-signature-creation-time, epg-signature-expiration-time)
6260 (epg-signature-pubkey-algorithm, epg-signature-digest-algorithm)
6261 (epg-signature-class, epg-signature-version): Define vi cl-defstruct.
6262 (epg-signature-set-status, epg-signature-set-key-id)
6263 (epg-signature-set-validity, epg-signature-set-fingerprint)
6264 (epg-signature-set-creation-time, epg-signature-set-expiration-time)
6265 (epg-signature-set-pubkey-algorithm)
6266 (epg-signature-set-digest-algorithm, epg-signature-set-class)
6267 (epg-signature-set-version, epg-signature-set-notations): Remove.
6269 (epg-make-new-signature, epg-new-signature-type)
6270 (epg-new-signature-pubkey-algorithm)
6271 (epg-new-signature-digest-algorithm, epg-new-signature-class)
6272 (epg-new-signature-creation-time, epg-new-signature-fingerprint):
6273 Define using cl-defstruct.
6274 (epg-make-key, epg-key-owner-trust, epg-key-sub-key-list)
6275 (epg-key-user-id-list): Define using cl-defstruct.
6276 (epg-key-set-sub-key-list, epg-key-set-user-id-list): Remove.
6278 (epg-make-sub-key, epg-sub-key-validity, epg-sub-key-capability)
6279 (epg-sub-key-secret-p, epg-sub-key-algorithm, epg-sub-key-length)
6280 (epg-sub-key-id, epg-sub-key-creation-time)
6281 (epg-sub-key-expiration-time, epg-sub-key-fingerprint): Define using
6283 (epg-sub-key-set-fingerprint): Remove. Use setf instead.
6284 (epg-make-user-id, epg-user-id-validity, epg-user-id-string)
6285 (epg-user-id-signature-list): Define using cl-defstruct.
6286 (epg-user-id-set-signature-list): Remove. Use setf instead.
6287 (epg-make-key-signature, epg-key-signature-validity)
6288 (epg-key-signature-pubkey-algorithm, epg-key-signature-key-id)
6289 (epg-key-signature-creation-time, epg-key-signature-expiration-time)
6290 (epg-key-signature-user-id, epg-key-signature-class)
6291 (epg-key-signature-exportable-p): Define using cl-defstruct.
6292 (epg-make-sig-notation, epg-sig-notation-name)
6293 (epg-sig-notation-value, epg-sig-notation-human-readable)
6294 (epg-sig-notation-critical): Define using cl-defstruct.
6295 (epg-sig-notation-set-value): Remove. Use setf instead.
6296 (epg-make-import-status, epg-import-status-fingerprint)
6297 (epg-import-status-reason, epg-import-status-new)
6298 (epg-import-status-user-id, epg-import-status-signature)
6299 (epg-import-status-sub-key, epg-import-status-secret): Define using
6301 (epg-make-import-result, epg-import-result-considered)
6302 (epg-import-result-no-user-id, epg-import-result-imported)
6303 (epg-import-result-imported-rsa, epg-import-result-unchanged)
6304 (epg-import-result-new-user-ids, epg-import-result-new-sub-keys)
6305 (epg-import-result-new-signatures, epg-import-result-new-revocations)
6306 (epg-import-result-secret-read, epg-import-result-secret-imported)
6307 (epg-import-result-secret-unchanged, epg-import-result-not-imported)
6308 (epg-import-result-imports): Define using cl-defstruct.
6310 * emacs-lisp/package.el: Require EPG during macroexpansion.
6311 (package--check-signature, package-import-keyring): Use setf instead of
6312 epg-context-set-home-directory.
6314 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6316 * emacs-lisp/bytecomp.el (byte-compile--use-old-handlers): Change default.
6318 2014-10-23 Leo Liu <sdl.web@gmail.com>
6320 * progmodes/cfengine.el (cfengine3-defun-full-re): New var.
6321 (cfengine3-create-imenu-index): Use it and use ` ' for separation.
6322 (cfengine3-current-defun): New function.
6323 (cfengine3-mode): Set add-log-current-defun-function.
6325 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6327 * select.el: Use lexical-binding.
6328 (gui-set-selection): Provide an implementation for non-GUI frames
6330 * term/x-win.el: Use lexical-binding.
6331 (x-clipboard-yank): Fix up missed renamings.
6332 * term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
6333 (w32--set-selection): Fix up var names.
6334 * term/pc-win.el: Use lexical-binding.
6335 (w16-selection-exists-p): Silence compiler warning.
6336 (w16-selection-owner-p): Fix up missed renamings.
6338 * emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
6340 * frame.el (frame-notice-user-settings): Fix excessive quoting.
6342 2014-10-22 Tassilo Horn <tsdh@gnu.org>
6344 * doc-view.el (doc-view-open-text): View the document's plain text
6345 in the current buffer instead of a new one.
6346 (doc-view-toggle-display): Handle the case where the current
6347 buffer contains the plain text contents of the document.
6348 (doc-view-initiate-display): Don't switch to fallback mode if the
6349 user wants to view the doc's plain text.
6350 (doc-view-set-doc-type): Use assoc-string instead of
6353 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6355 * subr.el (read-key): Fix clicks on the mode-line.
6356 (set-transient-map): Return exit function.
6358 * mouse.el (mouse-drag-line): Use set-transient-map (bug#18015).
6359 (mouse--down-1-maybe-follows-link): Remove unused var `this-event'.
6360 (mouse-yank-secondary): Use gui-get-selection.
6361 (mouse--down-1-maybe-follows-link): Use read-key.
6363 * xt-mouse.el: Add `event-kind' property on the fly from
6364 xterm-mouse-translate-1 rather than statically at the outset.
6366 2014-10-21 Daniel Colascione <dancol@dancol.org>
6368 * vc/vc-dispatcher.el (vc-resynch-window): Tell view-mode not to
6369 change window configuration when we turn it off.
6371 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6373 Get rid of backend-dependent selection-handling functions for kill/yank
6374 and make it generic instead by relying on the lower-level selection
6375 management functions.
6377 * select.el (select-enable-clipboard): Rename from
6378 gui-select-enable-clipboard.
6379 (select-enable-primary): Move from x-win.el and rename from
6380 x-select-enable-primary.
6381 (gui-last-selected-text): Remove.
6382 (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
6384 (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
6385 (gui-select-text-alist, gui-selection-value-alist): Remove.
6386 (x-select-request-type): Move from x-win.el.
6387 (gui--selection-value-internal): New function, taken from x-win's
6388 x-selection-value-internal.
6389 (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
6390 (gui-set-selection-alist): Rename from gui-own-selection-alist and
6391 extend it to handle a nil value as a "disown" request.
6392 (gui-disown-selection-alist): Remove.
6393 (xselect-convert-to-delete): Adjust accordingly.
6394 (gui-set-selection): Simplify accordingly as well. Use dotimes.
6396 * term/x-win.el (x-last-selected-text-primary)
6397 (x-select-enable-primary): Remove (moved to select.el).
6398 (x-select-request-type): Move to select.el.
6399 (x-selection-value-internal, x--selection-value): Remove functions.
6400 (gui-selection-value, gui-select-text): Remove moethods.
6401 (gui-set-selection): Merge own and disown methods.
6403 * term/w32-win.el (w32--select-text, w32--get-selection-value):
6404 Delete function (move functionality into w32--set-selection and
6405 w32--get-selection).
6406 (gui-select-text, gui-selection-value): Don't define methods.
6407 (w32--set-selection, w32--get-selection, w32--selection-owner-p):
6409 (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
6411 (gui-selection-exists-p): Adjust to new name of C primitive.
6413 * term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
6414 test of gui-select-enable-clipboard, to make it usable as
6415 a gui-get-selection method.
6416 (gui-selection-exists-p): Adjust to new name of C primitive.
6417 (gui-set-selection): Merge own and disown methods.
6418 (gui-select-text, gui-selection-value): Delete methods.
6419 (w16--select-text): Delete function.
6421 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
6422 (ns-selection-value): Remove functions.
6423 (gui-select-text, gui-selection-value): Don't define method any more.
6424 (gui-set-selection): Merge the old own and disown methods.
6425 (gui-selection-exists-p, gui-get-selection): Adjust to new name of
6426 underlying C primitive.
6428 * startup.el (command-line): Adjust now that `gui-method' expects nil
6431 * frame.el (gui-method): Use window-system rather than framep.
6432 (gui-method-declare): The tty case is now nil rather than t.
6433 (make-frame): Adjust accordingly.
6435 2014-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6437 * net/newst-reader.el (newsticker--image-read): Simplify.
6438 (newsticker--icon-read): Use dolist and fix free var error.
6440 * imenu.el (imenu--menubar-keymap): New var.
6441 (imenu-add-to-menubar): Set it to remember the keymap we used.
6442 (imenu-update-menubar): Use it instead of asking lookup-key.
6444 * obsolete/cc-compat.el: Make obsolete (bug#18561).
6446 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
6448 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
6451 2014-10-21 Glenn Morris <rgm@gnu.org>
6453 * Merge in all changes up to version 24.4 release.
6455 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6457 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
6460 2014-10-20 Glenn Morris <rgm@gnu.org>
6462 * Merge in all changes up to 24.4 release.
6464 2014-10-20 Ulf Jasper <ulf.jasper@web.de>
6466 * net/newst-backend.el
6467 (newsticker--image-download-by-url-callback): Make this function
6468 actually work: Check status properly, then save image.
6470 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6472 * mouse.el (mouse--down-1-maybe-follows-link): Remove unused var
6474 (mouse-drag-line): Unless there's no actual mouse, use the event's
6477 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
6479 * textmodes/css-mode.el (scss-mode): New major-mode.
6480 (css-mode-syntax-table): Use d style comment, to ease the scss case.
6481 (css-ident-re): Allow things like @-moz-keyframes.
6482 (scss--hash-re): New const.
6483 (css--font-lock-keywords): New function, extracted from
6484 css-font-lock-keywords.
6486 2014-10-19 Ulf Jasper <ulf.jasper@web.de>
6488 * net/newst-backend.el: Require url-parse.
6489 (newsticker--get-news-by-wget): Store feed name as process property.
6490 (newsticker--sentinel): Read feed name from process property.
6491 (newsticker--sentinel-work): Rename argument name to feed-name.
6492 Rename variable imageurl to image-url. Pick icon url from Atom
6493 1.0 data. Launch download of feed icon.
6494 (newsticker--get-icon-url-atom-1.0): New.
6496 (newsticker--unxml-node)
6497 (newsticker--unxml-attribute): Documentation.
6498 (newsticker--icons-dir): New.
6499 (newsticker--image-get): New arguments FILENAME and DIRECTORY.
6500 Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
6501 (newsticker--image-download-by-wget): New. Use process properties
6502 for storing informations.
6503 (newsticker--image-sentinel): Read informations from process properties.
6504 (newsticker--image-save)
6505 (newsticker--image-remove)
6506 (newsticker--image-download-by-url)
6507 (newsticker--image-download-by-url-callback): New.
6508 (newsticker-opml-export): Handle url list entries containing a
6509 function instead of an url string.
6511 * net/newst-reader.el (newsticker-html-renderer): Whitespace.
6512 (newsticker--print-extra-elements)
6513 (newsticker--do-print-extra-element):
6514 Documentation (newsticker--image-read): Optionally limit image height.
6515 Use imagemagick if possible.
6516 (newsticker--icon-read): New.
6518 * net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
6519 (newsticker--treeview-tree-expand): Use feed icons in treeview.
6520 (newsticker--tree-widget-icon-create): New. Set the tree widget icon.
6521 (newsticker--tree-widget-leaf-icon): Use feed icon.
6523 2014-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6525 * emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
6526 Use help-function-arglist instead.
6528 * emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
6529 (eieio--with-scoped-class): Use `declare'.
6530 (eieio-defclass): Remove compatibility code.
6531 (no-method-definition, no-next-method, inconsistent-class-hierarchy)
6532 (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
6534 2014-10-18 Jan Djärv <jan.h.d@swipnet.se>
6536 * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.
6538 * term/x-win.el (x-gtk-stock-map): Add icon names suggested as
6539 replacements to stock names before stock names in a list.
6540 Cdr may be a list, each name is tried in turn until one is found.
6542 2014-10-18 Alan Mackenzie <acm@muc.de>
6544 Check that a "macro" found near point-min isn't a ## operator.
6545 * progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
6546 (c-beginning-of-macro): Use the above new function. (Bug#18749)
6548 2014-10-18 Teodor Zlatanov <tzz@lifelogs.com>
6550 * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
6551 correct data to `gnutls-boot' (Bug#18664).
6552 Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
6554 2014-10-18 Michal Nazarewicz <mina86@mina86.com>
6556 * whitespace.el (whitespace-style, whitespace-big-indent)
6557 (whitespace-big-indent-regexp, whitespace-style-value-list)
6558 (whitespace-toggle-option-alist, whitespace-interactive-char)
6559 (whitespace-toggle-options)
6560 (global-whitespace-toggle-options, whitespace-help-text)
6561 (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
6562 style to `whitespace-mode' to indicate that the line indentation
6563 is too deep. By default, 32 SPACEs or four TABs are considered
6564 too many but `whitespace-big-indent-regexp' can be configured.
6566 2014-10-17 Michal Nazarewicz <mina86@mina86.com>
6568 * textmodes/tildify.el (tildify--pick-alist-entry): Rename from
6571 2014-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6573 * emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback.
6574 (defclass, defgeneric, defmethod): Add doc-string position.
6575 (with-slots): Require cl-lib.
6577 * emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib.
6578 (list-of): New type.
6579 (eieio--typep): Remove.
6580 (eieio-perform-slot-validation): Use cl-typep instead.
6582 * emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.
6584 * emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).
6586 2014-10-16 Alan Mackenzie <acm@muc.de>
6588 Trigger showing when point is in the "periphery" of a line or just
6590 * paren.el (show-paren-style, show-paren-delay)
6591 (show-paren-priority, show-paren-ring-bell-on-mismatch):
6592 Remove superfluous :group specifications.
6593 (show-paren-when-point-inside-paren)
6594 (show-paren-when-point-in-periphery): New customizable variables.
6595 (show-paren-highlight-openparen): Make into a defcustom.
6596 (show-paren--unescaped-p, show-paren--categorize-paren)
6597 (show-paren--locate-near-paren): New defuns.
6598 (show-paren--default): Refaactor and trigger on more paren
6600 (show-paren-function): Small consequential changes.
6602 2014-10-16 Tom Tromey <tom@tromey.com>
6604 * files.el (auto-mode-alist): Use javascript-mode for .jsm
6607 2014-10-16 Eli Zaretskii <eliz@gnu.org>
6609 * international/characters.el (bracket-type): Force pre-loading of
6612 2014-10-16 Alan Mackenzie <acm@muc.de>
6614 * cus-edit.el (custom-command-apply): Specify the return value in
6616 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
6617 custom-command-apply has returned non-nil.
6619 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
6621 * emacs-lisp/eldoc.el (global-eldoc-mode): Enable by default.
6622 Remove incorrect handling of eldoc-print-after-edit.
6623 (eldoc-message-commands, eldoc-last-data): Use defvar.
6624 * loadup.el (emacs-lisp/eldoc): Load it.
6626 * progmodes/m4-mode.el (m4-syntax-propertize): New var.
6628 (m4--quoted-p): New function.
6629 (m4-font-lock-keywords): Don't handle #..\n comments any more.
6630 (m4-mode-syntax-table): Use punctuation syntax (according to m4 manual)
6631 for most special characters.
6633 * progmodes/compile.el (compilation--previous-directory): Simplify.
6634 (compilation-next-error): Ensure the parse before we look at
6635 compilation-message property.
6637 2014-10-15 Eli Zaretskii <eliz@gnu.org>
6639 * simple.el (what-cursor-position):
6640 * descr-text.el (describe-char): Update to support the new bidi
6643 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
6644 Force bidi-paragraph-direction to 'left-to-right'. This fixes
6645 buffer-menu display when the first buffer happens to start with
6648 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
6650 * progmodes/elisp-mode.el (elisp--local-variables-1):
6651 Handle quoted expressions (bug#18688).
6653 2014-10-14 Jérémy Compostella <jeremy.compostella@intel.com>
6654 Michael Albinus <michael.albinus@gmx.de>
6656 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
6657 Reduce the amount of set environment variable commands.
6659 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6661 Fix import completion. (Bug#18582)
6662 * progmodes/python.el (python-shell-completion-get-completions):
6663 Fix import case regexp.
6665 2014-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6667 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
6668 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
6669 * progmodes/prolog.el (prolog-electric--underscore): Same.
6671 2014-10-12 Michael Albinus <michael.albinus@gmx.de>
6673 * net/tramp-sh.el (tramp-get-remote-id): Check also for "gid".
6675 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
6677 * cus-start.el (all): Add missing ns and boolean to
6678 ns-use-fullscreen-animation.
6680 2014-10-11 Leo Liu <sdl.web@gmail.com>
6682 * progmodes/cfengine.el (cfengine3-defuns, cfengine3-vartypes):
6684 (cfengine3-create-imenu-index): New function.
6685 (cfengine3-mode): Use it for `imenu-create-index-function'.
6686 (cfengine-auto-mode): Improve and prefer cfengine3-mode when
6689 2014-10-11 Jan Djärv <jan.h.d@swipnet.se>
6691 * cus-start.el (all): Add ns-use-fullscreen-animation.
6693 2014-10-11 Glenn Morris <rgm@gnu.org>
6695 * calendar/diary-lib.el (diary-display-function):
6696 Drop support for deprecated nil and list forms.
6697 (diary-list-entries): Update for the above.
6698 * calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.
6700 2014-10-10 Leo Liu <sdl.web@gmail.com>
6702 * window.el (temp-buffer-window-show): Make BUFFER a required arg.
6705 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
6707 * select.el (gui-selection-exists-p-alist): New method.
6708 * menu-bar.el (menu-bar-edit-menu, clipboard-yank):
6709 * simple.el (deactivate-mark): Use it.
6710 * term/x-win.el (gui-selection-exists-p):
6711 * term/w32-win.el (gui-selection-exists-p):
6712 * term/pc-win.el (gui-selection-exists-p):
6713 * term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
6715 2014-10-10 Glenn Morris <rgm@gnu.org>
6717 * info.el (Info-fontify-maximum-menu-size): Bump to 400k. (Bug#16227)
6718 Fix :type. Allow t to mean no limit.
6719 (Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.
6721 2014-10-09 Glenn Morris <rgm@gnu.org>
6723 * frame.el (display-monitor-attributes-list): Doc tweaks.
6725 2014-10-09 Eli Zaretskii <eliz@gnu.org>
6727 * faces.el (display-grayscale-p): Mention in the doc string that
6728 the argument can be either a display name or a frame.
6730 * frame.el (display-pixel-height, display-pixel-width)
6731 (display-mm-height, display-mm-width, display-backing-store)
6732 (display-save-under, display-planes, display-color-cells)
6733 (display-visual-class, display-monitor-attributes-list)
6734 (display-screens): Mention in the doc string that the argument can
6735 be either a display name or a frame. Improve the docs of the
6736 monitor attributes. (Bug#18636)
6738 2014-10-09 Martin Rudalics <rudalics@gmx.at>
6740 * term.el (term-window-width): Subtract 1 from the width when
6741 any fringe has zero width, not just the right fringe. (Bug#18601)
6743 2014-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6745 * frame.el (make-frame): Use t rather than nil for `w' (bug#18653).
6747 2014-10-08 Leo Liu <sdl.web@gmail.com>
6749 * emacs-lisp/cl-extra.el (cl-fresh-line): New function.
6751 2014-10-08 Glenn Morris <rgm@gnu.org>
6753 * calendar/cal-x.el (calendar-dedicate-diary):
6754 Drop support for recently deleted aliases.
6756 2014-10-08 Leo Liu <sdl.web@gmail.com>
6758 * progmodes/cfengine.el (cfengine3-make-syntax-cache):
6759 Always return a syntax. Replace call-process-shell-command with
6760 process-file. Ensure cfengine-mode-syntax-functions-regex is
6761 always set. Ensure cache when cfengine-cf-promises fails.
6764 2014-10-07 Glenn Morris <rgm@gnu.org>
6766 * font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
6768 2014-10-07 Wilson Snyder <wsnyder@wsnyder.org>
6770 Sync with upstream verilog-mode revision c075a492.
6771 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
6772 (verilog-menu): Add AUTOINSERTLAST.
6773 (verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
6774 is nil, fix indenting initial/final to match always statements, bug825.
6775 Reported by Tim Clapp.
6776 (verilog-extended-complete-re): Fix indentation of DPI-C imports,
6777 bug557. Reported by ZeDong Mao and Jason Forkey.
6778 (verilog-read-decls): Fix parsing typed interfaces.
6779 Fix AUTOINOUTMODPORT missing types. Reported by Stephan Bourduas.
6780 (verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
6781 (verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
6782 Reported by Pierre-David Pfister.
6783 (verilog-auto-insert-lisp): Doc fix.
6784 (verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
6785 allow post-AUTO user fixups, bug826. Reported by Dennis Muhlestein.
6786 (verilog-sk-ovm-class, verilog-sk-uvm-object)
6787 (verilog-sk-uvm-component): Fix missing string keyword in class
6788 skeletons, bug824. Reported by eldad faruhi.
6790 2014-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6792 * term/w32-win.el: Move all code from 32-common-fns.el here.
6793 (gui-select-text, gui-selection-value): Use w32 handlers in the w32
6794 console as well (bug#18629).
6795 * w32-common-fns.el: Remove.
6796 * loadup.el: Don't load w32-common-fns.el.
6797 * w32-fns.elc: Don't require w32-common-fns.
6799 * icomplete.el: Move Iswitchb autoload here. Much simpler.
6800 * obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
6801 Remove redundant obsolescence thingy.
6802 * loadup.el: Don't load obsolete/loaddefs.el.
6803 * Makefile.in (obsolete-autoloads): Remove.
6804 (AUTOGENEL): Remove obsolete/loaddefs.el.
6806 2014-10-06 Glenn Morris <rgm@gnu.org>
6808 * Makefile.in (obsolete-autoloads): Write to a separate file,
6809 to workaround autoloads bug. (Bug#17407)
6810 (AUTOGENEL): Add obsolete/loaddefs.el.
6811 * loadup.el: Load obsolete/loaddefs.el if present.
6812 * subr.el (do-after-load-evaluation):
6813 Don't warn about obsolete/loaddefs.el.
6815 * menu-bar.el (menu-bar-games-menu): Remove landmark.
6816 It has zero relationship to a game.
6818 2014-10-06 Leo Liu <sdl.web@gmail.com>
6820 * imenu.el (imenu): Re-write for clarity.
6822 2014-10-06 Glenn Morris <rgm@gnu.org>
6824 Remove calendar code obsolete since at least version 23.1.
6825 * calendar/cal-bahai.el (calendar-absolute-from-bahai)
6826 (calendar-print-bahai-date, calendar-bahai-prompt-for-date)
6827 (calendar-goto-bahai-date, list-bahai-diary-entries)
6828 (mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
6829 (insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
6830 (insert-yearly-bahai-diary-entry):
6831 * calendar/cal-china.el (chinese-calendar-time-zone)
6832 (chinese-calendar-location-name)
6833 (chinese-calendar-daylight-time-offset)
6834 (chinese-calendar-standard-time-zone-name)
6835 (chinese-calendar-daylight-time-zone-name)
6836 (chinese-calendar-daylight-savings-starts)
6837 (chinese-calendar-daylight-savings-ends)
6838 (chinese-calendar-daylight-savings-starts-time)
6839 (chinese-calendar-daylight-savings-ends-time)
6840 (chinese-calendar-celestial-stem)
6841 (chinese-calendar-terrestrial-branch)
6842 (calendar-absolute-from-chinese, calendar-print-chinese-date)
6843 (calendar-goto-chinese-date):
6844 * calendar/cal-coptic.el (calendar-absolute-from-coptic)
6845 (calendar-print-coptic-date, coptic-prompt-for-date)
6846 (calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
6847 (calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
6848 * calendar/cal-french.el (calendar-absolute-from-french)
6849 (calendar-print-french-date, calendar-goto-french-date):
6850 * calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
6851 (calendar-absolute-from-hebrew, calendar-print-hebrew-date)
6852 (hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
6853 (holiday-rosh-hashanah-etc, holiday-hanukkah)
6854 (holiday-passover-etc, holiday-tisha-b-av-etc)
6855 (list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
6856 (mark-hebrew-diary-entries, insert-hebrew-diary-entry)
6857 (insert-monthly-hebrew-diary-entry)
6858 (insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
6859 (diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
6860 (diary-sabbath-candles):
6861 * calendar/cal-islam.el (calendar-absolute-from-islamic)
6862 (calendar-print-islamic-date, calendar-goto-islamic-date)
6863 (list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
6864 (mark-islamic-diary-entries, insert-islamic-diary-entry)
6865 (insert-monthly-islamic-diary-entry)
6866 (insert-yearly-islamic-diary-entry):
6867 * calendar/cal-iso.el (calendar-absolute-from-iso)
6868 (calendar-print-iso-date, calendar-iso-read-args)
6869 (calendar-goto-iso-date, calendar-goto-iso-week):
6870 * calendar/cal-julian.el (calendar-absolute-from-julian)
6871 (calendar-print-julian-date, calendar-goto-julian-date)
6872 (calendar-absolute-from-astro, calendar-print-astro-day-number)
6873 (calendar-goto-astro-day-number):
6874 * calendar/cal-mayan.el (calendar-print-mayan-date)
6875 (calendar-next-haab-date, calendar-previous-haab-date)
6876 (calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
6877 (calendar-next-calendar-round-date)
6878 (calendar-previous-calendar-round-date)
6879 (calendar-absolute-from-mayan-long-count)
6880 (calendar-goto-mayan-long-count-date):
6881 * calendar/cal-move.el (scroll-calendar-left)
6882 (scroll-calendar-right, scroll-calendar-left-three-months)
6883 (scroll-calendar-right-three-months):
6884 * calendar/cal-persia.el (calendar-absolute-from-persian)
6885 (calendar-print-persian-date, persian-prompt-for-date)
6886 (calendar-goto-persian-date):
6887 * calendar/cal-x.el (calendar-after-frame-setup-hooks):
6888 * calendar/calendar.el (view-diary-entries-initially)
6889 (mark-diary-entries-in-calendar, calendar-today-face)
6890 (diary-face, holiday-face, view-calendar-holidays-initially)
6891 (mark-holidays-in-calendar, initial-calendar-window-hook)
6892 (today-visible-calendar-hook, today-invisible-calendar-hook)
6893 (hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
6894 (bahai-diary-entry-symbol, american-date-diary-pattern)
6895 (european-date-diary-pattern, european-calendar-display-form)
6896 (american-calendar-display-form, holidays-in-diary-buffer)
6897 (all-hebrew-calendar-holidays, all-christian-calendar-holidays)
6898 (all-islamic-calendar-holidays, all-bahai-calendar-holidays)
6899 (fancy-diary-buffer, increment-calendar-month)
6900 (extract-calendar-month, extract-calendar-day)
6901 (extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
6902 (mark-visible-calendar-date, calendar-version):
6903 * calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
6904 (diary-display-hook, list-diary-entries-hook)
6905 (mark-diary-entries-hook, nongregorian-diary-listing-hook)
6906 (nongregorian-diary-marking-hook, print-diary-entries-hook)
6907 (abbreviated-calendar-year, number-of-diary-entries)
6908 (view-other-diary-entries, add-to-diary-list)
6909 (include-other-diary-files, simple-diary-display)
6910 (fancy-diary-display, print-diary-entries, mark-diary-entries)
6911 (mark-sexp-diary-entries, mark-included-diary-files)
6912 (mark-calendar-days-named, mark-calendar-month)
6913 (mark-calendar-date-pattern, sort-diary-entries)
6914 (list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
6915 (insert-weekly-diary-entry, insert-monthly-diary-entry)
6916 (insert-yearly-diary-entry, insert-anniversary-diary-entry)
6917 (insert-block-diary-entry, insert-cyclic-diary-entry)
6918 (fancy-diary-font-lock-keywords, fancy-diary-display-mode):
6919 * calendar/holidays.el (general-holidays, oriental-holidays)
6920 (local-holidays, other-holidays, hebrew-holidays)
6921 (christian-holidays, islamic-holidays, bahai-holidays)
6922 (solar-holidays, list-calendar-holidays)
6923 (check-calendar-holidays, mark-calendar-holidays)
6924 (filter-visible-calendar-holidays):
6925 * calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
6926 (diary-phases-of-moon): Remove obsolete aliases.
6927 * calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
6928 * calendar/cal-x.el (calendar-one-frame-setup)
6929 (calendar-only-one-frame-setup, calendar-two-frame-setup):
6930 Remove obsolete functions.
6931 (cal-x-load-hook): Remove obsolete hook.
6932 * calendar/calendar.el (european-calendar-style):
6933 Remove obsolete variable.
6934 (calendar-date-style): No longer consult european-calendar-style.
6935 * calendar/calendar.el (european-calendar, american-calendar):
6936 Remove obsolete commands.
6937 * calendar/calendar.el (calendar-for-loop): Remove obsolete macro.
6938 * calendar/diary-lib.el (diary-face): Remove obsolete variable.
6939 (diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
6940 Use the face `diary' instead of the variable `diary-face'.
6941 * calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
6942 (hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.
6943 * calendar/icalendar.el (icalendar--date-style): Remove function.
6944 Replace all uses with calendar-date-style.
6945 * textmodes/remember.el (calendar-date-style): Declare.
6946 (remember-diary-convert-entry):
6947 No longer consult european-calendar-style.
6949 2014-10-05 Leo Liu <sdl.web@gmail.com>
6951 * imenu.el (imenu-default-goto-function): Fix typo.
6953 2014-10-04 Thomas Fitzsimmons <fitzsim@fitzsim.org>
6955 * net/ntlm.el (ntlm-build-auth-request):
6956 Add NTLM2 Session support. (Bug#15603)
6958 2014-10-04 Glenn Morris <rgm@gnu.org>
6960 * apropos.el (apropos-symbols-internal):
6961 Avoid error with non-symbol properties. (Bug#18337#16)
6963 * startup.el (command-line):
6964 Handle altered user-emacs-directory in load-path warning. (Bug#18512)
6966 2014-10-04 Martin Rudalics <rudalics@gmx.at>
6968 * window.el (window-full-height-p): Make it behave correctly for
6970 (window-current-scroll-bars): Fix code.
6971 (fit-frame-to-buffer): Use window-scroll-bar-height instead of
6973 * frame.el (frame-current-scroll-bars): Fix doc-string.
6974 * scroll-bar.el (toggle-horizontal-scroll-bar): New command.
6976 2014-10-04 Mark Oteiza <mvoteiza@udel.edu> (tiny change)
6978 * files.el (auto-mode-alist): Use sh-mode for .zsh files. (Bug#18488)
6980 2014-10-04 Glenn Morris <rgm@gnu.org>
6982 * frame.el (frame-monitor-attributes)
6983 (display-monitor-attributes-list): Doc fixes.
6985 2014-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
6987 Merge trivially safe differences from standalone CC-mode.
6988 * progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
6989 just to then pass it to `symbol-value'.
6990 (prog-mode): Provide fallback definition, if needed.
6991 * progmodes/cc-langs.el: Always load `cl'. Don't load `cl-lib'.
6992 Remove "cl-" prefix accordingly.
6993 * progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
6994 characterp depending on the type of characters.
6995 (c-font-lock-enum-tail): Remove unused var `start'.
6996 * progmodes/cc-engine.el: Load CL at compile-time.
6997 (c-declare-lang-variables): Use mapcan.
6998 (c-append-to-state-cache): Remove unused var `ce+1'.
6999 (c-parse-state-state): Make buffer-local.
7000 (c-ssb-lit-begin): Remove unused var `pps-end-pos'.
7001 (c-just-after-func-arglist-p): Remove unused var `end'.
7002 * progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
7003 (c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
7004 (c-make-keywords-re): Use delete-dups.
7005 (c-get-current-file): Avoid file-name-base.
7006 * progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
7007 `close-paren-inserted'.
7008 * progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.
7010 * progmodes/python.el: Avoid building unneeded markers.
7011 (python-font-lock-keywords, python-indent-dedent-line)
7012 (python-fill-paren, python-shell-completion-complete-or-indent):
7013 Prefer point over point-marker.
7014 (inferior-python-mode): Remove redundant completion settings.
7016 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
7018 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
7019 (vc-svn-ignore): Use it. (Bug#18619)
7021 2014-10-03 Martin Rudalics <rudalics@gmx.at>
7023 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
7024 In doc-string mention need to set `frame-resize-pixelwise'.
7026 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7028 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
7029 similarly to Rogers's 2010-06-16 change for the remote case
7032 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7034 New gui-selection-value consolidating x-selection-value.
7035 * select.el (gui-selection-value-alist): New method.
7036 (gui-selection-value): New function.
7037 (x-selection-value): Make it an obsolete alias.
7038 * simple.el (interprogram-paste-function): Default to
7039 gui-selection-value.
7040 * w32-common-fns.el (w32-get-selection-value): Simplify.
7041 (x-selection-value): Remove alias.
7042 (interprogram-paste-function): Don't set.
7043 (gui-selection-value): Define for w32.
7044 * term/x-win.el (gui-selection-value): Define for x.
7045 (x--selection-value): Rename from x--selection-value.
7046 (interprogram-paste-function): Don't set.
7047 * term/pc-win.el (w16-get-selection-value): Simplify.
7048 (msdos-initialize-window-system): Don't set
7049 interprogram-paste-function.
7050 (gui-selection-value): Define for pc.
7051 * term/ns-win.el (x-selection-value): Remove.
7052 (gui-selection-value): Define for ns, instead.
7053 * term/common-win.el (x-setup-function-keys): Don't set
7054 interprogram-paste-function.
7055 * obsolete/mouse-sel.el (mouse-sel-get-selection-function):
7056 Use gui-selection-value.
7058 2014-10-02 David Raynes <rayners@gmail.com> (tiny change)
7060 * term/ns-win.el: Add functions to ns frame, not x frame (bug#18614).
7062 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7064 * obsolete/lucid.el (read-number): Remove, redundant.
7065 * obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
7068 2014-10-02 Glenn Morris <rgm@gnu.org>
7070 * emacs-lisp/package.el (package-import-keyring):
7071 Create gnupg directory private. (Bug#17625#155)
7073 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7075 * progmodes/python.el (python-shell-completion-get-completions):
7076 Use python-shell--prompt-calculated-input-regexp from the
7077 process buffer (bug#18582).
7078 Don't assume that `line' comes from the process buffer.
7080 2014-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7082 * frame.el: Use lexical-binding (bug#18598).
7083 (make-frame): Use t rather than nil for tty's window-system.
7084 * startup.el (command-line): Use gui-method.
7086 Consolidate management/ownership of selections.
7087 * select.el (gui-get-selection-alist): New method.
7088 (gui-get-selection): Use it. Rename from x-get-selection.
7089 (x-get-selection): Define as obsolete alias.
7090 (x-get-clipboard): Mark obsolete.
7091 (gui-get-primary-selection): New function.
7092 (x-get-selection-value): Mark obsolete.
7093 (gui-own-selection-alist, gui-disown-selection-alist)
7094 (gui-selection-owner-p-alist): New methods.
7095 (gui-set-selection): Use them. Rename from x-set-selection.
7096 (x-set-selection): Define as obsolete alias.
7097 (gui--valid-simple-selection-p): Rename from
7098 x-valid-simple-selection-p.
7099 * w32-common-fns.el (gui-own-selection, gui-disown-selection)
7100 (gui-selection-owner-p, gui-get-selection): Define for w32.
7101 (w32-get-selection-value): Rename from x-get-selection-value.
7102 Use the new gui-last-selected-text.
7103 * term/x-win.el (x-get-selection-value): Remove.
7104 (x-clipboard-yank): Declare obsolete.
7105 (gui-own-selection, gui-disown-selection, gui-get-selection)
7106 (gui-selection-owner-p): Define for x.
7107 * term/w32-win.el (w32-win-suspend-error): Rename from
7108 x-win-suspend-error.
7109 * term/pc-win.el (w16-get-selection-value): Rename from
7110 x-get-selection-value.
7111 (w16-selection-owner-p): Rename from x-selection-owner-p.
7112 (gui-own-selection, gui-disown-selection, gui-get-selection)
7113 (gui-selection-owner-p): Define for pc.
7114 (w16--select-text): New function.
7115 * term/ns-win.el (gui-own-selection, gui-disown-selection)
7116 (gui-get-selection, gui-selection-owner-p): Define for ns.
7117 * term.el (term-mouse-paste):
7118 * mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
7120 2014-10-02 H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
7122 * calc/calc-help.el (calc-describe-thing): Quote strings
7123 which could look like regexps.
7125 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7127 Consolidate x-select-text.
7128 * frame.el (gui-method, gui-method-define, gui-method-declare)
7129 (gui-call): New macros.
7130 (gui-method--name): New function.
7131 (frame-creation-function-alist): Use gui-method-declare.
7132 (make-frame): Use gui-method.
7133 * select.el (gui-select-enable-clipboard): Rename from
7134 x-select-enable-clipboard and move here.
7135 (x-select-enable-clipboard): Define as obsolete alias.
7136 (gui-last-selected-text): New var, to replace x-last-selected-text.
7137 (gui-select-text): New GUI method.
7138 (gui-select-text): New function.
7139 (x-select-text): Define as obsolete alias.
7140 * term/common-win.el (x-select-enable-clipboard, x-select-text):
7142 * simple.el (interprogram-cut-function): Change default to
7144 (interprogram-paste-function): Change default to `ignore'.
7145 * w32-common-fns.el (interprogram-cut-function): Don't modify.
7146 * term/x-win.el (interprogram-cut-function): Don't modify.
7147 (gui-select-text): Add method for x.
7148 * term/w32-win.el (gui-select-text): Add method for w32.
7149 * term/pc-win.el (x-last-selected-text): Remove, use
7150 gui-last-selected-text instead.
7151 (msdos-initialize-window-system): Don't set interprogram-cut-function.
7152 (gui-select-text): Add method for pc.
7153 * term/ns-win.el (ns-last-selected-text): Remove, use
7154 gui-last-selected-text instead.
7155 (gui-select-text): Add method for ns.
7156 (x-setup-function-keys): Don't change interprogram-cut-function.
7157 * loadup.el ("startup"): Load after "frame".
7158 * subr.el (package--builtin-versions, package--description-file):
7159 Move from startup.el.
7160 * startup.el (package--builtin-versions, package--description-file):
7162 (handle-args-function-alist, window-system-initialization-alist):
7163 Use gui-method-declare.
7164 (command-line): Use gui-method.
7166 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7168 * subr.el (alist-get): New accessor.
7169 * emacs-lisp/gv.el (alist-get): Provide expander.
7170 * winner.el (winner-remember):
7171 * tempo.el (tempo-use-tag-list):
7172 * progmodes/gud.el (minor-mode-map-alist):
7173 * international/mule-cmds.el (define-char-code-property):
7174 * frameset.el (frameset-filter-params):
7175 * files.el (dir-locals-set-class-variables):
7176 * register.el (get-register, set-register):
7177 * calc/calc-yank.el (calc-set-register): Use it.
7178 * ps-print.el (ps-get, ps-put, ps-del): Mark as obsolete.
7179 * tooltip.el (tooltip-set-param): Mark as obsolete.
7180 (tooltip-show): Use alist-get instead.
7181 * ses.el (ses--alist-get): Remove. Use alist-get instead.
7183 2014-10-01 Ulf Jasper <ulf.jasper@web.de>
7185 * net/newst-backend.el: Remove Time-stamp. Rename variable
7186 `newsticker--download-logos' to `newsticker-download-logos' and
7187 make it customizable.
7188 (newsticker--sentinel-work): Move xml-workarounds to function
7189 `newsticker--do-xml-workarounds', call unless libxml-parser is
7190 used. Allow single quote in regexp for encoding.
7191 Use libxml-parser if available, else fall back to `xml-parse-region'.
7192 Take care of possibly missing namespace prefixes (like "RDF"
7193 instead of "rdf:RDF") when checking xml nodes and attributes (as
7194 libxml correctly removes the prefixes). Always use Atom 1.0 as
7195 fallback feed type. Rename `newsticker--download-logos' to
7196 `newsticker-download-logos'
7197 (newsticker--unxml, newsticker--unxml-node)
7198 (newsticker--unxml-attribute): New.
7199 (newsticker--parse-atom-1.0): Call `unxml' in case that embedded
7200 HTML code has become part of the xml parse tree.
7201 (newsticker--parse-rss-1.0, newsticker--parse-rss-2.0): Take care
7202 of possibly missing namespace prefixes.
7203 (newsticker--parse-generic-items): Code formatting. Typo.
7204 (newsticker--images-dir): Add trailing slash.
7205 (newsticker--image-get): Fix error message.
7207 * net/newst-plainview.el: Remove Time-stamp.
7209 * net/newst-reader.el: Remove Time-stamp.
7210 (newsticker-download-logos): Rename variable
7211 `newsticker--download-logos' to `newsticker-download-logos' and
7212 make it customizable.
7213 (newsticker--print-extra-elements): Add optional parameter
7214 'htmlish for using html markup. Amend list of ignored elements.
7215 (newsticker--do-print-extra-element): Add parameter 'htmlish for
7218 * net/newst-ticker.el: Remove Time-stamp.
7220 * net/newst-treeview.el (newsticker--treeview-item-show): Use html
7221 for formatting extra elements.
7223 * net/newsticker.el: Remove Time-stamp, Version.
7224 (newsticker-version): Make obsolete.
7226 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
7228 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
7231 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7233 * emacs-lisp/package.el (package-check-signature): Default to nil if
7234 GPG is not available.
7235 (package-refresh-contents): Don't mess with the keyring if we won't
7236 check the signatures anyway.
7238 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7240 * ses.el (ses--row, ses--col): New dyn-scoped vars, to replace row&col.
7241 (ses-center, ses-center-span): Use them.
7242 (ses-print-cell): Bind them while calling the printer.
7243 (row, col, maxrow, maxcol): Don't declare as dynamically scoped.
7244 (ses-dorange): Revert last change.
7245 (ses-calculate-cell): Don't bind row&col dynamically while evaluating
7247 (ses-set-cell): Avoid `eval'.
7248 (ses--time-check): Rename it from ses-time-check and turn it into
7251 * ses.el (ses-setup): Don't assume modifying the iteration var of
7252 dotimes affects the iteration (bug#18191).
7254 2014-09-30 Vincent Belaïche <vincentb1@users.sourceforge.net>
7256 * ses.el (ses-calculate-cell): Bind row and col dynamically to
7257 their values with 'cl-progv'.
7258 (ses-dorange): Bind row, col, maxrow and maxcol dynamically to
7259 their values with 'cl-progv', also use non-interned symbols for
7260 row, minrow, maxrow, mincol and maxcol.
7261 (maxrow maxcol): New defvar, to make the compiler happy.
7263 2014-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7265 * minibuffer.el (completion-at-point): Emit warning for ill-behaved
7266 completion functions.
7268 2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
7270 * ses.el (ses--letref): Quote value before it gets re-evaluated.
7272 2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
7274 Font-lock `cl-flet*', too.
7275 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2):
7276 Add "flet*" to intermediate var `cl-lib-kw'.
7278 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7280 * epg-config.el (epg-gpg-program): Use the plain program names rather
7281 than their absolute file name.
7283 * subr.el (track-mouse): New macro.
7284 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7285 Remove track-mouse case.
7286 * emacs-lisp/bytecomp.el (byte-compile-track-mouse): Remove.
7288 2014-09-27 Leo Liu <sdl.web@gmail.com>
7290 * progmodes/elisp-mode.el (elisp--eldoc-last-data): Use defvar.
7292 * emacs-lisp/eldoc.el (eldoc-mode): Fix thinko.
7294 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7296 * emacs-lisp/pcase.el (pcase--split-match, pcase--app-subst-match):
7297 Handle the case where `match' is :pcase--succeed or :pcase--fail
7300 Introduce global-eldoc-mode. Move Elisp-specific code to elisp-mode.el.
7301 * emacs-lisp/eldoc.el (global-eldoc-mode): New minor mode.
7302 (eldoc-schedule-timer): Obey it.
7303 (eldoc-documentation-function): Default to nil.
7304 (eldoc-mode): Don't enable if eldoc-documentation-function is not set.
7305 (eldoc-documentation-function-default, eldoc-get-fnsym-args-string)
7306 (eldoc-highlight-function-argument, eldoc-get-var-docstring)
7307 (eldoc-last-data-store, eldoc-docstring-first-line)
7308 (eldoc-docstring-format-sym-doc, eldoc-fnsym-in-current-sexp)
7309 (eldoc-beginning-of-sexp, eldoc-current-symbol)
7310 (eldoc-function-argstring): Move to elisp-mode.el.
7311 (eldoc-symbol-function): Remove, unused.
7312 * progmodes/elisp-mode.el: New file. Rename all "eldoc-*" to "elisp--*".
7313 (elisp-completion-at-point): Rename from lisp-completion-at-point.
7314 (elisp--preceding-sexp): Rename from preceding-sexp.
7315 * loadup.el: Load new file progmodes/elisp-mode.
7316 * ielm.el (inferior-emacs-lisp-mode): Set eldoc-documentation-function.
7317 * emacs-lisp/lisp.el (lisp--local-variables-1, lisp--local-variables)
7318 (lisp--local-variables-completion-table, lisp--expect-function-p)
7319 (lisp--form-quoted-p, lisp--company-doc-buffer)
7320 (lisp--company-doc-string, lisp--company-location)
7321 (lisp-completion-at-point): Move to elisp-mode.el.
7322 * emacs-lisp/lisp-mode.el (lisp--mode-syntax-table): New syntax-table,
7323 extracted from emacs-lisp-mode-syntax-table.
7324 (emacs-lisp-mode-abbrev-table, emacs-lisp-mode-syntax-table): Move to
7326 (lisp-imenu-generic-expression): Add comments to document what comes
7327 from which Lisp dialect.
7328 (emacs-lisp-mode-map, emacs-lisp-byte-compile)
7329 (emacs-lisp-byte-compile-and-load, emacs-lisp-mode-hook)
7330 (emacs-lisp-mode, emacs-list-byte-code-comment-re)
7331 (emacs-lisp-byte-code-comment)
7332 (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode)
7333 (lisp-interaction-mode-map, lisp-interaction-mode)
7334 (eval-print-last-sexp, last-sexp-setup-props)
7335 (last-sexp-toggle-display, prin1-char, preceding-sexp)
7336 (eval-last-sexp-1, eval-last-sexp-print-value)
7337 (eval-last-sexp-fake-value, eval-sexp-add-defvars, eval-last-sexp)
7338 (eval-defun-1, eval-defun-2, eval-defun): Move to elisp-mode.el.
7340 2014-09-26 Paul Eggert <eggert@cs.ucla.edu>
7342 * progmodes/grep.el (grep-regexp-alist): Use more-accurate regexp.
7343 Do not match file names that end in '/', as they cannot be 'grep'
7344 hits nowadays. This prevents confusion when 'grep -r' reports a
7345 match in a file whose basename is ':12345:'. Conversely, do not
7346 require exactly the same sequence of spaces and tabs after both
7347 colons, and allow spaces or tabs before the second colon, as per
7348 the POSIX spec for 'grep' output.
7350 2014-09-26 Leo Liu <sdl.web@gmail.com>
7352 Add cl-parse-integer based on parse-integer (Bug#18557)
7353 * calendar/parse-time.el (parse-time-digits): Remove.
7354 (digit-char-p, parse-integer) Moved to cl-lib.el.
7355 (parse-time-tokenize, parse-time-rules, parse-time-string):
7356 Use cl-parse-integer.
7358 * emacs-lisp/cl-extra.el (cl-parse-integer): New function.
7360 * emacs-lisp/cl-lib.el (cl-digit-char-table): New var.
7361 (cl-digit-char-p): New function.
7363 2014-09-25 Juri Linkov <juri@jurta.org>
7365 * vc/add-log.el (change-log-next-buffer): Don't create an empty
7366 buffer "ChangeLog" when the current buffer doesn't match ChangeLog.[0-9].
7367 Return the current buffer if no files match the default pattern
7368 ChangeLog.[0-9]. Signal "end of multi" when file is nil. (Bug#18547)
7370 2014-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
7372 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Don't modify
7373 the global vc-handled-backends (bug#18535).
7375 2014-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
7377 * find-cmd.el (find-cmd): Use grep's `find-program' (bug#18518).
7378 Suggested by <lompik@voila.fr>.
7380 2014-09-24 Ulf Jasper <ulf.jasper@web.de>
7382 * net/newst-treeview.el (newsticker--treeview-do-get-node-by-id):
7383 Rename from `newsticker--treeview-do-get-node'.
7384 (newsticker--treeview-get-node-by-id):
7385 Rename from `newsticker--treeview-get-node'.
7386 (newsticker--treeview-buffer-init)
7387 (newsticker--treeview-buffer-init): Disable buffer undo.
7388 (newsticker--treeview-unfold-node): Adapt to modified
7389 `newsticker--group-find-parent-group'.
7390 (newsticker--group-do-find-group):
7391 Rename from `newsticker--group-do-find-group-for-feed'.
7392 Now works for both, groups and feeds.
7393 (newsticker--group-find-parent-group):
7394 Rename from `newsticker--group-find-group-for-feed'.
7395 Now works for both, groups and feeds.
7396 (newsticker--group-do-get-parent-group)
7397 (newsticker--group-get-parent-group): Remove.
7398 (newsticker-group-add-group): Change interactive prompts.
7399 (newsticker-group-add-group): Finally jump to added group.
7400 (newsticker-group-delete-group): Finally jump to current feed.
7401 (newsticker--group-do-rename-group, newsticker-group-rename-group)
7402 (newsticker--get-group-names, newsticker--group-names): New.
7403 (newsticker-group-move-feed): Finally jump to moved feed.
7404 (newsticker-group-shift-feed-down, newsticker-group-shift-feed-up)
7405 (newsticker-group-shift-group-down)
7406 (newsticker-group-shift-group-up, newsticker--group-shift): New.
7407 (newsticker-treeview-mode-map): New keybindings for new shift commands.
7409 * net/newst-backend.el (newsticker--item-list)
7410 (newsticker--item-position, newsticker--prev-message)
7411 (newsticker--scrollable-text): Move to newst-ticker.el.
7413 * net/newst-ticker.el (newsticker--item-list)
7414 (newsticker--item-position, newsticker--prev-message)
7415 (newsticker--scrollable-text): Move from newst-backend.el.
7417 2014-09-22 Kan-Ru Chen <kanru@kanru.info>
7419 * window.el (fit-window-to-buffer): When counting buffer width,
7420 count the whole visible buffer. Correctly convert the body-height
7421 to pixel size for window-text-pixel-size (Bug#18498).
7423 2014-09-22 Sam Steingold <sds@gnu.org>
7425 * progmodes/sql.el (sql-product-alist): Improve the Vertica entry.
7426 (sql-execute): Use `special-mode'.
7428 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7430 Add pcase-defmacro, as well as `quote' and `app' patterns.
7431 * loadup.el: Increase max-lisp-eval-depth when macroexpanding macroexp.
7432 * emacs-lisp/pcase.el: Allow (F . ARGS) in `app' patterns.
7433 (pcase--funcall, pcase--eval): New functions.
7434 (pcase--u1): Use them for guard, pred, let, and app.
7435 (\`): Use the new feature to generate better code for vector patterns.
7436 * emacs-lisp/pcase.el: Use pcase-defmacro to handle backquote.
7437 (pcase--upat): Remove.
7438 (pcase--macroexpand): Don't hardcode handling of `.
7439 (pcase--split-consp, pcase--split-vector): Remove.
7440 (pcase--split-equal): Disregard ` since it's expanded away.
7441 (pcase--split-member): Optimize for quote rather than for `.
7442 (pcase--split-pred): Optimize for quote rather than for `.
7443 (pcase--u1): Remove handling of ` (and of `or' and `and').
7444 Quote non-selfquoting values when passing them to `eq'.
7445 Drop `app's let-binding if the variable is not used.
7446 (pcase--q1): Remove.
7447 (`): Define as a pattern macro.
7448 * emacs-lisp/pcase.el (pcase--match): New smart-constructor function.
7449 (pcase--expand pcase--q1, pcase--app-subst-match): Use it.
7450 (pcase--macroexpand): Handle self-quoting patterns here, expand them to
7452 (pcase--split-match): Don't hoist or/and here any more.
7453 (pcase--split-equal): Optimize quote patterns as well as ` patterns.
7454 (pcase--flip): New helper macro.
7455 (pcase--u1): Optimize the memq case directly.
7456 Don't handle neither self-quoting nor and/or patterns any more.
7457 * emacs-lisp/pcase.el (pcase-defmacro): New macro.
7458 (pcase--macroexpand): New function.
7459 (pcase--expand): Use it.
7460 * emacs-lisp/pcase.el (pcase--app-subst-match, pcase--app-subst-rest):
7461 New optimization functions.
7462 (pcase--u1): Add support for `quote' and `app'.
7463 (pcase): Document them in the docstring.
7465 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7467 Use lexical-bindin in Ibuffer.
7468 * ibuffer.el (ibuffer-do-toggle-read-only): `arg' is unused.
7469 (ibuffer-compile-format): Simplify.
7470 (ibuffer-clear-summary-columns): Simplify.
7471 * ibuf-ext.el (ibuffer-generate-filter-groups): Don't use the third
7472 elem of dotimes when we don't refer to the iteration var from it.
7473 (ibuffer-toggle-sorting-mode): Avoid add-to-list.
7474 * ibuf-macs.el (define-ibuffer-column, define-ibuffer-op):
7475 Silence byte-compiler.
7477 2014-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
7479 * font-lock.el (font-lock-compile-keyword): Don't confuse a lambda
7480 expression for a list.
7482 * emacs-lisp/bytecomp.el (byte-compile-lambda): Don't add fundoc usage
7483 for functions with no arguments.
7485 * mpc.el (mpc-data-directory): Use locate-user-emacs-file.
7486 (mpc-volume-refresh): Make sure the corresponding header-line is updated.
7488 2014-09-17 Tom Willemse <tom@ryuslash.org> (tiny change)
7490 * simple.el (clone-indirect-buffer): Mention the return value
7493 * progmodes/prog-mode.el (prog-mode-hook): Replace reference to
7494 Text mode in docstring (bug#18464).
7496 2014-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7498 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7499 Accept underscores in identifiers after "sub" (bug#18502).
7501 2014-09-21 Tassilo Horn <tsdh@gnu.org>
7503 * textmodes/reftex-sel.el (reftex-select-label-mode)
7504 (reftex-select-bib-mode, reftex-insert-docstruct): Derive modes
7505 from special-mode (instead of fundamental-mode) and propertize
7506 with font-lock-face instead of just face. (Bug#18496)
7508 * textmodes/reftex-toc.el (reftex-toc-mode, reftex-toc): Ditto.
7510 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
7512 * emacs-lisp/lisp.el (lisp-completion-at-point): Only calculate
7513 `table-etc' when `end' is non-nil.
7514 (lisp-completion-at-point): Move `end' back if it's after quote.
7515 If in comment or string, only complete when after backquote.
7517 (lisp-completion-at-point): Don't use
7518 `lisp--local-variables-completion-table' in the
7519 `lisp--form-quoted-p' case.
7521 2014-09-19 Dmitry Gutov <dgutov@yandex.ru>
7523 * emacs-lisp/lisp.el (lisp--expect-function-p)
7524 (lisp--form-quoted-p): New functions.
7525 (lisp-completion-at-point): Use them to see if we're completing a
7526 variable reference, a function name, or just any symbol.
7527 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00229.html
7529 2014-09-18 Ivan Kanis <ivan@kanis.fr>
7531 * net/shr.el, net/eww.el: Don't override `shr-width', but
7532 introduce a new variable `shr-internal-width'. This allows users
7533 to specify a width themselves.
7535 2014-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7537 * image-mode.el (image-toggle-display-image): If we have a
7538 `fit-width' or a `fit-height', don't limit the size of the image
7539 to the window size, because that doesn't preserve the aspect ratio.
7540 * image-mode.el: Move defvars earlier to avoid a byte-compilation
7543 2014-09-17 Reuben Thomas <rrt@sc3d.org>
7545 * progmodes/js.el: Add interpreter-mode-alist support for various
7546 JavaScript interpreters.
7548 2014-09-17 Paul Eggert <eggert@cs.ucla.edu>
7550 Don't assume 'grep' supports GREP_OPTIONS.
7551 The GREP_OPTIONS environment variable is planned to be marked
7552 obsolescent in GNU grep, due to problems in its use, so stop
7554 * progmodes/grep.el (grep-highlight-matches): Document this.
7555 (grep-process-setup): Do not set GREP_OPTIONS.
7556 (grep-compute-defaults): Use an explicit --color option if supported.
7558 2014-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7560 * msb.el (msb--make-keymap-menu, msb-menu-bar-update-buffers):
7561 Don't add outdated key-shortcut cache (bug#18482).
7563 2014-09-15 Glenn Morris <rgm@gnu.org>
7565 * image.el (image-multi-frame-p): Fix thinko - do not force
7566 a delay if none was specified. (Bug#18334)
7568 2014-09-15 Kan-Ru Chen <kanru@kanru.info>
7570 * window.el (fit-window-to-buffer): Doc fix.
7572 2014-09-15 Ivan Shmakov <ivan@siamics.net>
7574 * desktop.el (desktop-create-buffer): Check that buffers are still live
7575 before burying them (bug#18373).
7577 2014-09-15 Glenn Morris <rgm@gnu.org>
7579 * calendar/diary-lib.el (diary-list-entries):
7580 Restore 24.3 display behavior. (Bug#18381)
7582 2014-09-15 Eli Zaretskii <eliz@gnu.org>
7584 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
7585 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
7586 discrepancy between window-pixel-edges and mouse events, and
7587 avoids moving mode line up when the mouse click is on the modeline
7588 and no drag is attempted.
7590 2014-09-14 Daniel Colascione <dancol@dancol.org>
7592 * register.el (insert-register): Change default interactive
7595 2014-09-14 Michael Albinus <michael.albinus@gmx.de>
7597 * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
7598 Suppress debug messages.
7600 * net/tramp.el (tramp-file-name-handler):
7601 * net/tramp-gvfs.el (tramp-gvfs-url-file-name): Apply `cons' where
7604 2014-09-13 Christopher Schmidt <ch@ristopher.com>
7606 * calendar/calendar.el (calendar-update-mode-line):
7607 Do not overwrite mode-line-format if calendar-mode-line-format is
7610 2014-09-13 Leo Liu <sdl.web@gmail.com>
7612 * emacs-lisp/pcase.el (pcase--dontwarn-upats): New var.
7613 (pcase--expand): Use it.
7614 (pcase-exhaustive): New macro. (Bug#16567)
7616 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
7617 Add pcase-exhaustive.
7619 2014-09-13 Eli Zaretskii <eliz@gnu.org>
7621 * mail/rmailmm.el (rmail-mime-insert-html): Decode the HTML part
7622 using the specified transfer-encoding, if any, or 'undecided'.
7623 (rmail-mime-render-html-shr): Bind shr-width to nil, so lines are
7624 broken at the window margin.
7626 2013-12-27 Ken Olum <kdo@cosmos.phy.tufts.edu>
7628 Support rendering of HTML parts in Rmail (bug#4258).
7629 * mail/rmailmm.el (rmail-mime-process): Handle text/html
7630 separately from other text/ types. Suppress tagline for
7632 (rmail-mime-parse): Don't change visibility of tagline here.
7633 (rmail-mime-set-bulk-data, rmail-mime-insert-bulk):
7634 Handle text/html specially.
7635 (rmail-mime-render-html-function,rmail-mime-prefer-html): New variables.
7636 (rmail-mime-insert-html, rmail-mime-render-html-shr)
7637 (rmail-mime-render-html-lynx): New functions.
7638 (rmail-mime-fix-inserted-faces): New function.
7639 (rmail-mime-process-multipart): Find the best part to show
7640 following rmail-mime-prefer-html if set.
7641 (rmail-mime-searching): New variable.
7642 (rmail-search-mime-message): Bind rmail-mime-searching to
7643 suppress rendering while searching.
7645 2014-09-12 Sam Steingold <sds@gnu.org>
7647 * progmodes/sql.el (sql-product-alist): Add vertica.
7648 (sql-vertica-program, sql-vertica-options)
7649 (sql-vertica-login-params, sql-comint-vertica, sql-vertica):
7650 New functions and variables to support Vertica.
7651 Inspired by code by Roman Scherer <roman@burningswell.com>.
7653 2014-09-11 Paul Eggert <eggert@cs.ucla.edu>
7655 * ses.el (ses-file-format-extend-parameter-list): Rename from
7656 ses-file-format-extend-paramter-list, to correct a misspelling.
7659 2014-09-10 Alan Mackenzie <acm@muc.de>
7661 CC Mode: revert recent changes and fix bug 17463 (cc-langs.elc
7662 gets loaded at run-time).
7663 * progmodes/cc-langs.el (c-no-parens-syntax-table): Rename the
7664 c-lang-const to c-make-no-parens-syntax-table and correct the
7666 (c-no-parens-syntax-table): Correct the logic of the
7669 2014-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7671 CC-mode: Set open-paren-in-column-0-is-defun-start to nil;
7673 * progmodes/cc-mode.el (c-basic-common-init):
7674 Set open-paren-in-column-0-is-defun-start.
7675 (adaptive-fill-first-line-regexp, font-lock-syntactic-keywords):
7676 Remove declarations, unused.
7677 (run-mode-hooks): Remove declaration.
7678 (font-lock-defaults): Use plain `defvar' to declare.
7679 (c-run-mode-hooks): Test existence of run-mode-hooks with fboundp.
7680 * progmodes/cc-langs.el (c-filter-ops): Avoid `setq'.
7681 (c-make-mode-syntax-table): Don't micro-optimize.
7682 (c-keywords, c-keyword-member-alist): Simplify.
7683 (c-kwds-lang-consts): Don't eval at compile-time.
7684 (c-primary-expr-regexp): Comment out unused vars.
7685 * progmodes/cc-fonts.el (c-font-lock-context): Declare at top-level.
7686 (c-font-byte-compile): New var.
7687 (c--compile): New function. Use it instead of `byte-compile'.
7688 (c-cpp-matchers): Quote the value returned by
7689 `c-make-syntactic-matcher' in case it's not self-evaluating.
7690 (c-basic-matchers-before): Avoid a plain MATCHER as keyword, wrap it in
7691 parentheses instead (in case MATCHER happens to be a list).
7692 (c-font-lock-enum-tail): Remove unused var `start'.
7693 (c-font-lock-objc-methods): Silence byte-compiler warnings.
7694 * progmodes/cc-engine.el (c-syntactic-re-search-forward): Sink an `if'
7695 test into an argument.
7696 * progmodes/cc-defs.el (c-point, c-major-mode-is, c-put-char-property)
7697 (c-get-char-property): Don't use `eval' just to unquote a constant.
7698 (c-use-extents): Remove. Use (featurep 'xemacs), compiled
7700 (c-put-char-property-fun): Don't call `byte-compile' by hand.
7701 (c-clear-char-property, c-clear-char-properties): Check that `property'
7702 is a quoted constant.
7703 (c-emacs-features): Remove `infodock', `syntax-properties', and
7704 `pps-extended-state' (never used), `8-bit' and `1-bit' (use (featurep
7705 'xemacs) instead). Use `with-temp-buffer' and let-bind vars after
7706 changing buffer, so we don't have to setq them again afterwards.
7707 (c-lang-const): Remove redundant symbolp assertions.
7708 (c-find-assignment-for-mode): Use `or'.
7709 * Makefile.in (compile-one-process): Remove cc-mode dependency.
7711 2014-09-09 Sam Steingold <sds@gnu.org>
7713 * progmodes/sql.el (sql-default-directory): Fix type annotation.
7715 2014-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7717 * progmodes/cc-awk.el: Remove unneeded cc-bytecomp use.
7718 Change doc comments into docstrings.
7719 * Makefile.in: Remove cc-awk dependency.
7721 2014-09-08 Sam Steingold <sds@gnu.org>
7723 * progmodes/sql.el (sql-send-line-and-next): New command,
7725 (sql-show-sqli-buffer): Display the buffer instead of its name and
7726 bind the command to C-c C-z.
7727 (sql-default-directory): New user option.
7728 (sql-product-interactive): Bind `default-directory' to it to
7729 enable remote connections using Tramp.
7730 (sql-set-sqli-buffer): Call `sql-product-interactive' when no
7731 suitable buffer is available.
7733 2014-09-08 Glenn Morris <rgm@gnu.org>
7735 * calendar/calendar.el (calendar-basic-setup):
7736 Fix calendar-view-holidays-initially-flag and fancy display.
7737 * calendar/diary-lib.el (diary-live-p): Doc fix.
7739 * calendar/calendar.el (calendar-basic-setup):
7740 Avoid clobbering calendar with diary. (Bug#18381)
7742 2014-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7744 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
7746 2014-09-08 Lars Ljung <lars@matholka.se> (tiny change)
7748 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
7749 as well (bug#18400).
7751 2014-09-08 Eli Zaretskii <eliz@gnu.org>
7753 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
7755 2014-09-06 Leo Liu <sdl.web@gmail.com>
7757 * emacs-lisp/pcase.el (pcase): Doc fix.
7758 (pcase--split-vector): New function.
7759 (pcase--q1): Support vector qpattern. (Bug#18327)
7761 2014-09-05 Sam Steingold <sds@gnu.org>
7763 * textmodes/tex-mode.el (tex-print-file-extension): New user
7765 (tex-print): Use it instead of the hard-coded string.
7767 2014-09-05 Michael Albinus <michael.albinus@gmx.de>
7769 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7770 Expand `default-directory'.
7772 2014-09-05 Martin Rudalics <rudalics@gmx.at>
7774 * scroll-bar.el (horizontal-scroll-bars-available-p):
7776 (horizontal-scroll-bar-mode): Rewrite using
7777 horizontal-scroll-bars-available-p.
7778 * menu-bar.el (menu-bar-showhide-scroll-bar-menu): Rewrite using
7779 horizontal-scroll-bars-available-p.
7781 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7783 * subr.el (call-process-shell-command, process-file-shell-command):
7784 Make the `args' obsolete (bug#18409).
7785 (start-process-shell-command, start-file-process-shell-command):
7788 2014-09-05 Jay Belanger <jay.p.belanger@gmail.com>
7790 * calc/calc-forms.el (math-normalize-hms): Do a better check for
7791 "negative" hms forms.
7793 2014-09-04 Rasmus Pank Roulund <emacs@pank.eu>
7795 * vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status
7796 returns nil (bug#18391).
7798 2014-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7800 * emacs-lisp/eldoc.el (eldoc-function-argstring): Don't strip
7801 terminating paren (bug#18352).
7802 (eldoc-last-data-store): Return cached data.
7803 (eldoc-get-var-docstring): Avoid setq.
7804 (eldoc-get-fnsym-args-string): Clarify data flow.
7806 2014-09-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7808 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Handle the
7809 case where we're currently providing part of the &rest arg after some
7810 &key args, as in define-ibuffer-op (bug#18048).
7812 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7814 * progmodes/which-func.el (which-func-ff-hook): Obey pre-existing
7815 buffer-local setting of which-func-mode.
7816 (which-func-mode): Use defvar-local.
7817 (which-function-mode): Don't reset which-func-mode in each buffer since
7818 it might have been set by someone else.
7819 (which-func-update-ediff-windows): Check which-function-mode.
7821 2014-09-03 Martin Rudalics <rudalics@gmx.at>
7823 * frame.el (frame-initialize): Remove horizontal-scroll-bars
7824 from frame-initial-frame-alist.
7825 * scroll-bar.el (previous-horizontal-scroll-bar-mode)
7826 (horizontal-scroll-bar-mode-explicit)
7827 (set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
7828 (toggle-horizontal-scroll-bar): Remove.
7829 (horizontal-scroll-bar-mode): Remove defcustom.
7830 (horizontal-scroll-bar-mode): Fix doc-string.
7831 (scroll-bar-toolkit-scroll)
7832 (scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
7834 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7836 * emacs-lisp/package.el (package-generate-description-file):
7837 Properly quote the arguments (bug#18332). Change second arg.
7838 (package--alist-to-plist-args): Rename from package--alist-to-plist and
7840 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
7841 the *-pkg.el file. Adjust to new calling convention of
7842 package-generate-description-file.
7844 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
7845 (gud-gdb-completions): Remove obsolete workaround.
7847 2014-09-03 Eli Zaretskii <eliz@gnu.org>
7849 * subr.el (posn-col-row): Revert the change from commit
7850 2010-11-13T21:07:58Z!eliz@gnu.org, which
7851 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
7852 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
7853 introduced an off-by-one error in the reported row when there is a
7854 header line. (Bug#18384)
7856 2014-09-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
7858 * progmodes/python.el (python-indent-post-self-insert-function):
7859 Avoid electric colon at beginning-of-defun. (Bug#18228)
7861 2014-09-03 Glenn Morris <rgm@gnu.org>
7863 * tutorial.el (tutorial--display-changes):
7864 Fix 2014-08-01 change. (Bug#18382)
7866 2014-09-03 Ken Brown <kbrown@cornell.edu>
7868 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
7869 the Cygwin-w32 build. (Bug#18347)
7871 2014-09-03 Glenn Morris <rgm@gnu.org>
7873 * tar-mode.el (tar--extract, tar-extract):
7874 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
7876 2014-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7878 * progmodes/sh-script.el (sh-font-lock-quoted-subshell): Try to better
7879 handle multiline elements (bug#18380).
7881 2014-09-01 Eli Zaretskii <eliz@gnu.org>
7883 * ls-lisp.el (ls-lisp-use-string-collate)
7884 (ls-lisp-UCA-like-collation): New defcustoms.
7885 (ls-lisp-string-lessp): Use them to control sorting by file
7887 (ls-lisp-version-lessp): New function.
7888 (ls-lisp-handle-switches): Use it to implement the -v switch of
7890 (ls-lisp--insert-directory): Mention the -v switch in the doc string.
7892 2014-08-31 Christoph Scholtes <cschol2112@gmail.com>
7894 * ibuffer.el: Replace mode-specific quit function with
7895 `quit-window' via `special-mode'.
7896 (ibuffer-mode-map): Use keybindings from special-mode-map instead
7898 (ibuffer): Don't store previous windows configuration.
7899 Let `quit-window' handle restoring.
7900 (ibuffer-quit): Remove function. Use `quit-window' instead.
7901 (ibuffer-restore-window-config-on-quit): Remove variable.
7902 (ibuffer-prev-window-config): Remove variable.
7904 2014-08-29 Michael Heerdegen <michael_heerdegen@web.de>
7906 * emacs-lisp/easy-mmode.el (define-minor-mode): Use mode function
7907 name instead of variable name in hook docstring. (Bug#18349)
7909 2014-08-29 Martin Rudalics <rudalics@gmx.at>
7911 * window.el (display-buffer-at-bottom): Prefer bottom-left
7912 window to other bottom windows. Reuse a bottom window if it
7913 shows the buffer already. Suggested by Juri Linkov
7914 <juri@jurta.org> in discussion of (Bug#18181).
7916 2014-08-29 Leo Liu <sdl.web@gmail.com>
7918 * files.el (minibuffer-with-setup-hook): Allow (:append FUN) to
7919 append to minibuffer-setup-hook. (Bug#18341)
7921 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7923 * progmodes/cc-defs.el: Expose c-lanf-defconst's expressions to the
7925 (lookup-syntax-properties): Silence byte-compiler.
7926 (c-lang-defconst): Quote the code with `lambda' rather than with
7928 (c-lang-const): Avoid unneeded setq.
7929 (c-lang-constants-under-evaluation): Add docstring.
7930 (c-lang--novalue): New constant.
7931 (c-find-assignment-for-mode): Use it instead of c-lang-constants.
7932 (c-get-lang-constant): Same here.
7933 Get the mode's value using `funcall' now that the code is quoted
7936 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7938 * net/tramp.el (tramp-handle-shell-command): Use `display-buffer'.
7941 2014-08-28 Martin Rudalics <rudalics@gmx.at>
7943 * scroll-bar.el (scroll-bar-horizontal-drag-1): Handle new
7944 interpretation of `portion-whole'.
7946 2014-08-28 Michael Albinus <michael.albinus@gmx.de>
7948 * net/tramp-adb.el: Spell author name correctly.
7950 2014-08-28 João Távora <joaotavora@gmail.com>
7952 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
7953 use url-expand-file-name. (Bug#18310)
7955 2014-08-28 Glenn Morris <rgm@gnu.org>
7957 * emulation/cua-rect.el (cua--highlight-rectangle):
7958 Avoid error at point-min. (Bug#18309)
7960 2014-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7962 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
7963 executable-find (bug#18244).
7965 * simple.el (self-insert-uses-region-functions): Defvar.
7967 2014-08-28 Glenn Morris <rgm@gnu.org>
7969 * subr.el (remq): Revert 2014-08-25 doc change (not always true).
7971 2014-08-27 Dmitry Antipov <dmantipov@yandex.ru>
7973 * startup.el (normal-top-level): Now use internal--top-level-message.
7975 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru>
7977 * startup.el (normal-top-level): Use top-level-message.
7979 2014-08-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7981 * net/shr.el (shr-copy-url): Encode copied URL to avoid getting
7982 URLs containing spaces and the like.
7984 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7986 * subr.el (remq): Fix docstring (Bug#18253).
7988 2014-08-25 Christoph Scholtes <cschol2112@gmail.com>
7990 * replace.el (query-replace): Fix typo in docstring (Bug#18320).
7992 2014-08-24 Alan Mackenzie <acm@muc.de>
7994 Handle C++11's "auto" and "decltype" constructions.
7995 * progmodes/cc-engine.el (c-forward-type): Enhance to recognise
7996 and return 'decltype.
7997 (c-forward-decl-or-cast-1): New let variables backup-kwd-sym,
7998 prev-kwd-sym, new-style-auto. Enhance to handle the new "auto"
8000 * progmodes/cc-fonts.el (c-font-lock-declarations): Handle the
8002 (c-font-lock-c++-new): Handle "decltype" constructions.
8003 * progmodes/cc-langs.el (c-auto-ops, c-auto-ops-re):
8004 New c-lang-defconsts/defvars.
8005 (c-haskell-op, c-haskell-op-re): New c-lang-defconsts/defvars.
8006 (c-typeof-kwds, c-typeof-key): New c-lang-defconsts/defvars.
8007 (c-typeless-decl-kwds): Append "auto" onto the C++ value.
8008 (c-not-decl-init-keywords): Also exclude c-typeof-kwds from value.
8010 Make ">>" act as double template ender in C++ Mode. (Bug#11386)
8011 * progmodes/cc-langs.el (c->-op-cont-tokens): New lang-const split
8012 off from c->-op-cont-re.
8013 (c->-op-cont-tokens): Change to use the above.
8014 (c->-op-without->-cont-regexp): New lang-const.
8015 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
8016 Use c->-op-without->-cont-regexp in place of c->-op-cont-tokens.
8019 2014-08-23 Alan Mackenzie <acm@muc.de>
8021 * progmodes/cc-fonts.el (c-font-lock-declarators): Fix infinite
8022 loop, bug #18306. The bug was introduced on 2014-08-02.
8024 2014-08-21 Eli Zaretskii <eliz@gnu.org>
8026 * textmodes/texnfo-upd.el (texinfo-specific-section-type):
8027 Don't recognize a Top node if there are other sectioning commands
8028 earlier in the Texinfo file. This fixes a bug in
8029 texinfo-make-menu and avoids inflooping in
8030 texinfo-all-menus-update when they are invoked on texinfo.texi.
8032 2014-08-21 Martin Rudalics <rudalics@gmx.at>
8034 * window.el (window--side-window-p): New function.
8035 (split-window, window-splittable-p): Use window--side-window-p to
8036 determine whether WINDOW can be split (Bug#18304).
8037 * calendar/calendar.el (calendar-basic-setup): Fix one call of
8038 `window-splittable-p' and add another (Bug#18304).
8040 2014-08-20 Sam Steingold <sds@gnu.org>
8042 * progmodes/python.el (python-new-pythonpath): Extract from
8043 `python-shell-calculate-process-environment'.
8045 2014-08-18 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8047 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
8048 for &key args (bug#18048).
8050 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8052 * emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
8053 (eldoc-function-argstring-format): Remove.
8054 (eldoc-function-argstring): Always return upcase args.
8055 Use help-make-usage. Don't add parens.
8056 (eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
8057 it's too late to do it right (bug#18048).
8059 2014-08-18 Eli Zaretskii <eliz@gnu.org>
8061 * scroll-bar.el (scroll-bar-horizontal-drag-1)
8062 (scroll-bar-toolkit-horizontal-scroll): When determining the
8063 paragraph direction, use the buffer of the window designated in
8066 2014-08-16 Andreas Schwab <schwab@linux-m68k.org>
8068 * vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
8069 context of unified diff.
8071 2014-08-16 Paul Eggert <eggert@cs.ucla.edu>
8073 Add dependencies to fix loaddefs race during parallel builds.
8074 Without this, for example, 'make -j bootstrap' can fail and report
8075 "Opening input file: no such file or directory,
8076 .../lisp/calendar/diary-loaddefs.el ... recipe for target
8077 'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
8078 got confused because diary-loaddefs.el was being built in parallel.
8079 * Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
8080 Depend on $(CAL_DIR)/cal-loaddefs.el.
8081 ($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
8083 2014-08-16 Martin Rudalics <rudalics@gmx.at>
8085 * scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
8086 portion-whole for scrolling right-to-left text.
8088 2014-08-15 Leo Liu <sdl.web@gmail.com>
8090 * speedbar.el (speedbar-generic-list-tag-p): Allow special
8091 elements from imenu.
8093 2014-08-15 Glenn Morris <rgm@gnu.org>
8095 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
8097 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
8099 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8100 Add Guile regexpses.
8102 2014-08-13 Jan Nieuwenhuizen <janneke@gnu.org>
8104 * progmodes/gud.el (guiler): New function. Starts the Guile REPL;
8105 add Guile debugger support for GUD.
8107 2014-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8109 * obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
8110 (mouse-sel--ignore): New function.
8111 (mouse-sel-has-been-enabled, mouse-sel-original-bindings)
8112 (mouse-sel-original-interprogram-cut-function)
8113 (mouse-sel-original-interprogram-paste-function): Remove.
8115 2014-08-13 Eric S. Raymond <esr@thyrsus.com>
8117 * vc/vc-git.el (vc-git-resolve-when-done): New function.
8118 Call "git add" when there are no longer conflict markers.
8120 2014-08-13 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8122 * vc/vc-git.el (vc-git-find-file-hook): New function.
8123 Adds support for calling smerge (and resolve) on a conflicted file.
8124 (vc-git-conflicted-files): New function.
8125 Useful in itself and a step towards better smerge support.
8127 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8129 * mpc.el (mpc-reorder): Don't bother splitting the "active" elements
8130 to the first part if they're the same as the selection.
8132 2014-08-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8134 * image-mode.el (image-transform-reset): New command and menu item.
8135 (image-mode-map): Rearrange the menu items to put presumably more
8136 obscure items at the end.
8138 2014-08-12 Juri Linkov <juri@jurta.org>
8140 * vc/vc-annotate.el (vc-annotate-background-mode):
8141 Use `with-demoted-errors' instead of `ignore-errors'. (Bug#18189)
8143 2014-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8145 * files.el (out-of-memory-warning-percentage): Turn it off by default.
8147 2014-08-11 Sam Steingold <sds@gnu.org>
8149 * textmodes/sgml-mode.el (sgml-validate-command): Set depending on
8150 the presence of known validators (tidy, (o)nsgmls).
8152 2014-08-11 Ulf Jasper <ulf.jasper@web.de>
8154 Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
8155 * net/newst-treeview.el (newsticker-treeview-date-format): New.
8156 (newsticker--treeview-list-add-item):
8157 Use `newsticker-treeview-date-format'.
8159 2014-08-11 Glenn Morris <rgm@gnu.org>
8161 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
8162 chose coding system for writing before backing up, since it causes
8163 a more serious problem than the one it solves. (Closes Bug#18141,
8166 2014-08-11 Martin Rudalics <rudalics@gmx.at>
8168 * window.el (window-total-size): Make doc-string more self-contained.
8170 * window.el (display-buffer-below-selected): Restore original
8171 behavior if buffer is already displayed in the window below the
8172 selected one (Bug#18181).
8174 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
8176 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
8179 2014-08-11 Eli Zaretskii <eliz@gnu.org>
8181 * info.el (info): Doc fix.
8183 2014-08-11 Stefan Monnier <monnier@iro.umontreal.ca>
8185 * info.el (Info-mode-map): Override a global down-mouse-2 binding
8188 2014-08-11 Eli Zaretskii <eliz@gnu.org>
8190 * simple.el (default-line-height): A floating-point value of
8191 line-spacing means a fraction of the default frame font's height,
8192 not of the font currently used by the 'default' face.
8193 Truncate the pixel value, like the display engine does.
8194 (window-screen-lines): Use window-inside-pixel-edges for
8195 determining the window height in pixels. (Bug#18195)
8197 2014-08-11 Grégoire Jadi <daimrod@gmail.com>
8199 * leim/quail/latin-post.el: Transform " __" into " _". (Bug#18023)
8201 2014-08-10 Ulf Jasper <ulf.jasper@web.de>
8203 Enumerate evaluated sexp diary entries (Bug#7911).
8204 * calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
8205 (icalendar-export-sexp-enumeration-days): New.
8206 (icalendar-export-region): Now `icalendar--convert-to-ical'
8207 returns a cons cell or a list of cons cells.
8208 (icalendar--convert-to-ical): Take care of
8209 `icalendar-export-sexp-enumerate-all'. Return (a list of) cons cells.
8210 (icalendar--convert-ordinary-to-ical)
8211 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8212 (icalendar--convert-block-to-ical, icalendar--convert-block-to-ical)
8213 (icalendar--convert-float-to-ical, icalendar--convert-cyclic-to-ical)
8214 (icalendar--convert-anniversary-to-ical): Return cons cell.
8215 (icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
8216 entries. Return (list of) cons cells.
8218 2014-08-09 Juri Linkov <juri@jurta.org>
8220 * vc/vc-annotate.el (vc-annotate-background-mode): Add :set
8221 to reevaluate `vc-annotate-color-map'. (Bug#18189)
8223 2014-08-09 Alan Mackenzie <acm@muc.de>
8225 * progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
8226 for top-level that can cause unacceptable slow-down in scrolling.
8227 See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
8228 Antipov from 2013-10-14 in emacs-devel.
8230 2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8232 * ibuffer.el (ibuffer-mode-map): Use toggle button for
8233 `ibuffer-auto-mode' menu entry.
8234 (ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.
8236 2014-08-08 Matthias Meulien <orontee@gmail.com>
8238 * progmodes/prog-mode.el (prog-mode-hook): Make customizable.
8241 2014-08-07 Martin Rudalics <rudalics@gmx.at>
8243 * window.el (window--min-size-1): Explicitly set WINDOW arg in
8244 calls of window-min-pixel-height and window-min-pixel-width.
8246 2014-08-07 Reuben Thomas <rrt@sc3d.org>
8248 * progmodes/ada-mode.el:
8249 * net/tramp.el (tramp-handle-file-symlink-p):
8250 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
8251 about VMS, which we no longer support.
8252 * progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
8253 and fix a FIXME, using convert-standard-filename in place of
8254 removed ada-convert-file-name.
8256 2014-08-07 Eli Zaretskii <eliz@gnu.org>
8258 * files.el (auto-mode-alist): Remove support for VMS from a pattern.
8260 2014-08-07 Reuben Thomas <rrt@sc3d.org>
8262 Refer to MS-DOS using the same name everywhere.
8263 * arc-mode.el, files.el, frame.el: ``MS-DOG'', ``MSDOG'' and
8264 ``msdog'' become ``MS-DOS''.
8266 2014-08-07 Michael Albinus <michael.albinus@gmx.de>
8268 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8269 Use cached "remote-copy-args" value, if available. (Bug#18199)
8271 2014-08-07 Leo Liu <sdl.web@gmail.com>
8273 * help.el (temp-buffer-setup-hook,temp-buffer-show-hook):
8274 Revert change on 2014-03-22.
8276 2014-08-06 Ulf Jasper <ulf.jasper@web.de>
8278 * calendar/icalendar.el (icalendar--diarytime-to-isotime)
8279 (icalendar--convert-ordinary-to-ical): Allow for missing minutes
8283 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8285 * image-mode.el (image-toggle-display-image): Always rescale images
8286 to not be bigger than the current window.
8288 2014-08-05 Eric Brown <brown@fastmail.fm> (tiny change)
8290 * net/eww.el (eww-bookmarks-directory): New variable.
8291 (eww-write-bookmarks): Use it.
8292 (eww-read-bookmarks): Ditto.
8294 2014-08-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8296 * net/shr.el (shr-copy-url): Also copy the image URL.
8298 2014-08-05 Michael Albinus <michael.albinus@gmx.de>
8300 * net/tramp-cache.el (tramp-flush-file-function): Suppress function
8301 also for Tramp working buffers.
8303 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
8305 * progmodes/python.el: Fix completions inside (i)pdb.
8306 (python-shell-completion-pdb-string-code): Make obsolete.
8307 (python-shell-completion-get-completions):
8308 Use python-shell-completion-string-code resending setup code
8309 continuously for (i)pdb.
8311 2014-08-04 Paul Eggert <eggert@cs.ucla.edu>
8313 * rect.el (rectangle--default-line-number-format): Rename
8314 from misspelled rectange--default-line-number-format (Bug#18045).
8317 2014-08-03 Paul Eggert <eggert@cs.ucla.edu>
8319 Don't mishandle year-9999 dates (Bug#18176).
8320 * calendar/parse-time.el (parse-time-rules):
8321 Allow years up to most-positive-fixnum.
8322 * calendar/time-date.el (date-to-time):
8323 Pass "Specified time is not representable" errors through.
8325 2014-08-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8327 * progmodes/python.el: Completion code cleanups.
8328 (python-shell-completion-get-completions): Detect and send import
8329 statements directly to completion function.
8330 (python-shell-completion-at-point): Simplify prompt calculation
8331 and import vs input completion logic.
8333 2014-08-02 Alan Mackenzie <acm@muc.de>
8335 Fix confusion in C++ file caused by comma in "= {1,2},".
8337 * progmodes/cc-engine.el (c-beginning-of-statement-1): In checking
8338 for a statement boundary marked by "}", check there's no "="
8340 (c-guess-basic-syntax CASE 9B): Call c-beginning-of-statement with
8341 non-nil `comma-delim' argument.
8342 * progmodes/cc-fonts.el (c-font-lock-declarators): Parse an
8343 initializer expression more accurately.
8345 Correct loop termination condition in c-syntactic-skip-backward.
8346 * progmodes/cc-engine.el (c-syntactic-skip-backward): Correct for
8347 the situation where, after moving back out of a literal,
8348 skip-chars-backward doesn't move further, yet checks have still to
8351 2014-08-01 Eli Zaretskii <eliz@gnu.org>
8353 * tutorial.el (tutorial--display-changes): Accept punctuation
8354 characters before the key binding. (Bug#18146)
8356 2014-07-31 Fabián Ezequiel Gallina <fgallina@gnu.org>
8358 * progmodes/python.el: Shell output capture enhancements.
8359 (python-shell-accept-process-output): New function.
8360 (inferior-python-mode)
8361 (python-shell-send-setup-code): Use it.
8363 2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr> (tiny change)
8365 * calendar/icalendar.el (icalendar--decode-isodatetime):
8366 Use actual current-time-zone when converting to local time. (Bug#15408)
8368 2014-07-29 Martin Rudalics <rudalics@gmx.at>
8370 * window.el (window--state-put-2): Handle horizontal scroll
8373 2014-07-29 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8375 * menu-bar.el (menu-bar-update-buffers): Update item list format
8376 in `buffers-menu' to confirm with changes to `get_keyelt'
8377 (r117463). (Bug#18016)
8379 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8381 * progmodes/python.el (inferior-python-mode): Make input prompts
8384 2014-07-28 Emilio C. Lopes <eclig@gmx.net>
8386 * net/tramp-sh.el (tramp-get-remote-python): Also search for
8387 executables named "python2" or "python3".
8388 (tramp-get-remote-uid-with-python): Use parentheses around
8389 arguments to `print' to make it compatible with Python 3.
8390 (tramp-get-remote-gid-with-python): Ditto. (Bug#18118)
8392 2014-07-28 Eli Zaretskii <eliz@gnu.org>
8394 * window.el (window--pixel-to-total): Use FRAME's root window, not
8395 that of the selected frame. (Bug#18112, Bug#16674)
8397 2014-07-28 Andreas Schwab <schwab@linux-m68k.org>
8399 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
8402 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8404 * progmodes/python.el (inferior-python-mode): Doc fix.
8406 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
8408 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
8409 not a character, ignore it instead of raising an error.
8411 * calendar/todo-mode.el: Fix handling of marked items and make
8412 minor code improvements.
8413 (todo-edit-item): If there are marked items, ensure user can only
8414 invoke editing commands that work with marked items.
8415 (todo-edit-item--text): When there are marked items, make it a
8416 noop if invoked with point not on an item; otherwise, ensure it
8417 applies only to item at point.
8418 (todo-item-undone): If there are marked not-done items, return
8419 point to its original position before signaling user error.
8420 (todo--user-error-if-marked-done-item): New function.
8421 (todo-edit-item--header, todo-edit-item--diary-inclusion)
8422 (todo-item-done): Use it.
8424 2014-07-28 Glenn Morris <rgm@gnu.org>
8426 * files.el (toggle-read-only): Re-add basic doc-string.
8427 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
8429 * progmodes/prolog.el (prolog-mode-keybindings-edit):
8430 Replace missing `switch-to-prolog' with `run-prolog'.
8431 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
8433 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
8435 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
8436 of file-wide setting when changing category-wide setting.
8438 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
8440 * doc-view.el (doc-view-open-text): Don't require that the
8441 document is saved in a file (e.g., email attachment).
8443 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8445 Parse completion input in a iPython friendly way. (Bug#18084)
8446 * progmodes/python.el
8447 (python-shell-completion-at-point): Rename from
8448 python-shell-completion-complete-at-point.
8449 (inferior-python-mode): Use it.
8450 (python-completion-at-point): Rename from
8451 python-completion-complete-at-point. Parse input up to first
8452 backward occurrence of whitespace, open-paren, close-paren or
8454 (python-mode): Use it.
8456 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8458 * progmodes/python.el
8459 (python-shell-with-shell-buffer): New macro.
8460 (python-shell-font-lock-get-or-create-buffer)
8461 (python-shell-font-lock-kill-buffer)
8462 (python-shell-font-lock-with-font-lock-buffer)
8463 (python-shell-font-lock-cleanup-buffer)
8464 (python-shell-font-lock-toggle): Use it.
8465 (python-shell-font-lock-turn-on)
8466 (python-shell-font-lock-turn-off): Use it. Make command.
8468 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8470 Grab all Python process output before inferior-python-mode hooks.
8471 * progmodes/python.el (inferior-python-mode):
8472 Call accept-process-output and sit-for to ensure all output for process
8473 has been received before running hooks.
8474 (python-shell-internal-get-or-create-process):
8475 Cleanup accept-process-output and sit-for calls.
8477 2014-07-28 Fabián Ezequiel Gallina <fgallina@gnu.org>
8479 More robust shell startup and code setup.
8480 * progmodes/python.el (python-shell-make-comint):
8481 Remove accept-process-output call.
8482 (python-shell-get-buffer): Return current buffer if major-mode is
8483 inferior-python-mode.
8484 (python-shell-get-or-create-process): Use it.
8485 (python-shell-send-setup-code): Send all setup code in one string,
8486 output success message and accept-process-output.
8488 2014-07-27 Eli Zaretskii <eliz@gnu.org>
8490 * scroll-bar.el (scroll-bar-toolkit-horizontal-scroll):
8491 Add rudimentary support for bidirectional text.
8493 2014-07-27 Martin Rudalics <rudalics@gmx.at>
8495 * frame.el (frame-notice-user-settings): Rewrite using
8496 frame-initial-frame-tool-bar-height.
8497 * menu-bar.el (menu-bar-horizontal-scroll-bar)
8498 (menu-bar-no-horizontal-scroll-bar): New functions.
8499 (menu-bar-showhide-scroll-bar-menu): Add bindings for horizontal
8501 * scroll-bar.el (scroll-bar-lines)
8502 (set-horizontal-scroll-bar-mode)
8503 (get-horizontal-scroll-bar-mode, horizontal-scroll-bar-mode)
8504 (scroll-bar-horizontal-drag-1, scroll-bar-horizontal-drag)
8505 (scroll-bar-toolkit-horizontal-scroll): New functions.
8506 (horizontal-scroll-bar-mode)
8507 (previous-horizontal-scroll-bar-mode)
8508 (horizontal-scroll-bar-mode-explicit): New variables.
8509 (horizontal-scroll-bar-mode): New option.
8510 (toggle-horizontal-scroll-bar): Do something.
8511 (top-level): Bind horizontal-scroll-bar mouse-1.
8512 * startup.el (tool-bar-originally-present): Remove variable.
8513 (command-line): Don't set tool-bar-originally-present.
8514 * window.el (window-min-height): Update doc-string.
8515 (window--dump-frame): Dump horizontal scroll bar values.
8516 (window--min-size-1): Handle minibuffer window separately.
8517 Count in margins and horizontal scroll bar. Return safe value
8518 iff IGNORE equals 'safe.
8519 (frame-windows-min-size): New function (used by frame resizing
8521 (fit-frame-to-buffer, fit-window-to-buffer): Count in horizontal
8523 (window--sanitize-window-sizes): New function.
8524 (window-split-min-size): Remove.
8525 (split-window): Count divider-width. Don't use
8526 `window-split-min-size' any more. Reword error messages.
8527 Sanitize windows sizes after splitting.
8529 2014-07-27 Thien-Thi Nguyen <ttn@gnu.org>
8531 Use `defvar-local' more.
8532 * progmodes/hideshow.el
8533 (hs-c-start-regexp, hs-block-start-regexp)
8534 (hs-block-start-mdata-select, hs-block-end-regexp)
8535 (hs-forward-sexp-func, hs-adjust-block-beginning): ...here;
8536 remove corresponding `make-variable-buffer-local' top-level calls.
8538 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8540 Cleanup error signals. (Bug#18067)
8541 * progmodes/python.el
8542 (python-indent-shift-left): Use user-error instead.
8543 (python-shell-prompt-detect): Use lwarn with python group.
8544 (python-completion-complete-at-point)
8545 (python-eldoc--get-doc-at-point): Don't signal error.
8547 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8549 Support for packages in Python shell. (Bug#13570)
8550 * progmodes/python.el (python-shell--package-depth): New var.
8551 (python-shell-package-enable): New command.
8552 (python-util-list-directories, python-util-list-files)
8553 (python-util-list-packages): New functions.
8555 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8557 Faster comint output. (Bug#16875)
8558 * progmodes/python.el:
8559 (python-comint-output-filter-function): Make obsolete.
8560 (python-comint-postoutput-scroll-to-bottom): New function.
8561 (inferior-python-mode): Set comint-output-filter-functions to a
8564 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8566 * progmodes/python.el (python-shell-font-lock-post-command-hook):
8567 Safeguard current point and undo history.
8569 2014-07-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
8571 Robust shell syntax highlighting. (Bug#18084, Bug#16875)
8572 * progmodes/python.el:
8573 (python-shell-prompt-input-regexps): Add iPython block prompt.
8574 (python-shell-output-syntax-table): Delete var.
8575 (python-shell-font-lock-with-font-lock-buffer): New macro.
8576 (python-shell-font-lock-get-or-create-buffer)
8577 (python-shell-font-lock-kill-buffer)
8578 (python-shell-font-lock-cleanup-buffer)
8579 (python-shell-font-lock-post-command-hook)
8580 (python-shell-font-lock-turn-off): New functions.
8581 (python-shell-font-lock-turn-on): New function.
8582 (inferior-python-mode): Use it.
8583 (python-shell-font-lock-toggle): New command.
8584 (python-shell-font-lock-enable): Rename from
8585 python-shell-enable-font-lock.
8586 (run-python-internal): Use it.
8587 (python-shell-font-lock-comint-output-filter-function): New function.
8588 (python-shell-comint-end-of-output-p): New function.
8589 (python-shell-output-filter): Use it.
8590 (python-util-comint-last-prompt): New function.
8591 (python-util-text-properties-replace-name): New function.
8593 2014-07-25 Glenn Morris <rgm@gnu.org>
8595 * vc/ediff-init.el (ediff-toggle-read-only-function):
8596 * vc/ediff-util.el (ediff-toggle-read-only):
8597 Replace obsolete toggle-read-only with read-only-mode.
8599 2014-07-24 Michael Albinus <michael.albinus@gmx.de>
8601 * net/tramp-cache.el (tramp-flush-file-function): Wrap the code
8602 with `save-match-data'. (Bug#18095)
8604 2014-07-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
8606 * ses.el (ses-truncate-cell): Use cl-progv instead of eval in
8607 order to ensure that row and col are lexically bound inside the
8610 2014-07-21 Glenn Morris <rgm@gnu.org>
8612 * progmodes/hideif.el (hide-ifdef-mode-submap):
8613 Also substitute read-only-mode.
8614 * bindings.el (mode-line-toggle-read-only):
8615 * bs.el (bs-toggle-readonly):
8616 * buff-menu.el (Buffer-menu-toggle-read-only):
8617 * dired.el (dired-toggle-read-only):
8618 * files.el (view-read-only, find-file-read-only)
8619 (find-file-read-only-other-window)
8620 (find-file-read-only-other-frame):
8621 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
8622 Doc fixes re toggle-read-only.
8624 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
8626 * progmodes/python.el: Add comment about pipe buffering and
8627 solutions for missing/delayed output in inferior Python shells.
8630 * progmodes/python.el (python-mode): Don't set
8631 mode-require-final-newline. (Bug#17990)
8633 Make python.el work with IPython automatically. (Bug#15510)
8634 * progmodes/python.el:
8635 (python-shell-completion-setup-code): New value supporting iPython.
8636 (python-shell-completion-string-code): New value supporting iPython.
8637 (python-shell-completion-get-completions): Use them.
8638 (python-shell-completion-module-string-code): Make obsolete.
8639 (python-shell-prompt-input-regexps)
8640 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
8641 (python-shell-output-filter): Fix comment typo.
8643 Fix Python shell prompts detection for remote hosts.
8644 * progmodes/python.el (python-shell-prompt-detect):
8645 Replace call-process with process-file and make it more robust.
8647 Autodetect Python shell prompts. (Bug#17370)
8648 * progmodes/python.el:
8649 (python-shell-interpreter-interactive-arg)
8650 (python-shell-prompt-detect-enabled)
8651 (python-shell-prompt-detect-failure-warning)
8652 (python-shell-prompt-input-regexps)
8653 (python-shell-prompt-output-regexps): New vars.
8654 (python-shell-prompt-calculated-input-regexp)
8655 (python-shell-prompt-calculated-output-regexp): New vars.
8656 (python-shell-get-process-name)
8657 (python-shell-internal-get-process-name)
8658 (python-shell-output-filter)
8659 (python-shell-completion-get-completions): Use them.
8660 (python-shell-prompt-detect)
8661 (python-shell-prompt-validate-regexps): New functions.
8662 (python-shell-prompt-set-calculated-regexps): New function.
8663 (inferior-python-mode): Use it. Also honor overriden
8664 python-shell-interpreter and python-shell-interpreter-args.
8665 (python-shell-make-comint): Honor overriden
8666 python-shell-interpreter and python-shell-interpreter-args.
8667 (python-shell-get-or-create-process): Make it testable by allowing
8668 to call run-python non-interactively.
8669 (python-util-valid-regexp-p): New function.
8670 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
8671 (python-shell-prompt-output-regexp)
8672 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
8674 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
8676 * emacs-lisp/smie.el (smie-config--guess-1): Split from
8678 (smie-config--guess): Use it.
8680 * emacs-lisp/edebug.el: Use nadvice.
8681 (edebug-original-read): Remove.
8682 (edebug--read): Rename from edebug-read and add `orig' arg.
8683 (edebug-uninstall-read-eval-functions)
8684 (edebug-install-read-eval-functions): Use nadvice.
8685 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
8686 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
8687 (edebug-read-string, edebug-read-function): Use just `read'.
8688 (edebug-original-debug-on-entry): Remove.
8689 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
8691 (debug-on-entry): Override with nadvice.
8693 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
8694 it also makes sense to bind it to a non-mouse event.
8696 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
8698 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8700 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
8703 * rect.el (rectangle--string-preview): Don't assume there
8704 a non-nil default (bug#17984).
8706 2014-07-16 Glenn Morris <rgm@gnu.org>
8708 * desktop.el (after-init-hook): Disable startup frame restoration
8709 in non-graphical situations. (Bug#17693)
8711 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
8712 if it was "empty", or used for a different set of files. (Bug#17884)
8714 2014-07-16 Eli Zaretskii <eliz@gnu.org>
8716 * bindings.el (mode-line-remote): If default-directory is not a
8717 string, don't call file-remote-p on it; instead state in the
8718 help-echo that it is nil. (Bug#17986)
8720 2014-07-14 Daniel Colascione <dancol@dancol.org>
8722 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
8723 to `macroexpand-all'
8725 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
8726 Use `macroexpand-all' instead of `cl-macroexpand-all'.
8728 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
8730 Fix bug: C-x v v discarded existing log message (Bug#17884).
8731 * vc/vc-dispatcher.el (vc-log-edit):
8732 Don't clobber an already-existing log message.
8734 2014-07-12 Glenn Morris <rgm@gnu.org>
8736 * vc/log-edit.el (log-edit-changelog-entries):
8737 Check for a visited-but-never-saved ChangeLog.
8739 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
8741 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
8742 a non-existing file (bug#17970).
8744 * faces.el (face-name): Undo last change.
8745 (x-resolve-font-name): Don't call face-name (bug#17956).
8747 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
8749 Fix dedenters and electric colon handling. (Bug#15163)
8750 * progmodes/python.el
8751 (python-rx-constituents): Add dedenter and block-ender.
8752 (python-indent-dedenters, python-indent-block-enders): Delete.
8753 (python-indent-context): Return new case for dedenter-statement.
8754 (python-indent-calculate-indentation): Handle new case.
8755 (python-indent-calculate-levels): Fix levels calculation for
8756 dedenter statements.
8757 (python-indent-post-self-insert-function): Fix colon handling.
8758 (python-info-dedenter-opening-block-message): New function.
8759 (python-indent-line): Use it.
8760 (python-info-closing-block)
8761 (python-info-closing-block-message): Remove.
8762 (python-info-dedenter-opening-block-position)
8763 (python-info-dedenter-opening-block-positions)
8764 (python-info-dedenter-statement-p): New functions.
8766 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
8768 * files.el (out-of-memory-warning-percentage): New defcustom.
8769 (warn-maybe-out-of-memory): Use it.
8771 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
8773 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
8774 when calling `read-string'. (Bug#17839)
8776 2014-07-10 Eli Zaretskii <eliz@gnu.org>
8778 * files.el (warn-maybe-out-of-memory): Fix the wording of the
8781 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
8783 * files.el (warn-maybe-out-of-memory): New function.
8784 (find-file-noselect): Use it.
8786 2014-07-09 Sam Steingold <sds@gnu.org>
8788 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
8789 `constant' like `bless', `return' &c
8791 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8793 * rect.el (apply-on-rectangle): Check forward-line really moved to the
8796 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8798 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
8799 the middle of a line (bug#17896).
8801 2014-07-09 Juri Linkov <juri@jurta.org>
8803 * startup.el (command-line): Append displaying the warning about
8804 the errors in the init file to the end of `after-init-hook'.
8807 * faces.el (face-name): Return input arg `face' as-is
8808 when it's not a symbol.
8809 (x-resolve-font-name): Don't check if the face is a symbol.
8812 * facemenu.el (list-colors-print): In help-echo format use %.2f
8813 instead of %d because now HSV values are floating-point components
8814 between 0.0 and 1.0.
8816 2014-07-09 Glenn Morris <rgm@gnu.org>
8818 * emulation/cua-rect.el (cua--activate-rectangle):
8819 Avoid setting cua--rectangle to nil. (Bug#17877)
8821 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8823 * calendar/todo-mode.el: Fix wrong-type-argument error when
8824 marking multiple consecutive items.
8825 (todo-toggle-mark-item): Don't try to mark the empty lines at the
8826 end of the todo and done items sections. Note in doc string that
8827 items marked by passing a numeric prefix argument can include the
8828 last todo and first done items.
8829 (todo-mark-category): Don't try to mark the empty line between the
8830 todo and done items sections.
8832 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8834 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
8835 proper Lisp quoting (bug#17934).
8837 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
8838 require-final-newline since prog-mode already took care of it (bug#17947).
8840 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
8842 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
8843 refer to the Todo mode Info manual. Update the comment on
8845 (todo-find-filtered-items-file): Add todo-prefix overlays.
8846 (todo-filter-items): Reorder a let-bound variable to avoid a
8847 wrong-type-argument error on canceling the file choice dialog.
8849 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
8851 * progmodes/octave.el (inferior-octave-mode):
8852 Set comint-input-ring-size to a number (bug#17912).
8854 2014-07-09 Juri Linkov <juri@jurta.org>
8856 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
8857 and `isearch-mode' associated with nil. (Bug#17849)
8859 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8861 * linum.el (linum--face-height): New function (bug#17813).
8862 (linum-update-window): Use it to adjust margin to linum's width.
8864 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
8865 * eshell/em-smart.el (eshell-smart-scroll-window):
8866 Use with-selected-window.
8868 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
8869 Remove also pointless window&mark manipulation.
8871 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
8872 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
8873 (perl-continuation-line-p): Don't skip over anything else than labels.
8874 Return the previous char.
8875 (perl-calculate-indent): Use syntax-ppss instead of parse-start
8876 and update callers accordingly. For continuation lines, check the
8877 the case of array hashes.
8878 (perl-backward-to-noncomment): Make it non-interactive.
8879 (perl-backward-to-start-of-continued-exp): Rewrite.
8881 2014-07-08 Sam Steingold <sds@gnu.org>
8883 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
8886 2014-07-08 Juri Linkov <juri@jurta.org>
8888 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
8889 (vc-annotate-color-map): Use less saturated colors (20%) for
8891 (vc-annotate-very-old-color): Add default value for background-mode.
8892 (vc-annotate-background): Set default value to nil since now text on
8893 the default backgrounds should be legible in light and dark modes.
8894 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
8897 2014-07-08 Juri Linkov <juri@jurta.org>
8899 * simple.el (transpose-chars): Don't move point into read-only area.
8902 2014-07-08 Juri Linkov <juri@jurta.org>
8904 * window.el (with-displayed-buffer-window): New macro.
8905 (with-temp-buffer-window, with-current-buffer-window):
8906 Use `macroexp-let2' to evaluate and bind variables
8907 in the same order as macro arguments.
8908 (display-buffer--action-function-custom-type):
8909 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
8911 * minibuffer.el (minibuffer-completion-help): Replace
8912 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
8913 with actions that display *Completions* at-bottom when called
8914 from the minibuffer, or below-selected in a normal buffer.
8915 Associate `window-height' with `fit-window-to-buffer'.
8916 Let-bind `pop-up-windows' to nil.
8918 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
8919 instead of `with-current-buffer-window'. (Bug#17809)
8921 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
8923 * progmodes/hideif.el (hide-ifdef-env): Change to global.
8924 (hide-ifdef-env-backup): New variable.
8925 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
8926 New customizable variables.
8927 (hif-clear-all-ifdef-defined): New defun.
8928 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
8929 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
8930 (hif-tokenize): Fix for MS-DOS/Win EOL style.
8931 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
8932 Fix bug to hide the correct #elif region(s).
8933 (hif-range-elif): New defun.
8934 (hif-recurse-level): New var.
8935 (hif-evaluate-region, hif-evaluate-macro): New defun.
8936 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
8938 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
8941 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
8943 * net/dbus.el (dbus-peer-handler): New defun.
8944 (dbus-register-service): Register it. (Bug#17858)
8945 (dbus-managed-objects-handler): Fix docstring.
8947 2014-07-04 Phil Sainty <psainty@orcon.net.nz>
8949 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
8950 (narrow-to-defun): New arg include-comments, defaulting to it
8953 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8955 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
8956 different calling convention to rectangle--unhighlight-for-redisplay.
8958 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
8960 * net/tramp.el (tramp-call-process): Handle error strings.
8962 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
8964 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
8965 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
8967 * net/trampver.el: Update release number.
8969 2014-07-03 Juri Linkov <juri@jurta.org>
8971 * desktop.el (desktop-save): Rename arg `auto-save' to
8972 `only-if-changed'. Doc fix. (Bug#17873)
8974 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8976 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
8977 Use insert-for-yank (bug#17271).
8979 2014-07-03 Leo Liu <sdl.web@gmail.com>
8981 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
8982 Support lexical-binding.
8984 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
8986 * vc/log-edit.el (log-edit-goto-eoh): New function.
8987 (log-edit--match-first-line): Use it (bug#17861).
8989 2014-07-03 Glenn Morris <rgm@gnu.org>
8991 * vc/log-edit.el (log-edit-hook): Add missing :version.
8993 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
8995 * progmodes/python.el (python-indent-post-self-insert-function):
8996 Enhancements to electric indentation behavior inside
8999 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
9001 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
9002 buffer-invisibility-spec (bug#17867).
9004 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
9006 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
9009 2014-07-03 Glenn Morris <rgm@gnu.org>
9011 * cus-edit.el (help):
9012 * finder.el (finder-known-keywords):
9013 * help.el (help-for-help-internal):
9014 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
9015 (ediff-redraw-registry-buffer):
9016 * vc/ediff-ptch.el (ediff-patch-file-internal):
9017 Doc fixes re "online" help. (Bug#17803)
9019 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
9020 (idlwave-mode): Doc URL update.
9022 2014-07-01 Juri Linkov <juri@jurta.org>
9024 * man.el: Display man pages immediately and use process-filter
9025 to format them asynchronously.
9026 (Man-width): Doc fix.
9028 (Man-start-calling): Use `with-selected-window' to get
9029 `frame-width' and `window-width'.
9030 (Man-getpage-in-background): Call `Man-notify-when-ready'
9031 immediately after creating a new buffer. Call `Man-mode' and set
9032 `mode-line-process' in the created buffer. Set process-filter to
9033 `Man-bgproc-filter' in start-process branch. In call-process branch
9034 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
9035 Use `Man-start-calling' inside `with-current-buffer'.
9036 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
9037 (Man-cleanup-manpage): Don't print messages.
9038 (Man-bgproc-filter): New function.
9039 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
9040 user moved it during asynchronous formatting. Move calls of
9041 `Man-fontify-manpage' and `Man-cleanup-manpage' to
9042 `Man-bgproc-filter'. Move the call of `Man-mode' to
9043 `Man-getpage-in-background'. Use `quit-restore-window'
9044 instead of `kill-buffer'. Use `message' instead of `error'
9045 because errors are caught by process sentinel.
9046 (Man-mode): Move calls of `Man-build-page-list',
9047 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
9048 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
9050 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
9051 for the message about the man page cleaned up.
9053 2014-07-01 Mario Lang <mlang@delysid.org>
9055 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
9056 cosutomization option `gnutls-verify-error'.
9058 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9060 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
9061 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
9063 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
9064 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
9065 is suspended (bug#17857).
9067 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
9069 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
9070 Prefer utf-8 coding. (Bug#17859)
9072 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
9074 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
9077 2014-06-30 Glenn Morris <rgm@gnu.org>
9079 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
9080 (autoload-ensure-default-file): Maybe make existing output writable.
9081 * Makefile.in (AUTOGEN_VCS): Remove.
9082 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
9084 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
9086 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
9088 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
9090 New if-let, when-let, thread-first and thread-last macros.
9092 * emacs-lisp/subr-x.el
9093 (internal--listify, internal--check-binding)
9094 (internal--build-binding-value-form, internal--build-binding)
9095 (internal--build-bindings): New functions.
9096 (internal--thread-argument, thread-first, thread-last)
9097 (if-let, when-let): New macros.
9099 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
9101 * net/rcirc.el (rcirc-buffer-process): Restore previous
9102 behaviour. (Bug#17772)
9104 2014-06-29 Alan Mackenzie <acm@muc.de>
9106 Don't call c-parse-state when c++-template-syntax-table is active.
9107 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
9108 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
9109 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
9111 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
9113 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
9114 account for file-wide setting of todo-top-priorities-overrides.
9115 Make code a bit cleaner.
9117 2014-06-28 Glenn Morris <rgm@gnu.org>
9119 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
9121 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
9123 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
9124 category-wide setting of todo-top-priorities-overrides, check for
9125 a file-wide setting and fontify accordingly.
9127 2014-06-28 Glenn Morris <rgm@gnu.org>
9129 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
9131 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9133 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
9135 2014-06-28 K. Handa <handa@gnu.org>
9139 * composite.el: Setup composition-function-table for dotted circle.
9140 (compose-gstring-for-dotted-circle): New function.
9142 * international/characters.el: Add category "^" to all
9143 non-spacing characters.
9145 2014-06-28 Glenn Morris <rgm@gnu.org>
9147 * Makefile.in (doit): Remove force rule.
9148 (custom-deps, finder-data, autoloads, update-subdirs)
9149 (compile-one-process): PHONY targets do not need force rules.
9151 * Makefile.in (compile-main, compile, compile-always):
9152 No need to explicitly pass variables to ourself in recursive calls.
9154 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
9156 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
9158 2014-06-26 Glenn Morris <rgm@gnu.org>
9160 * Makefile.in (update-authors): Update for moved authors.el.
9162 2014-06-26 Leo Liu <sdl.web@gmail.com>
9164 * skeleton.el (skeleton-end-hook): Default to nil and move the
9165 work to skeleton-insert. (Bug#17850)
9167 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
9169 * calc/calc-alg.el (math-beforep):
9170 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
9171 Simplify because string-lessp can accept symbols as args.
9173 2014-06-26 Daiki Ueno <ueno@gnu.org>
9175 * emacs-lisp/package.el (package--check-signature):
9176 If package-check-signature is allow-unsigned, don't signal error when
9177 we can't verify signature because of missing public key
9180 2014-06-26 Glenn Morris <rgm@gnu.org>
9182 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
9183 Remove outdated declaration.
9185 * emacs-lisp/authors.el (authors-valid-file-names)
9186 (authors-renamed-files-alist): Additions.
9188 2014-06-26 Leo Liu <sdl.web@gmail.com>
9190 * textmodes/picture.el (picture-set-tab-stops):
9191 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
9192 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
9194 * progmodes/asm-mode.el (asm-calculate-indentation):
9195 Use indent-next-tab-stop.
9197 * indent.el (indent-accumulate-tab-stops): New function.
9199 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9201 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
9202 (package-desc-status): Obey it.
9204 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
9206 * calendar/todo-mode.el: Fix two bugs.
9207 (todo-insert-item--basic): If user cancels item insertion to
9208 another category before setting priority, show original category
9209 whether it is in the same or a different file.
9210 (todo-set-item-priority): After selecting category, instead of
9211 moving point to top, which extends an active region, restore it.
9213 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9215 * help-fns.el (describe-function-1): Check file-name is a string before
9216 calling help-fns--autoloaded-p (bug#17564).
9218 2014-06-26 Juri Linkov <juri@jurta.org>
9220 * desktop.el (desktop-auto-save-enable)
9221 (desktop-auto-save-disable): New functions.
9222 (desktop-save-mode, desktop-auto-save-timeout): Use them.
9223 (desktop-read): Disable the autosave before loading the desktop,
9224 and enable afterwards. (Bug#17351)
9226 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9228 Fix some indentation problem with \; and pipes (bug#17842).
9229 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
9230 (sh-smie--default-forward-token, sh-smie--default-backward-token):
9232 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
9233 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
9234 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
9236 2014-06-26 Glenn Morris <rgm@gnu.org>
9238 * emacs-lisp/find-func.el (find-function-C-source-directory):
9239 Use file-accessible-directory-p.
9241 * ps-samp.el: Make it slightly less awful.
9242 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
9243 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
9244 Only set local values.
9245 (ps-article-subject, ps-article-author): Use standard functions
9246 like mail-fetch-field.
9247 (ps-info-file, ps-info-node): Use match-string.
9248 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
9249 (ps-samp-ps-setup): ... new function.
9251 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
9252 Optimize away code unneeded on any modern Emacs.
9254 * emacs-lisp/authors.el: Move to ../admin.
9256 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
9258 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
9260 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
9261 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
9262 performance enhancements.
9263 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
9265 (hif-factor, hif-string-concatenation, intern-safe): Support string
9266 concatenation and argumented macro expansion.
9267 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
9268 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
9269 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
9270 (hif-canonicalize-tokens, hif-place-macro-invocation)
9271 (hif-parse-macro-arglist): Mostly new functions for supporting
9272 argumented macro expansion.
9273 (hif-string-concatenation, hif-stringify, hif-token-concat)
9274 (hif-token-stringification, hif-token-concatenation):
9275 Stringification and concatenation.
9276 (hif-find-next-relevant): Fix comments.
9277 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
9278 some cases involving #elif.
9279 (hif-find-define, hif-add-new-defines): New functions for automatically
9280 scanning of defined symbols.
9281 (hide-ifdef-guts): Fix for defined symbol auto scanning.
9282 (hide-ifdef-undef): Fix behavior to match CPP.
9284 2014-06-25 Glenn Morris <rgm@gnu.org>
9286 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
9287 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
9288 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
9289 files. They are not relevant to the original issue (bug#1004),
9290 and cause unnecessary recompilation (bug#2151).
9292 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9294 * play/landmark.el: Use lexical-binding and avoid `intangible'.
9295 (landmark--last-pos): New var.
9296 (landmark--intangible-chars): New const.
9297 (landmark--intangible): New function.
9298 (landmark-mode, landmark-move): Use it.
9299 (landmark-mode): Remove properties.
9300 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
9301 (landmark-cross-qtuple):
9302 Don't worry about `intangible' any more.
9303 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
9304 (landmark-init-display): Don't set `intangible' and `point-entered'.
9305 (square): Remove. Inline it instead.
9306 (landmark--distance): Rename from `distance'.
9307 (landmark-calc-distance-of-robot-from): Rename from
9308 calc-distance-of-robot-from.
9309 (landmark-calc-smell-internal): Rename from calc-smell-internal.
9311 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
9313 * files.el (dir-locals-find-file, file-relative-name):
9314 * info.el (Info-complete-menu-item):
9315 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
9316 to compare-strings to avoid out-of-range errors.
9317 * subr.el (string-prefix-p): Adjust to match strict range
9318 checking in compare-strings.
9320 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
9322 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
9323 for comment lines non-greedy and stopping at newlines to fix stack
9324 overflows with large files.
9326 2014-06-24 Eli Barzilay <eli@barzilay.org>
9328 * calculator.el (calculator-last-input): Drop 'ascii-character property
9331 2014-06-24 Leo Liu <sdl.web@gmail.com>
9333 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
9334 tab-stop-list to nil. (Bug#16381)
9336 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
9337 (indent-rigidly-left-to-tab-stop)
9338 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
9339 (move-to-tab-stop): Change callers.
9341 2014-06-24 Eli Zaretskii <eliz@gnu.org>
9343 * skeleton.el (skeleton-insert): Yet another fix of the doc string
9344 wrt behavior of \n as the first/last element of a skeleton.
9346 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
9348 * net/tramp-adb.el (tramp-adb-handle-process-file):
9349 * net/tramp-sh.el (tramp-sh-handle-process-file):
9350 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
9351 the output buffer when DISPLAY is non-nil. (Bug#17815)
9353 2014-06-24 Glenn Morris <rgm@gnu.org>
9355 * play/landmark.el (landmark-move-down, landmark-move-up):
9356 Fix 2007-10-20 change - preserve horizontal position.
9358 2014-06-23 Sam Steingold <sds@gnu.org>
9360 * simple.el (kill-append): Remove undo boundary depending on ...
9361 (kill-append-merge-undo): New user option.
9363 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9365 * simple.el (handle-shift-selection, exchange-point-and-mark)
9366 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
9367 (transient-mark-mode): Use&set the global value.
9368 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
9369 * emulation/edt.el (edt-emulation-off): Save&restore the global
9370 transient-mark-mode setting.
9371 * obsolete/pc-select.el (pc-selection-mode): Use the
9372 transient-mark-mode function.
9374 2014-06-23 Eli Zaretskii <eliz@gnu.org>
9376 * international/fontset.el (script-representative-chars):
9377 Add representative characters for scripts added in Unicode 7.0.
9378 (otf-script-alist): Synchronize with the latest registry of OTF
9381 * international/characters.el (char-script-table): Update for
9382 scripts added and codepoint ranges changed in Unicode 7.0.
9384 2014-06-23 Eli Barzilay <eli@barzilay.org>
9386 * calculator.el (calculator-standard-displayer): Fix bug in use of
9387 `calculator-groupize-number'.
9388 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
9389 `eval' code, so it works in v24.3.1 too.
9390 (calculator-last-input): Comment to clarify purpose.
9392 2014-06-22 Mario Lang <mlang@delysid.org>
9394 * textmodes/rst.el (rst-comment-region): From from -> from.
9396 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
9398 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
9400 * electric.el (electric-layout-post-self-insert-function):
9401 * emacs-lisp/ert.el (ert--insert-infos):
9402 * obsolete/vi.el (vi-set-mark):
9403 * term.el (term-handle-scroll):
9404 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
9405 * wid-edit.el (widget-editable-list-value-create):
9406 Prefer point-marker to copy-marker of point.
9408 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
9410 Fix completion retrieval parsing (bug#17209).
9411 * progmodes/python.el (python-mode):
9412 (python-util-strip-string): New function.
9413 (python-shell-completion-get-completions): Use it.
9415 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9417 * skeleton.el (skeleton-insert): Fix last change.
9419 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
9421 Enhancements for outline integration (bug#17796).
9422 * progmodes/python.el (python-mode): Properly set
9423 outline-heading-end-regexp so that comments after colons for
9424 defuns are supported.
9426 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9428 * skeleton.el (skeleton-insert): Doc fix.
9430 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9432 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
9433 (smie-config-guess): Use smie-config-local so the rules are obeyed
9436 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
9437 since it's already done inside the loop (bug#17819).
9439 2014-06-21 Martin Rudalics <rudalics@gmx.at>
9441 * mouse.el (mouse-drag-line): Re-remove code initially removed
9442 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
9445 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9447 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
9448 align with the surrounding parent (bug#17721).
9450 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9452 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
9454 (texinfo-insert-block, texinfo-insert-@end)
9455 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
9456 local setting of skeleton-end-newline by adding an explicit \n to
9457 the skeletons where appropriate. (Bug#17801)
9459 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9461 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
9462 (smie-indent--hanging-p): Use it.
9463 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
9465 2014-06-21 Leo Liu <sdl.web@gmail.com>
9467 * simple.el (read-quoted-char): Don't let help chars pop up help
9470 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9472 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
9475 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
9476 Drop unknown events instead of burping.
9478 2014-06-21 Eli Zaretskii <eliz@gnu.org>
9480 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
9481 and later. (Bug#17790)
9483 2014-06-21 Juri Linkov <juri@jurta.org>
9485 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
9486 to `soft'. (Bug#17554)
9488 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9490 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
9493 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
9495 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
9496 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
9498 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
9500 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
9501 `unread-command-events'.
9503 2014-06-19 William Xu <william.xwl@gmail.com>
9505 * progmodes/hideif.el (hif-string-to-number): Don't return float for
9506 hex integer constants (bug#17807).
9508 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9510 * international/mule-util.el (truncate-string-ellipsis): New var.
9511 (truncate-string-to-width): Use it.
9513 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
9515 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
9516 (lisp-string-in-doc-position-p): New function, extracted from
9517 lisp-font-lock-syntactic-face-function.
9518 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
9520 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
9522 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
9524 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9526 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
9527 (bubbles--game-over): Don't add `intangible' properties since they
9530 2014-06-18 Juri Linkov <juri@jurta.org>
9532 * vc/ediff-init.el (ediff-current-diff-Ancestor)
9533 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
9534 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
9535 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
9536 Add `min-colors 88' version with removed black/white foregrounds.
9539 2014-06-18 Juri Linkov <juri@jurta.org>
9541 * vc/diff-mode.el (diff-changed): Empty face definition to use
9542 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
9543 (diff-context): Use darker color on light background and
9544 lighter color on dark background.
9546 2014-06-18 Juri Linkov <juri@jurta.org>
9548 * vc/diff-mode.el (diff-refine-changed): Rename from
9549 `diff-refine-change' for consistency with `diff-changed'.
9550 (diff-refine-change): Add obsolete face alias. (Bug#10181)
9552 * vc/smerge-mode.el (smerge-refined-changed): Rename from
9553 `smerge-refined-change'.
9554 (smerge-refined-change): Add obsolete face alias.
9556 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9558 * rect.el (rectangle-preview): New custom.
9559 (rectangle): New group.
9560 (rectangle--pos-cols): Add `window' argument.
9561 (rectangle--string-preview-state, rectangle--string-preview-window):
9563 (rectangle--string-flush-preview, rectangle--string-erase-preview)
9564 (rectangle--space-to, rectangle--string-preview): New functions.
9565 (string-rectangle): Use them.
9566 (rectangle--inhibit-region-highlight): New var.
9567 (rectangle--highlight-for-redisplay): Obey it. Make sure
9568 `apply-on-region' uses the point-crutches of the right window.
9569 Use :align-to rather than multiple spaces.
9571 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
9573 * ruler-mode.el (ruler-mode-window-col)
9574 (ruler-mode-mouse-set-left-margin)
9575 (ruler-mode-mouse-set-right-margin): Fix calculation of column
9576 from mouse position (Bug#17768).
9578 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
9580 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
9581 without varname or rhs causes crash.
9582 (dun-ftp): Fix bug where blank ftp password is allowed, making it
9583 impossible to win endgame.
9584 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
9586 (dun-help): Bump version number; update contact info.
9588 2014-06-15 Eli Barzilay <eli@barzilay.org>
9590 * calculator.el (calculator-prompt, calculator-remove-zeros)
9591 (calculator-mode-hook, calculator-operators, calculator-stack)
9592 (calculator-mode): Tweak docstring.
9593 (calculator-user-operators): Tweak docstring, fix a bug in the last
9595 (calculator-displayer): `std' case has an optional boolean.
9596 (calculator-displayers): Use the new boolean to group in decimal mode.
9597 (calculator-mode-map, calculator, calculator-message)
9598 (calculator-op-arity, calculator-add-operators)
9599 (calculator-string-to-number, calculator-displayer-prev)
9600 (calculator-displayer-next, calculator-remove-zeros)
9601 (calculator-eng-display, calculator-number-to-string)
9602 (calculator-update-display, calculator-last-input)
9603 (calculator-clear-fragile, calculator-digit, calculator-decimal)
9604 (calculator-exp, calculator-saved-move, calculator-clear)
9605 (calculator-copy, calculator-put-value, calculator-help)
9606 (calculator-expt, calculator-truncate): Minor code improvements.
9607 (calculator-need-3-lines): New function pulling out code from
9609 (calculator-get-display): Rename from `calculator-get-prompt', and
9611 (calculator-push-curnum): Rename from `calculator-curnum-value', and
9612 extended for all uses of it. All callers changed.
9613 (calculator-groupize-number): New utility for splitting a number into
9615 (calculator-standard-displayer): Improve code, new optional argument to
9616 use comma-split groups, make second argument optional too to use with
9617 'left/'right inputs. All callers changed.
9618 (calculator-reduce-stack-once): New utility, doing the meat of what
9619 `calculator-reduce-stack' used to do, much improved (mostly using
9620 `pcase' for conciseness and clarity).
9621 (calculator-reduce-stack): Now doing just the reduction loop using
9622 `calculator-reduce-stack-once'.
9623 (calculator-funcall): Improve code, make it work in v24.3.1 too.
9624 (calculator-last-input): Improve code, remove some old cruft.
9625 (calculator-quit): Kill `calculator-buffer' in electric mode too.
9626 (calculator-integer-p): Remove.
9627 (calculator-fact): Improve code, make it work on non-integer values
9628 too (using truncated numbers).
9630 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
9632 Sync with Tramp 2.2.10.
9634 * net/tramp.el (tramp-methods): Tweak docstring.
9635 (tramp-handle-file-accessible-directory-p): Check for
9636 `file-readable-p' instead of `file-executable-p'.
9637 (tramp-check-cached-permissions):
9638 Use `tramp-compat-file-attributes'.
9639 (tramp-call-process): Add new argument VEC. Adapt callees in all
9642 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
9643 (tramp-adb-maybe-open-connection): Don't set
9644 `tramp-current-*' variables.
9646 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
9647 file properties of temporary buffers.
9649 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
9651 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
9652 (tramp-gvfs-handle-delete-file): Flush file
9653 properties, not directory properties.
9654 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
9655 reading "unix::mode".
9656 (tramp-gvfs-handle-file-name-all-completions):
9657 Use "-h" option for "gvfs-ls".
9658 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
9659 (tramp-gvfs-send-command): Simplify traces.
9661 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
9662 (vc-git-program, vc-hg-program): Declare.
9663 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
9664 (tramp-methods) <nc>: Add new method.
9665 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
9666 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
9668 (tramp-default-user-alist): Add "nc".
9669 (top): Remove completion function for "sftp". Add completion
9670 functions for "nc" and "psftp".
9671 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
9672 Implement support for "nc" method.
9673 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
9674 (tramp-remote-coding-commands, tramp-call-local-coding-command):
9676 (tramp-sh-handle-write-region): Tweak error message.
9677 (tramp-sh-handle-vc-registered): Remove backends when the remote
9678 binary does not exist.
9679 (tramp-find-inline-encoding): Do not raise an error.
9680 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
9681 the "nc" case. Quote result also locally.
9683 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9684 (tramp-smb-handle-set-file-acl): Use `start-process'.
9685 (tramp-smb-handle-insert-directory): Use progress reporter.
9686 (tramp-smb-handle-rename-file): Flush also file properties of
9689 * net/trampver.el: Update release number.
9691 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9693 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
9695 (ses-localvars): Remove ses--local-printer-list, unused.
9696 (ses--metaprogramming): New macro. Use it to defvar variables.
9697 (ses-set-localvars): Simplify.
9698 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
9699 property-list into an alist.
9700 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9701 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
9702 Remove; use defstruct accessors/setters instead.
9703 (ses-cell-formula-aset, ses-cell-printer-aset)
9704 (ses-cell-references-aset): Remove, use setf instead.
9705 (ses--alist-get): New function.
9706 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
9707 Use an alist instead of a plist and don't do move-to-front since the
9708 list is always short.
9709 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
9710 (ses-cell-property-set-fun, ses-cell-property-set)
9711 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
9712 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
9713 (ses--letref): New macro.
9714 (ses-cell-property-pop): Rewrite.
9715 (ses--cell): Rename from ses-cell and make it into a function.
9716 Make `formula' fallback on `value' if nil.
9717 (ses--local-printer): Rename from ses-local-printer and make it into
9719 (ses-set-cell): Turn it into a macro so finding the accessor from the
9720 field name is done at compile time.
9721 (ses-repair-cell-reference-all): Test presence of `sym' rather than
9722 `ref' before adding `sym' to :ses-repair-reference.
9723 (ses-calculate-cell): Use ses--letref rather than
9724 ses-cell-property-get-handle.
9725 (ses-write-cells): Use a single prin1-to-string.
9726 (ses-setter-with-undo): New function.
9727 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
9728 (ses-unset-with-undo): Remove.
9729 (ses-load): Prefer apply' over `eval'.
9730 (ses-read-printer, ses-set-column-width): Use standard "(default
9733 2014-06-15 Glenn Morris <rgm@gnu.org>
9735 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
9737 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
9738 Replace delete-duplicates and mapcan by cl- versions throughout.
9739 And cl-macroexpand-all by macroexpand-all.
9740 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
9742 2014-06-15 Eli Zaretskii <eliz@gnu.org>
9744 * subr.el (posn-col-row): Doc fix. (Bug#17768)
9746 2014-06-15 Juri Linkov <juri@jurta.org>
9748 * bindings.el: Put `ascii-character' property on keypad keys
9749 mapped to characters. (Bug#17759)
9751 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9753 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
9754 bumping forward into a closing paren (bug#17761).
9756 * term/xterm.el (xterm--version-handler): Work around for OSX
9757 Terminal.app (bug#17607).
9759 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
9761 * play/dunnet.el (dun-describe-room, dun-mode):
9762 If a lamp is in the room, you won't be eaten by a grue.
9764 2014-06-13 Glenn Morris <rgm@gnu.org>
9766 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
9767 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
9768 (compile-always): GNU make automatically passes
9769 command-line arguments to sub-makes.
9771 * calendar/calendar.el (calendar-generate-window):
9772 Remove pointless call to font-lock-fontify-buffer.
9774 2014-06-13 Matthias Meulien <orontee@gmail.com>
9776 * simple.el (completion-list-mode-map): Navigate with tab and backtab
9779 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9781 * simple.el (set-mark-command): Simplify a bit.
9783 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
9785 * help.el (help--key-binding-keymap): New function.
9786 (help--binding-locus): New function.
9787 (describe-key): Mention the keymap in which the binding was
9790 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9792 * hippie-exp.el (he--all-buffers): New function.
9793 (try-expand-line-all-buffers, try-expand-list-all-buffers)
9794 (try-expand-dabbrev-all-buffers): Use it.
9796 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
9798 * hippie-exp.el (try-expand-line-all-buffers)
9799 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
9800 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
9801 original buffer, in case they're buffer-local.
9803 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
9805 * ses.el (ses-initial-global-parameters-re): New defconst, a
9806 specific regexp is needed now that ses.el can handle both
9807 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
9809 (ses-localvars): Add local variables needed for local printer handling.
9810 (ses-set-localvars): Handle hashmap initialization.
9811 (ses-paramlines-plist): Add param-line for number of local printers.
9812 (ses-paramfmt-plist): New defconst, needed for code factorization
9813 between functions `ses-set-parameter' and
9814 `ses-file-format-extend-paramter-list'
9815 (ses-make-local-printer-info): New defsubst.
9816 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
9817 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
9818 (ses-cell-printer-aset): New defmacro.
9819 (ses-local-printer-compile): New defun.
9820 (ses-local-printer): New defmacro.
9821 (ses-printer-validate, ses-call-printer): Add support for local
9823 (ses-file-format-extend-paramter-list): New defun.
9824 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
9826 (ses-load): Add support for local printer functions.
9827 (ses-read-printer): Update docstring and add support for local printer
9829 (ses-refresh-local-printer, ses-define-local-printer): New defun.
9830 (ses-safe-printer): Add support for local printer functions.
9832 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
9834 * ffap.el (ffap-lax-url): New var (bug#17723).
9835 (ffap-url-at-point): Use it.
9836 (ffap-file-at-point): Avoid returning just "/".
9838 2014-06-12 Matthias Meulien <orontee@gmail.com>
9840 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
9841 (python-mode-map): Bind it.
9843 * progmodes/python.el (class skeleton): Don't erase last char of class
9846 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
9848 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
9850 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
9852 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
9855 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9857 * international/mule-cmds.el: Use lexical-binding.
9858 (ucs-names): Simplify.
9860 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
9862 * progmodes/python.el (run-python): Use read-shell-command.
9864 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9866 * rect.el: Make it possible to move bounds past EOL or into TABs.
9867 (operate-on-rectangle): Use apply-on-rectangle.
9868 (rectangle--mark-crutches): New var.
9869 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
9870 (rectangle--crutches, rectangle--reset-crutches): New functions.
9871 (apply-on-rectangle): Obey crutches. Avoid setq.
9872 Fix missing final iteration if end is at EOB&BOL.
9873 (rectangle-mark-mode-map): Add remap bindings for
9874 exchange-point-and-mark and char/line movements.
9875 (rectangle--*-char): New function.
9876 (rectangle-exchange-point-and-mark, rectangle-right-char)
9877 (rectangle-left-char, rectangle-forward-char)
9878 (rectangle-backward-char, rectangle-next-line)
9879 (rectangle-previous-line): New commands.
9880 (rectangle--place-cursor): New function.
9881 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
9883 2014-06-08 Glenn Morris <rgm@gnu.org>
9885 * startup.el (initial-buffer-choice): Doc fix.
9886 Reset :version (adding an option does not merit a :version bump).
9888 * bookmark.el (bookmark-load):
9889 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
9891 2014-06-08 Juri Linkov <juri@jurta.org>
9893 * desktop.el: Activate auto-saving on window configuration changes.
9894 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
9895 `desktop-auto-save-set-timer' to/from
9896 `window-configuration-change-hook'.
9897 (desktop-auto-save-set-timer): Change REPEAT arg of
9898 `run-with-idle-timer' from t to nil.
9899 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
9901 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
9903 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
9904 vc-hg-command (bug#17570).
9906 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9908 * international/mule-cmds.el (ucs-names): Add special entry for BEL
9911 2014-06-08 Glenn Morris <rgm@gnu.org>
9913 * startup.el (window-setup-hook): Doc fix.
9915 * emacs-lisp/package.el (package-check-signature)
9916 (package-unsigned-archives): Doc fixes.
9918 2014-06-08 Martin Rudalics <rudalics@gmx.at>
9920 * window.el (display-buffer-use-some-window): Don't make window
9921 used smaller than it was before (Bug#17671).
9923 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9925 * menu-bar.el (menu-bar-open): Fix last change: use the PC
9926 'redisplay' instead of '(sit-for 0)'.
9928 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
9930 * net/tramp.el (tramp-ssh-controlmaster-options):
9931 Improve search regexp. (Bug#17653)
9933 2014-06-08 Glenn Morris <rgm@gnu.org>
9935 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
9937 2014-06-08 Eli Zaretskii <eliz@gnu.org>
9939 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
9941 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
9943 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
9946 * vc/vc-hg.el (vc-hg-log-graph): New var.
9947 (vc-hg-print-log): Use it.
9948 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
9949 graph output (bug#17515).
9951 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
9953 * mouse.el (mouse-posn-property): Ignore buffer position info when the
9954 even happened elsewhere.
9956 2014-06-06 Mario Lang <mlang@delysid.org>
9958 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
9959 `recenter' if `current-buffer' is equal to `window-buffer'.
9961 2014-06-05 Leo Liu <sdl.web@gmail.com>
9963 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
9965 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
9967 * textmodes/tildify.el (tildify-foreach-region-outside-env):
9968 New function which calls a callback on portions of the buffer that are
9969 outside of ignored environments.
9970 (tildify-build-regexp): Remove function since it is now
9971 incorporated in `tildify-foreach-region-outside-env' where it is
9972 optimized and simplified by the use of `mapconcat'.
9973 (tildify-tildify): Return number of substitutions made so that…
9974 (tildify-count): …can be removed.
9975 (tildify-find-env): Accept a new PAIRS argument which was
9976 previously looked up in `tildify-ignored-environments-alist' each
9977 time the function was called. With this change, the lookup is
9978 performed only once in `tildify-foreach-region-outside-env'.
9979 (tildify-region): Greatly simplify the function since now most of
9980 the work is done by `tildify-foreach-region-outside-env'.
9981 (tildify-mode-alist): Simplify slightly by avoiding if and setq
9982 and instead using or.
9984 * textmodes/tildify.el (tildify-ignored-environments-alist):
9985 Optimize environments regexes
9987 Each time beginning of an environment to ignore is found,
9988 `tildify-find-env' needs to identify regexp for the ending
9989 of the environment. This is done by trying all the opening
9990 regexes on matched text in a loop, so to speed that up, this
9991 loop should have fewer things to match, which can be done by
9992 using alternatives in the opening regexes.
9994 Coincidentally, this should make matching of the opening
9995 regexp faster as well thanks to the use of `regexp-opt' and
9996 having common prefix pulled from many regexes.
9998 * textmodes/tildify.el (tildify-string-alist)
9999 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
10000 of supported modes since `xml-mode' is no longer a thing but just
10001 an alias to the former. Also include comments and insides of tags
10002 in `tildify-ignored-environments-alist' for XML modes. Finally,
10003 since XML does not define “ ”[1], use a numeric reference for
10004 a no-break space (namely “ ”)
10006 [1] XML specification defines only a handful of predefined entities.
10007 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
10008 and includes only <, >, &, ' and " (meaning <,
10009 >, &, ' and " respectively). This is in contrast to HTML and even
10010 XHTML which defined a whole bunch of entities including “ ”.
10012 * textmodes/tildify.el (tildify-pattern-alist)
10013 (tildify-string-alist, tildify-ignored-environments-alist):
10014 Improve defcustom's types by adding more tags explaining what each
10015 value means and replace “sexp” used in
10016 `tildify-ignored-environments-alist' with a full type declaration.
10018 * textmodes/tildify.el (tildify-find-env): Fix matched group
10019 indexes in end-regex building
10021 When looking for a start of an ignore-environment, the regex is built
10022 by concatenating regexes of all the environments configured in
10023 `tildify-ignored-environments-alist'. So for example, the following
10024 list could be used to match TeX's \verb and \verb* commands:
10026 (("\\\\verb\\(.\\)" . (1))
10027 ("\\\\verb\\*\\(.\\)" . (1)))
10029 This would result in the following regex being used to find the start
10030 of any of the variants of the \verb command:
10032 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
10034 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
10035 won't match anything, and thus (match-string 1) will be nil, which
10036 will cause building of the end-matching regex to fail.
10038 Fix this by using capture groups from the time when the opening
10039 regexes are matched individually.
10041 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
10042 in `tildify-find-env'
10044 The `tildify-ignored-environments-alist' allows the end-regex to
10045 be provided not as a static string but mix of strings and indexes
10046 of groups matched the begin-regex. For example, the “\verb!…!”
10047 TeX-command (where “!” is an arbitrary character) is handled
10050 ("\\\\verb\\*?\\(.\\)" . (1))
10052 In the same way, the following should be supported as well:
10054 ("open-\\(.\\)" . ("end-" 1))
10056 However the tildify-find-env function fails at
10059 (if (stringp (setq aux (car expression)))
10060 expression ; BUG: expression is a list
10061 (regexp-quote (match-string aux))))
10063 where the string part is handled incorrectly.
10065 The most trivial fix would be to replace `expression' in the
10066 true-part of the if-statement with `aux', but instead, this commit
10067 optimizes `tildify-find-env' by changing it to use `mapconcat'
10068 rather than open-coded while-loop.
10070 2014-06-05 Mario Lang <mlang@delysid.org>
10072 * woman.el (woman-mapcan): Remove.
10073 (woman-parse-colon-path): Use cl-mapcan instead.
10075 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10077 * register.el: Add link to Emacs manual in Commentary.
10079 2014-06-02 Sam Steingold <sds@gnu.org>
10081 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
10082 (popup-menu): ...here.
10083 (menu-bar-open): Use it to avoid an error when `lookup-key'
10086 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
10088 * net/tramp.el (tramp-call-process): Add traces.
10089 (tramp-handle-unhandled-file-name-directory): Return "/".
10091 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
10093 Sync with upstream verilog-mode revision 3cd8144.
10094 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
10095 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
10096 (verilog-type-font-keywords): Add nor.
10097 (verilog-batch-execute-func): Force reading of Local Variables.
10098 Fix printing "no changes to be saved" with verilog-batch.
10099 (verilog-auto-arg-ports): Doc fix.
10100 Add verilog-auto-arg-format to support newlines in AUTOARG.
10101 (verilog-auto-arg): Doc fix.
10103 2014-06-02 Glenn Morris <rgm@gnu.org>
10105 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
10106 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
10107 * emulation/ws-mode.el: Move to obsolete/.
10108 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
10110 2014-06-02 Eli Zaretskii <eliz@gnu.org>
10112 * simple.el (keyboard-quit): Force update of mode lines, to remove
10113 the "Def" indicator, if we were defining a macro. (Bug#17615)
10115 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10117 * minibuffer.el (minibuffer-force-complete-and-exit):
10118 Obey minibuffer-default (bug#17545).
10120 * progmodes/js.el (js-indent-line): Don't mix columns and chars
10123 * subr.el (set-transient-map): Don't wait for some "nested"
10124 transient-map to finish if we're only supposed to be active for
10125 the next command (bug#17642).
10127 2014-06-02 Leo Liu <sdl.web@gmail.com>
10129 * emacs-lisp/gv.el (window-buffer, window-display-table)
10130 (window-dedicated-p, window-hscroll, window-point, window-start):
10131 Fix gv-expander. (Bug#17630)
10133 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10135 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
10136 clicks (bug#17633).
10138 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
10139 for the single comma, since ", " is *very* common in normal French text
10142 2014-06-02 Glenn Morris <rgm@gnu.org>
10144 * emacs-lisp/package.el (package-check-signature)
10145 (package-unsigned-archives): Fix :version.
10147 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10149 * subr.el (sit-for): Don't run input-methods (bug#15614).
10151 2014-06-02 Glenn Morris <rgm@gnu.org>
10153 * cus-start.el: Fix some :version numbers.
10155 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10157 * simple.el (deactivate-mark): Set mark-active to nil even if
10158 deactivation is done via setting transient-mark-mode to nil,
10159 since one is buffer-local and the other is global.
10161 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
10162 there can't be more than 2 arguments (bug#17584).
10164 2014-06-02 Glenn Morris <rgm@gnu.org>
10166 * simple.el (filter-buffer-substring-functions)
10167 (filter-buffer-substring-function, buffer-substring-filters)
10168 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
10170 * minibuffer.el (completion-in-region-functions, completion-in-region)
10171 (completion--in-region): Doc fixes.
10173 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
10174 (expand-abbrev, abbrev--default-expand): Doc fixes.
10176 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
10178 Include sources used to create macuvs.h.
10179 * international/README: Refer to the Unicode Terms of Use rather
10180 than copying it bodily here, as that simplifies maintenance.
10182 2014-06-01 Glenn Morris <rgm@gnu.org>
10184 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
10186 2014-05-31 Glenn Morris <rgm@gnu.org>
10188 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
10190 2014-05-30 Glenn Morris <rgm@gnu.org>
10192 * loadup.el: Treat `command-line-args' more flexibly.
10194 2014-05-30 Alan Mackenzie <acm@muc.de>
10196 Guard (looking-at "\\s!") from XEmacs.
10197 * progmodes/cc-engine.el (c-state-pp-to-literal): Add guard form.
10199 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu>
10201 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
10202 The argument COUNT is now optional, to be more backward-compatible.
10203 Doc fix. (Bug#17560)
10205 2014-05-29 Reuben Thomas <rrt@sc3d.org>
10207 * whitespace.el (whitespace-report-region):
10208 Simplify documentation.
10209 (whitespace-report-region): Allow report-if-bogus to take the
10210 value `never', for non-interactive use.
10211 (whitespace-report): Refer to whitespace-report-region's
10214 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10216 * whitespace.el: Use font-lock-flush. Minimize refontifications.
10217 Side benefit: it works without jit-lock.
10218 (whitespace-point--used): New buffer-local var.
10219 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
10220 (whitespace-color-off): Use font-lock-flush.
10221 (whitespace-point--used, whitespace-point--flush-used): New functions.
10222 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
10223 (whitespace-empty-at-eob-regexp): Use them.
10224 (whitespace-post-command-hook): Rewrite.
10226 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
10227 (font-lock-fontify-buffer): Mark interactive-only.
10228 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
10230 (font-lock-specified-p): Remove redundant boundp check.
10231 (font-lock-flush-function, font-lock-ensure-function): New vars.
10232 (font-lock-turn-on-thing-lock): Set them.
10233 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
10234 (font-lock-after-change-function): Make `old-len' optional.
10235 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
10236 Call font-lock-flush, just in case.
10237 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
10239 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
10240 (vera-mode-map, vera-mode-menu): Remove bindings to it.
10241 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
10242 and with-syntax-table.
10243 * textmodes/conf-mode.el (conf-quote-normal):
10244 * progmodes/sh-script.el (sh-set-shell):
10245 * progmodes/prog-mode.el (prettify-symbols-mode):
10246 * progmodes/f90.el (f90-font-lock-n):
10247 * progmodes/cwarn.el (cwarn-mode):
10248 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
10249 * progmodes/compile.el (compilation-setup, compilation--unsetup):
10250 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
10251 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
10252 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
10253 font-lock-fontify-buffer-function and
10254 font-lock-unfontify-buffer-function.
10255 (rmail-unfontify-buffer-function, rmail-fontify-message):
10256 Use with-silent-modifications.
10257 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
10258 and font-lock-ensure.
10259 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
10261 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
10263 * emacs-lisp/package.el (package-generate-autoloads):
10264 Inhibit backup files.
10266 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10268 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
10271 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
10273 * textmodes/tildify.el (tildify-buffer, tildify-region):
10274 Add dont-ask option.
10276 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10278 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
10279 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
10281 * subr.el (internal--funcall-interactively): New.
10282 (internal--call-interactively): Remove.
10283 (called-interactively-p): Detect funcall-interactively instead of
10284 call-interactively.
10285 * simple.el (repeat-complex-command): Use funcall-interactively.
10286 (repeat-complex-command--called-interactively-skip): Remove.
10288 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10290 * register.el (register-read-with-preview): Don't burp on
10291 frame switches (e.g. due to the frame we just popped).
10293 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
10294 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
10296 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
10298 * cus-face.el (custom-face-attributes): Add :distant-foreground.
10300 2014-05-26 Martin Rudalics <rudalics@gmx.at>
10302 * window.el (window--dump-frame): Remove interactive specification.
10304 2014-05-26 Glenn Morris <rgm@gnu.org>
10306 * hippie-exp.el (he-line-search-regexp):
10307 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
10309 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
10311 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
10312 to avoid errors when trying to create or visit a file foo.todo
10313 located outside to todo-directory, and to allow having such files
10314 without them being tied to Todo mode (bug#17482).
10315 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
10316 (todo-archive-done-item, todo-find-filtered-items-file)
10317 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
10318 (todo-category-completions, todo-read-category): When visiting a
10319 Todo file, make sure we're in the right mode and the buffer local
10321 (todo-make-categories-list, todo-reset-nondiary-marker)
10322 (todo-reset-done-string, todo-reset-comment-string):
10323 After processing all Todo files, kill the buffers of those files that
10324 weren't being visited before the processing.
10325 (todo-display-as-todo-file, todo-add-to-buffer-list)
10326 (todo-visit-files-commands): Comment out.
10327 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
10328 (auto-mode-alist): Remove add-to-list calls making Todo file
10329 extensions unrestrictedly tied to Todo modes.
10331 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10333 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
10334 (advice-function-member-p): Tell it to check both names and functions
10336 (advice--add-function): Adjust call accordingly.
10338 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
10340 * calendar/todo-mode.el: Miscellaneous bug fixes.
10341 (todo-delete-file): When deleting an archive but not its todo
10342 file, make sure to update the todo file's category sexp.
10343 (todo-move-category): Keep the moved category's name unless the
10344 file moved to already has a category with that name. If the
10345 numerically last category of the source file was moved, make the
10346 first category current to avoid selecting a nonexisting category.
10347 (todo-merge-category): Fix implementation to make merging to a
10348 category in another file work as documented. Eliminate now
10349 insufficient and unnecessary renaming of archive category, correct
10350 document string accordingly, and clarify it. If the numerically
10351 last category of the source file was merged, make the first
10352 category current to avoid selecting a nonexisting category.
10353 (todo-archive-done-item): When there are marked items and point
10354 happens to be on an unmarked item, ignore the latter. Don't leave
10355 point below last item after archiving marked items.
10356 (todo-unarchive-items): Fix logic to ensure unarchiving an item
10357 from an archive with only one category deletes the archive only
10358 when the category is empty after unarchiving. Make sure the todo
10359 file's category sexp is updated.
10360 (todo-read-file-name): Allow an existing file name even when it is
10361 not required (todo-move-category needs this to work as documented).
10362 (todo-add-file): Call todo-validate-name to reject the name of an
10363 existing todo file (needed due to fix in todo-read-file-name).
10364 (todo-reset-nondiary-marker): Also reset in filtered items files.
10365 (todo-reset-done-string, todo-reset-comment-string): Also reset in
10366 regexp filtered items files.
10367 (todo-reset-highlight-item): Also reset in filtered items files.
10368 Fix incorrect variable reference in document string.
10370 2014-05-26 Glenn Morris <rgm@gnu.org>
10372 * window.el (window--dump-frame): Avoid error in --without-x builds.
10374 2014-05-26 Glenn Morris <rgm@gnu.org>
10376 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
10378 2014-05-26 Eli Zaretskii <eliz@gnu.org>
10380 * frame.el (set-frame-font): Doc fix.
10382 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
10384 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
10386 * emacs-lisp/package.el (package--download-one-archive):
10387 Use `write-region' instead of `save-buffer' to avoid running various
10389 (describe-package-1): Same. Insert newline at the end of the
10390 buffer if appropriate.
10392 2014-05-26 Juri Linkov <juri@jurta.org>
10394 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
10395 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
10396 Add more modifiers: meta, control, shift, hyper, super, alt.
10399 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
10400 to allow changing its value with `set-variable'.
10402 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10404 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
10406 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
10408 (scheme-mode-variables): Set syntax-propertize-function instead of
10409 font-lock-syntactic-face-function.
10410 (scheme-font-lock-syntactic-face-function): Delete.
10412 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
10414 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
10417 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
10419 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
10420 for a temporary file name.
10422 2014-05-26 Eli Zaretskii <eliz@gnu.org>
10424 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
10426 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
10428 * net/dbus.el (dbus-init-bus, dbus-call-method)
10429 (dbus-call-method-asynchronously, dbus-send-signal)
10430 (dbus-method-return-internal, dbus-method-error-internal):
10431 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
10433 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10435 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
10436 methods which do not have a doc string. (Bug#17490)
10438 2014-05-25 Tassilo Horn <tsdh@gnu.org>
10440 * textmodes/reftex-ref.el (reftex-format-special): Make it work
10441 also for AMS Math's \eqref macro.
10443 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
10445 Arrange to never byte-compile the generated -pkg.el file.
10447 * emacs-lisp/package.el (package-generate-description-file):
10448 Output first-line comment to set buffer-local var `no-byte-compile'.
10449 Suggested by Dmitry Gutov:
10450 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
10452 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
10454 Fix bug: Properly quote args to generated -pkg.el `define-package'.
10456 * emacs-lisp/package.el (package-generate-description-file):
10457 Inline `package--alist-to-plist'; rewrite to selectively
10458 quote alist values that are not self-quoting.
10459 (package--alist-to-plist): Delete func.
10461 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
10463 * term/xterm.el (xterm-function-map): Add mapping for shifted
10466 2014-05-24 Daniel Colascione <dancol@dancol.org>
10468 * progmodes/subword.el (subword-find-word-boundary): Move point to
10469 correct spot before search. (Bug#17580)
10471 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
10472 breaking the build.
10474 2014-05-24 Leo Liu <sdl.web@gmail.com>
10476 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
10478 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10480 * minibuffer.el (completion--sreverse): Remove.
10481 (completion--common-suffix): Use `reverse' instead.
10482 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
10484 2014-05-22 Glenn Morris <rgm@gnu.org>
10486 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
10488 2014-05-21 Daniel Colascione <dancol@dancol.org>
10490 * files.el (interpreter-mode-alist): Add mksh.
10492 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
10494 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
10495 mksh. Improve custom spec; allow regular expressions.
10496 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
10497 (sh-after-hack-local-variables): New function.
10498 (sh-mode): Use it; respect file-local `sh-shell' variable. (Bug#17333)
10499 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
10501 (sh-canonicalize-shell): Rewrite to support regexes.
10503 2014-05-21 Leo Liu <sdl.web@gmail.com>
10505 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
10507 2014-05-19 Leo Liu <sdl.web@gmail.com>
10509 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
10511 2014-05-18 Glenn Morris <rgm@gnu.org>
10514 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
10516 2014-05-14 Sam Steingold <sds@gnu.org>
10518 * progmodes/python.el (python-shell-get-or-create-process):
10519 Do not bind `current-prefix-arg' so that C-c C-z does not talk
10520 back unless requested.
10522 2014-05-14 Glenn Morris <rgm@gnu.org>
10524 * subr.el (with-file-modes): New macro.
10525 * printing.el (pr-save-file-modes): Make obsolete.
10526 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
10527 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
10528 Add with-file-modes.
10529 * doc-view.el (doc-view-make-safe-dir):
10530 * epg.el (epg--start):
10531 * files.el (locate-user-emacs-file, make-temp-file)
10532 (backup-buffer-copy, move-file-to-trash):
10533 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
10534 * eshell/esh-util.el (eshell-with-private-file-modes)
10535 (eshell-make-private-directory):
10536 * net/browse-url.el (browse-url-mosaic):
10537 * obsolete/mailpost.el (post-mail-send-it):
10538 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
10539 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
10540 Use with-file-modes.
10542 * vc/emerge.el (emerge-make-temp-file): Simplify.
10544 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
10545 Stefan Monnier <monnier@iro.umontreal.ca>
10547 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
10548 suffix (bug#15419).
10550 2014-05-14 Glenn Morris <rgm@gnu.org>
10552 * vc/emerge.el (emerge-temp-file-prefix):
10553 Make pointless option obsolete.
10554 (emerge-temp-file-mode): Make non-functional option obsolete.
10556 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
10558 * net/browse-url.el (browse-url):
10559 Use `unhandled-file-name-directory' when setting `default-directory',
10560 in order to circumvent stalled remote connections. (Bug#17425)
10562 2014-05-14 Glenn Morris <rgm@gnu.org>
10564 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
10565 Optimize on Emacs, which has the relevant functions for ages.
10567 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10569 * simple.el (undo-make-selective-list): Obey undo-no-redo.
10571 2014-05-12 Sam Steingold <sds@gnu.org>
10573 * calendar/time-date.el (seconds-to-string): New function to
10574 pretty print time delay in seconds.
10576 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10578 * mpc.el (mpc-format): Trim Date to the year.
10579 (mpc-songs-hashcons): Shorten the Date field.
10581 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
10582 into autoloading just because of a silly indirection.
10584 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
10586 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
10588 2014-05-12 Glenn Morris <rgm@gnu.org>
10590 * emacs-lisp/find-gc.el: Move to ../admin.
10592 * printing.el (pr-version):
10593 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
10595 * net/browse-url.el (browse-url-mosaic):
10596 Create /tmp/Mosaic.PID as a private file.
10598 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
10600 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
10601 (advice--member-p): If name is given, only compare the name.
10602 (advice--remove-function): Don't stop at the first match.
10603 (advice--normalize-place): New function.
10604 (add-function, remove-function): Use it.
10605 (advice--add-function): Pass the name, if any, to
10606 advice--remove-function.
10608 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
10610 * electric.el (electric-indent-post-self-insert-function): Don't use
10611 `pos' after modifying the buffer (bug#17449).
10613 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
10615 * calendar/todo-mode.el (todo-insert-item-from-calendar):
10616 Correct argument list to conform to todo-insert-item--basic.
10618 2014-05-12 Glenn Morris <rgm@gnu.org>
10620 * files.el (cd-absolute): Test if directory is accessible
10621 rather than executable. (Bug#17330)
10623 * progmodes/compile.el (recompile):
10624 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
10626 * net/browse-url.el (browse-url-mosaic):
10627 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
10628 This is CVE-2014-3423.
10630 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10632 * mouse.el: Use the normal toplevel loop while dragging.
10633 (mouse-set-point): Handle multi-clicks.
10634 (mouse-set-region): Handle multi-clicks for drags.
10635 (mouse-drag-region): Update call accordingly.
10636 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
10637 Use the normal event loop instead of a local while/read-event loop.
10638 (global-map): Remove redundant bindings for double/triple-mouse-1.
10639 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
10640 Generate synthetic down events when the protocol only sends up events.
10641 (xterm-mouse-last): Remove.
10642 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
10643 terminal parameter instead.
10644 (xterm-mouse--set-click-count): New function.
10645 (xterm-mouse-event): Detect/generate double/triple clicks.
10646 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
10648 * info.el (Info-quoted): New face.
10649 (Info-mode-font-lock-keywords): New var.
10650 (Info-mode): Use it.
10652 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
10653 are a hindrance for C-x C-e.
10655 2014-05-11 Leo Liu <sdl.web@gmail.com>
10657 * net/rcirc.el (rcirc-sentinel): Fix last change.
10659 2014-05-08 Sam Steingold <sds@gnu.org>
10661 * net/rcirc.el (rcirc-reconnect-delay): New user option.
10662 (rcirc-sentinel): Auto-reconnect to the server if
10663 `rcirc-reconnect-delay' is non-0 (but not more often than its
10664 value in case the host is off-line).
10666 2014-05-09 Eli Zaretskii <eliz@gnu.org>
10668 * progmodes/grep.el (lgrep): Fix a typo in last commit.
10670 2014-05-09 Glenn Morris <rgm@gnu.org>
10672 * files.el (file-expand-wildcards):
10673 * man.el (Man-support-local-filenames):
10674 * printing.el (pr-i-directory, pr-interface-directory):
10675 * progmodes/grep.el (lgrep, rgrep):
10676 * textmodes/ispell.el (ispell-call-process)
10677 (ispell-call-process-region, ispell-start-process)
10678 (ispell-init-process): Use file-accessible-directory-p.
10680 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10682 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
10683 (xterm-mouse--read-event-sequence-1000): Return nil if something
10685 (xterm-mouse-event): Propagate it.
10686 (xterm-mouse-translate-1): Handle it.
10688 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
10690 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
10691 four slots of the parameter list are filled, make sure to pass it
10692 to the argument list of todo-insert-item--basic.
10694 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10696 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
10697 Add optional `seen' argument to detect and break infinite loops.
10699 2014-05-08 Eli Zaretskii <eliz@gnu.org>
10701 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
10702 (trace-unsafe, trace-use-tree): Make parentheses style be
10703 according to Emacs style.
10705 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
10707 * net/tramp-sh.el (tramp-remote-process-environment):
10708 Remove HISTFILE and HISTSIZE; it's too late to set them here.
10709 Add :version entry.
10710 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
10711 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
10712 extra "PSx=..." commands.
10713 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
10716 (tramp-uudecode): Replace the hard-coded temporary file name by a
10718 (tramp-remote-coding-commands): Enhance docstring.
10719 (tramp-find-inline-encoding): Replace "%t" by a temporary file
10721 This is CVE-2014-3424.
10723 2014-05-08 Glenn Morris <rgm@gnu.org>
10725 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
10726 (find-gc-source-files): Update some names.
10727 (trace-call-tree): Simplify and update.
10728 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
10729 This is CVE-2014-3422.
10731 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10733 * minibuffer.el (completion--try-word-completion): Revert fix for
10734 Bug#15980 (bug#17375).
10736 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
10737 Always store button numbers in the same way in xterm-mouse-last;
10738 Don't burp is xterm-mouse-last is not set as expected.
10739 Never return negative indices.
10741 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
10743 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10744 Backtrack one char if the global/char-literal var matcher hits
10745 inside a string. The next char could be the beginning of an
10746 expression expansion.
10748 2014-05-08 Glenn Morris <rgm@gnu.org>
10750 * help-fns.el (describe-function-1): Test for an autoload before a
10751 macro, since `macrop' works on autoloads. (Bug#17410)
10753 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10755 * electric.el (electric-indent-functions-without-reindent): Add yaml.
10757 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
10758 Make sure the new point we return is within the new string (bug#17239).
10760 2014-05-05 Daniel Colascione <dancol@dancol.org>
10762 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10763 Port `gnu' pattern to rx.
10765 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
10767 Remove unneeded prompt when closing a buffer with active
10768 emacsclient ("Buffer ... still has clients"), #16548.
10769 * server.el (server-start): Remove the only call to:
10770 (server-kill-buffer-query-function): Remove.
10772 2014-05-04 Leo Liu <sdl.web@gmail.com>
10774 * calendar/diary-lib.el (calendar-chinese-month-name-array):
10775 Defvar to pacify compiler.
10777 2014-05-04 Eli Zaretskii <eliz@gnu.org>
10779 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
10781 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10783 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
10784 Use nil rather than `default' for the "default" appearance (bug#17388).
10785 * vc/ediff-util.el (ediff-inferior-compare-regions)
10786 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
10787 a misleading `default' value when it's really a boolean.
10788 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
10789 overlay is not visible.
10791 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10793 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
10794 (todo-menu): Uncomment and update.
10796 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
10798 * calendar/todo-mode.el: Reimplement item editing to have the same
10799 basic user interface as item insertion, and make small UI and
10800 larger internal improvements to the latter.
10801 (todo-insert-item): Add reference to the Todo mode user manual to
10802 the documentation string.
10803 (todo-insert-item--basic): Rename from todo-basic-insert-item and
10804 adjust all callers. Change signature to combine diary and
10805 nonmarking arguments. Incorporate functionality of deleted item
10806 copying command and add error checking. Remove detailed
10807 descriptions of the arguments from the documentation string, since
10808 this is treated in the Todo mode user manual.
10809 (todo-copy-item, todo-edit-multiline-item)
10810 (todo-edit-done-item-comment, todo-edit-item-header)
10811 (todo-edit-item-time, todo-edit-item-date-from-calendar)
10812 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
10813 (todo-edit-item-date-year, todo-edit-item-date-month)
10814 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
10816 (todo-edit-item): Reimplement as wrapper command for
10817 todo-edit-item--next-key and make it distinguish done and not done
10819 (todo-edit-item--text): New function, replacing old command
10820 todo-edit-item and incorporating deleted commands
10821 todo-edit-multiline-item and todo-edit-done-item-comment.
10822 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
10823 Use only numeric value of prefix argument. Remove detailed
10824 descriptions of the arguments from the documentation string, since
10825 this is treated in the Todo mode user manual.
10826 (todo-edit-item--diary-inclusion): New function, replacing old
10827 command todo-edit-item-diary-inclusion and incorporating and fixing
10828 functionality of deleted command todo-edit-item-diary-nonmarking,
10829 making sure to remove todo-nondiary-marker when adding
10830 diary-nonmarking-symbol.
10831 (todo-edit-category-diary-inclusion): Make sure to delete
10832 diary-nonmarking-symbol when adding todo-nondiary-marker.
10833 (todo-edit-category-diary-nonmarking): Fix indentation.
10834 (todo-insert-item--parameters): Group diary and nonmarking
10835 parameters together.
10836 (todo-insert-item--apply-args): Adjust to signature of
10837 todo-insert-item--basic and incorporate copy parameter.
10838 Make small code improvements.
10839 (todo-insert-item--next-param): Improve prompt and adjust it to
10840 new parameter grouping. Remove obsolete code.
10841 (todo-edit-item--param-key-alist)
10842 (todo-edit-item--date-param-key-alist)
10843 (todo-edit-done-item--param-key-alist): New defconsts.
10844 (todo-edit-item--prompt): New variable.
10845 (todo-edit-item--next-key): New function.
10846 (todo-key-bindings-t): Bind "e" to todo-edit-item.
10847 Remove bindings of deleted commands.
10849 2014-05-04 Leo Liu <sdl.web@gmail.com>
10851 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
10853 2014-05-04 Glenn Morris <rgm@gnu.org>
10855 * allout-widgets.el (allout-widgets-tally)
10856 (allout-decorate-item-guides):
10857 * menu-bar.el (menu-bar-positive-p):
10858 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
10859 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
10860 * progmodes/js.el (js--inside-param-list-p)
10861 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
10862 * progmodes/prolog.el (region-exists-p):
10863 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
10864 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
10865 Doc fixes (replace `iff').
10867 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10869 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
10871 2014-05-04 Leo Liu <sdl.web@gmail.com>
10873 Support Chinese diary entries in calendar and diary. (Bug#17393)
10874 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
10875 (calendar-chinese-from-absolute-for-diary)
10876 (calendar-chinese-to-absolute-for-diary)
10877 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
10878 (diary-chinese-list-entries): New functions to list and mark
10879 Chinese diary entries in the calendar window.
10880 (diary-chinese-anniversary)
10881 (diary-chinese-insert-anniversary-entry)
10882 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
10883 (diary-chinese-insert-yearly-entry): New commands to insert
10884 Chinese diary entries.
10886 * calendar/diary-lib.el (diary-font-lock-keywords):
10887 Support font-locking Chinese dates.
10889 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
10890 inserting Chinese diary entries.
10892 * calendar/calendar.el (diary-chinese-entry-symbol):
10893 New customizable variable.
10894 (calendar-mode-map): Add bindings for inserting Chinese diary
10897 2014-05-03 Juri Linkov <juri@jurta.org>
10899 * dired.el (dired-check-switches, dired-switches-recursive-p):
10900 New functions. (Bug#17218)
10901 (dired-switches-escape-p, dired-move-to-end-of-filename):
10902 Use `dired-check-switches'.
10903 (dired-insert-old-subdirs, dired-build-subdir-alist)
10904 (dired-sort-R-check): Use `dired-switches-recursive-p'.
10906 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
10908 * simple.el (undo-make-selective-list): New algorithm fixes
10909 incorrectness of position adjustments when undoing in region.
10911 (undo-elt-crosses-region): Make obsolete.
10912 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
10913 New functions to adjust positions using undo-deltas.
10915 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
10917 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
10918 the last consecutive closing paren (bug#17345).
10920 2014-04-30 Reuben Thomas <rrt@sc3d.org>
10922 * dired.el (dired-mode): make terminology for eXpunge command
10923 consistent. (Bug#17276)
10925 2014-04-30 Eli Zaretskii <eliz@gnu.org>
10927 * dired.el (dired-initial-position-hook, dired-initial-position):
10930 2014-04-30 Glenn Morris <rgm@gnu.org>
10932 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
10934 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
10936 * faces.el (face-spec-recalc): Apply X resources only after the
10937 defface spec has been applied. Thus, X resources are no longer
10938 overriden by the defface spec which also fixes issues on win32 where
10939 the toolbar coloring was wrong because it is set through X resources
10940 and was (wrongfully) overriden. (Bug#16694)
10942 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
10944 * textmodes/rst.el (electric-pair-pairs): Declare.
10945 (rst-mode): Set it (bug#17131).
10947 2014-04-30 Juri Linkov <juri@jurta.org>
10949 * desktop.el (desktop-value-to-string): Let-bind `print-length'
10950 and `print-level' to nil. (Bug#17351)
10952 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
10954 * battery.el (battery-update): Handle the case where battery
10955 status is "N/A" (bug#17319).
10957 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
10959 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
10960 to syntax-propertize.
10961 (ps-mode-auto-indent): Mark as obsolete.
10962 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
10963 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
10964 word regexp operators.
10965 (ps-mode-map): Move initialization into declaration. Remove binding
10966 for TAB, RET, >, ], and }.
10967 (ps-mode-syntax-table): Move initialization into declaration.
10968 Don't give word syntax to non-word chars.
10969 (ps-run-mode-map): Move initialization into declaration.
10970 (ps-mode-menu-main): Remove auto-indent entry.
10971 (ps-mode-smie-rules): New function.
10972 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
10973 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
10974 (ps-mode--string-syntax-table): New const.
10975 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
10977 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
10978 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
10980 2014-04-27 Daniel Colascione <dancol@dancol.org>
10982 * term/xterm.el (xterm-paste): Use large finite timeout when
10983 reading event to avoid putting keys in this-command-keys.
10985 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10987 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
10988 (perl-syntax-propertize-function): Use it. Extend handling of
10989 here-docs to the unquoted case.
10991 2014-04-25 Eli Zaretskii <eliz@gnu.org>
10993 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
10994 Use equal-including-properties to compare help-echo strings (bug#17331).
10996 2014-04-25 Leo Liu <sdl.web@gmail.com>
10998 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10999 Fix syntax for @. (Bug#17325)
11001 2014-04-25 Daniel Colascione <dancol@dancol.org>
11003 * emacs-lisp/cl.el (gv): Require gv early to break eager
11004 macro-expansion cycles.
11006 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11008 * simple.el (region-active-p): Check there's a mark (bug#17324).
11010 * simple.el (completion-list-mode-map): Use choose-completion for the
11011 mouse binding as well (bug#17302).
11012 (completion-list-mode, completion-setup-function): Adjust docstring and
11013 echo area message accordingly.
11014 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
11015 calling convention of choose-completion.
11016 * comint.el (comint-dynamic-list-completions):
11017 * term.el (term-dynamic-list-completions): Accept choose-completion.
11019 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
11020 &, |, +, - and * can't be a division (bug#17317).
11022 * term/xterm.el (xterm--version-handler): Don't use modern xterm
11023 features on gnome-terminal (bug#16988).
11025 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
11027 Improve Scheme font-locking for (define ((foo ...) ...) ...).
11029 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
11030 the declared object, ignore zero or more parens, not zero or one.
11032 2014-04-24 Leo Liu <sdl.web@gmail.com>
11034 * progmodes/xscheme.el (xscheme-expressions-ring)
11035 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
11036 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
11037 (xscheme-allow-output-p, xscheme-prompt)
11038 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
11040 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
11041 Comment out unused functions.
11043 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11045 * info.el: Use lexical-binding and cl-lib.
11046 Use defvar-local and setq-local instead of make-local-variable.
11047 (Info-apropos-matches): Avoid add-to-list.
11048 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
11050 2014-04-24 Daniel Colascione <dancol@dancol.org>
11052 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
11054 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11056 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
11058 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
11060 * dired.el (dired-insert-set-properties): Do not consider
11061 subdirectory headings and empty lines to be information that
11062 `dired-hide-details-mode' should hide. (Bug#17228)
11064 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
11066 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11067 Remove test messages.
11068 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
11069 and `target' twice.
11071 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11073 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
11074 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
11076 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
11078 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
11080 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11081 Set "IFS=" when using read builtin, in order to preserve spaces in
11082 the file name. Add test messages for hunting a bug on hydra.
11083 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
11085 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11087 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
11088 Don't prettify a word within a symbol.
11090 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
11092 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
11095 2014-04-22 Daniel Colascione <dancol@dancol.org>
11097 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
11098 use defun to define `function-put'.
11100 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11102 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
11103 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
11104 (lisp-mode-variables): Set font-lock-extra-managed-props.
11106 * emacs-lisp/byte-run.el (function-put): New function.
11107 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
11108 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
11109 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
11112 2014-04-22 Daniel Colascione <dancol@dancol.org>
11114 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
11115 Add `full-p' parameter; when nil, call `macroexpand' instead of
11118 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
11119 Improve docstrings.
11121 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
11122 Use lambda function values, not quoted lambdas.
11123 (byte-compile-recurse-toplevel): Remove extraneous &optional.
11125 * emacs-lisp/cl-macs.el
11126 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
11127 (cl-struct-slot-value): Conditionally use aref or nth so that the
11128 compiler produces optimal code.
11130 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11132 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
11133 (inline): Don't inline cl--set-elt.
11134 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
11135 Define as inlinable instead.
11136 (cl-struct-set-slot-value): Remove.
11138 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
11139 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
11142 2014-04-21 Daniel Colascione <dancol@dancol.org>
11144 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
11145 last two parameters after all.
11146 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
11147 (cl--compiler-macro-assoc,cl-struct-slot-value)
11148 (cl-struct-set-slot-value): Stop using them.
11150 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11152 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
11153 entry in image-mode-winprops-alist.
11155 2014-04-21 Daniel Colascione <dancol@dancol.org>
11157 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
11158 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
11159 (byte-compile-toplevel-file-form): Use it.
11161 * emacs-lisp/cl-macs.el:
11162 (cl--loop-let): Properly destructure `while' clauses.
11164 2014-04-20 Daniel Colascione <dancol@dancol.org>
11166 * vc/vc.el (vc-root-dir): New public autoloaded function for
11167 generically finding the current VC root.
11168 * vc/vc-hooks.el (vc-not-supported): New error.
11169 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
11171 2014-04-20 Daniel Colascione <dancol@dancol.org>
11173 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
11175 (cl--const-expr-val): cl--const-expr-val should macroexpand its
11176 argument in case we're inside a symbol-macrolet.
11177 (cl--do-arglist, cl--compiler-macro-typep)
11178 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
11179 environment to `cl--const-expr-val'.
11180 (cl-struct-sequence-type,cl-struct-slot-info)
11181 (cl-struct-slot-offset, cl-struct-slot-value)
11182 (cl-struct-set-slot-value): New functions.
11184 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11186 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
11187 assignments such as "case=hello" (bug#17297).
11189 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
11191 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
11193 (tramp-file-name-handler, tramp-completion-file-name-handler):
11194 Revert patch from 2014-04-10, it isn't necessary anymore.
11195 (tramp-autoload-file-name-handler)
11196 (tramp-register-autoload-file-name-handlers): New defuns.
11197 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
11198 (tramp-register-file-name-handlers): Remove also
11199 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
11200 Do not autoload its invocation, but eval it after loading of 'tramp.
11202 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
11204 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
11206 2014-04-17 Daniel Colascione <dancol@dancol.org>
11208 Add support for bracketed paste mode; add infrastructure for
11209 managing terminal mode enabling and disabling automatically.
11212 (xterm-mouse-mode): Simplify.
11213 (xterm-mouse-tracking-enable-sequence)
11214 (xterm-mouse-tracking-disable-sequence): New constants.
11215 (turn-on-xterm-mouse-tracking-on-terminal)
11216 (turn-off-xterm-mouse-tracking-on-terminal):
11217 Use tty-mode-set-strings and tty-mode-reset-strings terminal
11218 parameters instead of random hooks.
11219 (turn-on-xterm-mouse-tracking)
11220 (turn-off-xterm-mouse-tracking): Delete.
11222 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
11223 (xterm-paste-ending-sequence): New constant.
11224 (xterm-paste): New command used for bracketed paste support.
11226 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
11227 (terminal-init-xterm-bracketed-paste-mode): New function.
11228 (terminal-init-xterm): Call it.
11229 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
11230 and tty-mode-reset-strings instead of random hooks.
11231 (xterm-turn-on-modify-other-keys)
11232 (xterm-turn-off-modify-other-keys)
11233 (xterm-remove-modify-other-keys): Delete obsolete functions.
11235 * term/screen.el: Rewrite to just use the xterm code.
11236 Add copyright notice. Mention tmux.
11238 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
11240 * image-mode.el (image-mode-window-put): Also update the property of
11241 the "default window".
11242 * doc-view.el (doc-view-new-window-function): If no window
11243 exists, move to the last known page.
11245 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11247 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
11248 here-documents (bug#17262).
11250 2014-04-16 Eli Zaretskii <eliz@gnu.org>
11252 * term/pc-win.el (x-list-fonts, x-get-selection-value):
11253 Provide doc strings, as required by snarf-documentation.
11255 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11257 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
11258 arg of overlays-at. Use `invisible-p'.
11260 * obsolete/lucid.el (extent-at):
11261 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
11263 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
11265 2014-04-16 João Távora <joaotavora@gmail.com>
11267 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
11268 links. (Bug#17217).
11270 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11272 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
11273 Use mapc to loop over a vector. (Bug#17257).
11275 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
11277 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
11278 patch, there are new problems with file names containing spaces.
11279 Get rid of backticks. (Bug#17238)
11281 2014-04-16 João Távora <joaotavora@gmail.com>
11283 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
11286 2014-04-16 Eli Zaretskii <eliz@gnu.org>
11288 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
11289 (blink-cursor-mode): Mention customization variables and the
11290 effect of 'blink-cursor-blinks'.
11292 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
11294 * simple.el (undo): Prevent insertion of identity mapping into
11295 undo-equiv-table so as undo-only does not inf loop in the presence
11296 of consecutive nils in undo list.
11298 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
11300 * faces.el (make-face): Deprecate optional argument as it is no
11301 longer needed/used since the conditional X resources handling
11302 has been pushed down to make-face-x-resource-internal itself.
11303 (make-empty-face): Don't pass optional argument to make-face.
11305 2014-04-16 Karl Fogel <kfogel@red-bean.com>
11307 * savehist.el (savehist-save): Remove workaround for a read-passwd
11308 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
11309 noticing that the shim was still present.
11311 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11313 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
11315 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
11317 * faces.el (face-set-after-frame-default): Remove unused local variable.
11319 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
11321 * progmodes/grep.el: Use lexical-binding.
11322 (grep-expand-template): Pass explicit lexical env to `eval'.
11323 (zrgrep): Let-bind grep-find-template explicitly.
11325 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
11326 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
11328 2014-04-12 Eli Zaretskii <eliz@gnu.org>
11330 * international/characters.el <standard-case-table>: Add entries
11331 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
11332 Set category of Coptic characters be 'g' (Greek).
11334 2014-04-12 Leo Liu <sdl.web@gmail.com>
11336 * progmodes/octave.el (completion-table-with-cache):
11337 Define if not available.
11338 (octave-goto-function-definition, octave-sync-function-file-names)
11339 (octave-find-definition-default-filename):
11340 Backquote upattern for compatibility.
11342 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
11344 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
11345 name twice due to backticks. (Bug#17238)
11347 2014-04-12 Glenn Morris <rgm@gnu.org>
11349 * term/w32-win.el (x-win-suspend-error):
11350 * term/x-win.el (x-win-suspend-error): Sync docs.
11352 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
11354 * faces.el (make-face): Remove deprecated optional argument.
11355 The conditional application of X resources is handled directly by
11356 make-face-x-resource-internal since Emacs 24.4.
11357 (make-empty-face): Don't pass optional argument to make-face.
11359 2014-04-11 Glenn Morris <rgm@gnu.org>
11361 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
11363 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11365 Ediff's overlay priorities cause more trouble than they solve.
11366 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
11367 (ediff-highest-priority): Remove function (bug#17234).
11368 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
11369 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
11370 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
11371 overlay priorities.
11373 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
11375 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
11376 entry; use symbol boundaries to avoid mis-matches.
11378 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
11380 * net/tramp.el (tramp-file-name-handler)
11381 (tramp-completion-file-name-handler): Avoid recursive loading.
11383 * net/tramp-sh.el (tramp-make-copy-program-file-name):
11384 Quote result also locally.
11386 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
11388 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
11389 Remove left-over code.
11391 * newcomment.el (comment-indent-new-line): Sink code where it's used.
11392 Reuse the previous comment's indentation unconditionally if it's on its
11395 2014-04-09 Daniel Colascione <dancol@dancol.org>
11397 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
11398 `no-syntax-crossing' arguments. Forward to `up-list'.
11399 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
11400 Implement logic for escaping from strings. Use narrowing to deal
11403 2014-04-09 Leo Liu <sdl.web@gmail.com>
11405 * net/rcirc.el (rcirc-connection-info): New variable.
11406 (rcirc-connect): Use it to store connection info.
11407 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
11408 for killed process.
11409 (rcirc-cmd-reconnect): New command. (Bug#17045)
11410 (rcirc-mode, set-rcirc-encode-coding-system)
11411 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
11413 2014-04-09 Daniel Colascione <dancol@dancol.org>
11415 * emacs-lisp/cl-indent.el: Add comment claiming
11416 facility is also good for elisp.
11417 (lisp-indent-find-method): New function.
11418 (common-lisp-indent-function): Recognize cl-loop.
11419 (common-lisp-indent-function-1): Recognize cl constructs; use
11420 `lisp-indent-find-method' instead of `get' directly.
11421 (if): Use else-body style for elisp.
11423 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
11425 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11426 Module methods. (Bug#17216)
11428 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
11430 * help.el (describe-bindings): Fix buffer handling (bug#17210).
11431 (describe-bindings-internal): Mark obsolete.
11433 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
11435 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
11436 buffer-file-name, and buffer-file-truename any more.
11438 2014-04-08 Leo Liu <sdl.web@gmail.com>
11440 Use lexical-binding and require cl-lib.
11441 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
11442 (rcirc-handler-generic, rcirc-fill-paragraph)
11443 (rcirc-format-response-string, rcirc-target-buffer)
11444 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
11445 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
11446 (rcirc-ctcp-sender-PING, rcirc-browse-url)
11447 (rcirc-markup-timestamp, rcirc-markup-attributes)
11448 (rcirc-markup-my-nick, rcirc-markup-urls)
11449 (rcirc-markup-bright-nicks, rcirc-markup-fill)
11450 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
11451 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
11452 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
11453 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
11454 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
11455 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
11456 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
11457 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
11458 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
11459 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
11462 2014-04-07 João Távora <joaotavora@gmail.com>
11464 * elec-pair.el (electric-pair--syntax-ppss):
11465 When inside comments parse from comment beginning.
11466 (electric-pair--balance-info): Fix typo in comment.
11467 (electric-pair--in-unterminated-string-p): Delete.
11468 (electric-pair--unbalanced-strings-p): New function.
11469 (electric-pair-string-bound-function): New var.
11470 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11471 according to `electric-pair--in-unterminated-string-p'
11473 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11474 Inhibit quote pairing if point-max is inside an unterminated string.
11475 (electric-pair--looking-at-unterminated-string-p): Delete.
11476 (electric-pair--in-unterminated-string-p): New function.
11478 2014-04-07 Glenn Morris <rgm@gnu.org>
11480 * shell.el (shell-directory-tracker):
11481 Go back to just ignoring failures. (Bug#17159)
11483 2014-04-07 João Távora <joaotavora@gmail.com>
11485 Fix `electric-pair-delete-adjacent-pairs' in modes binding
11486 backspace. (Bug#16981)
11487 * elec-pair.el (electric-pair-backward-delete-char): Delete.
11488 (electric-pair-backward-delete-char-untabify): Delete.
11489 (electric-pair-mode-map): Bind backspace to a menu item filtering
11490 a new `electric-pair-delete-pair' command.
11491 (electric-pair-delete-pair): New command.
11493 * progmodes/python.el (python-electric-pair-string-delimiter):
11494 Fix triple-quoting electricity. (Bug#17192)
11496 * elec-pair.el (electric-pair-post-self-insert-function):
11497 Don't skip whitespace when `electric-pair-text-pairs' and
11498 `electric-pair-pairs' were used. syntax to
11499 electric-pair--skip-whitespace. (Bug#17183)
11501 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11503 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
11506 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
11508 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
11509 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
11511 2014-04-07 Glenn Morris <rgm@gnu.org>
11513 * help.el (view-lossage): Doc tweak.
11515 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
11517 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
11518 only when inhibit-x-resources is nil, and do that earlier in the
11519 function. Doc fix. (Bug#16694)
11520 (face-spec-choose): Accept additional optional argument, whose
11521 value is returned if no matching attributes are found.
11522 (face-spec-recalc): Use the new optional argument when calling
11523 face-spec-choose. (Bug#16378)
11524 (make-face-x-resource-internal): Do nothing when
11525 inhibit-x-resources is non-nil. Don't touch the default face if
11526 reversed video is given--as was done in previous versions of Emacs.
11527 (face-set-after-frame-default): Don't call
11528 make-face-x-resource-internal here. (Bug#16434)
11530 2014-04-07 Tassilo Horn <tsdh@gnu.org>
11532 * doc-view.el (doc-view-bookmark-jump):
11533 Use `bookmark-after-jump-hook' to jump to the right page after the
11534 buffer is shown in a window. (bug#16090)
11536 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11538 * international/characters.el (mirroring): Fix last change:
11539 instead of loading uni-mirrored.el explicitly, do that implicitly
11540 by creating the 'mirroring' uniprop table. This avoids announcing
11541 the loading of uni-mirrored.el.
11543 2014-04-07 Glenn Morris <rgm@gnu.org>
11545 * files.el (buffer-stale--default-function)
11546 (buffer-stale-function, revert-buffer--default):
11547 * autorevert.el (auto-revert-buffers): Doc tweaks.
11549 2014-04-07 Eli Zaretskii <eliz@gnu.org>
11551 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
11553 2014-04-07 Glenn Morris <rgm@gnu.org>
11555 * files.el (make-backup-file-name-function)
11556 (make-backup-file-name, make-backup-file-name--default-function)
11557 (make-backup-file-name-1, find-backup-file-name)
11558 (revert-buffer-function, revert-buffer-insert-file-contents-function)
11559 (buffer-stale--default-function, buffer-stale-function)
11560 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
11561 (revert-buffer, revert-buffer--default)
11562 (revert-buffer-insert-file-contents--default-function):
11563 Doc fixes related to defaults no longer being nil.
11564 (make-backup-file-name-function): Bump :version.
11565 Restore nil as a valid but deprecated custom type.
11567 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
11569 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11570 Handle $' used as a variable (bug#17174).
11572 * progmodes/perl-mode.el (perl-indent-new-calculate):
11573 Handle forward-sexp failure (bug#16985).
11574 (perl-syntax-propertize-function): Add "foreach" and "for" statement
11575 modifiers introducing expressions (bug#17116).
11577 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
11579 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
11581 2014-04-05 Leo Liu <sdl.web@gmail.com>
11583 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11584 Add define-compilation-mode.
11586 2014-04-04 João Távora <joaotavora@gmail.com>
11588 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
11589 parse from comment beginning.
11590 (electric-pair--balance-info): Fix typo in comment.
11591 (electric-pair--in-unterminated-string-p): Delete.
11592 (electric-pair--unbalanced-strings-p): New function.
11593 (electric-pair-string-bound-function): New var.
11594 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
11595 according to `electric-pair--in-unterminated-string-p'.
11597 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11599 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
11600 Move declaration before first use.
11601 (reftex-move-to-next-arg): Silence compiler warning.
11603 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
11605 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
11606 Use `window-total-width' instead of `window-width'.
11608 2014-04-03 Daniel Colascione <dancol@dancol.org>
11610 * subr.el (set-transient-map): Remove rms's workaround entirely;
11611 use new `suspicious-object' subr to mark our lambda for closer
11612 scrutiny during gc.
11614 2014-04-02 Richard Stallman <rms@gnu.org>
11616 * subr.el (set-transient-map): Comment out previous change.
11618 2014-04-02 Glenn Morris <rgm@gnu.org>
11620 * menu-bar.el (menu-bar-file-menu):
11621 * vc/ediff.el (ediff-current-file):
11622 Update for revert-buffer-function no longer being nil by default.
11624 * simple.el (command-execute): Respect nil disabled-command-function.
11626 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11628 * simple.el (command-execute): Do not execute the command when it
11629 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
11631 2014-04-02 Juri Linkov <juri@jurta.org>
11633 * dired-aux.el (dired-compress-file): Don't use string-match-p
11634 because its match data is used afterwards.
11636 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
11638 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
11641 2014-04-02 João Távora <joaotavora@gmail.com>
11643 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
11644 Inhibit quote pairing if point-max is inside an unterminated string.
11645 (electric-pair--looking-at-unterminated-string-p):
11647 (electric-pair--in-unterminated-string-p): New function.
11649 2014-04-01 Daniel Colascione <dancol@dancol.org>
11651 * minibuffer.el (minibuffer-complete): Prevent assertion failure
11652 when trying to complete the prompt.
11654 2014-03-31 Leo Liu <sdl.web@gmail.com>
11656 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
11657 Refactor out eldoc-documentation-function-default.
11658 (eldoc-documentation-function-default): New function.
11659 (eldoc-documentation-function): Change value.
11661 2014-03-31 Glenn Morris <rgm@gnu.org>
11663 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
11665 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
11666 (vhdl-compose-components-package, vhdl-compose-configuration):
11667 Abbreviate default-directory (missing from some previous upstream sync).
11669 2014-03-31 Reto Zimmermann <reto@gnu.org>
11671 Sync with upstream vhdl mode v3.35.2.
11672 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11673 (top-level): No longer require assoc.
11674 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
11675 New functions. Use throughout to replace aget etc.
11676 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
11677 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
11678 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
11679 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
11680 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
11681 except `vhdl-compiler'.
11682 (vhdl-error-regexp-add-emacs): Remove all other compilers,
11685 2014-03-31 Glenn Morris <rgm@gnu.org>
11687 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
11688 Revert 2014-03-26 merge goof; go back to using defalias.
11690 2014-03-30 Daniel Colascione <dancol@dancol.org>
11692 * comint.el (comint-send-input):
11693 Deactivate completion-in-region-mode before we send comint input.
11696 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
11699 2014-03-29 Glenn Morris <rgm@gnu.org>
11701 * textmodes/reftex.el: Manage most autoloads automatically.
11702 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
11703 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
11704 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
11705 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
11706 * textmodes/reftex-toc.el: Set generated-autoload-file,
11707 and add autoload cookies for reftex.el.
11708 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
11710 2014-03-28 Glenn Morris <rgm@gnu.org>
11712 * cus-start.el (report-emacs-bug-address): Set custom properties.
11713 * mail/emacsbug.el (report-emacs-bug-address):
11714 Variable is now defined in emacs.c.
11716 * mail/emacsbug.el (report-emacs-bug):
11717 Include system-configuration-features.
11719 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
11721 * simple.el (cycle-spacing): Never delete spaces on first run by
11722 default, but do so in a new 'fast mode and if there are already
11723 N spaces (the previous behavior).
11724 Compare N with its value in previous invocation so that changing
11725 prefix argument restarts `cycle-spacing' sequence.
11726 The idea is that with this change, binding M-SPC to
11727 `cycle-spacing' should not introduce any changes in behavior of
11728 the binding so long as users do not type M-SPC twice in a raw with
11729 the same prefix argument or lack thereof.
11731 2014-03-28 Glenn Morris <rgm@gnu.org>
11733 * faces.el (term-file-aliases): New variable.
11734 (tty-run-terminal-initialization): Respect term-file-aliases.
11735 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
11736 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
11737 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
11739 2014-03-27 Glenn Morris <rgm@gnu.org>
11741 * startup.el (inhibit-startup-hooks): Doc tweak.
11742 (normal-top-level): Simplify running of hooks.
11743 For window-setup-hook, respect inhibit-startup-hooks.
11744 (command-line-1): Don't set window-setup-hook to nil.
11746 Allow selective autoloading from obsolete/ directory.
11747 * Makefile.in (obsolete-autoloads): New rule.
11748 (autoloads): Run obsolete-autoloads.
11749 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
11750 * simple.el (iswitchb-mode): Remove hand-written autoloads.
11752 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
11754 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11755 Highlight special globals with font-lock-builtin-face. (Bug#17057)
11757 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11758 Don't propertize `?' or `!' as symbol constituent when after
11761 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
11763 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
11764 which is no longer needed and causes trouble in GTK builds (bug#17046).
11766 * emacs-lisp/package-x.el (package--archive-contents-from-url):
11767 Use url-insert-file-contents; package-handle-response no longer exists.
11769 2014-03-26 Daniel Colascione <dancol@dancol.org>
11771 * simple.el (process-menu-mode-map): New variable.
11772 (process-menu-delete-process): New command.
11774 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11776 * emacs-lisp/package.el: Fix bug#16733 (again).
11777 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
11778 (url-http-target-url): Remove unused declarations.
11779 (package-handle-response): Remove.
11780 (package--with-work-buffer): Use url-insert-file-contents and simplify.
11781 (package--download-one-archive): Use current-buffer instead of
11782 dynamic binding of `buffer'.
11783 (describe-package-1): Do not decode readme-string.
11785 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
11787 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
11789 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
11790 from 2014-03-07, it decreases performance unnecessarily. Let-bind
11791 `remote-file-name-inhibit-cache' to nil in the second pass.
11792 (tramp-find-executable): Do not call "which" on SunOS.
11793 (tramp-send-command-and-check): Fix docstring.
11794 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
11795 check whether source directory has set the sticky bit.
11797 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
11799 * simple.el (primitive-undo): Only process marker adjustments
11800 validated against their corresponding (TEXT . POS). Issue warning
11801 for lone marker adjustments in undo history. (Bug#16818)
11802 (undo-make-selective-list): Add marker adjustments to selective
11803 undo list based on whether their corresponding (TEXT . POS) is in
11804 the region. Remove variable adjusted-markers, which was unused
11805 and only non nil during undo-make-selective-list.
11806 (undo-elt-in-region): Return nil when passed a marker adjustment
11807 and explain in function doc.
11809 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
11811 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
11813 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11815 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
11816 Match special global variables without curlies, too.
11817 (ruby-font-lock-keywords): Simplify the matcher for special global
11818 variables. Don't require a non-word character after the variable.
11821 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11823 * simple.el (redisplay-highlight-region-function): Increase priority of
11824 overlay to make sure boundaries are visible (bug#15899).
11826 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
11828 * frameset.el (frameset--initial-params): Fix typo in parameter name.
11829 (frameset-restore): Compare display strings with equal.
11831 * frame.el (make-frame): Don't quote display name in error message,
11832 it is already a string.
11834 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11836 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
11839 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
11841 * emacs-lisp/package.el (package--add-to-archive-contents):
11842 Include already installed and built-in packages in
11843 `package-archive-contents'.
11844 (package-install): Don't include already installed packages in the
11845 options during interactive invocation. (Bug#16762)
11846 (package-show-package-list): If the buffer is already displayed in
11847 another window, switch to that window.
11849 2014-03-26 Reto Zimmermann <reto@gnu.org>
11851 Sync with upstream vhdl mode v3.35.1.
11852 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
11853 (vhdl-compiler-alist): Doc fix.
11854 (vhdl-goto-line): Remove.
11855 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
11856 (vhdl-mode) <paragraph-start>: Fix value.
11857 (vhdl-fix-statement-region): Not `for' in wait-statement.
11858 (vhdl-beautify-region): Also (un)tabify.
11859 (vhdl-get-visible-signals):
11860 Scan declarative part of generate statements.
11861 (vhdl-template-record): Fix indentation for record type declaration.
11862 (vhdl-expand-abbrev, vhdl-expand-paren):
11863 Revert to using fset again rather than defalias.
11864 (vhdl-scan-directory-contents): Tweak.
11865 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
11866 (vhdl-compose-components-package):
11867 Replace vhdl-goto-line with forward-line.
11868 (top-level): Tweak speedbar frame selection.
11869 (vhdl-generate-makefile-1): Support for compilers with no
11870 unit-to-file name mapping (create directory with dummy files).
11872 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
11874 Sync with upstream verilog-mode revision 702457d.
11875 * progmodes/verilog-mode.el (verilog-mode-version): Update.
11876 (create-lockfiles): Declare.
11877 (verilog-read-decls): Fix module header imports, bug709.
11878 Reported by Victor Lau.
11879 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
11880 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
11881 interface-only modules, bug721. Reported by Dean Hoyt.
11883 2014-03-26 Glenn Morris <rgm@gnu.org>
11885 * obsolete/gulp.el: Move here from emacs-lisp/.
11887 * files.el (lock-buffer, unlock-buffer, file-locked-p):
11888 Remove fallback aliases, since they are always defined now.
11890 2014-03-24 Daniel Colascione <dancol@dancol.org>
11892 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
11893 instead of cl-loop search function.
11895 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11897 * calendar/parse-time.el (parse-time-iso8601-regexp)
11898 (parse-iso8601-time-string): Copy from `url-dav' so that we can use
11901 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
11903 * net/dns.el (network-interface-list): Define for XEmacs.
11905 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
11907 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
11908 the network interfaces changed.
11909 (dns-query): Use it to flush the data.
11911 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
11913 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
11915 2014-03-23 Daniel Colascione <dancol@dancol.org>
11917 Change subword-mode to use `find-word-boundary-function-table' and
11918 replace `capitalized-words-mode'. Also, convert to lexical binding.
11919 * progmodes/cap-words.el: Delete now-obsolete file.
11920 * progmodes/subword.el: Reimplement using
11921 `find-word-boundary-function-table'.
11922 (subword-mode-map): Hollow out.
11923 (capitalized-words-mode): Define as obsolete alias for
11925 (subword-mode, superword-mode): Tweak documentation to reflect new
11926 implementation; call `subword-setup-buffer'.
11927 (subword-forward, subword-capitalize): Add underscore to indicate
11929 (subword-find-word-boundary-function-table): New constant.
11930 (subword-empty-char-table): New constant.
11931 (subword-setup-buffer): New function.
11932 (subword-find-word-boundary): New function.
11934 2014-03-23 Daniel Colascione <dancol@dancol.org>
11936 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
11937 list to look for keyword arguments instead of `memq', fixing
11938 (Bug#3647) --- unfortunately, only for freshly-compiled code.
11939 Please make bootstrap.
11941 2014-03-22 Glenn Morris <rgm@gnu.org>
11943 * dired.el (dired-read-regexp): Make obsolete.
11944 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
11945 (dired-flag-files-regexp):
11946 * dired-aux.el (dired-mark-read-regexp):
11947 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
11949 * startup.el (fancy-startup-text):
11950 * help.el (describe-gnu-project): Visit online info about GNU project.
11952 * help-fns.el (help-fns--interactive-only): New function.
11953 (help-fns-describe-function-functions): Add the above function.
11954 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
11955 (next-line, previous-line): Remove hand-written interactive-only
11956 information from doc strings, it is auto-generated now.
11957 * bookmark.el (bookmark-write):
11958 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
11959 (epa-mail-import-keys): Mark interactive-only,
11960 and remove hand-written interactive-only information from doc strings.
11961 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
11962 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
11963 * files.el (not-modified):
11964 * simple.el (mark-whole-buffer): Mark interactive-only.
11966 * emacs-lisp/byte-run.el (defun-declarations-alist):
11967 Add interactive-only. Doc tweak.
11968 (macro-declarations-alist): Doc tweak.
11969 * subr.el (declare): Doc tweak (add xref to manual).
11970 * comint.el (comint-run):
11971 * files.el (insert-file-literally, insert-file):
11972 * replace.el (replace-string, replace-regexp):
11973 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
11974 (delete-forward-char, goto-line, insert-buffer, next-line)
11975 (previous-line): Set interactive-only via declare.
11977 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
11979 * emacs-lisp/package.el (package-desc): Use the contents of the
11980 quoted form, not its cdr. (Bug#16873)
11982 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
11984 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
11985 benefit of doc.c; change parameter profile to match the X function.
11987 2014-03-22 Leo Liu <sdl.web@gmail.com>
11989 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
11990 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
11992 2014-03-21 Richard Stallman <rms@gnu.org>
11994 * battery.el (battery-linux-sysfs): Search for each field
11995 from the beginning of the buffer.
11997 * subr.el (set-transient-map): Clear out function and value
11998 of the temporary symbol when we're done with it.
12000 * mail/rmailsum.el (rmail-summary-delete-forward):
12001 Optimize case of reaching end and handling count.
12002 (rmail-summary-mark-deleted): Optimize when N is current msg.
12003 Don't create new summary line.
12004 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
12005 (rmail-summary-undelete-many): Rewrite for speed.
12006 (rmail-summary-msg-number): New function.
12008 * mail/rmail.el (rmail-delete-message): Update summary.
12009 (rmail-undelete-previous-message): Handle repeat count arg.
12010 (rmail-delete-backward, rmail-delete-forward): Likewise.
12012 2014-03-21 Daniel Colascione <dancol@dancol.org>
12014 * mail/emacsbug.el (report-emacs-bug): Include memory usage
12015 information in bug reports.
12017 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
12019 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
12020 and `tramp-copy-env'.
12022 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
12023 (tramp-maybe-open-connection): Handle `tramp-login-env'.
12025 2014-03-21 Glenn Morris <rgm@gnu.org>
12027 * electric.el (electric-indent-post-self-insert-function): Add doc.
12029 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
12031 * emacs-lisp/package.el (package-compute-transaction):
12032 Use `version-list-<=' to compare the requirement version against
12033 the version of package already to be installed. Update the error
12034 message. (Bug#16826)
12036 * progmodes/ruby-mode.el (ruby-smie-rules):
12037 Add indentation rule for ` @ '. (Bug#17050)
12039 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
12041 * align.el (align-regexp): Remove superfluous backslash.
12043 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
12044 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
12045 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
12046 Fix docstring typos.
12047 (ffap-next): Use C-u in docstring.
12048 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
12049 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
12050 Remove superfluous backslashes.
12051 (ffap-string-at-point): Reflow docstring.
12053 * server.el (server-host): Reflow docstring.
12054 (server-unload-function): Fix docstring typo.
12055 (server-eval-at): Remove superfluous backslash.
12057 * skeleton.el (skeleton-insert): Remove superfluous backslash.
12058 (skeleton-insert): Doc fix.
12059 (skeleton-insert): Reflow docstring.
12061 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
12062 (tty-color-approximate, tty-color-by-index, tty-color-values)
12063 (tty-color-desc): Remove superfluous backslashes.
12065 2014-03-21 Glenn Morris <rgm@gnu.org>
12067 * cus-start.el (history-length): Bump :version.
12069 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
12070 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
12071 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
12072 Don't set `make-backup-files'.
12074 * info.el (info--prettify-description): New function,
12075 to give info-finder descriptions consistent case, punctuation.
12076 (Info-finder-find-node): Use it. Sort packages.
12077 Refer to "description" rather than "commentary".
12079 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
12081 * frameset.el (frameset--print-register): New function.
12082 (frameset-to-register): Use it.
12084 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
12086 * progmodes/hideif.el (hif-string-to-number): New function.
12087 (hif-tokenize): Use it to understand non-decimal floats.
12089 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
12091 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
12093 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12095 * electric.el (electric-newline-and-maybe-indent): New command.
12096 Bind it globally to C-j.
12097 (electric-indent-mode): Don't mess with the global map any more.
12098 Don't drop the post-self-insert-hook is some buffer is still using it
12101 * bindings.el (global-map): Remove C-j binding.
12103 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
12104 the docstring of functions advised before dumping (bug#16993).
12106 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
12108 * ps-print.el (ps-generate-postscript-with-faces):
12109 Explicitly deactivate the mark (bug#16866).
12110 * simple.el (deactivate-mark): Update region highlight.
12112 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
12114 * emacs-lisp/package.el (describe-package-1):
12115 Decode commentary (bug#16733).
12117 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
12119 * custom.el (defcustom): Doc fix: recommend avoiding destructive
12120 modification of the value argument of :set (bug#16755).
12122 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12124 * simple.el (newline-and-indent): Do autofill (bug#17031).
12126 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
12128 * newcomment.el (comment-normalize-vars): Only add escaping check
12129 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
12130 (comment-beginning): Use `narrow-to-region' instead of moving back
12132 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
12133 (comment-start-skip): Update the docstring.
12135 2014-03-18 Richard Stallman <rms@gnu.org>
12137 * dired.el (dired-display-file): Force use of other window.
12139 2014-03-18 Daniel Colascione <dancol@dancol.org>
12141 * startup.el (tty-handle-args): Remove debug message from 2007.
12143 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
12145 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
12146 (advice--make-interactive-form): Use it to avoid (auto)loading function.
12147 (advice--make-1, advice-add, advice-remove):
12148 Remove braindead :advice-pending hack.
12150 2014-03-17 Glenn Morris <rgm@gnu.org>
12152 * calendar/calendar.el (calendar-generate-month): Apply weekend
12153 face to the right days; fixes 2013-08-06 change. (Bug#17028)
12155 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
12157 * net/tramp.el (tramp-action-out-of-band): Read pending output.
12158 (tramp-call-process): Trace also DESTINATION.
12160 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12161 Quote file names when they are local. Remove superfluous trace.
12163 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
12165 * newcomment.el (comment-beginning): If `comment-start-skip'
12166 doesn't match, move back one char and try again. (Bug#16971)
12168 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12169 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
12170 Set `comment-start-skip' to a simpler value that doesn't try to
12171 check if the semicolon is escaped (this is handled by
12172 `syntax-ppss' now). (Bug#16971)
12174 * progmodes/scheme.el (scheme-mode-variables): Same.
12176 2014-03-16 Martin Rudalics <rudalics@gmx.at>
12178 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
12179 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
12180 current (Bug#16816, Bug#17007).
12181 (with-current-buffer-window): New macro doing the same as
12182 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
12183 * help.el (help-print-return-message): Warn in doc-string to not
12184 use this in `with-help-window'.
12185 (describe-bindings-internal): Call `describe-buffer-bindings'
12186 from within help buffer. See Juanma's scenario in (Bug#16816).
12187 (with-help-window): Update doc-string.
12188 * dired.el (dired-mark-pop-up):
12189 * files.el (save-buffers-kill-emacs):
12190 * register.el (register-preview): Use `with-current-buffer-window'
12191 instead of `with-temp-buffer-window'.
12193 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
12195 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
12196 Implement inserting into current buffer, documented in their docstrings.
12197 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
12198 (rst-section-tree-point, rst-forward-section, rst-indent)
12199 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
12200 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
12201 (rst-font-lock-handle-adornment-pre-match-form)
12202 (rst-repeat-last-character): Reflow docstrings.
12203 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
12204 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
12205 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
12206 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
12207 Fix docstring typos.
12208 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
12209 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
12210 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
12212 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
12214 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
12215 for compatibility with other ports.
12216 (ns-initialize-window-system): Use it. It is set in term/common-win.el
12217 from the -xrm command line argument, but in the Nextstep port its value
12218 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
12220 * progmodes/python.el (defconst, python-syntax-count-quotes)
12221 (python-indent-region, python-indent-shift-right)
12222 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
12223 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
12224 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
12225 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
12226 (inferior-python-mode, python-shell-make-comint, run-python-internal)
12227 (python-shell-buffer-substring, python-shell-send-buffer)
12228 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
12229 (python-completion-complete-at-point, python-fill-docstring-style)
12230 (python-eldoc-function, python-imenu-format-item-label)
12231 (python-imenu-format-parent-item-label)
12232 (python-imenu-format-parent-item-jump-label)
12233 (python-imenu--build-tree, python-imenu-create-index)
12234 (python-imenu-create-flat-index): Fix docstring typos.
12235 (python-indent-context, python-shell-prompt-regexp, run-python):
12236 Remove superfluous backslashes.
12237 (python-indent-line, python-nav-beginning-of-defun)
12238 (python-shell-get-buffer, python-shell-get-process)
12239 (python-info-current-defun, python-info-current-line-comment-p)
12240 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
12241 (python-indent-post-self-insert-function, python-shell-send-file)
12242 (python-shell-completion-get-completions)
12243 (python-shell-completion-complete-or-indent)
12244 (python-eldoc--get-doc-at-point): Reflow docstrings.
12246 2014-03-14 Glenn Morris <rgm@gnu.org>
12248 * emacs-lisp/package.el (package-menu-mode-map):
12249 Replace use of obsolete function alias. Tweak menu item text.
12251 * info.el (Info-finder-find-node):
12252 Ignore the `emacs' metapackage. (Bug#10813)
12254 * finder.el (finder-list-matches): Include unversioned packages
12255 in the result of a keyword search.
12257 * finder.el (finder--builtins-descriptions): New constant.
12258 (finder-compile-keywords): Use finder--builtins-descriptions.
12260 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
12262 * simple.el (blink-matching-paren): Describe the new value,
12263 `jump', enabling the old behavior.
12264 (blink-matching-open): Use that value. (Bug#17008)
12266 2014-03-14 Glenn Morris <rgm@gnu.org>
12268 * finder.el (finder-no-scan-regexp): Add leim-list.
12269 (finder-compile-keywords):
12270 Don't skip files with same basename. (Bug#14010)
12271 * Makefile.in (setwins_finder): New, excluding leim.
12272 (finder-data): Use setwins_finder.
12274 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
12275 (help-function-arglist, help-make-usage): Move from here...
12276 * help.el (help-split-fundoc, help-add-fundoc-usage)
12277 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
12278 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
12280 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
12282 * net/socks.el (socks, socks-override-functions)
12283 (socks-find-services-entry):
12284 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
12285 (hif-find-ifdef-block):
12286 * progmodes/modula2.el (m2-indent): Fix docstring typos.
12288 * net/tls.el (tls-program): Reflow docstring.
12290 * progmodes/pascal.el (pascal-mode-abbrev-table)
12291 (pascal-imenu-generic-expression, pascal-auto-endcomments)
12292 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
12293 (pascal-outline-mode): Fix docstring typos.
12294 (pascal-mode): Let define-derived-mode document mode hook.
12295 (pascal-uncomment-area): Reflow.
12296 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
12298 * progmodes/opascal.el (opascal-compound-block-indent)
12299 (opascal-case-label-indent): Fix docstring typos.
12300 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
12302 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
12304 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12305 Fontify multiple adjacent negation chars. (Bug#17004)
12307 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
12309 * emacs-lisp/package.el (package--prepare-dependencies):
12310 Accept requirements without explicit version (bug#14941).
12312 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
12314 * register.el (register-separator, copy-to-register): Doc fixes.
12315 (register-preview-default): Remove unnecessary call to concat.
12317 * frameset.el (frameset-restore): When checking for a visible frame,
12318 use the action map instead of calling visible-frame-list.
12320 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
12322 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
12324 2014-03-12 Martin Rudalics <rudalics@gmx.at>
12326 * window.el (fit-frame-to-buffer): Get maximum width from
12327 display's width instead of height.
12329 2014-03-12 Glenn Morris <rgm@gnu.org>
12331 * desktop.el (desktop-restore-frames)
12332 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
12333 (desktop-restore-reuses-frames): Doc tweaks.
12335 * electric.el (electric-indent-mode): Doc fix.
12337 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
12339 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
12340 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
12341 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
12342 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
12343 (cvs-dired-use-hook): Fix docstring typos.
12344 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
12347 * vc/pcvs-defs.el (cvs-auto-remove-handled)
12348 (cvs-auto-remove-directories, cvs-default-ignore-marks)
12349 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
12350 (cvs-execute-single-dir): Fix docstring typos.
12352 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
12353 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
12355 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
12357 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
12358 Fix docstring typos.
12360 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
12362 * frameset.el (frameset--jump-to-register): Add autoload; it could be
12363 called from jump-to-register after unloading the frameset package.
12365 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
12367 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
12368 (bug#16975). Deactivate the mark before setting it to nil.
12369 (activate-mark): Do nothing if region is already active.
12371 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
12373 * frameset.el (frameset--target-display): Remove definition; declare.
12374 (frameset-save, frameset-restore): Let-bind frameset--target-display.
12376 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
12378 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
12379 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
12380 when the advice is pending.
12381 (advice-remove): Remove this marker when not needed any more.
12383 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
12385 * frameset.el: Separate options for reusing frames and cleaning up.
12386 (frameset--reuse-list): Remove definition; declare.
12387 (frameset--action-map): Declare.
12388 (frameset--find-frame-if): Doc fix.
12389 (frameset--restore-frame): Cache frame action.
12390 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
12391 how to clean up the frame list after restoring. Remove cleaning
12392 options from REUSE-FRAMES. Change all keyword values to symbols.
12393 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
12395 * desktop.el (desktop-restore-forces-onscreen)
12396 (desktop-restore-reuses-frames): Use non-keyword values.
12397 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
12399 2014-03-10 Glenn Morris <rgm@gnu.org>
12401 * files.el (find-file): Doc fix: update info node name.
12403 * emacs-lisp/advice.el (ad-add-advice, defadvice):
12404 Doc fix: remove references to deleted info nodes.
12406 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
12408 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
12409 Do not add nil to the environment, when there's no remote `locale'.
12410 (tramp-find-inline-encoding): Check, that the remote host has
12411 installed perl, before sending scripts.
12413 2014-03-10 Leo Liu <sdl.web@gmail.com>
12415 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
12416 Clear eldoc-last-message. (Bug#16920)
12418 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
12420 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
12423 2014-03-09 Juri Linkov <juri@jurta.org>
12425 * ansi-color.el (ansi-color-names-vector): Copy default colors
12426 from `xterm-standard-colors' that look well on the default white
12427 background (and also on the black background) to avoid illegible
12428 color combinations like yellow-on-white and white-on-white.
12429 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
12431 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
12433 * frameset.el (frameset-restore): When no frame is visible, do not
12434 generate a list of frames, just make visible the selected one.
12436 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
12438 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
12439 it only contains the repository root. (Bug#16897)
12441 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
12443 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
12444 only when `remote-file-name-inhibit-cache' is nil.
12445 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
12447 2014-03-06 Martin Rudalics <rudalics@gmx.at>
12449 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
12451 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
12452 fit-frame-to-buffer variable. Fix doc-string.
12453 (fit-window-to-buffer): Set ONLY argument in call of
12454 fit-frame-to-buffer. Fix doc-string.
12456 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
12458 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
12459 (tramp-action-password): Clear password cache if needed.
12460 (tramp-read-passwd): Do not clear password cache.
12462 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
12463 cache unless it is the first password request.
12465 2014-03-06 Glenn Morris <rgm@gnu.org>
12467 * simple.el (newline): Doc tweak.
12469 * emacs-lisp/shadow.el (load-path-shadows-find):
12470 Ignore dir-locals. (Bug#12357)
12472 2014-03-05 Glenn Morris <rgm@gnu.org>
12474 * files.el (interpreter-mode-alist):
12475 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
12477 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
12479 * frameset.el (frameset--initial-params): Filter out null entries.
12481 2014-03-05 Martin Rudalics <rudalics@gmx.at>
12483 * window.el (window-min-height, window-min-width):
12484 Rewrite doc-strings.
12485 (window-body-size): Add PIXELWISE argument to make it consistent
12488 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
12490 * finder.el (finder-mode-map, finder-mode-syntax-table):
12491 Revert part of 2014-02-28 change.
12493 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
12495 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
12496 (eww-setup-buffer): Clear next/prev/etc more reliably.
12497 (eww-textarea-map): [tab] doesn't work on tty.
12498 Reported by Mario Lang.
12500 * net/shr.el (shr-map): Ditto.
12502 2014-03-04 Glenn Morris <rgm@gnu.org>
12504 * minibuffer.el (completion-hilit-commonality):
12505 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
12507 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
12509 * hilit-chg.el (hilit-chg-unload-function): New function.
12510 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
12511 (hilit-chg-map-changes): Prefer cardinal number to digit.
12512 (hilit-chg-display-changes): Reflow docstring.
12513 (highlight-changes-rotate-faces): Remove superfluous backslash.
12515 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
12517 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
12518 `tramp-send-command-and-check'.
12520 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
12522 * hexl.el (hexl-address-region, hexl-ascii-region)
12523 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
12524 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
12525 (hexl-forward-word, hexl-previous-line, hexl-next-line):
12526 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
12527 (hexl-mode): Doc fix.
12528 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
12529 (hexl-mode-ruler): Fix typos in docstrings.
12531 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
12532 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
12533 Remove superfluous backslashes.
12534 (strokes-last-stroke, strokes-global-map, strokes-mode):
12536 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
12537 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
12538 (strokes-distance-squared, strokes-global-set-stroke)
12539 (strokes-global-set-stroke-string): Doc fixes.
12540 (strokes-help): Fix typos; reflow docstring.
12542 2014-03-04 Martin Rudalics <rudalics@gmx.at>
12544 * window.el (window-in-direction): Fix doc-string.
12546 2014-03-04 Glenn Morris <rgm@gnu.org>
12548 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
12549 Explicit error if no grammar.
12550 (smie-config-save): Doc fix. Fix quote typo.
12552 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
12554 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
12555 electric-indent-mode-hook if we obey electric-indent-mode.
12556 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
12557 decide whether we obey electric-indent-mode.
12558 (c-change-set-fl-decl-start, c-extend-after-change-region):
12560 (c-electric-indent-mode-hook): Assume we do want to obey
12561 electric-indent-mode.
12563 * electric.el (electric-indent-mode-has-been-called): Remove.
12564 (electric-indent-mode): Fix accordingly.
12566 * files.el (hack-local-variables): Mention file name in warning.
12568 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
12570 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
12572 * bindings.el: Add comment describing why C-d binds to `delete-char'.
12573 * simple.el (delete-forward-char): Mark as interactive-only.
12575 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
12577 * icomplete.el (icomplete-completions):
12578 Follow-up to 2014-03-01 change.
12580 * icomplete.el: Miscellaneous doc fixes.
12581 Use Icomplete everywhere instead of icomplete for consistency.
12582 (icomplete-max-delay-chars): Fix typo.
12583 (icomplete-mode): Use \[].
12584 (icomplete-tidy, icomplete-exhibit): Reflow.
12585 (icomplete-minibuffer-setup-hook, icomplete-completions):
12586 Remove superfluous backlashes.
12588 * ido.el: Miscellaneous doc fixes.
12589 Use Ido everywhere instead of ido or `ido' for consistency.
12590 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
12591 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
12592 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
12593 (ido-separator): Extract obsolescence info from docstring and declare
12594 with make-obsolete-variable.
12595 (ido-minibuffer-setup-hook): Simplify example.
12596 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
12597 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
12598 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
12599 (ido-everywhere): Reflow docstring.
12600 (ido-toggle-vc): Doc fix.
12601 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
12602 of long list of keybindings.
12604 2014-03-03 Glenn Morris <rgm@gnu.org>
12606 * frame.el (display-pixel-height, display-pixel-width)
12607 (display-mm-dimensions-alist, display-mm-height)
12608 (display-mm-width): Doc tweaks.
12610 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
12612 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
12613 case of undo in region.
12615 2014-03-02 Martin Rudalics <rudalics@gmx.at>
12617 * window.el (fit-window-to-buffer): Fix argument in window-size
12618 call when window is horizontally combined.
12620 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
12622 * icomplete.el (icomplete-completions): Use string-width.
12623 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
12625 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
12627 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12628 Highlight regexp options. (Bug#16914)
12630 2014-03-01 Martin Rudalics <rudalics@gmx.at>
12632 * window.el (window--max-delta-1): Round down when calculating
12633 how many lines/columns we can get from a window.
12635 2014-03-01 Glenn Morris <rgm@gnu.org>
12637 * isearch.el (search-invisible): Doc fix.
12639 * minibuffer.el (completion-hilit-commonality):
12640 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
12641 * comint.el (comint-dynamic-list-completions): Doc fix.
12642 * comint.el (comint-dynamic-list-completions):
12643 * filecache.el (file-cache-minibuffer-complete):
12644 * tempo.el (tempo-display-completions):
12645 * eshell/em-hist.el (eshell-list-history):
12646 Replace use of obsolete argument of display-completion-list.
12648 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
12650 * icomplete.el (icomplete-completions):
12651 Revert back to using "..." when ?… cannot be displayed.
12653 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
12655 * finder.el (finder-unload-function): New function.
12657 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
12659 * dframe.el (dframe-detach):
12660 * find-dired.el (find-dired, find-name-dired):
12661 * finder.el (finder-mode-map, finder-mode-syntax-table)
12662 (finder-headmark, finder-select, finder-mouse-select):
12663 Fix docstring typos.
12665 2014-02-28 Martin Rudalics <rudalics@gmx.at>
12667 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
12668 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
12669 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
12670 Fix doc-string based on a suggestion by Nicolas Richard
12671 <theonewiththeevillook@yahoo.fr>.
12672 * help.el (with-help-window): Fix doc-string.
12674 2014-02-28 Ivan Kanis <ivan@kanis.fr>
12676 * net/shr.el (shr-image-animate): New option.
12677 (shr-put-image): Respect shr-image-animate.
12679 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
12681 * net/tramp-adb.el (tramp-adb-parse-device-names):
12682 Use `accept-process-output'.
12683 (tramp-adb-handle-file-truename): Cache the localname only.
12684 (tramp-adb-handle-make-directory)
12685 (tramp-adb-handle-delete-directory): Flush file properties correctly.
12686 (tramp-adb-handle-set-file-modes): Do not raise an error when file
12687 modes cannot be changed.
12689 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
12690 file properties of symlinks.
12692 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
12694 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
12695 required/optional fields to match development biblatex. (Bug#16781)
12697 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
12699 * saveplace.el (toggle-save-place):
12700 Fix argument handling. (Bug#16673)
12702 2014-02-28 Glenn Morris <rgm@gnu.org>
12704 * minibuffer.el (completions-first-difference)
12705 (completions-common-part, completion-hilit-commonality): Doc fixes.
12707 2014-02-28 Karl Berry <karl@gnu.org>
12709 * info.el (Info-mode-map): Add H for describe-mode,
12710 to synchronize with standalone Info.
12712 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
12714 * progmodes/sql.el (sql-interactive-mode):
12715 Avoid setting global comint-input-ring-separator. (Bug#16814)
12717 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
12719 * net/dbus.el (dbus--init-bus): Declare function.
12720 (dbus-path-local, dbus-interface-local): New defconst.
12721 (dbus-init-bus): Use them.
12722 (dbus-return-values-table): Extend doc.
12723 (dbus-handle-bus-disconnect): Extend error message.
12725 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
12727 * subr.el (y-or-n-p): Fix double space issue in message.
12729 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
12731 * net/tramp.el (tramp-call-process): Improve trace message.
12732 (tramp-handle-insert-file-contents): Trace error case.
12734 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
12735 <insert-directory>: Use `tramp-handle-insert-directory'.
12736 (tramp-adb-handle-insert-directory): Remove function.
12737 (tramp-adb-send-command-and-check): New defun, replacing
12738 `tramp-adb-command-exit-status'. Change all callees.
12739 (tramp-adb-handle-file-attributes)
12740 (tramp-adb-handle-directory-files-and-attributes): Use it.
12741 (tramp-adb-ls-output-name-less-p):
12742 Use `directory-listing-before-filename-regexp'.
12743 (tramp-adb-handle-delete-directory): Flush also file properties of
12744 the truename of directory.
12745 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
12746 (tramp-adb-handle-file-local-copy): Make the local copy readable.
12747 (tramp-adb-handle-write-region): Implement APPEND.
12748 (tramp-adb-handle-rename-file): Make it more robust. Flush file
12749 properties correctly.
12750 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
12751 variables. Check for connected devices only when needed.
12753 2014-02-27 Glenn Morris <rgm@gnu.org>
12755 * minibuffer.el (completion-table-dynamic)
12756 (completion-table-with-cache): Doc fixes.
12758 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
12759 (completing-read-multiple): Doc fixes.
12761 2014-02-27 Daniel Colascione <dancol@dancol.org>
12763 * minibuffer.el (completion--nth-completion): Fix indentation.
12765 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
12766 explicit tramp path is empty.
12768 2014-02-27 Glenn Morris <rgm@gnu.org>
12770 * emacs-lisp/crm.el (completing-read-multiple):
12771 Empower help-enable-auto-load.
12773 2014-02-26 Glenn Morris <rgm@gnu.org>
12775 * startup.el (command-line): Don't init the tty in daemon mode.
12777 Avoid calling tty-setup-hook twice, eg if a term file
12778 explicitly calls tty-run-terminal-initialization. (Bug#16859)
12779 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
12780 (tty-create-frame-with-faces): Use it.
12781 * startup.el (command-line): Pass run-hook argument
12782 to tty-run-terminal-initialization.
12784 * dired.el (dired-restore-desktop-buffer): Demote errors;
12785 eg in case a glob match fails. (Bug#16884)
12787 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
12789 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
12790 error from `read-from-string'. (Bug#16850)
12792 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
12793 result of `completing-read' in the interactive form. (Bug#16854)
12795 2014-02-25 Glenn Morris <rgm@gnu.org>
12797 * image.el (image-animate, image-animate-timeout):
12798 Stop animating images in dead buffers. (Bug#16878)
12800 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
12802 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
12804 * startup.el (term-setup-hook): Doc fix. Make obsolete.
12805 * term/sun.el (sun-raw-prefix-hooks):
12806 Use tty-setup-hook instead of term-setup-hook.
12807 (terminal-init-sun): Construct message from bytecomp plist.
12808 * term/wyse50.el (enable-arrow-keys): Doc fix.
12810 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12812 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
12813 Fix docstring typos.
12815 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
12817 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
12819 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
12821 * minibuffer.el (completion--try-word-completion):
12822 Fix error when completing M-x commands (bug#16808).
12824 2014-02-24 Leo Liu <sdl.web@gmail.com>
12826 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
12828 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12830 * apropos.el (apropos-print): Avoid formatting error when
12831 apropos-do-all and apropos-compact-layout are both t.
12833 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12835 * apropos.el (apropos-property, apropos-all-words-regexp)
12836 (apropos-true-hit, apropos-variable, apropos-print):
12837 Fix docstring typos, and remove obsolete comment.
12839 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
12841 * net/tramp-sh.el (tramp-sh-handle-file-truename):
12842 Preserve trailing "/". (Bug#16851)
12844 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
12846 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
12847 after `=>' (bug#16811).
12848 (ruby-smie-rules): Handle the inconsistent second element of the
12849 list returned by `smie-indent--parent'.
12850 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
12853 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12855 * elec-pair.el (electric-pair-text-syntax-table)
12856 (electric-pair-syntax-info, electric-pair--syntax-ppss)
12857 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
12858 (electric-pair--looking-at-unterminated-string-p): Doc fix.
12859 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
12861 2014-02-22 Glenn Morris <rgm@gnu.org>
12863 * imenu.el (imenu--generic-function): Doc fix.
12865 * register.el (frame-configuration-to-register): Make obsolete.
12867 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
12869 * desktop.el (desktop-save-buffer-p): Do not fail when
12870 desktop-files-not-to-save is nil. Return t for true result
12873 2014-02-22 Daniel Colascione <dancol@dancol.org>
12875 * net/secrets.el (secrets-create-item, secrets-search-items):
12876 Check that attribute values are strings, avoiding the construction
12877 of invalid dbus messages.
12879 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12881 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
12882 defun-declarations-alist.
12884 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
12886 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
12889 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12891 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
12892 (whitespace-newline, whitespace-trailing, whitespace-line)
12893 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
12894 (whitespace-space-after-tab): Fix typo in docstrings.
12896 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
12898 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
12900 * electric.el (electric-indent-functions-without-reindent):
12901 Add `yaml-indent-line'.
12903 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12905 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
12906 It has done nothing for years; should be removed after the release.
12908 * simple.el (choose-completion): Fix docstring typo.
12909 (read-quoted-char-radix): Remove unneeded * in docstring.
12910 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
12911 Don't escape parentheses unnecessarily in docstrings.
12913 2014-02-21 Martin Rudalics <rudalics@gmx.at>
12915 Fix handling of window-min-height/-width (Bug#16738).
12916 * window.el (window--dump-window, window--dump-frame):
12918 (window--min-size-1): Account for window dividers.
12919 When window-resize-pixelwise is nil, delay rounding till after the
12920 sum of the window components has been calculated.
12921 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
12922 nil make sure at least one text line and two text columns remain
12924 (window-resize): Signal an error when window-resize-apply fails.
12925 (window--resize-child-windows): Fix calculation of by how many
12926 pixels a window can still be shrunk via window-new-normal.
12927 (adjust-window-trailing-edge): Call window--resizable with
12928 correct TRAIL argument.
12930 (with-temp-buffer-window): Don't evaluate BODY within
12931 with-current-buffer (Bug#16816).
12933 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
12935 * net/tramp.el (tramp-check-cached-permissions):
12936 Call `file-attributes' with `suffix' being a symbol but a string.
12938 2014-02-21 Daniel Colascione <dancol@dancol.org>
12940 * net/dbus.el (dbus-init-bus-1): Declare new subr.
12941 (dbus-init-bus): New function: call into dbus-init-bus-1
12942 and installs a handler for the disconnect signal.
12943 (dbus-call-method): Rewrite to look for result in cons.
12944 (dbus-call-method-handler): Store result in cons.
12945 (dbus-check-event): Recognize events with nil sender as valid.
12946 (dbus-handle-bus-disconnect): New function. React to bus
12947 disconnection signal by synthesizing dbus error for each
12948 pending synchronous or asynchronous call.
12949 (dbus-notice-synchronous-call-errors): New function.
12950 (dbus-handle-event): Raise errors directly only when `dbus-debug'
12951 is true, not all the time.
12953 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
12955 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
12956 Remove obsolescence declarations, these variables do not exist anymore.
12958 * savehist.el (savehist-save-minibuffer-history)
12959 (savehist-additional-variables, savehist-file, savehist-mode-hook)
12960 (savehist-save-hook, savehist-coding-system, savehist-loaded)
12961 (savehist-load, savehist-install, savehist-autosave): Fix typos;
12962 mostly, refer to "Savehist mode" when talking about the mode,
12963 and not the function.
12965 * saveplace.el (save-place): Remove redundant info in docstring.
12966 (save-place-forget-unreadable-files, toggle-save-place)
12967 (save-place-forget-unreadable-files, save-place-dired-hook):
12968 Fix typos and remove unneeded backslashes.
12970 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
12972 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
12973 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
12975 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12976 <insert-directory>: Use `tramp-handle-insert-directory'.
12977 (tramp-gvfs-handle-insert-directory): Remove function.
12979 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12980 Call `tramp-handle-insert-directory'.
12982 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
12984 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
12985 before the start of buffer/region (bug#16799).
12987 2014-02-20 Glenn Morris <rgm@gnu.org>
12989 * isearch.el (search-invisible): Doc fix.
12991 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
12993 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
12996 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12998 * frameset.el (frameset-restore): Delay removing an old frame's
12999 duplicate id until the new frame has been correctly created.
13001 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
13003 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
13004 (tramp-check-cached-permissions): Call `file-attributes' if the
13007 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
13008 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
13010 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
13011 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
13012 (tramp-gvfs-maybe-open-connection): Set always connection
13013 properties, even if target is mounted already.
13015 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
13016 Set tramp-autoload cookie.
13017 (tramp-get-remote-touch): New defun.
13018 (tramp-sh-handle-set-file-times): Use it.
13019 (tramp-sh-handle-directory-files-and-attributes):
13020 Use `tramp-handle-directory-files-and-attributes' if neither stat
13021 nor perl are available on the remote host.
13023 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
13024 "/". Write long listing only when "l" belongs to the switches.
13026 * net/trampver.el: Update release number.
13028 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
13030 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
13032 2014-02-19 Martin Rudalics <rudalics@gmx.at>
13034 * window.el (window-state-put): Allow WINDOW to refer to an
13035 internal window (Bug#16793).
13037 2014-02-19 Glenn Morris <rgm@gnu.org>
13039 * textmodes/remember.el: Move provide statement to end.
13040 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
13041 (remember-notes): Doc fixes.
13043 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13045 * delsel.el (delete-char): Restore incorrectly erased property
13048 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
13050 * frameset.el (frameset--restore-frame): When a frame is being reused
13051 and its root window is not alive, delete all the frame's windows before
13052 restoring the window state. This works around the issue in bug#16793.
13054 2014-02-18 Glenn Morris <rgm@gnu.org>
13056 * textmodes/remember.el (remember-data-directory)
13057 (remember-directory-file-name-format, remember-store-in-files)
13058 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
13059 (remember-notes-save-and-bury-buffer)
13060 (remember-notes--kill-buffer-query): Doc fixes.
13062 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
13064 2014-02-17 Alan Mackenzie <acm@muc.de>
13066 Connect electric-indent-mode up with CC Mode. Bug #15478.
13067 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
13068 to electric-indent-{,local-}-mode.
13069 (c-basic-common-init): Set electric-indent-inhibit.
13070 Initialize c-electric-flag from electric-indent-mode.
13071 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
13072 New hook functions which propagate electric-indent-mode to CC mode.
13074 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
13075 hit, toggle electric-indent-local-mode.
13077 * electric.el (electric-indent-mode-has-been-called):
13080 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
13082 * frameset.el (frameset-cfg-id): New function.
13083 (frameset--reuse-frame, frameset-restore): Use it.
13084 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
13086 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
13088 * ido.el (ido-file-internal): Remove unused var `d'.
13089 Use \` for to match BoS. Fit within 80n columns.
13091 2014-02-17 Daniel Colascione <dancol@dancol.org>
13093 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
13094 dbus-call-method check for completion using a busy-wait loop with
13097 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
13099 Sync with Tramp 2.2.9.
13101 * net/trampver.el: Update release number.
13103 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
13105 * ido.el (ido-file-internal): Don't add the name of an existing
13106 directory twice. (Bug#16747)
13108 2014-02-16 Glenn Morris <rgm@gnu.org>
13110 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
13111 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
13113 2014-02-15 Michael R. Mauger <michael@mauger.com>
13115 * progmodes/sql.el: Version 3.4
13116 (sql-oracle-options): New default value ("-L").
13117 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
13118 (sql-placeholders-filter): Correct placeholder pattern.
13119 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
13120 (sql-login-delay): New variable.
13121 (sql-product-interactive): Use it.
13123 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
13125 * frameset.el (frameset--jump-to-register): Check that buffer is live
13128 2014-02-15 Glenn Morris <rgm@gnu.org>
13130 * info.el (info-initialize): Revert 2014-01-10 change.
13132 2014-02-14 Glenn Morris <rgm@gnu.org>
13134 * replace.el (map-query-replace-regexp)
13135 (read-regexp-defaults-function, read-regexp): Doc fixes.
13137 * dired.el (dired-read-regexp):
13138 * faces.el (list-faces-display):
13139 * misearch.el (multi-isearch-read-matching-buffers)
13140 (multi-isearch-read-matching-files):
13141 * play/cookie1.el (cookie-apropos):
13142 * progmodes/grep.el (grep-read-regexp): Doc fixes.
13144 * textmodes/remember.el (remember): Use frameset-to-register
13145 rather than frame-configuration-to-register.
13147 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
13149 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
13150 incorrect keybinding.
13152 2014-02-13 Daniel Colascione <dancol@dancol.org>
13154 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
13155 when adding overlays so that line numbers from compiler match line
13158 2014-02-13 Glenn Morris <rgm@gnu.org>
13160 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
13162 * jit-lock.el (jit-lock-mode): Doc fix.
13164 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
13166 * apropos.el (apropos-read-pattern): When the user passes an empty
13167 string, give a more helpful error message than "Wrong type
13168 argument: stringp, nil".
13170 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
13172 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
13174 2014-02-13 Glenn Morris <rgm@gnu.org>
13176 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
13178 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
13180 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
13181 shift-select commands.
13183 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
13185 * progmodes/js.el (js-indent-line): Don't widen.
13186 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
13188 2014-02-12 Glenn Morris <rgm@gnu.org>
13190 * icomplete.el (icomplete): Add info-link to defgroup.
13191 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
13192 (icomplete-minibuffer-map, icomplete-mode)
13193 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
13195 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
13196 (package-menu-filter): Rename from package-menu-filter-interactive.
13199 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
13201 * frameset.el (frameset--jump-to-register): Select the required
13202 window and buffer before restoring position (bug#16696).
13204 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
13206 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
13208 2014-02-10 Glenn Morris <rgm@gnu.org>
13210 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
13212 2014-02-10 Eli Zaretskii <eliz@gnu.org>
13214 * w32-common-fns.el (x-get-selection): Doc fix.
13215 * select.el (x-get-selection): Doc fix. (Bug#15109)
13217 * face-remap.el (face-remap-add-relative)
13218 (face-remap-remove-relative, face-remap-reset-base)
13219 (face-remap-set-base): Call force-mode-line-update to redisplay
13220 the current buffer due to potential change in faces. (Bug#16709)
13222 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
13224 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
13225 script more robustly.
13227 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
13229 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
13231 * simple.el (choose-completion): Doc fix (bug#14160).
13233 * subr.el (event-start): Say what a nil EVENT value means.
13235 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
13238 * progmodes/grep.el (find-program): Doc fix (bug#14289).
13240 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
13242 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
13244 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
13245 predicate function (bug#15455).
13247 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
13249 * ielm.el (inferior-emacs-lisp-mode): Instead of
13250 `comment-use-global-state', set `comment-use-syntax'.
13252 2014-02-10 Glenn Morris <rgm@gnu.org>
13254 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
13256 2014-02-09 Alan Mackenzie <acm@muc.de>
13258 Fix c-invalidate-state-cache on narrowed buffers.
13259 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
13260 Widen when setting and clearing the CPP delimiter properties.
13262 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
13264 * help.el (describe-bindings): Doc fix (bug#9888).
13266 * files.el (save-buffer): Use ARG as the parameter name for
13267 consistency (bug#10346).
13268 (save-buffer): Clarify the 0 argument (bug#10346).
13270 * cus-edit.el (customize-apropos): Fix error string.
13271 (custom-buffer-create): Doc fix (bug#11122).
13272 (custom-sort-items): Doc fix (bug#11121).
13274 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
13276 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
13277 (icomplete-simple-completing-p): Mention the previous variable.
13279 * font-lock.el (font-lock-value-in-major-mode): Clarify the
13280 meaning of the parameter (bug#12282).
13282 * files.el (find-file-noselect): Clarify prompt when changing
13283 readedness (bug#13261).
13284 (locate-file): Suffixes aren't returned, so don't say that they
13286 (backup-inhibited): Doc clarification (bug#12525).
13288 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
13289 before we actually start to delete things (bug#16331).
13291 * subr.el (event-start): Doc fix (bug#14228).
13292 (event-end): Ditto.
13294 2014-02-09 Glenn Morris <rgm@gnu.org>
13296 * emacs-lisp/warnings.el (lwarn):
13297 Empower help-enable-auto-load. (Bug#15940)
13299 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
13301 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
13304 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
13306 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
13307 Insert output at end of buffer. (Bug#16120)
13309 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
13311 * simple.el (choose-completion-string-functions): Document new
13312 calling convention (bug#14153).
13313 (execute-extended-command): Clarify doc string (bug#13373).
13315 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
13317 * find-dired.el (find-name-dired): Doc fix (bug#14290).
13318 (find-grep-dired): Doc fix (bug#14288).
13320 2014-02-08 Juri Linkov <juri@jurta.org>
13322 * isearch.el (isearch-quote-char): Check character validity
13323 like in `quoted-insert' (bug#16677).
13325 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
13327 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
13329 * isearch.el (isearch-hide-immediately): Doc clarification
13332 * simple.el (line-move): Document utility function used many
13333 places in the Emacs sources (bug#14843).
13335 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
13336 (dired-prev-marked-file): Doc fix (bug#14855).
13337 (dired-up-directory): Doc fix (bug#14848).
13339 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
13341 * files.el (file-relative-name): Doc fix (bug#15159).
13343 * fringe.el (fringe-styles): Doc fix (bug#15239).
13345 * isearch.el (isearch-filter-predicate): Documentation typo fix
13348 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
13350 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
13352 * replace.el (replace-match-maybe-edit): Doc clarification
13355 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
13357 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
13359 2014-02-08 Glenn Morris <rgm@gnu.org>
13361 * help-fns.el (describe-variable):
13362 Check {file,dir}-local-variables-alist, and buffer-file-name,
13363 in the correct buffer.
13365 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
13367 * help-fns.el (describe-variable): Fix the case where
13368 a value is directory-local with no dir-locals file. (Bug#16635)
13370 2014-02-08 Glenn Morris <rgm@gnu.org>
13372 * abbrev.el (edit-abbrevs-mode):
13373 Derive from fundamental-mode. (Bug#16682)
13375 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
13377 * simple.el (quoted-insert): Check character validity (bug#16677).
13379 2014-02-07 Juri Linkov <juri@jurta.org>
13381 * desktop.el (desktop-read): Claim the lock when the owner is not
13382 the current process. (Bug#16157)
13384 2014-02-07 Juri Linkov <juri@jurta.org>
13386 * desktop.el (desktop-buffers-not-to-save): Change default from nil
13387 to "\\` ". (Bug#16651)
13389 2014-02-07 Juri Linkov <juri@jurta.org>
13391 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
13392 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
13393 (desktop-auto-save-cancel-timer): New function with some code from
13394 `desktop-auto-save-set-timer'.
13395 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
13396 Instead of setting `desktop-save-mode' to nil, call
13397 `desktop-save-mode' with arg 0. (Bug#16630)
13399 2014-02-07 Glenn Morris <rgm@gnu.org>
13401 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
13402 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
13403 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
13405 * obsolete/iswitchb.el: Move to obsolete/.
13406 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
13407 since obsolete/ is not scanned for autoloads.
13408 * emacs-lisp/authors.el (authors-valid-file-names):
13411 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
13412 Disable now non-functional find-file-hook.
13414 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
13416 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
13417 instead of ";" in order to avoid additional prompts. Let heredoc
13418 scripts read from tty. (Bug#16582)
13419 (tramp-send-command): No special handling of heredocs, it isn't
13422 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
13424 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
13425 with a space (bug#16664). Limit the symbols considered to the ones
13426 that are bound or fbound (bug#16646).
13428 2014-02-06 Glenn Morris <rgm@gnu.org>
13430 * epa.el (epa-mail-aliases): Doc fix.
13432 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
13434 * emacs-lisp/lisp.el (lisp-completion-at-point):
13435 Use `completion-table-merge' instead of `completion-table-in-turn'
13438 * minibuffer.el (completion-table-merge): New function.
13440 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
13442 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
13443 (tramp-sh-handle-set-file-acl)
13444 (tramp-sh-handle-start-file-process)
13445 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
13446 (tramp-find-executable, tramp-send-command): Use it.
13448 2014-02-05 Glenn Morris <rgm@gnu.org>
13450 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
13452 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
13454 * progmodes/python.el (python-shell-send-string)
13455 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
13457 2014-02-04 Anders Lindgren <andlind@gmail.com>
13459 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
13460 the names (bug#16620).
13462 2014-02-03 Martin Rudalics <rudalics@gmx.at>
13464 * faces.el (window-divider): New default value. Rewrite doc-string.
13465 (window-divider-first-pixel, window-divider-last-pixel): New faces.
13467 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
13469 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
13470 `protected' and `public' can also be called without arguments.
13472 2014-02-03 Glenn Morris <rgm@gnu.org>
13474 * register.el (window-configuration-to-register)
13475 (frame-configuration-to-register): Unadvertise unused argument.
13476 * frameset.el (frameset-to-register): Remove unused argument.
13478 * frameset.el (frameset-to-register):
13479 * kmacro.el (kmacro-to-register):
13480 * register.el (increment-register):
13481 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
13482 (calc-append-to-register, calc-prepend-to-register):
13483 * play/gametree.el (gametree-layout-to-register)
13484 (gametree-apply-register-layout):
13485 * textmodes/picture.el (picture-clear-rectangle-to-register)
13486 (picture-yank-rectangle-from-register):
13487 * vc/emerge.el (emerge-combine-versions-register):
13488 Use register-read-with-preview to read registers.
13490 2014-02-03 João Távora <joaotavora@gmail.com>
13492 * elec-pair.el (electric-pair-backward-delete-char): Don't error
13493 when at beginning of (possibly narrowed) buffer.
13495 2014-02-02 Daniel Colascione <dancol@dancol.org>
13497 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
13498 Also try to display local help from just before point.
13500 2014-02-02 Alan Mackenzie <acm@muc.de>
13502 c-parse-state. Don't "append-lower-brace-pair" in certain
13503 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
13504 recognised as a comment.
13506 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
13507 as well as normal comment starter.
13508 (c-parse-state-get-strategy): Extra return possibility
13510 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
13511 return value list to indicate replacement of a brace-pair cons
13513 (c-parse-state-1): With 'back-and-forward, only call
13514 c-append-lower-brace-pair-to state-cache when cons-separated.
13516 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
13518 * term/ns-win.el (ns-suspend-error): New function.
13519 (ns-initialize-window-system): Add ns-suspend-error to
13520 suspend-hook (Bug#16612).
13522 2014-02-02 Daniel Colascione <dancol@dancol.org>
13524 * progmodes/cc-defs.el (c-find-assignment-for-mode):
13525 Make loading cc-mode silent.
13527 2014-02-02 Daniel Colascione <dancol@dancol.org>
13529 * comint.el (comint-prompt-read-only): Change doc to suggest
13532 2014-02-02 Glenn Morris <rgm@gnu.org>
13534 * register.el (register-read-with-preview, point-to-register)
13535 (window-configuration-to-register, frame-configuration-to-register)
13536 (jump-to-register, number-to-register, view-register, insert-register)
13537 (copy-to-register, append-to-register, prepend-to-register)
13538 (copy-rectangle-to-register): Doc fixes.
13540 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
13542 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
13543 * emacs-lisp/find-func.el (find-function-C-source): Idem.
13544 * emacs-lisp/nadvice.el (advice--cd*r): New function.
13545 * help-fns.el (describe-function-1): Use it.
13547 2014-02-02 Glenn Morris <rgm@gnu.org>
13549 * register.el (register-preview-default): New function,
13550 split from register-preview.
13551 (register-preview-function): Rename from register-preview-functions,
13552 make it not a hook.
13553 (register-preview): Use register-preview-function.
13554 (register-read-with-preview): Error on non-character event. (Bug#16595)
13556 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
13558 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
13559 `:' before binary operators (bug#16609). Don't check for `:'
13560 before `[' and `(', or their syntax status. A percent literal
13561 can't end with either.
13562 (ruby-font-lock-keywords): For built-ins that require arguments,
13563 check that they're followed by something that looks like argument
13566 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
13568 * subr.el (butlast): Document what an omitted N means (bug#13437).
13571 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
13573 * net/shr.el (shr-generic): Make into a defsubst to make the stack
13574 depth shallower (bug#16587).
13575 (shr-tag-svg): Respect `shr-inhibit-images'.
13576 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
13578 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
13580 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
13581 (ruby-smie-grammar): Make "." right-associative. Make its priority
13582 lower than the ternary and all binary operators.
13583 (ruby-smie-rules): Indent "(" relative to the first non-"."
13584 parent, or the first "." parent at indentation.
13585 Use `ruby-align-chained-calls' for indentation of "." tokens.
13588 2014-01-31 Juri Linkov <juri@jurta.org>
13590 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
13591 from `make-hash-table'.
13593 * textmodes/ispell.el (ispell-init-process): Change message format
13594 to be consistent with other messages.
13596 2014-01-31 Glenn Morris <rgm@gnu.org>
13598 * delsel.el (delete-selection-mode): Doc fix.
13600 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
13601 (trace-function-background): Doc fixes.
13603 * ido.el (ido-use-virtual-buffers): Doc fix.
13604 Reset :version, since the default value has not changed.
13606 * register.el (register-preview-delay, register-read-with-preview):
13609 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
13610 do not mess with mail-buffer position (fixes 2009-11-03 change).
13611 * progmodes/cc-mode.el (c-submit-bug-report):
13612 Check auto-fill-mode is bound. (Bug#16592)
13614 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
13616 * startup.el (fancy-splash-image-file): New function,
13617 split from fancy-splash-head.
13618 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
13619 so that we are both using the same image. (Bug#16574)
13621 2014-01-30 Glenn Morris <rgm@gnu.org>
13623 * simple.el (eval-expression): Doc fix.
13625 * hexl.el (hexl-mode-hook):
13626 * ielm.el (ielm-mode-hook):
13627 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
13628 (lisp-interaction-mode-hook):
13629 * progmodes/cfengine.el (cfengine3-documentation-function):
13630 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
13632 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
13634 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
13635 is a symbol (bug#16584).
13637 2014-01-30 Glenn Morris <rgm@gnu.org>
13639 * help.el (help-for-help-internal): Add "P" to text.
13641 2014-01-29 Glenn Morris <rgm@gnu.org>
13643 * simple.el (just-one-space, cycle-spacing): Doc fixes.
13645 2014-01-28 Martin Rudalics <rudalics@gmx.at>
13647 * window.el (fit-frame-to-buffer): Fix calculations for margins and
13648 height constraints.
13650 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
13652 * progmodes/hideif.el: Extend to full CPP expression syntax.
13653 (hif-token-alist): Add missing tokens.
13654 (hif-token-regexp): Add support for float/octal/hex immediates.
13655 (hif-string-literal-regexp): New const.
13656 (hif-tokenize): Recognize strings and float/octal/hex immediates.
13657 (hif-exprlist): New function.
13658 (hif-parse-if-exp): Use it.
13659 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
13660 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
13661 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
13662 (hif-logxor, hif-comma): New functions.
13664 2014-01-28 Glenn Morris <rgm@gnu.org>
13666 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
13668 * indent.el (tab-stop-list): Doc fix. Add :version.
13670 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
13671 (cvs-append-to-ignore): Add compatibility alias.
13673 2014-01-27 Glenn Morris <rgm@gnu.org>
13675 * dired.el (dired-hide-details-mode): Don't autoload it,
13676 since it cannot be used outside Dired buffers anyway.
13678 * emulation/cua-base.el (cua-mode): Doc fix.
13680 * dired.el (dired-hide-details-hide-symlink-targets)
13681 (dired-hide-details-hide-information-lines)
13682 (dired-hide-details-mode): Doc fixes.
13684 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
13685 * strokes.el (strokes-file): Doc fix. Bump :version.
13686 (strokes-help): Doc fix.
13687 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
13688 * emulation/viper.el (viper): Doc fix for custom group.
13689 (top-level): Remove oh-so-no-longer-relevant text about vip.
13690 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
13692 * ido.el (ido-save-directory-list-file):
13693 * saveplace.el (save-place-file):
13694 * calendar/timeclock.el (timeclock-file):
13695 * net/quickurl.el (quickurl-url-file):
13696 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13697 * progmodes/idlwave.el (idlwave-config-directory):
13698 * textmodes/remember.el (remember-data-file):
13701 2014-01-26 Glenn Morris <rgm@gnu.org>
13703 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
13704 Doc fix. Make obsolete.
13705 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
13707 * sort.el (delete-duplicate-lines): Doc fix.
13709 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13711 * progmodes/ada-mode.el (ada):
13712 * woman.el (woman): Link to info manual and Commentary section.
13714 * progmodes/flymake.el (flymake):
13715 * nxml/nxml-mode.el (nxml):
13716 * net/eww.el (eww):
13717 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
13718 * htmlfontify.el (htmlfontify):
13721 * ido.el (ido): Link to info manual.
13723 2014-01-25 Leo Liu <sdl.web@gmail.com>
13725 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
13727 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
13729 * net/shr.el (shr-tag-img): Prefer the title over the alt text
13732 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
13734 * net/eww.el (eww-download-callback):
13735 Fix reference to eww-download-directory.
13737 * emacs-lisp/bytecomp.el (byte-compile-file):
13738 Remove unused local variable `file-name'.
13740 2014-01-24 Glenn Morris <rgm@gnu.org>
13742 * woman.el (woman-default-faces, woman-monochrome-faces):
13743 Fix obsolescence specification.
13745 * subr.el (with-demoted-errors): Doc fix.
13747 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
13749 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
13750 (cl--macroexp-fboundp): New function.
13751 (cl--make-type-test): Use it.
13753 2014-01-23 Glenn Morris <rgm@gnu.org>
13755 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
13756 * simple.el (eval-expression): Doc fixes.
13758 2014-01-22 Glenn Morris <rgm@gnu.org>
13760 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
13762 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13764 * emacs-lisp/package.el: Write files silently.
13765 (package-autoload-ensure-default-file, package--write-file-no-coding)
13766 (package-generate-description-file, package--download-one-archive)
13767 (package-install-from-archive): Tell `write-region' to stay quiet.
13768 (package-menu-mode, package-menu--print-info): Omit the Archive column
13769 if there's only one archive.
13770 (package-all-keywords, package--has-keyword-p): Remove dead code.
13772 2014-01-22 Glenn Morris <rgm@gnu.org>
13774 * version.el (emacs-bzr-version-bzr): Fix typo.
13776 * version.el (emacs-repository-get-version):
13777 Check either .bzr or .git, but not both.
13778 Make the git case actually use the DIR argument, and return nil
13779 rather than the empty string.
13780 Avoid error if .git exists but the git executable is not found.
13782 2014-01-22 Martin Rudalics <rudalics@gmx.at>
13784 Fixes in window size functions around Bug#16430 and Bug#16470.
13785 * window.el (window-total-size, window-size): New argument ROUND.
13786 (window--min-delta-1, window-min-delta, window--max-delta-1):
13787 Be more conservative when calculating the numbers of lines or
13788 columns a window can shrink (Bug#16430).
13789 (fit-window-to-buffer): Simplify code.
13790 * term.el (term-window-width): Call window-body-width again.
13792 2014-01-22 Glenn Morris <rgm@gnu.org>
13794 * image.el (image-format-suffixes): Doc fix.
13796 * international/quail.el (quail-define-package): Doc fix.
13798 * emacs-lisp/authors.el (authors-valid-file-names)
13799 (authors-renamed-files-alist): Additions.
13801 * vc/vc-git.el (vc-git-print-log): Remove --follow;
13802 reverts 2014-01-09 change. (Bug#16422)
13804 * calc/calc-embed.el (thing-at-point-looking-at):
13805 * emacs-lisp/map-ynp.el (x-popup-dialog):
13806 * obsolete/lmenu.el (x-popup-dialog):
13807 * emacs-lisp/package.el (url-recreate-url):
13808 * mail/mailclient.el (clipboard-kill-ring-save):
13809 * subr.el (x-popup-dialog): Update declaration.
13810 * mail/rmail.el (rmail-mime-message-p):
13811 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
13813 2014-01-21 Daniel Colascione <dancol@dancol.org>
13815 * progmodes/sh-script.el (sh--inside-noncommand-expression):
13816 Correctly detect when we're inside an arithmetic expansion form
13817 containing nested parenthesis.
13818 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
13819 to detect cases where we shouldn't expand "<<" to a heredoc
13822 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
13824 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
13825 (eldoc--message-command-p): New function.
13826 (eldoc-display-message-p): Use it.
13827 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
13828 message is not automatically erased for us.
13829 (eldoc-print-current-symbol-info): Erase previous message, if any.
13831 2014-01-21 Tassilo Horn <tsdh@gnu.org>
13833 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
13834 specify it's an interactive function.
13836 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
13837 Fix regex used for scanning for citation keys which failed for
13838 citations with optional arguments.
13840 2014-01-21 Leo Liu <sdl.web@gmail.com>
13842 * simple.el (read--expression): Don't enable eldoc-mode.
13844 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
13846 * simple.el (move-beginning-of-line): Make sure we don't move forward
13849 2014-01-20 Juri Linkov <juri@jurta.org>
13851 * saveplace.el (toggle-save-place, save-place-to-alist)
13852 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
13853 'dired-mode) before checking for dired-directory. (Bug#16477)
13855 2014-01-20 Juri Linkov <juri@jurta.org>
13857 * indent.el (indent-line-to): Use backward-to-indentation
13858 instead of back-to-indentation. (Bug#16461)
13860 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
13862 Revert some of the CANNOT_DUMP fix (Bug#16494).
13863 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
13864 but fixing this can wait until after the next release.
13865 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
13867 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
13869 * eshell/esh-mode.el (eshell-password-prompt-regexp):
13870 Use `password-word-equivalents'.
13871 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
13872 to t. (Bug#5664, Bug#13124)
13874 2014-01-19 Alan Mackenzie <acm@muc.de>
13876 Bind open-paren-in-column-0-is-defun-start to nil at some entry
13878 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
13879 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
13880 * progmodes/cc-mode.el (c-before-change, c-after-change)
13881 (c-font-lock-fontify-region): Bind it here.
13883 2014-01-19 Martin Rudalics <rudalics@gmx.at>
13885 * term.el (term-window-width): Call window-text-width instead of
13886 window-width (Bug#16470).
13888 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
13890 * simple.el (password-word-equivalents): Remove duplicates.
13891 Sort, to make this easier next time.
13892 Downcase. Omit ": " after "jelszó".
13894 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
13896 * term/common-win.el (saved-region-selection): Defvar it.
13897 (x-select-text): Set saved-region-selection (Bug#16382).
13899 2014-01-18 Glenn Morris <rgm@gnu.org>
13901 * emacs-lisp/authors.el (authors-aliases)
13902 (authors-renamed-files-alist): Add some entries.
13904 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
13906 * net/tramp.el (tramp-password-prompt-regexp):
13907 Use `password-word-equivalents' if available.
13908 (tramp-action-password, tramp-process-one-action)
13909 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
13911 2014-01-17 Chong Yidong <cyd@gnu.org>
13913 * simple.el (password-word-equivalents): New defcustom.
13914 * comint.el (comint-password-prompt-regexp): Use it. Bump version
13916 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
13919 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
13921 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
13922 (ruby-align-to-stmt-keywords): Change the default value.
13923 Use `ruby-alignable-keywords' to generate the possible customization
13925 (ruby-smie-rules): Instead of using a hardcoded list of alignable
13926 keywords, check against the value of `ruby-alignable-keywords'
13927 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
13929 2014-01-17 Glenn Morris <rgm@gnu.org>
13931 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
13933 Make M-x authors return zero *Authors Errors* from current logs.
13934 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
13935 (authors-ignored-files): Add some entries, remove others.
13936 (authors-ambiguous-files, authors-valid-file-names):
13938 (authors-renamed-files-alist): Add, remove, and adjust entries.
13939 (authors-renamed-files-regexps): Add some entries.
13940 Remove some very broad ones. Make some entries `lax'.
13941 (authors-lax-changelogs): New constant.
13942 (authors-disambiguate-file-name): Treat top-level specially.
13943 (authors-lax-changelog-p): New function.
13944 (authors-canonical-file-name): Check file as written against
13945 authors-valid-file-names. Do not special-case etc/.
13946 Handle `lax' logs and authors-renamed-files-regexps elements.
13948 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
13950 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
13951 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
13954 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
13956 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
13957 Assume we're already in the proper buffer.
13958 Inspired by Anders Lindgren <andlind@gmail.com>.
13959 (follow-post-command-hook): Call it from the right buffer.
13960 (follow-comint-scroll-to-bottom): Adjust call.
13961 (follow-all-followers): Use get-buffer-window-list.
13963 2014-01-15 Daniel Colascione <dancol@dancol.org>
13965 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
13966 `buffer-file-name' in interactive-form so that we don't leave
13967 pathless file names in `file-name-history'.
13969 2014-01-15 Juri Linkov <juri@jurta.org>
13971 * indent.el (indent-rigidly): Set deactivate-mark to nil
13972 in transient indentation mode. (Bug#16438)
13974 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
13976 * emacs-lisp/package.el (package-desc-keywords): New function
13978 (describe-package-1, package-all-keywords)
13979 (package--has-keyword-p): Use it.
13981 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
13983 * simple.el (define-alternatives): When creating the
13984 COMMAND-alternatives variable, assign COMMAND as its definition
13985 name so that `describe-variable' can relocate it.
13987 2014-01-14 Matthew Leach <matthew@mattleach.net>
13989 * font-lock.el (font-lock-keywords): Fix typo in docstring
13992 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13994 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
13995 line instead of wrongly reset `add-coment' (bug#13577).
13997 2014-01-14 Daiki Ueno <ueno@gnu.org>
13999 * epa-file.el (epa-file-write-region): Encode the region according
14000 to `buffer-file-format'. Problem reported at:
14001 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
14003 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
14005 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
14006 so it applies in the right buffer (bug#16410).
14008 2014-01-13 Daniel Colascione <dancol@dancol.org>
14010 * textmodes/rst.el (rst-define-key): Provide deprecated
14011 keybindings through named functions instead of anonymous ones so
14012 that "??" doesn't appear in describe-mode output.
14014 2014-01-13 Bastien Guerry <bzg@gnu.org>
14016 * simple.el (define-alternatives): Call the selected command
14017 interactively. When setting `COMMAND--implementation' for the
14018 first time, tell the user how to chose another implementation.
14019 Enhance the docstring.
14021 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
14023 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
14024 (log-edit--match-first-line): New function.
14025 (log-edit-font-lock-keywords): Use it.
14026 (log-edit-mode): Make jit-lock-defer-multiline work.
14028 2014-01-13 Bastien Guerry <bzg@gnu.org>
14030 * rect.el (rectangle-mark-mode): When the region is not active,
14031 display a message saying that the mark as been set and that
14032 rectangle mode is in use.
14033 (rectangle--highlight-for-redisplay): Only put an overlay with a
14034 visible vertical bar when (display-graphic-p) is non-nil.
14035 This partially fixes Bug#16403.
14037 2014-01-13 Juri Linkov <juri@jurta.org>
14039 * info.el (Info-find-file): Go to DIR before displaying the error
14040 about a nonexistent file if no previous Info file is visited.
14041 Use `user-error' instead of `error' for "Info file %s does not exist".
14042 (Info-find-node-2): In case of a nonexistent node in unwind forms
14043 go to the Top node if there is no previous node to revert to.
14046 2014-01-13 Martin Rudalics <rudalics@gmx.at>
14048 fit-frame/window-to-buffer code fixes including one for Bug#14096.
14049 * window.el (fit-frame-to-buffer): Fix doc-string.
14050 Respect window-min-height/-width. Fit pixelwise when
14051 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
14052 when avoiding that frame goes partially off-screen.
14053 (fit-window-to-buffer): Respect window-min-height/-width
14056 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
14058 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
14059 after an empty line.
14061 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
14063 * net/shr.el (shr-render-region): Autoload.
14065 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
14067 * net/eww.el (eww-download-directory): Rename from
14068 `eww-download-path' (Bug#16419).
14070 2014-01-12 Leo Liu <sdl.web@gmail.com>
14072 * dired-x.el (dired-mode-map): Fix last change.
14074 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
14076 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
14079 * emacs-lisp/generic.el (generic--normalize-comments):
14080 Rename from generic--normalise-comments. All uses changed.
14081 * play/bubbles.el (bubbles--neighborhood-score)
14082 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
14083 (bubbles--neighborhood-available)
14084 (bubbles--update-neighborhood-score):
14085 Rename from names with 'neighbourhood'. All uses changed.
14087 2014-01-12 Leo Liu <sdl.web@gmail.com>
14089 Re-implement the feature of showing eldoc info after editing.
14090 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
14091 (eldoc-edit-message-commands): New function.
14092 (eldoc-print-after-edit): New variable.
14093 (eldoc-pre-command-refresh-echo-area): Emit message only by
14094 eldoc-message-commands.
14095 (eldoc-mode): Restrict eldoc-message-commands to editing commands
14096 if eldoc-print-after-edit is set. (Bug#16346)
14097 * simple.el (read--expression): Enable eldoc-mode.
14098 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
14100 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
14101 Eric S. Raymond <esr@thyrsus.com>
14103 * version.el (emacs-repository-get-version): Enhance so the
14104 function works correctly in either a Bazaar or Git repo.
14106 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
14108 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
14109 Goes with removal of the joke manpages from /etc.
14111 2014-01-10 Kenichi Handa <handa@gnu.org>
14113 * mail/rmail.el (rmail-get-coding-system):
14114 Check rmail-get-coding-function before "funcall"ing it.
14116 2014-01-10 Glenn Morris <rgm@gnu.org>
14118 * emacs-lisp/authors.el (authors-fixed-entries):
14119 Update for files that no longer exist.
14121 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
14123 * version.el (emacs-bzr-get-version): Restore compatibilty with
14126 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
14128 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
14131 2014-01-10 Eli Zaretskii <eliz@gnu.org>
14133 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
14135 2014-01-10 Chong Yidong <cyd@gnu.org>
14137 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
14139 2014-01-10 Anders Lindgren <andlind@gmail.com>
14141 * follow.el (follow-cache-command-list): Include right-char and
14144 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
14147 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
14148 * woman.el (woman-mark-horizontal-position):
14149 Rename from woman-mark-horizonal-position. Use changed.
14151 2014-01-10 Glenn Morris <rgm@gnu.org>
14153 * info.el (info-initialize): If running uninstalled, ensure our
14154 own info files are always found first, even if INFOPATH is set.
14156 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
14158 2014-01-09 David Engster <deng@randomsample.de>
14160 * emacs-lisp/eieio-custom.el:
14161 * emacs-lisp/eieio-opt.el: Set generated autoload file to
14162 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
14163 * emacs-lisp/eieio.el: Regenerate autoloads.
14165 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
14167 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
14168 following renames. (Bug#8756)
14170 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
14172 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
14174 (activate-mark): Add `no-tmm' argument.
14175 (set-mark, push-mark-command): Use it instead of running
14176 activate-mark-hook by hand.
14178 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
14180 In preparation for the move to git, sanitize out some
14181 Bazaar-specific names.
14183 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
14185 * version.el (emacs-bzr-version): Name changed to
14186 emacs-repository-version. Obsolete-variable alias made.
14187 * loadup.el: Follow through on this name change.
14188 * mail/emacsbug.el (report-emacs-bug): Factor out any
14189 assumption about the version control system in use.
14191 2014-01-08 David Engster <deng@randomsample.de>
14193 * help-fns.el (help-fns-describe-function-functions):
14194 New variable to call functions for augmenting help buffers.
14195 (describe-function-1): Remove explicit calls to
14196 `help-fns--compiler-macro', `help-fns--parent-mode' and
14197 `help-fns--obsolete'. Put them in above new variable instead, and
14198 call them through `run-hook-with-args'.
14199 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
14200 `eieio-describe-class'. Not meant for interactive use anymore,
14201 but to augment existing help buffers. Remove optional second
14202 argument. Create proper button for file location.
14203 Rewrite function to use `insert' instead of `princ' and `prin1' where
14205 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
14206 (eieio-method-def, eieio-class-def): Move further up.
14207 (describe-method, describe-generic, eieio-describe-method):
14209 (eieio-help-constructor, eieio-help-generic): Rename from
14210 `eieio-describe-constructor' and `eieio-describe-generic', resp.
14211 Rewrite to use `insert' in the current buffer and use proper help
14213 (eieio-help-find-method-definition)
14214 (eieio-help-find-class-definition): Also accept symbols as
14216 (eieio-help-mode-augmentation-maybee): Remove.
14217 (eieio-describe-class-sb): Use `describe-function'.
14218 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
14219 Add `eieio-help-generic' and `eieio-help-constructor'.
14221 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
14224 * language/china-util.el (hz-ascii-designation):
14225 Rename from hz-ascii-designnation.
14226 (hz-ascii-designation): Rename from hz-ascii-designnation.
14229 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
14231 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
14234 2014-01-08 Bastien Guerry <bzg@gnu.org>
14236 * emacs-lisp/package.el (package-delete):
14237 Correctly delete the package from package-alist.
14239 2014-01-08 Daiki Ueno <ueno@gnu.org>
14241 * emacs-lisp/package.el (url-recreate-url): Declare.
14242 (url-http-target-url): Declare.
14243 (package-handle-response): Include requested URL in the error message.
14244 (package--check-signature): Don't re-signal errors from
14245 package--with-work-buffer. Suggested by Stefan Monnier.
14247 2014-01-07 Bastien Guerry <bzg@gnu.org>
14249 * minibuffer.el (completion--try-word-completion): When both a
14250 hyphen and a space are possible candidates for the character
14251 following a word, display both candidates. (Bug#15980)
14253 2014-01-07 Martin Rudalics <rudalics@gmx.at>
14255 * window.el (balance-windows-2): While rounding don't give a
14256 window more than the remainder. Bug#16351, bug#16383.
14258 2014-01-07 Glenn Morris <rgm@gnu.org>
14260 * menu-bar.el (menu-bar-help-extra-packages): Remove.
14261 (menu-bar-help-menu): Use view-external-packages instead.
14263 2014-01-07 Bastien Guerry <bzg@gnu.org>
14265 * emacs-lisp/package.el (package-delete): Also delete the package
14266 name from `package-alist', not its description only.
14268 2014-01-07 Glenn Morris <rgm@gnu.org>
14270 * help.el (view-external-packages):
14271 * menu-bar.el (menu-bar-help-extra-packages):
14272 Visit efaq.info rather than etc/MORE.STUFF.
14274 2014-01-07 Juri Linkov <juri@jurta.org>
14276 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
14277 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
14279 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
14280 that shadows RET. (Bug#16342)
14282 2014-01-07 Chong Yidong <cyd@gnu.org>
14284 * isearch.el (isearch-yank-char, isearch-yank-word)
14285 (isearch-yank-line): Doc fix.
14287 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
14289 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
14290 * emacs-lisp/elint.el (elint-find-builtins):
14291 * emacs-lisp/eldoc.el (eldoc-symbol-function):
14292 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
14293 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
14294 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
14295 * apropos.el (apropos-safe-documentation):
14296 * subr.el (symbol-file): Remove redundant fboundp.
14297 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
14299 2014-01-06 Bastien Guerry <bzg@gnu.org>
14301 * hl-line.el (global-hl-line-overlay): Make a local variable.
14302 (global-hl-line-overlays): New variable to store all overlays.
14303 (global-hl-line-mode): Don't delete overlays from the current
14304 buffer when `global-hl-line-sticky-flag' is non-nil.
14305 (global-hl-line-highlight): Add new overlays to
14306 `global-hl-line-overlays'.
14307 (global-hl-line-unhighlight-all): New function to delete all
14308 overlays when turning off `global-hl-line-mode'.
14309 This fixes Bug#16183.
14311 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
14313 * subr.el (set-transient-map): Fix nested case and docstring.
14315 2014-01-06 Tassilo Horn <tsdh@gnu.org>
14317 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
14320 2014-01-06 Daniel Colascione <dancol@dancol.org>
14322 Fix defun navigation in vc log view.
14324 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
14325 like `beginning-of-defun'.
14326 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
14327 log-view-end-of-defun to log-view-end-of-defun-1. Replace
14328 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
14329 (log-view-extract-comment): Call `log-view-current-entry' directly
14330 instead of relying on broken `log-view-beginning-of-defun' behavior.
14332 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
14335 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
14336 * emacs-lisp/debug.el (cancel-debug-on-entry):
14337 * epg.el (epg-error-to-string):
14338 * files.el (recover-file):
14339 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
14340 * mail/emacsbug.el (report-emacs-bug-hook):
14341 * mail/sendmail.el (mail-recover):
14342 * ses.el (ses-yank-resize):
14343 * term/ns-win.el (ns-print-buffer):
14344 Spelling fixes in diagnostics, mostly for "canceled" with one L.
14345 * epg.el (epg-key-capability-alist): Rename from misspelled version.
14347 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
14349 2014-01-06 Leo Liu <sdl.web@gmail.com>
14351 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
14352 to avoid shadowing global key. (Bug#16354)
14354 2014-01-06 Daniel Colascione <dancol@dancol.org>
14356 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
14359 2014-01-05 Martin Rudalics <rudalics@gmx.at>
14361 * window.el (balance-windows): Add mising t to fix Bug#16351.
14363 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14365 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
14367 (shr-insert): If we have a word that's longer than `shr-width',
14368 break after it anyway. Otherwise we'll do no breaking once we get
14371 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14373 * net/eww.el (eww): Support single/double quote for search.
14374 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
14375 (eww-history-quit): Delete and use quit-window.
14376 (eww-history-kill): Delete, because it doesn't work well and
14378 (eww-history-mode-map): Delete some keys and add easy-menu.
14380 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
14382 Fix misspelling of 'chinese' in rx (Bug#16237).
14383 * emacs-lisp/rx.el (rx-categories): Correct spelling of
14386 Change subword regexps back to vars (Bug#16296).
14387 * progmodes/subword.el (subword-forward-regexp)
14388 (subword-backward-regexp): Change these back to variables.
14390 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
14392 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
14393 syntax-begin-function (bug#16247).
14395 2014-01-03 Chong Yidong <cyd@gnu.org>
14397 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
14398 (advice--docstring): Delete variable.
14399 (advice--make-1): Leave the docstring empty.
14400 (advice-add): Use function-documentation for advised docstring.
14402 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
14403 Ignore function-documentation property when getting documentation.
14404 (ad-activate-advised-definition): Use function-documentation
14405 generate the docstring.
14406 (ad-make-advised-definition): Don't call
14407 ad-make-advised-definition-docstring.
14408 (ad-make-advised-definition-docstring, ad-advised-definition-p):
14411 * progmodes/sql.el (sql-help): Use function-documentation instead
14412 of dynamic-docstring-function property. No need to autoload now.
14413 (sql--help-docstring): New variable.
14414 (sql--make-help-docstring): Use it.
14416 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
14418 * ielm.el (ielm-tab): Retarget.
14419 (ielm-map): Use ielm-tab for tab.
14420 (ielm-complete-filename): Use comint-filename-completion.
14421 (ielm-complete-symbol): Remove.
14422 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
14423 remove ielm-tab from completion-at-point-functions (bug#16224).
14425 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
14426 Beware signals raised by predicates (bug#16201).
14428 2014-01-02 Richard Stallman <rms@gnu.org>
14430 * dired-aux.el (dired-do-print): Handle printer-name.
14432 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
14433 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
14434 (rmail-epa-decrypt): Turn off mime processing.
14436 * mail/rmail.el (rmail-make-in-reply-to-field):
14437 Add parens in message-id.
14439 * mail/rmail.el (rmail-get-coding-function): Variable.
14440 (rmail-get-coding-system): Use it.
14442 2013-12-31 Eli Zaretskii <eliz@gnu.org>
14444 * international/mule-conf.el: Unify the charset indian-is13194.
14445 (indian-is13194): Specify unify-map.
14447 2013-12-31 Leo Liu <sdl.web@gmail.com>
14449 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
14451 2013-12-30 Daniel Colascione <dancol@dancol.org>
14453 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
14454 of printing a useless when we resume from sleep.
14456 * progmodes/sh-script.el
14457 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
14458 in indentation code. (Bug#16233)
14460 2013-12-28 João Távora <joaotavora@gmail.com>
14462 * elec-pair.el (electric-pair-post-self-insert-function):
14463 Don't open extra newlines at beginning of buffer. (Bug#16272)
14465 2013-12-28 Eli Zaretskii <eliz@gnu.org>
14467 * frame.el (window-system-for-display): Don't allow to create a
14468 GUI frame from a -nw session on MS-Windows. (Bug#14739)
14470 2013-12-28 Glenn Morris <rgm@gnu.org>
14472 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
14475 * apropos.el (apropos-match-face):
14476 * calculator.el (calculator-displayer):
14477 * dabbrev.el (dabbrev-search-these-buffers-only):
14478 * face-remap.el (buffer-face-mode-face):
14479 * simple.el (yank-handled-properties):
14480 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
14481 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
14482 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
14483 (hashcash-double-spend-database):
14484 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
14485 (ruby-deep-indent-paren-style):
14486 * textmodes/flyspell.el (flyspell-auto-correct-binding):
14487 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
14488 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
14489 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
14490 Specify custom types.
14492 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
14493 * bookmark.el (bookmark-bmenu-use-header-line):
14494 * doc-view.el (doc-view-scale-internally):
14495 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
14496 * register.el (register-preview-delay):
14497 * net/shr.el (shr-bullet):
14498 * progmodes/cfengine.el (cfengine-cf-promises)
14499 (cfengine-parameters-indent):
14500 * progmodes/octave.el (inferior-octave-error-regexp-alist):
14501 * textmodes/reftex-vars.el (reftex-label-regexps):
14502 * vc/log-edit.el (log-edit-setup-add-author): Add version.
14504 * net/tls.el (tls-certtool-program): Fix default value.
14506 * desktop.el (desktop-restore-in-current-display):
14507 * newcomment.el (comment-empty-lines):
14508 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
14509 (idlwave-pad-keyword):
14510 * progmodes/tcl.el (tcl-tab-always-indent):
14511 * textmodes/reftex-vars.el (reftex-index-default-tag):
14512 * elec-pair.el (electric-pair-skip-whitespace):
14513 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
14515 * emacs-lisp/authors.el (authors-ignored-files)
14516 (authors-valid-file-names, authors-renamed-files-alist): Additions.
14518 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
14520 * shell.el (shell-dynamic-complete-command): Doc fix.
14521 (shell--command-completion-data): Shell completion now matches
14522 executable filenames from the current buffer's directory, on
14523 systems in which this behavior is the default (windows-nt, ms-dos).
14525 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14527 * net/shr.el (shr-insert): Don't infloop if the width is zero.
14529 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
14531 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
14534 * electric.el: Move all electric-pair-* to elec-pair.el.
14535 * elec-pair.el: New file, split from electric.el.
14537 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
14539 * net/shr.el (shr-find-fill-point): Don't try to fill if the
14540 indentation level is larger than the width, because that will
14542 (shr-insert): Fill repeatedly long texts, so that Japanese is
14543 formatted correctly (bug#16263).
14544 (shr-find-fill-point): Off by one error in comparison with the
14547 2013-12-26 João Távora <joaotavora@gmail.com>
14549 * electric.el (electric-pair-mode): More flexible engine for skip-
14550 and inhibit predicates, new options for pairing-related functionality.
14551 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
14552 if that keeps or improves their balance in buffers.
14553 (electric-pair-delete-adjacent-pairs): Delete the pair when
14554 backspacing over adjacent matched delimiters.
14555 (electric-pair-open-extra-newline): Open extra newline when
14556 inserting newlines between adjacent matched delimiters.
14557 (electric--sort-post-self-insertion-hook):
14558 Sort post-self-insert-hook according to priority values when
14559 minor-modes are activated.
14560 * simple.el (newline-and-indent): Call newline with interactive
14562 (blink-paren-post-self-insert-function): Set priority to 100.
14563 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14564 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
14565 comments. Locally set electric-pair-skip-whitespace to 'chomp and
14566 electric-pair-open-newline-between-pairs to nil.
14568 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
14570 * progmodes/python.el: Use lexical-binding.
14571 (python-nav-beginning-of-defun): Stop searching ASAP.
14573 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
14575 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
14576 Fix interactive spec. Doc fix. (Bug#15754)
14578 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
14580 * emacs-lisp/byte-run.el (eval-when-compile):
14581 * progmodes/cc-defs.el (cc-eval-when-compile):
14582 Fix edebug spec (bug#16184).
14584 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
14586 * net/shr.el (shr-visit-file): Remove debugging function.
14587 (shr-insert): Don't infloop if we can't find a good place to break
14588 the line (bug#16256).
14590 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
14592 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
14593 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
14594 python-nav-lisp-forward-sexp-safe.
14595 (python-nav--forward-sexp): New argument SAFE allows switching
14596 forward sexp movement behavior for parens.
14597 (python-nav-forward-sexp): Throw errors on unterminated parens
14599 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
14600 (python-nav-backward-sexp-safe): New functions.
14601 (python-shell-buffer-substring):
14602 Use `python-nav-forward-sexp-safe'.
14604 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
14606 * net/shr.el (shr-find-fill-point): Don't break lines before a
14608 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
14609 (shr-find-fill-point): Remove the special checks for the quotation
14610 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
14612 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14614 * net/eww.el (eww-form-textarea): Use a different face for
14615 textareas than text input since they have different keymaps
14618 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
14620 * progmodes/python.el (python-nav-beginning-of-statement):
14621 Speed up (Bug#15295).
14623 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
14625 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
14626 the window configuration.
14628 2013-12-24 Eli Zaretskii <eliz@gnu.org>
14630 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
14631 we run on MS-Windows or MS-DOS.
14633 2013-12-24 Martin Rudalics <rudalics@gmx.at>
14635 * window.el (balance-windows-area): Call window-size instead of
14636 window-height and window-width. Bug#16241.
14638 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
14640 * net/eww.el (eww-bookmark-quit): Remove.
14641 (eww-bookmark-browse): Restore the window configuration when you
14642 choose a bookmark (bug#16144).
14644 2013-12-24 Daniel Colascione <dancol@dancol.org>
14646 * icomplete.el: Remove redundant :group arguments to `defcustom'
14648 (icomplete-show-matches-on-no-input): New customizable variable.
14649 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
14650 we have something to show.
14651 (icomplete-exhibit): Compute completions even if we have no user input.
14653 2013-12-23 Daniel Colascione <dancol@dancol.org>
14655 * icomplete.el: Move `provide' to end of file.
14657 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
14659 * net/gnutls.el (gnutls-verify-error): Add version tag.
14661 2013-12-23 Chong Yidong <cyd@gnu.org>
14663 * subr.el (set-transient-map): Rename from
14664 set-temporary-overlay-map. Doc fix.
14666 * face-remap.el (text-scale-adjust):
14667 * indent.el (indent-rigidly):
14668 * kmacro.el (kmacro-call-macro):
14669 * minibuffer.el (minibuffer-force-complete):
14670 * repeat.el (repeat):
14671 * simple.el (universal-argument--mode):
14672 * calendar/todo-mode.el (todo-insert-item--next-param):
14673 * progmodes/f90.el (f90-abbrev-start): Callers changed.
14675 * indent.el (indent-rigidly): Use substitute-command-keys.
14677 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14679 * net/eww.el (eww-tag-select): Add text-property to jump to next
14681 (eww): Add non-supported ftp error.
14683 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14685 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
14686 comments. Handle electric indent after typing `?' and `!'.
14688 2013-12-22 Chong Yidong <cyd@gnu.org>
14690 * faces.el (face-spec-recalc): If the theme specs are not
14691 applicable to a frame, fall back on the defface spec.
14692 This prevents themes from obliterating faces on low-color terminals.
14694 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14696 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
14697 after `{'. We need it after block openers, and it doesn't seem
14698 to hurt after hash openers.
14700 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14702 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
14703 extracted from `ruby-smie-rules'.
14704 (ruby--electric-indent-chars): New variable.
14705 (ruby--electric-indent-p): New function.
14706 (ruby-mode): Use `electric-indent-functions' instead of
14707 `electric-indent-chars'.
14709 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
14711 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
14713 (ruby-smie-rules): Indent plus one level after `=>'.
14715 2013-12-21 Richard Stallman <rms@gnu.org>
14717 * simple.el (newline): Doc fix.
14719 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
14721 * net/eww.el (eww-list-histories, eww-list-histories)
14722 (eww-history-browse, eww-history-quit, eww-history-kill)
14723 (eww-history-mode-map, eww-history-mode): New command and
14724 functions to list browser histories.
14725 (eww-form-text): Support text form with disabled
14726 and readonly attributes.
14727 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
14729 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14731 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
14732 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
14733 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
14734 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
14736 (eww-bookmark-mode-map): Add menu.
14737 (eww-render, eww-mode): Use `setq-local'.
14738 (eww-tool-bar-map): New variable.
14739 (eww-mode): Set `tool-bar-map'.
14740 (eww-view-source): Check for `html-mode' with `fboundp'.
14742 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14744 * net/shr.el (shr--extract-best-source): Don't bug out on audio
14745 elements with text inside. Also remove debugging.
14747 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
14749 * cus-start.el (all): Add ns-use-srgb-colorspace.
14751 2013-12-21 Chong Yidong <cyd@gnu.org>
14753 * custom.el (custom-theme-recalc-face): Do nothing if the face is
14754 undefined. Thus, theme settings for undefined faces do not take
14755 effect until the faces are defined with defface, the same as with
14758 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
14759 (face-spec-reset-face): Don't assign extra properties in temacs.
14760 (face-spec-recalc): Apply X resources too.
14762 2013-12-21 Chong Yidong <cyd@gnu.org>
14764 * faces.el (face-spec-set):
14765 * cus-face.el (custom-theme-set-faces, custom-set-faces):
14766 * custom.el (defface): Doc fixes (Bug#16203).
14768 * indent.el (indent-rigidly-map): Add docstring, and move commands
14769 into named functions.
14770 (indent-rigidly-left, indent-rigidly-right)
14771 (indent-rigidly-left-to-tab-stop)
14772 (indent-rigidly-right-to-tab-stop): New functions. Decide on
14773 indentation direction based on bidi direction, and accumulate
14774 sequential commands in a single undo boundary.
14775 (indent-rigidly--pop-undo): New utility function.
14777 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
14779 * faces.el (read-face-name): Require crm.el when using crm-separator.
14781 2013-12-20 Daniel Colascione <dancol@dancol.org>
14783 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
14784 so that we don't reflow comments into the shebang line.
14786 2013-12-20 Juri Linkov <juri@jurta.org>
14788 * saveplace.el (save-place-to-alist): Add `dired-filename' as
14789 a position when `dired-directory' is non-nil. Check integer
14790 positions with `integerp'.
14791 (toggle-save-place, save-places-to-alist): Add check for
14793 (save-place-find-file-hook): Check integer positions with
14795 (save-place-dired-hook): Use `dired-goto-file' when
14796 `dired-filename' is found in the assoc list. Check integer
14797 positions with `integerp'.
14798 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
14800 * dired.el (dired-initial-position-hook): Rename back from
14801 `dired-initial-point-hook'.
14802 (dired-initial-position): Rename `dired-initial-point-hook' to
14803 `dired-initial-position-hook'.
14804 (dired-file-name-at-point): Doc fix. (Bug#15329)
14806 2013-12-20 Juri Linkov <juri@jurta.org>
14808 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
14809 (read-regexp-suggestions): New function.
14810 (read-regexp): Use `read-regexp-defaults-function' to get default values.
14811 Use `read-regexp-suggestions'. Add non-empty default to history
14813 (occur-read-regexp-defaults-function): Remove function.
14814 (occur-read-primary-args): Use `regexp-history-last' instead of
14815 `occur-read-regexp-defaults-function'.
14817 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
14818 (hi-lock-line-face-buffer, hi-lock-face-buffer)
14819 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
14820 `hi-lock-read-regexp-defaults-function'. Doc fix.
14821 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
14822 with `find-tag-default-as-symbol-regexp'. Doc fix.
14823 (hi-lock-read-regexp-defaults): Remove function.
14824 (hi-lock-regexp-okay): Add check for null.
14826 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
14827 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
14829 * subr.el (find-tag-default-as-symbol-regexp): New function.
14830 (find-tag-default-as-regexp): Move symbol regexp formatting to
14831 `find-tag-default-as-symbol-regexp'.
14833 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
14835 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
14838 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14840 * calendar/todo-mode.el: New implementation of item insertion
14841 commands and key bindings.
14842 (todo-key-prompt): New face.
14843 (todo-insert-item): New command.
14844 (todo-insert-item--parameters): New defconst, replacing defvar
14845 todo-insertion-commands-args-genlist.
14846 (todo-insert-item--param-key-alist): New defconst, replacing
14847 defvar todo-insertion-commands-arg-key-list.
14848 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
14849 (todo-insert-item--argsleft, todo-insert-item--apply-args)
14850 (todo-insert-item--next-param): New functions.
14851 (todo-insert-item--args, todo-insert-item--argleft)
14852 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
14854 (todo-key-bindings-t): Change binding of "i" from
14855 todo-insertion-map to todo-insert-item.
14856 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
14857 (todo-insertion-command-name, todo-insertion-commands-names)
14858 (todo-define-insertion-command, todo-insertion-commands)
14859 (todo-insertion-key-bindings, todo-insertion-map): Remove.
14861 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
14863 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
14864 (todo-toggle-item-highlighting): Use eval-and-compile instead of
14866 (todo-move-category): Allow choosing a non-existing todo file to
14867 move the category to, and create that file.
14868 (todo-default-priority): New user option.
14869 (todo-set-item-priority): Use it.
14870 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
14871 (desktop-restore-file-buffer): Declare.
14872 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
14873 (todo-modes-set-2): Locally set desktop-save-buffer to
14874 todo-desktop-save-buffer.
14875 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
14876 (auto-mode-alist): Add autoload cookie.
14878 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
14880 * emacs-lisp/subr-x.el: Renamed from helpers.el.
14881 helpers.el was a poor choice of name.
14882 (string-remove-prefix): New function.
14883 (string-remove-suffix): New function.
14885 2013-12-20 Martin Rudalics <rudalics@gmx.at>
14887 Fix assignment for new window total sizes.
14888 * window.el (window--pixel-to-size): Remove function.
14889 (window--pixel-to-total-1, window--pixel-to-total):
14890 Fix calculation of new total sizes.
14892 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
14894 * comint.el (comint-output-filter): Fix rear-nonsticky property
14895 placement (Bug#16010).
14897 2013-12-20 Chong Yidong <cyd@gnu.org>
14899 * faces.el (read-color): Minor fix for completion function.
14901 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
14903 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
14904 New option. (Bug#16182)
14905 (ruby-smie--indent-to-stmt-p): Use it.
14906 (ruby-smie-rules): Revert the logic in the handling of `when'.
14907 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
14908 (ruby-deep-arglist, ruby-deep-indent-paren)
14909 (ruby-deep-indent-paren-style): Update docstrings to note that the
14910 vars don't have any effect with SMIE.
14912 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
14914 * calc/calc.el (calc-enter, calc-pop): Use the variable
14915 `calc-context-sensitive-enter'.
14917 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14919 * net/shr.el (shr-insert): Protect against infloops in degenerate
14922 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14924 * progmodes/octave.el (octave): Add link to manual and octave
14926 (octave-mode-menu): Link to octave-mode manual.
14928 2013-12-20 Leo Liu <sdl.web@gmail.com>
14930 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
14931 insertion using skeleton-end-newline. (Bug#16138)
14933 2013-12-20 Juri Linkov <juri@jurta.org>
14935 * replace.el (occur-engine): Use `add-face-text-property'
14936 to add the face property to matches and titles. (Bug#14645)
14938 * hi-lock.el (hi-green): Use lighter color "light green" closer to
14939 the palette of other hi-lock colors.
14940 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
14942 2013-12-19 Juri Linkov <juri@jurta.org>
14944 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
14945 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
14946 (minibuffer-history-symbol): Move variable declaration closer to
14949 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
14952 2013-12-19 Juri Linkov <juri@jurta.org>
14954 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
14956 (log-edit-hook): Add it to :options. (Bug#16170)
14958 2013-12-19 Juri Linkov <juri@jurta.org>
14960 * simple.el (eval-expression-print-format): Don't check for
14961 command names and the last command. Always display additional
14962 formats of the integer result in the echo area, and insert them
14963 to the current buffer only with a zero prefix arg.
14964 Display character when char-displayable-p is non-nil.
14965 (eval-expression): With a zero prefix arg, set `print-length' and
14966 `print-level' to nil, and insert the integer values from
14967 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
14969 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
14970 `eval-last-sexp-arg-internal'. Doc fix.
14971 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
14972 `eval-last-sexp-print-value'. Doc fix.
14973 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
14974 Set `print-length' and `print-level' to nil when arg is zero.
14975 (eval-last-sexp): Doc fix.
14976 (eval-defun-2): Print the integer values from
14977 `eval-expression-print-format' at the end.
14979 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
14980 values from `eval-expression-print-format' at the end.
14982 * ielm.el (ielm-eval-input): Print the integer
14983 values from `eval-expression-print-format' at the end.
14985 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
14987 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
14988 2013-12-11T19:01:44Z!tzz@lifelogs.com.
14990 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
14992 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
14993 (hl-line-highlight, global-hl-line-highlight): Use it.
14994 (hl-line-overlay): Use defvar-local.
14996 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
14998 * term/ns-win.el: Require dnd.
14999 (global-map): Remove drag items.
15000 (ns-insert-text, ns-set-foreground-at-mouse)
15001 (ns-set-background-at-mouse):
15002 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
15003 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
15006 2013-12-19 Glenn Morris <rgm@gnu.org>
15008 * emacs-lisp/ert.el (ert-select-tests):
15009 Fix string/symbol mixup. (Bug#16121)
15011 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
15013 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
15014 keywords to their parent.
15016 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
15018 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
15019 first arg to be a string (fixed dead code), or an operator symbol.
15020 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
15022 (ruby-smie-rules): Remove parent token check in the `.' clause, it
15023 did nothing. Don't respond to `(:after ".")', it will be called
15024 with :before anyway. Remove the ` @ ' rule, it didn't seem to
15025 change anything. Only return indentation for binary operators
15026 when they are hanging. De-dent opening paren when its parent is
15027 `.', otherwise it looks bad when the dot is not at bol or eol
15030 2013-12-19 Juri Linkov <juri@jurta.org>
15032 * replace.el (query-replace-read-args): Split a non-negative arg
15033 and a negative arg into separate elements.
15034 (query-replace, query-replace-regexp, replace-string)
15035 (replace-regexp): Add arg `backward'. Doc fix.
15036 (replace-match-maybe-edit): When new arg `backward' is non-nil,
15037 move point to the beginning of the match.
15038 (replace-search, replace-highlight): Use new arg `backward'
15039 to set the value of `isearch-forward'.
15040 (perform-replace): Add arg `backward' and use it to perform
15041 replacement backward. (Bug#14979)
15043 * isearch.el (isearch-query-replace): Use a negative prefix arg
15044 to call `perform-replace' with a non-nil arg `backward'.
15046 2013-12-18 Juri Linkov <juri@jurta.org>
15048 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
15049 to the default list. Move `log-edit-show-files' to the end.
15050 Add more available functions to options.
15051 (log-edit): Move default specific settings to
15052 `log-edit-insert-message-template'. Don't move point.
15053 (log-edit-insert-message-template): New function.
15054 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
15057 2013-12-18 Juri Linkov <juri@jurta.org>
15059 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
15060 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
15062 2013-12-18 Leo Liu <sdl.web@gmail.com>
15064 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
15067 2013-12-18 Eli Zaretskii <eliz@gnu.org>
15069 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
15070 formats for displaying file sizes when the -s switch is given.
15071 Instead, compute a separate format for displaying the size in
15072 blocks, which is displayed in addition to the "regular" size.
15073 When -h is given in addition to -s, produce size in blocks in
15074 human-readable form as well. (Bug#16179)
15076 2013-12-18 Tassilo Horn <tsdh@gnu.org>
15078 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
15079 Reference tables with ~\ref{...} instead of only \ref{...}.
15081 2013-12-18 Chong Yidong <cyd@gnu.org>
15083 * cus-edit.el (custom-magic-alist): Fix "themed" description
15086 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
15087 is non-nil, do not create a new entry in the symbol's theme-value
15088 or theme-face property; update theme-settings only (Bug#14664).
15089 (custom-available-themes): Doc fix.
15091 * cus-theme.el (custom-new-theme-mode-map): Add bindings
15094 * replace.el (occur-engine): Avoid infloop (Bug#7593).
15096 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
15098 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
15101 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
15103 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
15105 2013-12-18 Glenn Morris <rgm@gnu.org>
15107 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
15108 * cus-start.el (load-prefer-newer): New option.
15110 2013-12-18 Le Wang <l26wang@gmail.com>
15112 * comint.el (comint-previous-matching-input-from-input):
15113 Retain point (Bug#13404).
15115 2013-12-18 Chong Yidong <cyd@gnu.org>
15117 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
15119 2013-12-18 Glenn Morris <rgm@gnu.org>
15121 * mail/emacsbug.el (report-emacs-bug):
15122 Only mention enable-multibyte-characters if non-standard.
15124 2013-12-17 Juri Linkov <juri@jurta.org>
15126 * arc-mode.el (archive-extract-by-file): Check if directory exists
15127 before deletion to not show irrelevant errors if it doesn't exist.
15129 2013-12-17 Juri Linkov <juri@jurta.org>
15131 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
15134 * net/eww.el (browse-web): Add alias to `eww'.
15135 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
15136 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
15138 * net/browse-url.el (browse-url-browser-function): Move `eww'
15139 closer to similar functions.
15141 * startup.el (fancy-startup-screen, fancy-about-screen):
15142 Set browse-url-browser-function to eww-browse-url locally.
15145 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
15147 * window.el (window--pixel-to-total): Remove unused `mini' var.
15148 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
15149 (split-window): Remove unused `new' var.
15150 (window--display-buffer): Remove unused `frame' and `delta' vars.
15151 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
15152 and display-width'.
15154 2013-12-17 Martin Rudalics <rudalics@gmx.at>
15156 * dired.el (dired-mark-pop-up):
15157 * register.el (register-preview): Don't bind
15158 split-height-threshold here since it's now done in
15159 display-buffer-below-selected.
15161 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
15163 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
15164 xterm-rgb-convert-to-16bit.
15165 (rxvt-register-default-colors): Standardize with
15166 xterm-register-default-colors (Bug#14078).
15168 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
15170 * simple.el (kill-region): Pass mark first, then point, so that
15171 kill-append works right (Bug#12819).
15172 (copy-region-as-kill, kill-ring-save): Likewise.
15174 2013-12-17 Leo Liu <sdl.web@gmail.com>
15176 * net/rcirc.el (rcirc-add-face):
15177 * eshell/em-prompt.el (eshell-emit-prompt):
15178 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
15181 2013-12-17 Chong Yidong <cyd@gnu.org>
15183 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
15184 Suggested by Xue Fuqiao.
15186 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
15188 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
15190 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
15192 * net/shr.el (shr-insert-document): Remove unused var
15193 `shr-preliminary-table-render'.
15194 (shr-rescale-image): Remove unused arg `force'.
15195 (shr-put-image): Update calls accordingly.
15196 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
15198 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
15200 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
15201 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
15202 :close-all, to see which indentation method to use (Bug#16116).
15203 (smie-rules-function): Document the method :close-all.
15205 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15207 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
15209 * net/eww.el (eww-display-html): If we can't find the anchor we're
15210 looking for, then go to point-min.
15212 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
15214 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
15215 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
15216 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
15217 Expand dir too, in case it's relative.
15219 2013-12-16 Juri Linkov <juri@jurta.org>
15221 * desktop.el (desktop-auto-save-timeout): Change default to
15222 `auto-save-timeout'. Doc fix.
15223 (desktop-save): Skip the timestamp in desktop-saved-frameset
15224 when checking for auto-save changes.
15225 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
15226 `desktop-auto-save' is called repeatedly by the idle timer.
15227 (desktop-auto-save-set-timer): Replace `run-with-timer' with
15228 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
15231 2013-12-16 Juri Linkov <juri@jurta.org>
15233 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
15235 (isearch-pre-command-hook): Check `this-command' for symbolp.
15237 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
15239 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
15241 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
15243 * progmodes/cfengine.el (cfengine3--current-word): Remove.
15244 (cfengine3--current-function): Bring in the current-function
15245 functionality from `cfengine3--current-word'.
15246 (cfengine3-completion-function): Bring in the
15247 bounds-of-current-word functionality from
15248 `cfengine3--current-word'.
15250 2013-12-16 Martin Rudalics <rudalics@gmx.at>
15252 * window.el (display-buffer-below-selected):
15253 Bind split-height-threshold to 0 as suggested by Juri Linkov.
15255 2013-12-16 Leo Liu <sdl.web@gmail.com>
15257 * progmodes/compile.el (compile-goto-error): Do not push-mark.
15258 Remove NOMSG arg and all uses changed.
15260 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
15262 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
15263 (cua--deactivate-rectangle): Don't deactivate the mark.
15264 (cua-set-rectangle-mark): Don't set mark-active since
15265 cua--activate-rectangle already does it for us.
15266 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
15267 non-rectangular region.
15269 * emulation/cua-base.el (cua-repeat-replace-region):
15270 Use with-current-buffer.
15272 * net/gnutls.el: Use cl-lib.
15273 (gnutls-negotiate): `mapcan' -> cl-mapcan.
15275 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
15277 * emacs-lisp/package.el (package-built-in-p): Support both
15278 built-in and the package.el converted package descriptions.
15279 (package-show-package-list): Allow keywords.
15280 (package-keyword-button-action): Use it instead of
15281 `finder-list-matches'.
15282 (package-menu-filter-interactive): Interactive filtering (by
15284 (package-menu--generate): Support keywords and change keymappings
15285 and headers when they are given.
15286 (package--has-keyword-p): Helper function.
15287 (package-menu--refresh): Use it.
15288 (package--mapc): Helper function.
15289 (package-all-keywords): Use it.
15290 (package-menu-mode-map): Set up menu items and keybindings to
15291 provide a filtering UI.
15293 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
15295 * net/gnutls.el (gnutls-verify-error): New defcustom to control
15296 the behavior when a certificate fails validation. Defaults to
15297 old behavior: never abort, just warn.
15298 (gnutls-negotiate): Use it.
15300 2013-12-14 Martin Rudalics <rudalics@gmx.at>
15302 * window.el (display-buffer-below-selected): Never split window
15303 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
15305 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
15307 * emacs-lisp/package.el (package--prepare-dependencies): New function.
15308 (package-buffer-info): Use it (bug#15108).
15310 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
15312 * icomplete.el (icomplete-completions): Make sure the prefix is already
15313 displayed elsewhere before hiding it (bug#16219).
15315 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
15317 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
15318 open-paren tokens when preceded by a open-paren, too.
15319 (ruby-smie-rules): Handle virtual indentation after open-paren
15320 tokens specially. If there is code between it and eol, return the
15321 column where is starts (Bug#16118).
15323 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
15325 * progmodes/cfengine.el: Fix `add-hook' doc.
15326 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
15327 (cfengine3--current-word): Fix parameters.
15328 (cfengine3-make-syntax-cache): Simplify further.
15329 (cfengine3-completion-function, cfengine3--current-function):
15330 Use `assq' for symbols.
15331 (cfengine3--current-function): Fix `cfengine3--current-word' call.
15333 2013-12-13 Glenn Morris <rgm@gnu.org>
15335 * loadup.el (load-path): Warn if site-load or site-init changes it.
15336 No more need to reset it when bootstrapping.
15338 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
15340 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
15341 locations for cf-promises.
15342 (cfengine-mode-syntax-functions-regex): New caching variable.
15343 (cfengine3-fallback-syntax): Fallback syntax for cases where
15344 cf-promises doesn't run.
15345 (cfengine3--current-word): Reimplement using
15346 `cfengine-mode-syntax-functions-regex'.
15347 (cfengine3-completion-function, cfengine3--current-function):
15348 Use `cfengine3-make-syntax-cache' directly.
15349 (cfengine3-clear-syntax-cache): New function.
15350 (cfengine3-make-syntax-cache): Simplify and create
15351 `cfengine-mode-syntax-functions-regex' on demand.
15352 (cfengine3-format-function-docstring): Don't call
15353 `cfengine3-make-syntax-cache' explicitly.
15355 2013-12-13 Martin Rudalics <rudalics@gmx.at>
15357 Fix windmove-find-other-window broken after pixelwise resizing
15359 * windmove.el (windmove-other-window-loc): Revert change from
15361 (windmove-find-other-window): Call window-in-direction.
15362 * window.el (window-in-direction): New arguments SIGN, WRAP and
15363 MINI to emulate original windmove-find-other-window behavior.
15365 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
15367 * simple.el (blink-matching--overlay): New variable.
15368 (blink-matching-open): Instead of moving point, highlight the
15369 matching paren with an overlay
15370 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
15372 * faces.el (paren-showing-faces, show-paren-match)
15373 (show-paren-mismatch): Move from paren.el.
15375 2013-12-13 Leo Liu <sdl.web@gmail.com>
15377 * indent.el (indent-region): Disable progress reporter in
15378 minibuffer. (Bug#16108)
15380 * bindings.el (visual-order-cursor-movement): Fix version.
15382 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
15384 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
15385 Also match after beginning of line.
15386 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
15387 files. Thanks to Russell Sim. (Bug#15378)
15389 2013-12-13 Juri Linkov <juri@jurta.org>
15391 * simple.el <Keypad support>: Remove key bindings duplicated
15392 with bindings.el. (Bug#14397)
15394 2013-12-13 Juri Linkov <juri@jurta.org>
15396 * comint.el (comint-mode-map): Replace `delete-char' with
15397 `delete-forward-char'. (Bug#16109)
15399 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
15401 * progmodes/python.el (python-indent-calculate-indentation):
15402 Fix de-denters cornercase. (Bug#15731)
15404 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
15406 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
15407 (advice--make): Pay attention to `depth'.
15408 (advice--make-1): Don't autoload commands eagerly.
15409 * emacs-lisp/elp.el (elp-instrument-function):
15410 * emacs-lisp/trace.el (trace-function-internal):
15411 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
15413 * iswitchb.el (iswitchb-mode): Don't belittle ido.
15415 2013-12-12 Eli Zaretskii <eliz@gnu.org>
15417 * term/w32-win.el (w32-handle-dropped-file):
15418 * startup.el (normal-top-level):
15419 * net/browse-url.el (browse-url-file-url):
15420 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
15421 decode file names using 'utf-8' rather than
15422 file-name-coding-system.
15424 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
15426 * progmodes/python.el (python-indent-context)
15427 (python-indent-calculate-indentation): Fix auto-identation
15428 behavior for comment blocks. (Bug#15916)
15430 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
15432 * progmodes/python.el (python-indent-calculate-indentation):
15433 When determining indentation, don't treat "return", "pass", etc., as
15434 operators when they are just string constituents. (Bug#15812)
15436 2013-12-12 Juri Linkov <juri@jurta.org>
15438 * uniquify.el (uniquify-buffer-name-style): Change default to
15439 `post-forward-angle-brackets'.
15441 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
15442 `uniquify'. Change default to `post-forward-angle-brackets'.
15444 2013-12-11 Glenn Morris <rgm@gnu.org>
15446 * emacs-lisp/package.el (finder-list-matches):
15447 Autoload rather than falsely declaring.
15449 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
15451 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
15452 (eww-mode-map): Use them.
15454 2013-12-11 Martin Rudalics <rudalics@gmx.at>
15456 * window.el (display-buffer-in-side-window): Fix doc-string
15459 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
15461 * vc/vc-git.el: Silence byte-compiler warnings.
15462 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
15463 (log-edit-set-header): Declare.
15465 2013-12-11 Eli Zaretskii <eliz@gnu.org>
15467 * Makefile.in (custom-deps, finder-data): Run output file names
15468 through unmsys--file-name. (Bug#16099)
15470 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
15472 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
15473 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
15475 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
15476 instead of deleting the selection "by hand" (bug#16098).
15477 Rely on insert-for-yank to yank rectangles.
15478 (cua-highlight-region-shift-only): Mark obsolete.
15479 (cua-mode): Don't enable/disable transient-mark-mode,
15480 shift-select-mode (cua-mode works both with and without them), and
15481 pc-selection-mode (obsolete).
15482 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
15483 (cua--deactivate-rectangle): Deactivate it.
15485 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
15486 (delete-selection-helper): Make sure yank starts at the top of the
15488 (minibuffer-keyboard-quit): Use region-active-p.
15490 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
15492 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
15493 to `delete' (bug#16109).
15495 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15497 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
15498 info manual and show keybindings and set `:group' keyword.
15500 2013-12-11 Juri Linkov <juri@jurta.org>
15502 * delsel.el (delete-active-region): Let-bind `this-command'
15503 to prevent `kill-region' from changing its original value.
15504 (delete-selection-helper): Handle `overwrite-mode' for the type
15505 `kill' exactly the same way as for the type `t'.
15506 (insert-char, quoted-insert, reindent-then-newline-and-indent):
15507 Support more commands. (Bug#13312)
15509 2013-12-11 Juri Linkov <juri@jurta.org>
15511 * bindings.el: Map kp keys to non-kp keys systematically
15512 with basic modifiers control, meta and shift. (Bug#14397)
15514 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15516 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
15517 "Close browser" menu items. Fix wrong function of "List
15520 2013-12-11 Juri Linkov <juri@jurta.org>
15522 * misearch.el (multi-isearch-buffers): Set the value of
15523 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
15524 arg of isearch-forward to t.
15525 (multi-isearch-buffers-regexp): Set the value of
15526 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
15527 arg of isearch-forward-regexp to t.
15528 (multi-isearch-files): Set the value of
15529 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
15530 arg of isearch-forward to t.
15531 (multi-isearch-files-regexp): Set the value of
15532 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
15533 arg of isearch-forward-regexp to t. (Bug#16035)
15535 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
15536 arg of isearch-forward to t.
15537 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
15538 arg of isearch-forward-regexp to t.
15539 (dired-isearch-filter-filenames): Remove unnecessary check for
15540 `dired-isearch-filenames'.
15542 * comint.el (comint-history-isearch-backward):
15543 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
15544 (comint-history-isearch-backward-regexp):
15545 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
15547 2013-12-10 Eli Zaretskii <eliz@gnu.org>
15549 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
15550 unmsys--file-name. (Bug#16099)
15552 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
15554 * emacs-lisp/package.el (package-keyword-button-action):
15555 Remove finder.el require dependency.
15557 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
15559 * emacs-lisp/package.el: Require finder.el.
15560 (describe-package-1): Add keyword buttons.
15561 (package-make-button): New convenience function.
15562 (package-keyword-button-action): Keyword button action using
15563 `finder-list-matches'.
15565 2013-12-09 Eli Zaretskii <eliz@gnu.org>
15567 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
15570 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
15572 * autorevert.el (auto-revert-notify-add-watch): Do not handle
15575 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
15577 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
15578 after the end of a percent literal.
15580 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
15582 * progmodes/ruby-mode.el (ruby-forward-string): Document.
15583 Handle caret-delimited strings (Bug#16079).
15585 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
15587 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
15588 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
15589 `ruby-parse-partial' (Bug#16078).
15591 2013-12-09 Leo Liu <sdl.web@gmail.com>
15593 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
15595 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
15597 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
15598 (js-switch-indent-offset): New option.
15599 (js--proper-indentation): Use it. And handle the case when
15600 "default" is actually a key in an object literal.
15601 (js--same-line): New function.
15602 (js--multi-line-declaration-indentation): Use it.
15603 (js--indent-in-array-comp, js--array-comp-indentation):
15605 (js--proper-indentation): Use them, to handle array comprehension
15608 2013-12-08 Leo Liu <sdl.web@gmail.com>
15610 * progmodes/flymake.el (flymake-highlight-line): Re-write.
15611 (flymake-make-overlay): Remove arg MOUSE-FACE.
15612 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
15614 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15616 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
15618 (redisplay-highlight-region-function): Use it.
15620 * emulation/cua-base.el (cua--explicit-region-start)
15621 (cua--last-region-shifted): Remove.
15622 (cua--deactivate): Use deactivate-mark.
15623 (cua--pre-command-handler-1): Don't handle shift-selection.
15624 (cua--post-command-handler-1): Don't change transient-mark-mode.
15625 (cua--select-keymaps): Use region-active-p rather than
15626 cua--explicit-region-start or cua--last-region-shifted.
15627 (cua-mode): Enable shift-select-mode.
15629 2013-12-08 Leo Liu <sdl.web@gmail.com>
15631 * progmodes/flymake.el (flymake-popup-current-error-menu):
15632 Rename from flymake-display-err-menu-for-current-line. Reimplement.
15633 (flymake-posn-at-point-as-event, flymake-popup-menu)
15634 (flymake-make-emacs-menu): Remove. (Bug#16077)
15636 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15638 * rect.el (rectangle-mark-mode): Activate mark even if
15639 transient-mark-mode is off (bug#16066).
15640 (rectangle--highlight-for-redisplay): Fix boundary condition when point
15641 is > mark and at bolp.
15643 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
15644 (region-extract-function): Use it.
15645 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
15646 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
15648 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
15649 kill-ring-save, kill-region, delete-char, delete-forward-char.
15650 Ignore self-insert-iso.
15652 * emulation/cua-gmrk.el (cua--init-global-mark):
15653 Ignore `self-insert-iso'.
15655 * emulation/cua-base.el (cua--prefix-copy-handler)
15656 (cua--prefix-cut-handler): Rely on region-extract-function rather than
15657 checking cua--rectangle.
15658 (cua-delete-region): Use region-extract-function.
15659 (cua-replace-region): Delete function.
15660 (cua-copy-region, cua-cut-region): Obey region-extract-function.
15661 (cua--pre-command-handler-1): Don't do the delete-selection thing.
15662 (cua--self-insert-char-p): Ignore `self-insert-iso'.
15663 (cua--init-keymaps): Don't remap delete-selection commands.
15664 (cua-mode): Use delete-selection-mode instead of rolling our own
15667 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
15668 Obey region-extract-function.
15670 Make registers and delete-selection-mode work on rectangles.
15671 * register.el (describe-register-1): Don't modify the register's value.
15672 (copy-to-register): Obey region-extract-function.
15673 * delsel.el (delete-active-region): Obey region-extract-function.
15675 2013-12-08 Leo Liu <sdl.web@gmail.com>
15677 * progmodes/flymake.el (flymake, flymake-error-bitmap)
15678 (flymake-warning-bitmap, flymake-fringe-indicator-position)
15679 (flymake-compilation-prevents-syntax-check)
15680 (flymake-start-syntax-check-on-newline)
15681 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
15682 (flymake-start-syntax-check-on-find-file, flymake-log-level)
15683 (flymake-xml-program, flymake-master-file-dirs)
15684 (flymake-master-file-count-limit)
15685 (flymake-allowed-file-name-masks): Relocate.
15686 (flymake-makehash, flymake-float-time)
15687 (flymake-replace-regexp-in-string, flymake-split-string)
15688 (flymake-get-temp-dir): Remove.
15689 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
15690 (flymake-current-row, flymake-selected-frame)
15691 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
15692 related functions. (Bug#16077)
15694 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
15696 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
15698 2013-12-07 Tassilo Horn <tsdh@gnu.org>
15700 * help-fns.el (describe-function-1): Use new advice-* functions
15701 rather than old ad-* functions. Fix function type description and
15702 source links for advised functions and subrs.
15704 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15706 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
15708 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
15710 * progmodes/compile.el (compilation-start):
15711 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
15713 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
15714 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
15716 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15718 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
15719 Touch up the last change.
15721 2013-12-06 Leo Liu <sdl.web@gmail.com>
15723 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
15724 (inferior-octave-startup): Always use "octave> " for prompt.
15725 (octave-goto-function-definition)
15726 (octave-sync-function-file-names)
15727 (octave-find-definition-default-filename): Remove redundant backquotes.
15729 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15731 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
15733 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
15734 where appropriate already.
15735 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
15736 end of method names (Bug#15874).
15738 2013-12-06 Juri Linkov <juri@jurta.org>
15740 * isearch.el (isearch--saved-overriding-local-map):
15741 New internal variable.
15742 (isearch-mode): Set it to the initial value of
15743 `overriding-terminal-local-map'.
15744 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
15745 with `isearch--saved-overriding-local-map'. (Bug#16035)
15747 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
15749 * progmodes/octave.el (inferior-octave-completion-table):
15750 Turn back into function, use `completion-table-with-cache'
15751 (Bug#11906). Update all references.
15753 * minibuffer.el (completion-table-with-cache): New function.
15755 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
15757 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
15759 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
15761 * net/eww.el (eww-current-source): New variable to store page
15763 (eww-display-html, eww-mode, eww-save-history)
15764 (eww-restore-history): Use it.
15765 (eww-view-source): New command to view page source.
15766 Opportunistically uses `html-mode' to highlight the buffer.
15767 (eww-mode-map): Install it.
15769 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
15771 * net/dbus.el (dbus-unregister-service)
15772 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
15774 (dbus-unregister-service): Skip :serial entries in
15775 `dbus-registered-objects-table'.
15776 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
15778 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
15780 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
15781 around keywords with extra `split-string' argument.
15783 2013-12-04 Martin Rudalics <rudalics@gmx.at>
15785 * windmove.el (windmove-other-window-loc): Handle navigation
15786 between windows (excluding the minibuffer window - Bug#16017).
15788 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
15790 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
15791 in D-Bus type syntax.
15792 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
15793 preserve unibyte strings. (Bug#16048)
15795 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15797 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
15798 Call force-mode-line-update is the proper buffer (bug#16042).
15800 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
15802 * vc/log-edit.el (log-edit-add-new-comment): Rename to
15803 `log-edit-remember-comment', make argument optional. Adjust all
15805 (log-edit-mode): Add `log-edit-remember-comment' to
15806 `kill-buffer-hook' locally.
15807 (log-edit-kill-buffer): Don't remember comment explicitly since
15808 the buffer is killed anyway.
15810 2013-12-04 Juri Linkov <juri@jurta.org>
15812 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
15813 add-hook and remove-hook for multi-buffer search. (Bug#16035)
15815 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
15817 * notifications.el (notifications-close-notification): Call the
15818 D-Bus method with ID being a `:uint32'. (Bug#16030)
15820 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
15822 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
15824 2013-12-03 Juri Linkov <juri@jurta.org>
15826 * progmodes/compile.el (compilation-start): Rename window alist
15827 entry `no-display-ok' to `allow-no-window'.
15829 * simple.el (shell-command): Add window alist entry
15830 `allow-no-window' to `display-buffer'.
15831 (async-shell-command): Doc fix.
15833 * window.el (display-buffer-no-window): New action function.
15834 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
15836 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15838 * vc/log-edit.el (log-edit-set-header): Extract from
15839 `log-edit-toggle-header'.
15840 (log-edit-extract-headers): Separate the summary, when extracted
15841 from header, from the rest of the message with an empty line.
15843 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
15844 line, if present, to the Summary header.
15846 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15848 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
15849 in current-buffer (bug#16029).
15851 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
15853 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
15854 (debugger-mode-map): Bind it.
15855 (debugger--backtrace-base): New function.
15856 (debugger-eval-expression): Use it.
15857 (debugger-frame-number): Skip local vars when present.
15858 (debugger--locals-visible-p, debugger--insert-locals)
15859 (debugger--show-locals, debugger--hide-locals): New functions.
15861 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
15863 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
15865 (tramp-get-remote-locale): New defun.
15866 (tramp-open-connection-setup-interactive-shell): Use it.
15868 2013-12-02 Leo Liu <sdl.web@gmail.com>
15870 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
15872 * progmodes/sh-script.el (sh-shell-process):
15873 * progmodes/octave.el (inferior-octave-process-live-p):
15874 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
15875 (gdb-inferior-io-sentinel):
15876 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
15878 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15880 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
15881 `save-selected-window' to `log-edit-hide-buf'. This makes
15882 `log-edit-show-files' idempotent.
15883 (log-edit-show-files): Mark the new window as dedicated.
15885 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
15887 * vc/log-edit.el (log-edit-mode-map): Add binding for
15888 `log-edit-kill-biffer'.
15889 (log-edit-hide-buf): Add a FIXME comment.
15890 (log-edit-add-new-comment): New function, extracted from
15892 (log-edit-done, log-edit-add-to-changelog): Use it.
15893 (log-edit-kill-buffer): New command.
15895 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15897 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
15898 instead of killing the buffer.
15900 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15902 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
15904 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15906 * net/eww.el (eww-form-checkbox-selected-symbol)
15907 (eww-form-checkbox-symbol): New customizable variable.
15908 (eww-form-checkbox, eww-toggle-checkbox):
15909 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
15911 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
15912 (shr--get-media-pref, shr--extract-best-source): New function.
15913 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
15914 no :src tag was specified.
15916 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
15917 (eww-render): Handle `eww-use-external-browser-for-content-type'.
15918 Use \\` to match beginning of string instead of ^.
15919 (eww-browse-with-external-browser): Provide optional URL parameter.
15920 (eww-render): Set `eww-current-title' back to "".
15922 * net/shr.el (shr-tag-video): Display content for video if no
15923 poster is available.
15924 (shr-tag-audio): Add support for <audio> tag.
15926 * net/eww.el (eww-text-input-types): New const.
15927 (eww-process-text-input): Treat input types in
15928 `eww-text-input-types' as text.
15930 * net/shr.el (shr-tag-table): Fix comment typo.
15932 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15934 * net/eww.el (eww-follow-link): New command to avoid reloading
15935 pages when we follow #target links (bug#15243).
15936 (eww-quit): Special mode buffers shouldn't query before exiting.
15938 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
15940 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
15943 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15945 * net/eww.el (eww-restore-history): Update the window title after
15946 moving in the history.
15947 (eww-current-dom): New variable used to save the current DOM.
15949 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
15951 * vc/log-edit.el (log-edit-mode-map): Add binding for
15952 `log-edit-beginning-of-line'.
15953 (log-edit-setup-add-author): New user option.
15954 (log-edit-beginning-of-line): New command.
15955 (log-edit): Move major mode call above the contents setup so that
15956 the local variable values are already applied.
15957 (log-edit): Only insert "Author: " when
15958 `log-edit-setup-add-author' is non-nil.
15959 (log-edit): When SETUP is non-nil, position point after ": "
15960 instead of point-min.
15962 2013-12-01 Glenn Morris <rgm@gnu.org>
15964 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
15966 2013-11-30 Eli Zaretskii <eliz@gnu.org>
15968 * startup.el (fancy-splash-frame): On MS-Windows, trigger
15969 redisplay to make sure the initial frame gets a chance to become
15970 visible. (Bug#16014)
15972 2013-11-30 Martin Rudalics <rudalics@gmx.at>
15974 Support resizing frames and windows pixelwise.
15975 * cus-start.el (frame-resize-pixelwise)
15976 (window-resize-pixelwise): New entries.
15977 * emacs-lisp/debug.el (debug): Use window-total-height instead
15978 of window-total-size.
15979 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
15980 * help.el (describe-bindings-internal): Use help-buffer as
15981 argument for with-help-window.
15982 (temp-buffer-max-width): New option.
15983 (resize-temp-buffer-window, help-window-setup)
15984 (with-help-window): Rewrite.
15985 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
15987 * window.el (frame-char-size, window-min-pixel-height)
15988 (window-safe-min-pixel-height, window-safe-min-pixel-width)
15989 (window-min-pixel-width, window-safe-min-pixel-size)
15990 (window-combination-p, window-safe-min-size)
15991 (window-resizable-p, window--size-to-pixel)
15992 (window--pixel-to-size, window--resize-apply-p): New functions.
15993 (window-safe-min-height): Fix doc-string.
15994 (window-size, window-min-size, window--min-size-1)
15995 (window-sizable, window-sizable-p, window--min-delta-1)
15996 (window-min-delta, window--max-delta-1, window-max-delta)
15997 (window--resizable, window--resizable-p, window-resizable)
15998 (window-full-height-p, window-full-width-p, window-at-side-p)
15999 (window--in-direction-2, window-in-direction)
16000 (window--resize-reset-1, window--resize-mini-window)
16001 (window-resize, window-resize-no-error)
16002 (window--resize-child-windows-normal)
16003 (window--resize-child-windows, window--resize-siblings)
16004 (window--resize-this-window, window--resize-root-window)
16005 (window--resize-root-window-vertically)
16006 (adjust-window-trailing-edge, enlarge-window, shrink-window)
16007 (maximize-window, minimize-window, delete-window)
16008 (quit-restore-window, window-split-min-size, split-window)
16009 (balance-windows-2, balance-windows)
16010 (balance-windows-area-adjust, balance-windows-area)
16011 (window--state-get-1, window-state-get, window--state-put-1)
16012 (window--state-put-2, window-state-put)
16013 (display-buffer-record-window, window--display-buffer):
16014 Make functions handle pixelwise sizing of windows.
16015 (display-buffer--action-function-custom-type)
16016 (display-buffer-fallback-action):
16017 Add display-buffer-in-previous-window.
16018 (display-buffer-use-some-window): Resize window to height it had
16020 (fit-window-to-buffer-horizontally): New option.
16021 (fit-frame-to-buffer): Describe new values.
16022 (fit-frame-to-buffer-bottom-margin): Replace with
16023 fit-frame-to-buffer-margins.
16024 (window--sanitize-margin): New function.
16025 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
16026 using window-text-pixel-size.
16028 2013-11-30 Glenn Morris <rgm@gnu.org>
16030 * emacs-lisp/bytecomp.el (byte-compile-form):
16031 Make the `interactive-only' warning like the `obsolete' one.
16032 * comint.el (comint-run):
16033 * files.el (insert-file-literally, insert-file):
16034 * replace.el (replace-string, replace-regexp):
16035 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
16036 (goto-line, insert-buffer, next-line, previous-line):
16037 Tweak `interactive-only' spec.
16039 Stop keeping (most) generated cedet grammar files in the repository.
16040 * Makefile.in (semantic): New.
16041 (compile-main): Depend on semantic.
16043 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16045 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
16046 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
16048 * uniquify.el (uniquify-buffer-name-style): Change default.
16050 * loadup.el: Preload "uniquify".
16052 * time.el (display-time-update): Update all mode lines (bug#15999).
16054 * electric.el (electric-indent-mode): Enable by default.
16055 * loadup.el: Preload "electric".
16057 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
16059 * emacs-lisp/helpers.el (string-empty-p): New function.
16060 (string-blank-p): New function.
16062 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
16064 * imenu.el (imenu--index-alist): Add missing dot to the docstring
16067 2013-11-29 Andreas Politz <politza@fh-trier.de>
16068 * imenu.el (imenu--subalist-p): Don't error on non-conses and
16069 allow non-lambda lists as functions.
16070 (imenu--in-alist): Don't recurse into non-subalists.
16071 (imenu): Don't pass function itself as an argument (Bug#14029).
16073 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16075 * progmodes/python.el (python-mode-map): Remove binding for ":".
16076 (python-indent-electric-colon): Remove command.
16077 (python-indent-post-self-insert-function): Integrate the previous code
16078 of python-indent-electric-colon. Make it conditional on
16079 electric-indent-mode.
16080 (python-mode): Add ?: to electric-indent-chars.
16081 Move python-indent-post-self-insert-function to the end of
16082 post-self-insert-hook.
16084 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16086 * doc-view.el (doc-view-goto-page): Update mode-line.
16088 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
16090 2013-11-27 Glenn Morris <rgm@gnu.org>
16092 * international/charprop.el, international/uni-bidi.el:
16093 * international/uni-category.el, international/uni-combining.el:
16094 * international/uni-comment.el, international/uni-decimal.el:
16095 * international/uni-decomposition.el, international/uni-digit.el:
16096 * international/uni-lowercase.el, international/uni-mirrored.el:
16097 * international/uni-name.el, international/uni-numeric.el:
16098 * international/uni-old-name.el, international/uni-titlecase.el:
16099 * international/uni-uppercase.el:
16100 Remove generated files from VCS repository.
16102 2013-11-27 Eli Zaretskii <eliz@gnu.org>
16104 * filenotify.el (file-notify-add-watch): Don't special-case
16105 w32notify when computing the directory to watch.
16107 2013-11-27 Glenn Morris <rgm@gnu.org>
16109 Make bootstrap without generated uni-*.el files possible again.
16110 * loadup.el: Update command-line-args checking for unidata-gen.
16111 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
16112 * composite.el, international/characters.el:
16113 Handle unicode tables being undefined.
16115 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
16116 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
16117 (compile-main): Depend on leim rule.
16119 * loadup.el: Move leim-list.el to leim/ subdirectory.
16120 * startup.el (normal-top-level): No more leim directory.
16121 * international/ja-dic-cnv.el (skkdic-convert):
16122 Disable version-control and autoloads in output files.
16123 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
16124 Disable version-control and autoloads in output files.
16125 * leim/quail: Move here from ../leim.
16126 * leim/quail/hangul.el (hangul-input-method-activate):
16127 Add autoload cookie.
16128 (generated-autoload-load-name): Set file-local value.
16129 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
16130 (generated-autoload-load-name): Set file-local value.
16132 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
16134 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
16135 (eww-add-bookmark): Ask confirmation when add to bookmarks.
16136 (eww-quit): Ask confirmation before quitting eww.
16138 2013-11-26 Eli Zaretskii <eliz@gnu.org>
16140 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
16141 reading output from Diff on MS-Windows and MS-DOS.
16143 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
16145 * emacs-lisp/helpers.el (string-reverse): New function.
16147 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
16149 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
16150 names on MS Windows, like "/[::1]:".
16152 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
16155 2013-11-26 Glenn Morris <rgm@gnu.org>
16157 * progmodes/python.el (python-indent-guess-indent-offset):
16158 Avoid corner-case error. (Bug#15975)
16160 Preload leim-list.el. (Bug#4789)
16161 * loadup.el: Load leim-list.el when found.
16162 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
16164 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
16166 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
16168 * emacs-lisp/helpers.el (string-join): New function.
16170 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
16172 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16173 Mark as obsolete and replace it with a symbol property.
16174 (byte-compile-form): Use new 'interactive-only property.
16175 * comint.el, files.el, replace.el, simple.el:
16176 Apply new 'interactive-only properly.
16178 2013-11-25 Martin Rudalics <rudalics@gmx.at>
16180 * window.el (display-buffer-at-bottom): Make sure that
16181 split-window-sensibly creates the new window on bottom
16184 2013-11-23 David Kastrup <dak@gnu.org>
16186 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
16187 on the conflict markers when available.
16188 (smerge--get-marker): New function.
16189 (smerge-end-re, smerge-base-re): Add subgroup.
16191 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16193 * frame.el (handle-focus-in, handle-focus-out): Add missing
16196 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
16198 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
16199 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
16201 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
16203 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
16204 (gomoku--last-pos): New var.
16205 (gomoku--intangible-chars): New const.
16206 (gomoku--intangible): New function.
16207 (gomoku-mode): Use it. Derive from special-mode.
16208 (gomoku-move-up): Adjust line count.
16209 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
16210 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
16211 Simplify accordingly.
16213 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
16214 Remove blink-cursor code.
16215 (blink-cursor-timer-function, blink-cursor-suspend):
16216 Don't special-case GUIs.
16217 (blink-cursor-mode): Use focus-in/out-hook.
16219 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
16221 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
16222 work when annotation is invisible (Bug#13886).
16224 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
16226 * json.el (json-alist-p): Only return non-nil if the alist has
16227 simple keys (Bug#13518).
16229 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
16231 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
16232 when control-statement is the first statement in a buffer (Bug#15956).
16234 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
16236 * imenu.el (imenu-generic-skip-comments-and-strings):
16237 New option (Bug#15560).
16238 (imenu--generic-function): Use it.
16240 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
16242 * minibuffer.el (completion--in-region-1): Scroll the correct window.
16245 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
16247 * emacs-lisp/helpers.el: Add some string helpers.
16248 (string-trim-left): Removes leading whitespace.
16249 (string-trim-right): Removes trailing whitespace.
16250 (string-trim): Removes leading and trailing whitespace.
16252 * subr.el (string-suffix-p): New function.
16254 2013-11-23 Glenn Morris <rgm@gnu.org>
16256 * progmodes/python.el (python-shell-send-file):
16257 Add option to delete file when done. (Bug#15647)
16258 (python-shell-send-string, python-shell-send-region): Use it.
16260 2013-11-23 Ivan Shmakov <ivan@siamics.net>
16262 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
16263 to set buffer-read-only to t, never to nil. (Bug#15938)
16265 * textmodes/tex-mode.el (latex-noindent-environments):
16266 Add safe-local-variable property. (Bug#15936)
16268 2013-11-23 Glenn Morris <rgm@gnu.org>
16270 * textmodes/enriched.el (enriched-mode): Doc fix.
16271 * emacs-lisp/authors.el (authors-renamed-files-alist):
16272 Add enriched.doc -> enriched.txt.
16274 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
16276 2013-11-22 Leo Liu <sdl.web@gmail.com>
16278 * progmodes/octave.el (inferior-octave-startup): Spit out error
16281 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
16283 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
16286 (ruby-encoding-magic-comment-style): Add :version.
16288 2013-11-22 Leo Liu <sdl.web@gmail.com>
16290 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
16292 (octave-help-mode): Adapt to change to help-mode-finish to use
16293 derived-mode-p on 2013-09-17.
16294 (inferior-octave-prompt): Also match octave-gui.
16295 (octave-kill-process): Don't ask twice. (Bug#10564)
16297 2013-11-22 Leo Liu <sdl.web@gmail.com>
16299 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
16300 (inferior-octave-startup, inferior-octave-check-process)
16301 (inferior-octave-track-window-width-change)
16302 (octave-completion-at-point, octave-eldoc-function): Use it.
16303 (octave-kill-process): Provide confirmation. (Bug#10564)
16305 2013-11-21 Leo Liu <sdl.web@gmail.com>
16307 * progmodes/octave.el (octave-mode, inferior-octave-mode):
16308 Fix obsolete variable comment-use-global-state.
16310 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16312 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
16313 Add `octave-source-file'.
16314 (octave-source-file): New function. (Bug#15935)
16316 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
16318 * net/eww.el (eww-local-regex): New variable.
16319 (eww): Use it to detect localhost and similar.
16321 2013-11-21 Leo Liu <sdl.web@gmail.com>
16323 Add completion for command `ag'.
16324 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
16325 (pcomplete/ag): New function.
16326 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
16328 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16330 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
16332 (make-obsolete): Remove interactive spec.
16334 2013-11-21 Glenn Morris <rgm@gnu.org>
16336 * startup.el (command-line-1): Use path-separator with -L.
16338 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
16340 * emacs-lisp/package.el (describe-package-1): Add package archive
16343 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
16345 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
16346 Change default to "# encoding: %s" to differentiate it from the
16347 default Ruby encoding comment template.
16349 2013-11-20 Era Eriksson <era+emacsbugs@iki.fi>
16351 * ses.el (ses-mode): Doc fix. (Bug#14748)
16353 2013-11-20 Leo Liu <sdl.web@gmail.com>
16355 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
16357 2013-11-19 Dan Nicolaescu <dann@gnu.org>
16359 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
16360 when rebase or bisect are in progress.
16362 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
16364 * filenotify.el (file-notify-add-watch): Doc fix.
16366 2013-11-19 Leo Liu <sdl.web@gmail.com>
16368 * obsolete/rcompile.el: Mark obsolete.
16370 * progmodes/compile.el (compilation-start)
16371 (compilation-goto-locus, compilation-find-file):
16372 Pass no-display-ok and handle nil value from display-buffer.
16375 * window.el (display-buffer-alist, display-buffer): Document the
16376 new parameter no-display-ok. Return either a window or nil
16377 but never a non-window value.
16379 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
16381 * electric.el (electric-indent-mode-map): Remove.
16382 (electric-indent-mode): Change the global-map instead (bug#15915).
16384 * textmodes/text-mode.el (paragraph-indent-minor-mode):
16387 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
16389 * emacs-lisp/nadvice.el (remove-function): Align with
16390 add-function's behavior.
16392 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
16393 (gdb--string-regexp): New constant.
16394 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
16395 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
16396 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
16398 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
16399 Adjust use accordingly.
16400 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
16402 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
16404 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
16405 interpolation curlies (Bug#15914).
16407 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
16409 * calc/calc.el (calc-context-sensitive-enter): New variable.
16410 (calc-enter): Use `calc-context-sensitive-enter'.
16412 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
16414 * progmodes/cfengine.el: Version bump.
16415 (cfengine-cf-promises): New defcustom to locate cf-promises.
16416 (cfengine3-vartypes): Add new "data" type.
16417 (cfengine3--current-word): New function to get current name-like
16418 word or its bounds.
16419 (cfengine3--current-function): New function to look up a CFEngine
16420 function's definition.
16421 (cfengine3-format-function-docstring): New function.
16422 (cfengine3-make-syntax-cache): New function.
16423 (cfengine3-documentation-function): New function: ElDoc glue.
16424 (cfengine3-completion-function): New function: completion glue.
16425 (cfengine3-mode): Set `compile-command',
16426 `eldoc-documentation-function', and add to
16427 `completion-at-point-functions'.
16429 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
16431 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
16432 `tramp-current-connection'.
16434 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
16436 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
16437 nil/self/true/false with "end of symbol".
16439 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
16441 * subr.el (version-regexp-alist): Fix a typo.
16443 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
16445 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
16446 "en_US.utf8" and "LC_CTYPE" to "".
16447 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
16448 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
16450 2013-11-15 Leo Liu <sdl.web@gmail.com>
16452 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
16454 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16456 * progmodes/gud.el (ctl-x-map):
16457 Remove C-x SPC binding. (Bug#12342)
16458 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
16460 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
16462 * subr.el (version-regexp-alist):
16463 Recognize hg, svn and darcs versions as snapshot versions.
16465 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
16466 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
16467 (ruby--encoding-comment-required-p): Extract from
16468 `ruby-mode-set-encoding'.
16469 (ruby-mode-set-encoding): Add the ability to always insert an
16470 utf-8 encoding comment. Fix and simplify coding comment update
16473 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
16475 * net/tramp-gvfs.el (top): Run init code only when
16476 `tramp-gvfs-enabled' is not nil.
16477 (tramp-gvfs-enabled): Check also :system bus.
16479 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16481 Sync with upstream verilog-mode revision 78e66ba.
16482 * progmodes/verilog-mode.el (verilog-end-of-defun)
16483 (verilog-type-completion, verilog-get-list): Remove unused funcs.
16484 (verilog-get-end-of-defun): Remove unused argument.
16485 (verilog-comment-depth): Remove unused local `e'.
16486 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
16487 Don't pass arg to verilog-get-end-of-defun.
16489 2013-11-14 Glenn Morris <rgm@gnu.org>
16491 * obsolete/assoc.el (aget): Prefix dynamic variable.
16493 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
16495 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
16497 * widget.el, hfy-cmap.el: Remove bogus package version number.
16499 2013-11-13 Glenn Morris <rgm@gnu.org>
16501 * replace.el (replace-eval-replacement):
16502 Try to give more helpful error message. (Bug#15836)
16504 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16505 (archive-7z-update): Avoid custom type mismatches.
16507 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
16509 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
16511 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
16512 address can be empty.
16514 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
16515 Accept nil SWITCHES.
16516 (tramp-gvfs-handle-write-region): Implement APPEND.
16518 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
16520 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
16521 binary "|" operator and closing block args delimiter.
16522 Remove FIXME comment referring to Ruby 1.8-only syntax.
16523 (ruby-smie--implicit-semi-p): Not after "|" operator.
16524 (ruby-smie--closing-pipe-p): New function.
16525 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
16526 (ruby-smie-rules): Indent after "|".
16528 2013-11-12 Glenn Morris <rgm@gnu.org>
16530 * ps-print.el (ps-face-attribute-list):
16531 Handle anonymous faces. (Bug#15827)
16533 2013-11-12 Martin Rudalics <rudalics@gmx.at>
16535 * window.el (display-buffer-other-frame): Fix doc-string.
16538 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16540 * subr.el (force-mode-line-update): Delete, move to buffer.c.
16542 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
16544 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
16545 (tramp-sh-handle-file-local-copy): Don't write a message when
16546 saving temporary files.
16548 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
16549 both directories are remote.
16550 (tramp-smb-handle-directory-files): Do not return double entries.
16551 Do not expand full file names.
16552 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
16553 (tramp-smb-handle-write-region): Implement APPEND.
16554 (tramp-smb-get-stat-capability): Fix a stupid bug.
16556 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16558 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
16560 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16562 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
16563 throwing error over malformed let/let* (bug#15814).
16565 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16567 * iswitchb.el (iswitchb-mode): Mark obsolete.
16569 2013-11-11 Glenn Morris <rgm@gnu.org>
16571 * international/uni-bidi.el, international/uni-category.el:
16572 * international/uni-name.el, international/uni-numeric.el:
16573 Regenerate for Unicode 6.3.0.
16575 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
16577 * net/tramp.el (tramp-methods):
16578 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
16579 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
16581 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
16583 * progmodes/sh-script.el (sh-font-lock-keywords-var):
16584 Force highlighting text after Summary keyword in doc face for rpm.
16586 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
16588 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
16589 available and the word has no wildcards, append one to the grep pattern.
16590 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
16591 (ispell-complete-word): Call `ispell-lookup-words' with the value
16592 independent of `ispell-look-p'.
16594 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16596 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
16598 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
16601 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16603 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
16604 (ruby-font-lock-keywords): Use backquote.
16606 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16608 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16609 (ruby-smie--backward-token): Only consider full-string matches.
16611 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
16613 * faces.el (describe-face): Add distant-foreground.
16615 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
16617 * progmodes/ruby-mode.el: Improve encoding comment handling.
16618 (ruby-encoding-magic-comment-style): New option.
16619 (ruby-custom-encoding-magic-comment-template): New option.
16620 (ruby--insert-coding-comment, ruby--detect-encoding):
16621 New functions extracted from `ruby-mode-set-encoding'.
16622 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
16623 to control the style of the auto-inserted encoding comment.
16625 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16627 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
16628 Use `smie-backward-sexp' with token argument.
16630 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
16632 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16633 Remove instrumentation code.
16635 2013-11-08 Glenn Morris <rgm@gnu.org>
16637 * progmodes/autoconf.el (autoconf-mode):
16638 Tweak comment-start-skip. (Bug#15822)
16640 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16642 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
16643 at bobp (bug#15826).
16644 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
16646 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
16648 * man.el (Man-start-calling): New macro, extracted from
16649 Man-getpage-in-background.
16650 (Man-getpage-in-background): Use it.
16651 (Man-update-manpage): New command.
16652 (Man-mode-map): Bind it.
16654 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
16656 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
16657 of "and", "or", "&&" and "||".
16658 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
16659 argument. Prohibit opening curly brace because it could only be a
16660 block opener in that position.
16661 (ruby-smie--forward-token, ruby-smie--backward-token):
16662 Separate "|" from "&" or "*" going after it. That can happen in block
16664 (ruby-smie--indent-to-stmt): New function, seeks the end of
16665 previous statement or beginning of buffer.
16666 (ruby-smie-rules): Use it.
16667 (ruby-smie-rules): Check if there's a ":" before a curly block
16668 opener candidate; if there is, it's a hash.
16670 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16672 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
16673 (cl--block-wrapper): Fix last accidental change.
16675 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
16677 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
16678 Instrument, in order to hunt failure on hydra.
16680 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16682 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
16683 malformed bindings form (bug#15814).
16685 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
16687 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
16688 "." compared to " @ ". This incidentally fixes some indentation
16689 examples with "do".
16690 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
16691 (ruby-smie-grammar): New tokens: "and" and "or".
16692 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
16693 Exclude "and" and "or". Remove "do" in order to work around token
16695 (ruby-smie-rules): Add all infix tokens. Handle the case of
16696 beginning-of-buffer.
16698 2013-11-06 Glenn Morris <rgm@gnu.org>
16700 * Makefile.in (setwins_almost, setwins_for_subdirs):
16701 Avoid accidental matches.
16703 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
16705 * menu-bar.el (popup-menu): Use key-binding.
16707 2013-11-06 Eli Zaretskii <eliz@gnu.org>
16709 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
16710 menus, support also the menus produced by minor modes.
16713 2013-11-06 Leo Liu <sdl.web@gmail.com>
16715 * thingatpt.el (thing-at-point-looking-at): Add optional arg
16716 DISTANCE to bound the search. All uses changed. (Bug#15808)
16718 2013-11-06 Glenn Morris <rgm@gnu.org>
16720 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
16721 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
16722 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
16724 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
16726 * electric.el (electric-indent-just-newline): New command.
16727 (electric-indent-mode-map): New keymap.
16728 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
16729 Re-add :group which weren't redundant.
16731 * electric.el (electric-indent-local-mode): New minor mode.
16732 (electric-indent-functions-without-reindent): New var.
16733 (electric-indent-post-self-insert-function): Use it.
16734 * emacs-lisp/gv.el (buffer-local-value): Add setter.
16736 2013-11-05 Eli Zaretskii <eliz@gnu.org>
16738 * international/quail.el (quail-help): Be more explicit about the
16739 meaning of the labels shown on the keys. (Bug#15800)
16741 * startup.el (normal-top-level): Load the subdirs.el files before
16742 setting the locale environment. (Bug#15805)
16744 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16746 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
16747 via arguments so as to get the right ones (bug#15418).
16749 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
16751 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
16753 Fix problems found while writing a test suite.
16755 * net/tramp-compat.el (tramp-compat-load): New defun.
16756 * net/tramp.el (tramp-handle-load): Use it.
16758 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
16759 "(numberp ok-if-already-exists)" correctly.
16761 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
16763 * international/characters.el (glyphless-char-display-control):
16766 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
16768 * progmodes/python.el (python-mode):
16769 * progmodes/scheme.el (scheme-mode):
16770 * progmodes/prolog.el (prolog-mode):
16771 * progmodes/ruby-mode.el (ruby-mode):
16772 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
16773 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
16775 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16777 * rect.el (rectangle--highlight-for-redisplay):
16778 * emacs-lisp/smie.el (smie--next-indent-change):
16779 Use buffer-chars-modified-tick.
16781 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
16783 * electric.el (electric-indent-post-self-insert-function):
16784 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
16786 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
16788 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
16790 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16792 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
16795 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16797 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
16799 * progmodes/python.el: Fix up last change.
16800 (python-shell--save-temp-file): New function.
16801 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
16802 `string' comes from the current buffer.
16803 (python-shell-send-string-no-output): Remove `msg' arg.
16804 (python--use-fake-loc): New var.
16805 (python-shell-buffer-substring): Obey it. Try to compensate for the
16806 extra coding line added by python-shell--save-temp-file.
16807 (python-shell-send-region): Use python-shell--save-temp-file and
16808 python-shell-send-file directly. Add `nomain' argument.
16809 (python-shell-send-buffer): Use python-shell-send-region.
16810 (python-electric-pair-string-delimiter): New function.
16811 (python-mode): Use it.
16813 2013-11-04 Eli Zaretskii <eliz@gnu.org>
16815 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
16816 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
16817 environment and decoding all of the default-directory's to here
16819 (command-line): Decode also argv[0].
16821 * loadup.el: Error out if default-directory is a multibyte string
16822 when we are dumping.
16824 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
16826 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
16828 * emacs-lisp/package.el (package-menu-mode)
16829 (package-menu--print-info, package-menu--archive-predicate):
16830 Add Archive column to package list.
16832 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
16834 Fix problems found while writing a test suite.
16836 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
16837 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
16838 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
16839 to nil when running original file name handler. Otherwise,
16840 there are problems with constructs like "$$FOO".
16842 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
16845 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
16847 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
16849 * subr.el (version<, version<=, version=):
16850 Update docstrings with information for snapshot versions.
16852 * helpers.el: New library for misc helper functions.
16853 (hash-table-keys): New function returning a list of hash keys.
16854 (hash-table-values): New function returning a list of hash values.
16856 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
16858 * progmodes/ruby-mode.el (ruby-smie--forward-token)
16859 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
16861 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
16863 * textmodes/fill.el (fill-single-char-nobreak-p): New function
16864 checking whether point is after a 1-letter word.
16866 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
16868 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
16869 Don't infloop when expanding region over `multiline' syntax-type that
16870 begins a line (bug#15778).
16872 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
16874 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
16875 Make it into a proper minor mode.
16876 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
16877 (rectangle-mark-mode-map): New keymap.
16878 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
16880 2013-11-04 Glenn Morris <rgm@gnu.org>
16882 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
16884 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
16886 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
16887 (ruby-smie-rules): Use smie-rule-parent instead.
16889 * emacs-lisp/smie.el (smie-rule-parent): Always call
16890 smie-indent-virtual rather than only for hanging tokens.
16891 (smie--next-indent-change): New helper command.
16893 2013-11-03 Glenn Morris <rgm@gnu.org>
16895 * Makefile.in (abs_srcdir): Remove.
16896 (emacs): Unset EMACSLOADPATH.
16898 2013-11-02 Glenn Morris <rgm@gnu.org>
16900 * Makefile.in (EMACS): Use a relative filename.
16901 (abs_top_builddir): Remove.
16902 (custom-deps, finder-data, autoloads): Use --chdir.
16904 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
16906 Use relative filenames in TAGS files.
16907 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16908 (lisptagsfiles4, TAGS): Use relative file names.
16909 (TAGS-LISP): Remove.
16910 (maintainer-clean): No more TAGS-LISP file.
16912 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
16913 (lisptagsfiles4): Use absolute filenames again.
16914 (TAGS, TAGS-LISP): Not everything needs to run in one line.
16915 Remove all *loaddefs files, not just the first. Remove esh-groups.
16916 (maintainer-clean): Delete TAGS, TAGS-LISP.
16918 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16920 * emacs-lisp/package.el (package-version-join):
16921 Recognize snapshot versions.
16923 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16925 * subr.el (version-regexp-alist): Add support for snapshot versions.
16927 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16929 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
16930 New function, replacement for `smie-rule-parent' for when we want to
16931 skip over our direct parent if it's an assignment token..
16932 (ruby-smie-rules): Use it.
16934 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
16936 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
16937 unconditionally. Remove now unnecessary forward declarations.
16938 Remove XEmacs-specific setup.
16939 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
16940 (ruby-font-lock-syntactic-keywords)
16941 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
16942 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
16943 (ruby-here-doc-end-syntax): Remove.
16944 (ruby-mode): Don't check whether `syntax-propertize-rules' is
16945 defined as function.
16947 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
16949 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
16951 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16953 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
16954 table and abbrev table, `define-derived-mode' does that for us
16957 2013-11-01 Glenn Morris <rgm@gnu.org>
16959 * Makefile.in: Remove manual mh-e dependencies (writing .elc
16960 files is atomic for some time, so no parallel compilation issues).
16962 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
16964 * faces.el (face-x-resources): Add :distant-foreground.
16965 (region): Use :distant-foreground for gtk and ns.
16967 2013-11-01 Tassilo Horn <tsdh@gnu.org>
16969 Allow multiple bibliographies when BibLaTeX is used rather than
16971 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
16972 (reftex-locate-bibliography-files): Us it.
16974 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
16976 * image.el (image-type-header-regexps): Fix the 'pbm' part to
16977 allow comments in pbm files.
16979 * term/w32-win.el (dynamic-library-alist): Support newer versions
16980 of libjpeg starting with v7: look only for the DLL from the
16981 version against which Emacs was built.
16982 Support versions of libpng beyond 1.4.x.
16983 Support libtiff v4.x.
16985 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
16987 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
16988 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
16989 Add property :safe.
16990 (ruby-deep-arglist): Add property :type.
16992 2013-10-31 Glenn Morris <rgm@gnu.org>
16994 * Makefile.in (custom-deps, finder-data): No need to setq the target
16995 variables, we are in the right directory and the defaults work fine.
16997 2013-10-30 Glenn Morris <rgm@gnu.org>
16999 * Makefile.in (autoloads): Do not use abs_lisp.
17001 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17002 `newline' does not respect `standard-output', so use `princ'.
17004 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
17006 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
17007 * buff-menu.el (Buffer-menu--unmark): New function.
17008 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
17010 2013-10-30 Glenn Morris <rgm@gnu.org>
17012 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
17014 * emacs-lisp/package.el (lm-homepage): Declare.
17016 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
17019 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
17021 * Makefile.in (finder-data, autoloads, update-subdirs)
17022 (compile-main, compile-clean, compile-always, bootstrap-clean):
17023 Check return value of cd.
17024 (compile-calc): Remove.
17026 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17028 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
17030 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
17031 (byte-compile-and-folded): New function.
17032 (=, <, >, <=, >=): Use it.
17034 * dos-w32.el (minibuffer-history-case-insensitive-variables)
17035 (path-separator, null-device, buffer-file-coding-system)
17036 (lpr-headers-switches): Check system-type before modifying them.
17037 (find-buffer-file-type-coding-system): Mark obsolete.
17038 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
17039 find-file-not-found-set-buffer-file-coding-system.
17040 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
17041 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
17042 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
17043 (w32-direct-print-region-helper, w32-direct-print-region-function)
17044 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
17045 * startup.el (normal-top-level-add-subdirs-to-load-path):
17046 * ps-print.el (ps-print-region-function):
17047 * lpr.el (print-region-function): Use new name.
17049 * subr.el (custom-declare-variable-early): Remove function.
17050 (custom-declare-variable-list): Remove var.
17051 (error, user-error): Remove `while' loop.
17052 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
17053 (user-emacs-directory-warning, locate-user-emacs-file):
17055 * simple.el (read-quoted-char-radix, read-quoted-char):
17056 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
17058 * custom.el (custom-declare-variable-list): Don't process
17059 custom-declare-variable-list.
17061 * progmodes/python.el (python-shell-get-buffer): New function.
17062 (python-shell-get-process): Use it.
17063 (python-shell-send-string): Always use utf-8 and add a cookie to tell
17064 Python which encoding was used. Don't split-string since we only care
17065 about the first line. Return the temp-file, if applicable.
17066 (python-shell-send-region): Tell compile.el how to turn locations in
17067 the temp-file into locations in the source buffer.
17069 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
17071 * subr.el (undefined): Add missing behavior from the C code for
17074 * rect.el: Use lexical-binding. Add new rectangular region support.
17075 (rectangle-mark): New command.
17076 (rectangle--region): New var.
17077 (deactivate-mark-hook): Reset rectangle--region.
17078 (rectangle--extract-region, rectangle--insert-for-yank)
17079 (rectangle--highlight-for-redisplay)
17080 (rectangle--unhighlight-for-redisplay): New functions.
17081 (region-extract-function, redisplay-unhighlight-region-function)
17082 (redisplay-highlight-region-function): Use them to handle
17083 rectangular region.
17084 * simple.el (region-extract-function): New var.
17085 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
17086 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
17087 (kill-region): Replace obsolete `yank-handler' arg with `region'.
17088 (copy-region-as-kill, kill-ring-save): Add `region' argument.
17089 (redisplay-unhighlight-region-function)
17090 (redisplay-highlight-region-function): New vars.
17091 (redisplay--update-region-highlight): New function.
17092 (pre-redisplay-function): Use it.
17093 (exchange-point-and-mark): Don't deactivate the mark before
17094 reactivate-it anyway.
17095 * comint.el (comint-kill-region): Remove yank-handler argument.
17096 * delsel.el (delete-backward-char, backward-delete-char-untabify)
17097 (delete-char): Remove property, since it's now part of their
17099 (self-insert-iso): Remove property since this command doesn't exist.
17101 * emacs-lisp/package.el (package--download-one-archive)
17102 (describe-package-1): Don't query the user about final newline.
17104 2013-10-29 Daniel Colascione <dancol@dancol.org>
17106 * net/tramp.el (tramp-methods): Document new functionality.
17107 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
17108 tramp-hostname-checker if method provides one instead of scanning
17109 argument list for "%h" to decide hostname acceptability.
17111 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
17113 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
17114 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
17115 Handle COPY-CONTENTS. (Bug#15737)
17117 2013-10-28 Daiki Ueno <ueno@gnu.org>
17119 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17120 Document that this option has no effect with GnuPG 2.0 (bug#15552).
17122 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
17124 * image.el (defimage, image-load-path): Doc fixes.
17126 2013-10-27 Alan Mackenzie <acm@muc.de>
17128 Indent statements in macros following "##" correctly.
17129 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17130 Modify the "#" arm of a cond form to handle "#" and "##" operators.
17132 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
17134 * linum.el (linum-update-window): Fix boundary test (bug#13446).
17136 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
17138 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
17139 after `=' is probably a new expression.
17141 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17143 * man.el (man-imenu-title): New option.
17144 (Man-mode-map): Add menu. (Bug#15722)
17145 (Man-mode): Add imenu to menu.
17147 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
17149 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
17150 specific in what the first arg can be: a non-keyword word,
17151 string/regexp/percent literal opener, opening paren, or unary
17152 operator followed directly by word.
17154 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17156 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
17157 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
17158 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
17159 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
17160 Remove vars, they do not apply any more.
17161 (prolog-mode-abbrev-table): Remove redundant declaration.
17162 (prolog-upper-case-string, prolog-lower-case-string): Remove.
17163 (prolog-use-smie): Remove.
17164 (prolog-smie-rules): Add indentation rule for the if-then-else layout
17165 supported by prolog-electric-if-then-else-flag.
17166 (prolog-mode-variables, prolog-menu): Use setq-local.
17167 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
17168 Remove binding to `Backspace' since this key doesn't exist anyway.
17169 Remove bindings for electric self-inserting keys.
17170 (prog-mode): Assume it's defined.
17171 (prolog-post-self-insert): New function.
17172 (prolog-mode): Use it.
17173 (prolog-indent-line, prolog-indent-level)
17174 (prolog-find-indent-of-matching-paren)
17175 (prolog-indentation-level-of-line, prolog-goto-comment-column)
17176 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
17177 (prolog-goto-next-paren, prolog-in-string-or-comment)
17178 (prolog-tokenize, prolog-inside-mline-comment)
17179 (prolog-find-start-of-mline-comment): Remove functions.
17180 (prolog-find-unmatched-paren, prolog-clause-end)
17181 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
17182 (prolog-electric--if-then-else): Rename from
17183 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
17184 (prolog-tokenize-searchkey): Remove const.
17185 (prolog-clause-info): Use forward-sexp.
17186 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
17187 (prolog-electric-if-then-else): Remove commands.
17188 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
17189 for use in post-self-insert-hook.
17190 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
17191 for use in post-self-insert-hook.
17192 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
17193 for use in post-self-insert-hook.
17194 (prolog-electric--underscore): Rename from prolog-electric--underscore;
17195 adapt it for use in post-self-insert-hook.
17197 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
17199 * emacs-lisp/ert.el (ert-run-tests-interactively):
17200 Use `completing-read'. (Bug#9756)
17202 2013-10-25 Eli Zaretskii <eliz@gnu.org>
17204 * simple.el (line-move): Call line-move-1 instead of
17205 line-move-visual when the current window hscroll is zero, but
17206 temporary-goal-column indicates we will need to hscroll as result
17207 of the movement. (Bug#15712)
17209 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
17211 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
17212 capitalization. Use :visible instead of :active.
17213 Fix `ruby-indent-exp' reference. Add menu items for the generic
17214 commands that are used with SMIE.
17215 (ruby-do-end-to-brace): Insert space after `{'.
17217 2013-10-25 John Anthony <john@jo.hnanthony.com>
17219 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
17221 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
17223 2013-10-25 Glenn Morris <rgm@gnu.org>
17225 * vc/vc.el (vc-print-log): Don't use a working revision unless
17226 one was explicitly specified. (Bug#15322)
17228 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17230 * subr.el (add-to-list): Preserve return value in compiler-macro
17233 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17235 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
17236 result. Ask user to retry using '-all' flag. (Bug#15701)
17238 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17240 * emacs-lisp/smie.el: New smie-config system.
17241 (smie-config): New defcustom.
17242 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
17243 (smie-config-guess, smie-config-save): New commands.
17244 (smie-config--mode-local, smie-config--buffer-local)
17245 (smie-config--trace, smie-config--modefuns): New vars.
17246 (smie-config--advice, smie-config--mode-hook)
17247 (smie-config--setter, smie-config-local, smie-config--get-trace)
17248 (smie-config--guess-value, smie-config--guess): New functions.
17249 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
17250 text properties. Treat "string fence" syntax like string syntax.
17252 * progmodes/sh-script.el (sh-use-smie): Change default.
17253 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
17254 (sh-var-value): Simplify by CSE.
17255 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
17256 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
17258 (sh-guess-basic-offset): Use cl-incf.
17259 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
17261 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
17263 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
17266 2013-10-24 Glenn Morris <rgm@gnu.org>
17268 * Makefile.in (abs_top_srcdir): Remove.
17269 (update-subdirs): Use relative path to update-subdirs.
17271 2013-10-24 Eli Zaretskii <eliz@gnu.org>
17273 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
17274 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
17275 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
17276 Call unmsys--file-name before expand-file-name, not after it.
17278 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
17280 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
17281 (ert-test-skipped): New error.
17282 (ert-skip, ert-stats-skipped): New defuns.
17283 (ert--skip-unless): New macro.
17284 (ert-test-skipped): New struct.
17285 (ert--run-test-debugger, ert-test-result-type-p)
17286 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
17287 (ert--stats-set-test-and-result, ert-char-for-test-result)
17288 (ert-string-for-test-result, ert-run-tests-batch)
17289 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
17290 Handle skipped tests. (Bug#9803)
17292 2013-10-24 Glenn Morris <rgm@gnu.org>
17294 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
17296 * Makefile.in (abs_top_srcdir): New, set by configure.
17297 (update-subdirs): Correct build-aux location.
17299 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
17301 * vc/vc.el (vc-print-root-log): Always set `default-directory'
17302 value, whether we could auto-deduce `backend', or not.
17304 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
17305 with parameters" example. Simplify the "is it block or is it
17306 hash" check, but also make it more thorough.
17308 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
17310 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
17312 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17314 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
17315 { if it is hanging.
17317 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
17320 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
17322 * progmodes/compile.el (compilation-directory-matcher)
17323 (compilation-page-delimiter):
17324 Support GNU Make-4.0 directory quoting. (Bug#15678)
17326 2013-10-23 Leo Liu <sdl.web@gmail.com>
17328 * ido.el (ido-tidy): Handle read-only text.
17330 2013-10-23 Glenn Morris <rgm@gnu.org>
17332 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
17333 (emacs, compile, compile-always):
17334 Quote entities that might contain whitespace.
17335 (custom-deps, finder-data, autoloads): Use abs_lisp.
17336 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
17337 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
17338 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
17340 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
17342 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
17343 Use `following-char'.
17345 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17347 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
17348 * progmodes/ruby-mode.el (ruby-smie-rules):
17349 Remove corresponding workaround. Fix indentation rule of ";" so it
17350 also applies when ";" is the parent.
17352 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
17354 * frame.el (display-screens, display-pixel-height)
17355 (display-pixel-width, display-mm-width, display-backing-store)
17356 (display-save-under, display-planes, display-color-cells)
17357 (display-visual-class, display-monitor-attributes-list):
17358 Mention the optional ‘display’ argument in doc strings.
17360 2013-10-22 Michael Gauland <mikelygee@amuri.net>
17362 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
17363 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
17365 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
17367 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
17368 TODO. Add "." after " @ ".
17369 (ruby-smie--at-dot-call): New function. Checks if point at method
17370 call with explicit target.
17371 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
17372 to the method name tokens when it precedes them.
17373 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
17374 (ruby-smie-rules): Add rule for indentation before and after "."
17377 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17379 * textmodes/remember.el (remember-diary-extract-entries):
17382 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
17385 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
17387 * progmodes/ruby-mode.el (ruby-smie-grammar):
17388 Add (almost) all infix operators.
17389 (ruby-smie--implicit-semi-p): Add new operator chars.
17391 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
17393 (ruby-smie--args-separator-p): Check that there's no newline
17394 between method call and its arguments.
17396 2013-10-20 Alan Mackenzie <acm@muc.de>
17398 Allow comma separated lists after Java "implements".
17400 * progmodes/cc-engine.el (c-backward-over-enum-header):
17402 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
17403 from a "disallowed" list in enum fontification.
17405 2013-10-20 Johan Bockgård <bojohan@gnu.org>
17407 * startup.el (default-frame-background-mode): Remove unused defvar.
17409 * progmodes/verilog-mode.el (verilog-mode): Don't set
17410 comment-indent-function globally.
17412 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
17414 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
17415 Move Info menu item creation to ns-win.el.
17417 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
17420 * menu-bar.el: Move GNUstep specific menus...
17422 * term/ns-win.el (ns-initialize-window-system): ... to here.
17424 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17426 * simple.el (newline): Only run post-self-insert-hook when
17427 called interactively.
17429 2013-10-19 Johan Bockgård <bojohan@gnu.org>
17431 * icomplete.el (icomplete-with-completion-tables): Add :version.
17433 2013-10-19 Alan Mackenzie <acm@muc.de>
17435 Fix fontification bugs with constructors and const.
17437 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
17438 CASE 2) Remove the check for the absence of a suffix construct
17439 after a function declaration with only types (no identifiers) in
17440 the parentheses. Also, accept a function declaration with just a
17441 type inside the parentheses, if this type can be positively
17442 recognised as such, or if a prefix keyword like "explicit" nails
17443 down the construct as a declaration.
17445 2013-10-19 Eli Zaretskii <eliz@gnu.org>
17447 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
17448 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
17449 the problem whereby selecting a menu item that leads to a
17450 minibuffer prompt moves the cursor out of the minibuffer window,
17451 making it hard to type at the prompt. Suggested by Stefan Monnier
17452 <monnier@iro.umontreal.ca>.
17454 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
17456 * menu-bar.el: Don't make Services menu.
17458 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
17460 * ffap.el: Handle "/usr/include/c++/<version>" directories.
17461 (ffap-alist): Use ffap-c++-mode for c++-mode.
17462 (ffap-c++-path): New variable.
17463 (ffap-c++-mode): New function.
17465 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
17467 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
17469 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
17471 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
17472 introduced on 2013-09-08, which results in an infinite loop
17473 requesting a password.
17475 2013-10-18 Glenn Morris <rgm@gnu.org>
17477 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
17479 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
17481 Sync with upstream verilog-mode revision 1a6ecec7.
17482 * progmodes/verilog-mode.el (verilog-mode-version): Update.
17483 (verilog-mode-release-date): Remove.
17484 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
17485 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
17486 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
17487 (verilog-auto-tieoff-ignore-regexp)
17488 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
17489 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
17490 (verilog-signals-with, verilog-dir-cache-preserving)
17491 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
17493 (verilog-case-fold): New option, to control case folding in
17494 regexp searches, bug597.
17495 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
17496 (verilog-string-match-fold, verilog-in-paren-count)
17497 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
17498 (verilog-at-close-struct-p): New functions.
17499 (verilog-beg-block-re-ordered, verilog-extended-case-re)
17500 (verilog-forward-sexp, verilog-set-auto-endcomments)
17501 (verilog-leap-to-case-head): Handle "unique0" case.
17502 (verilog-in-constraint-re): New constant.
17503 (verilog-keywords, verilog-type-font-keywords):
17504 Add some SystemVerilog 1800-2012 keywords.
17505 (verilog-label-be): Remove unimplemented argument, bug669.
17506 (verilog-batch-execute-func): When batch expanding clear
17507 create-lockfiles to prevent spurious user locks when a file ends
17509 (verilog-calculate-indent, verilog-calc-1)
17510 (verilog-at-close-constraint-p, verilog-at-constraint-p)
17511 (verilog-do-indent): Fix indentation of nested constraints
17513 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
17514 (verilog-auto-inst-param): Use verilog-string-match-fold.
17515 (verilog-read-inst-module-matcher):
17516 Fix AUTOINST on gate primitives with #1.
17517 (verilog-read-decls): Fix double-declaring user-defined typed signals.
17518 Reads all user-defined typed variables.
17519 (verilog-read-defines): Fix reading definitions inside comments, bug647.
17520 (verilog-signals-matching-regexp)
17521 (verilog-signals-not-matching-regexp, verilog-auto):
17522 Respect verilog-case-fold.
17523 (verilog-diff-report): Fix line count.
17524 (verilog-auto-assign-modport): Remove unused local `modi'.
17525 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
17526 better handle multidimensional arrays.
17527 Fix packed array ports misadding bit index in AUTOINST, bug637.
17528 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
17529 to not double-declare existing outputs and inputs, respectively.
17530 (verilog-template-map): Bind U to verilog-sk-uvm-component.
17531 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
17532 (verilog-sk-uvm-component): New skeleton.
17533 (verilog-submit-bug-report): Add verilog-case-fold,
17534 remove verilog-mode-release-date.
17536 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
17538 * subr.el (sit-for): Call (input-pending-p t) so as to behave
17541 2013-10-18 Reuben Thomas <rrt@sc3d.org>
17543 * textmodes/remember.el (remember): Set buffer-offer-save in
17544 remember buffers (bug#13566).
17546 2013-10-18 Daniel Colascione <dancol@dancol.org>
17548 When evaluating forms in ielm, direct standard output to ielm
17549 buffer. Add new ielm-return-for-effect command. Remove trailing
17550 whitespace throughout.
17552 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
17553 (ielm-return-for-effect): New command.
17554 (ielm-send-input): Accept optional `for-effect' parameter.
17555 (ielm-eval-input): Accept optional `for-effect' parameter.
17556 Bind `standard-output' to stream we create using
17557 `ielm-standard-output-impl'. Suppress printing result when
17559 (ielm-standard-output-impl): New function.
17560 (inferior-emacs-lisp-mode): Explain new features in documentation.
17562 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
17566 * net/tramp.el (tramp-debug-message): Do not check for connection
17568 (tramp-message): Use "vector" connection property.
17570 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
17571 (tramp-equal-remote, tramp-eshell-directory-change)
17572 * net/tramp-adb.el (tramp-adb-handle-copy-file)
17573 (tramp-adb-handle-rename-file)
17574 * net/tramp-cmds.el (tramp-list-remote-buffers)
17575 (tramp-cleanup-connection, tramp-cleanup-this-connection)
17576 * net/tramp-compat.el (tramp-compat-process-running-p)
17577 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
17578 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
17579 (tramp-gvfs-handle-rename-file)
17580 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
17581 (tramp-set-file-uid-gid)
17582 * net/tramp-smb.el (tramp-smb-handle-copy-file)
17583 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
17584 of `file-remote-p'.
17586 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
17587 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
17588 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
17589 (tramp-gw-open-network-stream): Suppress unrelated traces.
17591 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
17592 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
17593 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17594 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
17595 connection property.
17597 * net/tramp-cache.el (top): Suppress traces when reading
17600 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
17601 Refactor common code. Improve debug message.
17602 (tramp-maybe-open-connection)
17603 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
17604 connection buffer too early.
17606 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
17607 from `tramp-smb-actions-with-acl'.
17608 (tramp-smb-actions-set-acl): New defconst.
17609 (tramp-smb-handle-copy-directory)
17610 (tramp-smb-action-get-acl): New defun, renamed from
17611 `tramp-smb-action-with-acl'.
17612 (tramp-smb-action-set-acl): New defun.
17613 (tramp-smb-handle-set-file-acl): Rewrite.
17615 2013-10-17 Glenn Morris <rgm@gnu.org>
17617 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
17619 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17621 * skeleton.el (skeleton-newline): Remove.
17622 (skeleton-internal-1): Use (insert "\n") instead.
17624 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
17627 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
17628 forward-sexp-function while we redo its job (bug#15613).
17630 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
17632 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
17633 represented by lists.
17635 2013-10-16 Glenn Morris <rgm@gnu.org>
17637 * tmm.el (tmm--history): New dynamic variable.
17638 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
17640 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
17642 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
17643 (tramp-smb-errors): Add error messages.
17644 (tramp-smb-actions-with-acl): New defconst.
17645 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
17646 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
17647 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
17648 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
17649 (tramp-smb-get-stat-capability): Fix tests.
17651 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
17653 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
17656 2013-10-16 Glenn Morris <rgm@gnu.org>
17658 * ansi-color.el (ansi-color-drop-regexp):
17659 Add 1J, 1K, 2K. (Bug#15617)
17661 * files.el (hack-local-variables--warned-lexical): New.
17662 (hack-local-variables):
17663 Warn about misplaced lexical-binding. (Bug#15616)
17665 * net/eww.el (eww-render): Always set eww-current-url,
17666 and update header line. (Bug#15622)
17667 (eww-display-html): ... Rather than just doing it here.
17669 2013-10-15 Eli Zaretskii <eliz@gnu.org>
17671 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
17672 menu navigations commands.
17674 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
17676 * progmodes/subword.el (subword-capitalize): Be careful when
17677 the search for [[:alpha:]] fails (bug#15580).
17679 2013-10-14 Eli Zaretskii <eliz@gnu.org>
17681 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
17682 to commands that scroll the menu.
17684 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
17686 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
17687 Handle methods ending with `?' and `!'.
17689 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
17691 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
17692 `japanese-cp932' to `cp932' to fix the problem where saving a
17693 source file written in Shift_JIS twice would end up having
17694 `coding: japanese-cp932' which Ruby could not recognize.
17695 (ruby-mode-set-encoding): Add support for encodings mapped to nil
17696 in `ruby-encoding-map'.
17697 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
17698 doesn't need to be explicitly declared in magic comment.
17699 (ruby-encoding-map): Add type declaration for better customize UI.
17701 2013-10-13 Glenn Morris <rgm@gnu.org>
17703 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
17704 Occur buffers are read-only. http://bugs.debian.org/720775
17706 * emacs-lisp/authors.el (authors-fixed-entries):
17707 Comment out old alpha stuff.
17709 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
17711 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
17712 to `after-save-hook' instead of `before-save-hook'.
17713 (ruby-mode-set-encoding): Use the value of coding system used to
17714 write the file. Call `basic-save-buffer-1' after modifying the
17717 2013-10-13 Alan Mackenzie <acm@muc.de>
17719 Fix indentation/fontification of Java enum with
17720 "implements"/generic.
17722 * progmodes/cc-engine.el (c-backward-over-enum-header):
17723 Extracted from the three other places and enhanced to handle generics.
17724 (c-inside-bracelist-p): Uses new function above.
17725 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
17727 (c-font-lock-enum-tail): Uses new function above.
17729 2013-10-13 Kenichi Handa <handa@gnu.org>
17731 * international/mule-cmds.el (select-safe-coding-system): Remove a
17732 superfluous condition in chekcing whether a coding system is safe
17735 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
17737 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
17739 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
17741 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
17743 2013-10-13 Glenn Morris <rgm@gnu.org>
17745 * menu-bar.el (menu-bar-update-buffers):
17746 Unify Buffers menu prompt string. (Bug#15576)
17748 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
17750 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
17752 (authors-fixed-entries): Use accented form of name.
17754 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
17756 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
17757 method calls (bug#15594).
17758 (ruby-smie--args-separator-p): New function.
17759 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
17760 recognize paren-free method calls.
17762 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
17763 internals of universal-argument.
17765 2013-10-11 Eli Zaretskii <eliz@gnu.org>
17767 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
17768 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
17769 dropped menu on second mouse click on the menu bar.
17771 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
17773 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
17774 (explicit-shell-file-name): Declare.
17775 (sh--vars-before-point, sh--cmd-completion-table): New functions.
17776 (sh-completion-at-point-function): New function.
17778 (sh-smie--keyword-p): Remove unused argument.
17779 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
17781 (sh-set-shell): Always setup SMIE, even if we use the
17782 old indentation code.
17784 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
17786 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
17788 (ruby-smie-rules): Simplify the "do" rule. The cases when the
17789 predicate would return nil are almost non-existent.
17790 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
17792 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
17793 cache also after commands that modify the buffer but don't move
17796 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17798 * env.el (substitute-env-in-file-name): New function.
17799 (substitute-env-vars): Extend the meaning of the optional arg.
17801 2013-10-10 Eli Zaretskii <eliz@gnu.org>
17803 * term/w32-win.el (dynamic-library-alist): Define separate lists
17804 of GIF DLLs for versions before and after 5.0.0 of giflib.
17807 2013-10-10 João Távora <joaotavora@gmail.com>
17809 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
17810 not locked, use last revision and current source as
17811 defaults. (Bug#15569)
17813 2013-10-10 Masatake YAMATO <yamato@redhat.com>
17815 * menu-bar.el (menu-bar-open): Don't use popup-menu if
17816 menu-bar is hidden.
17818 2013-10-10 Martin Rudalics <rudalics@gmx.at>
17820 * window.el (pop-to-buffer-same-window): Fix doc-string.
17823 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
17825 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
17827 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
17829 * calendar/icalendar.el (icalendar-import-file):
17830 Fix interactive spec. (Bug#15482)
17832 2013-10-10 Glenn Morris <rgm@gnu.org>
17834 * desktop.el (desktop-save): Default to saving in .emacs.d,
17835 since PWD is no longer in desktop-path by default. (Bug#15319)
17837 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
17838 now that text mode has a menu with the same entry.
17839 (menu-bar-text-mode-auto-fill): Remove now unused func.
17840 * textmodes/text-mode.el (text-mode-map):
17841 Use auto-fill help text from menu-bar.el.
17843 2013-10-10 John Anthony <john@jo.hnanthony.com>
17845 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
17847 2013-10-09 Juri Linkov <juri@jurta.org>
17849 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
17850 instead of this-command-keys. Add universal-argument-more and
17851 universal-argument-minus to the list of prefix commands. (Bug#15568)
17853 2013-10-09 Glenn Morris <rgm@gnu.org>
17855 * vc/vc-svn.el (vc-svn-create-repo):
17856 Expand paths in file://... url. (Bug#15446)
17858 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
17860 (authors): Remove unused local variables.
17862 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
17864 * profiler.el: Create a more coherent calltree from partial backtraces.
17865 (profiler-format): Hide the tail with `invisible' so that C-s can still
17866 find the hidden elements.
17867 (profiler-calltree-depth): Don't recurse so enthusiastically.
17868 (profiler-function-equal): New hash-table-test.
17869 (profiler-calltree-build-unified): New function.
17870 (profiler-calltree-build): Use it.
17871 (profiler-report-make-name-part): Indent the calltree less.
17872 (profiler-report-mode): Add visibility specs for profiler-format.
17873 (profiler-report-expand-entry, profiler-report-toggle-entry):
17874 Expand the whole subtree when provided with a prefix arg.
17876 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
17878 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
17880 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
17881 hanging iuwu-mod token.
17882 (ruby-smie--forward-token): Do not include a dot after a token in
17884 (ruby-smie--backward-token): Likewise.
17886 2013-10-08 Juri Linkov <juri@jurta.org>
17888 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
17889 to isearch-other-control-char.
17890 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
17891 and isearch-post-command-hook to post-command-hook.
17892 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
17893 and isearch-post-command-hook from post-command-hook.
17894 (isearch-unread-key-sequence)
17895 (isearch-reread-key-sequence-naturally)
17896 (isearch-lookup-scroll-key, isearch-other-control-char)
17897 (isearch-other-meta-char): Remove functions.
17898 (isearch-pre-command-hook, isearch-post-command-hook):
17899 New functions based on isearch-other-meta-char rewritten
17900 relying on the new behavior of overriding-terminal-local-map
17901 that does not replace the local keymaps any more. (Bug#15200)
17903 2013-10-08 Eli Zaretskii <eliz@gnu.org>
17905 Support menus on text-mode terminals.
17906 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
17909 * tooltip.el (tooltip-mode): Don't error out on TTYs.
17911 * menu-bar.el (popup-menu, popup-menu-normalize-position):
17912 Move here from mouse.el.
17913 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
17915 (tty-menu-navigation-map): New map for TTY menu navigation.
17917 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
17919 * frame.el (display-mouse-p): Report text-mode mouse as available
17921 (display-popup-menus-p): Report availability if mouse is
17922 available; don't condition on window-system.
17924 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
17925 (tty-menu-selected-face): New faces.
17927 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17929 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
17930 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
17931 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
17932 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
17934 (lisp-mode-variables): New `elisp' argument.
17935 (emacs-lisp-mode): Use it.
17936 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
17937 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
17939 * indent.el: Use lexical-binding.
17940 (indent-region): Add progress reporter.
17941 (tab-stop-list): Make it implicitly extend to infinity by repeating the
17943 (indent--next-tab-stop): New function to implement this behavior.
17944 (tab-to-tab-stop, move-to-tab-stop): Use it.
17946 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
17948 * indent.el (indent-rigidly--current-indentation): New function.
17949 (indent-rigidly-map): New var.
17950 (indent-rigidly): Use it to provide interactive mode (bug#8196).
17952 2013-10-08 Bastien Guerry <bzg@gnu.org>
17954 * register.el (insert-register): Fix 2013-10-07 change.
17956 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
17958 * progmodes/perl-mode.el: Use lexical-binding.
17959 Remove redundant :group args.
17960 (perl-nochange): Change default to be closer to other major modes's
17962 (perl-indent-line): Don't consider text on current line as a
17963 valid beginning of function from which to indent.
17965 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
17966 with more than one argument (bug#15538).
17968 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
17970 * vc/pcvs.el: Use lexical-binding.
17971 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
17972 environment of `eval'.
17973 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
17974 than a list of expressions. Adjust callers.
17975 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
17977 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
17979 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
17980 case of the dot in a chained method call being on the following line.
17982 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
17984 * electric.el (electric-indent-inhibit): New var.
17985 (electric-indent-post-self-insert-function): Use it.
17986 * progmodes/python.el (python-mode): Set it.
17988 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
17991 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
17993 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
17994 (css-mode): Use electric-indent-chars.
17996 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
17997 (font-lock-beg, font-lock-end): Move before first use.
17998 (nxml-mode): Use syntax-propertize-function.
17999 (nxml-after-change, nxml-after-change1): Adjust accordingly.
18000 (nxml-extend-after-change-region): Remove.
18001 * nxml/xmltok.el: Use lexical-binding.
18002 (xmltok-save): Use `declare'.
18003 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
18004 * nxml/nxml-util.el: Use lexical-binding.
18005 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
18007 * nxml/nxml-ns.el: Use lexical-binding.
18008 (nxml-ns-save): Use `declare'.
18009 (nxml-ns-prefixes-for): Avoid add-to-list.
18010 * nxml/rng-match.el: Use lexical-binding.
18011 (rng--ipattern): Use cl-defstruct.
18012 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
18013 (rng-cons-group-after, rng-subst-group-after)
18014 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
18015 Use closures instead of `(lambda...).
18017 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
18019 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
18022 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18023 Use `tramp-handle-insert-file-contents'.
18024 (tramp-gvfs-handle-insert-file-contents): Remove function.
18026 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
18027 Use `save-restriction' in order to keep markers.
18029 * net/trampver.el: Update release number.
18031 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18033 * progmodes/compile.el (compilation-parse-errors):
18034 Use compilation--put-prop.
18035 (compilation--ensure-parse): Check compilation-multiline.
18037 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
18039 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
18042 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
18044 * progmodes/ruby-mode.el: Fix recently added tests.
18045 (ruby-smie-grammar): Add - and +.
18046 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
18047 (ruby-smie--backward-id): New functions.
18048 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
18049 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
18052 2013-10-07 Leo Liu <sdl.web@gmail.com>
18054 * register.el (register-preview-delay)
18055 (register-preview-functions): New variables.
18056 (register-read-with-preview, register-preview)
18057 (register-describe-oneline): New functions.
18058 (point-to-register, window-configuration-to-register)
18059 (frame-configuration-to-register, jump-to-register)
18060 (number-to-register, view-register, insert-register)
18061 (copy-to-register, append-to-register, prepend-to-register)
18062 (copy-rectangle-to-register): Use register-read-with-preview to
18063 read register. (Bug#15525)
18065 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
18067 * net/network-stream.el (network-stream-open-starttls): Don't add
18068 --insecure if it's already present, because that gnutls-cli
18069 rejects getting that parameter twice.
18071 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
18073 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
18076 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
18078 * newcomment.el (comment-use-global-state): Change default value
18079 to t, mark obsolete (Bug#15251).
18080 (comment-beginning): In addition to `comment-to-syntax', check the
18081 value of `comment-use-global-state'.
18083 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18085 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
18086 (ruby-comment-column): Follow the global default, by default.
18087 (ruby-smie-grammar): Add assignment syntax.
18088 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
18089 open-paren, a comma, or a \.
18090 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
18091 and line continuations.
18092 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
18093 followed by implicit semi-colons. Add rule for string concatenation
18094 and for indentation at BOB.
18095 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
18097 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
18098 calling next-sexp, since next-token may have skipped chars which
18099 next-sexp doesn't know should be skipped!
18101 2013-10-05 Leo Liu <sdl.web@gmail.com>
18103 * progmodes/octave.el (octave-send-region):
18104 Call compilation-forget-errors.
18106 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
18108 * vc/vc-svn.el (vc-svn-find-admin-dir):
18109 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
18110 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
18111 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
18112 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
18114 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
18116 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
18118 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
18120 * subr.el (read-passwd): Hide chars even when called within a context
18121 where after-change-functions is disabled (bug#15501).
18122 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
18123 until we removed ourself from overriding-terminal-local-map.
18125 2013-10-04 Leo Liu <sdl.web@gmail.com>
18127 * progmodes/octave.el (inferior-octave-mode):
18128 Call compilation-forget-errors.
18130 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
18132 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
18134 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
18136 * net/secrets.el (secrets-create-collection): Add optional
18137 argument ALIAS. Use proper Label keyword. Append ALIAS as
18138 dbus-call-method argument. (Bug#15516)
18140 2013-10-04 Leo Liu <sdl.web@gmail.com>
18142 * progmodes/octave.el (inferior-octave-error-regexp-alist)
18143 (inferior-octave-compilation-font-lock-keywords): New variables.
18144 (compilation-error-regexp-alist)
18145 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
18146 (inferior-octave-mode): Use compilation-shell-minor-mode.
18148 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
18150 * minibuffer.el (completion--replace): Be careful that `end' might be
18153 2013-10-03 Daiki Ueno <ueno@gnu.org>
18155 Add support for package signature checking.
18156 * emacs-lisp/package.el (url-http-file-exists-p)
18157 (epg-make-context, epg-context-set-home-directory)
18158 (epg-verify-string, epg-context-result-for)
18159 (epg-signature-status, epg-signature-to-string)
18160 (epg-check-configuration, epg-configuration)
18161 (epg-import-keys-from-file): Declare.
18162 (package-check-signature): New user option.
18163 (package-unsigned-archives): New user option.
18164 (package-desc): Add `signed' field.
18165 (package-load-descriptor): Set `signed' field if .signed file exists.
18166 (package--archive-file-exists-p): New function.
18167 (package--check-signature): New function.
18168 (package-install-from-archive): Check package signature.
18169 (package--download-one-archive): Check archive signature.
18170 (package-delete): Remove .signed file.
18171 (package-import-keyring): New command.
18172 (package-refresh-contents): Import default keyring.
18173 (package-desc-status): Add "unsigned" status.
18174 (describe-package-1, package-menu--print-info)
18175 (package-menu-mark-delete, package-menu--find-upgrades)
18176 (package-menu--status-predicate): Support "unsigned" status.
18178 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18180 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
18181 the new compilation scheme using the new byte-codes.
18183 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
18184 (byte-pophandler): New byte codes.
18185 (byte-goto-ops): Adjust accordingly.
18186 (byte-compile--use-old-handlers): New var.
18187 (byte-compile-catch): Use new byte codes depending on
18188 byte-compile--use-old-handlers.
18189 (byte-compile-condition-case--old): Rename from
18190 byte-compile-condition-case.
18191 (byte-compile-condition-case--new): New function.
18192 (byte-compile-condition-case): New function that dispatches depending
18193 on byte-compile--use-old-handlers.
18194 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
18197 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
18198 Optimize under `condition-case' and `catch' if
18199 byte-compile--use-old-handlers is nil.
18200 (disassemble-offset): Handle new bytecodes.
18202 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18204 * subr.el (error): Use `declare'.
18205 (decode-char, encode-char): Use advertised-calling-convention instead
18206 of the docstring to discourage use of the `restriction' arg.
18208 2013-10-03 Daiki Ueno <ueno@gnu.org>
18210 * epg.el (epg-verify-file): Add a comment saying that it does not
18211 notify verification error as a return value nor a signal.
18212 (epg-verify-string): Ditto.
18214 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
18216 * progmodes/compile.el (compilation-start): Try globbing the arg to
18219 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
18221 Sync with Tramp 2.2.8.
18223 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
18224 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
18225 * net/trampver.el: Update release number.
18227 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
18229 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
18230 and default-process-coding-system for darwin only.
18232 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18234 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
18236 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
18238 * vc/vc-git.el (vc-git-grep): Disable pager.
18240 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
18242 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
18243 Use :url instead of :homepage, as per
18244 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
18246 * newcomment.el (comment-beginning): When `comment-use-syntax' is
18247 non-nil, use `syntax-ppss' (Bug#15251).
18249 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18251 * progmodes/octave.el (inferior-octave-startup-file):
18252 Prefer ~/.emacs.d/init_octave.m.
18254 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
18256 * emacs-lisp/package.el (package-desc-from-define):
18257 Accept additional arguments as plist, convert them to an alist and store
18258 them in the `extras' slot.
18259 (package-generate-description-file): Convert extras alist back to
18260 plist and append to the `define-package' form arguments.
18261 (package--alist-to-plist): New function.
18262 (package--ac-desc): Add `extras' slot.
18263 (package--add-to-archive-contents): Check if the archive-contents
18264 vector is long enough, and if it is, pass its `extras' slot value
18265 to `package-desc-create'.
18266 (package-buffer-info): Call `lm-homepage', pass the returned value
18267 to `package-desc-from-define'.
18268 (describe-package-1): Render the homepage button (Bug#13291).
18270 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18271 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
18273 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
18275 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
18276 and default-process-coding-system to utf-8-unix (Bug#15402).
18278 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
18280 * subr.el (looking-back): Do not recommend using looking-back.
18282 2013-09-28 Alan Mackenzie <acm@muc.de>
18284 Fix indentation/fontification of Java enum with "implements".
18286 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
18287 regexp which matches "implements", etc., in Java.
18288 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
18289 specifier clauses coming after "enum".
18290 * progmodes/cc-fonts.el (c-font-lock-declarations)
18291 (c-font-lock-enum-tail): Check for extra specifier clauses coming
18294 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
18296 * faces.el (region): Change ns_selection_color to
18297 ns_selection_fg_color, add ns_selection_bg_color.
18299 2013-09-28 Leo Liu <sdl.web@gmail.com>
18301 * progmodes/octave.el (inferior-octave-completion-table)
18302 (inferior-octave-completion-at-point): Minor tweaks.
18304 * textmodes/ispell.el (ispell-lookup-words): Rename from
18305 lookup-words. (Bug#15460)
18306 (lookup-words): Obsolete.
18307 (ispell-complete-word, ispell-command-loop): All uses changed.
18309 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18311 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
18312 (octave-mode-menu): Add octave-send-buffer.
18313 (octave-send-buffer): New function.
18315 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
18317 * progmodes/octave.el (octave-mode-map): Add key binding for
18319 (octave-mode-menu): Add octave-lookfor.
18320 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
18322 (octave-lookfor): New function.
18324 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18326 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
18327 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
18329 (cl--loop-set-iterator-function): New function.
18330 (cl-loop): Adjust accordingly, so as not to use cl-subst.
18331 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
18332 Bind `it' with `let' instead of substituting it with `cl-subst'.
18333 (cl--unused-var-p): New function.
18334 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
18335 Eliminate some unused variable warnings (bug#15326).
18337 2013-09-27 Tassilo Horn <tsdh@gnu.org>
18339 * doc-view.el (doc-view-scale-reset): Rename from
18340 `doc-view-reset-zoom-level'.
18341 (doc-view-scale-adjust): New command.
18342 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
18343 `doc-view-scale-adjust'.
18345 2013-09-26 Tassilo Horn <tsdh@gnu.org>
18347 * doc-view.el (doc-view-reset-zoom-level): New command.
18348 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
18349 zoom commands (bug#15466).
18351 2013-09-26 Kenichi Handa <handa@gnu.org>
18353 * international/quail.el (quail-help): Make it not a command.
18355 2013-09-26 Leo Liu <sdl.web@gmail.com>
18357 * minibuffer.el (completion-all-sorted-completions): Make args
18358 optional as they are.
18360 2013-09-25 Daniel Colascione <dancol@dancol.org>
18362 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
18363 specs are and that they're not evaluated.
18365 2013-09-24 Sam Steingold <sds@gnu.org>
18367 * midnight.el (clean-buffer-list-kill-regexps)
18368 (clean-buffer-list-kill-buffer-names): Update for the new Man
18369 buffer naming which includes the object name.
18371 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18373 * eshell/esh-cmd.el (eshell--sep-terms): New var.
18374 (eshell-parse-command, eshell-parse-pipeline): Use it since
18375 eshell-separate-commands requires a dynamic scoped var.
18376 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
18378 2013-09-23 Leo Liu <sdl.web@gmail.com>
18380 * autoinsert.el (auto-insert-alist): Make the value of
18381 lexical-binding match its file setting.
18383 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
18385 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
18387 * autoarg.el (autoarg-kp-digit-argument):
18388 * electric.el (Electric-command-loop):
18389 * kmacro.el (kmacro-step-edit-insert):
18390 Do not set universal-argument-num-events.
18392 2013-09-22 Leo Liu <sdl.web@gmail.com>
18394 * files.el (interpreter-mode-alist): Add octave.
18396 2013-09-21 Alan Mackenzie <acm@muc.de>
18398 C++: fontify identifier in declaration following "public:" correctly.
18399 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
18400 to match "public", etc.
18401 (c-decl-prefix-re): Add ":" into the C++ value.
18402 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
18403 bit. Add a check for a ":" preceded by "public", etc.
18405 2013-09-21 Eli Zaretskii <eliz@gnu.org>
18407 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
18408 recognized by GDB 7.5 and later.
18410 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
18412 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
18414 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18416 * subr.el (internal--call-interactively): New const.
18417 (called-interactively-p): Use it (bug#3984).
18419 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
18421 * vc/pcvs.el (cvs-mode-ignore):
18422 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
18423 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
18425 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18427 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
18428 (eshell-ls-orig-insert-directory): Remove.
18429 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
18430 (eshell-ls-use-in-dired): Use advice-add/remove.
18431 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
18432 Add `orig-fun' arg for use in :around advice.
18433 Make it check (redundantly) eshell-ls-use-in-dired.
18435 2013-09-19 Glenn Morris <rgm@gnu.org>
18437 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
18439 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
18441 * emacs-lisp/eieio.el (class-parent): Undo previous change.
18443 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
18445 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
18446 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
18447 (tramp-get-remote-python): New defuns.
18448 (tramp-get-remote-uid-with-perl)
18449 (tramp-get-remote-gid-with-perl): New defuns. Perl code
18450 contributed by yary <not.com@gmail.com> (tiny change).
18451 (tramp-get-remote-uid-with-python)
18452 (tramp-get-remote-gid-with-python): New defuns. Python code
18453 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
18454 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
18456 2013-09-19 Glenn Morris <rgm@gnu.org>
18458 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
18460 * eshell/em-unix.el (eshell-remove-entries):
18461 Rename argument to avoid name-clash with global `top-level'.
18463 * eshell/esh-proc.el (eshell-kill-process-function):
18464 Remove eshell-reset-after-proc from eshell-kill-hook if present.
18465 (eshell-reset-after-proc): Remove unused arg `proc'.
18467 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
18468 (directory-files-and-attributes): Mark unused arg.
18470 * eshell/em-unix.el (eshell-remove-entries):
18471 Remove unused arg `path'. Update callers.
18473 * eshell/em-hist.el (eshell-hist-parse-arguments):
18474 Remove unused arg `silent'. Update callers.
18476 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
18477 Fix (f)boundp mix-up.
18479 * eshell/em-smart.el (eshell-smart-scroll-window)
18480 (eshell-disable-after-change):
18481 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
18483 2013-09-18 Alan Mackenzie <acm@muc.de>
18485 Fix fontification of type when followed by "const".
18486 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
18487 "known" types from fontification.
18489 2013-09-18 Glenn Morris <rgm@gnu.org>
18491 * emacs-lisp/chart.el (x-display-color-cells): Declare.
18492 (chart-face-list): Drop Emacsen without display-color-p.
18494 * net/eww.el (libxml-parse-html-region): Declare.
18495 (eww-display-html): Explicit error if no libxml2 support.
18497 * doc-view.el (doc-view-mode): Silence --without-x compilation.
18499 * image.el (image-type-from-buffer, image-multi-frame-p):
18500 Remove --without-x warning/error.
18502 * mouse.el (mouse-yank-primary):
18503 * term.el (term-mouse-paste):
18504 Reorder to silence --without-x compilation.
18506 * mpc.el (doc-view-mode): Silence --without-x compilation.
18508 * mail/rmailmm.el (rmail-mime-set-bulk-data):
18509 Silence --without-x compilation.
18511 * progmodes/gud.el (gud-find-file, gud-mode):
18512 Silence --without-x compilation.
18513 (tooltip-mode): Declare.
18515 * wdired.el (dired-backup-overwrite): Remove declaration.
18516 (wdired-mode-map): Add doc string.
18518 * custom.el (x-get-resource): Declare.
18520 * eshell/em-glob.el (ange-cache):
18521 * eshell/em-unix.el (ange-cache): Declare.
18523 * faces.el (x-display-list, x-open-connection, x-get-resource):
18526 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
18527 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
18530 * frame.el (x-display-grayscale-p, x-display-name): Declare.
18532 * net/gnutls.el (gnutls-log-level): Declare.
18534 * net/shr.el (image-size, image-animate): Declare.
18536 * simple.el (font-info): Declare.
18538 * subr.el (x-popup-dialog): Declare.
18540 * term/common-win.el (x-select-enable-primary)
18541 (x-last-selected-text-primary, x-last-selected-text-clipboard):
18544 * term/ns-win.el (x-handle-args): Declare.
18546 * term/x-win.el (x-select-enable-clipboard): Declare.
18548 * term/w32-win.el (create-default-fontset): Declare.
18550 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
18553 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
18554 (fit-frame-to-buffer): Explicit error if --without-x.
18555 (mouse-autoselect-window-select): Silence compiler.
18557 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18559 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
18560 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
18561 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
18562 * eshell/esh-util.el (eshell-sublist):
18563 Remove unused local variables.
18565 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
18567 * textmodes/two-column.el: Make 2C-split work for --without-x.
18568 (scroll-bar-columns): Autoload.
18569 (top-level): Require fringe when compiling.
18571 2013-09-18 Leo Liu <sdl.web@gmail.com>
18573 * subr.el (add-hook): Robustify to handle closure as well.
18575 2013-09-17 Glenn Morris <rgm@gnu.org>
18577 * simple.el (messages-buffer-mode-map): Unbind "g".
18579 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18581 * help-mode.el (help-mode-finish): Use derived-mode-p.
18582 Remove obsolete highlighting.
18584 * play/life.el (life-mode): Use define-derived-mode. Derive from
18586 (life): Let-bind inhibit-read-only.
18587 (life-setup): Avoid `setq'. Use `life-mode'.
18589 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
18590 which should not be needed any more.
18591 (package-menu-refresh, package-menu-describe-package): Use user-error.
18593 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
18594 (eshell-post-rewrite-command-hook): Make obsolete.
18595 (eshell-parse-command): Simplify.
18596 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
18597 (eshell--cmd): Declare.
18598 (eshell-parse-pipeline): Remove unused var `final-p'.
18599 Pass a dynvar to eshell-post-rewrite-command-hook.
18600 Implement the new eshell-post-rewrite-command-function.
18601 (eshell-invoke-directly): Remove unused arg `input'.
18602 * eshell/esh-io.el (eshell-io-initialize):
18603 Use eshell-post-rewrite-command-function (bug#15399).
18604 (eshell--apply-redirections): Rename from eshell-apply-redirections;
18605 adjust to new calling convention.
18606 (eshell-create-handles): Rename args to avoid clashing with dynvar
18609 2013-09-17 Glenn Morris <rgm@gnu.org>
18611 * simple.el (messages-buffer-mode): New major mode.
18612 (messages-buffer): New function.
18613 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
18614 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
18615 (ert-run-test): Use `messages-buffer' function.
18616 (ert--force-message-log-buffer-truncation): Ignore read-only.
18617 * help.el (view-echo-area-messages): Use `messages-buffer' function.
18618 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
18620 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
18622 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
18624 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
18626 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18628 * icomplete.el (icomplete-in-buffer): New var.
18629 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
18630 vars and replace them with functions.
18631 (icomplete-minibuffer-setup): Adjust accordingly.
18632 (icomplete--completion-table, icomplete--completion-predicate)
18633 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
18635 (icomplete-forward-completions, icomplete-backward-completions)
18636 (icomplete-simple-completing-p, icomplete-exhibit)
18637 (icomplete-completions): Use them.
18638 (icomplete--in-region-buffer): New var.
18639 (icomplete--in-region-setup): New function.
18640 (icomplete-mode): Use it.
18642 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
18644 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
18645 return args and options.
18646 (eshell-eval-using-options): Use the new return value of
18647 eshell--do-opts to set the options's vars in their scope.
18648 (eshell--set-option): Rename from eshell-set-option.
18649 Add arg `opt-vals'.
18650 (eshell--process-option): Rename from eshell-process-option.
18651 Add arg `opt-vals'.
18652 (eshell--process-args): Use an `opt-vals' alist to store the options's
18653 values during their processing and return them additionally to the
18656 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
18658 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
18659 continuation character an operator, as far as indentation is
18660 concerned (Bug#15369).
18662 2013-09-15 Martin Rudalics <rudalics@gmx.at>
18664 * window.el (window--state-put-2): Don't process buffer state
18665 when buffer doesn't exist any more (Bug#15382).
18667 2013-09-15 Glenn Morris <rgm@gnu.org>
18669 * eshell/em-unix.el (eshell/rm):
18670 Make -f ignore missing files. (Bug#15373)
18672 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
18673 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
18674 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
18676 2013-09-14 Glenn Morris <rgm@gnu.org>
18678 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
18680 2013-09-13 Glenn Morris <rgm@gnu.org>
18682 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
18683 (dired-guess-default): Make `file' available in the env. (Bug#15363)
18685 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
18687 * frame.el (x-focus-frame): Mark as declared in frame.c.
18689 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
18691 * ls-lisp.el: Use advice-add.
18692 (original-insert-directory): Remove.
18693 (ls-lisp--insert-directory): Rename from insert-directory; add
18694 `orig-fun' argument.
18695 (insert-directory): Advise.
18697 2013-09-13 Eli Zaretskii <eliz@gnu.org>
18699 * term.el (term-emulate-terminal): Decode the command string
18700 before passing it to term-command-hook. (Bug#15337)
18702 2013-09-13 Glenn Morris <rgm@gnu.org>
18704 * eshell/esh-util.el (ange-cache): Move declaration earlier.
18706 * eshell/esh-ext.el (eshell-search-path): Declare.
18708 * eshell/em-prompt.el (eshell/pwd): Autoload it.
18709 Otherwise an error occurs if eshell-dirs module not loaded.
18711 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
18713 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
18715 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
18716 `tramp-check-proper-host'. Check for a valid method name.
18718 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18719 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
18720 * net/tramp-sh.el (tramp-maybe-open-connection):
18721 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
18723 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
18724 also for hash values.
18726 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18728 * term/ns-win.el (parameters): Don't declare as dynamic.
18729 (before-make-frame-hook): Don't add ineffective function.
18731 * eshell/*.el: Use lexical-binding (bug#15231).
18733 2013-09-12 Kenichi Handa <handa@gnu.org>
18735 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
18737 2013-09-12 Glenn Morris <rgm@gnu.org>
18739 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
18740 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
18742 * subr.el (do-after-load-evaluation): Also give compiler warnings
18743 when obsolete files are used (except by obsolete files).
18745 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
18746 in the status output, assume `filename' is the first. (Bug#15322)
18748 * vc/vc.el (vc-deduce-fileset): Doc fix.
18750 * calc/calc-help.el (Info-goto-node):
18751 * progmodes/cperl-mode.el (Info-find-node):
18752 * vc/ediff.el (Info-goto-node): Update declarations.
18754 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
18756 * vc/vc-bzr.el (vc-compilation-mode): Declare.
18757 (vc-bzr-pull): Require vc-dispatcher.
18758 * vc/vc-git.el (vc-compilation-mode): Declare.
18759 (vc-git-pull): Require vc-dispatcher.
18761 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
18763 * progmodes/octave.el (help-button-action): Declare.
18765 * shell.el (shell-directory-tracker): Output error as a message
18766 rather than just returning it as a string.
18767 (shell-process-pushd): Remove useless use of message.
18769 * dframe.el (dframe-timer-fn):
18770 * files.el (dir-locals-read-from-file):
18771 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
18773 * reveal.el (reveal-post-command):
18774 * saveplace.el (load-save-place-alist-from-file):
18775 * shell.el (shell-resync-dirs):
18776 * w32-common-fns.el (x-get-selection-value):
18777 * emacs-lisp/copyright.el (copyright-find-copyright):
18778 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
18779 * emulation/tpu-edt.el (tpu-copy-keyfile):
18780 * play/bubbles.el (bubbles--mark-neighbourhood):
18781 * progmodes/executable.el
18782 (executable-make-buffer-file-executable-if-script-p):
18783 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
18785 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18787 Cleanup Eshell to rely less on dynamic scoping.
18788 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
18789 last-value, and ext-command here. Bind `args' closer to `body'.
18790 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
18791 (eshell--args): Declare new dynamic var.
18792 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
18793 last-value, and ext-command. Pass `args' to `body'.
18794 (eshell-process-args): Bind eshell--args.
18795 (eshell-set-option): Use eshell--args.
18796 * eshell/eshell.el (eshell): Use derived-mode-p.
18797 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
18798 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
18799 (eshell-glob-function): Declare.
18800 * eshell/esh-util.el: Require cl-lib.
18801 (eshell-read-hosts-file): Avoid add-to-list.
18802 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
18804 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
18806 (eshell/diff): Remove unused var `err'.
18807 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
18809 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
18810 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
18812 * eshell/em-glob.el (eshell-glob-matches, message-shown):
18813 Move declaration before first use.
18814 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
18815 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
18818 2013-09-12 Glenn Morris <rgm@gnu.org>
18820 * term/ns-win.el (global-map): Remove binding for ispell-next,
18821 deleted 1999-05-29. (Bug#15357)
18823 2013-09-11 Glenn Morris <rgm@gnu.org>
18825 * echistory.el (electric-command-history): Remove call to deleted func.
18827 * play/landmark.el (landmark-mode): Fix typos.
18829 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
18830 Check cvs-sort-ignore-file is bound.
18832 * savehist.el: No need for cl when compiling on Emacs.
18834 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18836 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
18838 (eshell-self-insert-command, eshell-send-invisible):
18839 Remove unused argument.
18840 (eshell-handle-control-codes): Remove unused var `orig'.
18841 Avoid delete-backward-char.
18843 * files.el (set-auto-mode): Simplify a bit further.
18845 2013-09-11 Glenn Morris <rgm@gnu.org>
18847 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
18848 (set-auto-mode): Don't regexp-quote elements.
18849 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
18850 * progmodes/cc-mode.el (interpreter-mode-alist):
18851 * progmodes/ruby-mode.el (interpreter-mode-alist):
18852 Revert previous change.
18854 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
18856 * play/snake.el (snake-mode):
18857 * play/mpuz.el (mpuz-mode):
18858 * play/landmark.el (lm-mode):
18859 * play/blackbox.el (blackbox-mode):
18860 * play/5x5.el (5x5-mode):
18861 * obsolete/options.el (Edit-options-mode):
18862 * net/quickurl.el (quickurl-list-mode):
18863 * net/newst-treeview.el (newsticker-treeview-mode):
18864 * mail/rmailsum.el (rmail-summary-mode):
18865 * mail/mspools.el (mspools-mode):
18866 * locate.el (locate-mode):
18867 * ibuffer.el (ibuffer-mode):
18868 * emulation/ws-mode.el (wordstar-mode):
18869 * emacs-lisp/debug.el (debugger-mode):
18870 * array.el (array-mode):
18871 * net/eudc.el (eudc-mode): Use define-derived-mode.
18872 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
18873 Move initialization into declaration.
18874 (mairix-searches-mode): Use define-derived-mode.
18875 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
18876 (eudc-edit-hotlist): Use dolist.
18877 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
18878 (Man-mode): Use define-derived-mode.
18879 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
18880 (Info-edit-mode): Use define-derived-mode.
18881 (Info-cease-edit): Use Info-mode.
18882 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
18884 (eshell-mode): Use define-derived-mode.
18885 * chistory.el (command-history-mode-map): Rename from
18886 command-history-map.
18887 (command-history-mode): Use define-derived-mode.
18888 (Command-history-setup): Remove function.
18889 * calc/calc.el (calc-trail-mode-map): New var.
18890 (calc-trail-mode): Use define-derived-mode.
18891 (calc-trail-buffer): Set calc-main-buffer manually.
18892 * bookmark.el (bookmark-insert-annotation): New function.
18893 (bookmark-edit-annotation): Use it.
18894 (bookmark-edit-annotation-mode): Make it a proper major mode.
18895 (bookmark-send-edited-annotation): Use derived-mode-p.
18896 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
18897 closer to its ideal place. Use \' to match EOS.
18899 * profiler.el (profiler-calltree-find): Use function-equal.
18901 2013-09-10 Glenn Morris <rgm@gnu.org>
18903 * files.el (interpreter-mode-alist): Convert to regexps.
18904 (set-auto-mode): Adapt for this. (Bug#15306)
18905 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
18906 Comment out unused variable.
18907 * progmodes/cc-mode.el (interpreter-mode-alist):
18908 * progmodes/python.el (interpreter-mode-alist):
18909 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
18910 * progmodes/sh-script.el (sh-set-shell):
18911 No longer use interpreter-mode-alist to get list of shells.
18913 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
18915 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
18917 * simple.el: Use set-temporary-overlay-map for universal-argument.
18918 (universal-argument-map): Don't use default-bindings (bug#15317).
18919 Bind switch-frame explicitly. Replace universal-argument-minus with
18920 a conditional binding.
18921 (universal-argument-num-events, saved-overriding-map): Remove.
18922 (restore-overriding-map): Remove.
18923 (universal-argument--mode): Rename from save&set-overriding-map,
18925 (universal-argument, universal-argument-more, negative-argument)
18926 (digit-argument): Adjust accordingly.
18927 (universal-argument-minus): Remove.
18928 (universal-argument-other-key): Remove.
18930 * subr.el (with-demoted-errors): Add `format' argument.
18932 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
18934 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
18935 `tramp-cleanup-connection'.
18937 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
18938 parameters KEEP-DEBUG and KEEP-PASSWORD.
18940 * net/tramp.el (tramp-file-name-handler):
18941 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
18942 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18943 (tramp-maybe-open-connection):
18944 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
18945 Use `tramp-cleanup-connection'.
18947 * net/tramp-sh.el (tramp-maybe-open-connection):
18948 Catch 'uname-changed inside the progress reporter.
18950 2013-09-10 Glenn Morris <rgm@gnu.org>
18952 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
18954 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
18955 returns "alternate access method" in mode (eg "-rw-r--r--.").
18957 2013-09-08 Glenn Morris <rgm@gnu.org>
18959 * saveplace.el (load-save-place-alist-from-file):
18960 Demote errors. (Bug#15305)
18962 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
18964 Improve compatibility with older Emacsen, and XEmacs.
18966 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
18967 only if it is bound. It isn't for XEmacs.
18968 (with-tramp-progress-reporter): Do not let-bind `result'.
18969 This yields to scoping errors in XEmacs.
18970 (tramp-handle-make-auto-save-file-name): New function, moved from
18973 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
18974 for `make-auto-save-file-name'.
18975 (tramp-adb--gnu-switches-to-ash):
18976 Use `tramp-compat-replace-regexp-in-string'.
18978 * net/tramp-cache.el (tramp-cache-print): Call
18979 `substring-no-properties' only if it is bound. It isn't for XEmacs.
18981 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
18982 bound. It isn't for XEmacs.
18984 * net/tramp-compat.el (tramp-compat-copy-file):
18985 Catch `wrong-number-of-arguments' error.
18986 (tramp-compat-replace-regexp-in-string): New defun.
18988 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
18989 for `make-auto-save-file-name'.
18990 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
18992 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
18993 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
18994 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
18996 * net/tramp-gw.el (tramp-gw-open-network-stream):
18997 Use `tramp-compat-replace-regexp-in-string'.
18999 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
19000 Call `tramp-handle-make-auto-save-file-name'.
19001 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
19002 (tramp-sh-file-gvfs-monitor-dir-process-filter)
19003 (tramp-sh-file-inotifywait-process-filter):
19004 Use `tramp-compat-replace-regexp-in-string'.
19005 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
19007 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
19008 for `make-auto-save-file-name'.
19009 (tramp-smb-handle-copy-directory):
19010 Call `tramp-compat-replace-regexp-in-string'.
19011 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
19012 (tramp-smb-handle-copy-file): Improve error message.
19013 (tramp-smb-handle-rename-file): Rename directly only in case
19014 `newname' does not exist yet. This is a restriction of smbclient.
19015 (tramp-smb-maybe-open-connection): Rerun the function only when
19016 `auth-sources' is non-nil.
19018 2013-09-08 Kenichi Handa <handa@gnu.org>
19020 * international/characters.el: Set category "^" (Combining) for
19023 2013-09-07 Alan Mackenzie <acm@muc.de>
19025 Correctly fontify Java class constructors.
19026 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
19028 (c-recognize-typeless-decls): Set the Java value to t.
19029 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19030 While handling a "(", add a check for, effectively, Java, and handle a
19031 "typeless" declaration there.
19033 2013-09-07 Roland Winkler <winkler@gnu.org>
19035 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
19036 field subtitle for entry type book.
19038 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
19040 * minibuffer.el: Make minibuffer-complete call completion-in-region
19041 rather than other way around.
19042 (completion--some, completion-pcm--find-all-completions):
19043 Don't delay signals when debugging.
19044 (minibuffer-completion-contents): Beware fields within the
19045 minibuffer contents.
19046 (completion-all-sorted-completions): Use defvar-local.
19047 (completion--do-completion, completion--cache-all-sorted-completions)
19048 (completion-all-sorted-completions, minibuffer-force-complete):
19049 Add args `beg' and `end'.
19050 (completion--in-region-1): New fun, extracted from minibuffer-complete.
19051 (minibuffer-complete): Use completion-in-region.
19052 (completion-complete-and-exit): New fun, extracted from
19053 minibuffer-complete-and-exit.
19054 (minibuffer-complete-and-exit): Use it.
19055 (completion--complete-and-exit): Rename from
19056 minibuffer--complete-and-exit.
19057 (completion-in-region--single-word): New function, extracted from
19058 minibuffer-complete-word.
19059 (minibuffer-complete-word): Use it.
19060 (display-completion-list): Make `common-substring' argument obsolete.
19061 (completion--in-region): Call completion--in-region-1 instead of
19062 minibuffer-complete.
19063 (completion-help-at-point): Pass boundaries to
19064 minibuffer-completion-help as args rather than via an overlay.
19065 (completion-pcm--string->pattern): Use `any-delim'.
19066 (completion-pcm--optimize-pattern): New function.
19067 (completion-pcm--pattern->regex): Handle `any-delim'.
19068 * icomplete.el (icomplete-forward-completions)
19069 (icomplete-backward-completions, icomplete-completions):
19070 Adjust calls to completion-all-sorted-completions and
19071 completion--cache-all-sorted-completions.
19072 (icomplete-with-completion-tables): Default to t.
19073 * emacs-lisp/crm.el (crm--current-element): Rename from
19074 crm--select-current-element. Don't put an overlay but return the
19075 boundaries instead.
19076 (crm--completion-command): Take two new args to bind to the boundaries.
19077 (crm-completion-help): Adjust accordingly.
19078 (crm-complete): Use completion-in-region.
19079 (crm-complete-word): Use completion-in-region--single-word.
19080 (crm-complete-and-exit): Use completion-complete-and-exit.
19082 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
19084 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
19087 2013-09-06 Juri Linkov <juri@jurta.org>
19089 * info.el (Info-display-images-node): When image file doesn't exist
19090 display text version of the image if it's provided in the Info file.
19091 Otherwise, display the location of missing image from SRC attribute.
19092 Add help-echo text property from ALT attribute. (Bug#15279)
19094 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
19096 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
19097 (edit-abbrevs-mode): Use define-derived-mode.
19099 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
19100 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
19102 (epa-key-list-mode, epa-key-mode, epa-info-mode):
19103 Use define-derived-mode.
19105 * epg.el (epg-start-encrypt): Minor CSE simplification.
19107 2013-09-06 William Xu <william.xwl@gmail.com>
19109 * arc-mode.el: Add support for 7za (bug#15264).
19110 (archive-7z-program): New var.
19111 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
19112 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
19113 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
19115 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
19119 * net/tramp.el (tramp-syntax, tramp-prefix-format)
19120 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
19121 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
19122 (tramp-postfix-host-format, tramp-file-name-regexp)
19123 (tramp-completion-file-name-regexp)
19124 (tramp-completion-dissect-file-name)
19125 (tramp-handle-substitute-in-file-name): Remove 'url case.
19126 (tramp-file-name-regexp-url)
19127 (tramp-completion-file-name-regexp-url): Remove constants.
19129 2013-09-06 Glenn Morris <rgm@gnu.org>
19131 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
19133 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
19135 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
19136 keywords" below "here-doc beginnings" (Bug#15270).
19138 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
19140 * subr.el (pop): Use `car-safe'.
19141 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
19142 to detect unused `pop' return value.
19144 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
19145 var `block-regexp'.
19146 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
19147 (python-fill-string): Remove unused var `marker'.
19148 (python-skeleton-add-menu-items): Remove unused var `items'.
19150 * international/mule-cmds.el: Require CL.
19151 (find-coding-systems-for-charsets): Avoid add-to-list.
19152 (sanitize-coding-system-list): New function, extracted from
19153 select-safe-coding-system-interactively.
19154 (select-safe-coding-system-interactively): Use it.
19155 (read-input-method-name): Accept symbols for `default'.
19157 * emacs-lisp/advice.el (defadvice): Add indent rule.
19159 2013-09-05 Daniel Hackney <dan@haxney.org>
19163 * net/browse-url.el:
19166 * net/eudcb-ldap.el:
19170 * vc/ediff-diff.el:
19171 * vc/ediff-init.el:
19172 * vc/ediff-merg.el:
19173 * vc/ediff-mult.el:
19174 * vc/ediff-util.el:
19175 * vc/ediff-wind.el:
19179 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
19180 byte compiler. Remove some unused let-bound variables.
19182 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
19184 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
19185 a "ref-cell", since it gets better optimized (bug#14883).
19187 2013-09-05 Glenn Morris <rgm@gnu.org>
19189 * progmodes/cc-awk.el (c-forward-sws): Declare.
19191 2013-09-04 Glenn Morris <rgm@gnu.org>
19193 * generic-x.el [rul-generic-mode]: Require cc-mode.
19194 (c++-mode-syntax-table): Declare.
19195 (rul-generic-mode-syntax-table): Init in the defvar.
19197 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
19199 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
19200 (vc-do-command, vc-set-async-update):
19201 * vc/vc-mtn.el (vc-mtn-dir-status):
19202 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
19203 (vc-hg-pull, vc-hg-merge-branch):
19204 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
19205 (vc-git-merge-branch):
19206 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
19207 (vc-cvs-dir-status-files):
19208 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
19209 (vc-bzr-dir-status-files):
19210 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
19211 * vc/vc-annotate.el: Use lexical-binding.
19212 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
19213 (vc-sentinel-movepoint): Declare.
19214 (vc-annotate): Don't use `goto-line'.
19215 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
19216 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
19217 (vc-sentinel-movepoint): Declare.
19218 * vc/vc-svn.el: Use lexical-binding.
19219 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
19221 * vc/vc-rcs.el: Use lexical-binding.
19223 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
19224 `deleted'. Don't drop errors silently.
19226 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
19228 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
19230 * vc/vc.el (vc-ignore): Rewrite.
19231 (vc-default-ignore): New function.
19232 (vc-default-ignore-completion-table): Use find-ignore-file.
19234 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
19235 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
19236 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
19237 Remove. Most code moved to vc.el.
19239 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
19241 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
19242 * net/tramp-smb.el (tramp-smb-get-file-entries):
19243 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
19244 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
19246 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
19248 (eww-change-select): Remove unused var `properties'.
19249 (eww-make-unique-file-name): Remove unused var `base'.
19251 * finder.el (finder-compile-keywords): Don't mess with windows.
19253 * calculator.el (calculator-funcall): Fix typo in last change.
19255 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
19257 * emacs-lisp/package.el (package-activate-1): Don't let a missing
19258 <pkg>-autoloads.el file stop us.
19260 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
19261 warnings, and factor out common code.
19263 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
19265 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
19266 two-character operators and whether the character preceding them
19267 changes their meaning (Bug#15208).
19269 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
19271 Format code sent to Python shell for robustness.
19272 * progmodes/python.el (python-shell-buffer-substring):
19274 (python-shell-send-region, python-shell-send-buffer): Use it.
19276 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
19278 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
19279 * net/tramp.el (tramp-user-error): ... here.
19280 (tramp-find-method, tramp-check-proper-host)
19281 (tramp-dissect-file-name, tramp-debug-message)
19282 (tramp-handle-shell-command):
19283 * net/tramp-adb.el (tramp-adb-handle-shell-command):
19284 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
19286 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
19288 2013-09-02 Martin Rudalics <rudalics@gmx.at>
19290 * avoid.el (mouse-avoidance-point-position)
19291 (mouse-avoidance-too-close-p): Handle case where posn-at-point
19294 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
19296 * progmodes/python.el (python-shell-completion-get-completions):
19297 Drop use of deleted `comint-last-prompt-overlay'.
19298 (python-nav-if-name-main): New command.
19300 2013-09-01 Glenn Morris <rgm@gnu.org>
19302 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
19303 Avoid leading space in $wins. Otherwise the sed command used by
19304 eg compile-main ends up containing "/*.el". (Bug#15170)
19306 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
19308 2013-08-30 Glenn Morris <rgm@gnu.org>
19310 * emacs-lisp/bytecomp.el (byte-recompile-directory):
19311 Fix is-this-a-directory logic. (Bug#15220)
19313 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19315 * textmodes/css-mode.el: Use SMIE.
19316 (css-smie-grammar): New var.
19317 (css-smie--forward-token, css-smie--backward-token)
19318 (css-smie-rules): New functions.
19319 (css-mode): Use them.
19320 (css-navigation-syntax-table): Remove var.
19321 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
19322 (css-indent-calculate, css-indent-line): Remove functions.
19324 Misc changes to reduce use of `(lambda...); and other cleanups.
19325 * cus-edit.el: Use lexical-binding.
19326 (customize-push-and-save, customize-apropos)
19327 (custom-buffer-create-internal): Use closures.
19328 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
19329 * progmodes/ada-xref.el: Use setq.
19330 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
19331 * dframe.el: Use lexical-binding.
19332 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
19333 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
19334 * descr-text.el: Use lexical-binding.
19335 (describe-text-widget, describe-text-sexp, describe-property-list):
19337 * comint.el (comint-history-isearch-push-state): Use a closure.
19338 * calculator.el: Use lexical-binding.
19339 (calculator-number-to-string): Make it work with lexical-binding.
19340 (calculator-funcall): Same and use cl-letf.
19342 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
19343 (lisp--company-doc-string, lisp--company-location): New functions.
19344 (lisp-completion-at-point): Use them to improve Company support.
19346 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
19347 params of lambda expressions.
19348 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
19349 (ruby-smie--opening-pipe-p): New function.
19350 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
19351 symbols and matched |...| for formal params.
19352 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
19353 from being treated as hanging. Handle "rescue".
19355 2013-08-29 Glenn Morris <rgm@gnu.org>
19357 * progmodes/cc-engine.el (c-pull-open-brace):
19358 Move definition before use.
19360 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
19362 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
19363 are immutable. Don't use `unsafe' any more.
19364 (cl--defsubst-expand): Don't substitute at the same time as keeping
19365 a residual unused let-binding. Don't use `unsafe' any more.
19367 2013-08-29 Glenn Morris <rgm@gnu.org>
19369 * calendar/cal-china.el (calendar-chinese-year-cache):
19372 * nxml/nxml-util.el (nxml-debug-clear-inside):
19373 Use cl-loop rather than loop.
19375 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
19377 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
19379 2013-08-28 Glenn Morris <rgm@gnu.org>
19381 * progmodes/antlr-mode.el: No need to require cc-mode twice.
19383 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
19385 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
19387 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19389 * simple.el (repeat-complex-command--called-interactively-skip):
19391 (repeat-complex-command): Use it (bug#14136).
19393 * progmodes/cc-mode.el: Minor cleanup of var declarations.
19394 (c-define-abbrev-table): Add `doc' argument.
19395 (c-mode-abbrev-table, c++-mode-abbrev-table)
19396 (objc-mode-abbrev-table, java-mode-abbrev-table)
19397 (idl-mode-abbrev-table, pike-mode-abbrev-table)
19398 (awk-mode-abbrev-table): Use it.
19399 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
19400 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
19401 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
19402 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
19403 Move initialization into the declaration; and remove any
19406 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
19407 and dynamic let binding.
19409 * vc/smerge-mode.el: Remove redundant :group args.
19411 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
19414 2013-08-28 Juri Linkov <juri@jurta.org>
19416 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
19417 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
19418 (isearch-other-meta-char): Handle an undefined shifted printing
19419 character by downshifting it. (Bug#15200)
19421 2013-08-28 Juri Linkov <juri@jurta.org>
19423 * isearch.el (isearch-search): Change regexp error message for
19424 non-regexp searches. (Bug#15166)
19426 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
19428 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
19429 for portability to hosts where /bin/sh has problems.
19431 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19433 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
19435 2013-08-27 Juri Linkov <juri@jurta.org>
19437 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
19438 in the keyboard macro. (Bug#15126)
19440 2013-08-27 Juri Linkov <juri@jurta.org>
19442 * isearch.el (isearch-quote-char): Comment out converting unibyte
19443 to multibyte, thus syncing with its `quoted-insert' counterpart.
19446 2013-08-27 Martin Rudalics <rudalics@gmx.at>
19448 * window.el (display-buffer-use-some-window): Add missing
19449 argument in call of get-largest-window (Bug#15185).
19450 Reported by Stephen Leake.
19452 2013-08-27 Glenn Morris <rgm@gnu.org>
19454 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
19456 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
19458 * progmodes/python.el (python-font-lock-keywords): Don't return nil
19459 from a matcher-function unless there's no more matches (bug#15161).
19461 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
19463 * minibuffer.el: Revert change from 2013-08-20.
19465 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
19466 with text property `tramp-default', if appropriate.
19467 (tramp-check-proper-host): New defun.
19468 (tramp-dissect-file-name): Do not check hostname. Revert change
19470 (tramp-backtrace): Make VEC-OR-PROC optional.
19472 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
19473 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
19474 * net/tramp-sh.el (tramp-maybe-open-connection):
19475 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
19476 Apply `tramp-check-proper-host'.
19478 2013-08-26 Tassilo Horn <tsdh@gnu.org>
19480 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
19481 lambda expression in order to have `describe-variable' display it.
19483 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
19485 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
19486 BUF can be optional. (Bug#15186)
19488 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
19490 * progmodes/flymake.el (flymake-get-real-file-name-function):
19491 Fix broken customization. (Bug#15184)
19493 2013-08-25 Alan Mackenzie <acm@muc.de>
19495 Improve indentation of bracelists defined by macros (without "=").
19497 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
19498 expansion begins with "{", regard it as bracelist when it doesn't
19501 Parse C++ inher-intro when there's a template split over 2 lines.
19503 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
19504 rigorously the search for "class" etc. followed by ":".
19506 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
19507 random languages a regexp which never matches rather than nil.
19509 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
19511 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
19512 (c-awk-regexp-one-line-possibly-open-char-list-re)
19513 (c-awk-one-line-possibly-open-regexp-re)
19514 (c-awk-one-line-non-syn-ws*-re): Remove.
19515 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
19516 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
19517 (c-awk-space*-unclosed-regexp-/-re): New constants.
19518 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
19519 aren't regexp delimiters.
19521 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
19522 handling for a rare situation in AWK Mode involving unterminated
19525 2013-08-23 Glenn Morris <rgm@gnu.org>
19527 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
19529 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
19531 * files.el (create-file-buffer): If the result would begin with
19532 spaces, prepend a "|" instead of removing them. (Bug#15162)
19534 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19536 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
19537 text-properties (bug#15155).
19539 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
19541 (calc-keypad-redraw): Remove unused var `pad'.
19542 (calc-keypad-press): Remove unused var `menu'.
19544 2013-08-23 Martin Rudalics <rudalics@gmx.at>
19546 * window.el (display-buffer-pop-up-frame):
19547 Call pop-up-frame-function with BUFFER current so `make-frame' will
19548 use it as the new frame's buffer (Bug#15133).
19550 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19552 * calendar/timeclock.el: Minor cleanups.
19553 (timeclock-ask-before-exiting, timeclock-use-display-time):
19555 (timeclock-modeline-display): Define as alias before the
19557 (timeclock-mode-line-display): Use define-minor-mode.
19558 (timeclock-day-list-template): Make it a function, add an argument.
19559 (timeclock-day-list-required, timeclock-day-list-length)
19560 (timeclock-day-list-debt, timeclock-day-list-span)
19561 (timeclock-day-list-break): Adjust calls accordingly.
19563 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
19565 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
19566 Use read--expression so that completion works again.
19568 2013-08-21 Sam Steingold <sds@gnu.org>
19570 Add rudimentary inferior shell interaction
19571 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
19572 (sh-set-shell): Reset it.
19573 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
19574 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
19576 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
19578 * align.el: Use lexical-binding.
19579 (align-region): Simplify accordingly.
19581 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
19583 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
19585 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
19586 `non-essential' up.
19588 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
19591 * net/tramp-adb.el:
19592 * net/tramp-cmds.el:
19593 * net/tramp-ftp.el:
19594 * net/tramp-gvfs.el:
19596 * net/tramp-sh.el: Don't wrap external variable declarations by
19597 `eval-when-compile'.
19599 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19601 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
19602 now that Emacs supports ImageMagick animations.
19604 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
19606 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
19607 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
19609 2013-08-16 Martin Rudalics <rudalics@gmx.at>
19611 * window.el (mouse-autoselect-window-select): Do autoselect when
19612 mouse pointer is on margin.
19614 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
19616 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
19618 2013-08-16 Glenn Morris <rgm@gnu.org>
19620 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
19621 Handle "Remote Directory" response of some clients. (Bug#15058)
19623 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
19624 Tweak warning. (Bug#14926)
19626 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
19627 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
19629 * image-mode.el (image-mode-map): Add menu items to reverse,
19630 increase, decrease, reset animation speed.
19631 (image--set-speed, image-increase-speed, image-decrease-speed)
19632 (image-reverse-speed, image-reset-speed): New functions.
19633 (image-mode-map): Add bindings for speed commands.
19635 * image.el (image-animate-get-speed, image-animate-set-speed):
19637 (image-animate-timeout): Respect image :speed property.
19639 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19641 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
19642 previous line (bug#15101).
19643 (debugger-eval-expression, debugger-record-expression):
19644 Use read--expression (bug#15102).
19646 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
19648 Remove byte compiler warnings, visible when compiling with
19649 `byte-compile-force-lexical-warnings' set to t.
19651 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
19652 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
19653 (tramp-handle-unhandled-file-name-directory)
19654 (tramp-handle-file-notify-add-watch, tramp-action-login)
19655 (tramp-action-succeed, tramp-action-permission-denied)
19656 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
19657 arguments with "_".
19659 * net/tramp-adb.el (tramp-adb-parse-device-names)
19660 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
19661 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
19662 (tramp-adb-handle-file-truename): Remove unused arguments.
19664 * net/tramp-cache.el (tramp-flush-directory-property)
19665 (tramp-flush-connection-property, tramp-list-connections)
19666 (tramp-parse-connection-properties): Prefix unused arguments with "_".
19668 * net/tramp-compat.el (tramp-compat-make-temp-file):
19669 Rename FILENAME to F.
19671 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
19672 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
19673 (tramp-zeroconf-parse-workstation-device-names)
19674 (tramp-zeroconf-parse-webdav-device-names)
19675 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
19677 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
19678 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
19680 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
19682 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
19683 (tramp-sh-handle-insert-file-contents-literally)
19684 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
19686 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
19687 Remove unused variables.
19689 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
19690 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
19691 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
19693 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
19694 Make them a defconst.
19695 (tramp-uuencode-region): Remove unused variable.
19697 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
19699 * frameset.el (frameset--prop-setter): New function.
19700 (frameset-prop): Add gv-setter declaration.
19701 (frameset-filter-minibuffer): Deal with the case that the minibuffer
19702 parameter was already set in FILTERED. Doc fix.
19703 (frameset--record-minibuffer-relationships): Allow saving a
19704 minibufferless frame without its corresponding minibuffer frame.
19705 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
19706 frame, if the frame id matches.
19707 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
19708 frames before orphaned ones.
19709 (frameset-restore): Warn about orphaned windows, instead of error out.
19711 2013-08-14 Martin Rudalics <rudalics@gmx.at>
19713 * window.el (window-make-atom): Don't overwrite parameter
19715 (display-buffer-in-atom-window): Handle special case where we
19716 split an already atomic window.
19717 (window--major-non-side-window, display-buffer-in-side-window)
19718 (window--side-check): Ignore minibuffer window when walking
19720 (window-deletable-p): Return 'frame only if no other frame uses
19721 our minibuffer window.
19722 (record-window-buffer): Run buffer-list-update-hook.
19723 (split-window): Make sure window--check-frame won't destroy an
19724 existing atomic window in case the new window gets nested
19726 (display-buffer-at-bottom): Ignore minibuffer window when
19727 walking window tree. Don't split a side window.
19728 (pop-to-buffer): Don't set-buffer here, the select-window call
19730 (mouse-autoselect-window-select): Autoselect only if we are in the
19731 text portion of the window.
19733 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19735 * net/shr.el (shr-parse-image-data): New function to grab both the
19736 data itself and the Content-Type.
19737 (shr-put-image): Use it.
19739 * net/eww.el (eww-display-image): Ditto.
19741 * image.el (image-content-type-suffixes): New variable.
19743 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
19745 * progmodes/python.el (python-imenu--build-tree)
19746 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
19748 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
19750 * simple.el (backward-word): Mention the optional argument.
19752 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19754 * frameset.el (frameset--make): Rename constructor from make-frameset.
19755 (frameset-p, frameset-valid-p): Don't autoload.
19756 (frameset-valid-p): Use normal accessors.
19758 2013-08-13 Glenn Morris <rgm@gnu.org>
19760 * progmodes/compile.el (compile-command): Tweak example in doc.
19761 * obsolete/scribe.el (scribe-mode):
19762 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
19764 * mail/feedmail.el (feedmail-confirm-outgoing)
19765 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
19767 * cus-start.el (truncate-partial-width-windows): Fix type.
19769 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
19771 * net/shr.el (shr-table-horizontal-line): Fix custom type.
19773 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
19775 * emacs-lisp/timer.el (timer--time-setter): New function.
19776 (timer--time): Use it as gv-setter.
19778 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
19779 setter is not a symbol.
19781 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
19783 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
19784 if sending fails. This makes debugging easier.
19786 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
19788 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
19789 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
19790 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
19792 2013-08-12 Eli Zaretskii <eliz@gnu.org>
19794 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
19796 2013-08-12 Glenn Morris <rgm@gnu.org>
19798 * format.el (format-annotate-function):
19799 Handle read-only text properties in the source. (Bug#14887)
19801 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19803 * net/eww.el (eww-display-html): Ignore coding system errors.
19804 One web site uses "utf-8lias" as the coding system.
19806 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
19808 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
19810 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
19812 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
19813 (tutorial--detailed-help): Remove unused local variables.
19814 (tutorial--save-tutorial-to): Use ignore-errors.
19815 (help-with-tutorial): Use looking-at-p.
19817 * view.el (view-buffer-other-window, view-buffer-other-frame):
19818 Mark unused arguments.
19820 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
19821 (woman-select-symbol-fonts, woman, woman-find-file)
19822 (woman-insert-file-contents, woman-non-underline-faces):
19823 Use string-match-p.
19824 (woman1-unquote): Move declaration.
19826 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
19827 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
19828 argument. Remove unused local variable.
19829 (xml-parse-elem-type): Use string-match-p.
19830 (xml-substitute-numeric-entities): Use ignore-errors.
19832 * calculator.el (calculator): Mark unused argument.
19833 (calculator-paste, calculator-quit, calculator-integer-p):
19835 (calculator-string-to-number, calculator-decimal, calculator-exp)
19836 (calculator-op-or-exp): Use string-match-p.
19838 * dired.el (dired-buffer-more-recently-used-p): Declare.
19839 (dired-insert-set-properties, dired-insert-old-subdirs):
19842 * dired-aux.el (dired-compress): Use ignore-errors.
19843 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
19844 (dired-do-async-shell-command, dired-do-shell-command)
19845 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
19846 (dired-insert-subdir-validate): Use string-match-p.
19847 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
19848 (dired-add-entry): Use string-match-p, looking-at-p.
19849 (dired-insert-subdir-newpos): Remove unused local variable.
19851 * filenotify.el (file-notify-callback): Remove unused local variable.
19853 * filesets.el (filesets-error): Mark unused argument.
19854 (filesets-which-command-p, filesets-filter-dir-names)
19855 (filesets-directory-files, filesets-get-external-viewer)
19856 (filesets-ingroup-get-data): Use string-match-p.
19858 * find-file.el (ff-other-file-name, ff-other-file-name)
19859 (ff-find-the-other-file, ff-cc-hh-converter):
19860 Remove unused local variables.
19861 (ff-get-file-name): Use string-match-p.
19862 (ff-all-dirs-under): Use ignore-errors.
19864 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
19865 (follow-select-if-visible): Remove unused local variable.
19867 * forms.el (read-file-filter): Move declaration.
19868 (forms--make-format, forms--make-parser, forms-insert-record):
19869 Quote function with #'.
19870 (forms--update): Use string-match-p. Quote function with #'.
19872 * help-mode.el (help-dir-local-var-def): Mark unused argument.
19873 (help-make-xrefs): Use looking-at-p.
19874 (help-xref-on-pp): Use looking-at-p, ignore-errors.
19876 * ibuffer.el (ibuffer-ext-visible-p): Declare.
19877 (ibuffer-confirm-operation-on): Use string-match-p.
19879 * msb.el (msb-item-handler, msb-dired-item-handler):
19880 Mark unused arguments.
19882 * ses.el (ses-decode-cell-symbol)
19883 (ses-kill-override): Remove unused local variable.
19884 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
19885 (ses-load): Use ignore-errors, looking-at-p.
19886 (ses-jump-safe): Use ignore-errors.
19887 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
19889 * tabify.el (untabify, tabify): Mark unused arguments.
19891 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
19892 Mark unused argument.
19893 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
19894 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
19896 * emacs-lisp/timer.el (timer--time): Define setter with
19897 gv-define-setter to avoid deprecation warning.
19899 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
19900 (*record-cmpl-statistics-p*): Remove (was commented out).
19901 (cmpl-statistics-block): Remove (body was commented out).
19902 All callers changed.
19903 (add-completions-from-buffer, load-completions-from-file):
19904 Remove unused variables.
19906 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19908 * filecache.el (file-cache-delete-file-list):
19909 Print message only when told so.
19910 (file-cache-files-matching): Use #' in mapconcat argument.
19912 * ffap.el (ffap-url-at-point): Fix reference to variable
19913 thing-at-point-default-mail-uri-scheme.
19915 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
19917 * subr.el (define-error): New function.
19918 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
19919 error-file-not-found and define with define-error.
19920 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
19921 and define with define-error.
19922 * userlock.el (file-locked, file-supersession):
19923 * simple.el (mark-inactive):
19924 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
19925 * progmodes/ada-mode.el (ada-mode-errors):
19926 * play/life.el (life-extinct):
19927 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
19928 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
19929 * nxml/rng-util.el (rng-error):
19930 * nxml/rng-uri.el (rng-uri-error):
19931 * nxml/rng-match.el (rng-compile-error):
19932 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
19933 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
19934 * nxml/nxml-rap.el (nxml-scan-error):
19935 * nxml/nxml-outln.el (nxml-outline-error):
19936 * net/soap-client.el (soap-error):
19937 * net/gnutls.el (gnutls-error):
19938 * net/ange-ftp.el (ftp-error):
19939 * mpc.el (mpc-proc-error):
19940 * json.el (json-error, json-readtable-error, json-unknown-keyword)
19941 (json-number-format, json-string-escape, json-string-format)
19942 (json-key-format, json-object-format):
19943 * jka-compr.el (compression-error):
19944 * international/quail.el (quail-error):
19945 * international/kkc.el (kkc-error):
19946 * emacs-lisp/ert.el (ert-test-failed):
19947 * calc/calc.el (calc-error, inexact-result, math-overflow)
19949 * bookmark.el (bookmark-error-no-filename):
19950 * epg.el (epg-error): Define with define-error.
19952 * time.el (display-time-event-handler)
19953 (display-time-next-load-average): Don't call sit-for since it seems
19954 unnecessary (bug#15045).
19956 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
19957 Use #' instead of ' to quote functions.
19958 (checkdoc-output-mode): Use setq-local.
19959 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
19960 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
19961 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
19962 (checkdoc-ispell, checkdoc-ispell-current-buffer)
19963 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
19964 (checkdoc-ispell-message-text, checkdoc-ispell-start)
19965 (checkdoc-ispell-continue, checkdoc-ispell-comments)
19966 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
19968 * ido.el (ido-completion-help): Fix up compiler warning.
19970 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
19972 * frameset.el (frameset-p): Add autoload cookie.
19973 (frameset--jump-to-register): New function, based on code moved from
19975 (frameset-to-register): Move from register.el. Adapt to `registerv'.
19977 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
19978 (frameset-restore, frameset-save, frameset-session-filter-alist):
19979 Remove declarations.
19980 (register-alist): Doc fix.
19981 (frameset-to-register): Move to frameset.el.
19982 (jump-to-register, describe-register-1): Remove frameset-specific code.
19984 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
19986 * allout-widgets.el (allout-widgets-pre-command-business)
19987 (allout-widgets-post-command-business)
19988 (allout-widgets-after-change-handler)
19989 (allout-decorate-item-and-context, allout-set-boundary-marker)
19990 (allout-body-modification-handler)
19991 (allout-graphics-modification-handler): Mark ignored arguments.
19992 (allout-widgets-post-command-business)
19993 (allout-widgets-exposure-change-processor)
19994 (allout-widgets-exposure-undo-processor)
19995 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
19996 (allout-parse-item-at-point, allout-decorate-item-guides)
19997 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
19998 * allout.el (epa-passphrase-callback-function): Declare.
19999 (allout-overlay-insert-in-front-handler)
20000 (allout-overlay-interior-modification-handler)
20001 (allout-isearch-end-handler, allout-chart-siblings)
20002 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
20003 (allout-yank-processing, allout-process-exposed)
20004 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
20005 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
20006 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
20007 (lisp-indent-defform): Mark ignored arguments.
20008 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
20009 (calculate-lisp-indent): Remove unused variables.
20010 * international/characters.el (indian-2-column, arabic-2-column)
20011 (tibetan): Mark ignored arguments.
20012 (use-cjk-char-width-table): Mark ignored arguments.
20013 Remove unused variables.
20014 * international/fontset.el (build-default-fontset-data)
20015 (x-compose-font-name, create-fontset-from-fontset-spec):
20016 Mark ignored arguments.
20017 (fontset-plain-name): Remove unused variables.
20018 * international/mule.el (charset-id, charset-bytes, generic-char-p)
20019 (keyboard-coding-system): Mark ignored arguments.
20020 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
20021 * help.el (resize-temp-buffer-window):
20022 * window.el (display-buffer-in-major-side-window)
20023 (display-buffer-in-side-window, display-buffer-in-previous-window):
20024 Remove unused variables.
20025 * isearch.el (isearch-forward-symbol):
20026 * version.el (emacs-bzr-version-bzr):
20027 * international/mule-cmds.el (current-language-environment):
20028 * term/common-win.el (x-handle-iconic, x-handle-geometry)
20029 (x-handle-display):
20030 * term/pc-win.el (x-list-fonts, x-display-planes)
20031 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
20032 (x-server-version, x-display-screens, x-display-mm-height)
20033 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
20034 (x-selection-owner-p, x-own-selection-internal)
20035 (x-disown-selection-internal, x-get-selection-internal)
20036 (msdos-initialize-window-system):
20037 * term/tty-colors.el (tty-color-alist, tty-color-clear):
20038 * term/x-win.el (x-handle-no-bitmap-icon):
20039 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
20040 (vc-default-find-file-hook, vc-default-extra-menu):
20041 Mark ignored arguments.
20043 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
20045 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
20046 break-condition in the context of the debugged code (bug#12685).
20048 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
20051 Do not use an overlay to highlight the last prompt. (Bug#14744)
20052 (comint-mode): Make comint-last-prompt buffer local.
20053 (comint-last-prompt): New variable.
20054 (comint-last-prompt-overlay): Remove. Superseded by
20055 comint-last-prompt.
20056 (comint-snapshot-last-prompt, comint-output-filter):
20057 Use comint-last-prompt.
20059 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
20061 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
20062 (frameset-save): Check validity of the resulting frameset.
20064 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
20066 * ido.el (ido-record-command): Add doc string.
20068 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
20070 * frameset.el (frameset): Do not disable creation of the default
20071 frameset-p predicate. Doc fix.
20072 (frameset-valid-p): New function, copied from the old predicate-p.
20073 Add additional checks.
20074 (frameset-restore): Check with frameset-valid-p.
20075 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
20076 (frameset-name, frameset-description, frameset-properties)
20077 (frameset-states): Add docstring.
20078 (frameset-session-filter-alist, frameset-persistent-filter-alist)
20079 (frameset-filter-alist): Doc fixes.
20081 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
20083 * frameset.el (frameset-p, frameset-prop): Doc fixes.
20085 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
20087 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
20088 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
20089 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
20090 (byte-compile-normal-call): Remove obsolescence check.
20092 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
20094 * frameset.el (frameset-restore): Doc fix.
20096 * register.el (frameset-frame-id, frameset-frame-with-id)
20097 (frameset-p, frameset-restore, frameset-save): Declare.
20098 (register-alist): Document framesets.
20099 (frameset-session-filter-alist): Declare.
20100 (frameset-to-register): New function.
20101 (jump-to-register): Implement jumping to framesets. Doc fix.
20102 (describe-register-1): Describe framesets.
20104 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
20106 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
20108 * desktop.el (desktop-save-frameset): Use new frameset-save args.
20109 Use lexical-binding.
20111 * frameset.el (frameset): Use type vector, not list (incompatible
20112 change). Do not declare a new constructor, use the default one.
20113 Upgrade suggested properties `app', `name' and `desc' to slots `app',
20114 `name' and `description', respectively, and add read-only slot
20115 `timestamp'. Doc fixes.
20116 (frameset-copy, frameset-persistent-filter-alist)
20117 (frameset-filter-alist, frameset-switch-to-gui-p)
20118 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
20119 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
20120 (frameset-filter-iconified, frameset-keep-original-display-p):
20122 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
20123 Rename from frameset-filter-(save|restore)-param. All callers changed.
20125 (frameset-p): Adapt to change to vector and be more thorough.
20126 Change arg name to OBJECT. Doc fix.
20127 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
20128 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
20129 All callers changed.
20130 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
20131 All callers changed.
20132 (frameset--record-minibuffer-relationships): Rename from
20133 frameset--process-minibuffer-frames. All callers changed.
20134 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
20135 Use new default constructor (again). Doc fix.
20136 (frameset--find-frame-if): Rename from `frameset--find-frame'.
20137 All callers changed.
20138 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
20139 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
20141 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
20142 PARAMETERS and WINDOW-STATE, respectively.
20143 (frameset-restore): Add new keyword argument PREDICATE.
20144 Reset frameset--target-display to nil. Doc fix.
20146 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
20148 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
20149 (bat-mode): Use it.
20150 (bat-mode-syntax-table): Mark \n as end-of-comment.
20151 (bat-font-lock-keywords): Remove comment rule.
20153 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
20154 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
20156 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
20157 (byte-compile-callargs-warn): Use `push'.
20158 (byte-compile-arglist-warn): Ignore higher-order "calls".
20159 (byte-compile-file-form-autoload): Use `pcase'.
20160 (byte-compile-function-form): If quoting a symbol, check that it exists.
20162 2013-08-07 Eli Zaretskii <eliz@gnu.org>
20164 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
20165 and add a few popular commands found in batch files.
20166 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
20167 (dos-mode): Doc fixes.
20169 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
20171 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
20172 (dos-mode): Use setq-local. Add space after "rem".
20173 (dos-mode-syntax-table): Don't use "w" for symbol chars.
20174 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
20176 2013-08-07 Arni Magnusson <arnima@hafro.is>
20178 * progmodes/dos.el: New file.
20179 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
20182 2013-08-06 Glenn Morris <rgm@gnu.org>
20184 * calendar/calendar.el: Add new faces, and day-header-array.
20185 (calendar-weekday-header, calendar-weekend-header)
20186 (calendar-month-header): New faces.
20187 (calendar-day-header-construct): New function.
20188 (calendar-day-header-width): Also :set calendar-day-header-array.
20189 (calendar-american-month-header, calendar-european-month-header)
20190 (calendar-iso-month-header): Use calendar- faces.
20191 (calendar-generate-month):
20192 Use calendar-day-header-array for day headers; apply faces to them.
20193 (calendar-mode): Check calendar-font-lock-keywords non-nil.
20194 (calendar-abbrev-construct): Add optional maxlen argument.
20195 (calendar-day-name-array): Doc fix.
20196 (calendar-day-name-array, calendar-abbrev-length)
20197 (calendar-day-abbrev-array):
20198 Also :set calendar-day-header-array, and maybe redraw.
20199 (calendar-day-header-array): New option. (Bug#15007)
20200 (calendar-font-lock-keywords): Set to nil and make obsolete.
20201 (calendar-day-name): Add option to use header array.
20203 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20205 * net/shr.el (shr-render-td): Remove debugging.
20206 (shr-render-td): Make width computation consistent by defaulting
20207 all zero-width columns to 10 characters. This may not be optimal,
20208 but it's at least consistent.
20209 (shr-make-table-1): Redo last change to fix the real problem in
20212 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
20214 * files.el (cache-long-line-scans):
20215 Make obsolete alias to `cache-long-scans'.
20217 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
20219 * frameset.el (frameset, frameset-filter-alist)
20220 (frameset-filter-params, frameset-save, frameset--reuse-frame)
20221 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
20222 (frameset-compute-pos): Rename from frameset--compute-pos,
20224 (frameset-move-onscreen): Use frameset-compute-pos.
20225 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
20227 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
20228 Fix typos in docstrings.
20230 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
20232 * frame.el (get-other-frame): Tiny cleanup.
20234 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
20236 * vc/vc.el (vc-default-ignore-completion-table):
20237 Silence byte-compiler warning.
20239 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
20240 slot, which can indeed be nil.
20241 (frameset-live-filter-alist, frameset-persistent-filter-alist):
20242 Move entry for `left' from persistent to live filter alist.
20243 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
20245 (frameset-filter-params): When restoring a frame, copy items added to
20246 `filtered', to avoid unwittingly modifying the original parameters.
20247 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
20248 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
20250 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
20251 to use looking-at-p instead of looking-at. (Bug#15028)
20253 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20255 Revert introduction of isearch-filter-predicates (bug#14714).
20256 Rely on add-function instead.
20257 * isearch.el (isearch-filter-predicates): Rename it back to
20258 isearch-filter-predicate.
20259 (isearch-message-prefix): Use advice-function-mapc and advice
20260 properties to get the isearch-message-prefix.
20261 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
20262 instead of run-hook-with-args-until-failure.
20263 (isearch-filter-visible): Not obsolete any more.
20264 * loadup.el: Preload nadvice.
20265 * replace.el (perform-replace): Revert to funcall
20266 instead of run-hook-with-args-until-failure.
20267 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
20268 * dired-aux.el (dired-isearch-filenames-mode): Rename from
20269 dired-isearch-filenames-toggle; make it into a proper minor mode.
20270 Use add/remove-function.
20271 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
20272 Call the minor-mode rather than add/remove-hook.
20273 (dired-isearch-filter-filenames):
20274 Remove isearch-message-prefix property.
20275 * info.el (Info--search-loop): New function, extracted from Info-search.
20276 Funcall isearch-filter-predicate instead of
20277 run-hook-with-args-until-failure isearch-filter-predicates.
20278 (Info-search): Use it.
20279 (Info-mode): Use isearch-filter-predicate instead of
20280 isearch-filter-predicates.
20282 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
20284 Do not call to `selected-window' where it is assumed by default.
20285 Affected functions are `window-minibuffer-p', `window-dedicated-p',
20286 `window-hscroll', `window-width', `window-height', `window-buffer',
20287 `window-frame', `window-start', `window-point', `next-window'
20288 and `window-display-table'.
20289 * abbrev.el (abbrev--default-expand):
20290 * bs.el (bs--show-with-configuration):
20291 * buff-menu.el (Buffer-menu-mouse-select):
20292 * calc/calc.el (calc):
20293 * calendar/calendar.el (calendar-generate-window):
20294 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
20295 (diary-make-entry):
20296 * comint.el (send-invisible, comint-dynamic-complete-filename)
20297 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
20298 * completion.el (complete):
20299 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
20300 * disp-table.el (describe-current-display-table):
20301 * doc-view.el (doc-view-insert-image):
20302 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
20303 * ehelp.el (with-electric-help):
20304 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
20305 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
20306 * emacs-lisp/helper.el (Helper-help-scroller):
20307 * emulation/cua-base.el (cua--post-command-handler-1):
20308 * eshell/esh-mode.el (eshell-output-filter):
20309 * ffap.el (ffap-gnus-wrapper):
20310 * help-macro.el (make-help-screen):
20311 * hilit-chg.el (highlight-compare-buffers):
20312 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
20313 * hl-line.el (global-hl-line-highlight):
20314 * icomplete.el (icomplete-simple-completing-p):
20315 * isearch.el (isearch-done):
20316 * jit-lock.el (jit-lock-stealth-fontify):
20317 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
20318 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
20319 * mpc.el (mpc-tagbrowser, mpc):
20320 * net/rcirc.el (rcirc-any-buffer):
20321 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
20322 * play/landmark.el (landmark-max-width, landmark-max-height):
20323 * play/zone.el (zone):
20324 * progmodes/compile.el (compilation-goto-locus):
20325 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
20326 * progmodes/etags.el (find-tag-other-window):
20327 * progmodes/fortran.el (fortran-column-ruler):
20328 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
20329 * progmodes/verilog-mode.el (verilog-point-text):
20330 * reposition.el (reposition-window):
20331 * rot13.el (toggle-rot13-mode):
20332 * server.el (server-switch-buffer):
20333 * shell.el (shell-dynamic-complete-command)
20334 (shell-dynamic-complete-environment-variable):
20335 * simple.el (insert-buffer, set-selective-display)
20336 (delete-completion-window):
20337 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
20338 (speedbar-recenter):
20339 * startup.el (fancy-splash-head):
20340 * textmodes/ispell.el (ispell-command-loop):
20341 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
20342 * tutorial.el (help-with-tutorial):
20343 * vc/add-log.el (add-change-log-entry):
20344 * vc/compare-w.el (compare-windows):
20345 * vc/ediff-help.el (ediff-indent-help-message):
20346 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
20347 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
20348 (ediff-setup-control-frame):
20349 * vc/emerge.el (emerge-position-region):
20350 * vc/pcvs-util.el (cvs-bury-buffer):
20351 * window.el (walk-windows, mouse-autoselect-window-select):
20352 * winner.el (winner-set-conf, winner-undo): Related users changed.
20354 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
20356 * frameset.el (frameset--set-id): Doc fix.
20357 (frameset-frame-id, frameset-frame-id-equal-p)
20358 (frameset-locate-frame-id): New functions.
20359 (frameset--process-minibuffer-frames, frameset--reuse-frame)
20360 (frameset-restore): Use them.
20362 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
20364 Do not call to `selected-frame' where it is assumed by default.
20365 Affected functions are `raise-frame', `redraw-frame',
20366 `frame-first-window', `frame-terminal' and `delete-frame'.
20367 * calendar/appt.el (appt-disp-window):
20368 * epg.el (epg-wait-for-completion):
20369 * follow.el (follow-delete-other-windows-and-split)
20370 (follow-avoid-tail-recenter):
20371 * international/mule.el (set-terminal-coding-system):
20372 * mail/rmail.el (rmail-mail-return):
20373 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
20374 * progmodes/f90.el (f90-add-imenu-menu):
20375 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
20376 * server.el (server-switch-buffer):
20377 * simple.el (delete-completion-window):
20379 * term/xterm.el (terminal-init-xterm-modify-other-keys)
20380 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
20381 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
20382 * vc/ediff.el (ediff-documentation): Related users changed.
20383 * frame.el (selected-terminal): Remove the leftover.
20385 2013-08-05 Glenn Morris <rgm@gnu.org>
20387 * calendar/calendar.el (calendar-generate-month):
20388 Fix for calendar-column-width != 1 + calendar-day-digit-width.
20389 (calendar-generate-month, calendar-font-lock-keywords):
20390 Fix for calendar-day-header-width > length of any day name.
20392 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
20394 * desktop.el (desktop-clear): Use new name of sort predicate.
20396 * frameset.el (frameset): Add docstring. Move :version property to its
20397 own `version' slot.
20398 (frameset-copy): Rename from copy-frameset.
20399 (frameset-p): Check more thoroughly.
20400 (frameset-prop): Do not check for :version, which is no longer a prop.
20401 (frameset-live-filter-alist, frameset-persistent-filter-alist):
20402 Use new :never value instead of t.
20403 (frameset-filter-alist): Expand and clarify docstring.
20404 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
20405 (frameset-filter-minibuffer, frameset-filter-save-param)
20406 (frameset-filter-restore-param, frameset-filter-iconified):
20407 Add pointer to docstring of frameset-filter-alist.
20408 (frameset-filter-params): Rename filter values to be more meaningful:
20409 :never instead of t, and reverse the meanings of :save and :restore.
20410 (frameset--process-minibuffer-frames): Clarify error message.
20411 (frameset-save): Avoid unnecessary and confusing call to framep.
20412 Use new BOA constructor for framesets.
20413 (frameset--reuse-list): Doc fix.
20414 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
20415 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
20416 (frameset-minibufferless-first-p): Doc fix.
20417 Rename from frameset-sort-frames-for-deletion.
20418 (frameset-restore): Doc fixes. Use new function names.
20419 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
20421 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
20423 * desktop.el (desktop-restore-forces-onscreen)
20424 (desktop-restore-reuses-frames): Document :keyword constant values.
20425 (desktop-filter-parameters-alist): Remove, now identical to
20426 frameset-filter-alist.
20427 (desktop--filter-tty*): Remove, moved to frameset.el.
20428 (desktop-save-frameset, desktop-restore-frameset):
20429 Do not pass :filters argument.
20431 * frameset.el (frameset-live-filter-alist)
20432 (frameset-persistent-filter-alist): New variables.
20433 (frameset-filter-alist): Use them. Add autoload cookie.
20434 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
20435 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
20436 `frameset--id' (it's supposed to be internal to frameset.el).
20437 (frameset--process-minibuffer-frames): Ditto. Doc fix.
20438 (frameset--initial-params): New function.
20439 (frameset--get-frame): Use it. Doc fix.
20440 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
20441 Accept :all, not 'all.
20442 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
20443 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
20444 with fbound symbols. Fix frame id matching, and remove matching ids if
20445 the frame being restored is deleted. Obey :delete.
20447 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
20449 * subr.el (macrop): New function.
20450 (text-clone--maintaining): New var.
20451 (text-clone--maintain): Rename from text-clone-maintain. Use it
20452 instead of inhibit-modification-hooks.
20454 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
20455 a proxy, so as handle autoloads and redefinitions of the target.
20456 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
20458 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
20459 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
20460 (pcase--mutually-exclusive-p): New function.
20461 (pcase--split-consp): Use it.
20462 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
20463 mutually exclusive with the current predicate.
20465 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
20466 (edebug-macrop): Remove. Use `macrop' instead.
20467 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
20469 * eshell/esh-cmd.el (eshell-macrop):
20470 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
20472 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
20474 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
20475 (advice-mapc): New function, using it.
20476 (advice-function-member-p): New function.
20477 (advice--normalize): Store the cdr in advice--saved-rewrite since
20478 that's the part that will be changed.
20479 (advice--symbol-function): New function.
20480 (advice-remove): Handle removal before the function is defined.
20481 Adjust to new advice--saved-rewrite.
20482 (advice-member-p): Use advice-function-member-p and
20483 advice--symbol-function.
20485 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
20487 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
20488 (frameset-filter-minibuffer): Doc fix.
20489 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
20490 (frameset--set-id, frameset--process-minibuffer-frames)
20491 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
20492 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
20494 * desktop.el (desktop-clear): Only delete frames when called
20495 interactively and desktop-restore-frames is non-nil. Doc fix.
20496 (desktop-read): Set desktop-saved-frameset to nil.
20498 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
20500 * vc/vc.el (vc-ignore): Rewrite.
20501 (vc-default-ignore-completion-table, vc--read-lines)
20502 (vc--add-line, vc--remove-regexp): New functions.
20504 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
20505 (vc-svn-ignore-completion-table): New function.
20507 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
20508 (vc-hg-ignore-completion-table)
20509 (vc-hg-find-ignore-file): New functions.
20511 * vc/vc-git.el (vc-git-ignore): Rewrite.
20512 (vc-git-ignore-completion-table)
20513 (vc-git-find-ignore-file): New functions.
20515 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
20517 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
20518 (vc-bzr-ignore-completion-table)
20519 (vc-bzr-find-ignore-file): New functions.
20521 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
20523 * frameset.el (frameset-prop): New function and setter.
20524 (frameset-save): Do not modify frame list passed by the caller.
20526 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20528 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
20530 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
20532 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
20533 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
20535 * custom.el (custom-initialize-default, custom-initialize-set)
20536 (custom-initialize-reset, custom-initialize-changed): Affect the
20537 toplevel-default-value (bug#6275, bug#14586).
20538 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
20541 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
20543 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
20544 Add cl-def* expressions.
20546 * frameset.el (frameset-filter-params): Fix order of arguments.
20548 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
20550 Move code related to saving frames to frameset.el.
20551 * desktop.el: Require frameset.
20552 (desktop-restore-frames): Doc fix.
20553 (desktop-restore-reuses-frames): Rename from
20554 desktop-restoring-reuses-frames.
20555 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
20556 (desktop-clear): Clear frames too.
20557 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
20558 (desktop--filter-tty*, desktop-save, desktop-read):
20559 Use frameset functions.
20560 (desktop-before-saving-frames-functions, desktop--filter-*-color)
20561 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
20562 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
20563 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
20564 (desktop--process-minibuffer-frames, desktop-save-frames)
20565 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
20566 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
20567 (desktop--sort-states, desktop-restoring-frames-p)
20568 (desktop-restore-frames): Remove. Most code moved to frameset.el.
20569 (desktop-restoring-frameset-p, desktop-restore-frameset)
20570 (desktop--check-dont-save, desktop-save-frameset): New functions.
20571 (desktop--app-id): New constant.
20572 (desktop-first-buffer, desktop-buffer-ok-count)
20573 (desktop-buffer-fail-count): Move before first use.
20574 * frameset.el: New file.
20576 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20578 * files.el: Use lexical-binding.
20579 (dir-locals-read-from-file): Remove unused `err' variable.
20580 (hack-dir-local-variables--warned-coding): New var.
20581 (hack-dir-local-variables): Use it to avoid repeated warnings.
20582 (make-backup-file-name--default-function): New function.
20583 (make-backup-file-name-function): Use it as default.
20584 (buffer-stale--default-function): New function.
20585 (buffer-stale-function): Use it as default.
20586 (revert-buffer-insert-file-contents--default-function): New function.
20587 (revert-buffer-insert-file-contents-function): Use it as default.
20588 (insert-directory): Avoid add-to-list.
20590 * autorevert.el (auto-revert-handler): Simplify.
20591 Use buffer-stale--default-function.
20593 2013-08-01 Tassilo Horn <tsdh@gnu.org>
20595 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
20597 * whitespace.el (whitespace-ensure-local-variables): New function.
20598 (whitespace-cleanup-region): Call it.
20599 (whitespace-turn-on): Call it.
20601 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
20603 Complete file name handlers.
20605 * net/tramp.el (tramp-handle-set-visited-file-modtime)
20606 (tramp-handle-verify-visited-file-modtime)
20607 (tramp-handle-file-notify-rm-watch): New functions.
20608 (tramp-call-process): Do not bind `default-directory'.
20610 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20611 Order alphabetically.
20612 <access-file, add-name-to-file, dired-call-process>:
20613 <dired-compress-file, file-acl, file-notify-rm-watch>:
20614 <file-ownership-preserved-p, file-selinux-context>:
20615 <make-directory-internal, make-symbolic-link, set-file-acl>:
20616 <set-file-selinux-context, set-visited-file-modtime>:
20617 <verify-visited-file-modtime>: Add handler.
20618 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
20620 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
20621 <file-notify-add-watch, file-notify-rm-watch>:
20622 <set-file-times, set-visited-file-modtime>:
20623 <verify-visited-file-modtime>: Add handler.
20624 (with-tramp-gvfs-error-message)
20625 (tramp-gvfs-handle-set-visited-file-modtime)
20626 (tramp-gvfs-fuse-file-name): Remove.
20627 (tramp-gvfs-handle-file-notify-add-watch)
20628 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
20629 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
20631 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20632 Order alphabetically.
20633 <file-notify-rm-watch>: Use default Tramp handler.
20634 <executable-find>: Remove private handler.
20635 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
20636 `default-directory'.
20637 (tramp-sh-handle-executable-find)
20638 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
20639 (tramp-sh-file-gvfs-monitor-dir-process-filter)
20640 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
20641 Do not use `format' in `tramp-message'.
20643 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
20644 <file-notify-rm-watch, set-visited-file-modtime>:
20645 <verify-visited-file-modtime>: Add handler.
20646 (tramp-smb-call-winexe): Do not bind `default-directory'.
20648 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
20650 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
20652 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
20654 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
20656 (log-view-diff-changeset): Same.
20657 (log-view-diff-common): Call backend command `previous-revision'
20658 to find out the previous revision, in both cases. Swap the
20659 variables `to' and `fr', so that `fr' usually refers to the
20660 earlier revision (Bug#14989).
20662 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
20664 * ibuf-ext.el (ibuffer-filter-by-filename):
20665 Make it work with dired buffers too.
20667 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
20669 * emacs-lisp/re-builder.el (reb-color-display-p):
20670 * files.el (save-buffers-kill-terminal):
20671 * net/browse-url.el (browse-url):
20672 * server.el (server-save-buffers-kill-terminal):
20673 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
20674 Prefer nil to selected-frame for the first arg of frame-parameter.
20676 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
20678 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
20680 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
20682 * minibuffer.el (completion--twq-all): Try and preserve each
20683 completion's case choice (bug#14907).
20685 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20687 * net/network-stream.el (open-network-stream): Mention the new
20688 :nogreeting parameter.
20689 (network-stream-open-starttls): Use the :nogreeting parameter
20692 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
20694 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
20695 more natural than popping.
20697 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
20698 (shr-urlify): Highlight under mouse.
20700 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20702 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
20704 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
20706 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
20709 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
20710 point-min==1. Fix search string. Fix parentheses missing.
20712 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
20713 assume point-min==1. Fix search string. Fix parentheses missing.
20715 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
20717 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
20720 2013-07-29 Eli Zaretskii <eliz@gnu.org>
20722 * frame.el (frame-notice-user-settings): Avoid inflooping when the
20723 initial frame is minibuffer-less. (Bug#14841)
20725 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
20727 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
20730 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20731 (tramp-maybe-open-connection): Use it.
20733 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20735 * desktop.el (desktop--make-frame): Include `minibuffer' in the
20736 minimal set of parameters passed when creating a frame, because
20737 the minibuffer status of a frame cannot be changed later.
20739 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
20741 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
20742 replace-regexp-in-string and inadvertent omissions in previous change.
20743 (todo-filter-items): Ensure only file names are comma-separated in
20744 name of filtered items buffer.
20746 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
20748 * desktop.el: Optionally force offscreen frames back onscreen.
20749 (desktop-restoring-reuses-frames): New option.
20750 (desktop--compute-pos, desktop--move-onscreen): New functions.
20751 (desktop--make-frame): Use desktop--move-onscreen.
20753 2013-07-27 Alan Mackenzie <acm@muc.de>
20755 Fontify a Java generic method as a function.
20756 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
20759 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
20761 * calendar/todo-mode.el: Add command to rename todo files.
20762 (todo-rename-file): New command.
20763 (todo-key-bindings-t): Add key binding for it. Change the
20764 bindings of todo-filter-regexp-items(-multifile) to use `x'
20765 instead of `r', since the latter is better suited to the new
20768 2013-07-27 Alan Mackenzie <acm@muc.de>
20770 Make Java try-with-resources statement parse properly.
20771 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
20772 (c-block-stmt-1-2-key): New language constants/variables.
20773 * progmodes/cc-engine.el (c-beginning-of-statement-1)
20774 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
20775 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
20776 with c-block-stmt-1-2-key.
20778 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
20780 * desktop.el (desktop--make-frame): Apply most frame parameters after
20781 creating the frame to force (partially or totally) offscreen frames to
20782 be restored as such.
20784 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
20786 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
20789 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20791 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
20792 `base' arg of backtrace-frame.
20794 2013-07-26 Eli Zaretskii <eliz@gnu.org>
20796 * simple.el (list-processes): Doc fix.
20798 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20800 * desktop.el (desktop--select-frame):
20801 Try harder to reuse existing frames.
20803 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20805 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
20806 (edebug-eval): Use backtrace-eval.
20807 (edebug--display, edebug--recursive-edit): Don't let-bind the
20808 edebug-outer-* vars that keep track of variables we locally let-bind.
20809 (edebug-outside-excursion): Don't restore outside values of locally
20811 (edebug--display): Use user-error.
20812 (cl-lexical-debug, cl-debug-env): Remove.
20814 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
20816 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
20817 are restored to be sure that they are visible before deleting any
20820 2013-07-26 Matthias Meulien <orontee@gmail.com>
20822 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
20823 vc-print-root-log. (Bug#14948)
20825 2013-07-26 Richard Stallman <rms@gnu.org>
20827 Add aliases for encrypting mail.
20828 * epa.el (epa-mail-aliases): New option.
20829 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
20830 Bind inhibit-read-only so read-only text doesn't ruin everything.
20831 (epa-mail-default-recipients): New subroutine broken out.
20832 Handle epa-mail-aliases.
20834 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
20836 Add support for lexical variables to the debugger's `e' command.
20837 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
20838 vars, except for debugger-outer-match-data.
20839 (debugger-frame-number): Move check for "on a function call" from
20840 callers into it. Add `skip-base' argument.
20841 (debugger-frame, debugger-frame-clear): Simplify accordingly.
20842 (debugger-env-macro): Only reset the state stored in non-variables,
20843 i.e. current-buffer and match-data.
20844 (debugger-eval-expression): Rewrite using backtrace-eval.
20845 * subr.el (internal--called-interactively-p--get-frame): Remove.
20846 (called-interactively-p):
20847 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
20848 `base' arg of backtrace-frame instead.
20850 2013-07-26 Glenn Morris <rgm@gnu.org>
20852 * align.el (align-regexp): Doc fix. (Bug#14857)
20853 (align-region): Explicit error if subexpression missing/does not match.
20855 * simple.el (global-visual-line-mode):
20856 Do not duplicate the mode lighter. (Bug#14858)
20858 2013-07-25 Martin Rudalics <rudalics@gmx.at>
20860 * window.el (display-buffer): In display-buffer bind
20861 split-window-keep-point to t, bug#14829.
20863 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20865 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
20866 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
20867 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
20868 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20869 Change accordingly.
20870 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
20871 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
20873 2013-07-25 Glenn Morris <rgm@gnu.org>
20875 * dired-x.el (dired-mark-extension): Convert comment to doc string.
20877 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
20879 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
20880 parameter to modify-frame-parameters if the value has not changed;
20881 this is a workaround for bug#14949.
20882 (desktop--make-frame): On cl-delete-if call, check parameter name,
20883 not full parameter.
20885 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
20887 * vc/vc.el (vc-ignore): New function.
20889 * vc/vc-svn.el (vc-svn-ignore): New function.
20891 * vc/vc-hg.el (vc-hg-ignore): New function.
20893 * vc/vc-git.el (vc-git-ignore): New function.
20895 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
20896 (vc-dir-ignore): New function.
20898 * vc/vc-cvs.el (vc-cvs-ignore): New function.
20899 (cvs-append-to-ignore): Move here from pcvs.el.
20901 * vc/vc-bzr.el (vc-bzr-ignore): New function.
20903 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
20905 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
20907 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
20908 (desktop-restore-frames): Warn when deleting an existing frame failed.
20910 2013-07-24 Glenn Morris <rgm@gnu.org>
20912 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
20914 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
20916 * filenotify.el (file-notify-supported-p):
20917 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
20920 * autorevert.el (auto-revert-use-notify)
20921 (auto-revert-notify-add-watch):
20922 * net/tramp.el (tramp-file-name-for-operation):
20923 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20924 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20925 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
20926 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
20927 Remove `file-notify-supported-p' entry.
20929 2013-07-24 Glenn Morris <rgm@gnu.org>
20931 * printing.el: Replace all uses of deleted ps-windows-system,
20932 ps-lp-system, ps-flatten-list with lpr- versions.
20934 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20936 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
20937 checked with memq (bug#14935).
20939 * files.el (revert-buffer-function): Use a non-nil default.
20940 (revert-buffer-preserve-modes): Declare var to
20941 provide access to the `preserve-modes' argument.
20942 (revert-buffer): Let-bind it.
20943 (revert-buffer--default): New function, extracted from revert-buffer.
20945 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
20947 * lpr.el: Signal print errors more prominently.
20948 (print-region-function): Don't default to nil.
20949 (lpr-print-region): New function, extracted from print-region-1.
20950 Check lpr's return value and signal an error in case of problem.
20951 (print-region-1): Use it.
20952 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
20954 (ps-printer-name): Default to nil.
20955 (ps-printer-name-option): Default to lpr-printer-switch.
20956 (ps-print-region-function): Don't default to nil.
20957 (ps-postscript-code-directory): Simplify default.
20958 (ps-do-despool): Use lpr-print-region to properly check the outcome.
20959 (ps-string-list, ps-eval-switch, ps-flatten-list)
20960 (ps-flatten-list-1): Remove.
20961 (ps-multibyte-buffer): Avoid setq.
20962 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
20963 (print-region-function, ps-print-region-function): Don't set them here.
20965 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
20967 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
20968 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
20969 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
20970 (ido-decorations): Doc fix.
20972 * ansi-color.el: Fix old URL.
20974 2013-07-23 Michael R. Mauger <michael@mauger.com>
20976 * progmodes/sql.el: Version 3.3
20977 (sql-product-alist): Improve oracle :prompt-cont-regexp.
20978 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
20979 (sql-interactive-remove-continuation-prompt): Rewrite, use
20980 functions above. Fix continuation prompt and complete output line
20982 (sql-redirect-one, sql-execute): Use `read-only-mode' on
20983 redirected output buffer.
20984 (sql-mode): Restore deleted code (Bug#13591).
20986 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
20988 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
20990 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
20992 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
20994 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
20995 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
20996 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
20998 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
21000 * desktop.el (desktop-clear): Simplify; remove useless checks
21001 against invalid buffer names.
21002 (desktop-list*): Use cl-list*.
21003 (desktop-buffer-info, desktop-create-buffer): Simplify.
21005 2013-07-23 Leo Liu <sdl.web@gmail.com>
21007 * bookmark.el (bookmark-make-record): Restore NAME as a default
21010 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
21012 * emacs-lisp/autoload.el (autoload--setup-output): New function,
21013 extracted from autoload--insert-text.
21014 (autoload--insert-text): Remove.
21015 (autoload--print-cookie-text): New function, extracted from
21016 autoload--insert-cookie-text.
21017 (autoload--insert-cookie-text): Remove.
21018 (autoload-generate-file-autoloads): Adjust calls accordingly.
21020 * winner.el (winner-hook-installed-p): Remove.
21021 (winner-mode): Simplify accordingly.
21023 * subr.el (add-to-list): Fix compiler-macro when `append' is
21024 not constant. Don't use `cl-member' for the base case.
21026 * progmodes/subword.el: Fix boundary case (bug#13758).
21027 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
21029 (subword-backward-regexp): Make it a constant.
21030 (subword-forward-internal): Don't treat a trailing capital as the
21031 beginning of a word.
21033 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
21035 * emacs-lisp/package.el (package-menu-mode): Don't modify the
21036 global value of tabulated-list-revert-hook (bug#14930).
21038 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
21040 * desktop.el: Require 'cl-lib.
21041 (desktop-before-saving-frames-functions): New hook.
21042 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
21043 for frames being saved. Rename from desktop--save-minibuffer-frames.
21044 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
21045 Do not save frames with non-nil `desktop-dont-save' parameter.
21046 Filter out deleted frames.
21047 (desktop--find-frame): Use cl-find-if.
21048 (desktop--select-frame): Use cl-(first|second|third) to access values
21050 (desktop--make-frame): Use cl-delete-if.
21051 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
21052 (desktop-restore-frames): Use cl-(first|second|third) to access values
21053 of desktop-mini. Look for visible frame at the end, not while
21056 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
21057 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
21058 Use string-match-p, looking-at-p (bug#14927).
21060 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
21062 * desktop.el (desktop-saved-frame-states):
21063 Rename from desktop--saved-states; all users changed.
21064 (desktop-save-frames): Rename from desktop--save-frames.
21065 Do not save state to desktop file.
21066 (desktop-save): Save desktop-saved-frame-states to desktop file
21068 (desktop-restoring-frames-p): New function.
21069 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
21070 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
21071 buffer-lists when restoring frames. Suggested by Martin Rudalics.
21073 * desktop.el: Correctly restore iconified frames.
21074 (desktop--filter-iconified-position): New function.
21075 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
21077 2013-07-20 Glenn Morris <rgm@gnu.org>
21079 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
21080 Let `message' do the formatting.
21081 (def-gdb-preempt-display-buffer): Add explicit format.
21083 * image-dired.el (image-dired-track-original-file):
21084 Use with-current-buffer.
21085 (image-dired-track-thumbnail): Use with-current-buffer.
21086 Avoid changing point of wrong window.
21088 * image-dired.el (image-dired-track-original-file):
21089 Avoid changing point of wrong window. (Bug#14909)
21091 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
21093 * progmodes/gdb-mi.el (gdb-done-or-error):
21094 Guard against "%" in gdb output. (Bug#14127)
21096 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
21098 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
21101 * international/mule.el (coding-system-iso-2022-flags): Fix last
21104 2013-07-20 Kenichi Handa <handa@gnu.org>
21106 * international/mule.el (coding-system-iso-2022-flags):
21107 Add `8-bit-level-4'. (Bug#8522)
21109 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21111 * net/shr.el (shr-mouse-browse-url): New command and keystroke
21114 * net/eww.el (eww-process-text-input): Allow inputting when the
21115 point is at the start of the line, as the properties aren't
21118 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
21121 2013-07-19 Richard Stallman <rms@gnu.org>
21123 * epa.el (epa-popup-info-window): Doc fix.
21125 * subr.el (split-string): New arg TRIM.
21127 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
21129 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
21130 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
21132 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
21134 * filenotify.el (file-notify--library): Rename from
21135 `file-notify-support'. Do not autoload. Adapt all uses.
21136 (file-notify-supported-p): New defun.
21138 * autorevert.el (auto-revert-use-notify):
21139 Use `file-notify-supported-p' instead of `file-notify-support'.
21141 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
21143 * net/tramp.el (tramp-file-name-for-operation):
21144 Add `file-notify-supported-p'.
21146 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
21148 (tramp-sh-file-name-handler-alist): Add it as handler for
21149 `file-notify-supported-p '.
21151 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
21152 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21153 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21154 Add `ignore' as handler for `file-notify-*' functions.
21156 2013-07-17 Eli Zaretskii <eliz@gnu.org>
21158 * simple.el (line-move-partial, line-move): Don't start vscroll or
21159 scroll-up if the current line is not taller than the window.
21162 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
21164 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
21165 highlight question marks in the method names as strings.
21166 (ruby-block-beg-keywords): Inline.
21167 (ruby-font-lock-keyword-beg-re): Extract from
21168 `ruby-font-lock-keywords'.
21170 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
21172 * frame.el (blink-cursor-blinks): New defcustom.
21173 (blink-cursor-blinks-done): New defvar.
21174 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
21175 (blink-cursor-timer-function): Check if number of blinks has been
21177 (blink-cursor-suspend, blink-cursor-check): New defuns.
21179 2013-07-15 Glenn Morris <rgm@gnu.org>
21181 * edmacro.el (edmacro-format-keys): Fix previous change.
21183 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
21185 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
21186 The hack didn't work outside English locales anyway.
21188 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
21190 * simple.el (define-alternatives): Rename from alternatives-define,
21191 per RMS' suggestion.
21193 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
21195 * desktop.el (desktop-restore-frames): Change default to t.
21196 (desktop-restore-in-current-display): Now offer more options.
21197 (desktop-restoring-reuses-frames): New customization option.
21198 (desktop--saved-states): Doc fix.
21199 (desktop-filter-parameters-alist): New variable, renamed and expanded
21200 from desktop--excluded-frame-parameters.
21201 (desktop--target-display): New variable.
21202 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
21203 (desktop--filter-tty*, desktop--filter-*-color)
21204 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
21205 (desktop--filter-save-desktop-parm)
21206 (desktop-restore-in-original-display-p): New functions.
21207 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
21208 (desktop--save-minibuffer-frames): New function, inspired by a similar
21209 function from Martin Rudalics.
21210 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
21211 (desktop--restore-in-this-display-p): Remove.
21212 (desktop--find-frame): Rename from desktop--find-frame-in-display
21213 and add predicate argument.
21214 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
21215 (desktop--reuse-list): New variable.
21216 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
21218 (desktop--restore-frames): Add support for "minibuffer-special" frames.
21220 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
21222 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
21224 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
21226 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
21227 Highlight conversion methods on Kernel.
21229 2013-07-13 Alan Mackenzie <acm@muc.de>
21231 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
21232 and comment it out. This out-commenting enables certain C++
21233 declarations to be parsed correctly.
21235 2013-07-13 Eli Zaretskii <eliz@gnu.org>
21237 * international/mule.el (define-coding-system): Doc fix.
21239 * simple.el (default-font-height): Don't call font-info if the
21240 frame's default font didn't change since the frame was created.
21243 2013-07-13 Leo Liu <sdl.web@gmail.com>
21245 * ido.el (ido-read-file-name): Guard against non-symbol value.
21247 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
21249 * progmodes/python.el (python-imenu--build-tree): Fix corner case
21252 2013-07-13 Leo Liu <sdl.web@gmail.com>
21254 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
21255 ido-set-matches call. (Bug#6852)
21257 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
21259 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
21260 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
21262 (ruby-font-lock-keywords): Distinguish calls to functions with
21263 module-like names from module references. Highlight character
21266 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
21268 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
21269 (gdb-send): Handle continued commands. (Bug#14847)
21271 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
21273 * desktop.el (desktop--v2s): Remove unused local variable.
21274 (desktop-save-buffer): Make defvar-local; adjust docstring.
21275 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
21276 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
21278 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
21280 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
21282 2013-07-12 Eli Zaretskii <eliz@gnu.org>
21284 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
21287 2013-07-12 Glenn Morris <rgm@gnu.org>
21289 * doc-view.el: Require cl-lib at runtime too.
21290 (doc-view-remove-if): Remove.
21291 (doc-view-search-next-match, doc-view-search-previous-match):
21294 * edmacro.el: Require cl-lib at runtime too.
21295 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
21296 (edmacro-mismatch, edmacro-subseq): Remove.
21298 * shadowfile.el: Require cl-lib.
21299 (shadow-remove-if): Remove.
21300 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
21303 * wid-edit.el: Require cl-lib.
21304 (widget-choose): Use cl-remove-if.
21305 (widget-remove-if): Remove.
21307 * progmodes/ebrowse.el: Require cl-lib at runtime too.
21308 (ebrowse-delete-if-not): Remove.
21309 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
21310 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
21311 Use cl-delete-if-not.
21313 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
21315 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
21316 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
21318 2013-07-12 Leo Liu <sdl.web@gmail.com>
21320 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
21322 2013-07-11 Glenn Morris <rgm@gnu.org>
21324 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
21325 (edebug-gensym-index, edebug-gensym):
21326 Remove reimplementation of cl-gensym.
21327 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
21329 * thumbs.el: Require cl-lib at run-time too.
21330 (thumbs-gensym-counter, thumbs-gensym):
21331 Remove reimplementation of cl-gensym.
21332 (thumbs-temp-file): Use cl-gensym.
21334 * emacs-lisp/ert.el: Require cl-lib at runtime too.
21335 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
21336 (ert--intersection, ert--set-difference, ert--set-difference-eq)
21337 (ert--union, ert--gensym-counter, ert--gensym-counter)
21338 (ert--coerce-to-vector, ert--remove*, ert--string-position)
21339 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
21340 (ert-make-test-unbound, ert--expand-should-1)
21341 (ert--expand-should, ert--should-error-handle-error)
21342 (should-error, ert--explain-equal-rec)
21343 (ert--plist-difference-explanation, ert-select-tests)
21344 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
21345 Use cl-lib functions rather than reimplementations.
21347 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
21349 * net/tramp.el (tramp-methods): Extend docstring.
21350 (tramp-connection-timeout): New defcustom.
21351 (tramp-error-with-buffer): Reset timestamp only when appropriate.
21352 (with-tramp-progress-reporter): Simplify.
21353 (tramp-process-actions): Improve messages.
21355 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
21356 * net/tramp-sh.el (tramp-maybe-open-connection):
21357 Use `tramp-connection-timeout'.
21358 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
21361 2013-07-11 Leo Liu <sdl.web@gmail.com>
21363 * ido.el (ido-read-file-name): Conform to the requirements of
21364 read-file-name. (Bug#11861)
21365 (ido-read-directory-name): Conform to the requirements of
21366 read-directory-name.
21368 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
21370 * subr.el (delay-warning): New function.
21372 2013-07-10 Eli Zaretskii <eliz@gnu.org>
21374 * simple.el (default-line-height): New function.
21375 (line-move-partial, line-move): Use it instead of computing the
21376 line height inline.
21377 (line-move-partial): Always compute ROWH. If the last line is
21378 partially-visible, but its text is completely visible, allow
21379 cursor to enter such a partially-visible line.
21381 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
21383 Improve error messages. (Bug#14808)
21385 * net/tramp.el (tramp-current-connection): New defvar, moved from
21387 (tramp-message-show-progress-reporter-message): Remove, not
21389 (tramp-error-with-buffer): Show message in minibuffer.
21390 Discard input before waiting. Reset connection timestamp.
21391 (with-tramp-progress-reporter): Improve messages.
21392 (tramp-process-actions): Use progress reporter. Delete process in
21393 case of error. Improve messages.
21395 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
21396 Call `tramp-error-with-buffer' with vector and buffer.
21397 (tramp-current-connection): Remove.
21398 (tramp-maybe-open-connection): The car of
21399 `tramp-current-connection' are the first 3 slots of the vector.
21401 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
21403 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
21404 inside continued strings.
21406 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
21408 Timestamp fixes for undo (Bug#14824).
21409 * files.el (clear-visited-file-modtime): Move here from fileio.c.
21411 2013-07-10 Leo Liu <sdl.web@gmail.com>
21413 * files.el (require-final-newline): Allow safe local value.
21416 2013-07-09 Leo Liu <sdl.web@gmail.com>
21418 * ido.el (ido-read-directory-name): Handle fallback.
21419 (ido-read-file-name): Update DIR to ido-current-directory.
21421 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
21423 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
21425 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
21426 "autoload". Remove "warn lower camel case" section, previously
21427 commented out. Highlight negation char. Do not highlight the
21428 target in singleton method definitions.
21430 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21432 * faces.el (tty-setup-hook): Declare the hook.
21434 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
21435 and detect when a guard/pred depends on local vars (bug#14773).
21436 (pcase--u1): Adjust caller.
21438 2013-07-08 Eli Zaretskii <eliz@gnu.org>
21440 * simple.el (line-move-partial, line-move): Account for
21442 (line-move-partial): Avoid setting vscroll when the last
21443 partially-visible line in window is of default height.
21445 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21447 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
21450 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
21452 * subr.el (read-quoted-char): Remove unused local variable `char'.
21454 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
21456 * vc/ediff.el (ediff-version): Version update.
21457 (ediff-files-command, ediff3-files-command, ediff-merge-command)
21458 (ediff-merge-with-ancestor-command, ediff-directories-command)
21459 (ediff-directories3-command, ediff-merge-directories-command)
21460 (ediff-merge-directories-with-ancestor-command): New functions.
21461 All are command-line interfaces to ediff: to facilitate calling
21462 Emacs with the appropriate ediff functions invoked.
21464 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
21466 (viper-save-kill-buffer): Check if buffer is modified.
21468 * emulation/viper.el (viper-version): Version update.
21469 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
21471 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
21473 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
21474 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
21475 (viper-intercept-ESC-key): Simplify.
21476 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
21478 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
21479 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
21480 (viper-setup-ESC-to-escape): New functions.
21481 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
21482 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
21484 2013-07-07 Eli Zaretskii <eliz@gnu.org>
21486 * simple.el (default-font-height, window-screen-lines):
21488 (line-move, line-move-partial): Use them instead of
21489 frame-char-height and window-text-height. This makes scrolling
21490 text smoother when the buffer's default face uses a font that is
21491 different from the frame's default font.
21493 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
21495 * files.el (write-file): Do not display confirm dialog for NS,
21496 it does its own dialog, which can't be canceled (Bug#14578).
21498 2013-07-06 Eli Zaretskii <eliz@gnu.org>
21500 * simple.el (line-move-partial): Adjust the row returned by
21501 posn-at-point for the current window-vscroll. (Bug#14567)
21503 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
21505 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
21506 (tramp-sh-file-inotifywait-process-filter): Handle file names with
21509 2013-07-06 Martin Rudalics <rudalics@gmx.at>
21511 * window.el (window-state-put-stale-windows): New variable.
21512 (window--state-put-2): Save list of windows without matching buffer.
21513 (window-state-put): Remove "bufferless" windows if possible.
21515 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
21517 * simple.el (alternatives-define): Remove leftover :group keyword.
21520 2013-07-06 Leo Liu <sdl.web@gmail.com>
21522 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
21523 (ido-enable-virtual-buffers): New variable.
21524 (ido-buffer-internal, ido-toggle-virtual-buffers)
21525 (ido-make-buffer-list): Use it.
21526 (ido-exhibit): Support turning on and off virtual buffers
21529 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
21531 * simple.el (alternatives-define): New macro.
21533 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
21535 * subr.el (read-quoted-char): Use read-key.
21536 (sit-for): Let read-event decode tty input (bug#14782).
21538 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
21540 * calendar/todo-mode.el: Add handling of file deletion, both by
21541 mode command and externally. Fix various related bugs.
21542 Clarify Commentary and improve some documentation strings and code.
21543 (todo-delete-file): New command.
21544 (todo-check-file): New function.
21545 (todo-show): Handle external deletion of the file we're trying to
21546 show (bug#14688). Replace called-interactively-p by an optional
21547 prefix argument to avoid problematic interaction with catch form
21548 when byte compiled (bug#14702).
21549 (todo-quit): Handle external deletion of the archive's todo file.
21550 Make sure the buffer that was visiting the archive file is still
21551 live before trying to bury it.
21552 (todo-category-completions): Handle external deletion of any
21553 category completion files.
21554 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
21555 of todo files, in case of external deletion.
21556 (todo-add-file): Replace unnecessary setq by let-binding.
21557 (todo-find-archive): Check whether there are any archives.
21558 Replace unnecessary setq by let-binding.
21559 (todo-archive-done-item): Use find-file-noselect to get the
21560 archive buffer whether or not the archive already exists.
21561 Remove superfluous code. Use file size instead of buffer-file-name to
21562 check if the archive is new; if it is, update list of archives.
21563 (todo-default-todo-file): Allow nil to be a valid value for when
21564 there are no todo files.
21565 (todo-reevaluate-default-file-defcustom): Use corrected definition
21566 of todo-default-todo-file.
21567 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
21568 (todo-delete-category, todo-show-categories-table)
21569 (todo-category-number): Clarify comment.
21570 (todo-filter-items): Clarify documentation string.
21571 (todo-show-current-file, todo-display-as-todo-file)
21572 (todo-reset-and-enable-done-separator): Tweak documentation string.
21573 (todo-done-separator): Make separator length window-width, since
21574 bug#2749 is now fixed.
21576 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
21578 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
21579 Support both "gvfs-monitor-dir" and "inotifywait".
21580 (tramp-sh-file-inotifywait-process-filter): Rename from
21581 `tramp-sh-file-notify-process-filter'.
21582 (tramp-sh-file-gvfs-monitor-dir-process-filter)
21583 (tramp-get-remote-gvfs-monitor-dir): New defuns.
21585 2013-07-05 Leo Liu <sdl.web@gmail.com>
21587 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
21589 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
21591 * frame.el (display-pixel-height, display-pixel-width)
21592 (display-mm-height, display-mm-width): Mention behavior on
21593 multi-monitor setups in docstrings.
21594 (w32-display-monitor-attributes-list): Declare function.
21595 (display-monitor-attributes-list): Use it.
21597 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
21599 * filenotify.el: New package.
21601 * autorevert.el (top): Require filenotify.el.
21602 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
21604 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
21605 (auto-revert-notify-handler): Use `file-notify-*' functions.
21607 * subr.el (file-notify-handle-event): Move function to filenotify.el.
21609 * net/tramp.el (tramp-file-name-for-operation):
21610 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
21612 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
21613 for `file-notify-add-watch' and `file-notify-rm-watch'.
21614 (tramp-process-sentinel): Improve trace.
21615 (tramp-sh-handle-file-notify-add-watch)
21616 (tramp-sh-file-notify-process-filter)
21617 (tramp-sh-handle-file-notify-rm-watch)
21618 (tramp-get-remote-inotifywait): New defuns.
21620 2013-07-03 Juri Linkov <juri@jurta.org>
21622 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
21623 call of `occur-read-primary-args' to interactive spec.
21625 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
21626 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
21628 2013-07-03 Matthias Meulien <orontee@gmail.com>
21630 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
21631 `Buffer-menu-multi-occur'. Add it to the menu.
21632 (Buffer-menu-mode): Document it in docstring.
21633 (Buffer-menu-multi-occur): New command. (Bug#14673)
21635 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
21637 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
21638 keywords and built-ins.
21640 2013-07-03 Glenn Morris <rgm@gnu.org>
21642 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
21644 Make info-xref checks case-sensitive by default
21645 * info.el (Info-find-node, Info-find-in-tag-table)
21646 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
21647 Add option for exact case matching of nodes.
21648 * info-xref.el (info-xref): New custom group.
21649 (info-xref-case-fold): New option.
21650 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
21652 2013-07-03 Leo Liu <sdl.web@gmail.com>
21654 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
21656 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
21658 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
21659 middle of block statement initially, lower the depth. Remove
21660 FIXME comment, not longer valid. Remove middle of block statement
21661 detection, no need to do that anymore since we've been using
21662 `ruby-parse-region' here.
21664 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
21666 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
21668 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
21670 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
21672 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
21674 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
21675 (desktop-restore-in-current-display): New customization option.
21676 (desktop--excluded-frame-parameters): Add `font'.
21677 (desktop--save-frames): Rename from desktop--save-windows.
21678 (desktop--restore-in-this-display-p): New function.
21679 (desktop--make-full-frame): Remove unwanted width/height from
21680 full(width|height) frames.
21681 (desktop--restore-frames): Rename from desktop--restore-windows.
21682 Obey desktop-restore-current-display. Do not delete old frames or
21683 select a new frame unless we were able to restore at least one frame.
21685 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
21687 * files.el (find-file-noselect): Simplify conditional expression.
21689 * textmodes/remember.el (remember-append-to-file):
21690 Don't mix `find-buffer-visiting' and `get-file-buffer'.
21692 Add `remember-notes' function to store random notes across Emacs
21694 * textmodes/remember.el (remember-data-file): Add :set callback to
21695 affect notes buffer (if any).
21696 (remember-notes): New command.
21697 (remember-notes-buffer-name, bury-remember-notes-on-kill):
21698 New defcustoms for the `remember-notes' function.
21699 (remember-notes-save-and-bury-buffer): New command.
21700 (remember-notes-mode-map): New variable.
21701 (remember-mode): New minor mode.
21702 (remember-notes--kill-buffer-query): New function.
21703 * startup.el (initial-buffer-choice): Add notes to custom type.
21705 2013-06-30 Eli Zaretskii <eliz@gnu.org>
21707 * bindings.el (right-char, left-char): Don't call sit-for, this is
21708 no longer needed. Use arithmetic comparison only for numerical
21711 * international/mule-cmds.el (select-safe-coding-system):
21712 Handle the case of FROM being a string correctly. (Bug#14755)
21714 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21716 * net/shr.el (shr-make-table-1): Add a sanity check that allows
21717 progression on degenerate tables.
21718 (shr-rescale-image): ImageMagick animated images currently don't work.
21720 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
21722 Some fixes and improvements for desktop frame restoration.
21723 It is still experimental and disabled by default.
21724 * desktop.el (desktop--save-windows): Put the selected frame at
21725 the head of the list.
21726 (desktop--make-full-frame): New function.
21727 (desktop--restore-windows): Try to re-select the frame that was
21728 selected upon saving. Do not abort if some frames fail to restore,
21729 just show an error message and continue. Set up maximized frames
21730 so they have default non-maximized dimensions.
21732 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
21734 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
21735 Don't start heredoc inside a string or comment.
21737 2013-06-29 Eli Zaretskii <eliz@gnu.org>
21739 * bindings.el (visual-order-cursor-movement): New defcustom.
21740 (right-char, left-char): Provide visual-order cursor motion by
21741 calling move-point-visually. Update the doc strings.
21743 2013-06-28 Kenichi Handa <handa@gnu.org>
21745 * international/mule.el (define-coding-system): New coding system
21746 properties :inhibit-null-byte-detection,
21747 :inhibit-iso-escape-detection, and :prefer-utf-8.
21748 (set-buffer-file-coding-system): If :charset-list property of
21749 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
21750 appropriate for setting.
21752 * international/mule-cmds.el (select-safe-coding-system):
21753 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
21754 multibyte characters, return utf-8 (or one of its siblings).
21756 * international/mule-conf.el (prefer-utf-8): New coding system.
21757 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
21760 2013-06-28 Ivan Kanis <ivan@kanis.fr>
21762 * net/shr.el (shr-render-region): New function.
21764 * net/eww.el: Autoload `eww-browse-url'.
21766 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
21768 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21769 Adapt to `package-desc-version' being a list.
21770 Use `package--ac-desc-version' to retrieve version from a package
21773 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
21775 New experimental feature to save&restore window and frame setup.
21776 * desktop.el (desktop-save-windows): New defcustom.
21777 (desktop--saved-states): New var.
21778 (desktop--excluded-frame-parameters): New defconst.
21779 (desktop--filter-frame-parms, desktop--find-frame-in-display)
21780 (desktop--restore-windows, desktop--save-windows): New functions.
21781 (desktop-save): Call `desktop--save-windows'.
21782 (desktop-read): Call `desktop--restore-windows'.
21784 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21786 * net/shr.el (add-face-text-property): Remove compat definition.
21788 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21790 * info.el (Info-try-follow-nearest-node): Move search for footnote
21791 above search for node name to prevent missing a footnote (bug#14717).
21793 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
21795 * obsolete/otodo-mode.el: Add obsolescence info to file header.
21797 2013-06-27 Leo Liu <sdl.web@gmail.com>
21799 * net/eww.el (eww-read-bookmarks): Check file size.
21801 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21803 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
21804 advice--pending if newdef is nil or an autoload (bug#13820).
21805 (advice-mapc): New function.
21807 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21809 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
21811 (eww-mode-map): Add a menu bar.
21812 (eww-add-bookmark): New command.
21813 (eww-bookmark-mode): New mode and commands.
21814 (eww-add-bookmark): Remove newlines from the title.
21815 (eww-bookmark-browse): Don't bug out if it's the only window.
21817 2013-06-26 Glenn Morris <rgm@gnu.org>
21819 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
21820 (hfy-size): Handle ttys. (Bug#14668)
21822 * info-xref.el: Update for Texinfo 5 change in *note format.
21823 (info-xref-node-re, info-xref-note-re): New constants.
21824 (info-xref-check-buffer): Use info-xref-note-re.
21826 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
21828 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
21830 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
21831 nil terminate the loop (bug#14718).
21833 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21835 * net/eww.el: Rework history traversal. When going forward/back,
21836 put these actions into the history, too, so that they can be
21838 (eww-render): Move the history reset to the correct buffer.
21840 2013-06-25 Juri Linkov <juri@jurta.org>
21842 * files-x.el (modify-dir-local-variable): Change the header comment
21843 in the file with directory local variables. (Bug#14692)
21845 * files-x.el (read-file-local-variable-value): Add `default'.
21848 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21850 * net/eww.el (eww-make-unique-file-name): Create a unique file
21851 name before saving to entering `y' accidentally asynchronously.
21853 2013-06-25 Ivan Kanis <ivan@kanis.fr>
21855 * net/eww.el (eww-download): New command and keystroke.
21857 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21859 * net/eww.el (eww-copy-page-url): Change name of command.
21861 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
21862 be more consistent with Info and dired.
21864 * net/eww.el (eww-mode-map): Ditto.
21866 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21868 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
21869 packages from archives.
21870 (package-archive-contents): Change format; include obsolete packages.
21871 (package-desc): Use `dir' to mark builtin packages.
21872 (package--from-builtin): Set the `dir' field to `builtin'.
21873 (generated-autoload-file, version-control): Declare.
21874 (package-compute-transaction): Change first arg and return value to be
21875 lists of package-descs. Adjust to new package-archive-contents format.
21876 (package--add-to-archive-contents): Adjust to new
21877 package-archive-contents format.
21878 (package-download-transaction): Arg is now a list of package-descs.
21879 (package-install): If `pkg' is a package name, pass it as
21880 a requirement, so it is subject to the usual (e.g. disabled) checks.
21881 (describe-package): Accept package-desc as well.
21882 (describe-package-1): Describe a specific package-desc. Add links to
21883 other package-descs for the same package name.
21884 (package-menu-describe-package): Pass the actual package-desc.
21885 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
21887 (package-desc-status): New function.
21888 (package-menu--refresh): New function, extracted
21889 from package-menu--generate.
21890 (package-menu--generate): Use it.
21891 (package-delete): Update package-alist.
21892 (package-menu-execute): Don't call package-initialize.
21894 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
21895 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
21896 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
21897 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
21898 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
21899 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
21901 2013-06-25 Martin Rudalics <rudalics@gmx.at>
21903 * window.el (window--state-get-1): Workaround for bug#14527.
21904 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
21906 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
21908 * net/eww.el (eww-back-url): Implement the history by stashing all
21909 the data into a list.
21910 (eww-forward-url): Allow going forward in the history, too.
21912 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21914 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
21915 for values and use read--expression for expressions (bug#14710).
21916 (read-file-local-variable): Avoid setq.
21917 (read-file-local-variable-mode): Use minor-mode-list.
21919 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21921 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
21924 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
21926 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
21927 Update imenu-support when dialect changes.
21929 2013-06-25 Leo Liu <sdl.web@gmail.com>
21931 * ido.el (ido-read-internal): Allow forward slash on windows.
21933 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21935 * net/eww.el (eww): Start of strings is \\`, not ^.
21937 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21939 * net/shr.el (shr-browse-url): Fix interactive spec.
21941 * net/eww.el (eww): Add a trailing slash to domain names.
21943 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
21945 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
21947 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
21949 * net/shr.el (shr-browse-url): Use an external browser if given a
21952 * net/eww.el (eww-external-browser): Move to shr.
21954 2013-06-24 Ivan Kanis <ivan@kanis.fr>
21956 * net/eww.el (eww): Work more correctly for file: URLs.
21957 (eww-detect-charset): Allow quoted charsets.
21958 (eww-yank-page-url): New command and keystroke.
21960 2013-06-24 Daiki Ueno <ueno@gnu.org>
21962 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
21963 file name of gpg executable.
21964 (epg-context-program): New function.
21965 (epg-context-home-directory): New function.
21966 (epg-context-set-program): New function.
21967 (epg-context-set-home-directory): New function.
21968 (epg--start): Use `epg-context-program' instead of
21970 (epg--list-keys-1): Likewise.
21972 2013-06-24 Leo Liu <sdl.web@gmail.com>
21974 * ido.el (ido-read-internal): Fix bug#14620.
21976 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
21978 * faces.el (face-documentation): Simplify.
21979 (read-face-attribute, tty-find-type, x-resolve-font-name):
21980 Use `string-match-p'.
21981 (list-faces-display): Use `string-match-p'. Simplify.
21982 (face-spec-recalc): Check face to avoid face alias loops.
21983 (read-color): Use `string-match-p' and non-capturing parenthesis.
21985 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
21987 * net/shr.el (shr-rescale-image): Use the new
21988 :max-width/:max-height functionality.
21990 2013-06-23 Ivan Kanis <ivan@kanis.fr>
21992 * net/eww.el (eww-search-prefix): New variable.
21994 (eww-external-browser): New variable.
21995 (eww-mode-map): New keystroke.
21996 (eww-browse-with-external-browser): New command.
21998 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
22000 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
22002 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
22003 Don't skip aligning the next header field when padding is 0;
22004 otherwise, field width is not respected unless the title is as
22007 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
22009 * emacs-lisp/package.el (package-el-version): Remove.
22010 (package-process-define-package): Fix inf-loop.
22011 (package-install): Allow symbols as arguments again.
22013 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
22015 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
22016 add some more keyword-like methods.
22017 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
22019 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
22021 * bs.el (bs-buffer-show-mark): Make defvar-local.
22022 (bs-mode): Use setq-local.
22024 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
22025 (emacs-lock--try-unlocking): Make defvar-local.
22027 2013-06-22 Glenn Morris <rgm@gnu.org>
22029 * play/cookie1.el (cookie-apropos): Minor simplification.
22031 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
22033 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
22035 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
22036 `regexp-opt', it breaks the build during dumping.
22038 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
22040 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
22041 Highlight keyword-like methods on Kernel and Module with
22042 font-lock-builtin-face.
22043 (auto-mode-alist): Consolidate different entries into one regexp
22044 and add more *file-s.
22046 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
22048 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
22050 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
22051 (diary-entry): Use it in the action of this button type instead of
22054 * calendar/todo-mode.el: New version.
22055 (todo-add-category): Append new category to end of file and give
22056 it the highest number, instead of putting it at the beginning and
22057 giving it 0. Incorporate noninteractive functionality.
22058 (todo-forward-category): Adapt to 1-based category numbering.
22059 Allow skipping over archived categories.
22060 (todo-backward-category): Derive from todo-forward-category.
22061 (todo-backward-item, todo-forward-item): Make noninteractive and
22062 delegate interactive part to new commands. Make sensitive to done items.
22063 (todo-categories): Make value an alist of category names and
22064 vectors of item counts.
22065 (todo-category-beg): Make a defconst.
22066 (todo-category-number): Use 1 instead of 0 as initial value.
22067 (todo-category-select): Make sensitive to overlays, optional item
22068 highlighting and done items.
22069 (todo-delete-item): Make sensitive to overlays and marked and done items.
22070 (todo-edit-item): Make sensitive to overlays and editing of
22071 date/time header optional. Add format checks.
22072 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
22073 no-op if point is not on an item. Advertise using todo-edit-quit.
22074 (todo-edit-mode): Make sensitive to new format, font-locking, and
22075 multiple todo files.
22076 (todo-insert-item, todo-insert-item-here): Derive from
22077 todo-basic-insert-item and extend functionality.
22078 (todo-item-end, todo-item-start): Make sensitive to done items.
22079 (todo-item-string): Don't return text properties. Restore point.
22080 (todo-jump-to-category): Make sensitive to multiple todo files and
22081 todo archives. Use extended category completion.
22082 (todo-lower-item, todo-raise-item): Rename to *-priority and
22083 derive from todo-set-item-priority.
22084 (todo-mode): Derive from special-mode. Make sensitive to new
22085 format, font-locking and multiple todo files. Make read-only.
22086 (todo-mode-map): Don't suppress digit keys, so they can supply
22087 prefix arguments. Add many new key bindings.
22088 (todo-prefix): Insert as an overlay instead of file text.
22089 Change semantics from diary date expression to purely visual mark.
22090 (todo-print): Rename to todo-print-buffer. Make buffer display
22091 features printable. Remove option to restrict number of items
22092 printed. Add option to print to file.
22093 (todo-print-function): Rename to todo-print-buffer-function.
22094 (todo-quit): Extend to handle exiting new todo modes.
22095 (todo-remove-item): Make sensitive to overlays.
22096 (todo-save): Extend to buffers of filtered items.
22097 (todo-show): Make sensitive to done items, multiple todo files and
22098 new todo modes. Offer to convert legacy todo file before creating
22099 first new todo file.
22100 (todo-show-priorities): Rename to todo-top-priorities.
22101 Change semantics of value 0.
22102 (todo-top-priorities): Rename to todo-filter-top-priorities,
22103 derive from todo-filter-items and extend functionality.
22104 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
22105 and extend functionality to other types of filtered items.
22106 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
22107 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
22108 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
22109 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
22110 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
22111 (todo-edit-mode-hook, todo-entry-prefix-function)
22112 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
22113 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
22114 (todo-initials, todo-insert-threshold, todo-item-string-start)
22115 (todo-line-string, todo-menu, todo-mode-hook)
22116 (todo-more-important-p, todo-previous-answer, todo-previous-line)
22117 (todo-print-priorities, todo-remove-separator)
22118 (todo-save-top-priorities-too, todo-string-count-lines)
22119 (todo-string-multiline-p, todo-time-string-format)
22120 (todo-tmp-buffer-name): Remove.
22121 (todo-add-file, todo-archive-done-item, todo-choose-archive)
22122 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
22123 (todo-edit-category-diary-inclusion)
22124 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
22125 (todo-edit-file, todo-edit-item-date-day)
22126 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
22127 (todo-edit-item-date-month, todo-edit-item-date-to-today)
22128 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
22129 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
22130 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
22131 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
22132 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
22133 (todo-filter-top-priorities-multifile, todo-find-archive)
22134 (todo-find-filtered-items-file, todo-go-to-source-item)
22135 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
22136 (todo-jump-to-archive-category, todo-lower-category)
22137 (todo-mark-category, todo-marked-item-p, todo-merge-category)
22138 (todo-move-category, todo-move-item, todo-next-button)
22139 (todo-next-item, todo-padded-string, todo-powerset)
22140 (todo-previous-button, todo-previous-item)
22141 (todo-print-buffer-to-file, todo-raise-category)
22142 (todo-rename-category, todo-repair-categories-sexp, todo-search)
22143 (todo-set-category-number, todo-set-item-priority)
22144 (todo-set-top-priorities-in-category)
22145 (todo-set-top-priorities-in-file, todo-show-categories-table)
22146 (todo-sort-categories-alphabetically-or-numerically)
22147 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
22148 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
22149 (todo-toggle-item-header, todo-toggle-item-highlighting)
22150 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
22151 (todo-toggle-view-done-items, todo-toggle-view-done-only)
22152 (todo-unarchive-items, todo-unmark-category): New commands.
22153 (todo-absolute-file-name, todo-add-to-buffer-list)
22154 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
22155 (todo-basic-insert-item, todo-category-completions)
22156 (todo-category-number, todo-category-string-matcher-1)
22157 (todo-category-string-matcher-2, todo-check-filtered-items-file)
22158 (todo-check-format, todo-clear-matches)
22159 (todo-comment-string-matcher, todo-convert-legacy-date-time)
22160 (todo-current-category, todo-date-string-matcher)
22161 (todo-define-insertion-command, todo-diary-expired-matcher)
22162 (todo-diary-goto-entry, todo-diary-item-p)
22163 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
22164 (todo-display-categories, todo-display-sorted, todo-done-item-p)
22165 (todo-done-item-section-p, todo-done-separator)
22166 (todo-done-string-matcher, todo-files, todo-filter-items)
22167 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
22168 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
22169 (todo-insert-category-line, todo-insert-item-from-calendar)
22170 (todo-insert-sort-button, todo-insert-with-overlays)
22171 (todo-insertion-command-name, todo-insertion-key-bindings)
22172 (todo-label-to-key, todo-longest-category-name-length)
22173 (todo-make-categories-list, todo-mode-external-set)
22174 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
22175 (todo-modes-set-3, todo-multiple-filter-files)
22176 (todo-nondiary-marker-matcher, todo-prefix-overlays)
22177 (todo-read-category, todo-read-date, todo-read-dayname)
22178 (todo-read-file-name, todo-read-time)
22179 (todo-reevaluate-category-completions-files-defcustom)
22180 (todo-reevaluate-default-file-defcustom)
22181 (todo-reevaluate-filelist-defcustoms)
22182 (todo-reevaluate-filter-files-defcustom)
22183 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
22184 (todo-reset-done-separator, todo-reset-done-separator-string)
22185 (todo-reset-done-string, todo-reset-global-current-todo-file)
22186 (todo-reset-highlight-item, todo-reset-nondiary-marker)
22187 (todo-reset-prefix, todo-set-categories)
22188 (todo-set-date-from-calendar, todo-set-show-current-file)
22189 (todo-set-top-priorities, todo-short-file-name)
22190 (todo-show-current-file, todo-sort, todo-time-string-matcher)
22191 (todo-total-item-counts, todo-update-buffer-list)
22192 (todo-update-categories-display, todo-update-categories-sexp)
22193 (todo-update-count, todo-validate-name, todo-y-or-n-p):
22195 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
22197 (todo-categories, todo-display, todo-edit, todo-faces)
22198 (todo-filtered): New defgroups.
22199 (todo-archived-only, todo-button, todo-category-string, todo-date)
22200 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
22201 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
22202 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
22203 (todo-add-item-if-new-category, todo-always-add-time-string)
22204 (todo-categories-align, todo-categories-archived-label)
22205 (todo-categories-category-label, todo-categories-diary-label)
22206 (todo-categories-done-label, todo-categories-number-separator)
22207 (todo-categories-todo-label, todo-categories-totals-label)
22208 (todo-category-completions-files, todo-completion-ignore-case)
22209 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
22210 (todo-done-separator-string, todo-done-string)
22211 (todo-files-function, todo-filter-done-items, todo-filter-files)
22212 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
22213 (todo-initial-category, todo-initial-file, todo-item-mark)
22214 (todo-legacy-date-time-regexp, todo-mode-line-function)
22215 (todo-nondiary-marker, todo-number-prefix)
22216 (todo-print-buffer-function, todo-show-current-file)
22217 (todo-show-done-only, todo-show-first, todo-show-with-done)
22218 (todo-skip-archived-categories, todo-top-priorities-overrides)
22219 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
22220 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
22222 (todo-category-done, todo-date-pattern, todo-date-string-start)
22223 (todo-diary-items-buffer, todo-done-string-start)
22224 (todo-filtered-items-buffer, todo-item-start)
22225 (todo-month-abbrev-array, todo-month-name-array)
22226 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
22227 (todo-top-priorities-buffer): New defconsts.
22228 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
22229 (todo-categories-with-marks, todo-category-string-face)
22230 (todo-comment-face, todo-comment-string, todo-current-todo-file)
22231 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
22232 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
22233 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
22234 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
22235 (todo-font-lock-keywords, todo-global-current-todo-file)
22236 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
22237 (todo-insertion-commands-args)
22238 (todo-insertion-commands-args-genlist)
22239 (todo-insertion-commands-names, todo-insertion-map)
22240 (todo-key-bindings-t, todo-key-bindings-t+a)
22241 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
22242 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
22243 (todo-nondiary-face, todo-print-buffer, todo-time-face)
22244 (todo-visited): New variables.
22246 2013-06-21 Glenn Morris <rgm@gnu.org>
22248 * play/cookie1.el (cookie-apropos): Add optional display argument.
22249 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
22250 (psychoanalyze-pinhead): Use cookie-doctor.
22252 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
22254 * emacs-lisp/package.el (tar-get-file-descriptor)
22255 (tar--extract): Declare.
22257 2013-06-21 Eduard Wiebe <usenet@pusto.de>
22259 Extend flymake's warning predicate to be a function (bug#14217).
22260 * progmodes/flymake.el (flymake-warning-predicate): New.
22261 (flymake-parse-line): Use it.
22262 (flymake-warning-re): Make obsolete alias to
22263 `flymake-warning-predicate'.
22265 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22267 * emacs-lisp/package.el (package-alist): Include obsolete packages.
22268 (package-obsolete-list): Remove.
22269 (package-activate): Remove min-version argument. Add `force' argument.
22270 Adjust to new package-alist format.
22271 (package-mark-obsolete): Remove.
22272 (package-unpack): Force reload of the package's autoloads.
22273 (package-installed-p): Check builtins if the installed package is not
22275 (package-initialize): Don't reset package-obsolete-list.
22276 Don't specify which package version to activate.
22277 (package-process-define-package, describe-package-1)
22278 (package-menu--generate): Adjust to new package-alist format.
22280 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
22282 * allout-widgets.el (allout-widgets-mode-off)
22283 (allout-widgets-mode-on, allout-widgets-pre-command-business)
22284 (allout-widgets-post-command-business)
22285 (allout-widgets-after-copy-or-kill-function)
22286 (allout-widgets-after-undo-function, allout-test-range-overlaps)
22287 (allout-decorate-item-and-context)
22288 (allout-graphics-modification-handler): Fix typos in docstrings.
22289 (allout-get-or-create-parent-widget): Use `looking-at-p'.
22291 * cmuscheme.el (scheme-start-file): Doc fix.
22292 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
22293 (scheme-input-filter): Use `string-match-p'.
22295 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
22297 * dired-x.el: Use Dired consistently in docstrings.
22299 * dired.el: Use Dired consistently in docstrings.
22300 (dired-readin, dired-mode): Use `setq-local'.
22301 (dired-switches-alist): Make defvar-local.
22302 (dired-buffers-for-dir): Use `zerop'.
22303 (dired-safe-switches-p, dired-switches-escape-p)
22304 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
22305 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
22306 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
22307 (dired-goto-next-nontrivial-file): Use `string-match-p'.
22308 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
22309 (dired-toggle-marks, dired-mark-files-containing-regexp)
22310 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
22311 (dired-flag-auto-save-files, dired-flag-backup-files):
22312 Use `looking-at-p'.
22313 (dired-mark-files-regexp, dired-build-subdir-alist):
22314 Use `string-match-p', `looking-at-p'.
22316 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
22317 (direct-print-region-helper): Use `string-match-p'.
22319 2013-06-21 Leo Liu <sdl.web@gmail.com>
22321 * comint.el (comint-redirect-results-list-from-process):
22324 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22326 * net/eww.el (eww-update-header-line-format): Quote % characters.
22328 2013-06-21 Glenn Morris <rgm@gnu.org>
22330 * play/cookie1.el (cookie): New custom group.
22331 (cookie-file): New option.
22332 (cookie-check-file): New function.
22333 (cookie): Make it interactive. Make start and end messages optional.
22334 Interactively, display the result. Default to cookie-file.
22335 (cookie-insert): Default to cookie-file.
22336 (cookie-snarf): Make start and end messages optional.
22337 Default to cookie-file. Use with-temp-buffer.
22338 (cookie-read): Rename from read-cookie.
22339 Make start and end messages optional. Default to cookie-file.
22340 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
22341 Do not autoload it.
22342 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
22343 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
22345 2013-06-21 Leo Liu <sdl.web@gmail.com>
22347 * progmodes/octave.el (octave-mode): Backward compatibility fix.
22349 2013-06-21 Glenn Morris <rgm@gnu.org>
22351 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
22353 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22354 Daniel Hackney <dan@haxney.org>
22356 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
22357 Consolidate the single-file vs tarball code.
22358 (package-desc-suffix): New function.
22359 (package-desc-full-name): Don't bother inlining it.
22360 (package-load-descriptor): Return the new package-desc.
22361 (package-mark-obsolete): Remove unused arg `package'.
22362 (package-unpack): Make it work for single files as well.
22363 Make it update package-alist.
22364 (package--make-autoloads-and-stuff): Rename from
22365 package--make-autoloads-and-compile. Don't compile any more.
22366 (package--compile): New function.
22367 (package-generate-description-file): New function, extracted from
22368 package-unpack-single.
22369 (package-unpack-single): Remove.
22370 (package--with-work-buffer): Add indentation and debugging info.
22371 (package-download-single): Remove.
22372 (package-install-from-archive): Rename from package-download-tar, make
22373 it take a pkg-desc, and make it work for single files as well.
22374 (package-download-transaction): Simplify.
22375 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
22376 external tar program.
22377 (package-install-from-buffer): Remove `pkg-desc' argument.
22378 Use package-tar-file-info for tar-mode buffers.
22379 (package-install-file): Simplify accordingly.
22380 (package-archive-base): Change to take a pkg-desc.
22381 * tar-mode.el (tar--check-descriptor): New function, extracted from
22382 tar-get-descriptor.
22383 (tar-get-descriptor): Use it.
22384 (tar-get-file-descriptor): New function.
22385 (tar--extract): New function, extracted from tar-extract.
22386 (tar--extract): Use it.
22387 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
22388 case the summary uses non-ascii. Adjust to new calling convention of
22389 package-tar-file-info.
22391 2013-06-21 Leo Liu <sdl.web@gmail.com>
22393 * comint.el (comint-redirect-results-list-from-process):
22394 Fix random delay. (Bug#14681)
22396 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
22398 * profiler.el (profiler-format-number): Use log, not log10.
22400 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
22402 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
22404 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22406 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
22407 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
22409 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
22410 (AUTOGENEL): ... here.
22411 * emacs-lisp/cl-macs.el (cl--sublis): New function.
22412 (cl--defsubst-expand): Use it.
22414 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
22416 * subr.el (log10): Move here from C code, and declare as obsolete.
22417 All uses of (log10 X) replaced with (log X 10).
22419 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
22421 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
22422 Declare with `defvar-local'.
22423 (tabulated-list-use-header-line, tabulated-list-entries)
22424 (tabulated-list-padding, tabulated-list-printer)
22425 (tabulated-list-sort-key): Declare with `defvar-local'.
22426 (tabulated-list-init-header, tabulated-list-print-fake-header):
22429 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
22431 * arc-mode.el (archive-mode): Add `archive-write-file' to
22432 `write-contents-functions' also for remote files. (Bug#14652)
22434 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
22436 * cus-edit.el (custom-commands): Fix typos.
22437 (custom-display): Fix tooltip text.
22438 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
22439 Fix typos in docstrings.
22440 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
22441 (custom-unlispify-menu-entry, custom-magic-value-create)
22442 (custom-add-see-also, custom-group-value-create): Use ?\s.
22443 (custom-guess-type, customize-apropos, editable-field)
22444 (custom-face-value-create): Use `string-match-p'.
22445 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
22447 * custom.el (custom-load-symbol): Use `string-match-p'.
22449 * ansi-color.el: Convert to lexical binding.
22450 (ansi-colors): Fix URL.
22451 (ansi-color-context, ansi-color-context-region): Use defvar-local.
22452 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
22453 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
22455 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22457 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
22459 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
22461 2013-06-19 Tom Tromey <tromey@redhat.com>
22463 * net/eww.el (eww-top-url): Remove.
22464 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
22465 (eww-render): Set new variables. Don't set eww-top-url.
22466 (eww-handle-link): Handle "prev", "home", and "contents".
22467 Downcase the rel text.
22468 (eww-top-url): Choose best top URL.
22470 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22472 * net/eww.el: Rewrite to implement form elements "by hand" instead of
22473 relying in widget.el. Using widget.el leads to too many
22474 user interface inconsistencies.
22475 (eww-self-insert): Implement entering commands in text fields.
22476 (eww-process-text-input): New function to make text input field editing
22478 (eww-submit): Rewrite to use the new-style form methods.
22479 (eww-select-display): Display the correct selected item.
22480 (eww-change-select): Implement changing the select value.
22481 (eww-toggle-checkbox): Implement radio/checkboxes.
22482 (eww-update-field): Fix compilation error.
22483 (eww-tag-textarea): Implement <textarea>.
22485 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
22486 we don't shadow mode-specific bindings.
22488 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
22491 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
22493 2013-06-19 Glenn Morris <rgm@gnu.org>
22495 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
22497 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
22499 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
22502 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
22504 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
22506 * net/browse-url.el (browse-url-browser-function):
22507 `eww-browse-url' has the right calling signature, `eww' does not.
22509 2013-06-19 Glenn Morris <rgm@gnu.org>
22511 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
22512 Only eval autoloaded macros.
22513 (byte-compile-autoload): Only give the macro warning for macros.
22515 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
22516 (ps-underlined-faces): Declare.
22518 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
22519 (speedbar-add-supported-extension): Declare.
22521 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
22522 Don't include a date stamp in the header of the generated file;
22523 it leads to needless differences between output files.
22525 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
22527 * net/secrets.el (secrets-struct-secret-content-type):
22528 Replace check of introspection data by a test call of "CreateItem".
22529 Some servers do not offer introspection.
22531 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
22533 * electric.el (electric-pair-mode): Improve interaction with
22534 electric-layout-mode.
22535 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
22536 (electric-pair-syntax): Use text-mode-syntax-table in comments
22538 (electric-pair--insert): New function.
22539 (electric-pair-post-self-insert-function): Use it and
22540 electric--after-char-pos.
22542 2013-06-19 Leo Liu <sdl.web@gmail.com>
22544 * progmodes/octave.el (octave-help): Fix regexp.
22546 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
22548 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
22549 (shr-table-horizontal-line): Allow nil as a value, and change the
22551 (shr-insert-table-ruler): Respect the nil value.
22553 2013-06-18 Tom Tromey <tromey@barimba>
22555 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22557 (eww-open-file): New defun.
22558 (eww-render): Initialize new variables.
22559 (eww-display-html): Handle "link" and "a".
22560 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
22561 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
22562 (eww-back-url): Rename from eww-previous-url.
22563 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
22566 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
22568 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
22569 Distinguish ternary operator tokens from slash symbol and slash
22572 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
22574 Convert symbol prettification into minor mode and global minor mode.
22576 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
22577 `prog-prettify-symbols', and make a local defvar instead of defcustom.
22578 (prettify-symbols--keywords): Rename from
22579 `prog-prettify-symbols-alist' and make a local defvar.
22580 (prettify-symbols--compose-symbol): Rename from
22581 `prog--prettify-font-lock-compose-symbol'.
22582 (prettify-symbols--make-keywords): Rename from
22583 `prog-prettify-font-lock-symbols-keywords' and simplify.
22584 (prog-prettify-install): Remove.
22585 (prettify-symbols-mode): New minor mode, based on
22586 `prog-prettify-install'.
22587 (turn-on-prettify-symbols-mode): New function.
22588 (global-prettify-symbols-mode): New globalized minor mode.
22590 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
22591 * progmodes/cfengine.el (cfengine3-mode):
22592 * progmodes/perl-mode.el (perl-mode): Don't call
22593 `prog-prettify-install'; set `prettify-symbols-alist' instead.
22595 2013-06-18 Juri Linkov <juri@jurta.org>
22597 * files-x.el (modify-file-local-variable-message): New function.
22598 (modify-file-local-variable)
22599 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
22600 and call `modify-file-local-variable-message' when it's non-nil.
22601 (add-file-local-variable, delete-file-local-variable)
22602 (add-file-local-variable-prop-line)
22603 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
22604 and use it. (Bug#9820)
22606 2013-06-18 Juri Linkov <juri@jurta.org>
22608 * emulation/vi.el (vi-shell-op):
22609 * emulation/vip.el (vip-execute-com, ex-command):
22610 * emulation/viper-cmd.el (viper-exec-bang):
22611 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
22612 the call of `shell-command-on-region'. (Bug#14637)
22614 * simple.el (shell-command-on-region): Doc fix.
22616 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
22618 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
22621 2013-06-18 Glenn Morris <rgm@gnu.org>
22623 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
22625 * newcomment.el (comment-search-forward, comment-search-backward):
22626 Doc fix. (Bug#14376)
22628 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
22630 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
22631 (buffer-face-mode-invoke): Doc fix.
22633 2013-06-18 Matthias Meulien <orontee@gmail.com>
22635 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
22636 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
22638 2013-06-18 Glenn Morris <rgm@gnu.org>
22640 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
22641 Replace obsolete function generic-make-keywords with its expansion.
22643 * progmodes/python.el (ffap-alist): Declare.
22645 * textmodes/reftex.el (bibtex-mode-map): Declare.
22647 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
22649 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
22650 (package-unpack, package-unpack-single): Return the pkg-dir.
22651 (package-download-transaction): Use it to update package-alist.
22653 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22655 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
22658 2013-06-17 Juri Linkov <juri@jurta.org>
22660 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
22662 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
22664 * emacs-lisp/package.el (package-load-descriptor):
22665 Remove `with-syntax-table' call, `read' doesn't need it.
22666 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
22668 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
22670 * startup.el (command-line): Expand package name returned by
22671 `package--description-file' (bug#14639).
22673 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
22675 * emacs-lisp/package.el (package-load-descriptor): Do not call
22676 `emacs-lisp-mode', just use its syntax table.
22678 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
22680 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
22681 `font-lock-extra-managed-props' if any prettifying keyword is added.
22682 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
22683 (prog-mode): Use `setq-local'.
22685 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22687 * international/characters.el (standard-case-table): Set syntax of ?»
22688 and ?« to punctuation.
22690 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
22692 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
22693 Save relevant match data before calling `syntax-ppss' (bug#14595).
22695 2013-06-15 Juri Linkov <juri@jurta.org>
22697 * files-x.el (modify-file-local-variable-prop-line): Add local
22698 variables to the end of the existing comment on the first line.
22699 Use `file-auto-mode-skip' to skip interpreter magic line,
22700 and also skip XML declaration.
22702 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22704 * startup.el (package--builtin-versions): New var.
22705 (package-subdirectory-regexp): Remove.
22706 (package--description-file): Hard code its value instead.
22708 * emacs-lisp/package.el: Don't activate packages older than builtin.
22709 (package-obsolete-list): Rename from package-obsolete-alist, and make
22710 it into a simple list of package-desc.
22711 (package-strip-version): Remove.
22712 (package-built-in-p): Use package--builtin-versions.
22713 (package-mark-obsolete): Simplify.
22714 (package-process-define-package): Mark it obsolete if older than the
22716 (package-handle-response): Use line-end-position.
22717 (package-read-archive-contents, package--download-one-archive):
22719 (package--add-to-archive-contents): Skip if older than the builtin or
22721 (package-menu-describe-package): Fix last change.
22722 (package-list-unversioned): New var.
22723 (package-menu--generate): Use it.
22725 * emacs-lisp/autoload.el: Manage package--builtin-versions.
22726 (autoload--insert-text, autoload--insert-cookie-text): New functions.
22727 (autoload-builtin-package-versions): New variable.
22728 (autoload-generate-file-autoloads): Use them.
22729 Remove the list of autoloaded functions/macros from the
22730 (autoload...) comments.
22732 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
22734 2013-06-15 Eli Zaretskii <eliz@gnu.org>
22736 * simple.el (line-move-partial): Don't jump to the next screen
22737 line as soon as it becomes visible. Instead, continue enlarging
22738 the vscroll until the portion of a tall screen line that's left on
22739 display is about the height of the frame's default font.
22742 2013-06-15 Glenn Morris <rgm@gnu.org>
22744 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
22745 compilation-error-regexp-alist void, or local while let-bound.
22747 * progmodes/make-mode.el (makefile-mode-syntax-table):
22748 Treat "=" as punctuation. (Bug#14614)
22750 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
22752 * help-fns.el (describe-variable):
22753 Add extra line for permanent-local variables.
22755 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
22757 * progmodes/scheme.el (scheme-font-lock-keywords-2):
22758 Add export, import, library. (Bug#9164)
22759 (library): Set indent function.
22761 2013-06-14 Glenn Morris <rgm@gnu.org>
22763 * term/xterm.el (xterm--query):
22764 Stop after first matching handler. (Bug#14615)
22766 2013-06-14 Ivan Kanis <ivan@kanis.fr>
22768 Add support for dired in saveplace.
22769 * dired.el (dired-initial-position-hook): New variable.
22770 (dired-initial-position): Call hook to place cursor position.
22771 * saveplace.el (save-place-to-alist): Add dired position.
22772 (save-place-dired-hook): New function.
22774 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
22776 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
22777 through a symbol rather than letrec.
22779 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
22780 (package-desc): Add `dir' field.
22781 (package-desc-full-name): New function.
22782 (package-load-descriptor): Combine the two arguments. Don't use `load'.
22783 (package-maybe-load-descriptor): Remove.
22784 (package-load-all-descriptors): Just call package-load-descriptor.
22785 (package--disabled-p): New function.
22786 (package-desc-vers, package-desc-doc): Remove aliases.
22787 (package--dir): Remove function.
22788 (package-activate): Check if a package is disabled.
22789 (package-process-define-package): New function, extracted from
22791 (define-package): Turn into a place holder.
22792 (package-unpack-single, package-tar-file-info):
22793 Use package--description-file.
22794 (package-compute-transaction): Use package--disabled-p.
22795 (package-download-transaction): Don't call
22796 package-maybe-load-descriptor since they're all loaded anyway.
22797 (package-install): Change argument to be a pkg-desc.
22798 (package-delete): Use a single pkg-desc argument.
22799 (describe-package-1): Use package-desc-dir instead of package--dir.
22800 Use package-desc property instead of package-symbol.
22801 (package-install-button-action): Adjust accordingly.
22802 (package--push): Rewrite.
22803 (package-menu--print-info): Adjust accordingly. Change the ID format
22805 (package-menu-describe-package, package-menu-get-status)
22806 (package-menu--find-upgrades, package-menu-mark-upgrades)
22807 (package-menu-execute, package-menu--name-predicate):
22808 Adjust accordingly.
22809 * startup.el (package--description-file): New function.
22810 (command-line): Use it.
22811 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22812 Use package-desc-version.
22814 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
22815 (byte-compile-preprocess): Use it.
22816 (byte-compile-file-form-defalias): Try a bit harder to use macros we
22817 can't quite recognize.
22818 (byte-compile-add-to-list): Remove.
22819 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
22820 (cconv-closure-convert): Add assertion.
22822 * emacs-lisp/map-ynp.el: Use lexical-binding.
22823 (map-y-or-n-p): Remove unused vars `tail' and `object'.
22824 Factor out some repeated code.
22826 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22828 * subr.el (with-eval-after-load): New macro.
22829 (eval-after-load): Allow form to be a function.
22830 take advantage of lexical-binding.
22831 (do-after-load-evaluation): Use dolist and adjust to new format.
22832 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
22834 2013-06-13 Juri Linkov <juri@jurta.org>
22836 * replace.el (perform-replace): Display "symbol " and other search
22837 modes from `isearch-message-prefix' in the *Help* buffer.
22839 * isearch.el (isearch-query-replace): Add " symbol" and other
22840 possible search modes from `isearch-message-prefix' to the prompt.
22841 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
22842 when reading a regexp to collect.
22844 2013-06-13 Juri Linkov <juri@jurta.org>
22846 * isearch.el (word-search-regexp): Match whitespace if the search
22847 string begins or ends in whitespace. The LAX arg is applied to
22848 both ends of the search string. Use `regexp-quote' and explicit
22849 \< and \> instead of \b. Use \` and \' instead of ^ and $.
22850 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
22851 boundaries are replaced with symbol boundaries, and characters
22852 between symbols match non-word non-symbol syntax. (Bug#14602)
22854 2013-06-13 Juri Linkov <juri@jurta.org>
22856 * isearch.el (isearch-del-char): Don't exceed the length of
22857 `isearch-string' by the prefix arg. (Bug#14563)
22859 2013-06-13 Juri Linkov <juri@jurta.org>
22861 * isearch.el (isearch-yank-word, isearch-yank-line)
22862 (isearch-char-by-name, isearch-quote-char)
22863 (isearch-printing-char, isearch-process-search-char):
22864 Add optional count prefix arg. (Bug#14563)
22866 * international/isearch-x.el
22867 (isearch-process-search-multibyte-characters):
22868 Add optional count prefix arg.
22870 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
22872 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
22873 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
22876 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
22878 * subr.el (set-temporary-overlay-map): Add on-exit argument.
22880 2013-06-13 Glenn Morris <rgm@gnu.org>
22882 * startup.el (tty-handle-args):
22883 Don't just discard "--" and anything after. (Bug#14608)
22885 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
22887 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
22889 Implement changes in Secret Service API. Make it backward compatible.
22890 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
22891 (secrets-create-item): Use it. Prefix properties with interface.
22893 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
22895 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
22896 (term-emulate-terminal): Respect term-suppress-hard-newline.
22898 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
22900 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
22901 Only remove a `thumb-file' overlay. (Bug#14548)
22903 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
22905 * mail/reporter.el (reporter-submit-bug-report):
22906 Handle missing package-name. (Bug#14600)
22908 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
22910 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
22911 (reftex-citation-prompt, reftex-default-bibliography)
22912 (reftex-bib-or-thebib, reftex-get-bibfile-list)
22913 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
22914 (reftex-bib-sort-author, reftex-bib-sort-year)
22915 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
22916 (reftex-extract-bib-entries-from-thebibliography)
22917 (reftex-get-bibkey-default, reftex-get-bib-names)
22918 (reftex-parse-bibtex-entry, reftex-get-bib-field)
22919 (reftex-format-bib-entry, reftex-parse-bibitem)
22920 (reftex-format-bibitem, reftex-do-citation)
22921 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
22922 (reftex-restrict-bib-matches, reftex-extract-bib-file)
22923 (reftex-insert-bib-matches, reftex-format-citation)
22924 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
22925 (reftex-create-bibtex-file): Add docstrings, mostly by converting
22926 existing comments into docstrings.
22928 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22930 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
22932 2013-06-12 Andreas Schwab <schwab@suse.de>
22934 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
22935 for auto-save files.
22937 2013-06-12 Glenn Morris <rgm@gnu.org>
22939 * ido.el (ido-delete-ignored-files): Remove.
22940 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
22941 Go back to calling ido-ignore-item-p directly.
22943 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
22945 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
22947 * ido.el (ido-delete-ignored-files): New function,
22948 split from ido-make-file-list-1.
22949 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
22950 (ido-make-file-list-1): Use ido-delete-ignored-files.
22952 2013-06-12 Leo Liu <sdl.web@gmail.com>
22954 * progmodes/octave.el (inferior-octave-startup)
22955 (inferior-octave-completion-table)
22956 (inferior-octave-track-window-width-change)
22957 (octave-eldoc-function-signatures, octave-help)
22958 (octave-find-definition): Use single quoted strings.
22959 (inferior-octave-startup-args): Change default value.
22960 (inferior-octave-startup): Do not hard code "-i" and
22961 "--no-line-editing".
22962 (inferior-octave-resync-dirs): Add optional arg NOERROR.
22963 (inferior-octave-directory-tracker): Use it.
22964 (octave-goto-function-definition): Robustify.
22965 (octave-help): Support highlighting operators in 'See also'.
22966 (octave-find-definition): Find subfunctions only in Octave mode.
22968 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22970 * help-fns.el (help-fns--compiler-macro): If the handler function is
22971 named, then put a link to it.
22972 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
22973 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
22974 (cl-typep): Use it.
22975 (cl-eval-when): Simplify debug spec.
22976 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
22977 compiler-macro function instead of setting `compiler-macro-file'.
22979 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
22981 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
22982 * vc/vc-hooks.el (vc-stay-local): Doc fix.
22984 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
22985 Daniel Hackney <dan@haxney.org>
22987 First part of Daniel Hackney's patch to package.el.
22988 * emacs-lisp/package.el: Use defstruct.
22989 (package-desc): New, main struct.
22990 (package--bi-desc, package--ac-desc): New structs, used to describe the
22991 format in external files.
22992 (package-desc-vers): Replace with package-desc-version accessor.
22993 (package-desc-doc): Replace with package-desc-summary accessor.
22994 (package-activate-1): Remove `package' arg since the pkg-vec now
22996 (define-package): Use package-desc-from-define.
22997 (package-unpack-single): Change file-name arg to be a symbol.
22998 (package--add-to-archive-contents): Use package-desc-create and new
22999 accessor functions to package--ac-desc.
23000 (package-buffer-info, package-tar-file-info): Return a package-desc.
23001 (package-install-from-buffer): Remove `type' argument. Change pkg-info
23002 arg to be a package-desc.
23003 (package-install-file): Adjust accordingly. Use \' to match EOS.
23004 (package--from-builtin): New function.
23005 (describe-package-1, package-menu--generate): Use it.
23006 (package--make-autoloads-and-compile): Change name arg to be a symbol.
23007 (package-generate-autoloads): Idem and return the name of the file.
23008 * emacs-lisp/package-x.el (package-upload-buffer-internal):
23009 Change pkg-info arg to be a package-desc.
23010 Use package-make-ac-desc.
23011 (package-upload-file): Use \' to match EOS.
23012 * finder.el (finder-compile-keywords): Use package-make-builtin.
23014 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
23016 * vc/vc.el (vc-deduce-fileset): Change error message.
23017 (vc-read-backend): New function.
23018 (vc-next-action): Use it.
23020 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
23022 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
23023 (prolog-font-lock-keywords): Use regexp-opt instead.
23024 Don't manually highlight strings.
23025 (prolog-mode-variables): Simplify comment-start-skip.
23026 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
23028 * emacs-lisp/generic.el (generic--normalise-comments)
23029 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
23030 (generic-mode-set-comments): Use them.
23031 (generic-bracket-support): Use setq-local.
23032 (generic-make-keywords-list): Declare obsolete.
23034 2013-06-11 Glenn Morris <rgm@gnu.org>
23036 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
23037 Prettify after setting font-lock-defaults. (Bug#14574)
23039 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
23041 * replace.el (query-replace, occur-read-regexp-defaults-function)
23043 * subr.el (declare-function, number-sequence, local-set-key)
23044 (substitute-key-definition, locate-user-emacs-file)
23045 (with-silent-modifications, split-string, eval-after-load):
23046 Fix typos, remove unneeded backslashes and reflow some docstrings.
23048 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
23050 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
23051 default for Elisp files.
23053 2013-06-11 Glenn Morris <rgm@gnu.org>
23055 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
23056 although define-derived-mode was doing this anyway. (Bug#14583)
23058 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
23060 * allout.el (allout-encryption-plaintext-sanitization-regexps):
23061 Fix make-variable-buffer-local call to refer to the correct variable.
23063 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
23065 * eshell/em-term.el (eshell-visual-commands)
23066 (eshell-visual-subcommands, eshell-visual-options):
23067 Add summary line to docstrings. Add cross-references.
23069 2013-06-10 Glenn Morris <rgm@gnu.org>
23071 * epa.el (epa-read-file-name): New function. (Bug#14510)
23072 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
23074 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
23076 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
23077 output redirection to be ignored with visual commands.
23079 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
23081 * eshell/em-term.el (eshell-visual-command-p): New function.
23082 (eshell-term-initialize): Move long lambda to separate function
23083 eshell-visual-command-p.
23084 * eshell/em-dirs.el (eshell-dirs-initialize):
23085 * eshell/em-script.el (eshell-script-initialize):
23086 Add missing #' to lambda.
23088 2013-06-08 Leo Liu <sdl.web@gmail.com>
23090 * progmodes/octave.el (octave-add-log-current-defun): New function.
23091 (octave-mode): Set add-log-current-defun-function.
23092 (octave-goto-function-definition): Do not move point if not found.
23093 (octave-find-definition): Enhance to try subfunctions first.
23095 2013-06-08 Glenn Morris <rgm@gnu.org>
23097 * emacs-lisp/bytecomp.el (byte-compile-char-before)
23098 (byte-compile-backward-char, byte-compile-backward-word):
23099 Improve previous change, to handle non-explicit nil.
23101 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
23103 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
23104 (smie--opener/closer-at-point): New function.
23105 (smie--matching-block-data): Use it. Don't match from right after an
23106 opener or right before a closer. Obey smie-blink-matching-inners.
23107 Don't signal a mismatch for repeated inners like "switch..case..case".
23109 2013-06-07 Leo Liu <sdl.web@gmail.com>
23111 * progmodes/octave.el (octave-mode): Set comment-use-global-state
23113 (octave-function-header-regexp): Fix. (Bug#14570)
23114 (octave-help-mode-finish-hook, octave-help-mode-finish):
23115 Remove. Just use temp-buffer-show-hook.
23117 * newcomment.el (comment-search-backward): Revert last change.
23120 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
23122 2013-06-07 Eli Zaretskii <eliz@gnu.org>
23124 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
23125 through xargs, to avoid failure due to MS-Windows limitations on
23126 command-line length.
23128 2013-06-06 Glenn Morris <rgm@gnu.org>
23130 * font-lock.el (lisp-font-lock-keywords-2):
23131 Treat user-error like error.
23133 * emacs-lisp/bytecomp.el (byte-compile-char-before)
23134 (byte-compile-backward-char, byte-compile-backward-word):
23135 Handle explicit nil arguments. (Bug#14565)
23137 2013-06-05 Alan Mackenzie <acm@muc.de>
23139 * isearch.el (isearch-allow-prefix): New user option.
23140 (isearch-other-meta-char): Don't exit isearch when a prefix
23141 argument is typed whilst `isearch-allow-prefix' is non-nil.
23144 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
23146 * autorevert.el (auto-revert-notify-handler): Use memq.
23147 Hide assertion failure.
23149 * skeleton.el: Use cl-lib.
23150 (skeleton-further-elements): Use defvar-local.
23151 (skeleton-insert): Use cl-progv.
23153 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
23155 * progmodes/prog-mode.el (prog-prettify-symbols)
23156 (prog-prettify-install): Update docstrings.
23158 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
23160 * simple.el: Move all the prog-mode code to prog-mode.el.
23161 * progmodes/prog-mode.el: New file.
23162 * loadup.el: Add prog-mode.el.
23164 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
23166 * simple.el (prog-prettify-symbols): Add version.
23167 (prog-prettify-install): Add convenience function to prettify symbols.
23169 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
23170 (perl--augmented-font-lock-keywords-1)
23171 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
23172 variables and use it.
23174 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
23175 (cfengine3-mode): Remove unneeded variable and use it.
23177 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
23178 (lisp--augmented-font-lock-keywords-1)
23179 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
23180 Remove unneeded variables and use it.
23182 2013-06-05 João Távora <joaotavora@gmail.com>
23184 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
23185 to point when opening the connection. (Bug#14380)
23187 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
23189 * subr.el (load-history-regexp, load-history-filename-element)
23190 (eval-after-load, after-load-functions, do-after-load-evaluation)
23191 (eval-next-after-load, display-delayed-warnings)
23192 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
23193 definition of save-match-data.
23194 (overriding-local-map): Remove accidental obsolescence declaration.
23196 * emacs-lisp/edebug.el (edebug-result): Move before first use.
23198 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
23200 Generalize symbol prettify support to prog-mode and implement it
23201 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
23202 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
23203 (prog--prettify-font-lock-compose-symbol)
23204 (prog-prettify-font-lock-symbols-keywords): New variables and
23205 functions to support symbol prettification.
23206 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
23207 (lisp--augmented-font-lock-keywords-1)
23208 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
23209 (lisp--prettify-symbols-alist): Implement prettify of lambda.
23210 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
23211 (cfengine3--prettify-symbols-alist, cfengine3-mode):
23212 Implement prettify of -> => :: strings.
23213 * progmodes/perl-mode.el (perl-prettify-symbols)
23214 (perl--font-lock-compose-symbol)
23215 (perl--font-lock-symbols-keywords): Move to prog-mode.
23216 (perl--prettify-symbols-alist): Prettify -> => :: strings.
23217 (perl-font-lock-keywords-1)
23218 (perl-font-lock-keywords-2): Remove explicit prettify support.
23219 (perl--augmented-font-lock-keywords)
23220 (perl--augmented-font-lock-keywords-1)
23221 (perl--augmented-font-lock-keywords-2, perl-mode):
23222 Implement prettify support.
23224 2013-06-05 Leo Liu <sdl.web@gmail.com>
23226 Re-implement SMIE matching block highlight using
23227 show-paren-data-function. (Bug#14395)
23228 * emacs-lisp/smie.el (smie-matching-block-highlight)
23229 (smie--highlight-matching-block-overlay)
23230 (smie--highlight-matching-block-lastpos)
23231 (smie-highlight-matching-block)
23232 (smie-highlight-matching-block-mode): Remove.
23233 (smie--matching-block-data-cache): New variable.
23234 (smie--matching-block-data): New function.
23235 (smie-setup): Use smie--matching-block-data for
23236 show-paren-data-function.
23238 * progmodes/octave.el (octave-mode-menu): Fix.
23239 (octave-find-definition): Skip garbage lines.
23241 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
23243 Fix compilation error with simultaneous dynamic+lexical scoping.
23244 Add warning when a defvar appears after the first let-binding.
23245 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
23246 (byte-compile-close-variables): Initialize it.
23247 (byte-compile--declare-var): New function.
23248 (byte-compile-file-form-defvar)
23249 (byte-compile-file-form-define-abbrev-table)
23250 (byte-compile-file-form-custom-declare-variable): Use it.
23251 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
23252 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
23253 (byte-compile-bind): Handle dynamic bindings that shadow
23255 (byte-compile-unbind): Make arg non-optional.
23256 (byte-compile-let): Simplify.
23257 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
23258 (cconv--analyse-function, cconv-analyse-form): Populate it.
23259 Protect byte-compile-bound-variables to limit the scope of defvars.
23260 (cconv-analyse-form): Add missing rule for (defvar <foo>).
23261 Remove unneeded rule for `declare'.
23263 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
23264 so as to avoid depending on cl-adjoin at run-time.
23265 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
23267 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
23268 (macroexp--warn-and-return): Use it.
23270 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
23272 * subr.el: Convert to lexical binding.
23273 (overriding-local-map): Make obsolete.
23274 (add-to-list): Doc fix. Add compiler macro.
23275 (read-key): Swap values of local maps.
23277 2013-06-05 Leo Liu <sdl.web@gmail.com>
23279 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
23281 2013-06-04 Leo Liu <sdl.web@gmail.com>
23283 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
23284 (compilation-auto-jump): Suppress the "Mark set" message to give
23285 way to exit message.
23287 2013-06-04 Alan Mackenzie <acm@muc.de>
23289 Remove faulty optimization from indentation calculation.
23290 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
23291 search limit based on 2000 characters back from indent-point.
23293 2013-06-03 Tassilo Horn <tsdh@gnu.org>
23295 * eshell/em-term.el (cl-lib): Require `cl-lib'.
23297 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
23299 * emacs-lisp/lisp.el: Use lexical-binding.
23300 (lisp--local-variables-1, lisp--local-variables): New functions.
23301 (lisp--local-variables-completion-table): New var.
23302 (lisp-completion-at-point): Use it complete let-bound vars.
23304 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
23305 eagerly (bug#14422).
23307 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
23309 * autorevert.el (auto-revert-notify-enabled)
23310 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
23311 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
23312 (auto-revert-notify-handler): Handle also gfilenotify.
23314 * subr.el (file-notify-handle-event): New defun. Replacing ...
23315 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
23318 2013-06-03 Juri Linkov <juri@jurta.org>
23320 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
23321 `M-s h .'. (Bug#14427)
23323 * hi-lock.el (highlight-symbol-at-point): New alias for the new
23324 command `hi-lock-face-symbol-at-point'.
23325 (hi-lock-face-symbol-at-point): New command.
23326 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
23327 (hi-lock-menu): Add `highlight-symbol-at-point'.
23328 (hi-lock-mode): Doc fix.
23330 * isearch.el (isearch-forward-symbol-at-point): New command.
23331 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
23332 (isearch-highlight-regexp): Add a regexp which matches
23333 words/symbols for word/symbol mode.
23335 * subr.el (find-tag-default-bounds): New function with the body
23336 mostly moved from `find-tag-default'.
23337 (find-tag-default): Move most code to `find-tag-default-bounds',
23338 call it and apply `buffer-substring-no-properties' afterwards.
23340 2013-06-03 Tassilo Horn <tsdh@gnu.org>
23342 * eshell/em-term.el (eshell-term-initialize):
23343 Use `cl-intersection' rather than `intersection'.
23345 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
23347 * vc/log-view.el: Doc fix.
23348 (log-view-mode-map): Copy keymap from `special-mode-map'.
23350 2013-06-02 Eric Ludlam <zappo@gnu.org>
23352 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
23353 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
23354 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
23355 (eieio-unbound, eieio-default-superclass)
23356 (eieio--define-field-accessors, method-static, method-before)
23357 (method-primary, method-after, method-num-lists)
23358 (method-generic-before, method-generic-primary)
23359 (method-generic-after, method-num-slots)
23360 (eieio-specialized-key-to-generic-key)
23361 (eieio--check-type, class-v, class-p)
23362 (eieio-class-name, define-obsolete-function-alias)
23363 (eieio-class-parents-fast, eieio-class-children-fast)
23364 (same-class-fast-p, class-constructor, generic-p)
23365 (generic-primary-only-p, generic-primary-only-one-p)
23366 (class-option-assoc, class-option, eieio-object-p)
23367 (class-abstract-p, class-method-invocation-order)
23368 (eieio-defclass-autoload-map, eieio-defclass-autoload)
23369 (eieio-class-un-autoload, eieio-defclass)
23370 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
23371 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
23372 (eieio--defgeneric-init-form, eieio-defgeneric-form)
23373 (eieio-defgeneric-reset-generic-form)
23374 (eieio-defgeneric-form-primary-only)
23375 (eieio-defgeneric-reset-generic-form-primary-only)
23376 (eieio-defgeneric-form-primary-only-one)
23377 (eieio-defgeneric-reset-generic-form-primary-only-one)
23378 (eieio-unbind-method-implementations)
23379 (eieio--defmethod, eieio--typep)
23380 (eieio-perform-slot-validation, eieio-validate-slot-value)
23381 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
23382 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
23383 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
23384 (eieio-slot-name-index, eieio-class-slot-name-index)
23385 (eieio-set-defaults, eieio-initarg-to-attribute)
23386 (eieio-attribute-to-initarg, eieio-c3-candidate)
23387 (eieio-c3-merge-lists, eieio-class-precedence-c3)
23388 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
23389 (eieio-class-precedence-list, eieio-generic-call-methodname)
23390 (eieio-generic-call-arglst, eieio-generic-call-key)
23391 (eieio-generic-call-next-method-list)
23392 (eieio-pre-method-execution-functions, eieio-generic-call)
23393 (eieio-generic-call-primary-only, eieiomt-method-list)
23394 (eieiomt-optimizing-obarray, eieiomt-install)
23395 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
23396 (eieio-generic-form, eieio-defmethod, make-obsolete)
23397 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
23398 (defclass): Remove `eval-and-compile' from macro.
23399 (call-next-method, shared-initialize): Instead of using
23400 `scoped-class' variable, use new eieio--scoped-class, and
23401 eieio--with-scoped-class.
23402 (initialize-instance): Rename local variable 'scoped-class' to
23403 'this-class' to remove ambiguitity from old global.
23405 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
23407 (eieio--scoped-class-stack): New variable.
23408 (eieio--scoped-class): New fcn.
23409 (eieio--with-scoped-class): New scoping macro.
23410 (eieio-defclass): Use pushnew instead of add-to-list.
23411 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
23412 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
23413 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
23414 `scoped-class' variable, use new eieio--scoped-class, and
23415 eieio--with-scoped-class.
23417 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
23419 2013-06-02 Tassilo Horn <tsdh@gnu.org>
23421 * eshell/esh-ext.el (eshell-external-command): Pass args to
23422 `eshell-find-interpreter'.
23423 (eshell-find-interpreter): Add new second parameter ARGS.
23425 * eshell/em-script.el (eshell-script-initialize): Add second arg
23426 to the function added as MATCH to `eshell-interpreter-alist'.
23428 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
23429 the function added as MATCH to `eshell-interpreter-alist'.
23431 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
23432 (eshell-visual-options): New defcustom.
23433 (eshell-escape-control-x): Adapt docstring.
23434 (eshell-term-initialize): Test `eshell-visual-subcommands' and
23435 `eshell-visual-options' in addition to `eshell-visual-commands'.
23436 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
23438 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
23440 * progmodes/python.el (python-indent-block-enders): Add break,
23441 continue and raise keywords.
23443 2013-06-01 Glenn Morris <rgm@gnu.org>
23445 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
23447 Plain (f)boundp silences compilation warnings since Emacs 22.1.
23448 * progmodes/cc-cmds.el (delete-forward-p):
23449 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
23450 * progmodes/cc-engine.el (buffer-syntactic-context):
23451 * progmodes/cc-fonts.el (face-property-instance):
23452 * progmodes/cc-mode.el (set-keymap-parents):
23453 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
23454 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
23455 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
23456 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
23457 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
23459 * progmodes/cc-vars.el (other): Emacs has this widget since
23460 at least 21.1, so don't (re)define it.
23462 * eshell/em-cmpl.el (eshell-cmpl-initialize):
23463 Replace the obsolete alias pcomplete-arg-quote-list.
23465 2013-06-01 Leo Liu <sdl.web@gmail.com>
23467 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
23468 punctuation syntax.
23469 (inferior-octave-minimal-columns)
23470 (inferior-octave-last-column-width): New variables.
23471 (inferior-octave-track-window-width-change): New function.
23472 (inferior-octave-mode): Adjust column width so that Octave output,
23473 for example from 'ls', can fit into the window nicely.
23475 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
23477 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23478 Highlight expansions inside regexp literals.
23480 2013-05-31 Glenn Morris <rgm@gnu.org>
23482 * obsolete/sym-comp.el (symbol-complete):
23483 Replace obsolete completion-annotate-function.
23485 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
23487 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
23489 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
23490 New function, checks if point is inside a literal that allows
23491 expression expansion.
23492 (ruby-syntax-propertize-expansion): Use it.
23493 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
23496 2013-05-30 Juri Linkov <juri@jurta.org>
23498 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
23500 (isearch-invisible): New variable.
23501 (isearch-forward): Doc fix.
23502 (isearch-mode): Set `isearch-invisible'
23503 to the value of `search-invisible'.
23504 (isearch-toggle-case-fold): Doc fix.
23505 (isearch-toggle-invisible): New command.
23506 (isearch-query-replace): Let-bind `search-invisible'
23507 to the value of `isearch-invisible'.
23508 (isearch-search): Use `isearch-invisible' instead of
23509 `search-invisible'. Let-bind `search-invisible'
23510 to the value of `isearch-invisible'. (Bug#11378)
23512 2013-05-30 Juri Linkov <juri@jurta.org>
23514 * replace.el (perform-replace): Avoid `isearch-range-invisible'
23515 call when `query-flag' is nil and `search-invisible' is non-nil.
23518 2013-05-30 Glenn Morris <rgm@gnu.org>
23520 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
23522 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
23523 (cc-require): Suppress spurious "noruntime" warnings.
23524 (cc-require-when-compile): Use fboundp, for sake of compiler.
23526 * progmodes/cc-mode.el: Move load of cc-vars before that of
23527 cc-langs (which in turn loads cc-vars), to quieten compiler.
23529 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23531 * paren.el: Simplify the code.
23532 (show-paren-mode): Always start the timer.
23533 (show-paren--idle-timer): Rename from show-paren-idle-timer.
23534 (show-paren--overlay, show-paren--overlay-1): Rename from
23535 show-paren-overlay and show-paren-overlay-1, and initialize to an
23536 overlay rather than to nil.
23537 (show-paren-function): Misc cleanup and simplifications.
23539 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23541 * paren.el (show-paren-data-function): New hook.
23542 (show-paren--default): New function, extracted from show-paren-function.
23543 (show-paren-function): Use show-paren-data-function.
23545 2013-05-30 Glenn Morris <rgm@gnu.org>
23547 * ielm.el (ielm-map, ielm-complete-symbol):
23548 Use completion-at-point rather than obsolete functions.
23549 (inferior-emacs-lisp-mode): Doc fix.
23550 Set completion-at-point-functions, rather than
23551 comint-dynamic-complete-functions.
23553 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
23554 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
23555 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
23557 * image.el (image-animated-p): Tweak definition.
23559 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
23560 (rlogin-process-connection-type): Tweak default. Add set-after.
23561 (rlogin-host): Doc fix.
23562 (rlogin): Tweak prompt.
23563 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
23565 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
23566 * progmodes/tcl.el (inferior-tcl-mode-map):
23567 Use completion-at-point rather than obsolete alias.
23569 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
23571 * minibuffer.el (read-file-name-completion-ignore-case):
23572 Move before completion--in-region, for eager macro expansion.
23574 2013-05-29 Juri Linkov <juri@jurta.org>
23576 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
23577 for total count of matching lines. Add `global-matches' for total
23578 count of matches. Rename `matches' to `lines' for count of
23579 matching lines. Add `matches' for count of matches.
23580 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
23581 to `prev-line' for line number of prev match endpt.
23582 Increment `matches' for every match. Print the number of
23583 matching lines in the header.
23584 (occur-context-lines): Rename `lines' to `curr-line'.
23585 Rename `prev-lines' to `prev-line'. (Bug#14017)
23587 2013-05-29 Juri Linkov <juri@jurta.org>
23589 * replace.el (perform-replace): Add `skip-read-only-count',
23590 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
23591 Increment them for corresponding conditions and report the number
23592 of skipped occurrences in the final message. (Bug#11746)
23593 (query-replace, query-replace-regexp, query-replace-regexp-eval)
23594 (replace-string, replace-regexp): Doc fix.
23596 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
23598 * emacs-lisp/trace.el (trace--read-args): Provide a default.
23600 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
23601 prog-mode-map (bug#14504).
23603 2013-05-29 Leo Liu <sdl.web@gmail.com>
23605 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
23606 (octave-help): Small simplification.
23608 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
23609 off the highlight first.
23611 2013-05-29 Glenn Morris <rgm@gnu.org>
23613 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
23614 Handle idlwave-last-system-routine-info-cons-cell being nil.
23616 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
23617 (idlwave-write-paths): Simplify via with-temp-buffer.
23619 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
23620 * emulation/cua-rect.el: Also load cua-base at run time.
23622 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
23623 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
23624 (cperl-imenu-on-info): Require imenu.
23626 2013-05-28 Alan Mackenzie <acm@muc.de>
23628 Handle "capitalised keywords" correctly.
23629 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
23631 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
23633 * eshell/em-unix.el: Add -r option to cp.
23635 2013-05-28 Glenn Morris <rgm@gnu.org>
23637 * vc/vc-arch.el (vc-exec-after): Declare.
23638 (vc-switches): Autoload.
23639 * vc/vc-bzr.el: No need to require vc when compiling.
23640 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
23641 (vc-resynch-buffer, vc-dir-refresh): Declare.
23642 (vc-setup-buffer, vc-switches): Autoload.
23643 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
23644 (vc-resynch-buffer): Declare.
23645 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
23646 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
23647 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
23648 (grep-read-regexp, grep-read-files, grep-expand-template)
23649 (vc-dir-refresh): Declare.
23650 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
23651 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
23652 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
23653 * vc/vc-mtn.el (vc-exec-after): Declare.
23654 (vc-switches): Autoload.
23655 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
23656 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
23657 (vc-file-tree-walk): Declare.
23658 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
23659 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
23660 (vc-tag-precondition, vc-rename-master): Autoload.
23661 * vc/vc-svn.el (vc-exec-after): Declare.
23662 (vc-switches, vc-setup-buffer): Autoload.
23663 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
23665 (vc-resynch-buffer): Declare.
23667 * obsolete/fast-lock.el (byte-compile-warnings):
23668 Don't warn about obsolete features in this obsolete file.
23670 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
23671 Move definition before use.
23673 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
23674 (dun-unix-verbs): Remove dun-zippy.
23675 (dun-zippy): Remove function.
23677 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
23679 2013-05-27 Juri Linkov <juri@jurta.org>
23681 * replace.el (replace-search): New function with code moved out
23682 from `perform-replace'.
23683 (replace-highlight, replace-dehighlight): Move function definitions
23684 up closer to `replace-search'. (Bug#11746)
23686 2013-05-27 Juri Linkov <juri@jurta.org>
23688 * replace.el (perform-replace): Ignore invisible matches.
23689 In addition to checking `query-replace-skip-read-only', also
23690 filter out matches by calling `run-hook-with-args-until-failure'
23691 on `isearch-filter-predicates', and also check `search-invisible'
23692 for t or call `isearch-range-invisible'.
23693 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
23695 2013-05-27 Juri Linkov <juri@jurta.org>
23697 * isearch.el (isearch-filter-predicates): Rename from
23698 `isearch-filter-predicate'. Doc fix. (Bug#11378)
23699 (isearch-message-prefix): Display text from the property
23700 `isearch-message-prefix' of the currently active filters.
23701 (isearch-search): Don't compare `isearch-filter-predicate' with
23702 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
23703 on `isearch-filter-predicates'. Also check `search-invisible' for t
23704 or call `isearch-range-invisible'.
23705 (isearch-filter-visible): Make obsolete.
23706 (isearch-lazy-highlight-search):
23707 Call `run-hook-with-args-until-failure' on
23708 `isearch-filter-predicates' and use `isearch-range-invisible'.
23710 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
23711 `isearch-filter-predicates' instead of `funcall'ing
23712 `isearch-filter-predicate'.
23713 (Info-mode): Set `Info-isearch-filter' to
23714 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
23716 * dired-aux.el (dired-isearch-filter-predicate-orig):
23718 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
23719 (dired-isearch-filenames-end): Add and remove
23720 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
23721 instead of changing the value of `isearch-filter-predicate'.
23722 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
23723 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
23724 Put property `isearch-message-prefix' to "filename " on
23725 `dired-isearch-filter-filenames'.
23727 * wdired.el (wdired-change-to-wdired-mode):
23728 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
23729 locally instead of changing `isearch-filter-predicate'.
23730 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
23732 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
23734 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
23735 return the commit hash (Bug#14459). Also set the
23736 `vc-git-detached' property.
23737 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
23738 (vc-git-mode-line-string): Use the same help-echo format whether
23739 in detached mode or not, because we know the actual revision now.
23740 When in detached mode, shorten the revision to 7 chars.
23742 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23744 * emacs-lisp/easy-mmode.el (define-minor-mode):
23745 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
23746 mode hook and provide a docstring.
23748 2013-05-27 Alan Mackenzie <acm@muc.de>
23750 Remove spurious syntax-table text properties inserted by C-y.
23751 * progmodes/cc-mode.el (c-after-change): Also clear hard
23752 syntax-table property with value nil.
23754 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
23756 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
23757 when reading the events; the buffer layout shall not be changed.
23759 2013-05-27 Leo Liu <sdl.web@gmail.com>
23761 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
23763 (inferior-octave-directory-tracker): Automatically re-sync
23765 (octave-help): Improve handling of 'See also'.
23767 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
23769 * doc-view.el: Minor naming convention tweaks.
23770 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
23772 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
23773 even if there's no `display' property yet (bug#14435).
23775 2013-05-25 Eli Zaretskii <eliz@gnu.org>
23777 * subr.el (unmsys--file-name): Rename from reveal-filename.
23779 * Makefile.in (custom-deps, finder-data, autoloads)
23780 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
23781 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
23782 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
23784 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23786 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
23787 error-completion on the first 2 args of condition-case (bug#14446).
23790 2013-05-25 Leo Liu <sdl.web@gmail.com>
23792 * comint.el (comint-previous-matching-input): Do not flood the
23793 *Messages* buffer with trivial messages.
23795 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
23797 * progmodes/flymake.el (flymake-nop): Don't return a string.
23798 (flymake-set-at): Fix typo.
23800 * simple.el (read--expression): New function, extracted from
23801 eval-expression. Set completion-at-point-functions (bug#14465).
23802 (eval-expression, eval-minibuffer): Use it.
23804 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
23806 * progmodes/flymake.el (flymake-save-buffer-in-file)
23807 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
23808 (flymake-selected-frame, flymake-log, flymake-ins-after)
23809 (flymake-set-at, flymake-get-buildfile-from-cache)
23810 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
23811 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
23812 Refine the doc string.
23813 (flymake-get-file-name-mode-and-masks): Reformat.
23814 (flymake-get-real-file-name-function): Fix a minor bug.
23816 2013-05-24 Juri Linkov <juri@jurta.org>
23818 * progmodes/grep.el (grep-mode-font-lock-keywords):
23819 Support =linenumber= format used by git-grep for lines with
23820 function names. (Bug#13549)
23822 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23824 * progmodes/octave.el (octave-smie-rules): Return nil rather than
23825 0 after a semi-colon; it works better for smie-auto-fill.
23826 (octave--indent-new-comment-line): New function.
23827 (octave-indent-new-comment-line): Use it (indirectly).
23828 (octave-mode): Don't disable smie-auto-fill. Use add-function to
23829 modify comment-line-break-function.
23831 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
23832 (smie-setup): Use add-function to set it.
23834 2013-05-24 Sam Steingold <sds@gnu.org>
23836 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
23837 argument (before the `interactive' argument).
23839 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23841 * image-mode.el (image-mode-winprops): Add winprops to
23842 image-mode-winprops-alist before running
23843 image-mode-new-window-functions.
23844 * doc-view.el (doc-view-new-window-function): Don't delay
23845 doc-view-goto-page via timers (bug#14435).
23847 2013-05-24 Tassilo Horn <tsdh@gnu.org>
23849 * doc-view.el: Integrate with desktop.el. (Bug#14435)
23850 (doc-view-desktop-save-buffer): New function.
23851 (doc-view-restore-desktop-buffer): New function.
23852 (desktop-buffer-mode-handlers):
23853 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
23855 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
23856 `desktop-save-buffer' function.
23858 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
23860 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
23861 (tramp-gvfs-file-name-handler): Raise a user error when
23862 `tramp-gvfs-enabled' is nil.
23863 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
23864 Do not raise a user error when loading package. (Bug#14447)
23866 * net/xesam.el: Move to obsolete/.
23868 2013-05-24 Glenn Morris <rgm@gnu.org>
23870 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
23872 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
23874 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
23875 (Info-find-node, Man-getpage-in-background): Declare.
23877 * mail/unrmail.el (unrmail):
23878 Replace obsolete detect-coding-with-priority.
23880 * net/socks.el (socks-split-string): Use this rather than split-string.
23881 (socks-nslookup-host): Update for above change.
23882 (dynamic-choice, s5-dynamic-choice-match)
23883 (s5-dynamic-choice-match-inline, s5-widget-value-create):
23884 Comment out unused code.
23886 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
23887 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
23888 (gud-tooltip-echo-area): Make obsolete.
23889 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
23891 * progmodes/js.el (js--optimize-arglist): Declare.
23893 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
23895 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
23896 (ediff-window-C): Declare.
23898 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
23899 Tweak requires to silence compiler.
23901 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
23902 (he-search-string, he-tried-table, he-expand-list)
23903 (he-init-string, he-string-member, he-substitute-string)
23904 (he-reset-string): Declare.
23906 * obsolete/options.el (list-options): Use custom-variable-p,
23907 rather than obsolete alias.
23909 2013-05-23 Sam Steingold <sds@gnu.org>
23911 * simple.el (shell-command-on-region): Pass the `replace' argument
23912 down to `call-process-region' to comply with the doc as reported on
23913 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
23915 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23917 * emacs-lisp/smie.el (smie-indent-forward-token)
23918 (smie-indent-backward-token): Handle string tokens (bug#14381).
23920 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23922 * ielm.el (ielm-menu): New menu.
23923 (inferior-emacs-lisp-mode): Set comment-start.
23925 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
23927 * textmodes/reftex.el (reftex-ref-style-toggle):
23928 Fix deactivate action.
23930 * textmodes/reftex-vars.el (reftex-ref-style-alist):
23931 Add cleveref macros.
23933 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
23934 Accept options for bibliography commands.
23935 * textmodes/reftex-vars.el (reftex-bibliography-commands):
23936 Add addbibresource. Basic Biblatex support.
23938 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
23940 * net/tramp-gvfs.el (top):
23941 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
23942 when loading package. (Bug#14447)
23944 2013-05-23 Glenn Morris <rgm@gnu.org>
23946 * progmodes/js.el: No need to load comint when compiling.
23947 (ring-insert, comint-send-string, comint-send-input)
23948 (comint-last-input-end, ido-chop): Declare.
23950 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
23951 * vc/ediff-mult.el: Adjust requires.
23952 (ediff-directories-internal, ediff-directory-revisions-internal)
23953 (ediff-patch-file-internal): Declare.
23954 * vc/ediff-ptch.el: Adjust requires.
23955 (ediff-use-last-dir, ediff-buffers-internal): Declare.
23956 (ediff-find-file): Autoload.
23957 * vc/ediff-util.el: No need to load ediff when compiling.
23958 (ediff-regions-internal): Declare.
23959 * vc/ediff-wind.el: Adjust requires.
23960 (ediff-compute-toolbar-width): Define when compiling.
23961 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
23962 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
23963 (dired-get-filename, dired-get-marked-files)
23964 (ediff-last-dir-patch, ediff-patch-default-directory)
23965 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
23966 (ediff-patch-buffer-internal): Declare.
23968 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
23969 (ispell-process, ispell-buffer-local-words, lm-summary)
23970 (lm-section-start, lm-section-end): Declare.
23971 (checkdoc-ispell-init): Simplify.
23973 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
23974 (he-string-member, he-reset-string, he-substitute-string): Declare.
23976 * eshell/em-ls.el: Adjust requires.
23977 (eshell-glob-regexp): Declare.
23978 * eshell/em-tramp.el: Adjust requires.
23979 (eshell-parse-command): Autoload.
23980 * eshell/em-xtra.el: Adjust requires.
23981 (eshell-parse-command): Autoload.
23982 * eshell/esh-ext.el: Adjust requires.
23983 (eshell-parse-command, eshell-close-handles): Autoload.
23984 * eshell/esh-io.el: Adjust requires.
23985 (eshell-output-filter): Autoload.
23986 * eshell/esh-util.el: No need to load tramp when compiling.
23987 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
23989 (eshell-parse-ange-ls): Require ange-ftp and tramp.
23990 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
23991 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
23992 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
23993 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
23994 * eshell/esh-opt.el, eshell/esh-proc.el:
23995 * eshell/esh-var.el: Adjust requires.
23996 * eshell/eshell.el: Do not require esh-util twice.
23997 (eshell-add-input-to-history): Declare.
23998 (eshell-command): Check history module is active before using it.
24000 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
24002 2013-05-22 Leo Liu <sdl.web@gmail.com>
24004 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
24006 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
24008 * autorevert.el (auto-revert-notify-add-watch)
24009 (auto-revert-notify-handler): Add `attrib' for the inotify case,
24010 it indicates changes in file modification time.
24012 2013-05-22 Glenn Morris <rgm@gnu.org>
24014 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
24015 Always delete the autoloaded function from the noruntime and
24016 unresolved functions lists.
24018 * allout.el: No need to load epa, epg, overlay when compiling.
24019 (epg-context-set-passphrase-callback, epg-list-keys)
24020 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
24021 (epg-key-user-id-list): Declare.
24023 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
24024 (viper-set-parsing-style-toggling-macro)
24025 (viper-set-emacs-state-searchstyle-macros):
24026 Use called-interactively-p on Emacs.
24027 (viper-looking-back): Make it an obsolete alias. Update callers.
24028 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
24029 Use looking-back rather than viper-looking-back.
24030 (viper-tmp-insert-at-eob, viper-enlarge-region)
24031 (viper-read-string-with-history, viper-register-to-point)
24032 (viper-append-to-register, viper-change-state-to-vi)
24033 (viper-backward-char-carefully, viper-forward-char-carefully)
24034 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
24035 (viper-change-state-to-emacs): Declare.
24036 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
24037 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
24038 * emulation/viper-mous.el: Do not load viper-cmd.
24039 (viper-backward-char-carefully, viper-forward-char-carefully)
24040 (viper-forward-word, viper-adjust-window): Declare.
24042 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
24044 * progmodes/idlw-help.el (idlwave-help-fontify):
24045 Use called-interactively-p.
24047 * term/w32console.el (w32-get-console-codepage)
24048 (w32-get-console-output-codepage): Declare.
24050 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
24051 Remove unnecessary declarations.
24052 (dframe-message): Doc fix.
24054 * info.el (dframe-select-attached-frame, dframe-current-frame):
24057 * speedbar.el (speedbar-message): Make it an obsolete alias.
24058 Update all callers.
24059 (speedbar-with-attached-buffer)
24060 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
24061 (speedbar-with-writable): Use backquote.
24062 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
24063 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
24064 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
24065 rather than speedbar- aliases.
24066 * mail/rmail.el: Load dframe rather than speedbar when compiling.
24067 (speedbar-make-specialized-keymap, speedbar-insert-button)
24068 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
24069 (speedbar-do-function-pointer): Declare.
24070 (rmail-speedbar-button, rmail-speedbar-find-file)
24071 (rmail-speedbar-move-message):
24072 Use dframe-with-attached-buffer rather than speedbar- alias.
24073 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
24074 (dframe-message, speedbar-make-specialized-keymap)
24075 (speedbar-add-expansion-list, speedbar-mode-functions-list)
24076 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
24077 (speedbar-insert-button, dframe-select-attached-frame)
24078 (dframe-maybee-jump-to-attached-frame)
24079 (speedbar-change-initial-expansion-list)
24080 (speedbar-previously-used-expansion-list-name): Declare.
24081 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
24082 Use dframe-message, dframe-with-attached-buffer rather than
24084 (gud-sentinel): Silence compiler.
24085 * progmodes/vhdl-mode.el (speedbar-refresh)
24086 (speedbar-do-function-pointer, speedbar-add-supported-extension)
24087 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
24088 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
24089 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
24090 (speedbar-file-lists, speedbar-make-tag-line)
24091 (speedbar-line-directory, speedbar-goto-this-file)
24092 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
24093 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
24094 (speedbar-make-button, speedbar-reset-scanners)
24095 (speedbar-files-item-info, speedbar-line-text)
24096 (speedbar-find-file-in-frame, speedbar-set-timer)
24097 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
24098 (speedbar-with-writable): Do not (re)define it.
24099 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
24100 rather than speedbar- alias.
24102 2013-05-21 Leo Liu <sdl.web@gmail.com>
24104 * progmodes/octave.el (octave-mode-menu): Update and re-organize
24106 (octave-mode): Tweak fill-nobreak-predicate.
24107 (inferior-octave-startup): Check process to avoid infinite loop.
24108 (inferior-octave): Pop to buffer first to show abornmal process
24111 2013-05-21 Glenn Morris <rgm@gnu.org>
24113 * printing.el (pr-menu-bar): Define when compiling.
24115 2013-05-21 Leo Liu <sdl.web@gmail.com>
24117 * progmodes/octave.el (octave-auto-fill): Remove.
24118 (octave-indent-new-comment-line): Improve.
24119 (octave-mode): Use auto fill mode through
24120 comment-line-break-function and fill-nobreak-predicate.
24121 (octave-goto-function-definition): Support DEFUN_DLD.
24122 (octave-beginning-of-defun): Small tweak.
24123 (octave-help): Show parent directory.
24125 2013-05-21 Glenn Morris <rgm@gnu.org>
24127 * files.el (dired-unmark):
24128 * progmodes/gud.el (gdb-input): Update declarations.
24130 * calculator.el (electric, ehelp): No need to load when compiling.
24131 (Electric-command-loop, electric-describe-mode): Declare.
24133 * doc-view.el (doc-view-current-converter-processes): Move before use.
24135 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
24136 Move MODE-set-explicitly definition before use.
24138 * international/mule-diag.el (mule-diag):
24139 Don't use obsolete window-system-version.
24141 * mail/feedmail.el (smtpmail): No need to load when compiling.
24142 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
24144 * mail/mail-utils.el (rfc822): No need to load when compiling.
24145 (rfc822-addresses): Autoload it.
24146 (mail-strip-quoted-names): Trivial simplification.
24148 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
24149 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
24151 * net/snmp-mode.el (tempo): Don't duplicate requires.
24153 * progmodes/prolog.el (info): No need to load when compiling.
24154 (comint): Require before shell requires it.
24155 (Info-goto-node): Autoload it.
24156 (Info-follow-nearest-node): Declare.
24157 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
24159 * textmodes/artist.el (picture-mode-exit): Declare.
24161 * textmodes/reftex-parse.el (reftex-parse-from-file):
24162 Trivial rewrite so the compiler can parse it better.
24164 2013-05-20 Leo Liu <sdl.web@gmail.com>
24166 * progmodes/octave.el (octave-help-mode-map)
24167 (octave-help-mode-finish-hook): New variables.
24168 (octave-help-mode, octave-help-mode-finish): New functions.
24169 (octave-help): Use octave-help-mode.
24171 2013-05-20 Glenn Morris <rgm@gnu.org>
24173 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
24175 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
24177 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
24178 start at point, so that expansion starting right after opening
24179 slash in a regexp is recognized.
24180 (ruby-syntax-before-regexp-re): New defvar, extracted from
24181 ruby-syntax-propertize-function. Since the value of this regexp
24182 is looked up at runtime now, we should be able to turn
24183 `ruby-syntax-methods-before-regexp' into a defcustom later.
24184 (ruby-syntax-propertize-function): Split regexp matching into two
24185 parts, for opening and closing slashes. That allows us to skip
24186 over string interpolations and support multiline regexps.
24187 Don't call `ruby-syntax-propertize-expansions', instead use another rule
24188 for them, which calls `ruby-syntax-propertize-expansion'.
24189 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
24190 call to `ruby-syntax-propertize-function'.
24191 (ruby-syntax-propertize-expansion): Extracted from
24192 `ruby-syntax-propertize-expansions'. Handles one expansion.
24193 (ruby-syntax-propertize-percent-literal): Leave point right after
24194 the percent symbol, so that the expression expansion rule can
24195 propertize the contents.
24196 (ruby-syntax-propertize-heredoc): Leave point at bol following the
24198 (ruby-syntax-propertize-expansions): Remove.
24200 2013-05-18 Juri Linkov <juri@jurta.org>
24202 * man.el (Man-default-man-entry): Remove `-' from the end
24203 of the default value. (Bug#14400)
24205 2013-05-18 Glenn Morris <rgm@gnu.org>
24207 * comint.el (comint-password-prompt-regexp):
24208 Allow "password for XXX" where XXX contains colons (eg https://...).
24210 2013-05-18 Leo Liu <sdl.web@gmail.com>
24212 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
24213 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
24214 (octave-source-directories): Don't check process.
24215 (octave-source-directories, octave-find-definition): Doc fix.
24217 2013-05-18 Glenn Morris <rgm@gnu.org>
24219 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
24220 Remove backspace/delete bindings. (Bug#14392)
24222 * cus-dep.el (custom-make-dependencies): Sort the output.
24223 (custom-versions-load-alist): Convert comment to doc.
24225 2013-05-17 Leo Liu <sdl.web@gmail.com>
24227 * newcomment.el (comment-search-backward): Stricter in finding
24228 comment start. (Bug#14303)
24230 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
24231 (octave-comment-start-skip): Properly anchored.
24233 2013-05-17 Leo Liu <sdl.web@gmail.com>
24235 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
24236 Clean up when turned off. (Bug#14395)
24237 (smie--highlight-matching-block-overlay): No longer buffer-local.
24238 (smie-highlight-matching-block): Adjust.
24240 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
24242 Doc string fix for "nanoseconds" (Bug#14406).
24243 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
24244 Fix doc string typo that had "nanoseconds" instead of "microseconds".
24246 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
24248 * calc/calc-units.el (math-extract-units): Preserve powers
24251 2013-05-17 Leo Liu <sdl.web@gmail.com>
24253 * subr.el (delete-consecutive-dups): New function.
24254 * ido.el (ido-set-matches-1): Use it.
24255 * progmodes/octave.el (inferior-octave-completion-table): Use it.
24256 * ido.el (ido-remove-consecutive-dups): Remove.
24258 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24260 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
24261 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
24262 regexp-opt's `words'.
24264 2013-05-16 Leo Liu <sdl.web@gmail.com>
24266 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
24267 (smie--highlight-matching-block-overlay)
24268 (smie--highlight-matching-block-lastpos)
24269 (smie--highlight-matching-block-timer): New variables.
24270 (smie-highlight-matching-block): New function.
24271 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
24272 (smie-setup): Conditionally enable smie-blink-matching-open.
24274 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
24276 Sync with upstream verilog-mode r840.
24277 * progmodes/verilog-mode.el (verilog-mode-version)
24278 (verilog-mode-release-date): Update.
24279 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
24280 (verilog-sig-tieoff): Fix string error on
24281 AUTORESET with colon define, bug594. Reported by Andrew Hou.
24282 (verilog-read-decls): Fix parameters confusing
24283 AUTOINST interfaces, bug565. Reported by Leith Johnson.
24285 2013-05-16 Eli Zaretskii <eliz@gnu.org>
24287 * subr.el (reveal-filename): New function.
24289 * loadup.el: Compute Emacs executable versions on MS-Windows,
24290 where executables have the .exe extension. Add a hard link
24291 emacs-XX.YY.ZZ.exe on MS-Windows.
24293 * Makefile.in (XARGS_LIMIT): New variable.
24294 (custom-deps, finder-data, autoloads)
24295 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
24296 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
24297 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
24298 (compile-main): Limit xargs according to $(XARGS_LIMIT).
24300 2013-05-16 Leo Liu <sdl.web@gmail.com>
24302 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
24303 (octave-mode-menu, octave-mode-map): Remove its uses.
24305 2013-05-16 Reto Zimmermann <reto@gnu.org>
24307 Sync with upstream vhdl mode v3.34.2.
24308 * progmodes/vhdl-mode.el: Use `push' throughout.
24309 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
24310 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
24311 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
24312 (vhdl-actual-generic-name): New option to derive actual generic name.
24313 (vhdl-port-paste-signals): Replace formal by actual generics.
24314 (vhdl-beautify): New name for old group vhdl-align. Update users.
24315 (vhdl-beautify-options): New option.
24316 (vhdl-last-input-event): New compat alias. Use throughout.
24317 (vhdl-goto-line): Replace user level function `goto-line'.
24318 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
24319 vhdl-fix-statement-buffer.
24320 (vhdl-create-mode-menu): Add some entries.
24321 (vhdl-align-region-groups): Respect vhdl-beautify-options.
24322 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
24323 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
24324 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
24325 to force statements on one line.
24326 (vhdl-remove-trailing-spaces-region):
24327 New, split from vhdl-remove-trailing-spaces.
24328 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
24329 Respect vhdl-beautify-options.
24330 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
24331 (vhdl-update-sensitivity-list): Not add with index if exists without.
24332 Not include array index with signal. Ignore keywords in comments.
24333 (vhdl-get-visible-signals): Regexp tweaks.
24334 (vhdl-template-component-inst): Handle empty library.
24335 (vhdl-template-type): Add template for 'enum' type.
24336 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
24337 Use vhdl-replace-string.
24338 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
24339 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
24340 (vhdl-speedbar-initialize): Update for above name change.
24341 (vhdl-compose-wire-components): Fix in handling of constants.
24342 (vhdl-error-regexp-emacs-alist): New variable.
24343 (vhdl-error-regexp-add-emacs): New function;
24344 adds support for new compile.el (Emacs 22+)
24345 (vhdl-generate-makefile-1): Change target order for single lib. units.
24346 Allow use of absolute file names.
24348 2013-05-16 Leo Liu <sdl.web@gmail.com>
24350 * simple.el (prog-indent-sexp): Indent enclosing defun.
24352 2013-05-15 Glenn Morris <rgm@gnu.org>
24354 * cus-start.el (show-trailing-whitespace): Move to editing basics.
24355 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
24356 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
24357 (whitespace-highlight): Move to whitespace group.
24359 * comint.el (comint-source):
24360 * pcmpl-linux.el (pcmpl-linux):
24361 * shell.el (shell-faces):
24362 * eshell/esh-opt.el (eshell-opt):
24363 * international/ccl.el (ccl): Remove empty custom groups.
24365 * completion.el (dynamic-completion-mode):
24366 * jit-lock.el (jit-lock-debug-mode):
24367 * minibuffer.el (completion-in-region-mode):
24368 * type-break.el (type-break-mode-line-message-mode)
24369 (type-break-query-mode):
24370 * emulation/tpu-edt.el (tpu-edt-mode):
24371 * progmodes/subword.el (global-subword-mode, global-superword-mode):
24372 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
24373 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
24375 * term/xterm.el (xterm): Change parent group to terminals.
24377 * master.el (master): Remove empty custom group.
24378 (master-mode): Remove unused :group argument.
24379 * textmodes/refill.el (refill): Remove empty custom group.
24380 (refill-mode): Remove unused :group argument.
24382 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
24384 * cus-dep.el: Provide a feature.
24385 (custom-make-dependencies): Ignore dotfiles (dir-locals).
24386 Don't mistakenly ignore files whose basenames match a basename
24387 from preloaded-file-list (eg cedet/ede/simple.el).
24388 Add a fallback method for getting :group.
24390 2013-05-15 Juri Linkov <juri@jurta.org>
24392 * isearch.el (isearch-char-by-name): Rename from
24393 `isearch-insert-char-by-name'. Doc fix.
24394 (isearch-forward): Mention `isearch-char-by-name' in
24395 the docstring. (Bug#13348)
24397 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
24398 `exit-minibuffer' instead of
24399 `isearch-nonincremental-exit-minibuffer'.
24400 (isearch-edit-string): Remove mention of
24401 `isearch-nonincremental-exit-minibuffer' from docstring.
24402 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
24403 (isearch-forward-exit-minibuffer)
24404 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
24406 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
24408 * loadup.el: Just use unversioned DOC.
24410 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
24411 literals as extending to EOB.
24412 (nxml-last-fontify-end): Remove unused variable.
24413 (nxml-after-change1): Use with-silent-modifications.
24414 (nxml-extend-after-change-region): Simplify.
24415 (nxml-extend-after-change-region1): Remove function.
24416 (nxml-after-change1): Don't adjust for dependent regions.
24417 (nxml-fontify-matcher): Simplify.
24418 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
24419 (xmltok-add-dependent): Remove function.
24420 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
24421 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
24422 (xmltok-scan-prolog-after-processing-instruction-open): Treat
24423 unclosed <[[, <?, comment, and other literals as extending to EOB.
24424 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
24425 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
24427 (rng-do-some-validation-1): Don't mark dependent regions.
24428 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
24429 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
24430 (nxml-clear-dependent-regions): Remove functions.
24431 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
24432 (nxml-ensure-scan-up-to-date):
24433 Don't clear&mark dependent regions.
24435 2013-05-15 Leo Liu <sdl.web@gmail.com>
24437 * progmodes/octave.el (octave-goto-function-definition):
24438 Improve and fix callers.
24440 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
24442 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
24443 the setter (bug#14387).
24445 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
24446 surrounding group (bug#14402).
24448 2013-05-14 Juri Linkov <juri@jurta.org>
24450 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
24453 2013-05-14 Glenn Morris <rgm@gnu.org>
24455 * progmodes/f90.el (f90-imenu-generic-expression):
24456 Fix typo in 2013-05-08 change. (Bug#14402)
24458 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24460 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
24461 Remove signals for which replies are never received.
24463 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24465 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
24466 (gdb-handler-alist, gdb-handler-number): Remove variables.
24467 (gdb-handler-list): New variable.
24468 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
24469 (gdb-pending-handler-p, gdb-handle-reply)
24470 (gdb-remove-all-pending-triggers): New functions.
24471 (gdb-discard-unordered-replies): New defcustom.
24472 (gdb-handler): New defstruct.
24473 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
24474 instead of gdb-pending-triggers. Update docstring.
24475 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
24476 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
24477 (gdb-var-update-handler, def-gdb-auto-update-trigger)
24478 (def-gdb-auto-update-handler, gdb-get-changed-registers)
24479 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
24480 (gdb-frame-handler): Pending triggers are now automatically managed.
24481 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
24483 (gdb-input): Automatically handles pending triggers. Update docstring.
24484 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
24485 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
24487 (gdb-done-or-error): Now use gdb-handle-reply.
24489 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
24491 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
24494 2013-05-14 Glenn Morris <rgm@gnu.org>
24496 * subr.el (user-emacs-directory-warning): New option.
24497 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
24499 2013-05-14 Leo Liu <sdl.web@gmail.com>
24501 * progmodes/octave.el (octave-font-lock-keywords): Fix error
24503 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
24504 (octave-font-lock-texinfo-comment): Fix invalid search bound
24505 error: wrong side of point.
24507 2013-05-14 Glenn Morris <rgm@gnu.org>
24509 * progmodes/flymake.el (flymake-xml-program): New option.
24510 (flymake-xml-init): Use it.
24512 * term/xterm.el: Provide a feature.
24514 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
24516 2013-05-13 Glenn Morris <rgm@gnu.org>
24518 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
24519 Add compat aliases as a hack workaround. (Bug#14384)
24521 2013-05-13 Leo Liu <sdl.web@gmail.com>
24523 * progmodes/octave.el (octave-indent-comment): Fix indentation for
24525 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
24527 (octave-comment-start-skip): Include %!.
24528 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
24530 2013-05-12 Leo Liu <sdl.web@gmail.com>
24532 * progmodes/octave.el (inferior-octave-startup): Store the value
24533 of __octave_srcdir__ for octave-source-directories.
24534 (inferior-octave-check-process): New function refactored out of
24535 inferior-octave-send-list-and-digest.
24536 (octave-source-directories)
24537 (octave-find-definition-filename-function): New variables.
24538 (octave-source-directories)
24539 (octave-find-definition-default-filename): New functions.
24540 (octave-find-definition): Improve to find functions implemented in C++.
24542 2013-05-12 Glenn Morris <rgm@gnu.org>
24544 * calendar/diary-lib.el (diary-outlook-format-1):
24545 Don't include dayname in the output. (Bug#14349)
24547 2013-05-11 Glenn Morris <rgm@gnu.org>
24549 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
24551 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
24552 Treat cc-provide like provide.
24554 2013-05-11 Kevin Ryde <user42@zip.com.au>
24556 * cus-dep.el (custom-make-dependencies):
24557 Use generated-autoload-load-name for the sake of files such
24558 such cedet/semantic/bovine/c.el, where the base file name
24559 is not in load-path. (Bug#5277)
24561 2013-05-11 Glenn Morris <rgm@gnu.org>
24563 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
24566 2013-05-11 Leo Liu <sdl.web@gmail.com>
24568 * progmodes/octave.el (octave-indent-comment): Improve.
24569 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
24570 (octave-eldoc-function-signatures, octave-eldoc-function):
24572 (octave-mode, inferior-octave-mode): Add eldoc support.
24574 2013-05-11 Richard Stallman <rms@gnu.org>
24576 * epa.el (epa-decrypt-file): Take output file name as argument
24577 and read it using `interactive'.
24579 2013-05-11 Leo Liu <sdl.web@gmail.com>
24581 * progmodes/octave.el (octave-beginning-of-line)
24582 (octave-end-of-line): Check before using up-list because it jumps
24583 out of more syntactic contructs since moving to smie.
24584 (octave-indent-comment): New function.
24585 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
24586 (octave-begin-keywords, octave-end-keywords)
24587 (octave-reserved-words, octave-smie-bnf-table)
24588 (octave-smie-rules): Add new keywords from Octave 3.6.4.
24590 2013-05-11 Glenn Morris <rgm@gnu.org>
24592 * faces.el (internal-face-x-get-resource):
24593 * frame.el (ns-display-monitor-attributes-list):
24594 * calc/calc-aent.el (math-to-radians-2):
24595 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
24598 * calc/calc-menu.el: Make it loadable in isolation.
24600 * net/eudcb-bbdb.el: Make it loadable without bbdb.
24601 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
24602 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
24603 (eudc-bbdb-query-internal): Require 'bbdb.
24605 * lpr.el (lpr-headers-switches):
24606 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
24608 * progmodes/sql.el (sql-login-params): Fix and improve :type.
24610 * emulation/edt-mapper.el: In batch mode, error rather than hang.
24612 * term.el (term-set-escape-char): Make it idempotent.
24614 2013-05-10 Leo Liu <sdl.web@gmail.com>
24616 * progmodes/octave.el (inferior-octave-completion-table):
24617 No longer a function and all uses changed. Use cache to speed up
24618 completion due to bug#11906.
24619 (octave-beginning-of-defun): Re-write to be more general.
24621 2013-05-10 Glenn Morris <rgm@gnu.org>
24623 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
24625 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
24627 * comint.el (comint-redirect-send-command-to-process): Use :around
24628 rather than :override for comint-redirect-filter.
24629 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
24630 Call it instead of comint-redirect-original-filter-function (which
24631 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
24633 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
24635 * frame.el (display-monitor-attributes-list): Add NS case.
24636 (ns-display-monitor-attributes-list): Declare.
24638 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
24640 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
24642 2013-05-09 Glenn Morris <rgm@gnu.org>
24644 * international/fontset.el (vertical-centering-font-regexp):
24645 Set standard-value.
24647 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
24649 * bookmark.el (bookmark-search-delay):
24650 * cus-start.el (vertical-centering-font-regexp):
24651 * ps-mule.el (ps-mule-font-info-database-default):
24652 * ps-print.el (ps-default-fg, ps-default-bg):
24653 * type-break.el (type-break-good-break-interval):
24654 * whitespace.el (whitespace-indentation-regexp)
24655 (whitespace-space-after-tab-regexp):
24656 * emacs-lisp/testcover.el (testcover-1value-functions)
24657 (testcover-noreturn-functions, testcover-progn-functions)
24658 (testcover-prog1-functions):
24659 * emulation/viper-init.el (viper-emacs-state-cursor-color):
24660 * eshell/em-glob.el (eshell-glob-translate-alist):
24661 * play/tetris.el (tetris-tty-colors):
24662 * progmodes/cpp.el (cpp-face-default-list):
24663 * progmodes/flymake.el (flymake-allowed-file-name-masks):
24664 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
24665 (idlwave-help-browser-generic-args):
24666 * progmodes/make-mode.el (makefile-special-targets-list):
24667 * progmodes/python.el (python-shell-virtualenv-path):
24668 * progmodes/verilog-mode.el (verilog-active-low-regexp)
24669 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
24670 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
24671 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
24672 * textmodes/reftex-vars.el (reftex-format-label-function):
24673 * textmodes/remember.el (remember-diary-file): Fix custom types.
24675 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
24678 2013-05-09 Leo Liu <sdl.web@gmail.com>
24680 * progmodes/octave.el (inferior-octave-completion-at-point):
24681 Restore file completion. (Bug#14300)
24682 (inferior-octave-startup): Fix incorrect highlighting for the
24685 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24687 * progmodes/ruby-mode.el: First cut at SMIE support.
24688 (ruby-use-smie): New var.
24689 (ruby-smie-grammar): New constant.
24690 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
24691 (ruby-smie--forward-token, ruby-smie--backward-token)
24692 (ruby-smie-rules): New functions.
24693 (ruby-mode-variables): Setup SMIE if applicable.
24695 2013-05-08 Eli Zaretskii <eliz@gnu.org>
24697 * simple.el (line-move-visual): Signal beginning/end of buffer
24698 only if vertical-motion moved less than it was requested. Avoids
24699 silly incorrect error messages when there are display strings with
24700 multiple newlines at EOL.
24702 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24704 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
24705 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
24706 (prolog-char-quote-workaround):
24707 * progmodes/cperl-mode.el (cperl-under-as-char):
24708 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
24710 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
24712 (vhdl-mode-syntax-table-init): Remove.
24714 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
24717 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
24719 (ld-script-font-lock-keywords):
24720 Change regexps to use things like \_< and \_>.
24722 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
24723 Change all regexps to use things like \_< and \_>.
24725 * progmodes/autoconf.el (autoconf-definition-regexp)
24726 (autoconf-font-lock-keywords, autoconf-current-defun-function):
24727 Handle a _ with symbol syntax.
24728 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
24730 * progmodes/ada-mode.el (ada-mode-abbrev-table):
24731 Consolidate declaration.
24732 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
24734 (ada-create-syntax-table): Remove.
24735 (ada-capitalize-word): Don't mess with the syntax of "_" since it
24736 already has the right syntax nowadays.
24737 (ada-goto-next-word): Don't change the syntax of "_".
24739 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
24742 2013-05-08 Sam Steingold <sds@gnu.org>
24744 * thingatpt.el (thing-at-point): Accept optional second argument
24745 NO-PROPERTIES to strip the text properties from the return value.
24746 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
24747 to `thing-at-point' instead of stripping the properties ourselves.
24748 Also, when `thing-at-point' fails to find a url, prepend "http://"
24749 to the filename at point on the assumption that the user is
24750 pointing at something like gnu.org/gnu.
24752 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
24754 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
24755 * faces.el (crm-separator):
24756 Silence byte-compiler.
24758 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
24759 (tool-bar-map): Remove unneeded defvars.
24761 2013-05-08 Leo Liu <sdl.web@gmail.com>
24763 Re-work a fix for bug#10994 based on Le Wang's patch.
24764 * ido.el (ido-remove-consecutive-dups): New helper.
24765 (ido-completing-read): Use it.
24766 (ido-chop): Revert fix for bug#10994.
24768 2013-05-08 Adam Spiers <emacs@adamspiers.org>
24770 * cus-edit.el (custom-save-variables):
24771 Pretty-print long values. (Bug#14187)
24773 2013-05-08 Glenn Morris <rgm@gnu.org>
24775 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
24776 (m4-mode-syntax-table): Init in the defvar.
24777 (m4-mode-abbrev-table): Let define-derived-mode define it.
24779 2013-05-08 Tom Tromey <tromey@redhat.com>
24781 * progmodes/m4-mode.el (m4-mode-syntax-table):
24782 Do not treat "_" as word constituent. (Bug#14167)
24784 2013-05-07 Glenn Morris <rgm@gnu.org>
24786 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
24787 Remove explicit eshell-isearch-cancel-map.
24789 * progmodes/f90.el (f90-smart-end-names): New option.
24790 (f90-smart-end): Doc fix.
24791 (f90-end-block-optional-name): New constant.
24792 (f90-block-match): Respect f90-smart-end-names.
24794 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24796 * progmodes/octave.el (octave-smie-forward-token): Be more careful
24797 about implicit semi-colons (bug#14218).
24799 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
24801 * frame.el (display-monitor-attributes-list)
24802 (frame-monitor-attributes): New functions.
24804 2013-05-06 Leo Liu <sdl.web@gmail.com>
24806 * progmodes/octave.el (octave-syntax-propertize-function): Change
24807 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
24808 (octave-font-lock-keywords): Use octave-operator-regexp.
24809 (octave-completion-at-point): Rename from
24810 octave-completion-at-point-function.
24811 (inferior-octave-directory-tracker): Robustify.
24812 (octave-text-functions): Remove and fix its uses. No such things
24815 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24817 * emacs-lisp/trace.el (trace--display-buffer): New function.
24818 (trace-make-advice): Use it.
24820 2013-05-06 Juri Linkov <juri@jurta.org>
24822 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
24823 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
24825 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
24826 in the help string. (Bug#12985)
24828 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
24830 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
24832 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24834 * progmodes/perl-mode.el: Add support for here documents.
24835 (perl-syntax-propertize-function): Match here-doc markers.
24836 (perl-syntax-propertize-special-constructs): Find their end.
24837 (perl-imenu-generic-expression): Use [:alnum:].
24839 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
24840 (advice--add-function): Refresh the advice if already present
24843 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
24845 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
24847 2013-05-06 Glenn Morris <rgm@gnu.org>
24849 * w32-fns.el (w32-charset-info-alist): Declare.
24851 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
24852 of its defcustom properties.
24853 (eshell-cmpl-initialize): No need to load pcomplete.
24855 * generic-x.el: No need to require comint when compiling.
24857 * net/eudc-export.el: Make it loadable without bbdb.
24858 (top-level): Use require rather than load-library.
24859 (eudc-create-bbdb-record, eudc-bbdbify-phone)
24860 (eudc-batch-export-records-to-bbdb)
24861 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
24864 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24866 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
24867 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
24868 some tweaks, instead.
24870 2013-05-05 Leo Liu <sdl.web@gmail.com>
24872 * progmodes/octave.el (octave-font-lock-keywords)
24873 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
24874 (inferior-octave-send-list-and-digest): Improve error message.
24875 (octave-mode, inferior-octave-mode): Use setq-local.
24876 (octave-help): Set info-lookup-mode.
24878 2013-05-05 Richard Stallman <rms@gnu.org>
24880 * vc/compare-w.el (compare-windows-whitespace):
24881 Treat no-break space as whitespace.
24883 * mail/rmailsum.el (rmail-summary-rmail-update):
24884 Detect empty summary and don't change selected message.
24885 (rmail-summary-goto-msg): Likewise.
24887 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
24888 Doc fixes, rename args.
24890 2013-05-05 Alan Mackenzie <acm@muc.de>
24892 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
24894 2013-05-05 Juri Linkov <juri@jurta.org>
24896 * info.el (Info-read-subfile): Use (point-min) instead of (point)
24897 to not add the length of the summary segment to the return value.
24900 2013-05-05 Leo Liu <sdl.web@gmail.com>
24902 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
24903 (inferior-octave-output-filter): Remove.
24904 (octave-send-region, inferior-octave-startup): Fix callers.
24905 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
24906 (octave-binary-file-extensions): New user variable.
24907 (octave-find-definition): Confirm if opening binary files.
24908 (octave-help-file): Use octave-find-definition to get the binary
24910 (octave-help): Adjust for octave-help-file change.
24912 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24914 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
24915 Merge the two entries that handle function definitions.
24916 (pascal--syntax-propertize): New const.
24917 (pascal-mode): Use it. Use setq-local.
24919 2013-05-04 Glenn Morris <rgm@gnu.org>
24921 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
24922 (diary-from-outlook): Respect diary-from-outlook-function.
24924 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24926 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
24927 Move the declaration from C.
24928 (read-minibuffer, eval-minibuffer): Move from C.
24929 (completion-setup-function): Avoid minibuffer-completion-contents.
24931 2013-05-03 Leo Liu <sdl.web@gmail.com>
24933 * progmodes/octave.el (octave-font-lock-keywords): Do not
24934 dehighlight 'end' in comments or strings.
24935 (octave-completing-read, octave-goto-function-definition):
24937 (octave-help-buffer): New user variable.
24938 (octave-help-file, octave-help-function): New button types.
24939 (octave-help): New command and bind it to C-h ;.
24940 (octave-find-definition): New command and bind it to M-.
24941 (user-error): Alias to error if not defined.
24943 2013-05-02 Leo Liu <sdl.web@gmail.com>
24945 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
24947 (octave-font-lock-keywords): Include [ and {.
24949 2013-05-02 Leo Liu <sdl.web@gmail.com>
24951 * progmodes/octave.el (inferior-octave-startup-file): Change default.
24952 (inferior-octave): Remove calling comint-mode and return the buffer.
24953 (inferior-octave-startup): Cosmetic changes.
24955 2013-05-02 Leo Liu <sdl.web@gmail.com>
24957 * progmodes/octave.el (octave-syntax-propertize-function):
24958 Include the case when ' is at line beginning. (Bug#14336)
24960 2013-05-02 Glenn Morris <rgm@gnu.org>
24962 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
24963 * desktop.el (vc-dir-mode): Just autoload it here.
24965 2013-05-02 Alan Mackenzie <acm@muc.de>
24967 Eliminate variable c-standard-font-lock-fontify-region-function.
24968 * progmodes/cc-mode.el
24969 (c-standard-font-lock-fontify-region-function): Remove.
24970 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
24972 2013-05-01 Leo Liu <sdl.web@gmail.com>
24974 * progmodes/octave.el: Compatible with older emacs-24 releases.
24975 (inferior-octave-has-built-in-variables): Remove. Built-in
24976 variables were removed from Octave in 2007.
24977 (inferior-octave-startup): Fix uses.
24978 (comint-line-beginning-position): Remove compatibility code for
24981 2013-05-01 Juri Linkov <juri@jurta.org>
24983 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
24985 2013-05-01 Juri Linkov <juri@jurta.org>
24987 * comint.el (comint-previous-matching-input): Don't print message
24988 "History item: %d" when `isearch-mode' is active.
24989 (comint-history-isearch-message): Print message "History item: %d"
24990 when `comint-input-ring-index' is not empty and this function is
24991 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
24993 2013-05-01 Leo Liu <sdl.web@gmail.com>
24995 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
24996 definitions. Use completion-at-point to insert keywords.
24997 (octave-abbrev-start): Remove.
24998 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
25000 2013-04-30 Leo Liu <sdl.web@gmail.com>
25002 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
25005 2013-04-30 Alan Mackenzie <acm@muc.de>
25007 Handle arbitrarily long C++ member initialization lists.
25008 * progmodes/cc-engine.el (c-back-over-member-initializers):
25010 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
25011 (most) member init lists.
25013 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
25015 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
25018 2013-04-30 Leo Liu <sdl.web@gmail.com>
25020 * progmodes/octave.el (octave-variables): Remove. No builtin
25021 variables any more. All converted to functions.
25022 (octave-font-lock-keywords, octave-completion-at-point-function):
25024 (octave-font-lock-texinfo-comment): New user variable.
25025 (octave-texinfo-font-lock-keywords): New variable for texinfo
25027 (octave-function-comment-block): New face.
25028 (octave-font-lock-texinfo-comment): New function.
25029 (octave-mode): Font lock texinfo comment block.
25031 2013-04-29 Leo Liu <sdl.web@gmail.com>
25033 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
25034 indexing expression.
25035 (octave-continuation-string): Do not use \.
25036 (inferior-octave-complete-impossible): Remove.
25037 (inferior-octave-completion-table)
25038 (inferior-octave-completion-at-point): Remove its uses.
25039 (inferior-octave-startup): completion_matches was introduced to
25040 Octave in 1996 so safe to assume it.
25041 (octave-function-file-comment): Improve to follow how Octave does it.
25042 (octave-update-function-file-comment): Tweak.
25044 2013-04-29 Leo Liu <sdl.web@gmail.com>
25046 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
25047 (inferior-octave-startup): Remove inferior-octave-startup-hook.
25048 (octave-function-file-comment): Fix typo.
25049 (octave-sync-function-file-names): Use read-char-choice.
25051 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
25053 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
25054 to t for the less important warnings.
25056 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
25058 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
25060 2013-04-27 Glenn Morris <rgm@gnu.org>
25062 * vc/log-view.el (log-view-current-entry):
25063 Treat "---" separator lines as part of the following rev. (Bug#14169)
25065 2013-04-27 Juri Linkov <juri@jurta.org>
25067 * subr.el (read-number): Doc fix about using it by interactive
25068 code letter `n'. (Bug#14254)
25070 2013-04-27 Juri Linkov <juri@jurta.org>
25072 * desktop.el (desktop-auto-save-timeout): New option.
25073 (desktop-file-checksum): New variable.
25074 (desktop-save): Add optional arg `auto-save' and don't auto-save
25075 if nothing changed.
25076 (desktop-auto-save-timer): New variable.
25077 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
25078 (after-init-hook): Call `desktop-auto-save-set-timer'.
25079 Suggested by Reuben Thomas <rrt@sc3d.org> in
25080 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
25082 2013-04-27 Leo Liu <sdl.web@gmail.com>
25084 * progmodes/octave.el (octave-function-file-p)
25085 (octave-skip-comment-forward, octave-function-file-comment)
25086 (octave-update-function-file-comment): New functions.
25087 (octave-mode-map): Bind C-c ; to
25088 octave-update-function-file-comment.
25089 (octave-mode-menu): Add octave-update-function-file-comment.
25090 (octave-mode, inferior-octave-mode): Fix doc-string.
25091 (octave-insert-defun): Conform to Octave's coding convention.
25094 * files.el (basic-save-buffer): Don't let errors in
25095 before-save-hook prevent saving buffer.
25097 2013-04-20 Roland Winkler <winkler@gnu.org>
25099 * faces.el (read-face-name): Use completing-read if arg multiple
25102 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
25104 * ls-lisp.el (ls-lisp-insert-directory): If no files are
25105 displayed, move point to after the totals line.
25106 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
25109 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
25111 * emacs-lisp/package.el (package-autoload-ensure-default-file):
25112 Add current dir to the load-path.
25113 (package-generate-autoloads): Don't rely on
25114 autoload-ensure-default-file.
25116 2013-04-26 Reuben Thomas <rrt@sc3d.org>
25118 * textmodes/remember.el (remember-store-in-files): Document that
25119 the file name format is passed to `format-time-string'.
25121 2013-04-26 Leo Liu <sdl.web@gmail.com>
25123 * progmodes/octave.el (octave-sync-function-file-names): New function.
25124 (octave-mode): Use it in before-save-hook.
25126 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
25128 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
25131 * progmodes/octave.el (octave-smie-forward-token): Properly skip
25132 \n and comment, even if it's not an implicit ; (bug#14218).
25134 2013-04-26 Glenn Morris <rgm@gnu.org>
25136 * subr.el (read-number): Once more use `read' rather than
25137 `string-to-number', to trap non-numeric input. (Bug#14254)
25139 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
25141 * emacs-lisp/syntax.el (syntax-propertize-multiline):
25142 Use `syntax-multiline' text property consistently instead of
25143 `font-lock-multiline'. (Bug#14237)
25145 2013-04-26 Glenn Morris <rgm@gnu.org>
25147 * emacs-lisp/shadow.el (list-load-path-shadows):
25148 No longer necessary to check for duplicate simple.el, since
25149 2012-07-07 change to init_lread to not include installation lisp
25150 directories in load-path when running uninstalled. (Bug#14270)
25152 2013-04-26 Leo Liu <sdl.web@gmail.com>
25154 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
25155 (octave-mode, inferior-octave-mode): Use setq-local.
25156 (octave-not-in-string-or-comment-p): Rename to
25157 octave-in-string-or-comment-p.
25158 (octave-in-comment-p, octave-in-string-p)
25159 (octave-in-string-or-comment-p): Replace defsubst with defun.
25161 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
25163 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
25165 2013-04-25 Bastien Guerry <bzg@gnu.org>
25167 * textmodes/remember.el (remember-data-directory)
25168 (remember-directory-file-name-format): Fix custom types.
25170 2013-04-25 Leo Liu <sdl.web@gmail.com>
25172 * progmodes/octave.el (octave-completion-at-point-function):
25173 Make use of inferior octave process.
25174 (octave-initialize-completions): Remove.
25175 (inferior-octave-completion-table): New function.
25176 (inferior-octave-completion-at-point): Use it.
25177 (octave-completion-alist): Remove.
25179 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25181 * progmodes/opascal.el: Use font-lock and syntax-propertize.
25182 (opascal-mode-syntax-table): New var.
25183 (opascal-literal-kind, opascal-is-literal-end)
25184 (opascal-literal-token-at): Rewrite.
25185 (opascal--literal-start-re, opascal-font-lock-keywords)
25186 (opascal--syntax-propertize): New constants.
25187 (opascal-font-lock-defaults): Adjust.
25188 (opascal-mode): Use them. Set comment-<foo> variables as well.
25189 (delphi-comment-face, opascal-comment-face, delphi-string-face)
25190 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
25191 (delphi-other-face, opascal-other-face): Remove face variables.
25192 (opascal-save-state): Remove macro.
25193 (opascal-fontifying-progress-step): Remove constant.
25194 (opascal--ignore-changes): Remove var.
25195 (opascal-set-token-property, opascal-parse-next-literal)
25196 (opascal-is-stable-literal, opascal-complete-literal)
25197 (opascal-is-literal-start, opascal-face-of)
25198 (opascal-parse-region, opascal-parse-region-until-stable)
25199 (opascal-fontify-region, opascal-after-change)
25200 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
25201 (opascal-debug-parse-region, opascal-debug-parse-window)
25202 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
25203 (opascal-debug-fontify-buffer): Remove.
25204 (opascal-debug-mode-map): Adjust accordingly.
25206 2013-04-25 Leo Liu <sdl.web@gmail.com>
25208 Merge octave-mod.el and octave-inf.el into octave.el with some
25210 * progmodes/octave.el: New file renamed from octave-mod.el.
25211 * progmodes/octave-inf.el: Merged into octave.el.
25212 * progmodes/octave-mod.el: Renamed to octave.el.
25214 2013-04-25 Tassilo Horn <tsdh@gnu.org>
25216 * textmodes/reftex-vars.el
25217 (reftex-label-ignored-macros-and-environments): New defcustom.
25219 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
25221 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25223 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
25224 (smie-indent-keyword): Improve the check to ensure that the next
25225 comment is really on the same line.
25226 (smie-indent-comment): Don't align with a subsequent closer (or eob).
25228 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
25229 semi-colons if the line is not otherwise empty (bug#14218).
25231 2013-04-25 Glenn Morris <rgm@gnu.org>
25233 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
25235 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
25237 * progmodes/opascal.el (opascal-set-token-property): Rename from
25238 opascal-set-text-properties and only set `token' (bug#14134).
25239 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
25240 (opascal-literal-text-properties): Remove.
25241 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
25244 2013-04-24 Reuben Thomas <rrt@sc3d.org>
25246 * textmodes/remember.el (remember-handler-functions): Add an
25247 option for a new handler `remember-store-in-files'.
25248 (remember-data-directory, remember-directory-file-name-format):
25250 (remember-store-in-files): New function to store remember notes
25251 as separate files within a directory.
25253 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
25255 * progmodes/compile.el (compilation-next-error-function):
25256 Pass "formats" to compilation-find-file (bug#11777).
25258 2013-04-24 Glenn Morris <rgm@gnu.org>
25260 * vc/vc-bzr.el (vc-bzr-print-log):
25261 * vc/vc-hg.el (vc-hg-print-log):
25262 * vc/vc-svn.el (vc-svn-print-log):
25263 Fix START-REVISION with LIMIT != 1. (Bug#14168)
25265 * vc/vc-bzr.el (vc-bzr-print-log):
25266 * vc/vc-cvs.el (vc-cvs-print-log):
25267 * vc/vc-git.el (vc-git-print-log):
25268 * vc/vc-hg.el (vc-hg-print-log):
25269 * vc/vc-mtn.el (vc-mtn-print-log):
25270 * vc/vc-rcs.el (vc-rcs-print-log):
25271 * vc/vc-sccs.el (vc-sccs-print-log):
25272 * vc/vc-svn.el (vc-svn-print-log):
25273 * vc/vc.el (vc-print-log-internal): Doc fixes.
25275 2013-04-23 Glenn Morris <rgm@gnu.org>
25277 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
25278 Remove venerable code attempting to avoid substitute-command-keys.
25280 2013-04-23 Tassilo Horn <tsdh@gnu.org>
25282 * textmodes/reftex-vars.el (reftex-label-regexps):
25283 Call `reftex-compile-variables' after changes to this variable.
25285 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
25287 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
25288 Use lexical-binding.
25289 (jit-lock-force-redisplay): Use markers, check buffer's continued
25290 existence and beware narrowed buffers.
25291 (jit-lock-fontify-now): Adjust call accordingly.
25293 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
25295 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
25296 to avoid misleading the user.
25298 2013-04-22 Leo Liu <sdl.web@gmail.com>
25300 * info-look.el: Prefer latex2e.info. (Bug#14240)
25302 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
25304 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
25306 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
25307 * net/tramp.el (tramp-call-process): ... here.
25308 (tramp-set-completion-function, tramp-parse-putty):
25309 * net/tramp-adb.el (tramp-adb-execute-adb-command):
25310 * net/tramp-gvfs.el (tramp-gvfs-send-command):
25311 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
25312 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
25313 (tramp-call-local-coding-command): Use `tramp-call-process'
25314 instead of `tramp-compat-call-process'.
25316 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
25317 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
25318 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
25319 (tramp-find-inline-compress): Improve traces.
25320 (tramp-maybe-send-script): Check for Perl binary.
25321 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
25323 2013-04-22 Daiki Ueno <ueno@gnu.org>
25325 * epg.el (epg-context-pinentry-mode): New function.
25326 (epg-context-set-pinentry-mode): New function.
25327 (epg--start): Pass --pinentry-mode option to gpg command.
25329 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
25331 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
25332 `comint-dynamic-complete' is obsolete since 24.1, replaced by
25333 `completion-at-point'. (Bug#13774)
25335 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
25336 default key binding for `describe-distribution' has been moved to
25337 `C-h C-o'. (Bug#13970)
25339 2013-04-21 Glenn Morris <rgm@gnu.org>
25341 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
25343 (vc-print-log): Clarify interactive prompt.
25345 2013-04-20 Glenn Morris <rgm@gnu.org>
25347 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
25348 No longer include timestamp etc information.
25350 2013-04-20 Roland Winkler <winkler@gnu.org>
25352 * faces.el (read-face-name): Bug fix, return just one face if arg
25353 multiple is nil. (Bug#14209)
25355 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25357 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
25358 (remove-function): Autoload.
25360 * comint.el (comint-redirect-original-filter-function): Remove.
25361 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
25362 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
25363 (vc-cvs-annotate-command):
25364 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
25365 * progmodes/prolog.el (prolog-consult-compile):
25366 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
25367 Use add/remove-function instead.
25368 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
25369 (gud-tooltip-process-output, gud-tooltip-tips):
25370 Use add/remove-function instead.
25371 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
25372 (scheme-interaction-mode, exit-scheme-interaction-mode):
25373 Use add/remove-function instead.
25375 * vc/vc-dispatcher.el: Use lexical-binding.
25376 (vc--process-sentinel): Rename from vc-process-sentinel.
25377 Change last arg to be the code to run. Don't use vc-previous-sentinel
25378 and vc-sentinel-commands any more.
25379 (vc-exec-after): Allow code to be a function. Use add/remove-function.
25380 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
25382 2013-04-19 Masatake YAMATO <yamato@redhat.com>
25384 * progmodes/sh-script.el (sh-imenu-generic-expression):
25385 Handle function names with a single character. (Bug#14111)
25387 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
25389 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
25390 for subroutines defined in an eval (bug#14182).
25392 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
25394 * bookmark.el (bookmark-completing-read): Improve handling of empty
25395 string (bug#14176).
25397 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25399 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
25401 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
25403 New faster Imenu implementation (bug#14058).
25404 * progmodes/python.el (python-imenu-prev-index-position)
25405 (python-imenu-format-item-label-function)
25406 (python-imenu-format-parent-item-label-function)
25407 (python-imenu-format-parent-item-jump-label-function):
25409 (python-imenu-format-item-label)
25410 (python-imenu-format-parent-item-label)
25411 (python-imenu-format-parent-item-jump-label)
25412 (python-imenu--put-parent, python-imenu--build-tree)
25413 (python-imenu-create-index, python-imenu-create-flat-index)
25414 (python-util-popn): New functions.
25415 (python-mode): Set imenu-create-index-function to
25416 python-imenu-create-index.
25418 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
25420 * winner.el (winner-active-region): Use region-active-p, activate-mark
25421 and deactivate-mark (bug#14225).
25423 * simple.el (deactivate-mark): Don't inline it.
25425 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
25427 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
25429 2013-04-18 Tassilo Horn <tsdh@gnu.org>
25431 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
25432 file extensions from the archive-mode entry in order to prefer
25433 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
25435 2013-04-18 Leo Liu <sdl.web@gmail.com>
25437 * bindings.el (help-event-list): Add ?\?.
25439 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
25441 * subr.el (with-wrapper-hook): Declare obsolete.
25442 * simple.el (filter-buffer-substring-function): New hook.
25443 (filter-buffer-substring): Use it.
25444 (filter-buffer-substring-functions): Mark obsolete.
25445 * minibuffer.el (completion-in-region-function): New hook.
25446 (completion-in-region): Use it.
25447 (completion-in-region-functions): Mark obsolete.
25448 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
25449 * abbrev.el (abbrev-expand-function): New hook.
25450 (expand-abbrev): Use it.
25451 (abbrev-expand-functions): Mark obsolete.
25452 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
25453 and :filter-return.
25455 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25457 * progmodes/python.el (python-nav--syntactically): Fix cornercases
25458 and do not care about match data.
25460 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
25462 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
25463 completion tables when completing error conditions and
25464 `declare' arguments.
25465 (lisp-complete-symbol, field-complete): Mark as obsolete.
25466 (check-parens): Unmatched parens are user errors.
25467 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
25469 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
25471 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
25472 command changed buffer (ie. `flyspell-pre-buffer' is not current
25473 buffer), which prevents making decisions based on invalid value of
25474 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
25475 cause an error when `flyspell-pre-point' was nil after switching
25477 (flyspell-post-command-hook): No longer needs to change buffers when
25478 checking pre-word. While at it remove unnecessary progn.
25480 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
25482 * textmodes/ispell.el (ispell-add-per-file-word-list):
25483 Fix `flyspell-correct-word-before-point' error when accepting
25484 words and `coment-padding' is an integer by using
25485 `comment-normalize-vars' (Bug #14214).
25487 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25489 New defun movement commands.
25490 * progmodes/python.el (python-nav--syntactically)
25491 (python-nav--forward-defun, python-nav-backward-defun)
25492 (python-nav-forward-defun): New functions.
25494 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
25496 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
25497 (python-syntax-context): Use named compiler-macro for backwards
25498 compatibility with Emacs 24.x.
25500 2013-04-17 Leo Liu <sdl.web@gmail.com>
25502 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
25503 octave-hide-process-buffer.
25505 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
25507 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
25510 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
25512 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
25513 Fix adjustment of offset when receiving incomplete responses from GDB
25516 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
25518 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
25519 python-mode-abbrev-table.
25520 (python-skeleton-define): Adjust accordingly.
25521 (python-mode-abbrev-table): New table that inherits from it so that
25522 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
25524 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
25525 (abbrev-symbol): Use it.
25526 (abbrev--before-point): Use it since we already handle inheritance.
25528 2013-04-16 Leo Liu <sdl.web@gmail.com>
25530 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
25531 binding to info-lookup-symbol.
25533 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
25535 * minibuffer.el (completion--twq-all):
25536 * term/ns-win.el (ns-initialize-window-system):
25537 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
25539 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
25541 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
25544 * doc-view.el (doc-view-start-process): Handle url-handler directories.
25546 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
25548 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
25549 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
25551 (ruby-end-of-defun): Remove the unused arg, change the docstring
25552 to reflect that this function is only used as the value of
25553 `end-of-defun-function'.
25554 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
25555 to reflect an earlier change that beginning/end-of-defun functions
25556 jump between methods in a class definition, as well as top-level
25559 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25561 * minibuffer.el (minibuffer-complete): Don't just scroll
25562 a *Completions* that's been iconified.
25563 (minibuffer-force-complete): Make sure repetitions do cycle when going
25564 through completion-in-region -> minibuffer-complete.
25566 2013-04-15 Alan Mackenzie <acm@muc.de>
25568 Correct the placement of c-cpp-delimiters when there're #s not at
25571 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
25572 place a submatch around the #.
25573 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
25574 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
25577 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25579 * emacs-lisp/nadvice.el: Properly test names when adding advice.
25580 (advice--member-p): New arg `name'.
25581 (advice--add-function, advice-member-p): Use it (bug#14202).
25583 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
25585 Reformulate java imenu-generic-expression.
25586 The old expression contained ill formed regexps.
25588 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
25589 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
25590 (cc-imenu-java-method-arg-regexp): New defconsts.
25591 (cc-imenu-java-build-type-args-regex): New defun.
25592 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
25593 handling of spaces in the regexp.
25595 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
25597 * textmodes/ispell.el (ispell-command-loop): Remove
25598 flyspell highlight of a word when ispell accepts it (bug #14178).
25600 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
25602 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
25603 uses code from the previous `ange-ftp-run-real-handler'.
25604 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
25605 only in case that function exist. This is needed for proper
25606 unloading of Tramp.
25608 2013-04-15 Tassilo Horn <tsdh@gnu.org>
25610 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
25612 * textmodes/reftex.el (reftex-compile-variables): Use it.
25614 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25616 * files.el (normal-mode): Only use default major-mode if no other mode
25619 * emacs-lisp/trace.el (trace-values): New function.
25621 * files.el: Allow : in local variables (bug#14089).
25622 (hack-local-variable-regexp): New var.
25623 (hack-local-variables-prop-line, hack-local-variables): Use it.
25625 2013-04-13 Roland Winkler <winkler@gnu.org>
25627 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
25628 data before it gets modified by bibtex-beginning-of-entry.
25630 2013-04-13 Roland Winkler <winkler@gnu.org>
25632 * textmodes/bibtex.el (bibtex-url): Doc fix.
25634 2013-04-13 Roland Winkler <winkler@gnu.org>
25636 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
25637 does not visit a BibTeX file, exclude it from the list of buffers
25638 returned by bibtex-initialize.
25640 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
25642 * window.el (split-window): Remove interactive form, since as a
25643 command this function is a special case of split-window-below.
25644 Correct doc string.
25646 2013-04-12 Roland Winkler <winkler@gnu.org>
25648 * faces.el (read-face-name): Do not override value of arg default.
25649 Allow single faces and strings as default values. Remove those
25650 elements from return value that are not faces.
25651 (describe-face): Simplify.
25652 (face-at-point): New optional args thing and multiple so that this
25653 function can provide the same functionality previously provided by
25655 (make-face-bold, make-face-unbold, make-face-italic)
25656 (make-face-unitalic, make-face-bold-italic, invert-face)
25657 (modify-face, read-face-and-attribute): Use face-at-point.
25659 * cus-edit.el (customize-face, customize-face-other-window)
25660 * cus-theme.el (custom-theme-add-face)
25661 * face-remap.el (buffer-face-set)
25662 * facemenu.el (facemenu-set-face): Use face-at-point.
25664 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
25666 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
25668 2013-04-10 Tassilo Horn <tsdh@gnu.org>
25670 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
25671 off leading { and trailing } from field values.
25673 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
25675 * emacs-lisp/timer.el (timer--check): New function.
25676 (timer--time, timer-set-function, timer-event-handler): Use it.
25677 (timer-set-idle-time): Simplify.
25678 (timer--activate): CSE.
25679 (timer-event-handler): Give more info in error message.
25680 (internal-timer-start-idle): New function, moved from C.
25682 * mpc.el (mpc-proc): Add `restart' argument.
25683 (mpc-proc-cmd): Use it.
25684 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
25685 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
25688 2013-04-10 Masatake YAMATO <yamato@redhat.com>
25690 * progmodes/sh-script.el: Implement `sh-mode' own
25691 `add-log-current-defun-function' (bug#14112).
25692 (sh-current-defun-name): New function.
25693 (sh-mode): Use the function.
25695 2013-04-09 Bastien Guerry <bzg@gnu.org>
25697 * simple.el (choose-completion-string): Fix docstring (bug#14163).
25699 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
25701 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
25703 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
25706 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
25708 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
25711 2013-04-07 Leo Liu <sdl.web@gmail.com>
25713 * pcmpl-x.el: New file.
25715 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
25717 Do not set x-display-name until X connection is established.
25718 This is needed to prevent from weird situation described at
25719 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
25720 * frame.el (make-frame): Set x-display-name after call to
25721 window system initialization function, not before.
25722 * term/x-win.el (x-initialize-window-system): Add optional
25723 display argument and use it.
25724 * term/w32-win.el (w32-initialize-window-system):
25725 * term/ns-win.el (ns-initialize-window-system):
25726 * term/pc-win.el (msdos-initialize-window-system):
25727 Add compatible optional display argument.
25729 2013-04-06 Eli Zaretskii <eliz@gnu.org>
25731 * files.el (normal-backup-enable-predicate): On MS-Windows and
25732 MS-DOS compare truenames of temporary-file-directory and of the
25733 file, so that 8+3 aliases (usually found in $TEMP on Windows)
25734 don't fail comparison by compare-strings. Also, compare file
25735 names case-insensitively on MS-Windows and MS-DOS.
25737 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25739 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
25740 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
25742 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
25744 * whitespace.el (whitespace-color-on, whitespace-color-off):
25745 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
25747 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
25749 * ispell.el (ispell-set-spellchecker-params):
25750 Really set `ispell-args' for all equivs.
25752 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
25754 * ido.el (ido-completions): Use extra elements of ido-decorations
25756 (ido-decorations): Update docstring.
25758 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
25760 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
25761 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
25762 nil during initialization, in order not to miss changes since the
25763 file was opened. (Bug#14140)
25765 2013-04-05 Leo Liu <sdl.web@gmail.com>
25767 * kmacro.el (kmacro-call-macro): Fix bug#14135.
25769 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
25771 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
25773 2013-04-04 Glenn Morris <rgm@gnu.org>
25775 * electric.el (electric-pair-inhibit-predicate): Add :version.
25777 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
25779 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
25780 when a package is required several times (bug#14082).
25782 2013-04-04 Roland Winkler <winkler@gnu.org>
25784 * faces.el (read-face-name): Behave as promised by the docstring.
25785 Assume that arg default is a list of faces.
25786 (describe-face): Call read-face-name with list of default faces.
25788 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
25790 * bookmark.el: Fix deletion of bookmarks (bug#13972).
25791 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
25792 (bookmark-bmenu-execute-deletions): Only skip first line if it's
25794 (bookmark-exit-hook-internal): Save even if list is empty.
25796 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
25798 * emacs-lisp/package.el (package-pinned-packages): New var.
25799 (package--add-to-archive-contents): Obey it (bug#14118).
25801 2013-04-03 Alan Mackenzie <acm@muc.de>
25803 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
25804 Also adapt to the new values of element 7 of a parse state.
25806 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
25807 parameter `not-in-delimiter'. Handle being inside comment opener.
25808 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
25809 character in case we're typing a '*' after a '/'.
25810 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
25811 instead by passing the parameter to c-state-pp-to-literal.
25813 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
25814 for elt. 7 of a parse state.
25816 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
25818 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
25819 * international/latin1-disp.el, international/mule-util.el:
25820 * language/cyril-util.el, language/european.el, language/ind-util.el:
25821 * language/lao-util.el, language/thai.el, language/tibet-util.el:
25822 * language/tibetan.el, language/viet-util.el:
25823 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
25825 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25827 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
25828 (electric-pair-post-self-insert-function): Use it.
25829 (electric-pair-default-inhibit): New function, extracted from
25830 electric-pair-post-self-insert-function.
25832 2013-03-31 Roland Winkler <winkler@gnu.org>
25834 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
25836 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25838 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
25840 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
25842 Un-indent after "pass" and "return" statements (Bug#13888)
25843 * progmodes/python.el (python-indent-block-enders): New var.
25844 (python-indent-calculate-indentation): Use it.
25846 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
25848 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
25849 defun. Defining it as defalias could introduce too eager
25850 byte-compiler optimization. (Bug#14030)
25852 2013-03-30 Chong Yidong <cyd@gnu.org>
25854 * iswitchb.el (iswitchb-read-buffer): Fix typo.
25856 2013-03-30 Leo Liu <sdl.web@gmail.com>
25858 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
25859 (kmacro-execute-from-register): Pass the keyboard macro to
25860 kmacro-call-macro or repeating won't work correctly.
25862 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
25864 * progmodes/subword.el: Back to using `forward-symbol'.
25866 * subr.el (forward-whitespace, forward-symbol)
25867 (forward-same-syntax): Move from thingatpt.el.
25869 2013-03-29 Leo Liu <sdl.web@gmail.com>
25871 * kmacro.el (kmacro-to-register): New command.
25872 (kmacro-execute-from-register): New function.
25873 (kmacro-keymap): Bind to 'x'. (Bug#14071)
25875 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
25877 * mpc.el: Use defvar-local and setq-local.
25878 (mpc--proc-connect): Connection failures are not bugs.
25879 (mpc-mode-map): `follow-link' only applies to the buffer's content.
25880 (mpc-volume-map): Bind to the up-events.
25882 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
25884 * progmodes/subword.el (superword-mode): Use `forward-sexp'
25885 instead of `forward-symbol'.
25887 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
25889 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
25890 (edebug--recursive-edit): Use it.
25891 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
25892 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
25894 2013-03-28 Leo Liu <sdl.web@gmail.com>
25896 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
25898 2013-03-27 Eli Zaretskii <eliz@gnu.org>
25900 * facemenu.el (list-colors-callback): New defvar.
25901 (list-colors-redisplay): New function.
25902 (list-colors-display): Install list-colors-redisplay as the
25903 revert-buffer-function. (Bug#14063)
25905 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
25907 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
25908 and suffixes don't overlap (bug#14061).
25910 * case-table.el: Use lexical-binding.
25911 (case-table-get-table): New function.
25912 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
25914 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
25916 * progmodes/subword.el: Add `superword-mode' to do word motion
25917 over symbol_words (parallels and leverages `subword-mode' which
25918 does word motion inside MixedCaseWords).
25920 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
25922 * eshell/em-unix.el: Move su and sudo to...
25923 * eshell/em-tramp.el: ...Eshell tramp module.
25925 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25927 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
25928 Change return value to be a sexp. Delay `get-buffer' to after
25929 restoring the desktop (bug#13951).
25931 2013-03-26 Leo Liu <sdl.web@gmail.com>
25933 * register.el: Move semantic tag handling back to
25934 cedet/semantic/senator.el. (Bug#14052)
25936 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
25938 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
25939 into the prompt either (bug#13963).
25941 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
25943 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
25944 part of "(error-foo)".
25946 2013-03-24 Juri Linkov <juri@jurta.org>
25948 * replace.el (list-matching-lines-prefix-face): New defcustom.
25949 (occur-1): Pass `list-matching-lines-prefix-face' to the function
25950 `occur-engine' if `face-differs-from-default-p' returns t.
25951 (occur-engine): Add `,' inside backquote construct to evaluate
25952 `prefix-face'. Propertize the prefix with the `prefix-face' face.
25953 Pass `prefix-face' to the functions `occur-context-lines' and
25954 `occur-engine-add-prefix'.
25955 (occur-engine-add-prefix, occur-context-lines): Add optional arg
25956 `prefix-face' and propertize the prefix with `prefix-face'.
25959 2013-03-24 Leo Liu <sdl.web@gmail.com>
25961 * nxml/rng-valid.el (rng-validate-while-idle)
25962 (rng-validate-quick-while-idle): Guard against deleted buffer.
25965 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
25966 is the last entry in kill-buffer-hook.
25968 * files.el (kill-buffer-hook): Doc fix.
25970 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
25972 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
25973 Make it safe-local.
25975 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
25977 2013-03-23 Leo Liu <sdl.web@gmail.com>
25979 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
25982 * nxml/rng-valid.el (rng-validate-mode)
25983 (rng-after-change-function, rng-do-some-validation):
25984 * nxml/rng-maint.el (rng-validate-buffer):
25985 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
25986 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
25987 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
25988 (nxml-extend-after-change-region): Use with-silent-modifications.
25990 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
25993 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
25994 (rng-next-error-1, rng-previous-error-1): Do not let-bind
25995 timer-idle-list. (Bug#13999)
25997 2013-03-23 Juri Linkov <juri@jurta.org>
25999 * info.el (info-index-match): New face.
26000 (Info-index, Info-apropos-matches): Add a nested subgroup to the
26001 main pattern and add text properties with the new face to matches
26002 in index entries relative to the beginning of the index entry.
26005 2013-03-21 Eric Ludlam <zappo@gnu.org>
26007 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
26008 Inhibit read only while inserting objects.
26010 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
26012 * progmodes/cfengine.el: Update docs to mention
26013 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
26014 symbol motion. Remove "_" from the word syntax.
26016 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
26018 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
26019 syntax for both `cfengine2-mode' and `cfengine3-mode'.
26021 2013-03-20 Juri Linkov <juri@jurta.org>
26023 * info.el (Info-next-reference-or-link)
26024 (Info-prev-reference-or-link): New functions.
26025 (Info-next-reference, Info-prev-reference): Use them.
26026 (Info-try-follow-nearest-node): Handle footnote navigation.
26027 (Info-fontify-node): Fontify footnotes. (Bug#13989)
26029 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
26031 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
26032 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
26034 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
26036 Suppress unnecessary non-ASCII chatter during build process.
26037 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
26038 (batch-skkdic-convert): Suppress most of the chatter.
26039 It's not needed so much now that machines are faster,
26040 and its non-ASCII component was confusing; see Dmitry Gutov in
26041 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
26043 2013-03-20 Leo Liu <sdl.web@gmail.com>
26045 * ido.el (ido-chop): Fix bug#10994.
26047 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
26049 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
26051 (whitespace-color-on, whitespace-color-off):
26052 Use `font-lock-fontify-buffer' (Bug#13817).
26054 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
26056 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
26057 remapping in mode-line.
26058 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
26060 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
26062 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
26063 value for `whitespace-line' face (Bug#13875).
26064 (whitespace-font-lock-keywords): Change description.
26065 (whitespace-color-on): Don't save `font-lock-keywords' value, save
26066 the constructed keywords instead.
26067 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
26069 2013-03-19 Leo Liu <sdl.web@gmail.com>
26071 * progmodes/compile.el (compilation-display-error): New command.
26072 (compilation-mode-map, compilation-minor-mode-map): Bind it to
26075 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
26077 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
26079 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
26081 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
26083 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
26085 * net/tramp-compat.el (tramp-compat-user-error): New defun.
26087 * net/tramp-adb.el (tramp-adb-handle-shell-command):
26088 * net/tramp-gvfs.el (top):
26089 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
26090 (tramp-handle-shell-command): Use it.
26091 (tramp-dissect-file-name): Raise an error when hostname is a
26092 method name, and neither method nor user is specified.
26094 * net/trampver.el: Update release number.
26096 2013-03-18 Leo Liu <sdl.web@gmail.com>
26098 Make sure eldoc can be turned off properly.
26099 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
26101 (eldoc-display-message-p): Revert last change.
26102 (eldoc-display-message-no-interference-p)
26103 (eldoc-print-current-symbol-info): Tweak.
26105 2013-03-18 Tassilo Horn <tsdh@gnu.org>
26107 * doc-view.el (doc-view-new-window-function): Check the new window
26108 overlay's display property instead the char property of the
26109 buffer's first char. Use `with-selected-window' instead of
26110 `save-window-excursion' with `select-window'.
26111 (doc-view-document->bitmap): Check the current doc-view overlay's
26112 display property instead the char property of the buffer's first char.
26114 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
26116 Automate the build of ja-dic.el (Bug#13984).
26117 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
26118 from the input, rather than assume that it's been done for us by the
26119 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
26120 the current date into a ja-dic.el comment, as that complicates
26121 regression testing.
26123 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
26125 * whitespace.el: Fix double evaluation.
26126 (whitespace-space, whitespace-hspace, whitespace-tab)
26127 (whitespace-newline, whitespace-trailing, whitespace-line)
26128 (whitespace-space-before-tab, whitespace-indentation)
26129 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
26131 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
26132 (whitespace-color-on): Use a single font-lock-add-keywords call.
26133 Fix double-evaluation of face variables.
26135 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
26137 * net/tramp-adb.el (tramp-adb-parse-device-names):
26138 Use `start-process' instead of `call-process'. Otherwise, the
26139 function might be blocked under MS Windows. (Bug#13299)
26141 2013-03-17 Leo Liu <sdl.web@gmail.com>
26143 Extend eldoc to display info in the mode-line. (Bug#13978)
26144 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
26145 (eldoc-mode-line-string): New variable.
26146 (eldoc-minibuffer-message): New function.
26147 (eldoc-message-function): New variable.
26148 (eldoc-message): Use it.
26149 (eldoc-display-message-p)
26150 (eldoc-display-message-no-interference-p):
26151 Support eldoc-post-insert-mode.
26153 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
26154 (eval-expression): Run it.
26156 2013-03-17 Roland Winkler <winkler@gnu.org>
26158 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
26159 strings in the list of return values.
26161 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
26163 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
26164 radix before checking for HMS forms.
26166 2013-03-16 Leo Liu <sdl.web@gmail.com>
26168 * progmodes/scheme.el: Add indentation and font-locking for λ.
26171 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
26173 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
26174 token before point (bug#13942).
26176 2013-03-16 Leo Liu <sdl.web@gmail.com>
26178 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
26180 2013-03-16 Eli Zaretskii <eliz@gnu.org>
26182 * startup.el (command-line-normalize-file-name): Fix handling of
26183 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
26184 <xfq.free@gmail.com> in
26185 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
26187 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
26189 Sync with Tramp 2.2.7.
26191 * net/trampver.el: Update release number.
26193 2013-03-14 Tassilo Horn <tsdh@gnu.org>
26195 * doc-view.el: Fix bug#13887.
26196 (doc-view-insert-image): Don't modify overlay associated to
26197 non-live windows, and implement horizontal centering of image in
26198 case it's smaller than the window.
26199 (doc-view-new-window-function): Force redisplay of new windows on
26202 2013-03-13 Karl Fogel <kfogel@red-bean.com>
26204 * saveplace.el (save-place-alist-to-file): Don't sort
26205 `save-place-alist', just pretty-print it (bug#13882).
26207 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
26209 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
26210 Check whether `default-file-name-coding-system' is bound.
26211 It isn't in XEmacs.
26213 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
26215 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
26216 backquotes for `obsolete' (bug#13929).
26218 * international/mule.el (find-auto-coding): Include file name in
26219 obsolescence warning (bug#13922).
26221 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
26223 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
26224 for CFEngine 3-specific indentation.
26225 (cfengine3-indent-line): Use it. Fix up category regex.
26226 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
26228 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26230 * type-break.el (type-break-file-name):
26231 * textmodes/remember.el (remember-data-file):
26232 * strokes.el (strokes-file):
26233 * shadowfile.el (shadow-initialize):
26234 * saveplace.el (save-place-file):
26235 * ps-bdf.el (bdf-cache-file):
26236 * progmodes/idlwave.el (idlwave-config-directory):
26237 * net/quickurl.el (quickurl-url-file):
26238 * international/kkc.el (kkc-init-file-name):
26239 * ido.el (ido-save-directory-list-file):
26240 * emulation/viper.el (viper-custom-file-name):
26241 * emulation/vip.el (vip-startup-file):
26242 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
26243 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
26245 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
26247 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
26248 * language/thai-word.el: Switch to UTF-8.
26250 See ChangeLog.16 for earlier changes.
26252 ;; Local Variables:
26256 Copyright (C) 2011-2015 Free Software Foundation, Inc.
26258 This file is part of GNU Emacs.
26260 GNU Emacs is free software: you can redistribute it and/or modify
26261 it under the terms of the GNU General Public License as published by
26262 the Free Software Foundation, either version 3 of the License, or
26263 (at your option) any later version.
26265 GNU Emacs is distributed in the hope that it will be useful,
26266 but WITHOUT ANY WARRANTY; without even the implied warranty of
26267 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26268 GNU General Public License for more details.
26270 You should have received a copy of the GNU General Public License
26271 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.