1 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
3 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
6 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
8 * progmodes/python.el (inferior-python-mode): Doc fix.
10 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
12 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
13 not a character, ignore it instead of raising an error.
15 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
17 * calendar/todo-mode.el: Fix handling of marked items and make
18 minor code improvements.
19 (todo-edit-item): If there are marked items, ensure user can only
20 invoke editing commands that work with marked items.
21 (todo-edit-item--text): When there are marked items, make it a
22 noop if invoked with point not on an item; otherwise, ensure it
23 applies only to item at point.
24 (todo-item-undone): If there are marked not-done items, return
25 point to its original position before signaling user error.
26 (todo--user-error-if-marked-done-item): New function.
27 (todo-edit-item--header, todo-edit-item--diary-inclusion)
28 (todo-item-done): Use it.
30 2014-07-25 Glenn Morris <rgm@gnu.org>
32 * files.el (toggle-read-only): Re-add basic doc-string.
33 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
35 * progmodes/prolog.el (prolog-mode-keybindings-edit):
36 Replace missing `switch-to-prolog' with `run-prolog'.
37 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
39 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
41 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
42 of file-wide setting when changing category-wide setting.
44 2014-07-21 Glenn Morris <rgm@gnu.org>
46 * progmodes/hideif.el (hide-ifdef-mode-submap):
47 Also substitute read-only-mode.
48 * bindings.el (mode-line-toggle-read-only):
49 * bs.el (bs-toggle-readonly):
50 * buff-menu.el (Buffer-menu-toggle-read-only):
51 * dired.el (dired-toggle-read-only):
52 * files.el (view-read-only, find-file-read-only)
53 (find-file-read-only-other-window)
54 (find-file-read-only-other-frame):
55 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
56 Doc fixes re toggle-read-only.
58 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
60 * progmodes/python.el: Add comment about pipe buffering and
61 solutions for missing/delayed output in inferior Python shells.
64 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
66 * progmodes/python.el (python-mode): Don't set
67 mode-require-final-newline. (Bug#17990)
69 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
71 Make python.el work with IPython automatically. (Bug#15510)
72 * progmodes/python.el:
73 (python-shell-completion-setup-code): New value supporting iPython.
74 (python-shell-completion-string-code): New value supporting iPython.
75 (python-shell-completion-get-completions): Use them.
76 (python-shell-completion-module-string-code): Make obsolete.
77 (python-shell-prompt-input-regexps)
78 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
79 (python-shell-output-filter): Fix comment typo.
81 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
83 Fix Python shell prompts detection for remote hosts.
84 * progmodes/python.el (python-shell-prompt-detect): Replace
85 call-process with process-file and make it more robust.
87 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
89 Autodetect Python shell prompts. (Bug#17370)
90 * progmodes/python.el:
91 (python-shell-interpreter-interactive-arg)
92 (python-shell-prompt-detect-enabled)
93 (python-shell-prompt-detect-failure-warning)
94 (python-shell-prompt-input-regexps)
95 (python-shell-prompt-output-regexps): New vars.
96 (python-shell-prompt-calculated-input-regexp)
97 (python-shell-prompt-calculated-output-regexp): New vars.
98 (python-shell-get-process-name)
99 (python-shell-internal-get-process-name)
100 (python-shell-output-filter)
101 (python-shell-completion-get-completions): Use them.
102 (python-shell-prompt-detect)
103 (python-shell-prompt-validate-regexps): New functions.
104 (python-shell-prompt-set-calculated-regexps): New function.
105 (inferior-python-mode): Use it. Also honor overridden
106 python-shell-interpreter and python-shell-interpreter-args.
107 (python-shell-make-comint): Honor overridden
108 python-shell-interpreter and python-shell-interpreter-args.
109 (python-shell-get-or-create-process): Make it testable by allowing
110 to call run-python non-interactively.
111 (python-util-valid-regexp-p): New function.
112 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
113 (python-shell-prompt-output-regexp)
114 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
116 2014-07-16 Glenn Morris <rgm@gnu.org>
118 * desktop.el (after-init-hook): Disable startup frame restoration
119 in non-graphical situations. (Bug#17693)
121 2014-07-14 Glenn Morris <rgm@gnu.org>
123 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
124 if it was "empty", or used for a different set of files. (Bug#17884)
126 2014-07-13 Eli Zaretskii <eliz@gnu.org>
128 * bindings.el (mode-line-remote): If default-directory is not a
129 string, don't call file-remote-p on it; instead state in the
130 help-echo that it is nil. (Bug#17986)
132 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
134 Fix bug: C-x v v discarded existing log message (Bug#17884).
135 * vc/vc-dispatcher.el (vc-log-edit):
136 Don't clobber an already-existing log message.
138 2014-07-10 Glenn Morris <rgm@gnu.org>
140 * vc/log-edit.el (log-edit-changelog-entries):
141 Check for a visited-but-never-saved ChangeLog.
143 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
145 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
146 a non-existing file (bug#17970).
148 * faces.el (face-name): Undo last change.
149 (x-resolve-font-name): Don't call face-name (bug#17956).
151 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
153 Fix dedenters and electric colon handling. (Bug#15163)
155 * progmodes/python.el
156 (python-rx-constituents): Add dedenter and block-ender.
157 (python-indent-dedenters, python-indent-block-enders): Delete.
158 (python-indent-context): Return new case for dedenter-statement.
159 (python-indent-calculate-indentation): Handle new case.
160 (python-indent-calculate-levels): Fix levels calculation for
162 (python-indent-post-self-insert-function): Fix colon handling.
163 (python-info-dedenter-opening-block-message): New function.
164 (python-indent-line): Use it.
165 (python-info-closing-block)
166 (python-info-closing-block-message): Remove.
167 (python-info-dedenter-opening-block-position)
168 (python-info-dedenter-opening-block-positions)
169 (python-info-dedenter-statement-p): New functions.
171 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
173 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
174 the middle of a line (bug#17896).
176 2014-07-08 Juri Linkov <juri@jurta.org>
178 * startup.el (command-line): Append displaying the warning about
179 the errors in the init file to the end of `after-init-hook'.
182 2014-07-08 Juri Linkov <juri@jurta.org>
184 * faces.el (face-name): Return input arg `face' as is
185 when it's not a symbol.
186 (x-resolve-font-name): Don't check if the face is a symbol.
189 2014-07-08 Juri Linkov <juri@jurta.org>
191 * facemenu.el (list-colors-print): In help-echo format use %.2f
192 instead of %d because now HSV values are floating-point components
195 2014-07-06 Glenn Morris <rgm@gnu.org>
197 * emulation/cua-rect.el (cua--activate-rectangle):
198 Avoid setting cua--rectangle to nil. (Bug#17877)
200 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
202 * calendar/todo-mode.el: Fix wrong-type-argument error when
203 marking multiple consecutive items.
204 (todo-toggle-mark-item): Don't try to mark the empty lines at the
205 end of the todo and done items sections. Note in doc string that
206 items marked by passing a numeric prefix argument can include the
207 last todo and first done items.
208 (todo-mark-category): Don't try to mark the empty line between the
209 todo and done items sections.
211 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
213 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
214 proper Lisp quoting (bug#17934).
216 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
217 require-final-newline since prog-mode already took care of it (bug#17947).
219 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
221 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
222 refer to the Todo mode Info manual. Update the comment on
224 (todo-find-filtered-items-file): Add todo-prefix overlays.
225 (todo-filter-items): Reorder a let-bound variable to avoid a
226 wrong-type-argument error on canceling the file choice dialog.
228 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
230 * progmodes/octave.el (inferior-octave-mode):
231 Set comint-input-ring-size to a number (bug#17912).
233 2014-07-03 Juri Linkov <juri@jurta.org>
235 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
236 and `isearch-mode' associated with nil. (Bug#17849)
238 2014-07-02 Juri Linkov <juri@jurta.org>
240 * desktop.el (desktop-save): Rename arg `auto-save' to
241 `only-if-changed'. Doc fix. (Bug#17873)
243 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
245 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
246 Use insert-for-yank (bug#17271).
248 2014-07-02 Leo Liu <sdl.web@gmail.com>
250 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
251 Support lexical-binding.
253 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
255 * vc/log-edit.el (log-edit-goto-eoh): New function.
256 (log-edit--match-first-line): Use it (bug#17861).
258 2014-07-01 Glenn Morris <rgm@gnu.org>
260 * vc/log-edit.el (log-edit-hook): Add missing :version.
262 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
264 * progmodes/python.el (python-indent-post-self-insert-function):
265 Enhancements to electric indentation behavior inside
268 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
270 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
271 buffer-invisibility-spec (bug#17867).
273 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
275 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
278 2014-06-29 Glenn Morris <rgm@gnu.org>
280 * cus-edit.el (help):
281 * finder.el (finder-known-keywords):
282 * help.el (help-for-help-internal):
283 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
284 (ediff-redraw-registry-buffer):
285 * vc/ediff-ptch.el (ediff-patch-file-internal):
286 Doc fixes re "online" help. (Bug#17803)
288 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
289 (idlwave-mode): Doc URL update.
291 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
293 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
294 account for file-wide setting of todo-top-priorities-overrides.
295 Make code a bit cleaner.
297 2014-06-27 Leo Liu <sdl.web@gmail.com>
299 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
301 2014-06-27 Glenn Morris <rgm@gnu.org>
303 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
305 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
307 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
308 category-wide setting of todo-top-priorities-overrides, check for
309 a file-wide setting and fontify accordingly.
311 2014-06-26 Glenn Morris <rgm@gnu.org>
313 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
315 2014-06-26 Daiki Ueno <ueno@gnu.org>
317 * emacs-lisp/package.el (package--check-signature):
318 If package-check-signature is allow-unsigned, don't signal error when
319 we can't verify signature because of missing public key
320 (backport for bug#17625).
322 2014-06-26 Glenn Morris <rgm@gnu.org>
324 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
325 Remove outdated declaration.
327 * emacs-lisp/authors.el (authors-valid-file-names)
328 (authors-renamed-files-alist): Additions.
330 2014-06-25 Leo Liu <sdl.web@gmail.com>
332 * textmodes/picture.el (picture-set-tab-stops):
333 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
334 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
336 * progmodes/asm-mode.el (asm-calculate-indentation):
337 Use indent-next-tab-stop.
339 * indent.el (indent-accumulate-tab-stops): New function.
341 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
343 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
344 (package-desc-status): Obey it.
346 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
348 * calendar/todo-mode.el: Fix two bugs.
349 (todo-insert-item--basic): If user cancels item insertion to
350 another category before setting priority, show original category
351 whether it is in the same or a different file.
352 (todo-set-item-priority): After selecting category, instead of
353 moving point to top, which extends an active region, restore it.
355 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
357 * help-fns.el (describe-function-1): Check file-name is a string before
358 calling help-fns--autoloaded-p (bug#17564).
360 2014-06-24 Juri Linkov <juri@jurta.org>
362 * desktop.el (desktop-auto-save-enable)
363 (desktop-auto-save-disable): New functions.
364 (desktop-save-mode, desktop-auto-save-timeout): Use them.
365 (desktop-read): Disable the autosave before loading the desktop,
366 and enable afterwards. (Bug#17351)
368 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
370 Fix some indentation problem with \; and pipes (bug#17842).
371 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
372 (sh-smie--default-forward-token, sh-smie--default-backward-token):
374 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
375 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
376 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
378 2014-06-24 Eli Zaretskii <eliz@gnu.org>
380 * international/fontset.el (script-representative-chars):
381 Add representative characters for scripts added in Unicode 7.0.
382 (otf-script-alist): Synchronize with the latest registry of OTF
385 * international/characters.el (char-script-table): Update for
386 scripts added and codepoint ranges changed in Unicode 7.0.
388 2014-06-23 Leo Liu <sdl.web@gmail.com>
390 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
391 tab-stop-list to nil. (Bug#16381)
393 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
394 (indent-rigidly-left-to-tab-stop)
395 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
396 (move-to-tab-stop): Change callers.
398 2014-06-22 Eli Zaretskii <eliz@gnu.org>
400 * skeleton.el (skeleton-insert): Yet another fix of the doc string
401 wrt behavior of \n as the first/last element of a skeleton.
403 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
405 * net/tramp-adb.el (tramp-adb-handle-process-file):
406 * net/tramp-sh.el (tramp-sh-handle-process-file):
407 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
408 the output buffer when DISPLAY is non-nil. (Bug#17815)
410 2014-06-21 Glenn Morris <rgm@gnu.org>
412 * play/landmark.el (landmark-move-down, landmark-move-up):
413 Fix 2007-10-20 change - preserve horizontal position.
415 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
417 Fix completion retrieval parsing (bug#17209).
418 * progmodes/python.el (python-mode):
419 (python-util-strip-string): New function.
420 (python-shell-completion-get-completions): Use it.
422 2014-06-21 Eli Zaretskii <eliz@gnu.org>
424 * skeleton.el (skeleton-insert): Fix last change.
426 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
428 Enhancements for outline integration (bug#17796).
429 * progmodes/python.el (python-mode): Properly set
430 outline-heading-end-regexp so that comments after colons for
431 defuns are supported.
433 2014-06-21 Eli Zaretskii <eliz@gnu.org>
435 * skeleton.el (skeleton-insert): Doc fix.
437 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
439 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
440 (smie-config-guess): Use smie-config-local so the rules are obeyed
443 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
444 since it's already done inside the loop (bug#17819).
446 2014-06-20 Martin Rudalics <rudalics@gmx.at>
448 * mouse.el (mouse-drag-line): Re-remove code initially removed
449 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
452 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
454 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
455 align with the surrounding parent (bug#17721).
457 2014-06-20 Eli Zaretskii <eliz@gnu.org>
459 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
461 (texinfo-insert-block, texinfo-insert-@end)
462 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
463 local setting of skeleton-end-newline by adding an explicit \n to
464 the skeletons where appropriate. (Bug#17801)
466 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
468 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
469 (smie-indent--hanging-p): Use it.
470 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
472 2014-06-20 Leo Liu <sdl.web@gmail.com>
474 * simple.el (read-quoted-char): Don't let help chars pop up help
477 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
479 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
482 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
484 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
485 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
488 2014-06-18 Eli Zaretskii <eliz@gnu.org>
490 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
491 and later. (Bug#17790)
493 2014-06-18 Juri Linkov <juri@jurta.org>
495 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
496 to `soft'. (Bug#17554)
498 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
500 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
503 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
505 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
506 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
508 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
510 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
511 `unread-command-events'.
513 2014-06-14 Glenn Morris <rgm@gnu.org>
515 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
516 Replace delete-duplicates and mapcan by cl- versions throughout.
517 And cl-macroexpand-all by macroexpand-all.
518 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
520 2014-06-14 Eli Zaretskii <eliz@gnu.org>
522 * subr.el (posn-col-row): Doc fix. (Bug#17768)
524 2014-06-14 Juri Linkov <juri@jurta.org>
526 * bindings.el: Put `ascii-character' property on keypad keys
527 mapped to characters. (Bug#17759)
529 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
531 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
532 bumping forward into a closing paren (bug#17761).
534 * term/xterm.el (xterm--version-handler): Work around for OSX
535 Terminal.app (bug#17607).
537 2014-06-08 Glenn Morris <rgm@gnu.org>
539 * startup.el (initial-buffer-choice): Doc fix.
540 Reset :version (adding an option does not merit a :version bump).
542 * bookmark.el (bookmark-load):
543 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
545 2014-06-06 Juri Linkov <juri@jurta.org>
547 * desktop.el: Activate auto-saving on window configuration changes.
548 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
549 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
550 (desktop-auto-save-set-timer): Change REPEAT arg of
551 `run-with-idle-timer' from t to nil.
552 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
554 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
556 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
557 vc-hg-command (bug#17570).
559 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
561 * international/mule-cmds.el (ucs-names): Add special entry for BEL
564 2014-06-06 Glenn Morris <rgm@gnu.org>
566 * startup.el (window-setup-hook): Doc fix.
568 2014-06-05 Glenn Morris <rgm@gnu.org>
570 * emacs-lisp/package.el (package-check-signature)
571 (package-unsigned-archives): Doc fixes.
573 2014-06-03 Martin Rudalics <rudalics@gmx.at>
575 * window.el (display-buffer-use-some-window): Don't make window
576 used smaller than it was before (Bug#17671).
578 2014-06-03 Eli Zaretskii <eliz@gnu.org>
580 * menu-bar.el (menu-bar-open): Fix last change: use the PC
581 'redisplay' instead of '(sit-for 0)'.
583 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
585 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
588 2014-06-03 Glenn Morris <rgm@gnu.org>
590 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
592 2014-06-02 Eli Zaretskii <eliz@gnu.org>
594 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
596 2014-06-01 Eli Zaretskii <eliz@gnu.org>
598 * simple.el (keyboard-quit): Force update of mode lines, to remove
599 the "Def" indicator, if we were defining a macro. (Bug#17615)
601 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
603 * minibuffer.el (minibuffer-force-complete-and-exit):
604 Obey minibuffer-default (bug#17545).
606 * progmodes/js.el (js-indent-line): Don't mix columns and chars
609 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
611 * subr.el (set-transient-map): Don't wait for some "nested"
612 transient-map to finish if we're only supposed to be active for
613 the next command (bug#17642).
615 2014-05-31 Leo Liu <sdl.web@gmail.com>
617 * emacs-lisp/gv.el (window-buffer, window-display-table)
618 (window-dedicated-p, window-hscroll, window-point, window-start):
619 Fix gv-expander. (Bug#17630)
621 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
623 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
626 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
627 for the single comma, since ", " is *very* common in normal French text
630 2014-05-30 Glenn Morris <rgm@gnu.org>
632 * emacs-lisp/package.el (package-check-signature)
633 (package-unsigned-archives): Fix :version.
635 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
637 * subr.el (sit-for): Don't run input-methods (bug#15614).
639 2014-05-28 Glenn Morris <rgm@gnu.org>
641 * cus-start.el: Fix some :version numbers.
643 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
645 * simple.el (deactivate-mark): Set mark-active to nil even if
646 deactivation is done via setting transient-mark-mode to nil,
647 since one is buffer-local and the other is global.
649 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
650 there can't be more than 2 arguments (bug#17584).
652 2014-05-27 Glenn Morris <rgm@gnu.org>
654 * simple.el (filter-buffer-substring-functions)
655 (filter-buffer-substring-function, buffer-substring-filters)
656 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
658 * minibuffer.el (completion-in-region-functions, completion-in-region)
659 (completion--in-region): Doc fixes.
661 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
662 (expand-abbrev, abbrev--default-expand): Doc fixes.
664 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
666 Include sources used to create macuvs.h.
667 * international/README: Refer to the Unicode Terms of Use rather
668 than copying it bodily here, as that simplifies maintenance.
670 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
672 * cus-face.el (custom-face-attributes): Add :distant-foreground.
674 2014-05-25 Martin Rudalics <rudalics@gmx.at>
676 * window.el (window--dump-frame): Remove interactive
679 2014-05-23 Glenn Morris <rgm@gnu.org>
681 * hippie-exp.el (he-line-search-regexp):
682 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
684 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
686 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
687 to avoid errors when trying to create or visit a file foo.todo
688 located outside to todo-directory, and to allow having such files
689 without them being tied to Todo mode (bug#17482).
690 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
691 (todo-archive-done-item, todo-find-filtered-items-file)
692 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
693 (todo-category-completions, todo-read-category): When visiting a
694 Todo file, make sure we're in the right mode and the buffer local
696 (todo-make-categories-list, todo-reset-nondiary-marker)
697 (todo-reset-done-string, todo-reset-comment-string):
698 After processing all Todo files, kill the buffers of those files that
699 weren't being visited before the processing.
700 (todo-display-as-todo-file, todo-add-to-buffer-list)
701 (todo-visit-files-commands): Comment out.
702 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
703 (auto-mode-alist): Remove add-to-list calls making Todo file
704 extensions unrestrictedly tied to Todo modes.
706 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
708 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
709 (advice-function-member-p): Tell it to check both names and functions
711 (advice--add-function): Adjust call accordingly.
713 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
715 * calendar/todo-mode.el: Miscellaneous bug fixes.
716 (todo-delete-file): When deleting an archive but not its todo
717 file, make sure to update the todo file's category sexp.
718 (todo-move-category): Keep the moved category's name unless the
719 file moved to already has a category with that name. If the
720 numerically last category of the source file was moved, make the
721 first category current to avoid selecting a nonexisting category.
722 (todo-merge-category): Fix implementation to make merging to a
723 category in another file work as documented. Eliminate now
724 insufficient and unnecessary renaming of archive category, correct
725 document string accordingly, and clarify it. If the numerically
726 last category of the source file was merged, make the first
727 category current to avoid selecting a nonexisting category.
728 (todo-archive-done-item): When there are marked items and point
729 happens to be on an unmarked item, ignore the latter. Don't leave
730 point below last item after archiving marked items.
731 (todo-unarchive-items): Fix logic to ensure unarchiving an item
732 from an archive with only one category deletes the archive only
733 when the category is empty after unarchiving. Make sure the todo
734 file's category sexp is updated.
735 (todo-read-file-name): Allow an existing file name even when it is
736 not required (todo-move-category needs this to work as documented).
737 (todo-add-file): Call todo-validate-name to reject the name of an
738 existing todo file (needed due to fix in todo-read-file-name).
739 (todo-reset-nondiary-marker): Also reset in filtered items files.
740 (todo-reset-done-string, todo-reset-comment-string): Also reset in
741 regexp filtered items files.
742 (todo-reset-highlight-item): Also reset in filtered items files.
743 Fix incorrect variable reference in document string.
745 2014-05-22 Glenn Morris <rgm@gnu.org>
747 * window.el (window--dump-frame): Avoid error in --without-x builds.
749 2014-05-21 Glenn Morris <rgm@gnu.org>
751 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
753 2014-05-21 Eli Zaretskii <eliz@gnu.org>
755 * frame.el (set-frame-font): Doc fix.
757 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
759 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
761 * emacs-lisp/package.el (package--download-one-archive):
762 Use `write-region' instead of `save-buffer' to avoid running various
764 (describe-package-1): Same. Insert newline at the end of the
765 buffer if appropriate.
767 2014-05-20 Juri Linkov <juri@jurta.org>
769 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
770 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
771 Add more modifiers: meta, control, shift, hyper, super, alt.
774 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
775 to allow changing its value with `set-variable'.
777 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
779 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
781 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
783 (scheme-mode-variables): Set syntax-propertize-function instead of
784 font-lock-syntactic-face-function.
785 (scheme-font-lock-syntactic-face-function): Delete.
787 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
789 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
791 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
794 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
796 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
797 for a temporary file name.
799 2014-05-17 Eli Zaretskii <eliz@gnu.org>
801 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
803 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
805 * net/dbus.el (dbus-init-bus, dbus-call-method)
806 (dbus-call-method-asynchronously, dbus-send-signal)
807 (dbus-method-return-internal, dbus-method-error-internal):
808 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
810 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
812 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
813 methods which do not have a doc string. (Bug#17490)
815 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
816 Stefan Monnier <monnier@iro.umontreal.ca>
818 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
821 2014-05-14 Glenn Morris <rgm@gnu.org>
823 * vc/emerge.el (emerge-temp-file-prefix):
824 Make pointless option obsolete.
825 (emerge-temp-file-mode): Make non-functional option obsolete.
827 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
829 * net/browse-url.el (browse-url):
830 Use `unhandled-file-name-directory' when setting `default-directory',
831 in order to circumvent stalled remote connections. (Bug#17425)
833 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
835 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
836 into autoloading just because of a silly indirection.
838 2014-05-11 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
840 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
842 2014-05-11 Glenn Morris <rgm@gnu.org>
844 * emacs-lisp/find-gc.el: Move to ../admin.
846 2014-05-10 Glenn Morris <rgm@gnu.org>
848 * printing.el (pr-version):
849 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
851 * net/browse-url.el (browse-url-mosaic):
852 Create /tmp/Mosaic.PID as a private file.
854 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
856 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
857 (advice--member-p): If name is given, only compare the name.
858 (advice--remove-function): Don't stop at the first match.
859 (advice--normalize-place): New function.
860 (add-function, remove-function): Use it.
861 (advice--add-function): Pass the name, if any, to
862 advice--remove-function.
864 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
866 * electric.el (electric-indent-post-self-insert-function): Don't use
867 `pos' after modifying the buffer (bug#17449).
869 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
871 * subr.el (function-put): Add function.
873 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
875 * calendar/todo-mode.el (todo-insert-item-from-calendar):
876 Correct argument list to conform to todo-insert-item--basic.
878 2014-05-09 Glenn Morris <rgm@gnu.org>
880 * files.el (cd-absolute): Test if directory is accessible
881 rather than executable. (Bug#17330)
883 * progmodes/compile.el (recompile):
884 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
886 2014-05-08 Juri Linkov <juri@jurta.org>
888 * dired.el (dired-check-switches, dired-switches-recursive-p):
889 New functions. (Bug#17218)
890 (dired-switches-escape-p, dired-move-to-end-of-filename):
891 Use `dired-check-switches'.
892 (dired-insert-old-subdirs, dired-build-subdir-alist)
893 (dired-sort-R-check): Use `dired-switches-recursive-p'.
895 2014-05-08 Glenn Morris <rgm@gnu.org>
897 * net/browse-url.el (browse-url-mosaic):
898 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
899 This is CVE-2014-3423.
901 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
903 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
904 (xterm-mouse--read-event-sequence-1000): Return nil if something
906 (xterm-mouse-event): Propagate it.
907 (xterm-mouse-translate-1): Handle it.
909 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
911 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
912 four slots of the parameter list are filled, make sure to pass it
913 to the argument list of todo-insert-item--basic.
915 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
917 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
918 Add optional `seen' argument to detect and break infinite loops.
920 2014-05-06 Eli Zaretskii <eliz@gnu.org>
922 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
923 (trace-unsafe, trace-use-tree): Make parentheses style be
924 according to Emacs style.
926 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
928 * net/tramp-sh.el (tramp-remote-process-environment):
929 Remove HISTFILE and HISTSIZE; it's too late to set them here.
931 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
932 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
933 extra "PSx=..." commands.
934 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
937 (tramp-uudecode): Replace the hard-coded temporary file name by a
939 (tramp-remote-coding-commands): Enhance docstring.
940 (tramp-find-inline-encoding): Replace "%t" by a temporary file
942 This is CVE-2014-3424.
944 2014-05-06 Glenn Morris <rgm@gnu.org>
946 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
947 (find-gc-source-files): Update some names.
948 (trace-call-tree): Simplify and update.
949 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
950 This is CVE-2014-3422.
952 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
954 * minibuffer.el (completion--try-word-completion): Revert fix for
955 Bug#15980 (bug#17375).
957 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
958 Always store button numbers in the same way in xterm-mouse-last;
959 Don't burp is xterm-mouse-last is not set as expected.
960 Never return negative indices.
962 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
964 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
965 Backtrack one char if the global/char-literal var matcher hits
966 inside a string. The next char could be the beginning of an
967 expression expansion.
969 2014-05-05 Glenn Morris <rgm@gnu.org>
971 * help-fns.el (describe-function-1): Test for an autoload before a
972 macro, since `macrop' works on autoloads. (Bug#17410)
974 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
976 * electric.el (electric-indent-functions-without-reindent): Add yaml.
978 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
979 Make sure the new point we return is within the new string (bug#17239).
981 2014-05-03 Eli Zaretskii <eliz@gnu.org>
983 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
985 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
987 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
988 Use nil rather than `default' for the "default" appearance (bug#17388).
989 * vc/ediff-util.el (ediff-inferior-compare-regions)
990 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
991 a misleading `default' value when it's really a boolean.
992 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
993 overlay is not visible.
995 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
997 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
998 (todo-menu): Uncomment and update.
1000 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1002 * calendar/todo-mode.el: Reimplement item editing to have the same
1003 basic user interface as item insertion, and make small UI and
1004 larger internal improvements to the latter.
1005 (todo-insert-item): Add reference to the Todo mode user manual to
1006 the documentation string.
1007 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1008 adjust all callers. Change signature to combine diary and
1009 nonmarking arguments. Incorporate functionality of deleted item
1010 copying command and add error checking. Remove detailed
1011 descriptions of the arguments from the documentation string, since
1012 this is treated in the Todo mode user manual.
1013 (todo-copy-item, todo-edit-multiline-item)
1014 (todo-edit-done-item-comment, todo-edit-item-header)
1015 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1016 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1017 (todo-edit-item-date-year, todo-edit-item-date-month)
1018 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1020 (todo-edit-item): Reimplement as wrapper command for
1021 todo-edit-item--next-key and make it distinguish done and not done
1023 (todo-edit-item--text): New function, replacing old command
1024 todo-edit-item and incorporating deleted commands
1025 todo-edit-multiline-item and todo-edit-done-item-comment.
1026 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1027 Use only numeric value of prefix argument. Remove detailed
1028 descriptions of the arguments from the documentation string, since
1029 this is treated in the Todo mode user manual.
1030 (todo-edit-item--diary-inclusion): New function, replacing old
1031 command todo-edit-item-diary-inclusion and incorporating and fixing
1032 functionality of deleted command todo-edit-item-diary-nonmarking,
1033 making sure to remove todo-nondiary-marker when adding
1034 diary-nonmarking-symbol.
1035 (todo-edit-category-diary-inclusion): Make sure to delete
1036 diary-nonmarking-symbol when adding todo-nondiary-marker.
1037 (todo-edit-category-diary-nonmarking): Fix indentation.
1038 (todo-insert-item--parameters): Group diary and nonmarking
1039 parameters together.
1040 (todo-insert-item--apply-args): Adjust to signature of
1041 todo-insert-item--basic and incorporate copy parameter.
1042 Make small code improvements.
1043 (todo-insert-item--next-param): Improve prompt and adjust it to
1044 new parameter grouping. Remove obsolete code.
1045 (todo-edit-item--param-key-alist)
1046 (todo-edit-item--date-param-key-alist)
1047 (todo-edit-done-item--param-key-alist): New defconsts.
1048 (todo-edit-item--prompt): New variable.
1049 (todo-edit-item--next-key): New function.
1050 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1051 Remove bindings of deleted commands.
1053 2014-05-02 Leo Liu <sdl.web@gmail.com>
1055 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1057 2014-05-01 Glenn Morris <rgm@gnu.org>
1059 * allout-widgets.el (allout-widgets-tally)
1060 (allout-decorate-item-guides):
1061 * menu-bar.el (menu-bar-positive-p):
1062 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1063 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1064 * progmodes/js.el (js--inside-param-list-p)
1065 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1066 * progmodes/prolog.el (region-exists-p):
1067 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1068 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1069 Doc fixes (replace `iff').
1071 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1073 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1075 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1077 * dired.el (dired-initial-position-hook, dired-initial-position):
1080 2014-04-29 Glenn Morris <rgm@gnu.org>
1082 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1084 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
1086 * faces.el (face-spec-recalc): Apply X resources only after the
1087 defface spec has been applied. Thus, X resources are no longer
1088 overridden by the defface spec which also fixes issues on win32 where
1089 the toolbar coloring was wrong because it is set through X resources
1090 and was (wrongfully) overridden. (Bug#16694)
1092 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1094 * textmodes/rst.el (electric-pair-pairs): Declare.
1095 (rst-mode): Set it (bug#17131).
1097 2014-04-27 Juri Linkov <juri@jurta.org>
1099 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1100 and `print-level' to nil. (Bug#17351)
1102 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1104 * battery.el (battery-update): Handle the case where battery
1105 status is "N/A" (bug#17319).
1107 2014-04-24 Eli Zaretskii <eliz@gnu.org>
1109 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1110 Use equal-including-properties to compare help-echo strings (bug#17331).
1112 2014-04-24 Leo Liu <sdl.web@gmail.com>
1114 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1115 Fix syntax for @. (Bug#17325)
1117 2014-04-24 Daniel Colascione <dancol@dancol.org>
1119 * emacs-lisp/cl.el (gv): Require gv early to break eager
1120 macro-expansion cycles.
1122 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1124 * simple.el (region-active-p): Check there's a mark (bug#17324).
1126 * simple.el (completion-list-mode-map): Use choose-completion for the
1127 mouse binding as well (bug#17302).
1128 (completion-list-mode, completion-setup-function): Adjust docstring and
1129 echo area message accordingly.
1130 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1131 calling convention of choose-completion.
1132 * comint.el (comint-dynamic-list-completions):
1133 * term.el (term-dynamic-list-completions): Accept choose-completion.
1135 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1136 &, |, +, - and * can't be a division (bug#17317).
1138 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1140 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1141 features on gnome-terminal (bug#16988).
1143 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1145 * dired.el (dired-insert-set-properties): Do not consider
1146 subdirectory headings and empty lines to be information that
1147 `dired-hide-details-mode' should hide. (Bug#17228)
1149 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1151 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1152 Remove test messages.
1153 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1156 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1158 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1159 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1161 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1163 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
1165 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1166 Set "IFS=" when using read builtin, in order to preserve spaces in
1167 the file name. Add test messages for hunting a bug on hydra.
1168 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1170 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1172 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1173 Don't prettify a word within a symbol.
1175 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
1177 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1180 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1182 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1183 assignments such as "case=hello" (bug#17297).
1185 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1187 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1189 (tramp-file-name-handler, tramp-completion-file-name-handler):
1190 Revert patch from 2014-04-10, it isn't necessary anymore.
1191 (tramp-autoload-file-name-handler)
1192 (tramp-register-autoload-file-name-handlers): New defuns.
1193 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1194 (tramp-register-file-name-handlers): Remove also
1195 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1196 Do not autoload its invocation, but eval it after loading of 'tramp.
1198 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1200 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1202 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1204 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
1205 was done (bug#17264).
1206 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
1209 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1210 here-documents (bug#17262).
1212 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1214 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1215 Provide doc strings, as required by snarf-documentation.
1217 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1219 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1220 arg of overlays-at. Use `invisible-p'.
1222 * obsolete/lucid.el (extent-at):
1223 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1225 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1227 2014-04-14 João Távora <joaotavora@gmail.com>
1229 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1232 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1234 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1235 Use mapc to loop over a vector. (Bug#17257).
1237 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
1239 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1240 patch, there are new problems with file names containing spaces.
1241 Get rid of backticks. (Bug#17238)
1243 2014-04-13 João Távora <joaotavora@gmail.com>
1245 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1248 2014-04-13 Eli Zaretskii <eliz@gnu.org>
1250 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1251 (blink-cursor-mode): Mention customization variables and the
1252 effect of 'blink-cursor-blinks'.
1254 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
1256 * simple.el (undo): Prevent insertion of identity mapping into
1257 undo-equiv-table so as undo-only does not inf loop in the presence
1258 of consecutive nils in undo list.
1260 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1262 * faces.el (make-face): Deprecate optional argument as it is no
1263 longer needed/used since the conditional X resources handling
1264 has been pushed down to make-face-x-resource-internal itself.
1265 (make-empty-face): Don't pass optional argument to make-face.
1267 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1269 * international/characters.el <standard-case-table>: Add entries
1270 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1271 Set category of Coptic characters be 'g' (Greek).
1273 2014-04-12 Leo Liu <sdl.web@gmail.com>
1275 * progmodes/octave.el (completion-table-with-cache): Define if not
1277 (octave-goto-function-definition)
1278 (octave-sync-function-file-names)
1279 (octave-find-definition-default-filename): Backquote upattern for
1282 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1284 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1285 name twice due to backticks. (Bug#17238)
1287 2014-04-11 Glenn Morris <rgm@gnu.org>
1289 * term/w32-win.el (x-win-suspend-error):
1290 * term/x-win.el (x-win-suspend-error): Sync docs.
1292 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1294 Ediff's overlay priorities cause more trouble than they solve.
1295 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1296 (ediff-highest-priority): Remove function (bug#17234).
1297 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1298 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1299 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1302 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
1304 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1305 entry; use symbol boundaries to avoid mis-matches.
1307 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
1309 * net/tramp.el (tramp-file-name-handler)
1310 (tramp-completion-file-name-handler): Avoid recursive loading.
1312 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1313 Quote result also locally.
1315 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1317 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1318 Module methods. (Bug#17216)
1320 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1322 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1323 (describe-bindings-internal): Mark obsolete.
1325 2014-04-07 João Távora <joaotavora@gmail.com>
1328 (electric-pair--syntax-ppss): When inside comments parse from
1330 (electric-pair--balance-info): Fix typo in comment.
1331 (electric-pair--in-unterminated-string-p): Delete.
1332 (electric-pair--unbalanced-strings-p): New function.
1333 (electric-pair-string-bound-function): New var.
1334 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1335 according to `electric-pair--in-unterminated-string-p'
1337 2014-04-07 João Távora <joaotavora@gmail.com>
1339 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1340 Inhibit quote pairing if point-max is inside an unterminated string.
1341 (electric-pair--looking-at-unterminated-string-p): Delete.
1342 (electric-pair--in-unterminated-string-p): New function.
1344 2014-04-07 Glenn Morris <rgm@gnu.org>
1346 * shell.el (shell-directory-tracker):
1347 Go back to just ignoring failures. (Bug#17159)
1349 2014-04-06 João Távora <joaotavora@gmail.com>
1351 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1352 backspace. (bug#16981)
1353 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1354 (electric-pair-backward-delete-char-untabify): Delete.
1355 (electric-pair-mode-map): Bind backspace to a menu item filtering
1356 a new `electric-pair-delete-pair' command.
1357 (electric-pair-delete-pair): New command.
1359 2014-04-06 João Távora <joaotavora@gmail.com>
1361 * progmodes/python.el (python-electric-pair-string-delimiter):
1362 Fix triple-quoting electricity. (Bug#17192)
1364 2014-04-06 João Távora <joaotavora@gmail.com>
1366 * elec-pair.el (electric-pair-post-self-insert-function):
1367 Don't skip whitespace when `electric-pair-text-pairs' and
1368 `electric-pair-pairs' were used. syntax to
1369 electric-pair--skip-whitespace. (Bug#17183)
1371 2014-04-06 Eli Zaretskii <eliz@gnu.org>
1373 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1376 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1378 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1379 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1381 2014-04-05 Glenn Morris <rgm@gnu.org>
1383 * help.el (view-lossage): Doc tweak.
1385 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
1387 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1388 only when inhibit-x-resources is nil, and do that earlier in the
1389 function. Doc fix. (Bug#16694)
1390 (face-spec-choose): Accept additional optional argument, whose
1391 value is returned if no matching attributes are found.
1392 (face-spec-recalc): Use the new optional argument when calling
1393 face-spec-choose. (Bug#16378)
1394 (make-face-x-resource-internal): Do nothing when
1395 inhibit-x-resources is non-nil. Don't touch the default face if
1396 reversed video is given--as was done in previous versions of Emacs.
1397 (face-set-after-frame-default): Don't call
1398 make-face-x-resource-internal here. (Bug#16434)
1400 2014-04-04 Tassilo Horn <tsdh@gnu.org>
1402 * doc-view.el (doc-view-bookmark-jump):
1403 Use `bookmark-after-jump-hook' to jump to the right page after the
1404 buffer is shown in a window. (bug#16090)
1406 2014-04-04 Eli Zaretskii <eliz@gnu.org>
1408 * international/characters.el (mirroring): Fix last change:
1409 instead of loading uni-mirrored.el explicitly, do that implicitly
1410 by creating the 'mirroring' uniprop table. This avoids announcing
1411 the loading of uni-mirrored.el.
1413 2014-04-04 Glenn Morris <rgm@gnu.org>
1415 * files.el (buffer-stale--default-function)
1416 (buffer-stale-function, revert-buffer--default):
1417 * autorevert.el (auto-revert-buffers): Doc tweaks.
1419 2014-04-03 Eli Zaretskii <eliz@gnu.org>
1421 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1423 2014-04-03 Glenn Morris <rgm@gnu.org>
1425 * files.el (make-backup-file-name-function)
1426 (make-backup-file-name, make-backup-file-name--default-function)
1427 (make-backup-file-name-1, find-backup-file-name)
1428 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1429 (buffer-stale--default-function, buffer-stale-function)
1430 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1431 (revert-buffer, revert-buffer--default)
1432 (revert-buffer-insert-file-contents--default-function):
1433 Doc fixes related to defaults no longer being nil.
1434 (make-backup-file-name-function): Bump :version.
1435 Restore nil as a valid but deprecated custom type.
1437 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1439 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
1440 used as a variable (bug#17174).
1442 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1444 * progmodes/perl-mode.el (perl-indent-new-calculate):
1445 Handle forward-sexp failure (bug#16985).
1446 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1447 modifiers introducing expressions (bug#17116).
1449 2014-04-02 Glenn Morris <rgm@gnu.org>
1451 * menu-bar.el (menu-bar-file-menu):
1452 * vc/ediff.el (ediff-current-file):
1453 Update for revert-buffer-function no longer being nil by default.
1455 * simple.el (command-execute): Respect nil disabled-command-function.
1457 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1459 * simple.el (command-execute): Do not execute the command when it
1460 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1462 2014-03-29 Juri Linkov <juri@jurta.org>
1464 * dired-aux.el (dired-compress-file): Don't use string-match-p
1465 because its match data is used afterwards.
1467 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1469 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1472 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1474 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1475 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1477 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1478 Don't propertize `?' or `!' as symbol constituent when after
1481 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1483 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1484 which is no longer needed and causes trouble in GTK builds (bug#17046).
1486 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1487 Use url-insert-file-contents; package-handle-response no longer exists.
1489 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1491 * emacs-lisp/package.el: Fix bug#16733 (again).
1492 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1493 (url-http-target-url): Remove unused declarations.
1494 (package-handle-response): Remove.
1495 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1496 (package--download-one-archive): Use current-buffer instead of
1497 dynamic binding of `buffer'.
1498 (describe-package-1): Do not decode readme-string.
1500 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
1502 * simple.el (primitive-undo): Correction to 2014-03-24 change.
1504 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
1506 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1508 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1509 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1510 `remote-file-name-inhibit-cache' to nil in the second pass.
1511 (tramp-find-executable): Do not call "which" on SunOS.
1512 (tramp-send-command-and-check): Fix docstring.
1513 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1514 check whether source directory has set the sticky bit.
1516 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
1518 * simple.el (primitive-undo): Only process marker adjustments
1519 validated against their corresponding (TEXT . POS). Issue warning
1520 for lone marker adjustments in undo history. (Bug#16818)
1521 (undo-make-selective-list): Add marker adjustments to selective
1522 undo list based on whether their corresponding (TEXT . POS) is in
1523 the region. Remove variable adjusted-markers, which was unused
1524 and only non nil during undo-make-selective-list.
1525 (undo-elt-in-region): Return nil when passed a marker adjustment
1526 and explain in function doc.
1528 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1530 * emacs-lisp/package.el (package--add-to-archive-contents):
1531 Include already installed and built-in packages in
1532 `package-archive-contents'.
1533 (package-install): Don't include already installed packages in the
1534 options during interactive invocation. (Bug#16762)
1536 2014-03-24 Daniel Colascione <dancol@dancol.org>
1538 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1539 instead of cl-loop search function.
1541 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
1543 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1545 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1547 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1549 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1551 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1552 Match special global variables without curlies, too.
1553 (ruby-font-lock-keywords): Simplify the matcher for special global
1554 variables. Don't require a non-word character after the variable.
1557 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1559 * simple.el (redisplay-highlight-region-function): Increase priority of
1560 overlay to make sure boundaries are visible (bug#15899).
1562 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1564 * frameset.el (frameset-restore): Compare display strings with equal.
1566 * frame.el (make-frame): Don't quote display name in error message,
1567 it is already a string.
1569 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1571 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1574 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
1576 * emacs-lisp/package.el (package-show-package-list): If the buffer
1577 is already displayed in another window, switch to that window.
1579 2014-03-21 Daniel Colascione <dancol@dancol.org>
1581 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1582 information in bug reports.
1584 2014-03-23 Daniel Colascione <dancol@dancol.org>
1586 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1587 list to look for keyword arguments instead of `memq', fixing
1588 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1589 Please make bootstrap.
1591 2014-03-23 Richard Stallman <rms@gnu.org>
1593 * battery.el (battery-linux-sysfs): Search for each field
1594 from the beginning of the buffer.
1596 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1598 * emacs-lisp/package.el (package-desc): Use the contents of the
1599 quoted form, not its cdr. (Bug#16873)
1601 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1603 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1604 benefit of doc.c; change parameter profile to match the X function.
1606 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1608 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1609 and `tramp-copy-env'.
1611 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1612 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1614 2014-03-21 Glenn Morris <rgm@gnu.org>
1616 * electric.el (electric-indent-post-self-insert-function): Add doc.
1618 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1620 * emacs-lisp/package.el (package-compute-transaction):
1621 Use `version-list-<=' to compare the requirement version against
1622 the version of package already to be installed. Update the error
1623 message. (Bug#16826)
1625 * progmodes/ruby-mode.el (ruby-smie-rules):
1626 Add indentation rule for ` @ '. (Bug#17050)
1628 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1630 * align.el (align-regexp): Remove superfluous backslash.
1632 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1633 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1634 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1635 Fix docstring typos.
1636 (ffap-next): Use C-u in docstring.
1637 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1638 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1639 Remove superfluous backslashes.
1640 (ffap-string-at-point): Reflow docstring.
1642 * server.el (server-host): Reflow docstring.
1643 (server-unload-function): Fix docstring typo.
1644 (server-eval-at): Remove superfluous backslash.
1646 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1647 (skeleton-insert): Doc fix.
1648 (skeleton-insert): Reflow docstring.
1650 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1651 (tty-color-approximate, tty-color-by-index, tty-color-values)
1652 (tty-color-desc): Remove superfluous backslashes.
1654 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1656 * electric.el (electric-newline-and-maybe-indent): New command.
1657 Bind it globally to C-j.
1658 (electric-indent-mode): Don't mess with the global map any more.
1659 Don't drop the post-self-insert-hook is some buffer is still using it
1662 * bindings.el (global-map): Remove C-j binding.
1664 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1665 the docstring of functions advised before dumping (bug#16993).
1667 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1669 * ps-print.el (ps-generate-postscript-with-faces):
1670 Explicitly deactivate the mark (bug#16866).
1671 * simple.el (deactivate-mark): Update region highlight.
1673 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
1675 * emacs-lisp/package.el (describe-package-1):
1676 Decode commentary (bug#16733).
1678 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
1680 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1681 modification of the value argument of :set (bug#16755).
1683 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1685 * simple.el (newline-and-indent): Do autofill (bug#17031).
1687 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1689 * newcomment.el (comment-normalize-vars): Only add escaping check
1690 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1691 (comment-beginning): Use `narrow-to-region' instead of moving back
1693 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1694 (comment-start-skip): Update the docstring.
1696 2014-03-18 Richard Stallman <rms@gnu.org>
1698 * dired.el (dired-display-file): Force use of other window.
1700 2014-03-18 Daniel Colascione <dancol@dancol.org>
1702 * startup.el (tty-handle-args): Remove debug message from 2007.
1704 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1706 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1707 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1708 (advice--make-1, advice-add, advice-remove):
1709 Remove braindead :advice-pending hack.
1711 2014-03-17 Glenn Morris <rgm@gnu.org>
1713 * calendar/calendar.el (calendar-generate-month): Apply weekend
1714 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1716 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
1718 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1719 (tramp-call-process): Trace also DESTINATION.
1721 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1722 Quote file names when they are local. Remove superfluous trace.
1724 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1726 * newcomment.el (comment-beginning): If `comment-start-skip'
1727 doesn't match, move back one char and try again. (Bug#16971)
1729 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1730 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
1731 Set `comment-start-skip' to a simpler value that doesn't try to
1732 check if the semicolon is escaped (this is handled by
1733 `syntax-ppss' now). (Bug#16971)
1735 * progmodes/scheme.el (scheme-mode-variables): Same.
1737 2014-03-16 Martin Rudalics <rudalics@gmx.at>
1739 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1740 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1741 current (Bug#16816, Bug#17007).
1742 (with-current-buffer-window): New macro doing the same as
1743 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1744 * help.el (help-print-return-message): Warn in doc-string to not
1745 use this in `with-help-window'.
1746 (describe-bindings-internal): Call `describe-buffer-bindings'
1747 from within help buffer. See Juanma's scenario in (Bug#16816).
1748 (with-help-window): Update doc-string.
1749 * dired.el (dired-mark-pop-up):
1750 * files.el (save-buffers-kill-emacs):
1751 * register.el (register-preview): Use `with-current-buffer-window'
1752 instead of `with-temp-buffer-window'.
1754 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
1756 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1757 Implement inserting into current buffer, documented in their docstrings.
1758 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1759 (rst-section-tree-point, rst-forward-section, rst-indent)
1760 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1761 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1762 (rst-font-lock-handle-adornment-pre-match-form)
1763 (rst-repeat-last-character): Reflow docstrings.
1764 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1765 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1766 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1767 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1768 Fix docstring typos.
1769 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1770 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1771 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1773 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
1775 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1776 for compatibility with other ports.
1777 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1778 from the -xrm command line argument, but in the Nextstep port its value
1779 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1781 * progmodes/python.el (defconst, python-syntax-count-quotes)
1782 (python-indent-region, python-indent-shift-right)
1783 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1784 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1785 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1786 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1787 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1788 (python-shell-buffer-substring, python-shell-send-buffer)
1789 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1790 (python-completion-complete-at-point, python-fill-docstring-style)
1791 (python-eldoc-function, python-imenu-format-item-label)
1792 (python-imenu-format-parent-item-label)
1793 (python-imenu-format-parent-item-jump-label)
1794 (python-imenu--build-tree, python-imenu-create-index)
1795 (python-imenu-create-flat-index): Fix docstring typos.
1796 (python-indent-context, python-shell-prompt-regexp, run-python):
1797 Remove superfluous backslashes.
1798 (python-indent-line, python-nav-beginning-of-defun)
1799 (python-shell-get-buffer, python-shell-get-process)
1800 (python-info-current-defun, python-info-current-line-comment-p)
1801 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1802 (python-indent-post-self-insert-function, python-shell-send-file)
1803 (python-shell-completion-get-completions)
1804 (python-shell-completion-complete-or-indent)
1805 (python-eldoc--get-doc-at-point): Reflow docstrings.
1807 2014-03-14 Glenn Morris <rgm@gnu.org>
1809 * emacs-lisp/package.el (package-menu-mode-map):
1810 Replace use of obsolete function alias. Tweak menu item text.
1812 * info.el (Info-finder-find-node):
1813 Ignore the `emacs' metapackage. (Bug#10813)
1815 * finder.el (finder-list-matches): Include unversioned packages
1816 in the result of a keyword search.
1818 * finder.el (finder--builtins-descriptions): New constant.
1819 (finder-compile-keywords): Use finder--builtins-descriptions.
1821 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1823 * simple.el (blink-matching-paren): Describe the new value,
1824 `jump', enabling the old behavior.
1825 (blink-matching-open): Use that value. (Bug#17008)
1827 2014-03-14 Glenn Morris <rgm@gnu.org>
1829 * finder.el (finder-no-scan-regexp): Add leim-list.
1830 (finder-compile-keywords):
1831 Don't skip files with same basename. (Bug#14010)
1832 * Makefile.in (setwins_finder): New, excluding leim.
1833 (finder-data): Use setwins_finder.
1835 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1836 (help-function-arglist, help-make-usage): Move from here...
1837 * help.el (help-split-fundoc, help-add-fundoc-usage)
1838 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1839 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1841 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
1843 * net/socks.el (socks, socks-override-functions)
1844 (socks-find-services-entry):
1845 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1846 (hif-find-ifdef-block):
1847 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1849 * net/tls.el (tls-program): Reflow docstring.
1851 * progmodes/pascal.el (pascal-mode-abbrev-table)
1852 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1853 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1854 (pascal-outline-mode): Fix docstring typos.
1855 (pascal-mode): Let define-derived-mode document mode hook.
1856 (pascal-uncomment-area): Reflow.
1857 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1859 * progmodes/opascal.el (opascal-compound-block-indent)
1860 (opascal-case-label-indent): Fix docstring typos.
1861 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1863 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1865 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1866 Fontify multiple adjacent negation chars. (Bug#17004)
1868 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1870 * emacs-lisp/package.el (package--prepare-dependencies):
1871 Accept requirements without explicit version (bug#14941).
1873 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1875 * register.el (register-separator, copy-to-register): Doc fixes.
1876 (register-preview-default): Remove unnecessary call to concat.
1878 * frameset.el (frameset-restore): When checking for a visible frame,
1879 use the action map instead of calling visible-frame-list.
1881 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1883 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1885 2014-03-12 Martin Rudalics <rudalics@gmx.at>
1887 * window.el (fit-frame-to-buffer): Get maximum width from
1888 display's width instead of height.
1890 2014-03-12 Glenn Morris <rgm@gnu.org>
1892 * desktop.el (desktop-restore-frames)
1893 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1894 (desktop-restore-reuses-frames): Doc tweaks.
1896 * electric.el (electric-indent-mode): Doc fix.
1898 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1900 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1901 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1902 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1903 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1904 (cvs-dired-use-hook): Fix docstring typos.
1905 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1908 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1909 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1910 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1911 (cvs-execute-single-dir): Fix docstring typos.
1913 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1914 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1916 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1918 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1919 Fix docstring typos.
1921 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1923 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1924 called from jump-to-register after unloading the frameset package.
1926 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1928 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1929 (bug#16975). Deactivate the mark before setting it to nil.
1930 (activate-mark): Do nothing if region is already active.
1932 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1934 * frameset.el (frameset--target-display): Remove definition; declare.
1935 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1937 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1939 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1940 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1941 when the advice is pending.
1942 (advice-remove): Remove this marker when not needed any more.
1944 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1946 * frameset.el: Separate options for reusing frames and cleaning up.
1947 (frameset--reuse-list): Remove definition; declare.
1948 (frameset--action-map): Declare.
1949 (frameset--find-frame-if): Doc fix.
1950 (frameset--restore-frame): Cache frame action.
1951 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1952 how to clean up the frame list after restoring. Remove cleaning
1953 options from REUSE-FRAMES. Change all keyword values to symbols.
1954 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1956 * desktop.el (desktop-restore-forces-onscreen)
1957 (desktop-restore-reuses-frames): Use non-keyword values.
1958 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1960 2014-03-10 Glenn Morris <rgm@gnu.org>
1962 * files.el (find-file): Doc fix: update info node name.
1964 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1965 Doc fix: remove references to deleted info nodes.
1967 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
1969 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1970 Do not add `nil' to the environment, when there's no remote `locale'.
1971 (tramp-find-inline-encoding): Check, that the remote host has
1972 installed perl, before sending scripts.
1974 2014-03-10 Leo Liu <sdl.web@gmail.com>
1976 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1977 Clear eldoc-last-message. (Bug#16920)
1979 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1981 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1984 2014-03-09 Juri Linkov <juri@jurta.org>
1986 * ansi-color.el (ansi-color-names-vector): Copy default colors
1987 from `xterm-standard-colors' that look well on the default white
1988 background (and also on the black background) to avoid illegible
1989 color combinations like yellow-on-white and white-on-white.
1990 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1992 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
1994 * frameset.el (frameset-restore): When no frame is visible, do not
1995 generate a list of frames, just make visible the selected one.
1997 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1999 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2000 it only contains the repository root. (Bug#16897)
2002 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2004 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2005 only when `remote-file-name-inhibit-cache' is nil.
2006 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2008 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2010 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2012 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2013 fit-frame-to-buffer variable. Fix doc-string.
2014 (fit-window-to-buffer): Set ONLY argument in call of
2015 fit-frame-to-buffer. Fix doc-string.
2017 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2019 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2020 (tramp-action-password): Clear password cache if needed.
2021 (tramp-read-passwd): Do not clear password cache.
2023 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2024 cache unless it is the first password request.
2026 2014-03-06 Glenn Morris <rgm@gnu.org>
2028 * simple.el (newline): Doc tweak.
2030 * emacs-lisp/shadow.el (load-path-shadows-find):
2031 Ignore dir-locals. (Bug#12357)
2033 2014-03-05 Glenn Morris <rgm@gnu.org>
2035 * files.el (interpreter-mode-alist):
2036 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2038 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2040 * frameset.el (frameset--initial-params): Filter out null entries.
2042 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2044 * window.el (window-min-height, window-min-width):
2045 Rewrite doc-strings.
2046 (window-body-size): Add PIXELWISE argument to make it consistent
2049 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2051 * finder.el (finder-mode-map, finder-mode-syntax-table):
2052 Revert part of 2014-02-28 change.
2054 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2056 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2057 (eww-setup-buffer): Clear next/prev/etc more reliably.
2058 (eww-textarea-map): [tab] doesn't work on tty.
2059 Reported by Mario Lang.
2061 * net/shr.el (shr-map): Ditto.
2063 2014-03-04 Glenn Morris <rgm@gnu.org>
2065 * minibuffer.el (completion-hilit-commonality):
2066 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2068 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2070 * hilit-chg.el (hilit-chg-unload-function): New function.
2071 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2072 (hilit-chg-map-changes): Prefer cardinal number to digit.
2073 (hilit-chg-display-changes): Reflow docstring.
2074 (highlight-changes-rotate-faces): Remove superfluous backslash.
2076 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2078 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2079 `tramp-send-command-and-check'.
2081 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2083 * hexl.el (hexl-address-region, hexl-ascii-region)
2084 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2085 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2086 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2087 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2088 (hexl-mode): Doc fix.
2089 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2090 (hexl-mode-ruler): Fix typos in docstrings.
2092 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2093 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2094 Remove superfluous backslashes.
2095 (strokes-last-stroke, strokes-global-map, strokes-mode):
2097 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2098 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2099 (strokes-distance-squared, strokes-global-set-stroke)
2100 (strokes-global-set-stroke-string): Doc fixes.
2101 (strokes-help): Fix typos; reflow docstring.
2103 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2105 * window.el (window-in-direction): Fix doc-string.
2107 2014-03-04 Glenn Morris <rgm@gnu.org>
2109 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2110 Explicit error if no grammar.
2111 (smie-config-save): Doc fix. Fix quote typo.
2113 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2115 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2116 electric-indent-mode-hook if we obey electric-indent-mode.
2117 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2118 decide whether we obey electric-indent-mode.
2119 (c-change-set-fl-decl-start, c-extend-after-change-region):
2121 (c-electric-indent-mode-hook): Assume we do want to obey
2122 electric-indent-mode.
2124 * electric.el (electric-indent-mode-has-been-called): Remove.
2125 (electric-indent-mode): Fix accordingly.
2127 * files.el (hack-local-variables): Mention file name in warning.
2129 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2131 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2133 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2134 * simple.el (delete-forward-char): Mark as interactive-only.
2136 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2138 * icomplete.el (icomplete-completions):
2139 Follow-up to 2014-03-01 change.
2141 * icomplete.el: Miscellaneous doc fixes.
2142 Use Icomplete everywhere instead of icomplete for consistency.
2143 (icomplete-max-delay-chars): Fix typo.
2144 (icomplete-mode): Use \[].
2145 (icomplete-tidy, icomplete-exhibit): Reflow.
2146 (icomplete-minibuffer-setup-hook, icomplete-completions):
2147 Remove superfluous backlashes.
2149 * ido.el: Miscellaneous doc fixes.
2150 Use Ido everywhere instead of ido or `ido' for consistency.
2151 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2152 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2153 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2154 (ido-separator): Extract obsolescence info from docstring and declare
2155 with make-obsolete-variable.
2156 (ido-minibuffer-setup-hook): Simplify example.
2157 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2158 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2159 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2160 (ido-everywhere): Reflow docstring.
2161 (ido-toggle-vc): Doc fix.
2162 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2163 of long list of keybindings.
2165 2014-03-03 Glenn Morris <rgm@gnu.org>
2167 * frame.el (display-pixel-height, display-pixel-width)
2168 (display-mm-dimensions-alist, display-mm-height)
2169 (display-mm-width): Doc tweaks.
2171 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2173 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2174 case of undo in region.
2176 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2178 * window.el (fit-window-to-buffer): Fix argument in window-size
2179 call when window is horizontally combined.
2181 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2183 * icomplete.el (icomplete-completions): Use string-width.
2184 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2186 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2188 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2189 Highlight regexp options. (Bug#16914)
2191 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2193 * window.el (window--max-delta-1): Round down when calculating
2194 how many lines/columns we can get from a window.
2196 2014-03-01 Glenn Morris <rgm@gnu.org>
2198 * isearch.el (search-invisible): Doc fix.
2200 * minibuffer.el (completion-hilit-commonality):
2201 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2202 * comint.el (comint-dynamic-list-completions): Doc fix.
2203 * comint.el (comint-dynamic-list-completions):
2204 * filecache.el (file-cache-minibuffer-complete):
2205 * tempo.el (tempo-display-completions):
2206 * eshell/em-hist.el (eshell-list-history):
2207 Replace use of obsolete argument of display-completion-list.
2209 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2211 * icomplete.el (icomplete-completions):
2212 Revert back to using "..." when ?… cannot be displayed.
2214 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2216 * finder.el (finder-unload-function): New function.
2218 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2220 * dframe.el (dframe-detach):
2221 * find-dired.el (find-dired, find-name-dired):
2222 * finder.el (finder-mode-map, finder-mode-syntax-table)
2223 (finder-headmark, finder-select, finder-mouse-select):
2224 Fix docstring typos.
2226 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2228 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2229 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2230 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2231 Fix doc-string based on a suggestion by Nicolas Richard
2232 <theonewiththeevillook@yahoo.fr>.
2233 * help.el (with-help-window): Fix doc-string.
2235 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2237 * net/shr.el (shr-image-animate): New option.
2238 (shr-put-image): Respect shr-image-animate.
2240 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2242 * net/tramp-adb.el (tramp-adb-parse-device-names):
2243 Use `accept-process-output'.
2244 (tramp-adb-handle-file-truename): Cache the localname only.
2245 (tramp-adb-handle-make-directory)
2246 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2247 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2248 modes cannot be changed.
2250 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2251 file properties of symlinks.
2253 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2255 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2256 required/optional fields to match development biblatex. (Bug#16781)
2258 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2260 * saveplace.el (toggle-save-place):
2261 Fix argument handling. (Bug#16673)
2263 2014-02-28 Glenn Morris <rgm@gnu.org>
2265 * minibuffer.el (completions-first-difference)
2266 (completions-common-part, completion-hilit-commonality): Doc fixes.
2268 2014-02-28 Karl Berry <karl@gnu.org>
2270 * info.el (Info-mode-map): Add H for describe-mode,
2271 to synchronize with standalone Info.
2273 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2275 * progmodes/sql.el (sql-interactive-mode):
2276 Avoid setting global comint-input-ring-separator. (Bug#16814)
2278 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2280 * net/dbus.el (dbus--init-bus): Declare function.
2281 (dbus-path-local, dbus-interface-local): New defconst.
2282 (dbus-init-bus): Use them.
2283 (dbus-return-values-table): Extend doc.
2284 (dbus-handle-bus-disconnect): Extend error message.
2286 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2288 * subr.el (y-or-n-p): Fix double space issue in message.
2290 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2292 * net/tramp.el (tramp-call-process): Improve trace message.
2293 (tramp-handle-insert-file-contents): Trace error case.
2295 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2296 <insert-directory>: Use `tramp-handle-insert-directory'.
2297 (tramp-adb-handle-insert-directory): Remove function.
2298 (tramp-adb-send-command-and-check): New defun, replacing
2299 `tramp-adb-command-exit-status'. Change all callees.
2300 (tramp-adb-handle-file-attributes)
2301 (tramp-adb-handle-directory-files-and-attributes): Use it.
2302 (tramp-adb-ls-output-name-less-p):
2303 Use `directory-listing-before-filename-regexp'.
2304 (tramp-adb-handle-delete-directory): Flush also file properties of
2305 the truename of directory.
2306 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2307 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2308 (tramp-adb-handle-write-region): Implement APPEND.
2309 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2310 properties correctly.
2311 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2312 variables. Check for connected devices only when needed.
2314 2014-02-27 Glenn Morris <rgm@gnu.org>
2316 * minibuffer.el (completion-table-dynamic)
2317 (completion-table-with-cache): Doc fixes.
2319 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2320 (completing-read-multiple): Doc fixes.
2322 2014-02-27 Daniel Colascione <dancol@dancol.org>
2324 * minibuffer.el (completion--nth-completion): Fix indentation.
2326 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2327 explicit tramp path is empty.
2329 2014-02-27 Glenn Morris <rgm@gnu.org>
2331 * emacs-lisp/crm.el (completing-read-multiple):
2332 Empower help-enable-auto-load.
2334 2014-02-26 Glenn Morris <rgm@gnu.org>
2336 * startup.el (command-line): Don't init the tty in daemon mode.
2338 Avoid calling tty-setup-hook twice, eg if a term file
2339 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2340 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2341 (tty-create-frame-with-faces): Use it.
2342 * startup.el (command-line): Pass run-hook argument
2343 to tty-run-terminal-initialization.
2345 * dired.el (dired-restore-desktop-buffer): Demote errors;
2346 eg in case a glob match fails. (Bug#16884)
2348 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2350 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2351 error from `read-from-string'. (Bug#16850)
2353 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2354 result of `completing-read' in the interactive form. (Bug#16854)
2356 2014-02-25 Glenn Morris <rgm@gnu.org>
2358 * image.el (image-animate, image-animate-timeout):
2359 Stop animating images in dead buffers. (Bug#16878)
2361 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2363 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2365 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2366 * term/sun.el (sun-raw-prefix-hooks):
2367 Use tty-setup-hook instead of term-setup-hook.
2368 (terminal-init-sun): Construct message from bytecomp plist.
2369 * term/wyse50.el (enable-arrow-keys): Doc fix.
2371 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2373 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2374 Fix docstring typos.
2376 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2378 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2380 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2382 * minibuffer.el (completion--try-word-completion):
2383 Fix error when completing M-x commands (bug#16808).
2385 2014-02-24 Leo Liu <sdl.web@gmail.com>
2387 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2389 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2391 * apropos.el (apropos-print): Avoid formatting error when
2392 apropos-do-all and apropos-compact-layout are both t.
2394 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2396 * apropos.el (apropos-property, apropos-all-words-regexp)
2397 (apropos-true-hit, apropos-variable, apropos-print):
2398 Fix docstring typos, and remove obsolete comment.
2400 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2402 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2403 Preserve trailing "/". (Bug#16851)
2405 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2407 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2408 after `=>' (bug#16811).
2409 (ruby-smie-rules): Handle the inconsistent second element of the
2410 list returned by `smie-indent--parent'.
2411 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2414 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2416 * elec-pair.el (electric-pair-text-syntax-table)
2417 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2418 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2419 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2420 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2422 2014-02-22 Glenn Morris <rgm@gnu.org>
2424 * imenu.el (imenu--generic-function): Doc fix.
2426 * register.el (frame-configuration-to-register): Make obsolete.
2428 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2430 * desktop.el (desktop-save-buffer-p): Do not fail when
2431 desktop-files-not-to-save is nil. Return t for true result
2434 2014-02-22 Daniel Colascione <dancol@dancol.org>
2436 * net/secrets.el (secrets-create-item, secrets-search-items):
2437 Check that attribute values are strings, avoiding the construction
2438 of invalid dbus messages.
2440 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2442 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2443 defun-declarations-alist.
2445 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2447 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2450 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2452 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2453 (whitespace-newline, whitespace-trailing, whitespace-line)
2454 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2455 (whitespace-space-after-tab): Fix typo in docstrings.
2457 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2459 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2461 * electric.el (electric-indent-functions-without-reindent):
2462 Add `yaml-indent-line'.
2464 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2466 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2467 It has done nothing for years; should be removed after the release.
2469 * simple.el (choose-completion): Fix docstring typo.
2470 (read-quoted-char-radix): Remove unneeded * in docstring.
2471 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2472 Don't escape parentheses unnecessarily in docstrings.
2474 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2476 Fix handling of window-min-height/-width (Bug#16738).
2477 * window.el (window--dump-window, window--dump-frame):
2479 (window--min-size-1): Account for window dividers.
2480 When window-resize-pixelwise is nil, delay rounding till after the
2481 sum of the window components has been calculated.
2482 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2483 nil make sure at least one text line and two text columns remain
2485 (window-resize): Signal an error when window-resize-apply fails.
2486 (window--resize-child-windows): Fix calculation of by how many
2487 pixels a window can still be shrunk via window-new-normal.
2488 (adjust-window-trailing-edge): Call window--resizable with
2489 correct TRAIL argument.
2491 (with-temp-buffer-window): Don't evaluate BODY within
2492 with-current-buffer (Bug#16816).
2494 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2496 * net/tramp.el (tramp-check-cached-permissions):
2497 Call `file-attributes' with `suffix' being a symbol but a string.
2499 2014-02-21 Daniel Colascione <dancol@dancol.org>
2501 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2502 (dbus-init-bus): New function: call into dbus-init-bus-1
2503 and installs a handler for the disconnect signal.
2504 (dbus-call-method): Rewrite to look for result in cons.
2505 (dbus-call-method-handler): Store result in cons.
2506 (dbus-check-event): Recognize events with nil sender as valid.
2507 (dbus-handle-bus-disconnect): New function. React to bus
2508 disconnection signal by synthesizing dbus error for each
2509 pending synchronous or asynchronous call.
2510 (dbus-notice-synchronous-call-errors): New function.
2511 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2512 is true, not all the time.
2514 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2516 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2517 Remove obsolescence declarations, these variables do not exist anymore.
2519 * savehist.el (savehist-save-minibuffer-history)
2520 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2521 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2522 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2523 mostly, refer to "Savehist mode" when talking about the mode,
2524 and not the function.
2526 * saveplace.el (save-place): Remove redundant info in docstring.
2527 (save-place-forget-unreadable-files, toggle-save-place)
2528 (save-place-forget-unreadable-files, save-place-dired-hook):
2529 Fix typos and remove unneeded backslashes.
2531 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2533 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2534 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2536 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2537 <insert-directory>: Use `tramp-handle-insert-directory'.
2538 (tramp-gvfs-handle-insert-directory): Remove function.
2540 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2541 Call `tramp-handle-insert-directory'.
2543 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2545 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2546 before the start of buffer/region (bug#16799).
2548 2014-02-20 Glenn Morris <rgm@gnu.org>
2550 * isearch.el (search-invisible): Doc fix.
2552 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2554 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2557 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2559 * frameset.el (frameset-restore): Delay removing an old frame's
2560 duplicate id until the new frame has been correctly created.
2562 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2564 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2565 (tramp-check-cached-permissions): Call `file-attributes' if the
2568 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2569 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2571 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2572 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2573 (tramp-gvfs-maybe-open-connection): Set always connection
2574 properties, even if target is mounted already.
2576 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2577 Set tramp-autoload cookie.
2578 (tramp-get-remote-touch): New defun.
2579 (tramp-sh-handle-set-file-times): Use it.
2580 (tramp-sh-handle-directory-files-and-attributes):
2581 Use `tramp-handle-directory-files-and-attributes' if neither stat
2582 nor perl are available on the remote host.
2584 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2585 "/". Write long listing only when "l" belongs to the switches.
2587 * net/trampver.el: Update release number.
2589 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2591 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2593 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2595 * window.el (window-state-put): Allow WINDOW to refer to an
2596 internal window (Bug#16793).
2598 2014-02-19 Glenn Morris <rgm@gnu.org>
2600 * textmodes/remember.el: Move provide statement to end.
2601 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2602 (remember-notes): Doc fixes.
2604 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2606 * delsel.el (delete-char): Restore incorrectly erased property
2609 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2611 * frameset.el (frameset--restore-frame): When a frame is being reused
2612 and its root window is not alive, delete all the frame's windows before
2613 restoring the window state. This works around the issue in bug#16793.
2615 2014-02-18 Glenn Morris <rgm@gnu.org>
2617 * textmodes/remember.el (remember-data-directory)
2618 (remember-directory-file-name-format, remember-store-in-files)
2619 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2620 (remember-notes-save-and-bury-buffer)
2621 (remember-notes--kill-buffer-query): Doc fixes.
2623 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2625 2014-02-17 Alan Mackenzie <acm@muc.de>
2627 Connect electric-indent-mode up with CC Mode. Bug #15478.
2628 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2629 to electric-indent-{,local-}-mode.
2630 (c-basic-common-init): Set electric-indent-inhibit.
2631 Initialise c-electric-flag from electric-indent-mode.
2632 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2633 New hook functions which propagate electric-indent-mode to CC mode.
2635 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2636 hit, toggle electric-indent-local-mode.
2638 * electric.el (electric-indent-mode-has-been-called):
2641 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2643 * frameset.el (frameset-cfg-id): New function.
2644 (frameset--reuse-frame, frameset-restore): Use it.
2645 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2647 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2649 * ido.el (ido-file-internal): Remove unused var `d'.
2650 Use \` for to match BoS. Fit within 80n columns.
2652 2014-02-17 Daniel Colascione <dancol@dancol.org>
2654 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2655 dbus-call-method check for completion using a busy-wait loop with
2658 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2660 Sync with Tramp 2.2.9.
2662 * net/trampver.el: Update release number.
2664 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2666 * ido.el (ido-file-internal): Don't add the name of an existing
2667 directory twice. (Bug#16747)
2669 2014-02-16 Glenn Morris <rgm@gnu.org>
2671 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2672 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2674 2014-02-15 Michael R. Mauger <michael@mauger.com>
2676 * progmodes/sql.el: Version 3.4
2677 (sql-oracle-options): New default value ("-L").
2678 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
2679 (sql-placeholders-filter): Correct placeholder pattern.
2680 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
2681 (sql-login-delay): New variable.
2682 (sql-product-interactive): Use it.
2684 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
2686 * frameset.el (frameset--jump-to-register): Check that buffer is live
2689 2014-02-15 Glenn Morris <rgm@gnu.org>
2691 * info.el (info-initialize): Revert 2014-01-10 change.
2693 2014-02-14 Glenn Morris <rgm@gnu.org>
2695 * replace.el (map-query-replace-regexp)
2696 (read-regexp-defaults-function, read-regexp): Doc fixes.
2698 * dired.el (dired-read-regexp):
2699 * faces.el (list-faces-display):
2700 * misearch.el (multi-isearch-read-matching-buffers)
2701 (multi-isearch-read-matching-files):
2702 * play/cookie1.el (cookie-apropos):
2703 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2705 * textmodes/remember.el (remember): Use frameset-to-register
2706 rather than frame-configuration-to-register.
2708 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2710 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2711 incorrect keybinding.
2713 2014-02-13 Daniel Colascione <dancol@dancol.org>
2715 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2716 when adding overlays so that line numbers from compiler match line
2719 2014-02-13 Glenn Morris <rgm@gnu.org>
2721 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2723 * jit-lock.el (jit-lock-mode): Doc fix.
2725 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
2727 * apropos.el (apropos-read-pattern): When the user passes an empty
2728 string, give a more helpful error message than "Wrong type
2729 argument: stringp, nil".
2731 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2733 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2735 2014-02-13 Glenn Morris <rgm@gnu.org>
2737 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2739 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2741 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2742 shift-select commands.
2744 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2746 * progmodes/js.el (js-indent-line): Don't widen.
2747 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2749 2014-02-12 Glenn Morris <rgm@gnu.org>
2751 * icomplete.el (icomplete): Add info-link to defgroup.
2752 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2753 (icomplete-minibuffer-map, icomplete-mode)
2754 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2756 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2757 (package-menu-filter): Rename from package-menu-filter-interactive.
2760 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
2762 * frameset.el (frameset--jump-to-register): Select the required
2763 window and buffer before restoring position (bug#16696).
2765 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2767 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2769 2014-02-10 Glenn Morris <rgm@gnu.org>
2771 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2773 2014-02-10 Eli Zaretskii <eliz@gnu.org>
2775 * w32-common-fns.el (x-get-selection): Doc fix.
2776 * select.el (x-get-selection): Doc fix. (Bug#15109)
2778 * face-remap.el (face-remap-add-relative)
2779 (face-remap-remove-relative, face-remap-reset-base)
2780 (face-remap-set-base): Call force-mode-line-update to redisplay
2781 the current buffer due to potential change in faces. (Bug#16709)
2783 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
2785 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2786 script more robustly.
2788 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2790 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2792 * simple.el (choose-completion): Doc fix (bug#14160).
2794 * subr.el (event-start): Say what a nil EVENT value means.
2796 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2799 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2801 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2803 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2805 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2806 predicate function (bug#15455).
2808 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2810 * ielm.el (inferior-emacs-lisp-mode): Instead of
2811 `comment-use-global-state', set `comment-use-syntax'.
2813 2014-02-10 Glenn Morris <rgm@gnu.org>
2815 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2817 2014-02-09 Alan Mackenzie <acm@muc.de>
2819 Fix c-invalidate-state-cache on narrowed buffers.
2820 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2821 Widen when setting and clearing the CPP delimiter properties.
2823 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2825 * help.el (describe-bindings): Doc fix (bug#9888).
2827 * files.el (save-buffer): Use ARG as the parameter name for
2828 consistency (bug#10346).
2829 (save-buffer): Clarify the 0 argument (bug#10346).
2831 * cus-edit.el (customize-apropos): Fix error string.
2832 (custom-buffer-create): Doc fix (bug#11122).
2833 (custom-sort-items): Doc fix (bug#11121).
2835 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2837 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
2838 (icomplete-simple-completing-p): Mention the previous variable.
2840 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2841 meaning of the parameter (bug#12282).
2843 * files.el (find-file-noselect): Clarify prompt when changing
2844 readedness (bug#13261).
2845 (locate-file): Suffixes aren't returned, so don't say that they
2847 (backup-inhibited): Doc clarification (bug#12525).
2849 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2850 before we actually start to delete things (bug#16331).
2852 * subr.el (event-start): Doc fix (bug#14228).
2855 2014-02-09 Glenn Morris <rgm@gnu.org>
2857 * emacs-lisp/warnings.el (lwarn):
2858 Empower help-enable-auto-load. (Bug#15940)
2860 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2862 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2865 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
2867 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2868 Insert output at end of buffer. (Bug#16120)
2870 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2872 * simple.el (choose-completion-string-functions): Document new
2873 calling convention (bug#14153).
2874 (execute-extended-command): Clarify doc string (bug#13373).
2876 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2878 * find-dired.el (find-name-dired): Doc fix (bug#14290).
2879 (find-grep-dired): Doc fix (bug#14288).
2881 2014-02-08 Juri Linkov <juri@jurta.org>
2883 * isearch.el (isearch-quote-char): Check character validity
2884 like in `quoted-insert' (bug#16677).
2886 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2888 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2890 * isearch.el (isearch-hide-immediately): Doc clarification
2893 * simple.el (line-move): Document utility function used many
2894 places in the Emacs sources (bug#14843).
2896 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
2897 (dired-prev-marked-file): Doc fix (bug#14855).
2898 (dired-up-directory): Doc fix (bug#14848).
2900 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2902 * files.el (file-relative-name): Doc fix (bug#15159).
2904 * fringe.el (fringe-styles): Doc fix (bug#15239).
2906 * isearch.el (isearch-filter-predicate): Documentation typo fix
2909 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2911 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2913 * replace.el (replace-match-maybe-edit): Doc clarification
2916 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2918 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2920 2014-02-08 Glenn Morris <rgm@gnu.org>
2922 * help-fns.el (describe-variable):
2923 Check {file,dir}-local-variables-alist, and buffer-file-name,
2924 in the correct buffer.
2926 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2928 * help-fns.el (describe-variable): Fix the case where
2929 a value is directory-local with no dir-locals file. (Bug#16635)
2931 2014-02-08 Glenn Morris <rgm@gnu.org>
2933 * abbrev.el (edit-abbrevs-mode):
2934 Derive from fundamental-mode. (Bug#16682)
2936 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
2938 * simple.el (quoted-insert): Check character validity (bug#16677).
2940 2014-02-07 Juri Linkov <juri@jurta.org>
2942 * desktop.el (desktop-read): Claim the lock when the owner is not
2943 the current process. (Bug#16157)
2945 2014-02-07 Juri Linkov <juri@jurta.org>
2947 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2948 to "\\` ". (Bug#16651)
2950 2014-02-07 Juri Linkov <juri@jurta.org>
2952 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2953 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2954 (desktop-auto-save-cancel-timer): New function with some code from
2955 `desktop-auto-save-set-timer'.
2956 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2957 Instead of setting `desktop-save-mode' to nil, call
2958 `desktop-save-mode' with arg 0. (Bug#16630)
2960 2014-02-07 Glenn Morris <rgm@gnu.org>
2962 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2963 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2964 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2966 * obsolete/iswitchb.el: Move to obsolete/.
2967 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2968 since obsolete/ is not scanned for autoloads.
2969 * emacs-lisp/authors.el (authors-valid-file-names):
2972 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2973 Disable now non-functional find-file-hook.
2975 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
2977 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2978 instead of ";" in order to avoid additional prompts. Let heredoc
2979 scripts read from tty. (Bug#16582)
2980 (tramp-send-command): No special handling of heredocs, it isn't
2983 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2985 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2986 with a space (bug#16664). Limit the symbols considered to the ones
2987 that are bound or fbound (bug#16646).
2989 2014-02-06 Glenn Morris <rgm@gnu.org>
2991 * epa.el (epa-mail-aliases): Doc fix.
2993 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2995 * emacs-lisp/lisp.el (lisp-completion-at-point):
2996 Use `completion-table-merge' instead of `completion-table-in-turn'
2999 * minibuffer.el (completion-table-merge): New function.
3001 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3003 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3004 (tramp-sh-handle-set-file-acl)
3005 (tramp-sh-handle-start-file-process)
3006 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3007 (tramp-find-executable, tramp-send-command): Use it.
3009 2014-02-05 Glenn Morris <rgm@gnu.org>
3011 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3013 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3015 * progmodes/python.el (python-shell-send-string)
3016 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3018 2014-02-04 Anders Lindgren <andlind@gmail.com>
3020 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3021 the names (bug#16620).
3023 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3025 * faces.el (window-divider): New default value. Rewrite doc-string.
3026 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3028 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3030 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3031 `protected' and `public' can also be called without arguments.
3033 2014-02-03 Glenn Morris <rgm@gnu.org>
3035 * register.el (window-configuration-to-register)
3036 (frame-configuration-to-register): Unadvertise unused argument.
3037 * frameset.el (frameset-to-register): Remove unused argument.
3039 * frameset.el (frameset-to-register):
3040 * kmacro.el (kmacro-to-register):
3041 * register.el (increment-register):
3042 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3043 (calc-append-to-register, calc-prepend-to-register):
3044 * play/gametree.el (gametree-layout-to-register)
3045 (gametree-apply-register-layout):
3046 * textmodes/picture.el (picture-clear-rectangle-to-register)
3047 (picture-yank-rectangle-from-register):
3048 * vc/emerge.el (emerge-combine-versions-register):
3049 Use register-read-with-preview to read registers.
3051 2014-02-03 João Távora <joaotavora@gmail.com>
3053 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3054 when at beginning of (possibly narrowed) buffer.
3056 2014-02-02 Daniel Colascione <dancol@dancol.org>
3058 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3059 Also try to display local help from just before point.
3061 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3063 c-parse-state. Don't "append-lower-brace-pair" in certain
3064 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3065 recognised as a comment.
3067 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3068 as well as normal comment starter.
3069 (c-parse-state-get-strategy): Extra return possibility
3071 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3072 return value list to indicate replacement of a brace-pair cons
3074 (c-parse-state-1): With 'back-and-forward, only call
3075 c-append-lower-brace-pair-to state-cache when cons-separated.
3077 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3079 * term/ns-win.el (ns-suspend-error): New function.
3080 (ns-initialize-window-system): Add ns-suspend-error to
3081 suspend-hook (Bug#16612).
3083 2014-02-02 Daniel Colascione <dancol@dancol.org>
3085 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3086 Make loading cc-mode silent.
3088 2014-02-02 Daniel Colascione <dancol@dancol.org>
3090 * comint.el (comint-prompt-read-only): Change doc to suggest
3093 2014-02-02 Glenn Morris <rgm@gnu.org>
3095 * register.el (register-read-with-preview, point-to-register)
3096 (window-configuration-to-register, frame-configuration-to-register)
3097 (jump-to-register, number-to-register, view-register, insert-register)
3098 (copy-to-register, append-to-register, prepend-to-register)
3099 (copy-rectangle-to-register): Doc fixes.
3101 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3103 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3104 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3105 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3106 * help-fns.el (describe-function-1): Use it.
3108 2014-02-02 Glenn Morris <rgm@gnu.org>
3110 * register.el (register-preview-default): New function,
3111 split from register-preview.
3112 (register-preview-function): Rename from register-preview-functions,
3114 (register-preview): Use register-preview-function.
3115 (register-read-with-preview): Error on non-character event. (Bug#16595)
3117 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3119 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3120 `:' before binary operators (bug#16609). Don't check for `:'
3121 before `[' and `(', or their syntax status. A percent literal
3122 can't end with either.
3123 (ruby-font-lock-keywords): For built-ins that require arguments,
3124 check that they're followed by something that looks like argument
3127 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3129 * subr.el (butlast): Document what an omitted N means (bug#13437).
3132 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3134 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3135 depth shallower (bug#16587).
3136 (shr-tag-svg): Respect `shr-inhibit-images'.
3137 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3139 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3141 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3142 (ruby-smie-grammar): Make "." right-associative. Make its priority
3143 lower than the ternary and all binary operators.
3144 (ruby-smie-rules): Indent "(" relative to the first non-"."
3145 parent, or the first "." parent at indentation.
3146 Use `ruby-align-chained-calls' for indentation of "." tokens.
3149 2014-01-31 Juri Linkov <juri@jurta.org>
3151 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3152 from `make-hash-table'.
3154 * textmodes/ispell.el (ispell-init-process): Change message format
3155 to be consistent with other messages.
3157 2014-01-31 Glenn Morris <rgm@gnu.org>
3159 * delsel.el (delete-selection-mode): Doc fix.
3161 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3162 (trace-function-background): Doc fixes.
3164 * ido.el (ido-use-virtual-buffers): Doc fix.
3165 Reset :version, since the default value has not changed.
3167 * register.el (register-preview-delay, register-read-with-preview):
3170 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3171 do not mess with mail-buffer position (fixes 2009-11-03 change).
3172 * progmodes/cc-mode.el (c-submit-bug-report):
3173 Check auto-fill-mode is bound. (Bug#16592)
3175 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3177 * startup.el (fancy-splash-image-file): New function,
3178 split from fancy-splash-head.
3179 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3180 so that we are both using the same image. (Bug#16574)
3182 2014-01-30 Glenn Morris <rgm@gnu.org>
3184 * simple.el (eval-expression): Doc fix.
3186 * hexl.el (hexl-mode-hook):
3187 * ielm.el (ielm-mode-hook):
3188 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3189 (lisp-interaction-mode-hook):
3190 * progmodes/cfengine.el (cfengine3-documentation-function):
3191 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3193 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3195 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3196 is a symbol (bug#16584).
3198 2014-01-30 Glenn Morris <rgm@gnu.org>
3200 * help.el (help-for-help-internal): Add "P" to text.
3202 2014-01-29 Glenn Morris <rgm@gnu.org>
3204 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3206 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3208 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3211 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3213 * progmodes/hideif.el: Extend to full CPP expression syntax.
3214 (hif-token-alist): Add missing tokens.
3215 (hif-token-regexp): Add support for float/octal/hex immediates.
3216 (hif-string-literal-regexp): New const.
3217 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3218 (hif-exprlist): New function.
3219 (hif-parse-if-exp): Use it.
3220 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3221 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3222 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3223 (hif-logxor, hif-comma): New functions.
3225 2014-01-28 Glenn Morris <rgm@gnu.org>
3227 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3229 * indent.el (tab-stop-list): Doc fix. Add :version.
3231 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3232 (cvs-append-to-ignore): Add compatibility alias.
3234 2014-01-27 Glenn Morris <rgm@gnu.org>
3236 * dired.el (dired-hide-details-mode): Don't autoload it,
3237 since it cannot be used outside Dired buffers anyway.
3239 * emulation/cua-base.el (cua-mode): Doc fix.
3241 * dired.el (dired-hide-details-hide-symlink-targets)
3242 (dired-hide-details-hide-information-lines)
3243 (dired-hide-details-mode): Doc fixes.
3245 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3246 * strokes.el (strokes-file): Doc fix. Bump :version.
3247 (strokes-help): Doc fix.
3248 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3249 * emulation/viper.el (viper): Doc fix for custom group.
3250 (top-level): Remove oh-so-no-longer-relevant text about vip.
3251 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3253 * ido.el (ido-save-directory-list-file):
3254 * saveplace.el (save-place-file):
3255 * calendar/timeclock.el (timeclock-file):
3256 * net/quickurl.el (quickurl-url-file):
3257 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3258 * progmodes/idlwave.el (idlwave-config-directory):
3259 * textmodes/remember.el (remember-data-file):
3262 2014-01-26 Glenn Morris <rgm@gnu.org>
3264 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3265 Doc fix. Make obsolete.
3266 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3268 * sort.el (delete-duplicate-lines): Doc fix.
3270 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3272 * progmodes/ada-mode.el (ada):
3273 * woman.el (woman): Link to info manual and Commentary section.
3275 * progmodes/flymake.el (flymake):
3276 * nxml/nxml-mode.el (nxml):
3278 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3279 * htmlfontify.el (htmlfontify):
3282 * ido.el (ido): Link to info manual.
3284 2014-01-25 Leo Liu <sdl.web@gmail.com>
3286 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3288 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3290 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3293 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3295 * net/eww.el (eww-download-callback):
3296 Fix reference to eww-download-directory.
3298 * emacs-lisp/bytecomp.el (byte-compile-file):
3299 Remove unused local variable `file-name'.
3301 2014-01-24 Glenn Morris <rgm@gnu.org>
3303 * woman.el (woman-default-faces, woman-monochrome-faces):
3304 Fix obsolescence specification.
3306 * subr.el (with-demoted-errors): Doc fix.
3308 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3310 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3311 (cl--macroexp-fboundp): New function.
3312 (cl--make-type-test): Use it.
3314 2014-01-23 Glenn Morris <rgm@gnu.org>
3316 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3317 * simple.el (eval-expression): Doc fixes.
3319 2014-01-22 Glenn Morris <rgm@gnu.org>
3321 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3323 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3325 * emacs-lisp/package.el: Write files silently.
3326 (package-autoload-ensure-default-file, package--write-file-no-coding)
3327 (package-generate-description-file, package--download-one-archive)
3328 (package-install-from-archive): Tell `write-region' to stay quiet.
3329 (package-menu-mode, package-menu--print-info): Omit the Archive column
3330 if there's only one archive.
3331 (package-all-keywords, package--has-keyword-p): Remove dead code.
3333 2014-01-22 Glenn Morris <rgm@gnu.org>
3335 * version.el (emacs-bzr-version-bzr): Fix typo.
3337 * version.el (emacs-repository-get-version):
3338 Check either .bzr or .git, but not both.
3339 Make the git case actually use the DIR argument, and return nil
3340 rather than the empty string.
3341 Avoid error if .git exists but the git executable is not found.
3343 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3345 Fixes in window size functions around Bug#16430 and Bug#16470.
3346 * window.el (window-total-size, window-size): New argument ROUND.
3347 (window--min-delta-1, window-min-delta, window--max-delta-1):
3348 Be more conservative when calculating the numbers of lines or
3349 columns a window can shrink (Bug#16430).
3350 (fit-window-to-buffer): Simplify code.
3351 * term.el (term-window-width): Call window-body-width again.
3353 2014-01-22 Glenn Morris <rgm@gnu.org>
3355 * image.el (image-format-suffixes): Doc fix.
3357 * international/quail.el (quail-define-package): Doc fix.
3359 * emacs-lisp/authors.el (authors-valid-file-names)
3360 (authors-renamed-files-alist): Additions.
3362 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3363 reverts 2014-01-09 change. (Bug#16422)
3365 * calc/calc-embed.el (thing-at-point-looking-at):
3366 * emacs-lisp/map-ynp.el (x-popup-dialog):
3367 * obsolete/lmenu.el (x-popup-dialog):
3368 * emacs-lisp/package.el (url-recreate-url):
3369 * mail/mailclient.el (clipboard-kill-ring-save):
3370 * subr.el (x-popup-dialog): Update declaration.
3371 * mail/rmail.el (rmail-mime-message-p):
3372 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3374 2014-01-21 Daniel Colascione <dancol@dancol.org>
3376 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3377 Correctly detect when we're inside an arithmetic expansion form
3378 containing nested parenthesis.
3379 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3380 to detect cases where we shouldn't expand "<<" to a heredoc
3383 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3385 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3386 (eldoc--message-command-p): New function.
3387 (eldoc-display-message-p): Use it.
3388 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3389 message is not automatically erased for us.
3390 (eldoc-print-current-symbol-info): Erase previous message, if any.
3392 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3394 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3395 specify it's an interactive function.
3397 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3398 Fix regex used for scanning for citation keys which failed for
3399 citations with optional arguments.
3401 2014-01-21 Leo Liu <sdl.web@gmail.com>
3403 * simple.el (read--expression): Don't enable eldoc-mode.
3405 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3407 * simple.el (move-beginning-of-line): Make sure we don't move forward
3410 2014-01-20 Juri Linkov <juri@jurta.org>
3412 * saveplace.el (toggle-save-place, save-place-to-alist)
3413 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3414 'dired-mode) before checking for dired-directory. (Bug#16477)
3416 2014-01-20 Juri Linkov <juri@jurta.org>
3418 * indent.el (indent-line-to): Use backward-to-indentation
3419 instead of back-to-indentation. (Bug#16461)
3421 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3423 Revert some of the CANNOT_DUMP fix (Bug#16494).
3424 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3425 but fixing this can wait until after the next release.
3426 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3428 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3430 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3431 Use `password-word-equivalents'.
3432 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3433 to t. (Bug#5664, Bug#13124)
3435 2014-01-19 Alan Mackenzie <acm@muc.de>
3437 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3439 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3440 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3441 * progmodes/cc-mode.el (c-before-change, c-after-change)
3442 (c-font-lock-fontify-region): Bind it here.
3444 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3446 * term.el (term-window-width): Call window-text-width instead of
3447 window-width (Bug#16470).
3449 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3451 * simple.el (password-word-equivalents): Remove duplicates.
3452 Sort, to make this easier next time.
3453 Downcase. Omit ": " after "jelszó".
3455 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3457 * term/common-win.el (saved-region-selection): Defvar it.
3458 (x-select-text): Set saved-region-selection (Bug#16382).
3460 2014-01-18 Glenn Morris <rgm@gnu.org>
3462 * emacs-lisp/authors.el (authors-aliases)
3463 (authors-renamed-files-alist): Add some entries.
3465 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3467 * net/tramp.el (tramp-password-prompt-regexp):
3468 Use `password-word-equivalents' if available.
3469 (tramp-action-password, tramp-process-one-action)
3470 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3472 2014-01-17 Chong Yidong <cyd@gnu.org>
3474 * simple.el (password-word-equivalents): New defcustom.
3475 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3477 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3480 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3482 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3483 (ruby-align-to-stmt-keywords): Change the default value.
3484 Use `ruby-alignable-keywords' to generate the possible customization
3486 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3487 keywords, check against the value of `ruby-alignable-keywords'
3488 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3490 2014-01-17 Glenn Morris <rgm@gnu.org>
3492 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3494 Make M-x authors return zero *Authors Errors* from current logs.
3495 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3496 (authors-ignored-files): Add some entries, remove others.
3497 (authors-ambiguous-files, authors-valid-file-names):
3499 (authors-renamed-files-alist): Add, remove, and adjust entries.
3500 (authors-renamed-files-regexps): Add some entries.
3501 Remove some very broad ones. Make some entries `lax'.
3502 (authors-lax-changelogs): New constant.
3503 (authors-disambiguate-file-name): Treat top-level specially.
3504 (authors-lax-changelog-p): New function.
3505 (authors-canonical-file-name): Check file as written against
3506 authors-valid-file-names. Do not special-case etc/.
3507 Handle `lax' logs and authors-renamed-files-regexps elements.
3509 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3511 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3512 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3515 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3517 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3518 Assume we're already in the proper buffer.
3519 Inspired by Anders Lindgren <andlind@gmail.com>.
3520 (follow-post-command-hook): Call it from the right buffer.
3521 (follow-comint-scroll-to-bottom): Adjust call.
3522 (follow-all-followers): Use get-buffer-window-list.
3524 2014-01-15 Daniel Colascione <dancol@dancol.org>
3526 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3527 `buffer-file-name' in interactive-form so that we don't leave
3528 pathless file names in `file-name-history'.
3530 2014-01-15 Juri Linkov <juri@jurta.org>
3532 * indent.el (indent-rigidly): Set deactivate-mark to nil
3533 in transient indentation mode. (Bug#16438)
3535 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3537 * emacs-lisp/package.el (package-desc-keywords): New function
3539 (describe-package-1, package-all-keywords)
3540 (package--has-keyword-p): Use it.
3542 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3544 * simple.el (define-alternatives): When creating the
3545 COMMAND-alternatives variable, assign COMMAND as its definition
3546 name so that `describe-variable' can relocate it.
3548 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3550 * font-lock.el (font-lock-keywords): Fix typo in docstring
3553 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3555 * ispell.el (ispell-region): Reset `in-comment' for new line
3556 instead of wrongly reset `add-coment' (bug#13577).
3558 2014-01-14 Daiki Ueno <ueno@gnu.org>
3560 * epa-file.el (epa-file-write-region): Encode the region according
3561 to `buffer-file-format'. Problem reported at:
3562 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3564 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3566 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3567 so it applies in the right buffer (bug#16410).
3569 2014-01-13 Daniel Colascione <dancol@dancol.org>
3571 * textmodes/rst.el (rst-define-key): Provide deprecated
3572 keybindings through named functions instead of anonymous ones so
3573 that "??" doesn't appear in describe-mode output.
3575 2014-01-13 Bastien Guerry <bzg@gnu.org>
3577 * simple.el (define-alternatives): Call the selected command
3578 interactively. When setting `COMMAND--implementation' for the
3579 first time, tell the user how to chose another implementation.
3580 Enhance the docstring.
3582 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3584 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3585 (log-edit--match-first-line): New function.
3586 (log-edit-font-lock-keywords): Use it.
3587 (log-edit-mode): Make jit-lock-defer-multiline work.
3589 2014-01-13 Bastien Guerry <bzg@gnu.org>
3591 * rect.el (rectangle-mark-mode): When the region is not active,
3592 display a message saying that the mark as been set and that
3593 rectangle mode is in use.
3594 (rectangle--highlight-for-redisplay): Only put an overlay with a
3595 visible vertical bar when (display-graphic-p) is non-nil.
3596 This partially fixes Bug#16403.
3598 2014-01-13 Juri Linkov <juri@jurta.org>
3600 * info.el (Info-find-file): Go to DIR before displaying the error
3601 about a nonexistent file if no previous Info file is visited.
3602 Use `user-error' instead of `error' for "Info file %s does not exist".
3603 (Info-find-node-2): In case of a nonexistent node in unwind forms
3604 go to the Top node if there is no previous node to revert to.
3607 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3609 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3610 * window.el (fit-frame-to-buffer): Fix doc-string.
3611 Respect window-min-height/-width. Fit pixelwise when
3612 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3613 when avoiding that frame goes partially off-screen.
3614 (fit-window-to-buffer): Respect window-min-height/-width
3617 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3619 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3620 after an empty line.
3622 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3624 * net/shr.el (shr-render-region): Autoload.
3626 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3628 * net/eww.el (eww-download-directory): Rename from
3629 `eww-download-path' (Bug#16419).
3631 2014-01-12 Leo Liu <sdl.web@gmail.com>
3633 * dired-x.el (dired-mode-map): Fix last change.
3635 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3637 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3640 * emacs-lisp/generic.el (generic--normalize-comments):
3641 Rename from generic--normalise-comments. All uses changed.
3642 * play/bubbles.el (bubbles--neighborhood-score)
3643 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3644 (bubbles--neighborhood-available)
3645 (bubbles--update-neighborhood-score):
3646 Rename from names with 'neighbourhood'. All uses changed.
3648 2014-01-12 Leo Liu <sdl.web@gmail.com>
3650 Re-implement the feature of showing eldoc info after editing.
3651 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3652 (eldoc-edit-message-commands): New function.
3653 (eldoc-print-after-edit): New variable.
3654 (eldoc-pre-command-refresh-echo-area): Emit message only by
3655 eldoc-message-commands.
3656 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3657 if eldoc-print-after-edit is set. (Bug#16346)
3658 * simple.el (read--expression): Enable eldoc-mode.
3659 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3661 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3662 Eric S. Raymond <esr@thyrsus.com>
3664 * version.el (emacs-repository-get-version): Enhance so the
3665 function works correctly in either a Bazaar or Git repo.
3667 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
3669 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3670 Goes with removal of the joke manpages from /etc.
3672 2014-01-10 Kenichi Handa <handa@gnu.org>
3674 * mail/rmail.el (rmail-get-coding-system):
3675 Check rmail-get-coding-function before "funcall"ing it.
3677 2014-01-10 Glenn Morris <rgm@gnu.org>
3679 * emacs-lisp/authors.el (authors-fixed-entries):
3680 Update for files that no longer exist.
3682 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
3684 * version.el (emacs-bzr-get-version): Restore compatibilty with
3687 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3689 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3692 2014-01-10 Eli Zaretskii <eliz@gnu.org>
3694 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3696 2014-01-10 Chong Yidong <cyd@gnu.org>
3698 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
3700 2014-01-10 Anders Lindgren <andlind@gmail.com>
3702 * follow.el (follow-cache-command-list): Include right-char and
3705 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3708 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3709 * woman.el (woman-mark-horizontal-position):
3710 Rename from woman-mark-horizonal-position. Use changed.
3712 2014-01-10 Glenn Morris <rgm@gnu.org>
3714 * info.el (info-initialize): If running uninstalled, ensure our
3715 own info files are always found first, even if INFOPATH is set.
3717 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3719 2014-01-09 David Engster <deng@randomsample.de>
3721 * emacs-lisp/eieio-custom.el:
3722 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3723 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3724 * emacs-lisp/eieio.el: Regenerate autoloads.
3726 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
3728 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
3729 following renames. (Bug#8756)
3731 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3733 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3735 (activate-mark): Add `no-tmm' argument.
3736 (set-mark, push-mark-command): Use it instead of running
3737 activate-mark-hook by hand.
3739 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
3741 In preparation for the move to git, sanitize out some
3742 Bazaar-specific names.
3744 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3746 * version.el (emacs-bzr-version): Name changed to
3747 emacs-repository-version. Obsolete-variable alias made.
3748 * loadup.el: Follow through on this name change.
3749 * mail/emacsbug.el (report-emacs-bug): Factor out any
3750 assumption about the version control system in use.
3752 2014-01-08 David Engster <deng@randomsample.de>
3754 * help-fns.el (help-fns-describe-function-functions):
3755 New variable to call functions for augmenting help buffers.
3756 (describe-function-1): Remove explicit calls to
3757 `help-fns--compiler-macro', `help-fns--parent-mode' and
3758 `help-fns--obsolete'. Put them in above new variable instead, and
3759 call them through `run-hook-with-args'.
3760 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3761 `eieio-describe-class'. Not meant for interactive use anymore,
3762 but to augment existing help buffers. Remove optional second
3763 argument. Create proper button for file location.
3764 Rewrite function to use `insert' instead of `princ' and `prin1' where
3766 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3767 (eieio-method-def, eieio-class-def): Move further up.
3768 (describe-method, describe-generic, eieio-describe-method):
3770 (eieio-help-constructor, eieio-help-generic): Rename from
3771 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3772 Rewrite to use `insert' in the current buffer and use proper help
3774 (eieio-help-find-method-definition)
3775 (eieio-help-find-class-definition): Also accept symbols as
3777 (eieio-help-mode-augmentation-maybee): Remove.
3778 (eieio-describe-class-sb): Use `describe-function'.
3779 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3780 Add `eieio-help-generic' and `eieio-help-constructor'.
3782 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3785 * language/china-util.el (hz-ascii-designation):
3786 Rename from hz-ascii-designnation.
3787 (hz-ascii-designation): Rename from hz-ascii-designnation.
3790 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3792 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3795 2014-01-08 Bastien Guerry <bzg@gnu.org>
3797 * emacs-lisp/package.el (package-delete):
3798 Correctly delete the package from package-alist.
3800 2014-01-08 Daiki Ueno <ueno@gnu.org>
3802 * emacs-lisp/package.el (url-recreate-url): Declare.
3803 (url-http-target-url): Declare.
3804 (package-handle-response): Include requested URL in the error message.
3805 (package--check-signature): Don't re-signal errors from
3806 package--with-work-buffer. Suggested by Stefan Monnier.
3808 2014-01-07 Bastien Guerry <bzg@gnu.org>
3810 * minibuffer.el (completion--try-word-completion): When both a
3811 hyphen and a space are possible candidates for the character
3812 following a word, display both candidates. (Bug#15980)
3814 2014-01-07 Martin Rudalics <rudalics@gmx.at>
3816 * window.el (balance-windows-2): While rounding don't give a
3817 window more than the remainder. Bug#16351, bug#16383.
3819 2014-01-07 Glenn Morris <rgm@gnu.org>
3821 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3822 (menu-bar-help-menu): Use view-external-packages instead.
3824 2014-01-07 Bastien Guerry <bzg@gnu.org>
3826 * emacs-lisp/package.el (package-delete): Also delete the package
3827 name from `package-alist', not its description only.
3829 2014-01-07 Glenn Morris <rgm@gnu.org>
3831 * help.el (view-external-packages):
3832 * menu-bar.el (menu-bar-help-extra-packages):
3833 Visit efaq.info rather than etc/MORE.STUFF.
3835 2014-01-07 Juri Linkov <juri@jurta.org>
3837 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3838 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3840 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3841 that shadows RET. (Bug#16342)
3843 2014-01-07 Chong Yidong <cyd@gnu.org>
3845 * isearch.el (isearch-yank-char, isearch-yank-word)
3846 (isearch-yank-line): Doc fix.
3848 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3850 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3851 * emacs-lisp/elint.el (elint-find-builtins):
3852 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3853 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3854 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3855 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3856 * apropos.el (apropos-safe-documentation):
3857 * subr.el (symbol-file): Remove redundant fboundp.
3858 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3860 2014-01-06 Bastien Guerry <bzg@gnu.org>
3862 * hl-line.el (global-hl-line-overlay): Make a local variable.
3863 (global-hl-line-overlays): New variable to store all overlays.
3864 (global-hl-line-mode): Don't delete overlays from the current
3865 buffer when `global-hl-line-sticky-flag' is non-nil.
3866 (global-hl-line-highlight): Add new overlays to
3867 `global-hl-line-overlays'.
3868 (global-hl-line-unhighlight-all): New function to delete all
3869 overlays when turning off `global-hl-line-mode'.
3870 This fixes Bug#16183.
3872 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3874 * subr.el (set-transient-map): Fix nested case and docstring.
3876 2014-01-06 Tassilo Horn <tsdh@gnu.org>
3878 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3881 2014-01-06 Daniel Colascione <dancol@dancol.org>
3883 Fix defun navigation in vc log view.
3885 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3886 like `beginning-of-defun'.
3887 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
3888 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3889 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
3890 (log-view-extract-comment): Call `log-view-current-entry' directly
3891 instead of relying on broken `log-view-beginning-of-defun' behavior.
3893 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3896 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3897 * emacs-lisp/debug.el (cancel-debug-on-entry):
3898 * epg.el (epg-error-to-string):
3899 * files.el (recover-file):
3900 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3901 * mail/emacsbug.el (report-emacs-bug-hook):
3902 * mail/sendmail.el (mail-recover):
3903 * ses.el (ses-yank-resize):
3904 * term/ns-win.el (ns-print-buffer):
3905 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3906 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3908 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3910 2014-01-06 Leo Liu <sdl.web@gmail.com>
3912 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3913 to avoid shadowing global key. (Bug#16354)
3915 2014-01-06 Daniel Colascione <dancol@dancol.org>
3917 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3920 2014-01-05 Martin Rudalics <rudalics@gmx.at>
3922 * window.el (balance-windows): Add mising t to fix Bug#16351.
3924 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3926 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3928 (shr-insert): If we have a word that's longer than `shr-width',
3929 break after it anyway. Otherwise we'll do no breaking once we get
3932 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3934 * net/eww.el (eww): Support single/double quote for search.
3935 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
3936 (eww-history-quit): Delete and use quit-window.
3937 (eww-history-kill): Delete, because it doesn't work well and
3939 (eww-history-mode-map): Delete some keys and add easy-menu.
3941 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3943 Fix misspelling of 'chinese' in rx (Bug#16237).
3944 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3947 Change subword regexps back to vars (Bug#16296).
3948 * progmodes/subword.el (subword-forward-regexp)
3949 (subword-backward-regexp): Change these back to variables.
3951 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3953 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3954 syntax-begin-function (bug#16247).
3956 2014-01-03 Chong Yidong <cyd@gnu.org>
3958 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3959 (advice--docstring): Delete variable.
3960 (advice--make-1): Leave the docstring empty.
3961 (advice-add): Use function-documentation for advised docstring.
3963 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3964 Ignore function-documentation property when getting documentation.
3965 (ad-activate-advised-definition): Use function-documentation
3966 generate the docstring.
3967 (ad-make-advised-definition): Don't call
3968 ad-make-advised-definition-docstring.
3969 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3972 * progmodes/sql.el (sql-help): Use function-documentation instead
3973 of dynamic-docstring-function property. No need to autoload now.
3974 (sql--help-docstring): New variable.
3975 (sql--make-help-docstring): Use it.
3977 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3979 * ielm.el (ielm-tab): Retarget.
3980 (ielm-map): Use ielm-tab for tab.
3981 (ielm-complete-filename): Use comint-filename-completion.
3982 (ielm-complete-symbol): Remove.
3983 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3984 remove ielm-tab from completion-at-point-functions (bug#16224).
3986 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3987 Beware signals raised by predicates (bug#16201).
3989 2014-01-02 Richard Stallman <rms@gnu.org>
3991 * dired-aux.el (dired-do-print): Handle printer-name.
3993 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3994 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
3995 (rmail-epa-decrypt): Turn off mime processing.
3997 * mail/rmail.el (rmail-make-in-reply-to-field):
3998 Add parens in message-id.
4000 * mail/rmail.el (rmail-get-coding-function): Variable.
4001 (rmail-get-coding-system): Use it.
4003 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4005 * international/mule-conf.el: Unify the charset indian-is13194.
4006 (indian-is13194): Specify unify-map.
4008 2013-12-31 Leo Liu <sdl.web@gmail.com>
4010 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4012 2013-12-30 Daniel Colascione <dancol@dancol.org>
4014 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4015 of printing a useless when we resume from sleep.
4017 * progmodes/sh-script.el
4018 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4019 in indentation code. (Bug#16233)
4021 2013-12-28 João Távora <joaotavora@gmail.com>
4023 * elec-pair.el (electric-pair-post-self-insert-function):
4024 Don't open extra newlines at beginning of buffer. (Bug#16272)
4026 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4028 * frame.el (window-system-for-display): Don't allow to create a
4029 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4031 2013-12-28 Glenn Morris <rgm@gnu.org>
4033 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4036 * apropos.el (apropos-match-face):
4037 * calculator.el (calculator-displayer):
4038 * dabbrev.el (dabbrev-search-these-buffers-only):
4039 * face-remap.el (buffer-face-mode-face):
4040 * simple.el (yank-handled-properties):
4041 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4042 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4043 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4044 (hashcash-double-spend-database):
4045 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4046 (ruby-deep-indent-paren-style):
4047 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4048 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4049 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4050 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4051 Specify custom types.
4053 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4054 * bookmark.el (bookmark-bmenu-use-header-line):
4055 * doc-view.el (doc-view-scale-internally):
4056 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4057 * register.el (register-preview-delay):
4058 * net/shr.el (shr-bullet):
4059 * progmodes/cfengine.el (cfengine-cf-promises)
4060 (cfengine-parameters-indent):
4061 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4062 * textmodes/reftex-vars.el (reftex-label-regexps):
4063 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4065 * net/tls.el (tls-certtool-program): Fix default value.
4067 * desktop.el (desktop-restore-in-current-display):
4068 * newcomment.el (comment-empty-lines):
4069 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4070 (idlwave-pad-keyword):
4071 * progmodes/tcl.el (tcl-tab-always-indent):
4072 * textmodes/reftex-vars.el (reftex-index-default-tag):
4073 * elec-pair.el (electric-pair-skip-whitespace):
4074 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4076 * emacs-lisp/authors.el (authors-ignored-files)
4077 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4079 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4081 * shell.el (shell-dynamic-complete-command): Doc fix.
4082 (shell--command-completion-data): Shell completion now matches
4083 executable filenames from the current buffer's directory, on
4084 systems in which this behavior is the default (windows-nt, ms-dos).
4086 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4088 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4090 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4092 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4095 * electric.el: Move all electric-pair-* to elec-pair.el.
4096 * elec-pair.el: New file, split from electric.el.
4098 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4100 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4101 indentation level is larger than the width, because that will
4103 (shr-insert): Fill repeatedly long texts, so that Japanese is
4104 formatted correctly (bug#16263).
4105 (shr-find-fill-point): Off by one error in comparison with the
4108 2013-12-26 João Távora <joaotavora@gmail.com>
4110 * electric.el (electric-pair-mode): More flexible engine for skip-
4111 and inhibit predicates, new options for pairing-related functionality.
4112 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4113 if that keeps or improves their balance in buffers.
4114 (electric-pair-delete-adjacent-pairs): Delete the pair when
4115 backspacing over adjacent matched delimiters.
4116 (electric-pair-open-extra-newline): Open extra newline when
4117 inserting newlines between adjacent matched delimiters.
4118 (electric--sort-post-self-insertion-hook):
4119 Sort post-self-insert-hook according to priority values when
4120 minor-modes are activated.
4121 * simple.el (newline-and-indent): Call newline with interactive
4123 (blink-paren-post-self-insert-function): Set priority to 100.
4124 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4125 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4126 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4127 electric-pair-open-newline-between-pairs to nil.
4129 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4131 * progmodes/python.el: Use lexical-binding.
4132 (python-nav-beginning-of-defun): Stop searching ASAP.
4134 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4136 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4137 Fix interactive spec. Doc fix. (Bug#15754)
4139 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4141 * emacs-lisp/byte-run.el (eval-when-compile):
4142 * progmodes/cc-defs.el (cc-eval-when-compile):
4143 Fix edebug spec (bug#16184).
4145 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4147 * net/shr.el (shr-visit-file): Remove debugging function.
4148 (shr-insert): Don't infloop if we can't find a good place to break
4149 the line (bug#16256).
4151 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4153 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4154 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4155 python-nav-lisp-forward-sexp-safe.
4156 (python-nav--forward-sexp): New argument SAFE allows switching
4157 forward sexp movement behavior for parens.
4158 (python-nav-forward-sexp): Throw errors on unterminated parens
4160 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4161 (python-nav-backward-sexp-safe): New functions.
4162 (python-shell-buffer-substring):
4163 Use `python-nav-forward-sexp-safe'.
4165 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4167 * net/shr.el (shr-find-fill-point): Don't break lines before a
4169 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4170 (shr-find-fill-point): Remove the special checks for the quotation
4171 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4173 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4175 * net/eww.el (eww-form-textarea): Use a different face for
4176 textareas than text input since they have different keymaps
4179 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4181 * progmodes/python.el (python-nav-beginning-of-statement):
4182 Speed up (Bug#15295).
4184 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4186 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4187 the window configuration.
4189 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4191 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4192 we run on MS-Windows or MS-DOS.
4194 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4196 * window.el (balance-windows-area): Call window-size instead of
4197 window-height and window-width. Bug#16241.
4199 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4201 * net/eww.el (eww-bookmark-quit): Remove.
4202 (eww-bookmark-browse): Restore the window configuration when you
4203 choose a bookmark (bug#16144).
4205 2013-12-24 Daniel Colascione <dancol@dancol.org>
4207 * icomplete.el: Remove redundant :group arguments to `defcustom'
4209 (icomplete-show-matches-on-no-input): New customizable variable.
4210 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4211 we have something to show.
4212 (icomplete-exhibit): Compute completions even if we have no user input.
4214 2013-12-23 Daniel Colascione <dancol@dancol.org>
4216 * icomplete.el: Move `provide' to end of file.
4218 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4220 * net/gnutls.el (gnutls-verify-error): Add version tag.
4222 2013-12-23 Chong Yidong <cyd@gnu.org>
4224 * subr.el (set-transient-map): Rename from
4225 set-temporary-overlay-map. Doc fix.
4227 * face-remap.el (text-scale-adjust):
4228 * indent.el (indent-rigidly):
4229 * kmacro.el (kmacro-call-macro):
4230 * minibuffer.el (minibuffer-force-complete):
4231 * repeat.el (repeat):
4232 * simple.el (universal-argument--mode):
4233 * calendar/todo-mode.el (todo-insert-item--next-param):
4234 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4236 * indent.el (indent-rigidly): Use substitute-command-keys.
4238 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4240 * net/eww.el (eww-tag-select): Add text-property to jump to next
4242 (eww): Add non-supported ftp error.
4244 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4246 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4247 comments. Handle electric indent after typing `?' and `!'.
4249 2013-12-22 Chong Yidong <cyd@gnu.org>
4251 * faces.el (face-spec-recalc): If the theme specs are not
4252 applicable to a frame, fall back on the defface spec.
4253 This prevents themes from obliterating faces on low-color terminals.
4255 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4257 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4258 after `{'. We need it after block openers, and it doesn't seem
4259 to hurt after hash openers.
4261 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4263 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4264 extracted from `ruby-smie-rules'.
4265 (ruby--electric-indent-chars): New variable.
4266 (ruby--electric-indent-p): New function.
4267 (ruby-mode): Use `electric-indent-functions' instead of
4268 `electric-indent-chars'.
4270 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4272 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4274 (ruby-smie-rules): Indent plus one level after `=>'.
4276 2013-12-21 Richard Stallman <rms@gnu.org>
4278 * simple.el (newline): Doc fix.
4280 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4282 * net/eww.el (eww-list-histories, eww-list-histories)
4283 (eww-history-browse, eww-history-quit, eww-history-kill)
4284 (eww-history-mode-map, eww-history-mode): New command and
4285 functions to list browser histories.
4286 (eww-form-text): Support text form with disabled
4287 and readonly attributes.
4288 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4290 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4292 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4293 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4294 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4295 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4297 (eww-bookmark-mode-map): Add menu.
4298 (eww-render, eww-mode): Use `setq-local'.
4299 (eww-tool-bar-map): New variable.
4300 (eww-mode): Set `tool-bar-map'.
4301 (eww-view-source): Check for `html-mode' with `fboundp'.
4303 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4305 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4306 elements with text inside. Also remove debugging.
4308 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4310 * cus-start.el (all): Add ns-use-srgb-colorspace.
4312 2013-12-21 Chong Yidong <cyd@gnu.org>
4314 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4315 undefined. Thus, theme settings for undefined faces do not take
4316 effect until the faces are defined with defface, the same as with
4319 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4320 (face-spec-reset-face): Don't assign extra properties in temacs.
4321 (face-spec-recalc): Apply X resources too.
4323 2013-12-21 Chong Yidong <cyd@gnu.org>
4325 * faces.el (face-spec-set):
4326 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4327 * custom.el (defface): Doc fixes (Bug#16203).
4329 * indent.el (indent-rigidly-map): Add docstring, and move commands
4330 into named functions.
4331 (indent-rigidly-left, indent-rigidly-right)
4332 (indent-rigidly-left-to-tab-stop)
4333 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4334 indentation direction based on bidi direction, and accumulate
4335 sequential commands in a single undo boundary.
4336 (indent-rigidly--pop-undo): New utility function.
4338 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4340 * faces.el (read-face-name): Require crm.el when using crm-separator.
4342 2013-12-20 Daniel Colascione <dancol@dancol.org>
4344 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4345 so that we don't reflow comments into the shebang line.
4347 2013-12-20 Juri Linkov <juri@jurta.org>
4349 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4350 a position when `dired-directory' is non-nil. Check integer
4351 positions with `integerp'.
4352 (toggle-save-place, save-places-to-alist): Add check for
4354 (save-place-find-file-hook): Check integer positions with
4356 (save-place-dired-hook): Use `dired-goto-file' when
4357 `dired-filename' is found in the assoc list. Check integer
4358 positions with `integerp'.
4359 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4361 * dired.el (dired-initial-position-hook): Rename back from
4362 `dired-initial-point-hook'.
4363 (dired-initial-position): Rename `dired-initial-point-hook' to
4364 `dired-initial-position-hook'.
4365 (dired-file-name-at-point): Doc fix. (Bug#15329)
4367 2013-12-20 Juri Linkov <juri@jurta.org>
4369 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4370 (read-regexp-suggestions): New function.
4371 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4372 Use `read-regexp-suggestions'. Add non-empty default to history
4374 (occur-read-regexp-defaults-function): Remove function.
4375 (occur-read-primary-args): Use `regexp-history-last' instead of
4376 `occur-read-regexp-defaults-function'.
4378 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4379 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4380 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4381 `hi-lock-read-regexp-defaults-function'. Doc fix.
4382 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4383 with `find-tag-default-as-symbol-regexp'. Doc fix.
4384 (hi-lock-read-regexp-defaults): Remove function.
4385 (hi-lock-regexp-okay): Add check for null.
4387 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4388 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4390 * subr.el (find-tag-default-as-symbol-regexp): New function.
4391 (find-tag-default-as-regexp): Move symbol regexp formatting to
4392 `find-tag-default-as-symbol-regexp'.
4394 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4396 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4399 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4401 * calendar/todo-mode.el: New implementation of item insertion
4402 commands and key bindings.
4403 (todo-key-prompt): New face.
4404 (todo-insert-item): New command.
4405 (todo-insert-item--parameters): New defconst, replacing defvar
4406 todo-insertion-commands-args-genlist.
4407 (todo-insert-item--param-key-alist): New defconst, replacing
4408 defvar todo-insertion-commands-arg-key-list.
4409 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4410 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4411 (todo-insert-item--next-param): New functions.
4412 (todo-insert-item--args, todo-insert-item--argleft)
4413 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4415 (todo-key-bindings-t): Change binding of "i" from
4416 todo-insertion-map to todo-insert-item.
4417 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4418 (todo-insertion-command-name, todo-insertion-commands-names)
4419 (todo-define-insertion-command, todo-insertion-commands)
4420 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4422 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4424 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4425 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4427 (todo-move-category): Allow choosing a non-existing todo file to
4428 move the category to, and create that file.
4429 (todo-default-priority): New user option.
4430 (todo-set-item-priority): Use it.
4431 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4432 (desktop-restore-file-buffer): Declare.
4433 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4434 (todo-modes-set-2): Locally set desktop-save-buffer to
4435 todo-desktop-save-buffer.
4436 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4437 (auto-mode-alist): Add autoload cookie.
4439 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4441 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4442 helpers.el was a poor choice of name.
4443 (string-remove-prefix): New function.
4444 (string-remove-suffix): New function.
4446 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4448 Fix assignment for new window total sizes.
4449 * window.el (window--pixel-to-size): Remove function.
4450 (window--pixel-to-total-1, window--pixel-to-total):
4451 Fix calculation of new total sizes.
4453 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4455 * comint.el (comint-output-filter): Fix rear-nonsticky property
4456 placement (Bug#16010).
4458 2013-12-20 Chong Yidong <cyd@gnu.org>
4460 * faces.el (read-color): Minor fix for completion function.
4462 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4464 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4465 New option. (Bug#16182)
4466 (ruby-smie--indent-to-stmt-p): Use it.
4467 (ruby-smie-rules): Revert the logic in the handling of `when'.
4468 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4469 (ruby-deep-arglist, ruby-deep-indent-paren)
4470 (ruby-deep-indent-paren-style): Update docstrings to note that the
4471 vars don't have any effect with SMIE.
4473 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4475 * calc/calc.el (calc-enter, calc-pop): Use the variable
4476 `calc-context-sensitive-enter'.
4478 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4480 * net/shr.el (shr-insert): Protect against infloops in degenerate
4483 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4485 * progmodes/octave.el (octave): Add link to manual and octave
4487 (octave-mode-menu): Link to octave-mode manual.
4489 2013-12-20 Leo Liu <sdl.web@gmail.com>
4491 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4492 insertion using skeleton-end-newline. (Bug#16138)
4494 2013-12-20 Juri Linkov <juri@jurta.org>
4496 * replace.el (occur-engine): Use `add-face-text-property'
4497 to add the face property to matches and titles. (Bug#14645)
4499 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4500 the palette of other hi-lock colors.
4501 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4503 2013-12-19 Juri Linkov <juri@jurta.org>
4505 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4506 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4507 (minibuffer-history-symbol): Move variable declaration closer to
4510 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4513 2013-12-19 Juri Linkov <juri@jurta.org>
4515 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4517 (log-edit-hook): Add it to :options. (Bug#16170)
4519 2013-12-19 Juri Linkov <juri@jurta.org>
4521 * simple.el (eval-expression-print-format): Don't check for
4522 command names and the last command. Always display additional
4523 formats of the integer result in the echo area, and insert them
4524 to the current buffer only with a zero prefix arg.
4525 Display character when char-displayable-p is non-nil.
4526 (eval-expression): With a zero prefix arg, set `print-length' and
4527 `print-level' to nil, and insert the integer values from
4528 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4530 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4531 `eval-last-sexp-arg-internal'. Doc fix.
4532 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4533 `eval-last-sexp-print-value'. Doc fix.
4534 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4535 Set `print-length' and `print-level' to nil when arg is zero.
4536 (eval-last-sexp): Doc fix.
4537 (eval-defun-2): Print the integer values from
4538 `eval-expression-print-format' at the end.
4540 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4541 values from `eval-expression-print-format' at the end.
4543 * ielm.el (ielm-eval-input): Print the integer
4544 values from `eval-expression-print-format' at the end.
4546 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4548 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4549 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4551 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4553 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4554 (hl-line-highlight, global-hl-line-highlight): Use it.
4555 (hl-line-overlay): Use defvar-local.
4557 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4559 * term/ns-win.el: Require dnd.
4560 (global-map): Remove drag items.
4561 (ns-insert-text, ns-set-foreground-at-mouse)
4562 (ns-set-background-at-mouse):
4563 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4564 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4567 2013-12-19 Glenn Morris <rgm@gnu.org>
4569 * emacs-lisp/ert.el (ert-select-tests):
4570 Fix string/symbol mixup. (Bug#16121)
4572 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4574 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4575 keywords to their parent.
4577 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4579 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4580 first arg to be a string (fixed dead code), or an operator symbol.
4581 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4583 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4584 did nothing. Don't respond to `(:after ".")', it will be called
4585 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4586 change anything. Only return indentation for binary operators
4587 when they are hanging. De-dent opening paren when its parent is
4588 `.', otherwise it looks bad when the dot is not at bol or eol
4591 2013-12-19 Juri Linkov <juri@jurta.org>
4593 * replace.el (query-replace-read-args): Split a non-negative arg
4594 and a negative arg into separate elements.
4595 (query-replace, query-replace-regexp, replace-string)
4596 (replace-regexp): Add arg `backward'. Doc fix.
4597 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4598 move point to the beginning of the match.
4599 (replace-search, replace-highlight): Use new arg `backward'
4600 to set the value of `isearch-forward'.
4601 (perform-replace): Add arg `backward' and use it to perform
4602 replacement backward. (Bug#14979)
4604 * isearch.el (isearch-query-replace): Use a negative prefix arg
4605 to call `perform-replace' with a non-nil arg `backward'.
4607 2013-12-18 Juri Linkov <juri@jurta.org>
4609 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4610 to the default list. Move `log-edit-show-files' to the end.
4611 Add more available functions to options.
4612 (log-edit): Move default specific settings to
4613 `log-edit-insert-message-template'. Don't move point.
4614 (log-edit-insert-message-template): New function.
4615 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4618 2013-12-18 Juri Linkov <juri@jurta.org>
4620 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4621 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4623 2013-12-18 Leo Liu <sdl.web@gmail.com>
4625 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4628 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4630 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4631 formats for displaying file sizes when the -s switch is given.
4632 Instead, compute a separate format for displaying the size in
4633 blocks, which is displayed in addition to the "regular" size.
4634 When -h is given in addition to -s, produce size in blocks in
4635 human-readable form as well. (Bug#16179)
4637 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4639 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4640 Reference tables with ~\ref{...} instead of only \ref{...}.
4642 2013-12-18 Chong Yidong <cyd@gnu.org>
4644 * cus-edit.el (custom-magic-alist): Fix "themed" description
4647 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4648 is non-nil, do not create a new entry in the symbol's theme-value
4649 or theme-face property; update theme-settings only (Bug#14664).
4650 (custom-available-themes): Doc fix.
4652 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4655 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4657 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4659 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4662 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4664 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4666 2013-12-18 Glenn Morris <rgm@gnu.org>
4668 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4669 * cus-start.el (load-prefer-newer): New option.
4671 2013-12-18 Le Wang <l26wang@gmail.com>
4673 * comint.el (comint-previous-matching-input-from-input):
4674 Retain point (Bug#13404).
4676 2013-12-18 Chong Yidong <cyd@gnu.org>
4678 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4680 2013-12-18 Glenn Morris <rgm@gnu.org>
4682 * mail/emacsbug.el (report-emacs-bug):
4683 Only mention enable-multibyte-characters if non-standard.
4685 2013-12-17 Juri Linkov <juri@jurta.org>
4687 * arc-mode.el (archive-extract-by-file): Check if directory exists
4688 before deletion to not show irrelevant errors if it doesn't exist.
4690 2013-12-17 Juri Linkov <juri@jurta.org>
4692 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4695 * net/eww.el (browse-web): Add alias to `eww'.
4696 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4697 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4699 * net/browse-url.el (browse-url-browser-function): Move `eww'
4700 closer to similar functions.
4702 * startup.el (fancy-startup-screen, fancy-about-screen):
4703 Set browse-url-browser-function to eww-browse-url locally.
4706 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4708 * window.el (window--pixel-to-total): Remove unused `mini' var.
4709 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4710 (split-window): Remove unused `new' var.
4711 (window--display-buffer): Remove unused `frame' and `delta' vars.
4712 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4715 2013-12-17 Martin Rudalics <rudalics@gmx.at>
4717 * dired.el (dired-mark-pop-up):
4718 * register.el (register-preview): Don't bind
4719 split-height-threshold here since it's now done in
4720 display-buffer-below-selected.
4722 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4724 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4725 xterm-rgb-convert-to-16bit.
4726 (rxvt-register-default-colors): Standardize with
4727 xterm-register-default-colors (Bug#14078).
4729 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4731 * simple.el (kill-region): Pass mark first, then point, so that
4732 kill-append works right (Bug#12819).
4733 (copy-region-as-kill, kill-ring-save): Likewise.
4735 2013-12-17 Leo Liu <sdl.web@gmail.com>
4737 * net/rcirc.el (rcirc-add-face):
4738 * eshell/em-prompt.el (eshell-emit-prompt):
4739 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4742 2013-12-17 Chong Yidong <cyd@gnu.org>
4744 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4745 Suggested by Xue Fuqiao.
4747 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4749 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4751 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4753 * net/shr.el (shr-insert-document): Remove unused var
4754 `shr-preliminary-table-render'.
4755 (shr-rescale-image): Remove unused arg `force'.
4756 (shr-put-image): Update calls accordingly.
4757 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4759 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4761 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4762 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4763 :close-all, to see which indentation method to use (Bug#16116).
4764 (smie-rules-function): Document the method :close-all.
4766 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4768 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4770 * net/eww.el (eww-display-html): If we can't find the anchor we're
4771 looking for, then go to point-min.
4773 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4775 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4776 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4777 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4778 Expand dir too, in case it's relative.
4780 2013-12-16 Juri Linkov <juri@jurta.org>
4782 * desktop.el (desktop-auto-save-timeout): Change default to
4783 `auto-save-timeout'. Doc fix.
4784 (desktop-save): Skip the timestamp in desktop-saved-frameset
4785 when checking for auto-save changes.
4786 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4787 `desktop-auto-save' is called repeatedly by the idle timer.
4788 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4789 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4792 2013-12-16 Juri Linkov <juri@jurta.org>
4794 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4796 (isearch-pre-command-hook): Check `this-command' for symbolp.
4798 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4800 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4802 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4804 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4805 (cfengine3--current-function): Bring in the current-function
4806 functionality from `cfengine3--current-word'.
4807 (cfengine3-completion-function): Bring in the
4808 bounds-of-current-word functionality from
4809 `cfengine3--current-word'.
4811 2013-12-16 Martin Rudalics <rudalics@gmx.at>
4813 * window.el (display-buffer-below-selected):
4814 Bind split-height-threshold to 0 as suggested by Juri Linkov.
4816 2013-12-16 Leo Liu <sdl.web@gmail.com>
4818 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4819 Remove NOMSG arg and all uses changed.
4821 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4823 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4824 (cua--deactivate-rectangle): Don't deactivate the mark.
4825 (cua-set-rectangle-mark): Don't set mark-active since
4826 cua--activate-rectangle already does it for us.
4827 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4828 non-rectangular region.
4830 * emulation/cua-base.el (cua-repeat-replace-region):
4831 Use with-current-buffer.
4833 * net/gnutls.el: Use cl-lib.
4834 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4836 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4838 * emacs-lisp/package.el (package-built-in-p): Support both
4839 built-in and the package.el converted package descriptions.
4840 (package-show-package-list): Allow keywords.
4841 (package-keyword-button-action): Use it instead of
4842 `finder-list-matches'.
4843 (package-menu-filter-interactive): Interactive filtering (by
4845 (package-menu--generate): Support keywords and change keymappings
4846 and headers when they are given.
4847 (package--has-keyword-p): Helper function.
4848 (package-menu--refresh): Use it.
4849 (package--mapc): Helper function.
4850 (package-all-keywords): Use it.
4851 (package-menu-mode-map): Set up menu items and keybindings to
4852 provide a filtering UI.
4854 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4856 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4857 the behavior when a certificate fails validation. Defaults to
4858 old behavior: never abort, just warn.
4859 (gnutls-negotiate): Use it.
4861 2013-12-14 Martin Rudalics <rudalics@gmx.at>
4863 * window.el (display-buffer-below-selected): Never split window
4864 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4866 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4868 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4869 (package-buffer-info): Use it (bug#15108).
4871 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4873 * icomplete.el (icomplete-completions): Make sure the prefix is already
4874 displayed elsewhere before hiding it (bug#16219).
4876 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4878 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4879 open-paren tokens when preceded by a open-paren, too.
4880 (ruby-smie-rules): Handle virtual indentation after open-paren
4881 tokens specially. If there is code between it and eol, return the
4882 column where is starts (Bug#16118).
4884 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4886 * progmodes/cfengine.el: Fix `add-hook' doc.
4887 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
4888 (cfengine3--current-word): Fix parameters.
4889 (cfengine3-make-syntax-cache): Simplify further.
4890 (cfengine3-completion-function, cfengine3--current-function):
4891 Use `assq' for symbols.
4892 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4894 2013-12-13 Glenn Morris <rgm@gnu.org>
4896 * loadup.el (load-path): Warn if site-load or site-init changes it.
4897 No more need to reset it when bootstrapping.
4899 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4901 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4902 locations for cf-promises.
4903 (cfengine-mode-syntax-functions-regex): New caching variable.
4904 (cfengine3-fallback-syntax): Fallback syntax for cases where
4905 cf-promises doesn't run.
4906 (cfengine3--current-word): Reimplement using
4907 `cfengine-mode-syntax-functions-regex'.
4908 (cfengine3-completion-function, cfengine3--current-function):
4909 Use `cfengine3-make-syntax-cache' directly.
4910 (cfengine3-clear-syntax-cache): New function.
4911 (cfengine3-make-syntax-cache): Simplify and create
4912 `cfengine-mode-syntax-functions-regex' on demand.
4913 (cfengine3-format-function-docstring): Don't call
4914 `cfengine3-make-syntax-cache' explicitly.
4916 2013-12-13 Martin Rudalics <rudalics@gmx.at>
4918 Fix windmove-find-other-window broken after pixelwise resizing
4920 * windmove.el (windmove-other-window-loc): Revert change from
4922 (windmove-find-other-window): Call window-in-direction.
4923 * window.el (window-in-direction): New arguments SIGN, WRAP and
4924 MINI to emulate original windmove-find-other-window behavior.
4926 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4928 * simple.el (blink-matching--overlay): New variable.
4929 (blink-matching-open): Instead of moving point, highlight the
4930 matching paren with an overlay
4931 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4933 * faces.el (paren-showing-faces, show-paren-match)
4934 (show-paren-mismatch): Move from paren.el.
4936 2013-12-13 Leo Liu <sdl.web@gmail.com>
4938 * indent.el (indent-region): Disable progress reporter in
4939 minibuffer. (Bug#16108)
4941 * bindings.el (visual-order-cursor-movement): Fix version.
4943 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4945 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4946 Also match after beginning of line.
4947 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
4948 files. Thanks to Russell Sim. (Bug#15378)
4950 2013-12-13 Juri Linkov <juri@jurta.org>
4952 * simple.el <Keypad support>: Remove key bindings duplicated
4953 with bindings.el. (Bug#14397)
4955 2013-12-13 Juri Linkov <juri@jurta.org>
4957 * comint.el (comint-mode-map): Replace `delete-char' with
4958 `delete-forward-char'. (Bug#16109)
4960 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4962 * progmodes/python.el (python-indent-calculate-indentation):
4963 Fix de-denters cornercase. (Bug#15731)
4965 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4967 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4968 (advice--make): Pay attention to `depth'.
4969 (advice--make-1): Don't autoload commands eagerly.
4970 * emacs-lisp/elp.el (elp-instrument-function):
4971 * emacs-lisp/trace.el (trace-function-internal):
4972 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4974 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4976 2013-12-12 Eli Zaretskii <eliz@gnu.org>
4978 * term/w32-win.el (w32-handle-dropped-file):
4979 * startup.el (normal-top-level):
4980 * net/browse-url.el (browse-url-file-url):
4981 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4982 decode file names using 'utf-8' rather than
4983 file-name-coding-system.
4985 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4987 * progmodes/python.el (python-indent-context)
4988 (python-indent-calculate-indentation): Fix auto-identation
4989 behavior for comment blocks. (Bug#15916)
4991 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4993 * progmodes/python.el (python-indent-calculate-indentation):
4994 When determining indentation, don't treat "return", "pass", etc., as
4995 operators when they are just string constituents. (Bug#15812)
4997 2013-12-12 Juri Linkov <juri@jurta.org>
4999 * uniquify.el (uniquify-buffer-name-style): Change default to
5000 `post-forward-angle-brackets'.
5002 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5003 `uniquify'. Change default to `post-forward-angle-brackets'.
5005 2013-12-11 Glenn Morris <rgm@gnu.org>
5007 * emacs-lisp/package.el (finder-list-matches):
5008 Autoload rather than falsely declaring.
5010 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5012 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5013 (eww-mode-map): Use them.
5015 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5017 * window.el (display-buffer-in-side-window): Fix doc-string
5020 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5022 * vc/vc-git.el: Silence byte-compiler warnings.
5023 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5024 (log-edit-set-header): Declare.
5026 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5028 * Makefile.in (custom-deps, finder-data): Run output file names
5029 through unmsys--file-name. (Bug#16099)
5031 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5033 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5034 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5036 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5037 instead of deleting the selection "by hand" (bug#16098).
5038 Rely on insert-for-yank to yank rectangles.
5039 (cua-highlight-region-shift-only): Mark obsolete.
5040 (cua-mode): Don't enable/disable transient-mark-mode,
5041 shift-select-mode (cua-mode works both with and without them), and
5042 pc-selection-mode (obsolete).
5043 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5044 (cua--deactivate-rectangle): Deactivate it.
5046 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5047 (delete-selection-helper): Make sure yank starts at the top of the
5049 (minibuffer-keyboard-quit): Use region-active-p.
5051 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5053 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5054 to `delete' (bug#16109).
5056 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5058 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5059 info manual and show keybindings and set `:group' keyword.
5061 2013-12-11 Juri Linkov <juri@jurta.org>
5063 * delsel.el (delete-active-region): Let-bind `this-command'
5064 to prevent `kill-region' from changing its original value.
5065 (delete-selection-helper): Handle `overwrite-mode' for the type
5066 `kill' exactly the same way as for the type `t'.
5067 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5068 Support more commands. (Bug#13312)
5070 2013-12-11 Juri Linkov <juri@jurta.org>
5072 * bindings.el: Map kp keys to non-kp keys systematically
5073 with basic modifiers control, meta and shift. (Bug#14397)
5075 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5077 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5078 "Close browser" menu items. Fix wrong function of "List
5081 2013-12-11 Juri Linkov <juri@jurta.org>
5083 * misearch.el (multi-isearch-buffers): Set the value of
5084 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5085 arg of isearch-forward to t.
5086 (multi-isearch-buffers-regexp): Set the value of
5087 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5088 arg of isearch-forward-regexp to t.
5089 (multi-isearch-files): Set the value of
5090 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5091 arg of isearch-forward to t.
5092 (multi-isearch-files-regexp): Set the value of
5093 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5094 arg of isearch-forward-regexp to t. (Bug#16035)
5096 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5097 arg of isearch-forward to t.
5098 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5099 arg of isearch-forward-regexp to t.
5100 (dired-isearch-filter-filenames): Remove unnecessary check for
5101 `dired-isearch-filenames'.
5103 * comint.el (comint-history-isearch-backward):
5104 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5105 (comint-history-isearch-backward-regexp):
5106 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5108 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5110 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5111 unmsys--file-name. (Bug#16099)
5113 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5115 * emacs-lisp/package.el (package-keyword-button-action):
5116 Remove finder.el require dependency.
5118 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5120 * emacs-lisp/package.el: Require finder.el.
5121 (describe-package-1): Add keyword buttons.
5122 (package-make-button): New convenience function.
5123 (package-keyword-button-action): Keyword button action using
5124 `finder-list-matches'.
5126 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5128 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5131 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5133 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5136 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5138 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5139 after the end of a percent literal.
5141 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5143 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5144 Handle caret-delimited strings (Bug#16079).
5146 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5148 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5149 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5150 `ruby-parse-partial' (Bug#16078).
5152 2013-12-09 Leo Liu <sdl.web@gmail.com>
5154 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5156 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5158 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5159 (js-switch-indent-offset): New option.
5160 (js--proper-indentation): Use it. And handle the case when
5161 "default" is actually a key in an object literal.
5162 (js--same-line): New function.
5163 (js--multi-line-declaration-indentation): Use it.
5164 (js--indent-in-array-comp, js--array-comp-indentation):
5166 (js--proper-indentation): Use them, to handle array comprehension
5169 2013-12-08 Leo Liu <sdl.web@gmail.com>
5171 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5172 (flymake-make-overlay): Remove arg MOUSE-FACE.
5173 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5175 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5177 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5179 (redisplay-highlight-region-function): Use it.
5181 * emulation/cua-base.el (cua--explicit-region-start)
5182 (cua--last-region-shifted): Remove.
5183 (cua--deactivate): Use deactivate-mark.
5184 (cua--pre-command-handler-1): Don't handle shift-selection.
5185 (cua--post-command-handler-1): Don't change transient-mark-mode.
5186 (cua--select-keymaps): Use region-active-p rather than
5187 cua--explicit-region-start or cua--last-region-shifted.
5188 (cua-mode): Enable shift-select-mode.
5190 2013-12-08 Leo Liu <sdl.web@gmail.com>
5192 * progmodes/flymake.el (flymake-popup-current-error-menu):
5193 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5194 (flymake-posn-at-point-as-event, flymake-popup-menu)
5195 (flymake-make-emacs-menu): Remove. (Bug#16077)
5197 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5199 * rect.el (rectangle-mark-mode): Activate mark even if
5200 transient-mark-mode is off (bug#16066).
5201 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5202 is > mark and at bolp.
5204 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5205 (region-extract-function): Use it.
5206 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5207 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5209 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5210 kill-ring-save, kill-region, delete-char, delete-forward-char.
5211 Ignore self-insert-iso.
5213 * emulation/cua-gmrk.el (cua--init-global-mark):
5214 Ignore `self-insert-iso'.
5216 * emulation/cua-base.el (cua--prefix-copy-handler)
5217 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5218 checking cua--rectangle.
5219 (cua-delete-region): Use region-extract-function.
5220 (cua-replace-region): Delete function.
5221 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5222 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5223 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5224 (cua--init-keymaps): Don't remap delete-selection commands.
5225 (cua-mode): Use delete-selection-mode instead of rolling our own
5228 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5229 Obey region-extract-function.
5231 Make registers and delete-selection-mode work on rectangles.
5232 * register.el (describe-register-1): Don't modify the register's value.
5233 (copy-to-register): Obey region-extract-function.
5234 * delsel.el (delete-active-region): Obey region-extract-function.
5236 2013-12-08 Leo Liu <sdl.web@gmail.com>
5238 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5239 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5240 (flymake-compilation-prevents-syntax-check)
5241 (flymake-start-syntax-check-on-newline)
5242 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5243 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5244 (flymake-xml-program, flymake-master-file-dirs)
5245 (flymake-master-file-count-limit)
5246 (flymake-allowed-file-name-masks): Relocate.
5247 (flymake-makehash, flymake-float-time)
5248 (flymake-replace-regexp-in-string, flymake-split-string)
5249 (flymake-get-temp-dir): Remove.
5250 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5251 (flymake-current-row, flymake-selected-frame)
5252 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5253 related functions. (Bug#16077)
5255 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5257 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5259 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5261 * help-fns.el (describe-function-1): Use new advice-* functions
5262 rather than old ad-* functions. Fix function type description and
5263 source links for advised functions and subrs.
5265 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5267 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5269 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5271 * progmodes/compile.el (compilation-start):
5272 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5274 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5275 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5277 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5279 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5280 Touch up the last change.
5282 2013-12-06 Leo Liu <sdl.web@gmail.com>
5284 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5285 (inferior-octave-startup): Always use "octave> " for prompt.
5286 (octave-goto-function-definition)
5287 (octave-sync-function-file-names)
5288 (octave-find-definition-default-filename): Remove redundant backquotes.
5290 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5292 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5294 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5295 where appropriate already.
5296 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5297 end of method names (Bug#15874).
5299 2013-12-06 Juri Linkov <juri@jurta.org>
5301 * isearch.el (isearch--saved-overriding-local-map):
5302 New internal variable.
5303 (isearch-mode): Set it to the initial value of
5304 `overriding-terminal-local-map'.
5305 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5306 with `isearch--saved-overriding-local-map'. (Bug#16035)
5308 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5310 * progmodes/octave.el (inferior-octave-completion-table):
5311 Turn back into function, use `completion-table-with-cache'
5312 (Bug#11906). Update all references.
5314 * minibuffer.el (completion-table-with-cache): New function.
5316 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5318 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5320 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5322 * net/eww.el (eww-current-source): New variable to store page
5324 (eww-display-html, eww-mode, eww-save-history)
5325 (eww-restore-history): Use it.
5326 (eww-view-source): New command to view page source.
5327 Opportunistically uses `html-mode' to highlight the buffer.
5328 (eww-mode-map): Install it.
5330 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5332 * net/dbus.el (dbus-unregister-service)
5333 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5335 (dbus-unregister-service): Skip :serial entries in
5336 `dbus-registered-objects-table'.
5337 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5339 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5341 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5342 around keywords with extra `split-string' argument.
5344 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5346 * windmove.el (windmove-other-window-loc): Handle navigation
5347 between windows (excluding the minibuffer window - Bug#16017).
5349 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5351 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5352 in D-Bus type syntax.
5353 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5354 preserve unibyte strings. (Bug#16048)
5356 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5358 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5359 Call force-mode-line-update is the proper buffer (bug#16042).
5361 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5363 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5364 `log-edit-remember-comment', make argument optional. Adjust all
5366 (log-edit-mode): Add `log-edit-remember-comment' to
5367 `kill-buffer-hook' locally.
5368 (log-edit-kill-buffer): Don't remember comment explicitly since
5369 the buffer is killed anyway.
5371 2013-12-04 Juri Linkov <juri@jurta.org>
5373 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5374 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5376 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5378 * notifications.el (notifications-close-notification): Call the
5379 D-Bus method with ID being a `:uint32'. (Bug#16030)
5381 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5383 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5385 2013-12-03 Juri Linkov <juri@jurta.org>
5387 * progmodes/compile.el (compilation-start): Rename window alist
5388 entry `no-display-ok' to `allow-no-window'.
5390 * simple.el (shell-command): Add window alist entry
5391 `allow-no-window' to `display-buffer'.
5392 (async-shell-command): Doc fix.
5394 * window.el (display-buffer-no-window): New action function.
5395 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5397 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5399 * vc/log-edit.el (log-edit-set-header): Extract from
5400 `log-edit-toggle-header'.
5401 (log-edit-extract-headers): Separate the summary, when extracted
5402 from header, from the rest of the message with an empty line.
5404 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5405 line, if present, to the Summary header.
5407 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5409 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5410 in current-buffer (bug#16029).
5412 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5414 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5415 (debugger-mode-map): Bind it.
5416 (debugger--backtrace-base): New function.
5417 (debugger-eval-expression): Use it.
5418 (debugger-frame-number): Skip local vars when present.
5419 (debugger--locals-visible-p, debugger--insert-locals)
5420 (debugger--show-locals, debugger--hide-locals): New functions.
5422 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5424 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5426 (tramp-get-remote-locale): New defun.
5427 (tramp-open-connection-setup-interactive-shell): Use it.
5429 2013-12-02 Leo Liu <sdl.web@gmail.com>
5431 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5433 * progmodes/sh-script.el (sh-shell-process):
5434 * progmodes/octave.el (inferior-octave-process-live-p):
5435 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5436 (gdb-inferior-io-sentinel):
5437 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5439 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5441 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5442 `save-selected-window' to `log-edit-hide-buf'. This makes
5443 `log-edit-show-files' idempotent.
5444 (log-edit-show-files): Mark the new window as dedicated.
5446 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5448 * vc/log-edit.el (log-edit-mode-map): Add binding for
5449 `log-edit-kill-biffer'.
5450 (log-edit-hide-buf): Add a FIXME comment.
5451 (log-edit-add-new-comment): New function, extracted from
5453 (log-edit-done, log-edit-add-to-changelog): Use it.
5454 (log-edit-kill-buffer): New command.
5456 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5458 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5459 instead of killing the buffer.
5461 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5463 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5465 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5467 * net/eww.el (eww-form-checkbox-selected-symbol)
5468 (eww-form-checkbox-symbol): New customizable variable.
5469 (eww-form-checkbox, eww-toggle-checkbox):
5470 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5472 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5473 (shr--get-media-pref, shr--extract-best-source): New function.
5474 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5475 no :src tag was specified.
5477 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5478 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5479 Use \\` to match beginning of string instead of ^.
5480 (eww-browse-with-external-browser): Provide optional URL parameter.
5481 (eww-render): Set `eww-current-title' back to "".
5483 * net/shr.el (shr-tag-video): Display content for video if no
5484 poster is available.
5485 (shr-tag-audio): Add support for <audio> tag.
5487 * net/eww.el (eww-text-input-types): New const.
5488 (eww-process-text-input): Treat input types in
5489 `eww-text-input-types' as text.
5491 * net/shr.el (shr-tag-table): Fix comment typo.
5493 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5495 * net/eww.el (eww-follow-link): New command to avoid reloading
5496 pages when we follow #target links (bug#15243).
5497 (eww-quit): Special mode buffers shouldn't query before exiting.
5499 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5501 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5504 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5506 * net/eww.el (eww-restore-history): Update the window title after
5507 moving in the history.
5508 (eww-current-dom): New variable used to save the current DOM.
5510 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5512 * vc/log-edit.el (log-edit-mode-map): Add binding for
5513 `log-edit-beginning-of-line'.
5514 (log-edit-setup-add-author): New user option.
5515 (log-edit-beginning-of-line): New command.
5516 (log-edit): Move major mode call above the contents setup so that
5517 the local variable values are already applied.
5518 (log-edit): Only insert "Author: " when
5519 `log-edit-setup-add-author' is non-nil.
5520 (log-edit): When SETUP is non-nil, position point after ": "
5521 instead of point-min.
5523 2013-12-01 Glenn Morris <rgm@gnu.org>
5525 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5527 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5529 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5530 redisplay to make sure the initial frame gets a chance to become
5531 visible. (Bug#16014)
5533 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5535 Support resizing frames and windows pixelwise.
5536 * cus-start.el (frame-resize-pixelwise)
5537 (window-resize-pixelwise): New entries.
5538 * emacs-lisp/debug.el (debug): Use window-total-height instead
5539 of window-total-size.
5540 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5541 * help.el (describe-bindings-internal): Use help-buffer as
5542 argument for with-help-window.
5543 (temp-buffer-max-width): New option.
5544 (resize-temp-buffer-window, help-window-setup)
5545 (with-help-window): Rewrite.
5546 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5548 * window.el (frame-char-size, window-min-pixel-height)
5549 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5550 (window-min-pixel-width, window-safe-min-pixel-size)
5551 (window-combination-p, window-safe-min-size)
5552 (window-resizable-p, window--size-to-pixel)
5553 (window--pixel-to-size, window--resize-apply-p): New functions.
5554 (window-safe-min-height): Fix doc-string.
5555 (window-size, window-min-size, window--min-size-1)
5556 (window-sizable, window-sizable-p, window--min-delta-1)
5557 (window-min-delta, window--max-delta-1, window-max-delta)
5558 (window--resizable, window--resizable-p, window-resizable)
5559 (window-full-height-p, window-full-width-p, window-at-side-p)
5560 (window--in-direction-2, window-in-direction)
5561 (window--resize-reset-1, window--resize-mini-window)
5562 (window-resize, window-resize-no-error)
5563 (window--resize-child-windows-normal)
5564 (window--resize-child-windows, window--resize-siblings)
5565 (window--resize-this-window, window--resize-root-window)
5566 (window--resize-root-window-vertically)
5567 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5568 (maximize-window, minimize-window, delete-window)
5569 (quit-restore-window, window-split-min-size, split-window)
5570 (balance-windows-2, balance-windows)
5571 (balance-windows-area-adjust, balance-windows-area)
5572 (window--state-get-1, window-state-get, window--state-put-1)
5573 (window--state-put-2, window-state-put)
5574 (display-buffer-record-window, window--display-buffer):
5575 Make functions handle pixelwise sizing of windows.
5576 (display-buffer--action-function-custom-type)
5577 (display-buffer-fallback-action):
5578 Add display-buffer-in-previous-window.
5579 (display-buffer-use-some-window): Resize window to height it had
5581 (fit-window-to-buffer-horizontally): New option.
5582 (fit-frame-to-buffer): Describe new values.
5583 (fit-frame-to-buffer-bottom-margin): Replace with
5584 fit-frame-to-buffer-margins.
5585 (window--sanitize-margin): New function.
5586 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5587 using window-text-pixel-size.
5589 2013-11-30 Glenn Morris <rgm@gnu.org>
5591 * emacs-lisp/bytecomp.el (byte-compile-form):
5592 Make the `interactive-only' warning like the `obsolete' one.
5593 * comint.el (comint-run):
5594 * files.el (insert-file-literally, insert-file):
5595 * replace.el (replace-string, replace-regexp):
5596 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5597 (goto-line, insert-buffer, next-line, previous-line):
5598 Tweak `interactive-only' spec.
5600 Stop keeping (most) generated cedet grammar files in the repository.
5601 * Makefile.in (semantic): New.
5602 (compile-main): Depend on semantic.
5604 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5606 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5607 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5609 * uniquify.el (uniquify-buffer-name-style): Change default.
5611 * loadup.el: Preload "uniquify".
5613 * time.el (display-time-update): Update all mode lines (bug#15999).
5615 * electric.el (electric-indent-mode): Enable by default.
5616 * loadup.el: Preload "electric".
5618 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5620 * emacs-lisp/helpers.el (string-empty-p): New function.
5621 (string-blank-p): New function.
5623 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5625 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5628 2013-11-29 Andreas Politz <politza@fh-trier.de>
5629 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5630 allow non-lambda lists as functions.
5631 (imenu--in-alist): Don't recurse into non-subalists.
5632 (imenu): Don't pass function itself as an argument (Bug#14029).
5634 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5636 * progmodes/python.el (python-mode-map): Remove binding for ":".
5637 (python-indent-electric-colon): Remove command.
5638 (python-indent-post-self-insert-function): Integrate the previous code
5639 of python-indent-electric-colon. Make it conditional on
5640 electric-indent-mode.
5641 (python-mode): Add ?: to electric-indent-chars.
5642 Move python-indent-post-self-insert-function to the end of
5643 post-self-insert-hook.
5645 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5647 * doc-view.el (doc-view-goto-page): Update mode-line.
5649 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5651 2013-11-27 Glenn Morris <rgm@gnu.org>
5653 * international/charprop.el, international/uni-bidi.el:
5654 * international/uni-category.el, international/uni-combining.el:
5655 * international/uni-comment.el, international/uni-decimal.el:
5656 * international/uni-decomposition.el, international/uni-digit.el:
5657 * international/uni-lowercase.el, international/uni-mirrored.el:
5658 * international/uni-name.el, international/uni-numeric.el:
5659 * international/uni-old-name.el, international/uni-titlecase.el:
5660 * international/uni-uppercase.el:
5661 Remove generated files from VCS repository.
5663 2013-11-27 Eli Zaretskii <eliz@gnu.org>
5665 * filenotify.el (file-notify-add-watch): Don't special-case
5666 w32notify when computing the directory to watch.
5668 2013-11-27 Glenn Morris <rgm@gnu.org>
5670 Make bootstrap without generated uni-*.el files possible again.
5671 * loadup.el: Update command-line-args checking for unidata-gen.
5672 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5673 * composite.el, international/characters.el:
5674 Handle unicode tables being undefined.
5676 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
5677 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5678 (compile-main): Depend on leim rule.
5680 * loadup.el: Move leim-list.el to leim/ subdirectory.
5681 * startup.el (normal-top-level): No more leim directory.
5682 * international/ja-dic-cnv.el (skkdic-convert):
5683 Disable version-control and autoloads in output files.
5684 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5685 Disable version-control and autoloads in output files.
5686 * leim/quail: Move here from ../leim.
5687 * leim/quail/hangul.el (hangul-input-method-activate):
5688 Add autoload cookie.
5689 (generated-autoload-load-name): Set file-local value.
5690 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5691 (generated-autoload-load-name): Set file-local value.
5693 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
5695 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
5696 (eww-add-bookmark): Ask confirmation when add to bookmarks.
5697 (eww-quit): Ask confirmation before quitting eww.
5699 2013-11-26 Eli Zaretskii <eliz@gnu.org>
5701 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5702 reading output from Diff on MS-Windows and MS-DOS.
5704 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5706 * emacs-lisp/helpers.el (string-reverse): New function.
5708 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
5710 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5711 names on MS Windows, like "/[::1]:".
5713 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5716 2013-11-26 Glenn Morris <rgm@gnu.org>
5718 * progmodes/python.el (python-indent-guess-indent-offset):
5719 Avoid corner-case error. (Bug#15975)
5721 Preload leim-list.el. (Bug#4789)
5722 * loadup.el: Load leim-list.el when found.
5723 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5725 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
5727 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5729 * emacs-lisp/helpers.el (string-join): New function.
5731 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
5733 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5734 Mark as obsolete and replace it with a symbol property.
5735 (byte-compile-form): Use new 'interactive-only property.
5736 * comint.el, files.el, replace.el, simple.el:
5737 Apply new 'interactive-only properly.
5739 2013-11-25 Martin Rudalics <rudalics@gmx.at>
5741 * window.el (display-buffer-at-bottom): Make sure that
5742 split-window-sensibly creates the new window on bottom
5745 2013-11-23 David Kastrup <dak@gnu.org>
5747 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5748 on the conflict markers when available.
5749 (smerge--get-marker): New function.
5750 (smerge-end-re, smerge-base-re): Add subgroup.
5752 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5754 * frame.el (handle-focus-in, handle-focus-out): Add missing
5757 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
5759 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5760 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5762 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5764 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5765 (gomoku--last-pos): New var.
5766 (gomoku--intangible-chars): New const.
5767 (gomoku--intangible): New function.
5768 (gomoku-mode): Use it. Derive from special-mode.
5769 (gomoku-move-up): Adjust line count.
5770 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5771 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5772 Simplify accordingly.
5774 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5775 Remove blink-cursor code.
5776 (blink-cursor-timer-function, blink-cursor-suspend):
5777 Don't special-case GUIs.
5778 (blink-cursor-mode): Use focus-in/out-hook.
5780 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5782 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5783 work when annotation is invisible (Bug#13886).
5785 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
5787 * json.el (json-alist-p): Only return non-nil if the alist has
5788 simple keys (Bug#13518).
5790 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
5792 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5793 when control-statement is the first statement in a buffer (Bug#15956).
5795 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5797 * imenu.el (imenu-generic-skip-comments-and-strings):
5798 New option (Bug#15560).
5799 (imenu--generic-function): Use it.
5801 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5803 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5806 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5808 * emacs-lisp/helpers.el: Add some string helpers.
5809 (string-trim-left): Removes leading whitespace.
5810 (string-trim-right): Removes trailing whitespace.
5811 (string-trim): Removes leading and trailing whitespace.
5813 * subr.el (string-suffix-p): New function.
5815 2013-11-23 Glenn Morris <rgm@gnu.org>
5817 * progmodes/python.el (python-shell-send-file):
5818 Add option to delete file when done. (Bug#15647)
5819 (python-shell-send-string, python-shell-send-region): Use it.
5821 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5823 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5824 to set buffer-read-only to t, never to nil. (Bug#15938)
5826 * textmodes/tex-mode.el (latex-noindent-environments):
5827 Add safe-local-variable property. (Bug#15936)
5829 2013-11-23 Glenn Morris <rgm@gnu.org>
5831 * textmodes/enriched.el (enriched-mode): Doc fix.
5832 * emacs-lisp/authors.el (authors-renamed-files-alist):
5833 Add enriched.doc -> enriched.txt.
5835 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5837 2013-11-22 Leo Liu <sdl.web@gmail.com>
5839 * progmodes/octave.el (inferior-octave-startup): Spit out error
5842 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5844 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5847 (ruby-encoding-magic-comment-style): Add :version.
5849 2013-11-22 Leo Liu <sdl.web@gmail.com>
5851 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5853 (octave-help-mode): Adapt to change to help-mode-finish to use
5854 derived-mode-p on 2013-09-17.
5855 (inferior-octave-prompt): Also match octave-gui.
5856 (octave-kill-process): Don't ask twice. (Bug#10564)
5858 2013-11-22 Leo Liu <sdl.web@gmail.com>
5860 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5861 (inferior-octave-startup, inferior-octave-check-process)
5862 (inferior-octave-track-window-width-change)
5863 (octave-completion-at-point, octave-eldoc-function): Use it.
5864 (octave-kill-process): Provide confirmation. (Bug#10564)
5866 2013-11-21 Leo Liu <sdl.web@gmail.com>
5868 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5869 Fix obsolete variable comment-use-global-state.
5871 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5873 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5874 Add `octave-source-file'.
5875 (octave-source-file): New function. (Bug#15935)
5877 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
5879 * net/eww.el (eww-local-regex): New variable.
5880 (eww): Use it to detect localhost and similar.
5882 2013-11-21 Leo Liu <sdl.web@gmail.com>
5884 Add completion for command `ag'.
5885 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5886 (pcomplete/ag): New function.
5887 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
5889 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5891 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5893 (make-obsolete): Remove interactive spec.
5895 2013-11-21 Glenn Morris <rgm@gnu.org>
5897 * startup.el (command-line-1): Use path-separator with -L.
5899 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5901 * emacs-lisp/package.el (describe-package-1): Add package archive
5904 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
5906 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5907 Change default to "# encoding: %s" to differentiate it from the
5908 default Ruby encoding comment template.
5910 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
5912 * ses.el (ses-mode): Doc fix. (Bug#14748)
5914 2013-11-20 Leo Liu <sdl.web@gmail.com>
5916 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5918 2013-11-19 Dan Nicolaescu <dann@gnu.org>
5920 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5921 when rebase or bisect are in progress.
5923 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5925 * filenotify.el (file-notify-add-watch): Doc fix.
5927 2013-11-19 Leo Liu <sdl.web@gmail.com>
5929 * obsolete/rcompile.el: Mark obsolete.
5931 * progmodes/compile.el (compilation-start)
5932 (compilation-goto-locus, compilation-find-file):
5933 Pass no-display-ok and handle nil value from display-buffer.
5936 * window.el (display-buffer-alist, display-buffer): Document the
5937 new parameter no-display-ok. Return either a window or nil
5938 but never a non-window value.
5940 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5942 * electric.el (electric-indent-mode-map): Remove.
5943 (electric-indent-mode): Change the global-map instead (bug#15915).
5945 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5948 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5950 * emacs-lisp/nadvice.el (remove-function): Align with
5951 add-function's behavior.
5953 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5954 (gdb--string-regexp): New constant.
5955 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5956 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5957 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5959 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5960 Adjust use accordingly.
5961 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5963 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5965 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5966 interpolation curlies (Bug#15914).
5968 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5970 * calc/calc.el (calc-context-sensitive-enter): New variable.
5971 (calc-enter): Use `calc-context-sensitive-enter'.
5973 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5975 * progmodes/cfengine.el: Version bump.
5976 (cfengine-cf-promises): New defcustom to locate cf-promises.
5977 (cfengine3-vartypes): Add new "data" type.
5978 (cfengine3--current-word): New function to get current name-like
5980 (cfengine3--current-function): New function to look up a CFEngine
5981 function's definition.
5982 (cfengine3-format-function-docstring): New function.
5983 (cfengine3-make-syntax-cache): New function.
5984 (cfengine3-documentation-function): New function: ElDoc glue.
5985 (cfengine3-completion-function): New function: completion glue.
5986 (cfengine3-mode): Set `compile-command',
5987 `eldoc-documentation-function', and add to
5988 `completion-at-point-functions'.
5990 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
5992 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5993 `tramp-current-connection'.
5995 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5997 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5998 nil/self/true/false with "end of symbol".
6000 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6002 * subr.el (version-regexp-alist): Fix a typo.
6004 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6006 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6007 "en_US.utf8" and "LC_CTYPE" to "".
6008 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6009 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6011 2013-11-15 Leo Liu <sdl.web@gmail.com>
6013 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6015 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6017 * progmodes/gud.el (ctl-x-map):
6018 Remove C-x SPC binding. (Bug#12342)
6019 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6021 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6023 * subr.el (version-regexp-alist):
6024 Recognize hg, svn and darcs versions as snapshot versions.
6026 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6027 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6028 (ruby--encoding-comment-required-p): Extract from
6029 `ruby-mode-set-encoding'.
6030 (ruby-mode-set-encoding): Add the ability to always insert an
6031 utf-8 encoding comment. Fix and simplify coding comment update
6034 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6036 * net/tramp-gvfs.el (top): Run init code only when
6037 `tramp-gvfs-enabled' is not nil.
6038 (tramp-gvfs-enabled): Check also :system bus.
6040 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6042 Sync with upstream verilog-mode revision 78e66ba.
6043 * progmodes/verilog-mode.el (verilog-end-of-defun)
6044 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6045 (verilog-get-end-of-defun): Remove unused argument.
6046 (verilog-comment-depth): Remove unused local `e'.
6047 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6048 Don't pass arg to verilog-get-end-of-defun.
6050 2013-11-14 Glenn Morris <rgm@gnu.org>
6052 * obsolete/assoc.el (aget): Prefix dynamic variable.
6054 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6056 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6058 * widget.el, hfy-cmap.el: Remove bogus package version number.
6060 2013-11-13 Glenn Morris <rgm@gnu.org>
6062 * replace.el (replace-eval-replacement):
6063 Try to give more helpful error message. (Bug#15836)
6065 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6066 (archive-7z-update): Avoid custom type mismatches.
6068 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6070 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6072 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6073 address can be empty.
6075 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6076 Accept nil SWITCHES.
6077 (tramp-gvfs-handle-write-region): Implement APPEND.
6079 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6081 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6082 binary "|" operator and closing block args delimiter.
6083 Remove FIXME comment referring to Ruby 1.8-only syntax.
6084 (ruby-smie--implicit-semi-p): Not after "|" operator.
6085 (ruby-smie--closing-pipe-p): New function.
6086 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6087 (ruby-smie-rules): Indent after "|".
6089 2013-11-12 Glenn Morris <rgm@gnu.org>
6091 * ps-print.el (ps-face-attribute-list):
6092 Handle anonymous faces. (Bug#15827)
6094 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6096 * window.el (display-buffer-other-frame): Fix doc-string.
6099 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6101 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6103 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6105 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6106 (tramp-sh-handle-file-local-copy): Don't write a message when
6107 saving temporary files.
6109 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6110 both directories are remote.
6111 (tramp-smb-handle-directory-files): Do not return double entries.
6112 Do not expand full file names.
6113 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6114 (tramp-smb-handle-write-region): Implement APPEND.
6115 (tramp-smb-get-stat-capability): Fix a stupid bug.
6117 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6119 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6121 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6123 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6124 throwing error over malformed let/let* (bug#15814).
6126 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6128 * iswitchb.el (iswitchb-mode): Mark obsolete.
6130 2013-11-11 Glenn Morris <rgm@gnu.org>
6132 * international/uni-bidi.el, international/uni-category.el:
6133 * international/uni-name.el, international/uni-numeric.el:
6134 Regenerate for Unicode 6.3.0.
6136 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6138 * net/tramp.el (tramp-methods):
6139 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6140 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6142 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6144 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6145 Force highlighting text after Summary keyword in doc face for rpm.
6147 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6149 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6150 available and the word has no wildcards, append one to the grep pattern.
6151 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6152 (ispell-complete-word): Call `ispell-lookup-words' with the value
6153 independent of `ispell-look-p'.
6155 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6157 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6159 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6162 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6164 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6165 (ruby-font-lock-keywords): Use backquote.
6167 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6169 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6170 (ruby-smie--backward-token): Only consider full-string matches.
6172 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6174 * faces.el (describe-face): Add distant-foreground.
6176 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6178 * progmodes/ruby-mode.el: Improve encoding comment handling.
6179 (ruby-encoding-magic-comment-style): New option.
6180 (ruby-custom-encoding-magic-comment-template): New option.
6181 (ruby--insert-coding-comment, ruby--detect-encoding):
6182 New functions extracted from `ruby-mode-set-encoding'.
6183 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6184 to control the style of the auto-inserted encoding comment.
6186 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6188 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6189 Use `smie-backward-sexp' with token argument.
6191 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6193 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6194 Remove instrumentation code.
6196 2013-11-08 Glenn Morris <rgm@gnu.org>
6198 * progmodes/autoconf.el (autoconf-mode):
6199 Tweak comment-start-skip. (Bug#15822)
6201 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6203 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6204 at bobp (bug#15826).
6205 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6207 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6209 * man.el (Man-start-calling): New macro, extracted from
6210 Man-getpage-in-background.
6211 (Man-getpage-in-background): Use it.
6212 (Man-update-manpage): New command.
6213 (Man-mode-map): Bind it.
6215 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6217 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6218 of "and", "or", "&&" and "||".
6219 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6220 argument. Prohibit opening curly brace because it could only be a
6221 block opener in that position.
6222 (ruby-smie--forward-token, ruby-smie--backward-token):
6223 Separate "|" from "&" or "*" going after it. That can happen in block
6225 (ruby-smie--indent-to-stmt): New function, seeks the end of
6226 previous statement or beginning of buffer.
6227 (ruby-smie-rules): Use it.
6228 (ruby-smie-rules): Check if there's a ":" before a curly block
6229 opener candidate; if there is, it's a hash.
6231 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6233 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6234 (cl--block-wrapper): Fix last accidental change.
6236 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6238 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6239 Instrument, in order to hunt failure on hydra.
6241 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6243 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6244 malformed bindings form (bug#15814).
6246 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6248 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6249 "." compared to " @ ". This incidentally fixes some indentation
6251 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6252 (ruby-smie-grammar): New tokens: "and" and "or".
6253 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6254 Exclude "and" and "or". Remove "do" in order to work around token
6256 (ruby-smie-rules): Add all infix tokens. Handle the case of
6257 beginning-of-buffer.
6259 2013-11-06 Glenn Morris <rgm@gnu.org>
6261 * Makefile.in (setwins_almost, setwins_for_subdirs):
6262 Avoid accidental matches.
6264 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6266 * menu-bar.el (popup-menu): Use key-binding.
6268 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6270 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6271 menus, support also the menus produced by minor modes.
6274 2013-11-06 Leo Liu <sdl.web@gmail.com>
6276 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6277 DISTANCE to bound the search. All uses changed. (Bug#15808)
6279 2013-11-06 Glenn Morris <rgm@gnu.org>
6281 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6282 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6283 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6285 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6287 * electric.el (electric-indent-just-newline): New command.
6288 (electric-indent-mode-map): New keymap.
6289 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6290 Re-add :group which weren't redundant.
6292 * electric.el (electric-indent-local-mode): New minor mode.
6293 (electric-indent-functions-without-reindent): New var.
6294 (electric-indent-post-self-insert-function): Use it.
6295 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6297 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6299 * international/quail.el (quail-help): Be more explicit about the
6300 meaning of the labels shown on the keys. (Bug#15800)
6302 * startup.el (normal-top-level): Load the subdirs.el files before
6303 setting the locale environment. (Bug#15805)
6305 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6307 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6308 via arguments so as to get the right ones (bug#15418).
6310 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6312 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6314 Fix problems found while writing a test suite.
6316 * net/tramp-compat.el (tramp-compat-load): New defun.
6317 * net/tramp.el (tramp-handle-load): Use it.
6319 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6320 "(numberp ok-if-already-exists)" correctly.
6322 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6324 * international/characters.el (glyphless-char-display-control):
6327 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6329 * progmodes/python.el (python-mode):
6330 * progmodes/scheme.el (scheme-mode):
6331 * progmodes/prolog.el (prolog-mode):
6332 * progmodes/ruby-mode.el (ruby-mode):
6333 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6334 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6336 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6338 * rect.el (rectangle--highlight-for-redisplay):
6339 * emacs-lisp/smie.el (smie--next-indent-change):
6340 Use buffer-chars-modified-tick.
6342 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6344 * electric.el (electric-indent-post-self-insert-function):
6345 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6347 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6349 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6351 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6353 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6356 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6358 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6360 * progmodes/python.el: Fix up last change.
6361 (python-shell--save-temp-file): New function.
6362 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6363 `string' comes from the current buffer.
6364 (python-shell-send-string-no-output): Remove `msg' arg.
6365 (python--use-fake-loc): New var.
6366 (python-shell-buffer-substring): Obey it. Try to compensate for the
6367 extra coding line added by python-shell--save-temp-file.
6368 (python-shell-send-region): Use python-shell--save-temp-file and
6369 python-shell-send-file directly. Add `nomain' argument.
6370 (python-shell-send-buffer): Use python-shell-send-region.
6371 (python-electric-pair-string-delimiter): New function.
6372 (python-mode): Use it.
6374 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6376 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6377 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6378 environment and decoding all of the default-directory's to here
6380 (command-line): Decode also argv[0].
6382 * loadup.el: Error out if default-directory is a multibyte string
6383 when we are dumping.
6385 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6387 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6389 * emacs-lisp/package.el (package-menu-mode)
6390 (package-menu--print-info, package-menu--archive-predicate):
6391 Add Archive column to package list.
6393 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6395 Fix problems found while writing a test suite.
6397 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6398 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6399 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6400 to nil when running original file name handler. Otherwise,
6401 there are problems with constructs like "$$FOO".
6403 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6406 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6408 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6410 * subr.el (version<, version<=, version=):
6411 Update docstrings with information for snapshot versions.
6413 * helpers.el: New library for misc helper functions.
6414 (hash-table-keys): New function returning a list of hash keys.
6415 (hash-table-values): New function returning a list of hash values.
6417 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6419 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6420 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6422 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6424 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6425 checking whether point is after a 1-letter word.
6427 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6429 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6430 Don't infloop when expanding region over `multiline' syntax-type that
6431 begins a line (bug#15778).
6433 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6435 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6436 Make it into a proper minor mode.
6437 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
6438 (rectangle-mark-mode-map): New keymap.
6439 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6441 2013-11-04 Glenn Morris <rgm@gnu.org>
6443 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6445 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6447 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6448 (ruby-smie-rules): Use smie-rule-parent instead.
6450 * emacs-lisp/smie.el (smie-rule-parent): Always call
6451 smie-indent-virtual rather than only for hanging tokens.
6452 (smie--next-indent-change): New helper command.
6454 2013-11-03 Glenn Morris <rgm@gnu.org>
6456 * Makefile.in (abs_srcdir): Remove.
6457 (emacs): Unset EMACSLOADPATH.
6459 2013-11-02 Glenn Morris <rgm@gnu.org>
6461 * Makefile.in (EMACS): Use a relative filename.
6462 (abs_top_builddir): Remove.
6463 (custom-deps, finder-data, autoloads): Use --chdir.
6465 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6467 Use relative filenames in TAGS files.
6468 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6469 (lisptagsfiles4, TAGS): Use relative file names.
6470 (TAGS-LISP): Remove.
6471 (maintainer-clean): No more TAGS-LISP file.
6473 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6474 (lisptagsfiles4): Use absolute filenames again.
6475 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6476 Remove all *loaddefs files, not just the first. Remove esh-groups.
6477 (maintainer-clean): Delete TAGS, TAGS-LISP.
6479 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6481 * emacs-lisp/package.el (package-version-join):
6482 Recognize snapshot versions.
6484 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6486 * subr.el (version-regexp-alist): Add support for snapshot versions.
6488 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6490 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6491 New function, replacement for `smie-rule-parent' for when we want to
6492 skip over our direct parent if it's an assignment token..
6493 (ruby-smie-rules): Use it.
6495 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6497 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6498 unconditionally. Remove now unnecessary forward declarations.
6499 Remove XEmacs-specific setup.
6500 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6501 (ruby-font-lock-syntactic-keywords)
6502 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6503 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6504 (ruby-here-doc-end-syntax): Remove.
6505 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6506 defined as function.
6508 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6510 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6512 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6514 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6515 table and abbrev table, `define-derived-mode' does that for us
6518 2013-11-01 Glenn Morris <rgm@gnu.org>
6520 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6521 files is atomic for some time, so no parallel compilation issues).
6523 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6525 * faces.el (face-x-resources): Add :distant-foreground.
6526 (region): Use :distant-foreground for gtk and ns.
6528 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6530 Allow multiple bibliographies when BibLaTeX is used rather than
6532 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6533 (reftex-locate-bibliography-files): Us it.
6535 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6537 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6538 allow comments in pbm files.
6540 * term/w32-win.el (dynamic-library-alist): Support newer versions
6541 of libjpeg starting with v7: look only for the DLL from the
6542 version against which Emacs was built.
6543 Support versions of libpng beyond 1.4.x.
6544 Support libtiff v4.x.
6546 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6548 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6549 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6551 (ruby-deep-arglist): Add property :type.
6553 2013-10-31 Glenn Morris <rgm@gnu.org>
6555 * Makefile.in (custom-deps, finder-data): No need to setq the target
6556 variables, we are in the right directory and the defaults work fine.
6558 2013-10-30 Glenn Morris <rgm@gnu.org>
6560 * Makefile.in (autoloads): Do not use abs_lisp.
6562 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6563 `newline' does not respect `standard-output', so use `princ'.
6565 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6567 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6568 * buff-menu.el (Buffer-menu--unmark): New function.
6569 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6571 2013-10-30 Glenn Morris <rgm@gnu.org>
6573 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6575 * emacs-lisp/package.el (lm-homepage): Declare.
6577 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6580 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6582 * Makefile.in (finder-data, autoloads, update-subdirs)
6583 (compile-main, compile-clean, compile-always, bootstrap-clean):
6584 Check return value of cd.
6585 (compile-calc): Remove.
6587 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6589 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6591 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6592 (byte-compile-and-folded): New function.
6593 (=, <, >, <=, >=): Use it.
6595 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6596 (path-separator, null-device, buffer-file-coding-system)
6597 (lpr-headers-switches): Check system-type before modifying them.
6598 (find-buffer-file-type-coding-system): Mark obsolete.
6599 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6600 find-file-not-found-set-buffer-file-coding-system.
6601 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6602 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6603 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6604 (w32-direct-print-region-helper, w32-direct-print-region-function)
6605 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6606 * startup.el (normal-top-level-add-subdirs-to-load-path):
6607 * ps-print.el (ps-print-region-function):
6608 * lpr.el (print-region-function): Use new name.
6610 * subr.el (custom-declare-variable-early): Remove function.
6611 (custom-declare-variable-list): Remove var.
6612 (error, user-error): Remove `while' loop.
6613 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6614 (user-emacs-directory-warning, locate-user-emacs-file):
6616 * simple.el (read-quoted-char-radix, read-quoted-char):
6617 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6619 * custom.el (custom-declare-variable-list): Don't process
6620 custom-declare-variable-list.
6622 * progmodes/python.el (python-shell-get-buffer): New function.
6623 (python-shell-get-process): Use it.
6624 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6625 Python which encoding was used. Don't split-string since we only care
6626 about the first line. Return the temp-file, if applicable.
6627 (python-shell-send-region): Tell compile.el how to turn locations in
6628 the temp-file into locations in the source buffer.
6630 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6632 * subr.el (undefined): Add missing behavior from the C code for
6635 * rect.el: Use lexical-binding. Add new rectangular region support.
6636 (rectangle-mark): New command.
6637 (rectangle--region): New var.
6638 (deactivate-mark-hook): Reset rectangle--region.
6639 (rectangle--extract-region, rectangle--insert-for-yank)
6640 (rectangle--highlight-for-redisplay)
6641 (rectangle--unhighlight-for-redisplay): New functions.
6642 (region-extract-function, redisplay-unhighlight-region-function)
6643 (redisplay-highlight-region-function): Use them to handle
6645 * simple.el (region-extract-function): New var.
6646 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6647 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6648 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6649 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6650 (redisplay-unhighlight-region-function)
6651 (redisplay-highlight-region-function): New vars.
6652 (redisplay--update-region-highlight): New function.
6653 (pre-redisplay-function): Use it.
6654 (exchange-point-and-mark): Don't deactivate the mark before
6655 reactivate-it anyway.
6656 * comint.el (comint-kill-region): Remove yank-handler argument.
6657 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6658 (delete-char): Remove property, since it's now part of their
6660 (self-insert-iso): Remove property since this command doesn't exist.
6662 * emacs-lisp/package.el (package--download-one-archive)
6663 (describe-package-1): Don't query the user about final newline.
6665 2013-10-29 Daniel Colascione <dancol@dancol.org>
6667 * net/tramp.el (tramp-methods): Document new functionality.
6668 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6669 tramp-hostname-checker if method provides one instead of scanning
6670 argument list for "%h" to decide hostname acceptability.
6672 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
6674 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6675 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6676 Handle COPY-CONTENTS. (Bug#15737)
6678 2013-10-28 Daiki Ueno <ueno@gnu.org>
6681 (epa-file-cache-passphrase-for-symmetric-encryption):
6682 Document that this option has no effect with GnuPG 2.0 (bug#15552).
6684 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6686 * image.el (defimage, image-load-path): Doc fixes.
6688 2013-10-27 Alan Mackenzie <acm@muc.de>
6690 Indent statements in macros following "##" correctly.
6691 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6692 Modify the "#" arm of a cond form to handle "#" and "##" operators.
6694 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6696 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6698 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6700 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6701 after `=' is probably a new expression.
6703 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6705 * man.el (man-imenu-title): New option.
6706 (Man-mode-map): Add menu. (Bug#15722)
6707 (Man-mode): Add imenu to menu.
6709 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6711 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6712 specific in what the first arg can be: a non-keyword word,
6713 string/regexp/percent literal opener, opening paren, or unary
6714 operator followed directly by word.
6716 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6718 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6719 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6720 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6721 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6722 Remove vars, they do not apply any more.
6723 (prolog-mode-abbrev-table): Remove redundant declaration.
6724 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6725 (prolog-use-smie): Remove.
6726 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6727 supported by prolog-electric-if-then-else-flag.
6728 (prolog-mode-variables, prolog-menu): Use setq-local.
6729 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6730 Remove binding to `Backspace' since this key doesn't exist anyway.
6731 Remove bindings for electric self-inserting keys.
6732 (prog-mode): Assume it's defined.
6733 (prolog-post-self-insert): New function.
6734 (prolog-mode): Use it.
6735 (prolog-indent-line, prolog-indent-level)
6736 (prolog-find-indent-of-matching-paren)
6737 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6738 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6739 (prolog-goto-next-paren, prolog-in-string-or-comment)
6740 (prolog-tokenize, prolog-inside-mline-comment)
6741 (prolog-find-start-of-mline-comment): Remove functions.
6742 (prolog-find-unmatched-paren, prolog-clause-end)
6743 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6744 (prolog-electric--if-then-else): Rename from
6745 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6746 (prolog-tokenize-searchkey): Remove const.
6747 (prolog-clause-info): Use forward-sexp.
6748 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6749 (prolog-electric-if-then-else): Remove commands.
6750 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6751 for use in post-self-insert-hook.
6752 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6753 for use in post-self-insert-hook.
6754 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6755 for use in post-self-insert-hook.
6756 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6757 adapt it for use in post-self-insert-hook.
6759 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
6761 * emacs-lisp/ert.el (ert-run-tests-interactively):
6762 Use `completing-read'. (Bug#9756)
6764 2013-10-25 Eli Zaretskii <eliz@gnu.org>
6766 * simple.el (line-move): Call line-move-1 instead of
6767 line-move-visual when the current window hscroll is zero, but
6768 temporary-goal-column indicates we will need to hscroll as result
6769 of the movement. (Bug#15712)
6771 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6773 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
6774 capitalization. Use :visible instead of :active.
6775 Fix `ruby-indent-exp' reference. Add menu items for the generic
6776 commands that are used with SMIE.
6777 (ruby-do-end-to-brace): Insert space after `{'.
6779 2013-10-25 John Anthony <john@jo.hnanthony.com>
6781 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6783 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
6785 2013-10-25 Glenn Morris <rgm@gnu.org>
6787 * vc/vc.el (vc-print-log): Don't use a working revision unless
6788 one was explicitly specified. (Bug#15322)
6790 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6792 * subr.el (add-to-list): Preserve return value in compiler-macro
6795 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6797 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6798 result. Ask user to retry using '-all' flag. (Bug#15701)
6800 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6802 * emacs-lisp/smie.el: New smie-config system.
6803 (smie-config): New defcustom.
6804 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6805 (smie-config-guess, smie-config-save): New commands.
6806 (smie-config--mode-local, smie-config--buffer-local)
6807 (smie-config--trace, smie-config--modefuns): New vars.
6808 (smie-config--advice, smie-config--mode-hook)
6809 (smie-config--setter, smie-config-local, smie-config--get-trace)
6810 (smie-config--guess-value, smie-config--guess): New functions.
6811 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6812 text properties. Treat "string fence" syntax like string syntax.
6814 * progmodes/sh-script.el (sh-use-smie): Change default.
6815 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6816 (sh-var-value): Simplify by CSE.
6817 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6818 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6820 (sh-guess-basic-offset): Use cl-incf.
6821 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6823 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
6825 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6828 2013-10-24 Glenn Morris <rgm@gnu.org>
6830 * Makefile.in (abs_top_srcdir): Remove.
6831 (update-subdirs): Use relative path to update-subdirs.
6833 2013-10-24 Eli Zaretskii <eliz@gnu.org>
6835 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6836 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
6837 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6838 Call unmsys--file-name before expand-file-name, not after it.
6840 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
6842 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6843 (ert-test-skipped): New error.
6844 (ert-skip, ert-stats-skipped): New defuns.
6845 (ert--skip-unless): New macro.
6846 (ert-test-skipped): New struct.
6847 (ert--run-test-debugger, ert-test-result-type-p)
6848 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6849 (ert--stats-set-test-and-result, ert-char-for-test-result)
6850 (ert-string-for-test-result, ert-run-tests-batch)
6851 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
6852 Handle skipped tests. (Bug#9803)
6854 2013-10-24 Glenn Morris <rgm@gnu.org>
6856 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6858 * Makefile.in (abs_top_srcdir): New, set by configure.
6859 (update-subdirs): Correct build-aux location.
6861 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6863 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6864 value, whether we could auto-deduce `backend', or not.
6866 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6867 with parameters" example. Simplify the "is it block or is it
6868 hash" check, but also make it more thorough.
6870 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6872 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6874 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6876 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6879 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6882 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6884 * progmodes/compile.el (compilation-directory-matcher)
6885 (compilation-page-delimiter):
6886 Support GNU Make-4.0 directory quoting. (Bug#15678)
6888 2013-10-23 Leo Liu <sdl.web@gmail.com>
6890 * ido.el (ido-tidy): Handle read-only text.
6892 2013-10-23 Glenn Morris <rgm@gnu.org>
6894 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6895 (emacs, compile, compile-always):
6896 Quote entities that might contain whitespace.
6897 (custom-deps, finder-data, autoloads): Use abs_lisp.
6898 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6899 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6900 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6902 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6904 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6905 Use `following-char'.
6907 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6909 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6910 * progmodes/ruby-mode.el (ruby-smie-rules):
6911 Remove corresponding workaround. Fix indentation rule of ";" so it
6912 also applies when ";" is the parent.
6914 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6916 * frame.el (display-screens, display-pixel-height)
6917 (display-pixel-width, display-mm-width, display-backing-store)
6918 (display-save-under, display-planes, display-color-cells)
6919 (display-visual-class, display-monitor-attributes-list):
6920 Mention the optional ‘display’ argument in doc strings.
6922 2013-10-22 Michael Gauland <mikelygee@amuri.net>
6924 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6925 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6927 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6929 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6930 TODO. Add "." after " @ ".
6931 (ruby-smie--at-dot-call): New function. Checks if point at method
6932 call with explicit target.
6933 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6934 to the method name tokens when it precedes them.
6935 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6936 (ruby-smie-rules): Add rule for indentation before and after "."
6939 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6941 * textmodes/remember.el (remember-diary-extract-entries):
6944 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6947 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6949 * progmodes/ruby-mode.el (ruby-smie-grammar):
6950 Add (almost) all infix operators.
6951 (ruby-smie--implicit-semi-p): Add new operator chars.
6953 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6955 (ruby-smie--args-separator-p): Check that there's no newline
6956 between method call and its arguments.
6958 2013-10-20 Alan Mackenzie <acm@muc.de>
6960 Allow comma separated lists after Java "implements".
6962 * progmodes/cc-engine.el (c-backward-over-enum-header):
6964 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6965 from a "disallowed" list in enum fontification.
6967 2013-10-20 Johan Bockgård <bojohan@gnu.org>
6969 * startup.el (default-frame-background-mode): Remove unused defvar.
6971 * progmodes/verilog-mode.el (verilog-mode): Don't set
6972 comment-indent-function globally.
6974 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6976 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6977 Move Info menu item creation to ns-win.el.
6979 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6982 * menu-bar.el: Move GNUstep specific menus...
6984 * term/ns-win.el (ns-initialize-window-system): ... to here.
6986 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6988 * simple.el (newline): Only run post-self-insert-hook when
6989 called interactively.
6991 2013-10-19 Johan Bockgård <bojohan@gnu.org>
6993 * icomplete.el (icomplete-with-completion-tables): Add :version.
6995 2013-10-19 Alan Mackenzie <acm@muc.de>
6997 Fix fontification bugs with constructors and const.
6999 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7000 CASE 2) Remove the check for the absence of a suffix construct
7001 after a function declaration with only types (no identifiers) in
7002 the parentheses. Also, accept a function declaration with just a
7003 type inside the parentheses, if this type can be positively
7004 recognised as such, or if a prefix keyword like "explicit" nails
7005 down the construct as a declaration.
7007 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7009 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7010 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7011 the problem whereby selecting a menu item that leads to a
7012 minibuffer prompt moves the cursor out of the minibuffer window,
7013 making it hard to type at the prompt. Suggested by Stefan Monnier
7014 <monnier@iro.umontreal.ca>.
7016 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7018 * menu-bar.el: Don't make Services menu.
7020 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7022 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7023 (ffap-alist): Use ffap-c++-mode for c++-mode.
7024 (ffap-c++-path): New variable.
7025 (ffap-c++-mode): New function.
7027 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7029 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7031 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7033 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7034 introduced on 2013-09-08, which results in an infinite loop
7035 requesting a password.
7037 2013-10-18 Glenn Morris <rgm@gnu.org>
7039 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7041 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7043 Sync with upstream verilog-mode revision 1a6ecec7.
7044 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7045 (verilog-mode-release-date): Remove.
7046 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7047 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7048 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7049 (verilog-auto-tieoff-ignore-regexp)
7050 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7051 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7052 (verilog-signals-with, verilog-dir-cache-preserving)
7053 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7055 (verilog-case-fold): New option, to control case folding in
7056 regexp searches, bug597.
7057 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7058 (verilog-string-match-fold, verilog-in-paren-count)
7059 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7060 (verilog-at-close-struct-p): New functions.
7061 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7062 (verilog-forward-sexp, verilog-set-auto-endcomments)
7063 (verilog-leap-to-case-head): Handle "unique0" case.
7064 (verilog-in-constraint-re): New constant.
7065 (verilog-keywords, verilog-type-font-keywords):
7066 Add some SystemVerilog 1800-2012 keywords.
7067 (verilog-label-be): Remove unimplemented argument, bug669.
7068 (verilog-batch-execute-func): When batch expanding clear
7069 create-lockfiles to prevent spurious user locks when a file ends
7071 (verilog-calculate-indent, verilog-calc-1)
7072 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7073 (verilog-do-indent): Fix indentation of nested constraints
7075 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7076 (verilog-auto-inst-param): Use verilog-string-match-fold.
7077 (verilog-read-inst-module-matcher):
7078 Fix AUTOINST on gate primitives with #1.
7079 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7080 Reads all user-defined typed variables.
7081 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7082 (verilog-signals-matching-regexp)
7083 (verilog-signals-not-matching-regexp, verilog-auto):
7084 Respect verilog-case-fold.
7085 (verilog-diff-report): Fix line count.
7086 (verilog-auto-assign-modport): Remove unused local `modi'.
7087 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7088 better handle multidimensional arrays.
7089 Fix packed array ports misadding bit index in AUTOINST, bug637.
7090 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7091 to not double-declare existing outputs and inputs, respectively.
7092 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7093 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7094 (verilog-sk-uvm-component): New skeleton.
7095 (verilog-submit-bug-report): Add verilog-case-fold,
7096 remove verilog-mode-release-date.
7098 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7100 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7103 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7105 * textmodes/remember.el (remember): Set buffer-offer-save in
7106 remember buffers (bug#13566).
7108 2013-10-18 Daniel Colascione <dancol@dancol.org>
7110 When evaluating forms in ielm, direct standard output to ielm
7111 buffer. Add new ielm-return-for-effect command. Remove trailing
7112 whitespace throughout.
7114 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7115 (ielm-return-for-effect): New command.
7116 (ielm-send-input): Accept optional `for-effect' parameter.
7117 (ielm-eval-input): Accept optional `for-effect' parameter.
7118 Bind `standard-output' to stream we create using
7119 `ielm-standard-output-impl'. Suppress printing result when
7121 (ielm-standard-output-impl): New function.
7122 (inferior-emacs-lisp-mode): Explain new features in documentation.
7124 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7128 * net/tramp.el (tramp-debug-message): Do not check for connection
7130 (tramp-message): Use "vector" connection property.
7132 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7133 (tramp-equal-remote, tramp-eshell-directory-change)
7134 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7135 (tramp-adb-handle-rename-file)
7136 * net/tramp-cmds.el (tramp-list-remote-buffers)
7137 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7138 * net/tramp-compat.el (tramp-compat-process-running-p)
7139 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7140 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7141 (tramp-gvfs-handle-rename-file)
7142 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7143 (tramp-set-file-uid-gid)
7144 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7145 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7148 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7149 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7150 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7151 (tramp-gw-open-network-stream): Suppress unrelated traces.
7153 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7154 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7155 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7156 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7157 connection property.
7159 * net/tramp-cache.el (top): Suppress traces when reading
7162 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7163 Refactor common code. Improve debug message.
7164 (tramp-maybe-open-connection)
7165 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7166 connection buffer too early.
7168 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7169 from `tramp-smb-actions-with-acl'.
7170 (tramp-smb-actions-set-acl): New defconst.
7171 (tramp-smb-handle-copy-directory)
7172 (tramp-smb-action-get-acl): New defun, renamed from
7173 `tramp-smb-action-with-acl'.
7174 (tramp-smb-action-set-acl): New defun.
7175 (tramp-smb-handle-set-file-acl): Rewrite.
7177 2013-10-17 Glenn Morris <rgm@gnu.org>
7179 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7181 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7183 * skeleton.el (skeleton-newline): Remove.
7184 (skeleton-internal-1): Use (insert "\n") instead.
7186 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7189 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7190 forward-sexp-function while we redo its job (bug#15613).
7192 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7194 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7195 represented by lists.
7197 2013-10-16 Glenn Morris <rgm@gnu.org>
7199 * tmm.el (tmm--history): New dynamic variable.
7200 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7202 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7204 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7205 (tramp-smb-errors): Add error messages.
7206 (tramp-smb-actions-with-acl): New defconst.
7207 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7208 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7209 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7210 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7211 (tramp-smb-get-stat-capability): Fix tests.
7213 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7215 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7218 2013-10-16 Glenn Morris <rgm@gnu.org>
7220 * ansi-color.el (ansi-color-drop-regexp):
7221 Add 1J, 1K, 2K. (Bug#15617)
7223 * files.el (hack-local-variables--warned-lexical): New.
7224 (hack-local-variables):
7225 Warn about misplaced lexical-binding. (Bug#15616)
7227 * net/eww.el (eww-render): Always set eww-current-url,
7228 and update header line. (Bug#15622)
7229 (eww-display-html): ... Rather than just doing it here.
7231 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7233 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7234 menu navigations commands.
7236 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7238 * progmodes/subword.el (subword-capitalize): Be careful when
7239 the search for [[:alpha:]] fails (bug#15580).
7241 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7243 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7244 to commands that scroll the menu.
7246 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7248 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7249 Handle methods ending with `?' and `!'.
7251 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7253 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7254 `japanese-cp932' to `cp932' to fix the problem where saving a
7255 source file written in Shift_JIS twice would end up having
7256 `coding: japanese-cp932' which Ruby could not recognize.
7257 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7258 in `ruby-encoding-map'.
7259 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7260 doesn't need to be explicitly declared in magic comment.
7261 (ruby-encoding-map): Add type declaration for better customize UI.
7263 2013-10-13 Glenn Morris <rgm@gnu.org>
7265 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7266 Occur buffers are read-only. http://bugs.debian.org/720775
7268 * emacs-lisp/authors.el (authors-fixed-entries):
7269 Comment out old alpha stuff.
7271 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7273 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7274 to `after-save-hook' instead of `before-save-hook'.
7275 (ruby-mode-set-encoding): Use the value of coding system used to
7276 write the file. Call `basic-save-buffer-1' after modifying the
7279 2013-10-13 Alan Mackenzie <acm@muc.de>
7281 Fix indentation/fontification of Java enum with
7282 "implements"/generic.
7284 * progmodes/cc-engine.el (c-backward-over-enum-header):
7285 Extracted from the three other places and enhanced to handle generics.
7286 (c-inside-bracelist-p): Uses new function above.
7287 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7289 (c-font-lock-enum-tail): Uses new function above.
7291 2013-10-13 Kenichi Handa <handa@gnu.org>
7293 * international/mule-cmds.el (select-safe-coding-system): Remove a
7294 superfluous condition in chekcing whether a coding system is safe
7297 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7299 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7301 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7303 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7305 2013-10-13 Glenn Morris <rgm@gnu.org>
7307 * menu-bar.el (menu-bar-update-buffers):
7308 Unify Buffers menu prompt string. (Bug#15576)
7310 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7312 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7314 (authors-fixed-entries): Use accented form of name.
7316 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7318 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7319 method calls (bug#15594).
7320 (ruby-smie--args-separator-p): New function.
7321 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7322 recognize paren-free method calls.
7324 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7325 internals of universal-argument.
7327 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7329 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7330 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7331 dropped menu on second mouse click on the menu bar.
7333 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7335 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7336 (explicit-shell-file-name): Declare.
7337 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7338 (sh-completion-at-point-function): New function.
7340 (sh-smie--keyword-p): Remove unused argument.
7341 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7343 (sh-set-shell): Always setup SMIE, even if we use the
7344 old indentation code.
7346 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7348 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7350 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7351 predicate would return nil are almost non-existent.
7352 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7354 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7355 cache also after commands that modify the buffer but don't move
7358 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7360 * env.el (substitute-env-in-file-name): New function.
7361 (substitute-env-vars): Extend the meaning of the optional arg.
7363 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7365 * term/w32-win.el (dynamic-library-alist): Define separate lists
7366 of GIF DLLs for versions before and after 5.0.0 of giflib.
7369 2013-10-10 João Távora <joaotavora@gmail.com>
7371 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7372 not locked, use last revision and current source as
7373 defaults. (Bug#15569)
7375 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7377 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7380 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7382 * window.el (pop-to-buffer-same-window): Fix doc-string.
7385 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7387 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7389 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7391 * calendar/icalendar.el (icalendar-import-file):
7392 Fix interactive spec. (Bug#15482)
7394 2013-10-10 Glenn Morris <rgm@gnu.org>
7396 * desktop.el (desktop-save): Default to saving in .emacs.d,
7397 since PWD is no longer in desktop-path by default. (Bug#15319)
7399 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7400 now that text mode has a menu with the same entry.
7401 (menu-bar-text-mode-auto-fill): Remove now unused func.
7402 * textmodes/text-mode.el (text-mode-map):
7403 Use auto-fill help text from menu-bar.el.
7405 2013-10-10 John Anthony <john@jo.hnanthony.com>
7407 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7409 2013-10-09 Juri Linkov <juri@jurta.org>
7411 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7412 instead of this-command-keys. Add universal-argument-more and
7413 universal-argument-minus to the list of prefix commands. (Bug#15568)
7415 2013-10-09 Glenn Morris <rgm@gnu.org>
7417 * vc/vc-svn.el (vc-svn-create-repo):
7418 Expand paths in file://... url. (Bug#15446)
7420 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7422 (authors): Remove unused local variables.
7424 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7426 * profiler.el: Create a more coherent calltree from partial backtraces.
7427 (profiler-format): Hide the tail with `invisible' so that C-s can still
7428 find the hidden elements.
7429 (profiler-calltree-depth): Don't recurse so enthusiastically.
7430 (profiler-function-equal): New hash-table-test.
7431 (profiler-calltree-build-unified): New function.
7432 (profiler-calltree-build): Use it.
7433 (profiler-report-make-name-part): Indent the calltree less.
7434 (profiler-report-mode): Add visibility specs for profiler-format.
7435 (profiler-report-expand-entry, profiler-report-toggle-entry):
7436 Expand the whole subtree when provided with a prefix arg.
7438 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7440 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7442 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7443 hanging iuwu-mod token.
7444 (ruby-smie--forward-token): Do not include a dot after a token in
7446 (ruby-smie--backward-token): Likewise.
7448 2013-10-08 Juri Linkov <juri@jurta.org>
7450 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7451 to isearch-other-control-char.
7452 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7453 and isearch-post-command-hook to post-command-hook.
7454 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7455 and isearch-post-command-hook from post-command-hook.
7456 (isearch-unread-key-sequence)
7457 (isearch-reread-key-sequence-naturally)
7458 (isearch-lookup-scroll-key, isearch-other-control-char)
7459 (isearch-other-meta-char): Remove functions.
7460 (isearch-pre-command-hook, isearch-post-command-hook):
7461 New functions based on isearch-other-meta-char rewritten
7462 relying on the new behavior of overriding-terminal-local-map
7463 that does not replace the local keymaps any more. (Bug#15200)
7465 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7467 Support menus on text-mode terminals.
7468 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7471 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7473 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7474 Move here from mouse.el.
7475 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7477 (tty-menu-navigation-map): New map for TTY menu navigation.
7479 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7481 * frame.el (display-mouse-p): Report text-mode mouse as available
7483 (display-popup-menus-p): Report availability if mouse is
7484 available; don't condition on window-system.
7486 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7487 (tty-menu-selected-face): New faces.
7489 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7491 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7492 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7493 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7494 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7496 (lisp-mode-variables): New `elisp' argument.
7497 (emacs-lisp-mode): Use it.
7498 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7499 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7501 * indent.el: Use lexical-binding.
7502 (indent-region): Add progress reporter.
7503 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7505 (indent--next-tab-stop): New function to implement this behavior.
7506 (tab-to-tab-stop, move-to-tab-stop): Use it.
7508 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7510 * indent.el (indent-rigidly--current-indentation): New function.
7511 (indent-rigidly-map): New var.
7512 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7514 2013-10-08 Bastien Guerry <bzg@gnu.org>
7516 * register.el (insert-register): Fix 2013-10-07 change.
7518 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7520 * progmodes/perl-mode.el: Use lexical-binding.
7521 Remove redundant :group args.
7522 (perl-nochange): Change default to be closer to other major modes's
7524 (perl-indent-line): Don't consider text on current line as a
7525 valid beginning of function from which to indent.
7527 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7528 with more than one argument (bug#15538).
7530 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7532 * vc/pcvs.el: Use lexical-binding.
7533 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7534 environment of `eval'.
7535 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7536 than a list of expressions. Adjust callers.
7537 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7539 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7541 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7542 case of the dot in a chained method call being on the following line.
7544 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7546 * electric.el (electric-indent-inhibit): New var.
7547 (electric-indent-post-self-insert-function): Use it.
7548 * progmodes/python.el (python-mode): Set it.
7550 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7553 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7555 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7556 (css-mode): Use electric-indent-chars.
7558 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7559 (font-lock-beg, font-lock-end): Move before first use.
7560 (nxml-mode): Use syntax-propertize-function.
7561 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7562 (nxml-extend-after-change-region): Remove.
7563 * nxml/xmltok.el: Use lexical-binding.
7564 (xmltok-save): Use `declare'.
7565 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7566 * nxml/nxml-util.el: Use lexical-binding.
7567 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7569 * nxml/nxml-ns.el: Use lexical-binding.
7570 (nxml-ns-save): Use `declare'.
7571 (nxml-ns-prefixes-for): Avoid add-to-list.
7572 * nxml/rng-match.el: Use lexical-binding.
7573 (rng--ipattern): Use cl-defstruct.
7574 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7575 (rng-cons-group-after, rng-subst-group-after)
7576 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7577 Use closures instead of `(lambda...).
7579 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7581 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7584 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7585 Use `tramp-handle-insert-file-contents'.
7586 (tramp-gvfs-handle-insert-file-contents): Remove function.
7588 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7589 Use `save-restriction' in order to keep markers.
7591 * net/trampver.el: Update release number.
7593 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7595 * progmodes/compile.el (compilation-parse-errors):
7596 Use compilation--put-prop.
7597 (compilation--ensure-parse): Check compilation-multiline.
7599 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7601 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7604 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7606 * progmodes/ruby-mode.el: Fix recently added tests.
7607 (ruby-smie-grammar): Add - and +.
7608 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7609 (ruby-smie--backward-id): New functions.
7610 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7611 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7614 2013-10-07 Leo Liu <sdl.web@gmail.com>
7616 * register.el (register-preview-delay)
7617 (register-preview-functions): New variables.
7618 (register-read-with-preview, register-preview)
7619 (register-describe-oneline): New functions.
7620 (point-to-register, window-configuration-to-register)
7621 (frame-configuration-to-register, jump-to-register)
7622 (number-to-register, view-register, insert-register)
7623 (copy-to-register, append-to-register, prepend-to-register)
7624 (copy-rectangle-to-register): Use register-read-with-preview to
7625 read register. (Bug#15525)
7627 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7629 * net/network-stream.el (network-stream-open-starttls): Don't add
7630 --insecure if it's already present, because that gnutls-cli
7631 rejects getting that parameter twice.
7633 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7635 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7638 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7640 * newcomment.el (comment-use-global-state): Change default value
7641 to t, mark obsolete (Bug#15251).
7642 (comment-beginning): In addition to `comment-to-syntax', check the
7643 value of `comment-use-global-state'.
7645 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7647 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7648 (ruby-comment-column): Follow the global default, by default.
7649 (ruby-smie-grammar): Add assignment syntax.
7650 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7651 open-paren, a comma, or a \.
7652 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7653 and line continuations.
7654 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7655 followed by implicit semi-colons. Add rule for string concatenation
7656 and for indentation at BOB.
7657 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7659 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7660 calling next-sexp, since next-token may have skipped chars which
7661 next-sexp doesn't know should be skipped!
7663 2013-10-05 Leo Liu <sdl.web@gmail.com>
7665 * progmodes/octave.el (octave-send-region):
7666 Call compilation-forget-errors.
7668 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7670 * vc/vc-svn.el (vc-svn-find-admin-dir):
7671 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7672 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7673 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7674 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7676 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7678 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7680 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7682 * subr.el (read-passwd): Hide chars even when called within a context
7683 where after-change-functions is disabled (bug#15501).
7684 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7685 until we removed ourself from overriding-terminal-local-map.
7687 2013-10-04 Leo Liu <sdl.web@gmail.com>
7689 * progmodes/octave.el (inferior-octave-mode):
7690 Call compilation-forget-errors.
7692 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7694 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7696 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
7698 * net/secrets.el (secrets-create-collection): Add optional
7699 argument ALIAS. Use proper Label keyword. Append ALIAS as
7700 dbus-call-method argument. (Bug#15516)
7702 2013-10-04 Leo Liu <sdl.web@gmail.com>
7704 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7705 (inferior-octave-compilation-font-lock-keywords): New variables.
7706 (compilation-error-regexp-alist)
7707 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7708 (inferior-octave-mode): Use compilation-shell-minor-mode.
7710 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7712 * minibuffer.el (completion--replace): Be careful that `end' might be
7715 2013-10-03 Daiki Ueno <ueno@gnu.org>
7717 Add support for package signature checking.
7718 * emacs-lisp/package.el (url-http-file-exists-p)
7719 (epg-make-context, epg-context-set-home-directory)
7720 (epg-verify-string, epg-context-result-for)
7721 (epg-signature-status, epg-signature-to-string)
7722 (epg-check-configuration, epg-configuration)
7723 (epg-import-keys-from-file): Declare.
7724 (package-check-signature): New user option.
7725 (package-unsigned-archives): New user option.
7726 (package-desc): Add `signed' field.
7727 (package-load-descriptor): Set `signed' field if .signed file exists.
7728 (package--archive-file-exists-p): New function.
7729 (package--check-signature): New function.
7730 (package-install-from-archive): Check package signature.
7731 (package--download-one-archive): Check archive signature.
7732 (package-delete): Remove .signed file.
7733 (package-import-keyring): New command.
7734 (package-refresh-contents): Import default keyring.
7735 (package-desc-status): Add "unsigned" status.
7736 (describe-package-1, package-menu--print-info)
7737 (package-menu-mark-delete, package-menu--find-upgrades)
7738 (package-menu--status-predicate): Support "unsigned" status.
7740 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7742 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7743 the new compilation scheme using the new byte-codes.
7745 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7746 (byte-pophandler): New byte codes.
7747 (byte-goto-ops): Adjust accordingly.
7748 (byte-compile--use-old-handlers): New var.
7749 (byte-compile-catch): Use new byte codes depending on
7750 byte-compile--use-old-handlers.
7751 (byte-compile-condition-case--old): Rename from
7752 byte-compile-condition-case.
7753 (byte-compile-condition-case--new): New function.
7754 (byte-compile-condition-case): New function that dispatches depending
7755 on byte-compile--use-old-handlers.
7756 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7759 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7760 Optimize under `condition-case' and `catch' if
7761 byte-compile--use-old-handlers is nil.
7762 (disassemble-offset): Handle new bytecodes.
7764 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7766 * subr.el (error): Use `declare'.
7767 (decode-char, encode-char): Use advertised-calling-convention instead
7768 of the docstring to discourage use of the `restriction' arg.
7770 2013-10-03 Daiki Ueno <ueno@gnu.org>
7772 * epg.el (epg-verify-file): Add a comment saying that it does not
7773 notify verification error as a return value nor a signal.
7774 (epg-verify-string): Ditto.
7776 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7778 * progmodes/compile.el (compilation-start): Try globbing the arg to
7781 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
7783 Sync with Tramp 2.2.8.
7785 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7786 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7787 * net/trampver.el: Update release number.
7789 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7791 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7792 and default-process-coding-system for darwin only.
7794 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7796 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7798 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7800 * vc/vc-git.el (vc-git-grep): Disable pager.
7802 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7804 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7805 Use :url instead of :homepage, as per
7806 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7808 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7809 non-nil, use `syntax-ppss' (Bug#15251).
7811 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7813 * progmodes/octave.el (inferior-octave-startup-file):
7814 Prefer ~/.emacs.d/init_octave.m.
7816 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7818 * emacs-lisp/package.el (package-desc-from-define):
7819 Accept additional arguments as plist, convert them to an alist and store
7820 them in the `extras' slot.
7821 (package-generate-description-file): Convert extras alist back to
7822 plist and append to the `define-package' form arguments.
7823 (package--alist-to-plist): New function.
7824 (package--ac-desc): Add `extras' slot.
7825 (package--add-to-archive-contents): Check if the archive-contents
7826 vector is long enough, and if it is, pass its `extras' slot value
7827 to `package-desc-create'.
7828 (package-buffer-info): Call `lm-homepage', pass the returned value
7829 to `package-desc-from-define'.
7830 (describe-package-1): Render the homepage button (Bug#13291).
7832 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7833 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
7835 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7837 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7838 and default-process-coding-system to utf-8-unix (Bug#15402).
7840 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7842 * subr.el (looking-back): Do not recommend using looking-back.
7844 2013-09-28 Alan Mackenzie <acm@muc.de>
7846 Fix indentation/fontification of Java enum with "implements".
7848 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7849 regexp which matches "implements", etc., in Java.
7850 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7851 specifier clauses coming after "enum".
7852 * progmodes/cc-fonts.el (c-font-lock-declarations)
7853 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7856 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7858 * faces.el (region): Change ns_selection_color to
7859 ns_selection_fg_color, add ns_selection_bg_color.
7861 2013-09-28 Leo Liu <sdl.web@gmail.com>
7863 * progmodes/octave.el (inferior-octave-completion-table)
7864 (inferior-octave-completion-at-point): Minor tweaks.
7866 * textmodes/ispell.el (ispell-lookup-words): Rename from
7867 lookup-words. (Bug#15460)
7868 (lookup-words): Obsolete.
7869 (ispell-complete-word, ispell-command-loop): All uses changed.
7871 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7873 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7874 (octave-mode-menu): Add octave-send-buffer.
7875 (octave-send-buffer): New function.
7877 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7879 * progmodes/octave.el (octave-mode-map): Add key binding for
7881 (octave-mode-menu): Add octave-lookfor.
7882 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7884 (octave-lookfor): New function.
7886 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7888 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
7889 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7891 (cl--loop-set-iterator-function): New function.
7892 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7893 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7894 Bind `it' with `let' instead of substituting it with `cl-subst'.
7895 (cl--unused-var-p): New function.
7896 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7897 Eliminate some unused variable warnings (bug#15326).
7899 2013-09-27 Tassilo Horn <tsdh@gnu.org>
7901 * doc-view.el (doc-view-scale-reset): Rename from
7902 `doc-view-reset-zoom-level'.
7903 (doc-view-scale-adjust): New command.
7904 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7905 `doc-view-scale-adjust'.
7907 2013-09-26 Tassilo Horn <tsdh@gnu.org>
7909 * doc-view.el (doc-view-reset-zoom-level): New command.
7910 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7911 zoom commands (bug#15466).
7913 2013-09-26 Kenichi Handa <handa@gnu.org>
7915 * international/quail.el (quail-help): Make it not a command.
7917 2013-09-26 Leo Liu <sdl.web@gmail.com>
7919 * minibuffer.el (completion-all-sorted-completions): Make args
7920 optional as they are.
7922 2013-09-25 Daniel Colascione <dancol@dancol.org>
7924 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7925 specs are and that they're not evaluated.
7927 2013-09-24 Sam Steingold <sds@gnu.org>
7929 * midnight.el (clean-buffer-list-kill-regexps)
7930 (clean-buffer-list-kill-buffer-names): Update for the new Man
7931 buffer naming which includes the object name.
7933 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7935 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7936 (eshell-parse-command, eshell-parse-pipeline): Use it since
7937 eshell-separate-commands requires a dynamic scoped var.
7938 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7940 2013-09-23 Leo Liu <sdl.web@gmail.com>
7942 * autoinsert.el (auto-insert-alist): Make the value of
7943 lexical-binding match its file setting.
7945 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
7947 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7949 * autoarg.el (autoarg-kp-digit-argument):
7950 * electric.el (Electric-command-loop):
7951 * kmacro.el (kmacro-step-edit-insert):
7952 Do not set universal-argument-num-events.
7954 2013-09-22 Leo Liu <sdl.web@gmail.com>
7956 * files.el (interpreter-mode-alist): Add octave.
7958 2013-09-21 Alan Mackenzie <acm@muc.de>
7960 C++: fontify identifier in declaration following "public:" correctly.
7961 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7962 to match "public", etc.
7963 (c-decl-prefix-re): Add ":" into the C++ value.
7964 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7965 bit. Add a check for a ":" preceded by "public", etc.
7967 2013-09-21 Eli Zaretskii <eliz@gnu.org>
7969 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7970 recognized by GDB 7.5 and later.
7972 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7974 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7976 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7978 * subr.el (internal--call-interactively): New const.
7979 (called-interactively-p): Use it (bug#3984).
7981 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7983 * vc/pcvs.el (cvs-mode-ignore):
7984 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7985 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
7987 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7989 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7990 (eshell-ls-orig-insert-directory): Remove.
7991 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7992 (eshell-ls-use-in-dired): Use advice-add/remove.
7993 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7994 Add `orig-fun' arg for use in :around advice.
7995 Make it check (redundantly) eshell-ls-use-in-dired.
7997 2013-09-19 Glenn Morris <rgm@gnu.org>
7999 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8001 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8003 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8005 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8007 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8008 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8009 (tramp-get-remote-python): New defuns.
8010 (tramp-get-remote-uid-with-perl)
8011 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8012 contributed by yary <not.com@gmail.com> (tiny change).
8013 (tramp-get-remote-uid-with-python)
8014 (tramp-get-remote-gid-with-python): New defuns. Python code
8015 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8016 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8018 2013-09-19 Glenn Morris <rgm@gnu.org>
8020 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8022 * eshell/em-unix.el (eshell-remove-entries):
8023 Rename argument to avoid name-clash with global `top-level'.
8025 * eshell/esh-proc.el (eshell-kill-process-function):
8026 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8027 (eshell-reset-after-proc): Remove unused arg `proc'.
8029 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8030 (directory-files-and-attributes): Mark unused arg.
8032 * eshell/em-unix.el (eshell-remove-entries):
8033 Remove unused arg `path'. Update callers.
8035 * eshell/em-hist.el (eshell-hist-parse-arguments):
8036 Remove unused arg `silent'. Update callers.
8038 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8039 Fix (f)boundp mix-up.
8041 * eshell/em-smart.el (eshell-smart-scroll-window)
8042 (eshell-disable-after-change):
8043 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8045 2013-09-18 Alan Mackenzie <acm@muc.de>
8047 Fix fontification of type when followed by "const".
8048 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8049 "known" types from fontification.
8051 2013-09-18 Glenn Morris <rgm@gnu.org>
8053 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8054 (chart-face-list): Drop Emacsen without display-color-p.
8056 * net/eww.el (libxml-parse-html-region): Declare.
8057 (eww-display-html): Explicit error if no libxml2 support.
8059 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8061 * image.el (image-type-from-buffer, image-multi-frame-p):
8062 Remove --without-x warning/error.
8064 * mouse.el (mouse-yank-primary):
8065 * term.el (term-mouse-paste):
8066 Reorder to silence --without-x compilation.
8068 * mpc.el (doc-view-mode): Silence --without-x compilation.
8070 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8071 Silence --without-x compilation.
8073 * progmodes/gud.el (gud-find-file, gud-mode):
8074 Silence --without-x compilation.
8075 (tooltip-mode): Declare.
8077 * wdired.el (dired-backup-overwrite): Remove declaration.
8078 (wdired-mode-map): Add doc string.
8080 * custom.el (x-get-resource): Declare.
8082 * eshell/em-glob.el (ange-cache):
8083 * eshell/em-unix.el (ange-cache): Declare.
8085 * faces.el (x-display-list, x-open-connection, x-get-resource):
8088 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8089 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8092 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8094 * net/gnutls.el (gnutls-log-level): Declare.
8096 * net/shr.el (image-size, image-animate): Declare.
8098 * simple.el (font-info): Declare.
8100 * subr.el (x-popup-dialog): Declare.
8102 * term/common-win.el (x-select-enable-primary)
8103 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8106 * term/ns-win.el (x-handle-args): Declare.
8108 * term/x-win.el (x-select-enable-clipboard): Declare.
8110 * term/w32-win.el (create-default-fontset): Declare.
8112 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8115 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8116 (fit-frame-to-buffer): Explicit error if --without-x.
8117 (mouse-autoselect-window-select): Silence compiler.
8119 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8121 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8122 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8123 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8124 * eshell/esh-util.el (eshell-sublist):
8125 Remove unused local variables.
8127 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8129 * textmodes/two-column.el: Make 2C-split work for --without-x.
8130 (scroll-bar-columns): Autoload.
8131 (top-level): Require fringe when compiling.
8133 2013-09-18 Leo Liu <sdl.web@gmail.com>
8135 * subr.el (add-hook): Robustify to handle closure as well.
8137 2013-09-17 Glenn Morris <rgm@gnu.org>
8139 * simple.el (messages-buffer-mode-map): Unbind "g".
8141 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8143 * help-mode.el (help-mode-finish): Use derived-mode-p.
8144 Remove obsolete highlighting.
8146 * play/life.el (life-mode): Use define-derived-mode. Derive from
8148 (life): Let-bind inhibit-read-only.
8149 (life-setup): Avoid `setq'. Use `life-mode'.
8151 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8152 which should not be needed any more.
8153 (package-menu-refresh, package-menu-describe-package): Use user-error.
8155 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8156 (eshell-post-rewrite-command-hook): Make obsolete.
8157 (eshell-parse-command): Simplify.
8158 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8159 (eshell--cmd): Declare.
8160 (eshell-parse-pipeline): Remove unused var `final-p'.
8161 Pass a dynvar to eshell-post-rewrite-command-hook.
8162 Implement the new eshell-post-rewrite-command-function.
8163 (eshell-invoke-directly): Remove unused arg `input'.
8164 * eshell/esh-io.el (eshell-io-initialize):
8165 Use eshell-post-rewrite-command-function (bug#15399).
8166 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8167 adjust to new calling convention.
8168 (eshell-create-handles): Rename args to avoid clashing with dynvar
8171 2013-09-17 Glenn Morris <rgm@gnu.org>
8173 * simple.el (messages-buffer-mode): New major mode.
8174 (messages-buffer): New function.
8175 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8176 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8177 (ert-run-test): Use `messages-buffer' function.
8178 (ert--force-message-log-buffer-truncation): Ignore read-only.
8179 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8180 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8182 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8184 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8186 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8188 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8190 * icomplete.el (icomplete-in-buffer): New var.
8191 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8192 vars and replace them with functions.
8193 (icomplete-minibuffer-setup): Adjust accordingly.
8194 (icomplete--completion-table, icomplete--completion-predicate)
8195 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8197 (icomplete-forward-completions, icomplete-backward-completions)
8198 (icomplete-simple-completing-p, icomplete-exhibit)
8199 (icomplete-completions): Use them.
8200 (icomplete--in-region-buffer): New var.
8201 (icomplete--in-region-setup): New function.
8202 (icomplete-mode): Use it.
8204 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8206 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8207 return args and options.
8208 (eshell-eval-using-options): Use the new return value of
8209 eshell--do-opts to set the options's vars in their scope.
8210 (eshell--set-option): Rename from eshell-set-option.
8212 (eshell--process-option): Rename from eshell-process-option.
8214 (eshell--process-args): Use an `opt-vals' alist to store the options's
8215 values during their processing and return them additionally to the
8218 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8220 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8221 continuation character an operator, as far as indentation is
8222 concerned (Bug#15369).
8224 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8226 * window.el (window--state-put-2): Don't process buffer state
8227 when buffer doesn't exist any more (Bug#15382).
8229 2013-09-15 Glenn Morris <rgm@gnu.org>
8231 * eshell/em-unix.el (eshell/rm):
8232 Make -f ignore missing files. (Bug#15373)
8234 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8235 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8236 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8238 2013-09-14 Glenn Morris <rgm@gnu.org>
8240 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8242 2013-09-13 Glenn Morris <rgm@gnu.org>
8244 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8245 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8247 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8249 * frame.el (x-focus-frame): Mark as declared in frame.c.
8251 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8253 * ls-lisp.el: Use advice-add.
8254 (original-insert-directory): Remove.
8255 (ls-lisp--insert-directory): Rename from insert-directory; add
8256 `orig-fun' argument.
8257 (insert-directory): Advise.
8259 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8261 * term.el (term-emulate-terminal): Decode the command string
8262 before passing it to term-command-hook. (Bug#15337)
8264 2013-09-13 Glenn Morris <rgm@gnu.org>
8266 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8268 * eshell/esh-ext.el (eshell-search-path): Declare.
8270 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8271 Otherwise an error occurs if eshell-dirs module not loaded.
8273 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8275 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8277 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8278 `tramp-check-proper-host'. Check for a valid method name.
8280 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8281 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8282 * net/tramp-sh.el (tramp-maybe-open-connection):
8283 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8285 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8286 also for hash values.
8288 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8290 * term/ns-win.el (parameters): Don't declare as dynamic.
8291 (before-make-frame-hook): Don't add ineffective function.
8293 * eshell/*.el: Use lexical-binding (bug#15231).
8295 2013-09-12 Kenichi Handa <handa@gnu.org>
8297 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8299 2013-09-12 Glenn Morris <rgm@gnu.org>
8301 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8302 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8304 * subr.el (do-after-load-evaluation): Also give compiler warnings
8305 when obsolete files are used (except by obsolete files).
8307 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8308 in the status output, assume `filename' is the first. (Bug#15322)
8310 * vc/vc.el (vc-deduce-fileset): Doc fix.
8312 * calc/calc-help.el (Info-goto-node):
8313 * progmodes/cperl-mode.el (Info-find-node):
8314 * vc/ediff.el (Info-goto-node): Update declarations.
8316 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8318 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8319 (vc-bzr-pull): Require vc-dispatcher.
8320 * vc/vc-git.el (vc-compilation-mode): Declare.
8321 (vc-git-pull): Require vc-dispatcher.
8323 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8325 * progmodes/octave.el (help-button-action): Declare.
8327 * shell.el (shell-directory-tracker): Output error as a message
8328 rather than just returning it as a string.
8329 (shell-process-pushd): Remove useless use of message.
8331 * dframe.el (dframe-timer-fn):
8332 * files.el (dir-locals-read-from-file):
8333 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8335 * reveal.el (reveal-post-command):
8336 * saveplace.el (load-save-place-alist-from-file):
8337 * shell.el (shell-resync-dirs):
8338 * w32-common-fns.el (x-get-selection-value):
8339 * emacs-lisp/copyright.el (copyright-find-copyright):
8340 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8341 * emulation/tpu-edt.el (tpu-copy-keyfile):
8342 * play/bubbles.el (bubbles--mark-neighbourhood):
8343 * progmodes/executable.el
8344 (executable-make-buffer-file-executable-if-script-p):
8345 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8347 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8349 Cleanup Eshell to rely less on dynamic scoping.
8350 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8351 last-value, and ext-command here. Bind `args' closer to `body'.
8352 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8353 (eshell--args): Declare new dynamic var.
8354 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8355 last-value, and ext-command. Pass `args' to `body'.
8356 (eshell-process-args): Bind eshell--args.
8357 (eshell-set-option): Use eshell--args.
8358 * eshell/eshell.el (eshell): Use derived-mode-p.
8359 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8360 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8361 (eshell-glob-function): Declare.
8362 * eshell/esh-util.el: Require cl-lib.
8363 (eshell-read-hosts-file): Avoid add-to-list.
8364 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8366 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8368 (eshell/diff): Remove unused var `err'.
8369 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8371 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8372 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8374 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8375 Move declaration before first use.
8376 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8377 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8380 2013-09-12 Glenn Morris <rgm@gnu.org>
8382 * term/ns-win.el (global-map): Remove binding for ispell-next,
8383 deleted 1999-05-29. (Bug#15357)
8385 2013-09-11 Glenn Morris <rgm@gnu.org>
8387 * echistory.el (electric-command-history): Remove call to deleted func.
8389 * play/landmark.el (landmark-mode): Fix typos.
8391 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8392 Check cvs-sort-ignore-file is bound.
8394 * savehist.el: No need for cl when compiling on Emacs.
8396 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8398 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8400 (eshell-self-insert-command, eshell-send-invisible):
8401 Remove unused argument.
8402 (eshell-handle-control-codes): Remove unused var `orig'.
8403 Avoid delete-backward-char.
8405 * files.el (set-auto-mode): Simplify a bit further.
8407 2013-09-11 Glenn Morris <rgm@gnu.org>
8409 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8410 (set-auto-mode): Don't regexp-quote elements.
8411 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8412 * progmodes/cc-mode.el (interpreter-mode-alist):
8413 * progmodes/ruby-mode.el (interpreter-mode-alist):
8414 Revert previous change.
8416 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8418 * play/snake.el (snake-mode):
8419 * play/mpuz.el (mpuz-mode):
8420 * play/landmark.el (lm-mode):
8421 * play/blackbox.el (blackbox-mode):
8422 * play/5x5.el (5x5-mode):
8423 * obsolete/options.el (Edit-options-mode):
8424 * net/quickurl.el (quickurl-list-mode):
8425 * net/newst-treeview.el (newsticker-treeview-mode):
8426 * mail/rmailsum.el (rmail-summary-mode):
8427 * mail/mspools.el (mspools-mode):
8428 * locate.el (locate-mode):
8429 * ibuffer.el (ibuffer-mode):
8430 * emulation/ws-mode.el (wordstar-mode):
8431 * emacs-lisp/debug.el (debugger-mode):
8432 * array.el (array-mode):
8433 * net/eudc.el (eudc-mode): Use define-derived-mode.
8434 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8435 Move initialization into declaration.
8436 (mairix-searches-mode): Use define-derived-mode.
8437 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8438 (eudc-edit-hotlist): Use dolist.
8439 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8440 (Man-mode): Use define-derived-mode.
8441 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8442 (Info-edit-mode): Use define-derived-mode.
8443 (Info-cease-edit): Use Info-mode.
8444 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8446 (eshell-mode): Use define-derived-mode.
8447 * chistory.el (command-history-mode-map): Rename from
8448 command-history-map.
8449 (command-history-mode): Use define-derived-mode.
8450 (Command-history-setup): Remove function.
8451 * calc/calc.el (calc-trail-mode-map): New var.
8452 (calc-trail-mode): Use define-derived-mode.
8453 (calc-trail-buffer): Set calc-main-buffer manually.
8454 * bookmark.el (bookmark-insert-annotation): New function.
8455 (bookmark-edit-annotation): Use it.
8456 (bookmark-edit-annotation-mode): Make it a proper major mode.
8457 (bookmark-send-edited-annotation): Use derived-mode-p.
8458 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8459 closer to its ideal place. Use \' to match EOS.
8461 * profiler.el (profiler-calltree-find): Use function-equal.
8463 2013-09-10 Glenn Morris <rgm@gnu.org>
8465 * files.el (interpreter-mode-alist): Convert to regexps.
8466 (set-auto-mode): Adapt for this. (Bug#15306)
8467 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8468 Comment out unused variable.
8469 * progmodes/cc-mode.el (interpreter-mode-alist):
8470 * progmodes/python.el (interpreter-mode-alist):
8471 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8472 * progmodes/sh-script.el (sh-set-shell):
8473 No longer use interpreter-mode-alist to get list of shells.
8475 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8477 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8479 * simple.el: Use set-temporary-overlay-map for universal-argument.
8480 (universal-argument-map): Don't use default-bindings (bug#15317).
8481 Bind switch-frame explicitly. Replace universal-argument-minus with
8482 a conditional binding.
8483 (universal-argument-num-events, saved-overriding-map): Remove.
8484 (restore-overriding-map): Remove.
8485 (universal-argument--mode): Rename from save&set-overriding-map,
8487 (universal-argument, universal-argument-more, negative-argument)
8488 (digit-argument): Adjust accordingly.
8489 (universal-argument-minus): Remove.
8490 (universal-argument-other-key): Remove.
8492 * subr.el (with-demoted-errors): Add `format' argument.
8494 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8496 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8497 `tramp-cleanup-connection'.
8499 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8500 parameters KEEP-DEBUG and KEEP-PASSWORD.
8502 * net/tramp.el (tramp-file-name-handler):
8503 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8504 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8505 (tramp-maybe-open-connection):
8506 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8507 Use `tramp-cleanup-connection'.
8509 * net/tramp-sh.el (tramp-maybe-open-connection):
8510 Catch 'uname-changed inside the progress reporter.
8512 2013-09-10 Glenn Morris <rgm@gnu.org>
8514 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8516 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8517 returns "alternate access method" in mode (eg "-rw-r--r--.").
8519 2013-09-08 Glenn Morris <rgm@gnu.org>
8521 * saveplace.el (load-save-place-alist-from-file):
8522 Demote errors. (Bug#15305)
8524 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8526 Improve compatibility with older Emacsen, and XEmacs.
8528 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8529 only if it is bound. It isn't for XEmacs.
8530 (with-tramp-progress-reporter): Do not let-bind `result'.
8531 This yields to scoping errors in XEmacs.
8532 (tramp-handle-make-auto-save-file-name): New function, moved from
8535 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8536 for `make-auto-save-file-name'.
8537 (tramp-adb--gnu-switches-to-ash):
8538 Use `tramp-compat-replace-regexp-in-string'.
8540 * net/tramp-cache.el (tramp-cache-print): Call
8541 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8543 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8544 bound. It isn't for XEmacs.
8546 * net/tramp-compat.el (tramp-compat-copy-file):
8547 Catch `wrong-number-of-arguments' error.
8548 (tramp-compat-replace-regexp-in-string): New defun.
8550 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8551 for `make-auto-save-file-name'.
8552 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8554 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8555 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8556 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8558 * net/tramp-gw.el (tramp-gw-open-network-stream):
8559 Use `tramp-compat-replace-regexp-in-string'.
8561 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8562 Call `tramp-handle-make-auto-save-file-name'.
8563 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8564 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8565 (tramp-sh-file-inotifywait-process-filter):
8566 Use `tramp-compat-replace-regexp-in-string'.
8567 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8569 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8570 for `make-auto-save-file-name'.
8571 (tramp-smb-handle-copy-directory):
8572 Call `tramp-compat-replace-regexp-in-string'.
8573 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8574 (tramp-smb-handle-copy-file): Improve error message.
8575 (tramp-smb-handle-rename-file): Rename directly only in case
8576 `newname' does not exist yet. This is a restriction of smbclient.
8577 (tramp-smb-maybe-open-connection): Rerun the function only when
8578 `auth-sources' is non-nil.
8580 2013-09-08 Kenichi Handa <handa@gnu.org>
8582 * international/characters.el: Set category "^" (Combining) for
8585 2013-09-07 Alan Mackenzie <acm@muc.de>
8587 Correctly fontify Java class constructors.
8588 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8590 (c-recognize-typeless-decls): Set the Java value to t.
8591 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8592 While handling a "(", add a check for, effectively, Java, and handle a
8593 "typeless" declaration there.
8595 2013-09-07 Roland Winkler <winkler@gnu.org>
8597 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8598 field subtitle for entry type book.
8600 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8602 * minibuffer.el: Make minibuffer-complete call completion-in-region
8603 rather than other way around.
8604 (completion--some, completion-pcm--find-all-completions):
8605 Don't delay signals when debugging.
8606 (minibuffer-completion-contents): Beware fields within the
8607 minibuffer contents.
8608 (completion-all-sorted-completions): Use defvar-local.
8609 (completion--do-completion, completion--cache-all-sorted-completions)
8610 (completion-all-sorted-completions, minibuffer-force-complete):
8611 Add args `beg' and `end'.
8612 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8613 (minibuffer-complete): Use completion-in-region.
8614 (completion-complete-and-exit): New fun, extracted from
8615 minibuffer-complete-and-exit.
8616 (minibuffer-complete-and-exit): Use it.
8617 (completion--complete-and-exit): Rename from
8618 minibuffer--complete-and-exit.
8619 (completion-in-region--single-word): New function, extracted from
8620 minibuffer-complete-word.
8621 (minibuffer-complete-word): Use it.
8622 (display-completion-list): Make `common-substring' argument obsolete.
8623 (completion--in-region): Call completion--in-region-1 instead of
8624 minibuffer-complete.
8625 (completion-help-at-point): Pass boundaries to
8626 minibuffer-completion-help as args rather than via an overlay.
8627 (completion-pcm--string->pattern): Use `any-delim'.
8628 (completion-pcm--optimize-pattern): New function.
8629 (completion-pcm--pattern->regex): Handle `any-delim'.
8630 * icomplete.el (icomplete-forward-completions)
8631 (icomplete-backward-completions, icomplete-completions):
8632 Adjust calls to completion-all-sorted-completions and
8633 completion--cache-all-sorted-completions.
8634 (icomplete-with-completion-tables): Default to t.
8635 * emacs-lisp/crm.el (crm--current-element): Rename from
8636 crm--select-current-element. Don't put an overlay but return the
8638 (crm--completion-command): Take two new args to bind to the boundaries.
8639 (crm-completion-help): Adjust accordingly.
8640 (crm-complete): Use completion-in-region.
8641 (crm-complete-word): Use completion-in-region--single-word.
8642 (crm-complete-and-exit): Use completion-complete-and-exit.
8644 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8646 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8649 2013-09-06 Juri Linkov <juri@jurta.org>
8651 * info.el (Info-display-images-node): When image file doesn't exist
8652 display text version of the image if it's provided in the Info file.
8653 Otherwise, display the location of missing image from SRC attribute.
8654 Add help-echo text property from ALT attribute. (Bug#15279)
8656 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8658 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8659 (edit-abbrevs-mode): Use define-derived-mode.
8661 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8662 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8664 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8665 Use define-derived-mode.
8667 * epg.el (epg-start-encrypt): Minor CSE simplification.
8669 2013-09-06 William Xu <william.xwl@gmail.com>
8671 * arc-mode.el: Add support for 7za (bug#15264).
8672 (archive-7z-program): New var.
8673 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8674 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8675 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8677 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
8681 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8682 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8683 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8684 (tramp-postfix-host-format, tramp-file-name-regexp)
8685 (tramp-completion-file-name-regexp)
8686 (tramp-completion-dissect-file-name)
8687 (tramp-handle-substitute-in-file-name): Remove 'url case.
8688 (tramp-file-name-regexp-url)
8689 (tramp-completion-file-name-regexp-url): Remove constants.
8691 2013-09-06 Glenn Morris <rgm@gnu.org>
8693 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8695 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8697 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8698 keywords" below "here-doc beginnings" (Bug#15270).
8700 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8702 * subr.el (pop): Use `car-safe'.
8703 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8704 to detect unused `pop' return value.
8706 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8708 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8709 (python-fill-string): Remove unused var `marker'.
8710 (python-skeleton-add-menu-items): Remove unused var `items'.
8712 * international/mule-cmds.el: Require CL.
8713 (find-coding-systems-for-charsets): Avoid add-to-list.
8714 (sanitize-coding-system-list): New function, extracted from
8715 select-safe-coding-system-interactively.
8716 (select-safe-coding-system-interactively): Use it.
8717 (read-input-method-name): Accept symbols for `default'.
8719 * emacs-lisp/advice.el (defadvice): Add indent rule.
8721 2013-09-05 Daniel Hackney <dan@haxney.org>
8725 * net/browse-url.el:
8728 * net/eudcb-ldap.el:
8741 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8742 byte compiler. Remove some unused let-bound variables.
8744 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8746 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8747 a "ref-cell", since it gets better optimized (bug#14883).
8749 2013-09-05 Glenn Morris <rgm@gnu.org>
8751 * progmodes/cc-awk.el (c-forward-sws): Declare.
8753 2013-09-04 Glenn Morris <rgm@gnu.org>
8755 * generic-x.el [rul-generic-mode]: Require cc-mode.
8756 (c++-mode-syntax-table): Declare.
8757 (rul-generic-mode-syntax-table): Init in the defvar.
8759 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8761 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8762 (vc-do-command, vc-set-async-update):
8763 * vc/vc-mtn.el (vc-mtn-dir-status):
8764 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8765 (vc-hg-pull, vc-hg-merge-branch):
8766 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8767 (vc-git-merge-branch):
8768 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8769 (vc-cvs-dir-status-files):
8770 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8771 (vc-bzr-dir-status-files):
8772 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8773 * vc/vc-annotate.el: Use lexical-binding.
8774 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8775 (vc-sentinel-movepoint): Declare.
8776 (vc-annotate): Don't use `goto-line'.
8777 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8778 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8779 (vc-sentinel-movepoint): Declare.
8780 * vc/vc-svn.el: Use lexical-binding.
8781 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8783 * vc/vc-rcs.el: Use lexical-binding.
8785 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8786 `deleted'. Don't drop errors silently.
8788 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8790 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8792 * vc/vc.el (vc-ignore): Rewrite.
8793 (vc-default-ignore): New function.
8794 (vc-default-ignore-completion-table): Use find-ignore-file.
8796 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8797 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8798 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8799 Remove. Most code moved to vc.el.
8801 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8803 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
8804 * net/tramp-smb.el (tramp-smb-get-file-entries):
8805 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8806 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8808 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8810 (eww-change-select): Remove unused var `properties'.
8811 (eww-make-unique-file-name): Remove unused var `base'.
8813 * finder.el (finder-compile-keywords): Don't mess with windows.
8815 * calculator.el (calculator-funcall): Fix typo in last change.
8817 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8819 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8820 <pkg>-autoloads.el file stop us.
8822 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
8823 warnings, and factor out common code.
8825 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8827 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8828 two-character operators and whether the character preceding them
8829 changes their meaning (Bug#15208).
8831 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8833 Format code sent to Python shell for robustness.
8834 * progmodes/python.el (python-shell-buffer-substring):
8836 (python-shell-send-region, python-shell-send-buffer): Use it.
8838 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
8840 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8841 * net/tramp.el (tramp-user-error): ... here.
8842 (tramp-find-method, tramp-check-proper-host)
8843 (tramp-dissect-file-name, tramp-debug-message)
8844 (tramp-handle-shell-command):
8845 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8846 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8848 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8850 2013-09-02 Martin Rudalics <rudalics@gmx.at>
8852 * avoid.el (mouse-avoidance-point-position)
8853 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8856 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8858 * progmodes/python.el (python-shell-completion-get-completions):
8859 Drop use of deleted `comint-last-prompt-overlay'.
8860 (python-nav-if-name-main): New command.
8862 2013-09-01 Glenn Morris <rgm@gnu.org>
8864 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8865 Avoid leading space in $wins. Otherwise the sed command used by
8866 eg compile-main ends up containing "/*.el". (Bug#15170)
8868 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8870 2013-08-30 Glenn Morris <rgm@gnu.org>
8872 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8873 Fix is-this-a-directory logic. (Bug#15220)
8875 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8877 * textmodes/css-mode.el: Use SMIE.
8878 (css-smie-grammar): New var.
8879 (css-smie--forward-token, css-smie--backward-token)
8880 (css-smie-rules): New functions.
8881 (css-mode): Use them.
8882 (css-navigation-syntax-table): Remove var.
8883 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8884 (css-indent-calculate, css-indent-line): Remove functions.
8886 Misc changes to reduce use of `(lambda...); and other cleanups.
8887 * cus-edit.el: Use lexical-binding.
8888 (customize-push-and-save, customize-apropos)
8889 (custom-buffer-create-internal): Use closures.
8890 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8891 * progmodes/ada-xref.el: Use setq.
8892 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8893 * dframe.el: Use lexical-binding.
8894 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8895 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8896 * descr-text.el: Use lexical-binding.
8897 (describe-text-widget, describe-text-sexp, describe-property-list):
8899 * comint.el (comint-history-isearch-push-state): Use a closure.
8900 * calculator.el: Use lexical-binding.
8901 (calculator-number-to-string): Make it work with lexical-binding.
8902 (calculator-funcall): Same and use cl-letf.
8904 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8905 (lisp--company-doc-string, lisp--company-location): New functions.
8906 (lisp-completion-at-point): Use them to improve Company support.
8908 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8909 params of lambda expressions.
8910 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8911 (ruby-smie--opening-pipe-p): New function.
8912 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8913 symbols and matched |...| for formal params.
8914 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8915 from being treated as hanging. Handle "rescue".
8917 2013-08-29 Glenn Morris <rgm@gnu.org>
8919 * progmodes/cc-engine.el (c-pull-open-brace):
8920 Move definition before use.
8922 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8924 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8925 are immutable. Don't use `unsafe' any more.
8926 (cl--defsubst-expand): Don't substitute at the same time as keeping
8927 a residual unused let-binding. Don't use `unsafe' any more.
8929 2013-08-29 Glenn Morris <rgm@gnu.org>
8931 * calendar/cal-china.el (calendar-chinese-year-cache):
8934 * nxml/nxml-util.el (nxml-debug-clear-inside):
8935 Use cl-loop rather than loop.
8937 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8939 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8941 2013-08-28 Glenn Morris <rgm@gnu.org>
8943 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8945 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8947 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8949 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8951 * simple.el (repeat-complex-command--called-interactively-skip):
8953 (repeat-complex-command): Use it (bug#14136).
8955 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8956 (c-define-abbrev-table): Add `doc' argument.
8957 (c-mode-abbrev-table, c++-mode-abbrev-table)
8958 (objc-mode-abbrev-table, java-mode-abbrev-table)
8959 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8960 (awk-mode-abbrev-table): Use it.
8961 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8962 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8963 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8964 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8965 Move initialization into the declaration; and remove any
8968 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8969 and dynamic let binding.
8971 * vc/smerge-mode.el: Remove redundant :group args.
8973 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8976 2013-08-28 Juri Linkov <juri@jurta.org>
8978 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8979 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8980 (isearch-other-meta-char): Handle an undefined shifted printing
8981 character by downshifting it. (Bug#15200)
8983 2013-08-28 Juri Linkov <juri@jurta.org>
8985 * isearch.el (isearch-search): Change regexp error message for
8986 non-regexp searches. (Bug#15166)
8988 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8990 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8991 for portability to hosts where /bin/sh has problems.
8993 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8995 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8997 2013-08-27 Juri Linkov <juri@jurta.org>
8999 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9000 in the keyboard macro. (Bug#15126)
9002 2013-08-27 Juri Linkov <juri@jurta.org>
9004 * isearch.el (isearch-quote-char): Comment out converting unibyte
9005 to multibyte, thus syncing with its `quoted-insert' counterpart.
9008 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9010 * window.el (display-buffer-use-some-window): Add missing
9011 argument in call of get-largest-window (Bug#15185).
9012 Reported by Stephen Leake.
9014 2013-08-27 Glenn Morris <rgm@gnu.org>
9016 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9018 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9020 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9021 from a matcher-function unless there's no more matches (bug#15161).
9023 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9025 * minibuffer.el: Revert change from 2013-08-20.
9027 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9028 with text property `tramp-default', if appropriate.
9029 (tramp-check-proper-host): New defun.
9030 (tramp-dissect-file-name): Do not check hostname. Revert change
9032 (tramp-backtrace): Make VEC-OR-PROC optional.
9034 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9035 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9036 * net/tramp-sh.el (tramp-maybe-open-connection):
9037 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9038 Apply `tramp-check-proper-host'.
9040 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9042 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9043 lambda expression in order to have `describe-variable' display it.
9045 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9047 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9048 BUF can be optional. (Bug#15186)
9050 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9052 * progmodes/flymake.el (flymake-get-real-file-name-function):
9053 Fix broken customization. (Bug#15184)
9055 2013-08-25 Alan Mackenzie <acm@muc.de>
9057 Improve indentation of bracelists defined by macros (without "=").
9059 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9060 expansion begins with "{", regard it as bracelist when it doesn't
9063 Parse C++ inher-intro when there's a template split over 2 lines.
9065 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9066 rigorously the search for "class" etc. followed by ":".
9068 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9069 random languages a regexp which never matches rather than nil.
9071 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9073 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9074 (c-awk-regexp-one-line-possibly-open-char-list-re)
9075 (c-awk-one-line-possibly-open-regexp-re)
9076 (c-awk-one-line-non-syn-ws*-re): Remove.
9077 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9078 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9079 (c-awk-space*-unclosed-regexp-/-re): New constants.
9080 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9081 aren't regexp delimiters.
9083 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9084 handling for a rare situation in AWK Mode involving unterminated
9087 2013-08-23 Glenn Morris <rgm@gnu.org>
9089 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9091 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9093 * files.el (create-file-buffer): If the result would begin with
9094 spaces, prepend a "|" instead of removing them. (Bug#15162)
9096 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9098 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9099 text-properties (bug#15155).
9101 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9103 (calc-keypad-redraw): Remove unused var `pad'.
9104 (calc-keypad-press): Remove unused var `menu'.
9106 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9108 * window.el (display-buffer-pop-up-frame):
9109 Call pop-up-frame-function with BUFFER current so `make-frame' will
9110 use it as the new frame's buffer (Bug#15133).
9112 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9114 * calendar/timeclock.el: Minor cleanups.
9115 (timeclock-ask-before-exiting, timeclock-use-display-time):
9117 (timeclock-modeline-display): Define as alias before the
9119 (timeclock-mode-line-display): Use define-minor-mode.
9120 (timeclock-day-list-template): Make it a function, add an argument.
9121 (timeclock-day-list-required, timeclock-day-list-length)
9122 (timeclock-day-list-debt, timeclock-day-list-span)
9123 (timeclock-day-list-break): Adjust calls accordingly.
9125 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9127 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9128 Use read--expression so that completion works again.
9130 2013-08-21 Sam Steingold <sds@gnu.org>
9132 Add rudimentary inferior shell interaction
9133 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9134 (sh-set-shell): Reset it.
9135 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9136 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9138 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9140 * align.el: Use lexical-binding.
9141 (align-region): Simplify accordingly.
9143 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9145 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9147 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9150 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9154 * net/tramp-cmds.el:
9156 * net/tramp-gvfs.el:
9158 * net/tramp-sh.el: Don't wrap external variable declarations by
9159 `eval-when-compile'.
9161 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9163 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9164 now that Emacs supports ImageMagick animations.
9166 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9168 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9169 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9171 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9173 * window.el (mouse-autoselect-window-select): Do autoselect when
9174 mouse pointer is on margin.
9176 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9178 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9180 2013-08-16 Glenn Morris <rgm@gnu.org>
9182 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9183 Handle "Remote Directory" response of some clients. (Bug#15058)
9185 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9186 Tweak warning. (Bug#14926)
9188 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9189 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9191 * image-mode.el (image-mode-map): Add menu items to reverse,
9192 increase, decrease, reset animation speed.
9193 (image--set-speed, image-increase-speed, image-decrease-speed)
9194 (image-reverse-speed, image-reset-speed): New functions.
9195 (image-mode-map): Add bindings for speed commands.
9197 * image.el (image-animate-get-speed, image-animate-set-speed):
9199 (image-animate-timeout): Respect image :speed property.
9201 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9203 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9204 previous line (bug#15101).
9205 (debugger-eval-expression, debugger-record-expression):
9206 Use read--expression (bug#15102).
9208 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9210 Remove byte compiler warnings, visible when compiling with
9211 `byte-compile-force-lexical-warnings' set to t.
9213 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9214 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9215 (tramp-handle-unhandled-file-name-directory)
9216 (tramp-handle-file-notify-add-watch, tramp-action-login)
9217 (tramp-action-succeed, tramp-action-permission-denied)
9218 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9221 * net/tramp-adb.el (tramp-adb-parse-device-names)
9222 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9223 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9224 (tramp-adb-handle-file-truename): Remove unused arguments.
9226 * net/tramp-cache.el (tramp-flush-directory-property)
9227 (tramp-flush-connection-property, tramp-list-connections)
9228 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9230 * net/tramp-compat.el (tramp-compat-make-temp-file):
9231 Rename FILENAME to F.
9233 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9234 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9235 (tramp-zeroconf-parse-workstation-device-names)
9236 (tramp-zeroconf-parse-webdav-device-names)
9237 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9239 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9240 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9242 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9244 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9245 (tramp-sh-handle-insert-file-contents-literally)
9246 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9248 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9249 Remove unused variables.
9251 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9252 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9253 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9255 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9256 Make them a defconst.
9257 (tramp-uuencode-region): Remove unused variable.
9259 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9261 * frameset.el (frameset--prop-setter): New function.
9262 (frameset-prop): Add gv-setter declaration.
9263 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9264 parameter was already set in FILTERED. Doc fix.
9265 (frameset--record-minibuffer-relationships): Allow saving a
9266 minibufferless frame without its corresponding minibuffer frame.
9267 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9268 frame, if the frame id matches.
9269 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9270 frames before orphaned ones.
9271 (frameset-restore): Warn about orphaned windows, instead of error out.
9273 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9275 * window.el (window-make-atom): Don't overwrite parameter
9277 (display-buffer-in-atom-window): Handle special case where we
9278 split an already atomic window.
9279 (window--major-non-side-window, display-buffer-in-side-window)
9280 (window--side-check): Ignore minibuffer window when walking
9282 (window-deletable-p): Return 'frame only if no other frame uses
9283 our minibuffer window.
9284 (record-window-buffer): Run buffer-list-update-hook.
9285 (split-window): Make sure window--check-frame won't destroy an
9286 existing atomic window in case the new window gets nested
9288 (display-buffer-at-bottom): Ignore minibuffer window when
9289 walking window tree. Don't split a side window.
9290 (pop-to-buffer): Don't set-buffer here, the select-window call
9292 (mouse-autoselect-window-select): Autoselect only if we are in the
9293 text portion of the window.
9295 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9297 * net/shr.el (shr-parse-image-data): New function to grab both the
9298 data itself and the Content-Type.
9299 (shr-put-image): Use it.
9301 * net/eww.el (eww-display-image): Ditto.
9303 * image.el (image-content-type-suffixes): New variable.
9305 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9307 * progmodes/python.el (python-imenu--build-tree)
9308 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9310 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9312 * simple.el (backward-word): Mention the optional argument.
9314 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9316 * frameset.el (frameset--make): Rename constructor from make-frameset.
9317 (frameset-p, frameset-valid-p): Don't autoload.
9318 (frameset-valid-p): Use normal accessors.
9320 2013-08-13 Glenn Morris <rgm@gnu.org>
9322 * progmodes/compile.el (compile-command): Tweak example in doc.
9323 * obsolete/scribe.el (scribe-mode):
9324 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9326 * mail/feedmail.el (feedmail-confirm-outgoing)
9327 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9329 * cus-start.el (truncate-partial-width-windows): Fix type.
9331 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9333 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9335 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9337 * emacs-lisp/timer.el (timer--time-setter): New function.
9338 (timer--time): Use it as gv-setter.
9340 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9341 setter is not a symbol.
9343 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9345 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9346 if sending fails. This makes debugging easier.
9348 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9350 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9351 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9352 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9354 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9356 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9358 2013-08-12 Glenn Morris <rgm@gnu.org>
9360 * format.el (format-annotate-function):
9361 Handle read-only text properties in the source. (Bug#14887)
9363 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9365 * net/eww.el (eww-display-html): Ignore coding system errors.
9366 One web site uses "utf-8lias" as the coding system.
9368 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9370 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9372 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9374 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9375 (tutorial--detailed-help): Remove unused local variables.
9376 (tutorial--save-tutorial-to): Use ignore-errors.
9377 (help-with-tutorial): Use looking-at-p.
9379 * view.el (view-buffer-other-window, view-buffer-other-frame):
9380 Mark unused arguments.
9382 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9383 (woman-select-symbol-fonts, woman, woman-find-file)
9384 (woman-insert-file-contents, woman-non-underline-faces):
9386 (woman1-unquote): Move declaration.
9388 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9389 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9390 argument. Remove unused local variable.
9391 (xml-parse-elem-type): Use string-match-p.
9392 (xml-substitute-numeric-entities): Use ignore-errors.
9394 * calculator.el (calculator): Mark unused argument.
9395 (calculator-paste, calculator-quit, calculator-integer-p):
9397 (calculator-string-to-number, calculator-decimal, calculator-exp)
9398 (calculator-op-or-exp): Use string-match-p.
9400 * dired.el (dired-buffer-more-recently-used-p): Declare.
9401 (dired-insert-set-properties, dired-insert-old-subdirs):
9404 * dired-aux.el (dired-compress): Use ignore-errors.
9405 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9406 (dired-do-async-shell-command, dired-do-shell-command)
9407 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9408 (dired-insert-subdir-validate): Use string-match-p.
9409 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9410 (dired-add-entry): Use string-match-p, looking-at-p.
9411 (dired-insert-subdir-newpos): Remove unused local variable.
9413 * filenotify.el (file-notify-callback): Remove unused local variable.
9415 * filesets.el (filesets-error): Mark unused argument.
9416 (filesets-which-command-p, filesets-filter-dir-names)
9417 (filesets-directory-files, filesets-get-external-viewer)
9418 (filesets-ingroup-get-data): Use string-match-p.
9420 * find-file.el (ff-other-file-name, ff-other-file-name)
9421 (ff-find-the-other-file, ff-cc-hh-converter):
9422 Remove unused local variables.
9423 (ff-get-file-name): Use string-match-p.
9424 (ff-all-dirs-under): Use ignore-errors.
9426 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9427 (follow-select-if-visible): Remove unused local variable.
9429 * forms.el (read-file-filter): Move declaration.
9430 (forms--make-format, forms--make-parser, forms-insert-record):
9431 Quote function with #'.
9432 (forms--update): Use string-match-p. Quote function with #'.
9434 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9435 (help-make-xrefs): Use looking-at-p.
9436 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9438 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9439 (ibuffer-confirm-operation-on): Use string-match-p.
9441 * msb.el (msb-item-handler, msb-dired-item-handler):
9442 Mark unused arguments.
9444 * ses.el (ses-decode-cell-symbol)
9445 (ses-kill-override): Remove unused local variable.
9446 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9447 (ses-load): Use ignore-errors, looking-at-p.
9448 (ses-jump-safe): Use ignore-errors.
9449 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9451 * tabify.el (untabify, tabify): Mark unused arguments.
9453 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9454 Mark unused argument.
9455 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9456 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9458 * emacs-lisp/timer.el (timer--time): Define setter with
9459 gv-define-setter to avoid deprecation warning.
9461 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9462 (*record-cmpl-statistics-p*): Remove (was commented out).
9463 (cmpl-statistics-block): Remove (body was commented out).
9464 All callers changed.
9465 (add-completions-from-buffer, load-completions-from-file):
9466 Remove unused variables.
9468 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9470 * filecache.el (file-cache-delete-file-list):
9471 Print message only when told so.
9472 (file-cache-files-matching): Use #' in mapconcat argument.
9474 * ffap.el (ffap-url-at-point): Fix reference to variable
9475 thing-at-point-default-mail-uri-scheme.
9477 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9479 * subr.el (define-error): New function.
9480 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9481 error-file-not-found and define with define-error.
9482 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9483 and define with define-error.
9484 * userlock.el (file-locked, file-supersession):
9485 * simple.el (mark-inactive):
9486 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9487 * progmodes/ada-mode.el (ada-mode-errors):
9488 * play/life.el (life-extinct):
9489 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9490 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9491 * nxml/rng-util.el (rng-error):
9492 * nxml/rng-uri.el (rng-uri-error):
9493 * nxml/rng-match.el (rng-compile-error):
9494 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9495 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9496 * nxml/nxml-rap.el (nxml-scan-error):
9497 * nxml/nxml-outln.el (nxml-outline-error):
9498 * net/soap-client.el (soap-error):
9499 * net/gnutls.el (gnutls-error):
9500 * net/ange-ftp.el (ftp-error):
9501 * mpc.el (mpc-proc-error):
9502 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9503 (json-number-format, json-string-escape, json-string-format)
9504 (json-key-format, json-object-format):
9505 * jka-compr.el (compression-error):
9506 * international/quail.el (quail-error):
9507 * international/kkc.el (kkc-error):
9508 * emacs-lisp/ert.el (ert-test-failed):
9509 * calc/calc.el (calc-error, inexact-result, math-overflow)
9511 * bookmark.el (bookmark-error-no-filename):
9512 * epg.el (epg-error): Define with define-error.
9514 * time.el (display-time-event-handler)
9515 (display-time-next-load-average): Don't call sit-for since it seems
9516 unnecessary (bug#15045).
9518 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9519 Use #' instead of ' to quote functions.
9520 (checkdoc-output-mode): Use setq-local.
9521 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9522 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9523 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9524 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9525 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9526 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9527 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9528 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9530 * ido.el (ido-completion-help): Fix up compiler warning.
9532 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9534 * frameset.el (frameset-p): Add autoload cookie.
9535 (frameset--jump-to-register): New function, based on code moved from
9537 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9539 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9540 (frameset-restore, frameset-save, frameset-session-filter-alist):
9541 Remove declarations.
9542 (register-alist): Doc fix.
9543 (frameset-to-register): Move to frameset.el.
9544 (jump-to-register, describe-register-1): Remove frameset-specific code.
9546 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9548 * allout-widgets.el (allout-widgets-pre-command-business)
9549 (allout-widgets-post-command-business)
9550 (allout-widgets-after-change-handler)
9551 (allout-decorate-item-and-context, allout-set-boundary-marker)
9552 (allout-body-modification-handler)
9553 (allout-graphics-modification-handler): Mark ignored arguments.
9554 (allout-widgets-post-command-business)
9555 (allout-widgets-exposure-change-processor)
9556 (allout-widgets-exposure-undo-processor)
9557 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9558 (allout-parse-item-at-point, allout-decorate-item-guides)
9559 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9560 * allout.el (epa-passphrase-callback-function): Declare.
9561 (allout-overlay-insert-in-front-handler)
9562 (allout-overlay-interior-modification-handler)
9563 (allout-isearch-end-handler, allout-chart-siblings)
9564 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9565 (allout-yank-processing, allout-process-exposed)
9566 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9567 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9568 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9569 (lisp-indent-defform): Mark ignored arguments.
9570 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9571 (calculate-lisp-indent): Remove unused variables.
9572 * international/characters.el (indian-2-column, arabic-2-column)
9573 (tibetan): Mark ignored arguments.
9574 (use-cjk-char-width-table): Mark ignored arguments.
9575 Remove unused variables.
9576 * international/fontset.el (build-default-fontset-data)
9577 (x-compose-font-name, create-fontset-from-fontset-spec):
9578 Mark ignored arguments.
9579 (fontset-plain-name): Remove unused variables.
9580 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9581 (keyboard-coding-system): Mark ignored arguments.
9582 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9583 * help.el (resize-temp-buffer-window):
9584 * window.el (display-buffer-in-major-side-window)
9585 (display-buffer-in-side-window, display-buffer-in-previous-window):
9586 Remove unused variables.
9587 * isearch.el (isearch-forward-symbol):
9588 * version.el (emacs-bzr-version-bzr):
9589 * international/mule-cmds.el (current-language-environment):
9590 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9592 * term/pc-win.el (x-list-fonts, x-display-planes)
9593 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9594 (x-server-version, x-display-screens, x-display-mm-height)
9595 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9596 (x-selection-owner-p, x-own-selection-internal)
9597 (x-disown-selection-internal, x-get-selection-internal)
9598 (msdos-initialize-window-system):
9599 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9600 * term/x-win.el (x-handle-no-bitmap-icon):
9601 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9602 (vc-default-find-file-hook, vc-default-extra-menu):
9603 Mark ignored arguments.
9605 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9607 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9608 break-condition in the context of the debugged code (bug#12685).
9610 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9613 Do not use an overlay to highlight the last prompt. (Bug#14744)
9614 (comint-mode): Make comint-last-prompt buffer local.
9615 (comint-last-prompt): New variable.
9616 (comint-last-prompt-overlay): Remove. Superseded by
9618 (comint-snapshot-last-prompt, comint-output-filter):
9619 Use comint-last-prompt.
9621 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9623 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9624 (frameset-save): Check validity of the resulting frameset.
9626 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9628 * ido.el (ido-record-command): Add doc string.
9630 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9632 * frameset.el (frameset): Do not disable creation of the default
9633 frameset-p predicate. Doc fix.
9634 (frameset-valid-p): New function, copied from the old predicate-p.
9635 Add additional checks.
9636 (frameset-restore): Check with frameset-valid-p.
9637 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9638 (frameset-name, frameset-description, frameset-properties)
9639 (frameset-states): Add docstring.
9640 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9641 (frameset-filter-alist): Doc fixes.
9643 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9645 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9647 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9649 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9650 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9651 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9652 (byte-compile-normal-call): Remove obsolescence check.
9654 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9656 * frameset.el (frameset-restore): Doc fix.
9658 * register.el (frameset-frame-id, frameset-frame-with-id)
9659 (frameset-p, frameset-restore, frameset-save): Declare.
9660 (register-alist): Document framesets.
9661 (frameset-session-filter-alist): Declare.
9662 (frameset-to-register): New function.
9663 (jump-to-register): Implement jumping to framesets. Doc fix.
9664 (describe-register-1): Describe framesets.
9666 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9668 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
9670 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9671 Use lexical-binding.
9673 * frameset.el (frameset): Use type vector, not list (incompatible
9674 change). Do not declare a new constructor, use the default one.
9675 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9676 `name' and `description', respectively, and add read-only slot
9677 `timestamp'. Doc fixes.
9678 (frameset-copy, frameset-persistent-filter-alist)
9679 (frameset-filter-alist, frameset-switch-to-gui-p)
9680 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9681 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9682 (frameset-filter-iconified, frameset-keep-original-display-p):
9684 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9685 Rename from frameset-filter-(save|restore)-param. All callers changed.
9687 (frameset-p): Adapt to change to vector and be more thorough.
9688 Change arg name to OBJECT. Doc fix.
9689 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9690 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9691 All callers changed.
9692 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9693 All callers changed.
9694 (frameset--record-minibuffer-relationships): Rename from
9695 frameset--process-minibuffer-frames. All callers changed.
9696 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9697 Use new default constructor (again). Doc fix.
9698 (frameset--find-frame-if): Rename from `frameset--find-frame'.
9699 All callers changed.
9700 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9701 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9703 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9704 PARAMETERS and WINDOW-STATE, respectively.
9705 (frameset-restore): Add new keyword argument PREDICATE.
9706 Reset frameset--target-display to nil. Doc fix.
9708 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9710 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9712 (bat-mode-syntax-table): Mark \n as end-of-comment.
9713 (bat-font-lock-keywords): Remove comment rule.
9715 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9716 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9718 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9719 (byte-compile-callargs-warn): Use `push'.
9720 (byte-compile-arglist-warn): Ignore higher-order "calls".
9721 (byte-compile-file-form-autoload): Use `pcase'.
9722 (byte-compile-function-form): If quoting a symbol, check that it exists.
9724 2013-08-07 Eli Zaretskii <eliz@gnu.org>
9726 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9727 and add a few popular commands found in batch files.
9728 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9729 (dos-mode): Doc fixes.
9731 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9733 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9734 (dos-mode): Use setq-local. Add space after "rem".
9735 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9736 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9738 2013-08-07 Arni Magnusson <arnima@hafro.is>
9740 * progmodes/dos.el: New file.
9741 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9744 2013-08-06 Glenn Morris <rgm@gnu.org>
9746 * calendar/calendar.el: Add new faces, and day-header-array.
9747 (calendar-weekday-header, calendar-weekend-header)
9748 (calendar-month-header): New faces.
9749 (calendar-day-header-construct): New function.
9750 (calendar-day-header-width): Also :set calendar-day-header-array.
9751 (calendar-american-month-header, calendar-european-month-header)
9752 (calendar-iso-month-header): Use calendar- faces.
9753 (calendar-generate-month):
9754 Use calendar-day-header-array for day headers; apply faces to them.
9755 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9756 (calendar-abbrev-construct): Add optional maxlen argument.
9757 (calendar-day-name-array): Doc fix.
9758 (calendar-day-name-array, calendar-abbrev-length)
9759 (calendar-day-abbrev-array):
9760 Also :set calendar-day-header-array, and maybe redraw.
9761 (calendar-day-header-array): New option. (Bug#15007)
9762 (calendar-font-lock-keywords): Set to nil and make obsolete.
9763 (calendar-day-name): Add option to use header array.
9765 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9767 * net/shr.el (shr-render-td): Remove debugging.
9768 (shr-render-td): Make width computation consistent by defaulting
9769 all zero-width columns to 10 characters. This may not be optimal,
9770 but it's at least consistent.
9771 (shr-make-table-1): Redo last change to fix the real problem in
9774 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9776 * files.el (cache-long-line-scans):
9777 Make obsolete alias to `cache-long-scans'.
9779 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9781 * frameset.el (frameset, frameset-filter-alist)
9782 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9783 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9784 (frameset-compute-pos): Rename from frameset--compute-pos,
9786 (frameset-move-onscreen): Use frameset-compute-pos.
9787 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9789 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9790 Fix typos in docstrings.
9792 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9794 * frame.el (get-other-frame): Tiny cleanup.
9796 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9798 * vc/vc.el (vc-default-ignore-completion-table):
9799 Silence byte-compiler warning.
9801 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
9802 slot, which can indeed be nil.
9803 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9804 Move entry for `left' from persistent to live filter alist.
9805 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9807 (frameset-filter-params): When restoring a frame, copy items added to
9808 `filtered', to avoid unwittingly modifying the original parameters.
9809 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9810 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9812 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9813 to use looking-at-p instead of looking-at. (Bug#15028)
9815 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9817 Revert introduction of isearch-filter-predicates (bug#14714).
9818 Rely on add-function instead.
9819 * isearch.el (isearch-filter-predicates): Rename it back to
9820 isearch-filter-predicate.
9821 (isearch-message-prefix): Use advice-function-mapc and advice
9822 properties to get the isearch-message-prefix.
9823 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9824 instead of run-hook-with-args-until-failure.
9825 (isearch-filter-visible): Not obsolete any more.
9826 * loadup.el: Preload nadvice.
9827 * replace.el (perform-replace): Revert to funcall
9828 instead of run-hook-with-args-until-failure.
9829 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9830 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9831 dired-isearch-filenames-toggle; make it into a proper minor mode.
9832 Use add/remove-function.
9833 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9834 Call the minor-mode rather than add/remove-hook.
9835 (dired-isearch-filter-filenames):
9836 Remove isearch-message-prefix property.
9837 * info.el (Info--search-loop): New function, extracted from Info-search.
9838 Funcall isearch-filter-predicate instead of
9839 run-hook-with-args-until-failure isearch-filter-predicates.
9840 (Info-search): Use it.
9841 (Info-mode): Use isearch-filter-predicate instead of
9842 isearch-filter-predicates.
9844 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9846 Do not call to `selected-window' where it is assumed by default.
9847 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9848 `window-hscroll', `window-width', `window-height', `window-buffer',
9849 `window-frame', `window-start', `window-point', `next-window'
9850 and `window-display-table'.
9851 * abbrev.el (abbrev--default-expand):
9852 * bs.el (bs--show-with-configuration):
9853 * buff-menu.el (Buffer-menu-mouse-select):
9854 * calc/calc.el (calc):
9855 * calendar/calendar.el (calendar-generate-window):
9856 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9858 * comint.el (send-invisible, comint-dynamic-complete-filename)
9859 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9860 * completion.el (complete):
9861 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9862 * disp-table.el (describe-current-display-table):
9863 * doc-view.el (doc-view-insert-image):
9864 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9865 * ehelp.el (with-electric-help):
9866 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9867 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9868 * emacs-lisp/helper.el (Helper-help-scroller):
9869 * emulation/cua-base.el (cua--post-command-handler-1):
9870 * eshell/esh-mode.el (eshell-output-filter):
9871 * ffap.el (ffap-gnus-wrapper):
9872 * help-macro.el (make-help-screen):
9873 * hilit-chg.el (highlight-compare-buffers):
9874 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9875 * hl-line.el (global-hl-line-highlight):
9876 * icomplete.el (icomplete-simple-completing-p):
9877 * isearch.el (isearch-done):
9878 * jit-lock.el (jit-lock-stealth-fontify):
9879 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
9880 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
9881 * mpc.el (mpc-tagbrowser, mpc):
9882 * net/rcirc.el (rcirc-any-buffer):
9883 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9884 * play/landmark.el (landmark-max-width, landmark-max-height):
9885 * play/zone.el (zone):
9886 * progmodes/compile.el (compilation-goto-locus):
9887 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9888 * progmodes/etags.el (find-tag-other-window):
9889 * progmodes/fortran.el (fortran-column-ruler):
9890 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9891 * progmodes/verilog-mode.el (verilog-point-text):
9892 * reposition.el (reposition-window):
9893 * rot13.el (toggle-rot13-mode):
9894 * server.el (server-switch-buffer):
9895 * shell.el (shell-dynamic-complete-command)
9896 (shell-dynamic-complete-environment-variable):
9897 * simple.el (insert-buffer, set-selective-display)
9898 (delete-completion-window):
9899 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9900 (speedbar-recenter):
9901 * startup.el (fancy-splash-head):
9902 * textmodes/ispell.el (ispell-command-loop):
9903 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9904 * tutorial.el (help-with-tutorial):
9905 * vc/add-log.el (add-change-log-entry):
9906 * vc/compare-w.el (compare-windows):
9907 * vc/ediff-help.el (ediff-indent-help-message):
9908 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9909 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9910 (ediff-setup-control-frame):
9911 * vc/emerge.el (emerge-position-region):
9912 * vc/pcvs-util.el (cvs-bury-buffer):
9913 * window.el (walk-windows, mouse-autoselect-window-select):
9914 * winner.el (winner-set-conf, winner-undo): Related users changed.
9916 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9918 * frameset.el (frameset--set-id): Doc fix.
9919 (frameset-frame-id, frameset-frame-id-equal-p)
9920 (frameset-locate-frame-id): New functions.
9921 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9922 (frameset-restore): Use them.
9924 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9926 Do not call to `selected-frame' where it is assumed by default.
9927 Affected functions are `raise-frame', `redraw-frame',
9928 `frame-first-window', `frame-terminal' and `delete-frame'.
9929 * calendar/appt.el (appt-disp-window):
9930 * epg.el (epg-wait-for-completion):
9931 * follow.el (follow-delete-other-windows-and-split)
9932 (follow-avoid-tail-recenter):
9933 * international/mule.el (set-terminal-coding-system):
9934 * mail/rmail.el (rmail-mail-return):
9935 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9936 * progmodes/f90.el (f90-add-imenu-menu):
9937 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9938 * server.el (server-switch-buffer):
9939 * simple.el (delete-completion-window):
9941 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9942 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9943 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9944 * vc/ediff.el (ediff-documentation): Related users changed.
9945 * frame.el (selected-terminal): Remove the leftover.
9947 2013-08-05 Glenn Morris <rgm@gnu.org>
9949 * calendar/calendar.el (calendar-generate-month):
9950 Fix for calendar-column-width != 1 + calendar-day-digit-width.
9951 (calendar-generate-month, calendar-font-lock-keywords):
9952 Fix for calendar-day-header-width > length of any day name.
9954 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9956 * desktop.el (desktop-clear): Use new name of sort predicate.
9958 * frameset.el (frameset): Add docstring. Move :version property to its
9960 (frameset-copy): Rename from copy-frameset.
9961 (frameset-p): Check more thoroughly.
9962 (frameset-prop): Do not check for :version, which is no longer a prop.
9963 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9964 Use new :never value instead of t.
9965 (frameset-filter-alist): Expand and clarify docstring.
9966 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9967 (frameset-filter-minibuffer, frameset-filter-save-param)
9968 (frameset-filter-restore-param, frameset-filter-iconified):
9969 Add pointer to docstring of frameset-filter-alist.
9970 (frameset-filter-params): Rename filter values to be more meaningful:
9971 :never instead of t, and reverse the meanings of :save and :restore.
9972 (frameset--process-minibuffer-frames): Clarify error message.
9973 (frameset-save): Avoid unnecessary and confusing call to framep.
9974 Use new BOA constructor for framesets.
9975 (frameset--reuse-list): Doc fix.
9976 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9977 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9978 (frameset-minibufferless-first-p): Doc fix.
9979 Rename from frameset-sort-frames-for-deletion.
9980 (frameset-restore): Doc fixes. Use new function names.
9981 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9983 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9985 * desktop.el (desktop-restore-forces-onscreen)
9986 (desktop-restore-reuses-frames): Document :keyword constant values.
9987 (desktop-filter-parameters-alist): Remove, now identical to
9988 frameset-filter-alist.
9989 (desktop--filter-tty*): Remove, moved to frameset.el.
9990 (desktop-save-frameset, desktop-restore-frameset):
9991 Do not pass :filters argument.
9993 * frameset.el (frameset-live-filter-alist)
9994 (frameset-persistent-filter-alist): New variables.
9995 (frameset-filter-alist): Use them. Add autoload cookie.
9996 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9997 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9998 `frameset--id' (it's supposed to be internal to frameset.el).
9999 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10000 (frameset--initial-params): New function.
10001 (frameset--get-frame): Use it. Doc fix.
10002 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10003 Accept :all, not 'all.
10004 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10005 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10006 with fbound symbols. Fix frame id matching, and remove matching ids if
10007 the frame being restored is deleted. Obey :delete.
10009 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10011 * subr.el (macrop): New function.
10012 (text-clone--maintaining): New var.
10013 (text-clone--maintain): Rename from text-clone-maintain. Use it
10014 instead of inhibit-modification-hooks.
10016 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10017 a proxy, so as handle autoloads and redefinitions of the target.
10018 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10020 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10021 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10022 (pcase--mutually-exclusive-p): New function.
10023 (pcase--split-consp): Use it.
10024 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10025 mutually exclusive with the current predicate.
10027 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10028 (edebug-macrop): Remove. Use `macrop' instead.
10029 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10031 * eshell/esh-cmd.el (eshell-macrop):
10032 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10034 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10036 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10037 (advice-mapc): New function, using it.
10038 (advice-function-member-p): New function.
10039 (advice--normalize): Store the cdr in advice--saved-rewrite since
10040 that's the part that will be changed.
10041 (advice--symbol-function): New function.
10042 (advice-remove): Handle removal before the function is defined.
10043 Adjust to new advice--saved-rewrite.
10044 (advice-member-p): Use advice-function-member-p and
10045 advice--symbol-function.
10047 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10049 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10050 (frameset-filter-minibuffer): Doc fix.
10051 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10052 (frameset--set-id, frameset--process-minibuffer-frames)
10053 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10054 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10056 * desktop.el (desktop-clear): Only delete frames when called
10057 interactively and desktop-restore-frames is non-nil. Doc fix.
10058 (desktop-read): Set desktop-saved-frameset to nil.
10060 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10062 * vc/vc.el (vc-ignore): Rewrite.
10063 (vc-default-ignore-completion-table, vc--read-lines)
10064 (vc--add-line, vc--remove-regexp): New functions.
10066 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10067 (vc-svn-ignore-completion-table): New function.
10069 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10070 (vc-hg-ignore-completion-table)
10071 (vc-hg-find-ignore-file): New functions.
10073 * vc/vc-git.el (vc-git-ignore): Rewrite.
10074 (vc-git-ignore-completion-table)
10075 (vc-git-find-ignore-file): New functions.
10077 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10079 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10080 (vc-bzr-ignore-completion-table)
10081 (vc-bzr-find-ignore-file): New functions.
10083 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10085 * frameset.el (frameset-prop): New function and setter.
10086 (frameset-save): Do not modify frame list passed by the caller.
10088 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10090 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10092 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10094 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10095 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10097 * custom.el (custom-initialize-default, custom-initialize-set)
10098 (custom-initialize-reset, custom-initialize-changed): Affect the
10099 toplevel-default-value (bug#6275, bug#14586).
10100 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10103 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10105 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10106 Add cl-def* expressions.
10108 * frameset.el (frameset-filter-params): Fix order of arguments.
10110 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10112 Move code related to saving frames to frameset.el.
10113 * desktop.el: Require frameset.
10114 (desktop-restore-frames): Doc fix.
10115 (desktop-restore-reuses-frames): Rename from
10116 desktop-restoring-reuses-frames.
10117 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10118 (desktop-clear): Clear frames too.
10119 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10120 (desktop--filter-tty*, desktop-save, desktop-read):
10121 Use frameset functions.
10122 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10123 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10124 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10125 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10126 (desktop--process-minibuffer-frames, desktop-save-frames)
10127 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10128 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10129 (desktop--sort-states, desktop-restoring-frames-p)
10130 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10131 (desktop-restoring-frameset-p, desktop-restore-frameset)
10132 (desktop--check-dont-save, desktop-save-frameset): New functions.
10133 (desktop--app-id): New constant.
10134 (desktop-first-buffer, desktop-buffer-ok-count)
10135 (desktop-buffer-fail-count): Move before first use.
10136 * frameset.el: New file.
10138 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10140 * files.el: Use lexical-binding.
10141 (dir-locals-read-from-file): Remove unused `err' variable.
10142 (hack-dir-local-variables--warned-coding): New var.
10143 (hack-dir-local-variables): Use it to avoid repeated warnings.
10144 (make-backup-file-name--default-function): New function.
10145 (make-backup-file-name-function): Use it as default.
10146 (buffer-stale--default-function): New function.
10147 (buffer-stale-function): Use it as default.
10148 (revert-buffer-insert-file-contents--default-function): New function.
10149 (revert-buffer-insert-file-contents-function): Use it as default.
10150 (insert-directory): Avoid add-to-list.
10152 * autorevert.el (auto-revert-handler): Simplify.
10153 Use buffer-stale--default-function.
10155 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10157 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10159 * whitespace.el (whitespace-ensure-local-variables): New function.
10160 (whitespace-cleanup-region): Call it.
10161 (whitespace-turn-on): Call it.
10163 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10165 Complete file name handlers.
10167 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10168 (tramp-handle-verify-visited-file-modtime)
10169 (tramp-handle-file-notify-rm-watch): New functions.
10170 (tramp-call-process): Do not bind `default-directory'.
10172 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10173 Order alphabetically.
10174 <access-file, add-name-to-file, dired-call-process>:
10175 <dired-compress-file, file-acl, file-notify-rm-watch>:
10176 <file-ownership-preserved-p, file-selinux-context>:
10177 <make-directory-internal, make-symbolic-link, set-file-acl>:
10178 <set-file-selinux-context, set-visited-file-modtime>:
10179 <verify-visited-file-modtime>: Add handler.
10180 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10182 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10183 <file-notify-add-watch, file-notify-rm-watch>:
10184 <set-file-times, set-visited-file-modtime>:
10185 <verify-visited-file-modtime>: Add handler.
10186 (with-tramp-gvfs-error-message)
10187 (tramp-gvfs-handle-set-visited-file-modtime)
10188 (tramp-gvfs-fuse-file-name): Remove.
10189 (tramp-gvfs-handle-file-notify-add-watch)
10190 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10191 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10193 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10194 Order alphabetically.
10195 <file-notify-rm-watch>: Use default Tramp handler.
10196 <executable-find>: Remove private handler.
10197 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10198 `default-directory'.
10199 (tramp-sh-handle-executable-find)
10200 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10201 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10202 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10203 Do not use `format' in `tramp-message'.
10205 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10206 <file-notify-rm-watch, set-visited-file-modtime>:
10207 <verify-visited-file-modtime>: Add handler.
10208 (tramp-smb-call-winexe): Do not bind `default-directory'.
10210 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10212 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10214 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10216 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10218 (log-view-diff-changeset): Same.
10219 (log-view-diff-common): Call backend command `previous-revision'
10220 to find out the previous revision, in both cases. Swap the
10221 variables `to' and `fr', so that `fr' usually refers to the
10222 earlier revision (Bug#14989).
10224 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10226 * ibuf-ext.el (ibuffer-filter-by-filename):
10227 Make it work with dired buffers too.
10229 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10231 * emacs-lisp/re-builder.el (reb-color-display-p):
10232 * files.el (save-buffers-kill-terminal):
10233 * net/browse-url.el (browse-url):
10234 * server.el (server-save-buffers-kill-terminal):
10235 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10236 Prefer nil to selected-frame for the first arg of frame-parameter.
10238 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10240 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10242 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10244 * minibuffer.el (completion--twq-all): Try and preserve each
10245 completion's case choice (bug#14907).
10247 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10249 * net/network-stream.el (open-network-stream): Mention the new
10250 :nogreeting parameter.
10251 (network-stream-open-starttls): Use the :nogreeting parameter
10254 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10256 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10257 more natural than popping.
10259 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10260 (shr-urlify): Highlight under mouse.
10262 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10264 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10266 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10268 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10271 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10272 point-min==1. Fix search string. Fix parentheses missing.
10274 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10275 assume point-min==1. Fix search string. Fix parentheses missing.
10277 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10279 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10282 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10284 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10285 initial frame is minibuffer-less. (Bug#14841)
10287 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10289 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10292 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10293 (tramp-maybe-open-connection): Use it.
10295 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10297 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10298 minimal set of parameters passed when creating a frame, because
10299 the minibuffer status of a frame cannot be changed later.
10301 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10303 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10304 replace-regexp-in-string and inadvertent omissions in previous change.
10305 (todo-filter-items): Ensure only file names are comma-separated in
10306 name of filtered items buffer.
10308 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10310 * desktop.el: Optionally force offscreen frames back onscreen.
10311 (desktop-restoring-reuses-frames): New option.
10312 (desktop--compute-pos, desktop--move-onscreen): New functions.
10313 (desktop--make-frame): Use desktop--move-onscreen.
10315 2013-07-27 Alan Mackenzie <acm@muc.de>
10317 Fontify a Java generic method as a function.
10318 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10321 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10323 * calendar/todo-mode.el: Add command to rename todo files.
10324 (todo-rename-file): New command.
10325 (todo-key-bindings-t): Add key binding for it. Change the
10326 bindings of todo-filter-regexp-items(-multifile) to use `x'
10327 instead of `r', since the latter is better suited to the new
10330 2013-07-27 Alan Mackenzie <acm@muc.de>
10332 Make Java try-with-resources statement parse properly.
10333 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10334 (c-block-stmt-1-2-key): New language constants/variables.
10335 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10336 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10337 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10338 with c-block-stmt-1-2-key.
10340 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10342 * desktop.el (desktop--make-frame): Apply most frame parameters after
10343 creating the frame to force (partially or totally) offscreen frames to
10344 be restored as such.
10346 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10348 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10351 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10353 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10354 `base' arg of backtrace-frame.
10356 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10358 * simple.el (list-processes): Doc fix.
10360 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10362 * desktop.el (desktop--select-frame):
10363 Try harder to reuse existing frames.
10365 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10367 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10368 (edebug-eval): Use backtrace-eval.
10369 (edebug--display, edebug--recursive-edit): Don't let-bind the
10370 edebug-outer-* vars that keep track of variables we locally let-bind.
10371 (edebug-outside-excursion): Don't restore outside values of locally
10373 (edebug--display): Use user-error.
10374 (cl-lexical-debug, cl-debug-env): Remove.
10376 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10378 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10379 are restored to be sure that they are visible before deleting any
10382 2013-07-26 Matthias Meulien <orontee@gmail.com>
10384 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10385 vc-print-root-log. (Bug#14948)
10387 2013-07-26 Richard Stallman <rms@gnu.org>
10389 Add aliases for encrypting mail.
10390 * epa.el (epa-mail-aliases): New option.
10391 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10392 Bind inhibit-read-only so read-only text doesn't ruin everything.
10393 (epa-mail-default-recipients): New subroutine broken out.
10394 Handle epa-mail-aliases.
10396 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10398 Add support for lexical variables to the debugger's `e' command.
10399 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10400 vars, except for debugger-outer-match-data.
10401 (debugger-frame-number): Move check for "on a function call" from
10402 callers into it. Add `skip-base' argument.
10403 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10404 (debugger-env-macro): Only reset the state stored in non-variables,
10405 i.e. current-buffer and match-data.
10406 (debugger-eval-expression): Rewrite using backtrace-eval.
10407 * subr.el (internal--called-interactively-p--get-frame): Remove.
10408 (called-interactively-p):
10409 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10410 `base' arg of backtrace-frame instead.
10412 2013-07-26 Glenn Morris <rgm@gnu.org>
10414 * align.el (align-regexp): Doc fix. (Bug#14857)
10415 (align-region): Explicit error if subexpression missing/does not match.
10417 * simple.el (global-visual-line-mode):
10418 Do not duplicate the mode lighter. (Bug#14858)
10420 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10422 * window.el (display-buffer): In display-buffer bind
10423 split-window-keep-point to t, bug#14829.
10425 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10427 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10428 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10429 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10430 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10431 Change accordingly.
10432 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10433 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10435 2013-07-25 Glenn Morris <rgm@gnu.org>
10437 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10439 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10441 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10442 parameter to modify-frame-parameters if the value has not changed;
10443 this is a workaround for bug#14949.
10444 (desktop--make-frame): On cl-delete-if call, check parameter name,
10445 not full parameter.
10447 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10449 * vc/vc.el (vc-ignore): New function.
10451 * vc/vc-svn.el (vc-svn-ignore): New function.
10453 * vc/vc-hg.el (vc-hg-ignore): New function.
10455 * vc/vc-git.el (vc-git-ignore): New function.
10457 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10458 (vc-dir-ignore): New function.
10460 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10461 (cvs-append-to-ignore): Move here from pcvs.el.
10463 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10465 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10467 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10469 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10470 (desktop-restore-frames): Warn when deleting an existing frame failed.
10472 2013-07-24 Glenn Morris <rgm@gnu.org>
10474 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10476 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10478 * filenotify.el (file-notify-supported-p):
10479 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10482 * autorevert.el (auto-revert-use-notify)
10483 (auto-revert-notify-add-watch):
10484 * net/tramp.el (tramp-file-name-for-operation):
10485 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10486 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10487 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10488 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10489 Remove `file-notify-supported-p' entry.
10491 2013-07-24 Glenn Morris <rgm@gnu.org>
10493 * printing.el: Replace all uses of deleted ps-windows-system,
10494 ps-lp-system, ps-flatten-list with lpr- versions.
10496 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10498 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10499 checked with memq (bug#14935).
10501 * files.el (revert-buffer-function): Use a non-nil default.
10502 (revert-buffer-preserve-modes): Declare var to
10503 provide access to the `preserve-modes' argument.
10504 (revert-buffer): Let-bind it.
10505 (revert-buffer--default): New function, extracted from revert-buffer.
10507 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10509 * lpr.el: Signal print errors more prominently.
10510 (print-region-function): Don't default to nil.
10511 (lpr-print-region): New function, extracted from print-region-1.
10512 Check lpr's return value and signal an error in case of problem.
10513 (print-region-1): Use it.
10514 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10516 (ps-printer-name): Default to nil.
10517 (ps-printer-name-option): Default to lpr-printer-switch.
10518 (ps-print-region-function): Don't default to nil.
10519 (ps-postscript-code-directory): Simplify default.
10520 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10521 (ps-string-list, ps-eval-switch, ps-flatten-list)
10522 (ps-flatten-list-1): Remove.
10523 (ps-multibyte-buffer): Avoid setq.
10524 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10525 (print-region-function, ps-print-region-function): Don't set them here.
10527 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10529 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10530 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10531 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10532 (ido-decorations): Doc fix.
10534 * ansi-color.el: Fix old URL.
10536 2013-07-23 Michael R. Mauger <michael@mauger.com>
10538 * progmodes/sql.el: Version 3.3
10539 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10540 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10541 (sql-interactive-remove-continuation-prompt): Rewrite, use
10542 functions above. Fix continuation prompt and complete output line
10544 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10545 redirected output buffer.
10546 (sql-mode): Restore deleted code (Bug#13591).
10548 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10550 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10552 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10554 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10556 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10557 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10558 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10560 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10562 * desktop.el (desktop-clear): Simplify; remove useless checks
10563 against invalid buffer names.
10564 (desktop-list*): Use cl-list*.
10565 (desktop-buffer-info, desktop-create-buffer): Simplify.
10567 2013-07-23 Leo Liu <sdl.web@gmail.com>
10569 * bookmark.el (bookmark-make-record): Restore NAME as a default
10572 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10574 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10575 extracted from autoload--insert-text.
10576 (autoload--insert-text): Remove.
10577 (autoload--print-cookie-text): New function, extracted from
10578 autoload--insert-cookie-text.
10579 (autoload--insert-cookie-text): Remove.
10580 (autoload-generate-file-autoloads): Adjust calls accordingly.
10582 * winner.el (winner-hook-installed-p): Remove.
10583 (winner-mode): Simplify accordingly.
10585 * subr.el (add-to-list): Fix compiler-macro when `append' is
10586 not constant. Don't use `cl-member' for the base case.
10588 * progmodes/subword.el: Fix boundary case (bug#13758).
10589 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10591 (subword-backward-regexp): Make it a constant.
10592 (subword-forward-internal): Don't treat a trailing capital as the
10593 beginning of a word.
10595 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10597 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10598 global value of tabulated-list-revert-hook (bug#14930).
10600 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10602 * desktop.el: Require 'cl-lib.
10603 (desktop-before-saving-frames-functions): New hook.
10604 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10605 for frames being saved. Rename from desktop--save-minibuffer-frames.
10606 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10607 Do not save frames with non-nil `desktop-dont-save' parameter.
10608 Filter out deleted frames.
10609 (desktop--find-frame): Use cl-find-if.
10610 (desktop--select-frame): Use cl-(first|second|third) to access values
10612 (desktop--make-frame): Use cl-delete-if.
10613 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10614 (desktop-restore-frames): Use cl-(first|second|third) to access values
10615 of desktop-mini. Look for visible frame at the end, not while
10618 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10619 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10620 Use string-match-p, looking-at-p (bug#14927).
10622 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10624 * desktop.el (desktop-saved-frame-states):
10625 Rename from desktop--saved-states; all users changed.
10626 (desktop-save-frames): Rename from desktop--save-frames.
10627 Do not save state to desktop file.
10628 (desktop-save): Save desktop-saved-frame-states to desktop file
10630 (desktop-restoring-frames-p): New function.
10631 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10632 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10633 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10635 * desktop.el: Correctly restore iconified frames.
10636 (desktop--filter-iconified-position): New function.
10637 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10639 2013-07-20 Glenn Morris <rgm@gnu.org>
10641 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10642 Let `message' do the formatting.
10643 (def-gdb-preempt-display-buffer): Add explicit format.
10645 * image-dired.el (image-dired-track-original-file):
10646 Use with-current-buffer.
10647 (image-dired-track-thumbnail): Use with-current-buffer.
10648 Avoid changing point of wrong window.
10650 * image-dired.el (image-dired-track-original-file):
10651 Avoid changing point of wrong window. (Bug#14909)
10653 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10655 * progmodes/gdb-mi.el (gdb-done-or-error):
10656 Guard against "%" in gdb output. (Bug#14127)
10658 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10660 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10663 * international/mule.el (coding-system-iso-2022-flags): Fix last
10666 2013-07-20 Kenichi Handa <handa@gnu.org>
10668 * international/mule.el (coding-system-iso-2022-flags):
10669 Add `8-bit-level-4'. (Bug#8522)
10671 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10673 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10676 * net/eww.el (eww-process-text-input): Allow inputting when the
10677 point is at the start of the line, as the properties aren't
10680 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10683 2013-07-19 Richard Stallman <rms@gnu.org>
10685 * epa.el (epa-popup-info-window): Doc fix.
10687 * subr.el (split-string): New arg TRIM.
10689 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
10691 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10692 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10694 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
10696 * filenotify.el (file-notify--library): Rename from
10697 `file-notify-support'. Do not autoload. Adapt all uses.
10698 (file-notify-supported-p): New defun.
10700 * autorevert.el (auto-revert-use-notify):
10701 Use `file-notify-supported-p' instead of `file-notify-support'.
10703 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10705 * net/tramp.el (tramp-file-name-for-operation):
10706 Add `file-notify-supported-p'.
10708 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10710 (tramp-sh-file-name-handler-alist): Add it as handler for
10711 `file-notify-supported-p '.
10713 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10714 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10715 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10716 Add `ignore' as handler for `file-notify-*' functions.
10718 2013-07-17 Eli Zaretskii <eliz@gnu.org>
10720 * simple.el (line-move-partial, line-move): Don't start vscroll or
10721 scroll-up if the current line is not taller than the window.
10724 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10726 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10727 highlight question marks in the method names as strings.
10728 (ruby-block-beg-keywords): Inline.
10729 (ruby-font-lock-keyword-beg-re): Extract from
10730 `ruby-font-lock-keywords'.
10732 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10734 * frame.el (blink-cursor-blinks): New defcustom.
10735 (blink-cursor-blinks-done): New defvar.
10736 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10737 (blink-cursor-timer-function): Check if number of blinks has been
10739 (blink-cursor-suspend, blink-cursor-check): New defuns.
10741 2013-07-15 Glenn Morris <rgm@gnu.org>
10743 * edmacro.el (edmacro-format-keys): Fix previous change.
10745 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10747 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10748 The hack didn't work outside English locales anyway.
10750 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
10752 * simple.el (define-alternatives): Rename from alternatives-define,
10753 per RMS' suggestion.
10755 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
10757 * desktop.el (desktop-restore-frames): Change default to t.
10758 (desktop-restore-in-current-display): Now offer more options.
10759 (desktop-restoring-reuses-frames): New customization option.
10760 (desktop--saved-states): Doc fix.
10761 (desktop-filter-parameters-alist): New variable, renamed and expanded
10762 from desktop--excluded-frame-parameters.
10763 (desktop--target-display): New variable.
10764 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10765 (desktop--filter-tty*, desktop--filter-*-color)
10766 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10767 (desktop--filter-save-desktop-parm)
10768 (desktop-restore-in-original-display-p): New functions.
10769 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10770 (desktop--save-minibuffer-frames): New function, inspired by a similar
10771 function from Martin Rudalics.
10772 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10773 (desktop--restore-in-this-display-p): Remove.
10774 (desktop--find-frame): Rename from desktop--find-frame-in-display
10775 and add predicate argument.
10776 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10777 (desktop--reuse-list): New variable.
10778 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10780 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10782 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
10784 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10786 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10788 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10789 Highlight conversion methods on Kernel.
10791 2013-07-13 Alan Mackenzie <acm@muc.de>
10793 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10794 and comment it out. This out-commenting enables certain C++
10795 declarations to be parsed correctly.
10797 2013-07-13 Eli Zaretskii <eliz@gnu.org>
10799 * international/mule.el (define-coding-system): Doc fix.
10801 * simple.el (default-font-height): Don't call font-info if the
10802 frame's default font didn't change since the frame was created.
10805 2013-07-13 Leo Liu <sdl.web@gmail.com>
10807 * ido.el (ido-read-file-name): Guard against non-symbol value.
10809 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10811 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10814 2013-07-13 Leo Liu <sdl.web@gmail.com>
10816 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10817 ido-set-matches call. (Bug#6852)
10819 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10821 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
10822 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10824 (ruby-font-lock-keywords): Distinguish calls to functions with
10825 module-like names from module references. Highlight character
10828 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10830 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
10831 (gdb-send): Handle continued commands. (Bug#14847)
10833 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10835 * desktop.el (desktop--v2s): Remove unused local variable.
10836 (desktop-save-buffer): Make defvar-local; adjust docstring.
10837 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10838 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10840 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10842 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10844 2013-07-12 Eli Zaretskii <eliz@gnu.org>
10846 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10849 2013-07-12 Glenn Morris <rgm@gnu.org>
10851 * doc-view.el: Require cl-lib at runtime too.
10852 (doc-view-remove-if): Remove.
10853 (doc-view-search-next-match, doc-view-search-previous-match):
10856 * edmacro.el: Require cl-lib at runtime too.
10857 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10858 (edmacro-mismatch, edmacro-subseq): Remove.
10860 * shadowfile.el: Require cl-lib.
10861 (shadow-remove-if): Remove.
10862 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10865 * wid-edit.el: Require cl-lib.
10866 (widget-choose): Use cl-remove-if.
10867 (widget-remove-if): Remove.
10869 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10870 (ebrowse-delete-if-not): Remove.
10871 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10872 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10873 Use cl-delete-if-not.
10875 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10877 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10878 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10880 2013-07-12 Leo Liu <sdl.web@gmail.com>
10882 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10884 2013-07-11 Glenn Morris <rgm@gnu.org>
10886 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10887 (edebug-gensym-index, edebug-gensym):
10888 Remove reimplementation of cl-gensym.
10889 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10891 * thumbs.el: Require cl-lib at run-time too.
10892 (thumbs-gensym-counter, thumbs-gensym):
10893 Remove reimplementation of cl-gensym.
10894 (thumbs-temp-file): Use cl-gensym.
10896 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10897 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10898 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10899 (ert--union, ert--gensym-counter, ert--gensym-counter)
10900 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10901 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10902 (ert-make-test-unbound, ert--expand-should-1)
10903 (ert--expand-should, ert--should-error-handle-error)
10904 (should-error, ert--explain-equal-rec)
10905 (ert--plist-difference-explanation, ert-select-tests)
10906 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10907 Use cl-lib functions rather than reimplementations.
10909 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
10911 * net/tramp.el (tramp-methods): Extend docstring.
10912 (tramp-connection-timeout): New defcustom.
10913 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10914 (with-tramp-progress-reporter): Simplify.
10915 (tramp-process-actions): Improve messages.
10917 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10918 * net/tramp-sh.el (tramp-maybe-open-connection):
10919 Use `tramp-connection-timeout'.
10920 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
10923 2013-07-11 Leo Liu <sdl.web@gmail.com>
10925 * ido.el (ido-read-file-name): Conform to the requirements of
10926 read-file-name. (Bug#11861)
10927 (ido-read-directory-name): Conform to the requirements of
10928 read-directory-name.
10930 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
10932 * subr.el (delay-warning): New function.
10934 2013-07-10 Eli Zaretskii <eliz@gnu.org>
10936 * simple.el (default-line-height): New function.
10937 (line-move-partial, line-move): Use it instead of computing the
10938 line height inline.
10939 (line-move-partial): Always compute ROWH. If the last line is
10940 partially-visible, but its text is completely visible, allow
10941 cursor to enter such a partially-visible line.
10943 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
10945 Improve error messages. (Bug#14808)
10947 * net/tramp.el (tramp-current-connection): New defvar, moved from
10949 (tramp-message-show-progress-reporter-message): Remove, not
10951 (tramp-error-with-buffer): Show message in minibuffer.
10952 Discard input before waiting. Reset connection timestamp.
10953 (with-tramp-progress-reporter): Improve messages.
10954 (tramp-process-actions): Use progress reporter. Delete process in
10955 case of error. Improve messages.
10957 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10958 Call `tramp-error-with-buffer' with vector and buffer.
10959 (tramp-current-connection): Remove.
10960 (tramp-maybe-open-connection): The car of
10961 `tramp-current-connection' are the first 3 slots of the vector.
10963 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10965 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10966 inside continued strings.
10968 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10970 Timestamp fixes for undo (Bug#14824).
10971 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10973 2013-07-10 Leo Liu <sdl.web@gmail.com>
10975 * files.el (require-final-newline): Allow safe local value.
10978 2013-07-09 Leo Liu <sdl.web@gmail.com>
10980 * ido.el (ido-read-directory-name): Handle fallback.
10981 (ido-read-file-name): Update DIR to ido-current-directory.
10983 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
10985 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10987 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10988 "autoload". Remove "warn lower camel case" section, previously
10989 commented out. Highlight negation char. Do not highlight the
10990 target in singleton method definitions.
10992 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10994 * faces.el (tty-setup-hook): Declare the hook.
10996 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10997 and detect when a guard/pred depends on local vars (bug#14773).
10998 (pcase--u1): Adjust caller.
11000 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11002 * simple.el (line-move-partial, line-move): Account for
11004 (line-move-partial): Avoid setting vscroll when the last
11005 partially-visible line in window is of default height.
11007 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11009 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11012 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11014 * subr.el (read-quoted-char): Remove unused local variable `char'.
11016 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11018 * vc/ediff.el (ediff-version): Version update.
11019 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11020 (ediff-merge-with-ancestor-command, ediff-directories-command)
11021 (ediff-directories3-command, ediff-merge-directories-command)
11022 (ediff-merge-directories-with-ancestor-command): New functions.
11023 All are command-line interfaces to ediff: to facilitate calling
11024 Emacs with the appropriate ediff functions invoked.
11026 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11028 (viper-save-kill-buffer): Check if buffer is modified.
11030 * emulation/viper.el (viper-version): Version update.
11031 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11033 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11035 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11036 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11037 (viper-intercept-ESC-key): Simplify.
11038 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11040 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11041 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11042 (viper-setup-ESC-to-escape): New functions.
11043 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11044 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11046 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11048 * simple.el (default-font-height, window-screen-lines):
11050 (line-move, line-move-partial): Use them instead of
11051 frame-char-height and window-text-height. This makes scrolling
11052 text smoother when the buffer's default face uses a font that is
11053 different from the frame's default font.
11055 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11057 * files.el (write-file): Do not display confirm dialog for NS,
11058 it does its own dialog, which can't be canceled (Bug#14578).
11060 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11062 * simple.el (line-move-partial): Adjust the row returned by
11063 posn-at-point for the current window-vscroll. (Bug#14567)
11065 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11067 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11068 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11071 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11073 * window.el (window-state-put-stale-windows): New variable.
11074 (window--state-put-2): Save list of windows without matching buffer.
11075 (window-state-put): Remove "bufferless" windows if possible.
11077 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11079 * simple.el (alternatives-define): Remove leftover :group keyword.
11082 2013-07-06 Leo Liu <sdl.web@gmail.com>
11084 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11085 (ido-enable-virtual-buffers): New variable.
11086 (ido-buffer-internal, ido-toggle-virtual-buffers)
11087 (ido-make-buffer-list): Use it.
11088 (ido-exhibit): Support turning on and off virtual buffers
11091 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11093 * simple.el (alternatives-define): New macro.
11095 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11097 * subr.el (read-quoted-char): Use read-key.
11098 (sit-for): Let read-event decode tty input (bug#14782).
11100 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11102 * calendar/todo-mode.el: Add handling of file deletion, both by
11103 mode command and externally. Fix various related bugs.
11104 Clarify Commentary and improve some documentation strings and code.
11105 (todo-delete-file): New command.
11106 (todo-check-file): New function.
11107 (todo-show): Handle external deletion of the file we're trying to
11108 show (bug#14688). Replace called-interactively-p by an optional
11109 prefix argument to avoid problematic interaction with catch form
11110 when byte compiled (bug#14702).
11111 (todo-quit): Handle external deletion of the archive's todo file.
11112 Make sure the buffer that was visiting the archive file is still
11113 live before trying to bury it.
11114 (todo-category-completions): Handle external deletion of any
11115 category completion files.
11116 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11117 of todo files, in case of external deletion.
11118 (todo-add-file): Replace unnecessary setq by let-binding.
11119 (todo-find-archive): Check whether there are any archives.
11120 Replace unnecessary setq by let-binding.
11121 (todo-archive-done-item): Use find-file-noselect to get the
11122 archive buffer whether or not the archive already exists.
11123 Remove superfluous code. Use file size instead of buffer-file-name to
11124 check if the archive is new; if it is, update list of archives.
11125 (todo-default-todo-file): Allow nil to be a valid value for when
11126 there are no todo files.
11127 (todo-reevaluate-default-file-defcustom): Use corrected definition
11128 of todo-default-todo-file.
11129 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11130 (todo-delete-category, todo-show-categories-table)
11131 (todo-category-number): Clarify comment.
11132 (todo-filter-items): Clarify documentation string.
11133 (todo-show-current-file, todo-display-as-todo-file)
11134 (todo-reset-and-enable-done-separator): Tweak documentation string.
11135 (todo-done-separator): Make separator length window-width, since
11136 bug#2749 is now fixed.
11138 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11140 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11141 Support both "gvfs-monitor-dir" and "inotifywait".
11142 (tramp-sh-file-inotifywait-process-filter): Rename from
11143 `tramp-sh-file-notify-process-filter'.
11144 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11145 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11147 2013-07-05 Leo Liu <sdl.web@gmail.com>
11149 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11151 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11153 * frame.el (display-pixel-height, display-pixel-width)
11154 (display-mm-height, display-mm-width): Mention behavior on
11155 multi-monitor setups in docstrings.
11156 (w32-display-monitor-attributes-list): Declare function.
11157 (display-monitor-attributes-list): Use it.
11159 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11161 * filenotify.el: New package.
11163 * autorevert.el (top): Require filenotify.el.
11164 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11166 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11167 (auto-revert-notify-handler): Use `file-notify-*' functions.
11169 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11171 * net/tramp.el (tramp-file-name-for-operation):
11172 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11174 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11175 for `file-notify-add-watch' and `file-notify-rm-watch'.
11176 (tramp-process-sentinel): Improve trace.
11177 (tramp-sh-handle-file-notify-add-watch)
11178 (tramp-sh-file-notify-process-filter)
11179 (tramp-sh-handle-file-notify-rm-watch)
11180 (tramp-get-remote-inotifywait): New defuns.
11182 2013-07-03 Juri Linkov <juri@jurta.org>
11184 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11185 call of `occur-read-primary-args' to interactive spec.
11187 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11188 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11190 2013-07-03 Matthias Meulien <orontee@gmail.com>
11192 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11193 `Buffer-menu-multi-occur'. Add it to the menu.
11194 (Buffer-menu-mode): Document it in docstring.
11195 (Buffer-menu-multi-occur): New command. (Bug#14673)
11197 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11199 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11200 keywords and built-ins.
11202 2013-07-03 Glenn Morris <rgm@gnu.org>
11204 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11206 Make info-xref checks case-sensitive by default
11207 * info.el (Info-find-node, Info-find-in-tag-table)
11208 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11209 Add option for exact case matching of nodes.
11210 * info-xref.el (info-xref): New custom group.
11211 (info-xref-case-fold): New option.
11212 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11214 2013-07-03 Leo Liu <sdl.web@gmail.com>
11216 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11218 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11220 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11221 middle of block statement initially, lower the depth. Remove
11222 FIXME comment, not longer valid. Remove middle of block statement
11223 detection, no need to do that anymore since we've been using
11224 `ruby-parse-region' here.
11226 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11228 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11230 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11232 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11234 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11236 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11237 (desktop-restore-in-current-display): New customization option.
11238 (desktop--excluded-frame-parameters): Add `font'.
11239 (desktop--save-frames): Rename from desktop--save-windows.
11240 (desktop--restore-in-this-display-p): New function.
11241 (desktop--make-full-frame): Remove unwanted width/height from
11242 full(width|height) frames.
11243 (desktop--restore-frames): Rename from desktop--restore-windows.
11244 Obey desktop-restore-current-display. Do not delete old frames or
11245 select a new frame unless we were able to restore at least one frame.
11247 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11249 * files.el (find-file-noselect): Simplify conditional expression.
11251 * textmodes/remember.el (remember-append-to-file):
11252 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11254 Add `remember-notes' function to store random notes across Emacs
11256 * textmodes/remember.el (remember-data-file): Add :set callback to
11257 affect notes buffer (if any).
11258 (remember-notes): New command.
11259 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11260 New defcustoms for the `remember-notes' function.
11261 (remember-notes-save-and-bury-buffer): New command.
11262 (remember-notes-mode-map): New variable.
11263 (remember-mode): New minor mode.
11264 (remember-notes--kill-buffer-query): New function.
11265 * startup.el (initial-buffer-choice): Add notes to custom type.
11267 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11269 * bindings.el (right-char, left-char): Don't call sit-for, this is
11270 no longer needed. Use arithmetic comparison only for numerical
11273 * international/mule-cmds.el (select-safe-coding-system):
11274 Handle the case of FROM being a string correctly. (Bug#14755)
11276 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11278 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11279 progression on degenerate tables.
11280 (shr-rescale-image): ImageMagick animated images currently don't work.
11282 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11284 Some fixes and improvements for desktop frame restoration.
11285 It is still experimental and disabled by default.
11286 * desktop.el (desktop--save-windows): Put the selected frame at
11287 the head of the list.
11288 (desktop--make-full-frame): New function.
11289 (desktop--restore-windows): Try to re-select the frame that was
11290 selected upon saving. Do not abort if some frames fail to restore,
11291 just show an error message and continue. Set up maximized frames
11292 so they have default non-maximized dimensions.
11294 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11296 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11297 Don't start heredoc inside a string or comment.
11299 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11301 * bindings.el (visual-order-cursor-movement): New defcustom.
11302 (right-char, left-char): Provide visual-order cursor motion by
11303 calling move-point-visually. Update the doc strings.
11305 2013-06-28 Kenichi Handa <handa@gnu.org>
11307 * international/mule.el (define-coding-system): New coding system
11308 properties :inhibit-null-byte-detection,
11309 :inhibit-iso-escape-detection, and :prefer-utf-8.
11310 (set-buffer-file-coding-system): If :charset-list property of
11311 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11312 appropriate for setting.
11314 * international/mule-cmds.el (select-safe-coding-system):
11315 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11316 multibyte characters, return utf-8 (or one of its siblings).
11318 * international/mule-conf.el (prefer-utf-8): New coding system.
11319 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11322 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11324 * net/shr.el (shr-render-region): New function.
11326 * net/eww.el: Autoload `eww-browse-url'.
11328 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11330 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11331 Adapt to `package-desc-version' being a list.
11332 Use `package--ac-desc-version' to retrieve version from a package
11335 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11337 New experimental feature to save&restore window and frame setup.
11338 * desktop.el (desktop-save-windows): New defcustom.
11339 (desktop--saved-states): New var.
11340 (desktop--excluded-frame-parameters): New defconst.
11341 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11342 (desktop--restore-windows, desktop--save-windows): New functions.
11343 (desktop-save): Call `desktop--save-windows'.
11344 (desktop-read): Call `desktop--restore-windows'.
11346 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11348 * net/shr.el (add-face-text-property): Remove compat definition.
11350 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11352 * info.el (Info-try-follow-nearest-node): Move search for footnote
11353 above search for node name to prevent missing a footnote (bug#14717).
11355 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11357 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11359 2013-06-27 Leo Liu <sdl.web@gmail.com>
11361 * net/eww.el (eww-read-bookmarks): Check file size.
11363 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11365 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11366 advice--pending if newdef is nil or an autoload (bug#13820).
11367 (advice-mapc): New function.
11369 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11371 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11373 (eww-mode-map): Add a menu bar.
11374 (eww-add-bookmark): New command.
11375 (eww-bookmark-mode): New mode and commands.
11376 (eww-add-bookmark): Remove newlines from the title.
11377 (eww-bookmark-browse): Don't bug out if it's the only window.
11379 2013-06-26 Glenn Morris <rgm@gnu.org>
11381 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11382 (hfy-size): Handle ttys. (Bug#14668)
11384 * info-xref.el: Update for Texinfo 5 change in *note format.
11385 (info-xref-node-re, info-xref-note-re): New constants.
11386 (info-xref-check-buffer): Use info-xref-note-re.
11388 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11390 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11392 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11393 nil terminate the loop (bug#14718).
11395 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11397 * net/eww.el: Rework history traversal. When going forward/back,
11398 put these actions into the history, too, so that they can be
11400 (eww-render): Move the history reset to the correct buffer.
11402 2013-06-25 Juri Linkov <juri@jurta.org>
11404 * files-x.el (modify-dir-local-variable): Change the header comment
11405 in the file with directory local variables. (Bug#14692)
11407 * files-x.el (read-file-local-variable-value): Add `default'.
11410 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11412 * net/eww.el (eww-make-unique-file-name): Create a unique file
11413 name before saving to entering `y' accidentally asynchronously.
11415 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11417 * net/eww.el (eww-download): New command and keystroke.
11419 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11421 * net/eww.el (eww-copy-page-url): Change name of command.
11423 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11424 be more consistent with Info and dired.
11426 * net/eww.el (eww-mode-map): Ditto.
11428 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11430 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11431 packages from archives.
11432 (package-archive-contents): Change format; include obsolete packages.
11433 (package-desc): Use `dir' to mark builtin packages.
11434 (package--from-builtin): Set the `dir' field to `builtin'.
11435 (generated-autoload-file, version-control): Declare.
11436 (package-compute-transaction): Change first arg and return value to be
11437 lists of package-descs. Adjust to new package-archive-contents format.
11438 (package--add-to-archive-contents): Adjust to new
11439 package-archive-contents format.
11440 (package-download-transaction): Arg is now a list of package-descs.
11441 (package-install): If `pkg' is a package name, pass it as
11442 a requirement, so it is subject to the usual (e.g. disabled) checks.
11443 (describe-package): Accept package-desc as well.
11444 (describe-package-1): Describe a specific package-desc. Add links to
11445 other package-descs for the same package name.
11446 (package-menu-describe-package): Pass the actual package-desc.
11447 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11449 (package-desc-status): New function.
11450 (package-menu--refresh): New function, extracted
11451 from package-menu--generate.
11452 (package-menu--generate): Use it.
11453 (package-delete): Update package-alist.
11454 (package-menu-execute): Don't call package-initialize.
11456 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11457 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11458 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11459 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11460 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11461 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11463 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11465 * window.el (window--state-get-1): Workaround for bug#14527.
11466 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11468 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11470 * net/eww.el (eww-back-url): Implement the history by stashing all
11471 the data into a list.
11472 (eww-forward-url): Allow going forward in the history, too.
11474 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11476 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11477 for values and use read--expression for expressions (bug#14710).
11478 (read-file-local-variable): Avoid setq.
11479 (read-file-local-variable-mode): Use minor-mode-list.
11481 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11483 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11486 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11488 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11489 Update imenu-support when dialect changes.
11491 2013-06-25 Leo Liu <sdl.web@gmail.com>
11493 * ido.el (ido-read-internal): Allow forward slash on windows.
11495 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11497 * net/eww.el (eww): Start of strings is \\`, not ^.
11499 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11501 * net/shr.el (shr-browse-url): Fix interactive spec.
11503 * net/eww.el (eww): Add a trailing slash to domain names.
11505 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11507 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11509 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11511 * net/shr.el (shr-browse-url): Use an external browser if given a
11514 * net/eww.el (eww-external-browser): Move to shr.
11516 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11518 * net/eww.el (eww): Work more correctly for file: URLs.
11519 (eww-detect-charset): Allow quoted charsets.
11520 (eww-yank-page-url): New command and keystroke.
11522 2013-06-24 Daiki Ueno <ueno@gnu.org>
11524 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11525 file name of gpg executable.
11526 (epg-context-program): New function.
11527 (epg-context-home-directory): New function.
11528 (epg-context-set-program): New function.
11529 (epg-context-set-home-directory): New function.
11530 (epg--start): Use `epg-context-program' instead of
11532 (epg--list-keys-1): Likewise.
11534 2013-06-24 Leo Liu <sdl.web@gmail.com>
11536 * ido.el (ido-read-internal): Fix bug#14620.
11538 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11540 * faces.el (face-documentation): Simplify.
11541 (read-face-attribute, tty-find-type, x-resolve-font-name):
11542 Use `string-match-p'.
11543 (list-faces-display): Use `string-match-p'. Simplify.
11544 (face-spec-recalc): Check face to avoid face alias loops.
11545 (read-color): Use `string-match-p' and non-capturing parenthesis.
11547 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11549 * net/shr.el (shr-rescale-image): Use the new
11550 :max-width/:max-height functionality.
11552 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11554 * net/eww.el (eww-search-prefix): New variable.
11556 (eww-external-browser): New variable.
11557 (eww-mode-map): New keystroke.
11558 (eww-browse-with-external-browser): New command.
11560 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11562 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11564 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11565 Don't skip aligning the next header field when padding is 0;
11566 otherwise, field width is not respected unless the title is as
11569 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11571 * emacs-lisp/package.el (package-el-version): Remove.
11572 (package-process-define-package): Fix inf-loop.
11573 (package-install): Allow symbols as arguments again.
11575 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11577 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11578 add some more keyword-like methods.
11579 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11581 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11583 * bs.el (bs-buffer-show-mark): Make defvar-local.
11584 (bs-mode): Use setq-local.
11586 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11587 (emacs-lock--try-unlocking): Make defvar-local.
11589 2013-06-22 Glenn Morris <rgm@gnu.org>
11591 * play/cookie1.el (cookie-apropos): Minor simplification.
11593 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11595 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11597 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11598 `regexp-opt', it breaks the build during dumping.
11600 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11602 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11603 Highlight keyword-like methods on Kernel and Module with
11604 font-lock-builtin-face.
11605 (auto-mode-alist): Consolidate different entries into one regexp
11606 and add more *file-s.
11608 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11610 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11612 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11613 (diary-entry): Use it in the action of this button type instead of
11616 * calendar/todo-mode.el: New version.
11617 (todo-add-category): Append new category to end of file and give
11618 it the highest number, instead of putting it at the beginning and
11619 giving it 0. Incorporate noninteractive functionality.
11620 (todo-forward-category): Adapt to 1-based category numbering.
11621 Allow skipping over archived categories.
11622 (todo-backward-category): Derive from todo-forward-category.
11623 (todo-backward-item, todo-forward-item): Make noninteractive and
11624 delegate interactive part to new commands. Make sensitive to done items.
11625 (todo-categories): Make value an alist of category names and
11626 vectors of item counts.
11627 (todo-category-beg): Make a defconst.
11628 (todo-category-number): Use 1 instead of 0 as initial value.
11629 (todo-category-select): Make sensitive to overlays, optional item
11630 highlighting and done items.
11631 (todo-delete-item): Make sensitive to overlays and marked and done items.
11632 (todo-edit-item): Make sensitive to overlays and editing of
11633 date/time header optional. Add format checks.
11634 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11635 no-op if point is not on an item. Advertise using todo-edit-quit.
11636 (todo-edit-mode): Make sensitive to new format, font-locking, and
11637 multiple todo files.
11638 (todo-insert-item, todo-insert-item-here): Derive from
11639 todo-basic-insert-item and extend functionality.
11640 (todo-item-end, todo-item-start): Make sensitive to done items.
11641 (todo-item-string): Don't return text properties. Restore point.
11642 (todo-jump-to-category): Make sensitive to multiple todo files and
11643 todo archives. Use extended category completion.
11644 (todo-lower-item, todo-raise-item): Rename to *-priority and
11645 derive from todo-set-item-priority.
11646 (todo-mode): Derive from special-mode. Make sensitive to new
11647 format, font-locking and multiple todo files. Make read-only.
11648 (todo-mode-map): Don't suppress digit keys, so they can supply
11649 prefix arguments. Add many new key bindings.
11650 (todo-prefix): Insert as an overlay instead of file text.
11651 Change semantics from diary date expression to purely visual mark.
11652 (todo-print): Rename to todo-print-buffer. Make buffer display
11653 features printable. Remove option to restrict number of items
11654 printed. Add option to print to file.
11655 (todo-print-function): Rename to todo-print-buffer-function.
11656 (todo-quit): Extend to handle exiting new todo modes.
11657 (todo-remove-item): Make sensitive to overlays.
11658 (todo-save): Extend to buffers of filtered items.
11659 (todo-show): Make sensitive to done items, multiple todo files and
11660 new todo modes. Offer to convert legacy todo file before creating
11661 first new todo file.
11662 (todo-show-priorities): Rename to todo-top-priorities.
11663 Change semantics of value 0.
11664 (todo-top-priorities): Rename to todo-filter-top-priorities,
11665 derive from todo-filter-items and extend functionality.
11666 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11667 and extend functionality to other types of filtered items.
11668 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11669 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11670 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11671 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11672 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11673 (todo-edit-mode-hook, todo-entry-prefix-function)
11674 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11675 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11676 (todo-initials, todo-insert-threshold, todo-item-string-start)
11677 (todo-line-string, todo-menu, todo-mode-hook)
11678 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11679 (todo-print-priorities, todo-remove-separator)
11680 (todo-save-top-priorities-too, todo-string-count-lines)
11681 (todo-string-multiline-p, todo-time-string-format)
11682 (todo-tmp-buffer-name): Remove.
11683 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11684 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11685 (todo-edit-category-diary-inclusion)
11686 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11687 (todo-edit-file, todo-edit-item-date-day)
11688 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11689 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11690 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11691 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11692 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11693 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11694 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11695 (todo-filter-top-priorities-multifile, todo-find-archive)
11696 (todo-find-filtered-items-file, todo-go-to-source-item)
11697 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11698 (todo-jump-to-archive-category, todo-lower-category)
11699 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11700 (todo-move-category, todo-move-item, todo-next-button)
11701 (todo-next-item, todo-padded-string, todo-powerset)
11702 (todo-previous-button, todo-previous-item)
11703 (todo-print-buffer-to-file, todo-raise-category)
11704 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11705 (todo-set-category-number, todo-set-item-priority)
11706 (todo-set-top-priorities-in-category)
11707 (todo-set-top-priorities-in-file, todo-show-categories-table)
11708 (todo-sort-categories-alphabetically-or-numerically)
11709 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11710 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11711 (todo-toggle-item-header, todo-toggle-item-highlighting)
11712 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11713 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11714 (todo-unarchive-items, todo-unmark-category): New commands.
11715 (todo-absolute-file-name, todo-add-to-buffer-list)
11716 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11717 (todo-basic-insert-item, todo-category-completions)
11718 (todo-category-number, todo-category-string-matcher-1)
11719 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11720 (todo-check-format, todo-clear-matches)
11721 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11722 (todo-current-category, todo-date-string-matcher)
11723 (todo-define-insertion-command, todo-diary-expired-matcher)
11724 (todo-diary-goto-entry, todo-diary-item-p)
11725 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11726 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11727 (todo-done-item-section-p, todo-done-separator)
11728 (todo-done-string-matcher, todo-files, todo-filter-items)
11729 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11730 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11731 (todo-insert-category-line, todo-insert-item-from-calendar)
11732 (todo-insert-sort-button, todo-insert-with-overlays)
11733 (todo-insertion-command-name, todo-insertion-key-bindings)
11734 (todo-label-to-key, todo-longest-category-name-length)
11735 (todo-make-categories-list, todo-mode-external-set)
11736 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11737 (todo-modes-set-3, todo-multiple-filter-files)
11738 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11739 (todo-read-category, todo-read-date, todo-read-dayname)
11740 (todo-read-file-name, todo-read-time)
11741 (todo-reevaluate-category-completions-files-defcustom)
11742 (todo-reevaluate-default-file-defcustom)
11743 (todo-reevaluate-filelist-defcustoms)
11744 (todo-reevaluate-filter-files-defcustom)
11745 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11746 (todo-reset-done-separator, todo-reset-done-separator-string)
11747 (todo-reset-done-string, todo-reset-global-current-todo-file)
11748 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11749 (todo-reset-prefix, todo-set-categories)
11750 (todo-set-date-from-calendar, todo-set-show-current-file)
11751 (todo-set-top-priorities, todo-short-file-name)
11752 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11753 (todo-total-item-counts, todo-update-buffer-list)
11754 (todo-update-categories-display, todo-update-categories-sexp)
11755 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11757 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11759 (todo-categories, todo-display, todo-edit, todo-faces)
11760 (todo-filtered): New defgroups.
11761 (todo-archived-only, todo-button, todo-category-string, todo-date)
11762 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11763 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11764 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11765 (todo-add-item-if-new-category, todo-always-add-time-string)
11766 (todo-categories-align, todo-categories-archived-label)
11767 (todo-categories-category-label, todo-categories-diary-label)
11768 (todo-categories-done-label, todo-categories-number-separator)
11769 (todo-categories-todo-label, todo-categories-totals-label)
11770 (todo-category-completions-files, todo-completion-ignore-case)
11771 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11772 (todo-done-separator-string, todo-done-string)
11773 (todo-files-function, todo-filter-done-items, todo-filter-files)
11774 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11775 (todo-initial-category, todo-initial-file, todo-item-mark)
11776 (todo-legacy-date-time-regexp, todo-mode-line-function)
11777 (todo-nondiary-marker, todo-number-prefix)
11778 (todo-print-buffer-function, todo-show-current-file)
11779 (todo-show-done-only, todo-show-first, todo-show-with-done)
11780 (todo-skip-archived-categories, todo-top-priorities-overrides)
11781 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11782 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11784 (todo-category-done, todo-date-pattern, todo-date-string-start)
11785 (todo-diary-items-buffer, todo-done-string-start)
11786 (todo-filtered-items-buffer, todo-item-start)
11787 (todo-month-abbrev-array, todo-month-name-array)
11788 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11789 (todo-top-priorities-buffer): New defconsts.
11790 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11791 (todo-categories-with-marks, todo-category-string-face)
11792 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11793 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11794 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11795 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11796 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11797 (todo-font-lock-keywords, todo-global-current-todo-file)
11798 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11799 (todo-insertion-commands-args)
11800 (todo-insertion-commands-args-genlist)
11801 (todo-insertion-commands-names, todo-insertion-map)
11802 (todo-key-bindings-t, todo-key-bindings-t+a)
11803 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11804 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11805 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11806 (todo-visited): New variables.
11808 2013-06-21 Glenn Morris <rgm@gnu.org>
11810 * play/cookie1.el (cookie-apropos): Add optional display argument.
11811 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11812 (psychoanalyze-pinhead): Use cookie-doctor.
11814 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11816 * emacs-lisp/package.el (tar-get-file-descriptor)
11817 (tar--extract): Declare.
11819 2013-06-21 Eduard Wiebe <usenet@pusto.de>
11821 Extend flymake's warning predicate to be a function (bug#14217).
11822 * progmodes/flymake.el (flymake-warning-predicate): New.
11823 (flymake-parse-line): Use it.
11824 (flymake-warning-re): Make obsolete alias to
11825 `flymake-warning-predicate'.
11827 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11829 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11830 (package-obsolete-list): Remove.
11831 (package-activate): Remove min-version argument. Add `force' argument.
11832 Adjust to new package-alist format.
11833 (package-mark-obsolete): Remove.
11834 (package-unpack): Force reload of the package's autoloads.
11835 (package-installed-p): Check builtins if the installed package is not
11837 (package-initialize): Don't reset package-obsolete-list.
11838 Don't specify which package version to activate.
11839 (package-process-define-package, describe-package-1)
11840 (package-menu--generate): Adjust to new package-alist format.
11842 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11844 * allout-widgets.el (allout-widgets-mode-off)
11845 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11846 (allout-widgets-post-command-business)
11847 (allout-widgets-after-copy-or-kill-function)
11848 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11849 (allout-decorate-item-and-context)
11850 (allout-graphics-modification-handler): Fix typos in docstrings.
11851 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11853 * cmuscheme.el (scheme-start-file): Doc fix.
11854 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11855 (scheme-input-filter): Use `string-match-p'.
11857 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11859 * dired-x.el: Use Dired consistently in docstrings.
11861 * dired.el: Use Dired consistently in docstrings.
11862 (dired-readin, dired-mode): Use `setq-local'.
11863 (dired-switches-alist): Make defvar-local.
11864 (dired-buffers-for-dir): Use `zerop'.
11865 (dired-safe-switches-p, dired-switches-escape-p)
11866 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11867 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
11868 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
11869 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11870 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11871 (dired-toggle-marks, dired-mark-files-containing-regexp)
11872 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11873 (dired-flag-auto-save-files, dired-flag-backup-files):
11874 Use `looking-at-p'.
11875 (dired-mark-files-regexp, dired-build-subdir-alist):
11876 Use `string-match-p', `looking-at-p'.
11878 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11879 (direct-print-region-helper): Use `string-match-p'.
11881 2013-06-21 Leo Liu <sdl.web@gmail.com>
11883 * comint.el (comint-redirect-results-list-from-process):
11886 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11888 * net/eww.el (eww-update-header-line-format): Quote % characters.
11890 2013-06-21 Glenn Morris <rgm@gnu.org>
11892 * play/cookie1.el (cookie): New custom group.
11893 (cookie-file): New option.
11894 (cookie-check-file): New function.
11895 (cookie): Make it interactive. Make start and end messages optional.
11896 Interactively, display the result. Default to cookie-file.
11897 (cookie-insert): Default to cookie-file.
11898 (cookie-snarf): Make start and end messages optional.
11899 Default to cookie-file. Use with-temp-buffer.
11900 (cookie-read): Rename from read-cookie.
11901 Make start and end messages optional. Default to cookie-file.
11902 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
11903 Do not autoload it.
11904 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11905 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11907 2013-06-21 Leo Liu <sdl.web@gmail.com>
11909 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11911 2013-06-21 Glenn Morris <rgm@gnu.org>
11913 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11915 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11916 Daniel Hackney <dan@haxney.org>
11918 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11919 Consolidate the single-file vs tarball code.
11920 (package-desc-suffix): New function.
11921 (package-desc-full-name): Don't bother inlining it.
11922 (package-load-descriptor): Return the new package-desc.
11923 (package-mark-obsolete): Remove unused arg `package'.
11924 (package-unpack): Make it work for single files as well.
11925 Make it update package-alist.
11926 (package--make-autoloads-and-stuff): Rename from
11927 package--make-autoloads-and-compile. Don't compile any more.
11928 (package--compile): New function.
11929 (package-generate-description-file): New function, extracted from
11930 package-unpack-single.
11931 (package-unpack-single): Remove.
11932 (package--with-work-buffer): Add indentation and debugging info.
11933 (package-download-single): Remove.
11934 (package-install-from-archive): Rename from package-download-tar, make
11935 it take a pkg-desc, and make it work for single files as well.
11936 (package-download-transaction): Simplify.
11937 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11938 external tar program.
11939 (package-install-from-buffer): Remove `pkg-desc' argument.
11940 Use package-tar-file-info for tar-mode buffers.
11941 (package-install-file): Simplify accordingly.
11942 (package-archive-base): Change to take a pkg-desc.
11943 * tar-mode.el (tar--check-descriptor): New function, extracted from
11944 tar-get-descriptor.
11945 (tar-get-descriptor): Use it.
11946 (tar-get-file-descriptor): New function.
11947 (tar--extract): New function, extracted from tar-extract.
11948 (tar--extract): Use it.
11949 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11950 case the summary uses non-ascii. Adjust to new calling convention of
11951 package-tar-file-info.
11953 2013-06-21 Leo Liu <sdl.web@gmail.com>
11955 * comint.el (comint-redirect-results-list-from-process):
11956 Fix random delay. (Bug#14681)
11958 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11960 * profiler.el (profiler-format-number): Use log, not log10.
11962 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11964 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11966 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11968 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11969 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11971 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11972 (AUTOGENEL): ... here.
11973 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11974 (cl--defsubst-expand): Use it.
11976 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11978 * subr.el (log10): Move here from C code, and declare as obsolete.
11979 All uses of (log10 X) replaced with (log X 10).
11981 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11983 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11984 Declare with `defvar-local'.
11985 (tabulated-list-use-header-line, tabulated-list-entries)
11986 (tabulated-list-padding, tabulated-list-printer)
11987 (tabulated-list-sort-key): Declare with `defvar-local'.
11988 (tabulated-list-init-header, tabulated-list-print-fake-header):
11991 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
11993 * arc-mode.el (archive-mode): Add `archive-write-file' to
11994 `write-contents-functions' also for remote files. (Bug#14652)
11996 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11998 * cus-edit.el (custom-commands): Fix typos.
11999 (custom-display): Fix tooltip text.
12000 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12001 Fix typos in docstrings.
12002 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12003 (custom-unlispify-menu-entry, custom-magic-value-create)
12004 (custom-add-see-also, custom-group-value-create): Use ?\s.
12005 (custom-guess-type, customize-apropos, editable-field)
12006 (custom-face-value-create): Use `string-match-p'.
12007 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12009 * custom.el (custom-load-symbol): Use `string-match-p'.
12011 * ansi-color.el: Convert to lexical binding.
12012 (ansi-colors): Fix URL.
12013 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12014 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12015 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12017 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12019 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12021 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12023 2013-06-19 Tom Tromey <tromey@redhat.com>
12025 * net/eww.el (eww-top-url): Remove.
12026 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12027 (eww-render): Set new variables. Don't set eww-top-url.
12028 (eww-handle-link): Handle "prev", "home", and "contents".
12029 Downcase the rel text.
12030 (eww-top-url): Choose best top URL.
12032 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12034 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12035 relying in widget.el. Using widget.el leads to too many
12036 user interface inconsistencies.
12037 (eww-self-insert): Implement entering commands in text fields.
12038 (eww-process-text-input): New function to make text input field editing
12040 (eww-submit): Rewrite to use the new-style form methods.
12041 (eww-select-display): Display the correct selected item.
12042 (eww-change-select): Implement changing the select value.
12043 (eww-toggle-checkbox): Implement radio/checkboxes.
12044 (eww-update-field): Fix compilation error.
12045 (eww-tag-textarea): Implement <textarea>.
12047 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12048 we don't shadow mode-specific bindings.
12050 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12053 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12055 2013-06-19 Glenn Morris <rgm@gnu.org>
12057 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12059 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12061 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12064 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12066 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12068 * net/browse-url.el (browse-url-browser-function):
12069 `eww-browse-url' has the right calling signature, `eww' does not.
12071 2013-06-19 Glenn Morris <rgm@gnu.org>
12073 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12074 Only eval autoloaded macros.
12075 (byte-compile-autoload): Only give the macro warning for macros.
12077 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12078 (ps-underlined-faces): Declare.
12080 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12081 (speedbar-add-supported-extension): Declare.
12083 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12084 Don't include a date stamp in the header of the generated file;
12085 it leads to needless differences between output files.
12087 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12089 * net/secrets.el (secrets-struct-secret-content-type):
12090 Replace check of introspection data by a test call of "CreateItem".
12091 Some servers do not offer introspection.
12093 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12095 * electric.el (electric-pair-mode): Improve interaction with
12096 electric-layout-mode.
12097 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12098 (electric-pair-syntax): Use text-mode-syntax-table in comments
12100 (electric-pair--insert): New function.
12101 (electric-pair-post-self-insert-function): Use it and
12102 electric--after-char-pos.
12104 2013-06-19 Leo Liu <sdl.web@gmail.com>
12106 * progmodes/octave.el (octave-help): Fix regexp.
12108 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12110 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12111 (shr-table-horizontal-line): Allow nil as a value, and change the
12113 (shr-insert-table-ruler): Respect the nil value.
12115 2013-06-18 Tom Tromey <tromey@barimba>
12117 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12119 (eww-open-file): New defun.
12120 (eww-render): Initialize new variables.
12121 (eww-display-html): Handle "link" and "a".
12122 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12123 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12124 (eww-back-url): Rename from eww-previous-url.
12125 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12128 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12130 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12131 Distinguish ternary operator tokens from slash symbol and slash
12134 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12136 Convert symbol prettification into minor mode and global minor mode.
12138 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12139 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12140 (prettify-symbols--keywords): Rename from
12141 `prog-prettify-symbols-alist' and make a local defvar.
12142 (prettify-symbols--compose-symbol): Rename from
12143 `prog--prettify-font-lock-compose-symbol'.
12144 (prettify-symbols--make-keywords): Rename from
12145 `prog-prettify-font-lock-symbols-keywords' and simplify.
12146 (prog-prettify-install): Remove.
12147 (prettify-symbols-mode): New minor mode, based on
12148 `prog-prettify-install'.
12149 (turn-on-prettify-symbols-mode): New function.
12150 (global-prettify-symbols-mode): New globalized minor mode.
12152 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12153 * progmodes/cfengine.el (cfengine3-mode):
12154 * progmodes/perl-mode.el (perl-mode): Don't call
12155 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12157 2013-06-18 Juri Linkov <juri@jurta.org>
12159 * files-x.el (modify-file-local-variable-message): New function.
12160 (modify-file-local-variable)
12161 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12162 and call `modify-file-local-variable-message' when it's non-nil.
12163 (add-file-local-variable, delete-file-local-variable)
12164 (add-file-local-variable-prop-line)
12165 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12166 and use it. (Bug#9820)
12168 2013-06-18 Juri Linkov <juri@jurta.org>
12170 * emulation/vi.el (vi-shell-op):
12171 * emulation/vip.el (vip-execute-com, ex-command):
12172 * emulation/viper-cmd.el (viper-exec-bang):
12173 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12174 the call of `shell-command-on-region'. (Bug#14637)
12176 * simple.el (shell-command-on-region): Doc fix.
12178 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12180 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12183 2013-06-18 Glenn Morris <rgm@gnu.org>
12185 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12187 * newcomment.el (comment-search-forward, comment-search-backward):
12188 Doc fix. (Bug#14376)
12190 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12192 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12193 (buffer-face-mode-invoke): Doc fix.
12195 2013-06-18 Matthias Meulien <orontee@gmail.com>
12197 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12198 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12200 2013-06-18 Glenn Morris <rgm@gnu.org>
12202 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12203 Replace obsolete function generic-make-keywords with its expansion.
12205 * progmodes/python.el (ffap-alist): Declare.
12207 * textmodes/reftex.el (bibtex-mode-map): Declare.
12209 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12211 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12212 (package-unpack, package-unpack-single): Return the pkg-dir.
12213 (package-download-transaction): Use it to update package-alist.
12215 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12217 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12220 2013-06-17 Juri Linkov <juri@jurta.org>
12222 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12224 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12226 * emacs-lisp/package.el (package-load-descriptor):
12227 Remove `with-syntax-table' call, `read' doesn't need it.
12228 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12230 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12232 * startup.el (command-line): Expand package name returned by
12233 `package--description-file' (bug#14639).
12235 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12237 * emacs-lisp/package.el (package-load-descriptor): Do not call
12238 `emacs-lisp-mode', just use its syntax table.
12240 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12242 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12243 `font-lock-extra-managed-props' if any prettifying keyword is added.
12244 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12245 (prog-mode): Use `setq-local'.
12247 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12249 * international/characters.el (standard-case-table): Set syntax of ?»
12250 and ?« to punctuation.
12252 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12254 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12255 Save relevant match data before calling `syntax-ppss' (bug#14595).
12257 2013-06-15 Juri Linkov <juri@jurta.org>
12259 * files-x.el (modify-file-local-variable-prop-line): Add local
12260 variables to the end of the existing comment on the first line.
12261 Use `file-auto-mode-skip' to skip interpreter magic line,
12262 and also skip XML declaration.
12264 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12266 * startup.el (package--builtin-versions): New var.
12267 (package-subdirectory-regexp): Remove.
12268 (package--description-file): Hard code its value instead.
12270 * emacs-lisp/package.el: Don't activate packages older than builtin.
12271 (package-obsolete-list): Rename from package-obsolete-alist, and make
12272 it into a simple list of package-desc.
12273 (package-strip-version): Remove.
12274 (package-built-in-p): Use package--builtin-versions.
12275 (package-mark-obsolete): Simplify.
12276 (package-process-define-package): Mark it obsolete if older than the
12278 (package-handle-response): Use line-end-position.
12279 (package-read-archive-contents, package--download-one-archive):
12281 (package--add-to-archive-contents): Skip if older than the builtin or
12283 (package-menu-describe-package): Fix last change.
12284 (package-list-unversioned): New var.
12285 (package-menu--generate): Use it.
12287 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12288 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12289 (autoload-builtin-package-versions): New variable.
12290 (autoload-generate-file-autoloads): Use them.
12291 Remove the list of autoloaded functions/macros from the
12292 (autoload...) comments.
12294 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12296 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12298 * simple.el (line-move-partial): Don't jump to the next screen
12299 line as soon as it becomes visible. Instead, continue enlarging
12300 the vscroll until the portion of a tall screen line that's left on
12301 display is about the height of the frame's default font.
12304 2013-06-15 Glenn Morris <rgm@gnu.org>
12306 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12307 compilation-error-regexp-alist void, or local while let-bound.
12309 * progmodes/make-mode.el (makefile-mode-syntax-table):
12310 Treat "=" as punctuation. (Bug#14614)
12312 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12314 * help-fns.el (describe-variable):
12315 Add extra line for permanent-local variables.
12317 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12319 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12320 Add export, import, library. (Bug#9164)
12321 (library): Set indent function.
12323 2013-06-14 Glenn Morris <rgm@gnu.org>
12325 * term/xterm.el (xterm--query):
12326 Stop after first matching handler. (Bug#14615)
12328 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12330 Add support for dired in saveplace.
12331 * dired.el (dired-initial-position-hook): New variable.
12332 (dired-initial-position): Call hook to place cursor position.
12333 * saveplace.el (save-place-to-alist): Add dired position.
12334 (save-place-dired-hook): New function.
12336 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12338 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12339 through a symbol rather than letrec.
12341 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12342 (package-desc): Add `dir' field.
12343 (package-desc-full-name): New function.
12344 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12345 (package-maybe-load-descriptor): Remove.
12346 (package-load-all-descriptors): Just call package-load-descriptor.
12347 (package--disabled-p): New function.
12348 (package-desc-vers, package-desc-doc): Remove aliases.
12349 (package--dir): Remove function.
12350 (package-activate): Check if a package is disabled.
12351 (package-process-define-package): New function, extracted from
12353 (define-package): Turn into a place holder.
12354 (package-unpack-single, package-tar-file-info):
12355 Use package--description-file.
12356 (package-compute-transaction): Use package--disabled-p.
12357 (package-download-transaction): Don't call
12358 package-maybe-load-descriptor since they're all loaded anyway.
12359 (package-install): Change argument to be a pkg-desc.
12360 (package-delete): Use a single pkg-desc argument.
12361 (describe-package-1): Use package-desc-dir instead of package--dir.
12362 Use package-desc property instead of package-symbol.
12363 (package-install-button-action): Adjust accordingly.
12364 (package--push): Rewrite.
12365 (package-menu--print-info): Adjust accordingly. Change the ID format
12367 (package-menu-describe-package, package-menu-get-status)
12368 (package-menu--find-upgrades, package-menu-mark-upgrades)
12369 (package-menu-execute, package-menu--name-predicate):
12370 Adjust accordingly.
12371 * startup.el (package--description-file): New function.
12372 (command-line): Use it.
12373 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12374 Use package-desc-version.
12376 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12377 (byte-compile-preprocess): Use it.
12378 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12379 can't quite recognize.
12380 (byte-compile-add-to-list): Remove.
12381 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12382 (cconv-closure-convert): Add assertion.
12384 * emacs-lisp/map-ynp.el: Use lexical-binding.
12385 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12386 Factor out some repeated code.
12388 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12390 * subr.el (with-eval-after-load): New macro.
12391 (eval-after-load): Allow form to be a function.
12392 take advantage of lexical-binding.
12393 (do-after-load-evaluation): Use dolist and adjust to new format.
12394 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12396 2013-06-13 Juri Linkov <juri@jurta.org>
12398 * replace.el (perform-replace): Display "symbol " and other search
12399 modes from `isearch-message-prefix' in the *Help* buffer.
12401 * isearch.el (isearch-query-replace): Add " symbol" and other
12402 possible search modes from `isearch-message-prefix' to the prompt.
12403 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12404 when reading a regexp to collect.
12406 2013-06-13 Juri Linkov <juri@jurta.org>
12408 * isearch.el (word-search-regexp): Match whitespace if the search
12409 string begins or ends in whitespace. The LAX arg is applied to
12410 both ends of the search string. Use `regexp-quote' and explicit
12411 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12412 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12413 boundaries are replaced with symbol boundaries, and characters
12414 between symbols match non-word non-symbol syntax. (Bug#14602)
12416 2013-06-13 Juri Linkov <juri@jurta.org>
12418 * isearch.el (isearch-del-char): Don't exceed the length of
12419 `isearch-string' by the prefix arg. (Bug#14563)
12421 2013-06-13 Juri Linkov <juri@jurta.org>
12423 * isearch.el (isearch-yank-word, isearch-yank-line)
12424 (isearch-char-by-name, isearch-quote-char)
12425 (isearch-printing-char, isearch-process-search-char):
12426 Add optional count prefix arg. (Bug#14563)
12428 * international/isearch-x.el
12429 (isearch-process-search-multibyte-characters):
12430 Add optional count prefix arg.
12432 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12434 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12435 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12438 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12440 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12442 2013-06-13 Glenn Morris <rgm@gnu.org>
12444 * startup.el (tty-handle-args):
12445 Don't just discard "--" and anything after. (Bug#14608)
12447 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12449 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12451 Implement changes in Secret Service API. Make it backward compatible.
12452 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12453 (secrets-create-item): Use it. Prefix properties with interface.
12455 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12457 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12458 (term-emulate-terminal): Respect term-suppress-hard-newline.
12460 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12462 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12463 Only remove a `thumb-file' overlay. (Bug#14548)
12465 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12467 * mail/reporter.el (reporter-submit-bug-report):
12468 Handle missing package-name. (Bug#14600)
12470 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12472 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12473 (reftex-citation-prompt, reftex-default-bibliography)
12474 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12475 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12476 (reftex-bib-sort-author, reftex-bib-sort-year)
12477 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12478 (reftex-extract-bib-entries-from-thebibliography)
12479 (reftex-get-bibkey-default, reftex-get-bib-names)
12480 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12481 (reftex-format-bib-entry, reftex-parse-bibitem)
12482 (reftex-format-bibitem, reftex-do-citation)
12483 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12484 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12485 (reftex-insert-bib-matches, reftex-format-citation)
12486 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12487 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12488 existing comments into docstrings.
12490 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12492 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12494 2013-06-12 Andreas Schwab <schwab@suse.de>
12496 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12497 for auto-save files.
12499 2013-06-12 Glenn Morris <rgm@gnu.org>
12501 * ido.el (ido-delete-ignored-files): Remove.
12502 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12503 Go back to calling ido-ignore-item-p directly.
12505 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12507 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12509 * ido.el (ido-delete-ignored-files): New function,
12510 split from ido-make-file-list-1.
12511 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12512 (ido-make-file-list-1): Use ido-delete-ignored-files.
12514 2013-06-12 Leo Liu <sdl.web@gmail.com>
12516 * progmodes/octave.el (inferior-octave-startup)
12517 (inferior-octave-completion-table)
12518 (inferior-octave-track-window-width-change)
12519 (octave-eldoc-function-signatures, octave-help)
12520 (octave-find-definition): Use single quoted strings.
12521 (inferior-octave-startup-args): Change default value.
12522 (inferior-octave-startup): Do not hard code "-i" and
12523 "--no-line-editing".
12524 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12525 (inferior-octave-directory-tracker): Use it.
12526 (octave-goto-function-definition): Robustify.
12527 (octave-help): Support highlighting operators in 'See also'.
12528 (octave-find-definition): Find subfunctions only in Octave mode.
12530 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12532 * help-fns.el (help-fns--compiler-macro): If the handler function is
12533 named, then put a link to it.
12534 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12535 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12536 (cl-typep): Use it.
12537 (cl-eval-when): Simplify debug spec.
12538 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12539 compiler-macro function instead of setting `compiler-macro-file'.
12541 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12543 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12544 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12546 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12547 Daniel Hackney <dan@haxney.org>
12549 First part of Daniel Hackney's patch to package.el.
12550 * emacs-lisp/package.el: Use defstruct.
12551 (package-desc): New, main struct.
12552 (package--bi-desc, package--ac-desc): New structs, used to describe the
12553 format in external files.
12554 (package-desc-vers): Replace with package-desc-version accessor.
12555 (package-desc-doc): Replace with package-desc-summary accessor.
12556 (package-activate-1): Remove `package' arg since the pkg-vec now
12558 (define-package): Use package-desc-from-define.
12559 (package-unpack-single): Change file-name arg to be a symbol.
12560 (package--add-to-archive-contents): Use package-desc-create and new
12561 accessor functions to package--ac-desc.
12562 (package-buffer-info, package-tar-file-info): Return a package-desc.
12563 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12564 arg to be a package-desc.
12565 (package-install-file): Adjust accordingly. Use \' to match EOS.
12566 (package--from-builtin): New function.
12567 (describe-package-1, package-menu--generate): Use it.
12568 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12569 (package-generate-autoloads): Idem and return the name of the file.
12570 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12571 Change pkg-info arg to be a package-desc.
12572 Use package-make-ac-desc.
12573 (package-upload-file): Use \' to match EOS.
12574 * finder.el (finder-compile-keywords): Use package-make-builtin.
12576 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12578 * vc/vc.el (vc-deduce-fileset): Change error message.
12579 (vc-read-backend): New function.
12580 (vc-next-action): Use it.
12582 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12584 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12585 (prolog-font-lock-keywords): Use regexp-opt instead.
12586 Don't manually highlight strings.
12587 (prolog-mode-variables): Simplify comment-start-skip.
12588 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12590 * emacs-lisp/generic.el (generic--normalise-comments)
12591 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12592 (generic-mode-set-comments): Use them.
12593 (generic-bracket-support): Use setq-local.
12594 (generic-make-keywords-list): Declare obsolete.
12596 2013-06-11 Glenn Morris <rgm@gnu.org>
12598 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12599 Prettify after setting font-lock-defaults. (Bug#14574)
12601 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12603 * replace.el (query-replace, occur-read-regexp-defaults-function)
12605 * subr.el (declare-function, number-sequence, local-set-key)
12606 (substitute-key-definition, locate-user-emacs-file)
12607 (with-silent-modifications, split-string, eval-after-load):
12608 Fix typos, remove unneeded backslashes and reflow some docstrings.
12610 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12612 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12613 default for Elisp files.
12615 2013-06-11 Glenn Morris <rgm@gnu.org>
12617 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12618 although define-derived-mode was doing this anyway. (Bug#14583)
12620 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12622 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12623 Fix make-variable-buffer-local call to refer to the correct variable.
12625 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12627 * eshell/em-term.el (eshell-visual-commands)
12628 (eshell-visual-subcommands, eshell-visual-options):
12629 Add summary line to docstrings. Add cross-references.
12631 2013-06-10 Glenn Morris <rgm@gnu.org>
12633 * epa.el (epa-read-file-name): New function. (Bug#14510)
12634 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12636 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12638 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12639 output redirection to be ignored with visual commands.
12641 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12643 * eshell/em-term.el (eshell-visual-command-p): New function.
12644 (eshell-term-initialize): Move long lambda to separate function
12645 eshell-visual-command-p.
12646 * eshell/em-dirs.el (eshell-dirs-initialize):
12647 * eshell/em-script.el (eshell-script-initialize):
12648 Add missing #' to lambda.
12650 2013-06-08 Leo Liu <sdl.web@gmail.com>
12652 * progmodes/octave.el (octave-add-log-current-defun): New function.
12653 (octave-mode): Set add-log-current-defun-function.
12654 (octave-goto-function-definition): Do not move point if not found.
12655 (octave-find-definition): Enhance to try subfunctions first.
12657 2013-06-08 Glenn Morris <rgm@gnu.org>
12659 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12660 (byte-compile-backward-char, byte-compile-backward-word):
12661 Improve previous change, to handle non-explicit nil.
12663 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12665 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12666 (smie--opener/closer-at-point): New function.
12667 (smie--matching-block-data): Use it. Don't match from right after an
12668 opener or right before a closer. Obey smie-blink-matching-inners.
12669 Don't signal a mismatch for repeated inners like "switch..case..case".
12671 2013-06-07 Leo Liu <sdl.web@gmail.com>
12673 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12675 (octave-function-header-regexp): Fix. (Bug#14570)
12676 (octave-help-mode-finish-hook, octave-help-mode-finish):
12677 Remove. Just use temp-buffer-show-hook.
12679 * newcomment.el (comment-search-backward): Revert last change.
12682 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12684 2013-06-07 Eli Zaretskii <eliz@gnu.org>
12686 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12687 through xargs, to avoid failure due to MS-Windows limitations on
12688 command-line length.
12690 2013-06-06 Glenn Morris <rgm@gnu.org>
12692 * font-lock.el (lisp-font-lock-keywords-2):
12693 Treat user-error like error.
12695 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12696 (byte-compile-backward-char, byte-compile-backward-word):
12697 Handle explicit nil arguments. (Bug#14565)
12699 2013-06-05 Alan Mackenzie <acm@muc.de>
12701 * isearch.el (isearch-allow-prefix): New user option.
12702 (isearch-other-meta-char): Don't exit isearch when a prefix
12703 argument is typed whilst `isearch-allow-prefix' is non-nil.
12706 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12708 * autorevert.el (auto-revert-notify-handler): Use memq.
12709 Hide assertion failure.
12711 * skeleton.el: Use cl-lib.
12712 (skeleton-further-elements): Use defvar-local.
12713 (skeleton-insert): Use cl-progv.
12715 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12717 * progmodes/prog-mode.el (prog-prettify-symbols)
12718 (prog-prettify-install): Update docstrings.
12720 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12722 * simple.el: Move all the prog-mode code to prog-mode.el.
12723 * progmodes/prog-mode.el: New file.
12724 * loadup.el: Add prog-mode.el.
12726 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12728 * simple.el (prog-prettify-symbols): Add version.
12729 (prog-prettify-install): Add convenience function to prettify symbols.
12731 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12732 (perl--augmented-font-lock-keywords-1)
12733 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12734 variables and use it.
12736 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12737 (cfengine3-mode): Remove unneeded variable and use it.
12739 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12740 (lisp--augmented-font-lock-keywords-1)
12741 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12742 Remove unneeded variables and use it.
12744 2013-06-05 João Távora <joaotavora@gmail.com>
12746 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
12747 to point when opening the connection. (Bug#14380)
12749 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12751 * subr.el (load-history-regexp, load-history-filename-element)
12752 (eval-after-load, after-load-functions, do-after-load-evaluation)
12753 (eval-next-after-load, display-delayed-warnings)
12754 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12755 definition of save-match-data.
12756 (overriding-local-map): Remove accidental obsolescence declaration.
12758 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12760 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12762 Generalize symbol prettify support to prog-mode and implement it
12763 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12764 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12765 (prog--prettify-font-lock-compose-symbol)
12766 (prog-prettify-font-lock-symbols-keywords): New variables and
12767 functions to support symbol prettification.
12768 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12769 (lisp--augmented-font-lock-keywords-1)
12770 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12771 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12772 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12773 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12774 Implement prettify of -> => :: strings.
12775 * progmodes/perl-mode.el (perl-prettify-symbols)
12776 (perl--font-lock-compose-symbol)
12777 (perl--font-lock-symbols-keywords): Move to prog-mode.
12778 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12779 (perl-font-lock-keywords-1)
12780 (perl-font-lock-keywords-2): Remove explicit prettify support.
12781 (perl--augmented-font-lock-keywords)
12782 (perl--augmented-font-lock-keywords-1)
12783 (perl--augmented-font-lock-keywords-2, perl-mode):
12784 Implement prettify support.
12786 2013-06-05 Leo Liu <sdl.web@gmail.com>
12788 Re-implement SMIE matching block highlight using
12789 show-paren-data-function. (Bug#14395)
12790 * emacs-lisp/smie.el (smie-matching-block-highlight)
12791 (smie--highlight-matching-block-overlay)
12792 (smie--highlight-matching-block-lastpos)
12793 (smie-highlight-matching-block)
12794 (smie-highlight-matching-block-mode): Remove.
12795 (smie--matching-block-data-cache): New variable.
12796 (smie--matching-block-data): New function.
12797 (smie-setup): Use smie--matching-block-data for
12798 show-paren-data-function.
12800 * progmodes/octave.el (octave-mode-menu): Fix.
12801 (octave-find-definition): Skip garbage lines.
12803 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12805 Fix compilation error with simultaneous dynamic+lexical scoping.
12806 Add warning when a defvar appears after the first let-binding.
12807 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12808 (byte-compile-close-variables): Initialize it.
12809 (byte-compile--declare-var): New function.
12810 (byte-compile-file-form-defvar)
12811 (byte-compile-file-form-define-abbrev-table)
12812 (byte-compile-file-form-custom-declare-variable): Use it.
12813 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12814 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12815 (byte-compile-bind): Handle dynamic bindings that shadow
12817 (byte-compile-unbind): Make arg non-optional.
12818 (byte-compile-let): Simplify.
12819 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12820 (cconv--analyse-function, cconv-analyse-form): Populate it.
12821 Protect byte-compile-bound-variables to limit the scope of defvars.
12822 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12823 Remove unneeded rule for `declare'.
12825 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12826 so as to avoid depending on cl-adjoin at run-time.
12827 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12829 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12830 (macroexp--warn-and-return): Use it.
12832 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12834 * subr.el: Convert to lexical binding.
12835 (overriding-local-map): Make obsolete.
12836 (add-to-list): Doc fix. Add compiler macro.
12837 (read-key): Swap values of local maps.
12839 2013-06-05 Leo Liu <sdl.web@gmail.com>
12841 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12843 2013-06-04 Leo Liu <sdl.web@gmail.com>
12845 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12846 (compilation-auto-jump): Suppress the "Mark set" message to give
12847 way to exit message.
12849 2013-06-04 Alan Mackenzie <acm@muc.de>
12851 Remove faulty optimisation from indentation calculation.
12852 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12853 search limit based on 2000 characters back from indent-point.
12855 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12857 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12859 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12861 * emacs-lisp/lisp.el: Use lexical-binding.
12862 (lisp--local-variables-1, lisp--local-variables): New functions.
12863 (lisp--local-variables-completion-table): New var.
12864 (lisp-completion-at-point): Use it complete let-bound vars.
12866 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12867 eagerly (bug#14422).
12869 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
12871 * autorevert.el (auto-revert-notify-enabled)
12872 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12873 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12874 (auto-revert-notify-handler): Handle also gfilenotify.
12876 * subr.el (file-notify-handle-event): New defun. Replacing ...
12877 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
12880 2013-06-03 Juri Linkov <juri@jurta.org>
12882 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12883 `M-s h .'. (Bug#14427)
12885 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12886 command `hi-lock-face-symbol-at-point'.
12887 (hi-lock-face-symbol-at-point): New command.
12888 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12889 (hi-lock-menu): Add `highlight-symbol-at-point'.
12890 (hi-lock-mode): Doc fix.
12892 * isearch.el (isearch-forward-symbol-at-point): New command.
12893 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12894 (isearch-highlight-regexp): Add a regexp which matches
12895 words/symbols for word/symbol mode.
12897 * subr.el (find-tag-default-bounds): New function with the body
12898 mostly moved from `find-tag-default'.
12899 (find-tag-default): Move most code to `find-tag-default-bounds',
12900 call it and apply `buffer-substring-no-properties' afterwards.
12902 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12904 * eshell/em-term.el (eshell-term-initialize):
12905 Use `cl-intersection' rather than `intersection'.
12907 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12909 * vc/log-view.el: Doc fix.
12910 (log-view-mode-map): Copy keymap from `special-mode-map'.
12912 2013-06-02 Eric Ludlam <zappo@gnu.org>
12914 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12915 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12916 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12917 (eieio-unbound, eieio-default-superclass)
12918 (eieio--define-field-accessors, method-static, method-before)
12919 (method-primary, method-after, method-num-lists)
12920 (method-generic-before, method-generic-primary)
12921 (method-generic-after, method-num-slots)
12922 (eieio-specialized-key-to-generic-key)
12923 (eieio--check-type, class-v, class-p)
12924 (eieio-class-name, define-obsolete-function-alias)
12925 (eieio-class-parents-fast, eieio-class-children-fast)
12926 (same-class-fast-p, class-constructor, generic-p)
12927 (generic-primary-only-p, generic-primary-only-one-p)
12928 (class-option-assoc, class-option, eieio-object-p)
12929 (class-abstract-p, class-method-invocation-order)
12930 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12931 (eieio-class-un-autoload, eieio-defclass)
12932 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12933 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12934 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12935 (eieio-defgeneric-reset-generic-form)
12936 (eieio-defgeneric-form-primary-only)
12937 (eieio-defgeneric-reset-generic-form-primary-only)
12938 (eieio-defgeneric-form-primary-only-one)
12939 (eieio-defgeneric-reset-generic-form-primary-only-one)
12940 (eieio-unbind-method-implementations)
12941 (eieio--defmethod, eieio--typep)
12942 (eieio-perform-slot-validation, eieio-validate-slot-value)
12943 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12944 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12945 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12946 (eieio-slot-name-index, eieio-class-slot-name-index)
12947 (eieio-set-defaults, eieio-initarg-to-attribute)
12948 (eieio-attribute-to-initarg, eieio-c3-candidate)
12949 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12950 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12951 (eieio-class-precedence-list, eieio-generic-call-methodname)
12952 (eieio-generic-call-arglst, eieio-generic-call-key)
12953 (eieio-generic-call-next-method-list)
12954 (eieio-pre-method-execution-functions, eieio-generic-call)
12955 (eieio-generic-call-primary-only, eieiomt-method-list)
12956 (eieiomt-optimizing-obarray, eieiomt-install)
12957 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12958 (eieio-generic-form, eieio-defmethod, make-obsolete)
12959 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
12960 (defclass): Remove `eval-and-compile' from macro.
12961 (call-next-method, shared-initialize): Instead of using
12962 `scoped-class' variable, use new eieio--scoped-class, and
12963 eieio--with-scoped-class.
12964 (initialize-instance): Rename local variable 'scoped-class' to
12965 'this-class' to remove ambiguitity from old global.
12967 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12969 (eieio--scoped-class-stack): New variable.
12970 (eieio--scoped-class): New fcn.
12971 (eieio--with-scoped-class): New scoping macro.
12972 (eieio-defclass): Use pushnew instead of add-to-list.
12973 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12974 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12975 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12976 `scoped-class' variable, use new eieio--scoped-class, and
12977 eieio--with-scoped-class.
12979 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12981 2013-06-02 Tassilo Horn <tsdh@gnu.org>
12983 * eshell/esh-ext.el (eshell-external-command): Pass args to
12984 `eshell-find-interpreter'.
12985 (eshell-find-interpreter): Add new second parameter ARGS.
12987 * eshell/em-script.el (eshell-script-initialize): Add second arg
12988 to the function added as MATCH to `eshell-interpreter-alist'.
12990 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
12991 the function added as MATCH to `eshell-interpreter-alist'.
12993 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12994 (eshell-visual-options): New defcustom.
12995 (eshell-escape-control-x): Adapt docstring.
12996 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12997 `eshell-visual-options' in addition to `eshell-visual-commands'.
12998 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13000 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13002 * progmodes/python.el (python-indent-block-enders): Add break,
13003 continue and raise keywords.
13005 2013-06-01 Glenn Morris <rgm@gnu.org>
13007 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13009 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13010 * progmodes/cc-cmds.el (delete-forward-p):
13011 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13012 * progmodes/cc-engine.el (buffer-syntactic-context):
13013 * progmodes/cc-fonts.el (face-property-instance):
13014 * progmodes/cc-mode.el (set-keymap-parents):
13015 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13016 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13017 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13018 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13019 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13021 * progmodes/cc-vars.el (other): Emacs has this widget since
13022 at least 21.1, so don't (re)define it.
13024 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13025 Replace the obsolete alias pcomplete-arg-quote-list.
13027 2013-06-01 Leo Liu <sdl.web@gmail.com>
13029 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13030 punctuation syntax.
13031 (inferior-octave-minimal-columns)
13032 (inferior-octave-last-column-width): New variables.
13033 (inferior-octave-track-window-width-change): New function.
13034 (inferior-octave-mode): Adjust column width so that Octave output,
13035 for example from 'ls', can fit into the window nicely.
13037 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13039 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13040 Highlight expansions inside regexp literals.
13042 2013-05-31 Glenn Morris <rgm@gnu.org>
13044 * obsolete/sym-comp.el (symbol-complete):
13045 Replace obsolete completion-annotate-function.
13047 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13049 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13051 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13052 New function, checks if point is inside a literal that allows
13053 expression expansion.
13054 (ruby-syntax-propertize-expansion): Use it.
13055 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13058 2013-05-30 Juri Linkov <juri@jurta.org>
13060 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13062 (isearch-invisible): New variable.
13063 (isearch-forward): Doc fix.
13064 (isearch-mode): Set `isearch-invisible'
13065 to the value of `search-invisible'.
13066 (isearch-toggle-case-fold): Doc fix.
13067 (isearch-toggle-invisible): New command.
13068 (isearch-query-replace): Let-bind `search-invisible'
13069 to the value of `isearch-invisible'.
13070 (isearch-search): Use `isearch-invisible' instead of
13071 `search-invisible'. Let-bind `search-invisible'
13072 to the value of `isearch-invisible'. (Bug#11378)
13074 2013-05-30 Juri Linkov <juri@jurta.org>
13076 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13077 call when `query-flag' is nil and `search-invisible' is non-nil.
13080 2013-05-30 Glenn Morris <rgm@gnu.org>
13082 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13084 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13085 (cc-require): Suppress spurious "noruntime" warnings.
13086 (cc-require-when-compile): Use fboundp, for sake of compiler.
13088 * progmodes/cc-mode.el: Move load of cc-vars before that of
13089 cc-langs (which in turn loads cc-vars), to quieten compiler.
13091 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13093 * paren.el: Simplify the code.
13094 (show-paren-mode): Always start the timer.
13095 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13096 (show-paren--overlay, show-paren--overlay-1): Rename from
13097 show-paren-overlay and show-paren-overlay-1, and initialize to an
13098 overlay rather than to nil.
13099 (show-paren-function): Misc cleanup and simplifications.
13101 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13103 * paren.el (show-paren-data-function): New hook.
13104 (show-paren--default): New function, extracted from show-paren-function.
13105 (show-paren-function): Use show-paren-data-function.
13107 2013-05-30 Glenn Morris <rgm@gnu.org>
13109 * ielm.el (ielm-map, ielm-complete-symbol):
13110 Use completion-at-point rather than obsolete functions.
13111 (inferior-emacs-lisp-mode): Doc fix.
13112 Set completion-at-point-functions, rather than
13113 comint-dynamic-complete-functions.
13115 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13116 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13117 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13119 * image.el (image-animated-p): Tweak definition.
13121 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13122 (rlogin-process-connection-type): Tweak default. Add set-after.
13123 (rlogin-host): Doc fix.
13124 (rlogin): Tweak prompt.
13125 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13127 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13128 * progmodes/tcl.el (inferior-tcl-mode-map):
13129 Use completion-at-point rather than obsolete alias.
13131 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13133 * minibuffer.el (read-file-name-completion-ignore-case):
13134 Move before completion--in-region, for eager macro expansion.
13136 2013-05-29 Juri Linkov <juri@jurta.org>
13138 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13139 for total count of matching lines. Add `global-matches' for total
13140 count of matches. Rename `matches' to `lines' for count of
13141 matching lines. Add `matches' for count of matches.
13142 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13143 to `prev-line' for line number of prev match endpt.
13144 Increment `matches' for every match. Print the number of
13145 matching lines in the header.
13146 (occur-context-lines): Rename `lines' to `curr-line'.
13147 Rename `prev-lines' to `prev-line'. (Bug#14017)
13149 2013-05-29 Juri Linkov <juri@jurta.org>
13151 * replace.el (perform-replace): Add `skip-read-only-count',
13152 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13153 Increment them for corresponding conditions and report the number
13154 of skipped occurrences in the final message. (Bug#11746)
13155 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13156 (replace-string, replace-regexp): Doc fix.
13158 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13160 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13162 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13163 prog-mode-map (bug#14504).
13165 2013-05-29 Leo Liu <sdl.web@gmail.com>
13167 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13168 (octave-help): Small simplification.
13170 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13171 off the highlight first.
13173 2013-05-29 Glenn Morris <rgm@gnu.org>
13175 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13176 Handle idlwave-last-system-routine-info-cons-cell being nil.
13178 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13179 (idlwave-write-paths): Simplify via with-temp-buffer.
13181 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13182 * emulation/cua-rect.el: Also load cua-base at run time.
13184 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13185 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13186 (cperl-imenu-on-info): Require imenu.
13188 2013-05-28 Alan Mackenzie <acm@muc.de>
13190 Handle "capitalised keywords" correctly.
13191 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13193 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13195 * eshell/em-unix.el: Add -r option to cp.
13197 2013-05-28 Glenn Morris <rgm@gnu.org>
13199 * vc/vc-arch.el (vc-exec-after): Declare.
13200 (vc-switches): Autoload.
13201 * vc/vc-bzr.el: No need to require vc when compiling.
13202 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13203 (vc-resynch-buffer, vc-dir-refresh): Declare.
13204 (vc-setup-buffer, vc-switches): Autoload.
13205 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13206 (vc-resynch-buffer): Declare.
13207 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13208 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13209 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13210 (grep-read-regexp, grep-read-files, grep-expand-template)
13211 (vc-dir-refresh): Declare.
13212 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13213 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13214 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13215 * vc/vc-mtn.el (vc-exec-after): Declare.
13216 (vc-switches): Autoload.
13217 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13218 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13219 (vc-file-tree-walk): Declare.
13220 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13221 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13222 (vc-tag-precondition, vc-rename-master): Autoload.
13223 * vc/vc-svn.el (vc-exec-after): Declare.
13224 (vc-switches, vc-setup-buffer): Autoload.
13225 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13227 (vc-resynch-buffer): Declare.
13229 * obsolete/fast-lock.el (byte-compile-warnings):
13230 Don't warn about obsolete features in this obsolete file.
13232 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13233 Move definition before use.
13235 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13236 (dun-unix-verbs): Remove dun-zippy.
13237 (dun-zippy): Remove function.
13239 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13241 2013-05-27 Juri Linkov <juri@jurta.org>
13243 * replace.el (replace-search): New function with code moved out
13244 from `perform-replace'.
13245 (replace-highlight, replace-dehighlight): Move function definitions
13246 up closer to `replace-search'. (Bug#11746)
13248 2013-05-27 Juri Linkov <juri@jurta.org>
13250 * replace.el (perform-replace): Ignore invisible matches.
13251 In addition to checking `query-replace-skip-read-only', also
13252 filter out matches by calling `run-hook-with-args-until-failure'
13253 on `isearch-filter-predicates', and also check `search-invisible'
13254 for t or call `isearch-range-invisible'.
13255 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13257 2013-05-27 Juri Linkov <juri@jurta.org>
13259 * isearch.el (isearch-filter-predicates): Rename from
13260 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13261 (isearch-message-prefix): Display text from the property
13262 `isearch-message-prefix' of the currently active filters.
13263 (isearch-search): Don't compare `isearch-filter-predicate' with
13264 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13265 on `isearch-filter-predicates'. Also check `search-invisible' for t
13266 or call `isearch-range-invisible'.
13267 (isearch-filter-visible): Make obsolete.
13268 (isearch-lazy-highlight-search):
13269 Call `run-hook-with-args-until-failure' on
13270 `isearch-filter-predicates' and use `isearch-range-invisible'.
13272 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13273 `isearch-filter-predicates' instead of `funcall'ing
13274 `isearch-filter-predicate'.
13275 (Info-mode): Set `Info-isearch-filter' to
13276 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13278 * dired-aux.el (dired-isearch-filter-predicate-orig):
13280 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13281 (dired-isearch-filenames-end): Add and remove
13282 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13283 instead of changing the value of `isearch-filter-predicate'.
13284 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13285 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13286 Put property `isearch-message-prefix' to "filename " on
13287 `dired-isearch-filter-filenames'.
13289 * wdired.el (wdired-change-to-wdired-mode):
13290 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13291 locally instead of changing `isearch-filter-predicate'.
13292 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13294 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13296 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13297 return the commit hash (Bug#14459). Also set the
13298 `vc-git-detached' property.
13299 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13300 (vc-git-mode-line-string): Use the same help-echo format whether
13301 in detached mode or not, because we know the actual revision now.
13302 When in detached mode, shorten the revision to 7 chars.
13304 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13306 * emacs-lisp/easy-mmode.el (define-minor-mode):
13307 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13308 mode hook and provide a docstring.
13310 2013-05-27 Alan Mackenzie <acm@muc.de>
13312 Remove spurious syntax-table text properties inserted by C-y.
13313 * progmodes/cc-mode.el (c-after-change): Also clear hard
13314 syntax-table property with value nil.
13316 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13318 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13319 when reading the events; the buffer layout shall not be changed.
13321 2013-05-27 Leo Liu <sdl.web@gmail.com>
13323 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13325 (inferior-octave-directory-tracker): Automatically re-sync
13327 (octave-help): Improve handling of 'See also'.
13329 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13331 * doc-view.el: Minor naming convention tweaks.
13332 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13334 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13335 even if there's no `display' property yet (bug#14435).
13337 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13339 * subr.el (unmsys--file-name): Rename from reveal-filename.
13341 * Makefile.in (custom-deps, finder-data, autoloads)
13342 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13343 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13344 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13346 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13348 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13349 error-completion on the first 2 args of condition-case (bug#14446).
13352 2013-05-25 Leo Liu <sdl.web@gmail.com>
13354 * comint.el (comint-previous-matching-input): Do not flood the
13355 *Messages* buffer with trivial messages.
13357 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13359 * progmodes/flymake.el (flymake-nop): Don't return a string.
13360 (flymake-set-at): Fix typo.
13362 * simple.el (read--expression): New function, extracted from
13363 eval-expression. Set completion-at-point-functions (bug#14465).
13364 (eval-expression, eval-minibuffer): Use it.
13366 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13368 * progmodes/flymake.el (flymake-save-buffer-in-file)
13369 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13370 (flymake-selected-frame, flymake-log, flymake-ins-after)
13371 (flymake-set-at, flymake-get-buildfile-from-cache)
13372 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13373 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13374 Refine the doc string.
13375 (flymake-get-file-name-mode-and-masks): Reformat.
13376 (flymake-get-real-file-name-function): Fix a minor bug.
13378 2013-05-24 Juri Linkov <juri@jurta.org>
13380 * progmodes/grep.el (grep-mode-font-lock-keywords):
13381 Support =linenumber= format used by git-grep for lines with
13382 function names. (Bug#13549)
13384 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13386 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13387 0 after a semi-colon; it works better for smie-auto-fill.
13388 (octave--indent-new-comment-line): New function.
13389 (octave-indent-new-comment-line): Use it (indirectly).
13390 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13391 modify comment-line-break-function.
13393 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13394 (smie-setup): Use add-function to set it.
13396 2013-05-24 Sam Steingold <sds@gnu.org>
13398 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13399 argument (before the `interactive' argument).
13401 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13403 * image-mode.el (image-mode-winprops): Add winprops to
13404 image-mode-winprops-alist before running
13405 image-mode-new-window-functions.
13406 * doc-view.el (doc-view-new-window-function): Don't delay
13407 doc-view-goto-page via timers (bug#14435).
13409 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13411 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13412 (doc-view-desktop-save-buffer): New function.
13413 (doc-view-restore-desktop-buffer): New function.
13414 (desktop-buffer-mode-handlers):
13415 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13417 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13418 `desktop-save-buffer' function.
13420 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13422 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13423 (tramp-gvfs-file-name-handler): Raise a user error when
13424 `tramp-gvfs-enabled' is nil.
13425 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13426 Do not raise a user error when loading package. (Bug#14447)
13428 * net/xesam.el: Move to obsolete/.
13430 2013-05-24 Glenn Morris <rgm@gnu.org>
13432 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13434 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13436 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13437 (Info-find-node, Man-getpage-in-background): Declare.
13439 * mail/unrmail.el (unrmail):
13440 Replace obsolete detect-coding-with-priority.
13442 * net/socks.el (socks-split-string): Use this rather than split-string.
13443 (socks-nslookup-host): Update for above change.
13444 (dynamic-choice, s5-dynamic-choice-match)
13445 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13446 Comment out unused code.
13448 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13449 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13450 (gud-tooltip-echo-area): Make obsolete.
13451 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13453 * progmodes/js.el (js--optimize-arglist): Declare.
13455 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13457 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13458 (ediff-window-C): Declare.
13460 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13461 Tweak requires to silence compiler.
13463 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13464 (he-search-string, he-tried-table, he-expand-list)
13465 (he-init-string, he-string-member, he-substitute-string)
13466 (he-reset-string): Declare.
13468 * obsolete/options.el (list-options): Use custom-variable-p,
13469 rather than obsolete alias.
13471 2013-05-23 Sam Steingold <sds@gnu.org>
13473 * simple.el (shell-command-on-region): Pass the `replace' argument
13474 down to `call-process-region' to comply with the doc as reported on
13475 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13477 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13479 * emacs-lisp/smie.el (smie-indent-forward-token)
13480 (smie-indent-backward-token): Handle string tokens (bug#14381).
13482 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13484 * ielm.el (ielm-menu): New menu.
13485 (inferior-emacs-lisp-mode): Set comment-start.
13487 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13489 * textmodes/reftex.el (reftex-ref-style-toggle):
13490 Fix deactivate action.
13492 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13493 Add cleveref macros.
13495 * textmodes/reftex-parse.el
13496 (reftex-locate-bibliography-files): Accept options for
13497 bibliography commands.
13498 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13499 Add addbibresource. Basic Biblatex support.
13501 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13503 * net/tramp-gvfs.el (top):
13504 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13505 when loading package. (Bug#14447)
13507 2013-05-23 Glenn Morris <rgm@gnu.org>
13509 * progmodes/js.el: No need to load comint when compiling.
13510 (ring-insert, comint-send-string, comint-send-input)
13511 (comint-last-input-end, ido-chop): Declare.
13513 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13514 * vc/ediff-mult.el: Adjust requires.
13515 (ediff-directories-internal, ediff-directory-revisions-internal)
13516 (ediff-patch-file-internal): Declare.
13517 * vc/ediff-ptch.el: Adjust requires.
13518 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13519 (ediff-find-file): Autoload.
13520 * vc/ediff-util.el: No need to load ediff when compiling.
13521 (ediff-regions-internal): Declare.
13522 * vc/ediff-wind.el: Adjust requires.
13523 (ediff-compute-toolbar-width): Define when compiling.
13524 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13525 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13526 (dired-get-filename, dired-get-marked-files)
13527 (ediff-last-dir-patch, ediff-patch-default-directory)
13528 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13529 (ediff-patch-buffer-internal): Declare.
13531 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13532 (ispell-process, ispell-buffer-local-words, lm-summary)
13533 (lm-section-start, lm-section-end): Declare.
13534 (checkdoc-ispell-init): Simplify.
13536 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13537 (he-string-member, he-reset-string, he-substitute-string): Declare.
13539 * eshell/em-ls.el: Adjust requires.
13540 (eshell-glob-regexp): Declare.
13541 * eshell/em-tramp.el: Adjust requires.
13542 (eshell-parse-command): Autoload.
13543 * eshell/em-xtra.el: Adjust requires.
13544 (eshell-parse-command): Autoload.
13545 * eshell/esh-ext.el: Adjust requires.
13546 (eshell-parse-command, eshell-close-handles): Autoload.
13547 * eshell/esh-io.el: Adjust requires.
13548 (eshell-output-filter): Autoload.
13549 * eshell/esh-util.el: No need to load tramp when compiling.
13550 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13552 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13553 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13554 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13555 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13556 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13557 * eshell/esh-opt.el, eshell/esh-proc.el:
13558 * eshell/esh-var.el: Adjust requires.
13559 * eshell/eshell.el: Do not require esh-util twice.
13560 (eshell-add-input-to-history): Declare.
13561 (eshell-command): Check history module is active before using it.
13563 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13565 2013-05-22 Leo Liu <sdl.web@gmail.com>
13567 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13569 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13571 * autorevert.el (auto-revert-notify-add-watch)
13572 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13573 it indicates changes in file modification time.
13575 2013-05-22 Glenn Morris <rgm@gnu.org>
13577 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13578 Always delete the autoloaded function from the noruntime and
13579 unresolved functions lists.
13581 * allout.el: No need to load epa, epg, overlay when compiling.
13582 (epg-context-set-passphrase-callback, epg-list-keys)
13583 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13584 (epg-key-user-id-list): Declare.
13586 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13587 (viper-set-parsing-style-toggling-macro)
13588 (viper-set-emacs-state-searchstyle-macros):
13589 Use called-interactively-p on Emacs.
13590 (viper-looking-back): Make it an obsolete alias. Update callers.
13591 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13592 Use looking-back rather than viper-looking-back.
13593 (viper-tmp-insert-at-eob, viper-enlarge-region)
13594 (viper-read-string-with-history, viper-register-to-point)
13595 (viper-append-to-register, viper-change-state-to-vi)
13596 (viper-backward-char-carefully, viper-forward-char-carefully)
13597 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13598 (viper-change-state-to-emacs): Declare.
13599 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13600 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13601 * emulation/viper-mous.el: Do not load viper-cmd.
13602 (viper-backward-char-carefully, viper-forward-char-carefully)
13603 (viper-forward-word, viper-adjust-window): Declare.
13605 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13607 * progmodes/idlw-help.el (idlwave-help-fontify):
13608 Use called-interactively-p.
13610 * term/w32console.el (w32-get-console-codepage)
13611 (w32-get-console-output-codepage): Declare.
13613 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13614 Remove unnecessary declarations.
13615 (dframe-message): Doc fix.
13617 * info.el (dframe-select-attached-frame, dframe-current-frame):
13620 * speedbar.el (speedbar-message): Make it an obsolete alias.
13621 Update all callers.
13622 (speedbar-with-attached-buffer)
13623 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13624 (speedbar-with-writable): Use backquote.
13625 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13626 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13627 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13628 rather than speedbar- aliases.
13629 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13630 (speedbar-make-specialized-keymap, speedbar-insert-button)
13631 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13632 (speedbar-do-function-pointer): Declare.
13633 (rmail-speedbar-button, rmail-speedbar-find-file)
13634 (rmail-speedbar-move-message):
13635 Use dframe-with-attached-buffer rather than speedbar- alias.
13636 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13637 (dframe-message, speedbar-make-specialized-keymap)
13638 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13639 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13640 (speedbar-insert-button, dframe-select-attached-frame)
13641 (dframe-maybee-jump-to-attached-frame)
13642 (speedbar-change-initial-expansion-list)
13643 (speedbar-previously-used-expansion-list-name): Declare.
13644 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13645 Use dframe-message, dframe-with-attached-buffer rather than
13647 (gud-sentinel): Silence compiler.
13648 * progmodes/vhdl-mode.el (speedbar-refresh)
13649 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13650 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13651 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13652 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13653 (speedbar-file-lists, speedbar-make-tag-line)
13654 (speedbar-line-directory, speedbar-goto-this-file)
13655 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13656 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13657 (speedbar-make-button, speedbar-reset-scanners)
13658 (speedbar-files-item-info, speedbar-line-text)
13659 (speedbar-find-file-in-frame, speedbar-set-timer)
13660 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13661 (speedbar-with-writable): Do not (re)define it.
13662 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13663 rather than speedbar- alias.
13665 2013-05-21 Leo Liu <sdl.web@gmail.com>
13667 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13669 (octave-mode): Tweak fill-nobreak-predicate.
13670 (inferior-octave-startup): Check process to avoid infinite loop.
13671 (inferior-octave): Pop to buffer first to show abornmal process
13674 2013-05-21 Glenn Morris <rgm@gnu.org>
13676 * printing.el (pr-menu-bar): Define when compiling.
13678 2013-05-21 Leo Liu <sdl.web@gmail.com>
13680 * progmodes/octave.el (octave-auto-fill): Remove.
13681 (octave-indent-new-comment-line): Improve.
13682 (octave-mode): Use auto fill mode through
13683 comment-line-break-function and fill-nobreak-predicate.
13684 (octave-goto-function-definition): Support DEFUN_DLD.
13685 (octave-beginning-of-defun): Small tweak.
13686 (octave-help): Show parent directory.
13688 2013-05-21 Glenn Morris <rgm@gnu.org>
13690 * files.el (dired-unmark):
13691 * progmodes/gud.el (gdb-input): Update declarations.
13693 * calculator.el (electric, ehelp): No need to load when compiling.
13694 (Electric-command-loop, electric-describe-mode): Declare.
13696 * doc-view.el (doc-view-current-converter-processes): Move before use.
13698 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13699 Move MODE-set-explicitly definition before use.
13701 * international/mule-diag.el (mule-diag):
13702 Don't use obsolete window-system-version.
13704 * mail/feedmail.el (smtpmail): No need to load when compiling.
13705 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13707 * mail/mail-utils.el (rfc822): No need to load when compiling.
13708 (rfc822-addresses): Autoload it.
13709 (mail-strip-quoted-names): Trivial simplification.
13711 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13712 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13714 * net/snmp-mode.el (tempo): Don't duplicate requires.
13716 * progmodes/prolog.el (info): No need to load when compiling.
13717 (comint): Require before shell requires it.
13718 (Info-goto-node): Autoload it.
13719 (Info-follow-nearest-node): Declare.
13720 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13722 * textmodes/artist.el (picture-mode-exit): Declare.
13724 * textmodes/reftex-parse.el (reftex-parse-from-file):
13725 Trivial rewrite so the compiler can parse it better.
13727 2013-05-20 Leo Liu <sdl.web@gmail.com>
13729 * progmodes/octave.el (octave-help-mode-map)
13730 (octave-help-mode-finish-hook): New variables.
13731 (octave-help-mode, octave-help-mode-finish): New functions.
13732 (octave-help): Use octave-help-mode.
13734 2013-05-20 Glenn Morris <rgm@gnu.org>
13736 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13738 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13740 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13741 start at point, so that expansion starting right after opening
13742 slash in a regexp is recognized.
13743 (ruby-syntax-before-regexp-re): New defvar, extracted from
13744 ruby-syntax-propertize-function. Since the value of this regexp
13745 is looked up at runtime now, we should be able to turn
13746 `ruby-syntax-methods-before-regexp' into a defcustom later.
13747 (ruby-syntax-propertize-function): Split regexp matching into two
13748 parts, for opening and closing slashes. That allows us to skip
13749 over string interpolations and support multiline regexps.
13750 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13751 for them, which calls `ruby-syntax-propertize-expansion'.
13752 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13753 call to `ruby-syntax-propertize-function'.
13754 (ruby-syntax-propertize-expansion): Extracted from
13755 `ruby-syntax-propertize-expansions'. Handles one expansion.
13756 (ruby-syntax-propertize-percent-literal): Leave point right after
13757 the percent symbol, so that the expression expansion rule can
13758 propertize the contents.
13759 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13761 (ruby-syntax-propertize-expansions): Remove.
13763 2013-05-18 Juri Linkov <juri@jurta.org>
13765 * man.el (Man-default-man-entry): Remove `-' from the end
13766 of the default value. (Bug#14400)
13768 2013-05-18 Glenn Morris <rgm@gnu.org>
13770 * comint.el (comint-password-prompt-regexp):
13771 Allow "password for XXX" where XXX contains colons (eg https://...).
13773 2013-05-18 Leo Liu <sdl.web@gmail.com>
13775 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
13776 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
13777 (octave-source-directories): Don't check process.
13778 (octave-source-directories, octave-find-definition): Doc fix.
13780 2013-05-18 Glenn Morris <rgm@gnu.org>
13782 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13783 Remove backspace/delete bindings. (Bug#14392)
13785 * cus-dep.el (custom-make-dependencies): Sort the output.
13786 (custom-versions-load-alist): Convert comment to doc.
13788 2013-05-17 Leo Liu <sdl.web@gmail.com>
13790 * newcomment.el (comment-search-backward): Stricter in finding
13791 comment start. (Bug#14303)
13793 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13794 (octave-comment-start-skip): Properly anchored.
13796 2013-05-17 Leo Liu <sdl.web@gmail.com>
13798 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13799 Clean up when turned off. (Bug#14395)
13800 (smie--highlight-matching-block-overlay): No longer buffer-local.
13801 (smie-highlight-matching-block): Adjust.
13803 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13805 Doc string fix for "nanoseconds" (Bug#14406).
13806 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13807 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13809 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13811 * calc/calc-units.el (math-extract-units): Preserve powers
13814 2013-05-17 Leo Liu <sdl.web@gmail.com>
13816 * subr.el (delete-consecutive-dups): New function.
13817 * ido.el (ido-set-matches-1): Use it.
13818 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13819 * ido.el (ido-remove-consecutive-dups): Remove.
13821 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13823 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13824 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13825 regexp-opt's `words'.
13827 2013-05-16 Leo Liu <sdl.web@gmail.com>
13829 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13830 (smie--highlight-matching-block-overlay)
13831 (smie--highlight-matching-block-lastpos)
13832 (smie--highlight-matching-block-timer): New variables.
13833 (smie-highlight-matching-block): New function.
13834 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13835 (smie-setup): Conditionally enable smie-blink-matching-open.
13837 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13839 Sync with upstream verilog-mode r840.
13840 * progmodes/verilog-mode.el (verilog-mode-version)
13841 (verilog-mode-release-date): Update.
13842 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13843 (verilog-sig-tieoff): Fix string error on
13844 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13845 (verilog-read-decls): Fix parameters confusing
13846 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13848 2013-05-16 Eli Zaretskii <eliz@gnu.org>
13850 * subr.el (reveal-filename): New function.
13852 * loadup.el: Compute Emacs executable versions on MS-Windows,
13853 where executables have the .exe extension. Add a hard link
13854 emacs-XX.YY.ZZ.exe on MS-Windows.
13856 * Makefile.in (XARGS_LIMIT): New variable.
13857 (custom-deps, finder-data, autoloads)
13858 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13859 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13860 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13861 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13863 2013-05-16 Leo Liu <sdl.web@gmail.com>
13865 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13866 (octave-mode-menu, octave-mode-map): Remove its uses.
13868 2013-05-16 Reto Zimmermann <reto@gnu.org>
13870 Sync with upstream vhdl mode v3.34.2.
13871 * progmodes/vhdl-mode.el: Use `push' throughout.
13872 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13873 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13874 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13875 (vhdl-actual-generic-name): New option to derive actual generic name.
13876 (vhdl-port-paste-signals): Replace formal by actual generics.
13877 (vhdl-beautify): New name for old group vhdl-align. Update users.
13878 (vhdl-beautify-options): New option.
13879 (vhdl-last-input-event): New compat alias. Use throughout.
13880 (vhdl-goto-line): Replace user level function `goto-line'.
13881 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13882 vhdl-fix-statement-buffer.
13883 (vhdl-create-mode-menu): Add some entries.
13884 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13885 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13886 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13887 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13888 to force statements on one line.
13889 (vhdl-remove-trailing-spaces-region):
13890 New, split from vhdl-remove-trailing-spaces.
13891 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13892 Respect vhdl-beautify-options.
13893 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13894 (vhdl-update-sensitivity-list): Not add with index if exists without.
13895 Not include array index with signal. Ignore keywords in comments.
13896 (vhdl-get-visible-signals): Regexp tweaks.
13897 (vhdl-template-component-inst): Handle empty library.
13898 (vhdl-template-type): Add template for 'enum' type.
13899 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13900 Use vhdl-replace-string.
13901 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13902 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13903 (vhdl-speedbar-initialize): Update for above name change.
13904 (vhdl-compose-wire-components): Fix in handling of constants.
13905 (vhdl-error-regexp-emacs-alist): New variable.
13906 (vhdl-error-regexp-add-emacs): New function;
13907 adds support for new compile.el (Emacs 22+)
13908 (vhdl-generate-makefile-1): Change target order for single lib. units.
13909 Allow use of absolute file names.
13911 2013-05-16 Leo Liu <sdl.web@gmail.com>
13913 * simple.el (prog-indent-sexp): Indent enclosing defun.
13915 2013-05-15 Glenn Morris <rgm@gnu.org>
13917 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13918 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13919 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13920 (whitespace-highlight): Move to whitespace group.
13922 * comint.el (comint-source):
13923 * pcmpl-linux.el (pcmpl-linux):
13924 * shell.el (shell-faces):
13925 * eshell/esh-opt.el (eshell-opt):
13926 * international/ccl.el (ccl): Remove empty custom groups.
13928 * completion.el (dynamic-completion-mode):
13929 * jit-lock.el (jit-lock-debug-mode):
13930 * minibuffer.el (completion-in-region-mode):
13931 * type-break.el (type-break-mode-line-message-mode)
13932 (type-break-query-mode):
13933 * emulation/tpu-edt.el (tpu-edt-mode):
13934 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13935 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13936 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13938 * term/xterm.el (xterm): Change parent group to terminals.
13940 * master.el (master): Remove empty custom group.
13941 (master-mode): Remove unused :group argument.
13942 * textmodes/refill.el (refill): Remove empty custom group.
13943 (refill-mode): Remove unused :group argument.
13945 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13947 * cus-dep.el: Provide a feature.
13948 (custom-make-dependencies): Ignore dotfiles (dir-locals).
13949 Don't mistakenly ignore files whose basenames match a basename
13950 from preloaded-file-list (eg cedet/ede/simple.el).
13951 Add a fallback method for getting :group.
13953 2013-05-15 Juri Linkov <juri@jurta.org>
13955 * isearch.el (isearch-char-by-name): Rename from
13956 `isearch-insert-char-by-name'. Doc fix.
13957 (isearch-forward): Mention `isearch-char-by-name' in
13958 the docstring. (Bug#13348)
13960 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13961 `exit-minibuffer' instead of
13962 `isearch-nonincremental-exit-minibuffer'.
13963 (isearch-edit-string): Remove mention of
13964 `isearch-nonincremental-exit-minibuffer' from docstring.
13965 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13966 (isearch-forward-exit-minibuffer)
13967 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13969 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13971 * loadup.el: Just use unversioned DOC.
13973 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13974 literals as extending to EOB.
13975 (nxml-last-fontify-end): Remove unused variable.
13976 (nxml-after-change1): Use with-silent-modifications.
13977 (nxml-extend-after-change-region): Simplify.
13978 (nxml-extend-after-change-region1): Remove function.
13979 (nxml-after-change1): Don't adjust for dependent regions.
13980 (nxml-fontify-matcher): Simplify.
13981 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13982 (xmltok-add-dependent): Remove function.
13983 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13984 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13985 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13986 unclosed <[[, <?, comment, and other literals as extending to EOB.
13987 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13988 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13990 (rng-do-some-validation-1): Don't mark dependent regions.
13991 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13992 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13993 (nxml-clear-dependent-regions): Remove functions.
13994 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13995 (nxml-ensure-scan-up-to-date):
13996 Don't clear&mark dependent regions.
13998 2013-05-15 Leo Liu <sdl.web@gmail.com>
14000 * progmodes/octave.el (octave-goto-function-definition):
14001 Improve and fix callers.
14003 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14005 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14006 the setter (bug#14387).
14008 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14009 surrounding group (bug#14402).
14011 2013-05-14 Juri Linkov <juri@jurta.org>
14013 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14016 2013-05-14 Glenn Morris <rgm@gnu.org>
14018 * progmodes/f90.el (f90-imenu-generic-expression):
14019 Fix typo in 2013-05-08 change. (Bug#14402)
14021 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14023 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14024 Remove signals for which replies are never received.
14026 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14028 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14029 (gdb-handler-alist, gdb-handler-number): Remove variables.
14030 (gdb-handler-list): New variable.
14031 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14032 (gdb-pending-handler-p, gdb-handle-reply)
14033 (gdb-remove-all-pending-triggers): New functions.
14034 (gdb-discard-unordered-replies): New defcustom.
14035 (gdb-handler): New defstruct.
14036 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14037 instead of gdb-pending-triggers. Update docstring.
14038 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14039 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14040 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14041 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14042 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14043 (gdb-frame-handler): Pending triggers are now automatically managed.
14044 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14046 (gdb-input): Automatically handles pending triggers. Update docstring.
14047 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14048 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14050 (gdb-done-or-error): Now use gdb-handle-reply.
14052 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14054 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14057 2013-05-14 Glenn Morris <rgm@gnu.org>
14059 * subr.el (user-emacs-directory-warning): New option.
14060 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14062 2013-05-14 Leo Liu <sdl.web@gmail.com>
14064 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14066 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14067 (octave-font-lock-texinfo-comment): Fix invalid search bound
14068 error: wrong side of point.
14070 2013-05-14 Glenn Morris <rgm@gnu.org>
14072 * progmodes/flymake.el (flymake-xml-program): New option.
14073 (flymake-xml-init): Use it.
14075 * term/xterm.el: Provide a feature.
14077 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14079 2013-05-13 Glenn Morris <rgm@gnu.org>
14081 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14082 Add compat aliases as a hack workaround. (Bug#14384)
14084 2013-05-13 Leo Liu <sdl.web@gmail.com>
14086 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14088 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14090 (octave-comment-start-skip): Include %!.
14091 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14093 2013-05-12 Leo Liu <sdl.web@gmail.com>
14095 * progmodes/octave.el (inferior-octave-startup): Store the value
14096 of __octave_srcdir__ for octave-source-directories.
14097 (inferior-octave-check-process): New function refactored out of
14098 inferior-octave-send-list-and-digest.
14099 (octave-source-directories)
14100 (octave-find-definition-filename-function): New variables.
14101 (octave-source-directories)
14102 (octave-find-definition-default-filename): New functions.
14103 (octave-find-definition): Improve to find functions implemented in C++.
14105 2013-05-12 Glenn Morris <rgm@gnu.org>
14107 * calendar/diary-lib.el (diary-outlook-format-1):
14108 Don't include dayname in the output. (Bug#14349)
14110 2013-05-11 Glenn Morris <rgm@gnu.org>
14112 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14114 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14115 Treat cc-provide like provide.
14117 2013-05-11 Kevin Ryde <user42@zip.com.au>
14119 * cus-dep.el (custom-make-dependencies):
14120 Use generated-autoload-load-name for the sake of files such
14121 such cedet/semantic/bovine/c.el, where the base file name
14122 is not in load-path. (Bug#5277)
14124 2013-05-11 Glenn Morris <rgm@gnu.org>
14126 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14129 2013-05-11 Leo Liu <sdl.web@gmail.com>
14131 * progmodes/octave.el (octave-indent-comment): Improve.
14132 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14133 (octave-eldoc-function-signatures, octave-eldoc-function):
14135 (octave-mode, inferior-octave-mode): Add eldoc support.
14137 2013-05-11 Richard Stallman <rms@gnu.org>
14139 * epa.el (epa-decrypt-file): Take output file name as argument
14140 and read it using `interactive'.
14142 2013-05-11 Leo Liu <sdl.web@gmail.com>
14144 * progmodes/octave.el (octave-beginning-of-line)
14145 (octave-end-of-line): Check before using up-list because it jumps
14146 out of more syntactic contructs since moving to smie.
14147 (octave-indent-comment): New function.
14148 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14149 (octave-begin-keywords, octave-end-keywords)
14150 (octave-reserved-words, octave-smie-bnf-table)
14151 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14153 2013-05-11 Glenn Morris <rgm@gnu.org>
14155 * faces.el (internal-face-x-get-resource):
14156 * frame.el (ns-display-monitor-attributes-list):
14157 * calc/calc-aent.el (math-to-radians-2):
14158 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14161 * calc/calc-menu.el: Make it loadable in isolation.
14163 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14164 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14165 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14166 (eudc-bbdb-query-internal): Require 'bbdb.
14168 * lpr.el (lpr-headers-switches):
14169 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14171 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14173 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14175 * term.el (term-set-escape-char): Make it idempotent.
14177 2013-05-10 Leo Liu <sdl.web@gmail.com>
14179 * progmodes/octave.el (inferior-octave-completion-table):
14180 No longer a function and all uses changed. Use cache to speed up
14181 completion due to bug#11906.
14182 (octave-beginning-of-defun): Re-write to be more general.
14184 2013-05-10 Glenn Morris <rgm@gnu.org>
14186 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14188 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14190 * comint.el (comint-redirect-send-command-to-process): Use :around
14191 rather than :override for comint-redirect-filter.
14192 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14193 Call it instead of comint-redirect-original-filter-function (which
14194 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14196 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14198 * frame.el (display-monitor-attributes-list): Add NS case.
14199 (ns-display-monitor-attributes-list): Declare.
14201 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14203 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14205 2013-05-09 Glenn Morris <rgm@gnu.org>
14207 * international/fontset.el (vertical-centering-font-regexp):
14208 Set standard-value.
14210 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14212 * bookmark.el (bookmark-search-delay):
14213 * cus-start.el (vertical-centering-font-regexp):
14214 * ps-mule.el (ps-mule-font-info-database-default):
14215 * ps-print.el (ps-default-fg, ps-default-bg):
14216 * type-break.el (type-break-good-break-interval):
14217 * whitespace.el (whitespace-indentation-regexp)
14218 (whitespace-space-after-tab-regexp):
14219 * emacs-lisp/testcover.el (testcover-1value-functions)
14220 (testcover-noreturn-functions, testcover-progn-functions)
14221 (testcover-prog1-functions):
14222 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14223 * eshell/em-glob.el (eshell-glob-translate-alist):
14224 * play/tetris.el (tetris-tty-colors):
14225 * progmodes/cpp.el (cpp-face-default-list):
14226 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14227 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14228 (idlwave-help-browser-generic-args):
14229 * progmodes/make-mode.el (makefile-special-targets-list):
14230 * progmodes/python.el (python-shell-virtualenv-path):
14231 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14232 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14233 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14234 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14235 * textmodes/reftex-vars.el (reftex-format-label-function):
14236 * textmodes/remember.el (remember-diary-file): Fix custom types.
14238 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14241 2013-05-09 Leo Liu <sdl.web@gmail.com>
14243 * progmodes/octave.el (inferior-octave-completion-at-point):
14244 Restore file completion. (Bug#14300)
14245 (inferior-octave-startup): Fix incorrect highlighting for the
14248 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14250 * progmodes/ruby-mode.el: First cut at SMIE support.
14251 (ruby-use-smie): New var.
14252 (ruby-smie-grammar): New constant.
14253 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14254 (ruby-smie--forward-token, ruby-smie--backward-token)
14255 (ruby-smie-rules): New functions.
14256 (ruby-mode-variables): Setup SMIE if applicable.
14258 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14260 * simple.el (line-move-visual): Signal beginning/end of buffer
14261 only if vertical-motion moved less than it was requested. Avoids
14262 silly incorrect error messages when there are display strings with
14263 multiple newlines at EOL.
14265 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14267 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14268 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14269 (prolog-char-quote-workaround):
14270 * progmodes/cperl-mode.el (cperl-under-as-char):
14271 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14273 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14275 (vhdl-mode-syntax-table-init): Remove.
14277 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14280 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14282 (ld-script-font-lock-keywords):
14283 Change regexps to use things like \_< and \_>.
14285 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14286 Change all regexps to use things like \_< and \_>.
14288 * progmodes/autoconf.el (autoconf-definition-regexp)
14289 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14290 Handle a _ with symbol syntax.
14291 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14293 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14294 Consolidate declaration.
14295 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14297 (ada-create-syntax-table): Remove.
14298 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14299 already has the right syntax nowadays.
14300 (ada-goto-next-word): Don't change the syntax of "_".
14302 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14305 2013-05-08 Sam Steingold <sds@gnu.org>
14307 * thingatpt.el (thing-at-point): Accept optional second argument
14308 NO-PROPERTIES to strip the text properties from the return value.
14309 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14310 to `thing-at-point' instead of stripping the properties ourselves.
14311 Also, when `thing-at-point' fails to find a url, prepend "http://"
14312 to the filename at point on the assumption that the user is
14313 pointing at something like gnu.org/gnu.
14315 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14317 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14318 * faces.el (crm-separator):
14319 Silence byte-compiler.
14321 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14322 (tool-bar-map): Remove unneeded defvars.
14324 2013-05-08 Leo Liu <sdl.web@gmail.com>
14326 Re-work a fix for bug#10994 based on Le Wang's patch.
14327 * ido.el (ido-remove-consecutive-dups): New helper.
14328 (ido-completing-read): Use it.
14329 (ido-chop): Revert fix for bug#10994.
14331 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14333 * cus-edit.el (custom-save-variables):
14334 Pretty-print long values. (Bug#14187)
14336 2013-05-08 Glenn Morris <rgm@gnu.org>
14338 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14339 (m4-mode-syntax-table): Init in the defvar.
14340 (m4-mode-abbrev-table): Let define-derived-mode define it.
14342 2013-05-08 Tom Tromey <tromey@redhat.com>
14344 * progmodes/m4-mode.el (m4-mode-syntax-table):
14345 Do not treat "_" as word constituent. (Bug#14167)
14347 2013-05-07 Glenn Morris <rgm@gnu.org>
14349 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14350 Remove explicit eshell-isearch-cancel-map.
14352 * progmodes/f90.el (f90-smart-end-names): New option.
14353 (f90-smart-end): Doc fix.
14354 (f90-end-block-optional-name): New constant.
14355 (f90-block-match): Respect f90-smart-end-names.
14357 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14359 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14360 about implicit semi-colons (bug#14218).
14362 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14364 * frame.el (display-monitor-attributes-list)
14365 (frame-monitor-attributes): New functions.
14367 2013-05-06 Leo Liu <sdl.web@gmail.com>
14369 * progmodes/octave.el (octave-syntax-propertize-function): Change
14370 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14371 (octave-font-lock-keywords): Use octave-operator-regexp.
14372 (octave-completion-at-point): Rename from
14373 octave-completion-at-point-function.
14374 (inferior-octave-directory-tracker): Robustify.
14375 (octave-text-functions): Remove and fix its uses. No such things
14378 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14380 * emacs-lisp/trace.el (trace--display-buffer): New function.
14381 (trace-make-advice): Use it.
14383 2013-05-06 Juri Linkov <juri@jurta.org>
14385 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14386 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14388 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14389 in the help string. (Bug#12985)
14391 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14393 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14395 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14397 * progmodes/perl-mode.el: Add support for here documents.
14398 (perl-syntax-propertize-function): Match here-doc markers.
14399 (perl-syntax-propertize-special-constructs): Find their end.
14400 (perl-imenu-generic-expression): Use [:alnum:].
14402 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14403 (advice--add-function): Refresh the advice if already present
14406 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14408 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14410 2013-05-06 Glenn Morris <rgm@gnu.org>
14412 * w32-fns.el (w32-charset-info-alist): Declare.
14414 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14415 of its defcustom properties.
14416 (eshell-cmpl-initialize): No need to load pcomplete.
14418 * generic-x.el: No need to require comint when compiling.
14420 * net/eudc-export.el: Make it loadable without bbdb.
14421 (top-level): Use require rather than load-library.
14422 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14423 (eudc-batch-export-records-to-bbdb)
14424 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14427 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14429 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14430 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14431 some tweaks, instead.
14433 2013-05-05 Leo Liu <sdl.web@gmail.com>
14435 * progmodes/octave.el (octave-font-lock-keywords)
14436 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14437 (inferior-octave-send-list-and-digest): Improve error message.
14438 (octave-mode, inferior-octave-mode): Use setq-local.
14439 (octave-help): Set info-lookup-mode.
14441 2013-05-05 Richard Stallman <rms@gnu.org>
14443 * vc/compare-w.el (compare-windows-whitespace):
14444 Treat no-break space as whitespace.
14446 * mail/rmailsum.el (rmail-summary-rmail-update):
14447 Detect empty summary and don't change selected message.
14448 (rmail-summary-goto-msg): Likewise.
14450 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14451 Doc fixes, rename args.
14453 2013-05-05 Alan Mackenzie <acm@muc.de>
14455 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14457 2013-05-05 Juri Linkov <juri@jurta.org>
14459 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14460 to not add the length of the summary segment to the return value.
14463 2013-05-05 Leo Liu <sdl.web@gmail.com>
14465 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14466 (inferior-octave-output-filter): Remove.
14467 (octave-send-region, inferior-octave-startup): Fix callers.
14468 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14469 (octave-binary-file-extensions): New user variable.
14470 (octave-find-definition): Confirm if opening binary files.
14471 (octave-help-file): Use octave-find-definition to get the binary
14473 (octave-help): Adjust for octave-help-file change.
14475 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14477 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14478 Merge the two entries that handle function definitions.
14479 (pascal--syntax-propertize): New const.
14480 (pascal-mode): Use it. Use setq-local.
14482 2013-05-04 Glenn Morris <rgm@gnu.org>
14484 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14485 (diary-from-outlook): Respect diary-from-outlook-function.
14487 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14489 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14490 Move the declaration from C.
14491 (read-minibuffer, eval-minibuffer): Move from C.
14492 (completion-setup-function): Avoid minibuffer-completion-contents.
14494 2013-05-03 Leo Liu <sdl.web@gmail.com>
14496 * progmodes/octave.el (octave-font-lock-keywords): Do not
14497 dehighlight 'end' in comments or strings.
14498 (octave-completing-read, octave-goto-function-definition):
14500 (octave-help-buffer): New user variable.
14501 (octave-help-file, octave-help-function): New button types.
14502 (octave-help): New command and bind it to C-h ;.
14503 (octave-find-definition): New command and bind it to M-.
14504 (user-error): Alias to error if not defined.
14506 2013-05-02 Leo Liu <sdl.web@gmail.com>
14508 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14510 (octave-font-lock-keywords): Include [ and {.
14512 2013-05-02 Leo Liu <sdl.web@gmail.com>
14514 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14515 (inferior-octave): Remove calling comint-mode and return the buffer.
14516 (inferior-octave-startup): Cosmetic changes.
14518 2013-05-02 Leo Liu <sdl.web@gmail.com>
14520 * progmodes/octave.el (octave-syntax-propertize-function):
14521 Include the case when ' is at line beginning. (Bug#14336)
14523 2013-05-02 Glenn Morris <rgm@gnu.org>
14525 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14526 * desktop.el (vc-dir-mode): Just autoload it here.
14528 2013-05-02 Alan Mackenzie <acm@muc.de>
14530 Eliminate variable c-standard-font-lock-fontify-region-function.
14531 * progmodes/cc-mode.el
14532 (c-standard-font-lock-fontify-region-function): Remove.
14533 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14535 2013-05-01 Leo Liu <sdl.web@gmail.com>
14537 * progmodes/octave.el: Compatible with older emacs-24 releases.
14538 (inferior-octave-has-built-in-variables): Remove. Built-in
14539 variables were removed from Octave in 2007.
14540 (inferior-octave-startup): Fix uses.
14541 (comint-line-beginning-position): Remove compatibility code for
14544 2013-05-01 Juri Linkov <juri@jurta.org>
14546 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14548 2013-05-01 Juri Linkov <juri@jurta.org>
14550 * comint.el (comint-previous-matching-input): Don't print message
14551 "History item: %d" when `isearch-mode' is active.
14552 (comint-history-isearch-message): Print message "History item: %d"
14553 when `comint-input-ring-index' is not empty and this function is
14554 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14556 2013-05-01 Leo Liu <sdl.web@gmail.com>
14558 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14559 definitions. Use completion-at-point to insert keywords.
14560 (octave-abbrev-start): Remove.
14561 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14563 2013-04-30 Leo Liu <sdl.web@gmail.com>
14565 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14568 2013-04-30 Alan Mackenzie <acm@muc.de>
14570 Handle arbitrarily long C++ member initialisation lists.
14571 * progmodes/cc-engine.el (c-back-over-member-initializers):
14573 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14574 (most) member init lists.
14576 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14578 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14581 2013-04-30 Leo Liu <sdl.web@gmail.com>
14583 * progmodes/octave.el (octave-variables): Remove. No builtin
14584 variables any more. All converted to functions.
14585 (octave-font-lock-keywords, octave-completion-at-point-function):
14587 (octave-font-lock-texinfo-comment): New user variable.
14588 (octave-texinfo-font-lock-keywords): New variable for texinfo
14590 (octave-function-comment-block): New face.
14591 (octave-font-lock-texinfo-comment): New function.
14592 (octave-mode): Font lock texinfo comment block.
14594 2013-04-29 Leo Liu <sdl.web@gmail.com>
14596 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14597 indexing expression.
14598 (octave-continuation-string): Do not use \.
14599 (inferior-octave-complete-impossible): Remove.
14600 (inferior-octave-completion-table)
14601 (inferior-octave-completion-at-point): Remove its uses.
14602 (inferior-octave-startup): completion_matches was introduced to
14603 Octave in 1996 so safe to assume it.
14604 (octave-function-file-comment): Improve to follow how Octave does it.
14605 (octave-update-function-file-comment): Tweak.
14607 2013-04-29 Leo Liu <sdl.web@gmail.com>
14609 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14610 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14611 (octave-function-file-comment): Fix typo.
14612 (octave-sync-function-file-names): Use read-char-choice.
14614 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14616 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14617 to t for the less important warnings.
14619 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14621 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14623 2013-04-27 Glenn Morris <rgm@gnu.org>
14625 * vc/log-view.el (log-view-current-entry):
14626 Treat "---" separator lines as part of the following rev. (Bug#14169)
14628 2013-04-27 Juri Linkov <juri@jurta.org>
14630 * subr.el (read-number): Doc fix about using it by interactive
14631 code letter `n'. (Bug#14254)
14633 2013-04-27 Juri Linkov <juri@jurta.org>
14635 * desktop.el (desktop-auto-save-timeout): New option.
14636 (desktop-file-checksum): New variable.
14637 (desktop-save): Add optional arg `auto-save' and don't auto-save
14638 if nothing changed.
14639 (desktop-auto-save-timer): New variable.
14640 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14641 (after-init-hook): Call `desktop-auto-save-set-timer'.
14642 Suggested by Reuben Thomas <rrt@sc3d.org> in
14643 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14645 2013-04-27 Leo Liu <sdl.web@gmail.com>
14647 * progmodes/octave.el (octave-function-file-p)
14648 (octave-skip-comment-forward, octave-function-file-comment)
14649 (octave-update-function-file-comment): New functions.
14650 (octave-mode-map): Bind C-c ; to
14651 octave-update-function-file-comment.
14652 (octave-mode-menu): Add octave-update-function-file-comment.
14653 (octave-mode, inferior-octave-mode): Fix doc-string.
14654 (octave-insert-defun): Conform to Octave's coding convention.
14657 * files.el (basic-save-buffer): Don't let errors in
14658 before-save-hook prevent saving buffer.
14660 2013-04-20 Roland Winkler <winkler@gnu.org>
14662 * faces.el (read-face-name): Use completing-read if arg multiple
14665 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14667 * ls-lisp.el (ls-lisp-insert-directory): If no files are
14668 displayed, move point to after the totals line.
14669 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14672 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14674 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14675 Add current dir to the load-path.
14676 (package-generate-autoloads): Don't rely on
14677 autoload-ensure-default-file.
14679 2013-04-26 Reuben Thomas <rrt@sc3d.org>
14681 * textmodes/remember.el (remember-store-in-files): Document that
14682 the file name format is passed to `format-time-string'.
14684 2013-04-26 Leo Liu <sdl.web@gmail.com>
14686 * progmodes/octave.el (octave-sync-function-file-names): New function.
14687 (octave-mode): Use it in before-save-hook.
14689 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14691 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14694 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14695 \n and comment, even if it's not an implicit ; (bug#14218).
14697 2013-04-26 Glenn Morris <rgm@gnu.org>
14699 * subr.el (read-number): Once more use `read' rather than
14700 `string-to-number', to trap non-numeric input. (Bug#14254)
14702 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
14704 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14705 Use `syntax-multiline' text property consistently instead of
14706 `font-lock-multiline'. (Bug#14237)
14708 2013-04-26 Glenn Morris <rgm@gnu.org>
14710 * emacs-lisp/shadow.el (list-load-path-shadows):
14711 No longer necessary to check for duplicate simple.el, since
14712 2012-07-07 change to init_lread to not include installation lisp
14713 directories in load-path when running uninstalled. (Bug#14270)
14715 2013-04-26 Leo Liu <sdl.web@gmail.com>
14717 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14718 (octave-mode, inferior-octave-mode): Use setq-local.
14719 (octave-not-in-string-or-comment-p): Rename to
14720 octave-in-string-or-comment-p.
14721 (octave-in-comment-p, octave-in-string-p)
14722 (octave-in-string-or-comment-p): Replace defsubst with defun.
14724 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14726 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14728 2013-04-25 Bastien Guerry <bzg@gnu.org>
14730 * textmodes/remember.el (remember-data-directory)
14731 (remember-directory-file-name-format): Fix custom types.
14733 2013-04-25 Leo Liu <sdl.web@gmail.com>
14735 * progmodes/octave.el (octave-completion-at-point-function):
14736 Make use of inferior octave process.
14737 (octave-initialize-completions): Remove.
14738 (inferior-octave-completion-table): New function.
14739 (inferior-octave-completion-at-point): Use it.
14740 (octave-completion-alist): Remove.
14742 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14744 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14745 (opascal-mode-syntax-table): New var.
14746 (opascal-literal-kind, opascal-is-literal-end)
14747 (opascal-literal-token-at): Rewrite.
14748 (opascal--literal-start-re, opascal-font-lock-keywords)
14749 (opascal--syntax-propertize): New constants.
14750 (opascal-font-lock-defaults): Adjust.
14751 (opascal-mode): Use them. Set comment-<foo> variables as well.
14752 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14753 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14754 (delphi-other-face, opascal-other-face): Remove face variables.
14755 (opascal-save-state): Remove macro.
14756 (opascal-fontifying-progress-step): Remove constant.
14757 (opascal--ignore-changes): Remove var.
14758 (opascal-set-token-property, opascal-parse-next-literal)
14759 (opascal-is-stable-literal, opascal-complete-literal)
14760 (opascal-is-literal-start, opascal-face-of)
14761 (opascal-parse-region, opascal-parse-region-until-stable)
14762 (opascal-fontify-region, opascal-after-change)
14763 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14764 (opascal-debug-parse-region, opascal-debug-parse-window)
14765 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14766 (opascal-debug-fontify-buffer): Remove.
14767 (opascal-debug-mode-map): Adjust accordingly.
14769 2013-04-25 Leo Liu <sdl.web@gmail.com>
14771 Merge octave-mod.el and octave-inf.el into octave.el with some
14773 * progmodes/octave.el: New file renamed from octave-mod.el.
14774 * progmodes/octave-inf.el: Merged into octave.el.
14775 * progmodes/octave-mod.el: Renamed to octave.el.
14777 2013-04-25 Tassilo Horn <tsdh@gnu.org>
14779 * textmodes/reftex-vars.el
14780 (reftex-label-ignored-macros-and-environments): New defcustom.
14782 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14784 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14786 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14787 (smie-indent-keyword): Improve the check to ensure that the next
14788 comment is really on the same line.
14789 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14791 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14792 semi-colons if the line is not otherwise empty (bug#14218).
14794 2013-04-25 Glenn Morris <rgm@gnu.org>
14796 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14798 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14800 * progmodes/opascal.el (opascal-set-token-property): Rename from
14801 opascal-set-text-properties and only set `token' (bug#14134).
14802 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14803 (opascal-literal-text-properties): Remove.
14804 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14807 2013-04-24 Reuben Thomas <rrt@sc3d.org>
14809 * textmodes/remember.el (remember-handler-functions): Add an
14810 option for a new handler `remember-store-in-files'.
14811 (remember-data-directory, remember-directory-file-name-format):
14813 (remember-store-in-files): New function to store remember notes
14814 as separate files within a directory.
14816 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14818 * progmodes/compile.el (compilation-next-error-function):
14819 Pass "formats" to compilation-find-file (bug#11777).
14821 2013-04-24 Glenn Morris <rgm@gnu.org>
14823 * vc/vc-bzr.el (vc-bzr-print-log):
14824 * vc/vc-hg.el (vc-hg-print-log):
14825 * vc/vc-svn.el (vc-svn-print-log):
14826 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14828 * vc/vc-bzr.el (vc-bzr-print-log):
14829 * vc/vc-cvs.el (vc-cvs-print-log):
14830 * vc/vc-git.el (vc-git-print-log):
14831 * vc/vc-hg.el (vc-hg-print-log):
14832 * vc/vc-mtn.el (vc-mtn-print-log):
14833 * vc/vc-rcs.el (vc-rcs-print-log):
14834 * vc/vc-sccs.el (vc-sccs-print-log):
14835 * vc/vc-svn.el (vc-svn-print-log):
14836 * vc/vc.el (vc-print-log-internal): Doc fixes.
14838 2013-04-23 Glenn Morris <rgm@gnu.org>
14840 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14841 Remove venerable code attempting to avoid substitute-command-keys.
14843 2013-04-23 Tassilo Horn <tsdh@gnu.org>
14845 * textmodes/reftex-vars.el (reftex-label-regexps):
14846 Call `reftex-compile-variables' after changes to this variable.
14848 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14850 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
14851 Use lexical-binding.
14852 (jit-lock-force-redisplay): Use markers, check buffer's continued
14853 existence and beware narrowed buffers.
14854 (jit-lock-fontify-now): Adjust call accordingly.
14856 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14858 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14859 to avoid misleading the user.
14861 2013-04-22 Leo Liu <sdl.web@gmail.com>
14863 * info-look.el: Prefer latex2e.info. (Bug#14240)
14865 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
14867 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14869 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
14870 * net/tramp.el (tramp-call-process): ... here.
14871 (tramp-set-completion-function, tramp-parse-putty):
14872 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14873 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14874 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14875 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14876 (tramp-call-local-coding-command): Use `tramp-call-process'
14877 instead of `tramp-compat-call-process'.
14879 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14880 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
14881 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
14882 (tramp-find-inline-compress): Improve traces.
14883 (tramp-maybe-send-script): Check for Perl binary.
14884 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14886 2013-04-22 Daiki Ueno <ueno@gnu.org>
14888 * epg.el (epg-context-pinentry-mode): New function.
14889 (epg-context-set-pinentry-mode): New function.
14890 (epg--start): Pass --pinentry-mode option to gpg command.
14892 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14894 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
14895 `comint-dynamic-complete' is obsolete since 24.1, replaced by
14896 `completion-at-point'. (Bug#13774)
14898 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14899 default key binding for `describe-distribution' has been moved to
14900 `C-h C-o'. (Bug#13970)
14902 2013-04-21 Glenn Morris <rgm@gnu.org>
14904 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14906 (vc-print-log): Clarify interactive prompt.
14908 2013-04-20 Glenn Morris <rgm@gnu.org>
14910 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14911 No longer include timestamp etc information.
14913 2013-04-20 Roland Winkler <winkler@gnu.org>
14915 * faces.el (read-face-name): Bug fix, return just one face if arg
14916 multiple is nil. (Bug#14209)
14918 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14920 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14921 (remove-function): Autoload.
14923 * comint.el (comint-redirect-original-filter-function): Remove.
14924 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
14925 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14926 (vc-cvs-annotate-command):
14927 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14928 * progmodes/prolog.el (prolog-consult-compile):
14929 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14930 Use add/remove-function instead.
14931 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14932 (gud-tooltip-process-output, gud-tooltip-tips):
14933 Use add/remove-function instead.
14934 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14935 (scheme-interaction-mode, exit-scheme-interaction-mode):
14936 Use add/remove-function instead.
14938 * vc/vc-dispatcher.el: Use lexical-binding.
14939 (vc--process-sentinel): Rename from vc-process-sentinel.
14940 Change last arg to be the code to run. Don't use vc-previous-sentinel
14941 and vc-sentinel-commands any more.
14942 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14943 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14945 2013-04-19 Masatake YAMATO <yamato@redhat.com>
14947 * progmodes/sh-script.el (sh-imenu-generic-expression):
14948 Handle function names with a single character. (Bug#14111)
14950 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
14952 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14953 for subroutines defined in an eval (bug#14182).
14955 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14957 * bookmark.el (bookmark-completing-read): Improve handling of empty
14958 string (bug#14176).
14960 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14962 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14964 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14966 New faster Imenu implementation (bug#14058).
14967 * progmodes/python.el:
14968 (python-imenu-prev-index-position):
14969 (python-imenu-format-item-label-function)
14970 (python-imenu-format-parent-item-label-function)
14971 (python-imenu-format-parent-item-jump-label-function):
14973 (python-imenu-format-item-label)
14974 (python-imenu-format-parent-item-label)
14975 (python-imenu-format-parent-item-jump-label)
14976 (python-imenu--put-parent, python-imenu--build-tree)
14977 (python-imenu-create-index, python-imenu-create-flat-index)
14978 (python-util-popn): New functions.
14979 (python-mode): Set imenu-create-index-function to
14980 python-imenu-create-index.
14982 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14984 * winner.el (winner-active-region): Use region-active-p, activate-mark
14985 and deactivate-mark (bug#14225).
14987 * simple.el (deactivate-mark): Don't inline it.
14989 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
14991 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14993 2013-04-18 Tassilo Horn <tsdh@gnu.org>
14995 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14996 file extensions from the archive-mode entry in order to prefer
14997 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14999 2013-04-18 Leo Liu <sdl.web@gmail.com>
15001 * bindings.el (help-event-list): Add ?\?.
15003 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15005 * subr.el (with-wrapper-hook): Declare obsolete.
15006 * simple.el (filter-buffer-substring-function): New hook.
15007 (filter-buffer-substring): Use it.
15008 (filter-buffer-substring-functions): Mark obsolete.
15009 * minibuffer.el (completion-in-region-function): New hook.
15010 (completion-in-region): Use it.
15011 (completion-in-region-functions): Mark obsolete.
15012 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15013 * abbrev.el (abbrev-expand-function): New hook.
15014 (expand-abbrev): Use it.
15015 (abbrev-expand-functions): Mark obsolete.
15016 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15017 and :filter-return.
15019 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15021 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15022 and do not care about match data.
15024 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15026 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15027 completion tables when completing error conditions and
15028 `declare' arguments.
15029 (lisp-complete-symbol, field-complete): Mark as obsolete.
15030 (check-parens): Unmatched parens are user errors.
15031 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15033 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15035 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15036 command changed buffer (ie. `flyspell-pre-buffer' is not current
15037 buffer), which prevents making decisions based on invalid value of
15038 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15039 cause an error when `flyspell-pre-point' was nil after switching
15041 (flyspell-post-command-hook): No longer needs to change buffers when
15042 checking pre-word. While at it remove unnecessary progn.
15044 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15046 * textmodes/ispell.el (ispell-add-per-file-word-list):
15047 Fix `flyspell-correct-word-before-point' error when accepting
15048 words and `coment-padding' is an integer by using
15049 `comment-normalize-vars' (Bug #14214).
15051 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15053 New defun movement commands.
15054 * progmodes/python.el (python-nav--syntactically)
15055 (python-nav--forward-defun, python-nav-backward-defun)
15056 (python-nav-forward-defun): New functions.
15058 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15060 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15061 (python-syntax-context): Use named compiler-macro for backwards
15062 compatibility with Emacs 24.x.
15064 2013-04-17 Leo Liu <sdl.web@gmail.com>
15066 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15067 octave-hide-process-buffer.
15069 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15071 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15074 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15076 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15077 Fix adjustment of offset when receiving incomplete responses from GDB
15080 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15082 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15083 python-mode-abbrev-table.
15084 (python-skeleton-define): Adjust accordingly.
15085 (python-mode-abbrev-table): New table that inherits from it so that
15086 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15088 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15089 (abbrev-symbol): Use it.
15090 (abbrev--before-point): Use it since we already handle inheritance.
15092 2013-04-16 Leo Liu <sdl.web@gmail.com>
15094 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15095 binding to info-lookup-symbol.
15097 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15099 * minibuffer.el (completion--twq-all):
15100 * term/ns-win.el (ns-initialize-window-system):
15101 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15103 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15105 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15108 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15110 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15112 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15113 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15115 (ruby-end-of-defun): Remove the unused arg, change the docstring
15116 to reflect that this function is only used as the value of
15117 `end-of-defun-function'.
15118 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15119 to reflect an earlier change that beginning/end-of-defun functions
15120 jump between methods in a class definition, as well as top-level
15123 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15125 * minibuffer.el (minibuffer-complete): Don't just scroll
15126 a *Completions* that's been iconified.
15127 (minibuffer-force-complete): Make sure repetitions do cycle when going
15128 through completion-in-region -> minibuffer-complete.
15130 2013-04-15 Alan Mackenzie <acm@muc.de>
15132 Correct the placement of c-cpp-delimiters when there're #s not at
15135 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15136 place a submatch around the #.
15137 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15138 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15141 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15143 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15144 (advice--member-p): New arg `name'.
15145 (advice--add-function, advice-member-p): Use it (bug#14202).
15147 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15149 Reformulate java imenu-generic-expression.
15150 The old expression contained ill formed regexps.
15152 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15153 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15154 (cc-imenu-java-method-arg-regexp): New defconsts.
15155 (cc-imenu-java-build-type-args-regex): New defun.
15156 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15157 handling of spaces in the regexp.
15159 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15161 * textmodes/ispell.el (ispell-command-loop): Remove
15162 flyspell highlight of a word when ispell accepts it (bug #14178).
15164 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15166 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15167 uses code from the previous `ange-ftp-run-real-handler'.
15168 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15169 only in case that function exist. This is needed for proper
15170 unloading of Tramp.
15172 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15174 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15176 * textmodes/reftex.el (reftex-compile-variables): Use it.
15178 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15180 * files.el (normal-mode): Only use default major-mode if no other mode
15183 * emacs-lisp/trace.el (trace-values): New function.
15185 * files.el: Allow : in local variables (bug#14089).
15186 (hack-local-variable-regexp): New var.
15187 (hack-local-variables-prop-line, hack-local-variables): Use it.
15189 2013-04-13 Roland Winkler <winkler@gnu.org>
15191 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15192 data before it gets modified by bibtex-beginning-of-entry.
15194 2013-04-13 Roland Winkler <winkler@gnu.org>
15196 * textmodes/bibtex.el (bibtex-url): Doc fix.
15198 2013-04-13 Roland Winkler <winkler@gnu.org>
15200 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15201 does not visit a BibTeX file, exclude it from the list of buffers
15202 returned by bibtex-initialize.
15204 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15206 * window.el (split-window): Remove interactive form, since as a
15207 command this function is a special case of split-window-below.
15208 Correct doc string.
15210 2013-04-12 Roland Winkler <winkler@gnu.org>
15212 * faces.el (read-face-name): Do not override value of arg default.
15213 Allow single faces and strings as default values. Remove those
15214 elements from return value that are not faces.
15215 (describe-face): Simplify.
15216 (face-at-point): New optional args thing and multiple so that this
15217 function can provide the same functionality previously provided by
15219 (make-face-bold, make-face-unbold, make-face-italic)
15220 (make-face-unitalic, make-face-bold-italic, invert-face)
15221 (modify-face, read-face-and-attribute): Use face-at-point.
15223 * cus-edit.el (customize-face, customize-face-other-window)
15224 * cus-theme.el (custom-theme-add-face)
15225 * face-remap.el (buffer-face-set)
15226 * facemenu.el (facemenu-set-face): Use face-at-point.
15228 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15230 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15232 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15234 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15235 off leading { and trailing } from field values.
15237 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15239 * emacs-lisp/timer.el (timer--check): New function.
15240 (timer--time, timer-set-function, timer-event-handler): Use it.
15241 (timer-set-idle-time): Simplify.
15242 (timer--activate): CSE.
15243 (timer-event-handler): Give more info in error message.
15244 (internal-timer-start-idle): New function, moved from C.
15246 * mpc.el (mpc-proc): Add `restart' argument.
15247 (mpc-proc-cmd): Use it.
15248 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15249 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15252 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15254 * progmodes/sh-script.el: Implement `sh-mode' own
15255 `add-log-current-defun-function' (bug#14112).
15256 (sh-current-defun-name): New function.
15257 (sh-mode): Use the function.
15259 2013-04-09 Bastien Guerry <bzg@gnu.org>
15261 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15263 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15265 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15267 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15270 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15272 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15275 2013-04-07 Leo Liu <sdl.web@gmail.com>
15277 * pcmpl-x.el: New file.
15279 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15281 Do not set x-display-name until X connection is established.
15282 This is needed to prevent from weird situation described at
15283 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15284 * frame.el (make-frame): Set x-display-name after call to
15285 window system initialization function, not before.
15286 * term/x-win.el (x-initialize-window-system): Add optional
15287 display argument and use it.
15288 * term/w32-win.el (w32-initialize-window-system):
15289 * term/ns-win.el (ns-initialize-window-system):
15290 * term/pc-win.el (msdos-initialize-window-system):
15291 Add compatible optional display argument.
15293 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15295 * files.el (normal-backup-enable-predicate): On MS-Windows and
15296 MS-DOS compare truenames of temporary-file-directory and of the
15297 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15298 don't fail comparison by compare-strings. Also, compare file
15299 names case-insensitively on MS-Windows and MS-DOS.
15301 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15303 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15304 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15306 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15308 * whitespace.el (whitespace-color-on, whitespace-color-off):
15309 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15311 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15313 * ispell.el (ispell-set-spellchecker-params):
15314 Really set `ispell-args' for all equivs.
15316 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15318 * ido.el (ido-completions): Use extra elements of ido-decorations
15320 (ido-decorations): Update docstring.
15322 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15324 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15325 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15326 nil during initialization, in order not to miss changes since the
15327 file was opened. (Bug#14140)
15329 2013-04-05 Leo Liu <sdl.web@gmail.com>
15331 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15333 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15335 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15337 2013-04-04 Glenn Morris <rgm@gnu.org>
15339 * electric.el (electric-pair-inhibit-predicate): Add :version.
15341 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15343 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15344 when a package is required several times (bug#14082).
15346 2013-04-04 Roland Winkler <winkler@gnu.org>
15348 * faces.el (read-face-name): Behave as promised by the docstring.
15349 Assume that arg default is a list of faces.
15350 (describe-face): Call read-face-name with list of default faces.
15352 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15354 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15355 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15356 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15358 (bookmark-exit-hook-internal): Save even if list is empty.
15360 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15362 * emacs-lisp/package.el (package-pinned-packages): New var.
15363 (package--add-to-archive-contents): Obey it (bug#14118).
15365 2013-04-03 Alan Mackenzie <acm@muc.de>
15367 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15368 Also adapt to the new values of element 7 of a parse state.
15370 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15371 parameter `not-in-delimiter'. Handle being inside comment opener.
15372 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15373 character in case we're typing a '*' after a '/'.
15374 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15375 instead by passing the parameter to c-state-pp-to-literal.
15377 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15378 for elt. 7 of a parse state.
15380 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15382 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15383 * international/latin1-disp.el, international/mule-util.el:
15384 * language/cyril-util.el, language/european.el, language/ind-util.el:
15385 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15386 * language/tibetan.el, language/viet-util.el:
15387 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15389 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15391 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15392 (electric-pair-post-self-insert-function): Use it.
15393 (electric-pair-default-inhibit): New function, extracted from
15394 electric-pair-post-self-insert-function.
15396 2013-03-31 Roland Winkler <winkler@gnu.org>
15398 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15400 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15402 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15404 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15406 Un-indent after "pass" and "return" statements (Bug#13888)
15407 * progmodes/python.el (python-indent-block-enders): New var.
15408 (python-indent-calculate-indentation): Use it.
15410 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15412 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15413 defun. Defining it as defalias could introduce too eager
15414 byte-compiler optimization. (Bug#14030)
15416 2013-03-30 Chong Yidong <cyd@gnu.org>
15418 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15420 2013-03-30 Leo Liu <sdl.web@gmail.com>
15422 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15423 (kmacro-execute-from-register): Pass the keyboard macro to
15424 kmacro-call-macro or repeating won't work correctly.
15426 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15428 * progmodes/subword.el: Back to using `forward-symbol'.
15430 * subr.el (forward-whitespace, forward-symbol)
15431 (forward-same-syntax): Move from thingatpt.el.
15433 2013-03-29 Leo Liu <sdl.web@gmail.com>
15435 * kmacro.el (kmacro-to-register): New command.
15436 (kmacro-execute-from-register): New function.
15437 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15439 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15441 * mpc.el: Use defvar-local and setq-local.
15442 (mpc--proc-connect): Connection failures are not bugs.
15443 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15444 (mpc-volume-map): Bind to the up-events.
15446 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15448 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15449 instead of `forward-symbol'.
15451 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15453 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15454 (edebug--recursive-edit): Use it.
15455 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15456 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15458 2013-03-28 Leo Liu <sdl.web@gmail.com>
15460 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15462 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15464 * facemenu.el (list-colors-callback): New defvar.
15465 (list-colors-redisplay): New function.
15466 (list-colors-display): Install list-colors-redisplay as the
15467 revert-buffer-function. (Bug#14063)
15469 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15471 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15472 and suffixes don't overlap (bug#14061).
15474 * case-table.el: Use lexical-binding.
15475 (case-table-get-table): New function.
15476 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15478 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15480 * progmodes/subword.el: Add `superword-mode' to do word motion
15481 over symbol_words (parallels and leverages `subword-mode' which
15482 does word motion inside MixedCaseWords).
15484 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15486 * eshell/em-unix.el: Move su and sudo to...
15487 * eshell/em-tramp.el: ...Eshell tramp module.
15489 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15491 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15492 Change return value to be a sexp. Delay `get-buffer' to after
15493 restoring the desktop (bug#13951).
15495 2013-03-26 Leo Liu <sdl.web@gmail.com>
15497 * register.el: Move semantic tag handling back to
15498 cedet/semantic/senator.el. (Bug#14052)
15500 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15502 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15503 into the prompt either (bug#13963).
15505 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15507 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15508 part of "(error-foo)".
15510 2013-03-24 Juri Linkov <juri@jurta.org>
15512 * replace.el (list-matching-lines-prefix-face): New defcustom.
15513 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15514 `occur-engine' if `face-differs-from-default-p' returns t.
15515 (occur-engine): Add `,' inside backquote construct to evaluate
15516 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15517 Pass `prefix-face' to the functions `occur-context-lines' and
15518 `occur-engine-add-prefix'.
15519 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15520 `prefix-face' and propertize the prefix with `prefix-face'.
15523 2013-03-24 Leo Liu <sdl.web@gmail.com>
15525 * nxml/rng-valid.el (rng-validate-while-idle)
15526 (rng-validate-quick-while-idle): Guard against deleted buffer.
15529 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15530 is the last entry in kill-buffer-hook.
15532 * files.el (kill-buffer-hook): Doc fix.
15534 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15536 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15537 Make it safe-local.
15539 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15541 2013-03-23 Leo Liu <sdl.web@gmail.com>
15543 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15546 * nxml/rng-valid.el (rng-validate-mode)
15547 (rng-after-change-function, rng-do-some-validation):
15548 * nxml/rng-maint.el (rng-validate-buffer):
15549 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15550 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15551 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15552 (nxml-extend-after-change-region): Use with-silent-modifications.
15554 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15557 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15558 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15559 timer-idle-list. (Bug#13999)
15561 2013-03-23 Juri Linkov <juri@jurta.org>
15563 * info.el (info-index-match): New face.
15564 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15565 main pattern and add text properties with the new face to matches
15566 in index entries relative to the beginning of the index entry.
15569 2013-03-21 Eric Ludlam <zappo@gnu.org>
15571 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15572 Inhibit read only while inserting objects.
15574 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15576 * progmodes/cfengine.el: Update docs to mention
15577 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15578 symbol motion. Remove "_" from the word syntax.
15580 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15582 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15583 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15585 2013-03-20 Juri Linkov <juri@jurta.org>
15587 * info.el (Info-next-reference-or-link)
15588 (Info-prev-reference-or-link): New functions.
15589 (Info-next-reference, Info-prev-reference): Use them.
15590 (Info-try-follow-nearest-node): Handle footnote navigation.
15591 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15593 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15595 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15596 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15598 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15600 Suppress unnecessary non-ASCII chatter during build process.
15601 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15602 (batch-skkdic-convert): Suppress most of the chatter.
15603 It's not needed so much now that machines are faster,
15604 and its non-ASCII component was confusing; see Dmitry Gutov in
15605 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15607 2013-03-20 Leo Liu <sdl.web@gmail.com>
15609 * ido.el (ido-chop): Fix bug#10994.
15611 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15613 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15615 (whitespace-color-on, whitespace-color-off):
15616 Use `font-lock-fontify-buffer' (Bug#13817).
15618 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15620 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15621 remapping in mode-line.
15622 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15624 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15626 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15627 value for `whitespace-line' face (Bug#13875).
15628 (whitespace-font-lock-keywords): Change description.
15629 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15630 the constructed keywords instead.
15631 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15633 2013-03-19 Leo Liu <sdl.web@gmail.com>
15635 * progmodes/compile.el (compilation-display-error): New command.
15636 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15639 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15641 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15643 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15645 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15647 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15649 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15651 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15652 * net/tramp-gvfs.el (top):
15653 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15654 (tramp-handle-shell-command): Use it.
15655 (tramp-dissect-file-name): Raise an error when hostname is a
15656 method name, and neither method nor user is specified.
15658 * net/trampver.el: Update release number.
15660 2013-03-18 Leo Liu <sdl.web@gmail.com>
15662 Make sure eldoc can be turned off properly.
15663 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15665 (eldoc-display-message-p): Revert last change.
15666 (eldoc-display-message-no-interference-p)
15667 (eldoc-print-current-symbol-info): Tweak.
15669 2013-03-18 Tassilo Horn <tsdh@gnu.org>
15671 * doc-view.el (doc-view-new-window-function): Check the new window
15672 overlay's display property instead the char property of the
15673 buffer's first char. Use `with-selected-window' instead of
15674 `save-window-excursion' with `select-window'.
15675 (doc-view-document->bitmap): Check the current doc-view overlay's
15676 display property instead the char property of the buffer's first char.
15678 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15680 Automate the build of ja-dic.el (Bug#13984).
15681 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15682 from the input, rather than assume that it's been done for us by the
15683 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15684 the current date into a ja-dic.el comment, as that complicates
15685 regression testing.
15687 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15689 * whitespace.el: Fix double evaluation.
15690 (whitespace-space, whitespace-hspace, whitespace-tab)
15691 (whitespace-newline, whitespace-trailing, whitespace-line)
15692 (whitespace-space-before-tab, whitespace-indentation)
15693 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15695 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15696 (whitespace-color-on): Use a single font-lock-add-keywords call.
15697 Fix double-evaluation of face variables.
15699 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
15701 * net/tramp-adb.el (tramp-adb-parse-device-names):
15702 Use `start-process' instead of `call-process'. Otherwise, the
15703 function might be blocked under MS Windows. (Bug#13299)
15705 2013-03-17 Leo Liu <sdl.web@gmail.com>
15707 Extend eldoc to display info in the mode-line. (Bug#13978)
15708 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15709 (eldoc-mode-line-string): New variable.
15710 (eldoc-minibuffer-message): New function.
15711 (eldoc-message-function): New variable.
15712 (eldoc-message): Use it.
15713 (eldoc-display-message-p)
15714 (eldoc-display-message-no-interference-p):
15715 Support eldoc-post-insert-mode.
15717 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15718 (eval-expression): Run it.
15720 2013-03-17 Roland Winkler <winkler@gnu.org>
15722 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15723 strings in the list of return values.
15725 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15727 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15728 radix before checking for HMS forms.
15730 2013-03-16 Leo Liu <sdl.web@gmail.com>
15732 * progmodes/scheme.el: Add indentation and font-locking for λ.
15735 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
15737 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15738 token before point (bug#13942).
15740 2013-03-16 Leo Liu <sdl.web@gmail.com>
15742 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
15744 2013-03-16 Eli Zaretskii <eliz@gnu.org>
15746 * startup.el (command-line-normalize-file-name): Fix handling of
15747 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15748 <xfq.free@gmail.com> in
15749 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15751 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
15753 Sync with Tramp 2.2.7.
15755 * net/trampver.el: Update release number.
15757 2013-03-14 Tassilo Horn <tsdh@gnu.org>
15759 * doc-view.el: Fix bug#13887.
15760 (doc-view-insert-image): Don't modify overlay associated to
15761 non-live windows, and implement horizontal centering of image in
15762 case it's smaller than the window.
15763 (doc-view-new-window-function): Force redisplay of new windows on
15766 2013-03-13 Karl Fogel <kfogel@red-bean.com>
15768 * saveplace.el (save-place-alist-to-file): Don't sort
15769 `save-place-alist', just pretty-print it (bug#13882).
15771 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
15773 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15774 Check whether `default-file-name-coding-system' is bound.
15775 It isn't in XEmacs.
15777 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15779 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15780 backquotes for `obsolete' (bug#13929).
15782 * international/mule.el (find-auto-coding): Include file name in
15783 obsolescence warning (bug#13922).
15785 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15787 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15788 for CFEngine 3-specific indentation.
15789 (cfengine3-indent-line): Use it. Fix up category regex.
15790 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15792 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15794 * type-break.el (type-break-file-name):
15795 * textmodes/remember.el (remember-data-file):
15796 * strokes.el (strokes-file):
15797 * shadowfile.el (shadow-initialize):
15798 * saveplace.el (save-place-file):
15799 * ps-bdf.el (bdf-cache-file):
15800 * progmodes/idlwave.el (idlwave-config-directory):
15801 * net/quickurl.el (quickurl-url-file):
15802 * international/kkc.el (kkc-init-file-name):
15803 * ido.el (ido-save-directory-list-file):
15804 * emulation/viper.el (viper-custom-file-name):
15805 * emulation/vip.el (vip-startup-file):
15806 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15807 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15809 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15811 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15812 * language/thai-word.el: Switch to UTF-8.
15814 See ChangeLog.16 for earlier changes.
15816 ;; Local Variables:
15820 Copyright (C) 2011-2014 Free Software Foundation, Inc.
15822 This file is part of GNU Emacs.
15824 GNU Emacs is free software: you can redistribute it and/or modify
15825 it under the terms of the GNU General Public License as published by
15826 the Free Software Foundation, either version 3 of the License, or
15827 (at your option) any later version.
15829 GNU Emacs is distributed in the hope that it will be useful,
15830 but WITHOUT ANY WARRANTY; without even the implied warranty of
15831 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15832 GNU General Public License for more details.
15834 You should have received a copy of the GNU General Public License
15835 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.