1 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
3 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
4 account for file-wide setting of todo-top-priorities-overrides.
5 Make code a bit cleaner.
7 2014-06-27 Leo Liu <sdl.web@gmail.com>
9 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
11 2014-06-27 Glenn Morris <rgm@gnu.org>
13 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
15 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
17 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
18 category-wide setting of todo-top-priorities-overrides, check for
19 a file-wide setting and fontify accordingly.
21 2014-06-26 Glenn Morris <rgm@gnu.org>
23 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
25 2014-06-26 Daiki Ueno <ueno@gnu.org>
27 * emacs-lisp/package.el (package--check-signature):
28 If package-check-signature is allow-unsigned, don't signal error when
29 we can't verify signature because of missing public key
30 (backport for bug#17625).
32 2014-06-26 Glenn Morris <rgm@gnu.org>
34 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
35 Remove outdated declaration.
37 * emacs-lisp/authors.el (authors-valid-file-names)
38 (authors-renamed-files-alist): Additions.
40 2014-06-25 Leo Liu <sdl.web@gmail.com>
42 * textmodes/picture.el (picture-set-tab-stops):
43 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
44 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
46 * progmodes/asm-mode.el (asm-calculate-indentation):
47 Use indent-next-tab-stop.
49 * indent.el (indent-accumulate-tab-stops): New function.
51 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
53 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
54 (package-desc-status): Obey it.
56 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
58 * calendar/todo-mode.el: Fix two bugs.
59 (todo-insert-item--basic): If user cancels item insertion to
60 another category before setting priority, show original category
61 whether it is in the same or a different file.
62 (todo-set-item-priority): After selecting category, instead of
63 moving point to top, which extends an active region, restore it.
65 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
67 * help-fns.el (describe-function-1): Check file-name is a string before
68 calling help-fns--autoloaded-p (bug#17564).
70 2014-06-24 Juri Linkov <juri@jurta.org>
72 * desktop.el (desktop-auto-save-enable)
73 (desktop-auto-save-disable): New functions.
74 (desktop-save-mode, desktop-auto-save-timeout): Use them.
75 (desktop-read): Disable the autosave before loading the desktop,
76 and enable afterwards. (Bug#17351)
78 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
80 Fix some indentation problem with \; and pipes (bug#17842).
81 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
82 (sh-smie--default-forward-token, sh-smie--default-backward-token):
84 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
85 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
86 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
88 2014-06-24 Eli Zaretskii <eliz@gnu.org>
90 * international/fontset.el (script-representative-chars):
91 Add representative characters for scripts added in Unicode 7.0.
92 (otf-script-alist): Synchronize with the latest registry of OTF
95 * international/characters.el (char-script-table): Update for
96 scripts added and codepoint ranges changed in Unicode 7.0.
98 2014-06-23 Leo Liu <sdl.web@gmail.com>
100 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
101 tab-stop-list to nil. (Bug#16381)
103 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
104 (indent-rigidly-left-to-tab-stop)
105 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
106 (move-to-tab-stop): Change callers.
108 2014-06-22 Eli Zaretskii <eliz@gnu.org>
110 * skeleton.el (skeleton-insert): Yet another fix of the doc string
111 wrt behavior of \n as the first/last element of a skeleton.
113 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
115 * net/tramp-adb.el (tramp-adb-handle-process-file):
116 * net/tramp-sh.el (tramp-sh-handle-process-file):
117 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
118 the output buffer when DISPLAY is non-nil. (Bug#17815)
120 2014-06-21 Glenn Morris <rgm@gnu.org>
122 * play/landmark.el (landmark-move-down, landmark-move-up):
123 Fix 2007-10-20 change - preserve horizontal position.
125 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
127 Fix completion retrieval parsing (bug#17209).
128 * progmodes/python.el (python-mode):
129 (python-util-strip-string): New function.
130 (python-shell-completion-get-completions): Use it.
132 2014-06-21 Eli Zaretskii <eliz@gnu.org>
134 * skeleton.el (skeleton-insert): Fix last change.
136 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
138 Enhancements for outline integration (bug#17796).
139 * progmodes/python.el (python-mode): Properly set
140 outline-heading-end-regexp so that comments after colons for
141 defuns are supported.
143 2014-06-21 Eli Zaretskii <eliz@gnu.org>
145 * skeleton.el (skeleton-insert): Doc fix.
147 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
149 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
150 (smie-config-guess): Use smie-config-local so the rules are obeyed
153 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
154 since it's already done inside the loop (bug#17819).
156 2014-06-20 Martin Rudalics <rudalics@gmx.at>
158 * mouse.el (mouse-drag-line): Re-remove code initially removed
159 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
162 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
164 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
165 align with the surrounding parent (bug#17721).
167 2014-06-20 Eli Zaretskii <eliz@gnu.org>
169 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
171 (texinfo-insert-block, texinfo-insert-@end)
172 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
173 local setting of skeleton-end-newline by adding an explicit \n to
174 the skeletons where appropriate. (Bug#17801)
176 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
178 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
179 (smie-indent--hanging-p): Use it.
180 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
182 2014-06-20 Leo Liu <sdl.web@gmail.com>
184 * simple.el (read-quoted-char): Don't let help chars pop up help
187 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
189 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
192 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
194 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
195 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
198 2014-06-18 Eli Zaretskii <eliz@gnu.org>
200 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
201 and later. (Bug#17790)
203 2014-06-18 Juri Linkov <juri@jurta.org>
205 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
206 to `soft'. (Bug#17554)
208 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
210 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
213 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
215 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
216 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
218 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
220 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
221 `unread-command-events'.
223 2014-06-14 Glenn Morris <rgm@gnu.org>
225 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
226 Replace delete-duplicates and mapcan by cl- versions throughout.
227 And cl-macroexpand-all by macroexpand-all.
228 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
230 2014-06-14 Eli Zaretskii <eliz@gnu.org>
232 * subr.el (posn-col-row): Doc fix. (Bug#17768)
234 2014-06-14 Juri Linkov <juri@jurta.org>
236 * bindings.el: Put `ascii-character' property on keypad keys
237 mapped to characters. (Bug#17759)
239 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
241 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
242 bumping forward into a closing paren (bug#17761).
244 * term/xterm.el (xterm--version-handler): Work around for OSX
245 Terminal.app (bug#17607).
247 2014-06-08 Glenn Morris <rgm@gnu.org>
249 * startup.el (initial-buffer-choice): Doc fix.
250 Reset :version (adding an option does not merit a :version bump).
252 * bookmark.el (bookmark-load):
253 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
255 2014-06-06 Juri Linkov <juri@jurta.org>
257 * desktop.el: Activate auto-saving on window configuration changes.
258 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
259 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
260 (desktop-auto-save-set-timer): Change REPEAT arg of
261 `run-with-idle-timer' from t to nil.
262 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
264 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
266 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
267 vc-hg-command (bug#17570).
269 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
271 * international/mule-cmds.el (ucs-names): Add special entry for BEL
274 2014-06-06 Glenn Morris <rgm@gnu.org>
276 * startup.el (window-setup-hook): Doc fix.
278 2014-06-05 Glenn Morris <rgm@gnu.org>
280 * emacs-lisp/package.el (package-check-signature)
281 (package-unsigned-archives): Doc fixes.
283 2014-06-03 Martin Rudalics <rudalics@gmx.at>
285 * window.el (display-buffer-use-some-window): Don't make window
286 used smaller than it was before (Bug#17671).
288 2014-06-03 Eli Zaretskii <eliz@gnu.org>
290 * menu-bar.el (menu-bar-open): Fix last change: use the PC
291 'redisplay' instead of '(sit-for 0)'.
293 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
295 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
298 2014-06-03 Glenn Morris <rgm@gnu.org>
300 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
302 2014-06-02 Eli Zaretskii <eliz@gnu.org>
304 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
306 2014-06-01 Eli Zaretskii <eliz@gnu.org>
308 * simple.el (keyboard-quit): Force update of mode lines, to remove
309 the "Def" indicator, if we were defining a macro. (Bug#17615)
311 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
313 * minibuffer.el (minibuffer-force-complete-and-exit):
314 Obey minibuffer-default (bug#17545).
316 * progmodes/js.el (js-indent-line): Don't mix columns and chars
319 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
321 * subr.el (set-transient-map): Don't wait for some "nested"
322 transient-map to finish if we're only supposed to be active for
323 the next command (bug#17642).
325 2014-05-31 Leo Liu <sdl.web@gmail.com>
327 * emacs-lisp/gv.el (window-buffer, window-display-table)
328 (window-dedicated-p, window-hscroll, window-point, window-start):
329 Fix gv-expander. (Bug#17630)
331 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
333 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
336 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
337 for the single comma, since ", " is *very* common in normal French text
340 2014-05-30 Glenn Morris <rgm@gnu.org>
342 * emacs-lisp/package.el (package-check-signature)
343 (package-unsigned-archives): Fix :version.
345 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
347 * subr.el (sit-for): Don't run input-methods (bug#15614).
349 2014-05-28 Glenn Morris <rgm@gnu.org>
351 * cus-start.el: Fix some :version numbers.
353 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
355 * simple.el (deactivate-mark): Set mark-active to nil even if
356 deactivation is done via setting transient-mark-mode to nil,
357 since one is buffer-local and the other is global.
359 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
360 there can't be more than 2 arguments (bug#17584).
362 2014-05-27 Glenn Morris <rgm@gnu.org>
364 * simple.el (filter-buffer-substring-functions)
365 (filter-buffer-substring-function, buffer-substring-filters)
366 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
368 * minibuffer.el (completion-in-region-functions, completion-in-region)
369 (completion--in-region): Doc fixes.
371 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
372 (expand-abbrev, abbrev--default-expand): Doc fixes.
374 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
376 Include sources used to create macuvs.h.
377 * international/README: Refer to the Unicode Terms of Use rather
378 than copying it bodily here, as that simplifies maintenance.
380 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
382 * cus-face.el (custom-face-attributes): Add :distant-foreground.
384 2014-05-25 Martin Rudalics <rudalics@gmx.at>
386 * window.el (window--dump-frame): Remove interactive
389 2014-05-23 Glenn Morris <rgm@gnu.org>
391 * hippie-exp.el (he-line-search-regexp):
392 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
394 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
396 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
397 to avoid errors when trying to create or visit a file foo.todo
398 located outside to todo-directory, and to allow having such files
399 without them being tied to Todo mode (bug#17482).
400 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
401 (todo-archive-done-item, todo-find-filtered-items-file)
402 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
403 (todo-category-completions, todo-read-category): When visiting a
404 Todo file, make sure we're in the right mode and the buffer local
406 (todo-make-categories-list, todo-reset-nondiary-marker)
407 (todo-reset-done-string, todo-reset-comment-string):
408 After processing all Todo files, kill the buffers of those files that
409 weren't being visited before the processing.
410 (todo-display-as-todo-file, todo-add-to-buffer-list)
411 (todo-visit-files-commands): Comment out.
412 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
413 (auto-mode-alist): Remove add-to-list calls making Todo file
414 extensions unrestrictedly tied to Todo modes.
416 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
418 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
419 (advice-function-member-p): Tell it to check both names and functions
421 (advice--add-function): Adjust call accordingly.
423 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
425 * calendar/todo-mode.el: Miscellaneous bug fixes.
426 (todo-delete-file): When deleting an archive but not its todo
427 file, make sure to update the todo file's category sexp.
428 (todo-move-category): Keep the moved category's name unless the
429 file moved to already has a category with that name. If the
430 numerically last category of the source file was moved, make the
431 first category current to avoid selecting a nonexisting category.
432 (todo-merge-category): Fix implementation to make merging to a
433 category in another file work as documented. Eliminate now
434 insufficient and unnecessary renaming of archive category, correct
435 document string accordingly, and clarify it. If the numerically
436 last category of the source file was merged, make the first
437 category current to avoid selecting a nonexisting category.
438 (todo-archive-done-item): When there are marked items and point
439 happens to be on an unmarked item, ignore the latter. Don't leave
440 point below last item after archiving marked items.
441 (todo-unarchive-items): Fix logic to ensure unarchiving an item
442 from an archive with only one category deletes the archive only
443 when the category is empty after unarchiving. Make sure the todo
444 file's category sexp is updated.
445 (todo-read-file-name): Allow an existing file name even when it is
446 not required (todo-move-category needs this to work as documented).
447 (todo-add-file): Call todo-validate-name to reject the name of an
448 existing todo file (needed due to fix in todo-read-file-name).
449 (todo-reset-nondiary-marker): Also reset in filtered items files.
450 (todo-reset-done-string, todo-reset-comment-string): Also reset in
451 regexp filtered items files.
452 (todo-reset-highlight-item): Also reset in filtered items files.
453 Fix incorrect variable reference in document string.
455 2014-05-22 Glenn Morris <rgm@gnu.org>
457 * window.el (window--dump-frame): Avoid error in --without-x builds.
459 2014-05-21 Glenn Morris <rgm@gnu.org>
461 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
463 2014-05-21 Eli Zaretskii <eliz@gnu.org>
465 * frame.el (set-frame-font): Doc fix.
467 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
469 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
471 * emacs-lisp/package.el (package--download-one-archive):
472 Use `write-region' instead of `save-buffer' to avoid running various
474 (describe-package-1): Same. Insert newline at the end of the
475 buffer if appropriate.
477 2014-05-20 Juri Linkov <juri@jurta.org>
479 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
480 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
481 Add more modifiers: meta, control, shift, hyper, super, alt.
484 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
485 to allow changing its value with `set-variable'.
487 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
489 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
491 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
493 (scheme-mode-variables): Set syntax-propertize-function instead of
494 font-lock-syntactic-face-function.
495 (scheme-font-lock-syntactic-face-function): Delete.
497 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
499 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
501 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
504 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
506 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
507 for a temporary file name.
509 2014-05-17 Eli Zaretskii <eliz@gnu.org>
511 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
513 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
515 * net/dbus.el (dbus-init-bus, dbus-call-method)
516 (dbus-call-method-asynchronously, dbus-send-signal)
517 (dbus-method-return-internal, dbus-method-error-internal):
518 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
520 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
522 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
523 methods which do not have a doc string. (Bug#17490)
525 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
526 Stefan Monnier <monnier@iro.umontreal.ca>
528 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
531 2014-05-14 Glenn Morris <rgm@gnu.org>
533 * vc/emerge.el (emerge-temp-file-prefix):
534 Make pointless option obsolete.
535 (emerge-temp-file-mode): Make non-functional option obsolete.
537 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
539 * net/browse-url.el (browse-url):
540 Use `unhandled-file-name-directory' when setting `default-directory',
541 in order to circumvent stalled remote connections. (Bug#17425)
543 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
545 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
546 into autoloading just because of a silly indirection.
548 2014-05-11 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
550 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
552 2014-05-11 Glenn Morris <rgm@gnu.org>
554 * emacs-lisp/find-gc.el: Move to ../admin.
556 2014-05-10 Glenn Morris <rgm@gnu.org>
558 * printing.el (pr-version):
559 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
561 * net/browse-url.el (browse-url-mosaic):
562 Create /tmp/Mosaic.PID as a private file.
564 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
566 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
567 (advice--member-p): If name is given, only compare the name.
568 (advice--remove-function): Don't stop at the first match.
569 (advice--normalize-place): New function.
570 (add-function, remove-function): Use it.
571 (advice--add-function): Pass the name, if any, to
572 advice--remove-function.
574 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
576 * electric.el (electric-indent-post-self-insert-function): Don't use
577 `pos' after modifying the buffer (bug#17449).
579 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
581 * subr.el (function-put): Add function.
583 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
585 * calendar/todo-mode.el (todo-insert-item-from-calendar):
586 Correct argument list to conform to todo-insert-item--basic.
588 2014-05-09 Glenn Morris <rgm@gnu.org>
590 * files.el (cd-absolute): Test if directory is accessible
591 rather than executable. (Bug#17330)
593 * progmodes/compile.el (recompile):
594 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
596 2014-05-08 Juri Linkov <juri@jurta.org>
598 * dired.el (dired-check-switches, dired-switches-recursive-p):
599 New functions. (Bug#17218)
600 (dired-switches-escape-p, dired-move-to-end-of-filename):
601 Use `dired-check-switches'.
602 (dired-insert-old-subdirs, dired-build-subdir-alist)
603 (dired-sort-R-check): Use `dired-switches-recursive-p'.
605 2014-05-08 Glenn Morris <rgm@gnu.org>
607 * net/browse-url.el (browse-url-mosaic):
608 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
609 This is CVE-2014-3423.
611 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
613 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
614 (xterm-mouse--read-event-sequence-1000): Return nil if something
616 (xterm-mouse-event): Propagate it.
617 (xterm-mouse-translate-1): Handle it.
619 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
621 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
622 four slots of the parameter list are filled, make sure to pass it
623 to the argument list of todo-insert-item--basic.
625 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
627 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
628 Add optional `seen' argument to detect and break infinite loops.
630 2014-05-06 Eli Zaretskii <eliz@gnu.org>
632 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
633 (trace-unsafe, trace-use-tree): Make parentheses style be
634 according to Emacs style.
636 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
638 * net/tramp-sh.el (tramp-remote-process-environment):
639 Remove HISTFILE and HISTSIZE; it's too late to set them here.
641 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
642 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
643 extra "PSx=..." commands.
644 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
647 (tramp-uudecode): Replace the hard-coded temporary file name by a
649 (tramp-remote-coding-commands): Enhance docstring.
650 (tramp-find-inline-encoding): Replace "%t" by a temporary file
652 This is CVE-2014-3424.
654 2014-05-06 Glenn Morris <rgm@gnu.org>
656 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
657 (find-gc-source-files): Update some names.
658 (trace-call-tree): Simplify and update.
659 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
660 This is CVE-2014-3422.
662 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
664 * minibuffer.el (completion--try-word-completion): Revert fix for
665 Bug#15980 (bug#17375).
667 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
668 Always store button numbers in the same way in xterm-mouse-last;
669 Don't burp is xterm-mouse-last is not set as expected.
670 Never return negative indices.
672 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
674 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
675 Backtrack one char if the global/char-literal var matcher hits
676 inside a string. The next char could be the beginning of an
677 expression expansion.
679 2014-05-05 Glenn Morris <rgm@gnu.org>
681 * help-fns.el (describe-function-1): Test for an autoload before a
682 macro, since `macrop' works on autoloads. (Bug#17410)
684 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
686 * electric.el (electric-indent-functions-without-reindent): Add yaml.
688 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
689 Make sure the new point we return is within the new string (bug#17239).
691 2014-05-03 Eli Zaretskii <eliz@gnu.org>
693 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
695 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
697 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
698 Use nil rather than `default' for the "default" appearance (bug#17388).
699 * vc/ediff-util.el (ediff-inferior-compare-regions)
700 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
701 a misleading `default' value when it's really a boolean.
702 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
703 overlay is not visible.
705 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
707 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
708 (todo-menu): Uncomment and update.
710 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
712 * calendar/todo-mode.el: Reimplement item editing to have the same
713 basic user interface as item insertion, and make small UI and
714 larger internal improvements to the latter.
715 (todo-insert-item): Add reference to the Todo mode user manual to
716 the documentation string.
717 (todo-insert-item--basic): Rename from todo-basic-insert-item and
718 adjust all callers. Change signature to combine diary and
719 nonmarking arguments. Incorporate functionality of deleted item
720 copying command and add error checking. Remove detailed
721 descriptions of the arguments from the documentation string, since
722 this is treated in the Todo mode user manual.
723 (todo-copy-item, todo-edit-multiline-item)
724 (todo-edit-done-item-comment, todo-edit-item-header)
725 (todo-edit-item-time, todo-edit-item-date-from-calendar)
726 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
727 (todo-edit-item-date-year, todo-edit-item-date-month)
728 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
730 (todo-edit-item): Reimplement as wrapper command for
731 todo-edit-item--next-key and make it distinguish done and not done
733 (todo-edit-item--text): New function, replacing old command
734 todo-edit-item and incorporating deleted commands
735 todo-edit-multiline-item and todo-edit-done-item-comment.
736 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
737 Use only numeric value of prefix argument. Remove detailed
738 descriptions of the arguments from the documentation string, since
739 this is treated in the Todo mode user manual.
740 (todo-edit-item--diary-inclusion): New function, replacing old
741 command todo-edit-item-diary-inclusion and incorporating and fixing
742 functionality of deleted command todo-edit-item-diary-nonmarking,
743 making sure to remove todo-nondiary-marker when adding
744 diary-nonmarking-symbol.
745 (todo-edit-category-diary-inclusion): Make sure to delete
746 diary-nonmarking-symbol when adding todo-nondiary-marker.
747 (todo-edit-category-diary-nonmarking): Fix indentation.
748 (todo-insert-item--parameters): Group diary and nonmarking
750 (todo-insert-item--apply-args): Adjust to signature of
751 todo-insert-item--basic and incorporate copy parameter.
752 Make small code improvements.
753 (todo-insert-item--next-param): Improve prompt and adjust it to
754 new parameter grouping. Remove obsolete code.
755 (todo-edit-item--param-key-alist)
756 (todo-edit-item--date-param-key-alist)
757 (todo-edit-done-item--param-key-alist): New defconsts.
758 (todo-edit-item--prompt): New variable.
759 (todo-edit-item--next-key): New function.
760 (todo-key-bindings-t): Bind "e" to todo-edit-item.
761 Remove bindings of deleted commands.
763 2014-05-02 Leo Liu <sdl.web@gmail.com>
765 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
767 2014-05-01 Glenn Morris <rgm@gnu.org>
769 * allout-widgets.el (allout-widgets-tally)
770 (allout-decorate-item-guides):
771 * menu-bar.el (menu-bar-positive-p):
772 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
773 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
774 * progmodes/js.el (js--inside-param-list-p)
775 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
776 * progmodes/prolog.el (region-exists-p):
777 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
778 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
779 Doc fixes (replace `iff').
781 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
783 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
785 2014-04-30 Eli Zaretskii <eliz@gnu.org>
787 * dired.el (dired-initial-position-hook, dired-initial-position):
790 2014-04-29 Glenn Morris <rgm@gnu.org>
792 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
794 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
796 * faces.el (face-spec-recalc): Apply X resources only after the
797 defface spec has been applied. Thus, X resources are no longer
798 overriden by the defface spec which also fixes issues on win32 where
799 the toolbar coloring was wrong because it is set through X resources
800 and was (wrongfully) overriden. (Bug#16694)
802 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
804 * textmodes/rst.el (electric-pair-pairs): Declare.
805 (rst-mode): Set it (bug#17131).
807 2014-04-27 Juri Linkov <juri@jurta.org>
809 * desktop.el (desktop-value-to-string): Let-bind `print-length'
810 and `print-level' to nil. (Bug#17351)
812 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
814 * battery.el (battery-update): Handle the case where battery
815 status is "N/A" (bug#17319).
817 2014-04-24 Eli Zaretskii <eliz@gnu.org>
819 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
820 Use equal-including-properties to compare help-echo strings (bug#17331).
822 2014-04-24 Leo Liu <sdl.web@gmail.com>
824 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
825 Fix syntax for @. (Bug#17325)
827 2014-04-24 Daniel Colascione <dancol@dancol.org>
829 * emacs-lisp/cl.el (gv): Require gv early to break eager
830 macro-expansion cycles.
832 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
834 * simple.el (region-active-p): Check there's a mark (bug#17324).
836 * simple.el (completion-list-mode-map): Use choose-completion for the
837 mouse binding as well (bug#17302).
838 (completion-list-mode, completion-setup-function): Adjust docstring and
839 echo area message accordingly.
840 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
841 calling convention of choose-completion.
842 * comint.el (comint-dynamic-list-completions):
843 * term.el (term-dynamic-list-completions): Accept choose-completion.
845 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
846 &, |, +, - and * can't be a division (bug#17317).
848 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
850 * term/xterm.el (xterm--version-handler): Don't use modern xterm
851 features on gnome-terminal (bug#16988).
853 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
855 * dired.el (dired-insert-set-properties): Do not consider
856 subdirectory headings and empty lines to be information that
857 `dired-hide-details-mode' should hide. (Bug#17228)
859 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
861 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
862 Remove test messages.
863 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
866 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
868 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
869 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
871 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
873 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
875 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
876 Set "IFS=" when using read builtin, in order to preserve spaces in
877 the file name. Add test messages for hunting a bug on hydra.
878 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
880 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
882 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
883 Don't prettify a word within a symbol.
885 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
887 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
890 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
892 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
893 assignments such as "case=hello" (bug#17297).
895 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
897 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
899 (tramp-file-name-handler, tramp-completion-file-name-handler):
900 Revert patch from 2014-04-10, it isn't necessary anymore.
901 (tramp-autoload-file-name-handler)
902 (tramp-register-autoload-file-name-handlers): New defuns.
903 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
904 (tramp-register-file-name-handlers): Remove also
905 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
906 Do not autoload its invocation, but eval it after loading of 'tramp.
908 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
910 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
912 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
914 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
915 was done (bug#17264).
916 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
919 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
920 here-documents (bug#17262).
922 2014-04-16 Eli Zaretskii <eliz@gnu.org>
924 * term/pc-win.el (x-list-fonts, x-get-selection-value):
925 Provide doc strings, as required by snarf-documentation.
927 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
929 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
930 arg of overlays-at. Use `invisible-p'.
932 * obsolete/lucid.el (extent-at):
933 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
935 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
937 2014-04-14 João Távora <joaotavora@gmail.com>
939 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
942 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
944 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
945 Use mapc to loop over a vector. (Bug#17257).
947 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
949 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
950 patch, there are new problems with file names containing spaces.
951 Get rid of backticks. (Bug#17238)
953 2014-04-13 João Távora <joaotavora@gmail.com>
955 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
958 2014-04-13 Eli Zaretskii <eliz@gnu.org>
960 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
961 (blink-cursor-mode): Mention customization variables and the
962 effect of 'blink-cursor-blinks'.
964 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
966 * simple.el (undo): Prevent insertion of identity mapping into
967 undo-equiv-table so as undo-only does not inf loop in the presence
968 of consecutive nils in undo list.
970 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
972 * faces.el (make-face): Deprecate optional argument as it is no
973 longer needed/used since the conditional X resources handling
974 has been pushed down to make-face-x-resource-internal itself.
975 (make-empty-face): Don't pass optional argument to make-face.
977 2014-04-12 Eli Zaretskii <eliz@gnu.org>
979 * international/characters.el <standard-case-table>: Add entries
980 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
981 Set category of Coptic characters be 'g' (Greek).
983 2014-04-12 Leo Liu <sdl.web@gmail.com>
985 * progmodes/octave.el (completion-table-with-cache): Define if not
987 (octave-goto-function-definition)
988 (octave-sync-function-file-names)
989 (octave-find-definition-default-filename): Backquote upattern for
992 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
994 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
995 name twice due to backticks. (Bug#17238)
997 2014-04-11 Glenn Morris <rgm@gnu.org>
999 * term/w32-win.el (x-win-suspend-error):
1000 * term/x-win.el (x-win-suspend-error): Sync docs.
1002 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1004 Ediff's overlay priorities cause more trouble than they solve.
1005 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1006 (ediff-highest-priority): Remove function (bug#17234).
1007 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1008 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1009 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1012 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
1014 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1015 entry; use symbol boundaries to avoid mis-matches.
1017 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
1019 * net/tramp.el (tramp-file-name-handler)
1020 (tramp-completion-file-name-handler): Avoid recursive loading.
1022 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1023 Quote result also locally.
1025 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1027 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1028 Module methods. (Bug#17216)
1030 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1032 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1033 (describe-bindings-internal): Mark obsolete.
1035 2014-04-07 João Távora <joaotavora@gmail.com>
1038 (electric-pair--syntax-ppss): When inside comments parse from
1040 (electric-pair--balance-info): Fix typo in comment.
1041 (electric-pair--in-unterminated-string-p): Delete.
1042 (electric-pair--unbalanced-strings-p): New function.
1043 (electric-pair-string-bound-function): New var.
1044 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1045 according to `electric-pair--in-unterminated-string-p'
1047 2014-04-07 João Távora <joaotavora@gmail.com>
1049 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1050 Inhibit quote pairing if point-max is inside an unterminated string.
1051 (electric-pair--looking-at-unterminated-string-p): Delete.
1052 (electric-pair--in-unterminated-string-p): New function.
1054 2014-04-07 Glenn Morris <rgm@gnu.org>
1056 * shell.el (shell-directory-tracker):
1057 Go back to just ignoring failures. (Bug#17159)
1059 2014-04-06 João Távora <joaotavora@gmail.com>
1061 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1062 backspace. (bug#16981)
1063 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1064 (electric-pair-backward-delete-char-untabify): Delete.
1065 (electric-pair-mode-map): Bind backspace to a menu item filtering
1066 a new `electric-pair-delete-pair' command.
1067 (electric-pair-delete-pair): New command.
1069 2014-04-06 João Távora <joaotavora@gmail.com>
1071 * progmodes/python.el (python-electric-pair-string-delimiter):
1072 Fix triple-quoting electricity. (Bug#17192)
1074 2014-04-06 João Távora <joaotavora@gmail.com>
1076 * elec-pair.el (electric-pair-post-self-insert-function):
1077 Don't skip whitespace when `electric-pair-text-pairs' and
1078 `electric-pair-pairs' were used. syntax to
1079 electric-pair--skip-whitespace. (Bug#17183)
1081 2014-04-06 Eli Zaretskii <eliz@gnu.org>
1083 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1086 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1088 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1089 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1091 2014-04-05 Glenn Morris <rgm@gnu.org>
1093 * help.el (view-lossage): Doc tweak.
1095 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
1097 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1098 only when inhibit-x-resources is nil, and do that earlier in the
1099 function. Doc fix. (Bug#16694)
1100 (face-spec-choose): Accept additional optional argument, whose
1101 value is returned if no matching attributes are found.
1102 (face-spec-recalc): Use the new optional argument when calling
1103 face-spec-choose. (Bug#16378)
1104 (make-face-x-resource-internal): Do nothing when
1105 inhibit-x-resources is non-nil. Don't touch the default face if
1106 reversed video is given--as was done in previous versions of Emacs.
1107 (face-set-after-frame-default): Don't call
1108 make-face-x-resource-internal here. (Bug#16434)
1110 2014-04-04 Tassilo Horn <tsdh@gnu.org>
1112 * doc-view.el (doc-view-bookmark-jump):
1113 Use `bookmark-after-jump-hook' to jump to the right page after the
1114 buffer is shown in a window. (bug#16090)
1116 2014-04-04 Eli Zaretskii <eliz@gnu.org>
1118 * international/characters.el (mirroring): Fix last change:
1119 instead of loading uni-mirrored.el explicitly, do that implicitly
1120 by creating the 'mirroring' uniprop table. This avoids announcing
1121 the loading of uni-mirrored.el.
1123 2014-04-04 Glenn Morris <rgm@gnu.org>
1125 * files.el (buffer-stale--default-function)
1126 (buffer-stale-function, revert-buffer--default):
1127 * autorevert.el (auto-revert-buffers): Doc tweaks.
1129 2014-04-03 Eli Zaretskii <eliz@gnu.org>
1131 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1133 2014-04-03 Glenn Morris <rgm@gnu.org>
1135 * files.el (make-backup-file-name-function)
1136 (make-backup-file-name, make-backup-file-name--default-function)
1137 (make-backup-file-name-1, find-backup-file-name)
1138 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1139 (buffer-stale--default-function, buffer-stale-function)
1140 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1141 (revert-buffer, revert-buffer--default)
1142 (revert-buffer-insert-file-contents--default-function):
1143 Doc fixes related to defaults no longer being nil.
1144 (make-backup-file-name-function): Bump :version.
1145 Restore nil as a valid but deprecated custom type.
1147 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1149 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
1150 used as a variable (bug#17174).
1152 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1154 * progmodes/perl-mode.el (perl-indent-new-calculate):
1155 Handle forward-sexp failure (bug#16985).
1156 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1157 modifiers introducing expressions (bug#17116).
1159 2014-04-02 Glenn Morris <rgm@gnu.org>
1161 * menu-bar.el (menu-bar-file-menu):
1162 * vc/ediff.el (ediff-current-file):
1163 Update for revert-buffer-function no longer being nil by default.
1165 * simple.el (command-execute): Respect nil disabled-command-function.
1167 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1169 * simple.el (command-execute): Do not execute the command when it
1170 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1172 2014-03-29 Juri Linkov <juri@jurta.org>
1174 * dired-aux.el (dired-compress-file): Don't use string-match-p
1175 because its match data is used afterwards.
1177 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1179 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1182 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1184 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1185 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1187 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1188 Don't propertize `?' or `!' as symbol constituent when after
1191 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1193 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1194 which is no longer needed and causes trouble in GTK builds (bug#17046).
1196 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1197 Use url-insert-file-contents; package-handle-response no longer exists.
1199 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1201 * emacs-lisp/package.el: Fix bug#16733 (again).
1202 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1203 (url-http-target-url): Remove unused declarations.
1204 (package-handle-response): Remove.
1205 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1206 (package--download-one-archive): Use current-buffer instead of
1207 dynamic binding of `buffer'.
1208 (describe-package-1): Do not decode readme-string.
1210 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
1212 * simple.el (primitive-undo): Correction to 2014-03-24 change.
1214 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
1216 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1218 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1219 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1220 `remote-file-name-inhibit-cache' to nil in the second pass.
1221 (tramp-find-executable): Do not call "which" on SunOS.
1222 (tramp-send-command-and-check): Fix docstring.
1223 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1224 check whether source directory has set the sticky bit.
1226 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
1228 * simple.el (primitive-undo): Only process marker adjustments
1229 validated against their corresponding (TEXT . POS). Issue warning
1230 for lone marker adjustments in undo history. (Bug#16818)
1231 (undo-make-selective-list): Add marker adjustments to selective
1232 undo list based on whether their corresponding (TEXT . POS) is in
1233 the region. Remove variable adjusted-markers, which was unused
1234 and only non nil during undo-make-selective-list.
1235 (undo-elt-in-region): Return nil when passed a marker adjustment
1236 and explain in function doc.
1238 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1240 * emacs-lisp/package.el (package--add-to-archive-contents):
1241 Include already installed and built-in packages in
1242 `package-archive-contents'.
1243 (package-install): Don't include already installed packages in the
1244 options during interactive invocation. (Bug#16762)
1246 2014-03-24 Daniel Colascione <dancol@dancol.org>
1248 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1249 instead of cl-loop search function.
1251 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
1253 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1255 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1257 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1259 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1261 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1262 Match special global variables without curlies, too.
1263 (ruby-font-lock-keywords): Simplify the matcher for special global
1264 variables. Don't require a non-word character after the variable.
1267 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1269 * simple.el (redisplay-highlight-region-function): Increase priority of
1270 overlay to make sure boundaries are visible (bug#15899).
1272 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1274 * frameset.el (frameset-restore): Compare display strings with equal.
1276 * frame.el (make-frame): Don't quote display name in error message,
1277 it is already a string.
1279 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1281 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1284 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
1286 * emacs-lisp/package.el (package-show-package-list): If the buffer
1287 is already displayed in another window, switch to that window.
1289 2014-03-21 Daniel Colascione <dancol@dancol.org>
1291 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1292 information in bug reports.
1294 2014-03-23 Daniel Colascione <dancol@dancol.org>
1296 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1297 list to look for keyword arguments instead of `memq', fixing
1298 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1299 Please make bootstrap.
1301 2014-03-23 Richard Stallman <rms@gnu.org>
1303 * battery.el (battery-linux-sysfs): Search for each field
1304 from the beginning of the buffer.
1306 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1308 * emacs-lisp/package.el (package-desc): Use the contents of the
1309 quoted form, not its cdr. (Bug#16873)
1311 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1313 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1314 benefit of doc.c; change parameter profile to match the X function.
1316 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1318 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1319 and `tramp-copy-env'.
1321 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1322 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1324 2014-03-21 Glenn Morris <rgm@gnu.org>
1326 * electric.el (electric-indent-post-self-insert-function): Add doc.
1328 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1330 * emacs-lisp/package.el (package-compute-transaction):
1331 Use `version-list-<=' to compare the requirement version against
1332 the version of package already to be installed. Update the error
1333 message. (Bug#16826)
1335 * progmodes/ruby-mode.el (ruby-smie-rules):
1336 Add indentation rule for ` @ '. (Bug#17050)
1338 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1340 * align.el (align-regexp): Remove superfluous backslash.
1342 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1343 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1344 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1345 Fix docstring typos.
1346 (ffap-next): Use C-u in docstring.
1347 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1348 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1349 Remove superfluous backslashes.
1350 (ffap-string-at-point): Reflow docstring.
1352 * server.el (server-host): Reflow docstring.
1353 (server-unload-function): Fix docstring typo.
1354 (server-eval-at): Remove superfluous backslash.
1356 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1357 (skeleton-insert): Doc fix.
1358 (skeleton-insert): Reflow docstring.
1360 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1361 (tty-color-approximate, tty-color-by-index, tty-color-values)
1362 (tty-color-desc): Remove superfluous backslashes.
1364 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1366 * electric.el (electric-newline-and-maybe-indent): New command.
1367 Bind it globally to C-j.
1368 (electric-indent-mode): Don't mess with the global map any more.
1369 Don't drop the post-self-insert-hook is some buffer is still using it
1372 * bindings.el (global-map): Remove C-j binding.
1374 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1375 the docstring of functions advised before dumping (bug#16993).
1377 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1379 * ps-print.el (ps-generate-postscript-with-faces):
1380 Explicitly deactivate the mark (bug#16866).
1381 * simple.el (deactivate-mark): Update region highlight.
1383 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
1385 * emacs-lisp/package.el (describe-package-1):
1386 Decode commentary (bug#16733).
1388 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
1390 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1391 modification of the value argument of :set (bug#16755).
1393 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1395 * simple.el (newline-and-indent): Do autofill (bug#17031).
1397 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1399 * newcomment.el (comment-normalize-vars): Only add escaping check
1400 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1401 (comment-beginning): Use `narrow-to-region' instead of moving back
1403 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1404 (comment-start-skip): Update the docstring.
1406 2014-03-18 Richard Stallman <rms@gnu.org>
1408 * dired.el (dired-display-file): Force use of other window.
1410 2014-03-18 Daniel Colascione <dancol@dancol.org>
1412 * startup.el (tty-handle-args): Remove debug message from 2007.
1414 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1416 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1417 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1418 (advice--make-1, advice-add, advice-remove):
1419 Remove braindead :advice-pending hack.
1421 2014-03-17 Glenn Morris <rgm@gnu.org>
1423 * calendar/calendar.el (calendar-generate-month): Apply weekend
1424 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1426 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
1428 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1429 (tramp-call-process): Trace also DESTINATION.
1431 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1432 Quote file names when they are local. Remove superfluous trace.
1434 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1436 * newcomment.el (comment-beginning): If `comment-start-skip'
1437 doesn't match, move back one char and try again. (Bug#16971)
1439 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1440 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
1441 Set `comment-start-skip' to a simpler value that doesn't try to
1442 check if the semicolon is escaped (this is handled by
1443 `syntax-ppss' now). (Bug#16971)
1445 * progmodes/scheme.el (scheme-mode-variables): Same.
1447 2014-03-16 Martin Rudalics <rudalics@gmx.at>
1449 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1450 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1451 current (Bug#16816, Bug#17007).
1452 (with-current-buffer-window): New macro doing the same as
1453 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1454 * help.el (help-print-return-message): Warn in doc-string to not
1455 use this in `with-help-window'.
1456 (describe-bindings-internal): Call `describe-buffer-bindings'
1457 from within help buffer. See Juanma's scenario in (Bug#16816).
1458 (with-help-window): Update doc-string.
1459 * dired.el (dired-mark-pop-up):
1460 * files.el (save-buffers-kill-emacs):
1461 * register.el (register-preview): Use `with-current-buffer-window'
1462 instead of `with-temp-buffer-window'.
1464 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
1466 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1467 Implement inserting into current buffer, documented in their docstrings.
1468 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1469 (rst-section-tree-point, rst-forward-section, rst-indent)
1470 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1471 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1472 (rst-font-lock-handle-adornment-pre-match-form)
1473 (rst-repeat-last-character): Reflow docstrings.
1474 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1475 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1476 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1477 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1478 Fix docstring typos.
1479 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1480 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1481 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1483 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
1485 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1486 for compatibility with other ports.
1487 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1488 from the -xrm command line argument, but in the Nextstep port its value
1489 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1491 * progmodes/python.el (defconst, python-syntax-count-quotes)
1492 (python-indent-region, python-indent-shift-right)
1493 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1494 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1495 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1496 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1497 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1498 (python-shell-buffer-substring, python-shell-send-buffer)
1499 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1500 (python-completion-complete-at-point, python-fill-docstring-style)
1501 (python-eldoc-function, python-imenu-format-item-label)
1502 (python-imenu-format-parent-item-label)
1503 (python-imenu-format-parent-item-jump-label)
1504 (python-imenu--build-tree, python-imenu-create-index)
1505 (python-imenu-create-flat-index): Fix docstring typos.
1506 (python-indent-context, python-shell-prompt-regexp, run-python):
1507 Remove superfluous backslashes.
1508 (python-indent-line, python-nav-beginning-of-defun)
1509 (python-shell-get-buffer, python-shell-get-process)
1510 (python-info-current-defun, python-info-current-line-comment-p)
1511 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1512 (python-indent-post-self-insert-function, python-shell-send-file)
1513 (python-shell-completion-get-completions)
1514 (python-shell-completion-complete-or-indent)
1515 (python-eldoc--get-doc-at-point): Reflow docstrings.
1517 2014-03-14 Glenn Morris <rgm@gnu.org>
1519 * emacs-lisp/package.el (package-menu-mode-map):
1520 Replace use of obsolete function alias. Tweak menu item text.
1522 * info.el (Info-finder-find-node):
1523 Ignore the `emacs' metapackage. (Bug#10813)
1525 * finder.el (finder-list-matches): Include unversioned packages
1526 in the result of a keyword search.
1528 * finder.el (finder--builtins-descriptions): New constant.
1529 (finder-compile-keywords): Use finder--builtins-descriptions.
1531 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1533 * simple.el (blink-matching-paren): Describe the new value,
1534 `jump', enabling the old behavior.
1535 (blink-matching-open): Use that value. (Bug#17008)
1537 2014-03-14 Glenn Morris <rgm@gnu.org>
1539 * finder.el (finder-no-scan-regexp): Add leim-list.
1540 (finder-compile-keywords):
1541 Don't skip files with same basename. (Bug#14010)
1542 * Makefile.in (setwins_finder): New, excluding leim.
1543 (finder-data): Use setwins_finder.
1545 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1546 (help-function-arglist, help-make-usage): Move from here...
1547 * help.el (help-split-fundoc, help-add-fundoc-usage)
1548 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1549 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1551 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
1553 * net/socks.el (socks, socks-override-functions)
1554 (socks-find-services-entry):
1555 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1556 (hif-find-ifdef-block):
1557 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1559 * net/tls.el (tls-program): Reflow docstring.
1561 * progmodes/pascal.el (pascal-mode-abbrev-table)
1562 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1563 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1564 (pascal-outline-mode): Fix docstring typos.
1565 (pascal-mode): Let define-derived-mode document mode hook.
1566 (pascal-uncomment-area): Reflow.
1567 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1569 * progmodes/opascal.el (opascal-compound-block-indent)
1570 (opascal-case-label-indent): Fix docstring typos.
1571 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1573 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1575 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1576 Fontify multiple adjacent negation chars. (Bug#17004)
1578 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1580 * emacs-lisp/package.el (package--prepare-dependencies):
1581 Accept requirements without explicit version (bug#14941).
1583 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1585 * register.el (register-separator, copy-to-register): Doc fixes.
1586 (register-preview-default): Remove unnecessary call to concat.
1588 * frameset.el (frameset-restore): When checking for a visible frame,
1589 use the action map instead of calling visible-frame-list.
1591 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1593 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1595 2014-03-12 Martin Rudalics <rudalics@gmx.at>
1597 * window.el (fit-frame-to-buffer): Get maximum width from
1598 display's width instead of height.
1600 2014-03-12 Glenn Morris <rgm@gnu.org>
1602 * desktop.el (desktop-restore-frames)
1603 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1604 (desktop-restore-reuses-frames): Doc tweaks.
1606 * electric.el (electric-indent-mode): Doc fix.
1608 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1610 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1611 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1612 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1613 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1614 (cvs-dired-use-hook): Fix docstring typos.
1615 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1618 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1619 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1620 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1621 (cvs-execute-single-dir): Fix docstring typos.
1623 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1624 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1626 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1628 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1629 Fix docstring typos.
1631 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1633 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1634 called from jump-to-register after unloading the frameset package.
1636 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1638 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1639 (bug#16975). Deactivate the mark before setting it to nil.
1640 (activate-mark): Do nothing if region is already active.
1642 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1644 * frameset.el (frameset--target-display): Remove definition; declare.
1645 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1647 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1649 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1650 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1651 when the advice is pending.
1652 (advice-remove): Remove this marker when not needed any more.
1654 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1656 * frameset.el: Separate options for reusing frames and cleaning up.
1657 (frameset--reuse-list): Remove definition; declare.
1658 (frameset--action-map): Declare.
1659 (frameset--find-frame-if): Doc fix.
1660 (frameset--restore-frame): Cache frame action.
1661 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1662 how to clean up the frame list after restoring. Remove cleaning
1663 options from REUSE-FRAMES. Change all keyword values to symbols.
1664 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1666 * desktop.el (desktop-restore-forces-onscreen)
1667 (desktop-restore-reuses-frames): Use non-keyword values.
1668 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1670 2014-03-10 Glenn Morris <rgm@gnu.org>
1672 * files.el (find-file): Doc fix: update info node name.
1674 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1675 Doc fix: remove references to deleted info nodes.
1677 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
1679 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1680 Do not add `nil' to the environment, when there's no remote `locale'.
1681 (tramp-find-inline-encoding): Check, that the remote host has
1682 installed perl, before sending scripts.
1684 2014-03-10 Leo Liu <sdl.web@gmail.com>
1686 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1687 Clear eldoc-last-message. (Bug#16920)
1689 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1691 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1694 2014-03-09 Juri Linkov <juri@jurta.org>
1696 * ansi-color.el (ansi-color-names-vector): Copy default colors
1697 from `xterm-standard-colors' that look well on the default white
1698 background (and also on the black background) to avoid illegible
1699 color combinations like yellow-on-white and white-on-white.
1700 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1702 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
1704 * frameset.el (frameset-restore): When no frame is visible, do not
1705 generate a list of frames, just make visible the selected one.
1707 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1709 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1710 it only contains the repository root. (Bug#16897)
1712 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
1714 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1715 only when `remote-file-name-inhibit-cache' is nil.
1716 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1718 2014-03-06 Martin Rudalics <rudalics@gmx.at>
1720 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1722 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1723 fit-frame-to-buffer variable. Fix doc-string.
1724 (fit-window-to-buffer): Set ONLY argument in call of
1725 fit-frame-to-buffer. Fix doc-string.
1727 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
1729 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1730 (tramp-action-password): Clear password cache if needed.
1731 (tramp-read-passwd): Do not clear password cache.
1733 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1734 cache unless it is the first password request.
1736 2014-03-06 Glenn Morris <rgm@gnu.org>
1738 * simple.el (newline): Doc tweak.
1740 * emacs-lisp/shadow.el (load-path-shadows-find):
1741 Ignore dir-locals. (Bug#12357)
1743 2014-03-05 Glenn Morris <rgm@gnu.org>
1745 * files.el (interpreter-mode-alist):
1746 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1748 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1750 * frameset.el (frameset--initial-params): Filter out null entries.
1752 2014-03-05 Martin Rudalics <rudalics@gmx.at>
1754 * window.el (window-min-height, window-min-width):
1755 Rewrite doc-strings.
1756 (window-body-size): Add PIXELWISE argument to make it consistent
1759 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1761 * finder.el (finder-mode-map, finder-mode-syntax-table):
1762 Revert part of 2014-02-28 change.
1764 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1766 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1767 (eww-setup-buffer): Clear next/prev/etc more reliably.
1768 (eww-textarea-map): [tab] doesn't work on tty.
1769 Reported by Mario Lang.
1771 * net/shr.el (shr-map): Ditto.
1773 2014-03-04 Glenn Morris <rgm@gnu.org>
1775 * minibuffer.el (completion-hilit-commonality):
1776 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1778 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1780 * hilit-chg.el (hilit-chg-unload-function): New function.
1781 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1782 (hilit-chg-map-changes): Prefer cardinal number to digit.
1783 (hilit-chg-display-changes): Reflow docstring.
1784 (highlight-changes-rotate-faces): Remove superfluous backslash.
1786 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
1788 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1789 `tramp-send-command-and-check'.
1791 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1793 * hexl.el (hexl-address-region, hexl-ascii-region)
1794 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1795 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1796 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1797 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1798 (hexl-mode): Doc fix.
1799 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1800 (hexl-mode-ruler): Fix typos in docstrings.
1802 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1803 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1804 Remove superfluous backslashes.
1805 (strokes-last-stroke, strokes-global-map, strokes-mode):
1807 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1808 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1809 (strokes-distance-squared, strokes-global-set-stroke)
1810 (strokes-global-set-stroke-string): Doc fixes.
1811 (strokes-help): Fix typos; reflow docstring.
1813 2014-03-04 Martin Rudalics <rudalics@gmx.at>
1815 * window.el (window-in-direction): Fix doc-string.
1817 2014-03-04 Glenn Morris <rgm@gnu.org>
1819 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1820 Explicit error if no grammar.
1821 (smie-config-save): Doc fix. Fix quote typo.
1823 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1825 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1826 electric-indent-mode-hook if we obey electric-indent-mode.
1827 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1828 decide whether we obey electric-indent-mode.
1829 (c-change-set-fl-decl-start, c-extend-after-change-region):
1831 (c-electric-indent-mode-hook): Assume we do want to obey
1832 electric-indent-mode.
1834 * electric.el (electric-indent-mode-has-been-called): Remove.
1835 (electric-indent-mode): Fix accordingly.
1837 * files.el (hack-local-variables): Mention file name in warning.
1839 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1841 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
1843 * bindings.el: Add comment describing why C-d binds to `delete-char'.
1844 * simple.el (delete-forward-char): Mark as interactive-only.
1846 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
1848 * icomplete.el (icomplete-completions):
1849 Follow-up to 2014-03-01 change.
1851 * icomplete.el: Miscellaneous doc fixes.
1852 Use Icomplete everywhere instead of icomplete for consistency.
1853 (icomplete-max-delay-chars): Fix typo.
1854 (icomplete-mode): Use \[].
1855 (icomplete-tidy, icomplete-exhibit): Reflow.
1856 (icomplete-minibuffer-setup-hook, icomplete-completions):
1857 Remove superfluous backlashes.
1859 * ido.el: Miscellaneous doc fixes.
1860 Use Ido everywhere instead of ido or `ido' for consistency.
1861 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
1862 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
1863 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
1864 (ido-separator): Extract obsolescence info from docstring and declare
1865 with make-obsolete-variable.
1866 (ido-minibuffer-setup-hook): Simplify example.
1867 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
1868 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
1869 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
1870 (ido-everywhere): Reflow docstring.
1871 (ido-toggle-vc): Doc fix.
1872 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1873 of long list of keybindings.
1875 2014-03-03 Glenn Morris <rgm@gnu.org>
1877 * frame.el (display-pixel-height, display-pixel-width)
1878 (display-mm-dimensions-alist, display-mm-height)
1879 (display-mm-width): Doc tweaks.
1881 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
1883 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1884 case of undo in region.
1886 2014-03-02 Martin Rudalics <rudalics@gmx.at>
1888 * window.el (fit-window-to-buffer): Fix argument in window-size
1889 call when window is horizontally combined.
1891 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
1893 * icomplete.el (icomplete-completions): Use string-width.
1894 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1896 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1898 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1899 Highlight regexp options. (Bug#16914)
1901 2014-03-01 Martin Rudalics <rudalics@gmx.at>
1903 * window.el (window--max-delta-1): Round down when calculating
1904 how many lines/columns we can get from a window.
1906 2014-03-01 Glenn Morris <rgm@gnu.org>
1908 * isearch.el (search-invisible): Doc fix.
1910 * minibuffer.el (completion-hilit-commonality):
1911 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1912 * comint.el (comint-dynamic-list-completions): Doc fix.
1913 * comint.el (comint-dynamic-list-completions):
1914 * filecache.el (file-cache-minibuffer-complete):
1915 * tempo.el (tempo-display-completions):
1916 * eshell/em-hist.el (eshell-list-history):
1917 Replace use of obsolete argument of display-completion-list.
1919 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
1921 * icomplete.el (icomplete-completions):
1922 Revert back to using "..." when ?… cannot be displayed.
1924 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1926 * finder.el (finder-unload-function): New function.
1928 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1930 * dframe.el (dframe-detach):
1931 * find-dired.el (find-dired, find-name-dired):
1932 * finder.el (finder-mode-map, finder-mode-syntax-table)
1933 (finder-headmark, finder-select, finder-mouse-select):
1934 Fix docstring typos.
1936 2014-02-28 Martin Rudalics <rudalics@gmx.at>
1938 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
1939 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1940 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1941 Fix doc-string based on a suggestion by Nicolas Richard
1942 <theonewiththeevillook@yahoo.fr>.
1943 * help.el (with-help-window): Fix doc-string.
1945 2014-02-28 Ivan Kanis <ivan@kanis.fr>
1947 * net/shr.el (shr-image-animate): New option.
1948 (shr-put-image): Respect shr-image-animate.
1950 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
1952 * net/tramp-adb.el (tramp-adb-parse-device-names):
1953 Use `accept-process-output'.
1954 (tramp-adb-handle-file-truename): Cache the localname only.
1955 (tramp-adb-handle-make-directory)
1956 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1957 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1958 modes cannot be changed.
1960 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1961 file properties of symlinks.
1963 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1965 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1966 required/optional fields to match development biblatex. (Bug#16781)
1968 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1970 * saveplace.el (toggle-save-place):
1971 Fix argument handling. (Bug#16673)
1973 2014-02-28 Glenn Morris <rgm@gnu.org>
1975 * minibuffer.el (completions-first-difference)
1976 (completions-common-part, completion-hilit-commonality): Doc fixes.
1978 2014-02-28 Karl Berry <karl@gnu.org>
1980 * info.el (Info-mode-map): Add H for describe-mode,
1981 to synchronize with standalone Info.
1983 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
1985 * progmodes/sql.el (sql-interactive-mode):
1986 Avoid setting global comint-input-ring-separator. (Bug#16814)
1988 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1990 * net/dbus.el (dbus--init-bus): Declare function.
1991 (dbus-path-local, dbus-interface-local): New defconst.
1992 (dbus-init-bus): Use them.
1993 (dbus-return-values-table): Extend doc.
1994 (dbus-handle-bus-disconnect): Extend error message.
1996 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
1998 * subr.el (y-or-n-p): Fix double space issue in message.
2000 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2002 * net/tramp.el (tramp-call-process): Improve trace message.
2003 (tramp-handle-insert-file-contents): Trace error case.
2005 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2006 <insert-directory>: Use `tramp-handle-insert-directory'.
2007 (tramp-adb-handle-insert-directory): Remove function.
2008 (tramp-adb-send-command-and-check): New defun, replacing
2009 `tramp-adb-command-exit-status'. Change all callees.
2010 (tramp-adb-handle-file-attributes)
2011 (tramp-adb-handle-directory-files-and-attributes): Use it.
2012 (tramp-adb-ls-output-name-less-p):
2013 Use `directory-listing-before-filename-regexp'.
2014 (tramp-adb-handle-delete-directory): Flush also file properties of
2015 the truename of directory.
2016 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2017 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2018 (tramp-adb-handle-write-region): Implement APPEND.
2019 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2020 properties correctly.
2021 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2022 variables. Check for connected devices only when needed.
2024 2014-02-27 Glenn Morris <rgm@gnu.org>
2026 * minibuffer.el (completion-table-dynamic)
2027 (completion-table-with-cache): Doc fixes.
2029 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2030 (completing-read-multiple): Doc fixes.
2032 2014-02-27 Daniel Colascione <dancol@dancol.org>
2034 * minibuffer.el (completion--nth-completion): Fix indentation.
2036 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2037 explicit tramp path is empty.
2039 2014-02-27 Glenn Morris <rgm@gnu.org>
2041 * emacs-lisp/crm.el (completing-read-multiple):
2042 Empower help-enable-auto-load.
2044 2014-02-26 Glenn Morris <rgm@gnu.org>
2046 * startup.el (command-line): Don't init the tty in daemon mode.
2048 Avoid calling tty-setup-hook twice, eg if a term file
2049 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2050 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2051 (tty-create-frame-with-faces): Use it.
2052 * startup.el (command-line): Pass run-hook argument
2053 to tty-run-terminal-initialization.
2055 * dired.el (dired-restore-desktop-buffer): Demote errors;
2056 eg in case a glob match fails. (Bug#16884)
2058 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2060 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2061 error from `read-from-string'. (Bug#16850)
2063 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2064 result of `completing-read' in the interactive form. (Bug#16854)
2066 2014-02-25 Glenn Morris <rgm@gnu.org>
2068 * image.el (image-animate, image-animate-timeout):
2069 Stop animating images in dead buffers. (Bug#16878)
2071 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2073 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2075 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2076 * term/sun.el (sun-raw-prefix-hooks):
2077 Use tty-setup-hook instead of term-setup-hook.
2078 (terminal-init-sun): Construct message from bytecomp plist.
2079 * term/wyse50.el (enable-arrow-keys): Doc fix.
2081 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2083 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2084 Fix docstring typos.
2086 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2088 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2090 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2092 * minibuffer.el (completion--try-word-completion):
2093 Fix error when completing M-x commands (bug#16808).
2095 2014-02-24 Leo Liu <sdl.web@gmail.com>
2097 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2099 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2101 * apropos.el (apropos-print): Avoid formatting error when
2102 apropos-do-all and apropos-compact-layout are both t.
2104 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2106 * apropos.el (apropos-property, apropos-all-words-regexp)
2107 (apropos-true-hit, apropos-variable, apropos-print):
2108 Fix docstring typos, and remove obsolete comment.
2110 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2112 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2113 Preserve trailing "/". (Bug#16851)
2115 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2117 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2118 after `=>' (bug#16811).
2119 (ruby-smie-rules): Handle the inconsistent second element of the
2120 list returned by `smie-indent--parent'.
2121 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2124 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2126 * elec-pair.el (electric-pair-text-syntax-table)
2127 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2128 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2129 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2130 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2132 2014-02-22 Glenn Morris <rgm@gnu.org>
2134 * imenu.el (imenu--generic-function): Doc fix.
2136 * register.el (frame-configuration-to-register): Make obsolete.
2138 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2140 * desktop.el (desktop-save-buffer-p): Do not fail when
2141 desktop-files-not-to-save is nil. Return t for true result
2144 2014-02-22 Daniel Colascione <dancol@dancol.org>
2146 * net/secrets.el (secrets-create-item, secrets-search-items):
2147 Check that attribute values are strings, avoiding the construction
2148 of invalid dbus messages.
2150 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2152 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2153 defun-declarations-alist.
2155 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2157 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2160 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2162 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2163 (whitespace-newline, whitespace-trailing, whitespace-line)
2164 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2165 (whitespace-space-after-tab): Fix typo in docstrings.
2167 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2169 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2171 * electric.el (electric-indent-functions-without-reindent):
2172 Add `yaml-indent-line'.
2174 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2176 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2177 It has done nothing for years; should be removed after the release.
2179 * simple.el (choose-completion): Fix docstring typo.
2180 (read-quoted-char-radix): Remove unneeded * in docstring.
2181 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2182 Don't escape parentheses unnecessarily in docstrings.
2184 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2186 Fix handling of window-min-height/-width (Bug#16738).
2187 * window.el (window--dump-window, window--dump-frame):
2189 (window--min-size-1): Account for window dividers.
2190 When window-resize-pixelwise is nil, delay rounding till after the
2191 sum of the window components has been calculated.
2192 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2193 nil make sure at least one text line and two text columns remain
2195 (window-resize): Signal an error when window-resize-apply fails.
2196 (window--resize-child-windows): Fix calculation of by how many
2197 pixels a window can still be shrunk via window-new-normal.
2198 (adjust-window-trailing-edge): Call window--resizable with
2199 correct TRAIL argument.
2201 (with-temp-buffer-window): Don't evaluate BODY within
2202 with-current-buffer (Bug#16816).
2204 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2206 * net/tramp.el (tramp-check-cached-permissions):
2207 Call `file-attributes' with `suffix' being a symbol but a string.
2209 2014-02-21 Daniel Colascione <dancol@dancol.org>
2211 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2212 (dbus-init-bus): New function: call into dbus-init-bus-1
2213 and installs a handler for the disconnect signal.
2214 (dbus-call-method): Rewrite to look for result in cons.
2215 (dbus-call-method-handler): Store result in cons.
2216 (dbus-check-event): Recognize events with nil sender as valid.
2217 (dbus-handle-bus-disconnect): New function. React to bus
2218 disconnection signal by synthesizing dbus error for each
2219 pending synchronous or asynchronous call.
2220 (dbus-notice-synchronous-call-errors): New function.
2221 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2222 is true, not all the time.
2224 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2226 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2227 Remove obsolescence declarations, these variables do not exist anymore.
2229 * savehist.el (savehist-save-minibuffer-history)
2230 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2231 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2232 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2233 mostly, refer to "Savehist mode" when talking about the mode,
2234 and not the function.
2236 * saveplace.el (save-place): Remove redundant info in docstring.
2237 (save-place-forget-unreadable-files, toggle-save-place)
2238 (save-place-forget-unreadable-files, save-place-dired-hook):
2239 Fix typos and remove unneeded backslashes.
2241 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2243 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2244 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2246 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2247 <insert-directory>: Use `tramp-handle-insert-directory'.
2248 (tramp-gvfs-handle-insert-directory): Remove function.
2250 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2251 Call `tramp-handle-insert-directory'.
2253 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2255 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2256 before the start of buffer/region (bug#16799).
2258 2014-02-20 Glenn Morris <rgm@gnu.org>
2260 * isearch.el (search-invisible): Doc fix.
2262 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2264 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2267 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2269 * frameset.el (frameset-restore): Delay removing an old frame's
2270 duplicate id until the new frame has been correctly created.
2272 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2274 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2275 (tramp-check-cached-permissions): Call `file-attributes' if the
2278 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2279 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2281 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2282 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2283 (tramp-gvfs-maybe-open-connection): Set always connection
2284 properties, even if target is mounted already.
2286 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2287 Set tramp-autoload cookie.
2288 (tramp-get-remote-touch): New defun.
2289 (tramp-sh-handle-set-file-times): Use it.
2290 (tramp-sh-handle-directory-files-and-attributes):
2291 Use `tramp-handle-directory-files-and-attributes' if neither stat
2292 nor perl are available on the remote host.
2294 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2295 "/". Write long listing only when "l" belongs to the switches.
2297 * net/trampver.el: Update release number.
2299 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2301 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2303 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2305 * window.el (window-state-put): Allow WINDOW to refer to an
2306 internal window (Bug#16793).
2308 2014-02-19 Glenn Morris <rgm@gnu.org>
2310 * textmodes/remember.el: Move provide statement to end.
2311 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2312 (remember-notes): Doc fixes.
2314 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2316 * delsel.el (delete-char): Restore incorrectly erased property
2319 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2321 * frameset.el (frameset--restore-frame): When a frame is being reused
2322 and its root window is not alive, delete all the frame's windows before
2323 restoring the window state. This works around the issue in bug#16793.
2325 2014-02-18 Glenn Morris <rgm@gnu.org>
2327 * textmodes/remember.el (remember-data-directory)
2328 (remember-directory-file-name-format, remember-store-in-files)
2329 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2330 (remember-notes-save-and-bury-buffer)
2331 (remember-notes--kill-buffer-query): Doc fixes.
2333 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2335 2014-02-17 Alan Mackenzie <acm@muc.de>
2337 Connect electric-indent-mode up with CC Mode. Bug #15478.
2338 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2339 to electric-indent-{,local-}-mode.
2340 (c-basic-common-init): Set electric-indent-inhibit.
2341 Initialise c-electric-flag from electric-indent-mode.
2342 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2343 New hook functions which propagate electric-indent-mode to CC mode.
2345 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2346 hit, toggle electric-indent-local-mode.
2348 * electric.el (electric-indent-mode-has-been-called):
2351 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2353 * frameset.el (frameset-cfg-id): New function.
2354 (frameset--reuse-frame, frameset-restore): Use it.
2355 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2357 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2359 * ido.el (ido-file-internal): Remove unused var `d'.
2360 Use \` for to match BoS. Fit within 80n columns.
2362 2014-02-17 Daniel Colascione <dancol@dancol.org>
2364 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2365 dbus-call-method check for completion using a busy-wait loop with
2368 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2370 Sync with Tramp 2.2.9.
2372 * net/trampver.el: Update release number.
2374 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2376 * ido.el (ido-file-internal): Don't add the name of an existing
2377 directory twice. (Bug#16747)
2379 2014-02-16 Glenn Morris <rgm@gnu.org>
2381 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2382 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2384 2014-02-15 Michael R. Mauger <michael@mauger.com>
2386 * progmodes/sql.el: Version 3.4
2387 (sql-oracle-options): New default value ("-L").
2388 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
2389 (sql-placeholders-filter): Correct placeholder pattern.
2390 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
2391 (sql-login-delay): New variable.
2392 (sql-product-interactive): Use it.
2394 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
2396 * frameset.el (frameset--jump-to-register): Check that buffer is live
2399 2014-02-15 Glenn Morris <rgm@gnu.org>
2401 * info.el (info-initialize): Revert 2014-01-10 change.
2403 2014-02-14 Glenn Morris <rgm@gnu.org>
2405 * replace.el (map-query-replace-regexp)
2406 (read-regexp-defaults-function, read-regexp): Doc fixes.
2408 * dired.el (dired-read-regexp):
2409 * faces.el (list-faces-display):
2410 * misearch.el (multi-isearch-read-matching-buffers)
2411 (multi-isearch-read-matching-files):
2412 * play/cookie1.el (cookie-apropos):
2413 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2415 * textmodes/remember.el (remember): Use frameset-to-register
2416 rather than frame-configuration-to-register.
2418 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2420 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2421 incorrect keybinding.
2423 2014-02-13 Daniel Colascione <dancol@dancol.org>
2425 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2426 when adding overlays so that line numbers from compiler match line
2429 2014-02-13 Glenn Morris <rgm@gnu.org>
2431 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2433 * jit-lock.el (jit-lock-mode): Doc fix.
2435 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
2437 * apropos.el (apropos-read-pattern): When the user passes an empty
2438 string, give a more helpful error message than "Wrong type
2439 argument: stringp, nil".
2441 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2443 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2445 2014-02-13 Glenn Morris <rgm@gnu.org>
2447 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2449 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2451 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2452 shift-select commands.
2454 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2456 * progmodes/js.el (js-indent-line): Don't widen.
2457 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2459 2014-02-12 Glenn Morris <rgm@gnu.org>
2461 * icomplete.el (icomplete): Add info-link to defgroup.
2462 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2463 (icomplete-minibuffer-map, icomplete-mode)
2464 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2466 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2467 (package-menu-filter): Rename from package-menu-filter-interactive.
2470 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
2472 * frameset.el (frameset--jump-to-register): Select the required
2473 window and buffer before restoring position (bug#16696).
2475 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2477 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2479 2014-02-10 Glenn Morris <rgm@gnu.org>
2481 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2483 2014-02-10 Eli Zaretskii <eliz@gnu.org>
2485 * w32-common-fns.el (x-get-selection): Doc fix.
2486 * select.el (x-get-selection): Doc fix. (Bug#15109)
2488 * face-remap.el (face-remap-add-relative)
2489 (face-remap-remove-relative, face-remap-reset-base)
2490 (face-remap-set-base): Call force-mode-line-update to redisplay
2491 the current buffer due to potential change in faces. (Bug#16709)
2493 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
2495 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2496 script more robustly.
2498 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2500 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2502 * simple.el (choose-completion): Doc fix (bug#14160).
2504 * subr.el (event-start): Say what a nil EVENT value means.
2506 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2509 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2511 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2513 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2515 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2516 predicate function (bug#15455).
2518 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2520 * ielm.el (inferior-emacs-lisp-mode): Instead of
2521 `comment-use-global-state', set `comment-use-syntax'.
2523 2014-02-10 Glenn Morris <rgm@gnu.org>
2525 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2527 2014-02-09 Alan Mackenzie <acm@muc.de>
2529 Fix c-invalidate-state-cache on narrowed buffers.
2530 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2531 Widen when setting and clearing the CPP delimiter properties.
2533 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2535 * help.el (describe-bindings): Doc fix (bug#9888).
2537 * files.el (save-buffer): Use ARG as the parameter name for
2538 consistency (bug#10346).
2539 (save-buffer): Clarify the 0 argument (bug#10346).
2541 * cus-edit.el (customize-apropos): Fix error string.
2542 (custom-buffer-create): Doc fix (bug#11122).
2543 (custom-sort-items): Doc fix (bug#11121).
2545 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2547 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
2548 (icomplete-simple-completing-p): Mention the previous variable.
2550 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2551 meaning of the parameter (bug#12282).
2553 * files.el (find-file-noselect): Clarify prompt when changing
2554 readedness (bug#13261).
2555 (locate-file): Suffixes aren't returned, so don't say that they
2557 (backup-inhibited): Doc clarification (bug#12525).
2559 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2560 before we actually start to delete things (bug#16331).
2562 * subr.el (event-start): Doc fix (bug#14228).
2565 2014-02-09 Glenn Morris <rgm@gnu.org>
2567 * emacs-lisp/warnings.el (lwarn):
2568 Empower help-enable-auto-load. (Bug#15940)
2570 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2572 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2575 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
2577 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2578 Insert output at end of buffer. (Bug#16120)
2580 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2582 * simple.el (choose-completion-string-functions): Document new
2583 calling convention (bug#14153).
2584 (execute-extended-command): Clarify doc string (bug#13373).
2586 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2588 * find-dired.el (find-name-dired): Doc fix (bug#14290).
2589 (find-grep-dired): Doc fix (bug#14288).
2591 2014-02-08 Juri Linkov <juri@jurta.org>
2593 * isearch.el (isearch-quote-char): Check character validity
2594 like in `quoted-insert' (bug#16677).
2596 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2598 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2600 * isearch.el (isearch-hide-immediately): Doc clarification
2603 * simple.el (line-move): Document utility function used many
2604 places in the Emacs sources (bug#14843).
2606 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
2607 (dired-prev-marked-file): Doc fix (bug#14855).
2608 (dired-up-directory): Doc fix (bug#14848).
2610 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2612 * files.el (file-relative-name): Doc fix (bug#15159).
2614 * fringe.el (fringe-styles): Doc fix (bug#15239).
2616 * isearch.el (isearch-filter-predicate): Documentation typo fix
2619 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2621 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2623 * replace.el (replace-match-maybe-edit): Doc clarification
2626 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2628 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2630 2014-02-08 Glenn Morris <rgm@gnu.org>
2632 * help-fns.el (describe-variable):
2633 Check {file,dir}-local-variables-alist, and buffer-file-name,
2634 in the correct buffer.
2636 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2638 * help-fns.el (describe-variable): Fix the case where
2639 a value is directory-local with no dir-locals file. (Bug#16635)
2641 2014-02-08 Glenn Morris <rgm@gnu.org>
2643 * abbrev.el (edit-abbrevs-mode):
2644 Derive from fundamental-mode. (Bug#16682)
2646 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
2648 * simple.el (quoted-insert): Check character validity (bug#16677).
2650 2014-02-07 Juri Linkov <juri@jurta.org>
2652 * desktop.el (desktop-read): Claim the lock when the owner is not
2653 the current process. (Bug#16157)
2655 2014-02-07 Juri Linkov <juri@jurta.org>
2657 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2658 to "\\` ". (Bug#16651)
2660 2014-02-07 Juri Linkov <juri@jurta.org>
2662 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2663 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2664 (desktop-auto-save-cancel-timer): New function with some code from
2665 `desktop-auto-save-set-timer'.
2666 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2667 Instead of setting `desktop-save-mode' to nil, call
2668 `desktop-save-mode' with arg 0. (Bug#16630)
2670 2014-02-07 Glenn Morris <rgm@gnu.org>
2672 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2673 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2674 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2676 * obsolete/iswitchb.el: Move to obsolete/.
2677 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2678 since obsolete/ is not scanned for autoloads.
2679 * emacs-lisp/authors.el (authors-valid-file-names):
2682 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2683 Disable now non-functional find-file-hook.
2685 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
2687 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2688 instead of ";" in order to avoid additional prompts. Let heredoc
2689 scripts read from tty. (Bug#16582)
2690 (tramp-send-command): No special handling of heredocs, it isn't
2693 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2695 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2696 with a space (bug#16664). Limit the symbols considered to the ones
2697 that are bound or fbound (bug#16646).
2699 2014-02-06 Glenn Morris <rgm@gnu.org>
2701 * epa.el (epa-mail-aliases): Doc fix.
2703 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2705 * emacs-lisp/lisp.el (lisp-completion-at-point):
2706 Use `completion-table-merge' instead of `completion-table-in-turn'
2709 * minibuffer.el (completion-table-merge): New function.
2711 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
2713 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2714 (tramp-sh-handle-set-file-acl)
2715 (tramp-sh-handle-start-file-process)
2716 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2717 (tramp-find-executable, tramp-send-command): Use it.
2719 2014-02-05 Glenn Morris <rgm@gnu.org>
2721 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
2723 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2725 * progmodes/python.el (python-shell-send-string)
2726 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2728 2014-02-04 Anders Lindgren <andlind@gmail.com>
2730 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2731 the names (bug#16620).
2733 2014-02-03 Martin Rudalics <rudalics@gmx.at>
2735 * faces.el (window-divider): New default value. Rewrite doc-string.
2736 (window-divider-first-pixel, window-divider-last-pixel): New faces.
2738 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2740 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2741 `protected' and `public' can also be called without arguments.
2743 2014-02-03 Glenn Morris <rgm@gnu.org>
2745 * register.el (window-configuration-to-register)
2746 (frame-configuration-to-register): Unadvertise unused argument.
2747 * frameset.el (frameset-to-register): Remove unused argument.
2749 * frameset.el (frameset-to-register):
2750 * kmacro.el (kmacro-to-register):
2751 * register.el (increment-register):
2752 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2753 (calc-append-to-register, calc-prepend-to-register):
2754 * play/gametree.el (gametree-layout-to-register)
2755 (gametree-apply-register-layout):
2756 * textmodes/picture.el (picture-clear-rectangle-to-register)
2757 (picture-yank-rectangle-from-register):
2758 * vc/emerge.el (emerge-combine-versions-register):
2759 Use register-read-with-preview to read registers.
2761 2014-02-03 João Távora <joaotavora@gmail.com>
2763 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2764 when at beginning of (possibly narrowed) buffer.
2766 2014-02-02 Daniel Colascione <dancol@dancol.org>
2768 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
2769 Also try to display local help from just before point.
2771 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2773 c-parse-state. Don't "append-lower-brace-pair" in certain
2774 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2775 recognised as a comment.
2777 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2778 as well as normal comment starter.
2779 (c-parse-state-get-strategy): Extra return possibility
2781 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2782 return value list to indicate replacement of a brace-pair cons
2784 (c-parse-state-1): With 'back-and-forward, only call
2785 c-append-lower-brace-pair-to state-cache when cons-separated.
2787 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2789 * term/ns-win.el (ns-suspend-error): New function.
2790 (ns-initialize-window-system): Add ns-suspend-error to
2791 suspend-hook (Bug#16612).
2793 2014-02-02 Daniel Colascione <dancol@dancol.org>
2795 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2796 Make loading cc-mode silent.
2798 2014-02-02 Daniel Colascione <dancol@dancol.org>
2800 * comint.el (comint-prompt-read-only): Change doc to suggest
2803 2014-02-02 Glenn Morris <rgm@gnu.org>
2805 * register.el (register-read-with-preview, point-to-register)
2806 (window-configuration-to-register, frame-configuration-to-register)
2807 (jump-to-register, number-to-register, view-register, insert-register)
2808 (copy-to-register, append-to-register, prepend-to-register)
2809 (copy-rectangle-to-register): Doc fixes.
2811 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2813 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2814 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2815 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2816 * help-fns.el (describe-function-1): Use it.
2818 2014-02-02 Glenn Morris <rgm@gnu.org>
2820 * register.el (register-preview-default): New function,
2821 split from register-preview.
2822 (register-preview-function): Rename from register-preview-functions,
2824 (register-preview): Use register-preview-function.
2825 (register-read-with-preview): Error on non-character event. (Bug#16595)
2827 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2829 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2830 `:' before binary operators (bug#16609). Don't check for `:'
2831 before `[' and `(', or their syntax status. A percent literal
2832 can't end with either.
2833 (ruby-font-lock-keywords): For built-ins that require arguments,
2834 check that they're followed by something that looks like argument
2837 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2839 * subr.el (butlast): Document what an omitted N means (bug#13437).
2842 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2844 * net/shr.el (shr-generic): Make into a defsubst to make the stack
2845 depth shallower (bug#16587).
2846 (shr-tag-svg): Respect `shr-inhibit-images'.
2847 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
2849 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
2851 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
2852 (ruby-smie-grammar): Make "." right-associative. Make its priority
2853 lower than the ternary and all binary operators.
2854 (ruby-smie-rules): Indent "(" relative to the first non-"."
2855 parent, or the first "." parent at indentation.
2856 Use `ruby-align-chained-calls' for indentation of "." tokens.
2859 2014-01-31 Juri Linkov <juri@jurta.org>
2861 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
2862 from `make-hash-table'.
2864 * textmodes/ispell.el (ispell-init-process): Change message format
2865 to be consistent with other messages.
2867 2014-01-31 Glenn Morris <rgm@gnu.org>
2869 * delsel.el (delete-selection-mode): Doc fix.
2871 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2872 (trace-function-background): Doc fixes.
2874 * ido.el (ido-use-virtual-buffers): Doc fix.
2875 Reset :version, since the default value has not changed.
2877 * register.el (register-preview-delay, register-read-with-preview):
2880 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2881 do not mess with mail-buffer position (fixes 2009-11-03 change).
2882 * progmodes/cc-mode.el (c-submit-bug-report):
2883 Check auto-fill-mode is bound. (Bug#16592)
2885 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
2887 * startup.el (fancy-splash-image-file): New function,
2888 split from fancy-splash-head.
2889 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2890 so that we are both using the same image. (Bug#16574)
2892 2014-01-30 Glenn Morris <rgm@gnu.org>
2894 * simple.el (eval-expression): Doc fix.
2896 * hexl.el (hexl-mode-hook):
2897 * ielm.el (ielm-mode-hook):
2898 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2899 (lisp-interaction-mode-hook):
2900 * progmodes/cfengine.el (cfengine3-documentation-function):
2901 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2903 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2905 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2906 is a symbol (bug#16584).
2908 2014-01-30 Glenn Morris <rgm@gnu.org>
2910 * help.el (help-for-help-internal): Add "P" to text.
2912 2014-01-29 Glenn Morris <rgm@gnu.org>
2914 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2916 2014-01-28 Martin Rudalics <rudalics@gmx.at>
2918 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2921 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2923 * progmodes/hideif.el: Extend to full CPP expression syntax.
2924 (hif-token-alist): Add missing tokens.
2925 (hif-token-regexp): Add support for float/octal/hex immediates.
2926 (hif-string-literal-regexp): New const.
2927 (hif-tokenize): Recognize strings and float/octal/hex immediates.
2928 (hif-exprlist): New function.
2929 (hif-parse-if-exp): Use it.
2930 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
2931 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
2932 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
2933 (hif-logxor, hif-comma): New functions.
2935 2014-01-28 Glenn Morris <rgm@gnu.org>
2937 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2939 * indent.el (tab-stop-list): Doc fix. Add :version.
2941 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2942 (cvs-append-to-ignore): Add compatibility alias.
2944 2014-01-27 Glenn Morris <rgm@gnu.org>
2946 * dired.el (dired-hide-details-mode): Don't autoload it,
2947 since it cannot be used outside Dired buffers anyway.
2949 * emulation/cua-base.el (cua-mode): Doc fix.
2951 * dired.el (dired-hide-details-hide-symlink-targets)
2952 (dired-hide-details-hide-information-lines)
2953 (dired-hide-details-mode): Doc fixes.
2955 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2956 * strokes.el (strokes-file): Doc fix. Bump :version.
2957 (strokes-help): Doc fix.
2958 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2959 * emulation/viper.el (viper): Doc fix for custom group.
2960 (top-level): Remove oh-so-no-longer-relevant text about vip.
2961 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2963 * ido.el (ido-save-directory-list-file):
2964 * saveplace.el (save-place-file):
2965 * calendar/timeclock.el (timeclock-file):
2966 * net/quickurl.el (quickurl-url-file):
2967 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2968 * progmodes/idlwave.el (idlwave-config-directory):
2969 * textmodes/remember.el (remember-data-file):
2972 2014-01-26 Glenn Morris <rgm@gnu.org>
2974 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2975 Doc fix. Make obsolete.
2976 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2978 * sort.el (delete-duplicate-lines): Doc fix.
2980 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2982 * progmodes/ada-mode.el (ada):
2983 * woman.el (woman): Link to info manual and Commentary section.
2985 * progmodes/flymake.el (flymake):
2986 * nxml/nxml-mode.el (nxml):
2988 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2989 * htmlfontify.el (htmlfontify):
2992 * ido.el (ido): Link to info manual.
2994 2014-01-25 Leo Liu <sdl.web@gmail.com>
2996 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2998 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3000 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3003 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3005 * net/eww.el (eww-download-callback):
3006 Fix reference to eww-download-directory.
3008 * emacs-lisp/bytecomp.el (byte-compile-file):
3009 Remove unused local variable `file-name'.
3011 2014-01-24 Glenn Morris <rgm@gnu.org>
3013 * woman.el (woman-default-faces, woman-monochrome-faces):
3014 Fix obsolescence specification.
3016 * subr.el (with-demoted-errors): Doc fix.
3018 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3020 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3021 (cl--macroexp-fboundp): New function.
3022 (cl--make-type-test): Use it.
3024 2014-01-23 Glenn Morris <rgm@gnu.org>
3026 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3027 * simple.el (eval-expression): Doc fixes.
3029 2014-01-22 Glenn Morris <rgm@gnu.org>
3031 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3033 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3035 * emacs-lisp/package.el: Write files silently.
3036 (package-autoload-ensure-default-file, package--write-file-no-coding)
3037 (package-generate-description-file, package--download-one-archive)
3038 (package-install-from-archive): Tell `write-region' to stay quiet.
3039 (package-menu-mode, package-menu--print-info): Omit the Archive column
3040 if there's only one archive.
3041 (package-all-keywords, package--has-keyword-p): Remove dead code.
3043 2014-01-22 Glenn Morris <rgm@gnu.org>
3045 * version.el (emacs-bzr-version-bzr): Fix typo.
3047 * version.el (emacs-repository-get-version):
3048 Check either .bzr or .git, but not both.
3049 Make the git case actually use the DIR argument, and return nil
3050 rather than the empty string.
3051 Avoid error if .git exists but the git executable is not found.
3053 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3055 Fixes in window size functions around Bug#16430 and Bug#16470.
3056 * window.el (window-total-size, window-size): New argument ROUND.
3057 (window--min-delta-1, window-min-delta, window--max-delta-1):
3058 Be more conservative when calculating the numbers of lines or
3059 columns a window can shrink (Bug#16430).
3060 (fit-window-to-buffer): Simplify code.
3061 * term.el (term-window-width): Call window-body-width again.
3063 2014-01-22 Glenn Morris <rgm@gnu.org>
3065 * image.el (image-format-suffixes): Doc fix.
3067 * international/quail.el (quail-define-package): Doc fix.
3069 * emacs-lisp/authors.el (authors-valid-file-names)
3070 (authors-renamed-files-alist): Additions.
3072 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3073 reverts 2014-01-09 change. (Bug#16422)
3075 * calc/calc-embed.el (thing-at-point-looking-at):
3076 * emacs-lisp/map-ynp.el (x-popup-dialog):
3077 * obsolete/lmenu.el (x-popup-dialog):
3078 * emacs-lisp/package.el (url-recreate-url):
3079 * mail/mailclient.el (clipboard-kill-ring-save):
3080 * subr.el (x-popup-dialog): Update declaration.
3081 * mail/rmail.el (rmail-mime-message-p):
3082 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3084 2014-01-21 Daniel Colascione <dancol@dancol.org>
3086 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3087 Correctly detect when we're inside an arithmetic expansion form
3088 containing nested parenthesis.
3089 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3090 to detect cases where we shouldn't expand "<<" to a heredoc
3093 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3095 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3096 (eldoc--message-command-p): New function.
3097 (eldoc-display-message-p): Use it.
3098 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3099 message is not automatically erased for us.
3100 (eldoc-print-current-symbol-info): Erase previous message, if any.
3102 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3104 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3105 specify it's an interactive function.
3107 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3108 Fix regex used for scanning for citation keys which failed for
3109 citations with optional arguments.
3111 2014-01-21 Leo Liu <sdl.web@gmail.com>
3113 * simple.el (read--expression): Don't enable eldoc-mode.
3115 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3117 * simple.el (move-beginning-of-line): Make sure we don't move forward
3120 2014-01-20 Juri Linkov <juri@jurta.org>
3122 * saveplace.el (toggle-save-place, save-place-to-alist)
3123 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3124 'dired-mode) before checking for dired-directory. (Bug#16477)
3126 2014-01-20 Juri Linkov <juri@jurta.org>
3128 * indent.el (indent-line-to): Use backward-to-indentation
3129 instead of back-to-indentation. (Bug#16461)
3131 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3133 Revert some of the CANNOT_DUMP fix (Bug#16494).
3134 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3135 but fixing this can wait until after the next release.
3136 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3138 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3140 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3141 Use `password-word-equivalents'.
3142 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3143 to t. (Bug#5664, Bug#13124)
3145 2014-01-19 Alan Mackenzie <acm@muc.de>
3147 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3149 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3150 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3151 * progmodes/cc-mode.el (c-before-change, c-after-change)
3152 (c-font-lock-fontify-region): Bind it here.
3154 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3156 * term.el (term-window-width): Call window-text-width instead of
3157 window-width (Bug#16470).
3159 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3161 * simple.el (password-word-equivalents): Remove duplicates.
3162 Sort, to make this easier next time.
3163 Downcase. Omit ": " after "jelszó".
3165 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3167 * term/common-win.el (saved-region-selection): Defvar it.
3168 (x-select-text): Set saved-region-selection (Bug#16382).
3170 2014-01-18 Glenn Morris <rgm@gnu.org>
3172 * emacs-lisp/authors.el (authors-aliases)
3173 (authors-renamed-files-alist): Add some entries.
3175 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3177 * net/tramp.el (tramp-password-prompt-regexp):
3178 Use `password-word-equivalents' if available.
3179 (tramp-action-password, tramp-process-one-action)
3180 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3182 2014-01-17 Chong Yidong <cyd@gnu.org>
3184 * simple.el (password-word-equivalents): New defcustom.
3185 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3187 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3190 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3192 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3193 (ruby-align-to-stmt-keywords): Change the default value.
3194 Use `ruby-alignable-keywords' to generate the possible customization
3196 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3197 keywords, check against the value of `ruby-alignable-keywords'
3198 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3200 2014-01-17 Glenn Morris <rgm@gnu.org>
3202 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3204 Make M-x authors return zero *Authors Errors* from current logs.
3205 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3206 (authors-ignored-files): Add some entries, remove others.
3207 (authors-ambiguous-files, authors-valid-file-names):
3209 (authors-renamed-files-alist): Add, remove, and adjust entries.
3210 (authors-renamed-files-regexps): Add some entries.
3211 Remove some very broad ones. Make some entries `lax'.
3212 (authors-lax-changelogs): New constant.
3213 (authors-disambiguate-file-name): Treat top-level specially.
3214 (authors-lax-changelog-p): New function.
3215 (authors-canonical-file-name): Check file as written against
3216 authors-valid-file-names. Do not special-case etc/.
3217 Handle `lax' logs and authors-renamed-files-regexps elements.
3219 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3221 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3222 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3225 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3227 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3228 Assume we're already in the proper buffer.
3229 Inspired by Anders Lindgren <andlind@gmail.com>.
3230 (follow-post-command-hook): Call it from the right buffer.
3231 (follow-comint-scroll-to-bottom): Adjust call.
3232 (follow-all-followers): Use get-buffer-window-list.
3234 2014-01-15 Daniel Colascione <dancol@dancol.org>
3236 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3237 `buffer-file-name' in interactive-form so that we don't leave
3238 pathless file names in `file-name-history'.
3240 2014-01-15 Juri Linkov <juri@jurta.org>
3242 * indent.el (indent-rigidly): Set deactivate-mark to nil
3243 in transient indentation mode. (Bug#16438)
3245 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3247 * emacs-lisp/package.el (package-desc-keywords): New function
3249 (describe-package-1, package-all-keywords)
3250 (package--has-keyword-p): Use it.
3252 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3254 * simple.el (define-alternatives): When creating the
3255 COMMAND-alternatives variable, assign COMMAND as its definition
3256 name so that `describe-variable' can relocate it.
3258 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3260 * font-lock.el (font-lock-keywords): Fix typo in docstring
3263 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3265 * ispell.el (ispell-region): Reset `in-comment' for new line
3266 instead of wrongly reset `add-coment' (bug#13577).
3268 2014-01-14 Daiki Ueno <ueno@gnu.org>
3270 * epa-file.el (epa-file-write-region): Encode the region according
3271 to `buffer-file-format'. Problem reported at:
3272 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3274 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3276 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3277 so it applies in the right buffer (bug#16410).
3279 2014-01-13 Daniel Colascione <dancol@dancol.org>
3281 * textmodes/rst.el (rst-define-key): Provide deprecated
3282 keybindings through named functions instead of anonymous ones so
3283 that "??" doesn't appear in describe-mode output.
3285 2014-01-13 Bastien Guerry <bzg@gnu.org>
3287 * simple.el (define-alternatives): Call the selected command
3288 interactively. When setting `COMMAND--implementation' for the
3289 first time, tell the user how to chose another implementation.
3290 Enhance the docstring.
3292 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3294 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3295 (log-edit--match-first-line): New function.
3296 (log-edit-font-lock-keywords): Use it.
3297 (log-edit-mode): Make jit-lock-defer-multiline work.
3299 2014-01-13 Bastien Guerry <bzg@gnu.org>
3301 * rect.el (rectangle-mark-mode): When the region is not active,
3302 display a message saying that the mark as been set and that
3303 rectangle mode is in use.
3304 (rectangle--highlight-for-redisplay): Only put an overlay with a
3305 visible vertical bar when (display-graphic-p) is non-nil.
3306 This partially fixes Bug#16403.
3308 2014-01-13 Juri Linkov <juri@jurta.org>
3310 * info.el (Info-find-file): Go to DIR before displaying the error
3311 about a nonexistent file if no previous Info file is visited.
3312 Use `user-error' instead of `error' for "Info file %s does not exist".
3313 (Info-find-node-2): In case of a nonexistent node in unwind forms
3314 go to the Top node if there is no previous node to revert to.
3317 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3319 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3320 * window.el (fit-frame-to-buffer): Fix doc-string.
3321 Respect window-min-height/-width. Fit pixelwise when
3322 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3323 when avoiding that frame goes partially off-screen.
3324 (fit-window-to-buffer): Respect window-min-height/-width
3327 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3329 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3330 after an empty line.
3332 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3334 * net/shr.el (shr-render-region): Autoload.
3336 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3338 * net/eww.el (eww-download-directory): Rename from
3339 `eww-download-path' (Bug#16419).
3341 2014-01-12 Leo Liu <sdl.web@gmail.com>
3343 * dired-x.el (dired-mode-map): Fix last change.
3345 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3347 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3350 * emacs-lisp/generic.el (generic--normalize-comments):
3351 Rename from generic--normalise-comments. All uses changed.
3352 * play/bubbles.el (bubbles--neighborhood-score)
3353 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3354 (bubbles--neighborhood-available)
3355 (bubbles--update-neighborhood-score):
3356 Rename from names with 'neighbourhood'. All uses changed.
3358 2014-01-12 Leo Liu <sdl.web@gmail.com>
3360 Re-implement the feature of showing eldoc info after editing.
3361 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3362 (eldoc-edit-message-commands): New function.
3363 (eldoc-print-after-edit): New variable.
3364 (eldoc-pre-command-refresh-echo-area): Emit message only by
3365 eldoc-message-commands.
3366 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3367 if eldoc-print-after-edit is set. (Bug#16346)
3368 * simple.el (read--expression): Enable eldoc-mode.
3369 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3371 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3372 Eric S. Raymond <esr@thyrsus.com>
3374 * version.el (emacs-repository-get-version): Enhance so the
3375 function works correctly in either a Bazaar or Git repo.
3377 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
3379 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3380 Goes with removal of the joke manpages from /etc.
3382 2014-01-10 Kenichi Handa <handa@gnu.org>
3384 * mail/rmail.el (rmail-get-coding-system):
3385 Check rmail-get-coding-function before "funcall"ing it.
3387 2014-01-10 Glenn Morris <rgm@gnu.org>
3389 * emacs-lisp/authors.el (authors-fixed-entries):
3390 Update for files that no longer exist.
3392 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
3394 * version.el (emacs-bzr-get-version): Restore compatibilty with
3397 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3399 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3402 2014-01-10 Eli Zaretskii <eliz@gnu.org>
3404 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3406 2014-01-10 Chong Yidong <cyd@gnu.org>
3408 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
3410 2014-01-10 Anders Lindgren <andlind@gmail.com>
3412 * follow.el (follow-cache-command-list): Include right-char and
3415 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3418 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3419 * woman.el (woman-mark-horizontal-position):
3420 Rename from woman-mark-horizonal-position. Use changed.
3422 2014-01-10 Glenn Morris <rgm@gnu.org>
3424 * info.el (info-initialize): If running uninstalled, ensure our
3425 own info files are always found first, even if INFOPATH is set.
3427 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3429 2014-01-09 David Engster <deng@randomsample.de>
3431 * emacs-lisp/eieio-custom.el:
3432 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3433 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3434 * emacs-lisp/eieio.el: Regenerate autoloads.
3436 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
3438 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
3439 following renames. (Bug#8756)
3441 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3443 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3445 (activate-mark): Add `no-tmm' argument.
3446 (set-mark, push-mark-command): Use it instead of running
3447 activate-mark-hook by hand.
3449 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
3451 In preparation for the move to git, sanitize out some
3452 Bazaar-specific names.
3454 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3456 * version.el (emacs-bzr-version): Name changed to
3457 emacs-repository-version. Obsolete-variable alias made.
3458 * loadup.el: Follow through on this name change.
3459 * mail/emacsbug.el (report-emacs-bug): Factor out any
3460 assumption about the version control system in use.
3462 2014-01-08 David Engster <deng@randomsample.de>
3464 * help-fns.el (help-fns-describe-function-functions):
3465 New variable to call functions for augmenting help buffers.
3466 (describe-function-1): Remove explicit calls to
3467 `help-fns--compiler-macro', `help-fns--parent-mode' and
3468 `help-fns--obsolete'. Put them in above new variable instead, and
3469 call them through `run-hook-with-args'.
3470 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3471 `eieio-describe-class'. Not meant for interactive use anymore,
3472 but to augment existing help buffers. Remove optional second
3473 argument. Create proper button for file location.
3474 Rewrite function to use `insert' instead of `princ' and `prin1' where
3476 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3477 (eieio-method-def, eieio-class-def): Move further up.
3478 (describe-method, describe-generic, eieio-describe-method):
3480 (eieio-help-constructor, eieio-help-generic): Rename from
3481 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3482 Rewrite to use `insert' in the current buffer and use proper help
3484 (eieio-help-find-method-definition)
3485 (eieio-help-find-class-definition): Also accept symbols as
3487 (eieio-help-mode-augmentation-maybee): Remove.
3488 (eieio-describe-class-sb): Use `describe-function'.
3489 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3490 Add `eieio-help-generic' and `eieio-help-constructor'.
3492 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3495 * language/china-util.el (hz-ascii-designation):
3496 Rename from hz-ascii-designnation.
3497 (hz-ascii-designation): Rename from hz-ascii-designnation.
3500 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3502 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3505 2014-01-08 Bastien Guerry <bzg@gnu.org>
3507 * emacs-lisp/package.el (package-delete):
3508 Correctly delete the package from package-alist.
3510 2014-01-08 Daiki Ueno <ueno@gnu.org>
3512 * emacs-lisp/package.el (url-recreate-url): Declare.
3513 (url-http-target-url): Declare.
3514 (package-handle-response): Include requested URL in the error message.
3515 (package--check-signature): Don't re-signal errors from
3516 package--with-work-buffer. Suggested by Stefan Monnier.
3518 2014-01-07 Bastien Guerry <bzg@gnu.org>
3520 * minibuffer.el (completion--try-word-completion): When both a
3521 hyphen and a space are possible candidates for the character
3522 following a word, display both candidates. (Bug#15980)
3524 2014-01-07 Martin Rudalics <rudalics@gmx.at>
3526 * window.el (balance-windows-2): While rounding don't give a
3527 window more than the remainder. Bug#16351, bug#16383.
3529 2014-01-07 Glenn Morris <rgm@gnu.org>
3531 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3532 (menu-bar-help-menu): Use view-external-packages instead.
3534 2014-01-07 Bastien Guerry <bzg@gnu.org>
3536 * emacs-lisp/package.el (package-delete): Also delete the package
3537 name from `package-alist', not its description only.
3539 2014-01-07 Glenn Morris <rgm@gnu.org>
3541 * help.el (view-external-packages):
3542 * menu-bar.el (menu-bar-help-extra-packages):
3543 Visit efaq.info rather than etc/MORE.STUFF.
3545 2014-01-07 Juri Linkov <juri@jurta.org>
3547 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3548 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3550 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3551 that shadows RET. (Bug#16342)
3553 2014-01-07 Chong Yidong <cyd@gnu.org>
3555 * isearch.el (isearch-yank-char, isearch-yank-word)
3556 (isearch-yank-line): Doc fix.
3558 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3560 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3561 * emacs-lisp/elint.el (elint-find-builtins):
3562 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3563 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3564 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3565 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3566 * apropos.el (apropos-safe-documentation):
3567 * subr.el (symbol-file): Remove redundant fboundp.
3568 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3570 2014-01-06 Bastien Guerry <bzg@gnu.org>
3572 * hl-line.el (global-hl-line-overlay): Make a local variable.
3573 (global-hl-line-overlays): New variable to store all overlays.
3574 (global-hl-line-mode): Don't delete overlays from the current
3575 buffer when `global-hl-line-sticky-flag' is non-nil.
3576 (global-hl-line-highlight): Add new overlays to
3577 `global-hl-line-overlays'.
3578 (global-hl-line-unhighlight-all): New function to delete all
3579 overlays when turning off `global-hl-line-mode'.
3580 This fixes Bug#16183.
3582 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3584 * subr.el (set-transient-map): Fix nested case and docstring.
3586 2014-01-06 Tassilo Horn <tsdh@gnu.org>
3588 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3591 2014-01-06 Daniel Colascione <dancol@dancol.org>
3593 Fix defun navigation in vc log view.
3595 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3596 like `beginning-of-defun'.
3597 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
3598 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3599 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
3600 (log-view-extract-comment): Call `log-view-current-entry' directly
3601 instead of relying on broken `log-view-beginning-of-defun' behavior.
3603 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3606 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3607 * emacs-lisp/debug.el (cancel-debug-on-entry):
3608 * epg.el (epg-error-to-string):
3609 * files.el (recover-file):
3610 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3611 * mail/emacsbug.el (report-emacs-bug-hook):
3612 * mail/sendmail.el (mail-recover):
3613 * ses.el (ses-yank-resize):
3614 * term/ns-win.el (ns-print-buffer):
3615 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3616 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3618 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3620 2014-01-06 Leo Liu <sdl.web@gmail.com>
3622 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3623 to avoid shadowing global key. (Bug#16354)
3625 2014-01-06 Daniel Colascione <dancol@dancol.org>
3627 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3630 2014-01-05 Martin Rudalics <rudalics@gmx.at>
3632 * window.el (balance-windows): Add mising t to fix Bug#16351.
3634 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3636 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3638 (shr-insert): If we have a word that's longer than `shr-width',
3639 break after it anyway. Otherwise we'll do no breaking once we get
3642 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3644 * net/eww.el (eww): Support single/double quote for search.
3645 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
3646 (eww-history-quit): Delete and use quit-window.
3647 (eww-history-kill): Delete, because it doesn't work well and
3649 (eww-history-mode-map): Delete some keys and add easy-menu.
3651 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3653 Fix misspelling of 'chinese' in rx (Bug#16237).
3654 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3657 Change subword regexps back to vars (Bug#16296).
3658 * progmodes/subword.el (subword-forward-regexp)
3659 (subword-backward-regexp): Change these back to variables.
3661 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3663 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3664 syntax-begin-function (bug#16247).
3666 2014-01-03 Chong Yidong <cyd@gnu.org>
3668 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3669 (advice--docstring): Delete variable.
3670 (advice--make-1): Leave the docstring empty.
3671 (advice-add): Use function-documentation for advised docstring.
3673 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3674 Ignore function-documentation property when getting documentation.
3675 (ad-activate-advised-definition): Use function-documentation
3676 generate the docstring.
3677 (ad-make-advised-definition): Don't call
3678 ad-make-advised-definition-docstring.
3679 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3682 * progmodes/sql.el (sql-help): Use function-documentation instead
3683 of dynamic-docstring-function property. No need to autoload now.
3684 (sql--help-docstring): New variable.
3685 (sql--make-help-docstring): Use it.
3687 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3689 * ielm.el (ielm-tab): Retarget.
3690 (ielm-map): Use ielm-tab for tab.
3691 (ielm-complete-filename): Use comint-filename-completion.
3692 (ielm-complete-symbol): Remove.
3693 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3694 remove ielm-tab from completion-at-point-functions (bug#16224).
3696 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3697 Beware signals raised by predicates (bug#16201).
3699 2014-01-02 Richard Stallman <rms@gnu.org>
3701 * dired-aux.el (dired-do-print): Handle printer-name.
3703 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3704 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
3705 (rmail-epa-decrypt): Turn off mime processing.
3707 * mail/rmail.el (rmail-make-in-reply-to-field):
3708 Add parens in message-id.
3710 * mail/rmail.el (rmail-get-coding-function): Variable.
3711 (rmail-get-coding-system): Use it.
3713 2013-12-31 Eli Zaretskii <eliz@gnu.org>
3715 * international/mule-conf.el: Unify the charset indian-is13194.
3716 (indian-is13194): Specify unify-map.
3718 2013-12-31 Leo Liu <sdl.web@gmail.com>
3720 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3722 2013-12-30 Daniel Colascione <dancol@dancol.org>
3724 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3725 of printing a useless when we resume from sleep.
3727 * progmodes/sh-script.el
3728 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
3729 in indentation code. (Bug#16233)
3731 2013-12-28 João Távora <joaotavora@gmail.com>
3733 * elec-pair.el (electric-pair-post-self-insert-function):
3734 Don't open extra newlines at beginning of buffer. (Bug#16272)
3736 2013-12-28 Eli Zaretskii <eliz@gnu.org>
3738 * frame.el (window-system-for-display): Don't allow to create a
3739 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3741 2013-12-28 Glenn Morris <rgm@gnu.org>
3743 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3746 * apropos.el (apropos-match-face):
3747 * calculator.el (calculator-displayer):
3748 * dabbrev.el (dabbrev-search-these-buffers-only):
3749 * face-remap.el (buffer-face-mode-face):
3750 * simple.el (yank-handled-properties):
3751 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3752 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3753 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3754 (hashcash-double-spend-database):
3755 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3756 (ruby-deep-indent-paren-style):
3757 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3758 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3759 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3760 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3761 Specify custom types.
3763 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3764 * bookmark.el (bookmark-bmenu-use-header-line):
3765 * doc-view.el (doc-view-scale-internally):
3766 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3767 * register.el (register-preview-delay):
3768 * net/shr.el (shr-bullet):
3769 * progmodes/cfengine.el (cfengine-cf-promises)
3770 (cfengine-parameters-indent):
3771 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3772 * textmodes/reftex-vars.el (reftex-label-regexps):
3773 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3775 * net/tls.el (tls-certtool-program): Fix default value.
3777 * desktop.el (desktop-restore-in-current-display):
3778 * newcomment.el (comment-empty-lines):
3779 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3780 (idlwave-pad-keyword):
3781 * progmodes/tcl.el (tcl-tab-always-indent):
3782 * textmodes/reftex-vars.el (reftex-index-default-tag):
3783 * elec-pair.el (electric-pair-skip-whitespace):
3784 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3786 * emacs-lisp/authors.el (authors-ignored-files)
3787 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3789 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3791 * shell.el (shell-dynamic-complete-command): Doc fix.
3792 (shell--command-completion-data): Shell completion now matches
3793 executable filenames from the current buffer's directory, on
3794 systems in which this behavior is the default (windows-nt, ms-dos).
3796 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3798 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3800 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3802 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3805 * electric.el: Move all electric-pair-* to elec-pair.el.
3806 * elec-pair.el: New file, split from electric.el.
3808 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3810 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3811 indentation level is larger than the width, because that will
3813 (shr-insert): Fill repeatedly long texts, so that Japanese is
3814 formatted correctly (bug#16263).
3815 (shr-find-fill-point): Off by one error in comparison with the
3818 2013-12-26 João Távora <joaotavora@gmail.com>
3820 * electric.el (electric-pair-mode): More flexible engine for skip-
3821 and inhibit predicates, new options for pairing-related functionality.
3822 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3823 if that keeps or improves their balance in buffers.
3824 (electric-pair-delete-adjacent-pairs): Delete the pair when
3825 backspacing over adjacent matched delimiters.
3826 (electric-pair-open-extra-newline): Open extra newline when
3827 inserting newlines between adjacent matched delimiters.
3828 (electric--sort-post-self-insertion-hook):
3829 Sort post-self-insert-hook according to priority values when
3830 minor-modes are activated.
3831 * simple.el (newline-and-indent): Call newline with interactive
3833 (blink-paren-post-self-insert-function): Set priority to 100.
3834 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3835 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3836 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3837 electric-pair-open-newline-between-pairs to nil.
3839 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3841 * progmodes/python.el: Use lexical-binding.
3842 (python-nav-beginning-of-defun): Stop searching ASAP.
3844 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
3846 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
3847 Fix interactive spec. Doc fix. (Bug#15754)
3849 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
3851 * emacs-lisp/byte-run.el (eval-when-compile):
3852 * progmodes/cc-defs.el (cc-eval-when-compile):
3853 Fix edebug spec (bug#16184).
3855 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3857 * net/shr.el (shr-visit-file): Remove debugging function.
3858 (shr-insert): Don't infloop if we can't find a good place to break
3859 the line (bug#16256).
3861 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
3863 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
3864 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
3865 python-nav-lisp-forward-sexp-safe.
3866 (python-nav--forward-sexp): New argument SAFE allows switching
3867 forward sexp movement behavior for parens.
3868 (python-nav-forward-sexp): Throw errors on unterminated parens
3870 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3871 (python-nav-backward-sexp-safe): New functions.
3872 (python-shell-buffer-substring):
3873 Use `python-nav-forward-sexp-safe'.
3875 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3877 * net/shr.el (shr-find-fill-point): Don't break lines before a
3879 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3880 (shr-find-fill-point): Remove the special checks for the quotation
3881 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
3883 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3885 * net/eww.el (eww-form-textarea): Use a different face for
3886 textareas than text input since they have different keymaps
3889 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3891 * progmodes/python.el (python-nav-beginning-of-statement):
3892 Speed up (Bug#15295).
3894 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3896 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3897 the window configuration.
3899 2013-12-24 Eli Zaretskii <eliz@gnu.org>
3901 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3902 we run on MS-Windows or MS-DOS.
3904 2013-12-24 Martin Rudalics <rudalics@gmx.at>
3906 * window.el (balance-windows-area): Call window-size instead of
3907 window-height and window-width. Bug#16241.
3909 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3911 * net/eww.el (eww-bookmark-quit): Remove.
3912 (eww-bookmark-browse): Restore the window configuration when you
3913 choose a bookmark (bug#16144).
3915 2013-12-24 Daniel Colascione <dancol@dancol.org>
3917 * icomplete.el: Remove redundant :group arguments to `defcustom'
3919 (icomplete-show-matches-on-no-input): New customizable variable.
3920 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3921 we have something to show.
3922 (icomplete-exhibit): Compute completions even if we have no user input.
3924 2013-12-23 Daniel Colascione <dancol@dancol.org>
3926 * icomplete.el: Move `provide' to end of file.
3928 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
3930 * net/gnutls.el (gnutls-verify-error): Add version tag.
3932 2013-12-23 Chong Yidong <cyd@gnu.org>
3934 * subr.el (set-transient-map): Rename from
3935 set-temporary-overlay-map. Doc fix.
3937 * face-remap.el (text-scale-adjust):
3938 * indent.el (indent-rigidly):
3939 * kmacro.el (kmacro-call-macro):
3940 * minibuffer.el (minibuffer-force-complete):
3941 * repeat.el (repeat):
3942 * simple.el (universal-argument--mode):
3943 * calendar/todo-mode.el (todo-insert-item--next-param):
3944 * progmodes/f90.el (f90-abbrev-start): Callers changed.
3946 * indent.el (indent-rigidly): Use substitute-command-keys.
3948 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3950 * net/eww.el (eww-tag-select): Add text-property to jump to next
3952 (eww): Add non-supported ftp error.
3954 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3956 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3957 comments. Handle electric indent after typing `?' and `!'.
3959 2013-12-22 Chong Yidong <cyd@gnu.org>
3961 * faces.el (face-spec-recalc): If the theme specs are not
3962 applicable to a frame, fall back on the defface spec.
3963 This prevents themes from obliterating faces on low-color terminals.
3965 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3967 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3968 after `{'. We need it after block openers, and it doesn't seem
3969 to hurt after hash openers.
3971 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3973 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3974 extracted from `ruby-smie-rules'.
3975 (ruby--electric-indent-chars): New variable.
3976 (ruby--electric-indent-p): New function.
3977 (ruby-mode): Use `electric-indent-functions' instead of
3978 `electric-indent-chars'.
3980 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3982 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3984 (ruby-smie-rules): Indent plus one level after `=>'.
3986 2013-12-21 Richard Stallman <rms@gnu.org>
3988 * simple.el (newline): Doc fix.
3990 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3992 * net/eww.el (eww-list-histories, eww-list-histories)
3993 (eww-history-browse, eww-history-quit, eww-history-kill)
3994 (eww-history-mode-map, eww-history-mode): New command and
3995 functions to list browser histories.
3996 (eww-form-text): Support text form with disabled
3997 and readonly attributes.
3998 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4000 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4002 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4003 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4004 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4005 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4007 (eww-bookmark-mode-map): Add menu.
4008 (eww-render, eww-mode): Use `setq-local'.
4009 (eww-tool-bar-map): New variable.
4010 (eww-mode): Set `tool-bar-map'.
4011 (eww-view-source): Check for `html-mode' with `fboundp'.
4013 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4015 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4016 elements with text inside. Also remove debugging.
4018 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4020 * cus-start.el (all): Add ns-use-srgb-colorspace.
4022 2013-12-21 Chong Yidong <cyd@gnu.org>
4024 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4025 undefined. Thus, theme settings for undefined faces do not take
4026 effect until the faces are defined with defface, the same as with
4029 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4030 (face-spec-reset-face): Don't assign extra properties in temacs.
4031 (face-spec-recalc): Apply X resources too.
4033 2013-12-21 Chong Yidong <cyd@gnu.org>
4035 * faces.el (face-spec-set):
4036 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4037 * custom.el (defface): Doc fixes (Bug#16203).
4039 * indent.el (indent-rigidly-map): Add docstring, and move commands
4040 into named functions.
4041 (indent-rigidly-left, indent-rigidly-right)
4042 (indent-rigidly-left-to-tab-stop)
4043 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4044 indentation direction based on bidi direction, and accumulate
4045 sequential commands in a single undo boundary.
4046 (indent-rigidly--pop-undo): New utility function.
4048 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4050 * faces.el (read-face-name): Require crm.el when using crm-separator.
4052 2013-12-20 Daniel Colascione <dancol@dancol.org>
4054 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4055 so that we don't reflow comments into the shebang line.
4057 2013-12-20 Juri Linkov <juri@jurta.org>
4059 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4060 a position when `dired-directory' is non-nil. Check integer
4061 positions with `integerp'.
4062 (toggle-save-place, save-places-to-alist): Add check for
4064 (save-place-find-file-hook): Check integer positions with
4066 (save-place-dired-hook): Use `dired-goto-file' when
4067 `dired-filename' is found in the assoc list. Check integer
4068 positions with `integerp'.
4069 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4071 * dired.el (dired-initial-position-hook): Rename back from
4072 `dired-initial-point-hook'.
4073 (dired-initial-position): Rename `dired-initial-point-hook' to
4074 `dired-initial-position-hook'.
4075 (dired-file-name-at-point): Doc fix. (Bug#15329)
4077 2013-12-20 Juri Linkov <juri@jurta.org>
4079 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4080 (read-regexp-suggestions): New function.
4081 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4082 Use `read-regexp-suggestions'. Add non-empty default to history
4084 (occur-read-regexp-defaults-function): Remove function.
4085 (occur-read-primary-args): Use `regexp-history-last' instead of
4086 `occur-read-regexp-defaults-function'.
4088 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4089 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4090 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4091 `hi-lock-read-regexp-defaults-function'. Doc fix.
4092 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4093 with `find-tag-default-as-symbol-regexp'. Doc fix.
4094 (hi-lock-read-regexp-defaults): Remove function.
4095 (hi-lock-regexp-okay): Add check for null.
4097 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4098 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4100 * subr.el (find-tag-default-as-symbol-regexp): New function.
4101 (find-tag-default-as-regexp): Move symbol regexp formatting to
4102 `find-tag-default-as-symbol-regexp'.
4104 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4106 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4109 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4111 * calendar/todo-mode.el: New implementation of item insertion
4112 commands and key bindings.
4113 (todo-key-prompt): New face.
4114 (todo-insert-item): New command.
4115 (todo-insert-item--parameters): New defconst, replacing defvar
4116 todo-insertion-commands-args-genlist.
4117 (todo-insert-item--param-key-alist): New defconst, replacing
4118 defvar todo-insertion-commands-arg-key-list.
4119 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4120 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4121 (todo-insert-item--next-param): New functions.
4122 (todo-insert-item--args, todo-insert-item--argleft)
4123 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4125 (todo-key-bindings-t): Change binding of "i" from
4126 todo-insertion-map to todo-insert-item.
4127 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4128 (todo-insertion-command-name, todo-insertion-commands-names)
4129 (todo-define-insertion-command, todo-insertion-commands)
4130 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4132 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4134 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4135 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4137 (todo-move-category): Allow choosing a non-existing todo file to
4138 move the category to, and create that file.
4139 (todo-default-priority): New user option.
4140 (todo-set-item-priority): Use it.
4141 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4142 (desktop-restore-file-buffer): Declare.
4143 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4144 (todo-modes-set-2): Locally set desktop-save-buffer to
4145 todo-desktop-save-buffer.
4146 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4147 (auto-mode-alist): Add autoload cookie.
4149 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4151 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4152 helpers.el was a poor choice of name.
4153 (string-remove-prefix): New function.
4154 (string-remove-suffix): New function.
4156 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4158 Fix assignment for new window total sizes.
4159 * window.el (window--pixel-to-size): Remove function.
4160 (window--pixel-to-total-1, window--pixel-to-total):
4161 Fix calculation of new total sizes.
4163 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4165 * comint.el (comint-output-filter): Fix rear-nonsticky property
4166 placement (Bug#16010).
4168 2013-12-20 Chong Yidong <cyd@gnu.org>
4170 * faces.el (read-color): Minor fix for completion function.
4172 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4174 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4175 New option. (Bug#16182)
4176 (ruby-smie--indent-to-stmt-p): Use it.
4177 (ruby-smie-rules): Revert the logic in the handling of `when'.
4178 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4179 (ruby-deep-arglist, ruby-deep-indent-paren)
4180 (ruby-deep-indent-paren-style): Update docstrings to note that the
4181 vars don't have any effect with SMIE.
4183 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4185 * calc/calc.el (calc-enter, calc-pop): Use the variable
4186 `calc-context-sensitive-enter'.
4188 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4190 * net/shr.el (shr-insert): Protect against infloops in degenerate
4193 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4195 * progmodes/octave.el (octave): Add link to manual and octave
4197 (octave-mode-menu): Link to octave-mode manual.
4199 2013-12-20 Leo Liu <sdl.web@gmail.com>
4201 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4202 insertion using skeleton-end-newline. (Bug#16138)
4204 2013-12-20 Juri Linkov <juri@jurta.org>
4206 * replace.el (occur-engine): Use `add-face-text-property'
4207 to add the face property to matches and titles. (Bug#14645)
4209 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4210 the palette of other hi-lock colors.
4211 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4213 2013-12-19 Juri Linkov <juri@jurta.org>
4215 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4216 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4217 (minibuffer-history-symbol): Move variable declaration closer to
4220 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4223 2013-12-19 Juri Linkov <juri@jurta.org>
4225 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4227 (log-edit-hook): Add it to :options. (Bug#16170)
4229 2013-12-19 Juri Linkov <juri@jurta.org>
4231 * simple.el (eval-expression-print-format): Don't check for
4232 command names and the last command. Always display additional
4233 formats of the integer result in the echo area, and insert them
4234 to the current buffer only with a zero prefix arg.
4235 Display character when char-displayable-p is non-nil.
4236 (eval-expression): With a zero prefix arg, set `print-length' and
4237 `print-level' to nil, and insert the integer values from
4238 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4240 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4241 `eval-last-sexp-arg-internal'. Doc fix.
4242 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4243 `eval-last-sexp-print-value'. Doc fix.
4244 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4245 Set `print-length' and `print-level' to nil when arg is zero.
4246 (eval-last-sexp): Doc fix.
4247 (eval-defun-2): Print the integer values from
4248 `eval-expression-print-format' at the end.
4250 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4251 values from `eval-expression-print-format' at the end.
4253 * ielm.el (ielm-eval-input): Print the integer
4254 values from `eval-expression-print-format' at the end.
4256 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4258 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4259 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4261 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4263 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4264 (hl-line-highlight, global-hl-line-highlight): Use it.
4265 (hl-line-overlay): Use defvar-local.
4267 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4269 * term/ns-win.el: Require dnd.
4270 (global-map): Remove drag items.
4271 (ns-insert-text, ns-set-foreground-at-mouse)
4272 (ns-set-background-at-mouse):
4273 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4274 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4277 2013-12-19 Glenn Morris <rgm@gnu.org>
4279 * emacs-lisp/ert.el (ert-select-tests):
4280 Fix string/symbol mixup. (Bug#16121)
4282 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4284 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4285 keywords to their parent.
4287 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4289 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4290 first arg to be a string (fixed dead code), or an operator symbol.
4291 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4293 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4294 did nothing. Don't respond to `(:after ".")', it will be called
4295 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4296 change anything. Only return indentation for binary operators
4297 when they are hanging. De-dent opening paren when its parent is
4298 `.', otherwise it looks bad when the dot is not at bol or eol
4301 2013-12-19 Juri Linkov <juri@jurta.org>
4303 * replace.el (query-replace-read-args): Split a non-negative arg
4304 and a negative arg into separate elements.
4305 (query-replace, query-replace-regexp, replace-string)
4306 (replace-regexp): Add arg `backward'. Doc fix.
4307 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4308 move point to the beginning of the match.
4309 (replace-search, replace-highlight): Use new arg `backward'
4310 to set the value of `isearch-forward'.
4311 (perform-replace): Add arg `backward' and use it to perform
4312 replacement backward. (Bug#14979)
4314 * isearch.el (isearch-query-replace): Use a negative prefix arg
4315 to call `perform-replace' with a non-nil arg `backward'.
4317 2013-12-18 Juri Linkov <juri@jurta.org>
4319 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4320 to the default list. Move `log-edit-show-files' to the end.
4321 Add more available functions to options.
4322 (log-edit): Move default specific settings to
4323 `log-edit-insert-message-template'. Don't move point.
4324 (log-edit-insert-message-template): New function.
4325 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4328 2013-12-18 Juri Linkov <juri@jurta.org>
4330 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4331 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4333 2013-12-18 Leo Liu <sdl.web@gmail.com>
4335 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4338 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4340 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4341 formats for displaying file sizes when the -s switch is given.
4342 Instead, compute a separate format for displaying the size in
4343 blocks, which is displayed in addition to the "regular" size.
4344 When -h is given in addition to -s, produce size in blocks in
4345 human-readable form as well. (Bug#16179)
4347 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4349 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4350 Reference tables with ~\ref{...} instead of only \ref{...}.
4352 2013-12-18 Chong Yidong <cyd@gnu.org>
4354 * cus-edit.el (custom-magic-alist): Fix "themed" description
4357 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4358 is non-nil, do not create a new entry in the symbol's theme-value
4359 or theme-face property; update theme-settings only (Bug#14664).
4360 (custom-available-themes): Doc fix.
4362 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4365 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4367 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4369 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4372 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4374 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4376 2013-12-18 Glenn Morris <rgm@gnu.org>
4378 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4379 * cus-start.el (load-prefer-newer): New option.
4381 2013-12-18 Le Wang <l26wang@gmail.com>
4383 * comint.el (comint-previous-matching-input-from-input):
4384 Retain point (Bug#13404).
4386 2013-12-18 Chong Yidong <cyd@gnu.org>
4388 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4390 2013-12-18 Glenn Morris <rgm@gnu.org>
4392 * mail/emacsbug.el (report-emacs-bug):
4393 Only mention enable-multibyte-characters if non-standard.
4395 2013-12-17 Juri Linkov <juri@jurta.org>
4397 * arc-mode.el (archive-extract-by-file): Check if directory exists
4398 before deletion to not show irrelevant errors if it doesn't exist.
4400 2013-12-17 Juri Linkov <juri@jurta.org>
4402 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4405 * net/eww.el (browse-web): Add alias to `eww'.
4406 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4407 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4409 * net/browse-url.el (browse-url-browser-function): Move `eww'
4410 closer to similar functions.
4412 * startup.el (fancy-startup-screen, fancy-about-screen):
4413 Set browse-url-browser-function to eww-browse-url locally.
4416 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4418 * window.el (window--pixel-to-total): Remove unused `mini' var.
4419 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4420 (split-window): Remove unused `new' var.
4421 (window--display-buffer): Remove unused `frame' and `delta' vars.
4422 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4425 2013-12-17 Martin Rudalics <rudalics@gmx.at>
4427 * dired.el (dired-mark-pop-up):
4428 * register.el (register-preview): Don't bind
4429 split-height-threshold here since it's now done in
4430 display-buffer-below-selected.
4432 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4434 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4435 xterm-rgb-convert-to-16bit.
4436 (rxvt-register-default-colors): Standardize with
4437 xterm-register-default-colors (Bug#14078).
4439 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4441 * simple.el (kill-region): Pass mark first, then point, so that
4442 kill-append works right (Bug#12819).
4443 (copy-region-as-kill, kill-ring-save): Likewise.
4445 2013-12-17 Leo Liu <sdl.web@gmail.com>
4447 * net/rcirc.el (rcirc-add-face):
4448 * eshell/em-prompt.el (eshell-emit-prompt):
4449 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4452 2013-12-17 Chong Yidong <cyd@gnu.org>
4454 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4455 Suggested by Xue Fuqiao.
4457 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4459 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4461 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4463 * net/shr.el (shr-insert-document): Remove unused var
4464 `shr-preliminary-table-render'.
4465 (shr-rescale-image): Remove unused arg `force'.
4466 (shr-put-image): Update calls accordingly.
4467 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4469 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4471 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4472 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4473 :close-all, to see which indentation method to use (Bug#16116).
4474 (smie-rules-function): Document the method :close-all.
4476 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4478 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4480 * net/eww.el (eww-display-html): If we can't find the anchor we're
4481 looking for, then go to point-min.
4483 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4485 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4486 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4487 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4488 Expand dir too, in case it's relative.
4490 2013-12-16 Juri Linkov <juri@jurta.org>
4492 * desktop.el (desktop-auto-save-timeout): Change default to
4493 `auto-save-timeout'. Doc fix.
4494 (desktop-save): Skip the timestamp in desktop-saved-frameset
4495 when checking for auto-save changes.
4496 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4497 `desktop-auto-save' is called repeatedly by the idle timer.
4498 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4499 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4502 2013-12-16 Juri Linkov <juri@jurta.org>
4504 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4506 (isearch-pre-command-hook): Check `this-command' for symbolp.
4508 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4510 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4512 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4514 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4515 (cfengine3--current-function): Bring in the current-function
4516 functionality from `cfengine3--current-word'.
4517 (cfengine3-completion-function): Bring in the
4518 bounds-of-current-word functionality from
4519 `cfengine3--current-word'.
4521 2013-12-16 Martin Rudalics <rudalics@gmx.at>
4523 * window.el (display-buffer-below-selected):
4524 Bind split-height-threshold to 0 as suggested by Juri Linkov.
4526 2013-12-16 Leo Liu <sdl.web@gmail.com>
4528 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4529 Remove NOMSG arg and all uses changed.
4531 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4533 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4534 (cua--deactivate-rectangle): Don't deactivate the mark.
4535 (cua-set-rectangle-mark): Don't set mark-active since
4536 cua--activate-rectangle already does it for us.
4537 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4538 non-rectangular region.
4540 * emulation/cua-base.el (cua-repeat-replace-region):
4541 Use with-current-buffer.
4543 * net/gnutls.el: Use cl-lib.
4544 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4546 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4548 * emacs-lisp/package.el (package-built-in-p): Support both
4549 built-in and the package.el converted package descriptions.
4550 (package-show-package-list): Allow keywords.
4551 (package-keyword-button-action): Use it instead of
4552 `finder-list-matches'.
4553 (package-menu-filter-interactive): Interactive filtering (by
4555 (package-menu--generate): Support keywords and change keymappings
4556 and headers when they are given.
4557 (package--has-keyword-p): Helper function.
4558 (package-menu--refresh): Use it.
4559 (package--mapc): Helper function.
4560 (package-all-keywords): Use it.
4561 (package-menu-mode-map): Set up menu items and keybindings to
4562 provide a filtering UI.
4564 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4566 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4567 the behavior when a certificate fails validation. Defaults to
4568 old behavior: never abort, just warn.
4569 (gnutls-negotiate): Use it.
4571 2013-12-14 Martin Rudalics <rudalics@gmx.at>
4573 * window.el (display-buffer-below-selected): Never split window
4574 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4576 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4578 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4579 (package-buffer-info): Use it (bug#15108).
4581 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4583 * icomplete.el (icomplete-completions): Make sure the prefix is already
4584 displayed elsewhere before hiding it (bug#16219).
4586 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4588 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4589 open-paren tokens when preceded by a open-paren, too.
4590 (ruby-smie-rules): Handle virtual indentation after open-paren
4591 tokens specially. If there is code between it and eol, return the
4592 column where is starts (Bug#16118).
4594 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4596 * progmodes/cfengine.el: Fix `add-hook' doc.
4597 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
4598 (cfengine3--current-word): Fix parameters.
4599 (cfengine3-make-syntax-cache): Simplify further.
4600 (cfengine3-completion-function, cfengine3--current-function):
4601 Use `assq' for symbols.
4602 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4604 2013-12-13 Glenn Morris <rgm@gnu.org>
4606 * loadup.el (load-path): Warn if site-load or site-init changes it.
4607 No more need to reset it when bootstrapping.
4609 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4611 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4612 locations for cf-promises.
4613 (cfengine-mode-syntax-functions-regex): New caching variable.
4614 (cfengine3-fallback-syntax): Fallback syntax for cases where
4615 cf-promises doesn't run.
4616 (cfengine3--current-word): Reimplement using
4617 `cfengine-mode-syntax-functions-regex'.
4618 (cfengine3-completion-function, cfengine3--current-function):
4619 Use `cfengine3-make-syntax-cache' directly.
4620 (cfengine3-clear-syntax-cache): New function.
4621 (cfengine3-make-syntax-cache): Simplify and create
4622 `cfengine-mode-syntax-functions-regex' on demand.
4623 (cfengine3-format-function-docstring): Don't call
4624 `cfengine3-make-syntax-cache' explicitly.
4626 2013-12-13 Martin Rudalics <rudalics@gmx.at>
4628 Fix windmove-find-other-window broken after pixelwise resizing
4630 * windmove.el (windmove-other-window-loc): Revert change from
4632 (windmove-find-other-window): Call window-in-direction.
4633 * window.el (window-in-direction): New arguments SIGN, WRAP and
4634 MINI to emulate original windmove-find-other-window behavior.
4636 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4638 * simple.el (blink-matching--overlay): New variable.
4639 (blink-matching-open): Instead of moving point, highlight the
4640 matching paren with an overlay
4641 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4643 * faces.el (paren-showing-faces, show-paren-match)
4644 (show-paren-mismatch): Move from paren.el.
4646 2013-12-13 Leo Liu <sdl.web@gmail.com>
4648 * indent.el (indent-region): Disable progress reporter in
4649 minibuffer. (Bug#16108)
4651 * bindings.el (visual-order-cursor-movement): Fix version.
4653 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4655 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4656 Also match after beginning of line.
4657 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
4658 files. Thanks to Russell Sim. (Bug#15378)
4660 2013-12-13 Juri Linkov <juri@jurta.org>
4662 * simple.el <Keypad support>: Remove key bindings duplicated
4663 with bindings.el. (Bug#14397)
4665 2013-12-13 Juri Linkov <juri@jurta.org>
4667 * comint.el (comint-mode-map): Replace `delete-char' with
4668 `delete-forward-char'. (Bug#16109)
4670 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4672 * progmodes/python.el (python-indent-calculate-indentation):
4673 Fix de-denters cornercase. (Bug#15731)
4675 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4677 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4678 (advice--make): Pay attention to `depth'.
4679 (advice--make-1): Don't autoload commands eagerly.
4680 * emacs-lisp/elp.el (elp-instrument-function):
4681 * emacs-lisp/trace.el (trace-function-internal):
4682 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4684 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4686 2013-12-12 Eli Zaretskii <eliz@gnu.org>
4688 * term/w32-win.el (w32-handle-dropped-file):
4689 * startup.el (normal-top-level):
4690 * net/browse-url.el (browse-url-file-url):
4691 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4692 decode file names using 'utf-8' rather than
4693 file-name-coding-system.
4695 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4697 * progmodes/python.el (python-indent-context)
4698 (python-indent-calculate-indentation): Fix auto-identation
4699 behavior for comment blocks. (Bug#15916)
4701 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4703 * progmodes/python.el (python-indent-calculate-indentation):
4704 When determining indentation, don't treat "return", "pass", etc., as
4705 operators when they are just string constituents. (Bug#15812)
4707 2013-12-12 Juri Linkov <juri@jurta.org>
4709 * uniquify.el (uniquify-buffer-name-style): Change default to
4710 `post-forward-angle-brackets'.
4712 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4713 `uniquify'. Change default to `post-forward-angle-brackets'.
4715 2013-12-11 Glenn Morris <rgm@gnu.org>
4717 * emacs-lisp/package.el (finder-list-matches):
4718 Autoload rather than falsely declaring.
4720 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4722 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4723 (eww-mode-map): Use them.
4725 2013-12-11 Martin Rudalics <rudalics@gmx.at>
4727 * window.el (display-buffer-in-side-window): Fix doc-string
4730 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
4732 * vc/vc-git.el: Silence byte-compiler warnings.
4733 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4734 (log-edit-set-header): Declare.
4736 2013-12-11 Eli Zaretskii <eliz@gnu.org>
4738 * Makefile.in (custom-deps, finder-data): Run output file names
4739 through unmsys--file-name. (Bug#16099)
4741 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4743 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
4744 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
4746 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4747 instead of deleting the selection "by hand" (bug#16098).
4748 Rely on insert-for-yank to yank rectangles.
4749 (cua-highlight-region-shift-only): Mark obsolete.
4750 (cua-mode): Don't enable/disable transient-mark-mode,
4751 shift-select-mode (cua-mode works both with and without them), and
4752 pc-selection-mode (obsolete).
4753 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4754 (cua--deactivate-rectangle): Deactivate it.
4756 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4757 (delete-selection-helper): Make sure yank starts at the top of the
4759 (minibuffer-keyboard-quit): Use region-active-p.
4761 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4763 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4764 to `delete' (bug#16109).
4766 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4768 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4769 info manual and show keybindings and set `:group' keyword.
4771 2013-12-11 Juri Linkov <juri@jurta.org>
4773 * delsel.el (delete-active-region): Let-bind `this-command'
4774 to prevent `kill-region' from changing its original value.
4775 (delete-selection-helper): Handle `overwrite-mode' for the type
4776 `kill' exactly the same way as for the type `t'.
4777 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4778 Support more commands. (Bug#13312)
4780 2013-12-11 Juri Linkov <juri@jurta.org>
4782 * bindings.el: Map kp keys to non-kp keys systematically
4783 with basic modifiers control, meta and shift. (Bug#14397)
4785 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4787 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4788 "Close browser" menu items. Fix wrong function of "List
4791 2013-12-11 Juri Linkov <juri@jurta.org>
4793 * misearch.el (multi-isearch-buffers): Set the value of
4794 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4795 arg of isearch-forward to t.
4796 (multi-isearch-buffers-regexp): Set the value of
4797 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4798 arg of isearch-forward-regexp to t.
4799 (multi-isearch-files): Set the value of
4800 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4801 arg of isearch-forward to t.
4802 (multi-isearch-files-regexp): Set the value of
4803 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4804 arg of isearch-forward-regexp to t. (Bug#16035)
4806 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4807 arg of isearch-forward to t.
4808 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4809 arg of isearch-forward-regexp to t.
4810 (dired-isearch-filter-filenames): Remove unnecessary check for
4811 `dired-isearch-filenames'.
4813 * comint.el (comint-history-isearch-backward):
4814 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4815 (comint-history-isearch-backward-regexp):
4816 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4818 2013-12-10 Eli Zaretskii <eliz@gnu.org>
4820 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4821 unmsys--file-name. (Bug#16099)
4823 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4825 * emacs-lisp/package.el (package-keyword-button-action):
4826 Remove finder.el require dependency.
4828 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4830 * emacs-lisp/package.el: Require finder.el.
4831 (describe-package-1): Add keyword buttons.
4832 (package-make-button): New convenience function.
4833 (package-keyword-button-action): Keyword button action using
4834 `finder-list-matches'.
4836 2013-12-09 Eli Zaretskii <eliz@gnu.org>
4838 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4841 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
4843 * autorevert.el (auto-revert-notify-add-watch): Do not handle
4846 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4848 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4849 after the end of a percent literal.
4851 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
4853 * progmodes/ruby-mode.el (ruby-forward-string): Document.
4854 Handle caret-delimited strings (Bug#16079).
4856 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4858 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
4859 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
4860 `ruby-parse-partial' (Bug#16078).
4862 2013-12-09 Leo Liu <sdl.web@gmail.com>
4864 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
4866 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
4868 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4869 (js-switch-indent-offset): New option.
4870 (js--proper-indentation): Use it. And handle the case when
4871 "default" is actually a key in an object literal.
4872 (js--same-line): New function.
4873 (js--multi-line-declaration-indentation): Use it.
4874 (js--indent-in-array-comp, js--array-comp-indentation):
4876 (js--proper-indentation): Use them, to handle array comprehension
4879 2013-12-08 Leo Liu <sdl.web@gmail.com>
4881 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4882 (flymake-make-overlay): Remove arg MOUSE-FACE.
4883 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4885 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4887 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4889 (redisplay-highlight-region-function): Use it.
4891 * emulation/cua-base.el (cua--explicit-region-start)
4892 (cua--last-region-shifted): Remove.
4893 (cua--deactivate): Use deactivate-mark.
4894 (cua--pre-command-handler-1): Don't handle shift-selection.
4895 (cua--post-command-handler-1): Don't change transient-mark-mode.
4896 (cua--select-keymaps): Use region-active-p rather than
4897 cua--explicit-region-start or cua--last-region-shifted.
4898 (cua-mode): Enable shift-select-mode.
4900 2013-12-08 Leo Liu <sdl.web@gmail.com>
4902 * progmodes/flymake.el (flymake-popup-current-error-menu):
4903 Rename from flymake-display-err-menu-for-current-line. Reimplement.
4904 (flymake-posn-at-point-as-event, flymake-popup-menu)
4905 (flymake-make-emacs-menu): Remove. (Bug#16077)
4907 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4909 * rect.el (rectangle-mark-mode): Activate mark even if
4910 transient-mark-mode is off (bug#16066).
4911 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4912 is > mark and at bolp.
4914 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4915 (region-extract-function): Use it.
4916 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4917 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4919 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4920 kill-ring-save, kill-region, delete-char, delete-forward-char.
4921 Ignore self-insert-iso.
4923 * emulation/cua-gmrk.el (cua--init-global-mark):
4924 Ignore `self-insert-iso'.
4926 * emulation/cua-base.el (cua--prefix-copy-handler)
4927 (cua--prefix-cut-handler): Rely on region-extract-function rather than
4928 checking cua--rectangle.
4929 (cua-delete-region): Use region-extract-function.
4930 (cua-replace-region): Delete function.
4931 (cua-copy-region, cua-cut-region): Obey region-extract-function.
4932 (cua--pre-command-handler-1): Don't do the delete-selection thing.
4933 (cua--self-insert-char-p): Ignore `self-insert-iso'.
4934 (cua--init-keymaps): Don't remap delete-selection commands.
4935 (cua-mode): Use delete-selection-mode instead of rolling our own
4938 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4939 Obey region-extract-function.
4941 Make registers and delete-selection-mode work on rectangles.
4942 * register.el (describe-register-1): Don't modify the register's value.
4943 (copy-to-register): Obey region-extract-function.
4944 * delsel.el (delete-active-region): Obey region-extract-function.
4946 2013-12-08 Leo Liu <sdl.web@gmail.com>
4948 * progmodes/flymake.el (flymake, flymake-error-bitmap)
4949 (flymake-warning-bitmap, flymake-fringe-indicator-position)
4950 (flymake-compilation-prevents-syntax-check)
4951 (flymake-start-syntax-check-on-newline)
4952 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4953 (flymake-start-syntax-check-on-find-file, flymake-log-level)
4954 (flymake-xml-program, flymake-master-file-dirs)
4955 (flymake-master-file-count-limit)
4956 (flymake-allowed-file-name-masks): Relocate.
4957 (flymake-makehash, flymake-float-time)
4958 (flymake-replace-regexp-in-string, flymake-split-string)
4959 (flymake-get-temp-dir): Remove.
4960 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4961 (flymake-current-row, flymake-selected-frame)
4962 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4963 related functions. (Bug#16077)
4965 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4967 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4969 2013-12-07 Tassilo Horn <tsdh@gnu.org>
4971 * help-fns.el (describe-function-1): Use new advice-* functions
4972 rather than old ad-* functions. Fix function type description and
4973 source links for advised functions and subrs.
4975 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4977 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
4979 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
4981 * progmodes/compile.el (compilation-start):
4982 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
4984 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4985 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
4987 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4989 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4990 Touch up the last change.
4992 2013-12-06 Leo Liu <sdl.web@gmail.com>
4994 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4995 (inferior-octave-startup): Always use "octave> " for prompt.
4996 (octave-goto-function-definition)
4997 (octave-sync-function-file-names)
4998 (octave-find-definition-default-filename): Remove redundant backquotes.
5000 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5002 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5004 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5005 where appropriate already.
5006 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5007 end of method names (Bug#15874).
5009 2013-12-06 Juri Linkov <juri@jurta.org>
5011 * isearch.el (isearch--saved-overriding-local-map):
5012 New internal variable.
5013 (isearch-mode): Set it to the initial value of
5014 `overriding-terminal-local-map'.
5015 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5016 with `isearch--saved-overriding-local-map'. (Bug#16035)
5018 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5020 * progmodes/octave.el (inferior-octave-completion-table):
5021 Turn back into function, use `completion-table-with-cache'
5022 (Bug#11906). Update all references.
5024 * minibuffer.el (completion-table-with-cache): New function.
5026 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5028 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5030 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5032 * net/eww.el (eww-current-source): New variable to store page
5034 (eww-display-html, eww-mode, eww-save-history)
5035 (eww-restore-history): Use it.
5036 (eww-view-source): New command to view page source.
5037 Opportunistically uses `html-mode' to highlight the buffer.
5038 (eww-mode-map): Install it.
5040 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5042 * net/dbus.el (dbus-unregister-service)
5043 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5045 (dbus-unregister-service): Skip :serial entries in
5046 `dbus-registered-objects-table'.
5047 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5049 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5051 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5052 around keywords with extra `split-string' argument.
5054 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5056 * windmove.el (windmove-other-window-loc): Handle navigation
5057 between windows (excluding the minibuffer window - Bug#16017).
5059 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5061 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5062 in D-Bus type syntax.
5063 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5064 preserve unibyte strings. (Bug#16048)
5066 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5068 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5069 Call force-mode-line-update is the proper buffer (bug#16042).
5071 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5073 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5074 `log-edit-remember-comment', make argument optional. Adjust all
5076 (log-edit-mode): Add `log-edit-remember-comment' to
5077 `kill-buffer-hook' locally.
5078 (log-edit-kill-buffer): Don't remember comment explicitly since
5079 the buffer is killed anyway.
5081 2013-12-04 Juri Linkov <juri@jurta.org>
5083 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5084 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5086 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5088 * notifications.el (notifications-close-notification): Call the
5089 D-Bus method with ID being a `:uint32'. (Bug#16030)
5091 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5093 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5095 2013-12-03 Juri Linkov <juri@jurta.org>
5097 * progmodes/compile.el (compilation-start): Rename window alist
5098 entry `no-display-ok' to `allow-no-window'.
5100 * simple.el (shell-command): Add window alist entry
5101 `allow-no-window' to `display-buffer'.
5102 (async-shell-command): Doc fix.
5104 * window.el (display-buffer-no-window): New action function.
5105 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5107 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5109 * vc/log-edit.el (log-edit-set-header): Extract from
5110 `log-edit-toggle-header'.
5111 (log-edit-extract-headers): Separate the summary, when extracted
5112 from header, from the rest of the message with an empty line.
5114 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5115 line, if present, to the Summary header.
5117 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5119 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5120 in current-buffer (bug#16029).
5122 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5124 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5125 (debugger-mode-map): Bind it.
5126 (debugger--backtrace-base): New function.
5127 (debugger-eval-expression): Use it.
5128 (debugger-frame-number): Skip local vars when present.
5129 (debugger--locals-visible-p, debugger--insert-locals)
5130 (debugger--show-locals, debugger--hide-locals): New functions.
5132 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5134 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5136 (tramp-get-remote-locale): New defun.
5137 (tramp-open-connection-setup-interactive-shell): Use it.
5139 2013-12-02 Leo Liu <sdl.web@gmail.com>
5141 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5143 * progmodes/sh-script.el (sh-shell-process):
5144 * progmodes/octave.el (inferior-octave-process-live-p):
5145 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5146 (gdb-inferior-io-sentinel):
5147 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5149 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5151 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5152 `save-selected-window' to `log-edit-hide-buf'. This makes
5153 `log-edit-show-files' idempotent.
5154 (log-edit-show-files): Mark the new window as dedicated.
5156 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5158 * vc/log-edit.el (log-edit-mode-map): Add binding for
5159 `log-edit-kill-biffer'.
5160 (log-edit-hide-buf): Add a FIXME comment.
5161 (log-edit-add-new-comment): New function, extracted from
5163 (log-edit-done, log-edit-add-to-changelog): Use it.
5164 (log-edit-kill-buffer): New command.
5166 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5168 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5169 instead of killing the buffer.
5171 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5173 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5175 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5177 * net/eww.el (eww-form-checkbox-selected-symbol)
5178 (eww-form-checkbox-symbol): New customizable variable.
5179 (eww-form-checkbox, eww-toggle-checkbox):
5180 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5182 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5183 (shr--get-media-pref, shr--extract-best-source): New function.
5184 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5185 no :src tag was specified.
5187 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5188 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5189 Use \\` to match beginning of string instead of ^.
5190 (eww-browse-with-external-browser): Provide optional URL parameter.
5191 (eww-render): Set `eww-current-title' back to "".
5193 * net/shr.el (shr-tag-video): Display content for video if no
5194 poster is available.
5195 (shr-tag-audio): Add support for <audio> tag.
5197 * net/eww.el (eww-text-input-types): New const.
5198 (eww-process-text-input): Treat input types in
5199 `eww-text-input-types' as text.
5201 * net/shr.el (shr-tag-table): Fix comment typo.
5203 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5205 * net/eww.el (eww-follow-link): New command to avoid reloading
5206 pages when we follow #target links (bug#15243).
5207 (eww-quit): Special mode buffers shouldn't query before exiting.
5209 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5211 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5214 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5216 * net/eww.el (eww-restore-history): Update the window title after
5217 moving in the history.
5218 (eww-current-dom): New variable used to save the current DOM.
5220 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5222 * vc/log-edit.el (log-edit-mode-map): Add binding for
5223 `log-edit-beginning-of-line'.
5224 (log-edit-setup-add-author): New user option.
5225 (log-edit-beginning-of-line): New command.
5226 (log-edit): Move major mode call above the contents setup so that
5227 the local variable values are already applied.
5228 (log-edit): Only insert "Author: " when
5229 `log-edit-setup-add-author' is non-nil.
5230 (log-edit): When SETUP is non-nil, position point after ": "
5231 instead of point-min.
5233 2013-12-01 Glenn Morris <rgm@gnu.org>
5235 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5237 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5239 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5240 redisplay to make sure the initial frame gets a chance to become
5241 visible. (Bug#16014)
5243 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5245 Support resizing frames and windows pixelwise.
5246 * cus-start.el (frame-resize-pixelwise)
5247 (window-resize-pixelwise): New entries.
5248 * emacs-lisp/debug.el (debug): Use window-total-height instead
5249 of window-total-size.
5250 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5251 * help.el (describe-bindings-internal): Use help-buffer as
5252 argument for with-help-window.
5253 (temp-buffer-max-width): New option.
5254 (resize-temp-buffer-window, help-window-setup)
5255 (with-help-window): Rewrite.
5256 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5258 * window.el (frame-char-size, window-min-pixel-height)
5259 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5260 (window-min-pixel-width, window-safe-min-pixel-size)
5261 (window-combination-p, window-safe-min-size)
5262 (window-resizable-p, window--size-to-pixel)
5263 (window--pixel-to-size, window--resize-apply-p): New functions.
5264 (window-safe-min-height): Fix doc-string.
5265 (window-size, window-min-size, window--min-size-1)
5266 (window-sizable, window-sizable-p, window--min-delta-1)
5267 (window-min-delta, window--max-delta-1, window-max-delta)
5268 (window--resizable, window--resizable-p, window-resizable)
5269 (window-full-height-p, window-full-width-p, window-at-side-p)
5270 (window--in-direction-2, window-in-direction)
5271 (window--resize-reset-1, window--resize-mini-window)
5272 (window-resize, window-resize-no-error)
5273 (window--resize-child-windows-normal)
5274 (window--resize-child-windows, window--resize-siblings)
5275 (window--resize-this-window, window--resize-root-window)
5276 (window--resize-root-window-vertically)
5277 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5278 (maximize-window, minimize-window, delete-window)
5279 (quit-restore-window, window-split-min-size, split-window)
5280 (balance-windows-2, balance-windows)
5281 (balance-windows-area-adjust, balance-windows-area)
5282 (window--state-get-1, window-state-get, window--state-put-1)
5283 (window--state-put-2, window-state-put)
5284 (display-buffer-record-window, window--display-buffer):
5285 Make functions handle pixelwise sizing of windows.
5286 (display-buffer--action-function-custom-type)
5287 (display-buffer-fallback-action):
5288 Add display-buffer-in-previous-window.
5289 (display-buffer-use-some-window): Resize window to height it had
5291 (fit-window-to-buffer-horizontally): New option.
5292 (fit-frame-to-buffer): Describe new values.
5293 (fit-frame-to-buffer-bottom-margin): Replace with
5294 fit-frame-to-buffer-margins.
5295 (window--sanitize-margin): New function.
5296 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5297 using window-text-pixel-size.
5299 2013-11-30 Glenn Morris <rgm@gnu.org>
5301 * emacs-lisp/bytecomp.el (byte-compile-form):
5302 Make the `interactive-only' warning like the `obsolete' one.
5303 * comint.el (comint-run):
5304 * files.el (insert-file-literally, insert-file):
5305 * replace.el (replace-string, replace-regexp):
5306 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5307 (goto-line, insert-buffer, next-line, previous-line):
5308 Tweak `interactive-only' spec.
5310 Stop keeping (most) generated cedet grammar files in the repository.
5311 * Makefile.in (semantic): New.
5312 (compile-main): Depend on semantic.
5314 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5316 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5317 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5319 * uniquify.el (uniquify-buffer-name-style): Change default.
5321 * loadup.el: Preload "uniquify".
5323 * time.el (display-time-update): Update all mode lines (bug#15999).
5325 * electric.el (electric-indent-mode): Enable by default.
5326 * loadup.el: Preload "electric".
5328 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5330 * emacs-lisp/helpers.el (string-empty-p): New function.
5331 (string-blank-p): New function.
5333 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5335 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5338 2013-11-29 Andreas Politz <politza@fh-trier.de>
5339 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5340 allow non-lambda lists as functions.
5341 (imenu--in-alist): Don't recurse into non-subalists.
5342 (imenu): Don't pass function itself as an argument (Bug#14029).
5344 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5346 * progmodes/python.el (python-mode-map): Remove binding for ":".
5347 (python-indent-electric-colon): Remove command.
5348 (python-indent-post-self-insert-function): Integrate the previous code
5349 of python-indent-electric-colon. Make it conditional on
5350 electric-indent-mode.
5351 (python-mode): Add ?: to electric-indent-chars.
5352 Move python-indent-post-self-insert-function to the end of
5353 post-self-insert-hook.
5355 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5357 * doc-view.el (doc-view-goto-page): Update mode-line.
5359 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5361 2013-11-27 Glenn Morris <rgm@gnu.org>
5363 * international/charprop.el, international/uni-bidi.el:
5364 * international/uni-category.el, international/uni-combining.el:
5365 * international/uni-comment.el, international/uni-decimal.el:
5366 * international/uni-decomposition.el, international/uni-digit.el:
5367 * international/uni-lowercase.el, international/uni-mirrored.el:
5368 * international/uni-name.el, international/uni-numeric.el:
5369 * international/uni-old-name.el, international/uni-titlecase.el:
5370 * international/uni-uppercase.el:
5371 Remove generated files from VCS repository.
5373 2013-11-27 Eli Zaretskii <eliz@gnu.org>
5375 * filenotify.el (file-notify-add-watch): Don't special-case
5376 w32notify when computing the directory to watch.
5378 2013-11-27 Glenn Morris <rgm@gnu.org>
5380 Make bootstrap without generated uni-*.el files possible again.
5381 * loadup.el: Update command-line-args checking for unidata-gen.
5382 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5383 * composite.el, international/characters.el:
5384 Handle unicode tables being undefined.
5386 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
5387 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5388 (compile-main): Depend on leim rule.
5390 * loadup.el: Move leim-list.el to leim/ subdirectory.
5391 * startup.el (normal-top-level): No more leim directory.
5392 * international/ja-dic-cnv.el (skkdic-convert):
5393 Disable version-control and autoloads in output files.
5394 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5395 Disable version-control and autoloads in output files.
5396 * leim/quail: Move here from ../leim.
5397 * leim/quail/hangul.el (hangul-input-method-activate):
5398 Add autoload cookie.
5399 (generated-autoload-load-name): Set file-local value.
5400 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5401 (generated-autoload-load-name): Set file-local value.
5403 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
5405 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
5406 (eww-add-bookmark): Ask confirmation when add to bookmarks.
5407 (eww-quit): Ask confirmation before quitting eww.
5409 2013-11-26 Eli Zaretskii <eliz@gnu.org>
5411 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5412 reading output from Diff on MS-Windows and MS-DOS.
5414 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5416 * emacs-lisp/helpers.el (string-reverse): New function.
5418 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
5420 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5421 names on MS Windows, like "/[::1]:".
5423 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5426 2013-11-26 Glenn Morris <rgm@gnu.org>
5428 * progmodes/python.el (python-indent-guess-indent-offset):
5429 Avoid corner-case error. (Bug#15975)
5431 Preload leim-list.el. (Bug#4789)
5432 * loadup.el: Load leim-list.el when found.
5433 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5435 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
5437 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5439 * emacs-lisp/helpers.el (string-join): New function.
5441 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
5443 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5444 Mark as obsolete and replace it with a symbol property.
5445 (byte-compile-form): Use new 'interactive-only property.
5446 * comint.el, files.el, replace.el, simple.el:
5447 Apply new 'interactive-only properly.
5449 2013-11-25 Martin Rudalics <rudalics@gmx.at>
5451 * window.el (display-buffer-at-bottom): Make sure that
5452 split-window-sensibly creates the new window on bottom
5455 2013-11-23 David Kastrup <dak@gnu.org>
5457 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5458 on the conflict markers when available.
5459 (smerge--get-marker): New function.
5460 (smerge-end-re, smerge-base-re): Add subgroup.
5462 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5464 * frame.el (handle-focus-in, handle-focus-out): Add missing
5467 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
5469 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5470 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5472 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5474 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5475 (gomoku--last-pos): New var.
5476 (gomoku--intangible-chars): New const.
5477 (gomoku--intangible): New function.
5478 (gomoku-mode): Use it. Derive from special-mode.
5479 (gomoku-move-up): Adjust line count.
5480 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5481 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5482 Simplify accordingly.
5484 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5485 Remove blink-cursor code.
5486 (blink-cursor-timer-function, blink-cursor-suspend):
5487 Don't special-case GUIs.
5488 (blink-cursor-mode): Use focus-in/out-hook.
5490 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5492 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5493 work when annotation is invisible (Bug#13886).
5495 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
5497 * json.el (json-alist-p): Only return non-nil if the alist has
5498 simple keys (Bug#13518).
5500 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
5502 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5503 when control-statement is the first statement in a buffer (Bug#15956).
5505 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5507 * imenu.el (imenu-generic-skip-comments-and-strings):
5508 New option (Bug#15560).
5509 (imenu--generic-function): Use it.
5511 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5513 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5516 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5518 * emacs-lisp/helpers.el: Add some string helpers.
5519 (string-trim-left): Removes leading whitespace.
5520 (string-trim-right): Removes trailing whitespace.
5521 (string-trim): Removes leading and trailing whitespace.
5523 * subr.el (string-suffix-p): New function.
5525 2013-11-23 Glenn Morris <rgm@gnu.org>
5527 * progmodes/python.el (python-shell-send-file):
5528 Add option to delete file when done. (Bug#15647)
5529 (python-shell-send-string, python-shell-send-region): Use it.
5531 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5533 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5534 to set buffer-read-only to t, never to nil. (Bug#15938)
5536 * textmodes/tex-mode.el (latex-noindent-environments):
5537 Add safe-local-variable property. (Bug#15936)
5539 2013-11-23 Glenn Morris <rgm@gnu.org>
5541 * textmodes/enriched.el (enriched-mode): Doc fix.
5542 * emacs-lisp/authors.el (authors-renamed-files-alist):
5543 Add enriched.doc -> enriched.txt.
5545 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5547 2013-11-22 Leo Liu <sdl.web@gmail.com>
5549 * progmodes/octave.el (inferior-octave-startup): Spit out error
5552 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5554 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5557 (ruby-encoding-magic-comment-style): Add :version.
5559 2013-11-22 Leo Liu <sdl.web@gmail.com>
5561 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5563 (octave-help-mode): Adapt to change to help-mode-finish to use
5564 derived-mode-p on 2013-09-17.
5565 (inferior-octave-prompt): Also match octave-gui.
5566 (octave-kill-process): Don't ask twice. (Bug#10564)
5568 2013-11-22 Leo Liu <sdl.web@gmail.com>
5570 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5571 (inferior-octave-startup, inferior-octave-check-process)
5572 (inferior-octave-track-window-width-change)
5573 (octave-completion-at-point, octave-eldoc-function): Use it.
5574 (octave-kill-process): Provide confirmation. (Bug#10564)
5576 2013-11-21 Leo Liu <sdl.web@gmail.com>
5578 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5579 Fix obsolete variable comment-use-global-state.
5581 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5583 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5584 Add `octave-source-file'.
5585 (octave-source-file): New function. (Bug#15935)
5587 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
5589 * net/eww.el (eww-local-regex): New variable.
5590 (eww): Use it to detect localhost and similar.
5592 2013-11-21 Leo Liu <sdl.web@gmail.com>
5594 Add completion for command `ag'.
5595 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5596 (pcomplete/ag): New function.
5597 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
5599 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5601 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5603 (make-obsolete): Remove interactive spec.
5605 2013-11-21 Glenn Morris <rgm@gnu.org>
5607 * startup.el (command-line-1): Use path-separator with -L.
5609 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5611 * emacs-lisp/package.el (describe-package-1): Add package archive
5614 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
5616 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5617 Change default to "# encoding: %s" to differentiate it from the
5618 default Ruby encoding comment template.
5620 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
5622 * ses.el (ses-mode): Doc fix. (Bug#14748)
5624 2013-11-20 Leo Liu <sdl.web@gmail.com>
5626 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5628 2013-11-19 Dan Nicolaescu <dann@gnu.org>
5630 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5631 when rebase or bisect are in progress.
5633 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5635 * filenotify.el (file-notify-add-watch): Doc fix.
5637 2013-11-19 Leo Liu <sdl.web@gmail.com>
5639 * obsolete/rcompile.el: Mark obsolete.
5641 * progmodes/compile.el (compilation-start)
5642 (compilation-goto-locus, compilation-find-file):
5643 Pass no-display-ok and handle nil value from display-buffer.
5646 * window.el (display-buffer-alist, display-buffer): Document the
5647 new parameter no-display-ok. Return either a window or nil
5648 but never a non-window value.
5650 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5652 * electric.el (electric-indent-mode-map): Remove.
5653 (electric-indent-mode): Change the global-map instead (bug#15915).
5655 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5658 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5660 * emacs-lisp/nadvice.el (remove-function): Align with
5661 add-function's behavior.
5663 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5664 (gdb--string-regexp): New constant.
5665 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5666 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5667 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5669 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5670 Adjust use accordingly.
5671 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5673 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5675 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5676 interpolation curlies (Bug#15914).
5678 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5680 * calc/calc.el (calc-context-sensitive-enter): New variable.
5681 (calc-enter): Use `calc-context-sensitive-enter'.
5683 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5685 * progmodes/cfengine.el: Version bump.
5686 (cfengine-cf-promises): New defcustom to locate cf-promises.
5687 (cfengine3-vartypes): Add new "data" type.
5688 (cfengine3--current-word): New function to get current name-like
5690 (cfengine3--current-function): New function to look up a CFEngine
5691 function's definition.
5692 (cfengine3-format-function-docstring): New function.
5693 (cfengine3-make-syntax-cache): New function.
5694 (cfengine3-documentation-function): New function: ElDoc glue.
5695 (cfengine3-completion-function): New function: completion glue.
5696 (cfengine3-mode): Set `compile-command',
5697 `eldoc-documentation-function', and add to
5698 `completion-at-point-functions'.
5700 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
5702 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5703 `tramp-current-connection'.
5705 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5707 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5708 nil/self/true/false with "end of symbol".
5710 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5712 * subr.el (version-regexp-alist): Fix a typo.
5714 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
5716 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5717 "en_US.utf8" and "LC_CTYPE" to "".
5718 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5719 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5721 2013-11-15 Leo Liu <sdl.web@gmail.com>
5723 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5725 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5727 * progmodes/gud.el (ctl-x-map):
5728 Remove C-x SPC binding. (Bug#12342)
5729 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5731 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5733 * subr.el (version-regexp-alist):
5734 Recognize hg, svn and darcs versions as snapshot versions.
5736 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5737 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5738 (ruby--encoding-comment-required-p): Extract from
5739 `ruby-mode-set-encoding'.
5740 (ruby-mode-set-encoding): Add the ability to always insert an
5741 utf-8 encoding comment. Fix and simplify coding comment update
5744 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
5746 * net/tramp-gvfs.el (top): Run init code only when
5747 `tramp-gvfs-enabled' is not nil.
5748 (tramp-gvfs-enabled): Check also :system bus.
5750 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5752 Sync with upstream verilog-mode revision 78e66ba.
5753 * progmodes/verilog-mode.el (verilog-end-of-defun)
5754 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5755 (verilog-get-end-of-defun): Remove unused argument.
5756 (verilog-comment-depth): Remove unused local `e'.
5757 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5758 Don't pass arg to verilog-get-end-of-defun.
5760 2013-11-14 Glenn Morris <rgm@gnu.org>
5762 * obsolete/assoc.el (aget): Prefix dynamic variable.
5764 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5766 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5768 * widget.el, hfy-cmap.el: Remove bogus package version number.
5770 2013-11-13 Glenn Morris <rgm@gnu.org>
5772 * replace.el (replace-eval-replacement):
5773 Try to give more helpful error message. (Bug#15836)
5775 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5776 (archive-7z-update): Avoid custom type mismatches.
5778 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5780 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
5782 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
5783 address can be empty.
5785 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5786 Accept nil SWITCHES.
5787 (tramp-gvfs-handle-write-region): Implement APPEND.
5789 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5791 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
5792 binary "|" operator and closing block args delimiter.
5793 Remove FIXME comment referring to Ruby 1.8-only syntax.
5794 (ruby-smie--implicit-semi-p): Not after "|" operator.
5795 (ruby-smie--closing-pipe-p): New function.
5796 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5797 (ruby-smie-rules): Indent after "|".
5799 2013-11-12 Glenn Morris <rgm@gnu.org>
5801 * ps-print.el (ps-face-attribute-list):
5802 Handle anonymous faces. (Bug#15827)
5804 2013-11-12 Martin Rudalics <rudalics@gmx.at>
5806 * window.el (display-buffer-other-frame): Fix doc-string.
5809 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5811 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5813 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
5815 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5816 (tramp-sh-handle-file-local-copy): Don't write a message when
5817 saving temporary files.
5819 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5820 both directories are remote.
5821 (tramp-smb-handle-directory-files): Do not return double entries.
5822 Do not expand full file names.
5823 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5824 (tramp-smb-handle-write-region): Implement APPEND.
5825 (tramp-smb-get-stat-capability): Fix a stupid bug.
5827 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5829 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5831 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5833 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5834 throwing error over malformed let/let* (bug#15814).
5836 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5838 * iswitchb.el (iswitchb-mode): Mark obsolete.
5840 2013-11-11 Glenn Morris <rgm@gnu.org>
5842 * international/uni-bidi.el, international/uni-category.el:
5843 * international/uni-name.el, international/uni-numeric.el:
5844 Regenerate for Unicode 6.3.0.
5846 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
5848 * net/tramp.el (tramp-methods):
5849 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
5850 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
5852 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
5854 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5855 Force highlighting text after Summary keyword in doc face for rpm.
5857 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
5859 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
5860 available and the word has no wildcards, append one to the grep pattern.
5861 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
5862 (ispell-complete-word): Call `ispell-lookup-words' with the value
5863 independent of `ispell-look-p'.
5865 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5867 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5869 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
5872 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5874 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
5875 (ruby-font-lock-keywords): Use backquote.
5877 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5879 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5880 (ruby-smie--backward-token): Only consider full-string matches.
5882 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5884 * faces.el (describe-face): Add distant-foreground.
5886 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5888 * progmodes/ruby-mode.el: Improve encoding comment handling.
5889 (ruby-encoding-magic-comment-style): New option.
5890 (ruby-custom-encoding-magic-comment-template): New option.
5891 (ruby--insert-coding-comment, ruby--detect-encoding):
5892 New functions extracted from `ruby-mode-set-encoding'.
5893 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5894 to control the style of the auto-inserted encoding comment.
5896 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5898 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5899 Use `smie-backward-sexp' with token argument.
5901 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
5903 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5904 Remove instrumentation code.
5906 2013-11-08 Glenn Morris <rgm@gnu.org>
5908 * progmodes/autoconf.el (autoconf-mode):
5909 Tweak comment-start-skip. (Bug#15822)
5911 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5913 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5914 at bobp (bug#15826).
5915 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5917 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
5919 * man.el (Man-start-calling): New macro, extracted from
5920 Man-getpage-in-background.
5921 (Man-getpage-in-background): Use it.
5922 (Man-update-manpage): New command.
5923 (Man-mode-map): Bind it.
5925 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5927 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5928 of "and", "or", "&&" and "||".
5929 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
5930 argument. Prohibit opening curly brace because it could only be a
5931 block opener in that position.
5932 (ruby-smie--forward-token, ruby-smie--backward-token):
5933 Separate "|" from "&" or "*" going after it. That can happen in block
5935 (ruby-smie--indent-to-stmt): New function, seeks the end of
5936 previous statement or beginning of buffer.
5937 (ruby-smie-rules): Use it.
5938 (ruby-smie-rules): Check if there's a ":" before a curly block
5939 opener candidate; if there is, it's a hash.
5941 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5943 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5944 (cl--block-wrapper): Fix last accidental change.
5946 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
5948 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5949 Instrument, in order to hunt failure on hydra.
5951 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5953 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5954 malformed bindings form (bug#15814).
5956 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5958 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
5959 "." compared to " @ ". This incidentally fixes some indentation
5961 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
5962 (ruby-smie-grammar): New tokens: "and" and "or".
5963 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5964 Exclude "and" and "or". Remove "do" in order to work around token
5966 (ruby-smie-rules): Add all infix tokens. Handle the case of
5967 beginning-of-buffer.
5969 2013-11-06 Glenn Morris <rgm@gnu.org>
5971 * Makefile.in (setwins_almost, setwins_for_subdirs):
5972 Avoid accidental matches.
5974 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5976 * menu-bar.el (popup-menu): Use key-binding.
5978 2013-11-06 Eli Zaretskii <eliz@gnu.org>
5980 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5981 menus, support also the menus produced by minor modes.
5984 2013-11-06 Leo Liu <sdl.web@gmail.com>
5986 * thingatpt.el (thing-at-point-looking-at): Add optional arg
5987 DISTANCE to bound the search. All uses changed. (Bug#15808)
5989 2013-11-06 Glenn Morris <rgm@gnu.org>
5991 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
5992 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5993 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
5995 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5997 * electric.el (electric-indent-just-newline): New command.
5998 (electric-indent-mode-map): New keymap.
5999 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6000 Re-add :group which weren't redundant.
6002 * electric.el (electric-indent-local-mode): New minor mode.
6003 (electric-indent-functions-without-reindent): New var.
6004 (electric-indent-post-self-insert-function): Use it.
6005 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6007 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6009 * international/quail.el (quail-help): Be more explicit about the
6010 meaning of the labels shown on the keys. (Bug#15800)
6012 * startup.el (normal-top-level): Load the subdirs.el files before
6013 setting the locale environment. (Bug#15805)
6015 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6017 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6018 via arguments so as to get the right ones (bug#15418).
6020 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6022 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6024 Fix problems found while writing a test suite.
6026 * net/tramp-compat.el (tramp-compat-load): New defun.
6027 * net/tramp.el (tramp-handle-load): Use it.
6029 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6030 "(numberp ok-if-already-exists)" correctly.
6032 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6034 * international/characters.el (glyphless-char-display-control):
6037 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6039 * progmodes/python.el (python-mode):
6040 * progmodes/scheme.el (scheme-mode):
6041 * progmodes/prolog.el (prolog-mode):
6042 * progmodes/ruby-mode.el (ruby-mode):
6043 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6044 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6046 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6048 * rect.el (rectangle--highlight-for-redisplay):
6049 * emacs-lisp/smie.el (smie--next-indent-change):
6050 Use buffer-chars-modified-tick.
6052 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6054 * electric.el (electric-indent-post-self-insert-function):
6055 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6057 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6059 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6061 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6063 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6066 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6068 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6070 * progmodes/python.el: Fix up last change.
6071 (python-shell--save-temp-file): New function.
6072 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6073 `string' comes from the current buffer.
6074 (python-shell-send-string-no-output): Remove `msg' arg.
6075 (python--use-fake-loc): New var.
6076 (python-shell-buffer-substring): Obey it. Try to compensate for the
6077 extra coding line added by python-shell--save-temp-file.
6078 (python-shell-send-region): Use python-shell--save-temp-file and
6079 python-shell-send-file directly. Add `nomain' argument.
6080 (python-shell-send-buffer): Use python-shell-send-region.
6081 (python-electric-pair-string-delimiter): New function.
6082 (python-mode): Use it.
6084 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6086 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6087 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6088 environment and decoding all of the default-directory's to here
6090 (command-line): Decode also argv[0].
6092 * loadup.el: Error out if default-directory is a multibyte string
6093 when we are dumping.
6095 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6097 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6099 * emacs-lisp/package.el (package-menu-mode)
6100 (package-menu--print-info, package-menu--archive-predicate):
6101 Add Archive column to package list.
6103 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6105 Fix problems found while writing a test suite.
6107 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6108 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6109 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6110 to nil when running original file name handler. Otherwise,
6111 there are problems with constructs like "$$FOO".
6113 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6116 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6118 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6120 * subr.el (version<, version<=, version=):
6121 Update docstrings with information for snapshot versions.
6123 * helpers.el: New library for misc helper functions.
6124 (hash-table-keys): New function returning a list of hash keys.
6125 (hash-table-values): New function returning a list of hash values.
6127 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6129 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6130 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6132 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6134 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6135 checking whether point is after a 1-letter word.
6137 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6139 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6140 Don't infloop when expanding region over `multiline' syntax-type that
6141 begins a line (bug#15778).
6143 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6145 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6146 Make it into a proper minor mode.
6147 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
6148 (rectangle-mark-mode-map): New keymap.
6149 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6151 2013-11-04 Glenn Morris <rgm@gnu.org>
6153 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6155 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6157 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6158 (ruby-smie-rules): Use smie-rule-parent instead.
6160 * emacs-lisp/smie.el (smie-rule-parent): Always call
6161 smie-indent-virtual rather than only for hanging tokens.
6162 (smie--next-indent-change): New helper command.
6164 2013-11-03 Glenn Morris <rgm@gnu.org>
6166 * Makefile.in (abs_srcdir): Remove.
6167 (emacs): Unset EMACSLOADPATH.
6169 2013-11-02 Glenn Morris <rgm@gnu.org>
6171 * Makefile.in (EMACS): Use a relative filename.
6172 (abs_top_builddir): Remove.
6173 (custom-deps, finder-data, autoloads): Use --chdir.
6175 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6177 Use relative filenames in TAGS files.
6178 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6179 (lisptagsfiles4, TAGS): Use relative file names.
6180 (TAGS-LISP): Remove.
6181 (maintainer-clean): No more TAGS-LISP file.
6183 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6184 (lisptagsfiles4): Use absolute filenames again.
6185 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6186 Remove all *loaddefs files, not just the first. Remove esh-groups.
6187 (maintainer-clean): Delete TAGS, TAGS-LISP.
6189 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6191 * emacs-lisp/package.el (package-version-join):
6192 Recognize snapshot versions.
6194 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6196 * subr.el (version-regexp-alist): Add support for snapshot versions.
6198 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6200 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6201 New function, replacement for `smie-rule-parent' for when we want to
6202 skip over our direct parent if it's an assignment token..
6203 (ruby-smie-rules): Use it.
6205 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6207 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6208 unconditionally. Remove now unnecessary forward declarations.
6209 Remove XEmacs-specific setup.
6210 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6211 (ruby-font-lock-syntactic-keywords)
6212 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6213 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6214 (ruby-here-doc-end-syntax): Remove.
6215 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6216 defined as function.
6218 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6220 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6222 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6224 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6225 table and abbrev table, `define-derived-mode' does that for us
6228 2013-11-01 Glenn Morris <rgm@gnu.org>
6230 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6231 files is atomic for some time, so no parallel compilation issues).
6233 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6235 * faces.el (face-x-resources): Add :distant-foreground.
6236 (region): Use :distant-foreground for gtk and ns.
6238 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6240 Allow multiple bibliographies when BibLaTeX is used rather than
6242 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6243 (reftex-locate-bibliography-files): Us it.
6245 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6247 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6248 allow comments in pbm files.
6250 * term/w32-win.el (dynamic-library-alist): Support newer versions
6251 of libjpeg starting with v7: look only for the DLL from the
6252 version against which Emacs was built.
6253 Support versions of libpng beyond 1.4.x.
6254 Support libtiff v4.x.
6256 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6258 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6259 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6261 (ruby-deep-arglist): Add property :type.
6263 2013-10-31 Glenn Morris <rgm@gnu.org>
6265 * Makefile.in (custom-deps, finder-data): No need to setq the target
6266 variables, we are in the right directory and the defaults work fine.
6268 2013-10-30 Glenn Morris <rgm@gnu.org>
6270 * Makefile.in (autoloads): Do not use abs_lisp.
6272 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6273 `newline' does not respect `standard-output', so use `princ'.
6275 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6277 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6278 * buff-menu.el (Buffer-menu--unmark): New function.
6279 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6281 2013-10-30 Glenn Morris <rgm@gnu.org>
6283 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6285 * emacs-lisp/package.el (lm-homepage): Declare.
6287 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6290 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6292 * Makefile.in (finder-data, autoloads, update-subdirs)
6293 (compile-main, compile-clean, compile-always, bootstrap-clean):
6294 Check return value of cd.
6295 (compile-calc): Remove.
6297 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6299 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6301 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6302 (byte-compile-and-folded): New function.
6303 (=, <, >, <=, >=): Use it.
6305 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6306 (path-separator, null-device, buffer-file-coding-system)
6307 (lpr-headers-switches): Check system-type before modifying them.
6308 (find-buffer-file-type-coding-system): Mark obsolete.
6309 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6310 find-file-not-found-set-buffer-file-coding-system.
6311 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6312 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6313 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6314 (w32-direct-print-region-helper, w32-direct-print-region-function)
6315 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6316 * startup.el (normal-top-level-add-subdirs-to-load-path):
6317 * ps-print.el (ps-print-region-function):
6318 * lpr.el (print-region-function): Use new name.
6320 * subr.el (custom-declare-variable-early): Remove function.
6321 (custom-declare-variable-list): Remove var.
6322 (error, user-error): Remove `while' loop.
6323 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6324 (user-emacs-directory-warning, locate-user-emacs-file):
6326 * simple.el (read-quoted-char-radix, read-quoted-char):
6327 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6329 * custom.el (custom-declare-variable-list): Don't process
6330 custom-declare-variable-list.
6332 * progmodes/python.el (python-shell-get-buffer): New function.
6333 (python-shell-get-process): Use it.
6334 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6335 Python which encoding was used. Don't split-string since we only care
6336 about the first line. Return the temp-file, if applicable.
6337 (python-shell-send-region): Tell compile.el how to turn locations in
6338 the temp-file into locations in the source buffer.
6340 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6342 * subr.el (undefined): Add missing behavior from the C code for
6345 * rect.el: Use lexical-binding. Add new rectangular region support.
6346 (rectangle-mark): New command.
6347 (rectangle--region): New var.
6348 (deactivate-mark-hook): Reset rectangle--region.
6349 (rectangle--extract-region, rectangle--insert-for-yank)
6350 (rectangle--highlight-for-redisplay)
6351 (rectangle--unhighlight-for-redisplay): New functions.
6352 (region-extract-function, redisplay-unhighlight-region-function)
6353 (redisplay-highlight-region-function): Use them to handle
6355 * simple.el (region-extract-function): New var.
6356 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6357 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6358 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6359 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6360 (redisplay-unhighlight-region-function)
6361 (redisplay-highlight-region-function): New vars.
6362 (redisplay--update-region-highlight): New function.
6363 (pre-redisplay-function): Use it.
6364 (exchange-point-and-mark): Don't deactivate the mark before
6365 reactivate-it anyway.
6366 * comint.el (comint-kill-region): Remove yank-handler argument.
6367 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6368 (delete-char): Remove property, since it's now part of their
6370 (self-insert-iso): Remove property since this command doesn't exist.
6372 * emacs-lisp/package.el (package--download-one-archive)
6373 (describe-package-1): Don't query the user about final newline.
6375 2013-10-29 Daniel Colascione <dancol@dancol.org>
6377 * net/tramp.el (tramp-methods): Document new functionality.
6378 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6379 tramp-hostname-checker if method provides one instead of scanning
6380 argument list for "%h" to decide hostname acceptability.
6382 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
6384 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6385 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6386 Handle COPY-CONTENTS. (Bug#15737)
6388 2013-10-28 Daiki Ueno <ueno@gnu.org>
6391 (epa-file-cache-passphrase-for-symmetric-encryption):
6392 Document that this option has no effect with GnuPG 2.0 (bug#15552).
6394 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6396 * image.el (defimage, image-load-path): Doc fixes.
6398 2013-10-27 Alan Mackenzie <acm@muc.de>
6400 Indent statements in macros following "##" correctly.
6401 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6402 Modify the "#" arm of a cond form to handle "#" and "##" operators.
6404 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6406 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6408 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6410 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6411 after `=' is probably a new expression.
6413 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6415 * man.el (man-imenu-title): New option.
6416 (Man-mode-map): Add menu. (Bug#15722)
6417 (Man-mode): Add imenu to menu.
6419 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6421 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6422 specific in what the first arg can be: a non-keyword word,
6423 string/regexp/percent literal opener, opening paren, or unary
6424 operator followed directly by word.
6426 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6428 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6429 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6430 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6431 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6432 Remove vars, they do not apply any more.
6433 (prolog-mode-abbrev-table): Remove redundant declaration.
6434 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6435 (prolog-use-smie): Remove.
6436 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6437 supported by prolog-electric-if-then-else-flag.
6438 (prolog-mode-variables, prolog-menu): Use setq-local.
6439 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6440 Remove binding to `Backspace' since this key doesn't exist anyway.
6441 Remove bindings for electric self-inserting keys.
6442 (prog-mode): Assume it's defined.
6443 (prolog-post-self-insert): New function.
6444 (prolog-mode): Use it.
6445 (prolog-indent-line, prolog-indent-level)
6446 (prolog-find-indent-of-matching-paren)
6447 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6448 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6449 (prolog-goto-next-paren, prolog-in-string-or-comment)
6450 (prolog-tokenize, prolog-inside-mline-comment)
6451 (prolog-find-start-of-mline-comment): Remove functions.
6452 (prolog-find-unmatched-paren, prolog-clause-end)
6453 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6454 (prolog-electric--if-then-else): Rename from
6455 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6456 (prolog-tokenize-searchkey): Remove const.
6457 (prolog-clause-info): Use forward-sexp.
6458 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6459 (prolog-electric-if-then-else): Remove commands.
6460 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6461 for use in post-self-insert-hook.
6462 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6463 for use in post-self-insert-hook.
6464 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6465 for use in post-self-insert-hook.
6466 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6467 adapt it for use in post-self-insert-hook.
6469 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
6471 * emacs-lisp/ert.el (ert-run-tests-interactively):
6472 Use `completing-read'. (Bug#9756)
6474 2013-10-25 Eli Zaretskii <eliz@gnu.org>
6476 * simple.el (line-move): Call line-move-1 instead of
6477 line-move-visual when the current window hscroll is zero, but
6478 temporary-goal-column indicates we will need to hscroll as result
6479 of the movement. (Bug#15712)
6481 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6483 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
6484 capitalization. Use :visible instead of :active.
6485 Fix `ruby-indent-exp' reference. Add menu items for the generic
6486 commands that are used with SMIE.
6487 (ruby-do-end-to-brace): Insert space after `{'.
6489 2013-10-25 John Anthony <john@jo.hnanthony.com>
6491 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6493 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
6495 2013-10-25 Glenn Morris <rgm@gnu.org>
6497 * vc/vc.el (vc-print-log): Don't use a working revision unless
6498 one was explicitly specified. (Bug#15322)
6500 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6502 * subr.el (add-to-list): Preserve return value in compiler-macro
6505 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6507 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6508 result. Ask user to retry using '-all' flag. (Bug#15701)
6510 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6512 * emacs-lisp/smie.el: New smie-config system.
6513 (smie-config): New defcustom.
6514 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6515 (smie-config-guess, smie-config-save): New commands.
6516 (smie-config--mode-local, smie-config--buffer-local)
6517 (smie-config--trace, smie-config--modefuns): New vars.
6518 (smie-config--advice, smie-config--mode-hook)
6519 (smie-config--setter, smie-config-local, smie-config--get-trace)
6520 (smie-config--guess-value, smie-config--guess): New functions.
6521 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6522 text properties. Treat "string fence" syntax like string syntax.
6524 * progmodes/sh-script.el (sh-use-smie): Change default.
6525 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6526 (sh-var-value): Simplify by CSE.
6527 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6528 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6530 (sh-guess-basic-offset): Use cl-incf.
6531 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6533 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
6535 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6538 2013-10-24 Glenn Morris <rgm@gnu.org>
6540 * Makefile.in (abs_top_srcdir): Remove.
6541 (update-subdirs): Use relative path to update-subdirs.
6543 2013-10-24 Eli Zaretskii <eliz@gnu.org>
6545 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6546 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
6547 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6548 Call unmsys--file-name before expand-file-name, not after it.
6550 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
6552 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6553 (ert-test-skipped): New error.
6554 (ert-skip, ert-stats-skipped): New defuns.
6555 (ert--skip-unless): New macro.
6556 (ert-test-skipped): New struct.
6557 (ert--run-test-debugger, ert-test-result-type-p)
6558 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6559 (ert--stats-set-test-and-result, ert-char-for-test-result)
6560 (ert-string-for-test-result, ert-run-tests-batch)
6561 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
6562 Handle skipped tests. (Bug#9803)
6564 2013-10-24 Glenn Morris <rgm@gnu.org>
6566 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6568 * Makefile.in (abs_top_srcdir): New, set by configure.
6569 (update-subdirs): Correct build-aux location.
6571 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6573 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6574 value, whether we could auto-deduce `backend', or not.
6576 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6577 with parameters" example. Simplify the "is it block or is it
6578 hash" check, but also make it more thorough.
6580 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6582 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6584 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6586 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6589 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6592 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6594 * progmodes/compile.el (compilation-directory-matcher)
6595 (compilation-page-delimiter):
6596 Support GNU Make-4.0 directory quoting. (Bug#15678)
6598 2013-10-23 Leo Liu <sdl.web@gmail.com>
6600 * ido.el (ido-tidy): Handle read-only text.
6602 2013-10-23 Glenn Morris <rgm@gnu.org>
6604 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6605 (emacs, compile, compile-always):
6606 Quote entities that might contain whitespace.
6607 (custom-deps, finder-data, autoloads): Use abs_lisp.
6608 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6609 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6610 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6612 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6614 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6615 Use `following-char'.
6617 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6619 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6620 * progmodes/ruby-mode.el (ruby-smie-rules):
6621 Remove corresponding workaround. Fix indentation rule of ";" so it
6622 also applies when ";" is the parent.
6624 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6626 * frame.el (display-screens, display-pixel-height)
6627 (display-pixel-width, display-mm-width, display-backing-store)
6628 (display-save-under, display-planes, display-color-cells)
6629 (display-visual-class, display-monitor-attributes-list):
6630 Mention the optional ‘display’ argument in doc strings.
6632 2013-10-22 Michael Gauland <mikelygee@amuri.net>
6634 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6635 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6637 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6639 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6640 TODO. Add "." after " @ ".
6641 (ruby-smie--at-dot-call): New function. Checks if point at method
6642 call with explicit target.
6643 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6644 to the method name tokens when it precedes them.
6645 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6646 (ruby-smie-rules): Add rule for indentation before and after "."
6649 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6651 * textmodes/remember.el (remember-diary-extract-entries):
6654 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6657 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6659 * progmodes/ruby-mode.el (ruby-smie-grammar):
6660 Add (almost) all infix operators.
6661 (ruby-smie--implicit-semi-p): Add new operator chars.
6663 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6665 (ruby-smie--args-separator-p): Check that there's no newline
6666 between method call and its arguments.
6668 2013-10-20 Alan Mackenzie <acm@muc.de>
6670 Allow comma separated lists after Java "implements".
6672 * progmodes/cc-engine.el (c-backward-over-enum-header):
6674 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6675 from a "disallowed" list in enum fontification.
6677 2013-10-20 Johan Bockgård <bojohan@gnu.org>
6679 * startup.el (default-frame-background-mode): Remove unused defvar.
6681 * progmodes/verilog-mode.el (verilog-mode): Don't set
6682 comment-indent-function globally.
6684 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6686 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6687 Move Info menu item creation to ns-win.el.
6689 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6692 * menu-bar.el: Move GNUstep specific menus...
6694 * term/ns-win.el (ns-initialize-window-system): ... to here.
6696 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6698 * simple.el (newline): Only run post-self-insert-hook when
6699 called interactively.
6701 2013-10-19 Johan Bockgård <bojohan@gnu.org>
6703 * icomplete.el (icomplete-with-completion-tables): Add :version.
6705 2013-10-19 Alan Mackenzie <acm@muc.de>
6707 Fix fontification bugs with constructors and const.
6709 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6710 CASE 2) Remove the check for the absence of a suffix construct
6711 after a function declaration with only types (no identifiers) in
6712 the parentheses. Also, accept a function declaration with just a
6713 type inside the parentheses, if this type can be positively
6714 recognised as such, or if a prefix keyword like "explicit" nails
6715 down the construct as a declaration.
6717 2013-10-19 Eli Zaretskii <eliz@gnu.org>
6719 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6720 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6721 the problem whereby selecting a menu item that leads to a
6722 minibuffer prompt moves the cursor out of the minibuffer window,
6723 making it hard to type at the prompt. Suggested by Stefan Monnier
6724 <monnier@iro.umontreal.ca>.
6726 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6728 * menu-bar.el: Don't make Services menu.
6730 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6732 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6733 (ffap-alist): Use ffap-c++-mode for c++-mode.
6734 (ffap-c++-path): New variable.
6735 (ffap-c++-mode): New function.
6737 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6739 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6741 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
6743 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6744 introduced on 2013-09-08, which results in an infinite loop
6745 requesting a password.
6747 2013-10-18 Glenn Morris <rgm@gnu.org>
6749 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6751 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6753 Sync with upstream verilog-mode revision 1a6ecec7.
6754 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6755 (verilog-mode-release-date): Remove.
6756 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6757 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6758 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6759 (verilog-auto-tieoff-ignore-regexp)
6760 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6761 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6762 (verilog-signals-with, verilog-dir-cache-preserving)
6763 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6765 (verilog-case-fold): New option, to control case folding in
6766 regexp searches, bug597.
6767 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6768 (verilog-string-match-fold, verilog-in-paren-count)
6769 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6770 (verilog-at-close-struct-p): New functions.
6771 (verilog-beg-block-re-ordered, verilog-extended-case-re)
6772 (verilog-forward-sexp, verilog-set-auto-endcomments)
6773 (verilog-leap-to-case-head): Handle "unique0" case.
6774 (verilog-in-constraint-re): New constant.
6775 (verilog-keywords, verilog-type-font-keywords):
6776 Add some SystemVerilog 1800-2012 keywords.
6777 (verilog-label-be): Remove unimplemented argument, bug669.
6778 (verilog-batch-execute-func): When batch expanding clear
6779 create-lockfiles to prevent spurious user locks when a file ends
6781 (verilog-calculate-indent, verilog-calc-1)
6782 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6783 (verilog-do-indent): Fix indentation of nested constraints
6785 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6786 (verilog-auto-inst-param): Use verilog-string-match-fold.
6787 (verilog-read-inst-module-matcher):
6788 Fix AUTOINST on gate primitives with #1.
6789 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6790 Reads all user-defined typed variables.
6791 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6792 (verilog-signals-matching-regexp)
6793 (verilog-signals-not-matching-regexp, verilog-auto):
6794 Respect verilog-case-fold.
6795 (verilog-diff-report): Fix line count.
6796 (verilog-auto-assign-modport): Remove unused local `modi'.
6797 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6798 better handle multidimensional arrays.
6799 Fix packed array ports misadding bit index in AUTOINST, bug637.
6800 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6801 to not double-declare existing outputs and inputs, respectively.
6802 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6803 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6804 (verilog-sk-uvm-component): New skeleton.
6805 (verilog-submit-bug-report): Add verilog-case-fold,
6806 remove verilog-mode-release-date.
6808 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6810 * subr.el (sit-for): Call (input-pending-p t) so as to behave
6813 2013-10-18 Reuben Thomas <rrt@sc3d.org>
6815 * textmodes/remember.el (remember): Set buffer-offer-save in
6816 remember buffers (bug#13566).
6818 2013-10-18 Daniel Colascione <dancol@dancol.org>
6820 When evaluating forms in ielm, direct standard output to ielm
6821 buffer. Add new ielm-return-for-effect command. Remove trailing
6822 whitespace throughout.
6824 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6825 (ielm-return-for-effect): New command.
6826 (ielm-send-input): Accept optional `for-effect' parameter.
6827 (ielm-eval-input): Accept optional `for-effect' parameter.
6828 Bind `standard-output' to stream we create using
6829 `ielm-standard-output-impl'. Suppress printing result when
6831 (ielm-standard-output-impl): New function.
6832 (inferior-emacs-lisp-mode): Explain new features in documentation.
6834 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
6838 * net/tramp.el (tramp-debug-message): Do not check for connection
6840 (tramp-message): Use "vector" connection property.
6842 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6843 (tramp-equal-remote, tramp-eshell-directory-change)
6844 * net/tramp-adb.el (tramp-adb-handle-copy-file)
6845 (tramp-adb-handle-rename-file)
6846 * net/tramp-cmds.el (tramp-list-remote-buffers)
6847 (tramp-cleanup-connection, tramp-cleanup-this-connection)
6848 * net/tramp-compat.el (tramp-compat-process-running-p)
6849 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
6850 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
6851 (tramp-gvfs-handle-rename-file)
6852 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6853 (tramp-set-file-uid-gid)
6854 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6855 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
6858 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
6859 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6860 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
6861 (tramp-gw-open-network-stream): Suppress unrelated traces.
6863 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
6864 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6865 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6866 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
6867 connection property.
6869 * net/tramp-cache.el (top): Suppress traces when reading
6872 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6873 Refactor common code. Improve debug message.
6874 (tramp-maybe-open-connection)
6875 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6876 connection buffer too early.
6878 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6879 from `tramp-smb-actions-with-acl'.
6880 (tramp-smb-actions-set-acl): New defconst.
6881 (tramp-smb-handle-copy-directory)
6882 (tramp-smb-action-get-acl): New defun, renamed from
6883 `tramp-smb-action-with-acl'.
6884 (tramp-smb-action-set-acl): New defun.
6885 (tramp-smb-handle-set-file-acl): Rewrite.
6887 2013-10-17 Glenn Morris <rgm@gnu.org>
6889 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6891 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6893 * skeleton.el (skeleton-newline): Remove.
6894 (skeleton-internal-1): Use (insert "\n") instead.
6896 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6899 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6900 forward-sexp-function while we redo its job (bug#15613).
6902 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6904 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6905 represented by lists.
6907 2013-10-16 Glenn Morris <rgm@gnu.org>
6909 * tmm.el (tmm--history): New dynamic variable.
6910 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6912 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
6914 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6915 (tramp-smb-errors): Add error messages.
6916 (tramp-smb-actions-with-acl): New defconst.
6917 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
6918 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6919 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6920 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6921 (tramp-smb-get-stat-capability): Fix tests.
6923 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6925 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6928 2013-10-16 Glenn Morris <rgm@gnu.org>
6930 * ansi-color.el (ansi-color-drop-regexp):
6931 Add 1J, 1K, 2K. (Bug#15617)
6933 * files.el (hack-local-variables--warned-lexical): New.
6934 (hack-local-variables):
6935 Warn about misplaced lexical-binding. (Bug#15616)
6937 * net/eww.el (eww-render): Always set eww-current-url,
6938 and update header line. (Bug#15622)
6939 (eww-display-html): ... Rather than just doing it here.
6941 2013-10-15 Eli Zaretskii <eliz@gnu.org>
6943 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6944 menu navigations commands.
6946 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
6948 * progmodes/subword.el (subword-capitalize): Be careful when
6949 the search for [[:alpha:]] fails (bug#15580).
6951 2013-10-14 Eli Zaretskii <eliz@gnu.org>
6953 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6954 to commands that scroll the menu.
6956 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6958 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6959 Handle methods ending with `?' and `!'.
6961 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
6963 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6964 `japanese-cp932' to `cp932' to fix the problem where saving a
6965 source file written in Shift_JIS twice would end up having
6966 `coding: japanese-cp932' which Ruby could not recognize.
6967 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6968 in `ruby-encoding-map'.
6969 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6970 doesn't need to be explicitly declared in magic comment.
6971 (ruby-encoding-map): Add type declaration for better customize UI.
6973 2013-10-13 Glenn Morris <rgm@gnu.org>
6975 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6976 Occur buffers are read-only. http://bugs.debian.org/720775
6978 * emacs-lisp/authors.el (authors-fixed-entries):
6979 Comment out old alpha stuff.
6981 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
6983 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6984 to `after-save-hook' instead of `before-save-hook'.
6985 (ruby-mode-set-encoding): Use the value of coding system used to
6986 write the file. Call `basic-save-buffer-1' after modifying the
6989 2013-10-13 Alan Mackenzie <acm@muc.de>
6991 Fix indentation/fontification of Java enum with
6992 "implements"/generic.
6994 * progmodes/cc-engine.el (c-backward-over-enum-header):
6995 Extracted from the three other places and enhanced to handle generics.
6996 (c-inside-bracelist-p): Uses new function above.
6997 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6999 (c-font-lock-enum-tail): Uses new function above.
7001 2013-10-13 Kenichi Handa <handa@gnu.org>
7003 * international/mule-cmds.el (select-safe-coding-system): Remove a
7004 superfluous condition in chekcing whether a coding system is safe
7007 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7009 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7011 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7013 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7015 2013-10-13 Glenn Morris <rgm@gnu.org>
7017 * menu-bar.el (menu-bar-update-buffers):
7018 Unify Buffers menu prompt string. (Bug#15576)
7020 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7022 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7024 (authors-fixed-entries): Use accented form of name.
7026 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7028 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7029 method calls (bug#15594).
7030 (ruby-smie--args-separator-p): New function.
7031 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7032 recognize paren-free method calls.
7034 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7035 internals of universal-argument.
7037 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7039 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7040 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7041 dropped menu on second mouse click on the menu bar.
7043 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7045 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7046 (explicit-shell-file-name): Declare.
7047 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7048 (sh-completion-at-point-function): New function.
7050 (sh-smie--keyword-p): Remove unused argument.
7051 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7053 (sh-set-shell): Always setup SMIE, even if we use the
7054 old indentation code.
7056 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7058 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7060 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7061 predicate would return nil are almost non-existent.
7062 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7064 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7065 cache also after commands that modify the buffer but don't move
7068 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7070 * env.el (substitute-env-in-file-name): New function.
7071 (substitute-env-vars): Extend the meaning of the optional arg.
7073 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7075 * term/w32-win.el (dynamic-library-alist): Define separate lists
7076 of GIF DLLs for versions before and after 5.0.0 of giflib.
7079 2013-10-10 João Távora <joaotavora@gmail.com>
7081 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7082 not locked, use last revision and current source as
7083 defaults. (Bug#15569)
7085 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7087 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7090 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7092 * window.el (pop-to-buffer-same-window): Fix doc-string.
7095 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7097 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7099 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7101 * calendar/icalendar.el (icalendar-import-file):
7102 Fix interactive spec. (Bug#15482)
7104 2013-10-10 Glenn Morris <rgm@gnu.org>
7106 * desktop.el (desktop-save): Default to saving in .emacs.d,
7107 since PWD is no longer in desktop-path by default. (Bug#15319)
7109 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7110 now that text mode has a menu with the same entry.
7111 (menu-bar-text-mode-auto-fill): Remove now unused func.
7112 * textmodes/text-mode.el (text-mode-map):
7113 Use auto-fill help text from menu-bar.el.
7115 2013-10-10 John Anthony <john@jo.hnanthony.com>
7117 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7119 2013-10-09 Juri Linkov <juri@jurta.org>
7121 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7122 instead of this-command-keys. Add universal-argument-more and
7123 universal-argument-minus to the list of prefix commands. (Bug#15568)
7125 2013-10-09 Glenn Morris <rgm@gnu.org>
7127 * vc/vc-svn.el (vc-svn-create-repo):
7128 Expand paths in file://... url. (Bug#15446)
7130 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7132 (authors): Remove unused local variables.
7134 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7136 * profiler.el: Create a more coherent calltree from partial backtraces.
7137 (profiler-format): Hide the tail with `invisible' so that C-s can still
7138 find the hidden elements.
7139 (profiler-calltree-depth): Don't recurse so enthusiastically.
7140 (profiler-function-equal): New hash-table-test.
7141 (profiler-calltree-build-unified): New function.
7142 (profiler-calltree-build): Use it.
7143 (profiler-report-make-name-part): Indent the calltree less.
7144 (profiler-report-mode): Add visibility specs for profiler-format.
7145 (profiler-report-expand-entry, profiler-report-toggle-entry):
7146 Expand the whole subtree when provided with a prefix arg.
7148 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7150 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7152 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7153 hanging iuwu-mod token.
7154 (ruby-smie--forward-token): Do not include a dot after a token in
7156 (ruby-smie--backward-token): Likewise.
7158 2013-10-08 Juri Linkov <juri@jurta.org>
7160 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7161 to isearch-other-control-char.
7162 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7163 and isearch-post-command-hook to post-command-hook.
7164 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7165 and isearch-post-command-hook from post-command-hook.
7166 (isearch-unread-key-sequence)
7167 (isearch-reread-key-sequence-naturally)
7168 (isearch-lookup-scroll-key, isearch-other-control-char)
7169 (isearch-other-meta-char): Remove functions.
7170 (isearch-pre-command-hook, isearch-post-command-hook):
7171 New functions based on isearch-other-meta-char rewritten
7172 relying on the new behavior of overriding-terminal-local-map
7173 that does not replace the local keymaps any more. (Bug#15200)
7175 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7177 Support menus on text-mode terminals.
7178 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7181 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7183 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7184 Move here from mouse.el.
7185 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7187 (tty-menu-navigation-map): New map for TTY menu navigation.
7189 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7191 * frame.el (display-mouse-p): Report text-mode mouse as available
7193 (display-popup-menus-p): Report availability if mouse is
7194 available; don't condition on window-system.
7196 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7197 (tty-menu-selected-face): New faces.
7199 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7201 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7202 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7203 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7204 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7206 (lisp-mode-variables): New `elisp' argument.
7207 (emacs-lisp-mode): Use it.
7208 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7209 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7211 * indent.el: Use lexical-binding.
7212 (indent-region): Add progress reporter.
7213 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7215 (indent--next-tab-stop): New function to implement this behavior.
7216 (tab-to-tab-stop, move-to-tab-stop): Use it.
7218 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7220 * indent.el (indent-rigidly--current-indentation): New function.
7221 (indent-rigidly-map): New var.
7222 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7224 2013-10-08 Bastien Guerry <bzg@gnu.org>
7226 * register.el (insert-register): Fix 2013-10-07 change.
7228 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7230 * progmodes/perl-mode.el: Use lexical-binding.
7231 Remove redundant :group args.
7232 (perl-nochange): Change default to be closer to other major modes's
7234 (perl-indent-line): Don't consider text on current line as a
7235 valid beginning of function from which to indent.
7237 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7238 with more than one argument (bug#15538).
7240 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7242 * vc/pcvs.el: Use lexical-binding.
7243 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7244 environment of `eval'.
7245 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7246 than a list of expressions. Adjust callers.
7247 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7249 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7251 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7252 case of the dot in a chained method call being on the following line.
7254 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7256 * electric.el (electric-indent-inhibit): New var.
7257 (electric-indent-post-self-insert-function): Use it.
7258 * progmodes/python.el (python-mode): Set it.
7260 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7263 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7265 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7266 (css-mode): Use electric-indent-chars.
7268 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7269 (font-lock-beg, font-lock-end): Move before first use.
7270 (nxml-mode): Use syntax-propertize-function.
7271 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7272 (nxml-extend-after-change-region): Remove.
7273 * nxml/xmltok.el: Use lexical-binding.
7274 (xmltok-save): Use `declare'.
7275 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7276 * nxml/nxml-util.el: Use lexical-binding.
7277 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7279 * nxml/nxml-ns.el: Use lexical-binding.
7280 (nxml-ns-save): Use `declare'.
7281 (nxml-ns-prefixes-for): Avoid add-to-list.
7282 * nxml/rng-match.el: Use lexical-binding.
7283 (rng--ipattern): Use cl-defstruct.
7284 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7285 (rng-cons-group-after, rng-subst-group-after)
7286 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7287 Use closures instead of `(lambda...).
7289 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7291 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7294 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7295 Use `tramp-handle-insert-file-contents'.
7296 (tramp-gvfs-handle-insert-file-contents): Remove function.
7298 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7299 Use `save-restriction' in order to keep markers.
7301 * net/trampver.el: Update release number.
7303 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7305 * progmodes/compile.el (compilation-parse-errors):
7306 Use compilation--put-prop.
7307 (compilation--ensure-parse): Check compilation-multiline.
7309 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7311 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7314 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7316 * progmodes/ruby-mode.el: Fix recently added tests.
7317 (ruby-smie-grammar): Add - and +.
7318 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7319 (ruby-smie--backward-id): New functions.
7320 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7321 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7324 2013-10-07 Leo Liu <sdl.web@gmail.com>
7326 * register.el (register-preview-delay)
7327 (register-preview-functions): New variables.
7328 (register-read-with-preview, register-preview)
7329 (register-describe-oneline): New functions.
7330 (point-to-register, window-configuration-to-register)
7331 (frame-configuration-to-register, jump-to-register)
7332 (number-to-register, view-register, insert-register)
7333 (copy-to-register, append-to-register, prepend-to-register)
7334 (copy-rectangle-to-register): Use register-read-with-preview to
7335 read register. (Bug#15525)
7337 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7339 * net/network-stream.el (network-stream-open-starttls): Don't add
7340 --insecure if it's already present, because that gnutls-cli
7341 rejects getting that parameter twice.
7343 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7345 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7348 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7350 * newcomment.el (comment-use-global-state): Change default value
7351 to t, mark obsolete (Bug#15251).
7352 (comment-beginning): In addition to `comment-to-syntax', check the
7353 value of `comment-use-global-state'.
7355 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7357 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7358 (ruby-comment-column): Follow the global default, by default.
7359 (ruby-smie-grammar): Add assignment syntax.
7360 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7361 open-paren, a comma, or a \.
7362 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7363 and line continuations.
7364 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7365 followed by implicit semi-colons. Add rule for string concatenation
7366 and for indentation at BOB.
7367 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7369 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7370 calling next-sexp, since next-token may have skipped chars which
7371 next-sexp doesn't know should be skipped!
7373 2013-10-05 Leo Liu <sdl.web@gmail.com>
7375 * progmodes/octave.el (octave-send-region):
7376 Call compilation-forget-errors.
7378 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7380 * vc/vc-svn.el (vc-svn-find-admin-dir):
7381 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7382 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7383 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7384 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7386 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7388 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7390 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7392 * subr.el (read-passwd): Hide chars even when called within a context
7393 where after-change-functions is disabled (bug#15501).
7394 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7395 until we removed ourself from overriding-terminal-local-map.
7397 2013-10-04 Leo Liu <sdl.web@gmail.com>
7399 * progmodes/octave.el (inferior-octave-mode):
7400 Call compilation-forget-errors.
7402 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7404 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7406 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
7408 * net/secrets.el (secrets-create-collection): Add optional
7409 argument ALIAS. Use proper Label keyword. Append ALIAS as
7410 dbus-call-method argument. (Bug#15516)
7412 2013-10-04 Leo Liu <sdl.web@gmail.com>
7414 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7415 (inferior-octave-compilation-font-lock-keywords): New variables.
7416 (compilation-error-regexp-alist)
7417 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7418 (inferior-octave-mode): Use compilation-shell-minor-mode.
7420 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7422 * minibuffer.el (completion--replace): Be careful that `end' might be
7425 2013-10-03 Daiki Ueno <ueno@gnu.org>
7427 Add support for package signature checking.
7428 * emacs-lisp/package.el (url-http-file-exists-p)
7429 (epg-make-context, epg-context-set-home-directory)
7430 (epg-verify-string, epg-context-result-for)
7431 (epg-signature-status, epg-signature-to-string)
7432 (epg-check-configuration, epg-configuration)
7433 (epg-import-keys-from-file): Declare.
7434 (package-check-signature): New user option.
7435 (package-unsigned-archives): New user option.
7436 (package-desc): Add `signed' field.
7437 (package-load-descriptor): Set `signed' field if .signed file exists.
7438 (package--archive-file-exists-p): New function.
7439 (package--check-signature): New function.
7440 (package-install-from-archive): Check package signature.
7441 (package--download-one-archive): Check archive signature.
7442 (package-delete): Remove .signed file.
7443 (package-import-keyring): New command.
7444 (package-refresh-contents): Import default keyring.
7445 (package-desc-status): Add "unsigned" status.
7446 (describe-package-1, package-menu--print-info)
7447 (package-menu-mark-delete, package-menu--find-upgrades)
7448 (package-menu--status-predicate): Support "unsigned" status.
7450 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7452 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7453 the new compilation scheme using the new byte-codes.
7455 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7456 (byte-pophandler): New byte codes.
7457 (byte-goto-ops): Adjust accordingly.
7458 (byte-compile--use-old-handlers): New var.
7459 (byte-compile-catch): Use new byte codes depending on
7460 byte-compile--use-old-handlers.
7461 (byte-compile-condition-case--old): Rename from
7462 byte-compile-condition-case.
7463 (byte-compile-condition-case--new): New function.
7464 (byte-compile-condition-case): New function that dispatches depending
7465 on byte-compile--use-old-handlers.
7466 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7469 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7470 Optimize under `condition-case' and `catch' if
7471 byte-compile--use-old-handlers is nil.
7472 (disassemble-offset): Handle new bytecodes.
7474 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7476 * subr.el (error): Use `declare'.
7477 (decode-char, encode-char): Use advertised-calling-convention instead
7478 of the docstring to discourage use of the `restriction' arg.
7480 2013-10-03 Daiki Ueno <ueno@gnu.org>
7482 * epg.el (epg-verify-file): Add a comment saying that it does not
7483 notify verification error as a return value nor a signal.
7484 (epg-verify-string): Ditto.
7486 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7488 * progmodes/compile.el (compilation-start): Try globbing the arg to
7491 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
7493 Sync with Tramp 2.2.8.
7495 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7496 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7497 * net/trampver.el: Update release number.
7499 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7501 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7502 and default-process-coding-system for darwin only.
7504 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7506 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7508 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7510 * vc/vc-git.el (vc-git-grep): Disable pager.
7512 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7514 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7515 Use :url instead of :homepage, as per
7516 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7518 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7519 non-nil, use `syntax-ppss' (Bug#15251).
7521 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7523 * progmodes/octave.el (inferior-octave-startup-file):
7524 Prefer ~/.emacs.d/init_octave.m.
7526 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7528 * emacs-lisp/package.el (package-desc-from-define):
7529 Accept additional arguments as plist, convert them to an alist and store
7530 them in the `extras' slot.
7531 (package-generate-description-file): Convert extras alist back to
7532 plist and append to the `define-package' form arguments.
7533 (package--alist-to-plist): New function.
7534 (package--ac-desc): Add `extras' slot.
7535 (package--add-to-archive-contents): Check if the archive-contents
7536 vector is long enough, and if it is, pass its `extras' slot value
7537 to `package-desc-create'.
7538 (package-buffer-info): Call `lm-homepage', pass the returned value
7539 to `package-desc-from-define'.
7540 (describe-package-1): Render the homepage button (Bug#13291).
7542 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7543 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
7545 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7547 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7548 and default-process-coding-system to utf-8-unix (Bug#15402).
7550 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7552 * subr.el (looking-back): Do not recommend using looking-back.
7554 2013-09-28 Alan Mackenzie <acm@muc.de>
7556 Fix indentation/fontification of Java enum with "implements".
7558 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7559 regexp which matches "implements", etc., in Java.
7560 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7561 specifier clauses coming after "enum".
7562 * progmodes/cc-fonts.el (c-font-lock-declarations)
7563 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7566 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7568 * faces.el (region): Change ns_selection_color to
7569 ns_selection_fg_color, add ns_selection_bg_color.
7571 2013-09-28 Leo Liu <sdl.web@gmail.com>
7573 * progmodes/octave.el (inferior-octave-completion-table)
7574 (inferior-octave-completion-at-point): Minor tweaks.
7576 * textmodes/ispell.el (ispell-lookup-words): Rename from
7577 lookup-words. (Bug#15460)
7578 (lookup-words): Obsolete.
7579 (ispell-complete-word, ispell-command-loop): All uses changed.
7581 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7583 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7584 (octave-mode-menu): Add octave-send-buffer.
7585 (octave-send-buffer): New function.
7587 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7589 * progmodes/octave.el (octave-mode-map): Add key binding for
7591 (octave-mode-menu): Add octave-lookfor.
7592 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7594 (octave-lookfor): New function.
7596 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7598 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
7599 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7601 (cl--loop-set-iterator-function): New function.
7602 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7603 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7604 Bind `it' with `let' instead of substituting it with `cl-subst'.
7605 (cl--unused-var-p): New function.
7606 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7607 Eliminate some unused variable warnings (bug#15326).
7609 2013-09-27 Tassilo Horn <tsdh@gnu.org>
7611 * doc-view.el (doc-view-scale-reset): Rename from
7612 `doc-view-reset-zoom-level'.
7613 (doc-view-scale-adjust): New command.
7614 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7615 `doc-view-scale-adjust'.
7617 2013-09-26 Tassilo Horn <tsdh@gnu.org>
7619 * doc-view.el (doc-view-reset-zoom-level): New command.
7620 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7621 zoom commands (bug#15466).
7623 2013-09-26 Kenichi Handa <handa@gnu.org>
7625 * international/quail.el (quail-help): Make it not a command.
7627 2013-09-26 Leo Liu <sdl.web@gmail.com>
7629 * minibuffer.el (completion-all-sorted-completions): Make args
7630 optional as they are.
7632 2013-09-25 Daniel Colascione <dancol@dancol.org>
7634 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7635 specs are and that they're not evaluated.
7637 2013-09-24 Sam Steingold <sds@gnu.org>
7639 * midnight.el (clean-buffer-list-kill-regexps)
7640 (clean-buffer-list-kill-buffer-names): Update for the new Man
7641 buffer naming which includes the object name.
7643 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7645 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7646 (eshell-parse-command, eshell-parse-pipeline): Use it since
7647 eshell-separate-commands requires a dynamic scoped var.
7648 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7650 2013-09-23 Leo Liu <sdl.web@gmail.com>
7652 * autoinsert.el (auto-insert-alist): Make the value of
7653 lexical-binding match its file setting.
7655 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
7657 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7659 * autoarg.el (autoarg-kp-digit-argument):
7660 * electric.el (Electric-command-loop):
7661 * kmacro.el (kmacro-step-edit-insert):
7662 Do not set universal-argument-num-events.
7664 2013-09-22 Leo Liu <sdl.web@gmail.com>
7666 * files.el (interpreter-mode-alist): Add octave.
7668 2013-09-21 Alan Mackenzie <acm@muc.de>
7670 C++: fontify identifier in declaration following "public:" correctly.
7671 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7672 to match "public", etc.
7673 (c-decl-prefix-re): Add ":" into the C++ value.
7674 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7675 bit. Add a check for a ":" preceded by "public", etc.
7677 2013-09-21 Eli Zaretskii <eliz@gnu.org>
7679 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7680 recognized by GDB 7.5 and later.
7682 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7684 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7686 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7688 * subr.el (internal--call-interactively): New const.
7689 (called-interactively-p): Use it (bug#3984).
7691 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7693 * vc/pcvs.el (cvs-mode-ignore):
7694 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7695 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
7697 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7699 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7700 (eshell-ls-orig-insert-directory): Remove.
7701 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7702 (eshell-ls-use-in-dired): Use advice-add/remove.
7703 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7704 Add `orig-fun' arg for use in :around advice.
7705 Make it check (redundantly) eshell-ls-use-in-dired.
7707 2013-09-19 Glenn Morris <rgm@gnu.org>
7709 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7711 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7713 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7715 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
7717 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7718 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7719 (tramp-get-remote-python): New defuns.
7720 (tramp-get-remote-uid-with-perl)
7721 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7722 contributed by yary <not.com@gmail.com> (tiny change).
7723 (tramp-get-remote-uid-with-python)
7724 (tramp-get-remote-gid-with-python): New defuns. Python code
7725 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7726 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7728 2013-09-19 Glenn Morris <rgm@gnu.org>
7730 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7732 * eshell/em-unix.el (eshell-remove-entries):
7733 Rename argument to avoid name-clash with global `top-level'.
7735 * eshell/esh-proc.el (eshell-kill-process-function):
7736 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7737 (eshell-reset-after-proc): Remove unused arg `proc'.
7739 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7740 (directory-files-and-attributes): Mark unused arg.
7742 * eshell/em-unix.el (eshell-remove-entries):
7743 Remove unused arg `path'. Update callers.
7745 * eshell/em-hist.el (eshell-hist-parse-arguments):
7746 Remove unused arg `silent'. Update callers.
7748 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7749 Fix (f)boundp mix-up.
7751 * eshell/em-smart.el (eshell-smart-scroll-window)
7752 (eshell-disable-after-change):
7753 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
7755 2013-09-18 Alan Mackenzie <acm@muc.de>
7757 Fix fontification of type when followed by "const".
7758 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7759 "known" types from fontification.
7761 2013-09-18 Glenn Morris <rgm@gnu.org>
7763 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7764 (chart-face-list): Drop Emacsen without display-color-p.
7766 * net/eww.el (libxml-parse-html-region): Declare.
7767 (eww-display-html): Explicit error if no libxml2 support.
7769 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7771 * image.el (image-type-from-buffer, image-multi-frame-p):
7772 Remove --without-x warning/error.
7774 * mouse.el (mouse-yank-primary):
7775 * term.el (term-mouse-paste):
7776 Reorder to silence --without-x compilation.
7778 * mpc.el (doc-view-mode): Silence --without-x compilation.
7780 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7781 Silence --without-x compilation.
7783 * progmodes/gud.el (gud-find-file, gud-mode):
7784 Silence --without-x compilation.
7785 (tooltip-mode): Declare.
7787 * wdired.el (dired-backup-overwrite): Remove declaration.
7788 (wdired-mode-map): Add doc string.
7790 * custom.el (x-get-resource): Declare.
7792 * eshell/em-glob.el (ange-cache):
7793 * eshell/em-unix.el (ange-cache): Declare.
7795 * faces.el (x-display-list, x-open-connection, x-get-resource):
7798 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7799 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7802 * frame.el (x-display-grayscale-p, x-display-name): Declare.
7804 * net/gnutls.el (gnutls-log-level): Declare.
7806 * net/shr.el (image-size, image-animate): Declare.
7808 * simple.el (font-info): Declare.
7810 * subr.el (x-popup-dialog): Declare.
7812 * term/common-win.el (x-select-enable-primary)
7813 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7816 * term/ns-win.el (x-handle-args): Declare.
7818 * term/x-win.el (x-select-enable-clipboard): Declare.
7820 * term/w32-win.el (create-default-fontset): Declare.
7822 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7825 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7826 (fit-frame-to-buffer): Explicit error if --without-x.
7827 (mouse-autoselect-window-select): Silence compiler.
7829 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7831 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7832 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7833 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
7834 * eshell/esh-util.el (eshell-sublist):
7835 Remove unused local variables.
7837 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7839 * textmodes/two-column.el: Make 2C-split work for --without-x.
7840 (scroll-bar-columns): Autoload.
7841 (top-level): Require fringe when compiling.
7843 2013-09-18 Leo Liu <sdl.web@gmail.com>
7845 * subr.el (add-hook): Robustify to handle closure as well.
7847 2013-09-17 Glenn Morris <rgm@gnu.org>
7849 * simple.el (messages-buffer-mode-map): Unbind "g".
7851 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7853 * help-mode.el (help-mode-finish): Use derived-mode-p.
7854 Remove obsolete highlighting.
7856 * play/life.el (life-mode): Use define-derived-mode. Derive from
7858 (life): Let-bind inhibit-read-only.
7859 (life-setup): Avoid `setq'. Use `life-mode'.
7861 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
7862 which should not be needed any more.
7863 (package-menu-refresh, package-menu-describe-package): Use user-error.
7865 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
7866 (eshell-post-rewrite-command-hook): Make obsolete.
7867 (eshell-parse-command): Simplify.
7868 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
7869 (eshell--cmd): Declare.
7870 (eshell-parse-pipeline): Remove unused var `final-p'.
7871 Pass a dynvar to eshell-post-rewrite-command-hook.
7872 Implement the new eshell-post-rewrite-command-function.
7873 (eshell-invoke-directly): Remove unused arg `input'.
7874 * eshell/esh-io.el (eshell-io-initialize):
7875 Use eshell-post-rewrite-command-function (bug#15399).
7876 (eshell--apply-redirections): Rename from eshell-apply-redirections;
7877 adjust to new calling convention.
7878 (eshell-create-handles): Rename args to avoid clashing with dynvar
7881 2013-09-17 Glenn Morris <rgm@gnu.org>
7883 * simple.el (messages-buffer-mode): New major mode.
7884 (messages-buffer): New function.
7885 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7886 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
7887 (ert-run-test): Use `messages-buffer' function.
7888 (ert--force-message-log-buffer-truncation): Ignore read-only.
7889 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7890 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
7892 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7894 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7896 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
7898 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7900 * icomplete.el (icomplete-in-buffer): New var.
7901 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7902 vars and replace them with functions.
7903 (icomplete-minibuffer-setup): Adjust accordingly.
7904 (icomplete--completion-table, icomplete--completion-predicate)
7905 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7907 (icomplete-forward-completions, icomplete-backward-completions)
7908 (icomplete-simple-completing-p, icomplete-exhibit)
7909 (icomplete-completions): Use them.
7910 (icomplete--in-region-buffer): New var.
7911 (icomplete--in-region-setup): New function.
7912 (icomplete-mode): Use it.
7914 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7916 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7917 return args and options.
7918 (eshell-eval-using-options): Use the new return value of
7919 eshell--do-opts to set the options's vars in their scope.
7920 (eshell--set-option): Rename from eshell-set-option.
7922 (eshell--process-option): Rename from eshell-process-option.
7924 (eshell--process-args): Use an `opt-vals' alist to store the options's
7925 values during their processing and return them additionally to the
7928 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
7930 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
7931 continuation character an operator, as far as indentation is
7932 concerned (Bug#15369).
7934 2013-09-15 Martin Rudalics <rudalics@gmx.at>
7936 * window.el (window--state-put-2): Don't process buffer state
7937 when buffer doesn't exist any more (Bug#15382).
7939 2013-09-15 Glenn Morris <rgm@gnu.org>
7941 * eshell/em-unix.el (eshell/rm):
7942 Make -f ignore missing files. (Bug#15373)
7944 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
7945 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7946 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7948 2013-09-14 Glenn Morris <rgm@gnu.org>
7950 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7952 2013-09-13 Glenn Morris <rgm@gnu.org>
7954 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7955 (dired-guess-default): Make `file' available in the env. (Bug#15363)
7957 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7959 * frame.el (x-focus-frame): Mark as declared in frame.c.
7961 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7963 * ls-lisp.el: Use advice-add.
7964 (original-insert-directory): Remove.
7965 (ls-lisp--insert-directory): Rename from insert-directory; add
7966 `orig-fun' argument.
7967 (insert-directory): Advise.
7969 2013-09-13 Eli Zaretskii <eliz@gnu.org>
7971 * term.el (term-emulate-terminal): Decode the command string
7972 before passing it to term-command-hook. (Bug#15337)
7974 2013-09-13 Glenn Morris <rgm@gnu.org>
7976 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7978 * eshell/esh-ext.el (eshell-search-path): Declare.
7980 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7981 Otherwise an error occurs if eshell-dirs module not loaded.
7983 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7985 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
7987 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7988 `tramp-check-proper-host'. Check for a valid method name.
7990 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7991 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7992 * net/tramp-sh.el (tramp-maybe-open-connection):
7993 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7995 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7996 also for hash values.
7998 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8000 * term/ns-win.el (parameters): Don't declare as dynamic.
8001 (before-make-frame-hook): Don't add ineffective function.
8003 * eshell/*.el: Use lexical-binding (bug#15231).
8005 2013-09-12 Kenichi Handa <handa@gnu.org>
8007 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8009 2013-09-12 Glenn Morris <rgm@gnu.org>
8011 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8012 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8014 * subr.el (do-after-load-evaluation): Also give compiler warnings
8015 when obsolete files are used (except by obsolete files).
8017 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8018 in the status output, assume `filename' is the first. (Bug#15322)
8020 * vc/vc.el (vc-deduce-fileset): Doc fix.
8022 * calc/calc-help.el (Info-goto-node):
8023 * progmodes/cperl-mode.el (Info-find-node):
8024 * vc/ediff.el (Info-goto-node): Update declarations.
8026 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8028 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8029 (vc-bzr-pull): Require vc-dispatcher.
8030 * vc/vc-git.el (vc-compilation-mode): Declare.
8031 (vc-git-pull): Require vc-dispatcher.
8033 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8035 * progmodes/octave.el (help-button-action): Declare.
8037 * shell.el (shell-directory-tracker): Output error as a message
8038 rather than just returning it as a string.
8039 (shell-process-pushd): Remove useless use of message.
8041 * dframe.el (dframe-timer-fn):
8042 * files.el (dir-locals-read-from-file):
8043 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8045 * reveal.el (reveal-post-command):
8046 * saveplace.el (load-save-place-alist-from-file):
8047 * shell.el (shell-resync-dirs):
8048 * w32-common-fns.el (x-get-selection-value):
8049 * emacs-lisp/copyright.el (copyright-find-copyright):
8050 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8051 * emulation/tpu-edt.el (tpu-copy-keyfile):
8052 * play/bubbles.el (bubbles--mark-neighbourhood):
8053 * progmodes/executable.el
8054 (executable-make-buffer-file-executable-if-script-p):
8055 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8057 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8059 Cleanup Eshell to rely less on dynamic scoping.
8060 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8061 last-value, and ext-command here. Bind `args' closer to `body'.
8062 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8063 (eshell--args): Declare new dynamic var.
8064 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8065 last-value, and ext-command. Pass `args' to `body'.
8066 (eshell-process-args): Bind eshell--args.
8067 (eshell-set-option): Use eshell--args.
8068 * eshell/eshell.el (eshell): Use derived-mode-p.
8069 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8070 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8071 (eshell-glob-function): Declare.
8072 * eshell/esh-util.el: Require cl-lib.
8073 (eshell-read-hosts-file): Avoid add-to-list.
8074 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8076 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8078 (eshell/diff): Remove unused var `err'.
8079 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8081 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8082 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8084 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8085 Move declaration before first use.
8086 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8087 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8090 2013-09-12 Glenn Morris <rgm@gnu.org>
8092 * term/ns-win.el (global-map): Remove binding for ispell-next,
8093 deleted 1999-05-29. (Bug#15357)
8095 2013-09-11 Glenn Morris <rgm@gnu.org>
8097 * echistory.el (electric-command-history): Remove call to deleted func.
8099 * play/landmark.el (landmark-mode): Fix typos.
8101 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8102 Check cvs-sort-ignore-file is bound.
8104 * savehist.el: No need for cl when compiling on Emacs.
8106 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8108 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8110 (eshell-self-insert-command, eshell-send-invisible):
8111 Remove unused argument.
8112 (eshell-handle-control-codes): Remove unused var `orig'.
8113 Avoid delete-backward-char.
8115 * files.el (set-auto-mode): Simplify a bit further.
8117 2013-09-11 Glenn Morris <rgm@gnu.org>
8119 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8120 (set-auto-mode): Don't regexp-quote elements.
8121 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8122 * progmodes/cc-mode.el (interpreter-mode-alist):
8123 * progmodes/ruby-mode.el (interpreter-mode-alist):
8124 Revert previous change.
8126 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8128 * play/snake.el (snake-mode):
8129 * play/mpuz.el (mpuz-mode):
8130 * play/landmark.el (lm-mode):
8131 * play/blackbox.el (blackbox-mode):
8132 * play/5x5.el (5x5-mode):
8133 * obsolete/options.el (Edit-options-mode):
8134 * net/quickurl.el (quickurl-list-mode):
8135 * net/newst-treeview.el (newsticker-treeview-mode):
8136 * mail/rmailsum.el (rmail-summary-mode):
8137 * mail/mspools.el (mspools-mode):
8138 * locate.el (locate-mode):
8139 * ibuffer.el (ibuffer-mode):
8140 * emulation/ws-mode.el (wordstar-mode):
8141 * emacs-lisp/debug.el (debugger-mode):
8142 * array.el (array-mode):
8143 * net/eudc.el (eudc-mode): Use define-derived-mode.
8144 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8145 Move initialization into declaration.
8146 (mairix-searches-mode): Use define-derived-mode.
8147 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8148 (eudc-edit-hotlist): Use dolist.
8149 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8150 (Man-mode): Use define-derived-mode.
8151 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8152 (Info-edit-mode): Use define-derived-mode.
8153 (Info-cease-edit): Use Info-mode.
8154 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8156 (eshell-mode): Use define-derived-mode.
8157 * chistory.el (command-history-mode-map): Rename from
8158 command-history-map.
8159 (command-history-mode): Use define-derived-mode.
8160 (Command-history-setup): Remove function.
8161 * calc/calc.el (calc-trail-mode-map): New var.
8162 (calc-trail-mode): Use define-derived-mode.
8163 (calc-trail-buffer): Set calc-main-buffer manually.
8164 * bookmark.el (bookmark-insert-annotation): New function.
8165 (bookmark-edit-annotation): Use it.
8166 (bookmark-edit-annotation-mode): Make it a proper major mode.
8167 (bookmark-send-edited-annotation): Use derived-mode-p.
8168 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8169 closer to its ideal place. Use \' to match EOS.
8171 * profiler.el (profiler-calltree-find): Use function-equal.
8173 2013-09-10 Glenn Morris <rgm@gnu.org>
8175 * files.el (interpreter-mode-alist): Convert to regexps.
8176 (set-auto-mode): Adapt for this. (Bug#15306)
8177 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8178 Comment out unused variable.
8179 * progmodes/cc-mode.el (interpreter-mode-alist):
8180 * progmodes/python.el (interpreter-mode-alist):
8181 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8182 * progmodes/sh-script.el (sh-set-shell):
8183 No longer use interpreter-mode-alist to get list of shells.
8185 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8187 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8189 * simple.el: Use set-temporary-overlay-map for universal-argument.
8190 (universal-argument-map): Don't use default-bindings (bug#15317).
8191 Bind switch-frame explicitly. Replace universal-argument-minus with
8192 a conditional binding.
8193 (universal-argument-num-events, saved-overriding-map): Remove.
8194 (restore-overriding-map): Remove.
8195 (universal-argument--mode): Rename from save&set-overriding-map,
8197 (universal-argument, universal-argument-more, negative-argument)
8198 (digit-argument): Adjust accordingly.
8199 (universal-argument-minus): Remove.
8200 (universal-argument-other-key): Remove.
8202 * subr.el (with-demoted-errors): Add `format' argument.
8204 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8206 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8207 `tramp-cleanup-connection'.
8209 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8210 parameters KEEP-DEBUG and KEEP-PASSWORD.
8212 * net/tramp.el (tramp-file-name-handler):
8213 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8214 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8215 (tramp-maybe-open-connection):
8216 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8217 Use `tramp-cleanup-connection'.
8219 * net/tramp-sh.el (tramp-maybe-open-connection):
8220 Catch 'uname-changed inside the progress reporter.
8222 2013-09-10 Glenn Morris <rgm@gnu.org>
8224 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8226 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8227 returns "alternate access method" in mode (eg "-rw-r--r--.").
8229 2013-09-08 Glenn Morris <rgm@gnu.org>
8231 * saveplace.el (load-save-place-alist-from-file):
8232 Demote errors. (Bug#15305)
8234 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8236 Improve compatibility with older Emacsen, and XEmacs.
8238 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8239 only if it is bound. It isn't for XEmacs.
8240 (with-tramp-progress-reporter): Do not let-bind `result'.
8241 This yields to scoping errors in XEmacs.
8242 (tramp-handle-make-auto-save-file-name): New function, moved from
8245 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8246 for `make-auto-save-file-name'.
8247 (tramp-adb--gnu-switches-to-ash):
8248 Use `tramp-compat-replace-regexp-in-string'.
8250 * net/tramp-cache.el (tramp-cache-print): Call
8251 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8253 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8254 bound. It isn't for XEmacs.
8256 * net/tramp-compat.el (tramp-compat-copy-file):
8257 Catch `wrong-number-of-arguments' error.
8258 (tramp-compat-replace-regexp-in-string): New defun.
8260 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8261 for `make-auto-save-file-name'.
8262 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8264 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8265 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8266 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8268 * net/tramp-gw.el (tramp-gw-open-network-stream):
8269 Use `tramp-compat-replace-regexp-in-string'.
8271 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8272 Call `tramp-handle-make-auto-save-file-name'.
8273 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8274 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8275 (tramp-sh-file-inotifywait-process-filter):
8276 Use `tramp-compat-replace-regexp-in-string'.
8277 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8279 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8280 for `make-auto-save-file-name'.
8281 (tramp-smb-handle-copy-directory):
8282 Call `tramp-compat-replace-regexp-in-string'.
8283 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8284 (tramp-smb-handle-copy-file): Improve error message.
8285 (tramp-smb-handle-rename-file): Rename directly only in case
8286 `newname' does not exist yet. This is a restriction of smbclient.
8287 (tramp-smb-maybe-open-connection): Rerun the function only when
8288 `auth-sources' is non-nil.
8290 2013-09-08 Kenichi Handa <handa@gnu.org>
8292 * international/characters.el: Set category "^" (Combining) for
8295 2013-09-07 Alan Mackenzie <acm@muc.de>
8297 Correctly fontify Java class constructors.
8298 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8300 (c-recognize-typeless-decls): Set the Java value to t.
8301 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8302 While handling a "(", add a check for, effectively, Java, and handle a
8303 "typeless" declaration there.
8305 2013-09-07 Roland Winkler <winkler@gnu.org>
8307 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8308 field subtitle for entry type book.
8310 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8312 * minibuffer.el: Make minibuffer-complete call completion-in-region
8313 rather than other way around.
8314 (completion--some, completion-pcm--find-all-completions):
8315 Don't delay signals when debugging.
8316 (minibuffer-completion-contents): Beware fields within the
8317 minibuffer contents.
8318 (completion-all-sorted-completions): Use defvar-local.
8319 (completion--do-completion, completion--cache-all-sorted-completions)
8320 (completion-all-sorted-completions, minibuffer-force-complete):
8321 Add args `beg' and `end'.
8322 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8323 (minibuffer-complete): Use completion-in-region.
8324 (completion-complete-and-exit): New fun, extracted from
8325 minibuffer-complete-and-exit.
8326 (minibuffer-complete-and-exit): Use it.
8327 (completion--complete-and-exit): Rename from
8328 minibuffer--complete-and-exit.
8329 (completion-in-region--single-word): New function, extracted from
8330 minibuffer-complete-word.
8331 (minibuffer-complete-word): Use it.
8332 (display-completion-list): Make `common-substring' argument obsolete.
8333 (completion--in-region): Call completion--in-region-1 instead of
8334 minibuffer-complete.
8335 (completion-help-at-point): Pass boundaries to
8336 minibuffer-completion-help as args rather than via an overlay.
8337 (completion-pcm--string->pattern): Use `any-delim'.
8338 (completion-pcm--optimize-pattern): New function.
8339 (completion-pcm--pattern->regex): Handle `any-delim'.
8340 * icomplete.el (icomplete-forward-completions)
8341 (icomplete-backward-completions, icomplete-completions):
8342 Adjust calls to completion-all-sorted-completions and
8343 completion--cache-all-sorted-completions.
8344 (icomplete-with-completion-tables): Default to t.
8345 * emacs-lisp/crm.el (crm--current-element): Rename from
8346 crm--select-current-element. Don't put an overlay but return the
8348 (crm--completion-command): Take two new args to bind to the boundaries.
8349 (crm-completion-help): Adjust accordingly.
8350 (crm-complete): Use completion-in-region.
8351 (crm-complete-word): Use completion-in-region--single-word.
8352 (crm-complete-and-exit): Use completion-complete-and-exit.
8354 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8356 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8359 2013-09-06 Juri Linkov <juri@jurta.org>
8361 * info.el (Info-display-images-node): When image file doesn't exist
8362 display text version of the image if it's provided in the Info file.
8363 Otherwise, display the location of missing image from SRC attribute.
8364 Add help-echo text property from ALT attribute. (Bug#15279)
8366 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8368 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8369 (edit-abbrevs-mode): Use define-derived-mode.
8371 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8372 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8374 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8375 Use define-derived-mode.
8377 * epg.el (epg-start-encrypt): Minor CSE simplification.
8379 2013-09-06 William Xu <william.xwl@gmail.com>
8381 * arc-mode.el: Add support for 7za (bug#15264).
8382 (archive-7z-program): New var.
8383 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8384 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8385 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8387 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
8391 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8392 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8393 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8394 (tramp-postfix-host-format, tramp-file-name-regexp)
8395 (tramp-completion-file-name-regexp)
8396 (tramp-completion-dissect-file-name)
8397 (tramp-handle-substitute-in-file-name): Remove 'url case.
8398 (tramp-file-name-regexp-url)
8399 (tramp-completion-file-name-regexp-url): Remove constants.
8401 2013-09-06 Glenn Morris <rgm@gnu.org>
8403 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8405 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8407 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8408 keywords" below "here-doc beginnings" (Bug#15270).
8410 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8412 * subr.el (pop): Use `car-safe'.
8413 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8414 to detect unused `pop' return value.
8416 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8418 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8419 (python-fill-string): Remove unused var `marker'.
8420 (python-skeleton-add-menu-items): Remove unused var `items'.
8422 * international/mule-cmds.el: Require CL.
8423 (find-coding-systems-for-charsets): Avoid add-to-list.
8424 (sanitize-coding-system-list): New function, extracted from
8425 select-safe-coding-system-interactively.
8426 (select-safe-coding-system-interactively): Use it.
8427 (read-input-method-name): Accept symbols for `default'.
8429 * emacs-lisp/advice.el (defadvice): Add indent rule.
8431 2013-09-05 Daniel Hackney <dan@haxney.org>
8435 * net/browse-url.el:
8438 * net/eudcb-ldap.el:
8451 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8452 byte compiler. Remove some unused let-bound variables.
8454 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8456 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8457 a "ref-cell", since it gets better optimized (bug#14883).
8459 2013-09-05 Glenn Morris <rgm@gnu.org>
8461 * progmodes/cc-awk.el (c-forward-sws): Declare.
8463 2013-09-04 Glenn Morris <rgm@gnu.org>
8465 * generic-x.el [rul-generic-mode]: Require cc-mode.
8466 (c++-mode-syntax-table): Declare.
8467 (rul-generic-mode-syntax-table): Init in the defvar.
8469 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8471 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8472 (vc-do-command, vc-set-async-update):
8473 * vc/vc-mtn.el (vc-mtn-dir-status):
8474 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8475 (vc-hg-pull, vc-hg-merge-branch):
8476 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8477 (vc-git-merge-branch):
8478 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8479 (vc-cvs-dir-status-files):
8480 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8481 (vc-bzr-dir-status-files):
8482 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8483 * vc/vc-annotate.el: Use lexical-binding.
8484 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8485 (vc-sentinel-movepoint): Declare.
8486 (vc-annotate): Don't use `goto-line'.
8487 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8488 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8489 (vc-sentinel-movepoint): Declare.
8490 * vc/vc-svn.el: Use lexical-binding.
8491 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8493 * vc/vc-rcs.el: Use lexical-binding.
8495 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8496 `deleted'. Don't drop errors silently.
8498 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8500 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8502 * vc/vc.el (vc-ignore): Rewrite.
8503 (vc-default-ignore): New function.
8504 (vc-default-ignore-completion-table): Use find-ignore-file.
8506 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8507 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8508 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8509 Remove. Most code moved to vc.el.
8511 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8513 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
8514 * net/tramp-smb.el (tramp-smb-get-file-entries):
8515 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8516 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8518 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8520 (eww-change-select): Remove unused var `properties'.
8521 (eww-make-unique-file-name): Remove unused var `base'.
8523 * finder.el (finder-compile-keywords): Don't mess with windows.
8525 * calculator.el (calculator-funcall): Fix typo in last change.
8527 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8529 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8530 <pkg>-autoloads.el file stop us.
8532 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
8533 warnings, and factor out common code.
8535 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8537 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8538 two-character operators and whether the character preceding them
8539 changes their meaning (Bug#15208).
8541 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8543 Format code sent to Python shell for robustness.
8544 * progmodes/python.el (python-shell-buffer-substring):
8546 (python-shell-send-region, python-shell-send-buffer): Use it.
8548 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
8550 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8551 * net/tramp.el (tramp-user-error): ... here.
8552 (tramp-find-method, tramp-check-proper-host)
8553 (tramp-dissect-file-name, tramp-debug-message)
8554 (tramp-handle-shell-command):
8555 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8556 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8558 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8560 2013-09-02 Martin Rudalics <rudalics@gmx.at>
8562 * avoid.el (mouse-avoidance-point-position)
8563 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8566 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8568 * progmodes/python.el (python-shell-completion-get-completions):
8569 Drop use of deleted `comint-last-prompt-overlay'.
8570 (python-nav-if-name-main): New command.
8572 2013-09-01 Glenn Morris <rgm@gnu.org>
8574 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8575 Avoid leading space in $wins. Otherwise the sed command used by
8576 eg compile-main ends up containing "/*.el". (Bug#15170)
8578 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8580 2013-08-30 Glenn Morris <rgm@gnu.org>
8582 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8583 Fix is-this-a-directory logic. (Bug#15220)
8585 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8587 * textmodes/css-mode.el: Use SMIE.
8588 (css-smie-grammar): New var.
8589 (css-smie--forward-token, css-smie--backward-token)
8590 (css-smie-rules): New functions.
8591 (css-mode): Use them.
8592 (css-navigation-syntax-table): Remove var.
8593 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8594 (css-indent-calculate, css-indent-line): Remove functions.
8596 Misc changes to reduce use of `(lambda...); and other cleanups.
8597 * cus-edit.el: Use lexical-binding.
8598 (customize-push-and-save, customize-apropos)
8599 (custom-buffer-create-internal): Use closures.
8600 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8601 * progmodes/ada-xref.el: Use setq.
8602 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8603 * dframe.el: Use lexical-binding.
8604 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8605 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8606 * descr-text.el: Use lexical-binding.
8607 (describe-text-widget, describe-text-sexp, describe-property-list):
8609 * comint.el (comint-history-isearch-push-state): Use a closure.
8610 * calculator.el: Use lexical-binding.
8611 (calculator-number-to-string): Make it work with lexical-binding.
8612 (calculator-funcall): Same and use cl-letf.
8614 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8615 (lisp--company-doc-string, lisp--company-location): New functions.
8616 (lisp-completion-at-point): Use them to improve Company support.
8618 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8619 params of lambda expressions.
8620 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8621 (ruby-smie--opening-pipe-p): New function.
8622 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8623 symbols and matched |...| for formal params.
8624 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8625 from being treated as hanging. Handle "rescue".
8627 2013-08-29 Glenn Morris <rgm@gnu.org>
8629 * progmodes/cc-engine.el (c-pull-open-brace):
8630 Move definition before use.
8632 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8634 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8635 are immutable. Don't use `unsafe' any more.
8636 (cl--defsubst-expand): Don't substitute at the same time as keeping
8637 a residual unused let-binding. Don't use `unsafe' any more.
8639 2013-08-29 Glenn Morris <rgm@gnu.org>
8641 * calendar/cal-china.el (calendar-chinese-year-cache):
8644 * nxml/nxml-util.el (nxml-debug-clear-inside):
8645 Use cl-loop rather than loop.
8647 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8649 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8651 2013-08-28 Glenn Morris <rgm@gnu.org>
8653 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8655 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8657 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8659 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8661 * simple.el (repeat-complex-command--called-interactively-skip):
8663 (repeat-complex-command): Use it (bug#14136).
8665 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8666 (c-define-abbrev-table): Add `doc' argument.
8667 (c-mode-abbrev-table, c++-mode-abbrev-table)
8668 (objc-mode-abbrev-table, java-mode-abbrev-table)
8669 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8670 (awk-mode-abbrev-table): Use it.
8671 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8672 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8673 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8674 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8675 Move initialization into the declaration; and remove any
8678 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8679 and dynamic let binding.
8681 * vc/smerge-mode.el: Remove redundant :group args.
8683 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8686 2013-08-28 Juri Linkov <juri@jurta.org>
8688 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8689 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8690 (isearch-other-meta-char): Handle an undefined shifted printing
8691 character by downshifting it. (Bug#15200)
8693 2013-08-28 Juri Linkov <juri@jurta.org>
8695 * isearch.el (isearch-search): Change regexp error message for
8696 non-regexp searches. (Bug#15166)
8698 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8700 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8701 for portability to hosts where /bin/sh has problems.
8703 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8705 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8707 2013-08-27 Juri Linkov <juri@jurta.org>
8709 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8710 in the keyboard macro. (Bug#15126)
8712 2013-08-27 Juri Linkov <juri@jurta.org>
8714 * isearch.el (isearch-quote-char): Comment out converting unibyte
8715 to multibyte, thus syncing with its `quoted-insert' counterpart.
8718 2013-08-27 Martin Rudalics <rudalics@gmx.at>
8720 * window.el (display-buffer-use-some-window): Add missing
8721 argument in call of get-largest-window (Bug#15185).
8722 Reported by Stephen Leake.
8724 2013-08-27 Glenn Morris <rgm@gnu.org>
8726 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8728 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8730 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8731 from a matcher-function unless there's no more matches (bug#15161).
8733 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8735 * minibuffer.el: Revert change from 2013-08-20.
8737 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8738 with text property `tramp-default', if appropriate.
8739 (tramp-check-proper-host): New defun.
8740 (tramp-dissect-file-name): Do not check hostname. Revert change
8742 (tramp-backtrace): Make VEC-OR-PROC optional.
8744 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8745 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8746 * net/tramp-sh.el (tramp-maybe-open-connection):
8747 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8748 Apply `tramp-check-proper-host'.
8750 2013-08-26 Tassilo Horn <tsdh@gnu.org>
8752 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8753 lambda expression in order to have `describe-variable' display it.
8755 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8757 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8758 BUF can be optional. (Bug#15186)
8760 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8762 * progmodes/flymake.el (flymake-get-real-file-name-function):
8763 Fix broken customization. (Bug#15184)
8765 2013-08-25 Alan Mackenzie <acm@muc.de>
8767 Improve indentation of bracelists defined by macros (without "=").
8769 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8770 expansion begins with "{", regard it as bracelist when it doesn't
8773 Parse C++ inher-intro when there's a template split over 2 lines.
8775 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8776 rigorously the search for "class" etc. followed by ":".
8778 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8779 random languages a regexp which never matches rather than nil.
8781 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8783 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8784 (c-awk-regexp-one-line-possibly-open-char-list-re)
8785 (c-awk-one-line-possibly-open-regexp-re)
8786 (c-awk-one-line-non-syn-ws*-re): Remove.
8787 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8788 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8789 (c-awk-space*-unclosed-regexp-/-re): New constants.
8790 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8791 aren't regexp delimiters.
8793 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8794 handling for a rare situation in AWK Mode involving unterminated
8797 2013-08-23 Glenn Morris <rgm@gnu.org>
8799 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8801 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8803 * files.el (create-file-buffer): If the result would begin with
8804 spaces, prepend a "|" instead of removing them. (Bug#15162)
8806 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8808 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8809 text-properties (bug#15155).
8811 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8813 (calc-keypad-redraw): Remove unused var `pad'.
8814 (calc-keypad-press): Remove unused var `menu'.
8816 2013-08-23 Martin Rudalics <rudalics@gmx.at>
8818 * window.el (display-buffer-pop-up-frame):
8819 Call pop-up-frame-function with BUFFER current so `make-frame' will
8820 use it as the new frame's buffer (Bug#15133).
8822 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8824 * calendar/timeclock.el: Minor cleanups.
8825 (timeclock-ask-before-exiting, timeclock-use-display-time):
8827 (timeclock-modeline-display): Define as alias before the
8829 (timeclock-mode-line-display): Use define-minor-mode.
8830 (timeclock-day-list-template): Make it a function, add an argument.
8831 (timeclock-day-list-required, timeclock-day-list-length)
8832 (timeclock-day-list-debt, timeclock-day-list-span)
8833 (timeclock-day-list-break): Adjust calls accordingly.
8835 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8837 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8838 Use read--expression so that completion works again.
8840 2013-08-21 Sam Steingold <sds@gnu.org>
8842 Add rudimentary inferior shell interaction
8843 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8844 (sh-set-shell): Reset it.
8845 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
8846 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
8848 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
8850 * align.el: Use lexical-binding.
8851 (align-region): Simplify accordingly.
8853 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
8855 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
8857 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
8860 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
8864 * net/tramp-cmds.el:
8866 * net/tramp-gvfs.el:
8868 * net/tramp-sh.el: Don't wrap external variable declarations by
8869 `eval-when-compile'.
8871 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8873 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8874 now that Emacs supports ImageMagick animations.
8876 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
8878 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8879 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8881 2013-08-16 Martin Rudalics <rudalics@gmx.at>
8883 * window.el (mouse-autoselect-window-select): Do autoselect when
8884 mouse pointer is on margin.
8886 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8888 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8890 2013-08-16 Glenn Morris <rgm@gnu.org>
8892 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8893 Handle "Remote Directory" response of some clients. (Bug#15058)
8895 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8896 Tweak warning. (Bug#14926)
8898 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8899 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8901 * image-mode.el (image-mode-map): Add menu items to reverse,
8902 increase, decrease, reset animation speed.
8903 (image--set-speed, image-increase-speed, image-decrease-speed)
8904 (image-reverse-speed, image-reset-speed): New functions.
8905 (image-mode-map): Add bindings for speed commands.
8907 * image.el (image-animate-get-speed, image-animate-set-speed):
8909 (image-animate-timeout): Respect image :speed property.
8911 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8913 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8914 previous line (bug#15101).
8915 (debugger-eval-expression, debugger-record-expression):
8916 Use read--expression (bug#15102).
8918 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
8920 Remove byte compiler warnings, visible when compiling with
8921 `byte-compile-force-lexical-warnings' set to t.
8923 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8924 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8925 (tramp-handle-unhandled-file-name-directory)
8926 (tramp-handle-file-notify-add-watch, tramp-action-login)
8927 (tramp-action-succeed, tramp-action-permission-denied)
8928 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8931 * net/tramp-adb.el (tramp-adb-parse-device-names)
8932 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8933 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8934 (tramp-adb-handle-file-truename): Remove unused arguments.
8936 * net/tramp-cache.el (tramp-flush-directory-property)
8937 (tramp-flush-connection-property, tramp-list-connections)
8938 (tramp-parse-connection-properties): Prefix unused arguments with "_".
8940 * net/tramp-compat.el (tramp-compat-make-temp-file):
8941 Rename FILENAME to F.
8943 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8944 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8945 (tramp-zeroconf-parse-workstation-device-names)
8946 (tramp-zeroconf-parse-webdav-device-names)
8947 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8949 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8950 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8952 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8954 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8955 (tramp-sh-handle-insert-file-contents-literally)
8956 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8958 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8959 Remove unused variables.
8961 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8962 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8963 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8965 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8966 Make them a defconst.
8967 (tramp-uuencode-region): Remove unused variable.
8969 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
8971 * frameset.el (frameset--prop-setter): New function.
8972 (frameset-prop): Add gv-setter declaration.
8973 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8974 parameter was already set in FILTERED. Doc fix.
8975 (frameset--record-minibuffer-relationships): Allow saving a
8976 minibufferless frame without its corresponding minibuffer frame.
8977 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8978 frame, if the frame id matches.
8979 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8980 frames before orphaned ones.
8981 (frameset-restore): Warn about orphaned windows, instead of error out.
8983 2013-08-14 Martin Rudalics <rudalics@gmx.at>
8985 * window.el (window-make-atom): Don't overwrite parameter
8987 (display-buffer-in-atom-window): Handle special case where we
8988 split an already atomic window.
8989 (window--major-non-side-window, display-buffer-in-side-window)
8990 (window--side-check): Ignore minibuffer window when walking
8992 (window-deletable-p): Return 'frame only if no other frame uses
8993 our minibuffer window.
8994 (record-window-buffer): Run buffer-list-update-hook.
8995 (split-window): Make sure window--check-frame won't destroy an
8996 existing atomic window in case the new window gets nested
8998 (display-buffer-at-bottom): Ignore minibuffer window when
8999 walking window tree. Don't split a side window.
9000 (pop-to-buffer): Don't set-buffer here, the select-window call
9002 (mouse-autoselect-window-select): Autoselect only if we are in the
9003 text portion of the window.
9005 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9007 * net/shr.el (shr-parse-image-data): New function to grab both the
9008 data itself and the Content-Type.
9009 (shr-put-image): Use it.
9011 * net/eww.el (eww-display-image): Ditto.
9013 * image.el (image-content-type-suffixes): New variable.
9015 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9017 * progmodes/python.el (python-imenu--build-tree)
9018 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9020 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9022 * simple.el (backward-word): Mention the optional argument.
9024 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9026 * frameset.el (frameset--make): Rename constructor from make-frameset.
9027 (frameset-p, frameset-valid-p): Don't autoload.
9028 (frameset-valid-p): Use normal accessors.
9030 2013-08-13 Glenn Morris <rgm@gnu.org>
9032 * progmodes/compile.el (compile-command): Tweak example in doc.
9033 * obsolete/scribe.el (scribe-mode):
9034 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9036 * mail/feedmail.el (feedmail-confirm-outgoing)
9037 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9039 * cus-start.el (truncate-partial-width-windows): Fix type.
9041 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9043 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9045 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9047 * emacs-lisp/timer.el (timer--time-setter): New function.
9048 (timer--time): Use it as gv-setter.
9050 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9051 setter is not a symbol.
9053 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9055 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9056 if sending fails. This makes debugging easier.
9058 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9060 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9061 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9062 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9064 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9066 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9068 2013-08-12 Glenn Morris <rgm@gnu.org>
9070 * format.el (format-annotate-function):
9071 Handle read-only text properties in the source. (Bug#14887)
9073 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9075 * net/eww.el (eww-display-html): Ignore coding system errors.
9076 One web site uses "utf-8lias" as the coding system.
9078 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9080 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9082 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9084 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9085 (tutorial--detailed-help): Remove unused local variables.
9086 (tutorial--save-tutorial-to): Use ignore-errors.
9087 (help-with-tutorial): Use looking-at-p.
9089 * view.el (view-buffer-other-window, view-buffer-other-frame):
9090 Mark unused arguments.
9092 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9093 (woman-select-symbol-fonts, woman, woman-find-file)
9094 (woman-insert-file-contents, woman-non-underline-faces):
9096 (woman1-unquote): Move declaration.
9098 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9099 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9100 argument. Remove unused local variable.
9101 (xml-parse-elem-type): Use string-match-p.
9102 (xml-substitute-numeric-entities): Use ignore-errors.
9104 * calculator.el (calculator): Mark unused argument.
9105 (calculator-paste, calculator-quit, calculator-integer-p):
9107 (calculator-string-to-number, calculator-decimal, calculator-exp)
9108 (calculator-op-or-exp): Use string-match-p.
9110 * dired.el (dired-buffer-more-recently-used-p): Declare.
9111 (dired-insert-set-properties, dired-insert-old-subdirs):
9114 * dired-aux.el (dired-compress): Use ignore-errors.
9115 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9116 (dired-do-async-shell-command, dired-do-shell-command)
9117 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9118 (dired-insert-subdir-validate): Use string-match-p.
9119 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9120 (dired-add-entry): Use string-match-p, looking-at-p.
9121 (dired-insert-subdir-newpos): Remove unused local variable.
9123 * filenotify.el (file-notify-callback): Remove unused local variable.
9125 * filesets.el (filesets-error): Mark unused argument.
9126 (filesets-which-command-p, filesets-filter-dir-names)
9127 (filesets-directory-files, filesets-get-external-viewer)
9128 (filesets-ingroup-get-data): Use string-match-p.
9130 * find-file.el (ff-other-file-name, ff-other-file-name)
9131 (ff-find-the-other-file, ff-cc-hh-converter):
9132 Remove unused local variables.
9133 (ff-get-file-name): Use string-match-p.
9134 (ff-all-dirs-under): Use ignore-errors.
9136 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9137 (follow-select-if-visible): Remove unused local variable.
9139 * forms.el (read-file-filter): Move declaration.
9140 (forms--make-format, forms--make-parser, forms-insert-record):
9141 Quote function with #'.
9142 (forms--update): Use string-match-p. Quote function with #'.
9144 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9145 (help-make-xrefs): Use looking-at-p.
9146 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9148 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9149 (ibuffer-confirm-operation-on): Use string-match-p.
9151 * msb.el (msb-item-handler, msb-dired-item-handler):
9152 Mark unused arguments.
9154 * ses.el (ses-decode-cell-symbol)
9155 (ses-kill-override): Remove unused local variable.
9156 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9157 (ses-load): Use ignore-errors, looking-at-p.
9158 (ses-jump-safe): Use ignore-errors.
9159 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9161 * tabify.el (untabify, tabify): Mark unused arguments.
9163 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9164 Mark unused argument.
9165 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9166 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9168 * emacs-lisp/timer.el (timer--time): Define setter with
9169 gv-define-setter to avoid deprecation warning.
9171 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9172 (*record-cmpl-statistics-p*): Remove (was commented out).
9173 (cmpl-statistics-block): Remove (body was commented out).
9174 All callers changed.
9175 (add-completions-from-buffer, load-completions-from-file):
9176 Remove unused variables.
9178 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9180 * filecache.el (file-cache-delete-file-list):
9181 Print message only when told so.
9182 (file-cache-files-matching): Use #' in mapconcat argument.
9184 * ffap.el (ffap-url-at-point): Fix reference to variable
9185 thing-at-point-default-mail-uri-scheme.
9187 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9189 * subr.el (define-error): New function.
9190 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9191 error-file-not-found and define with define-error.
9192 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9193 and define with define-error.
9194 * userlock.el (file-locked, file-supersession):
9195 * simple.el (mark-inactive):
9196 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9197 * progmodes/ada-mode.el (ada-mode-errors):
9198 * play/life.el (life-extinct):
9199 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9200 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9201 * nxml/rng-util.el (rng-error):
9202 * nxml/rng-uri.el (rng-uri-error):
9203 * nxml/rng-match.el (rng-compile-error):
9204 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9205 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9206 * nxml/nxml-rap.el (nxml-scan-error):
9207 * nxml/nxml-outln.el (nxml-outline-error):
9208 * net/soap-client.el (soap-error):
9209 * net/gnutls.el (gnutls-error):
9210 * net/ange-ftp.el (ftp-error):
9211 * mpc.el (mpc-proc-error):
9212 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9213 (json-number-format, json-string-escape, json-string-format)
9214 (json-key-format, json-object-format):
9215 * jka-compr.el (compression-error):
9216 * international/quail.el (quail-error):
9217 * international/kkc.el (kkc-error):
9218 * emacs-lisp/ert.el (ert-test-failed):
9219 * calc/calc.el (calc-error, inexact-result, math-overflow)
9221 * bookmark.el (bookmark-error-no-filename):
9222 * epg.el (epg-error): Define with define-error.
9224 * time.el (display-time-event-handler)
9225 (display-time-next-load-average): Don't call sit-for since it seems
9226 unnecessary (bug#15045).
9228 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9229 Use #' instead of ' to quote functions.
9230 (checkdoc-output-mode): Use setq-local.
9231 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9232 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9233 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9234 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9235 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9236 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9237 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9238 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9240 * ido.el (ido-completion-help): Fix up compiler warning.
9242 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9244 * frameset.el (frameset-p): Add autoload cookie.
9245 (frameset--jump-to-register): New function, based on code moved from
9247 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9249 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9250 (frameset-restore, frameset-save, frameset-session-filter-alist):
9251 Remove declarations.
9252 (register-alist): Doc fix.
9253 (frameset-to-register): Move to frameset.el.
9254 (jump-to-register, describe-register-1): Remove frameset-specific code.
9256 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9258 * allout-widgets.el (allout-widgets-pre-command-business)
9259 (allout-widgets-post-command-business)
9260 (allout-widgets-after-change-handler)
9261 (allout-decorate-item-and-context, allout-set-boundary-marker)
9262 (allout-body-modification-handler)
9263 (allout-graphics-modification-handler): Mark ignored arguments.
9264 (allout-widgets-post-command-business)
9265 (allout-widgets-exposure-change-processor)
9266 (allout-widgets-exposure-undo-processor)
9267 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9268 (allout-parse-item-at-point, allout-decorate-item-guides)
9269 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9270 * allout.el (epa-passphrase-callback-function): Declare.
9271 (allout-overlay-insert-in-front-handler)
9272 (allout-overlay-interior-modification-handler)
9273 (allout-isearch-end-handler, allout-chart-siblings)
9274 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9275 (allout-yank-processing, allout-process-exposed)
9276 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9277 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9278 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9279 (lisp-indent-defform): Mark ignored arguments.
9280 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9281 (calculate-lisp-indent): Remove unused variables.
9282 * international/characters.el (indian-2-column, arabic-2-column)
9283 (tibetan): Mark ignored arguments.
9284 (use-cjk-char-width-table): Mark ignored arguments.
9285 Remove unused variables.
9286 * international/fontset.el (build-default-fontset-data)
9287 (x-compose-font-name, create-fontset-from-fontset-spec):
9288 Mark ignored arguments.
9289 (fontset-plain-name): Remove unused variables.
9290 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9291 (keyboard-coding-system): Mark ignored arguments.
9292 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9293 * help.el (resize-temp-buffer-window):
9294 * window.el (display-buffer-in-major-side-window)
9295 (display-buffer-in-side-window, display-buffer-in-previous-window):
9296 Remove unused variables.
9297 * isearch.el (isearch-forward-symbol):
9298 * version.el (emacs-bzr-version-bzr):
9299 * international/mule-cmds.el (current-language-environment):
9300 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9302 * term/pc-win.el (x-list-fonts, x-display-planes)
9303 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9304 (x-server-version, x-display-screens, x-display-mm-height)
9305 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9306 (x-selection-owner-p, x-own-selection-internal)
9307 (x-disown-selection-internal, x-get-selection-internal)
9308 (msdos-initialize-window-system):
9309 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9310 * term/x-win.el (x-handle-no-bitmap-icon):
9311 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9312 (vc-default-find-file-hook, vc-default-extra-menu):
9313 Mark ignored arguments.
9315 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9317 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9318 break-condition in the context of the debugged code (bug#12685).
9320 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9323 Do not use an overlay to highlight the last prompt. (Bug#14744)
9324 (comint-mode): Make comint-last-prompt buffer local.
9325 (comint-last-prompt): New variable.
9326 (comint-last-prompt-overlay): Remove. Superseded by
9328 (comint-snapshot-last-prompt, comint-output-filter):
9329 Use comint-last-prompt.
9331 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9333 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9334 (frameset-save): Check validity of the resulting frameset.
9336 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9338 * ido.el (ido-record-command): Add doc string.
9340 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9342 * frameset.el (frameset): Do not disable creation of the default
9343 frameset-p predicate. Doc fix.
9344 (frameset-valid-p): New function, copied from the old predicate-p.
9345 Add additional checks.
9346 (frameset-restore): Check with frameset-valid-p.
9347 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9348 (frameset-name, frameset-description, frameset-properties)
9349 (frameset-states): Add docstring.
9350 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9351 (frameset-filter-alist): Doc fixes.
9353 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9355 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9357 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9359 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9360 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9361 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9362 (byte-compile-normal-call): Remove obsolescence check.
9364 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9366 * frameset.el (frameset-restore): Doc fix.
9368 * register.el (frameset-frame-id, frameset-frame-with-id)
9369 (frameset-p, frameset-restore, frameset-save): Declare.
9370 (register-alist): Document framesets.
9371 (frameset-session-filter-alist): Declare.
9372 (frameset-to-register): New function.
9373 (jump-to-register): Implement jumping to framesets. Doc fix.
9374 (describe-register-1): Describe framesets.
9376 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9378 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
9380 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9381 Use lexical-binding.
9383 * frameset.el (frameset): Use type vector, not list (incompatible
9384 change). Do not declare a new constructor, use the default one.
9385 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9386 `name' and `description', respectively, and add read-only slot
9387 `timestamp'. Doc fixes.
9388 (frameset-copy, frameset-persistent-filter-alist)
9389 (frameset-filter-alist, frameset-switch-to-gui-p)
9390 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9391 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9392 (frameset-filter-iconified, frameset-keep-original-display-p):
9394 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9395 Rename from frameset-filter-(save|restore)-param. All callers changed.
9397 (frameset-p): Adapt to change to vector and be more thorough.
9398 Change arg name to OBJECT. Doc fix.
9399 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9400 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9401 All callers changed.
9402 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9403 All callers changed.
9404 (frameset--record-minibuffer-relationships): Rename from
9405 frameset--process-minibuffer-frames. All callers changed.
9406 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9407 Use new default constructor (again). Doc fix.
9408 (frameset--find-frame-if): Rename from `frameset--find-frame'.
9409 All callers changed.
9410 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9411 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9413 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9414 PARAMETERS and WINDOW-STATE, respectively.
9415 (frameset-restore): Add new keyword argument PREDICATE.
9416 Reset frameset--target-display to nil. Doc fix.
9418 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9420 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9422 (bat-mode-syntax-table): Mark \n as end-of-comment.
9423 (bat-font-lock-keywords): Remove comment rule.
9425 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9426 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9428 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9429 (byte-compile-callargs-warn): Use `push'.
9430 (byte-compile-arglist-warn): Ignore higher-order "calls".
9431 (byte-compile-file-form-autoload): Use `pcase'.
9432 (byte-compile-function-form): If quoting a symbol, check that it exists.
9434 2013-08-07 Eli Zaretskii <eliz@gnu.org>
9436 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9437 and add a few popular commands found in batch files.
9438 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9439 (dos-mode): Doc fixes.
9441 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9443 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9444 (dos-mode): Use setq-local. Add space after "rem".
9445 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9446 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9448 2013-08-07 Arni Magnusson <arnima@hafro.is>
9450 * progmodes/dos.el: New file.
9451 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9454 2013-08-06 Glenn Morris <rgm@gnu.org>
9456 * calendar/calendar.el: Add new faces, and day-header-array.
9457 (calendar-weekday-header, calendar-weekend-header)
9458 (calendar-month-header): New faces.
9459 (calendar-day-header-construct): New function.
9460 (calendar-day-header-width): Also :set calendar-day-header-array.
9461 (calendar-american-month-header, calendar-european-month-header)
9462 (calendar-iso-month-header): Use calendar- faces.
9463 (calendar-generate-month):
9464 Use calendar-day-header-array for day headers; apply faces to them.
9465 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9466 (calendar-abbrev-construct): Add optional maxlen argument.
9467 (calendar-day-name-array): Doc fix.
9468 (calendar-day-name-array, calendar-abbrev-length)
9469 (calendar-day-abbrev-array):
9470 Also :set calendar-day-header-array, and maybe redraw.
9471 (calendar-day-header-array): New option. (Bug#15007)
9472 (calendar-font-lock-keywords): Set to nil and make obsolete.
9473 (calendar-day-name): Add option to use header array.
9475 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9477 * net/shr.el (shr-render-td): Remove debugging.
9478 (shr-render-td): Make width computation consistent by defaulting
9479 all zero-width columns to 10 characters. This may not be optimal,
9480 but it's at least consistent.
9481 (shr-make-table-1): Redo last change to fix the real problem in
9484 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9486 * files.el (cache-long-line-scans):
9487 Make obsolete alias to `cache-long-scans'.
9489 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9491 * frameset.el (frameset, frameset-filter-alist)
9492 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9493 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9494 (frameset-compute-pos): Rename from frameset--compute-pos,
9496 (frameset-move-onscreen): Use frameset-compute-pos.
9497 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9499 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9500 Fix typos in docstrings.
9502 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9504 * frame.el (get-other-frame): Tiny cleanup.
9506 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9508 * vc/vc.el (vc-default-ignore-completion-table):
9509 Silence byte-compiler warning.
9511 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
9512 slot, which can indeed be nil.
9513 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9514 Move entry for `left' from persistent to live filter alist.
9515 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9517 (frameset-filter-params): When restoring a frame, copy items added to
9518 `filtered', to avoid unwittingly modifying the original parameters.
9519 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9520 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9522 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9523 to use looking-at-p instead of looking-at. (Bug#15028)
9525 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9527 Revert introduction of isearch-filter-predicates (bug#14714).
9528 Rely on add-function instead.
9529 * isearch.el (isearch-filter-predicates): Rename it back to
9530 isearch-filter-predicate.
9531 (isearch-message-prefix): Use advice-function-mapc and advice
9532 properties to get the isearch-message-prefix.
9533 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9534 instead of run-hook-with-args-until-failure.
9535 (isearch-filter-visible): Not obsolete any more.
9536 * loadup.el: Preload nadvice.
9537 * replace.el (perform-replace): Revert to funcall
9538 instead of run-hook-with-args-until-failure.
9539 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9540 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9541 dired-isearch-filenames-toggle; make it into a proper minor mode.
9542 Use add/remove-function.
9543 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9544 Call the minor-mode rather than add/remove-hook.
9545 (dired-isearch-filter-filenames):
9546 Remove isearch-message-prefix property.
9547 * info.el (Info--search-loop): New function, extracted from Info-search.
9548 Funcall isearch-filter-predicate instead of
9549 run-hook-with-args-until-failure isearch-filter-predicates.
9550 (Info-search): Use it.
9551 (Info-mode): Use isearch-filter-predicate instead of
9552 isearch-filter-predicates.
9554 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9556 Do not call to `selected-window' where it is assumed by default.
9557 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9558 `window-hscroll', `window-width', `window-height', `window-buffer',
9559 `window-frame', `window-start', `window-point', `next-window'
9560 and `window-display-table'.
9561 * abbrev.el (abbrev--default-expand):
9562 * bs.el (bs--show-with-configuration):
9563 * buff-menu.el (Buffer-menu-mouse-select):
9564 * calc/calc.el (calc):
9565 * calendar/calendar.el (calendar-generate-window):
9566 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9568 * comint.el (send-invisible, comint-dynamic-complete-filename)
9569 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9570 * completion.el (complete):
9571 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9572 * disp-table.el (describe-current-display-table):
9573 * doc-view.el (doc-view-insert-image):
9574 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9575 * ehelp.el (with-electric-help):
9576 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9577 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9578 * emacs-lisp/helper.el (Helper-help-scroller):
9579 * emulation/cua-base.el (cua--post-command-handler-1):
9580 * eshell/esh-mode.el (eshell-output-filter):
9581 * ffap.el (ffap-gnus-wrapper):
9582 * help-macro.el (make-help-screen):
9583 * hilit-chg.el (highlight-compare-buffers):
9584 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9585 * hl-line.el (global-hl-line-highlight):
9586 * icomplete.el (icomplete-simple-completing-p):
9587 * isearch.el (isearch-done):
9588 * jit-lock.el (jit-lock-stealth-fontify):
9589 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
9590 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
9591 * mpc.el (mpc-tagbrowser, mpc):
9592 * net/rcirc.el (rcirc-any-buffer):
9593 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9594 * play/landmark.el (landmark-max-width, landmark-max-height):
9595 * play/zone.el (zone):
9596 * progmodes/compile.el (compilation-goto-locus):
9597 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9598 * progmodes/etags.el (find-tag-other-window):
9599 * progmodes/fortran.el (fortran-column-ruler):
9600 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9601 * progmodes/verilog-mode.el (verilog-point-text):
9602 * reposition.el (reposition-window):
9603 * rot13.el (toggle-rot13-mode):
9604 * server.el (server-switch-buffer):
9605 * shell.el (shell-dynamic-complete-command)
9606 (shell-dynamic-complete-environment-variable):
9607 * simple.el (insert-buffer, set-selective-display)
9608 (delete-completion-window):
9609 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9610 (speedbar-recenter):
9611 * startup.el (fancy-splash-head):
9612 * textmodes/ispell.el (ispell-command-loop):
9613 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9614 * tutorial.el (help-with-tutorial):
9615 * vc/add-log.el (add-change-log-entry):
9616 * vc/compare-w.el (compare-windows):
9617 * vc/ediff-help.el (ediff-indent-help-message):
9618 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9619 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9620 (ediff-setup-control-frame):
9621 * vc/emerge.el (emerge-position-region):
9622 * vc/pcvs-util.el (cvs-bury-buffer):
9623 * window.el (walk-windows, mouse-autoselect-window-select):
9624 * winner.el (winner-set-conf, winner-undo): Related users changed.
9626 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9628 * frameset.el (frameset--set-id): Doc fix.
9629 (frameset-frame-id, frameset-frame-id-equal-p)
9630 (frameset-locate-frame-id): New functions.
9631 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9632 (frameset-restore): Use them.
9634 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9636 Do not call to `selected-frame' where it is assumed by default.
9637 Affected functions are `raise-frame', `redraw-frame',
9638 `frame-first-window', `frame-terminal' and `delete-frame'.
9639 * calendar/appt.el (appt-disp-window):
9640 * epg.el (epg-wait-for-completion):
9641 * follow.el (follow-delete-other-windows-and-split)
9642 (follow-avoid-tail-recenter):
9643 * international/mule.el (set-terminal-coding-system):
9644 * mail/rmail.el (rmail-mail-return):
9645 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9646 * progmodes/f90.el (f90-add-imenu-menu):
9647 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9648 * server.el (server-switch-buffer):
9649 * simple.el (delete-completion-window):
9651 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9652 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9653 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9654 * vc/ediff.el (ediff-documentation): Related users changed.
9655 * frame.el (selected-terminal): Remove the leftover.
9657 2013-08-05 Glenn Morris <rgm@gnu.org>
9659 * calendar/calendar.el (calendar-generate-month):
9660 Fix for calendar-column-width != 1 + calendar-day-digit-width.
9661 (calendar-generate-month, calendar-font-lock-keywords):
9662 Fix for calendar-day-header-width > length of any day name.
9664 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9666 * desktop.el (desktop-clear): Use new name of sort predicate.
9668 * frameset.el (frameset): Add docstring. Move :version property to its
9670 (frameset-copy): Rename from copy-frameset.
9671 (frameset-p): Check more thoroughly.
9672 (frameset-prop): Do not check for :version, which is no longer a prop.
9673 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9674 Use new :never value instead of t.
9675 (frameset-filter-alist): Expand and clarify docstring.
9676 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9677 (frameset-filter-minibuffer, frameset-filter-save-param)
9678 (frameset-filter-restore-param, frameset-filter-iconified):
9679 Add pointer to docstring of frameset-filter-alist.
9680 (frameset-filter-params): Rename filter values to be more meaningful:
9681 :never instead of t, and reverse the meanings of :save and :restore.
9682 (frameset--process-minibuffer-frames): Clarify error message.
9683 (frameset-save): Avoid unnecessary and confusing call to framep.
9684 Use new BOA constructor for framesets.
9685 (frameset--reuse-list): Doc fix.
9686 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9687 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9688 (frameset-minibufferless-first-p): Doc fix.
9689 Rename from frameset-sort-frames-for-deletion.
9690 (frameset-restore): Doc fixes. Use new function names.
9691 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9693 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9695 * desktop.el (desktop-restore-forces-onscreen)
9696 (desktop-restore-reuses-frames): Document :keyword constant values.
9697 (desktop-filter-parameters-alist): Remove, now identical to
9698 frameset-filter-alist.
9699 (desktop--filter-tty*): Remove, moved to frameset.el.
9700 (desktop-save-frameset, desktop-restore-frameset):
9701 Do not pass :filters argument.
9703 * frameset.el (frameset-live-filter-alist)
9704 (frameset-persistent-filter-alist): New variables.
9705 (frameset-filter-alist): Use them. Add autoload cookie.
9706 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9707 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9708 `frameset--id' (it's supposed to be internal to frameset.el).
9709 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9710 (frameset--initial-params): New function.
9711 (frameset--get-frame): Use it. Doc fix.
9712 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9713 Accept :all, not 'all.
9714 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9715 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9716 with fbound symbols. Fix frame id matching, and remove matching ids if
9717 the frame being restored is deleted. Obey :delete.
9719 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9721 * subr.el (macrop): New function.
9722 (text-clone--maintaining): New var.
9723 (text-clone--maintain): Rename from text-clone-maintain. Use it
9724 instead of inhibit-modification-hooks.
9726 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9727 a proxy, so as handle autoloads and redefinitions of the target.
9728 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9730 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9731 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9732 (pcase--mutually-exclusive-p): New function.
9733 (pcase--split-consp): Use it.
9734 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9735 mutually exclusive with the current predicate.
9737 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9738 (edebug-macrop): Remove. Use `macrop' instead.
9739 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9741 * eshell/esh-cmd.el (eshell-macrop):
9742 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9744 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9746 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9747 (advice-mapc): New function, using it.
9748 (advice-function-member-p): New function.
9749 (advice--normalize): Store the cdr in advice--saved-rewrite since
9750 that's the part that will be changed.
9751 (advice--symbol-function): New function.
9752 (advice-remove): Handle removal before the function is defined.
9753 Adjust to new advice--saved-rewrite.
9754 (advice-member-p): Use advice-function-member-p and
9755 advice--symbol-function.
9757 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9759 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9760 (frameset-filter-minibuffer): Doc fix.
9761 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
9762 (frameset--set-id, frameset--process-minibuffer-frames)
9763 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9764 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
9766 * desktop.el (desktop-clear): Only delete frames when called
9767 interactively and desktop-restore-frames is non-nil. Doc fix.
9768 (desktop-read): Set desktop-saved-frameset to nil.
9770 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9772 * vc/vc.el (vc-ignore): Rewrite.
9773 (vc-default-ignore-completion-table, vc--read-lines)
9774 (vc--add-line, vc--remove-regexp): New functions.
9776 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9777 (vc-svn-ignore-completion-table): New function.
9779 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
9780 (vc-hg-ignore-completion-table)
9781 (vc-hg-find-ignore-file): New functions.
9783 * vc/vc-git.el (vc-git-ignore): Rewrite.
9784 (vc-git-ignore-completion-table)
9785 (vc-git-find-ignore-file): New functions.
9787 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9789 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
9790 (vc-bzr-ignore-completion-table)
9791 (vc-bzr-find-ignore-file): New functions.
9793 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
9795 * frameset.el (frameset-prop): New function and setter.
9796 (frameset-save): Do not modify frame list passed by the caller.
9798 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9800 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9802 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9804 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9805 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9807 * custom.el (custom-initialize-default, custom-initialize-set)
9808 (custom-initialize-reset, custom-initialize-changed): Affect the
9809 toplevel-default-value (bug#6275, bug#14586).
9810 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9813 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9815 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9816 Add cl-def* expressions.
9818 * frameset.el (frameset-filter-params): Fix order of arguments.
9820 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9822 Move code related to saving frames to frameset.el.
9823 * desktop.el: Require frameset.
9824 (desktop-restore-frames): Doc fix.
9825 (desktop-restore-reuses-frames): Rename from
9826 desktop-restoring-reuses-frames.
9827 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9828 (desktop-clear): Clear frames too.
9829 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9830 (desktop--filter-tty*, desktop-save, desktop-read):
9831 Use frameset functions.
9832 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9833 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9834 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9835 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9836 (desktop--process-minibuffer-frames, desktop-save-frames)
9837 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9838 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9839 (desktop--sort-states, desktop-restoring-frames-p)
9840 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9841 (desktop-restoring-frameset-p, desktop-restore-frameset)
9842 (desktop--check-dont-save, desktop-save-frameset): New functions.
9843 (desktop--app-id): New constant.
9844 (desktop-first-buffer, desktop-buffer-ok-count)
9845 (desktop-buffer-fail-count): Move before first use.
9846 * frameset.el: New file.
9848 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9850 * files.el: Use lexical-binding.
9851 (dir-locals-read-from-file): Remove unused `err' variable.
9852 (hack-dir-local-variables--warned-coding): New var.
9853 (hack-dir-local-variables): Use it to avoid repeated warnings.
9854 (make-backup-file-name--default-function): New function.
9855 (make-backup-file-name-function): Use it as default.
9856 (buffer-stale--default-function): New function.
9857 (buffer-stale-function): Use it as default.
9858 (revert-buffer-insert-file-contents--default-function): New function.
9859 (revert-buffer-insert-file-contents-function): Use it as default.
9860 (insert-directory): Avoid add-to-list.
9862 * autorevert.el (auto-revert-handler): Simplify.
9863 Use buffer-stale--default-function.
9865 2013-08-01 Tassilo Horn <tsdh@gnu.org>
9867 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
9869 * whitespace.el (whitespace-ensure-local-variables): New function.
9870 (whitespace-cleanup-region): Call it.
9871 (whitespace-turn-on): Call it.
9873 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
9875 Complete file name handlers.
9877 * net/tramp.el (tramp-handle-set-visited-file-modtime)
9878 (tramp-handle-verify-visited-file-modtime)
9879 (tramp-handle-file-notify-rm-watch): New functions.
9880 (tramp-call-process): Do not bind `default-directory'.
9882 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9883 Order alphabetically.
9884 <access-file, add-name-to-file, dired-call-process>:
9885 <dired-compress-file, file-acl, file-notify-rm-watch>:
9886 <file-ownership-preserved-p, file-selinux-context>:
9887 <make-directory-internal, make-symbolic-link, set-file-acl>:
9888 <set-file-selinux-context, set-visited-file-modtime>:
9889 <verify-visited-file-modtime>: Add handler.
9890 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9892 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9893 <file-notify-add-watch, file-notify-rm-watch>:
9894 <set-file-times, set-visited-file-modtime>:
9895 <verify-visited-file-modtime>: Add handler.
9896 (with-tramp-gvfs-error-message)
9897 (tramp-gvfs-handle-set-visited-file-modtime)
9898 (tramp-gvfs-fuse-file-name): Remove.
9899 (tramp-gvfs-handle-file-notify-add-watch)
9900 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9901 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9903 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9904 Order alphabetically.
9905 <file-notify-rm-watch>: Use default Tramp handler.
9906 <executable-find>: Remove private handler.
9907 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9908 `default-directory'.
9909 (tramp-sh-handle-executable-find)
9910 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9911 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9912 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9913 Do not use `format' in `tramp-message'.
9915 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
9916 <file-notify-rm-watch, set-visited-file-modtime>:
9917 <verify-visited-file-modtime>: Add handler.
9918 (tramp-smb-call-winexe): Do not bind `default-directory'.
9920 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9922 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9924 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9926 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9928 (log-view-diff-changeset): Same.
9929 (log-view-diff-common): Call backend command `previous-revision'
9930 to find out the previous revision, in both cases. Swap the
9931 variables `to' and `fr', so that `fr' usually refers to the
9932 earlier revision (Bug#14989).
9934 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
9936 * ibuf-ext.el (ibuffer-filter-by-filename):
9937 Make it work with dired buffers too.
9939 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
9941 * emacs-lisp/re-builder.el (reb-color-display-p):
9942 * files.el (save-buffers-kill-terminal):
9943 * net/browse-url.el (browse-url):
9944 * server.el (server-save-buffers-kill-terminal):
9945 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9946 Prefer nil to selected-frame for the first arg of frame-parameter.
9948 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
9950 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9952 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
9954 * minibuffer.el (completion--twq-all): Try and preserve each
9955 completion's case choice (bug#14907).
9957 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9959 * net/network-stream.el (open-network-stream): Mention the new
9960 :nogreeting parameter.
9961 (network-stream-open-starttls): Use the :nogreeting parameter
9964 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9966 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9967 more natural than popping.
9969 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
9970 (shr-urlify): Highlight under mouse.
9972 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9974 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9976 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9978 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9981 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
9982 point-min==1. Fix search string. Fix parentheses missing.
9984 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
9985 assume point-min==1. Fix search string. Fix parentheses missing.
9987 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9989 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
9992 2013-07-29 Eli Zaretskii <eliz@gnu.org>
9994 * frame.el (frame-notice-user-settings): Avoid inflooping when the
9995 initial frame is minibuffer-less. (Bug#14841)
9997 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
9999 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10002 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10003 (tramp-maybe-open-connection): Use it.
10005 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10007 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10008 minimal set of parameters passed when creating a frame, because
10009 the minibuffer status of a frame cannot be changed later.
10011 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10013 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10014 replace-regexp-in-string and inadvertent omissions in previous change.
10015 (todo-filter-items): Ensure only file names are comma-separated in
10016 name of filtered items buffer.
10018 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10020 * desktop.el: Optionally force offscreen frames back onscreen.
10021 (desktop-restoring-reuses-frames): New option.
10022 (desktop--compute-pos, desktop--move-onscreen): New functions.
10023 (desktop--make-frame): Use desktop--move-onscreen.
10025 2013-07-27 Alan Mackenzie <acm@muc.de>
10027 Fontify a Java generic method as a function.
10028 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10031 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10033 * calendar/todo-mode.el: Add command to rename todo files.
10034 (todo-rename-file): New command.
10035 (todo-key-bindings-t): Add key binding for it. Change the
10036 bindings of todo-filter-regexp-items(-multifile) to use `x'
10037 instead of `r', since the latter is better suited to the new
10040 2013-07-27 Alan Mackenzie <acm@muc.de>
10042 Make Java try-with-resources statement parse properly.
10043 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10044 (c-block-stmt-1-2-key): New language constants/variables.
10045 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10046 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10047 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10048 with c-block-stmt-1-2-key.
10050 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10052 * desktop.el (desktop--make-frame): Apply most frame parameters after
10053 creating the frame to force (partially or totally) offscreen frames to
10054 be restored as such.
10056 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10058 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10061 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10063 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10064 `base' arg of backtrace-frame.
10066 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10068 * simple.el (list-processes): Doc fix.
10070 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10072 * desktop.el (desktop--select-frame):
10073 Try harder to reuse existing frames.
10075 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10077 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10078 (edebug-eval): Use backtrace-eval.
10079 (edebug--display, edebug--recursive-edit): Don't let-bind the
10080 edebug-outer-* vars that keep track of variables we locally let-bind.
10081 (edebug-outside-excursion): Don't restore outside values of locally
10083 (edebug--display): Use user-error.
10084 (cl-lexical-debug, cl-debug-env): Remove.
10086 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10088 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10089 are restored to be sure that they are visible before deleting any
10092 2013-07-26 Matthias Meulien <orontee@gmail.com>
10094 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10095 vc-print-root-log. (Bug#14948)
10097 2013-07-26 Richard Stallman <rms@gnu.org>
10099 Add aliases for encrypting mail.
10100 * epa.el (epa-mail-aliases): New option.
10101 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10102 Bind inhibit-read-only so read-only text doesn't ruin everything.
10103 (epa-mail-default-recipients): New subroutine broken out.
10104 Handle epa-mail-aliases.
10106 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10108 Add support for lexical variables to the debugger's `e' command.
10109 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10110 vars, except for debugger-outer-match-data.
10111 (debugger-frame-number): Move check for "on a function call" from
10112 callers into it. Add `skip-base' argument.
10113 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10114 (debugger-env-macro): Only reset the state stored in non-variables,
10115 i.e. current-buffer and match-data.
10116 (debugger-eval-expression): Rewrite using backtrace-eval.
10117 * subr.el (internal--called-interactively-p--get-frame): Remove.
10118 (called-interactively-p):
10119 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10120 `base' arg of backtrace-frame instead.
10122 2013-07-26 Glenn Morris <rgm@gnu.org>
10124 * align.el (align-regexp): Doc fix. (Bug#14857)
10125 (align-region): Explicit error if subexpression missing/does not match.
10127 * simple.el (global-visual-line-mode):
10128 Do not duplicate the mode lighter. (Bug#14858)
10130 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10132 * window.el (display-buffer): In display-buffer bind
10133 split-window-keep-point to t, bug#14829.
10135 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10137 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10138 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10139 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10140 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10141 Change accordingly.
10142 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10143 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10145 2013-07-25 Glenn Morris <rgm@gnu.org>
10147 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10149 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10151 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10152 parameter to modify-frame-parameters if the value has not changed;
10153 this is a workaround for bug#14949.
10154 (desktop--make-frame): On cl-delete-if call, check parameter name,
10155 not full parameter.
10157 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10159 * vc/vc.el (vc-ignore): New function.
10161 * vc/vc-svn.el (vc-svn-ignore): New function.
10163 * vc/vc-hg.el (vc-hg-ignore): New function.
10165 * vc/vc-git.el (vc-git-ignore): New function.
10167 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10168 (vc-dir-ignore): New function.
10170 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10171 (cvs-append-to-ignore): Move here from pcvs.el.
10173 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10175 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10177 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10179 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10180 (desktop-restore-frames): Warn when deleting an existing frame failed.
10182 2013-07-24 Glenn Morris <rgm@gnu.org>
10184 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10186 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10188 * filenotify.el (file-notify-supported-p):
10189 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10192 * autorevert.el (auto-revert-use-notify)
10193 (auto-revert-notify-add-watch):
10194 * net/tramp.el (tramp-file-name-for-operation):
10195 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10196 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10197 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10198 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10199 Remove `file-notify-supported-p' entry.
10201 2013-07-24 Glenn Morris <rgm@gnu.org>
10203 * printing.el: Replace all uses of deleted ps-windows-system,
10204 ps-lp-system, ps-flatten-list with lpr- versions.
10206 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10208 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10209 checked with memq (bug#14935).
10211 * files.el (revert-buffer-function): Use a non-nil default.
10212 (revert-buffer-preserve-modes): Declare var to
10213 provide access to the `preserve-modes' argument.
10214 (revert-buffer): Let-bind it.
10215 (revert-buffer--default): New function, extracted from revert-buffer.
10217 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10219 * lpr.el: Signal print errors more prominently.
10220 (print-region-function): Don't default to nil.
10221 (lpr-print-region): New function, extracted from print-region-1.
10222 Check lpr's return value and signal an error in case of problem.
10223 (print-region-1): Use it.
10224 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10226 (ps-printer-name): Default to nil.
10227 (ps-printer-name-option): Default to lpr-printer-switch.
10228 (ps-print-region-function): Don't default to nil.
10229 (ps-postscript-code-directory): Simplify default.
10230 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10231 (ps-string-list, ps-eval-switch, ps-flatten-list)
10232 (ps-flatten-list-1): Remove.
10233 (ps-multibyte-buffer): Avoid setq.
10234 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10235 (print-region-function, ps-print-region-function): Don't set them here.
10237 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10239 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10240 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10241 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10242 (ido-decorations): Doc fix.
10244 * ansi-color.el: Fix old URL.
10246 2013-07-23 Michael R. Mauger <michael@mauger.com>
10248 * progmodes/sql.el: Version 3.3
10249 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10250 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10251 (sql-interactive-remove-continuation-prompt): Rewrite, use
10252 functions above. Fix continuation prompt and complete output line
10254 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10255 redirected output buffer.
10256 (sql-mode): Restore deleted code (Bug#13591).
10258 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10260 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10262 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10264 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10266 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10267 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10268 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10270 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10272 * desktop.el (desktop-clear): Simplify; remove useless checks
10273 against invalid buffer names.
10274 (desktop-list*): Use cl-list*.
10275 (desktop-buffer-info, desktop-create-buffer): Simplify.
10277 2013-07-23 Leo Liu <sdl.web@gmail.com>
10279 * bookmark.el (bookmark-make-record): Restore NAME as a default
10282 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10284 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10285 extracted from autoload--insert-text.
10286 (autoload--insert-text): Remove.
10287 (autoload--print-cookie-text): New function, extracted from
10288 autoload--insert-cookie-text.
10289 (autoload--insert-cookie-text): Remove.
10290 (autoload-generate-file-autoloads): Adjust calls accordingly.
10292 * winner.el (winner-hook-installed-p): Remove.
10293 (winner-mode): Simplify accordingly.
10295 * subr.el (add-to-list): Fix compiler-macro when `append' is
10296 not constant. Don't use `cl-member' for the base case.
10298 * progmodes/subword.el: Fix boundary case (bug#13758).
10299 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10301 (subword-backward-regexp): Make it a constant.
10302 (subword-forward-internal): Don't treat a trailing capital as the
10303 beginning of a word.
10305 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10307 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10308 global value of tabulated-list-revert-hook (bug#14930).
10310 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10312 * desktop.el: Require 'cl-lib.
10313 (desktop-before-saving-frames-functions): New hook.
10314 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10315 for frames being saved. Rename from desktop--save-minibuffer-frames.
10316 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10317 Do not save frames with non-nil `desktop-dont-save' parameter.
10318 Filter out deleted frames.
10319 (desktop--find-frame): Use cl-find-if.
10320 (desktop--select-frame): Use cl-(first|second|third) to access values
10322 (desktop--make-frame): Use cl-delete-if.
10323 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10324 (desktop-restore-frames): Use cl-(first|second|third) to access values
10325 of desktop-mini. Look for visible frame at the end, not while
10328 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10329 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10330 Use string-match-p, looking-at-p (bug#14927).
10332 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10334 * desktop.el (desktop-saved-frame-states):
10335 Rename from desktop--saved-states; all users changed.
10336 (desktop-save-frames): Rename from desktop--save-frames.
10337 Do not save state to desktop file.
10338 (desktop-save): Save desktop-saved-frame-states to desktop file
10340 (desktop-restoring-frames-p): New function.
10341 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10342 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10343 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10345 * desktop.el: Correctly restore iconified frames.
10346 (desktop--filter-iconified-position): New function.
10347 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10349 2013-07-20 Glenn Morris <rgm@gnu.org>
10351 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10352 Let `message' do the formatting.
10353 (def-gdb-preempt-display-buffer): Add explicit format.
10355 * image-dired.el (image-dired-track-original-file):
10356 Use with-current-buffer.
10357 (image-dired-track-thumbnail): Use with-current-buffer.
10358 Avoid changing point of wrong window.
10360 * image-dired.el (image-dired-track-original-file):
10361 Avoid changing point of wrong window. (Bug#14909)
10363 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10365 * progmodes/gdb-mi.el (gdb-done-or-error):
10366 Guard against "%" in gdb output. (Bug#14127)
10368 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10370 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10373 * international/mule.el (coding-system-iso-2022-flags): Fix last
10376 2013-07-20 Kenichi Handa <handa@gnu.org>
10378 * international/mule.el (coding-system-iso-2022-flags):
10379 Add `8-bit-level-4'. (Bug#8522)
10381 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10383 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10386 * net/eww.el (eww-process-text-input): Allow inputting when the
10387 point is at the start of the line, as the properties aren't
10390 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10393 2013-07-19 Richard Stallman <rms@gnu.org>
10395 * epa.el (epa-popup-info-window): Doc fix.
10397 * subr.el (split-string): New arg TRIM.
10399 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
10401 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10402 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10404 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
10406 * filenotify.el (file-notify--library): Rename from
10407 `file-notify-support'. Do not autoload. Adapt all uses.
10408 (file-notify-supported-p): New defun.
10410 * autorevert.el (auto-revert-use-notify):
10411 Use `file-notify-supported-p' instead of `file-notify-support'.
10413 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10415 * net/tramp.el (tramp-file-name-for-operation):
10416 Add `file-notify-supported-p'.
10418 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10420 (tramp-sh-file-name-handler-alist): Add it as handler for
10421 `file-notify-supported-p '.
10423 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10424 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10425 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10426 Add `ignore' as handler for `file-notify-*' functions.
10428 2013-07-17 Eli Zaretskii <eliz@gnu.org>
10430 * simple.el (line-move-partial, line-move): Don't start vscroll or
10431 scroll-up if the current line is not taller than the window.
10434 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10436 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10437 highlight question marks in the method names as strings.
10438 (ruby-block-beg-keywords): Inline.
10439 (ruby-font-lock-keyword-beg-re): Extract from
10440 `ruby-font-lock-keywords'.
10442 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10444 * frame.el (blink-cursor-blinks): New defcustom.
10445 (blink-cursor-blinks-done): New defvar.
10446 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10447 (blink-cursor-timer-function): Check if number of blinks has been
10449 (blink-cursor-suspend, blink-cursor-check): New defuns.
10451 2013-07-15 Glenn Morris <rgm@gnu.org>
10453 * edmacro.el (edmacro-format-keys): Fix previous change.
10455 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10457 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10458 The hack didn't work outside English locales anyway.
10460 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
10462 * simple.el (define-alternatives): Rename from alternatives-define,
10463 per RMS' suggestion.
10465 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
10467 * desktop.el (desktop-restore-frames): Change default to t.
10468 (desktop-restore-in-current-display): Now offer more options.
10469 (desktop-restoring-reuses-frames): New customization option.
10470 (desktop--saved-states): Doc fix.
10471 (desktop-filter-parameters-alist): New variable, renamed and expanded
10472 from desktop--excluded-frame-parameters.
10473 (desktop--target-display): New variable.
10474 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10475 (desktop--filter-tty*, desktop--filter-*-color)
10476 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10477 (desktop--filter-save-desktop-parm)
10478 (desktop-restore-in-original-display-p): New functions.
10479 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10480 (desktop--save-minibuffer-frames): New function, inspired by a similar
10481 function from Martin Rudalics.
10482 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10483 (desktop--restore-in-this-display-p): Remove.
10484 (desktop--find-frame): Rename from desktop--find-frame-in-display
10485 and add predicate argument.
10486 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10487 (desktop--reuse-list): New variable.
10488 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10490 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10492 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
10494 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10496 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10498 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10499 Highlight conversion methods on Kernel.
10501 2013-07-13 Alan Mackenzie <acm@muc.de>
10503 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10504 and comment it out. This out-commenting enables certain C++
10505 declarations to be parsed correctly.
10507 2013-07-13 Eli Zaretskii <eliz@gnu.org>
10509 * international/mule.el (define-coding-system): Doc fix.
10511 * simple.el (default-font-height): Don't call font-info if the
10512 frame's default font didn't change since the frame was created.
10515 2013-07-13 Leo Liu <sdl.web@gmail.com>
10517 * ido.el (ido-read-file-name): Guard against non-symbol value.
10519 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10521 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10524 2013-07-13 Leo Liu <sdl.web@gmail.com>
10526 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10527 ido-set-matches call. (Bug#6852)
10529 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10531 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
10532 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10534 (ruby-font-lock-keywords): Distinguish calls to functions with
10535 module-like names from module references. Highlight character
10538 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10540 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
10541 (gdb-send): Handle continued commands. (Bug#14847)
10543 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10545 * desktop.el (desktop--v2s): Remove unused local variable.
10546 (desktop-save-buffer): Make defvar-local; adjust docstring.
10547 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10548 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10550 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10552 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10554 2013-07-12 Eli Zaretskii <eliz@gnu.org>
10556 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10559 2013-07-12 Glenn Morris <rgm@gnu.org>
10561 * doc-view.el: Require cl-lib at runtime too.
10562 (doc-view-remove-if): Remove.
10563 (doc-view-search-next-match, doc-view-search-previous-match):
10566 * edmacro.el: Require cl-lib at runtime too.
10567 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10568 (edmacro-mismatch, edmacro-subseq): Remove.
10570 * shadowfile.el: Require cl-lib.
10571 (shadow-remove-if): Remove.
10572 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10575 * wid-edit.el: Require cl-lib.
10576 (widget-choose): Use cl-remove-if.
10577 (widget-remove-if): Remove.
10579 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10580 (ebrowse-delete-if-not): Remove.
10581 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10582 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10583 Use cl-delete-if-not.
10585 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10587 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10588 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10590 2013-07-12 Leo Liu <sdl.web@gmail.com>
10592 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10594 2013-07-11 Glenn Morris <rgm@gnu.org>
10596 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10597 (edebug-gensym-index, edebug-gensym):
10598 Remove reimplementation of cl-gensym.
10599 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10601 * thumbs.el: Require cl-lib at run-time too.
10602 (thumbs-gensym-counter, thumbs-gensym):
10603 Remove reimplementation of cl-gensym.
10604 (thumbs-temp-file): Use cl-gensym.
10606 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10607 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10608 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10609 (ert--union, ert--gensym-counter, ert--gensym-counter)
10610 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10611 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10612 (ert-make-test-unbound, ert--expand-should-1)
10613 (ert--expand-should, ert--should-error-handle-error)
10614 (should-error, ert--explain-equal-rec)
10615 (ert--plist-difference-explanation, ert-select-tests)
10616 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10617 Use cl-lib functions rather than reimplementations.
10619 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
10621 * net/tramp.el (tramp-methods): Extend docstring.
10622 (tramp-connection-timeout): New defcustom.
10623 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10624 (with-tramp-progress-reporter): Simplify.
10625 (tramp-process-actions): Improve messages.
10627 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10628 * net/tramp-sh.el (tramp-maybe-open-connection):
10629 Use `tramp-connection-timeout'.
10630 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
10633 2013-07-11 Leo Liu <sdl.web@gmail.com>
10635 * ido.el (ido-read-file-name): Conform to the requirements of
10636 read-file-name. (Bug#11861)
10637 (ido-read-directory-name): Conform to the requirements of
10638 read-directory-name.
10640 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
10642 * subr.el (delay-warning): New function.
10644 2013-07-10 Eli Zaretskii <eliz@gnu.org>
10646 * simple.el (default-line-height): New function.
10647 (line-move-partial, line-move): Use it instead of computing the
10648 line height inline.
10649 (line-move-partial): Always compute ROWH. If the last line is
10650 partially-visible, but its text is completely visible, allow
10651 cursor to enter such a partially-visible line.
10653 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
10655 Improve error messages. (Bug#14808)
10657 * net/tramp.el (tramp-current-connection): New defvar, moved from
10659 (tramp-message-show-progress-reporter-message): Remove, not
10661 (tramp-error-with-buffer): Show message in minibuffer.
10662 Discard input before waiting. Reset connection timestamp.
10663 (with-tramp-progress-reporter): Improve messages.
10664 (tramp-process-actions): Use progress reporter. Delete process in
10665 case of error. Improve messages.
10667 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10668 Call `tramp-error-with-buffer' with vector and buffer.
10669 (tramp-current-connection): Remove.
10670 (tramp-maybe-open-connection): The car of
10671 `tramp-current-connection' are the first 3 slots of the vector.
10673 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10675 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10676 inside continued strings.
10678 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10680 Timestamp fixes for undo (Bug#14824).
10681 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10683 2013-07-10 Leo Liu <sdl.web@gmail.com>
10685 * files.el (require-final-newline): Allow safe local value.
10688 2013-07-09 Leo Liu <sdl.web@gmail.com>
10690 * ido.el (ido-read-directory-name): Handle fallback.
10691 (ido-read-file-name): Update DIR to ido-current-directory.
10693 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
10695 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10697 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10698 "autoload". Remove "warn lower camel case" section, previously
10699 commented out. Highlight negation char. Do not highlight the
10700 target in singleton method definitions.
10702 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10704 * faces.el (tty-setup-hook): Declare the hook.
10706 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10707 and detect when a guard/pred depends on local vars (bug#14773).
10708 (pcase--u1): Adjust caller.
10710 2013-07-08 Eli Zaretskii <eliz@gnu.org>
10712 * simple.el (line-move-partial, line-move): Account for
10714 (line-move-partial): Avoid setting vscroll when the last
10715 partially-visible line in window is of default height.
10717 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10719 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10722 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
10724 * subr.el (read-quoted-char): Remove unused local variable `char'.
10726 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10728 * vc/ediff.el (ediff-version): Version update.
10729 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10730 (ediff-merge-with-ancestor-command, ediff-directories-command)
10731 (ediff-directories3-command, ediff-merge-directories-command)
10732 (ediff-merge-directories-with-ancestor-command): New functions.
10733 All are command-line interfaces to ediff: to facilitate calling
10734 Emacs with the appropriate ediff functions invoked.
10736 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
10738 (viper-save-kill-buffer): Check if buffer is modified.
10740 * emulation/viper.el (viper-version): Version update.
10741 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
10743 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10745 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10746 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
10747 (viper-intercept-ESC-key): Simplify.
10748 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
10750 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
10751 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10752 (viper-setup-ESC-to-escape): New functions.
10753 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10754 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
10756 2013-07-07 Eli Zaretskii <eliz@gnu.org>
10758 * simple.el (default-font-height, window-screen-lines):
10760 (line-move, line-move-partial): Use them instead of
10761 frame-char-height and window-text-height. This makes scrolling
10762 text smoother when the buffer's default face uses a font that is
10763 different from the frame's default font.
10765 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10767 * files.el (write-file): Do not display confirm dialog for NS,
10768 it does its own dialog, which can't be canceled (Bug#14578).
10770 2013-07-06 Eli Zaretskii <eliz@gnu.org>
10772 * simple.el (line-move-partial): Adjust the row returned by
10773 posn-at-point for the current window-vscroll. (Bug#14567)
10775 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
10777 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
10778 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10781 2013-07-06 Martin Rudalics <rudalics@gmx.at>
10783 * window.el (window-state-put-stale-windows): New variable.
10784 (window--state-put-2): Save list of windows without matching buffer.
10785 (window-state-put): Remove "bufferless" windows if possible.
10787 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10789 * simple.el (alternatives-define): Remove leftover :group keyword.
10792 2013-07-06 Leo Liu <sdl.web@gmail.com>
10794 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10795 (ido-enable-virtual-buffers): New variable.
10796 (ido-buffer-internal, ido-toggle-virtual-buffers)
10797 (ido-make-buffer-list): Use it.
10798 (ido-exhibit): Support turning on and off virtual buffers
10801 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10803 * simple.el (alternatives-define): New macro.
10805 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10807 * subr.el (read-quoted-char): Use read-key.
10808 (sit-for): Let read-event decode tty input (bug#14782).
10810 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
10812 * calendar/todo-mode.el: Add handling of file deletion, both by
10813 mode command and externally. Fix various related bugs.
10814 Clarify Commentary and improve some documentation strings and code.
10815 (todo-delete-file): New command.
10816 (todo-check-file): New function.
10817 (todo-show): Handle external deletion of the file we're trying to
10818 show (bug#14688). Replace called-interactively-p by an optional
10819 prefix argument to avoid problematic interaction with catch form
10820 when byte compiled (bug#14702).
10821 (todo-quit): Handle external deletion of the archive's todo file.
10822 Make sure the buffer that was visiting the archive file is still
10823 live before trying to bury it.
10824 (todo-category-completions): Handle external deletion of any
10825 category completion files.
10826 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10827 of todo files, in case of external deletion.
10828 (todo-add-file): Replace unnecessary setq by let-binding.
10829 (todo-find-archive): Check whether there are any archives.
10830 Replace unnecessary setq by let-binding.
10831 (todo-archive-done-item): Use find-file-noselect to get the
10832 archive buffer whether or not the archive already exists.
10833 Remove superfluous code. Use file size instead of buffer-file-name to
10834 check if the archive is new; if it is, update list of archives.
10835 (todo-default-todo-file): Allow nil to be a valid value for when
10836 there are no todo files.
10837 (todo-reevaluate-default-file-defcustom): Use corrected definition
10838 of todo-default-todo-file.
10839 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10840 (todo-delete-category, todo-show-categories-table)
10841 (todo-category-number): Clarify comment.
10842 (todo-filter-items): Clarify documentation string.
10843 (todo-show-current-file, todo-display-as-todo-file)
10844 (todo-reset-and-enable-done-separator): Tweak documentation string.
10845 (todo-done-separator): Make separator length window-width, since
10846 bug#2749 is now fixed.
10848 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
10850 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10851 Support both "gvfs-monitor-dir" and "inotifywait".
10852 (tramp-sh-file-inotifywait-process-filter): Rename from
10853 `tramp-sh-file-notify-process-filter'.
10854 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10855 (tramp-get-remote-gvfs-monitor-dir): New defuns.
10857 2013-07-05 Leo Liu <sdl.web@gmail.com>
10859 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
10861 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10863 * frame.el (display-pixel-height, display-pixel-width)
10864 (display-mm-height, display-mm-width): Mention behavior on
10865 multi-monitor setups in docstrings.
10866 (w32-display-monitor-attributes-list): Declare function.
10867 (display-monitor-attributes-list): Use it.
10869 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
10871 * filenotify.el: New package.
10873 * autorevert.el (top): Require filenotify.el.
10874 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
10876 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10877 (auto-revert-notify-handler): Use `file-notify-*' functions.
10879 * subr.el (file-notify-handle-event): Move function to filenotify.el.
10881 * net/tramp.el (tramp-file-name-for-operation):
10882 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
10884 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10885 for `file-notify-add-watch' and `file-notify-rm-watch'.
10886 (tramp-process-sentinel): Improve trace.
10887 (tramp-sh-handle-file-notify-add-watch)
10888 (tramp-sh-file-notify-process-filter)
10889 (tramp-sh-handle-file-notify-rm-watch)
10890 (tramp-get-remote-inotifywait): New defuns.
10892 2013-07-03 Juri Linkov <juri@jurta.org>
10894 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10895 call of `occur-read-primary-args' to interactive spec.
10897 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10898 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10900 2013-07-03 Matthias Meulien <orontee@gmail.com>
10902 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10903 `Buffer-menu-multi-occur'. Add it to the menu.
10904 (Buffer-menu-mode): Document it in docstring.
10905 (Buffer-menu-multi-occur): New command. (Bug#14673)
10907 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10909 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10910 keywords and built-ins.
10912 2013-07-03 Glenn Morris <rgm@gnu.org>
10914 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10916 Make info-xref checks case-sensitive by default
10917 * info.el (Info-find-node, Info-find-in-tag-table)
10918 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10919 Add option for exact case matching of nodes.
10920 * info-xref.el (info-xref): New custom group.
10921 (info-xref-case-fold): New option.
10922 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10924 2013-07-03 Leo Liu <sdl.web@gmail.com>
10926 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10928 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10930 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10931 middle of block statement initially, lower the depth. Remove
10932 FIXME comment, not longer valid. Remove middle of block statement
10933 detection, no need to do that anymore since we've been using
10934 `ruby-parse-region' here.
10936 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
10938 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10940 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
10942 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10944 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
10946 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10947 (desktop-restore-in-current-display): New customization option.
10948 (desktop--excluded-frame-parameters): Add `font'.
10949 (desktop--save-frames): Rename from desktop--save-windows.
10950 (desktop--restore-in-this-display-p): New function.
10951 (desktop--make-full-frame): Remove unwanted width/height from
10952 full(width|height) frames.
10953 (desktop--restore-frames): Rename from desktop--restore-windows.
10954 Obey desktop-restore-current-display. Do not delete old frames or
10955 select a new frame unless we were able to restore at least one frame.
10957 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
10959 * files.el (find-file-noselect): Simplify conditional expression.
10961 * textmodes/remember.el (remember-append-to-file):
10962 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10964 Add `remember-notes' function to store random notes across Emacs
10966 * textmodes/remember.el (remember-data-file): Add :set callback to
10967 affect notes buffer (if any).
10968 (remember-notes): New command.
10969 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10970 New defcustoms for the `remember-notes' function.
10971 (remember-notes-save-and-bury-buffer): New command.
10972 (remember-notes-mode-map): New variable.
10973 (remember-mode): New minor mode.
10974 (remember-notes--kill-buffer-query): New function.
10975 * startup.el (initial-buffer-choice): Add notes to custom type.
10977 2013-06-30 Eli Zaretskii <eliz@gnu.org>
10979 * bindings.el (right-char, left-char): Don't call sit-for, this is
10980 no longer needed. Use arithmetic comparison only for numerical
10983 * international/mule-cmds.el (select-safe-coding-system):
10984 Handle the case of FROM being a string correctly. (Bug#14755)
10986 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10988 * net/shr.el (shr-make-table-1): Add a sanity check that allows
10989 progression on degenerate tables.
10990 (shr-rescale-image): ImageMagick animated images currently don't work.
10992 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
10994 Some fixes and improvements for desktop frame restoration.
10995 It is still experimental and disabled by default.
10996 * desktop.el (desktop--save-windows): Put the selected frame at
10997 the head of the list.
10998 (desktop--make-full-frame): New function.
10999 (desktop--restore-windows): Try to re-select the frame that was
11000 selected upon saving. Do not abort if some frames fail to restore,
11001 just show an error message and continue. Set up maximized frames
11002 so they have default non-maximized dimensions.
11004 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11006 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11007 Don't start heredoc inside a string or comment.
11009 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11011 * bindings.el (visual-order-cursor-movement): New defcustom.
11012 (right-char, left-char): Provide visual-order cursor motion by
11013 calling move-point-visually. Update the doc strings.
11015 2013-06-28 Kenichi Handa <handa@gnu.org>
11017 * international/mule.el (define-coding-system): New coding system
11018 properties :inhibit-null-byte-detection,
11019 :inhibit-iso-escape-detection, and :prefer-utf-8.
11020 (set-buffer-file-coding-system): If :charset-list property of
11021 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11022 appropriate for setting.
11024 * international/mule-cmds.el (select-safe-coding-system):
11025 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11026 multibyte characters, return utf-8 (or one of its siblings).
11028 * international/mule-conf.el (prefer-utf-8): New coding system.
11029 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11032 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11034 * net/shr.el (shr-render-region): New function.
11036 * net/eww.el: Autoload `eww-browse-url'.
11038 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11040 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11041 Adapt to `package-desc-version' being a list.
11042 Use `package--ac-desc-version' to retrieve version from a package
11045 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11047 New experimental feature to save&restore window and frame setup.
11048 * desktop.el (desktop-save-windows): New defcustom.
11049 (desktop--saved-states): New var.
11050 (desktop--excluded-frame-parameters): New defconst.
11051 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11052 (desktop--restore-windows, desktop--save-windows): New functions.
11053 (desktop-save): Call `desktop--save-windows'.
11054 (desktop-read): Call `desktop--restore-windows'.
11056 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11058 * net/shr.el (add-face-text-property): Remove compat definition.
11060 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11062 * info.el (Info-try-follow-nearest-node): Move search for footnote
11063 above search for node name to prevent missing a footnote (bug#14717).
11065 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11067 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11069 2013-06-27 Leo Liu <sdl.web@gmail.com>
11071 * net/eww.el (eww-read-bookmarks): Check file size.
11073 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11075 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11076 advice--pending if newdef is nil or an autoload (bug#13820).
11077 (advice-mapc): New function.
11079 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11081 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11083 (eww-mode-map): Add a menu bar.
11084 (eww-add-bookmark): New command.
11085 (eww-bookmark-mode): New mode and commands.
11086 (eww-add-bookmark): Remove newlines from the title.
11087 (eww-bookmark-browse): Don't bug out if it's the only window.
11089 2013-06-26 Glenn Morris <rgm@gnu.org>
11091 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11092 (hfy-size): Handle ttys. (Bug#14668)
11094 * info-xref.el: Update for Texinfo 5 change in *note format.
11095 (info-xref-node-re, info-xref-note-re): New constants.
11096 (info-xref-check-buffer): Use info-xref-note-re.
11098 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11100 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11102 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11103 nil terminate the loop (bug#14718).
11105 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11107 * net/eww.el: Rework history traversal. When going forward/back,
11108 put these actions into the history, too, so that they can be
11110 (eww-render): Move the history reset to the correct buffer.
11112 2013-06-25 Juri Linkov <juri@jurta.org>
11114 * files-x.el (modify-dir-local-variable): Change the header comment
11115 in the file with directory local variables. (Bug#14692)
11117 * files-x.el (read-file-local-variable-value): Add `default'.
11120 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11122 * net/eww.el (eww-make-unique-file-name): Create a unique file
11123 name before saving to entering `y' accidentally asynchronously.
11125 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11127 * net/eww.el (eww-download): New command and keystroke.
11129 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11131 * net/eww.el (eww-copy-page-url): Change name of command.
11133 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11134 be more consistent with Info and dired.
11136 * net/eww.el (eww-mode-map): Ditto.
11138 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11140 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11141 packages from archives.
11142 (package-archive-contents): Change format; include obsolete packages.
11143 (package-desc): Use `dir' to mark builtin packages.
11144 (package--from-builtin): Set the `dir' field to `builtin'.
11145 (generated-autoload-file, version-control): Declare.
11146 (package-compute-transaction): Change first arg and return value to be
11147 lists of package-descs. Adjust to new package-archive-contents format.
11148 (package--add-to-archive-contents): Adjust to new
11149 package-archive-contents format.
11150 (package-download-transaction): Arg is now a list of package-descs.
11151 (package-install): If `pkg' is a package name, pass it as
11152 a requirement, so it is subject to the usual (e.g. disabled) checks.
11153 (describe-package): Accept package-desc as well.
11154 (describe-package-1): Describe a specific package-desc. Add links to
11155 other package-descs for the same package name.
11156 (package-menu-describe-package): Pass the actual package-desc.
11157 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11159 (package-desc-status): New function.
11160 (package-menu--refresh): New function, extracted
11161 from package-menu--generate.
11162 (package-menu--generate): Use it.
11163 (package-delete): Update package-alist.
11164 (package-menu-execute): Don't call package-initialize.
11166 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11167 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11168 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11169 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11170 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11171 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11173 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11175 * window.el (window--state-get-1): Workaround for bug#14527.
11176 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11178 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11180 * net/eww.el (eww-back-url): Implement the history by stashing all
11181 the data into a list.
11182 (eww-forward-url): Allow going forward in the history, too.
11184 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11186 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11187 for values and use read--expression for expressions (bug#14710).
11188 (read-file-local-variable): Avoid setq.
11189 (read-file-local-variable-mode): Use minor-mode-list.
11191 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11193 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11196 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11198 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11199 Update imenu-support when dialect changes.
11201 2013-06-25 Leo Liu <sdl.web@gmail.com>
11203 * ido.el (ido-read-internal): Allow forward slash on windows.
11205 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11207 * net/eww.el (eww): Start of strings is \\`, not ^.
11209 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11211 * net/shr.el (shr-browse-url): Fix interactive spec.
11213 * net/eww.el (eww): Add a trailing slash to domain names.
11215 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11217 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11219 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11221 * net/shr.el (shr-browse-url): Use an external browser if given a
11224 * net/eww.el (eww-external-browser): Move to shr.
11226 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11228 * net/eww.el (eww): Work more correctly for file: URLs.
11229 (eww-detect-charset): Allow quoted charsets.
11230 (eww-yank-page-url): New command and keystroke.
11232 2013-06-24 Daiki Ueno <ueno@gnu.org>
11234 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11235 file name of gpg executable.
11236 (epg-context-program): New function.
11237 (epg-context-home-directory): New function.
11238 (epg-context-set-program): New function.
11239 (epg-context-set-home-directory): New function.
11240 (epg--start): Use `epg-context-program' instead of
11242 (epg--list-keys-1): Likewise.
11244 2013-06-24 Leo Liu <sdl.web@gmail.com>
11246 * ido.el (ido-read-internal): Fix bug#14620.
11248 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11250 * faces.el (face-documentation): Simplify.
11251 (read-face-attribute, tty-find-type, x-resolve-font-name):
11252 Use `string-match-p'.
11253 (list-faces-display): Use `string-match-p'. Simplify.
11254 (face-spec-recalc): Check face to avoid face alias loops.
11255 (read-color): Use `string-match-p' and non-capturing parenthesis.
11257 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11259 * net/shr.el (shr-rescale-image): Use the new
11260 :max-width/:max-height functionality.
11262 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11264 * net/eww.el (eww-search-prefix): New variable.
11266 (eww-external-browser): New variable.
11267 (eww-mode-map): New keystroke.
11268 (eww-browse-with-external-browser): New command.
11270 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11272 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11274 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11275 Don't skip aligning the next header field when padding is 0;
11276 otherwise, field width is not respected unless the title is as
11279 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11281 * emacs-lisp/package.el (package-el-version): Remove.
11282 (package-process-define-package): Fix inf-loop.
11283 (package-install): Allow symbols as arguments again.
11285 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11287 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11288 add some more keyword-like methods.
11289 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11291 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11293 * bs.el (bs-buffer-show-mark): Make defvar-local.
11294 (bs-mode): Use setq-local.
11296 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11297 (emacs-lock--try-unlocking): Make defvar-local.
11299 2013-06-22 Glenn Morris <rgm@gnu.org>
11301 * play/cookie1.el (cookie-apropos): Minor simplification.
11303 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11305 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11307 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11308 `regexp-opt', it breaks the build during dumping.
11310 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11312 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11313 Highlight keyword-like methods on Kernel and Module with
11314 font-lock-builtin-face.
11315 (auto-mode-alist): Consolidate different entries into one regexp
11316 and add more *file-s.
11318 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11320 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11322 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11323 (diary-entry): Use it in the action of this button type instead of
11326 * calendar/todo-mode.el: New version.
11327 (todo-add-category): Append new category to end of file and give
11328 it the highest number, instead of putting it at the beginning and
11329 giving it 0. Incorporate noninteractive functionality.
11330 (todo-forward-category): Adapt to 1-based category numbering.
11331 Allow skipping over archived categories.
11332 (todo-backward-category): Derive from todo-forward-category.
11333 (todo-backward-item, todo-forward-item): Make noninteractive and
11334 delegate interactive part to new commands. Make sensitive to done items.
11335 (todo-categories): Make value an alist of category names and
11336 vectors of item counts.
11337 (todo-category-beg): Make a defconst.
11338 (todo-category-number): Use 1 instead of 0 as initial value.
11339 (todo-category-select): Make sensitive to overlays, optional item
11340 highlighting and done items.
11341 (todo-delete-item): Make sensitive to overlays and marked and done items.
11342 (todo-edit-item): Make sensitive to overlays and editing of
11343 date/time header optional. Add format checks.
11344 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11345 no-op if point is not on an item. Advertise using todo-edit-quit.
11346 (todo-edit-mode): Make sensitive to new format, font-locking, and
11347 multiple todo files.
11348 (todo-insert-item, todo-insert-item-here): Derive from
11349 todo-basic-insert-item and extend functionality.
11350 (todo-item-end, todo-item-start): Make sensitive to done items.
11351 (todo-item-string): Don't return text properties. Restore point.
11352 (todo-jump-to-category): Make sensitive to multiple todo files and
11353 todo archives. Use extended category completion.
11354 (todo-lower-item, todo-raise-item): Rename to *-priority and
11355 derive from todo-set-item-priority.
11356 (todo-mode): Derive from special-mode. Make sensitive to new
11357 format, font-locking and multiple todo files. Make read-only.
11358 (todo-mode-map): Don't suppress digit keys, so they can supply
11359 prefix arguments. Add many new key bindings.
11360 (todo-prefix): Insert as an overlay instead of file text.
11361 Change semantics from diary date expression to purely visual mark.
11362 (todo-print): Rename to todo-print-buffer. Make buffer display
11363 features printable. Remove option to restrict number of items
11364 printed. Add option to print to file.
11365 (todo-print-function): Rename to todo-print-buffer-function.
11366 (todo-quit): Extend to handle exiting new todo modes.
11367 (todo-remove-item): Make sensitive to overlays.
11368 (todo-save): Extend to buffers of filtered items.
11369 (todo-show): Make sensitive to done items, multiple todo files and
11370 new todo modes. Offer to convert legacy todo file before creating
11371 first new todo file.
11372 (todo-show-priorities): Rename to todo-top-priorities.
11373 Change semantics of value 0.
11374 (todo-top-priorities): Rename to todo-filter-top-priorities,
11375 derive from todo-filter-items and extend functionality.
11376 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11377 and extend functionality to other types of filtered items.
11378 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11379 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11380 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11381 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11382 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11383 (todo-edit-mode-hook, todo-entry-prefix-function)
11384 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11385 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11386 (todo-initials, todo-insert-threshold, todo-item-string-start)
11387 (todo-line-string, todo-menu, todo-mode-hook)
11388 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11389 (todo-print-priorities, todo-remove-separator)
11390 (todo-save-top-priorities-too, todo-string-count-lines)
11391 (todo-string-multiline-p, todo-time-string-format)
11392 (todo-tmp-buffer-name): Remove.
11393 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11394 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11395 (todo-edit-category-diary-inclusion)
11396 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11397 (todo-edit-file, todo-edit-item-date-day)
11398 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11399 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11400 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11401 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11402 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11403 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11404 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11405 (todo-filter-top-priorities-multifile, todo-find-archive)
11406 (todo-find-filtered-items-file, todo-go-to-source-item)
11407 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11408 (todo-jump-to-archive-category, todo-lower-category)
11409 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11410 (todo-move-category, todo-move-item, todo-next-button)
11411 (todo-next-item, todo-padded-string, todo-powerset)
11412 (todo-previous-button, todo-previous-item)
11413 (todo-print-buffer-to-file, todo-raise-category)
11414 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11415 (todo-set-category-number, todo-set-item-priority)
11416 (todo-set-top-priorities-in-category)
11417 (todo-set-top-priorities-in-file, todo-show-categories-table)
11418 (todo-sort-categories-alphabetically-or-numerically)
11419 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11420 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11421 (todo-toggle-item-header, todo-toggle-item-highlighting)
11422 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11423 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11424 (todo-unarchive-items, todo-unmark-category): New commands.
11425 (todo-absolute-file-name, todo-add-to-buffer-list)
11426 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11427 (todo-basic-insert-item, todo-category-completions)
11428 (todo-category-number, todo-category-string-matcher-1)
11429 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11430 (todo-check-format, todo-clear-matches)
11431 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11432 (todo-current-category, todo-date-string-matcher)
11433 (todo-define-insertion-command, todo-diary-expired-matcher)
11434 (todo-diary-goto-entry, todo-diary-item-p)
11435 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11436 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11437 (todo-done-item-section-p, todo-done-separator)
11438 (todo-done-string-matcher, todo-files, todo-filter-items)
11439 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11440 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11441 (todo-insert-category-line, todo-insert-item-from-calendar)
11442 (todo-insert-sort-button, todo-insert-with-overlays)
11443 (todo-insertion-command-name, todo-insertion-key-bindings)
11444 (todo-label-to-key, todo-longest-category-name-length)
11445 (todo-make-categories-list, todo-mode-external-set)
11446 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11447 (todo-modes-set-3, todo-multiple-filter-files)
11448 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11449 (todo-read-category, todo-read-date, todo-read-dayname)
11450 (todo-read-file-name, todo-read-time)
11451 (todo-reevaluate-category-completions-files-defcustom)
11452 (todo-reevaluate-default-file-defcustom)
11453 (todo-reevaluate-filelist-defcustoms)
11454 (todo-reevaluate-filter-files-defcustom)
11455 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11456 (todo-reset-done-separator, todo-reset-done-separator-string)
11457 (todo-reset-done-string, todo-reset-global-current-todo-file)
11458 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11459 (todo-reset-prefix, todo-set-categories)
11460 (todo-set-date-from-calendar, todo-set-show-current-file)
11461 (todo-set-top-priorities, todo-short-file-name)
11462 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11463 (todo-total-item-counts, todo-update-buffer-list)
11464 (todo-update-categories-display, todo-update-categories-sexp)
11465 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11467 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11469 (todo-categories, todo-display, todo-edit, todo-faces)
11470 (todo-filtered): New defgroups.
11471 (todo-archived-only, todo-button, todo-category-string, todo-date)
11472 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11473 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11474 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11475 (todo-add-item-if-new-category, todo-always-add-time-string)
11476 (todo-categories-align, todo-categories-archived-label)
11477 (todo-categories-category-label, todo-categories-diary-label)
11478 (todo-categories-done-label, todo-categories-number-separator)
11479 (todo-categories-todo-label, todo-categories-totals-label)
11480 (todo-category-completions-files, todo-completion-ignore-case)
11481 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11482 (todo-done-separator-string, todo-done-string)
11483 (todo-files-function, todo-filter-done-items, todo-filter-files)
11484 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11485 (todo-initial-category, todo-initial-file, todo-item-mark)
11486 (todo-legacy-date-time-regexp, todo-mode-line-function)
11487 (todo-nondiary-marker, todo-number-prefix)
11488 (todo-print-buffer-function, todo-show-current-file)
11489 (todo-show-done-only, todo-show-first, todo-show-with-done)
11490 (todo-skip-archived-categories, todo-top-priorities-overrides)
11491 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11492 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11494 (todo-category-done, todo-date-pattern, todo-date-string-start)
11495 (todo-diary-items-buffer, todo-done-string-start)
11496 (todo-filtered-items-buffer, todo-item-start)
11497 (todo-month-abbrev-array, todo-month-name-array)
11498 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11499 (todo-top-priorities-buffer): New defconsts.
11500 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11501 (todo-categories-with-marks, todo-category-string-face)
11502 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11503 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11504 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11505 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11506 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11507 (todo-font-lock-keywords, todo-global-current-todo-file)
11508 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11509 (todo-insertion-commands-args)
11510 (todo-insertion-commands-args-genlist)
11511 (todo-insertion-commands-names, todo-insertion-map)
11512 (todo-key-bindings-t, todo-key-bindings-t+a)
11513 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11514 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11515 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11516 (todo-visited): New variables.
11518 2013-06-21 Glenn Morris <rgm@gnu.org>
11520 * play/cookie1.el (cookie-apropos): Add optional display argument.
11521 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11522 (psychoanalyze-pinhead): Use cookie-doctor.
11524 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11526 * emacs-lisp/package.el (tar-get-file-descriptor)
11527 (tar--extract): Declare.
11529 2013-06-21 Eduard Wiebe <usenet@pusto.de>
11531 Extend flymake's warning predicate to be a function (bug#14217).
11532 * progmodes/flymake.el (flymake-warning-predicate): New.
11533 (flymake-parse-line): Use it.
11534 (flymake-warning-re): Make obsolete alias to
11535 `flymake-warning-predicate'.
11537 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11539 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11540 (package-obsolete-list): Remove.
11541 (package-activate): Remove min-version argument. Add `force' argument.
11542 Adjust to new package-alist format.
11543 (package-mark-obsolete): Remove.
11544 (package-unpack): Force reload of the package's autoloads.
11545 (package-installed-p): Check builtins if the installed package is not
11547 (package-initialize): Don't reset package-obsolete-list.
11548 Don't specify which package version to activate.
11549 (package-process-define-package, describe-package-1)
11550 (package-menu--generate): Adjust to new package-alist format.
11552 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11554 * allout-widgets.el (allout-widgets-mode-off)
11555 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11556 (allout-widgets-post-command-business)
11557 (allout-widgets-after-copy-or-kill-function)
11558 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11559 (allout-decorate-item-and-context)
11560 (allout-graphics-modification-handler): Fix typos in docstrings.
11561 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11563 * cmuscheme.el (scheme-start-file): Doc fix.
11564 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11565 (scheme-input-filter): Use `string-match-p'.
11567 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11569 * dired-x.el: Use Dired consistently in docstrings.
11571 * dired.el: Use Dired consistently in docstrings.
11572 (dired-readin, dired-mode): Use `setq-local'.
11573 (dired-switches-alist): Make defvar-local.
11574 (dired-buffers-for-dir): Use `zerop'.
11575 (dired-safe-switches-p, dired-switches-escape-p)
11576 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11577 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
11578 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
11579 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11580 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11581 (dired-toggle-marks, dired-mark-files-containing-regexp)
11582 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11583 (dired-flag-auto-save-files, dired-flag-backup-files):
11584 Use `looking-at-p'.
11585 (dired-mark-files-regexp, dired-build-subdir-alist):
11586 Use `string-match-p', `looking-at-p'.
11588 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11589 (direct-print-region-helper): Use `string-match-p'.
11591 2013-06-21 Leo Liu <sdl.web@gmail.com>
11593 * comint.el (comint-redirect-results-list-from-process):
11596 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11598 * net/eww.el (eww-update-header-line-format): Quote % characters.
11600 2013-06-21 Glenn Morris <rgm@gnu.org>
11602 * play/cookie1.el (cookie): New custom group.
11603 (cookie-file): New option.
11604 (cookie-check-file): New function.
11605 (cookie): Make it interactive. Make start and end messages optional.
11606 Interactively, display the result. Default to cookie-file.
11607 (cookie-insert): Default to cookie-file.
11608 (cookie-snarf): Make start and end messages optional.
11609 Default to cookie-file. Use with-temp-buffer.
11610 (cookie-read): Rename from read-cookie.
11611 Make start and end messages optional. Default to cookie-file.
11612 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
11613 Do not autoload it.
11614 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11615 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11617 2013-06-21 Leo Liu <sdl.web@gmail.com>
11619 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11621 2013-06-21 Glenn Morris <rgm@gnu.org>
11623 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11625 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11626 Daniel Hackney <dan@haxney.org>
11628 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11629 Consolidate the single-file vs tarball code.
11630 (package-desc-suffix): New function.
11631 (package-desc-full-name): Don't bother inlining it.
11632 (package-load-descriptor): Return the new package-desc.
11633 (package-mark-obsolete): Remove unused arg `package'.
11634 (package-unpack): Make it work for single files as well.
11635 Make it update package-alist.
11636 (package--make-autoloads-and-stuff): Rename from
11637 package--make-autoloads-and-compile. Don't compile any more.
11638 (package--compile): New function.
11639 (package-generate-description-file): New function, extracted from
11640 package-unpack-single.
11641 (package-unpack-single): Remove.
11642 (package--with-work-buffer): Add indentation and debugging info.
11643 (package-download-single): Remove.
11644 (package-install-from-archive): Rename from package-download-tar, make
11645 it take a pkg-desc, and make it work for single files as well.
11646 (package-download-transaction): Simplify.
11647 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11648 external tar program.
11649 (package-install-from-buffer): Remove `pkg-desc' argument.
11650 Use package-tar-file-info for tar-mode buffers.
11651 (package-install-file): Simplify accordingly.
11652 (package-archive-base): Change to take a pkg-desc.
11653 * tar-mode.el (tar--check-descriptor): New function, extracted from
11654 tar-get-descriptor.
11655 (tar-get-descriptor): Use it.
11656 (tar-get-file-descriptor): New function.
11657 (tar--extract): New function, extracted from tar-extract.
11658 (tar--extract): Use it.
11659 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11660 case the summary uses non-ascii. Adjust to new calling convention of
11661 package-tar-file-info.
11663 2013-06-21 Leo Liu <sdl.web@gmail.com>
11665 * comint.el (comint-redirect-results-list-from-process):
11666 Fix random delay. (Bug#14681)
11668 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11670 * profiler.el (profiler-format-number): Use log, not log10.
11672 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11674 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11676 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11678 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11679 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11681 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11682 (AUTOGENEL): ... here.
11683 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11684 (cl--defsubst-expand): Use it.
11686 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11688 * subr.el (log10): Move here from C code, and declare as obsolete.
11689 All uses of (log10 X) replaced with (log X 10).
11691 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11693 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11694 Declare with `defvar-local'.
11695 (tabulated-list-use-header-line, tabulated-list-entries)
11696 (tabulated-list-padding, tabulated-list-printer)
11697 (tabulated-list-sort-key): Declare with `defvar-local'.
11698 (tabulated-list-init-header, tabulated-list-print-fake-header):
11701 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
11703 * arc-mode.el (archive-mode): Add `archive-write-file' to
11704 `write-contents-functions' also for remote files. (Bug#14652)
11706 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11708 * cus-edit.el (custom-commands): Fix typos.
11709 (custom-display): Fix tooltip text.
11710 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11711 Fix typos in docstrings.
11712 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11713 (custom-unlispify-menu-entry, custom-magic-value-create)
11714 (custom-add-see-also, custom-group-value-create): Use ?\s.
11715 (custom-guess-type, customize-apropos, editable-field)
11716 (custom-face-value-create): Use `string-match-p'.
11717 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11719 * custom.el (custom-load-symbol): Use `string-match-p'.
11721 * ansi-color.el: Convert to lexical binding.
11722 (ansi-colors): Fix URL.
11723 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11724 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11725 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11727 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11729 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11731 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11733 2013-06-19 Tom Tromey <tromey@redhat.com>
11735 * net/eww.el (eww-top-url): Remove.
11736 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11737 (eww-render): Set new variables. Don't set eww-top-url.
11738 (eww-handle-link): Handle "prev", "home", and "contents".
11739 Downcase the rel text.
11740 (eww-top-url): Choose best top URL.
11742 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11744 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11745 relying in widget.el. Using widget.el leads to too many
11746 user interface inconsistencies.
11747 (eww-self-insert): Implement entering commands in text fields.
11748 (eww-process-text-input): New function to make text input field editing
11750 (eww-submit): Rewrite to use the new-style form methods.
11751 (eww-select-display): Display the correct selected item.
11752 (eww-change-select): Implement changing the select value.
11753 (eww-toggle-checkbox): Implement radio/checkboxes.
11754 (eww-update-field): Fix compilation error.
11755 (eww-tag-textarea): Implement <textarea>.
11757 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11758 we don't shadow mode-specific bindings.
11760 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11763 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11765 2013-06-19 Glenn Morris <rgm@gnu.org>
11767 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11769 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11771 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11774 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11776 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11778 * net/browse-url.el (browse-url-browser-function):
11779 `eww-browse-url' has the right calling signature, `eww' does not.
11781 2013-06-19 Glenn Morris <rgm@gnu.org>
11783 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11784 Only eval autoloaded macros.
11785 (byte-compile-autoload): Only give the macro warning for macros.
11787 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11788 (ps-underlined-faces): Declare.
11790 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11791 (speedbar-add-supported-extension): Declare.
11793 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11794 Don't include a date stamp in the header of the generated file;
11795 it leads to needless differences between output files.
11797 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11799 * net/secrets.el (secrets-struct-secret-content-type):
11800 Replace check of introspection data by a test call of "CreateItem".
11801 Some servers do not offer introspection.
11803 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11805 * electric.el (electric-pair-mode): Improve interaction with
11806 electric-layout-mode.
11807 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11808 (electric-pair-syntax): Use text-mode-syntax-table in comments
11810 (electric-pair--insert): New function.
11811 (electric-pair-post-self-insert-function): Use it and
11812 electric--after-char-pos.
11814 2013-06-19 Leo Liu <sdl.web@gmail.com>
11816 * progmodes/octave.el (octave-help): Fix regexp.
11818 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11820 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11821 (shr-table-horizontal-line): Allow nil as a value, and change the
11823 (shr-insert-table-ruler): Respect the nil value.
11825 2013-06-18 Tom Tromey <tromey@barimba>
11827 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11829 (eww-open-file): New defun.
11830 (eww-render): Initialize new variables.
11831 (eww-display-html): Handle "link" and "a".
11832 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11833 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11834 (eww-back-url): Rename from eww-previous-url.
11835 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11838 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11840 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11841 Distinguish ternary operator tokens from slash symbol and slash
11844 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11846 Convert symbol prettification into minor mode and global minor mode.
11848 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
11849 `prog-prettify-symbols', and make a local defvar instead of defcustom.
11850 (prettify-symbols--keywords): Rename from
11851 `prog-prettify-symbols-alist' and make a local defvar.
11852 (prettify-symbols--compose-symbol): Rename from
11853 `prog--prettify-font-lock-compose-symbol'.
11854 (prettify-symbols--make-keywords): Rename from
11855 `prog-prettify-font-lock-symbols-keywords' and simplify.
11856 (prog-prettify-install): Remove.
11857 (prettify-symbols-mode): New minor mode, based on
11858 `prog-prettify-install'.
11859 (turn-on-prettify-symbols-mode): New function.
11860 (global-prettify-symbols-mode): New globalized minor mode.
11862 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11863 * progmodes/cfengine.el (cfengine3-mode):
11864 * progmodes/perl-mode.el (perl-mode): Don't call
11865 `prog-prettify-install'; set `prettify-symbols-alist' instead.
11867 2013-06-18 Juri Linkov <juri@jurta.org>
11869 * files-x.el (modify-file-local-variable-message): New function.
11870 (modify-file-local-variable)
11871 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
11872 and call `modify-file-local-variable-message' when it's non-nil.
11873 (add-file-local-variable, delete-file-local-variable)
11874 (add-file-local-variable-prop-line)
11875 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11876 and use it. (Bug#9820)
11878 2013-06-18 Juri Linkov <juri@jurta.org>
11880 * emulation/vi.el (vi-shell-op):
11881 * emulation/vip.el (vip-execute-com, ex-command):
11882 * emulation/viper-cmd.el (viper-exec-bang):
11883 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11884 the call of `shell-command-on-region'. (Bug#14637)
11886 * simple.el (shell-command-on-region): Doc fix.
11888 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11890 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11893 2013-06-18 Glenn Morris <rgm@gnu.org>
11895 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11897 * newcomment.el (comment-search-forward, comment-search-backward):
11898 Doc fix. (Bug#14376)
11900 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11902 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11903 (buffer-face-mode-invoke): Doc fix.
11905 2013-06-18 Matthias Meulien <orontee@gmail.com>
11907 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
11908 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
11910 2013-06-18 Glenn Morris <rgm@gnu.org>
11912 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11913 Replace obsolete function generic-make-keywords with its expansion.
11915 * progmodes/python.el (ffap-alist): Declare.
11917 * textmodes/reftex.el (bibtex-mode-map): Declare.
11919 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11921 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11922 (package-unpack, package-unpack-single): Return the pkg-dir.
11923 (package-download-transaction): Use it to update package-alist.
11925 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11927 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11930 2013-06-17 Juri Linkov <juri@jurta.org>
11932 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
11934 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11936 * emacs-lisp/package.el (package-load-descriptor):
11937 Remove `with-syntax-table' call, `read' doesn't need it.
11938 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11940 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11942 * startup.el (command-line): Expand package name returned by
11943 `package--description-file' (bug#14639).
11945 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11947 * emacs-lisp/package.el (package-load-descriptor): Do not call
11948 `emacs-lisp-mode', just use its syntax table.
11950 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11952 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11953 `font-lock-extra-managed-props' if any prettifying keyword is added.
11954 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11955 (prog-mode): Use `setq-local'.
11957 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11959 * international/characters.el (standard-case-table): Set syntax of ?»
11960 and ?« to punctuation.
11962 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
11964 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11965 Save relevant match data before calling `syntax-ppss' (bug#14595).
11967 2013-06-15 Juri Linkov <juri@jurta.org>
11969 * files-x.el (modify-file-local-variable-prop-line): Add local
11970 variables to the end of the existing comment on the first line.
11971 Use `file-auto-mode-skip' to skip interpreter magic line,
11972 and also skip XML declaration.
11974 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11976 * startup.el (package--builtin-versions): New var.
11977 (package-subdirectory-regexp): Remove.
11978 (package--description-file): Hard code its value instead.
11980 * emacs-lisp/package.el: Don't activate packages older than builtin.
11981 (package-obsolete-list): Rename from package-obsolete-alist, and make
11982 it into a simple list of package-desc.
11983 (package-strip-version): Remove.
11984 (package-built-in-p): Use package--builtin-versions.
11985 (package-mark-obsolete): Simplify.
11986 (package-process-define-package): Mark it obsolete if older than the
11988 (package-handle-response): Use line-end-position.
11989 (package-read-archive-contents, package--download-one-archive):
11991 (package--add-to-archive-contents): Skip if older than the builtin or
11993 (package-menu-describe-package): Fix last change.
11994 (package-list-unversioned): New var.
11995 (package-menu--generate): Use it.
11997 * emacs-lisp/autoload.el: Manage package--builtin-versions.
11998 (autoload--insert-text, autoload--insert-cookie-text): New functions.
11999 (autoload-builtin-package-versions): New variable.
12000 (autoload-generate-file-autoloads): Use them.
12001 Remove the list of autoloaded functions/macros from the
12002 (autoload...) comments.
12004 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12006 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12008 * simple.el (line-move-partial): Don't jump to the next screen
12009 line as soon as it becomes visible. Instead, continue enlarging
12010 the vscroll until the portion of a tall screen line that's left on
12011 display is about the height of the frame's default font.
12014 2013-06-15 Glenn Morris <rgm@gnu.org>
12016 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12017 compilation-error-regexp-alist void, or local while let-bound.
12019 * progmodes/make-mode.el (makefile-mode-syntax-table):
12020 Treat "=" as punctuation. (Bug#14614)
12022 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12024 * help-fns.el (describe-variable):
12025 Add extra line for permanent-local variables.
12027 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12029 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12030 Add export, import, library. (Bug#9164)
12031 (library): Set indent function.
12033 2013-06-14 Glenn Morris <rgm@gnu.org>
12035 * term/xterm.el (xterm--query):
12036 Stop after first matching handler. (Bug#14615)
12038 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12040 Add support for dired in saveplace.
12041 * dired.el (dired-initial-position-hook): New variable.
12042 (dired-initial-position): Call hook to place cursor position.
12043 * saveplace.el (save-place-to-alist): Add dired position.
12044 (save-place-dired-hook): New function.
12046 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12048 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12049 through a symbol rather than letrec.
12051 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12052 (package-desc): Add `dir' field.
12053 (package-desc-full-name): New function.
12054 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12055 (package-maybe-load-descriptor): Remove.
12056 (package-load-all-descriptors): Just call package-load-descriptor.
12057 (package--disabled-p): New function.
12058 (package-desc-vers, package-desc-doc): Remove aliases.
12059 (package--dir): Remove function.
12060 (package-activate): Check if a package is disabled.
12061 (package-process-define-package): New function, extracted from
12063 (define-package): Turn into a place holder.
12064 (package-unpack-single, package-tar-file-info):
12065 Use package--description-file.
12066 (package-compute-transaction): Use package--disabled-p.
12067 (package-download-transaction): Don't call
12068 package-maybe-load-descriptor since they're all loaded anyway.
12069 (package-install): Change argument to be a pkg-desc.
12070 (package-delete): Use a single pkg-desc argument.
12071 (describe-package-1): Use package-desc-dir instead of package--dir.
12072 Use package-desc property instead of package-symbol.
12073 (package-install-button-action): Adjust accordingly.
12074 (package--push): Rewrite.
12075 (package-menu--print-info): Adjust accordingly. Change the ID format
12077 (package-menu-describe-package, package-menu-get-status)
12078 (package-menu--find-upgrades, package-menu-mark-upgrades)
12079 (package-menu-execute, package-menu--name-predicate):
12080 Adjust accordingly.
12081 * startup.el (package--description-file): New function.
12082 (command-line): Use it.
12083 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12084 Use package-desc-version.
12086 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12087 (byte-compile-preprocess): Use it.
12088 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12089 can't quite recognize.
12090 (byte-compile-add-to-list): Remove.
12091 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12092 (cconv-closure-convert): Add assertion.
12094 * emacs-lisp/map-ynp.el: Use lexical-binding.
12095 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12096 Factor out some repeated code.
12098 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12100 * subr.el (with-eval-after-load): New macro.
12101 (eval-after-load): Allow form to be a function.
12102 take advantage of lexical-binding.
12103 (do-after-load-evaluation): Use dolist and adjust to new format.
12104 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12106 2013-06-13 Juri Linkov <juri@jurta.org>
12108 * replace.el (perform-replace): Display "symbol " and other search
12109 modes from `isearch-message-prefix' in the *Help* buffer.
12111 * isearch.el (isearch-query-replace): Add " symbol" and other
12112 possible search modes from `isearch-message-prefix' to the prompt.
12113 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12114 when reading a regexp to collect.
12116 2013-06-13 Juri Linkov <juri@jurta.org>
12118 * isearch.el (word-search-regexp): Match whitespace if the search
12119 string begins or ends in whitespace. The LAX arg is applied to
12120 both ends of the search string. Use `regexp-quote' and explicit
12121 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12122 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12123 boundaries are replaced with symbol boundaries, and characters
12124 between symbols match non-word non-symbol syntax. (Bug#14602)
12126 2013-06-13 Juri Linkov <juri@jurta.org>
12128 * isearch.el (isearch-del-char): Don't exceed the length of
12129 `isearch-string' by the prefix arg. (Bug#14563)
12131 2013-06-13 Juri Linkov <juri@jurta.org>
12133 * isearch.el (isearch-yank-word, isearch-yank-line)
12134 (isearch-char-by-name, isearch-quote-char)
12135 (isearch-printing-char, isearch-process-search-char):
12136 Add optional count prefix arg. (Bug#14563)
12138 * international/isearch-x.el
12139 (isearch-process-search-multibyte-characters):
12140 Add optional count prefix arg.
12142 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12144 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12145 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12148 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12150 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12152 2013-06-13 Glenn Morris <rgm@gnu.org>
12154 * startup.el (tty-handle-args):
12155 Don't just discard "--" and anything after. (Bug#14608)
12157 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12159 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12161 Implement changes in Secret Service API. Make it backward compatible.
12162 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12163 (secrets-create-item): Use it. Prefix properties with interface.
12165 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12167 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12168 (term-emulate-terminal): Respect term-suppress-hard-newline.
12170 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12172 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12173 Only remove a `thumb-file' overlay. (Bug#14548)
12175 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12177 * mail/reporter.el (reporter-submit-bug-report):
12178 Handle missing package-name. (Bug#14600)
12180 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12182 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12183 (reftex-citation-prompt, reftex-default-bibliography)
12184 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12185 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12186 (reftex-bib-sort-author, reftex-bib-sort-year)
12187 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12188 (reftex-extract-bib-entries-from-thebibliography)
12189 (reftex-get-bibkey-default, reftex-get-bib-names)
12190 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12191 (reftex-format-bib-entry, reftex-parse-bibitem)
12192 (reftex-format-bibitem, reftex-do-citation)
12193 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12194 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12195 (reftex-insert-bib-matches, reftex-format-citation)
12196 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12197 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12198 existing comments into docstrings.
12200 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12202 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12204 2013-06-12 Andreas Schwab <schwab@suse.de>
12206 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12207 for auto-save files.
12209 2013-06-12 Glenn Morris <rgm@gnu.org>
12211 * ido.el (ido-delete-ignored-files): Remove.
12212 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12213 Go back to calling ido-ignore-item-p directly.
12215 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12217 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12219 * ido.el (ido-delete-ignored-files): New function,
12220 split from ido-make-file-list-1.
12221 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12222 (ido-make-file-list-1): Use ido-delete-ignored-files.
12224 2013-06-12 Leo Liu <sdl.web@gmail.com>
12226 * progmodes/octave.el (inferior-octave-startup)
12227 (inferior-octave-completion-table)
12228 (inferior-octave-track-window-width-change)
12229 (octave-eldoc-function-signatures, octave-help)
12230 (octave-find-definition): Use single quoted strings.
12231 (inferior-octave-startup-args): Change default value.
12232 (inferior-octave-startup): Do not hard code "-i" and
12233 "--no-line-editing".
12234 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12235 (inferior-octave-directory-tracker): Use it.
12236 (octave-goto-function-definition): Robustify.
12237 (octave-help): Support highlighting operators in 'See also'.
12238 (octave-find-definition): Find subfunctions only in Octave mode.
12240 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12242 * help-fns.el (help-fns--compiler-macro): If the handler function is
12243 named, then put a link to it.
12244 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12245 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12246 (cl-typep): Use it.
12247 (cl-eval-when): Simplify debug spec.
12248 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12249 compiler-macro function instead of setting `compiler-macro-file'.
12251 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12253 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12254 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12256 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12257 Daniel Hackney <dan@haxney.org>
12259 First part of Daniel Hackney's patch to package.el.
12260 * emacs-lisp/package.el: Use defstruct.
12261 (package-desc): New, main struct.
12262 (package--bi-desc, package--ac-desc): New structs, used to describe the
12263 format in external files.
12264 (package-desc-vers): Replace with package-desc-version accessor.
12265 (package-desc-doc): Replace with package-desc-summary accessor.
12266 (package-activate-1): Remove `package' arg since the pkg-vec now
12268 (define-package): Use package-desc-from-define.
12269 (package-unpack-single): Change file-name arg to be a symbol.
12270 (package--add-to-archive-contents): Use package-desc-create and new
12271 accessor functions to package--ac-desc.
12272 (package-buffer-info, package-tar-file-info): Return a package-desc.
12273 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12274 arg to be a package-desc.
12275 (package-install-file): Adjust accordingly. Use \' to match EOS.
12276 (package--from-builtin): New function.
12277 (describe-package-1, package-menu--generate): Use it.
12278 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12279 (package-generate-autoloads): Idem and return the name of the file.
12280 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12281 Change pkg-info arg to be a package-desc.
12282 Use package-make-ac-desc.
12283 (package-upload-file): Use \' to match EOS.
12284 * finder.el (finder-compile-keywords): Use package-make-builtin.
12286 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12288 * vc/vc.el (vc-deduce-fileset): Change error message.
12289 (vc-read-backend): New function.
12290 (vc-next-action): Use it.
12292 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12294 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12295 (prolog-font-lock-keywords): Use regexp-opt instead.
12296 Don't manually highlight strings.
12297 (prolog-mode-variables): Simplify comment-start-skip.
12298 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12300 * emacs-lisp/generic.el (generic--normalise-comments)
12301 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12302 (generic-mode-set-comments): Use them.
12303 (generic-bracket-support): Use setq-local.
12304 (generic-make-keywords-list): Declare obsolete.
12306 2013-06-11 Glenn Morris <rgm@gnu.org>
12308 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12309 Prettify after setting font-lock-defaults. (Bug#14574)
12311 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12313 * replace.el (query-replace, occur-read-regexp-defaults-function)
12315 * subr.el (declare-function, number-sequence, local-set-key)
12316 (substitute-key-definition, locate-user-emacs-file)
12317 (with-silent-modifications, split-string, eval-after-load):
12318 Fix typos, remove unneeded backslashes and reflow some docstrings.
12320 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12322 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12323 default for Elisp files.
12325 2013-06-11 Glenn Morris <rgm@gnu.org>
12327 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12328 although define-derived-mode was doing this anyway. (Bug#14583)
12330 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12332 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12333 Fix make-variable-buffer-local call to refer to the correct variable.
12335 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12337 * eshell/em-term.el (eshell-visual-commands)
12338 (eshell-visual-subcommands, eshell-visual-options):
12339 Add summary line to docstrings. Add cross-references.
12341 2013-06-10 Glenn Morris <rgm@gnu.org>
12343 * epa.el (epa-read-file-name): New function. (Bug#14510)
12344 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12346 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12348 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12349 output redirection to be ignored with visual commands.
12351 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12353 * eshell/em-term.el (eshell-visual-command-p): New function.
12354 (eshell-term-initialize): Move long lambda to separate function
12355 eshell-visual-command-p.
12356 * eshell/em-dirs.el (eshell-dirs-initialize):
12357 * eshell/em-script.el (eshell-script-initialize):
12358 Add missing #' to lambda.
12360 2013-06-08 Leo Liu <sdl.web@gmail.com>
12362 * progmodes/octave.el (octave-add-log-current-defun): New function.
12363 (octave-mode): Set add-log-current-defun-function.
12364 (octave-goto-function-definition): Do not move point if not found.
12365 (octave-find-definition): Enhance to try subfunctions first.
12367 2013-06-08 Glenn Morris <rgm@gnu.org>
12369 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12370 (byte-compile-backward-char, byte-compile-backward-word):
12371 Improve previous change, to handle non-explicit nil.
12373 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12375 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12376 (smie--opener/closer-at-point): New function.
12377 (smie--matching-block-data): Use it. Don't match from right after an
12378 opener or right before a closer. Obey smie-blink-matching-inners.
12379 Don't signal a mismatch for repeated inners like "switch..case..case".
12381 2013-06-07 Leo Liu <sdl.web@gmail.com>
12383 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12385 (octave-function-header-regexp): Fix. (Bug#14570)
12386 (octave-help-mode-finish-hook, octave-help-mode-finish):
12387 Remove. Just use temp-buffer-show-hook.
12389 * newcomment.el (comment-search-backward): Revert last change.
12392 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12394 2013-06-07 Eli Zaretskii <eliz@gnu.org>
12396 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12397 through xargs, to avoid failure due to MS-Windows limitations on
12398 command-line length.
12400 2013-06-06 Glenn Morris <rgm@gnu.org>
12402 * font-lock.el (lisp-font-lock-keywords-2):
12403 Treat user-error like error.
12405 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12406 (byte-compile-backward-char, byte-compile-backward-word):
12407 Handle explicit nil arguments. (Bug#14565)
12409 2013-06-05 Alan Mackenzie <acm@muc.de>
12411 * isearch.el (isearch-allow-prefix): New user option.
12412 (isearch-other-meta-char): Don't exit isearch when a prefix
12413 argument is typed whilst `isearch-allow-prefix' is non-nil.
12416 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12418 * autorevert.el (auto-revert-notify-handler): Use memq.
12419 Hide assertion failure.
12421 * skeleton.el: Use cl-lib.
12422 (skeleton-further-elements): Use defvar-local.
12423 (skeleton-insert): Use cl-progv.
12425 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12427 * progmodes/prog-mode.el (prog-prettify-symbols)
12428 (prog-prettify-install): Update docstrings.
12430 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12432 * simple.el: Move all the prog-mode code to prog-mode.el.
12433 * progmodes/prog-mode.el: New file.
12434 * loadup.el: Add prog-mode.el.
12436 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12438 * simple.el (prog-prettify-symbols): Add version.
12439 (prog-prettify-install): Add convenience function to prettify symbols.
12441 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12442 (perl--augmented-font-lock-keywords-1)
12443 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12444 variables and use it.
12446 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12447 (cfengine3-mode): Remove unneeded variable and use it.
12449 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12450 (lisp--augmented-font-lock-keywords-1)
12451 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12452 Remove unneeded variables and use it.
12454 2013-06-05 João Távora <joaotavora@gmail.com>
12456 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
12457 to point when opening the connection. (Bug#14380)
12459 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12461 * subr.el (load-history-regexp, load-history-filename-element)
12462 (eval-after-load, after-load-functions, do-after-load-evaluation)
12463 (eval-next-after-load, display-delayed-warnings)
12464 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12465 definition of save-match-data.
12466 (overriding-local-map): Remove accidental obsolescence declaration.
12468 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12470 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12472 Generalize symbol prettify support to prog-mode and implement it
12473 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12474 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12475 (prog--prettify-font-lock-compose-symbol)
12476 (prog-prettify-font-lock-symbols-keywords): New variables and
12477 functions to support symbol prettification.
12478 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12479 (lisp--augmented-font-lock-keywords-1)
12480 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12481 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12482 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12483 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12484 Implement prettify of -> => :: strings.
12485 * progmodes/perl-mode.el (perl-prettify-symbols)
12486 (perl--font-lock-compose-symbol)
12487 (perl--font-lock-symbols-keywords): Move to prog-mode.
12488 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12489 (perl-font-lock-keywords-1)
12490 (perl-font-lock-keywords-2): Remove explicit prettify support.
12491 (perl--augmented-font-lock-keywords)
12492 (perl--augmented-font-lock-keywords-1)
12493 (perl--augmented-font-lock-keywords-2, perl-mode):
12494 Implement prettify support.
12496 2013-06-05 Leo Liu <sdl.web@gmail.com>
12498 Re-implement SMIE matching block highlight using
12499 show-paren-data-function. (Bug#14395)
12500 * emacs-lisp/smie.el (smie-matching-block-highlight)
12501 (smie--highlight-matching-block-overlay)
12502 (smie--highlight-matching-block-lastpos)
12503 (smie-highlight-matching-block)
12504 (smie-highlight-matching-block-mode): Remove.
12505 (smie--matching-block-data-cache): New variable.
12506 (smie--matching-block-data): New function.
12507 (smie-setup): Use smie--matching-block-data for
12508 show-paren-data-function.
12510 * progmodes/octave.el (octave-mode-menu): Fix.
12511 (octave-find-definition): Skip garbage lines.
12513 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12515 Fix compilation error with simultaneous dynamic+lexical scoping.
12516 Add warning when a defvar appears after the first let-binding.
12517 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12518 (byte-compile-close-variables): Initialize it.
12519 (byte-compile--declare-var): New function.
12520 (byte-compile-file-form-defvar)
12521 (byte-compile-file-form-define-abbrev-table)
12522 (byte-compile-file-form-custom-declare-variable): Use it.
12523 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12524 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12525 (byte-compile-bind): Handle dynamic bindings that shadow
12527 (byte-compile-unbind): Make arg non-optional.
12528 (byte-compile-let): Simplify.
12529 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12530 (cconv--analyse-function, cconv-analyse-form): Populate it.
12531 Protect byte-compile-bound-variables to limit the scope of defvars.
12532 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12533 Remove unneeded rule for `declare'.
12535 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12536 so as to avoid depending on cl-adjoin at run-time.
12537 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12539 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12540 (macroexp--warn-and-return): Use it.
12542 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12544 * subr.el: Convert to lexical binding.
12545 (overriding-local-map): Make obsolete.
12546 (add-to-list): Doc fix. Add compiler macro.
12547 (read-key): Swap values of local maps.
12549 2013-06-05 Leo Liu <sdl.web@gmail.com>
12551 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12553 2013-06-04 Leo Liu <sdl.web@gmail.com>
12555 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12556 (compilation-auto-jump): Suppress the "Mark set" message to give
12557 way to exit message.
12559 2013-06-04 Alan Mackenzie <acm@muc.de>
12561 Remove faulty optimisation from indentation calculation.
12562 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12563 search limit based on 2000 characters back from indent-point.
12565 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12567 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12569 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12571 * emacs-lisp/lisp.el: Use lexical-binding.
12572 (lisp--local-variables-1, lisp--local-variables): New functions.
12573 (lisp--local-variables-completion-table): New var.
12574 (lisp-completion-at-point): Use it complete let-bound vars.
12576 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12577 eagerly (bug#14422).
12579 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
12581 * autorevert.el (auto-revert-notify-enabled)
12582 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12583 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12584 (auto-revert-notify-handler): Handle also gfilenotify.
12586 * subr.el (file-notify-handle-event): New defun. Replacing ...
12587 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
12590 2013-06-03 Juri Linkov <juri@jurta.org>
12592 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12593 `M-s h .'. (Bug#14427)
12595 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12596 command `hi-lock-face-symbol-at-point'.
12597 (hi-lock-face-symbol-at-point): New command.
12598 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12599 (hi-lock-menu): Add `highlight-symbol-at-point'.
12600 (hi-lock-mode): Doc fix.
12602 * isearch.el (isearch-forward-symbol-at-point): New command.
12603 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12604 (isearch-highlight-regexp): Add a regexp which matches
12605 words/symbols for word/symbol mode.
12607 * subr.el (find-tag-default-bounds): New function with the body
12608 mostly moved from `find-tag-default'.
12609 (find-tag-default): Move most code to `find-tag-default-bounds',
12610 call it and apply `buffer-substring-no-properties' afterwards.
12612 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12614 * eshell/em-term.el (eshell-term-initialize):
12615 Use `cl-intersection' rather than `intersection'.
12617 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12619 * vc/log-view.el: Doc fix.
12620 (log-view-mode-map): Copy keymap from `special-mode-map'.
12622 2013-06-02 Eric Ludlam <zappo@gnu.org>
12624 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12625 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12626 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12627 (eieio-unbound, eieio-default-superclass)
12628 (eieio--define-field-accessors, method-static, method-before)
12629 (method-primary, method-after, method-num-lists)
12630 (method-generic-before, method-generic-primary)
12631 (method-generic-after, method-num-slots)
12632 (eieio-specialized-key-to-generic-key)
12633 (eieio--check-type, class-v, class-p)
12634 (eieio-class-name, define-obsolete-function-alias)
12635 (eieio-class-parents-fast, eieio-class-children-fast)
12636 (same-class-fast-p, class-constructor, generic-p)
12637 (generic-primary-only-p, generic-primary-only-one-p)
12638 (class-option-assoc, class-option, eieio-object-p)
12639 (class-abstract-p, class-method-invocation-order)
12640 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12641 (eieio-class-un-autoload, eieio-defclass)
12642 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12643 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12644 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12645 (eieio-defgeneric-reset-generic-form)
12646 (eieio-defgeneric-form-primary-only)
12647 (eieio-defgeneric-reset-generic-form-primary-only)
12648 (eieio-defgeneric-form-primary-only-one)
12649 (eieio-defgeneric-reset-generic-form-primary-only-one)
12650 (eieio-unbind-method-implementations)
12651 (eieio--defmethod, eieio--typep)
12652 (eieio-perform-slot-validation, eieio-validate-slot-value)
12653 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12654 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12655 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12656 (eieio-slot-name-index, eieio-class-slot-name-index)
12657 (eieio-set-defaults, eieio-initarg-to-attribute)
12658 (eieio-attribute-to-initarg, eieio-c3-candidate)
12659 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12660 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12661 (eieio-class-precedence-list, eieio-generic-call-methodname)
12662 (eieio-generic-call-arglst, eieio-generic-call-key)
12663 (eieio-generic-call-next-method-list)
12664 (eieio-pre-method-execution-functions, eieio-generic-call)
12665 (eieio-generic-call-primary-only, eieiomt-method-list)
12666 (eieiomt-optimizing-obarray, eieiomt-install)
12667 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12668 (eieio-generic-form, eieio-defmethod, make-obsolete)
12669 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
12670 (defclass): Remove `eval-and-compile' from macro.
12671 (call-next-method, shared-initialize): Instead of using
12672 `scoped-class' variable, use new eieio--scoped-class, and
12673 eieio--with-scoped-class.
12674 (initialize-instance): Rename local variable 'scoped-class' to
12675 'this-class' to remove ambiguitity from old global.
12677 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12679 (eieio--scoped-class-stack): New variable.
12680 (eieio--scoped-class): New fcn.
12681 (eieio--with-scoped-class): New scoping macro.
12682 (eieio-defclass): Use pushnew instead of add-to-list.
12683 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12684 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12685 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12686 `scoped-class' variable, use new eieio--scoped-class, and
12687 eieio--with-scoped-class.
12689 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12691 2013-06-02 Tassilo Horn <tsdh@gnu.org>
12693 * eshell/esh-ext.el (eshell-external-command): Pass args to
12694 `eshell-find-interpreter'.
12695 (eshell-find-interpreter): Add new second parameter ARGS.
12697 * eshell/em-script.el (eshell-script-initialize): Add second arg
12698 to the function added as MATCH to `eshell-interpreter-alist'.
12700 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
12701 the function added as MATCH to `eshell-interpreter-alist'.
12703 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12704 (eshell-visual-options): New defcustom.
12705 (eshell-escape-control-x): Adapt docstring.
12706 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12707 `eshell-visual-options' in addition to `eshell-visual-commands'.
12708 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12710 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
12712 * progmodes/python.el (python-indent-block-enders): Add break,
12713 continue and raise keywords.
12715 2013-06-01 Glenn Morris <rgm@gnu.org>
12717 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12719 Plain (f)boundp silences compilation warnings since Emacs 22.1.
12720 * progmodes/cc-cmds.el (delete-forward-p):
12721 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12722 * progmodes/cc-engine.el (buffer-syntactic-context):
12723 * progmodes/cc-fonts.el (face-property-instance):
12724 * progmodes/cc-mode.el (set-keymap-parents):
12725 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12726 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12727 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
12728 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12729 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
12731 * progmodes/cc-vars.el (other): Emacs has this widget since
12732 at least 21.1, so don't (re)define it.
12734 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12735 Replace the obsolete alias pcomplete-arg-quote-list.
12737 2013-06-01 Leo Liu <sdl.web@gmail.com>
12739 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12740 punctuation syntax.
12741 (inferior-octave-minimal-columns)
12742 (inferior-octave-last-column-width): New variables.
12743 (inferior-octave-track-window-width-change): New function.
12744 (inferior-octave-mode): Adjust column width so that Octave output,
12745 for example from 'ls', can fit into the window nicely.
12747 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12749 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12750 Highlight expansions inside regexp literals.
12752 2013-05-31 Glenn Morris <rgm@gnu.org>
12754 * obsolete/sym-comp.el (symbol-complete):
12755 Replace obsolete completion-annotate-function.
12757 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12759 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12761 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12762 New function, checks if point is inside a literal that allows
12763 expression expansion.
12764 (ruby-syntax-propertize-expansion): Use it.
12765 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12768 2013-05-30 Juri Linkov <juri@jurta.org>
12770 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12772 (isearch-invisible): New variable.
12773 (isearch-forward): Doc fix.
12774 (isearch-mode): Set `isearch-invisible'
12775 to the value of `search-invisible'.
12776 (isearch-toggle-case-fold): Doc fix.
12777 (isearch-toggle-invisible): New command.
12778 (isearch-query-replace): Let-bind `search-invisible'
12779 to the value of `isearch-invisible'.
12780 (isearch-search): Use `isearch-invisible' instead of
12781 `search-invisible'. Let-bind `search-invisible'
12782 to the value of `isearch-invisible'. (Bug#11378)
12784 2013-05-30 Juri Linkov <juri@jurta.org>
12786 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12787 call when `query-flag' is nil and `search-invisible' is non-nil.
12790 2013-05-30 Glenn Morris <rgm@gnu.org>
12792 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12794 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12795 (cc-require): Suppress spurious "noruntime" warnings.
12796 (cc-require-when-compile): Use fboundp, for sake of compiler.
12798 * progmodes/cc-mode.el: Move load of cc-vars before that of
12799 cc-langs (which in turn loads cc-vars), to quieten compiler.
12801 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12803 * paren.el: Simplify the code.
12804 (show-paren-mode): Always start the timer.
12805 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12806 (show-paren--overlay, show-paren--overlay-1): Rename from
12807 show-paren-overlay and show-paren-overlay-1, and initialize to an
12808 overlay rather than to nil.
12809 (show-paren-function): Misc cleanup and simplifications.
12811 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12813 * paren.el (show-paren-data-function): New hook.
12814 (show-paren--default): New function, extracted from show-paren-function.
12815 (show-paren-function): Use show-paren-data-function.
12817 2013-05-30 Glenn Morris <rgm@gnu.org>
12819 * ielm.el (ielm-map, ielm-complete-symbol):
12820 Use completion-at-point rather than obsolete functions.
12821 (inferior-emacs-lisp-mode): Doc fix.
12822 Set completion-at-point-functions, rather than
12823 comint-dynamic-complete-functions.
12825 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12826 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12827 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12829 * image.el (image-animated-p): Tweak definition.
12831 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12832 (rlogin-process-connection-type): Tweak default. Add set-after.
12833 (rlogin-host): Doc fix.
12834 (rlogin): Tweak prompt.
12835 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12837 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12838 * progmodes/tcl.el (inferior-tcl-mode-map):
12839 Use completion-at-point rather than obsolete alias.
12841 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12843 * minibuffer.el (read-file-name-completion-ignore-case):
12844 Move before completion--in-region, for eager macro expansion.
12846 2013-05-29 Juri Linkov <juri@jurta.org>
12848 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
12849 for total count of matching lines. Add `global-matches' for total
12850 count of matches. Rename `matches' to `lines' for count of
12851 matching lines. Add `matches' for count of matches.
12852 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
12853 to `prev-line' for line number of prev match endpt.
12854 Increment `matches' for every match. Print the number of
12855 matching lines in the header.
12856 (occur-context-lines): Rename `lines' to `curr-line'.
12857 Rename `prev-lines' to `prev-line'. (Bug#14017)
12859 2013-05-29 Juri Linkov <juri@jurta.org>
12861 * replace.el (perform-replace): Add `skip-read-only-count',
12862 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
12863 Increment them for corresponding conditions and report the number
12864 of skipped occurrences in the final message. (Bug#11746)
12865 (query-replace, query-replace-regexp, query-replace-regexp-eval)
12866 (replace-string, replace-regexp): Doc fix.
12868 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12870 * emacs-lisp/trace.el (trace--read-args): Provide a default.
12872 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
12873 prog-mode-map (bug#14504).
12875 2013-05-29 Leo Liu <sdl.web@gmail.com>
12877 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12878 (octave-help): Small simplification.
12880 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12881 off the highlight first.
12883 2013-05-29 Glenn Morris <rgm@gnu.org>
12885 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12886 Handle idlwave-last-system-routine-info-cons-cell being nil.
12888 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12889 (idlwave-write-paths): Simplify via with-temp-buffer.
12891 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12892 * emulation/cua-rect.el: Also load cua-base at run time.
12894 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12895 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12896 (cperl-imenu-on-info): Require imenu.
12898 2013-05-28 Alan Mackenzie <acm@muc.de>
12900 Handle "capitalised keywords" correctly.
12901 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
12903 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
12905 * eshell/em-unix.el: Add -r option to cp.
12907 2013-05-28 Glenn Morris <rgm@gnu.org>
12909 * vc/vc-arch.el (vc-exec-after): Declare.
12910 (vc-switches): Autoload.
12911 * vc/vc-bzr.el: No need to require vc when compiling.
12912 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12913 (vc-resynch-buffer, vc-dir-refresh): Declare.
12914 (vc-setup-buffer, vc-switches): Autoload.
12915 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12916 (vc-resynch-buffer): Declare.
12917 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
12918 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
12919 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12920 (grep-read-regexp, grep-read-files, grep-expand-template)
12921 (vc-dir-refresh): Declare.
12922 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12923 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12924 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
12925 * vc/vc-mtn.el (vc-exec-after): Declare.
12926 (vc-switches): Autoload.
12927 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12928 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12929 (vc-file-tree-walk): Declare.
12930 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12931 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
12932 (vc-tag-precondition, vc-rename-master): Autoload.
12933 * vc/vc-svn.el (vc-exec-after): Declare.
12934 (vc-switches, vc-setup-buffer): Autoload.
12935 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12937 (vc-resynch-buffer): Declare.
12939 * obsolete/fast-lock.el (byte-compile-warnings):
12940 Don't warn about obsolete features in this obsolete file.
12942 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12943 Move definition before use.
12945 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12946 (dun-unix-verbs): Remove dun-zippy.
12947 (dun-zippy): Remove function.
12949 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12951 2013-05-27 Juri Linkov <juri@jurta.org>
12953 * replace.el (replace-search): New function with code moved out
12954 from `perform-replace'.
12955 (replace-highlight, replace-dehighlight): Move function definitions
12956 up closer to `replace-search'. (Bug#11746)
12958 2013-05-27 Juri Linkov <juri@jurta.org>
12960 * replace.el (perform-replace): Ignore invisible matches.
12961 In addition to checking `query-replace-skip-read-only', also
12962 filter out matches by calling `run-hook-with-args-until-failure'
12963 on `isearch-filter-predicates', and also check `search-invisible'
12964 for t or call `isearch-range-invisible'.
12965 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12967 2013-05-27 Juri Linkov <juri@jurta.org>
12969 * isearch.el (isearch-filter-predicates): Rename from
12970 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12971 (isearch-message-prefix): Display text from the property
12972 `isearch-message-prefix' of the currently active filters.
12973 (isearch-search): Don't compare `isearch-filter-predicate' with
12974 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12975 on `isearch-filter-predicates'. Also check `search-invisible' for t
12976 or call `isearch-range-invisible'.
12977 (isearch-filter-visible): Make obsolete.
12978 (isearch-lazy-highlight-search):
12979 Call `run-hook-with-args-until-failure' on
12980 `isearch-filter-predicates' and use `isearch-range-invisible'.
12982 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12983 `isearch-filter-predicates' instead of `funcall'ing
12984 `isearch-filter-predicate'.
12985 (Info-mode): Set `Info-isearch-filter' to
12986 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12988 * dired-aux.el (dired-isearch-filter-predicate-orig):
12990 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12991 (dired-isearch-filenames-end): Add and remove
12992 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12993 instead of changing the value of `isearch-filter-predicate'.
12994 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12995 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12996 Put property `isearch-message-prefix' to "filename " on
12997 `dired-isearch-filter-filenames'.
12999 * wdired.el (wdired-change-to-wdired-mode):
13000 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13001 locally instead of changing `isearch-filter-predicate'.
13002 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13004 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13006 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13007 return the commit hash (Bug#14459). Also set the
13008 `vc-git-detached' property.
13009 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13010 (vc-git-mode-line-string): Use the same help-echo format whether
13011 in detached mode or not, because we know the actual revision now.
13012 When in detached mode, shorten the revision to 7 chars.
13014 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13016 * emacs-lisp/easy-mmode.el (define-minor-mode):
13017 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13018 mode hook and provide a docstring.
13020 2013-05-27 Alan Mackenzie <acm@muc.de>
13022 Remove spurious syntax-table text properties inserted by C-y.
13023 * progmodes/cc-mode.el (c-after-change): Also clear hard
13024 syntax-table property with value nil.
13026 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13028 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13029 when reading the events; the buffer layout shall not be changed.
13031 2013-05-27 Leo Liu <sdl.web@gmail.com>
13033 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13035 (inferior-octave-directory-tracker): Automatically re-sync
13037 (octave-help): Improve handling of 'See also'.
13039 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13041 * doc-view.el: Minor naming convention tweaks.
13042 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13044 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13045 even if there's no `display' property yet (bug#14435).
13047 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13049 * subr.el (unmsys--file-name): Rename from reveal-filename.
13051 * Makefile.in (custom-deps, finder-data, autoloads)
13052 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13053 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13054 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13056 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13058 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13059 error-completion on the first 2 args of condition-case (bug#14446).
13062 2013-05-25 Leo Liu <sdl.web@gmail.com>
13064 * comint.el (comint-previous-matching-input): Do not flood the
13065 *Messages* buffer with trivial messages.
13067 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13069 * progmodes/flymake.el (flymake-nop): Don't return a string.
13070 (flymake-set-at): Fix typo.
13072 * simple.el (read--expression): New function, extracted from
13073 eval-expression. Set completion-at-point-functions (bug#14465).
13074 (eval-expression, eval-minibuffer): Use it.
13076 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13078 * progmodes/flymake.el (flymake-save-buffer-in-file)
13079 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13080 (flymake-selected-frame, flymake-log, flymake-ins-after)
13081 (flymake-set-at, flymake-get-buildfile-from-cache)
13082 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13083 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13084 Refine the doc string.
13085 (flymake-get-file-name-mode-and-masks): Reformat.
13086 (flymake-get-real-file-name-function): Fix a minor bug.
13088 2013-05-24 Juri Linkov <juri@jurta.org>
13090 * progmodes/grep.el (grep-mode-font-lock-keywords):
13091 Support =linenumber= format used by git-grep for lines with
13092 function names. (Bug#13549)
13094 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13096 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13097 0 after a semi-colon; it works better for smie-auto-fill.
13098 (octave--indent-new-comment-line): New function.
13099 (octave-indent-new-comment-line): Use it (indirectly).
13100 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13101 modify comment-line-break-function.
13103 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13104 (smie-setup): Use add-function to set it.
13106 2013-05-24 Sam Steingold <sds@gnu.org>
13108 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13109 argument (before the `interactive' argument).
13111 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13113 * image-mode.el (image-mode-winprops): Add winprops to
13114 image-mode-winprops-alist before running
13115 image-mode-new-window-functions.
13116 * doc-view.el (doc-view-new-window-function): Don't delay
13117 doc-view-goto-page via timers (bug#14435).
13119 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13121 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13122 (doc-view-desktop-save-buffer): New function.
13123 (doc-view-restore-desktop-buffer): New function.
13124 (desktop-buffer-mode-handlers):
13125 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13127 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13128 `desktop-save-buffer' function.
13130 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13132 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13133 (tramp-gvfs-file-name-handler): Raise a user error when
13134 `tramp-gvfs-enabled' is nil.
13135 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13136 Do not raise a user error when loading package. (Bug#14447)
13138 * net/xesam.el: Move to obsolete/.
13140 2013-05-24 Glenn Morris <rgm@gnu.org>
13142 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13144 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13146 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13147 (Info-find-node, Man-getpage-in-background): Declare.
13149 * mail/unrmail.el (unrmail):
13150 Replace obsolete detect-coding-with-priority.
13152 * net/socks.el (socks-split-string): Use this rather than split-string.
13153 (socks-nslookup-host): Update for above change.
13154 (dynamic-choice, s5-dynamic-choice-match)
13155 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13156 Comment out unused code.
13158 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13159 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13160 (gud-tooltip-echo-area): Make obsolete.
13161 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13163 * progmodes/js.el (js--optimize-arglist): Declare.
13165 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13167 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13168 (ediff-window-C): Declare.
13170 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13171 Tweak requires to silence compiler.
13173 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13174 (he-search-string, he-tried-table, he-expand-list)
13175 (he-init-string, he-string-member, he-substitute-string)
13176 (he-reset-string): Declare.
13178 * obsolete/options.el (list-options): Use custom-variable-p,
13179 rather than obsolete alias.
13181 2013-05-23 Sam Steingold <sds@gnu.org>
13183 * simple.el (shell-command-on-region): Pass the `replace' argument
13184 down to `call-process-region' to comply with the doc as reported on
13185 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13187 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13189 * emacs-lisp/smie.el (smie-indent-forward-token)
13190 (smie-indent-backward-token): Handle string tokens (bug#14381).
13192 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13194 * ielm.el (ielm-menu): New menu.
13195 (inferior-emacs-lisp-mode): Set comment-start.
13197 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13199 * textmodes/reftex.el (reftex-ref-style-toggle):
13200 Fix deactivate action.
13202 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13203 Add cleveref macros.
13205 * textmodes/reftex-parse.el
13206 (reftex-locate-bibliography-files): Accept options for
13207 bibliography commands.
13208 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13209 Add addbibresource. Basic Biblatex support.
13211 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13213 * net/tramp-gvfs.el (top):
13214 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13215 when loading package. (Bug#14447)
13217 2013-05-23 Glenn Morris <rgm@gnu.org>
13219 * progmodes/js.el: No need to load comint when compiling.
13220 (ring-insert, comint-send-string, comint-send-input)
13221 (comint-last-input-end, ido-chop): Declare.
13223 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13224 * vc/ediff-mult.el: Adjust requires.
13225 (ediff-directories-internal, ediff-directory-revisions-internal)
13226 (ediff-patch-file-internal): Declare.
13227 * vc/ediff-ptch.el: Adjust requires.
13228 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13229 (ediff-find-file): Autoload.
13230 * vc/ediff-util.el: No need to load ediff when compiling.
13231 (ediff-regions-internal): Declare.
13232 * vc/ediff-wind.el: Adjust requires.
13233 (ediff-compute-toolbar-width): Define when compiling.
13234 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13235 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13236 (dired-get-filename, dired-get-marked-files)
13237 (ediff-last-dir-patch, ediff-patch-default-directory)
13238 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13239 (ediff-patch-buffer-internal): Declare.
13241 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13242 (ispell-process, ispell-buffer-local-words, lm-summary)
13243 (lm-section-start, lm-section-end): Declare.
13244 (checkdoc-ispell-init): Simplify.
13246 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13247 (he-string-member, he-reset-string, he-substitute-string): Declare.
13249 * eshell/em-ls.el: Adjust requires.
13250 (eshell-glob-regexp): Declare.
13251 * eshell/em-tramp.el: Adjust requires.
13252 (eshell-parse-command): Autoload.
13253 * eshell/em-xtra.el: Adjust requires.
13254 (eshell-parse-command): Autoload.
13255 * eshell/esh-ext.el: Adjust requires.
13256 (eshell-parse-command, eshell-close-handles): Autoload.
13257 * eshell/esh-io.el: Adjust requires.
13258 (eshell-output-filter): Autoload.
13259 * eshell/esh-util.el: No need to load tramp when compiling.
13260 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13262 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13263 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13264 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13265 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13266 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13267 * eshell/esh-opt.el, eshell/esh-proc.el:
13268 * eshell/esh-var.el: Adjust requires.
13269 * eshell/eshell.el: Do not require esh-util twice.
13270 (eshell-add-input-to-history): Declare.
13271 (eshell-command): Check history module is active before using it.
13273 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13275 2013-05-22 Leo Liu <sdl.web@gmail.com>
13277 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13279 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13281 * autorevert.el (auto-revert-notify-add-watch)
13282 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13283 it indicates changes in file modification time.
13285 2013-05-22 Glenn Morris <rgm@gnu.org>
13287 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13288 Always delete the autoloaded function from the noruntime and
13289 unresolved functions lists.
13291 * allout.el: No need to load epa, epg, overlay when compiling.
13292 (epg-context-set-passphrase-callback, epg-list-keys)
13293 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13294 (epg-key-user-id-list): Declare.
13296 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13297 (viper-set-parsing-style-toggling-macro)
13298 (viper-set-emacs-state-searchstyle-macros):
13299 Use called-interactively-p on Emacs.
13300 (viper-looking-back): Make it an obsolete alias. Update callers.
13301 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13302 Use looking-back rather than viper-looking-back.
13303 (viper-tmp-insert-at-eob, viper-enlarge-region)
13304 (viper-read-string-with-history, viper-register-to-point)
13305 (viper-append-to-register, viper-change-state-to-vi)
13306 (viper-backward-char-carefully, viper-forward-char-carefully)
13307 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13308 (viper-change-state-to-emacs): Declare.
13309 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13310 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13311 * emulation/viper-mous.el: Do not load viper-cmd.
13312 (viper-backward-char-carefully, viper-forward-char-carefully)
13313 (viper-forward-word, viper-adjust-window): Declare.
13315 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13317 * progmodes/idlw-help.el (idlwave-help-fontify):
13318 Use called-interactively-p.
13320 * term/w32console.el (w32-get-console-codepage)
13321 (w32-get-console-output-codepage): Declare.
13323 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13324 Remove unnecessary declarations.
13325 (dframe-message): Doc fix.
13327 * info.el (dframe-select-attached-frame, dframe-current-frame):
13330 * speedbar.el (speedbar-message): Make it an obsolete alias.
13331 Update all callers.
13332 (speedbar-with-attached-buffer)
13333 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13334 (speedbar-with-writable): Use backquote.
13335 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13336 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13337 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13338 rather than speedbar- aliases.
13339 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13340 (speedbar-make-specialized-keymap, speedbar-insert-button)
13341 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13342 (speedbar-do-function-pointer): Declare.
13343 (rmail-speedbar-button, rmail-speedbar-find-file)
13344 (rmail-speedbar-move-message):
13345 Use dframe-with-attached-buffer rather than speedbar- alias.
13346 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13347 (dframe-message, speedbar-make-specialized-keymap)
13348 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13349 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13350 (speedbar-insert-button, dframe-select-attached-frame)
13351 (dframe-maybee-jump-to-attached-frame)
13352 (speedbar-change-initial-expansion-list)
13353 (speedbar-previously-used-expansion-list-name): Declare.
13354 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13355 Use dframe-message, dframe-with-attached-buffer rather than
13357 (gud-sentinel): Silence compiler.
13358 * progmodes/vhdl-mode.el (speedbar-refresh)
13359 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13360 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13361 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13362 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13363 (speedbar-file-lists, speedbar-make-tag-line)
13364 (speedbar-line-directory, speedbar-goto-this-file)
13365 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13366 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13367 (speedbar-make-button, speedbar-reset-scanners)
13368 (speedbar-files-item-info, speedbar-line-text)
13369 (speedbar-find-file-in-frame, speedbar-set-timer)
13370 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13371 (speedbar-with-writable): Do not (re)define it.
13372 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13373 rather than speedbar- alias.
13375 2013-05-21 Leo Liu <sdl.web@gmail.com>
13377 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13379 (octave-mode): Tweak fill-nobreak-predicate.
13380 (inferior-octave-startup): Check process to avoid infinite loop.
13381 (inferior-octave): Pop to buffer first to show abornmal process
13384 2013-05-21 Glenn Morris <rgm@gnu.org>
13386 * printing.el (pr-menu-bar): Define when compiling.
13388 2013-05-21 Leo Liu <sdl.web@gmail.com>
13390 * progmodes/octave.el (octave-auto-fill): Remove.
13391 (octave-indent-new-comment-line): Improve.
13392 (octave-mode): Use auto fill mode through
13393 comment-line-break-function and fill-nobreak-predicate.
13394 (octave-goto-function-definition): Support DEFUN_DLD.
13395 (octave-beginning-of-defun): Small tweak.
13396 (octave-help): Show parent directory.
13398 2013-05-21 Glenn Morris <rgm@gnu.org>
13400 * files.el (dired-unmark):
13401 * progmodes/gud.el (gdb-input): Update declarations.
13403 * calculator.el (electric, ehelp): No need to load when compiling.
13404 (Electric-command-loop, electric-describe-mode): Declare.
13406 * doc-view.el (doc-view-current-converter-processes): Move before use.
13408 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13409 Move MODE-set-explicitly definition before use.
13411 * international/mule-diag.el (mule-diag):
13412 Don't use obsolete window-system-version.
13414 * mail/feedmail.el (smtpmail): No need to load when compiling.
13415 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13417 * mail/mail-utils.el (rfc822): No need to load when compiling.
13418 (rfc822-addresses): Autoload it.
13419 (mail-strip-quoted-names): Trivial simplification.
13421 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13422 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13424 * net/snmp-mode.el (tempo): Don't duplicate requires.
13426 * progmodes/prolog.el (info): No need to load when compiling.
13427 (comint): Require before shell requires it.
13428 (Info-goto-node): Autoload it.
13429 (Info-follow-nearest-node): Declare.
13430 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13432 * textmodes/artist.el (picture-mode-exit): Declare.
13434 * textmodes/reftex-parse.el (reftex-parse-from-file):
13435 Trivial rewrite so the compiler can parse it better.
13437 2013-05-20 Leo Liu <sdl.web@gmail.com>
13439 * progmodes/octave.el (octave-help-mode-map)
13440 (octave-help-mode-finish-hook): New variables.
13441 (octave-help-mode, octave-help-mode-finish): New functions.
13442 (octave-help): Use octave-help-mode.
13444 2013-05-20 Glenn Morris <rgm@gnu.org>
13446 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13448 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13450 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13451 start at point, so that expansion starting right after opening
13452 slash in a regexp is recognized.
13453 (ruby-syntax-before-regexp-re): New defvar, extracted from
13454 ruby-syntax-propertize-function. Since the value of this regexp
13455 is looked up at runtime now, we should be able to turn
13456 `ruby-syntax-methods-before-regexp' into a defcustom later.
13457 (ruby-syntax-propertize-function): Split regexp matching into two
13458 parts, for opening and closing slashes. That allows us to skip
13459 over string interpolations and support multiline regexps.
13460 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13461 for them, which calls `ruby-syntax-propertize-expansion'.
13462 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13463 call to `ruby-syntax-propertize-function'.
13464 (ruby-syntax-propertize-expansion): Extracted from
13465 `ruby-syntax-propertize-expansions'. Handles one expansion.
13466 (ruby-syntax-propertize-percent-literal): Leave point right after
13467 the percent symbol, so that the expression expansion rule can
13468 propertize the contents.
13469 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13471 (ruby-syntax-propertize-expansions): Remove.
13473 2013-05-18 Juri Linkov <juri@jurta.org>
13475 * man.el (Man-default-man-entry): Remove `-' from the end
13476 of the default value. (Bug#14400)
13478 2013-05-18 Glenn Morris <rgm@gnu.org>
13480 * comint.el (comint-password-prompt-regexp):
13481 Allow "password for XXX" where XXX contains colons (eg https://...).
13483 2013-05-18 Leo Liu <sdl.web@gmail.com>
13485 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
13486 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
13487 (octave-source-directories): Don't check process.
13488 (octave-source-directories, octave-find-definition): Doc fix.
13490 2013-05-18 Glenn Morris <rgm@gnu.org>
13492 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13493 Remove backspace/delete bindings. (Bug#14392)
13495 * cus-dep.el (custom-make-dependencies): Sort the output.
13496 (custom-versions-load-alist): Convert comment to doc.
13498 2013-05-17 Leo Liu <sdl.web@gmail.com>
13500 * newcomment.el (comment-search-backward): Stricter in finding
13501 comment start. (Bug#14303)
13503 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13504 (octave-comment-start-skip): Properly anchored.
13506 2013-05-17 Leo Liu <sdl.web@gmail.com>
13508 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13509 Clean up when turned off. (Bug#14395)
13510 (smie--highlight-matching-block-overlay): No longer buffer-local.
13511 (smie-highlight-matching-block): Adjust.
13513 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13515 Doc string fix for "nanoseconds" (Bug#14406).
13516 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13517 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13519 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13521 * calc/calc-units.el (math-extract-units): Preserve powers
13524 2013-05-17 Leo Liu <sdl.web@gmail.com>
13526 * subr.el (delete-consecutive-dups): New function.
13527 * ido.el (ido-set-matches-1): Use it.
13528 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13529 * ido.el (ido-remove-consecutive-dups): Remove.
13531 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13533 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13534 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13535 regexp-opt's `words'.
13537 2013-05-16 Leo Liu <sdl.web@gmail.com>
13539 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13540 (smie--highlight-matching-block-overlay)
13541 (smie--highlight-matching-block-lastpos)
13542 (smie--highlight-matching-block-timer): New variables.
13543 (smie-highlight-matching-block): New function.
13544 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13545 (smie-setup): Conditionally enable smie-blink-matching-open.
13547 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13549 Sync with upstream verilog-mode r840.
13550 * progmodes/verilog-mode.el (verilog-mode-version)
13551 (verilog-mode-release-date): Update.
13552 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13553 (verilog-sig-tieoff): Fix string error on
13554 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13555 (verilog-read-decls): Fix parameters confusing
13556 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13558 2013-05-16 Eli Zaretskii <eliz@gnu.org>
13560 * subr.el (reveal-filename): New function.
13562 * loadup.el: Compute Emacs executable versions on MS-Windows,
13563 where executables have the .exe extension. Add a hard link
13564 emacs-XX.YY.ZZ.exe on MS-Windows.
13566 * Makefile.in (XARGS_LIMIT): New variable.
13567 (custom-deps, finder-data, autoloads)
13568 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13569 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13570 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13571 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13573 2013-05-16 Leo Liu <sdl.web@gmail.com>
13575 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13576 (octave-mode-menu, octave-mode-map): Remove its uses.
13578 2013-05-16 Reto Zimmermann <reto@gnu.org>
13580 Sync with upstream vhdl mode v3.34.2.
13581 * progmodes/vhdl-mode.el: Use `push' throughout.
13582 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13583 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13584 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13585 (vhdl-actual-generic-name): New option to derive actual generic name.
13586 (vhdl-port-paste-signals): Replace formal by actual generics.
13587 (vhdl-beautify): New name for old group vhdl-align. Update users.
13588 (vhdl-beautify-options): New option.
13589 (vhdl-last-input-event): New compat alias. Use throughout.
13590 (vhdl-goto-line): Replace user level function `goto-line'.
13591 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13592 vhdl-fix-statement-buffer.
13593 (vhdl-create-mode-menu): Add some entries.
13594 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13595 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13596 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13597 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13598 to force statements on one line.
13599 (vhdl-remove-trailing-spaces-region):
13600 New, split from vhdl-remove-trailing-spaces.
13601 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13602 Respect vhdl-beautify-options.
13603 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13604 (vhdl-update-sensitivity-list): Not add with index if exists without.
13605 Not include array index with signal. Ignore keywords in comments.
13606 (vhdl-get-visible-signals): Regexp tweaks.
13607 (vhdl-template-component-inst): Handle empty library.
13608 (vhdl-template-type): Add template for 'enum' type.
13609 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13610 Use vhdl-replace-string.
13611 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13612 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13613 (vhdl-speedbar-initialize): Update for above name change.
13614 (vhdl-compose-wire-components): Fix in handling of constants.
13615 (vhdl-error-regexp-emacs-alist): New variable.
13616 (vhdl-error-regexp-add-emacs): New function;
13617 adds support for new compile.el (Emacs 22+)
13618 (vhdl-generate-makefile-1): Change target order for single lib. units.
13619 Allow use of absolute file names.
13621 2013-05-16 Leo Liu <sdl.web@gmail.com>
13623 * simple.el (prog-indent-sexp): Indent enclosing defun.
13625 2013-05-15 Glenn Morris <rgm@gnu.org>
13627 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13628 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13629 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13630 (whitespace-highlight): Move to whitespace group.
13632 * comint.el (comint-source):
13633 * pcmpl-linux.el (pcmpl-linux):
13634 * shell.el (shell-faces):
13635 * eshell/esh-opt.el (eshell-opt):
13636 * international/ccl.el (ccl): Remove empty custom groups.
13638 * completion.el (dynamic-completion-mode):
13639 * jit-lock.el (jit-lock-debug-mode):
13640 * minibuffer.el (completion-in-region-mode):
13641 * type-break.el (type-break-mode-line-message-mode)
13642 (type-break-query-mode):
13643 * emulation/tpu-edt.el (tpu-edt-mode):
13644 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13645 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13646 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13648 * term/xterm.el (xterm): Change parent group to terminals.
13650 * master.el (master): Remove empty custom group.
13651 (master-mode): Remove unused :group argument.
13652 * textmodes/refill.el (refill): Remove empty custom group.
13653 (refill-mode): Remove unused :group argument.
13655 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13657 * cus-dep.el: Provide a feature.
13658 (custom-make-dependencies): Ignore dotfiles (dir-locals).
13659 Don't mistakenly ignore files whose basenames match a basename
13660 from preloaded-file-list (eg cedet/ede/simple.el).
13661 Add a fallback method for getting :group.
13663 2013-05-15 Juri Linkov <juri@jurta.org>
13665 * isearch.el (isearch-char-by-name): Rename from
13666 `isearch-insert-char-by-name'. Doc fix.
13667 (isearch-forward): Mention `isearch-char-by-name' in
13668 the docstring. (Bug#13348)
13670 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13671 `exit-minibuffer' instead of
13672 `isearch-nonincremental-exit-minibuffer'.
13673 (isearch-edit-string): Remove mention of
13674 `isearch-nonincremental-exit-minibuffer' from docstring.
13675 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13676 (isearch-forward-exit-minibuffer)
13677 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13679 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13681 * loadup.el: Just use unversioned DOC.
13683 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13684 literals as extending to EOB.
13685 (nxml-last-fontify-end): Remove unused variable.
13686 (nxml-after-change1): Use with-silent-modifications.
13687 (nxml-extend-after-change-region): Simplify.
13688 (nxml-extend-after-change-region1): Remove function.
13689 (nxml-after-change1): Don't adjust for dependent regions.
13690 (nxml-fontify-matcher): Simplify.
13691 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13692 (xmltok-add-dependent): Remove function.
13693 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13694 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13695 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13696 unclosed <[[, <?, comment, and other literals as extending to EOB.
13697 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13698 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13700 (rng-do-some-validation-1): Don't mark dependent regions.
13701 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13702 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13703 (nxml-clear-dependent-regions): Remove functions.
13704 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13705 (nxml-ensure-scan-up-to-date):
13706 Don't clear&mark dependent regions.
13708 2013-05-15 Leo Liu <sdl.web@gmail.com>
13710 * progmodes/octave.el (octave-goto-function-definition):
13711 Improve and fix callers.
13713 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13715 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13716 the setter (bug#14387).
13718 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13719 surrounding group (bug#14402).
13721 2013-05-14 Juri Linkov <juri@jurta.org>
13723 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13726 2013-05-14 Glenn Morris <rgm@gnu.org>
13728 * progmodes/f90.el (f90-imenu-generic-expression):
13729 Fix typo in 2013-05-08 change. (Bug#14402)
13731 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13733 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13734 Remove signals for which replies are never received.
13736 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13738 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13739 (gdb-handler-alist, gdb-handler-number): Remove variables.
13740 (gdb-handler-list): New variable.
13741 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13742 (gdb-pending-handler-p, gdb-handle-reply)
13743 (gdb-remove-all-pending-triggers): New functions.
13744 (gdb-discard-unordered-replies): New defcustom.
13745 (gdb-handler): New defstruct.
13746 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13747 instead of gdb-pending-triggers. Update docstring.
13748 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13749 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13750 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13751 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13752 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13753 (gdb-frame-handler): Pending triggers are now automatically managed.
13754 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13756 (gdb-input): Automatically handles pending triggers. Update docstring.
13757 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13758 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13760 (gdb-done-or-error): Now use gdb-handle-reply.
13762 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13764 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13767 2013-05-14 Glenn Morris <rgm@gnu.org>
13769 * subr.el (user-emacs-directory-warning): New option.
13770 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13772 2013-05-14 Leo Liu <sdl.web@gmail.com>
13774 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13776 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
13777 (octave-font-lock-texinfo-comment): Fix invalid search bound
13778 error: wrong side of point.
13780 2013-05-14 Glenn Morris <rgm@gnu.org>
13782 * progmodes/flymake.el (flymake-xml-program): New option.
13783 (flymake-xml-init): Use it.
13785 * term/xterm.el: Provide a feature.
13787 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
13789 2013-05-13 Glenn Morris <rgm@gnu.org>
13791 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13792 Add compat aliases as a hack workaround. (Bug#14384)
13794 2013-05-13 Leo Liu <sdl.web@gmail.com>
13796 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13798 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13800 (octave-comment-start-skip): Include %!.
13801 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
13803 2013-05-12 Leo Liu <sdl.web@gmail.com>
13805 * progmodes/octave.el (inferior-octave-startup): Store the value
13806 of __octave_srcdir__ for octave-source-directories.
13807 (inferior-octave-check-process): New function refactored out of
13808 inferior-octave-send-list-and-digest.
13809 (octave-source-directories)
13810 (octave-find-definition-filename-function): New variables.
13811 (octave-source-directories)
13812 (octave-find-definition-default-filename): New functions.
13813 (octave-find-definition): Improve to find functions implemented in C++.
13815 2013-05-12 Glenn Morris <rgm@gnu.org>
13817 * calendar/diary-lib.el (diary-outlook-format-1):
13818 Don't include dayname in the output. (Bug#14349)
13820 2013-05-11 Glenn Morris <rgm@gnu.org>
13822 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13824 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13825 Treat cc-provide like provide.
13827 2013-05-11 Kevin Ryde <user42@zip.com.au>
13829 * cus-dep.el (custom-make-dependencies):
13830 Use generated-autoload-load-name for the sake of files such
13831 such cedet/semantic/bovine/c.el, where the base file name
13832 is not in load-path. (Bug#5277)
13834 2013-05-11 Glenn Morris <rgm@gnu.org>
13836 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13839 2013-05-11 Leo Liu <sdl.web@gmail.com>
13841 * progmodes/octave.el (octave-indent-comment): Improve.
13842 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
13843 (octave-eldoc-function-signatures, octave-eldoc-function):
13845 (octave-mode, inferior-octave-mode): Add eldoc support.
13847 2013-05-11 Richard Stallman <rms@gnu.org>
13849 * epa.el (epa-decrypt-file): Take output file name as argument
13850 and read it using `interactive'.
13852 2013-05-11 Leo Liu <sdl.web@gmail.com>
13854 * progmodes/octave.el (octave-beginning-of-line)
13855 (octave-end-of-line): Check before using up-list because it jumps
13856 out of more syntactic contructs since moving to smie.
13857 (octave-indent-comment): New function.
13858 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
13859 (octave-begin-keywords, octave-end-keywords)
13860 (octave-reserved-words, octave-smie-bnf-table)
13861 (octave-smie-rules): Add new keywords from Octave 3.6.4.
13863 2013-05-11 Glenn Morris <rgm@gnu.org>
13865 * faces.el (internal-face-x-get-resource):
13866 * frame.el (ns-display-monitor-attributes-list):
13867 * calc/calc-aent.el (math-to-radians-2):
13868 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
13871 * calc/calc-menu.el: Make it loadable in isolation.
13873 * net/eudcb-bbdb.el: Make it loadable without bbdb.
13874 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13875 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13876 (eudc-bbdb-query-internal): Require 'bbdb.
13878 * lpr.el (lpr-headers-switches):
13879 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13881 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13883 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13885 * term.el (term-set-escape-char): Make it idempotent.
13887 2013-05-10 Leo Liu <sdl.web@gmail.com>
13889 * progmodes/octave.el (inferior-octave-completion-table):
13890 No longer a function and all uses changed. Use cache to speed up
13891 completion due to bug#11906.
13892 (octave-beginning-of-defun): Re-write to be more general.
13894 2013-05-10 Glenn Morris <rgm@gnu.org>
13896 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13898 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13900 * comint.el (comint-redirect-send-command-to-process): Use :around
13901 rather than :override for comint-redirect-filter.
13902 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13903 Call it instead of comint-redirect-original-filter-function (which
13904 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13906 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13908 * frame.el (display-monitor-attributes-list): Add NS case.
13909 (ns-display-monitor-attributes-list): Declare.
13911 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
13913 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13915 2013-05-09 Glenn Morris <rgm@gnu.org>
13917 * international/fontset.el (vertical-centering-font-regexp):
13918 Set standard-value.
13920 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13922 * bookmark.el (bookmark-search-delay):
13923 * cus-start.el (vertical-centering-font-regexp):
13924 * ps-mule.el (ps-mule-font-info-database-default):
13925 * ps-print.el (ps-default-fg, ps-default-bg):
13926 * type-break.el (type-break-good-break-interval):
13927 * whitespace.el (whitespace-indentation-regexp)
13928 (whitespace-space-after-tab-regexp):
13929 * emacs-lisp/testcover.el (testcover-1value-functions)
13930 (testcover-noreturn-functions, testcover-progn-functions)
13931 (testcover-prog1-functions):
13932 * emulation/viper-init.el (viper-emacs-state-cursor-color):
13933 * eshell/em-glob.el (eshell-glob-translate-alist):
13934 * play/tetris.el (tetris-tty-colors):
13935 * progmodes/cpp.el (cpp-face-default-list):
13936 * progmodes/flymake.el (flymake-allowed-file-name-masks):
13937 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13938 (idlwave-help-browser-generic-args):
13939 * progmodes/make-mode.el (makefile-special-targets-list):
13940 * progmodes/python.el (python-shell-virtualenv-path):
13941 * progmodes/verilog-mode.el (verilog-active-low-regexp)
13942 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13943 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13944 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13945 * textmodes/reftex-vars.el (reftex-format-label-function):
13946 * textmodes/remember.el (remember-diary-file): Fix custom types.
13948 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13951 2013-05-09 Leo Liu <sdl.web@gmail.com>
13953 * progmodes/octave.el (inferior-octave-completion-at-point):
13954 Restore file completion. (Bug#14300)
13955 (inferior-octave-startup): Fix incorrect highlighting for the
13958 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13960 * progmodes/ruby-mode.el: First cut at SMIE support.
13961 (ruby-use-smie): New var.
13962 (ruby-smie-grammar): New constant.
13963 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13964 (ruby-smie--forward-token, ruby-smie--backward-token)
13965 (ruby-smie-rules): New functions.
13966 (ruby-mode-variables): Setup SMIE if applicable.
13968 2013-05-08 Eli Zaretskii <eliz@gnu.org>
13970 * simple.el (line-move-visual): Signal beginning/end of buffer
13971 only if vertical-motion moved less than it was requested. Avoids
13972 silly incorrect error messages when there are display strings with
13973 multiple newlines at EOL.
13975 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13977 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13978 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13979 (prolog-char-quote-workaround):
13980 * progmodes/cperl-mode.el (cperl-under-as-char):
13981 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
13983 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
13985 (vhdl-mode-syntax-table-init): Remove.
13987 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13990 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13992 (ld-script-font-lock-keywords):
13993 Change regexps to use things like \_< and \_>.
13995 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13996 Change all regexps to use things like \_< and \_>.
13998 * progmodes/autoconf.el (autoconf-definition-regexp)
13999 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14000 Handle a _ with symbol syntax.
14001 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14003 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14004 Consolidate declaration.
14005 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14007 (ada-create-syntax-table): Remove.
14008 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14009 already has the right syntax nowadays.
14010 (ada-goto-next-word): Don't change the syntax of "_".
14012 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14015 2013-05-08 Sam Steingold <sds@gnu.org>
14017 * thingatpt.el (thing-at-point): Accept optional second argument
14018 NO-PROPERTIES to strip the text properties from the return value.
14019 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14020 to `thing-at-point' instead of stripping the properties ourselves.
14021 Also, when `thing-at-point' fails to find a url, prepend "http://"
14022 to the filename at point on the assumption that the user is
14023 pointing at something like gnu.org/gnu.
14025 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14027 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14028 * faces.el (crm-separator):
14029 Silence byte-compiler.
14031 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14032 (tool-bar-map): Remove unneeded defvars.
14034 2013-05-08 Leo Liu <sdl.web@gmail.com>
14036 Re-work a fix for bug#10994 based on Le Wang's patch.
14037 * ido.el (ido-remove-consecutive-dups): New helper.
14038 (ido-completing-read): Use it.
14039 (ido-chop): Revert fix for bug#10994.
14041 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14043 * cus-edit.el (custom-save-variables):
14044 Pretty-print long values. (Bug#14187)
14046 2013-05-08 Glenn Morris <rgm@gnu.org>
14048 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14049 (m4-mode-syntax-table): Init in the defvar.
14050 (m4-mode-abbrev-table): Let define-derived-mode define it.
14052 2013-05-08 Tom Tromey <tromey@redhat.com>
14054 * progmodes/m4-mode.el (m4-mode-syntax-table):
14055 Do not treat "_" as word constituent. (Bug#14167)
14057 2013-05-07 Glenn Morris <rgm@gnu.org>
14059 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14060 Remove explicit eshell-isearch-cancel-map.
14062 * progmodes/f90.el (f90-smart-end-names): New option.
14063 (f90-smart-end): Doc fix.
14064 (f90-end-block-optional-name): New constant.
14065 (f90-block-match): Respect f90-smart-end-names.
14067 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14069 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14070 about implicit semi-colons (bug#14218).
14072 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14074 * frame.el (display-monitor-attributes-list)
14075 (frame-monitor-attributes): New functions.
14077 2013-05-06 Leo Liu <sdl.web@gmail.com>
14079 * progmodes/octave.el (octave-syntax-propertize-function): Change
14080 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14081 (octave-font-lock-keywords): Use octave-operator-regexp.
14082 (octave-completion-at-point): Rename from
14083 octave-completion-at-point-function.
14084 (inferior-octave-directory-tracker): Robustify.
14085 (octave-text-functions): Remove and fix its uses. No such things
14088 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14090 * emacs-lisp/trace.el (trace--display-buffer): New function.
14091 (trace-make-advice): Use it.
14093 2013-05-06 Juri Linkov <juri@jurta.org>
14095 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14096 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14098 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14099 in the help string. (Bug#12985)
14101 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14103 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14105 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14107 * progmodes/perl-mode.el: Add support for here documents.
14108 (perl-syntax-propertize-function): Match here-doc markers.
14109 (perl-syntax-propertize-special-constructs): Find their end.
14110 (perl-imenu-generic-expression): Use [:alnum:].
14112 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14113 (advice--add-function): Refresh the advice if already present
14116 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14118 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14120 2013-05-06 Glenn Morris <rgm@gnu.org>
14122 * w32-fns.el (w32-charset-info-alist): Declare.
14124 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14125 of its defcustom properties.
14126 (eshell-cmpl-initialize): No need to load pcomplete.
14128 * generic-x.el: No need to require comint when compiling.
14130 * net/eudc-export.el: Make it loadable without bbdb.
14131 (top-level): Use require rather than load-library.
14132 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14133 (eudc-batch-export-records-to-bbdb)
14134 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14137 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14139 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14140 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14141 some tweaks, instead.
14143 2013-05-05 Leo Liu <sdl.web@gmail.com>
14145 * progmodes/octave.el (octave-font-lock-keywords)
14146 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14147 (inferior-octave-send-list-and-digest): Improve error message.
14148 (octave-mode, inferior-octave-mode): Use setq-local.
14149 (octave-help): Set info-lookup-mode.
14151 2013-05-05 Richard Stallman <rms@gnu.org>
14153 * vc/compare-w.el (compare-windows-whitespace):
14154 Treat no-break space as whitespace.
14156 * mail/rmailsum.el (rmail-summary-rmail-update):
14157 Detect empty summary and don't change selected message.
14158 (rmail-summary-goto-msg): Likewise.
14160 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14161 Doc fixes, rename args.
14163 2013-05-05 Alan Mackenzie <acm@muc.de>
14165 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14167 2013-05-05 Juri Linkov <juri@jurta.org>
14169 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14170 to not add the length of the summary segment to the return value.
14173 2013-05-05 Leo Liu <sdl.web@gmail.com>
14175 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14176 (inferior-octave-output-filter): Remove.
14177 (octave-send-region, inferior-octave-startup): Fix callers.
14178 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14179 (octave-binary-file-extensions): New user variable.
14180 (octave-find-definition): Confirm if opening binary files.
14181 (octave-help-file): Use octave-find-definition to get the binary
14183 (octave-help): Adjust for octave-help-file change.
14185 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14187 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14188 Merge the two entries that handle function definitions.
14189 (pascal--syntax-propertize): New const.
14190 (pascal-mode): Use it. Use setq-local.
14192 2013-05-04 Glenn Morris <rgm@gnu.org>
14194 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14195 (diary-from-outlook): Respect diary-from-outlook-function.
14197 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14199 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14200 Move the declaration from C.
14201 (read-minibuffer, eval-minibuffer): Move from C.
14202 (completion-setup-function): Avoid minibuffer-completion-contents.
14204 2013-05-03 Leo Liu <sdl.web@gmail.com>
14206 * progmodes/octave.el (octave-font-lock-keywords): Do not
14207 dehighlight 'end' in comments or strings.
14208 (octave-completing-read, octave-goto-function-definition):
14210 (octave-help-buffer): New user variable.
14211 (octave-help-file, octave-help-function): New button types.
14212 (octave-help): New command and bind it to C-h ;.
14213 (octave-find-definition): New command and bind it to M-.
14214 (user-error): Alias to error if not defined.
14216 2013-05-02 Leo Liu <sdl.web@gmail.com>
14218 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14220 (octave-font-lock-keywords): Include [ and {.
14222 2013-05-02 Leo Liu <sdl.web@gmail.com>
14224 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14225 (inferior-octave): Remove calling comint-mode and return the buffer.
14226 (inferior-octave-startup): Cosmetic changes.
14228 2013-05-02 Leo Liu <sdl.web@gmail.com>
14230 * progmodes/octave.el (octave-syntax-propertize-function):
14231 Include the case when ' is at line beginning. (Bug#14336)
14233 2013-05-02 Glenn Morris <rgm@gnu.org>
14235 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14236 * desktop.el (vc-dir-mode): Just autoload it here.
14238 2013-05-02 Alan Mackenzie <acm@muc.de>
14240 Eliminate variable c-standard-font-lock-fontify-region-function.
14241 * progmodes/cc-mode.el
14242 (c-standard-font-lock-fontify-region-function): Remove.
14243 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14245 2013-05-01 Leo Liu <sdl.web@gmail.com>
14247 * progmodes/octave.el: Compatible with older emacs-24 releases.
14248 (inferior-octave-has-built-in-variables): Remove. Built-in
14249 variables were removed from Octave in 2007.
14250 (inferior-octave-startup): Fix uses.
14251 (comint-line-beginning-position): Remove compatibility code for
14254 2013-05-01 Juri Linkov <juri@jurta.org>
14256 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14258 2013-05-01 Juri Linkov <juri@jurta.org>
14260 * comint.el (comint-previous-matching-input): Don't print message
14261 "History item: %d" when `isearch-mode' is active.
14262 (comint-history-isearch-message): Print message "History item: %d"
14263 when `comint-input-ring-index' is not empty and this function is
14264 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14266 2013-05-01 Leo Liu <sdl.web@gmail.com>
14268 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14269 definitions. Use completion-at-point to insert keywords.
14270 (octave-abbrev-start): Remove.
14271 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14273 2013-04-30 Leo Liu <sdl.web@gmail.com>
14275 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14278 2013-04-30 Alan Mackenzie <acm@muc.de>
14280 Handle arbitrarily long C++ member initialisation lists.
14281 * progmodes/cc-engine.el (c-back-over-member-initializers):
14283 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14284 (most) member init lists.
14286 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14288 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14291 2013-04-30 Leo Liu <sdl.web@gmail.com>
14293 * progmodes/octave.el (octave-variables): Remove. No builtin
14294 variables any more. All converted to functions.
14295 (octave-font-lock-keywords, octave-completion-at-point-function):
14297 (octave-font-lock-texinfo-comment): New user variable.
14298 (octave-texinfo-font-lock-keywords): New variable for texinfo
14300 (octave-function-comment-block): New face.
14301 (octave-font-lock-texinfo-comment): New function.
14302 (octave-mode): Font lock texinfo comment block.
14304 2013-04-29 Leo Liu <sdl.web@gmail.com>
14306 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14307 indexing expression.
14308 (octave-continuation-string): Do not use \.
14309 (inferior-octave-complete-impossible): Remove.
14310 (inferior-octave-completion-table)
14311 (inferior-octave-completion-at-point): Remove its uses.
14312 (inferior-octave-startup): completion_matches was introduced to
14313 Octave in 1996 so safe to assume it.
14314 (octave-function-file-comment): Improve to follow how Octave does it.
14315 (octave-update-function-file-comment): Tweak.
14317 2013-04-29 Leo Liu <sdl.web@gmail.com>
14319 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14320 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14321 (octave-function-file-comment): Fix typo.
14322 (octave-sync-function-file-names): Use read-char-choice.
14324 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14326 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14327 to t for the less important warnings.
14329 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14331 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14333 2013-04-27 Glenn Morris <rgm@gnu.org>
14335 * vc/log-view.el (log-view-current-entry):
14336 Treat "---" separator lines as part of the following rev. (Bug#14169)
14338 2013-04-27 Juri Linkov <juri@jurta.org>
14340 * subr.el (read-number): Doc fix about using it by interactive
14341 code letter `n'. (Bug#14254)
14343 2013-04-27 Juri Linkov <juri@jurta.org>
14345 * desktop.el (desktop-auto-save-timeout): New option.
14346 (desktop-file-checksum): New variable.
14347 (desktop-save): Add optional arg `auto-save' and don't auto-save
14348 if nothing changed.
14349 (desktop-auto-save-timer): New variable.
14350 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14351 (after-init-hook): Call `desktop-auto-save-set-timer'.
14352 Suggested by Reuben Thomas <rrt@sc3d.org> in
14353 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14355 2013-04-27 Leo Liu <sdl.web@gmail.com>
14357 * progmodes/octave.el (octave-function-file-p)
14358 (octave-skip-comment-forward, octave-function-file-comment)
14359 (octave-update-function-file-comment): New functions.
14360 (octave-mode-map): Bind C-c ; to
14361 octave-update-function-file-comment.
14362 (octave-mode-menu): Add octave-update-function-file-comment.
14363 (octave-mode, inferior-octave-mode): Fix doc-string.
14364 (octave-insert-defun): Conform to Octave's coding convention.
14367 * files.el (basic-save-buffer): Don't let errors in
14368 before-save-hook prevent saving buffer.
14370 2013-04-20 Roland Winkler <winkler@gnu.org>
14372 * faces.el (read-face-name): Use completing-read if arg multiple
14375 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14377 * ls-lisp.el (ls-lisp-insert-directory): If no files are
14378 displayed, move point to after the totals line.
14379 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14382 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14384 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14385 Add current dir to the load-path.
14386 (package-generate-autoloads): Don't rely on
14387 autoload-ensure-default-file.
14389 2013-04-26 Reuben Thomas <rrt@sc3d.org>
14391 * textmodes/remember.el (remember-store-in-files): Document that
14392 the file name format is passed to `format-time-string'.
14394 2013-04-26 Leo Liu <sdl.web@gmail.com>
14396 * progmodes/octave.el (octave-sync-function-file-names): New function.
14397 (octave-mode): Use it in before-save-hook.
14399 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14401 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14404 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14405 \n and comment, even if it's not an implicit ; (bug#14218).
14407 2013-04-26 Glenn Morris <rgm@gnu.org>
14409 * subr.el (read-number): Once more use `read' rather than
14410 `string-to-number', to trap non-numeric input. (Bug#14254)
14412 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
14414 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14415 Use `syntax-multiline' text property consistently instead of
14416 `font-lock-multiline'. (Bug#14237)
14418 2013-04-26 Glenn Morris <rgm@gnu.org>
14420 * emacs-lisp/shadow.el (list-load-path-shadows):
14421 No longer necessary to check for duplicate simple.el, since
14422 2012-07-07 change to init_lread to not include installation lisp
14423 directories in load-path when running uninstalled. (Bug#14270)
14425 2013-04-26 Leo Liu <sdl.web@gmail.com>
14427 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14428 (octave-mode, inferior-octave-mode): Use setq-local.
14429 (octave-not-in-string-or-comment-p): Rename to
14430 octave-in-string-or-comment-p.
14431 (octave-in-comment-p, octave-in-string-p)
14432 (octave-in-string-or-comment-p): Replace defsubst with defun.
14434 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14436 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14438 2013-04-25 Bastien Guerry <bzg@gnu.org>
14440 * textmodes/remember.el (remember-data-directory)
14441 (remember-directory-file-name-format): Fix custom types.
14443 2013-04-25 Leo Liu <sdl.web@gmail.com>
14445 * progmodes/octave.el (octave-completion-at-point-function):
14446 Make use of inferior octave process.
14447 (octave-initialize-completions): Remove.
14448 (inferior-octave-completion-table): New function.
14449 (inferior-octave-completion-at-point): Use it.
14450 (octave-completion-alist): Remove.
14452 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14454 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14455 (opascal-mode-syntax-table): New var.
14456 (opascal-literal-kind, opascal-is-literal-end)
14457 (opascal-literal-token-at): Rewrite.
14458 (opascal--literal-start-re, opascal-font-lock-keywords)
14459 (opascal--syntax-propertize): New constants.
14460 (opascal-font-lock-defaults): Adjust.
14461 (opascal-mode): Use them. Set comment-<foo> variables as well.
14462 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14463 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14464 (delphi-other-face, opascal-other-face): Remove face variables.
14465 (opascal-save-state): Remove macro.
14466 (opascal-fontifying-progress-step): Remove constant.
14467 (opascal--ignore-changes): Remove var.
14468 (opascal-set-token-property, opascal-parse-next-literal)
14469 (opascal-is-stable-literal, opascal-complete-literal)
14470 (opascal-is-literal-start, opascal-face-of)
14471 (opascal-parse-region, opascal-parse-region-until-stable)
14472 (opascal-fontify-region, opascal-after-change)
14473 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14474 (opascal-debug-parse-region, opascal-debug-parse-window)
14475 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14476 (opascal-debug-fontify-buffer): Remove.
14477 (opascal-debug-mode-map): Adjust accordingly.
14479 2013-04-25 Leo Liu <sdl.web@gmail.com>
14481 Merge octave-mod.el and octave-inf.el into octave.el with some
14483 * progmodes/octave.el: New file renamed from octave-mod.el.
14484 * progmodes/octave-inf.el: Merged into octave.el.
14485 * progmodes/octave-mod.el: Renamed to octave.el.
14487 2013-04-25 Tassilo Horn <tsdh@gnu.org>
14489 * textmodes/reftex-vars.el
14490 (reftex-label-ignored-macros-and-environments): New defcustom.
14492 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14494 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14496 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14497 (smie-indent-keyword): Improve the check to ensure that the next
14498 comment is really on the same line.
14499 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14501 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14502 semi-colons if the line is not otherwise empty (bug#14218).
14504 2013-04-25 Glenn Morris <rgm@gnu.org>
14506 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14508 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14510 * progmodes/opascal.el (opascal-set-token-property): Rename from
14511 opascal-set-text-properties and only set `token' (bug#14134).
14512 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14513 (opascal-literal-text-properties): Remove.
14514 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14517 2013-04-24 Reuben Thomas <rrt@sc3d.org>
14519 * textmodes/remember.el (remember-handler-functions): Add an
14520 option for a new handler `remember-store-in-files'.
14521 (remember-data-directory, remember-directory-file-name-format):
14523 (remember-store-in-files): New function to store remember notes
14524 as separate files within a directory.
14526 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14528 * progmodes/compile.el (compilation-next-error-function):
14529 Pass "formats" to compilation-find-file (bug#11777).
14531 2013-04-24 Glenn Morris <rgm@gnu.org>
14533 * vc/vc-bzr.el (vc-bzr-print-log):
14534 * vc/vc-hg.el (vc-hg-print-log):
14535 * vc/vc-svn.el (vc-svn-print-log):
14536 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14538 * vc/vc-bzr.el (vc-bzr-print-log):
14539 * vc/vc-cvs.el (vc-cvs-print-log):
14540 * vc/vc-git.el (vc-git-print-log):
14541 * vc/vc-hg.el (vc-hg-print-log):
14542 * vc/vc-mtn.el (vc-mtn-print-log):
14543 * vc/vc-rcs.el (vc-rcs-print-log):
14544 * vc/vc-sccs.el (vc-sccs-print-log):
14545 * vc/vc-svn.el (vc-svn-print-log):
14546 * vc/vc.el (vc-print-log-internal): Doc fixes.
14548 2013-04-23 Glenn Morris <rgm@gnu.org>
14550 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14551 Remove venerable code attempting to avoid substitute-command-keys.
14553 2013-04-23 Tassilo Horn <tsdh@gnu.org>
14555 * textmodes/reftex-vars.el (reftex-label-regexps):
14556 Call `reftex-compile-variables' after changes to this variable.
14558 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14560 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
14561 Use lexical-binding.
14562 (jit-lock-force-redisplay): Use markers, check buffer's continued
14563 existence and beware narrowed buffers.
14564 (jit-lock-fontify-now): Adjust call accordingly.
14566 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14568 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14569 to avoid misleading the user.
14571 2013-04-22 Leo Liu <sdl.web@gmail.com>
14573 * info-look.el: Prefer latex2e.info. (Bug#14240)
14575 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
14577 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14579 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
14580 * net/tramp.el (tramp-call-process): ... here.
14581 (tramp-set-completion-function, tramp-parse-putty):
14582 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14583 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14584 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14585 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14586 (tramp-call-local-coding-command): Use `tramp-call-process'
14587 instead of `tramp-compat-call-process'.
14589 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14590 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
14591 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
14592 (tramp-find-inline-compress): Improve traces.
14593 (tramp-maybe-send-script): Check for Perl binary.
14594 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14596 2013-04-22 Daiki Ueno <ueno@gnu.org>
14598 * epg.el (epg-context-pinentry-mode): New function.
14599 (epg-context-set-pinentry-mode): New function.
14600 (epg--start): Pass --pinentry-mode option to gpg command.
14602 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14604 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
14605 `comint-dynamic-complete' is obsolete since 24.1, replaced by
14606 `completion-at-point'. (Bug#13774)
14608 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14609 default key binding for `describe-distribution' has been moved to
14610 `C-h C-o'. (Bug#13970)
14612 2013-04-21 Glenn Morris <rgm@gnu.org>
14614 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14616 (vc-print-log): Clarify interactive prompt.
14618 2013-04-20 Glenn Morris <rgm@gnu.org>
14620 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14621 No longer include timestamp etc information.
14623 2013-04-20 Roland Winkler <winkler@gnu.org>
14625 * faces.el (read-face-name): Bug fix, return just one face if arg
14626 multiple is nil. (Bug#14209)
14628 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14630 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14631 (remove-function): Autoload.
14633 * comint.el (comint-redirect-original-filter-function): Remove.
14634 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
14635 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14636 (vc-cvs-annotate-command):
14637 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14638 * progmodes/prolog.el (prolog-consult-compile):
14639 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14640 Use add/remove-function instead.
14641 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14642 (gud-tooltip-process-output, gud-tooltip-tips):
14643 Use add/remove-function instead.
14644 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14645 (scheme-interaction-mode, exit-scheme-interaction-mode):
14646 Use add/remove-function instead.
14648 * vc/vc-dispatcher.el: Use lexical-binding.
14649 (vc--process-sentinel): Rename from vc-process-sentinel.
14650 Change last arg to be the code to run. Don't use vc-previous-sentinel
14651 and vc-sentinel-commands any more.
14652 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14653 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14655 2013-04-19 Masatake YAMATO <yamato@redhat.com>
14657 * progmodes/sh-script.el (sh-imenu-generic-expression):
14658 Handle function names with a single character. (Bug#14111)
14660 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
14662 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14663 for subroutines defined in an eval (bug#14182).
14665 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14667 * bookmark.el (bookmark-completing-read): Improve handling of empty
14668 string (bug#14176).
14670 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14672 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14674 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14676 New faster Imenu implementation (bug#14058).
14677 * progmodes/python.el:
14678 (python-imenu-prev-index-position):
14679 (python-imenu-format-item-label-function)
14680 (python-imenu-format-parent-item-label-function)
14681 (python-imenu-format-parent-item-jump-label-function):
14683 (python-imenu-format-item-label)
14684 (python-imenu-format-parent-item-label)
14685 (python-imenu-format-parent-item-jump-label)
14686 (python-imenu--put-parent, python-imenu--build-tree)
14687 (python-imenu-create-index, python-imenu-create-flat-index)
14688 (python-util-popn): New functions.
14689 (python-mode): Set imenu-create-index-function to
14690 python-imenu-create-index.
14692 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14694 * winner.el (winner-active-region): Use region-active-p, activate-mark
14695 and deactivate-mark (bug#14225).
14697 * simple.el (deactivate-mark): Don't inline it.
14699 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
14701 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14703 2013-04-18 Tassilo Horn <tsdh@gnu.org>
14705 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14706 file extensions from the archive-mode entry in order to prefer
14707 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14709 2013-04-18 Leo Liu <sdl.web@gmail.com>
14711 * bindings.el (help-event-list): Add ?\?.
14713 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14715 * subr.el (with-wrapper-hook): Declare obsolete.
14716 * simple.el (filter-buffer-substring-function): New hook.
14717 (filter-buffer-substring): Use it.
14718 (filter-buffer-substring-functions): Mark obsolete.
14719 * minibuffer.el (completion-in-region-function): New hook.
14720 (completion-in-region): Use it.
14721 (completion-in-region-functions): Mark obsolete.
14722 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14723 * abbrev.el (abbrev-expand-function): New hook.
14724 (expand-abbrev): Use it.
14725 (abbrev-expand-functions): Mark obsolete.
14726 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14727 and :filter-return.
14729 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14731 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14732 and do not care about match data.
14734 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14736 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14737 completion tables when completing error conditions and
14738 `declare' arguments.
14739 (lisp-complete-symbol, field-complete): Mark as obsolete.
14740 (check-parens): Unmatched parens are user errors.
14741 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14743 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
14745 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14746 command changed buffer (ie. `flyspell-pre-buffer' is not current
14747 buffer), which prevents making decisions based on invalid value of
14748 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14749 cause an error when `flyspell-pre-point' was nil after switching
14751 (flyspell-post-command-hook): No longer needs to change buffers when
14752 checking pre-word. While at it remove unnecessary progn.
14754 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14756 * textmodes/ispell.el (ispell-add-per-file-word-list):
14757 Fix `flyspell-correct-word-before-point' error when accepting
14758 words and `coment-padding' is an integer by using
14759 `comment-normalize-vars' (Bug #14214).
14761 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14763 New defun movement commands.
14764 * progmodes/python.el (python-nav--syntactically)
14765 (python-nav--forward-defun, python-nav-backward-defun)
14766 (python-nav-forward-defun): New functions.
14768 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14770 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14771 (python-syntax-context): Use named compiler-macro for backwards
14772 compatibility with Emacs 24.x.
14774 2013-04-17 Leo Liu <sdl.web@gmail.com>
14776 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14777 octave-hide-process-buffer.
14779 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14781 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14784 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14786 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14787 Fix adjustment of offset when receiving incomplete responses from GDB
14790 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14792 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14793 python-mode-abbrev-table.
14794 (python-skeleton-define): Adjust accordingly.
14795 (python-mode-abbrev-table): New table that inherits from it so that
14796 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14798 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14799 (abbrev-symbol): Use it.
14800 (abbrev--before-point): Use it since we already handle inheritance.
14802 2013-04-16 Leo Liu <sdl.web@gmail.com>
14804 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14805 binding to info-lookup-symbol.
14807 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
14809 * minibuffer.el (completion--twq-all):
14810 * term/ns-win.el (ns-initialize-window-system):
14811 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14813 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14815 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14818 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14820 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14822 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14823 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14825 (ruby-end-of-defun): Remove the unused arg, change the docstring
14826 to reflect that this function is only used as the value of
14827 `end-of-defun-function'.
14828 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14829 to reflect an earlier change that beginning/end-of-defun functions
14830 jump between methods in a class definition, as well as top-level
14833 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14835 * minibuffer.el (minibuffer-complete): Don't just scroll
14836 a *Completions* that's been iconified.
14837 (minibuffer-force-complete): Make sure repetitions do cycle when going
14838 through completion-in-region -> minibuffer-complete.
14840 2013-04-15 Alan Mackenzie <acm@muc.de>
14842 Correct the placement of c-cpp-delimiters when there're #s not at
14845 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14846 place a submatch around the #.
14847 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14848 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
14851 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14853 * emacs-lisp/nadvice.el: Properly test names when adding advice.
14854 (advice--member-p): New arg `name'.
14855 (advice--add-function, advice-member-p): Use it (bug#14202).
14857 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
14859 Reformulate java imenu-generic-expression.
14860 The old expression contained ill formed regexps.
14862 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
14863 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
14864 (cc-imenu-java-method-arg-regexp): New defconsts.
14865 (cc-imenu-java-build-type-args-regex): New defun.
14866 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
14867 handling of spaces in the regexp.
14869 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14871 * textmodes/ispell.el (ispell-command-loop): Remove
14872 flyspell highlight of a word when ispell accepts it (bug #14178).
14874 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
14876 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14877 uses code from the previous `ange-ftp-run-real-handler'.
14878 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14879 only in case that function exist. This is needed for proper
14880 unloading of Tramp.
14882 2013-04-15 Tassilo Horn <tsdh@gnu.org>
14884 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14886 * textmodes/reftex.el (reftex-compile-variables): Use it.
14888 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14890 * files.el (normal-mode): Only use default major-mode if no other mode
14893 * emacs-lisp/trace.el (trace-values): New function.
14895 * files.el: Allow : in local variables (bug#14089).
14896 (hack-local-variable-regexp): New var.
14897 (hack-local-variables-prop-line, hack-local-variables): Use it.
14899 2013-04-13 Roland Winkler <winkler@gnu.org>
14901 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14902 data before it gets modified by bibtex-beginning-of-entry.
14904 2013-04-13 Roland Winkler <winkler@gnu.org>
14906 * textmodes/bibtex.el (bibtex-url): Doc fix.
14908 2013-04-13 Roland Winkler <winkler@gnu.org>
14910 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14911 does not visit a BibTeX file, exclude it from the list of buffers
14912 returned by bibtex-initialize.
14914 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
14916 * window.el (split-window): Remove interactive form, since as a
14917 command this function is a special case of split-window-below.
14918 Correct doc string.
14920 2013-04-12 Roland Winkler <winkler@gnu.org>
14922 * faces.el (read-face-name): Do not override value of arg default.
14923 Allow single faces and strings as default values. Remove those
14924 elements from return value that are not faces.
14925 (describe-face): Simplify.
14926 (face-at-point): New optional args thing and multiple so that this
14927 function can provide the same functionality previously provided by
14929 (make-face-bold, make-face-unbold, make-face-italic)
14930 (make-face-unitalic, make-face-bold-italic, invert-face)
14931 (modify-face, read-face-and-attribute): Use face-at-point.
14933 * cus-edit.el (customize-face, customize-face-other-window)
14934 * cus-theme.el (custom-theme-add-face)
14935 * face-remap.el (buffer-face-set)
14936 * facemenu.el (facemenu-set-face): Use face-at-point.
14938 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
14940 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14942 2013-04-10 Tassilo Horn <tsdh@gnu.org>
14944 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14945 off leading { and trailing } from field values.
14947 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14949 * emacs-lisp/timer.el (timer--check): New function.
14950 (timer--time, timer-set-function, timer-event-handler): Use it.
14951 (timer-set-idle-time): Simplify.
14952 (timer--activate): CSE.
14953 (timer-event-handler): Give more info in error message.
14954 (internal-timer-start-idle): New function, moved from C.
14956 * mpc.el (mpc-proc): Add `restart' argument.
14957 (mpc-proc-cmd): Use it.
14958 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14959 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14962 2013-04-10 Masatake YAMATO <yamato@redhat.com>
14964 * progmodes/sh-script.el: Implement `sh-mode' own
14965 `add-log-current-defun-function' (bug#14112).
14966 (sh-current-defun-name): New function.
14967 (sh-mode): Use the function.
14969 2013-04-09 Bastien Guerry <bzg@gnu.org>
14971 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14973 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14975 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14977 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14980 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14982 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14985 2013-04-07 Leo Liu <sdl.web@gmail.com>
14987 * pcmpl-x.el: New file.
14989 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
14991 Do not set x-display-name until X connection is established.
14992 This is needed to prevent from weird situation described at
14993 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14994 * frame.el (make-frame): Set x-display-name after call to
14995 window system initialization function, not before.
14996 * term/x-win.el (x-initialize-window-system): Add optional
14997 display argument and use it.
14998 * term/w32-win.el (w32-initialize-window-system):
14999 * term/ns-win.el (ns-initialize-window-system):
15000 * term/pc-win.el (msdos-initialize-window-system):
15001 Add compatible optional display argument.
15003 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15005 * files.el (normal-backup-enable-predicate): On MS-Windows and
15006 MS-DOS compare truenames of temporary-file-directory and of the
15007 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15008 don't fail comparison by compare-strings. Also, compare file
15009 names case-insensitively on MS-Windows and MS-DOS.
15011 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15013 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15014 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15016 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15018 * whitespace.el (whitespace-color-on, whitespace-color-off):
15019 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15021 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15023 * ispell.el (ispell-set-spellchecker-params):
15024 Really set `ispell-args' for all equivs.
15026 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15028 * ido.el (ido-completions): Use extra elements of ido-decorations
15030 (ido-decorations): Update docstring.
15032 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15034 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15035 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15036 nil during initialization, in order not to miss changes since the
15037 file was opened. (Bug#14140)
15039 2013-04-05 Leo Liu <sdl.web@gmail.com>
15041 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15043 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15045 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15047 2013-04-04 Glenn Morris <rgm@gnu.org>
15049 * electric.el (electric-pair-inhibit-predicate): Add :version.
15051 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15053 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15054 when a package is required several times (bug#14082).
15056 2013-04-04 Roland Winkler <winkler@gnu.org>
15058 * faces.el (read-face-name): Behave as promised by the docstring.
15059 Assume that arg default is a list of faces.
15060 (describe-face): Call read-face-name with list of default faces.
15062 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15064 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15065 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15066 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15068 (bookmark-exit-hook-internal): Save even if list is empty.
15070 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15072 * emacs-lisp/package.el (package-pinned-packages): New var.
15073 (package--add-to-archive-contents): Obey it (bug#14118).
15075 2013-04-03 Alan Mackenzie <acm@muc.de>
15077 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15078 Also adapt to the new values of element 7 of a parse state.
15080 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15081 parameter `not-in-delimiter'. Handle being inside comment opener.
15082 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15083 character in case we're typing a '*' after a '/'.
15084 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15085 instead by passing the parameter to c-state-pp-to-literal.
15087 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15088 for elt. 7 of a parse state.
15090 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15092 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15093 * international/latin1-disp.el, international/mule-util.el:
15094 * language/cyril-util.el, language/european.el, language/ind-util.el:
15095 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15096 * language/tibetan.el, language/viet-util.el:
15097 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15099 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15101 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15102 (electric-pair-post-self-insert-function): Use it.
15103 (electric-pair-default-inhibit): New function, extracted from
15104 electric-pair-post-self-insert-function.
15106 2013-03-31 Roland Winkler <winkler@gnu.org>
15108 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15110 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15112 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15114 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15116 Un-indent after "pass" and "return" statements (Bug#13888)
15117 * progmodes/python.el (python-indent-block-enders): New var.
15118 (python-indent-calculate-indentation): Use it.
15120 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15122 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15123 defun. Defining it as defalias could introduce too eager
15124 byte-compiler optimization. (Bug#14030)
15126 2013-03-30 Chong Yidong <cyd@gnu.org>
15128 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15130 2013-03-30 Leo Liu <sdl.web@gmail.com>
15132 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15133 (kmacro-execute-from-register): Pass the keyboard macro to
15134 kmacro-call-macro or repeating won't work correctly.
15136 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15138 * progmodes/subword.el: Back to using `forward-symbol'.
15140 * subr.el (forward-whitespace, forward-symbol)
15141 (forward-same-syntax): Move from thingatpt.el.
15143 2013-03-29 Leo Liu <sdl.web@gmail.com>
15145 * kmacro.el (kmacro-to-register): New command.
15146 (kmacro-execute-from-register): New function.
15147 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15149 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15151 * mpc.el: Use defvar-local and setq-local.
15152 (mpc--proc-connect): Connection failures are not bugs.
15153 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15154 (mpc-volume-map): Bind to the up-events.
15156 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15158 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15159 instead of `forward-symbol'.
15161 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15163 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15164 (edebug--recursive-edit): Use it.
15165 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15166 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15168 2013-03-28 Leo Liu <sdl.web@gmail.com>
15170 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15172 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15174 * facemenu.el (list-colors-callback): New defvar.
15175 (list-colors-redisplay): New function.
15176 (list-colors-display): Install list-colors-redisplay as the
15177 revert-buffer-function. (Bug#14063)
15179 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15181 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15182 and suffixes don't overlap (bug#14061).
15184 * case-table.el: Use lexical-binding.
15185 (case-table-get-table): New function.
15186 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15188 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15190 * progmodes/subword.el: Add `superword-mode' to do word motion
15191 over symbol_words (parallels and leverages `subword-mode' which
15192 does word motion inside MixedCaseWords).
15194 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15196 * eshell/em-unix.el: Move su and sudo to...
15197 * eshell/em-tramp.el: ...Eshell tramp module.
15199 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15201 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15202 Change return value to be a sexp. Delay `get-buffer' to after
15203 restoring the desktop (bug#13951).
15205 2013-03-26 Leo Liu <sdl.web@gmail.com>
15207 * register.el: Move semantic tag handling back to
15208 cedet/semantic/senator.el. (Bug#14052)
15210 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15212 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15213 into the prompt either (bug#13963).
15215 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15217 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15218 part of "(error-foo)".
15220 2013-03-24 Juri Linkov <juri@jurta.org>
15222 * replace.el (list-matching-lines-prefix-face): New defcustom.
15223 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15224 `occur-engine' if `face-differs-from-default-p' returns t.
15225 (occur-engine): Add `,' inside backquote construct to evaluate
15226 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15227 Pass `prefix-face' to the functions `occur-context-lines' and
15228 `occur-engine-add-prefix'.
15229 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15230 `prefix-face' and propertize the prefix with `prefix-face'.
15233 2013-03-24 Leo Liu <sdl.web@gmail.com>
15235 * nxml/rng-valid.el (rng-validate-while-idle)
15236 (rng-validate-quick-while-idle): Guard against deleted buffer.
15239 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15240 is the last entry in kill-buffer-hook.
15242 * files.el (kill-buffer-hook): Doc fix.
15244 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15246 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15247 Make it safe-local.
15249 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15251 2013-03-23 Leo Liu <sdl.web@gmail.com>
15253 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15256 * nxml/rng-valid.el (rng-validate-mode)
15257 (rng-after-change-function, rng-do-some-validation):
15258 * nxml/rng-maint.el (rng-validate-buffer):
15259 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15260 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15261 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15262 (nxml-extend-after-change-region): Use with-silent-modifications.
15264 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15267 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15268 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15269 timer-idle-list. (Bug#13999)
15271 2013-03-23 Juri Linkov <juri@jurta.org>
15273 * info.el (info-index-match): New face.
15274 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15275 main pattern and add text properties with the new face to matches
15276 in index entries relative to the beginning of the index entry.
15279 2013-03-21 Eric Ludlam <zappo@gnu.org>
15281 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15282 Inhibit read only while inserting objects.
15284 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15286 * progmodes/cfengine.el: Update docs to mention
15287 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15288 symbol motion. Remove "_" from the word syntax.
15290 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15292 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15293 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15295 2013-03-20 Juri Linkov <juri@jurta.org>
15297 * info.el (Info-next-reference-or-link)
15298 (Info-prev-reference-or-link): New functions.
15299 (Info-next-reference, Info-prev-reference): Use them.
15300 (Info-try-follow-nearest-node): Handle footnote navigation.
15301 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15303 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15305 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15306 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15308 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15310 Suppress unnecessary non-ASCII chatter during build process.
15311 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15312 (batch-skkdic-convert): Suppress most of the chatter.
15313 It's not needed so much now that machines are faster,
15314 and its non-ASCII component was confusing; see Dmitry Gutov in
15315 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15317 2013-03-20 Leo Liu <sdl.web@gmail.com>
15319 * ido.el (ido-chop): Fix bug#10994.
15321 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15323 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15325 (whitespace-color-on, whitespace-color-off):
15326 Use `font-lock-fontify-buffer' (Bug#13817).
15328 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15330 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15331 remapping in mode-line.
15332 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15334 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15336 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15337 value for `whitespace-line' face (Bug#13875).
15338 (whitespace-font-lock-keywords): Change description.
15339 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15340 the constructed keywords instead.
15341 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15343 2013-03-19 Leo Liu <sdl.web@gmail.com>
15345 * progmodes/compile.el (compilation-display-error): New command.
15346 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15349 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15351 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15353 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15355 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15357 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15359 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15361 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15362 * net/tramp-gvfs.el (top):
15363 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15364 (tramp-handle-shell-command): Use it.
15365 (tramp-dissect-file-name): Raise an error when hostname is a
15366 method name, and neither method nor user is specified.
15368 * net/trampver.el: Update release number.
15370 2013-03-18 Leo Liu <sdl.web@gmail.com>
15372 Make sure eldoc can be turned off properly.
15373 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15375 (eldoc-display-message-p): Revert last change.
15376 (eldoc-display-message-no-interference-p)
15377 (eldoc-print-current-symbol-info): Tweak.
15379 2013-03-18 Tassilo Horn <tsdh@gnu.org>
15381 * doc-view.el (doc-view-new-window-function): Check the new window
15382 overlay's display property instead the char property of the
15383 buffer's first char. Use `with-selected-window' instead of
15384 `save-window-excursion' with `select-window'.
15385 (doc-view-document->bitmap): Check the current doc-view overlay's
15386 display property instead the char property of the buffer's first char.
15388 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15390 Automate the build of ja-dic.el (Bug#13984).
15391 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15392 from the input, rather than assume that it's been done for us by the
15393 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15394 the current date into a ja-dic.el comment, as that complicates
15395 regression testing.
15397 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15399 * whitespace.el: Fix double evaluation.
15400 (whitespace-space, whitespace-hspace, whitespace-tab)
15401 (whitespace-newline, whitespace-trailing, whitespace-line)
15402 (whitespace-space-before-tab, whitespace-indentation)
15403 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15405 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15406 (whitespace-color-on): Use a single font-lock-add-keywords call.
15407 Fix double-evaluation of face variables.
15409 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
15411 * net/tramp-adb.el (tramp-adb-parse-device-names):
15412 Use `start-process' instead of `call-process'. Otherwise, the
15413 function might be blocked under MS Windows. (Bug#13299)
15415 2013-03-17 Leo Liu <sdl.web@gmail.com>
15417 Extend eldoc to display info in the mode-line. (Bug#13978)
15418 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15419 (eldoc-mode-line-string): New variable.
15420 (eldoc-minibuffer-message): New function.
15421 (eldoc-message-function): New variable.
15422 (eldoc-message): Use it.
15423 (eldoc-display-message-p)
15424 (eldoc-display-message-no-interference-p):
15425 Support eldoc-post-insert-mode.
15427 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15428 (eval-expression): Run it.
15430 2013-03-17 Roland Winkler <winkler@gnu.org>
15432 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15433 strings in the list of return values.
15435 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15437 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15438 radix before checking for HMS forms.
15440 2013-03-16 Leo Liu <sdl.web@gmail.com>
15442 * progmodes/scheme.el: Add indentation and font-locking for λ.
15445 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
15447 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15448 token before point (bug#13942).
15450 2013-03-16 Leo Liu <sdl.web@gmail.com>
15452 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
15454 2013-03-16 Eli Zaretskii <eliz@gnu.org>
15456 * startup.el (command-line-normalize-file-name): Fix handling of
15457 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15458 <xfq.free@gmail.com> in
15459 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15461 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
15463 Sync with Tramp 2.2.7.
15465 * net/trampver.el: Update release number.
15467 2013-03-14 Tassilo Horn <tsdh@gnu.org>
15469 * doc-view.el: Fix bug#13887.
15470 (doc-view-insert-image): Don't modify overlay associated to
15471 non-live windows, and implement horizontal centering of image in
15472 case it's smaller than the window.
15473 (doc-view-new-window-function): Force redisplay of new windows on
15476 2013-03-13 Karl Fogel <kfogel@red-bean.com>
15478 * saveplace.el (save-place-alist-to-file): Don't sort
15479 `save-place-alist', just pretty-print it (bug#13882).
15481 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
15483 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15484 Check whether `default-file-name-coding-system' is bound.
15485 It isn't in XEmacs.
15487 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15489 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15490 backquotes for `obsolete' (bug#13929).
15492 * international/mule.el (find-auto-coding): Include file name in
15493 obsolescence warning (bug#13922).
15495 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15497 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15498 for CFEngine 3-specific indentation.
15499 (cfengine3-indent-line): Use it. Fix up category regex.
15500 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15502 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15504 * type-break.el (type-break-file-name):
15505 * textmodes/remember.el (remember-data-file):
15506 * strokes.el (strokes-file):
15507 * shadowfile.el (shadow-initialize):
15508 * saveplace.el (save-place-file):
15509 * ps-bdf.el (bdf-cache-file):
15510 * progmodes/idlwave.el (idlwave-config-directory):
15511 * net/quickurl.el (quickurl-url-file):
15512 * international/kkc.el (kkc-init-file-name):
15513 * ido.el (ido-save-directory-list-file):
15514 * emulation/viper.el (viper-custom-file-name):
15515 * emulation/vip.el (vip-startup-file):
15516 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15517 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15519 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15521 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15522 * language/thai-word.el: Switch to UTF-8.
15524 See ChangeLog.16 for earlier changes.
15526 ;; Local Variables:
15530 Copyright (C) 2011-2014 Free Software Foundation, Inc.
15532 This file is part of GNU Emacs.
15534 GNU Emacs is free software: you can redistribute it and/or modify
15535 it under the terms of the GNU General Public License as published by
15536 the Free Software Foundation, either version 3 of the License, or
15537 (at your option) any later version.
15539 GNU Emacs is distributed in the hope that it will be useful,
15540 but WITHOUT ANY WARRANTY; without even the implied warranty of
15541 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15542 GNU General Public License for more details.
15544 You should have received a copy of the GNU General Public License
15545 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.