1 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
3 * Makefile.in: Change some production names so they're neutral
4 about the repository type.
6 2014-10-30 Kim F. Storm <storm@cua.dk>
8 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
9 * delsel.el (delete-selection-save-to-register)
10 (delsel--replace-text-or-position): New vars.
11 (delete-active-region): Use them.
12 (delete-selection-repeat-replace-region): New command, moved from
14 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
15 (cua-repeat-replace-region): Move command to delsel.el.
16 (cua--init-keymaps): Update binding accordingly.
17 (cua-mode): Set delete-selection-save-to-register.
19 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
21 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
23 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
25 2014-10-29 Eli Zaretskii <eliz@gnu.org>
27 * progmodes/compile.el (compilation-start):
28 If compilation-scroll-output is non-nil, don't force window-start of
29 the compilation buffer to be at beginning of buffer. (Bug#18874)
31 2014-10-23 Tassilo Horn <tsdh@gnu.org>
33 * doc-view.el (doc-view-open-text): View the document's plain text
34 in the current buffer instead of a new one.
35 (doc-view-toggle-display): Handle the case where the current
36 buffer contains the plain text contents of the document.
37 (doc-view-initiate-display): Don't switch to fallback mode if the
38 user wants to view the doc's plain text. [Backport]
40 2014-10-23 Eli Zaretskii <eliz@gnu.org>
42 * startup.el (fancy-about-text): Read the entire tutorial, not
43 just its first 256 bytes. (Bug#18760)
45 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
47 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
48 * emacs-lisp/cl-extra.el: Add missing provide.
50 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
52 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
53 all args are copyable (bug#18767).
54 (=, <, >, <=, >=): Re-enable the optimization.
56 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
58 * vc/vc-hg.el (vc-hg-log-graph): New var.
59 (vc-hg-print-log): Use it.
60 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
61 graph output (bug#17515).
63 2014-10-20 Juri Linkov <juri@jurta.org>
65 * vc/diff-mode.el (diff-refine-changed): Rename from
66 `diff-refine-change' for consistency with `diff-changed'.
67 (diff-refine-change): Add obsolete face alias. (Bug#10181)
69 * vc/smerge-mode.el (smerge-refined-changed): Rename from
70 `smerge-refined-change'.
71 (smerge-refined-change): Add obsolete face alias.
73 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
75 * subr.el (call-process-shell-command, process-file-shell-command):
76 Make the `args' obsolete (bug#18409).
77 (start-process-shell-command, start-file-process-shell-command):
80 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
82 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
84 2014-10-20 Glenn Morris <rgm@gnu.org>
86 * dired.el (dired-read-regexp): Make obsolete.
87 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
88 (dired-flag-files-regexp):
89 * dired-aux.el (dired-mark-read-regexp):
90 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
92 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
94 * progmodes/python.el (inferior-python-mode): Use add-hook.
96 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
98 2014-10-20 Glenn Morris <rgm@gnu.org>
100 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
101 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
102 * emulation/ws-mode.el: Move to obsolete/. [Backport]
104 2014-10-20 Glenn Morris <rgm@gnu.org>
106 * cus-start.el (history-length): Bump :version. [Backport]
108 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
110 * obsolete/cc-compat.el: Make obsolete (bug#18561).
112 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
114 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
117 2014-10-20 Glenn Morris <rgm@gnu.org>
119 * Version 24.4 released.
121 2014-10-15 Alan Mackenzie <acm@muc.de>
123 * cus-edit.el (custom-command-apply): Specify the return value in
125 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
126 custom-command-apply has returned non-nil.
128 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
130 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
131 Backported (bug#18688).
133 2014-10-14 Eli Zaretskii <eliz@gnu.org>
135 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
136 Force bidi-paragraph-direction to 'left-to-right'. This fixes
137 buffer-menu display when the first buffer happens to start with
140 2014-10-13 Glenn Morris <rgm@gnu.org>
142 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
143 (authors-obsolete-files-regexps): Additions.
144 (authors-no-scan-regexps): New constant.
145 (authors-no-scan-file-p): New function.
146 (authors): Respect authors-no-scan-file-p.
148 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
150 Fix import completion. (Bug#18582)
151 * progmodes/python.el (python-shell-completion-get-completions):
152 Fix import case regexp.
154 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
156 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
157 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
158 * progmodes/prolog.el (prolog-electric--underscore): Same.
160 2014-10-09 Glenn Morris <rgm@gnu.org>
162 * frame.el (display-monitor-attributes-list): Doc tweaks.
164 2014-10-08 Eli Zaretskii <eliz@gnu.org>
166 * faces.el (display-grayscale-p): Mention in the doc string that
167 the argument can be either a display name or a frame.
169 * frame.el (display-pixel-height, display-pixel-width)
170 (display-mm-height, display-mm-width, display-backing-store)
171 (display-save-under, display-planes, display-color-cells)
172 (display-visual-class, display-monitor-attributes-list)
173 (display-screens): Mention in the doc string that the argument can
174 be either a display name or a frame. Improve the docs of the
175 monitor attributes. (Bug#18636)
177 2014-10-06 Martin Rudalics <rudalics@gmx.at>
179 * term.el (term-window-width): Subtract 1 from the width when
180 any fringe has zero width, not just the right fringe. (Bug#18601)
182 2014-10-05 Leo Liu <sdl.web@gmail.com>
184 * imenu.el (imenu-default-goto-function): Fix typo.
186 2014-10-04 Glenn Morris <rgm@gnu.org>
188 * frame.el (frame-monitor-attributes)
189 (display-monitor-attributes-list): Doc fixes.
191 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
193 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
194 (vc-svn-ignore): Use it. (Bug#18619)
196 2014-10-03 Martin Rudalics <rudalics@gmx.at>
198 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
199 In doc-string mention need to set `frame-resize-pixelwise'.
201 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
203 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
204 similarly to Rogers's 2010-06-16 change for the remote case
207 2014-10-01 Glenn Morris <rgm@gnu.org>
209 * emacs-lisp/package.el (package-import-keyring):
210 Create gnupg directory private. (Bug#17625#155)
212 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
214 * progmodes/python.el (python-shell-completion-get-completions):
215 Use python-shell--prompt-calculated-input-regexp from the
216 process buffer (bug#18582).
217 Don't assume that `line' comes from the process buffer.
219 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
221 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
224 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
226 * emacs-lisp/package.el (package-check-signature): Default to nil if
227 GPG is not available.
228 (package-refresh-contents): Don't mess with the keyring if we won't
229 check the signatures anyway.
231 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
233 * window.el (fit-window-to-buffer): When counting buffer width,
234 count the whole visible buffer. Correctly convert the body-height
235 to pixel size for window-text-pixel-size (Bug#18498).
237 2014-09-14 Glenn Morris <rgm@gnu.org>
239 * image.el (image-multi-frame-p): Fix thinko - do not force
240 a delay if none was specified. (Bug#18334)
242 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
244 * window.el (fit-window-to-buffer): Doc fix.
246 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
248 * desktop.el (desktop-create-buffer): Check that buffers are still live
249 before burying them (bug#18373).
251 2014-09-09 Glenn Morris <rgm@gnu.org>
253 * calendar/diary-lib.el (diary-list-entries):
254 Restore 24.3 display behavior. (Bug#18381)
256 2014-09-09 Eli Zaretskii <eliz@gnu.org>
258 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
259 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
260 discrepancy between window-pixel-edges and mouse events, and
261 avoids moving mode line up when the mouse click is on the modeline
262 and no drag is attempted.
264 2014-09-08 Glenn Morris <rgm@gnu.org>
266 * calendar/calendar.el (calendar-basic-setup):
267 Avoid clobbering calendar with diary. (Bug#18381)
269 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
271 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
273 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
275 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
278 2014-09-04 Eli Zaretskii <eliz@gnu.org>
280 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
282 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
284 * emacs-lisp/package.el (package-generate-description-file):
285 Properly quote the arguments (bug#18332). Change second arg.
286 (package--alist-to-plist-args): Rename from package--alist-to-plist and
288 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
289 the *-pkg.el file. Adjust to new calling convention of
290 package-generate-description-file.
292 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
293 (gud-gdb-completions): Remove obsolete workaround.
295 2014-09-02 Eli Zaretskii <eliz@gnu.org>
297 * subr.el (posn-col-row): Revert the change from commit
298 2010-11-13T21:07:58Z!eliz@gnu.org, which
299 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
300 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
301 introduced an off-by-one error in the reported row when there is a
302 header line. (Bug#18384)
304 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
306 * progmodes/python.el (python-indent-post-self-insert-function):
307 Avoid electric colon at beginning-of-defun. (Bug#18228)
309 2014-09-01 Glenn Morris <rgm@gnu.org>
311 * tutorial.el (tutorial--display-changes):
312 Fix 2014-07-29 change. (Bug#18382)
314 2014-08-29 Ken Brown <kbrown@cornell.edu>
316 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
317 the Cygwin-w32 build. (Bug#18347)
319 2014-08-28 Glenn Morris <rgm@gnu.org>
321 * tar-mode.el (tar--extract, tar-extract):
322 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
324 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
326 * emacs-lisp/authors.el (authors-aliases): Addition.
328 * net/tramp-adb.el: Spell author name correctly.
330 2014-08-27 João Távora <joaotavora@gmail.com>
332 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
333 use url-expand-file-name. (Bug#18310)
335 2014-08-25 Glenn Morris <rgm@gnu.org>
337 * emulation/cua-rect.el (cua--highlight-rectangle):
338 Avoid error at point-min. (Bug#18309)
340 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
342 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
343 executable-find (bug#18244).
345 * simple.el (self-insert-uses-region-functions): Defvar.
347 2014-08-13 Leo Liu <sdl.web@gmail.com>
349 * speedbar.el (speedbar-generic-list-tag-p): Allow special
352 2014-08-11 Glenn Morris <rgm@gnu.org>
354 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
356 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
357 chose coding system for writing before backing up, since it causes
358 a more serious problem than the one it solves. (Closes Bug#18141,
361 2014-08-10 Martin Rudalics <rudalics@gmx.at>
363 * window.el (window-total-size): Make doc-string more
366 2014-08-09 Martin Rudalics <rudalics@gmx.at>
368 * window.el (display-buffer-below-selected): Restore original
369 behavior if buffer is already displayed in the window below the
370 selected one (Bug#18181).
372 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
374 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
377 2014-08-08 Eli Zaretskii <eliz@gnu.org>
379 * info.el (info): Doc fix.
381 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
383 * info.el (Info-mode-map): Override a global down-mouse-2 binding
386 2014-08-05 Eli Zaretskii <eliz@gnu.org>
388 * simple.el (default-line-height): A floating-point value of
389 line-spacing means a fraction of the default frame font's height,
390 not of the font currently used by the 'default' face.
391 Truncate the pixel value, like the display engine does.
392 (window-screen-lines): Use window-inside-pixel-edges for
393 determining the window height in pixels. (Bug#18195)
395 2014-07-29 Eli Zaretskii <eliz@gnu.org>
397 * tutorial.el (tutorial--display-changes): Accept punctuation
398 characters before the key binding. (Bug#18146)
400 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
402 * doc-view.el (doc-view-open-text): Don't require that the
403 document is saved in a file (e.g., email attachment).
405 2014-07-27 Eli Zaretskii <eliz@gnu.org>
407 * window.el (window--pixel-to-total): Use FRAME's root window, not
408 that of the selected frame. (Bug#18112, Bug#16674)
410 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
412 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
415 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
417 * progmodes/python.el (inferior-python-mode): Doc fix.
419 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
421 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
422 not a character, ignore it instead of raising an error.
424 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
426 * calendar/todo-mode.el: Fix handling of marked items and make
427 minor code improvements.
428 (todo-edit-item): If there are marked items, ensure user can only
429 invoke editing commands that work with marked items.
430 (todo-edit-item--text): When there are marked items, make it a
431 noop if invoked with point not on an item; otherwise, ensure it
432 applies only to item at point.
433 (todo-item-undone): If there are marked not-done items, return
434 point to its original position before signaling user error.
435 (todo--user-error-if-marked-done-item): New function.
436 (todo-edit-item--header, todo-edit-item--diary-inclusion)
437 (todo-item-done): Use it.
439 2014-07-25 Glenn Morris <rgm@gnu.org>
441 * files.el (toggle-read-only): Re-add basic doc-string.
442 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
444 * progmodes/prolog.el (prolog-mode-keybindings-edit):
445 Replace missing `switch-to-prolog' with `run-prolog'.
446 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
448 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
450 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
451 of file-wide setting when changing category-wide setting.
453 2014-07-21 Glenn Morris <rgm@gnu.org>
455 * progmodes/hideif.el (hide-ifdef-mode-submap):
456 Also substitute read-only-mode.
457 * bindings.el (mode-line-toggle-read-only):
458 * bs.el (bs-toggle-readonly):
459 * buff-menu.el (Buffer-menu-toggle-read-only):
460 * dired.el (dired-toggle-read-only):
461 * files.el (view-read-only, find-file-read-only)
462 (find-file-read-only-other-window)
463 (find-file-read-only-other-frame):
464 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
465 Doc fixes re toggle-read-only.
467 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
469 * progmodes/python.el: Add comment about pipe buffering and
470 solutions for missing/delayed output in inferior Python shells.
473 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
475 * progmodes/python.el (python-mode): Don't set
476 mode-require-final-newline. (Bug#17990)
478 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
480 Make python.el work with IPython automatically. (Bug#15510)
481 * progmodes/python.el:
482 (python-shell-completion-setup-code): New value supporting iPython.
483 (python-shell-completion-string-code): New value supporting iPython.
484 (python-shell-completion-get-completions): Use them.
485 (python-shell-completion-module-string-code): Make obsolete.
486 (python-shell-prompt-input-regexps)
487 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
488 (python-shell-output-filter): Fix comment typo.
490 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
492 Fix Python shell prompts detection for remote hosts.
493 * progmodes/python.el (python-shell-prompt-detect):
494 Replace call-process with process-file and make it more robust.
496 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
498 Autodetect Python shell prompts. (Bug#17370)
499 * progmodes/python.el:
500 (python-shell-interpreter-interactive-arg)
501 (python-shell-prompt-detect-enabled)
502 (python-shell-prompt-detect-failure-warning)
503 (python-shell-prompt-input-regexps)
504 (python-shell-prompt-output-regexps): New vars.
505 (python-shell-prompt-calculated-input-regexp)
506 (python-shell-prompt-calculated-output-regexp): New vars.
507 (python-shell-get-process-name)
508 (python-shell-internal-get-process-name)
509 (python-shell-output-filter)
510 (python-shell-completion-get-completions): Use them.
511 (python-shell-prompt-detect)
512 (python-shell-prompt-validate-regexps): New functions.
513 (python-shell-prompt-set-calculated-regexps): New function.
514 (inferior-python-mode): Use it. Also honor overridden
515 python-shell-interpreter and python-shell-interpreter-args.
516 (python-shell-make-comint): Honor overridden
517 python-shell-interpreter and python-shell-interpreter-args.
518 (python-shell-get-or-create-process): Make it testable by allowing
519 to call run-python non-interactively.
520 (python-util-valid-regexp-p): New function.
521 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
522 (python-shell-prompt-output-regexp)
523 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
525 2014-07-16 Glenn Morris <rgm@gnu.org>
527 * desktop.el (after-init-hook): Disable startup frame restoration
528 in non-graphical situations. (Bug#17693)
530 2014-07-14 Glenn Morris <rgm@gnu.org>
532 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
533 if it was "empty", or used for a different set of files. (Bug#17884)
535 2014-07-13 Eli Zaretskii <eliz@gnu.org>
537 * bindings.el (mode-line-remote): If default-directory is not a
538 string, don't call file-remote-p on it; instead state in the
539 help-echo that it is nil. (Bug#17986)
541 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
543 Fix bug: C-x v v discarded existing log message (Bug#17884).
544 * vc/vc-dispatcher.el (vc-log-edit):
545 Don't clobber an already-existing log message.
547 2014-07-10 Glenn Morris <rgm@gnu.org>
549 * vc/log-edit.el (log-edit-changelog-entries):
550 Check for a visited-but-never-saved ChangeLog.
552 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
554 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
555 a non-existing file (bug#17970).
557 * faces.el (face-name): Undo last change.
558 (x-resolve-font-name): Don't call face-name (bug#17956).
560 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
562 Fix dedenters and electric colon handling. (Bug#15163)
564 * progmodes/python.el
565 (python-rx-constituents): Add dedenter and block-ender.
566 (python-indent-dedenters, python-indent-block-enders): Delete.
567 (python-indent-context): Return new case for dedenter-statement.
568 (python-indent-calculate-indentation): Handle new case.
569 (python-indent-calculate-levels): Fix levels calculation for
571 (python-indent-post-self-insert-function): Fix colon handling.
572 (python-info-dedenter-opening-block-message): New function.
573 (python-indent-line): Use it.
574 (python-info-closing-block)
575 (python-info-closing-block-message): Remove.
576 (python-info-dedenter-opening-block-position)
577 (python-info-dedenter-opening-block-positions)
578 (python-info-dedenter-statement-p): New functions.
580 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
582 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
583 the middle of a line (bug#17896).
585 2014-07-08 Juri Linkov <juri@jurta.org>
587 * startup.el (command-line): Append displaying the warning about
588 the errors in the init file to the end of `after-init-hook'.
591 2014-07-08 Juri Linkov <juri@jurta.org>
593 * faces.el (face-name): Return input arg `face' as is
594 when it's not a symbol.
595 (x-resolve-font-name): Don't check if the face is a symbol.
598 2014-07-08 Juri Linkov <juri@jurta.org>
600 * facemenu.el (list-colors-print): In help-echo format use %.2f
601 instead of %d because now HSV values are floating-point components
604 2014-07-06 Glenn Morris <rgm@gnu.org>
606 * emulation/cua-rect.el (cua--activate-rectangle):
607 Avoid setting cua--rectangle to nil. (Bug#17877)
609 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
611 * calendar/todo-mode.el: Fix wrong-type-argument error when
612 marking multiple consecutive items.
613 (todo-toggle-mark-item): Don't try to mark the empty lines at the
614 end of the todo and done items sections. Note in doc string that
615 items marked by passing a numeric prefix argument can include the
616 last todo and first done items.
617 (todo-mark-category): Don't try to mark the empty line between the
618 todo and done items sections.
620 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
622 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
623 proper Lisp quoting (bug#17934).
625 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
626 require-final-newline since prog-mode already took care of it (bug#17947).
628 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
630 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
631 refer to the Todo mode Info manual. Update the comment on
633 (todo-find-filtered-items-file): Add todo-prefix overlays.
634 (todo-filter-items): Reorder a let-bound variable to avoid a
635 wrong-type-argument error on canceling the file choice dialog.
637 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
639 * progmodes/octave.el (inferior-octave-mode):
640 Set comint-input-ring-size to a number (bug#17912).
642 2014-07-03 Juri Linkov <juri@jurta.org>
644 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
645 and `isearch-mode' associated with nil. (Bug#17849)
647 2014-07-02 Juri Linkov <juri@jurta.org>
649 * desktop.el (desktop-save): Rename arg `auto-save' to
650 `only-if-changed'. Doc fix. (Bug#17873)
652 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
654 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
655 Use insert-for-yank (bug#17271).
657 2014-07-02 Leo Liu <sdl.web@gmail.com>
659 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
660 Support lexical-binding.
662 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
664 * vc/log-edit.el (log-edit-goto-eoh): New function.
665 (log-edit--match-first-line): Use it (bug#17861).
667 2014-07-01 Glenn Morris <rgm@gnu.org>
669 * vc/log-edit.el (log-edit-hook): Add missing :version.
671 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
673 * progmodes/python.el (python-indent-post-self-insert-function):
674 Enhancements to electric indentation behavior inside
677 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
679 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
680 buffer-invisibility-spec (bug#17867).
682 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
684 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
687 2014-06-29 Glenn Morris <rgm@gnu.org>
689 * cus-edit.el (help):
690 * finder.el (finder-known-keywords):
691 * help.el (help-for-help-internal):
692 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
693 (ediff-redraw-registry-buffer):
694 * vc/ediff-ptch.el (ediff-patch-file-internal):
695 Doc fixes re "online" help. (Bug#17803)
697 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
698 (idlwave-mode): Doc URL update.
700 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
702 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
703 account for file-wide setting of todo-top-priorities-overrides.
704 Make code a bit cleaner.
706 2014-06-27 Leo Liu <sdl.web@gmail.com>
708 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
710 2014-06-27 Glenn Morris <rgm@gnu.org>
712 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
714 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
716 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
717 category-wide setting of todo-top-priorities-overrides, check for
718 a file-wide setting and fontify accordingly.
720 2014-06-26 Glenn Morris <rgm@gnu.org>
722 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
724 2014-06-26 Daiki Ueno <ueno@gnu.org>
726 * emacs-lisp/package.el (package--check-signature):
727 If package-check-signature is allow-unsigned, don't signal error when
728 we can't verify signature because of missing public key
729 (backport for bug#17625).
731 2014-06-26 Glenn Morris <rgm@gnu.org>
733 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
734 Remove outdated declaration.
736 * emacs-lisp/authors.el (authors-valid-file-names)
737 (authors-renamed-files-alist): Additions.
739 2014-06-25 Leo Liu <sdl.web@gmail.com>
741 * textmodes/picture.el (picture-set-tab-stops):
742 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
743 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
745 * progmodes/asm-mode.el (asm-calculate-indentation):
746 Use indent-next-tab-stop.
748 * indent.el (indent-accumulate-tab-stops): New function.
750 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
752 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
753 (package-desc-status): Obey it.
755 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
757 * calendar/todo-mode.el: Fix two bugs.
758 (todo-insert-item--basic): If user cancels item insertion to
759 another category before setting priority, show original category
760 whether it is in the same or a different file.
761 (todo-set-item-priority): After selecting category, instead of
762 moving point to top, which extends an active region, restore it.
764 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
766 * help-fns.el (describe-function-1): Check file-name is a string before
767 calling help-fns--autoloaded-p (bug#17564).
769 2014-06-24 Juri Linkov <juri@jurta.org>
771 * desktop.el (desktop-auto-save-enable)
772 (desktop-auto-save-disable): New functions.
773 (desktop-save-mode, desktop-auto-save-timeout): Use them.
774 (desktop-read): Disable the autosave before loading the desktop,
775 and enable afterwards. (Bug#17351)
777 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
779 Fix some indentation problem with \; and pipes (bug#17842).
780 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
781 (sh-smie--default-forward-token, sh-smie--default-backward-token):
783 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
784 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
785 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
787 2014-06-24 Eli Zaretskii <eliz@gnu.org>
789 * international/fontset.el (script-representative-chars):
790 Add representative characters for scripts added in Unicode 7.0.
791 (otf-script-alist): Synchronize with the latest registry of OTF
794 * international/characters.el (char-script-table): Update for
795 scripts added and codepoint ranges changed in Unicode 7.0.
797 2014-06-23 Leo Liu <sdl.web@gmail.com>
799 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
800 tab-stop-list to nil. (Bug#16381)
802 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
803 (indent-rigidly-left-to-tab-stop)
804 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
805 (move-to-tab-stop): Change callers.
807 2014-06-22 Eli Zaretskii <eliz@gnu.org>
809 * skeleton.el (skeleton-insert): Yet another fix of the doc string
810 wrt behavior of \n as the first/last element of a skeleton.
812 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
814 * net/tramp-adb.el (tramp-adb-handle-process-file):
815 * net/tramp-sh.el (tramp-sh-handle-process-file):
816 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
817 the output buffer when DISPLAY is non-nil. (Bug#17815)
819 2014-06-21 Glenn Morris <rgm@gnu.org>
821 * play/landmark.el (landmark-move-down, landmark-move-up):
822 Fix 2007-10-20 change - preserve horizontal position.
824 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
826 Fix completion retrieval parsing (bug#17209).
827 * progmodes/python.el (python-mode):
828 (python-util-strip-string): New function.
829 (python-shell-completion-get-completions): Use it.
831 2014-06-21 Eli Zaretskii <eliz@gnu.org>
833 * skeleton.el (skeleton-insert): Fix last change.
835 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
837 Enhancements for outline integration (bug#17796).
838 * progmodes/python.el (python-mode): Properly set
839 outline-heading-end-regexp so that comments after colons for
840 defuns are supported.
842 2014-06-21 Eli Zaretskii <eliz@gnu.org>
844 * skeleton.el (skeleton-insert): Doc fix.
846 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
848 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
849 (smie-config-guess): Use smie-config-local so the rules are obeyed
852 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
853 since it's already done inside the loop (bug#17819).
855 2014-06-20 Martin Rudalics <rudalics@gmx.at>
857 * mouse.el (mouse-drag-line): Re-remove code initially removed
858 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
861 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
863 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
864 align with the surrounding parent (bug#17721).
866 2014-06-20 Eli Zaretskii <eliz@gnu.org>
868 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
870 (texinfo-insert-block, texinfo-insert-@end)
871 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
872 local setting of skeleton-end-newline by adding an explicit \n to
873 the skeletons where appropriate. (Bug#17801)
875 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
877 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
878 (smie-indent--hanging-p): Use it.
879 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
881 2014-06-20 Leo Liu <sdl.web@gmail.com>
883 * simple.el (read-quoted-char): Don't let help chars pop up help
886 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
888 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
891 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
893 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
894 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
897 2014-06-18 Eli Zaretskii <eliz@gnu.org>
899 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
900 and later. (Bug#17790)
902 2014-06-18 Juri Linkov <juri@jurta.org>
904 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
905 to `soft'. (Bug#17554)
907 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
909 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
912 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
914 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
915 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
917 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
919 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
920 `unread-command-events'.
922 2014-06-14 Glenn Morris <rgm@gnu.org>
924 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
925 Replace delete-duplicates and mapcan by cl- versions throughout.
926 And cl-macroexpand-all by macroexpand-all.
927 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
929 2014-06-14 Eli Zaretskii <eliz@gnu.org>
931 * subr.el (posn-col-row): Doc fix. (Bug#17768)
933 2014-06-14 Juri Linkov <juri@jurta.org>
935 * bindings.el: Put `ascii-character' property on keypad keys
936 mapped to characters. (Bug#17759)
938 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
940 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
941 bumping forward into a closing paren (bug#17761).
943 * term/xterm.el (xterm--version-handler): Work around for OSX
944 Terminal.app (bug#17607).
946 2014-06-08 Glenn Morris <rgm@gnu.org>
948 * startup.el (initial-buffer-choice): Doc fix.
949 Reset :version (adding an option does not merit a :version bump).
951 * bookmark.el (bookmark-load):
952 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
954 2014-06-06 Juri Linkov <juri@jurta.org>
956 * desktop.el: Activate auto-saving on window configuration changes.
957 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
958 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
959 (desktop-auto-save-set-timer): Change REPEAT arg of
960 `run-with-idle-timer' from t to nil.
961 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
963 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
965 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
966 vc-hg-command (bug#17570).
968 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
970 * international/mule-cmds.el (ucs-names): Add special entry for BEL
973 2014-06-06 Glenn Morris <rgm@gnu.org>
975 * startup.el (window-setup-hook): Doc fix.
977 2014-06-05 Glenn Morris <rgm@gnu.org>
979 * emacs-lisp/package.el (package-check-signature)
980 (package-unsigned-archives): Doc fixes.
982 2014-06-03 Martin Rudalics <rudalics@gmx.at>
984 * window.el (display-buffer-use-some-window): Don't make window
985 used smaller than it was before (Bug#17671).
987 2014-06-03 Eli Zaretskii <eliz@gnu.org>
989 * menu-bar.el (menu-bar-open): Fix last change: use the PC
990 'redisplay' instead of '(sit-for 0)'.
992 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
994 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
997 2014-06-03 Glenn Morris <rgm@gnu.org>
999 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1001 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1003 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1005 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1007 * simple.el (keyboard-quit): Force update of mode lines, to remove
1008 the "Def" indicator, if we were defining a macro. (Bug#17615)
1010 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1012 * minibuffer.el (minibuffer-force-complete-and-exit):
1013 Obey minibuffer-default (bug#17545).
1015 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1018 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1020 * subr.el (set-transient-map): Don't wait for some "nested"
1021 transient-map to finish if we're only supposed to be active for
1022 the next command (bug#17642).
1024 2014-05-31 Leo Liu <sdl.web@gmail.com>
1026 * emacs-lisp/gv.el (window-buffer, window-display-table)
1027 (window-dedicated-p, window-hscroll, window-point, window-start):
1028 Fix gv-expander. (Bug#17630)
1030 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1032 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1035 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1036 for the single comma, since ", " is *very* common in normal French text
1039 2014-05-30 Glenn Morris <rgm@gnu.org>
1041 * emacs-lisp/package.el (package-check-signature)
1042 (package-unsigned-archives): Fix :version.
1044 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1046 * subr.el (sit-for): Don't run input-methods (bug#15614).
1048 2014-05-28 Glenn Morris <rgm@gnu.org>
1050 * cus-start.el: Fix some :version numbers.
1052 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1054 * simple.el (deactivate-mark): Set mark-active to nil even if
1055 deactivation is done via setting transient-mark-mode to nil,
1056 since one is buffer-local and the other is global.
1058 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1059 there can't be more than 2 arguments (bug#17584).
1061 2014-05-27 Glenn Morris <rgm@gnu.org>
1063 * simple.el (filter-buffer-substring-functions)
1064 (filter-buffer-substring-function, buffer-substring-filters)
1065 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1067 * minibuffer.el (completion-in-region-functions, completion-in-region)
1068 (completion--in-region): Doc fixes.
1070 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1071 (expand-abbrev, abbrev--default-expand): Doc fixes.
1073 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1075 Include sources used to create macuvs.h.
1076 * international/README: Refer to the Unicode Terms of Use rather
1077 than copying it bodily here, as that simplifies maintenance.
1079 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1081 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1083 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1085 * window.el (window--dump-frame): Remove interactive
1088 2014-05-23 Glenn Morris <rgm@gnu.org>
1090 * hippie-exp.el (he-line-search-regexp):
1091 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1093 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1095 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1096 to avoid errors when trying to create or visit a file foo.todo
1097 located outside to todo-directory, and to allow having such files
1098 without them being tied to Todo mode (bug#17482).
1099 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1100 (todo-archive-done-item, todo-find-filtered-items-file)
1101 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1102 (todo-category-completions, todo-read-category): When visiting a
1103 Todo file, make sure we're in the right mode and the buffer local
1105 (todo-make-categories-list, todo-reset-nondiary-marker)
1106 (todo-reset-done-string, todo-reset-comment-string):
1107 After processing all Todo files, kill the buffers of those files that
1108 weren't being visited before the processing.
1109 (todo-display-as-todo-file, todo-add-to-buffer-list)
1110 (todo-visit-files-commands): Comment out.
1111 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1112 (auto-mode-alist): Remove add-to-list calls making Todo file
1113 extensions unrestrictedly tied to Todo modes.
1115 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1117 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1118 (advice-function-member-p): Tell it to check both names and functions
1120 (advice--add-function): Adjust call accordingly.
1122 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1124 * calendar/todo-mode.el: Miscellaneous bug fixes.
1125 (todo-delete-file): When deleting an archive but not its todo
1126 file, make sure to update the todo file's category sexp.
1127 (todo-move-category): Keep the moved category's name unless the
1128 file moved to already has a category with that name. If the
1129 numerically last category of the source file was moved, make the
1130 first category current to avoid selecting a nonexisting category.
1131 (todo-merge-category): Fix implementation to make merging to a
1132 category in another file work as documented. Eliminate now
1133 insufficient and unnecessary renaming of archive category, correct
1134 document string accordingly, and clarify it. If the numerically
1135 last category of the source file was merged, make the first
1136 category current to avoid selecting a nonexisting category.
1137 (todo-archive-done-item): When there are marked items and point
1138 happens to be on an unmarked item, ignore the latter. Don't leave
1139 point below last item after archiving marked items.
1140 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1141 from an archive with only one category deletes the archive only
1142 when the category is empty after unarchiving. Make sure the todo
1143 file's category sexp is updated.
1144 (todo-read-file-name): Allow an existing file name even when it is
1145 not required (todo-move-category needs this to work as documented).
1146 (todo-add-file): Call todo-validate-name to reject the name of an
1147 existing todo file (needed due to fix in todo-read-file-name).
1148 (todo-reset-nondiary-marker): Also reset in filtered items files.
1149 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1150 regexp filtered items files.
1151 (todo-reset-highlight-item): Also reset in filtered items files.
1152 Fix incorrect variable reference in document string.
1154 2014-05-22 Glenn Morris <rgm@gnu.org>
1156 * window.el (window--dump-frame): Avoid error in --without-x builds.
1158 2014-05-21 Glenn Morris <rgm@gnu.org>
1160 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1162 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1164 * frame.el (set-frame-font): Doc fix.
1166 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1168 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1170 * emacs-lisp/package.el (package--download-one-archive):
1171 Use `write-region' instead of `save-buffer' to avoid running various
1173 (describe-package-1): Same. Insert newline at the end of the
1174 buffer if appropriate.
1176 2014-05-20 Juri Linkov <juri@jurta.org>
1178 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1179 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1180 Add more modifiers: meta, control, shift, hyper, super, alt.
1183 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1184 to allow changing its value with `set-variable'.
1186 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1188 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1190 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1192 (scheme-mode-variables): Set syntax-propertize-function instead of
1193 font-lock-syntactic-face-function.
1194 (scheme-font-lock-syntactic-face-function): Delete.
1196 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1198 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1200 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1203 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1205 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1206 for a temporary file name.
1208 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1210 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1212 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1214 * net/dbus.el (dbus-init-bus, dbus-call-method)
1215 (dbus-call-method-asynchronously, dbus-send-signal)
1216 (dbus-method-return-internal, dbus-method-error-internal):
1217 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1219 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1221 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1222 methods which do not have a doc string. (Bug#17490)
1224 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1225 Stefan Monnier <monnier@iro.umontreal.ca>
1227 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1230 2014-05-14 Glenn Morris <rgm@gnu.org>
1232 * vc/emerge.el (emerge-temp-file-prefix):
1233 Make pointless option obsolete.
1234 (emerge-temp-file-mode): Make non-functional option obsolete.
1236 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1238 * net/browse-url.el (browse-url):
1239 Use `unhandled-file-name-directory' when setting `default-directory',
1240 in order to circumvent stalled remote connections. (Bug#17425)
1242 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1244 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1245 into autoloading just because of a silly indirection.
1247 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1249 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1251 2014-05-11 Glenn Morris <rgm@gnu.org>
1253 * emacs-lisp/find-gc.el: Move to ../admin.
1255 2014-05-10 Glenn Morris <rgm@gnu.org>
1257 * printing.el (pr-version):
1258 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1260 * net/browse-url.el (browse-url-mosaic):
1261 Create /tmp/Mosaic.PID as a private file.
1263 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1265 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1266 (advice--member-p): If name is given, only compare the name.
1267 (advice--remove-function): Don't stop at the first match.
1268 (advice--normalize-place): New function.
1269 (add-function, remove-function): Use it.
1270 (advice--add-function): Pass the name, if any, to
1271 advice--remove-function.
1273 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1275 * electric.el (electric-indent-post-self-insert-function): Don't use
1276 `pos' after modifying the buffer (bug#17449).
1278 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1280 * subr.el (function-put): Add function.
1282 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1284 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1285 Correct argument list to conform to todo-insert-item--basic.
1287 2014-05-09 Glenn Morris <rgm@gnu.org>
1289 * files.el (cd-absolute): Test if directory is accessible
1290 rather than executable. (Bug#17330)
1292 * progmodes/compile.el (recompile):
1293 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1295 2014-05-08 Juri Linkov <juri@jurta.org>
1297 * dired.el (dired-check-switches, dired-switches-recursive-p):
1298 New functions. (Bug#17218)
1299 (dired-switches-escape-p, dired-move-to-end-of-filename):
1300 Use `dired-check-switches'.
1301 (dired-insert-old-subdirs, dired-build-subdir-alist)
1302 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1304 2014-05-08 Glenn Morris <rgm@gnu.org>
1306 * net/browse-url.el (browse-url-mosaic):
1307 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1308 This is CVE-2014-3423.
1310 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1312 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1313 (xterm-mouse--read-event-sequence-1000): Return nil if something
1315 (xterm-mouse-event): Propagate it.
1316 (xterm-mouse-translate-1): Handle it.
1318 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1320 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1321 four slots of the parameter list are filled, make sure to pass it
1322 to the argument list of todo-insert-item--basic.
1324 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1326 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1327 Add optional `seen' argument to detect and break infinite loops.
1329 2014-05-06 Eli Zaretskii <eliz@gnu.org>
1331 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1332 (trace-unsafe, trace-use-tree): Make parentheses style be
1333 according to Emacs style.
1335 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
1337 * net/tramp-sh.el (tramp-remote-process-environment):
1338 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1340 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1341 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
1342 extra "PSx=..." commands.
1343 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1346 (tramp-uudecode): Replace the hard-coded temporary file name by a
1348 (tramp-remote-coding-commands): Enhance docstring.
1349 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1351 This is CVE-2014-3424.
1353 2014-05-06 Glenn Morris <rgm@gnu.org>
1355 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1356 (find-gc-source-files): Update some names.
1357 (trace-call-tree): Simplify and update.
1358 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1359 This is CVE-2014-3422.
1361 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1363 * minibuffer.el (completion--try-word-completion): Revert fix for
1364 Bug#15980 (bug#17375).
1366 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1367 Always store button numbers in the same way in xterm-mouse-last;
1368 Don't burp is xterm-mouse-last is not set as expected.
1369 Never return negative indices.
1371 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
1373 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1374 Backtrack one char if the global/char-literal var matcher hits
1375 inside a string. The next char could be the beginning of an
1376 expression expansion.
1378 2014-05-05 Glenn Morris <rgm@gnu.org>
1380 * help-fns.el (describe-function-1): Test for an autoload before a
1381 macro, since `macrop' works on autoloads. (Bug#17410)
1383 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1385 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1387 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1388 Make sure the new point we return is within the new string (bug#17239).
1390 2014-05-03 Eli Zaretskii <eliz@gnu.org>
1392 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1394 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1396 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1397 Use nil rather than `default' for the "default" appearance (bug#17388).
1398 * vc/ediff-util.el (ediff-inferior-compare-regions)
1399 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1400 a misleading `default' value when it's really a boolean.
1401 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1402 overlay is not visible.
1404 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1406 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1407 (todo-menu): Uncomment and update.
1409 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1411 * calendar/todo-mode.el: Reimplement item editing to have the same
1412 basic user interface as item insertion, and make small UI and
1413 larger internal improvements to the latter.
1414 (todo-insert-item): Add reference to the Todo mode user manual to
1415 the documentation string.
1416 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1417 adjust all callers. Change signature to combine diary and
1418 nonmarking arguments. Incorporate functionality of deleted item
1419 copying command and add error checking. Remove detailed
1420 descriptions of the arguments from the documentation string, since
1421 this is treated in the Todo mode user manual.
1422 (todo-copy-item, todo-edit-multiline-item)
1423 (todo-edit-done-item-comment, todo-edit-item-header)
1424 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1425 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1426 (todo-edit-item-date-year, todo-edit-item-date-month)
1427 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1429 (todo-edit-item): Reimplement as wrapper command for
1430 todo-edit-item--next-key and make it distinguish done and not done
1432 (todo-edit-item--text): New function, replacing old command
1433 todo-edit-item and incorporating deleted commands
1434 todo-edit-multiline-item and todo-edit-done-item-comment.
1435 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1436 Use only numeric value of prefix argument. Remove detailed
1437 descriptions of the arguments from the documentation string, since
1438 this is treated in the Todo mode user manual.
1439 (todo-edit-item--diary-inclusion): New function, replacing old
1440 command todo-edit-item-diary-inclusion and incorporating and fixing
1441 functionality of deleted command todo-edit-item-diary-nonmarking,
1442 making sure to remove todo-nondiary-marker when adding
1443 diary-nonmarking-symbol.
1444 (todo-edit-category-diary-inclusion): Make sure to delete
1445 diary-nonmarking-symbol when adding todo-nondiary-marker.
1446 (todo-edit-category-diary-nonmarking): Fix indentation.
1447 (todo-insert-item--parameters): Group diary and nonmarking
1448 parameters together.
1449 (todo-insert-item--apply-args): Adjust to signature of
1450 todo-insert-item--basic and incorporate copy parameter.
1451 Make small code improvements.
1452 (todo-insert-item--next-param): Improve prompt and adjust it to
1453 new parameter grouping. Remove obsolete code.
1454 (todo-edit-item--param-key-alist)
1455 (todo-edit-item--date-param-key-alist)
1456 (todo-edit-done-item--param-key-alist): New defconsts.
1457 (todo-edit-item--prompt): New variable.
1458 (todo-edit-item--next-key): New function.
1459 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1460 Remove bindings of deleted commands.
1462 2014-05-02 Leo Liu <sdl.web@gmail.com>
1464 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1466 2014-05-01 Glenn Morris <rgm@gnu.org>
1468 * allout-widgets.el (allout-widgets-tally)
1469 (allout-decorate-item-guides):
1470 * menu-bar.el (menu-bar-positive-p):
1471 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1472 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1473 * progmodes/js.el (js--inside-param-list-p)
1474 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1475 * progmodes/prolog.el (region-exists-p):
1476 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1477 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1478 Doc fixes (replace `iff').
1480 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1482 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1484 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1486 * dired.el (dired-initial-position-hook, dired-initial-position):
1489 2014-04-29 Glenn Morris <rgm@gnu.org>
1491 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1493 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
1495 * faces.el (face-spec-recalc): Apply X resources only after the
1496 defface spec has been applied. Thus, X resources are no longer
1497 overridden by the defface spec which also fixes issues on win32 where
1498 the toolbar coloring was wrong because it is set through X resources
1499 and was (wrongfully) overridden. (Bug#16694)
1501 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1503 * textmodes/rst.el (electric-pair-pairs): Declare.
1504 (rst-mode): Set it (bug#17131).
1506 2014-04-27 Juri Linkov <juri@jurta.org>
1508 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1509 and `print-level' to nil. (Bug#17351)
1511 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1513 * battery.el (battery-update): Handle the case where battery
1514 status is "N/A" (bug#17319).
1516 2014-04-24 Eli Zaretskii <eliz@gnu.org>
1518 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1519 Use equal-including-properties to compare help-echo strings (bug#17331).
1521 2014-04-24 Leo Liu <sdl.web@gmail.com>
1523 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1524 Fix syntax for @. (Bug#17325)
1526 2014-04-24 Daniel Colascione <dancol@dancol.org>
1528 * emacs-lisp/cl.el (gv): Require gv early to break eager
1529 macro-expansion cycles.
1531 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1533 * simple.el (region-active-p): Check there's a mark (bug#17324).
1535 * simple.el (completion-list-mode-map): Use choose-completion for the
1536 mouse binding as well (bug#17302).
1537 (completion-list-mode, completion-setup-function): Adjust docstring and
1538 echo area message accordingly.
1539 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1540 calling convention of choose-completion.
1541 * comint.el (comint-dynamic-list-completions):
1542 * term.el (term-dynamic-list-completions): Accept choose-completion.
1544 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1545 &, |, +, - and * can't be a division (bug#17317).
1547 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1549 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1550 features on gnome-terminal (bug#16988).
1552 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1554 * dired.el (dired-insert-set-properties): Do not consider
1555 subdirectory headings and empty lines to be information that
1556 `dired-hide-details-mode' should hide. (Bug#17228)
1558 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1560 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1561 Remove test messages.
1562 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1565 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1567 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1568 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1570 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1572 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
1574 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1575 Set "IFS=" when using read builtin, in order to preserve spaces in
1576 the file name. Add test messages for hunting a bug on hydra.
1577 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1579 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1581 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1582 Don't prettify a word within a symbol.
1584 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
1586 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1589 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1591 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1592 assignments such as "case=hello" (bug#17297).
1594 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1596 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1598 (tramp-file-name-handler, tramp-completion-file-name-handler):
1599 Revert patch from 2014-04-10, it isn't necessary anymore.
1600 (tramp-autoload-file-name-handler)
1601 (tramp-register-autoload-file-name-handlers): New defuns.
1602 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1603 (tramp-register-file-name-handlers): Remove also
1604 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1605 Do not autoload its invocation, but eval it after loading of 'tramp.
1607 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1609 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1611 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1613 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
1614 was done (bug#17264).
1615 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
1618 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1619 here-documents (bug#17262).
1621 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1623 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1624 Provide doc strings, as required by snarf-documentation.
1626 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1628 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1629 arg of overlays-at. Use `invisible-p'.
1631 * obsolete/lucid.el (extent-at):
1632 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1634 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1636 2014-04-14 João Távora <joaotavora@gmail.com>
1638 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1641 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1643 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1644 Use mapc to loop over a vector. (Bug#17257).
1646 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
1648 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1649 patch, there are new problems with file names containing spaces.
1650 Get rid of backticks. (Bug#17238)
1652 2014-04-13 João Távora <joaotavora@gmail.com>
1654 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1657 2014-04-13 Eli Zaretskii <eliz@gnu.org>
1659 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1660 (blink-cursor-mode): Mention customization variables and the
1661 effect of 'blink-cursor-blinks'.
1663 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
1665 * simple.el (undo): Prevent insertion of identity mapping into
1666 undo-equiv-table so as undo-only does not inf loop in the presence
1667 of consecutive nils in undo list.
1669 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1671 * faces.el (make-face): Deprecate optional argument as it is no
1672 longer needed/used since the conditional X resources handling
1673 has been pushed down to make-face-x-resource-internal itself.
1674 (make-empty-face): Don't pass optional argument to make-face.
1676 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1678 * international/characters.el <standard-case-table>: Add entries
1679 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1680 Set category of Coptic characters be 'g' (Greek).
1682 2014-04-12 Leo Liu <sdl.web@gmail.com>
1684 * progmodes/octave.el (completion-table-with-cache): Define if not
1686 (octave-goto-function-definition)
1687 (octave-sync-function-file-names)
1688 (octave-find-definition-default-filename): Backquote upattern for
1691 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1693 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1694 name twice due to backticks. (Bug#17238)
1696 2014-04-11 Glenn Morris <rgm@gnu.org>
1698 * term/w32-win.el (x-win-suspend-error):
1699 * term/x-win.el (x-win-suspend-error): Sync docs.
1701 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1703 Ediff's overlay priorities cause more trouble than they solve.
1704 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1705 (ediff-highest-priority): Remove function (bug#17234).
1706 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1707 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1708 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1711 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
1713 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1714 entry; use symbol boundaries to avoid mis-matches.
1716 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
1718 * net/tramp.el (tramp-file-name-handler)
1719 (tramp-completion-file-name-handler): Avoid recursive loading.
1721 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1722 Quote result also locally.
1724 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1726 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1727 Module methods. (Bug#17216)
1729 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1731 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1732 (describe-bindings-internal): Mark obsolete.
1734 2014-04-07 João Távora <joaotavora@gmail.com>
1737 (electric-pair--syntax-ppss): When inside comments parse from
1739 (electric-pair--balance-info): Fix typo in comment.
1740 (electric-pair--in-unterminated-string-p): Delete.
1741 (electric-pair--unbalanced-strings-p): New function.
1742 (electric-pair-string-bound-function): New var.
1743 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1744 according to `electric-pair--in-unterminated-string-p'
1746 2014-04-07 João Távora <joaotavora@gmail.com>
1748 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1749 Inhibit quote pairing if point-max is inside an unterminated string.
1750 (electric-pair--looking-at-unterminated-string-p): Delete.
1751 (electric-pair--in-unterminated-string-p): New function.
1753 2014-04-07 Glenn Morris <rgm@gnu.org>
1755 * shell.el (shell-directory-tracker):
1756 Go back to just ignoring failures. (Bug#17159)
1758 2014-04-06 João Távora <joaotavora@gmail.com>
1760 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1761 backspace. (bug#16981)
1762 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1763 (electric-pair-backward-delete-char-untabify): Delete.
1764 (electric-pair-mode-map): Bind backspace to a menu item filtering
1765 a new `electric-pair-delete-pair' command.
1766 (electric-pair-delete-pair): New command.
1768 2014-04-06 João Távora <joaotavora@gmail.com>
1770 * progmodes/python.el (python-electric-pair-string-delimiter):
1771 Fix triple-quoting electricity. (Bug#17192)
1773 2014-04-06 João Távora <joaotavora@gmail.com>
1775 * elec-pair.el (electric-pair-post-self-insert-function):
1776 Don't skip whitespace when `electric-pair-text-pairs' and
1777 `electric-pair-pairs' were used. syntax to
1778 electric-pair--skip-whitespace. (Bug#17183)
1780 2014-04-06 Eli Zaretskii <eliz@gnu.org>
1782 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1785 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1787 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1788 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1790 2014-04-05 Glenn Morris <rgm@gnu.org>
1792 * help.el (view-lossage): Doc tweak.
1794 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
1796 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1797 only when inhibit-x-resources is nil, and do that earlier in the
1798 function. Doc fix. (Bug#16694)
1799 (face-spec-choose): Accept additional optional argument, whose
1800 value is returned if no matching attributes are found.
1801 (face-spec-recalc): Use the new optional argument when calling
1802 face-spec-choose. (Bug#16378)
1803 (make-face-x-resource-internal): Do nothing when
1804 inhibit-x-resources is non-nil. Don't touch the default face if
1805 reversed video is given--as was done in previous versions of Emacs.
1806 (face-set-after-frame-default): Don't call
1807 make-face-x-resource-internal here. (Bug#16434)
1809 2014-04-04 Tassilo Horn <tsdh@gnu.org>
1811 * doc-view.el (doc-view-bookmark-jump):
1812 Use `bookmark-after-jump-hook' to jump to the right page after the
1813 buffer is shown in a window. (bug#16090)
1815 2014-04-04 Eli Zaretskii <eliz@gnu.org>
1817 * international/characters.el (mirroring): Fix last change:
1818 instead of loading uni-mirrored.el explicitly, do that implicitly
1819 by creating the 'mirroring' uniprop table. This avoids announcing
1820 the loading of uni-mirrored.el.
1822 2014-04-04 Glenn Morris <rgm@gnu.org>
1824 * files.el (buffer-stale--default-function)
1825 (buffer-stale-function, revert-buffer--default):
1826 * autorevert.el (auto-revert-buffers): Doc tweaks.
1828 2014-04-03 Eli Zaretskii <eliz@gnu.org>
1830 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1832 2014-04-03 Glenn Morris <rgm@gnu.org>
1834 * files.el (make-backup-file-name-function)
1835 (make-backup-file-name, make-backup-file-name--default-function)
1836 (make-backup-file-name-1, find-backup-file-name)
1837 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1838 (buffer-stale--default-function, buffer-stale-function)
1839 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1840 (revert-buffer, revert-buffer--default)
1841 (revert-buffer-insert-file-contents--default-function):
1842 Doc fixes related to defaults no longer being nil.
1843 (make-backup-file-name-function): Bump :version.
1844 Restore nil as a valid but deprecated custom type.
1846 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1848 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
1849 used as a variable (bug#17174).
1851 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1853 * progmodes/perl-mode.el (perl-indent-new-calculate):
1854 Handle forward-sexp failure (bug#16985).
1855 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1856 modifiers introducing expressions (bug#17116).
1858 2014-04-02 Glenn Morris <rgm@gnu.org>
1860 * menu-bar.el (menu-bar-file-menu):
1861 * vc/ediff.el (ediff-current-file):
1862 Update for revert-buffer-function no longer being nil by default.
1864 * simple.el (command-execute): Respect nil disabled-command-function.
1866 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1868 * simple.el (command-execute): Do not execute the command when it
1869 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1871 2014-03-29 Juri Linkov <juri@jurta.org>
1873 * dired-aux.el (dired-compress-file): Don't use string-match-p
1874 because its match data is used afterwards.
1876 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1878 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1881 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1883 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1884 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1886 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1887 Don't propertize `?' or `!' as symbol constituent when after
1890 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1892 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1893 which is no longer needed and causes trouble in GTK builds (bug#17046).
1895 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1896 Use url-insert-file-contents; package-handle-response no longer exists.
1898 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1900 * emacs-lisp/package.el: Fix bug#16733 (again).
1901 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1902 (url-http-target-url): Remove unused declarations.
1903 (package-handle-response): Remove.
1904 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1905 (package--download-one-archive): Use current-buffer instead of
1906 dynamic binding of `buffer'.
1907 (describe-package-1): Do not decode readme-string.
1909 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
1911 * simple.el (primitive-undo): Correction to 2014-03-24 change.
1913 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
1915 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1917 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1918 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1919 `remote-file-name-inhibit-cache' to nil in the second pass.
1920 (tramp-find-executable): Do not call "which" on SunOS.
1921 (tramp-send-command-and-check): Fix docstring.
1922 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1923 check whether source directory has set the sticky bit.
1925 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
1927 * simple.el (primitive-undo): Only process marker adjustments
1928 validated against their corresponding (TEXT . POS). Issue warning
1929 for lone marker adjustments in undo history. (Bug#16818)
1930 (undo-make-selective-list): Add marker adjustments to selective
1931 undo list based on whether their corresponding (TEXT . POS) is in
1932 the region. Remove variable adjusted-markers, which was unused
1933 and only non nil during undo-make-selective-list.
1934 (undo-elt-in-region): Return nil when passed a marker adjustment
1935 and explain in function doc.
1937 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1939 * emacs-lisp/package.el (package--add-to-archive-contents):
1940 Include already installed and built-in packages in
1941 `package-archive-contents'.
1942 (package-install): Don't include already installed packages in the
1943 options during interactive invocation. (Bug#16762)
1945 2014-03-24 Daniel Colascione <dancol@dancol.org>
1947 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1948 instead of cl-loop search function.
1950 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
1952 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1954 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1956 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1958 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1960 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1961 Match special global variables without curlies, too.
1962 (ruby-font-lock-keywords): Simplify the matcher for special global
1963 variables. Don't require a non-word character after the variable.
1966 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1968 * simple.el (redisplay-highlight-region-function): Increase priority of
1969 overlay to make sure boundaries are visible (bug#15899).
1971 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1973 * frameset.el (frameset-restore): Compare display strings with equal.
1975 * frame.el (make-frame): Don't quote display name in error message,
1976 it is already a string.
1978 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1980 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1983 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
1985 * emacs-lisp/package.el (package-show-package-list): If the buffer
1986 is already displayed in another window, switch to that window.
1988 2014-03-21 Daniel Colascione <dancol@dancol.org>
1990 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1991 information in bug reports.
1993 2014-03-23 Daniel Colascione <dancol@dancol.org>
1995 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1996 list to look for keyword arguments instead of `memq', fixing
1997 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1998 Please make bootstrap.
2000 2014-03-23 Richard Stallman <rms@gnu.org>
2002 * battery.el (battery-linux-sysfs): Search for each field
2003 from the beginning of the buffer.
2005 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2007 * emacs-lisp/package.el (package-desc): Use the contents of the
2008 quoted form, not its cdr. (Bug#16873)
2010 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2012 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2013 benefit of doc.c; change parameter profile to match the X function.
2015 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2017 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2018 and `tramp-copy-env'.
2020 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2021 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2023 2014-03-21 Glenn Morris <rgm@gnu.org>
2025 * electric.el (electric-indent-post-self-insert-function): Add doc.
2027 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2029 * emacs-lisp/package.el (package-compute-transaction):
2030 Use `version-list-<=' to compare the requirement version against
2031 the version of package already to be installed. Update the error
2032 message. (Bug#16826)
2034 * progmodes/ruby-mode.el (ruby-smie-rules):
2035 Add indentation rule for ` @ '. (Bug#17050)
2037 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2039 * align.el (align-regexp): Remove superfluous backslash.
2041 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2042 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2043 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2044 Fix docstring typos.
2045 (ffap-next): Use C-u in docstring.
2046 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2047 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2048 Remove superfluous backslashes.
2049 (ffap-string-at-point): Reflow docstring.
2051 * server.el (server-host): Reflow docstring.
2052 (server-unload-function): Fix docstring typo.
2053 (server-eval-at): Remove superfluous backslash.
2055 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2056 (skeleton-insert): Doc fix.
2057 (skeleton-insert): Reflow docstring.
2059 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2060 (tty-color-approximate, tty-color-by-index, tty-color-values)
2061 (tty-color-desc): Remove superfluous backslashes.
2063 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2065 * electric.el (electric-newline-and-maybe-indent): New command.
2066 Bind it globally to C-j.
2067 (electric-indent-mode): Don't mess with the global map any more.
2068 Don't drop the post-self-insert-hook is some buffer is still using it
2071 * bindings.el (global-map): Remove C-j binding.
2073 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2074 the docstring of functions advised before dumping (bug#16993).
2076 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2078 * ps-print.el (ps-generate-postscript-with-faces):
2079 Explicitly deactivate the mark (bug#16866).
2080 * simple.el (deactivate-mark): Update region highlight.
2082 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2084 * emacs-lisp/package.el (describe-package-1):
2085 Decode commentary (bug#16733).
2087 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2089 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2090 modification of the value argument of :set (bug#16755).
2092 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2094 * simple.el (newline-and-indent): Do autofill (bug#17031).
2096 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2098 * newcomment.el (comment-normalize-vars): Only add escaping check
2099 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2100 (comment-beginning): Use `narrow-to-region' instead of moving back
2102 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2103 (comment-start-skip): Update the docstring.
2105 2014-03-18 Richard Stallman <rms@gnu.org>
2107 * dired.el (dired-display-file): Force use of other window.
2109 2014-03-18 Daniel Colascione <dancol@dancol.org>
2111 * startup.el (tty-handle-args): Remove debug message from 2007.
2113 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2115 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2116 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2117 (advice--make-1, advice-add, advice-remove):
2118 Remove braindead :advice-pending hack.
2120 2014-03-17 Glenn Morris <rgm@gnu.org>
2122 * calendar/calendar.el (calendar-generate-month): Apply weekend
2123 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2125 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2127 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2128 (tramp-call-process): Trace also DESTINATION.
2130 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2131 Quote file names when they are local. Remove superfluous trace.
2133 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2135 * newcomment.el (comment-beginning): If `comment-start-skip'
2136 doesn't match, move back one char and try again. (Bug#16971)
2138 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2139 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2140 Set `comment-start-skip' to a simpler value that doesn't try to
2141 check if the semicolon is escaped (this is handled by
2142 `syntax-ppss' now). (Bug#16971)
2144 * progmodes/scheme.el (scheme-mode-variables): Same.
2146 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2148 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2149 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2150 current (Bug#16816, Bug#17007).
2151 (with-current-buffer-window): New macro doing the same as
2152 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2153 * help.el (help-print-return-message): Warn in doc-string to not
2154 use this in `with-help-window'.
2155 (describe-bindings-internal): Call `describe-buffer-bindings'
2156 from within help buffer. See Juanma's scenario in (Bug#16816).
2157 (with-help-window): Update doc-string.
2158 * dired.el (dired-mark-pop-up):
2159 * files.el (save-buffers-kill-emacs):
2160 * register.el (register-preview): Use `with-current-buffer-window'
2161 instead of `with-temp-buffer-window'.
2163 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2165 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2166 Implement inserting into current buffer, documented in their docstrings.
2167 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2168 (rst-section-tree-point, rst-forward-section, rst-indent)
2169 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2170 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2171 (rst-font-lock-handle-adornment-pre-match-form)
2172 (rst-repeat-last-character): Reflow docstrings.
2173 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2174 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2175 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2176 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2177 Fix docstring typos.
2178 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2179 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2180 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2182 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2184 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2185 for compatibility with other ports.
2186 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2187 from the -xrm command line argument, but in the Nextstep port its value
2188 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2190 * progmodes/python.el (defconst, python-syntax-count-quotes)
2191 (python-indent-region, python-indent-shift-right)
2192 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2193 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2194 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2195 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2196 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2197 (python-shell-buffer-substring, python-shell-send-buffer)
2198 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2199 (python-completion-complete-at-point, python-fill-docstring-style)
2200 (python-eldoc-function, python-imenu-format-item-label)
2201 (python-imenu-format-parent-item-label)
2202 (python-imenu-format-parent-item-jump-label)
2203 (python-imenu--build-tree, python-imenu-create-index)
2204 (python-imenu-create-flat-index): Fix docstring typos.
2205 (python-indent-context, python-shell-prompt-regexp, run-python):
2206 Remove superfluous backslashes.
2207 (python-indent-line, python-nav-beginning-of-defun)
2208 (python-shell-get-buffer, python-shell-get-process)
2209 (python-info-current-defun, python-info-current-line-comment-p)
2210 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2211 (python-indent-post-self-insert-function, python-shell-send-file)
2212 (python-shell-completion-get-completions)
2213 (python-shell-completion-complete-or-indent)
2214 (python-eldoc--get-doc-at-point): Reflow docstrings.
2216 2014-03-14 Glenn Morris <rgm@gnu.org>
2218 * emacs-lisp/package.el (package-menu-mode-map):
2219 Replace use of obsolete function alias. Tweak menu item text.
2221 * info.el (Info-finder-find-node):
2222 Ignore the `emacs' metapackage. (Bug#10813)
2224 * finder.el (finder-list-matches): Include unversioned packages
2225 in the result of a keyword search.
2227 * finder.el (finder--builtins-descriptions): New constant.
2228 (finder-compile-keywords): Use finder--builtins-descriptions.
2230 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2232 * simple.el (blink-matching-paren): Describe the new value,
2233 `jump', enabling the old behavior.
2234 (blink-matching-open): Use that value. (Bug#17008)
2236 2014-03-14 Glenn Morris <rgm@gnu.org>
2238 * finder.el (finder-no-scan-regexp): Add leim-list.
2239 (finder-compile-keywords):
2240 Don't skip files with same basename. (Bug#14010)
2241 * Makefile.in (setwins_finder): New, excluding leim.
2242 (finder-data): Use setwins_finder.
2244 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2245 (help-function-arglist, help-make-usage): Move from here...
2246 * help.el (help-split-fundoc, help-add-fundoc-usage)
2247 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2248 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2250 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2252 * net/socks.el (socks, socks-override-functions)
2253 (socks-find-services-entry):
2254 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2255 (hif-find-ifdef-block):
2256 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2258 * net/tls.el (tls-program): Reflow docstring.
2260 * progmodes/pascal.el (pascal-mode-abbrev-table)
2261 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2262 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2263 (pascal-outline-mode): Fix docstring typos.
2264 (pascal-mode): Let define-derived-mode document mode hook.
2265 (pascal-uncomment-area): Reflow.
2266 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2268 * progmodes/opascal.el (opascal-compound-block-indent)
2269 (opascal-case-label-indent): Fix docstring typos.
2270 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2272 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2274 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2275 Fontify multiple adjacent negation chars. (Bug#17004)
2277 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2279 * emacs-lisp/package.el (package--prepare-dependencies):
2280 Accept requirements without explicit version (bug#14941).
2282 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2284 * register.el (register-separator, copy-to-register): Doc fixes.
2285 (register-preview-default): Remove unnecessary call to concat.
2287 * frameset.el (frameset-restore): When checking for a visible frame,
2288 use the action map instead of calling visible-frame-list.
2290 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2292 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2294 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2296 * window.el (fit-frame-to-buffer): Get maximum width from
2297 display's width instead of height.
2299 2014-03-12 Glenn Morris <rgm@gnu.org>
2301 * desktop.el (desktop-restore-frames)
2302 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2303 (desktop-restore-reuses-frames): Doc tweaks.
2305 * electric.el (electric-indent-mode): Doc fix.
2307 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2309 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2310 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2311 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2312 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2313 (cvs-dired-use-hook): Fix docstring typos.
2314 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2317 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2318 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2319 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2320 (cvs-execute-single-dir): Fix docstring typos.
2322 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2323 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2325 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2327 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2328 Fix docstring typos.
2330 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2332 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2333 called from jump-to-register after unloading the frameset package.
2335 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2337 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2338 (bug#16975). Deactivate the mark before setting it to nil.
2339 (activate-mark): Do nothing if region is already active.
2341 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2343 * frameset.el (frameset--target-display): Remove definition; declare.
2344 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2346 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2348 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2349 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2350 when the advice is pending.
2351 (advice-remove): Remove this marker when not needed any more.
2353 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2355 * frameset.el: Separate options for reusing frames and cleaning up.
2356 (frameset--reuse-list): Remove definition; declare.
2357 (frameset--action-map): Declare.
2358 (frameset--find-frame-if): Doc fix.
2359 (frameset--restore-frame): Cache frame action.
2360 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2361 how to clean up the frame list after restoring. Remove cleaning
2362 options from REUSE-FRAMES. Change all keyword values to symbols.
2363 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2365 * desktop.el (desktop-restore-forces-onscreen)
2366 (desktop-restore-reuses-frames): Use non-keyword values.
2367 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2369 2014-03-10 Glenn Morris <rgm@gnu.org>
2371 * files.el (find-file): Doc fix: update info node name.
2373 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2374 Doc fix: remove references to deleted info nodes.
2376 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2378 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2379 Do not add `nil' to the environment, when there's no remote `locale'.
2380 (tramp-find-inline-encoding): Check, that the remote host has
2381 installed perl, before sending scripts.
2383 2014-03-10 Leo Liu <sdl.web@gmail.com>
2385 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2386 Clear eldoc-last-message. (Bug#16920)
2388 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2390 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2393 2014-03-09 Juri Linkov <juri@jurta.org>
2395 * ansi-color.el (ansi-color-names-vector): Copy default colors
2396 from `xterm-standard-colors' that look well on the default white
2397 background (and also on the black background) to avoid illegible
2398 color combinations like yellow-on-white and white-on-white.
2399 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2401 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2403 * frameset.el (frameset-restore): When no frame is visible, do not
2404 generate a list of frames, just make visible the selected one.
2406 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2408 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2409 it only contains the repository root. (Bug#16897)
2411 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2413 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2414 only when `remote-file-name-inhibit-cache' is nil.
2415 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2417 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2419 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2421 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2422 fit-frame-to-buffer variable. Fix doc-string.
2423 (fit-window-to-buffer): Set ONLY argument in call of
2424 fit-frame-to-buffer. Fix doc-string.
2426 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2428 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2429 (tramp-action-password): Clear password cache if needed.
2430 (tramp-read-passwd): Do not clear password cache.
2432 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2433 cache unless it is the first password request.
2435 2014-03-06 Glenn Morris <rgm@gnu.org>
2437 * simple.el (newline): Doc tweak.
2439 * emacs-lisp/shadow.el (load-path-shadows-find):
2440 Ignore dir-locals. (Bug#12357)
2442 2014-03-05 Glenn Morris <rgm@gnu.org>
2444 * files.el (interpreter-mode-alist):
2445 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2447 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2449 * frameset.el (frameset--initial-params): Filter out null entries.
2451 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2453 * window.el (window-min-height, window-min-width):
2454 Rewrite doc-strings.
2455 (window-body-size): Add PIXELWISE argument to make it consistent
2458 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2460 * finder.el (finder-mode-map, finder-mode-syntax-table):
2461 Revert part of 2014-02-28 change.
2463 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2465 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2466 (eww-setup-buffer): Clear next/prev/etc more reliably.
2467 (eww-textarea-map): [tab] doesn't work on tty.
2468 Reported by Mario Lang.
2470 * net/shr.el (shr-map): Ditto.
2472 2014-03-04 Glenn Morris <rgm@gnu.org>
2474 * minibuffer.el (completion-hilit-commonality):
2475 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2477 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2479 * hilit-chg.el (hilit-chg-unload-function): New function.
2480 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2481 (hilit-chg-map-changes): Prefer cardinal number to digit.
2482 (hilit-chg-display-changes): Reflow docstring.
2483 (highlight-changes-rotate-faces): Remove superfluous backslash.
2485 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2487 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2488 `tramp-send-command-and-check'.
2490 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2492 * hexl.el (hexl-address-region, hexl-ascii-region)
2493 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2494 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2495 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2496 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2497 (hexl-mode): Doc fix.
2498 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2499 (hexl-mode-ruler): Fix typos in docstrings.
2501 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2502 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2503 Remove superfluous backslashes.
2504 (strokes-last-stroke, strokes-global-map, strokes-mode):
2506 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2507 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2508 (strokes-distance-squared, strokes-global-set-stroke)
2509 (strokes-global-set-stroke-string): Doc fixes.
2510 (strokes-help): Fix typos; reflow docstring.
2512 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2514 * window.el (window-in-direction): Fix doc-string.
2516 2014-03-04 Glenn Morris <rgm@gnu.org>
2518 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2519 Explicit error if no grammar.
2520 (smie-config-save): Doc fix. Fix quote typo.
2522 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2524 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2525 electric-indent-mode-hook if we obey electric-indent-mode.
2526 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2527 decide whether we obey electric-indent-mode.
2528 (c-change-set-fl-decl-start, c-extend-after-change-region):
2530 (c-electric-indent-mode-hook): Assume we do want to obey
2531 electric-indent-mode.
2533 * electric.el (electric-indent-mode-has-been-called): Remove.
2534 (electric-indent-mode): Fix accordingly.
2536 * files.el (hack-local-variables): Mention file name in warning.
2538 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2540 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2542 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2543 * simple.el (delete-forward-char): Mark as interactive-only.
2545 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2547 * icomplete.el (icomplete-completions):
2548 Follow-up to 2014-03-01 change.
2550 * icomplete.el: Miscellaneous doc fixes.
2551 Use Icomplete everywhere instead of icomplete for consistency.
2552 (icomplete-max-delay-chars): Fix typo.
2553 (icomplete-mode): Use \[].
2554 (icomplete-tidy, icomplete-exhibit): Reflow.
2555 (icomplete-minibuffer-setup-hook, icomplete-completions):
2556 Remove superfluous backlashes.
2558 * ido.el: Miscellaneous doc fixes.
2559 Use Ido everywhere instead of ido or `ido' for consistency.
2560 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2561 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2562 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2563 (ido-separator): Extract obsolescence info from docstring and declare
2564 with make-obsolete-variable.
2565 (ido-minibuffer-setup-hook): Simplify example.
2566 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2567 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2568 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2569 (ido-everywhere): Reflow docstring.
2570 (ido-toggle-vc): Doc fix.
2571 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2572 of long list of keybindings.
2574 2014-03-03 Glenn Morris <rgm@gnu.org>
2576 * frame.el (display-pixel-height, display-pixel-width)
2577 (display-mm-dimensions-alist, display-mm-height)
2578 (display-mm-width): Doc tweaks.
2580 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2582 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2583 case of undo in region.
2585 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2587 * window.el (fit-window-to-buffer): Fix argument in window-size
2588 call when window is horizontally combined.
2590 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2592 * icomplete.el (icomplete-completions): Use string-width.
2593 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2595 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2597 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2598 Highlight regexp options. (Bug#16914)
2600 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2602 * window.el (window--max-delta-1): Round down when calculating
2603 how many lines/columns we can get from a window.
2605 2014-03-01 Glenn Morris <rgm@gnu.org>
2607 * isearch.el (search-invisible): Doc fix.
2609 * minibuffer.el (completion-hilit-commonality):
2610 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2611 * comint.el (comint-dynamic-list-completions): Doc fix.
2612 * comint.el (comint-dynamic-list-completions):
2613 * filecache.el (file-cache-minibuffer-complete):
2614 * tempo.el (tempo-display-completions):
2615 * eshell/em-hist.el (eshell-list-history):
2616 Replace use of obsolete argument of display-completion-list.
2618 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2620 * icomplete.el (icomplete-completions):
2621 Revert back to using "..." when ?… cannot be displayed.
2623 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2625 * finder.el (finder-unload-function): New function.
2627 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2629 * dframe.el (dframe-detach):
2630 * find-dired.el (find-dired, find-name-dired):
2631 * finder.el (finder-mode-map, finder-mode-syntax-table)
2632 (finder-headmark, finder-select, finder-mouse-select):
2633 Fix docstring typos.
2635 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2637 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2638 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2639 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2640 Fix doc-string based on a suggestion by Nicolas Richard
2641 <theonewiththeevillook@yahoo.fr>.
2642 * help.el (with-help-window): Fix doc-string.
2644 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2646 * net/shr.el (shr-image-animate): New option.
2647 (shr-put-image): Respect shr-image-animate.
2649 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2651 * net/tramp-adb.el (tramp-adb-parse-device-names):
2652 Use `accept-process-output'.
2653 (tramp-adb-handle-file-truename): Cache the localname only.
2654 (tramp-adb-handle-make-directory)
2655 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2656 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2657 modes cannot be changed.
2659 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2660 file properties of symlinks.
2662 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2664 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2665 required/optional fields to match development biblatex. (Bug#16781)
2667 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2669 * saveplace.el (toggle-save-place):
2670 Fix argument handling. (Bug#16673)
2672 2014-02-28 Glenn Morris <rgm@gnu.org>
2674 * minibuffer.el (completions-first-difference)
2675 (completions-common-part, completion-hilit-commonality): Doc fixes.
2677 2014-02-28 Karl Berry <karl@gnu.org>
2679 * info.el (Info-mode-map): Add H for describe-mode,
2680 to synchronize with standalone Info.
2682 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2684 * progmodes/sql.el (sql-interactive-mode):
2685 Avoid setting global comint-input-ring-separator. (Bug#16814)
2687 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2689 * net/dbus.el (dbus--init-bus): Declare function.
2690 (dbus-path-local, dbus-interface-local): New defconst.
2691 (dbus-init-bus): Use them.
2692 (dbus-return-values-table): Extend doc.
2693 (dbus-handle-bus-disconnect): Extend error message.
2695 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2697 * subr.el (y-or-n-p): Fix double space issue in message.
2699 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2701 * net/tramp.el (tramp-call-process): Improve trace message.
2702 (tramp-handle-insert-file-contents): Trace error case.
2704 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2705 <insert-directory>: Use `tramp-handle-insert-directory'.
2706 (tramp-adb-handle-insert-directory): Remove function.
2707 (tramp-adb-send-command-and-check): New defun, replacing
2708 `tramp-adb-command-exit-status'. Change all callees.
2709 (tramp-adb-handle-file-attributes)
2710 (tramp-adb-handle-directory-files-and-attributes): Use it.
2711 (tramp-adb-ls-output-name-less-p):
2712 Use `directory-listing-before-filename-regexp'.
2713 (tramp-adb-handle-delete-directory): Flush also file properties of
2714 the truename of directory.
2715 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2716 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2717 (tramp-adb-handle-write-region): Implement APPEND.
2718 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2719 properties correctly.
2720 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2721 variables. Check for connected devices only when needed.
2723 2014-02-27 Glenn Morris <rgm@gnu.org>
2725 * minibuffer.el (completion-table-dynamic)
2726 (completion-table-with-cache): Doc fixes.
2728 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2729 (completing-read-multiple): Doc fixes.
2731 2014-02-27 Daniel Colascione <dancol@dancol.org>
2733 * minibuffer.el (completion--nth-completion): Fix indentation.
2735 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2736 explicit tramp path is empty.
2738 2014-02-27 Glenn Morris <rgm@gnu.org>
2740 * emacs-lisp/crm.el (completing-read-multiple):
2741 Empower help-enable-auto-load.
2743 2014-02-26 Glenn Morris <rgm@gnu.org>
2745 * startup.el (command-line): Don't init the tty in daemon mode.
2747 Avoid calling tty-setup-hook twice, eg if a term file
2748 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2749 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2750 (tty-create-frame-with-faces): Use it.
2751 * startup.el (command-line): Pass run-hook argument
2752 to tty-run-terminal-initialization.
2754 * dired.el (dired-restore-desktop-buffer): Demote errors;
2755 eg in case a glob match fails. (Bug#16884)
2757 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2759 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2760 error from `read-from-string'. (Bug#16850)
2762 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2763 result of `completing-read' in the interactive form. (Bug#16854)
2765 2014-02-25 Glenn Morris <rgm@gnu.org>
2767 * image.el (image-animate, image-animate-timeout):
2768 Stop animating images in dead buffers. (Bug#16878)
2770 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2772 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2774 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2775 * term/sun.el (sun-raw-prefix-hooks):
2776 Use tty-setup-hook instead of term-setup-hook.
2777 (terminal-init-sun): Construct message from bytecomp plist.
2778 * term/wyse50.el (enable-arrow-keys): Doc fix.
2780 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2782 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2783 Fix docstring typos.
2785 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2787 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2789 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2791 * minibuffer.el (completion--try-word-completion):
2792 Fix error when completing M-x commands (bug#16808).
2794 2014-02-24 Leo Liu <sdl.web@gmail.com>
2796 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2798 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2800 * apropos.el (apropos-print): Avoid formatting error when
2801 apropos-do-all and apropos-compact-layout are both t.
2803 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2805 * apropos.el (apropos-property, apropos-all-words-regexp)
2806 (apropos-true-hit, apropos-variable, apropos-print):
2807 Fix docstring typos, and remove obsolete comment.
2809 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2811 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2812 Preserve trailing "/". (Bug#16851)
2814 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2816 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2817 after `=>' (bug#16811).
2818 (ruby-smie-rules): Handle the inconsistent second element of the
2819 list returned by `smie-indent--parent'.
2820 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2823 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2825 * elec-pair.el (electric-pair-text-syntax-table)
2826 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2827 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2828 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2829 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2831 2014-02-22 Glenn Morris <rgm@gnu.org>
2833 * imenu.el (imenu--generic-function): Doc fix.
2835 * register.el (frame-configuration-to-register): Make obsolete.
2837 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2839 * desktop.el (desktop-save-buffer-p): Do not fail when
2840 desktop-files-not-to-save is nil. Return t for true result
2843 2014-02-22 Daniel Colascione <dancol@dancol.org>
2845 * net/secrets.el (secrets-create-item, secrets-search-items):
2846 Check that attribute values are strings, avoiding the construction
2847 of invalid dbus messages.
2849 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2851 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2852 defun-declarations-alist.
2854 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2856 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2859 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2861 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2862 (whitespace-newline, whitespace-trailing, whitespace-line)
2863 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2864 (whitespace-space-after-tab): Fix typo in docstrings.
2866 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2868 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2870 * electric.el (electric-indent-functions-without-reindent):
2871 Add `yaml-indent-line'.
2873 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2875 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2876 It has done nothing for years; should be removed after the release.
2878 * simple.el (choose-completion): Fix docstring typo.
2879 (read-quoted-char-radix): Remove unneeded * in docstring.
2880 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2881 Don't escape parentheses unnecessarily in docstrings.
2883 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2885 Fix handling of window-min-height/-width (Bug#16738).
2886 * window.el (window--dump-window, window--dump-frame):
2888 (window--min-size-1): Account for window dividers.
2889 When window-resize-pixelwise is nil, delay rounding till after the
2890 sum of the window components has been calculated.
2891 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2892 nil make sure at least one text line and two text columns remain
2894 (window-resize): Signal an error when window-resize-apply fails.
2895 (window--resize-child-windows): Fix calculation of by how many
2896 pixels a window can still be shrunk via window-new-normal.
2897 (adjust-window-trailing-edge): Call window--resizable with
2898 correct TRAIL argument.
2900 (with-temp-buffer-window): Don't evaluate BODY within
2901 with-current-buffer (Bug#16816).
2903 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2905 * net/tramp.el (tramp-check-cached-permissions):
2906 Call `file-attributes' with `suffix' being a symbol but a string.
2908 2014-02-21 Daniel Colascione <dancol@dancol.org>
2910 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2911 (dbus-init-bus): New function: call into dbus-init-bus-1
2912 and installs a handler for the disconnect signal.
2913 (dbus-call-method): Rewrite to look for result in cons.
2914 (dbus-call-method-handler): Store result in cons.
2915 (dbus-check-event): Recognize events with nil sender as valid.
2916 (dbus-handle-bus-disconnect): New function. React to bus
2917 disconnection signal by synthesizing dbus error for each
2918 pending synchronous or asynchronous call.
2919 (dbus-notice-synchronous-call-errors): New function.
2920 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2921 is true, not all the time.
2923 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2925 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2926 Remove obsolescence declarations, these variables do not exist anymore.
2928 * savehist.el (savehist-save-minibuffer-history)
2929 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2930 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2931 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2932 mostly, refer to "Savehist mode" when talking about the mode,
2933 and not the function.
2935 * saveplace.el (save-place): Remove redundant info in docstring.
2936 (save-place-forget-unreadable-files, toggle-save-place)
2937 (save-place-forget-unreadable-files, save-place-dired-hook):
2938 Fix typos and remove unneeded backslashes.
2940 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2942 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2943 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2945 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2946 <insert-directory>: Use `tramp-handle-insert-directory'.
2947 (tramp-gvfs-handle-insert-directory): Remove function.
2949 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2950 Call `tramp-handle-insert-directory'.
2952 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2954 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2955 before the start of buffer/region (bug#16799).
2957 2014-02-20 Glenn Morris <rgm@gnu.org>
2959 * isearch.el (search-invisible): Doc fix.
2961 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2963 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2966 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2968 * frameset.el (frameset-restore): Delay removing an old frame's
2969 duplicate id until the new frame has been correctly created.
2971 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2973 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2974 (tramp-check-cached-permissions): Call `file-attributes' if the
2977 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2978 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2980 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2981 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2982 (tramp-gvfs-maybe-open-connection): Set always connection
2983 properties, even if target is mounted already.
2985 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2986 Set tramp-autoload cookie.
2987 (tramp-get-remote-touch): New defun.
2988 (tramp-sh-handle-set-file-times): Use it.
2989 (tramp-sh-handle-directory-files-and-attributes):
2990 Use `tramp-handle-directory-files-and-attributes' if neither stat
2991 nor perl are available on the remote host.
2993 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2994 "/". Write long listing only when "l" belongs to the switches.
2996 * net/trampver.el: Update release number.
2998 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3000 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3002 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3004 * window.el (window-state-put): Allow WINDOW to refer to an
3005 internal window (Bug#16793).
3007 2014-02-19 Glenn Morris <rgm@gnu.org>
3009 * textmodes/remember.el: Move provide statement to end.
3010 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3011 (remember-notes): Doc fixes.
3013 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3015 * delsel.el (delete-char): Restore incorrectly erased property
3018 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3020 * frameset.el (frameset--restore-frame): When a frame is being reused
3021 and its root window is not alive, delete all the frame's windows before
3022 restoring the window state. This works around the issue in bug#16793.
3024 2014-02-18 Glenn Morris <rgm@gnu.org>
3026 * textmodes/remember.el (remember-data-directory)
3027 (remember-directory-file-name-format, remember-store-in-files)
3028 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3029 (remember-notes-save-and-bury-buffer)
3030 (remember-notes--kill-buffer-query): Doc fixes.
3032 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3034 2014-02-17 Alan Mackenzie <acm@muc.de>
3036 Connect electric-indent-mode up with CC Mode. Bug #15478.
3037 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3038 to electric-indent-{,local-}-mode.
3039 (c-basic-common-init): Set electric-indent-inhibit.
3040 Initialise c-electric-flag from electric-indent-mode.
3041 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3042 New hook functions which propagate electric-indent-mode to CC mode.
3044 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3045 hit, toggle electric-indent-local-mode.
3047 * electric.el (electric-indent-mode-has-been-called):
3050 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3052 * frameset.el (frameset-cfg-id): New function.
3053 (frameset--reuse-frame, frameset-restore): Use it.
3054 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3056 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3058 * ido.el (ido-file-internal): Remove unused var `d'.
3059 Use \` for to match BoS. Fit within 80n columns.
3061 2014-02-17 Daniel Colascione <dancol@dancol.org>
3063 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3064 dbus-call-method check for completion using a busy-wait loop with
3067 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3069 Sync with Tramp 2.2.9.
3071 * net/trampver.el: Update release number.
3073 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3075 * ido.el (ido-file-internal): Don't add the name of an existing
3076 directory twice. (Bug#16747)
3078 2014-02-16 Glenn Morris <rgm@gnu.org>
3080 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3081 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3083 2014-02-15 Michael R. Mauger <michael@mauger.com>
3085 * progmodes/sql.el: Version 3.4
3086 (sql-oracle-options): New default value ("-L").
3087 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3088 (sql-placeholders-filter): Correct placeholder pattern.
3089 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3090 (sql-login-delay): New variable.
3091 (sql-product-interactive): Use it.
3093 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3095 * frameset.el (frameset--jump-to-register): Check that buffer is live
3098 2014-02-15 Glenn Morris <rgm@gnu.org>
3100 * info.el (info-initialize): Revert 2014-01-10 change.
3102 2014-02-14 Glenn Morris <rgm@gnu.org>
3104 * replace.el (map-query-replace-regexp)
3105 (read-regexp-defaults-function, read-regexp): Doc fixes.
3107 * dired.el (dired-read-regexp):
3108 * faces.el (list-faces-display):
3109 * misearch.el (multi-isearch-read-matching-buffers)
3110 (multi-isearch-read-matching-files):
3111 * play/cookie1.el (cookie-apropos):
3112 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3114 * textmodes/remember.el (remember): Use frameset-to-register
3115 rather than frame-configuration-to-register.
3117 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3119 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3120 incorrect keybinding.
3122 2014-02-13 Daniel Colascione <dancol@dancol.org>
3124 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3125 when adding overlays so that line numbers from compiler match line
3128 2014-02-13 Glenn Morris <rgm@gnu.org>
3130 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3132 * jit-lock.el (jit-lock-mode): Doc fix.
3134 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3136 * apropos.el (apropos-read-pattern): When the user passes an empty
3137 string, give a more helpful error message than "Wrong type
3138 argument: stringp, nil".
3140 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3142 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3144 2014-02-13 Glenn Morris <rgm@gnu.org>
3146 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3148 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3150 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3151 shift-select commands.
3153 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3155 * progmodes/js.el (js-indent-line): Don't widen.
3156 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3158 2014-02-12 Glenn Morris <rgm@gnu.org>
3160 * icomplete.el (icomplete): Add info-link to defgroup.
3161 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3162 (icomplete-minibuffer-map, icomplete-mode)
3163 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3165 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3166 (package-menu-filter): Rename from package-menu-filter-interactive.
3169 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3171 * frameset.el (frameset--jump-to-register): Select the required
3172 window and buffer before restoring position (bug#16696).
3174 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3176 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3178 2014-02-10 Glenn Morris <rgm@gnu.org>
3180 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3182 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3184 * w32-common-fns.el (x-get-selection): Doc fix.
3185 * select.el (x-get-selection): Doc fix. (Bug#15109)
3187 * face-remap.el (face-remap-add-relative)
3188 (face-remap-remove-relative, face-remap-reset-base)
3189 (face-remap-set-base): Call force-mode-line-update to redisplay
3190 the current buffer due to potential change in faces. (Bug#16709)
3192 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3194 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3195 script more robustly.
3197 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3199 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3201 * simple.el (choose-completion): Doc fix (bug#14160).
3203 * subr.el (event-start): Say what a nil EVENT value means.
3205 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3208 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3210 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3212 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3214 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3215 predicate function (bug#15455).
3217 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3219 * ielm.el (inferior-emacs-lisp-mode): Instead of
3220 `comment-use-global-state', set `comment-use-syntax'.
3222 2014-02-10 Glenn Morris <rgm@gnu.org>
3224 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3226 2014-02-09 Alan Mackenzie <acm@muc.de>
3228 Fix c-invalidate-state-cache on narrowed buffers.
3229 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3230 Widen when setting and clearing the CPP delimiter properties.
3232 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3234 * help.el (describe-bindings): Doc fix (bug#9888).
3236 * files.el (save-buffer): Use ARG as the parameter name for
3237 consistency (bug#10346).
3238 (save-buffer): Clarify the 0 argument (bug#10346).
3240 * cus-edit.el (customize-apropos): Fix error string.
3241 (custom-buffer-create): Doc fix (bug#11122).
3242 (custom-sort-items): Doc fix (bug#11121).
3244 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3246 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3247 (icomplete-simple-completing-p): Mention the previous variable.
3249 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3250 meaning of the parameter (bug#12282).
3252 * files.el (find-file-noselect): Clarify prompt when changing
3253 readedness (bug#13261).
3254 (locate-file): Suffixes aren't returned, so don't say that they
3256 (backup-inhibited): Doc clarification (bug#12525).
3258 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3259 before we actually start to delete things (bug#16331).
3261 * subr.el (event-start): Doc fix (bug#14228).
3264 2014-02-09 Glenn Morris <rgm@gnu.org>
3266 * emacs-lisp/warnings.el (lwarn):
3267 Empower help-enable-auto-load. (Bug#15940)
3269 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3271 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3274 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3276 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3277 Insert output at end of buffer. (Bug#16120)
3279 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3281 * simple.el (choose-completion-string-functions): Document new
3282 calling convention (bug#14153).
3283 (execute-extended-command): Clarify doc string (bug#13373).
3285 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3287 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3288 (find-grep-dired): Doc fix (bug#14288).
3290 2014-02-08 Juri Linkov <juri@jurta.org>
3292 * isearch.el (isearch-quote-char): Check character validity
3293 like in `quoted-insert' (bug#16677).
3295 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3297 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3299 * isearch.el (isearch-hide-immediately): Doc clarification
3302 * simple.el (line-move): Document utility function used many
3303 places in the Emacs sources (bug#14843).
3305 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3306 (dired-prev-marked-file): Doc fix (bug#14855).
3307 (dired-up-directory): Doc fix (bug#14848).
3309 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3311 * files.el (file-relative-name): Doc fix (bug#15159).
3313 * fringe.el (fringe-styles): Doc fix (bug#15239).
3315 * isearch.el (isearch-filter-predicate): Documentation typo fix
3318 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3320 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3322 * replace.el (replace-match-maybe-edit): Doc clarification
3325 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3327 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3329 2014-02-08 Glenn Morris <rgm@gnu.org>
3331 * help-fns.el (describe-variable):
3332 Check {file,dir}-local-variables-alist, and buffer-file-name,
3333 in the correct buffer.
3335 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3337 * help-fns.el (describe-variable): Fix the case where
3338 a value is directory-local with no dir-locals file. (Bug#16635)
3340 2014-02-08 Glenn Morris <rgm@gnu.org>
3342 * abbrev.el (edit-abbrevs-mode):
3343 Derive from fundamental-mode. (Bug#16682)
3345 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3347 * simple.el (quoted-insert): Check character validity (bug#16677).
3349 2014-02-07 Juri Linkov <juri@jurta.org>
3351 * desktop.el (desktop-read): Claim the lock when the owner is not
3352 the current process. (Bug#16157)
3354 2014-02-07 Juri Linkov <juri@jurta.org>
3356 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3357 to "\\` ". (Bug#16651)
3359 2014-02-07 Juri Linkov <juri@jurta.org>
3361 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3362 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3363 (desktop-auto-save-cancel-timer): New function with some code from
3364 `desktop-auto-save-set-timer'.
3365 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3366 Instead of setting `desktop-save-mode' to nil, call
3367 `desktop-save-mode' with arg 0. (Bug#16630)
3369 2014-02-07 Glenn Morris <rgm@gnu.org>
3371 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3372 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3373 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3375 * obsolete/iswitchb.el: Move to obsolete/.
3376 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3377 since obsolete/ is not scanned for autoloads.
3378 * emacs-lisp/authors.el (authors-valid-file-names):
3381 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3382 Disable now non-functional find-file-hook.
3384 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3386 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3387 instead of ";" in order to avoid additional prompts. Let heredoc
3388 scripts read from tty. (Bug#16582)
3389 (tramp-send-command): No special handling of heredocs, it isn't
3392 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3394 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3395 with a space (bug#16664). Limit the symbols considered to the ones
3396 that are bound or fbound (bug#16646).
3398 2014-02-06 Glenn Morris <rgm@gnu.org>
3400 * epa.el (epa-mail-aliases): Doc fix.
3402 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3404 * emacs-lisp/lisp.el (lisp-completion-at-point):
3405 Use `completion-table-merge' instead of `completion-table-in-turn'
3408 * minibuffer.el (completion-table-merge): New function.
3410 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3412 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3413 (tramp-sh-handle-set-file-acl)
3414 (tramp-sh-handle-start-file-process)
3415 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3416 (tramp-find-executable, tramp-send-command): Use it.
3418 2014-02-05 Glenn Morris <rgm@gnu.org>
3420 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3422 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3424 * progmodes/python.el (python-shell-send-string)
3425 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3427 2014-02-04 Anders Lindgren <andlind@gmail.com>
3429 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3430 the names (bug#16620).
3432 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3434 * faces.el (window-divider): New default value. Rewrite doc-string.
3435 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3437 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3439 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3440 `protected' and `public' can also be called without arguments.
3442 2014-02-03 Glenn Morris <rgm@gnu.org>
3444 * register.el (window-configuration-to-register)
3445 (frame-configuration-to-register): Unadvertise unused argument.
3446 * frameset.el (frameset-to-register): Remove unused argument.
3448 * frameset.el (frameset-to-register):
3449 * kmacro.el (kmacro-to-register):
3450 * register.el (increment-register):
3451 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3452 (calc-append-to-register, calc-prepend-to-register):
3453 * play/gametree.el (gametree-layout-to-register)
3454 (gametree-apply-register-layout):
3455 * textmodes/picture.el (picture-clear-rectangle-to-register)
3456 (picture-yank-rectangle-from-register):
3457 * vc/emerge.el (emerge-combine-versions-register):
3458 Use register-read-with-preview to read registers.
3460 2014-02-03 João Távora <joaotavora@gmail.com>
3462 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3463 when at beginning of (possibly narrowed) buffer.
3465 2014-02-02 Daniel Colascione <dancol@dancol.org>
3467 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3468 Also try to display local help from just before point.
3470 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3472 c-parse-state. Don't "append-lower-brace-pair" in certain
3473 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3474 recognised as a comment.
3476 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3477 as well as normal comment starter.
3478 (c-parse-state-get-strategy): Extra return possibility
3480 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3481 return value list to indicate replacement of a brace-pair cons
3483 (c-parse-state-1): With 'back-and-forward, only call
3484 c-append-lower-brace-pair-to state-cache when cons-separated.
3486 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3488 * term/ns-win.el (ns-suspend-error): New function.
3489 (ns-initialize-window-system): Add ns-suspend-error to
3490 suspend-hook (Bug#16612).
3492 2014-02-02 Daniel Colascione <dancol@dancol.org>
3494 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3495 Make loading cc-mode silent.
3497 2014-02-02 Daniel Colascione <dancol@dancol.org>
3499 * comint.el (comint-prompt-read-only): Change doc to suggest
3502 2014-02-02 Glenn Morris <rgm@gnu.org>
3504 * register.el (register-read-with-preview, point-to-register)
3505 (window-configuration-to-register, frame-configuration-to-register)
3506 (jump-to-register, number-to-register, view-register, insert-register)
3507 (copy-to-register, append-to-register, prepend-to-register)
3508 (copy-rectangle-to-register): Doc fixes.
3510 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3512 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3513 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3514 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3515 * help-fns.el (describe-function-1): Use it.
3517 2014-02-02 Glenn Morris <rgm@gnu.org>
3519 * register.el (register-preview-default): New function,
3520 split from register-preview.
3521 (register-preview-function): Rename from register-preview-functions,
3523 (register-preview): Use register-preview-function.
3524 (register-read-with-preview): Error on non-character event. (Bug#16595)
3526 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3528 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3529 `:' before binary operators (bug#16609). Don't check for `:'
3530 before `[' and `(', or their syntax status. A percent literal
3531 can't end with either.
3532 (ruby-font-lock-keywords): For built-ins that require arguments,
3533 check that they're followed by something that looks like argument
3536 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3538 * subr.el (butlast): Document what an omitted N means (bug#13437).
3541 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3543 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3544 depth shallower (bug#16587).
3545 (shr-tag-svg): Respect `shr-inhibit-images'.
3546 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3548 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3550 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3551 (ruby-smie-grammar): Make "." right-associative. Make its priority
3552 lower than the ternary and all binary operators.
3553 (ruby-smie-rules): Indent "(" relative to the first non-"."
3554 parent, or the first "." parent at indentation.
3555 Use `ruby-align-chained-calls' for indentation of "." tokens.
3558 2014-01-31 Juri Linkov <juri@jurta.org>
3560 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3561 from `make-hash-table'.
3563 * textmodes/ispell.el (ispell-init-process): Change message format
3564 to be consistent with other messages.
3566 2014-01-31 Glenn Morris <rgm@gnu.org>
3568 * delsel.el (delete-selection-mode): Doc fix.
3570 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3571 (trace-function-background): Doc fixes.
3573 * ido.el (ido-use-virtual-buffers): Doc fix.
3574 Reset :version, since the default value has not changed.
3576 * register.el (register-preview-delay, register-read-with-preview):
3579 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3580 do not mess with mail-buffer position (fixes 2009-11-03 change).
3581 * progmodes/cc-mode.el (c-submit-bug-report):
3582 Check auto-fill-mode is bound. (Bug#16592)
3584 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3586 * startup.el (fancy-splash-image-file): New function,
3587 split from fancy-splash-head.
3588 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3589 so that we are both using the same image. (Bug#16574)
3591 2014-01-30 Glenn Morris <rgm@gnu.org>
3593 * simple.el (eval-expression): Doc fix.
3595 * hexl.el (hexl-mode-hook):
3596 * ielm.el (ielm-mode-hook):
3597 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3598 (lisp-interaction-mode-hook):
3599 * progmodes/cfengine.el (cfengine3-documentation-function):
3600 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3602 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3604 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3605 is a symbol (bug#16584).
3607 2014-01-30 Glenn Morris <rgm@gnu.org>
3609 * help.el (help-for-help-internal): Add "P" to text.
3611 2014-01-29 Glenn Morris <rgm@gnu.org>
3613 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3615 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3617 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3620 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3622 * progmodes/hideif.el: Extend to full CPP expression syntax.
3623 (hif-token-alist): Add missing tokens.
3624 (hif-token-regexp): Add support for float/octal/hex immediates.
3625 (hif-string-literal-regexp): New const.
3626 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3627 (hif-exprlist): New function.
3628 (hif-parse-if-exp): Use it.
3629 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3630 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3631 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3632 (hif-logxor, hif-comma): New functions.
3634 2014-01-28 Glenn Morris <rgm@gnu.org>
3636 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3638 * indent.el (tab-stop-list): Doc fix. Add :version.
3640 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3641 (cvs-append-to-ignore): Add compatibility alias.
3643 2014-01-27 Glenn Morris <rgm@gnu.org>
3645 * dired.el (dired-hide-details-mode): Don't autoload it,
3646 since it cannot be used outside Dired buffers anyway.
3648 * emulation/cua-base.el (cua-mode): Doc fix.
3650 * dired.el (dired-hide-details-hide-symlink-targets)
3651 (dired-hide-details-hide-information-lines)
3652 (dired-hide-details-mode): Doc fixes.
3654 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3655 * strokes.el (strokes-file): Doc fix. Bump :version.
3656 (strokes-help): Doc fix.
3657 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3658 * emulation/viper.el (viper): Doc fix for custom group.
3659 (top-level): Remove oh-so-no-longer-relevant text about vip.
3660 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3662 * ido.el (ido-save-directory-list-file):
3663 * saveplace.el (save-place-file):
3664 * calendar/timeclock.el (timeclock-file):
3665 * net/quickurl.el (quickurl-url-file):
3666 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3667 * progmodes/idlwave.el (idlwave-config-directory):
3668 * textmodes/remember.el (remember-data-file):
3671 2014-01-26 Glenn Morris <rgm@gnu.org>
3673 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3674 Doc fix. Make obsolete.
3675 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3677 * sort.el (delete-duplicate-lines): Doc fix.
3679 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3681 * progmodes/ada-mode.el (ada):
3682 * woman.el (woman): Link to info manual and Commentary section.
3684 * progmodes/flymake.el (flymake):
3685 * nxml/nxml-mode.el (nxml):
3687 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3688 * htmlfontify.el (htmlfontify):
3691 * ido.el (ido): Link to info manual.
3693 2014-01-25 Leo Liu <sdl.web@gmail.com>
3695 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3697 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3699 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3702 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3704 * net/eww.el (eww-download-callback):
3705 Fix reference to eww-download-directory.
3707 * emacs-lisp/bytecomp.el (byte-compile-file):
3708 Remove unused local variable `file-name'.
3710 2014-01-24 Glenn Morris <rgm@gnu.org>
3712 * woman.el (woman-default-faces, woman-monochrome-faces):
3713 Fix obsolescence specification.
3715 * subr.el (with-demoted-errors): Doc fix.
3717 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3719 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3720 (cl--macroexp-fboundp): New function.
3721 (cl--make-type-test): Use it.
3723 2014-01-23 Glenn Morris <rgm@gnu.org>
3725 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3726 * simple.el (eval-expression): Doc fixes.
3728 2014-01-22 Glenn Morris <rgm@gnu.org>
3730 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3732 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3734 * emacs-lisp/package.el: Write files silently.
3735 (package-autoload-ensure-default-file, package--write-file-no-coding)
3736 (package-generate-description-file, package--download-one-archive)
3737 (package-install-from-archive): Tell `write-region' to stay quiet.
3738 (package-menu-mode, package-menu--print-info): Omit the Archive column
3739 if there's only one archive.
3740 (package-all-keywords, package--has-keyword-p): Remove dead code.
3742 2014-01-22 Glenn Morris <rgm@gnu.org>
3744 * version.el (emacs-bzr-version-bzr): Fix typo.
3746 * version.el (emacs-repository-get-version):
3747 Check either .bzr or .git, but not both.
3748 Make the git case actually use the DIR argument, and return nil
3749 rather than the empty string.
3750 Avoid error if .git exists but the git executable is not found.
3752 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3754 Fixes in window size functions around Bug#16430 and Bug#16470.
3755 * window.el (window-total-size, window-size): New argument ROUND.
3756 (window--min-delta-1, window-min-delta, window--max-delta-1):
3757 Be more conservative when calculating the numbers of lines or
3758 columns a window can shrink (Bug#16430).
3759 (fit-window-to-buffer): Simplify code.
3760 * term.el (term-window-width): Call window-body-width again.
3762 2014-01-22 Glenn Morris <rgm@gnu.org>
3764 * image.el (image-format-suffixes): Doc fix.
3766 * international/quail.el (quail-define-package): Doc fix.
3768 * emacs-lisp/authors.el (authors-valid-file-names)
3769 (authors-renamed-files-alist): Additions.
3771 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3772 reverts 2014-01-09 change. (Bug#16422)
3774 * calc/calc-embed.el (thing-at-point-looking-at):
3775 * emacs-lisp/map-ynp.el (x-popup-dialog):
3776 * obsolete/lmenu.el (x-popup-dialog):
3777 * emacs-lisp/package.el (url-recreate-url):
3778 * mail/mailclient.el (clipboard-kill-ring-save):
3779 * subr.el (x-popup-dialog): Update declaration.
3780 * mail/rmail.el (rmail-mime-message-p):
3781 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3783 2014-01-21 Daniel Colascione <dancol@dancol.org>
3785 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3786 Correctly detect when we're inside an arithmetic expansion form
3787 containing nested parenthesis.
3788 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3789 to detect cases where we shouldn't expand "<<" to a heredoc
3792 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3794 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3795 (eldoc--message-command-p): New function.
3796 (eldoc-display-message-p): Use it.
3797 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3798 message is not automatically erased for us.
3799 (eldoc-print-current-symbol-info): Erase previous message, if any.
3801 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3803 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3804 specify it's an interactive function.
3806 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3807 Fix regex used for scanning for citation keys which failed for
3808 citations with optional arguments.
3810 2014-01-21 Leo Liu <sdl.web@gmail.com>
3812 * simple.el (read--expression): Don't enable eldoc-mode.
3814 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3816 * simple.el (move-beginning-of-line): Make sure we don't move forward
3819 2014-01-20 Juri Linkov <juri@jurta.org>
3821 * saveplace.el (toggle-save-place, save-place-to-alist)
3822 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3823 'dired-mode) before checking for dired-directory. (Bug#16477)
3825 2014-01-20 Juri Linkov <juri@jurta.org>
3827 * indent.el (indent-line-to): Use backward-to-indentation
3828 instead of back-to-indentation. (Bug#16461)
3830 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3832 Revert some of the CANNOT_DUMP fix (Bug#16494).
3833 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3834 but fixing this can wait until after the next release.
3835 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3837 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3839 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3840 Use `password-word-equivalents'.
3841 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3842 to t. (Bug#5664, Bug#13124)
3844 2014-01-19 Alan Mackenzie <acm@muc.de>
3846 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3848 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3849 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3850 * progmodes/cc-mode.el (c-before-change, c-after-change)
3851 (c-font-lock-fontify-region): Bind it here.
3853 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3855 * term.el (term-window-width): Call window-text-width instead of
3856 window-width (Bug#16470).
3858 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3860 * simple.el (password-word-equivalents): Remove duplicates.
3861 Sort, to make this easier next time.
3862 Downcase. Omit ": " after "jelszó".
3864 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3866 * term/common-win.el (saved-region-selection): Defvar it.
3867 (x-select-text): Set saved-region-selection (Bug#16382).
3869 2014-01-18 Glenn Morris <rgm@gnu.org>
3871 * emacs-lisp/authors.el (authors-aliases)
3872 (authors-renamed-files-alist): Add some entries.
3874 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3876 * net/tramp.el (tramp-password-prompt-regexp):
3877 Use `password-word-equivalents' if available.
3878 (tramp-action-password, tramp-process-one-action)
3879 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3881 2014-01-17 Chong Yidong <cyd@gnu.org>
3883 * simple.el (password-word-equivalents): New defcustom.
3884 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3886 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3889 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3891 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3892 (ruby-align-to-stmt-keywords): Change the default value.
3893 Use `ruby-alignable-keywords' to generate the possible customization
3895 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3896 keywords, check against the value of `ruby-alignable-keywords'
3897 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3899 2014-01-17 Glenn Morris <rgm@gnu.org>
3901 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3903 Make M-x authors return zero *Authors Errors* from current logs.
3904 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3905 (authors-ignored-files): Add some entries, remove others.
3906 (authors-ambiguous-files, authors-valid-file-names):
3908 (authors-renamed-files-alist): Add, remove, and adjust entries.
3909 (authors-renamed-files-regexps): Add some entries.
3910 Remove some very broad ones. Make some entries `lax'.
3911 (authors-lax-changelogs): New constant.
3912 (authors-disambiguate-file-name): Treat top-level specially.
3913 (authors-lax-changelog-p): New function.
3914 (authors-canonical-file-name): Check file as written against
3915 authors-valid-file-names. Do not special-case etc/.
3916 Handle `lax' logs and authors-renamed-files-regexps elements.
3918 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3920 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3921 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3924 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3926 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3927 Assume we're already in the proper buffer.
3928 Inspired by Anders Lindgren <andlind@gmail.com>.
3929 (follow-post-command-hook): Call it from the right buffer.
3930 (follow-comint-scroll-to-bottom): Adjust call.
3931 (follow-all-followers): Use get-buffer-window-list.
3933 2014-01-15 Daniel Colascione <dancol@dancol.org>
3935 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3936 `buffer-file-name' in interactive-form so that we don't leave
3937 pathless file names in `file-name-history'.
3939 2014-01-15 Juri Linkov <juri@jurta.org>
3941 * indent.el (indent-rigidly): Set deactivate-mark to nil
3942 in transient indentation mode. (Bug#16438)
3944 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3946 * emacs-lisp/package.el (package-desc-keywords): New function
3948 (describe-package-1, package-all-keywords)
3949 (package--has-keyword-p): Use it.
3951 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3953 * simple.el (define-alternatives): When creating the
3954 COMMAND-alternatives variable, assign COMMAND as its definition
3955 name so that `describe-variable' can relocate it.
3957 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3959 * font-lock.el (font-lock-keywords): Fix typo in docstring
3962 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3964 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
3965 line instead of wrongly reset `add-coment' (bug#13577).
3967 2014-01-14 Daiki Ueno <ueno@gnu.org>
3969 * epa-file.el (epa-file-write-region): Encode the region according
3970 to `buffer-file-format'. Problem reported at:
3971 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3973 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3975 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3976 so it applies in the right buffer (bug#16410).
3978 2014-01-13 Daniel Colascione <dancol@dancol.org>
3980 * textmodes/rst.el (rst-define-key): Provide deprecated
3981 keybindings through named functions instead of anonymous ones so
3982 that "??" doesn't appear in describe-mode output.
3984 2014-01-13 Bastien Guerry <bzg@gnu.org>
3986 * simple.el (define-alternatives): Call the selected command
3987 interactively. When setting `COMMAND--implementation' for the
3988 first time, tell the user how to chose another implementation.
3989 Enhance the docstring.
3991 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3993 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3994 (log-edit--match-first-line): New function.
3995 (log-edit-font-lock-keywords): Use it.
3996 (log-edit-mode): Make jit-lock-defer-multiline work.
3998 2014-01-13 Bastien Guerry <bzg@gnu.org>
4000 * rect.el (rectangle-mark-mode): When the region is not active,
4001 display a message saying that the mark as been set and that
4002 rectangle mode is in use.
4003 (rectangle--highlight-for-redisplay): Only put an overlay with a
4004 visible vertical bar when (display-graphic-p) is non-nil.
4005 This partially fixes Bug#16403.
4007 2014-01-13 Juri Linkov <juri@jurta.org>
4009 * info.el (Info-find-file): Go to DIR before displaying the error
4010 about a nonexistent file if no previous Info file is visited.
4011 Use `user-error' instead of `error' for "Info file %s does not exist".
4012 (Info-find-node-2): In case of a nonexistent node in unwind forms
4013 go to the Top node if there is no previous node to revert to.
4016 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4018 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4019 * window.el (fit-frame-to-buffer): Fix doc-string.
4020 Respect window-min-height/-width. Fit pixelwise when
4021 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4022 when avoiding that frame goes partially off-screen.
4023 (fit-window-to-buffer): Respect window-min-height/-width
4026 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4028 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4029 after an empty line.
4031 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4033 * net/shr.el (shr-render-region): Autoload.
4035 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4037 * net/eww.el (eww-download-directory): Rename from
4038 `eww-download-path' (Bug#16419).
4040 2014-01-12 Leo Liu <sdl.web@gmail.com>
4042 * dired-x.el (dired-mode-map): Fix last change.
4044 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4046 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4049 * emacs-lisp/generic.el (generic--normalize-comments):
4050 Rename from generic--normalise-comments. All uses changed.
4051 * play/bubbles.el (bubbles--neighborhood-score)
4052 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4053 (bubbles--neighborhood-available)
4054 (bubbles--update-neighborhood-score):
4055 Rename from names with 'neighbourhood'. All uses changed.
4057 2014-01-12 Leo Liu <sdl.web@gmail.com>
4059 Re-implement the feature of showing eldoc info after editing.
4060 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4061 (eldoc-edit-message-commands): New function.
4062 (eldoc-print-after-edit): New variable.
4063 (eldoc-pre-command-refresh-echo-area): Emit message only by
4064 eldoc-message-commands.
4065 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4066 if eldoc-print-after-edit is set. (Bug#16346)
4067 * simple.el (read--expression): Enable eldoc-mode.
4068 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4070 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4071 Eric S. Raymond <esr@thyrsus.com>
4073 * version.el (emacs-repository-get-version): Enhance so the
4074 function works correctly in either a Bazaar or Git repo.
4076 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4078 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4079 Goes with removal of the joke manpages from /etc.
4081 2014-01-10 Kenichi Handa <handa@gnu.org>
4083 * mail/rmail.el (rmail-get-coding-system):
4084 Check rmail-get-coding-function before "funcall"ing it.
4086 2014-01-10 Glenn Morris <rgm@gnu.org>
4088 * emacs-lisp/authors.el (authors-fixed-entries):
4089 Update for files that no longer exist.
4091 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4093 * version.el (emacs-bzr-get-version): Restore compatibilty with
4096 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4098 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4101 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4103 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4105 2014-01-10 Chong Yidong <cyd@gnu.org>
4107 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4109 2014-01-10 Anders Lindgren <andlind@gmail.com>
4111 * follow.el (follow-cache-command-list): Include right-char and
4114 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4117 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4118 * woman.el (woman-mark-horizontal-position):
4119 Rename from woman-mark-horizonal-position. Use changed.
4121 2014-01-10 Glenn Morris <rgm@gnu.org>
4123 * info.el (info-initialize): If running uninstalled, ensure our
4124 own info files are always found first, even if INFOPATH is set.
4126 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4128 2014-01-09 David Engster <deng@randomsample.de>
4130 * emacs-lisp/eieio-custom.el:
4131 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4132 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4133 * emacs-lisp/eieio.el: Regenerate autoloads.
4135 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4137 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4138 following renames. (Bug#8756)
4140 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4142 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4144 (activate-mark): Add `no-tmm' argument.
4145 (set-mark, push-mark-command): Use it instead of running
4146 activate-mark-hook by hand.
4148 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4150 In preparation for the move to git, sanitize out some
4151 Bazaar-specific names.
4153 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4155 * version.el (emacs-bzr-version): Name changed to
4156 emacs-repository-version. Obsolete-variable alias made.
4157 * loadup.el: Follow through on this name change.
4158 * mail/emacsbug.el (report-emacs-bug): Factor out any
4159 assumption about the version control system in use.
4161 2014-01-08 David Engster <deng@randomsample.de>
4163 * help-fns.el (help-fns-describe-function-functions):
4164 New variable to call functions for augmenting help buffers.
4165 (describe-function-1): Remove explicit calls to
4166 `help-fns--compiler-macro', `help-fns--parent-mode' and
4167 `help-fns--obsolete'. Put them in above new variable instead, and
4168 call them through `run-hook-with-args'.
4169 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4170 `eieio-describe-class'. Not meant for interactive use anymore,
4171 but to augment existing help buffers. Remove optional second
4172 argument. Create proper button for file location.
4173 Rewrite function to use `insert' instead of `princ' and `prin1' where
4175 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4176 (eieio-method-def, eieio-class-def): Move further up.
4177 (describe-method, describe-generic, eieio-describe-method):
4179 (eieio-help-constructor, eieio-help-generic): Rename from
4180 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4181 Rewrite to use `insert' in the current buffer and use proper help
4183 (eieio-help-find-method-definition)
4184 (eieio-help-find-class-definition): Also accept symbols as
4186 (eieio-help-mode-augmentation-maybee): Remove.
4187 (eieio-describe-class-sb): Use `describe-function'.
4188 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4189 Add `eieio-help-generic' and `eieio-help-constructor'.
4191 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4194 * language/china-util.el (hz-ascii-designation):
4195 Rename from hz-ascii-designnation.
4196 (hz-ascii-designation): Rename from hz-ascii-designnation.
4199 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4201 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4204 2014-01-08 Bastien Guerry <bzg@gnu.org>
4206 * emacs-lisp/package.el (package-delete):
4207 Correctly delete the package from package-alist.
4209 2014-01-08 Daiki Ueno <ueno@gnu.org>
4211 * emacs-lisp/package.el (url-recreate-url): Declare.
4212 (url-http-target-url): Declare.
4213 (package-handle-response): Include requested URL in the error message.
4214 (package--check-signature): Don't re-signal errors from
4215 package--with-work-buffer. Suggested by Stefan Monnier.
4217 2014-01-07 Bastien Guerry <bzg@gnu.org>
4219 * minibuffer.el (completion--try-word-completion): When both a
4220 hyphen and a space are possible candidates for the character
4221 following a word, display both candidates. (Bug#15980)
4223 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4225 * window.el (balance-windows-2): While rounding don't give a
4226 window more than the remainder. Bug#16351, bug#16383.
4228 2014-01-07 Glenn Morris <rgm@gnu.org>
4230 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4231 (menu-bar-help-menu): Use view-external-packages instead.
4233 2014-01-07 Bastien Guerry <bzg@gnu.org>
4235 * emacs-lisp/package.el (package-delete): Also delete the package
4236 name from `package-alist', not its description only.
4238 2014-01-07 Glenn Morris <rgm@gnu.org>
4240 * help.el (view-external-packages):
4241 * menu-bar.el (menu-bar-help-extra-packages):
4242 Visit efaq.info rather than etc/MORE.STUFF.
4244 2014-01-07 Juri Linkov <juri@jurta.org>
4246 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4247 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4249 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4250 that shadows RET. (Bug#16342)
4252 2014-01-07 Chong Yidong <cyd@gnu.org>
4254 * isearch.el (isearch-yank-char, isearch-yank-word)
4255 (isearch-yank-line): Doc fix.
4257 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4259 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4260 * emacs-lisp/elint.el (elint-find-builtins):
4261 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4262 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4263 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4264 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4265 * apropos.el (apropos-safe-documentation):
4266 * subr.el (symbol-file): Remove redundant fboundp.
4267 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4269 2014-01-06 Bastien Guerry <bzg@gnu.org>
4271 * hl-line.el (global-hl-line-overlay): Make a local variable.
4272 (global-hl-line-overlays): New variable to store all overlays.
4273 (global-hl-line-mode): Don't delete overlays from the current
4274 buffer when `global-hl-line-sticky-flag' is non-nil.
4275 (global-hl-line-highlight): Add new overlays to
4276 `global-hl-line-overlays'.
4277 (global-hl-line-unhighlight-all): New function to delete all
4278 overlays when turning off `global-hl-line-mode'.
4279 This fixes Bug#16183.
4281 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4283 * subr.el (set-transient-map): Fix nested case and docstring.
4285 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4287 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4290 2014-01-06 Daniel Colascione <dancol@dancol.org>
4292 Fix defun navigation in vc log view.
4294 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4295 like `beginning-of-defun'.
4296 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4297 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4298 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4299 (log-view-extract-comment): Call `log-view-current-entry' directly
4300 instead of relying on broken `log-view-beginning-of-defun' behavior.
4302 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4305 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4306 * emacs-lisp/debug.el (cancel-debug-on-entry):
4307 * epg.el (epg-error-to-string):
4308 * files.el (recover-file):
4309 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4310 * mail/emacsbug.el (report-emacs-bug-hook):
4311 * mail/sendmail.el (mail-recover):
4312 * ses.el (ses-yank-resize):
4313 * term/ns-win.el (ns-print-buffer):
4314 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4315 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4317 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4319 2014-01-06 Leo Liu <sdl.web@gmail.com>
4321 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4322 to avoid shadowing global key. (Bug#16354)
4324 2014-01-06 Daniel Colascione <dancol@dancol.org>
4326 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4329 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4331 * window.el (balance-windows): Add mising t to fix Bug#16351.
4333 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4335 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4337 (shr-insert): If we have a word that's longer than `shr-width',
4338 break after it anyway. Otherwise we'll do no breaking once we get
4341 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4343 * net/eww.el (eww): Support single/double quote for search.
4344 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4345 (eww-history-quit): Delete and use quit-window.
4346 (eww-history-kill): Delete, because it doesn't work well and
4348 (eww-history-mode-map): Delete some keys and add easy-menu.
4350 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4352 Fix misspelling of 'chinese' in rx (Bug#16237).
4353 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4356 Change subword regexps back to vars (Bug#16296).
4357 * progmodes/subword.el (subword-forward-regexp)
4358 (subword-backward-regexp): Change these back to variables.
4360 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4362 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4363 syntax-begin-function (bug#16247).
4365 2014-01-03 Chong Yidong <cyd@gnu.org>
4367 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4368 (advice--docstring): Delete variable.
4369 (advice--make-1): Leave the docstring empty.
4370 (advice-add): Use function-documentation for advised docstring.
4372 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4373 Ignore function-documentation property when getting documentation.
4374 (ad-activate-advised-definition): Use function-documentation
4375 generate the docstring.
4376 (ad-make-advised-definition): Don't call
4377 ad-make-advised-definition-docstring.
4378 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4381 * progmodes/sql.el (sql-help): Use function-documentation instead
4382 of dynamic-docstring-function property. No need to autoload now.
4383 (sql--help-docstring): New variable.
4384 (sql--make-help-docstring): Use it.
4386 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4388 * ielm.el (ielm-tab): Retarget.
4389 (ielm-map): Use ielm-tab for tab.
4390 (ielm-complete-filename): Use comint-filename-completion.
4391 (ielm-complete-symbol): Remove.
4392 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4393 remove ielm-tab from completion-at-point-functions (bug#16224).
4395 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4396 Beware signals raised by predicates (bug#16201).
4398 2014-01-02 Richard Stallman <rms@gnu.org>
4400 * dired-aux.el (dired-do-print): Handle printer-name.
4402 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4403 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4404 (rmail-epa-decrypt): Turn off mime processing.
4406 * mail/rmail.el (rmail-make-in-reply-to-field):
4407 Add parens in message-id.
4409 * mail/rmail.el (rmail-get-coding-function): Variable.
4410 (rmail-get-coding-system): Use it.
4412 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4414 * international/mule-conf.el: Unify the charset indian-is13194.
4415 (indian-is13194): Specify unify-map.
4417 2013-12-31 Leo Liu <sdl.web@gmail.com>
4419 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4421 2013-12-30 Daniel Colascione <dancol@dancol.org>
4423 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4424 of printing a useless when we resume from sleep.
4426 * progmodes/sh-script.el
4427 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4428 in indentation code. (Bug#16233)
4430 2013-12-28 João Távora <joaotavora@gmail.com>
4432 * elec-pair.el (electric-pair-post-self-insert-function):
4433 Don't open extra newlines at beginning of buffer. (Bug#16272)
4435 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4437 * frame.el (window-system-for-display): Don't allow to create a
4438 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4440 2013-12-28 Glenn Morris <rgm@gnu.org>
4442 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4445 * apropos.el (apropos-match-face):
4446 * calculator.el (calculator-displayer):
4447 * dabbrev.el (dabbrev-search-these-buffers-only):
4448 * face-remap.el (buffer-face-mode-face):
4449 * simple.el (yank-handled-properties):
4450 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4451 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4452 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4453 (hashcash-double-spend-database):
4454 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4455 (ruby-deep-indent-paren-style):
4456 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4457 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4458 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4459 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4460 Specify custom types.
4462 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4463 * bookmark.el (bookmark-bmenu-use-header-line):
4464 * doc-view.el (doc-view-scale-internally):
4465 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4466 * register.el (register-preview-delay):
4467 * net/shr.el (shr-bullet):
4468 * progmodes/cfengine.el (cfengine-cf-promises)
4469 (cfengine-parameters-indent):
4470 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4471 * textmodes/reftex-vars.el (reftex-label-regexps):
4472 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4474 * net/tls.el (tls-certtool-program): Fix default value.
4476 * desktop.el (desktop-restore-in-current-display):
4477 * newcomment.el (comment-empty-lines):
4478 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4479 (idlwave-pad-keyword):
4480 * progmodes/tcl.el (tcl-tab-always-indent):
4481 * textmodes/reftex-vars.el (reftex-index-default-tag):
4482 * elec-pair.el (electric-pair-skip-whitespace):
4483 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4485 * emacs-lisp/authors.el (authors-ignored-files)
4486 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4488 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4490 * shell.el (shell-dynamic-complete-command): Doc fix.
4491 (shell--command-completion-data): Shell completion now matches
4492 executable filenames from the current buffer's directory, on
4493 systems in which this behavior is the default (windows-nt, ms-dos).
4495 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4497 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4499 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4501 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4504 * electric.el: Move all electric-pair-* to elec-pair.el.
4505 * elec-pair.el: New file, split from electric.el.
4507 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4509 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4510 indentation level is larger than the width, because that will
4512 (shr-insert): Fill repeatedly long texts, so that Japanese is
4513 formatted correctly (bug#16263).
4514 (shr-find-fill-point): Off by one error in comparison with the
4517 2013-12-26 João Távora <joaotavora@gmail.com>
4519 * electric.el (electric-pair-mode): More flexible engine for skip-
4520 and inhibit predicates, new options for pairing-related functionality.
4521 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4522 if that keeps or improves their balance in buffers.
4523 (electric-pair-delete-adjacent-pairs): Delete the pair when
4524 backspacing over adjacent matched delimiters.
4525 (electric-pair-open-extra-newline): Open extra newline when
4526 inserting newlines between adjacent matched delimiters.
4527 (electric--sort-post-self-insertion-hook):
4528 Sort post-self-insert-hook according to priority values when
4529 minor-modes are activated.
4530 * simple.el (newline-and-indent): Call newline with interactive
4532 (blink-paren-post-self-insert-function): Set priority to 100.
4533 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4534 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4535 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4536 electric-pair-open-newline-between-pairs to nil.
4538 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4540 * progmodes/python.el: Use lexical-binding.
4541 (python-nav-beginning-of-defun): Stop searching ASAP.
4543 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4545 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4546 Fix interactive spec. Doc fix. (Bug#15754)
4548 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4550 * emacs-lisp/byte-run.el (eval-when-compile):
4551 * progmodes/cc-defs.el (cc-eval-when-compile):
4552 Fix edebug spec (bug#16184).
4554 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4556 * net/shr.el (shr-visit-file): Remove debugging function.
4557 (shr-insert): Don't infloop if we can't find a good place to break
4558 the line (bug#16256).
4560 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4562 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4563 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4564 python-nav-lisp-forward-sexp-safe.
4565 (python-nav--forward-sexp): New argument SAFE allows switching
4566 forward sexp movement behavior for parens.
4567 (python-nav-forward-sexp): Throw errors on unterminated parens
4569 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4570 (python-nav-backward-sexp-safe): New functions.
4571 (python-shell-buffer-substring):
4572 Use `python-nav-forward-sexp-safe'.
4574 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4576 * net/shr.el (shr-find-fill-point): Don't break lines before a
4578 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4579 (shr-find-fill-point): Remove the special checks for the quotation
4580 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4582 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4584 * net/eww.el (eww-form-textarea): Use a different face for
4585 textareas than text input since they have different keymaps
4588 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4590 * progmodes/python.el (python-nav-beginning-of-statement):
4591 Speed up (Bug#15295).
4593 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4595 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4596 the window configuration.
4598 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4600 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4601 we run on MS-Windows or MS-DOS.
4603 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4605 * window.el (balance-windows-area): Call window-size instead of
4606 window-height and window-width. Bug#16241.
4608 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4610 * net/eww.el (eww-bookmark-quit): Remove.
4611 (eww-bookmark-browse): Restore the window configuration when you
4612 choose a bookmark (bug#16144).
4614 2013-12-24 Daniel Colascione <dancol@dancol.org>
4616 * icomplete.el: Remove redundant :group arguments to `defcustom'
4618 (icomplete-show-matches-on-no-input): New customizable variable.
4619 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4620 we have something to show.
4621 (icomplete-exhibit): Compute completions even if we have no user input.
4623 2013-12-23 Daniel Colascione <dancol@dancol.org>
4625 * icomplete.el: Move `provide' to end of file.
4627 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4629 * net/gnutls.el (gnutls-verify-error): Add version tag.
4631 2013-12-23 Chong Yidong <cyd@gnu.org>
4633 * subr.el (set-transient-map): Rename from
4634 set-temporary-overlay-map. Doc fix.
4636 * face-remap.el (text-scale-adjust):
4637 * indent.el (indent-rigidly):
4638 * kmacro.el (kmacro-call-macro):
4639 * minibuffer.el (minibuffer-force-complete):
4640 * repeat.el (repeat):
4641 * simple.el (universal-argument--mode):
4642 * calendar/todo-mode.el (todo-insert-item--next-param):
4643 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4645 * indent.el (indent-rigidly): Use substitute-command-keys.
4647 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4649 * net/eww.el (eww-tag-select): Add text-property to jump to next
4651 (eww): Add non-supported ftp error.
4653 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4655 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4656 comments. Handle electric indent after typing `?' and `!'.
4658 2013-12-22 Chong Yidong <cyd@gnu.org>
4660 * faces.el (face-spec-recalc): If the theme specs are not
4661 applicable to a frame, fall back on the defface spec.
4662 This prevents themes from obliterating faces on low-color terminals.
4664 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4666 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4667 after `{'. We need it after block openers, and it doesn't seem
4668 to hurt after hash openers.
4670 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4672 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4673 extracted from `ruby-smie-rules'.
4674 (ruby--electric-indent-chars): New variable.
4675 (ruby--electric-indent-p): New function.
4676 (ruby-mode): Use `electric-indent-functions' instead of
4677 `electric-indent-chars'.
4679 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4681 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4683 (ruby-smie-rules): Indent plus one level after `=>'.
4685 2013-12-21 Richard Stallman <rms@gnu.org>
4687 * simple.el (newline): Doc fix.
4689 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4691 * net/eww.el (eww-list-histories, eww-list-histories)
4692 (eww-history-browse, eww-history-quit, eww-history-kill)
4693 (eww-history-mode-map, eww-history-mode): New command and
4694 functions to list browser histories.
4695 (eww-form-text): Support text form with disabled
4696 and readonly attributes.
4697 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4699 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4701 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4702 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4703 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4704 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4706 (eww-bookmark-mode-map): Add menu.
4707 (eww-render, eww-mode): Use `setq-local'.
4708 (eww-tool-bar-map): New variable.
4709 (eww-mode): Set `tool-bar-map'.
4710 (eww-view-source): Check for `html-mode' with `fboundp'.
4712 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4714 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4715 elements with text inside. Also remove debugging.
4717 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4719 * cus-start.el (all): Add ns-use-srgb-colorspace.
4721 2013-12-21 Chong Yidong <cyd@gnu.org>
4723 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4724 undefined. Thus, theme settings for undefined faces do not take
4725 effect until the faces are defined with defface, the same as with
4728 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4729 (face-spec-reset-face): Don't assign extra properties in temacs.
4730 (face-spec-recalc): Apply X resources too.
4732 2013-12-21 Chong Yidong <cyd@gnu.org>
4734 * faces.el (face-spec-set):
4735 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4736 * custom.el (defface): Doc fixes (Bug#16203).
4738 * indent.el (indent-rigidly-map): Add docstring, and move commands
4739 into named functions.
4740 (indent-rigidly-left, indent-rigidly-right)
4741 (indent-rigidly-left-to-tab-stop)
4742 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4743 indentation direction based on bidi direction, and accumulate
4744 sequential commands in a single undo boundary.
4745 (indent-rigidly--pop-undo): New utility function.
4747 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4749 * faces.el (read-face-name): Require crm.el when using crm-separator.
4751 2013-12-20 Daniel Colascione <dancol@dancol.org>
4753 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4754 so that we don't reflow comments into the shebang line.
4756 2013-12-20 Juri Linkov <juri@jurta.org>
4758 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4759 a position when `dired-directory' is non-nil. Check integer
4760 positions with `integerp'.
4761 (toggle-save-place, save-places-to-alist): Add check for
4763 (save-place-find-file-hook): Check integer positions with
4765 (save-place-dired-hook): Use `dired-goto-file' when
4766 `dired-filename' is found in the assoc list. Check integer
4767 positions with `integerp'.
4768 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4770 * dired.el (dired-initial-position-hook): Rename back from
4771 `dired-initial-point-hook'.
4772 (dired-initial-position): Rename `dired-initial-point-hook' to
4773 `dired-initial-position-hook'.
4774 (dired-file-name-at-point): Doc fix. (Bug#15329)
4776 2013-12-20 Juri Linkov <juri@jurta.org>
4778 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4779 (read-regexp-suggestions): New function.
4780 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4781 Use `read-regexp-suggestions'. Add non-empty default to history
4783 (occur-read-regexp-defaults-function): Remove function.
4784 (occur-read-primary-args): Use `regexp-history-last' instead of
4785 `occur-read-regexp-defaults-function'.
4787 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4788 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4789 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4790 `hi-lock-read-regexp-defaults-function'. Doc fix.
4791 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4792 with `find-tag-default-as-symbol-regexp'. Doc fix.
4793 (hi-lock-read-regexp-defaults): Remove function.
4794 (hi-lock-regexp-okay): Add check for null.
4796 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4797 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4799 * subr.el (find-tag-default-as-symbol-regexp): New function.
4800 (find-tag-default-as-regexp): Move symbol regexp formatting to
4801 `find-tag-default-as-symbol-regexp'.
4803 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4805 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4808 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4810 * calendar/todo-mode.el: New implementation of item insertion
4811 commands and key bindings.
4812 (todo-key-prompt): New face.
4813 (todo-insert-item): New command.
4814 (todo-insert-item--parameters): New defconst, replacing defvar
4815 todo-insertion-commands-args-genlist.
4816 (todo-insert-item--param-key-alist): New defconst, replacing
4817 defvar todo-insertion-commands-arg-key-list.
4818 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4819 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4820 (todo-insert-item--next-param): New functions.
4821 (todo-insert-item--args, todo-insert-item--argleft)
4822 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4824 (todo-key-bindings-t): Change binding of "i" from
4825 todo-insertion-map to todo-insert-item.
4826 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4827 (todo-insertion-command-name, todo-insertion-commands-names)
4828 (todo-define-insertion-command, todo-insertion-commands)
4829 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4831 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4833 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4834 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4836 (todo-move-category): Allow choosing a non-existing todo file to
4837 move the category to, and create that file.
4838 (todo-default-priority): New user option.
4839 (todo-set-item-priority): Use it.
4840 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4841 (desktop-restore-file-buffer): Declare.
4842 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4843 (todo-modes-set-2): Locally set desktop-save-buffer to
4844 todo-desktop-save-buffer.
4845 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4846 (auto-mode-alist): Add autoload cookie.
4848 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4850 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4851 helpers.el was a poor choice of name.
4852 (string-remove-prefix): New function.
4853 (string-remove-suffix): New function.
4855 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4857 Fix assignment for new window total sizes.
4858 * window.el (window--pixel-to-size): Remove function.
4859 (window--pixel-to-total-1, window--pixel-to-total):
4860 Fix calculation of new total sizes.
4862 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4864 * comint.el (comint-output-filter): Fix rear-nonsticky property
4865 placement (Bug#16010).
4867 2013-12-20 Chong Yidong <cyd@gnu.org>
4869 * faces.el (read-color): Minor fix for completion function.
4871 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4873 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4874 New option. (Bug#16182)
4875 (ruby-smie--indent-to-stmt-p): Use it.
4876 (ruby-smie-rules): Revert the logic in the handling of `when'.
4877 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4878 (ruby-deep-arglist, ruby-deep-indent-paren)
4879 (ruby-deep-indent-paren-style): Update docstrings to note that the
4880 vars don't have any effect with SMIE.
4882 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4884 * calc/calc.el (calc-enter, calc-pop): Use the variable
4885 `calc-context-sensitive-enter'.
4887 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4889 * net/shr.el (shr-insert): Protect against infloops in degenerate
4892 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4894 * progmodes/octave.el (octave): Add link to manual and octave
4896 (octave-mode-menu): Link to octave-mode manual.
4898 2013-12-20 Leo Liu <sdl.web@gmail.com>
4900 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4901 insertion using skeleton-end-newline. (Bug#16138)
4903 2013-12-20 Juri Linkov <juri@jurta.org>
4905 * replace.el (occur-engine): Use `add-face-text-property'
4906 to add the face property to matches and titles. (Bug#14645)
4908 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4909 the palette of other hi-lock colors.
4910 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4912 2013-12-19 Juri Linkov <juri@jurta.org>
4914 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4915 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4916 (minibuffer-history-symbol): Move variable declaration closer to
4919 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4922 2013-12-19 Juri Linkov <juri@jurta.org>
4924 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4926 (log-edit-hook): Add it to :options. (Bug#16170)
4928 2013-12-19 Juri Linkov <juri@jurta.org>
4930 * simple.el (eval-expression-print-format): Don't check for
4931 command names and the last command. Always display additional
4932 formats of the integer result in the echo area, and insert them
4933 to the current buffer only with a zero prefix arg.
4934 Display character when char-displayable-p is non-nil.
4935 (eval-expression): With a zero prefix arg, set `print-length' and
4936 `print-level' to nil, and insert the integer values from
4937 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4939 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4940 `eval-last-sexp-arg-internal'. Doc fix.
4941 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4942 `eval-last-sexp-print-value'. Doc fix.
4943 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4944 Set `print-length' and `print-level' to nil when arg is zero.
4945 (eval-last-sexp): Doc fix.
4946 (eval-defun-2): Print the integer values from
4947 `eval-expression-print-format' at the end.
4949 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4950 values from `eval-expression-print-format' at the end.
4952 * ielm.el (ielm-eval-input): Print the integer
4953 values from `eval-expression-print-format' at the end.
4955 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4957 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4958 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4960 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4962 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4963 (hl-line-highlight, global-hl-line-highlight): Use it.
4964 (hl-line-overlay): Use defvar-local.
4966 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4968 * term/ns-win.el: Require dnd.
4969 (global-map): Remove drag items.
4970 (ns-insert-text, ns-set-foreground-at-mouse)
4971 (ns-set-background-at-mouse):
4972 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4973 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4976 2013-12-19 Glenn Morris <rgm@gnu.org>
4978 * emacs-lisp/ert.el (ert-select-tests):
4979 Fix string/symbol mixup. (Bug#16121)
4981 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4983 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4984 keywords to their parent.
4986 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4988 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4989 first arg to be a string (fixed dead code), or an operator symbol.
4990 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4992 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4993 did nothing. Don't respond to `(:after ".")', it will be called
4994 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4995 change anything. Only return indentation for binary operators
4996 when they are hanging. De-dent opening paren when its parent is
4997 `.', otherwise it looks bad when the dot is not at bol or eol
5000 2013-12-19 Juri Linkov <juri@jurta.org>
5002 * replace.el (query-replace-read-args): Split a non-negative arg
5003 and a negative arg into separate elements.
5004 (query-replace, query-replace-regexp, replace-string)
5005 (replace-regexp): Add arg `backward'. Doc fix.
5006 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5007 move point to the beginning of the match.
5008 (replace-search, replace-highlight): Use new arg `backward'
5009 to set the value of `isearch-forward'.
5010 (perform-replace): Add arg `backward' and use it to perform
5011 replacement backward. (Bug#14979)
5013 * isearch.el (isearch-query-replace): Use a negative prefix arg
5014 to call `perform-replace' with a non-nil arg `backward'.
5016 2013-12-18 Juri Linkov <juri@jurta.org>
5018 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5019 to the default list. Move `log-edit-show-files' to the end.
5020 Add more available functions to options.
5021 (log-edit): Move default specific settings to
5022 `log-edit-insert-message-template'. Don't move point.
5023 (log-edit-insert-message-template): New function.
5024 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5027 2013-12-18 Juri Linkov <juri@jurta.org>
5029 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5030 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5032 2013-12-18 Leo Liu <sdl.web@gmail.com>
5034 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5037 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5039 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5040 formats for displaying file sizes when the -s switch is given.
5041 Instead, compute a separate format for displaying the size in
5042 blocks, which is displayed in addition to the "regular" size.
5043 When -h is given in addition to -s, produce size in blocks in
5044 human-readable form as well. (Bug#16179)
5046 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5048 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5049 Reference tables with ~\ref{...} instead of only \ref{...}.
5051 2013-12-18 Chong Yidong <cyd@gnu.org>
5053 * cus-edit.el (custom-magic-alist): Fix "themed" description
5056 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5057 is non-nil, do not create a new entry in the symbol's theme-value
5058 or theme-face property; update theme-settings only (Bug#14664).
5059 (custom-available-themes): Doc fix.
5061 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5064 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5066 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5068 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5071 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5073 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5075 2013-12-18 Glenn Morris <rgm@gnu.org>
5077 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5078 * cus-start.el (load-prefer-newer): New option.
5080 2013-12-18 Le Wang <l26wang@gmail.com>
5082 * comint.el (comint-previous-matching-input-from-input):
5083 Retain point (Bug#13404).
5085 2013-12-18 Chong Yidong <cyd@gnu.org>
5087 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5089 2013-12-18 Glenn Morris <rgm@gnu.org>
5091 * mail/emacsbug.el (report-emacs-bug):
5092 Only mention enable-multibyte-characters if non-standard.
5094 2013-12-17 Juri Linkov <juri@jurta.org>
5096 * arc-mode.el (archive-extract-by-file): Check if directory exists
5097 before deletion to not show irrelevant errors if it doesn't exist.
5099 2013-12-17 Juri Linkov <juri@jurta.org>
5101 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5104 * net/eww.el (browse-web): Add alias to `eww'.
5105 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5106 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5108 * net/browse-url.el (browse-url-browser-function): Move `eww'
5109 closer to similar functions.
5111 * startup.el (fancy-startup-screen, fancy-about-screen):
5112 Set browse-url-browser-function to eww-browse-url locally.
5115 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5117 * window.el (window--pixel-to-total): Remove unused `mini' var.
5118 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5119 (split-window): Remove unused `new' var.
5120 (window--display-buffer): Remove unused `frame' and `delta' vars.
5121 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5124 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5126 * dired.el (dired-mark-pop-up):
5127 * register.el (register-preview): Don't bind
5128 split-height-threshold here since it's now done in
5129 display-buffer-below-selected.
5131 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5133 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5134 xterm-rgb-convert-to-16bit.
5135 (rxvt-register-default-colors): Standardize with
5136 xterm-register-default-colors (Bug#14078).
5138 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5140 * simple.el (kill-region): Pass mark first, then point, so that
5141 kill-append works right (Bug#12819).
5142 (copy-region-as-kill, kill-ring-save): Likewise.
5144 2013-12-17 Leo Liu <sdl.web@gmail.com>
5146 * net/rcirc.el (rcirc-add-face):
5147 * eshell/em-prompt.el (eshell-emit-prompt):
5148 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5151 2013-12-17 Chong Yidong <cyd@gnu.org>
5153 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5154 Suggested by Xue Fuqiao.
5156 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5158 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5160 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5162 * net/shr.el (shr-insert-document): Remove unused var
5163 `shr-preliminary-table-render'.
5164 (shr-rescale-image): Remove unused arg `force'.
5165 (shr-put-image): Update calls accordingly.
5166 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5168 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5170 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5171 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5172 :close-all, to see which indentation method to use (Bug#16116).
5173 (smie-rules-function): Document the method :close-all.
5175 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5177 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5179 * net/eww.el (eww-display-html): If we can't find the anchor we're
5180 looking for, then go to point-min.
5182 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5184 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5185 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5186 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5187 Expand dir too, in case it's relative.
5189 2013-12-16 Juri Linkov <juri@jurta.org>
5191 * desktop.el (desktop-auto-save-timeout): Change default to
5192 `auto-save-timeout'. Doc fix.
5193 (desktop-save): Skip the timestamp in desktop-saved-frameset
5194 when checking for auto-save changes.
5195 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5196 `desktop-auto-save' is called repeatedly by the idle timer.
5197 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5198 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5201 2013-12-16 Juri Linkov <juri@jurta.org>
5203 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5205 (isearch-pre-command-hook): Check `this-command' for symbolp.
5207 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5209 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5211 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5213 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5214 (cfengine3--current-function): Bring in the current-function
5215 functionality from `cfengine3--current-word'.
5216 (cfengine3-completion-function): Bring in the
5217 bounds-of-current-word functionality from
5218 `cfengine3--current-word'.
5220 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5222 * window.el (display-buffer-below-selected):
5223 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5225 2013-12-16 Leo Liu <sdl.web@gmail.com>
5227 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5228 Remove NOMSG arg and all uses changed.
5230 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5232 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5233 (cua--deactivate-rectangle): Don't deactivate the mark.
5234 (cua-set-rectangle-mark): Don't set mark-active since
5235 cua--activate-rectangle already does it for us.
5236 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5237 non-rectangular region.
5239 * emulation/cua-base.el (cua-repeat-replace-region):
5240 Use with-current-buffer.
5242 * net/gnutls.el: Use cl-lib.
5243 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5245 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5247 * emacs-lisp/package.el (package-built-in-p): Support both
5248 built-in and the package.el converted package descriptions.
5249 (package-show-package-list): Allow keywords.
5250 (package-keyword-button-action): Use it instead of
5251 `finder-list-matches'.
5252 (package-menu-filter-interactive): Interactive filtering (by
5254 (package-menu--generate): Support keywords and change keymappings
5255 and headers when they are given.
5256 (package--has-keyword-p): Helper function.
5257 (package-menu--refresh): Use it.
5258 (package--mapc): Helper function.
5259 (package-all-keywords): Use it.
5260 (package-menu-mode-map): Set up menu items and keybindings to
5261 provide a filtering UI.
5263 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5265 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5266 the behavior when a certificate fails validation. Defaults to
5267 old behavior: never abort, just warn.
5268 (gnutls-negotiate): Use it.
5270 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5272 * window.el (display-buffer-below-selected): Never split window
5273 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5275 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5277 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5278 (package-buffer-info): Use it (bug#15108).
5280 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5282 * icomplete.el (icomplete-completions): Make sure the prefix is already
5283 displayed elsewhere before hiding it (bug#16219).
5285 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5287 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5288 open-paren tokens when preceded by a open-paren, too.
5289 (ruby-smie-rules): Handle virtual indentation after open-paren
5290 tokens specially. If there is code between it and eol, return the
5291 column where is starts (Bug#16118).
5293 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5295 * progmodes/cfengine.el: Fix `add-hook' doc.
5296 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5297 (cfengine3--current-word): Fix parameters.
5298 (cfengine3-make-syntax-cache): Simplify further.
5299 (cfengine3-completion-function, cfengine3--current-function):
5300 Use `assq' for symbols.
5301 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5303 2013-12-13 Glenn Morris <rgm@gnu.org>
5305 * loadup.el (load-path): Warn if site-load or site-init changes it.
5306 No more need to reset it when bootstrapping.
5308 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5310 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5311 locations for cf-promises.
5312 (cfengine-mode-syntax-functions-regex): New caching variable.
5313 (cfengine3-fallback-syntax): Fallback syntax for cases where
5314 cf-promises doesn't run.
5315 (cfengine3--current-word): Reimplement using
5316 `cfengine-mode-syntax-functions-regex'.
5317 (cfengine3-completion-function, cfengine3--current-function):
5318 Use `cfengine3-make-syntax-cache' directly.
5319 (cfengine3-clear-syntax-cache): New function.
5320 (cfengine3-make-syntax-cache): Simplify and create
5321 `cfengine-mode-syntax-functions-regex' on demand.
5322 (cfengine3-format-function-docstring): Don't call
5323 `cfengine3-make-syntax-cache' explicitly.
5325 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5327 Fix windmove-find-other-window broken after pixelwise resizing
5329 * windmove.el (windmove-other-window-loc): Revert change from
5331 (windmove-find-other-window): Call window-in-direction.
5332 * window.el (window-in-direction): New arguments SIGN, WRAP and
5333 MINI to emulate original windmove-find-other-window behavior.
5335 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5337 * simple.el (blink-matching--overlay): New variable.
5338 (blink-matching-open): Instead of moving point, highlight the
5339 matching paren with an overlay
5340 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5342 * faces.el (paren-showing-faces, show-paren-match)
5343 (show-paren-mismatch): Move from paren.el.
5345 2013-12-13 Leo Liu <sdl.web@gmail.com>
5347 * indent.el (indent-region): Disable progress reporter in
5348 minibuffer. (Bug#16108)
5350 * bindings.el (visual-order-cursor-movement): Fix version.
5352 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5354 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5355 Also match after beginning of line.
5356 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5357 files. Thanks to Russell Sim. (Bug#15378)
5359 2013-12-13 Juri Linkov <juri@jurta.org>
5361 * simple.el <Keypad support>: Remove key bindings duplicated
5362 with bindings.el. (Bug#14397)
5364 2013-12-13 Juri Linkov <juri@jurta.org>
5366 * comint.el (comint-mode-map): Replace `delete-char' with
5367 `delete-forward-char'. (Bug#16109)
5369 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5371 * progmodes/python.el (python-indent-calculate-indentation):
5372 Fix de-denters cornercase. (Bug#15731)
5374 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5376 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5377 (advice--make): Pay attention to `depth'.
5378 (advice--make-1): Don't autoload commands eagerly.
5379 * emacs-lisp/elp.el (elp-instrument-function):
5380 * emacs-lisp/trace.el (trace-function-internal):
5381 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5383 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5385 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5387 * term/w32-win.el (w32-handle-dropped-file):
5388 * startup.el (normal-top-level):
5389 * net/browse-url.el (browse-url-file-url):
5390 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5391 decode file names using 'utf-8' rather than
5392 file-name-coding-system.
5394 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5396 * progmodes/python.el (python-indent-context)
5397 (python-indent-calculate-indentation): Fix auto-identation
5398 behavior for comment blocks. (Bug#15916)
5400 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5402 * progmodes/python.el (python-indent-calculate-indentation):
5403 When determining indentation, don't treat "return", "pass", etc., as
5404 operators when they are just string constituents. (Bug#15812)
5406 2013-12-12 Juri Linkov <juri@jurta.org>
5408 * uniquify.el (uniquify-buffer-name-style): Change default to
5409 `post-forward-angle-brackets'.
5411 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5412 `uniquify'. Change default to `post-forward-angle-brackets'.
5414 2013-12-11 Glenn Morris <rgm@gnu.org>
5416 * emacs-lisp/package.el (finder-list-matches):
5417 Autoload rather than falsely declaring.
5419 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5421 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5422 (eww-mode-map): Use them.
5424 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5426 * window.el (display-buffer-in-side-window): Fix doc-string
5429 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5431 * vc/vc-git.el: Silence byte-compiler warnings.
5432 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5433 (log-edit-set-header): Declare.
5435 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5437 * Makefile.in (custom-deps, finder-data): Run output file names
5438 through unmsys--file-name. (Bug#16099)
5440 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5442 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5443 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5445 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5446 instead of deleting the selection "by hand" (bug#16098).
5447 Rely on insert-for-yank to yank rectangles.
5448 (cua-highlight-region-shift-only): Mark obsolete.
5449 (cua-mode): Don't enable/disable transient-mark-mode,
5450 shift-select-mode (cua-mode works both with and without them), and
5451 pc-selection-mode (obsolete).
5452 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5453 (cua--deactivate-rectangle): Deactivate it.
5455 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5456 (delete-selection-helper): Make sure yank starts at the top of the
5458 (minibuffer-keyboard-quit): Use region-active-p.
5460 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5462 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5463 to `delete' (bug#16109).
5465 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5467 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5468 info manual and show keybindings and set `:group' keyword.
5470 2013-12-11 Juri Linkov <juri@jurta.org>
5472 * delsel.el (delete-active-region): Let-bind `this-command'
5473 to prevent `kill-region' from changing its original value.
5474 (delete-selection-helper): Handle `overwrite-mode' for the type
5475 `kill' exactly the same way as for the type `t'.
5476 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5477 Support more commands. (Bug#13312)
5479 2013-12-11 Juri Linkov <juri@jurta.org>
5481 * bindings.el: Map kp keys to non-kp keys systematically
5482 with basic modifiers control, meta and shift. (Bug#14397)
5484 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5486 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5487 "Close browser" menu items. Fix wrong function of "List
5490 2013-12-11 Juri Linkov <juri@jurta.org>
5492 * misearch.el (multi-isearch-buffers): Set the value of
5493 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5494 arg of isearch-forward to t.
5495 (multi-isearch-buffers-regexp): Set the value of
5496 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5497 arg of isearch-forward-regexp to t.
5498 (multi-isearch-files): Set the value of
5499 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5500 arg of isearch-forward to t.
5501 (multi-isearch-files-regexp): Set the value of
5502 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5503 arg of isearch-forward-regexp to t. (Bug#16035)
5505 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5506 arg of isearch-forward to t.
5507 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5508 arg of isearch-forward-regexp to t.
5509 (dired-isearch-filter-filenames): Remove unnecessary check for
5510 `dired-isearch-filenames'.
5512 * comint.el (comint-history-isearch-backward):
5513 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5514 (comint-history-isearch-backward-regexp):
5515 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5517 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5519 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5520 unmsys--file-name. (Bug#16099)
5522 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5524 * emacs-lisp/package.el (package-keyword-button-action):
5525 Remove finder.el require dependency.
5527 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5529 * emacs-lisp/package.el: Require finder.el.
5530 (describe-package-1): Add keyword buttons.
5531 (package-make-button): New convenience function.
5532 (package-keyword-button-action): Keyword button action using
5533 `finder-list-matches'.
5535 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5537 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5540 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5542 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5545 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5547 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5548 after the end of a percent literal.
5550 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5552 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5553 Handle caret-delimited strings (Bug#16079).
5555 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5557 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5558 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5559 `ruby-parse-partial' (Bug#16078).
5561 2013-12-09 Leo Liu <sdl.web@gmail.com>
5563 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5565 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5567 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5568 (js-switch-indent-offset): New option.
5569 (js--proper-indentation): Use it. And handle the case when
5570 "default" is actually a key in an object literal.
5571 (js--same-line): New function.
5572 (js--multi-line-declaration-indentation): Use it.
5573 (js--indent-in-array-comp, js--array-comp-indentation):
5575 (js--proper-indentation): Use them, to handle array comprehension
5578 2013-12-08 Leo Liu <sdl.web@gmail.com>
5580 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5581 (flymake-make-overlay): Remove arg MOUSE-FACE.
5582 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5584 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5586 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5588 (redisplay-highlight-region-function): Use it.
5590 * emulation/cua-base.el (cua--explicit-region-start)
5591 (cua--last-region-shifted): Remove.
5592 (cua--deactivate): Use deactivate-mark.
5593 (cua--pre-command-handler-1): Don't handle shift-selection.
5594 (cua--post-command-handler-1): Don't change transient-mark-mode.
5595 (cua--select-keymaps): Use region-active-p rather than
5596 cua--explicit-region-start or cua--last-region-shifted.
5597 (cua-mode): Enable shift-select-mode.
5599 2013-12-08 Leo Liu <sdl.web@gmail.com>
5601 * progmodes/flymake.el (flymake-popup-current-error-menu):
5602 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5603 (flymake-posn-at-point-as-event, flymake-popup-menu)
5604 (flymake-make-emacs-menu): Remove. (Bug#16077)
5606 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5608 * rect.el (rectangle-mark-mode): Activate mark even if
5609 transient-mark-mode is off (bug#16066).
5610 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5611 is > mark and at bolp.
5613 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5614 (region-extract-function): Use it.
5615 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5616 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5618 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5619 kill-ring-save, kill-region, delete-char, delete-forward-char.
5620 Ignore self-insert-iso.
5622 * emulation/cua-gmrk.el (cua--init-global-mark):
5623 Ignore `self-insert-iso'.
5625 * emulation/cua-base.el (cua--prefix-copy-handler)
5626 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5627 checking cua--rectangle.
5628 (cua-delete-region): Use region-extract-function.
5629 (cua-replace-region): Delete function.
5630 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5631 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5632 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5633 (cua--init-keymaps): Don't remap delete-selection commands.
5634 (cua-mode): Use delete-selection-mode instead of rolling our own
5637 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5638 Obey region-extract-function.
5640 Make registers and delete-selection-mode work on rectangles.
5641 * register.el (describe-register-1): Don't modify the register's value.
5642 (copy-to-register): Obey region-extract-function.
5643 * delsel.el (delete-active-region): Obey region-extract-function.
5645 2013-12-08 Leo Liu <sdl.web@gmail.com>
5647 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5648 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5649 (flymake-compilation-prevents-syntax-check)
5650 (flymake-start-syntax-check-on-newline)
5651 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5652 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5653 (flymake-xml-program, flymake-master-file-dirs)
5654 (flymake-master-file-count-limit)
5655 (flymake-allowed-file-name-masks): Relocate.
5656 (flymake-makehash, flymake-float-time)
5657 (flymake-replace-regexp-in-string, flymake-split-string)
5658 (flymake-get-temp-dir): Remove.
5659 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5660 (flymake-current-row, flymake-selected-frame)
5661 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5662 related functions. (Bug#16077)
5664 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5666 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5668 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5670 * help-fns.el (describe-function-1): Use new advice-* functions
5671 rather than old ad-* functions. Fix function type description and
5672 source links for advised functions and subrs.
5674 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5676 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5678 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5680 * progmodes/compile.el (compilation-start):
5681 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5683 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5684 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5686 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5688 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5689 Touch up the last change.
5691 2013-12-06 Leo Liu <sdl.web@gmail.com>
5693 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5694 (inferior-octave-startup): Always use "octave> " for prompt.
5695 (octave-goto-function-definition)
5696 (octave-sync-function-file-names)
5697 (octave-find-definition-default-filename): Remove redundant backquotes.
5699 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5701 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5703 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5704 where appropriate already.
5705 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5706 end of method names (Bug#15874).
5708 2013-12-06 Juri Linkov <juri@jurta.org>
5710 * isearch.el (isearch--saved-overriding-local-map):
5711 New internal variable.
5712 (isearch-mode): Set it to the initial value of
5713 `overriding-terminal-local-map'.
5714 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5715 with `isearch--saved-overriding-local-map'. (Bug#16035)
5717 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5719 * progmodes/octave.el (inferior-octave-completion-table):
5720 Turn back into function, use `completion-table-with-cache'
5721 (Bug#11906). Update all references.
5723 * minibuffer.el (completion-table-with-cache): New function.
5725 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5727 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5729 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5731 * net/eww.el (eww-current-source): New variable to store page
5733 (eww-display-html, eww-mode, eww-save-history)
5734 (eww-restore-history): Use it.
5735 (eww-view-source): New command to view page source.
5736 Opportunistically uses `html-mode' to highlight the buffer.
5737 (eww-mode-map): Install it.
5739 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5741 * net/dbus.el (dbus-unregister-service)
5742 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5744 (dbus-unregister-service): Skip :serial entries in
5745 `dbus-registered-objects-table'.
5746 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5748 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5750 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5751 around keywords with extra `split-string' argument.
5753 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5755 * windmove.el (windmove-other-window-loc): Handle navigation
5756 between windows (excluding the minibuffer window - Bug#16017).
5758 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5760 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5761 in D-Bus type syntax.
5762 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5763 preserve unibyte strings. (Bug#16048)
5765 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5767 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5768 Call force-mode-line-update is the proper buffer (bug#16042).
5770 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5772 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5773 `log-edit-remember-comment', make argument optional. Adjust all
5775 (log-edit-mode): Add `log-edit-remember-comment' to
5776 `kill-buffer-hook' locally.
5777 (log-edit-kill-buffer): Don't remember comment explicitly since
5778 the buffer is killed anyway.
5780 2013-12-04 Juri Linkov <juri@jurta.org>
5782 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5783 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5785 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5787 * notifications.el (notifications-close-notification): Call the
5788 D-Bus method with ID being a `:uint32'. (Bug#16030)
5790 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5792 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5794 2013-12-03 Juri Linkov <juri@jurta.org>
5796 * progmodes/compile.el (compilation-start): Rename window alist
5797 entry `no-display-ok' to `allow-no-window'.
5799 * simple.el (shell-command): Add window alist entry
5800 `allow-no-window' to `display-buffer'.
5801 (async-shell-command): Doc fix.
5803 * window.el (display-buffer-no-window): New action function.
5804 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5806 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5808 * vc/log-edit.el (log-edit-set-header): Extract from
5809 `log-edit-toggle-header'.
5810 (log-edit-extract-headers): Separate the summary, when extracted
5811 from header, from the rest of the message with an empty line.
5813 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5814 line, if present, to the Summary header.
5816 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5818 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5819 in current-buffer (bug#16029).
5821 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5823 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5824 (debugger-mode-map): Bind it.
5825 (debugger--backtrace-base): New function.
5826 (debugger-eval-expression): Use it.
5827 (debugger-frame-number): Skip local vars when present.
5828 (debugger--locals-visible-p, debugger--insert-locals)
5829 (debugger--show-locals, debugger--hide-locals): New functions.
5831 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5833 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5835 (tramp-get-remote-locale): New defun.
5836 (tramp-open-connection-setup-interactive-shell): Use it.
5838 2013-12-02 Leo Liu <sdl.web@gmail.com>
5840 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5842 * progmodes/sh-script.el (sh-shell-process):
5843 * progmodes/octave.el (inferior-octave-process-live-p):
5844 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5845 (gdb-inferior-io-sentinel):
5846 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5848 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5850 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5851 `save-selected-window' to `log-edit-hide-buf'. This makes
5852 `log-edit-show-files' idempotent.
5853 (log-edit-show-files): Mark the new window as dedicated.
5855 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5857 * vc/log-edit.el (log-edit-mode-map): Add binding for
5858 `log-edit-kill-biffer'.
5859 (log-edit-hide-buf): Add a FIXME comment.
5860 (log-edit-add-new-comment): New function, extracted from
5862 (log-edit-done, log-edit-add-to-changelog): Use it.
5863 (log-edit-kill-buffer): New command.
5865 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5867 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5868 instead of killing the buffer.
5870 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5872 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5874 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5876 * net/eww.el (eww-form-checkbox-selected-symbol)
5877 (eww-form-checkbox-symbol): New customizable variable.
5878 (eww-form-checkbox, eww-toggle-checkbox):
5879 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5881 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5882 (shr--get-media-pref, shr--extract-best-source): New function.
5883 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5884 no :src tag was specified.
5886 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5887 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5888 Use \\` to match beginning of string instead of ^.
5889 (eww-browse-with-external-browser): Provide optional URL parameter.
5890 (eww-render): Set `eww-current-title' back to "".
5892 * net/shr.el (shr-tag-video): Display content for video if no
5893 poster is available.
5894 (shr-tag-audio): Add support for <audio> tag.
5896 * net/eww.el (eww-text-input-types): New const.
5897 (eww-process-text-input): Treat input types in
5898 `eww-text-input-types' as text.
5900 * net/shr.el (shr-tag-table): Fix comment typo.
5902 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5904 * net/eww.el (eww-follow-link): New command to avoid reloading
5905 pages when we follow #target links (bug#15243).
5906 (eww-quit): Special mode buffers shouldn't query before exiting.
5908 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5910 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5913 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5915 * net/eww.el (eww-restore-history): Update the window title after
5916 moving in the history.
5917 (eww-current-dom): New variable used to save the current DOM.
5919 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5921 * vc/log-edit.el (log-edit-mode-map): Add binding for
5922 `log-edit-beginning-of-line'.
5923 (log-edit-setup-add-author): New user option.
5924 (log-edit-beginning-of-line): New command.
5925 (log-edit): Move major mode call above the contents setup so that
5926 the local variable values are already applied.
5927 (log-edit): Only insert "Author: " when
5928 `log-edit-setup-add-author' is non-nil.
5929 (log-edit): When SETUP is non-nil, position point after ": "
5930 instead of point-min.
5932 2013-12-01 Glenn Morris <rgm@gnu.org>
5934 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5936 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5938 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5939 redisplay to make sure the initial frame gets a chance to become
5940 visible. (Bug#16014)
5942 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5944 Support resizing frames and windows pixelwise.
5945 * cus-start.el (frame-resize-pixelwise)
5946 (window-resize-pixelwise): New entries.
5947 * emacs-lisp/debug.el (debug): Use window-total-height instead
5948 of window-total-size.
5949 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5950 * help.el (describe-bindings-internal): Use help-buffer as
5951 argument for with-help-window.
5952 (temp-buffer-max-width): New option.
5953 (resize-temp-buffer-window, help-window-setup)
5954 (with-help-window): Rewrite.
5955 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5957 * window.el (frame-char-size, window-min-pixel-height)
5958 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5959 (window-min-pixel-width, window-safe-min-pixel-size)
5960 (window-combination-p, window-safe-min-size)
5961 (window-resizable-p, window--size-to-pixel)
5962 (window--pixel-to-size, window--resize-apply-p): New functions.
5963 (window-safe-min-height): Fix doc-string.
5964 (window-size, window-min-size, window--min-size-1)
5965 (window-sizable, window-sizable-p, window--min-delta-1)
5966 (window-min-delta, window--max-delta-1, window-max-delta)
5967 (window--resizable, window--resizable-p, window-resizable)
5968 (window-full-height-p, window-full-width-p, window-at-side-p)
5969 (window--in-direction-2, window-in-direction)
5970 (window--resize-reset-1, window--resize-mini-window)
5971 (window-resize, window-resize-no-error)
5972 (window--resize-child-windows-normal)
5973 (window--resize-child-windows, window--resize-siblings)
5974 (window--resize-this-window, window--resize-root-window)
5975 (window--resize-root-window-vertically)
5976 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5977 (maximize-window, minimize-window, delete-window)
5978 (quit-restore-window, window-split-min-size, split-window)
5979 (balance-windows-2, balance-windows)
5980 (balance-windows-area-adjust, balance-windows-area)
5981 (window--state-get-1, window-state-get, window--state-put-1)
5982 (window--state-put-2, window-state-put)
5983 (display-buffer-record-window, window--display-buffer):
5984 Make functions handle pixelwise sizing of windows.
5985 (display-buffer--action-function-custom-type)
5986 (display-buffer-fallback-action):
5987 Add display-buffer-in-previous-window.
5988 (display-buffer-use-some-window): Resize window to height it had
5990 (fit-window-to-buffer-horizontally): New option.
5991 (fit-frame-to-buffer): Describe new values.
5992 (fit-frame-to-buffer-bottom-margin): Replace with
5993 fit-frame-to-buffer-margins.
5994 (window--sanitize-margin): New function.
5995 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5996 using window-text-pixel-size.
5998 2013-11-30 Glenn Morris <rgm@gnu.org>
6000 * emacs-lisp/bytecomp.el (byte-compile-form):
6001 Make the `interactive-only' warning like the `obsolete' one.
6002 * comint.el (comint-run):
6003 * files.el (insert-file-literally, insert-file):
6004 * replace.el (replace-string, replace-regexp):
6005 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6006 (goto-line, insert-buffer, next-line, previous-line):
6007 Tweak `interactive-only' spec.
6009 Stop keeping (most) generated cedet grammar files in the repository.
6010 * Makefile.in (semantic): New.
6011 (compile-main): Depend on semantic.
6013 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6015 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6016 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6018 * uniquify.el (uniquify-buffer-name-style): Change default.
6020 * loadup.el: Preload "uniquify".
6022 * time.el (display-time-update): Update all mode lines (bug#15999).
6024 * electric.el (electric-indent-mode): Enable by default.
6025 * loadup.el: Preload "electric".
6027 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6029 * emacs-lisp/helpers.el (string-empty-p): New function.
6030 (string-blank-p): New function.
6032 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6034 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6037 2013-11-29 Andreas Politz <politza@fh-trier.de>
6038 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6039 allow non-lambda lists as functions.
6040 (imenu--in-alist): Don't recurse into non-subalists.
6041 (imenu): Don't pass function itself as an argument (Bug#14029).
6043 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6045 * progmodes/python.el (python-mode-map): Remove binding for ":".
6046 (python-indent-electric-colon): Remove command.
6047 (python-indent-post-self-insert-function): Integrate the previous code
6048 of python-indent-electric-colon. Make it conditional on
6049 electric-indent-mode.
6050 (python-mode): Add ?: to electric-indent-chars.
6051 Move python-indent-post-self-insert-function to the end of
6052 post-self-insert-hook.
6054 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6056 * doc-view.el (doc-view-goto-page): Update mode-line.
6058 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6060 2013-11-27 Glenn Morris <rgm@gnu.org>
6062 * international/charprop.el, international/uni-bidi.el:
6063 * international/uni-category.el, international/uni-combining.el:
6064 * international/uni-comment.el, international/uni-decimal.el:
6065 * international/uni-decomposition.el, international/uni-digit.el:
6066 * international/uni-lowercase.el, international/uni-mirrored.el:
6067 * international/uni-name.el, international/uni-numeric.el:
6068 * international/uni-old-name.el, international/uni-titlecase.el:
6069 * international/uni-uppercase.el:
6070 Remove generated files from VCS repository.
6072 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6074 * filenotify.el (file-notify-add-watch): Don't special-case
6075 w32notify when computing the directory to watch.
6077 2013-11-27 Glenn Morris <rgm@gnu.org>
6079 Make bootstrap without generated uni-*.el files possible again.
6080 * loadup.el: Update command-line-args checking for unidata-gen.
6081 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6082 * composite.el, international/characters.el:
6083 Handle unicode tables being undefined.
6085 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6086 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6087 (compile-main): Depend on leim rule.
6089 * loadup.el: Move leim-list.el to leim/ subdirectory.
6090 * startup.el (normal-top-level): No more leim directory.
6091 * international/ja-dic-cnv.el (skkdic-convert):
6092 Disable version-control and autoloads in output files.
6093 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6094 Disable version-control and autoloads in output files.
6095 * leim/quail: Move here from ../leim.
6096 * leim/quail/hangul.el (hangul-input-method-activate):
6097 Add autoload cookie.
6098 (generated-autoload-load-name): Set file-local value.
6099 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6100 (generated-autoload-load-name): Set file-local value.
6102 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6104 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6105 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6106 (eww-quit): Ask confirmation before quitting eww.
6108 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6110 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6111 reading output from Diff on MS-Windows and MS-DOS.
6113 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6115 * emacs-lisp/helpers.el (string-reverse): New function.
6117 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6119 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6120 names on MS Windows, like "/[::1]:".
6122 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6125 2013-11-26 Glenn Morris <rgm@gnu.org>
6127 * progmodes/python.el (python-indent-guess-indent-offset):
6128 Avoid corner-case error. (Bug#15975)
6130 Preload leim-list.el. (Bug#4789)
6131 * loadup.el: Load leim-list.el when found.
6132 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6134 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6136 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6138 * emacs-lisp/helpers.el (string-join): New function.
6140 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6142 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6143 Mark as obsolete and replace it with a symbol property.
6144 (byte-compile-form): Use new 'interactive-only property.
6145 * comint.el, files.el, replace.el, simple.el:
6146 Apply new 'interactive-only properly.
6148 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6150 * window.el (display-buffer-at-bottom): Make sure that
6151 split-window-sensibly creates the new window on bottom
6154 2013-11-23 David Kastrup <dak@gnu.org>
6156 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6157 on the conflict markers when available.
6158 (smerge--get-marker): New function.
6159 (smerge-end-re, smerge-base-re): Add subgroup.
6161 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6163 * frame.el (handle-focus-in, handle-focus-out): Add missing
6166 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6168 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6169 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6171 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6173 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6174 (gomoku--last-pos): New var.
6175 (gomoku--intangible-chars): New const.
6176 (gomoku--intangible): New function.
6177 (gomoku-mode): Use it. Derive from special-mode.
6178 (gomoku-move-up): Adjust line count.
6179 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6180 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6181 Simplify accordingly.
6183 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6184 Remove blink-cursor code.
6185 (blink-cursor-timer-function, blink-cursor-suspend):
6186 Don't special-case GUIs.
6187 (blink-cursor-mode): Use focus-in/out-hook.
6189 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6191 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6192 work when annotation is invisible (Bug#13886).
6194 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6196 * json.el (json-alist-p): Only return non-nil if the alist has
6197 simple keys (Bug#13518).
6199 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6201 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6202 when control-statement is the first statement in a buffer (Bug#15956).
6204 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6206 * imenu.el (imenu-generic-skip-comments-and-strings):
6207 New option (Bug#15560).
6208 (imenu--generic-function): Use it.
6210 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6212 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6215 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6217 * emacs-lisp/helpers.el: Add some string helpers.
6218 (string-trim-left): Removes leading whitespace.
6219 (string-trim-right): Removes trailing whitespace.
6220 (string-trim): Removes leading and trailing whitespace.
6222 * subr.el (string-suffix-p): New function.
6224 2013-11-23 Glenn Morris <rgm@gnu.org>
6226 * progmodes/python.el (python-shell-send-file):
6227 Add option to delete file when done. (Bug#15647)
6228 (python-shell-send-string, python-shell-send-region): Use it.
6230 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6232 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6233 to set buffer-read-only to t, never to nil. (Bug#15938)
6235 * textmodes/tex-mode.el (latex-noindent-environments):
6236 Add safe-local-variable property. (Bug#15936)
6238 2013-11-23 Glenn Morris <rgm@gnu.org>
6240 * textmodes/enriched.el (enriched-mode): Doc fix.
6241 * emacs-lisp/authors.el (authors-renamed-files-alist):
6242 Add enriched.doc -> enriched.txt.
6244 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6246 2013-11-22 Leo Liu <sdl.web@gmail.com>
6248 * progmodes/octave.el (inferior-octave-startup): Spit out error
6251 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6253 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6256 (ruby-encoding-magic-comment-style): Add :version.
6258 2013-11-22 Leo Liu <sdl.web@gmail.com>
6260 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6262 (octave-help-mode): Adapt to change to help-mode-finish to use
6263 derived-mode-p on 2013-09-17.
6264 (inferior-octave-prompt): Also match octave-gui.
6265 (octave-kill-process): Don't ask twice. (Bug#10564)
6267 2013-11-22 Leo Liu <sdl.web@gmail.com>
6269 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6270 (inferior-octave-startup, inferior-octave-check-process)
6271 (inferior-octave-track-window-width-change)
6272 (octave-completion-at-point, octave-eldoc-function): Use it.
6273 (octave-kill-process): Provide confirmation. (Bug#10564)
6275 2013-11-21 Leo Liu <sdl.web@gmail.com>
6277 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6278 Fix obsolete variable comment-use-global-state.
6280 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6282 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6283 Add `octave-source-file'.
6284 (octave-source-file): New function. (Bug#15935)
6286 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6288 * net/eww.el (eww-local-regex): New variable.
6289 (eww): Use it to detect localhost and similar.
6291 2013-11-21 Leo Liu <sdl.web@gmail.com>
6293 Add completion for command `ag'.
6294 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6295 (pcomplete/ag): New function.
6296 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6298 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6300 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6302 (make-obsolete): Remove interactive spec.
6304 2013-11-21 Glenn Morris <rgm@gnu.org>
6306 * startup.el (command-line-1): Use path-separator with -L.
6308 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6310 * emacs-lisp/package.el (describe-package-1): Add package archive
6313 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6315 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6316 Change default to "# encoding: %s" to differentiate it from the
6317 default Ruby encoding comment template.
6319 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6321 * ses.el (ses-mode): Doc fix. (Bug#14748)
6323 2013-11-20 Leo Liu <sdl.web@gmail.com>
6325 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6327 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6329 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6330 when rebase or bisect are in progress.
6332 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6334 * filenotify.el (file-notify-add-watch): Doc fix.
6336 2013-11-19 Leo Liu <sdl.web@gmail.com>
6338 * obsolete/rcompile.el: Mark obsolete.
6340 * progmodes/compile.el (compilation-start)
6341 (compilation-goto-locus, compilation-find-file):
6342 Pass no-display-ok and handle nil value from display-buffer.
6345 * window.el (display-buffer-alist, display-buffer): Document the
6346 new parameter no-display-ok. Return either a window or nil
6347 but never a non-window value.
6349 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6351 * electric.el (electric-indent-mode-map): Remove.
6352 (electric-indent-mode): Change the global-map instead (bug#15915).
6354 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6357 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6359 * emacs-lisp/nadvice.el (remove-function): Align with
6360 add-function's behavior.
6362 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6363 (gdb--string-regexp): New constant.
6364 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6365 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6366 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6368 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6369 Adjust use accordingly.
6370 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6372 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6374 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6375 interpolation curlies (Bug#15914).
6377 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6379 * calc/calc.el (calc-context-sensitive-enter): New variable.
6380 (calc-enter): Use `calc-context-sensitive-enter'.
6382 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6384 * progmodes/cfengine.el: Version bump.
6385 (cfengine-cf-promises): New defcustom to locate cf-promises.
6386 (cfengine3-vartypes): Add new "data" type.
6387 (cfengine3--current-word): New function to get current name-like
6389 (cfengine3--current-function): New function to look up a CFEngine
6390 function's definition.
6391 (cfengine3-format-function-docstring): New function.
6392 (cfengine3-make-syntax-cache): New function.
6393 (cfengine3-documentation-function): New function: ElDoc glue.
6394 (cfengine3-completion-function): New function: completion glue.
6395 (cfengine3-mode): Set `compile-command',
6396 `eldoc-documentation-function', and add to
6397 `completion-at-point-functions'.
6399 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6401 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6402 `tramp-current-connection'.
6404 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6406 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6407 nil/self/true/false with "end of symbol".
6409 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6411 * subr.el (version-regexp-alist): Fix a typo.
6413 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6415 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6416 "en_US.utf8" and "LC_CTYPE" to "".
6417 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6418 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6420 2013-11-15 Leo Liu <sdl.web@gmail.com>
6422 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6424 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6426 * progmodes/gud.el (ctl-x-map):
6427 Remove C-x SPC binding. (Bug#12342)
6428 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6430 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6432 * subr.el (version-regexp-alist):
6433 Recognize hg, svn and darcs versions as snapshot versions.
6435 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6436 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6437 (ruby--encoding-comment-required-p): Extract from
6438 `ruby-mode-set-encoding'.
6439 (ruby-mode-set-encoding): Add the ability to always insert an
6440 utf-8 encoding comment. Fix and simplify coding comment update
6443 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6445 * net/tramp-gvfs.el (top): Run init code only when
6446 `tramp-gvfs-enabled' is not nil.
6447 (tramp-gvfs-enabled): Check also :system bus.
6449 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6451 Sync with upstream verilog-mode revision 78e66ba.
6452 * progmodes/verilog-mode.el (verilog-end-of-defun)
6453 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6454 (verilog-get-end-of-defun): Remove unused argument.
6455 (verilog-comment-depth): Remove unused local `e'.
6456 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6457 Don't pass arg to verilog-get-end-of-defun.
6459 2013-11-14 Glenn Morris <rgm@gnu.org>
6461 * obsolete/assoc.el (aget): Prefix dynamic variable.
6463 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6465 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6467 * widget.el, hfy-cmap.el: Remove bogus package version number.
6469 2013-11-13 Glenn Morris <rgm@gnu.org>
6471 * replace.el (replace-eval-replacement):
6472 Try to give more helpful error message. (Bug#15836)
6474 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6475 (archive-7z-update): Avoid custom type mismatches.
6477 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6479 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6481 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6482 address can be empty.
6484 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6485 Accept nil SWITCHES.
6486 (tramp-gvfs-handle-write-region): Implement APPEND.
6488 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6490 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6491 binary "|" operator and closing block args delimiter.
6492 Remove FIXME comment referring to Ruby 1.8-only syntax.
6493 (ruby-smie--implicit-semi-p): Not after "|" operator.
6494 (ruby-smie--closing-pipe-p): New function.
6495 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6496 (ruby-smie-rules): Indent after "|".
6498 2013-11-12 Glenn Morris <rgm@gnu.org>
6500 * ps-print.el (ps-face-attribute-list):
6501 Handle anonymous faces. (Bug#15827)
6503 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6505 * window.el (display-buffer-other-frame): Fix doc-string.
6508 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6510 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6512 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6514 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6515 (tramp-sh-handle-file-local-copy): Don't write a message when
6516 saving temporary files.
6518 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6519 both directories are remote.
6520 (tramp-smb-handle-directory-files): Do not return double entries.
6521 Do not expand full file names.
6522 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6523 (tramp-smb-handle-write-region): Implement APPEND.
6524 (tramp-smb-get-stat-capability): Fix a stupid bug.
6526 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6528 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6530 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6532 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6533 throwing error over malformed let/let* (bug#15814).
6535 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6537 * iswitchb.el (iswitchb-mode): Mark obsolete.
6539 2013-11-11 Glenn Morris <rgm@gnu.org>
6541 * international/uni-bidi.el, international/uni-category.el:
6542 * international/uni-name.el, international/uni-numeric.el:
6543 Regenerate for Unicode 6.3.0.
6545 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6547 * net/tramp.el (tramp-methods):
6548 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6549 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6551 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6553 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6554 Force highlighting text after Summary keyword in doc face for rpm.
6556 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6558 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6559 available and the word has no wildcards, append one to the grep pattern.
6560 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6561 (ispell-complete-word): Call `ispell-lookup-words' with the value
6562 independent of `ispell-look-p'.
6564 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6566 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6568 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6571 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6573 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6574 (ruby-font-lock-keywords): Use backquote.
6576 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6578 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6579 (ruby-smie--backward-token): Only consider full-string matches.
6581 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6583 * faces.el (describe-face): Add distant-foreground.
6585 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6587 * progmodes/ruby-mode.el: Improve encoding comment handling.
6588 (ruby-encoding-magic-comment-style): New option.
6589 (ruby-custom-encoding-magic-comment-template): New option.
6590 (ruby--insert-coding-comment, ruby--detect-encoding):
6591 New functions extracted from `ruby-mode-set-encoding'.
6592 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6593 to control the style of the auto-inserted encoding comment.
6595 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6597 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6598 Use `smie-backward-sexp' with token argument.
6600 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6602 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6603 Remove instrumentation code.
6605 2013-11-08 Glenn Morris <rgm@gnu.org>
6607 * progmodes/autoconf.el (autoconf-mode):
6608 Tweak comment-start-skip. (Bug#15822)
6610 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6612 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6613 at bobp (bug#15826).
6614 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6616 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6618 * man.el (Man-start-calling): New macro, extracted from
6619 Man-getpage-in-background.
6620 (Man-getpage-in-background): Use it.
6621 (Man-update-manpage): New command.
6622 (Man-mode-map): Bind it.
6624 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6626 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6627 of "and", "or", "&&" and "||".
6628 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6629 argument. Prohibit opening curly brace because it could only be a
6630 block opener in that position.
6631 (ruby-smie--forward-token, ruby-smie--backward-token):
6632 Separate "|" from "&" or "*" going after it. That can happen in block
6634 (ruby-smie--indent-to-stmt): New function, seeks the end of
6635 previous statement or beginning of buffer.
6636 (ruby-smie-rules): Use it.
6637 (ruby-smie-rules): Check if there's a ":" before a curly block
6638 opener candidate; if there is, it's a hash.
6640 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6642 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6643 (cl--block-wrapper): Fix last accidental change.
6645 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6647 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6648 Instrument, in order to hunt failure on hydra.
6650 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6652 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6653 malformed bindings form (bug#15814).
6655 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6657 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6658 "." compared to " @ ". This incidentally fixes some indentation
6660 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6661 (ruby-smie-grammar): New tokens: "and" and "or".
6662 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6663 Exclude "and" and "or". Remove "do" in order to work around token
6665 (ruby-smie-rules): Add all infix tokens. Handle the case of
6666 beginning-of-buffer.
6668 2013-11-06 Glenn Morris <rgm@gnu.org>
6670 * Makefile.in (setwins_almost, setwins_for_subdirs):
6671 Avoid accidental matches.
6673 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6675 * menu-bar.el (popup-menu): Use key-binding.
6677 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6679 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6680 menus, support also the menus produced by minor modes.
6683 2013-11-06 Leo Liu <sdl.web@gmail.com>
6685 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6686 DISTANCE to bound the search. All uses changed. (Bug#15808)
6688 2013-11-06 Glenn Morris <rgm@gnu.org>
6690 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6691 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6692 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6694 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6696 * electric.el (electric-indent-just-newline): New command.
6697 (electric-indent-mode-map): New keymap.
6698 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6699 Re-add :group which weren't redundant.
6701 * electric.el (electric-indent-local-mode): New minor mode.
6702 (electric-indent-functions-without-reindent): New var.
6703 (electric-indent-post-self-insert-function): Use it.
6704 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6706 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6708 * international/quail.el (quail-help): Be more explicit about the
6709 meaning of the labels shown on the keys. (Bug#15800)
6711 * startup.el (normal-top-level): Load the subdirs.el files before
6712 setting the locale environment. (Bug#15805)
6714 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6716 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6717 via arguments so as to get the right ones (bug#15418).
6719 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6721 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6723 Fix problems found while writing a test suite.
6725 * net/tramp-compat.el (tramp-compat-load): New defun.
6726 * net/tramp.el (tramp-handle-load): Use it.
6728 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6729 "(numberp ok-if-already-exists)" correctly.
6731 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6733 * international/characters.el (glyphless-char-display-control):
6736 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6738 * progmodes/python.el (python-mode):
6739 * progmodes/scheme.el (scheme-mode):
6740 * progmodes/prolog.el (prolog-mode):
6741 * progmodes/ruby-mode.el (ruby-mode):
6742 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6743 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6745 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6747 * rect.el (rectangle--highlight-for-redisplay):
6748 * emacs-lisp/smie.el (smie--next-indent-change):
6749 Use buffer-chars-modified-tick.
6751 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6753 * electric.el (electric-indent-post-self-insert-function):
6754 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6756 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6758 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6760 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6762 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6765 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6767 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6769 * progmodes/python.el: Fix up last change.
6770 (python-shell--save-temp-file): New function.
6771 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6772 `string' comes from the current buffer.
6773 (python-shell-send-string-no-output): Remove `msg' arg.
6774 (python--use-fake-loc): New var.
6775 (python-shell-buffer-substring): Obey it. Try to compensate for the
6776 extra coding line added by python-shell--save-temp-file.
6777 (python-shell-send-region): Use python-shell--save-temp-file and
6778 python-shell-send-file directly. Add `nomain' argument.
6779 (python-shell-send-buffer): Use python-shell-send-region.
6780 (python-electric-pair-string-delimiter): New function.
6781 (python-mode): Use it.
6783 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6785 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6786 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6787 environment and decoding all of the default-directory's to here
6789 (command-line): Decode also argv[0].
6791 * loadup.el: Error out if default-directory is a multibyte string
6792 when we are dumping.
6794 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6796 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6798 * emacs-lisp/package.el (package-menu-mode)
6799 (package-menu--print-info, package-menu--archive-predicate):
6800 Add Archive column to package list.
6802 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6804 Fix problems found while writing a test suite.
6806 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6807 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6808 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6809 to nil when running original file name handler. Otherwise,
6810 there are problems with constructs like "$$FOO".
6812 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6815 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6817 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6819 * subr.el (version<, version<=, version=):
6820 Update docstrings with information for snapshot versions.
6822 * helpers.el: New library for misc helper functions.
6823 (hash-table-keys): New function returning a list of hash keys.
6824 (hash-table-values): New function returning a list of hash values.
6826 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6828 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6829 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6831 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6833 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6834 checking whether point is after a 1-letter word.
6836 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6838 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6839 Don't infloop when expanding region over `multiline' syntax-type that
6840 begins a line (bug#15778).
6842 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6844 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6845 Make it into a proper minor mode.
6846 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
6847 (rectangle-mark-mode-map): New keymap.
6848 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6850 2013-11-04 Glenn Morris <rgm@gnu.org>
6852 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6854 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6856 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6857 (ruby-smie-rules): Use smie-rule-parent instead.
6859 * emacs-lisp/smie.el (smie-rule-parent): Always call
6860 smie-indent-virtual rather than only for hanging tokens.
6861 (smie--next-indent-change): New helper command.
6863 2013-11-03 Glenn Morris <rgm@gnu.org>
6865 * Makefile.in (abs_srcdir): Remove.
6866 (emacs): Unset EMACSLOADPATH.
6868 2013-11-02 Glenn Morris <rgm@gnu.org>
6870 * Makefile.in (EMACS): Use a relative filename.
6871 (abs_top_builddir): Remove.
6872 (custom-deps, finder-data, autoloads): Use --chdir.
6874 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6876 Use relative filenames in TAGS files.
6877 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6878 (lisptagsfiles4, TAGS): Use relative file names.
6879 (TAGS-LISP): Remove.
6880 (maintainer-clean): No more TAGS-LISP file.
6882 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6883 (lisptagsfiles4): Use absolute filenames again.
6884 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6885 Remove all *loaddefs files, not just the first. Remove esh-groups.
6886 (maintainer-clean): Delete TAGS, TAGS-LISP.
6888 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6890 * emacs-lisp/package.el (package-version-join):
6891 Recognize snapshot versions.
6893 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6895 * subr.el (version-regexp-alist): Add support for snapshot versions.
6897 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6899 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6900 New function, replacement for `smie-rule-parent' for when we want to
6901 skip over our direct parent if it's an assignment token..
6902 (ruby-smie-rules): Use it.
6904 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6906 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6907 unconditionally. Remove now unnecessary forward declarations.
6908 Remove XEmacs-specific setup.
6909 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6910 (ruby-font-lock-syntactic-keywords)
6911 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6912 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6913 (ruby-here-doc-end-syntax): Remove.
6914 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6915 defined as function.
6917 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6919 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6921 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6923 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6924 table and abbrev table, `define-derived-mode' does that for us
6927 2013-11-01 Glenn Morris <rgm@gnu.org>
6929 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6930 files is atomic for some time, so no parallel compilation issues).
6932 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6934 * faces.el (face-x-resources): Add :distant-foreground.
6935 (region): Use :distant-foreground for gtk and ns.
6937 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6939 Allow multiple bibliographies when BibLaTeX is used rather than
6941 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6942 (reftex-locate-bibliography-files): Us it.
6944 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6946 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6947 allow comments in pbm files.
6949 * term/w32-win.el (dynamic-library-alist): Support newer versions
6950 of libjpeg starting with v7: look only for the DLL from the
6951 version against which Emacs was built.
6952 Support versions of libpng beyond 1.4.x.
6953 Support libtiff v4.x.
6955 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6957 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6958 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6960 (ruby-deep-arglist): Add property :type.
6962 2013-10-31 Glenn Morris <rgm@gnu.org>
6964 * Makefile.in (custom-deps, finder-data): No need to setq the target
6965 variables, we are in the right directory and the defaults work fine.
6967 2013-10-30 Glenn Morris <rgm@gnu.org>
6969 * Makefile.in (autoloads): Do not use abs_lisp.
6971 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6972 `newline' does not respect `standard-output', so use `princ'.
6974 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6976 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6977 * buff-menu.el (Buffer-menu--unmark): New function.
6978 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6980 2013-10-30 Glenn Morris <rgm@gnu.org>
6982 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6984 * emacs-lisp/package.el (lm-homepage): Declare.
6986 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6989 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6991 * Makefile.in (finder-data, autoloads, update-subdirs)
6992 (compile-main, compile-clean, compile-always, bootstrap-clean):
6993 Check return value of cd.
6994 (compile-calc): Remove.
6996 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6998 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7000 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7001 (byte-compile-and-folded): New function.
7002 (=, <, >, <=, >=): Use it.
7004 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7005 (path-separator, null-device, buffer-file-coding-system)
7006 (lpr-headers-switches): Check system-type before modifying them.
7007 (find-buffer-file-type-coding-system): Mark obsolete.
7008 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7009 find-file-not-found-set-buffer-file-coding-system.
7010 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7011 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7012 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7013 (w32-direct-print-region-helper, w32-direct-print-region-function)
7014 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7015 * startup.el (normal-top-level-add-subdirs-to-load-path):
7016 * ps-print.el (ps-print-region-function):
7017 * lpr.el (print-region-function): Use new name.
7019 * subr.el (custom-declare-variable-early): Remove function.
7020 (custom-declare-variable-list): Remove var.
7021 (error, user-error): Remove `while' loop.
7022 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7023 (user-emacs-directory-warning, locate-user-emacs-file):
7025 * simple.el (read-quoted-char-radix, read-quoted-char):
7026 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7028 * custom.el (custom-declare-variable-list): Don't process
7029 custom-declare-variable-list.
7031 * progmodes/python.el (python-shell-get-buffer): New function.
7032 (python-shell-get-process): Use it.
7033 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7034 Python which encoding was used. Don't split-string since we only care
7035 about the first line. Return the temp-file, if applicable.
7036 (python-shell-send-region): Tell compile.el how to turn locations in
7037 the temp-file into locations in the source buffer.
7039 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7041 * subr.el (undefined): Add missing behavior from the C code for
7044 * rect.el: Use lexical-binding. Add new rectangular region support.
7045 (rectangle-mark): New command.
7046 (rectangle--region): New var.
7047 (deactivate-mark-hook): Reset rectangle--region.
7048 (rectangle--extract-region, rectangle--insert-for-yank)
7049 (rectangle--highlight-for-redisplay)
7050 (rectangle--unhighlight-for-redisplay): New functions.
7051 (region-extract-function, redisplay-unhighlight-region-function)
7052 (redisplay-highlight-region-function): Use them to handle
7054 * simple.el (region-extract-function): New var.
7055 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7056 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7057 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7058 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7059 (redisplay-unhighlight-region-function)
7060 (redisplay-highlight-region-function): New vars.
7061 (redisplay--update-region-highlight): New function.
7062 (pre-redisplay-function): Use it.
7063 (exchange-point-and-mark): Don't deactivate the mark before
7064 reactivate-it anyway.
7065 * comint.el (comint-kill-region): Remove yank-handler argument.
7066 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7067 (delete-char): Remove property, since it's now part of their
7069 (self-insert-iso): Remove property since this command doesn't exist.
7071 * emacs-lisp/package.el (package--download-one-archive)
7072 (describe-package-1): Don't query the user about final newline.
7074 2013-10-29 Daniel Colascione <dancol@dancol.org>
7076 * net/tramp.el (tramp-methods): Document new functionality.
7077 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7078 tramp-hostname-checker if method provides one instead of scanning
7079 argument list for "%h" to decide hostname acceptability.
7081 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7083 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7084 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7085 Handle COPY-CONTENTS. (Bug#15737)
7087 2013-10-28 Daiki Ueno <ueno@gnu.org>
7090 (epa-file-cache-passphrase-for-symmetric-encryption):
7091 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7093 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7095 * image.el (defimage, image-load-path): Doc fixes.
7097 2013-10-27 Alan Mackenzie <acm@muc.de>
7099 Indent statements in macros following "##" correctly.
7100 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7101 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7103 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7105 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7107 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7109 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7110 after `=' is probably a new expression.
7112 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7114 * man.el (man-imenu-title): New option.
7115 (Man-mode-map): Add menu. (Bug#15722)
7116 (Man-mode): Add imenu to menu.
7118 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7120 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7121 specific in what the first arg can be: a non-keyword word,
7122 string/regexp/percent literal opener, opening paren, or unary
7123 operator followed directly by word.
7125 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7127 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7128 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7129 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7130 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7131 Remove vars, they do not apply any more.
7132 (prolog-mode-abbrev-table): Remove redundant declaration.
7133 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7134 (prolog-use-smie): Remove.
7135 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7136 supported by prolog-electric-if-then-else-flag.
7137 (prolog-mode-variables, prolog-menu): Use setq-local.
7138 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7139 Remove binding to `Backspace' since this key doesn't exist anyway.
7140 Remove bindings for electric self-inserting keys.
7141 (prog-mode): Assume it's defined.
7142 (prolog-post-self-insert): New function.
7143 (prolog-mode): Use it.
7144 (prolog-indent-line, prolog-indent-level)
7145 (prolog-find-indent-of-matching-paren)
7146 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7147 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7148 (prolog-goto-next-paren, prolog-in-string-or-comment)
7149 (prolog-tokenize, prolog-inside-mline-comment)
7150 (prolog-find-start-of-mline-comment): Remove functions.
7151 (prolog-find-unmatched-paren, prolog-clause-end)
7152 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7153 (prolog-electric--if-then-else): Rename from
7154 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7155 (prolog-tokenize-searchkey): Remove const.
7156 (prolog-clause-info): Use forward-sexp.
7157 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7158 (prolog-electric-if-then-else): Remove commands.
7159 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7160 for use in post-self-insert-hook.
7161 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7162 for use in post-self-insert-hook.
7163 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7164 for use in post-self-insert-hook.
7165 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7166 adapt it for use in post-self-insert-hook.
7168 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7170 * emacs-lisp/ert.el (ert-run-tests-interactively):
7171 Use `completing-read'. (Bug#9756)
7173 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7175 * simple.el (line-move): Call line-move-1 instead of
7176 line-move-visual when the current window hscroll is zero, but
7177 temporary-goal-column indicates we will need to hscroll as result
7178 of the movement. (Bug#15712)
7180 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7182 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7183 capitalization. Use :visible instead of :active.
7184 Fix `ruby-indent-exp' reference. Add menu items for the generic
7185 commands that are used with SMIE.
7186 (ruby-do-end-to-brace): Insert space after `{'.
7188 2013-10-25 John Anthony <john@jo.hnanthony.com>
7190 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7192 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7194 2013-10-25 Glenn Morris <rgm@gnu.org>
7196 * vc/vc.el (vc-print-log): Don't use a working revision unless
7197 one was explicitly specified. (Bug#15322)
7199 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7201 * subr.el (add-to-list): Preserve return value in compiler-macro
7204 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7206 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7207 result. Ask user to retry using '-all' flag. (Bug#15701)
7209 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7211 * emacs-lisp/smie.el: New smie-config system.
7212 (smie-config): New defcustom.
7213 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7214 (smie-config-guess, smie-config-save): New commands.
7215 (smie-config--mode-local, smie-config--buffer-local)
7216 (smie-config--trace, smie-config--modefuns): New vars.
7217 (smie-config--advice, smie-config--mode-hook)
7218 (smie-config--setter, smie-config-local, smie-config--get-trace)
7219 (smie-config--guess-value, smie-config--guess): New functions.
7220 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7221 text properties. Treat "string fence" syntax like string syntax.
7223 * progmodes/sh-script.el (sh-use-smie): Change default.
7224 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7225 (sh-var-value): Simplify by CSE.
7226 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7227 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7229 (sh-guess-basic-offset): Use cl-incf.
7230 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7232 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7234 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7237 2013-10-24 Glenn Morris <rgm@gnu.org>
7239 * Makefile.in (abs_top_srcdir): Remove.
7240 (update-subdirs): Use relative path to update-subdirs.
7242 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7244 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7245 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7246 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7247 Call unmsys--file-name before expand-file-name, not after it.
7249 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7251 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7252 (ert-test-skipped): New error.
7253 (ert-skip, ert-stats-skipped): New defuns.
7254 (ert--skip-unless): New macro.
7255 (ert-test-skipped): New struct.
7256 (ert--run-test-debugger, ert-test-result-type-p)
7257 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7258 (ert--stats-set-test-and-result, ert-char-for-test-result)
7259 (ert-string-for-test-result, ert-run-tests-batch)
7260 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7261 Handle skipped tests. (Bug#9803)
7263 2013-10-24 Glenn Morris <rgm@gnu.org>
7265 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7267 * Makefile.in (abs_top_srcdir): New, set by configure.
7268 (update-subdirs): Correct build-aux location.
7270 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7272 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7273 value, whether we could auto-deduce `backend', or not.
7275 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7276 with parameters" example. Simplify the "is it block or is it
7277 hash" check, but also make it more thorough.
7279 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7281 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7283 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7285 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7288 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7291 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7293 * progmodes/compile.el (compilation-directory-matcher)
7294 (compilation-page-delimiter):
7295 Support GNU Make-4.0 directory quoting. (Bug#15678)
7297 2013-10-23 Leo Liu <sdl.web@gmail.com>
7299 * ido.el (ido-tidy): Handle read-only text.
7301 2013-10-23 Glenn Morris <rgm@gnu.org>
7303 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7304 (emacs, compile, compile-always):
7305 Quote entities that might contain whitespace.
7306 (custom-deps, finder-data, autoloads): Use abs_lisp.
7307 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7308 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7309 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7311 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7313 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7314 Use `following-char'.
7316 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7318 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7319 * progmodes/ruby-mode.el (ruby-smie-rules):
7320 Remove corresponding workaround. Fix indentation rule of ";" so it
7321 also applies when ";" is the parent.
7323 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7325 * frame.el (display-screens, display-pixel-height)
7326 (display-pixel-width, display-mm-width, display-backing-store)
7327 (display-save-under, display-planes, display-color-cells)
7328 (display-visual-class, display-monitor-attributes-list):
7329 Mention the optional ‘display’ argument in doc strings.
7331 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7333 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7334 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7336 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7338 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7339 TODO. Add "." after " @ ".
7340 (ruby-smie--at-dot-call): New function. Checks if point at method
7341 call with explicit target.
7342 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7343 to the method name tokens when it precedes them.
7344 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7345 (ruby-smie-rules): Add rule for indentation before and after "."
7348 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7350 * textmodes/remember.el (remember-diary-extract-entries):
7353 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7356 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7358 * progmodes/ruby-mode.el (ruby-smie-grammar):
7359 Add (almost) all infix operators.
7360 (ruby-smie--implicit-semi-p): Add new operator chars.
7362 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7364 (ruby-smie--args-separator-p): Check that there's no newline
7365 between method call and its arguments.
7367 2013-10-20 Alan Mackenzie <acm@muc.de>
7369 Allow comma separated lists after Java "implements".
7371 * progmodes/cc-engine.el (c-backward-over-enum-header):
7373 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7374 from a "disallowed" list in enum fontification.
7376 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7378 * startup.el (default-frame-background-mode): Remove unused defvar.
7380 * progmodes/verilog-mode.el (verilog-mode): Don't set
7381 comment-indent-function globally.
7383 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7385 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7386 Move Info menu item creation to ns-win.el.
7388 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7391 * menu-bar.el: Move GNUstep specific menus...
7393 * term/ns-win.el (ns-initialize-window-system): ... to here.
7395 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7397 * simple.el (newline): Only run post-self-insert-hook when
7398 called interactively.
7400 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7402 * icomplete.el (icomplete-with-completion-tables): Add :version.
7404 2013-10-19 Alan Mackenzie <acm@muc.de>
7406 Fix fontification bugs with constructors and const.
7408 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7409 CASE 2) Remove the check for the absence of a suffix construct
7410 after a function declaration with only types (no identifiers) in
7411 the parentheses. Also, accept a function declaration with just a
7412 type inside the parentheses, if this type can be positively
7413 recognised as such, or if a prefix keyword like "explicit" nails
7414 down the construct as a declaration.
7416 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7418 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7419 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7420 the problem whereby selecting a menu item that leads to a
7421 minibuffer prompt moves the cursor out of the minibuffer window,
7422 making it hard to type at the prompt. Suggested by Stefan Monnier
7423 <monnier@iro.umontreal.ca>.
7425 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7427 * menu-bar.el: Don't make Services menu.
7429 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7431 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7432 (ffap-alist): Use ffap-c++-mode for c++-mode.
7433 (ffap-c++-path): New variable.
7434 (ffap-c++-mode): New function.
7436 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7438 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7440 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7442 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7443 introduced on 2013-09-08, which results in an infinite loop
7444 requesting a password.
7446 2013-10-18 Glenn Morris <rgm@gnu.org>
7448 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7450 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7452 Sync with upstream verilog-mode revision 1a6ecec7.
7453 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7454 (verilog-mode-release-date): Remove.
7455 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7456 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7457 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7458 (verilog-auto-tieoff-ignore-regexp)
7459 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7460 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7461 (verilog-signals-with, verilog-dir-cache-preserving)
7462 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7464 (verilog-case-fold): New option, to control case folding in
7465 regexp searches, bug597.
7466 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7467 (verilog-string-match-fold, verilog-in-paren-count)
7468 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7469 (verilog-at-close-struct-p): New functions.
7470 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7471 (verilog-forward-sexp, verilog-set-auto-endcomments)
7472 (verilog-leap-to-case-head): Handle "unique0" case.
7473 (verilog-in-constraint-re): New constant.
7474 (verilog-keywords, verilog-type-font-keywords):
7475 Add some SystemVerilog 1800-2012 keywords.
7476 (verilog-label-be): Remove unimplemented argument, bug669.
7477 (verilog-batch-execute-func): When batch expanding clear
7478 create-lockfiles to prevent spurious user locks when a file ends
7480 (verilog-calculate-indent, verilog-calc-1)
7481 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7482 (verilog-do-indent): Fix indentation of nested constraints
7484 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7485 (verilog-auto-inst-param): Use verilog-string-match-fold.
7486 (verilog-read-inst-module-matcher):
7487 Fix AUTOINST on gate primitives with #1.
7488 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7489 Reads all user-defined typed variables.
7490 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7491 (verilog-signals-matching-regexp)
7492 (verilog-signals-not-matching-regexp, verilog-auto):
7493 Respect verilog-case-fold.
7494 (verilog-diff-report): Fix line count.
7495 (verilog-auto-assign-modport): Remove unused local `modi'.
7496 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7497 better handle multidimensional arrays.
7498 Fix packed array ports misadding bit index in AUTOINST, bug637.
7499 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7500 to not double-declare existing outputs and inputs, respectively.
7501 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7502 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7503 (verilog-sk-uvm-component): New skeleton.
7504 (verilog-submit-bug-report): Add verilog-case-fold,
7505 remove verilog-mode-release-date.
7507 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7509 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7512 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7514 * textmodes/remember.el (remember): Set buffer-offer-save in
7515 remember buffers (bug#13566).
7517 2013-10-18 Daniel Colascione <dancol@dancol.org>
7519 When evaluating forms in ielm, direct standard output to ielm
7520 buffer. Add new ielm-return-for-effect command. Remove trailing
7521 whitespace throughout.
7523 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7524 (ielm-return-for-effect): New command.
7525 (ielm-send-input): Accept optional `for-effect' parameter.
7526 (ielm-eval-input): Accept optional `for-effect' parameter.
7527 Bind `standard-output' to stream we create using
7528 `ielm-standard-output-impl'. Suppress printing result when
7530 (ielm-standard-output-impl): New function.
7531 (inferior-emacs-lisp-mode): Explain new features in documentation.
7533 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7537 * net/tramp.el (tramp-debug-message): Do not check for connection
7539 (tramp-message): Use "vector" connection property.
7541 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7542 (tramp-equal-remote, tramp-eshell-directory-change)
7543 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7544 (tramp-adb-handle-rename-file)
7545 * net/tramp-cmds.el (tramp-list-remote-buffers)
7546 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7547 * net/tramp-compat.el (tramp-compat-process-running-p)
7548 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7549 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7550 (tramp-gvfs-handle-rename-file)
7551 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7552 (tramp-set-file-uid-gid)
7553 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7554 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7557 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7558 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7559 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7560 (tramp-gw-open-network-stream): Suppress unrelated traces.
7562 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7563 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7564 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7565 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7566 connection property.
7568 * net/tramp-cache.el (top): Suppress traces when reading
7571 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7572 Refactor common code. Improve debug message.
7573 (tramp-maybe-open-connection)
7574 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7575 connection buffer too early.
7577 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7578 from `tramp-smb-actions-with-acl'.
7579 (tramp-smb-actions-set-acl): New defconst.
7580 (tramp-smb-handle-copy-directory)
7581 (tramp-smb-action-get-acl): New defun, renamed from
7582 `tramp-smb-action-with-acl'.
7583 (tramp-smb-action-set-acl): New defun.
7584 (tramp-smb-handle-set-file-acl): Rewrite.
7586 2013-10-17 Glenn Morris <rgm@gnu.org>
7588 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7590 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7592 * skeleton.el (skeleton-newline): Remove.
7593 (skeleton-internal-1): Use (insert "\n") instead.
7595 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7598 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7599 forward-sexp-function while we redo its job (bug#15613).
7601 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7603 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7604 represented by lists.
7606 2013-10-16 Glenn Morris <rgm@gnu.org>
7608 * tmm.el (tmm--history): New dynamic variable.
7609 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7611 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7613 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7614 (tramp-smb-errors): Add error messages.
7615 (tramp-smb-actions-with-acl): New defconst.
7616 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7617 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7618 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7619 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7620 (tramp-smb-get-stat-capability): Fix tests.
7622 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7624 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7627 2013-10-16 Glenn Morris <rgm@gnu.org>
7629 * ansi-color.el (ansi-color-drop-regexp):
7630 Add 1J, 1K, 2K. (Bug#15617)
7632 * files.el (hack-local-variables--warned-lexical): New.
7633 (hack-local-variables):
7634 Warn about misplaced lexical-binding. (Bug#15616)
7636 * net/eww.el (eww-render): Always set eww-current-url,
7637 and update header line. (Bug#15622)
7638 (eww-display-html): ... Rather than just doing it here.
7640 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7642 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7643 menu navigations commands.
7645 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7647 * progmodes/subword.el (subword-capitalize): Be careful when
7648 the search for [[:alpha:]] fails (bug#15580).
7650 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7652 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7653 to commands that scroll the menu.
7655 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7657 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7658 Handle methods ending with `?' and `!'.
7660 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7662 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7663 `japanese-cp932' to `cp932' to fix the problem where saving a
7664 source file written in Shift_JIS twice would end up having
7665 `coding: japanese-cp932' which Ruby could not recognize.
7666 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7667 in `ruby-encoding-map'.
7668 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7669 doesn't need to be explicitly declared in magic comment.
7670 (ruby-encoding-map): Add type declaration for better customize UI.
7672 2013-10-13 Glenn Morris <rgm@gnu.org>
7674 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7675 Occur buffers are read-only. http://bugs.debian.org/720775
7677 * emacs-lisp/authors.el (authors-fixed-entries):
7678 Comment out old alpha stuff.
7680 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7682 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7683 to `after-save-hook' instead of `before-save-hook'.
7684 (ruby-mode-set-encoding): Use the value of coding system used to
7685 write the file. Call `basic-save-buffer-1' after modifying the
7688 2013-10-13 Alan Mackenzie <acm@muc.de>
7690 Fix indentation/fontification of Java enum with
7691 "implements"/generic.
7693 * progmodes/cc-engine.el (c-backward-over-enum-header):
7694 Extracted from the three other places and enhanced to handle generics.
7695 (c-inside-bracelist-p): Uses new function above.
7696 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7698 (c-font-lock-enum-tail): Uses new function above.
7700 2013-10-13 Kenichi Handa <handa@gnu.org>
7702 * international/mule-cmds.el (select-safe-coding-system): Remove a
7703 superfluous condition in chekcing whether a coding system is safe
7706 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7708 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7710 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7712 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7714 2013-10-13 Glenn Morris <rgm@gnu.org>
7716 * menu-bar.el (menu-bar-update-buffers):
7717 Unify Buffers menu prompt string. (Bug#15576)
7719 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7721 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7723 (authors-fixed-entries): Use accented form of name.
7725 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7727 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7728 method calls (bug#15594).
7729 (ruby-smie--args-separator-p): New function.
7730 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7731 recognize paren-free method calls.
7733 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7734 internals of universal-argument.
7736 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7738 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7739 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7740 dropped menu on second mouse click on the menu bar.
7742 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7744 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7745 (explicit-shell-file-name): Declare.
7746 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7747 (sh-completion-at-point-function): New function.
7749 (sh-smie--keyword-p): Remove unused argument.
7750 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7752 (sh-set-shell): Always setup SMIE, even if we use the
7753 old indentation code.
7755 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7757 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7759 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7760 predicate would return nil are almost non-existent.
7761 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7763 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7764 cache also after commands that modify the buffer but don't move
7767 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7769 * env.el (substitute-env-in-file-name): New function.
7770 (substitute-env-vars): Extend the meaning of the optional arg.
7772 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7774 * term/w32-win.el (dynamic-library-alist): Define separate lists
7775 of GIF DLLs for versions before and after 5.0.0 of giflib.
7778 2013-10-10 João Távora <joaotavora@gmail.com>
7780 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7781 not locked, use last revision and current source as
7782 defaults. (Bug#15569)
7784 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7786 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7789 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7791 * window.el (pop-to-buffer-same-window): Fix doc-string.
7794 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7796 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7798 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7800 * calendar/icalendar.el (icalendar-import-file):
7801 Fix interactive spec. (Bug#15482)
7803 2013-10-10 Glenn Morris <rgm@gnu.org>
7805 * desktop.el (desktop-save): Default to saving in .emacs.d,
7806 since PWD is no longer in desktop-path by default. (Bug#15319)
7808 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7809 now that text mode has a menu with the same entry.
7810 (menu-bar-text-mode-auto-fill): Remove now unused func.
7811 * textmodes/text-mode.el (text-mode-map):
7812 Use auto-fill help text from menu-bar.el.
7814 2013-10-10 John Anthony <john@jo.hnanthony.com>
7816 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7818 2013-10-09 Juri Linkov <juri@jurta.org>
7820 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7821 instead of this-command-keys. Add universal-argument-more and
7822 universal-argument-minus to the list of prefix commands. (Bug#15568)
7824 2013-10-09 Glenn Morris <rgm@gnu.org>
7826 * vc/vc-svn.el (vc-svn-create-repo):
7827 Expand paths in file://... url. (Bug#15446)
7829 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7831 (authors): Remove unused local variables.
7833 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7835 * profiler.el: Create a more coherent calltree from partial backtraces.
7836 (profiler-format): Hide the tail with `invisible' so that C-s can still
7837 find the hidden elements.
7838 (profiler-calltree-depth): Don't recurse so enthusiastically.
7839 (profiler-function-equal): New hash-table-test.
7840 (profiler-calltree-build-unified): New function.
7841 (profiler-calltree-build): Use it.
7842 (profiler-report-make-name-part): Indent the calltree less.
7843 (profiler-report-mode): Add visibility specs for profiler-format.
7844 (profiler-report-expand-entry, profiler-report-toggle-entry):
7845 Expand the whole subtree when provided with a prefix arg.
7847 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7849 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7851 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7852 hanging iuwu-mod token.
7853 (ruby-smie--forward-token): Do not include a dot after a token in
7855 (ruby-smie--backward-token): Likewise.
7857 2013-10-08 Juri Linkov <juri@jurta.org>
7859 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7860 to isearch-other-control-char.
7861 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7862 and isearch-post-command-hook to post-command-hook.
7863 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7864 and isearch-post-command-hook from post-command-hook.
7865 (isearch-unread-key-sequence)
7866 (isearch-reread-key-sequence-naturally)
7867 (isearch-lookup-scroll-key, isearch-other-control-char)
7868 (isearch-other-meta-char): Remove functions.
7869 (isearch-pre-command-hook, isearch-post-command-hook):
7870 New functions based on isearch-other-meta-char rewritten
7871 relying on the new behavior of overriding-terminal-local-map
7872 that does not replace the local keymaps any more. (Bug#15200)
7874 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7876 Support menus on text-mode terminals.
7877 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7880 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7882 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7883 Move here from mouse.el.
7884 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7886 (tty-menu-navigation-map): New map for TTY menu navigation.
7888 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7890 * frame.el (display-mouse-p): Report text-mode mouse as available
7892 (display-popup-menus-p): Report availability if mouse is
7893 available; don't condition on window-system.
7895 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7896 (tty-menu-selected-face): New faces.
7898 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7900 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7901 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7902 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7903 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7905 (lisp-mode-variables): New `elisp' argument.
7906 (emacs-lisp-mode): Use it.
7907 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7908 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7910 * indent.el: Use lexical-binding.
7911 (indent-region): Add progress reporter.
7912 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7914 (indent--next-tab-stop): New function to implement this behavior.
7915 (tab-to-tab-stop, move-to-tab-stop): Use it.
7917 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7919 * indent.el (indent-rigidly--current-indentation): New function.
7920 (indent-rigidly-map): New var.
7921 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7923 2013-10-08 Bastien Guerry <bzg@gnu.org>
7925 * register.el (insert-register): Fix 2013-10-07 change.
7927 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7929 * progmodes/perl-mode.el: Use lexical-binding.
7930 Remove redundant :group args.
7931 (perl-nochange): Change default to be closer to other major modes's
7933 (perl-indent-line): Don't consider text on current line as a
7934 valid beginning of function from which to indent.
7936 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7937 with more than one argument (bug#15538).
7939 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7941 * vc/pcvs.el: Use lexical-binding.
7942 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7943 environment of `eval'.
7944 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7945 than a list of expressions. Adjust callers.
7946 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7948 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7950 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7951 case of the dot in a chained method call being on the following line.
7953 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7955 * electric.el (electric-indent-inhibit): New var.
7956 (electric-indent-post-self-insert-function): Use it.
7957 * progmodes/python.el (python-mode): Set it.
7959 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7962 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7964 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7965 (css-mode): Use electric-indent-chars.
7967 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7968 (font-lock-beg, font-lock-end): Move before first use.
7969 (nxml-mode): Use syntax-propertize-function.
7970 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7971 (nxml-extend-after-change-region): Remove.
7972 * nxml/xmltok.el: Use lexical-binding.
7973 (xmltok-save): Use `declare'.
7974 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7975 * nxml/nxml-util.el: Use lexical-binding.
7976 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7978 * nxml/nxml-ns.el: Use lexical-binding.
7979 (nxml-ns-save): Use `declare'.
7980 (nxml-ns-prefixes-for): Avoid add-to-list.
7981 * nxml/rng-match.el: Use lexical-binding.
7982 (rng--ipattern): Use cl-defstruct.
7983 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7984 (rng-cons-group-after, rng-subst-group-after)
7985 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7986 Use closures instead of `(lambda...).
7988 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7990 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7993 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7994 Use `tramp-handle-insert-file-contents'.
7995 (tramp-gvfs-handle-insert-file-contents): Remove function.
7997 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7998 Use `save-restriction' in order to keep markers.
8000 * net/trampver.el: Update release number.
8002 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8004 * progmodes/compile.el (compilation-parse-errors):
8005 Use compilation--put-prop.
8006 (compilation--ensure-parse): Check compilation-multiline.
8008 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8010 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8013 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8015 * progmodes/ruby-mode.el: Fix recently added tests.
8016 (ruby-smie-grammar): Add - and +.
8017 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8018 (ruby-smie--backward-id): New functions.
8019 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8020 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8023 2013-10-07 Leo Liu <sdl.web@gmail.com>
8025 * register.el (register-preview-delay)
8026 (register-preview-functions): New variables.
8027 (register-read-with-preview, register-preview)
8028 (register-describe-oneline): New functions.
8029 (point-to-register, window-configuration-to-register)
8030 (frame-configuration-to-register, jump-to-register)
8031 (number-to-register, view-register, insert-register)
8032 (copy-to-register, append-to-register, prepend-to-register)
8033 (copy-rectangle-to-register): Use register-read-with-preview to
8034 read register. (Bug#15525)
8036 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8038 * net/network-stream.el (network-stream-open-starttls): Don't add
8039 --insecure if it's already present, because that gnutls-cli
8040 rejects getting that parameter twice.
8042 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8044 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8047 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8049 * newcomment.el (comment-use-global-state): Change default value
8050 to t, mark obsolete (Bug#15251).
8051 (comment-beginning): In addition to `comment-to-syntax', check the
8052 value of `comment-use-global-state'.
8054 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8056 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8057 (ruby-comment-column): Follow the global default, by default.
8058 (ruby-smie-grammar): Add assignment syntax.
8059 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8060 open-paren, a comma, or a \.
8061 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8062 and line continuations.
8063 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8064 followed by implicit semi-colons. Add rule for string concatenation
8065 and for indentation at BOB.
8066 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8068 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8069 calling next-sexp, since next-token may have skipped chars which
8070 next-sexp doesn't know should be skipped!
8072 2013-10-05 Leo Liu <sdl.web@gmail.com>
8074 * progmodes/octave.el (octave-send-region):
8075 Call compilation-forget-errors.
8077 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8079 * vc/vc-svn.el (vc-svn-find-admin-dir):
8080 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8081 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8082 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8083 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8085 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8087 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8089 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8091 * subr.el (read-passwd): Hide chars even when called within a context
8092 where after-change-functions is disabled (bug#15501).
8093 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8094 until we removed ourself from overriding-terminal-local-map.
8096 2013-10-04 Leo Liu <sdl.web@gmail.com>
8098 * progmodes/octave.el (inferior-octave-mode):
8099 Call compilation-forget-errors.
8101 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8103 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8105 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8107 * net/secrets.el (secrets-create-collection): Add optional
8108 argument ALIAS. Use proper Label keyword. Append ALIAS as
8109 dbus-call-method argument. (Bug#15516)
8111 2013-10-04 Leo Liu <sdl.web@gmail.com>
8113 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8114 (inferior-octave-compilation-font-lock-keywords): New variables.
8115 (compilation-error-regexp-alist)
8116 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8117 (inferior-octave-mode): Use compilation-shell-minor-mode.
8119 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8121 * minibuffer.el (completion--replace): Be careful that `end' might be
8124 2013-10-03 Daiki Ueno <ueno@gnu.org>
8126 Add support for package signature checking.
8127 * emacs-lisp/package.el (url-http-file-exists-p)
8128 (epg-make-context, epg-context-set-home-directory)
8129 (epg-verify-string, epg-context-result-for)
8130 (epg-signature-status, epg-signature-to-string)
8131 (epg-check-configuration, epg-configuration)
8132 (epg-import-keys-from-file): Declare.
8133 (package-check-signature): New user option.
8134 (package-unsigned-archives): New user option.
8135 (package-desc): Add `signed' field.
8136 (package-load-descriptor): Set `signed' field if .signed file exists.
8137 (package--archive-file-exists-p): New function.
8138 (package--check-signature): New function.
8139 (package-install-from-archive): Check package signature.
8140 (package--download-one-archive): Check archive signature.
8141 (package-delete): Remove .signed file.
8142 (package-import-keyring): New command.
8143 (package-refresh-contents): Import default keyring.
8144 (package-desc-status): Add "unsigned" status.
8145 (describe-package-1, package-menu--print-info)
8146 (package-menu-mark-delete, package-menu--find-upgrades)
8147 (package-menu--status-predicate): Support "unsigned" status.
8149 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8151 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8152 the new compilation scheme using the new byte-codes.
8154 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8155 (byte-pophandler): New byte codes.
8156 (byte-goto-ops): Adjust accordingly.
8157 (byte-compile--use-old-handlers): New var.
8158 (byte-compile-catch): Use new byte codes depending on
8159 byte-compile--use-old-handlers.
8160 (byte-compile-condition-case--old): Rename from
8161 byte-compile-condition-case.
8162 (byte-compile-condition-case--new): New function.
8163 (byte-compile-condition-case): New function that dispatches depending
8164 on byte-compile--use-old-handlers.
8165 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8168 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8169 Optimize under `condition-case' and `catch' if
8170 byte-compile--use-old-handlers is nil.
8171 (disassemble-offset): Handle new bytecodes.
8173 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8175 * subr.el (error): Use `declare'.
8176 (decode-char, encode-char): Use advertised-calling-convention instead
8177 of the docstring to discourage use of the `restriction' arg.
8179 2013-10-03 Daiki Ueno <ueno@gnu.org>
8181 * epg.el (epg-verify-file): Add a comment saying that it does not
8182 notify verification error as a return value nor a signal.
8183 (epg-verify-string): Ditto.
8185 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8187 * progmodes/compile.el (compilation-start): Try globbing the arg to
8190 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8192 Sync with Tramp 2.2.8.
8194 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8195 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8196 * net/trampver.el: Update release number.
8198 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8200 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8201 and default-process-coding-system for darwin only.
8203 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8205 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8207 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8209 * vc/vc-git.el (vc-git-grep): Disable pager.
8211 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8213 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8214 Use :url instead of :homepage, as per
8215 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8217 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8218 non-nil, use `syntax-ppss' (Bug#15251).
8220 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8222 * progmodes/octave.el (inferior-octave-startup-file):
8223 Prefer ~/.emacs.d/init_octave.m.
8225 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8227 * emacs-lisp/package.el (package-desc-from-define):
8228 Accept additional arguments as plist, convert them to an alist and store
8229 them in the `extras' slot.
8230 (package-generate-description-file): Convert extras alist back to
8231 plist and append to the `define-package' form arguments.
8232 (package--alist-to-plist): New function.
8233 (package--ac-desc): Add `extras' slot.
8234 (package--add-to-archive-contents): Check if the archive-contents
8235 vector is long enough, and if it is, pass its `extras' slot value
8236 to `package-desc-create'.
8237 (package-buffer-info): Call `lm-homepage', pass the returned value
8238 to `package-desc-from-define'.
8239 (describe-package-1): Render the homepage button (Bug#13291).
8241 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8242 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8244 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8246 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8247 and default-process-coding-system to utf-8-unix (Bug#15402).
8249 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8251 * subr.el (looking-back): Do not recommend using looking-back.
8253 2013-09-28 Alan Mackenzie <acm@muc.de>
8255 Fix indentation/fontification of Java enum with "implements".
8257 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8258 regexp which matches "implements", etc., in Java.
8259 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8260 specifier clauses coming after "enum".
8261 * progmodes/cc-fonts.el (c-font-lock-declarations)
8262 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8265 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8267 * faces.el (region): Change ns_selection_color to
8268 ns_selection_fg_color, add ns_selection_bg_color.
8270 2013-09-28 Leo Liu <sdl.web@gmail.com>
8272 * progmodes/octave.el (inferior-octave-completion-table)
8273 (inferior-octave-completion-at-point): Minor tweaks.
8275 * textmodes/ispell.el (ispell-lookup-words): Rename from
8276 lookup-words. (Bug#15460)
8277 (lookup-words): Obsolete.
8278 (ispell-complete-word, ispell-command-loop): All uses changed.
8280 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8282 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8283 (octave-mode-menu): Add octave-send-buffer.
8284 (octave-send-buffer): New function.
8286 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8288 * progmodes/octave.el (octave-mode-map): Add key binding for
8290 (octave-mode-menu): Add octave-lookfor.
8291 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8293 (octave-lookfor): New function.
8295 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8297 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8298 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8300 (cl--loop-set-iterator-function): New function.
8301 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8302 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8303 Bind `it' with `let' instead of substituting it with `cl-subst'.
8304 (cl--unused-var-p): New function.
8305 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8306 Eliminate some unused variable warnings (bug#15326).
8308 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8310 * doc-view.el (doc-view-scale-reset): Rename from
8311 `doc-view-reset-zoom-level'.
8312 (doc-view-scale-adjust): New command.
8313 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8314 `doc-view-scale-adjust'.
8316 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8318 * doc-view.el (doc-view-reset-zoom-level): New command.
8319 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8320 zoom commands (bug#15466).
8322 2013-09-26 Kenichi Handa <handa@gnu.org>
8324 * international/quail.el (quail-help): Make it not a command.
8326 2013-09-26 Leo Liu <sdl.web@gmail.com>
8328 * minibuffer.el (completion-all-sorted-completions): Make args
8329 optional as they are.
8331 2013-09-25 Daniel Colascione <dancol@dancol.org>
8333 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8334 specs are and that they're not evaluated.
8336 2013-09-24 Sam Steingold <sds@gnu.org>
8338 * midnight.el (clean-buffer-list-kill-regexps)
8339 (clean-buffer-list-kill-buffer-names): Update for the new Man
8340 buffer naming which includes the object name.
8342 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8344 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8345 (eshell-parse-command, eshell-parse-pipeline): Use it since
8346 eshell-separate-commands requires a dynamic scoped var.
8347 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8349 2013-09-23 Leo Liu <sdl.web@gmail.com>
8351 * autoinsert.el (auto-insert-alist): Make the value of
8352 lexical-binding match its file setting.
8354 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8356 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8358 * autoarg.el (autoarg-kp-digit-argument):
8359 * electric.el (Electric-command-loop):
8360 * kmacro.el (kmacro-step-edit-insert):
8361 Do not set universal-argument-num-events.
8363 2013-09-22 Leo Liu <sdl.web@gmail.com>
8365 * files.el (interpreter-mode-alist): Add octave.
8367 2013-09-21 Alan Mackenzie <acm@muc.de>
8369 C++: fontify identifier in declaration following "public:" correctly.
8370 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8371 to match "public", etc.
8372 (c-decl-prefix-re): Add ":" into the C++ value.
8373 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8374 bit. Add a check for a ":" preceded by "public", etc.
8376 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8378 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8379 recognized by GDB 7.5 and later.
8381 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8383 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8385 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8387 * subr.el (internal--call-interactively): New const.
8388 (called-interactively-p): Use it (bug#3984).
8390 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8392 * vc/pcvs.el (cvs-mode-ignore):
8393 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8394 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8396 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8398 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8399 (eshell-ls-orig-insert-directory): Remove.
8400 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8401 (eshell-ls-use-in-dired): Use advice-add/remove.
8402 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8403 Add `orig-fun' arg for use in :around advice.
8404 Make it check (redundantly) eshell-ls-use-in-dired.
8406 2013-09-19 Glenn Morris <rgm@gnu.org>
8408 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8410 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8412 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8414 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8416 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8417 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8418 (tramp-get-remote-python): New defuns.
8419 (tramp-get-remote-uid-with-perl)
8420 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8421 contributed by yary <not.com@gmail.com> (tiny change).
8422 (tramp-get-remote-uid-with-python)
8423 (tramp-get-remote-gid-with-python): New defuns. Python code
8424 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8425 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8427 2013-09-19 Glenn Morris <rgm@gnu.org>
8429 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8431 * eshell/em-unix.el (eshell-remove-entries):
8432 Rename argument to avoid name-clash with global `top-level'.
8434 * eshell/esh-proc.el (eshell-kill-process-function):
8435 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8436 (eshell-reset-after-proc): Remove unused arg `proc'.
8438 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8439 (directory-files-and-attributes): Mark unused arg.
8441 * eshell/em-unix.el (eshell-remove-entries):
8442 Remove unused arg `path'. Update callers.
8444 * eshell/em-hist.el (eshell-hist-parse-arguments):
8445 Remove unused arg `silent'. Update callers.
8447 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8448 Fix (f)boundp mix-up.
8450 * eshell/em-smart.el (eshell-smart-scroll-window)
8451 (eshell-disable-after-change):
8452 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8454 2013-09-18 Alan Mackenzie <acm@muc.de>
8456 Fix fontification of type when followed by "const".
8457 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8458 "known" types from fontification.
8460 2013-09-18 Glenn Morris <rgm@gnu.org>
8462 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8463 (chart-face-list): Drop Emacsen without display-color-p.
8465 * net/eww.el (libxml-parse-html-region): Declare.
8466 (eww-display-html): Explicit error if no libxml2 support.
8468 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8470 * image.el (image-type-from-buffer, image-multi-frame-p):
8471 Remove --without-x warning/error.
8473 * mouse.el (mouse-yank-primary):
8474 * term.el (term-mouse-paste):
8475 Reorder to silence --without-x compilation.
8477 * mpc.el (doc-view-mode): Silence --without-x compilation.
8479 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8480 Silence --without-x compilation.
8482 * progmodes/gud.el (gud-find-file, gud-mode):
8483 Silence --without-x compilation.
8484 (tooltip-mode): Declare.
8486 * wdired.el (dired-backup-overwrite): Remove declaration.
8487 (wdired-mode-map): Add doc string.
8489 * custom.el (x-get-resource): Declare.
8491 * eshell/em-glob.el (ange-cache):
8492 * eshell/em-unix.el (ange-cache): Declare.
8494 * faces.el (x-display-list, x-open-connection, x-get-resource):
8497 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8498 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8501 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8503 * net/gnutls.el (gnutls-log-level): Declare.
8505 * net/shr.el (image-size, image-animate): Declare.
8507 * simple.el (font-info): Declare.
8509 * subr.el (x-popup-dialog): Declare.
8511 * term/common-win.el (x-select-enable-primary)
8512 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8515 * term/ns-win.el (x-handle-args): Declare.
8517 * term/x-win.el (x-select-enable-clipboard): Declare.
8519 * term/w32-win.el (create-default-fontset): Declare.
8521 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8524 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8525 (fit-frame-to-buffer): Explicit error if --without-x.
8526 (mouse-autoselect-window-select): Silence compiler.
8528 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8530 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8531 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8532 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8533 * eshell/esh-util.el (eshell-sublist):
8534 Remove unused local variables.
8536 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8538 * textmodes/two-column.el: Make 2C-split work for --without-x.
8539 (scroll-bar-columns): Autoload.
8540 (top-level): Require fringe when compiling.
8542 2013-09-18 Leo Liu <sdl.web@gmail.com>
8544 * subr.el (add-hook): Robustify to handle closure as well.
8546 2013-09-17 Glenn Morris <rgm@gnu.org>
8548 * simple.el (messages-buffer-mode-map): Unbind "g".
8550 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8552 * help-mode.el (help-mode-finish): Use derived-mode-p.
8553 Remove obsolete highlighting.
8555 * play/life.el (life-mode): Use define-derived-mode. Derive from
8557 (life): Let-bind inhibit-read-only.
8558 (life-setup): Avoid `setq'. Use `life-mode'.
8560 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8561 which should not be needed any more.
8562 (package-menu-refresh, package-menu-describe-package): Use user-error.
8564 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8565 (eshell-post-rewrite-command-hook): Make obsolete.
8566 (eshell-parse-command): Simplify.
8567 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8568 (eshell--cmd): Declare.
8569 (eshell-parse-pipeline): Remove unused var `final-p'.
8570 Pass a dynvar to eshell-post-rewrite-command-hook.
8571 Implement the new eshell-post-rewrite-command-function.
8572 (eshell-invoke-directly): Remove unused arg `input'.
8573 * eshell/esh-io.el (eshell-io-initialize):
8574 Use eshell-post-rewrite-command-function (bug#15399).
8575 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8576 adjust to new calling convention.
8577 (eshell-create-handles): Rename args to avoid clashing with dynvar
8580 2013-09-17 Glenn Morris <rgm@gnu.org>
8582 * simple.el (messages-buffer-mode): New major mode.
8583 (messages-buffer): New function.
8584 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8585 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8586 (ert-run-test): Use `messages-buffer' function.
8587 (ert--force-message-log-buffer-truncation): Ignore read-only.
8588 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8589 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8591 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8593 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8595 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8597 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8599 * icomplete.el (icomplete-in-buffer): New var.
8600 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8601 vars and replace them with functions.
8602 (icomplete-minibuffer-setup): Adjust accordingly.
8603 (icomplete--completion-table, icomplete--completion-predicate)
8604 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8606 (icomplete-forward-completions, icomplete-backward-completions)
8607 (icomplete-simple-completing-p, icomplete-exhibit)
8608 (icomplete-completions): Use them.
8609 (icomplete--in-region-buffer): New var.
8610 (icomplete--in-region-setup): New function.
8611 (icomplete-mode): Use it.
8613 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8615 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8616 return args and options.
8617 (eshell-eval-using-options): Use the new return value of
8618 eshell--do-opts to set the options's vars in their scope.
8619 (eshell--set-option): Rename from eshell-set-option.
8621 (eshell--process-option): Rename from eshell-process-option.
8623 (eshell--process-args): Use an `opt-vals' alist to store the options's
8624 values during their processing and return them additionally to the
8627 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8629 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8630 continuation character an operator, as far as indentation is
8631 concerned (Bug#15369).
8633 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8635 * window.el (window--state-put-2): Don't process buffer state
8636 when buffer doesn't exist any more (Bug#15382).
8638 2013-09-15 Glenn Morris <rgm@gnu.org>
8640 * eshell/em-unix.el (eshell/rm):
8641 Make -f ignore missing files. (Bug#15373)
8643 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8644 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8645 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8647 2013-09-14 Glenn Morris <rgm@gnu.org>
8649 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8651 2013-09-13 Glenn Morris <rgm@gnu.org>
8653 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8654 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8656 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8658 * frame.el (x-focus-frame): Mark as declared in frame.c.
8660 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8662 * ls-lisp.el: Use advice-add.
8663 (original-insert-directory): Remove.
8664 (ls-lisp--insert-directory): Rename from insert-directory; add
8665 `orig-fun' argument.
8666 (insert-directory): Advise.
8668 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8670 * term.el (term-emulate-terminal): Decode the command string
8671 before passing it to term-command-hook. (Bug#15337)
8673 2013-09-13 Glenn Morris <rgm@gnu.org>
8675 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8677 * eshell/esh-ext.el (eshell-search-path): Declare.
8679 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8680 Otherwise an error occurs if eshell-dirs module not loaded.
8682 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8684 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8686 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8687 `tramp-check-proper-host'. Check for a valid method name.
8689 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8690 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8691 * net/tramp-sh.el (tramp-maybe-open-connection):
8692 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8694 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8695 also for hash values.
8697 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8699 * term/ns-win.el (parameters): Don't declare as dynamic.
8700 (before-make-frame-hook): Don't add ineffective function.
8702 * eshell/*.el: Use lexical-binding (bug#15231).
8704 2013-09-12 Kenichi Handa <handa@gnu.org>
8706 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8708 2013-09-12 Glenn Morris <rgm@gnu.org>
8710 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8711 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8713 * subr.el (do-after-load-evaluation): Also give compiler warnings
8714 when obsolete files are used (except by obsolete files).
8716 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8717 in the status output, assume `filename' is the first. (Bug#15322)
8719 * vc/vc.el (vc-deduce-fileset): Doc fix.
8721 * calc/calc-help.el (Info-goto-node):
8722 * progmodes/cperl-mode.el (Info-find-node):
8723 * vc/ediff.el (Info-goto-node): Update declarations.
8725 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8727 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8728 (vc-bzr-pull): Require vc-dispatcher.
8729 * vc/vc-git.el (vc-compilation-mode): Declare.
8730 (vc-git-pull): Require vc-dispatcher.
8732 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8734 * progmodes/octave.el (help-button-action): Declare.
8736 * shell.el (shell-directory-tracker): Output error as a message
8737 rather than just returning it as a string.
8738 (shell-process-pushd): Remove useless use of message.
8740 * dframe.el (dframe-timer-fn):
8741 * files.el (dir-locals-read-from-file):
8742 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8744 * reveal.el (reveal-post-command):
8745 * saveplace.el (load-save-place-alist-from-file):
8746 * shell.el (shell-resync-dirs):
8747 * w32-common-fns.el (x-get-selection-value):
8748 * emacs-lisp/copyright.el (copyright-find-copyright):
8749 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8750 * emulation/tpu-edt.el (tpu-copy-keyfile):
8751 * play/bubbles.el (bubbles--mark-neighbourhood):
8752 * progmodes/executable.el
8753 (executable-make-buffer-file-executable-if-script-p):
8754 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8756 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8758 Cleanup Eshell to rely less on dynamic scoping.
8759 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8760 last-value, and ext-command here. Bind `args' closer to `body'.
8761 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8762 (eshell--args): Declare new dynamic var.
8763 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8764 last-value, and ext-command. Pass `args' to `body'.
8765 (eshell-process-args): Bind eshell--args.
8766 (eshell-set-option): Use eshell--args.
8767 * eshell/eshell.el (eshell): Use derived-mode-p.
8768 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8769 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8770 (eshell-glob-function): Declare.
8771 * eshell/esh-util.el: Require cl-lib.
8772 (eshell-read-hosts-file): Avoid add-to-list.
8773 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8775 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8777 (eshell/diff): Remove unused var `err'.
8778 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8780 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8781 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8783 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8784 Move declaration before first use.
8785 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8786 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8789 2013-09-12 Glenn Morris <rgm@gnu.org>
8791 * term/ns-win.el (global-map): Remove binding for ispell-next,
8792 deleted 1999-05-29. (Bug#15357)
8794 2013-09-11 Glenn Morris <rgm@gnu.org>
8796 * echistory.el (electric-command-history): Remove call to deleted func.
8798 * play/landmark.el (landmark-mode): Fix typos.
8800 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8801 Check cvs-sort-ignore-file is bound.
8803 * savehist.el: No need for cl when compiling on Emacs.
8805 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8807 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8809 (eshell-self-insert-command, eshell-send-invisible):
8810 Remove unused argument.
8811 (eshell-handle-control-codes): Remove unused var `orig'.
8812 Avoid delete-backward-char.
8814 * files.el (set-auto-mode): Simplify a bit further.
8816 2013-09-11 Glenn Morris <rgm@gnu.org>
8818 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8819 (set-auto-mode): Don't regexp-quote elements.
8820 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8821 * progmodes/cc-mode.el (interpreter-mode-alist):
8822 * progmodes/ruby-mode.el (interpreter-mode-alist):
8823 Revert previous change.
8825 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8827 * play/snake.el (snake-mode):
8828 * play/mpuz.el (mpuz-mode):
8829 * play/landmark.el (lm-mode):
8830 * play/blackbox.el (blackbox-mode):
8831 * play/5x5.el (5x5-mode):
8832 * obsolete/options.el (Edit-options-mode):
8833 * net/quickurl.el (quickurl-list-mode):
8834 * net/newst-treeview.el (newsticker-treeview-mode):
8835 * mail/rmailsum.el (rmail-summary-mode):
8836 * mail/mspools.el (mspools-mode):
8837 * locate.el (locate-mode):
8838 * ibuffer.el (ibuffer-mode):
8839 * emulation/ws-mode.el (wordstar-mode):
8840 * emacs-lisp/debug.el (debugger-mode):
8841 * array.el (array-mode):
8842 * net/eudc.el (eudc-mode): Use define-derived-mode.
8843 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8844 Move initialization into declaration.
8845 (mairix-searches-mode): Use define-derived-mode.
8846 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8847 (eudc-edit-hotlist): Use dolist.
8848 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8849 (Man-mode): Use define-derived-mode.
8850 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8851 (Info-edit-mode): Use define-derived-mode.
8852 (Info-cease-edit): Use Info-mode.
8853 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8855 (eshell-mode): Use define-derived-mode.
8856 * chistory.el (command-history-mode-map): Rename from
8857 command-history-map.
8858 (command-history-mode): Use define-derived-mode.
8859 (Command-history-setup): Remove function.
8860 * calc/calc.el (calc-trail-mode-map): New var.
8861 (calc-trail-mode): Use define-derived-mode.
8862 (calc-trail-buffer): Set calc-main-buffer manually.
8863 * bookmark.el (bookmark-insert-annotation): New function.
8864 (bookmark-edit-annotation): Use it.
8865 (bookmark-edit-annotation-mode): Make it a proper major mode.
8866 (bookmark-send-edited-annotation): Use derived-mode-p.
8867 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8868 closer to its ideal place. Use \' to match EOS.
8870 * profiler.el (profiler-calltree-find): Use function-equal.
8872 2013-09-10 Glenn Morris <rgm@gnu.org>
8874 * files.el (interpreter-mode-alist): Convert to regexps.
8875 (set-auto-mode): Adapt for this. (Bug#15306)
8876 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8877 Comment out unused variable.
8878 * progmodes/cc-mode.el (interpreter-mode-alist):
8879 * progmodes/python.el (interpreter-mode-alist):
8880 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8881 * progmodes/sh-script.el (sh-set-shell):
8882 No longer use interpreter-mode-alist to get list of shells.
8884 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8886 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8888 * simple.el: Use set-temporary-overlay-map for universal-argument.
8889 (universal-argument-map): Don't use default-bindings (bug#15317).
8890 Bind switch-frame explicitly. Replace universal-argument-minus with
8891 a conditional binding.
8892 (universal-argument-num-events, saved-overriding-map): Remove.
8893 (restore-overriding-map): Remove.
8894 (universal-argument--mode): Rename from save&set-overriding-map,
8896 (universal-argument, universal-argument-more, negative-argument)
8897 (digit-argument): Adjust accordingly.
8898 (universal-argument-minus): Remove.
8899 (universal-argument-other-key): Remove.
8901 * subr.el (with-demoted-errors): Add `format' argument.
8903 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8905 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8906 `tramp-cleanup-connection'.
8908 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8909 parameters KEEP-DEBUG and KEEP-PASSWORD.
8911 * net/tramp.el (tramp-file-name-handler):
8912 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8913 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8914 (tramp-maybe-open-connection):
8915 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8916 Use `tramp-cleanup-connection'.
8918 * net/tramp-sh.el (tramp-maybe-open-connection):
8919 Catch 'uname-changed inside the progress reporter.
8921 2013-09-10 Glenn Morris <rgm@gnu.org>
8923 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8925 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8926 returns "alternate access method" in mode (eg "-rw-r--r--.").
8928 2013-09-08 Glenn Morris <rgm@gnu.org>
8930 * saveplace.el (load-save-place-alist-from-file):
8931 Demote errors. (Bug#15305)
8933 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8935 Improve compatibility with older Emacsen, and XEmacs.
8937 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8938 only if it is bound. It isn't for XEmacs.
8939 (with-tramp-progress-reporter): Do not let-bind `result'.
8940 This yields to scoping errors in XEmacs.
8941 (tramp-handle-make-auto-save-file-name): New function, moved from
8944 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8945 for `make-auto-save-file-name'.
8946 (tramp-adb--gnu-switches-to-ash):
8947 Use `tramp-compat-replace-regexp-in-string'.
8949 * net/tramp-cache.el (tramp-cache-print): Call
8950 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8952 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8953 bound. It isn't for XEmacs.
8955 * net/tramp-compat.el (tramp-compat-copy-file):
8956 Catch `wrong-number-of-arguments' error.
8957 (tramp-compat-replace-regexp-in-string): New defun.
8959 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8960 for `make-auto-save-file-name'.
8961 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8963 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8964 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8965 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8967 * net/tramp-gw.el (tramp-gw-open-network-stream):
8968 Use `tramp-compat-replace-regexp-in-string'.
8970 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8971 Call `tramp-handle-make-auto-save-file-name'.
8972 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8973 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8974 (tramp-sh-file-inotifywait-process-filter):
8975 Use `tramp-compat-replace-regexp-in-string'.
8976 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8978 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8979 for `make-auto-save-file-name'.
8980 (tramp-smb-handle-copy-directory):
8981 Call `tramp-compat-replace-regexp-in-string'.
8982 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8983 (tramp-smb-handle-copy-file): Improve error message.
8984 (tramp-smb-handle-rename-file): Rename directly only in case
8985 `newname' does not exist yet. This is a restriction of smbclient.
8986 (tramp-smb-maybe-open-connection): Rerun the function only when
8987 `auth-sources' is non-nil.
8989 2013-09-08 Kenichi Handa <handa@gnu.org>
8991 * international/characters.el: Set category "^" (Combining) for
8994 2013-09-07 Alan Mackenzie <acm@muc.de>
8996 Correctly fontify Java class constructors.
8997 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8999 (c-recognize-typeless-decls): Set the Java value to t.
9000 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9001 While handling a "(", add a check for, effectively, Java, and handle a
9002 "typeless" declaration there.
9004 2013-09-07 Roland Winkler <winkler@gnu.org>
9006 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9007 field subtitle for entry type book.
9009 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9011 * minibuffer.el: Make minibuffer-complete call completion-in-region
9012 rather than other way around.
9013 (completion--some, completion-pcm--find-all-completions):
9014 Don't delay signals when debugging.
9015 (minibuffer-completion-contents): Beware fields within the
9016 minibuffer contents.
9017 (completion-all-sorted-completions): Use defvar-local.
9018 (completion--do-completion, completion--cache-all-sorted-completions)
9019 (completion-all-sorted-completions, minibuffer-force-complete):
9020 Add args `beg' and `end'.
9021 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9022 (minibuffer-complete): Use completion-in-region.
9023 (completion-complete-and-exit): New fun, extracted from
9024 minibuffer-complete-and-exit.
9025 (minibuffer-complete-and-exit): Use it.
9026 (completion--complete-and-exit): Rename from
9027 minibuffer--complete-and-exit.
9028 (completion-in-region--single-word): New function, extracted from
9029 minibuffer-complete-word.
9030 (minibuffer-complete-word): Use it.
9031 (display-completion-list): Make `common-substring' argument obsolete.
9032 (completion--in-region): Call completion--in-region-1 instead of
9033 minibuffer-complete.
9034 (completion-help-at-point): Pass boundaries to
9035 minibuffer-completion-help as args rather than via an overlay.
9036 (completion-pcm--string->pattern): Use `any-delim'.
9037 (completion-pcm--optimize-pattern): New function.
9038 (completion-pcm--pattern->regex): Handle `any-delim'.
9039 * icomplete.el (icomplete-forward-completions)
9040 (icomplete-backward-completions, icomplete-completions):
9041 Adjust calls to completion-all-sorted-completions and
9042 completion--cache-all-sorted-completions.
9043 (icomplete-with-completion-tables): Default to t.
9044 * emacs-lisp/crm.el (crm--current-element): Rename from
9045 crm--select-current-element. Don't put an overlay but return the
9047 (crm--completion-command): Take two new args to bind to the boundaries.
9048 (crm-completion-help): Adjust accordingly.
9049 (crm-complete): Use completion-in-region.
9050 (crm-complete-word): Use completion-in-region--single-word.
9051 (crm-complete-and-exit): Use completion-complete-and-exit.
9053 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9055 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9058 2013-09-06 Juri Linkov <juri@jurta.org>
9060 * info.el (Info-display-images-node): When image file doesn't exist
9061 display text version of the image if it's provided in the Info file.
9062 Otherwise, display the location of missing image from SRC attribute.
9063 Add help-echo text property from ALT attribute. (Bug#15279)
9065 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9067 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9068 (edit-abbrevs-mode): Use define-derived-mode.
9070 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9071 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9073 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9074 Use define-derived-mode.
9076 * epg.el (epg-start-encrypt): Minor CSE simplification.
9078 2013-09-06 William Xu <william.xwl@gmail.com>
9080 * arc-mode.el: Add support for 7za (bug#15264).
9081 (archive-7z-program): New var.
9082 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9083 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9084 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9086 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9090 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9091 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9092 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9093 (tramp-postfix-host-format, tramp-file-name-regexp)
9094 (tramp-completion-file-name-regexp)
9095 (tramp-completion-dissect-file-name)
9096 (tramp-handle-substitute-in-file-name): Remove 'url case.
9097 (tramp-file-name-regexp-url)
9098 (tramp-completion-file-name-regexp-url): Remove constants.
9100 2013-09-06 Glenn Morris <rgm@gnu.org>
9102 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9104 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9106 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9107 keywords" below "here-doc beginnings" (Bug#15270).
9109 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9111 * subr.el (pop): Use `car-safe'.
9112 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9113 to detect unused `pop' return value.
9115 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9117 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9118 (python-fill-string): Remove unused var `marker'.
9119 (python-skeleton-add-menu-items): Remove unused var `items'.
9121 * international/mule-cmds.el: Require CL.
9122 (find-coding-systems-for-charsets): Avoid add-to-list.
9123 (sanitize-coding-system-list): New function, extracted from
9124 select-safe-coding-system-interactively.
9125 (select-safe-coding-system-interactively): Use it.
9126 (read-input-method-name): Accept symbols for `default'.
9128 * emacs-lisp/advice.el (defadvice): Add indent rule.
9130 2013-09-05 Daniel Hackney <dan@haxney.org>
9134 * net/browse-url.el:
9137 * net/eudcb-ldap.el:
9150 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9151 byte compiler. Remove some unused let-bound variables.
9153 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9155 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9156 a "ref-cell", since it gets better optimized (bug#14883).
9158 2013-09-05 Glenn Morris <rgm@gnu.org>
9160 * progmodes/cc-awk.el (c-forward-sws): Declare.
9162 2013-09-04 Glenn Morris <rgm@gnu.org>
9164 * generic-x.el [rul-generic-mode]: Require cc-mode.
9165 (c++-mode-syntax-table): Declare.
9166 (rul-generic-mode-syntax-table): Init in the defvar.
9168 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9170 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9171 (vc-do-command, vc-set-async-update):
9172 * vc/vc-mtn.el (vc-mtn-dir-status):
9173 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9174 (vc-hg-pull, vc-hg-merge-branch):
9175 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9176 (vc-git-merge-branch):
9177 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9178 (vc-cvs-dir-status-files):
9179 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9180 (vc-bzr-dir-status-files):
9181 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9182 * vc/vc-annotate.el: Use lexical-binding.
9183 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9184 (vc-sentinel-movepoint): Declare.
9185 (vc-annotate): Don't use `goto-line'.
9186 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9187 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9188 (vc-sentinel-movepoint): Declare.
9189 * vc/vc-svn.el: Use lexical-binding.
9190 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9192 * vc/vc-rcs.el: Use lexical-binding.
9194 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9195 `deleted'. Don't drop errors silently.
9197 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9199 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9201 * vc/vc.el (vc-ignore): Rewrite.
9202 (vc-default-ignore): New function.
9203 (vc-default-ignore-completion-table): Use find-ignore-file.
9205 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9206 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9207 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9208 Remove. Most code moved to vc.el.
9210 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9212 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9213 * net/tramp-smb.el (tramp-smb-get-file-entries):
9214 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9215 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9217 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9219 (eww-change-select): Remove unused var `properties'.
9220 (eww-make-unique-file-name): Remove unused var `base'.
9222 * finder.el (finder-compile-keywords): Don't mess with windows.
9224 * calculator.el (calculator-funcall): Fix typo in last change.
9226 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9228 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9229 <pkg>-autoloads.el file stop us.
9231 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9232 warnings, and factor out common code.
9234 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9236 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9237 two-character operators and whether the character preceding them
9238 changes their meaning (Bug#15208).
9240 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9242 Format code sent to Python shell for robustness.
9243 * progmodes/python.el (python-shell-buffer-substring):
9245 (python-shell-send-region, python-shell-send-buffer): Use it.
9247 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9249 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9250 * net/tramp.el (tramp-user-error): ... here.
9251 (tramp-find-method, tramp-check-proper-host)
9252 (tramp-dissect-file-name, tramp-debug-message)
9253 (tramp-handle-shell-command):
9254 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9255 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9257 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9259 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9261 * avoid.el (mouse-avoidance-point-position)
9262 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9265 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9267 * progmodes/python.el (python-shell-completion-get-completions):
9268 Drop use of deleted `comint-last-prompt-overlay'.
9269 (python-nav-if-name-main): New command.
9271 2013-09-01 Glenn Morris <rgm@gnu.org>
9273 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9274 Avoid leading space in $wins. Otherwise the sed command used by
9275 eg compile-main ends up containing "/*.el". (Bug#15170)
9277 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9279 2013-08-30 Glenn Morris <rgm@gnu.org>
9281 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9282 Fix is-this-a-directory logic. (Bug#15220)
9284 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9286 * textmodes/css-mode.el: Use SMIE.
9287 (css-smie-grammar): New var.
9288 (css-smie--forward-token, css-smie--backward-token)
9289 (css-smie-rules): New functions.
9290 (css-mode): Use them.
9291 (css-navigation-syntax-table): Remove var.
9292 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9293 (css-indent-calculate, css-indent-line): Remove functions.
9295 Misc changes to reduce use of `(lambda...); and other cleanups.
9296 * cus-edit.el: Use lexical-binding.
9297 (customize-push-and-save, customize-apropos)
9298 (custom-buffer-create-internal): Use closures.
9299 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9300 * progmodes/ada-xref.el: Use setq.
9301 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9302 * dframe.el: Use lexical-binding.
9303 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9304 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9305 * descr-text.el: Use lexical-binding.
9306 (describe-text-widget, describe-text-sexp, describe-property-list):
9308 * comint.el (comint-history-isearch-push-state): Use a closure.
9309 * calculator.el: Use lexical-binding.
9310 (calculator-number-to-string): Make it work with lexical-binding.
9311 (calculator-funcall): Same and use cl-letf.
9313 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9314 (lisp--company-doc-string, lisp--company-location): New functions.
9315 (lisp-completion-at-point): Use them to improve Company support.
9317 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9318 params of lambda expressions.
9319 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9320 (ruby-smie--opening-pipe-p): New function.
9321 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9322 symbols and matched |...| for formal params.
9323 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9324 from being treated as hanging. Handle "rescue".
9326 2013-08-29 Glenn Morris <rgm@gnu.org>
9328 * progmodes/cc-engine.el (c-pull-open-brace):
9329 Move definition before use.
9331 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9333 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9334 are immutable. Don't use `unsafe' any more.
9335 (cl--defsubst-expand): Don't substitute at the same time as keeping
9336 a residual unused let-binding. Don't use `unsafe' any more.
9338 2013-08-29 Glenn Morris <rgm@gnu.org>
9340 * calendar/cal-china.el (calendar-chinese-year-cache):
9343 * nxml/nxml-util.el (nxml-debug-clear-inside):
9344 Use cl-loop rather than loop.
9346 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9348 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9350 2013-08-28 Glenn Morris <rgm@gnu.org>
9352 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9354 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9356 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9358 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9360 * simple.el (repeat-complex-command--called-interactively-skip):
9362 (repeat-complex-command): Use it (bug#14136).
9364 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9365 (c-define-abbrev-table): Add `doc' argument.
9366 (c-mode-abbrev-table, c++-mode-abbrev-table)
9367 (objc-mode-abbrev-table, java-mode-abbrev-table)
9368 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9369 (awk-mode-abbrev-table): Use it.
9370 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9371 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9372 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9373 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9374 Move initialization into the declaration; and remove any
9377 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9378 and dynamic let binding.
9380 * vc/smerge-mode.el: Remove redundant :group args.
9382 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9385 2013-08-28 Juri Linkov <juri@jurta.org>
9387 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9388 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9389 (isearch-other-meta-char): Handle an undefined shifted printing
9390 character by downshifting it. (Bug#15200)
9392 2013-08-28 Juri Linkov <juri@jurta.org>
9394 * isearch.el (isearch-search): Change regexp error message for
9395 non-regexp searches. (Bug#15166)
9397 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9399 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9400 for portability to hosts where /bin/sh has problems.
9402 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9404 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9406 2013-08-27 Juri Linkov <juri@jurta.org>
9408 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9409 in the keyboard macro. (Bug#15126)
9411 2013-08-27 Juri Linkov <juri@jurta.org>
9413 * isearch.el (isearch-quote-char): Comment out converting unibyte
9414 to multibyte, thus syncing with its `quoted-insert' counterpart.
9417 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9419 * window.el (display-buffer-use-some-window): Add missing
9420 argument in call of get-largest-window (Bug#15185).
9421 Reported by Stephen Leake.
9423 2013-08-27 Glenn Morris <rgm@gnu.org>
9425 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9427 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9429 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9430 from a matcher-function unless there's no more matches (bug#15161).
9432 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9434 * minibuffer.el: Revert change from 2013-08-20.
9436 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9437 with text property `tramp-default', if appropriate.
9438 (tramp-check-proper-host): New defun.
9439 (tramp-dissect-file-name): Do not check hostname. Revert change
9441 (tramp-backtrace): Make VEC-OR-PROC optional.
9443 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9444 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9445 * net/tramp-sh.el (tramp-maybe-open-connection):
9446 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9447 Apply `tramp-check-proper-host'.
9449 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9451 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9452 lambda expression in order to have `describe-variable' display it.
9454 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9456 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9457 BUF can be optional. (Bug#15186)
9459 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9461 * progmodes/flymake.el (flymake-get-real-file-name-function):
9462 Fix broken customization. (Bug#15184)
9464 2013-08-25 Alan Mackenzie <acm@muc.de>
9466 Improve indentation of bracelists defined by macros (without "=").
9468 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9469 expansion begins with "{", regard it as bracelist when it doesn't
9472 Parse C++ inher-intro when there's a template split over 2 lines.
9474 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9475 rigorously the search for "class" etc. followed by ":".
9477 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9478 random languages a regexp which never matches rather than nil.
9480 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9482 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9483 (c-awk-regexp-one-line-possibly-open-char-list-re)
9484 (c-awk-one-line-possibly-open-regexp-re)
9485 (c-awk-one-line-non-syn-ws*-re): Remove.
9486 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9487 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9488 (c-awk-space*-unclosed-regexp-/-re): New constants.
9489 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9490 aren't regexp delimiters.
9492 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9493 handling for a rare situation in AWK Mode involving unterminated
9496 2013-08-23 Glenn Morris <rgm@gnu.org>
9498 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9500 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9502 * files.el (create-file-buffer): If the result would begin with
9503 spaces, prepend a "|" instead of removing them. (Bug#15162)
9505 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9507 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9508 text-properties (bug#15155).
9510 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9512 (calc-keypad-redraw): Remove unused var `pad'.
9513 (calc-keypad-press): Remove unused var `menu'.
9515 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9517 * window.el (display-buffer-pop-up-frame):
9518 Call pop-up-frame-function with BUFFER current so `make-frame' will
9519 use it as the new frame's buffer (Bug#15133).
9521 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9523 * calendar/timeclock.el: Minor cleanups.
9524 (timeclock-ask-before-exiting, timeclock-use-display-time):
9526 (timeclock-modeline-display): Define as alias before the
9528 (timeclock-mode-line-display): Use define-minor-mode.
9529 (timeclock-day-list-template): Make it a function, add an argument.
9530 (timeclock-day-list-required, timeclock-day-list-length)
9531 (timeclock-day-list-debt, timeclock-day-list-span)
9532 (timeclock-day-list-break): Adjust calls accordingly.
9534 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9536 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9537 Use read--expression so that completion works again.
9539 2013-08-21 Sam Steingold <sds@gnu.org>
9541 Add rudimentary inferior shell interaction
9542 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9543 (sh-set-shell): Reset it.
9544 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9545 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9547 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9549 * align.el: Use lexical-binding.
9550 (align-region): Simplify accordingly.
9552 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9554 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9556 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9559 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9563 * net/tramp-cmds.el:
9565 * net/tramp-gvfs.el:
9567 * net/tramp-sh.el: Don't wrap external variable declarations by
9568 `eval-when-compile'.
9570 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9572 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9573 now that Emacs supports ImageMagick animations.
9575 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9577 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9578 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9580 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9582 * window.el (mouse-autoselect-window-select): Do autoselect when
9583 mouse pointer is on margin.
9585 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9587 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9589 2013-08-16 Glenn Morris <rgm@gnu.org>
9591 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9592 Handle "Remote Directory" response of some clients. (Bug#15058)
9594 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9595 Tweak warning. (Bug#14926)
9597 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9598 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9600 * image-mode.el (image-mode-map): Add menu items to reverse,
9601 increase, decrease, reset animation speed.
9602 (image--set-speed, image-increase-speed, image-decrease-speed)
9603 (image-reverse-speed, image-reset-speed): New functions.
9604 (image-mode-map): Add bindings for speed commands.
9606 * image.el (image-animate-get-speed, image-animate-set-speed):
9608 (image-animate-timeout): Respect image :speed property.
9610 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9612 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9613 previous line (bug#15101).
9614 (debugger-eval-expression, debugger-record-expression):
9615 Use read--expression (bug#15102).
9617 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9619 Remove byte compiler warnings, visible when compiling with
9620 `byte-compile-force-lexical-warnings' set to t.
9622 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9623 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9624 (tramp-handle-unhandled-file-name-directory)
9625 (tramp-handle-file-notify-add-watch, tramp-action-login)
9626 (tramp-action-succeed, tramp-action-permission-denied)
9627 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9630 * net/tramp-adb.el (tramp-adb-parse-device-names)
9631 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9632 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9633 (tramp-adb-handle-file-truename): Remove unused arguments.
9635 * net/tramp-cache.el (tramp-flush-directory-property)
9636 (tramp-flush-connection-property, tramp-list-connections)
9637 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9639 * net/tramp-compat.el (tramp-compat-make-temp-file):
9640 Rename FILENAME to F.
9642 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9643 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9644 (tramp-zeroconf-parse-workstation-device-names)
9645 (tramp-zeroconf-parse-webdav-device-names)
9646 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9648 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9649 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9651 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9653 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9654 (tramp-sh-handle-insert-file-contents-literally)
9655 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9657 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9658 Remove unused variables.
9660 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9661 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9662 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9664 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9665 Make them a defconst.
9666 (tramp-uuencode-region): Remove unused variable.
9668 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9670 * frameset.el (frameset--prop-setter): New function.
9671 (frameset-prop): Add gv-setter declaration.
9672 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9673 parameter was already set in FILTERED. Doc fix.
9674 (frameset--record-minibuffer-relationships): Allow saving a
9675 minibufferless frame without its corresponding minibuffer frame.
9676 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9677 frame, if the frame id matches.
9678 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9679 frames before orphaned ones.
9680 (frameset-restore): Warn about orphaned windows, instead of error out.
9682 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9684 * window.el (window-make-atom): Don't overwrite parameter
9686 (display-buffer-in-atom-window): Handle special case where we
9687 split an already atomic window.
9688 (window--major-non-side-window, display-buffer-in-side-window)
9689 (window--side-check): Ignore minibuffer window when walking
9691 (window-deletable-p): Return 'frame only if no other frame uses
9692 our minibuffer window.
9693 (record-window-buffer): Run buffer-list-update-hook.
9694 (split-window): Make sure window--check-frame won't destroy an
9695 existing atomic window in case the new window gets nested
9697 (display-buffer-at-bottom): Ignore minibuffer window when
9698 walking window tree. Don't split a side window.
9699 (pop-to-buffer): Don't set-buffer here, the select-window call
9701 (mouse-autoselect-window-select): Autoselect only if we are in the
9702 text portion of the window.
9704 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9706 * net/shr.el (shr-parse-image-data): New function to grab both the
9707 data itself and the Content-Type.
9708 (shr-put-image): Use it.
9710 * net/eww.el (eww-display-image): Ditto.
9712 * image.el (image-content-type-suffixes): New variable.
9714 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9716 * progmodes/python.el (python-imenu--build-tree)
9717 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9719 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9721 * simple.el (backward-word): Mention the optional argument.
9723 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9725 * frameset.el (frameset--make): Rename constructor from make-frameset.
9726 (frameset-p, frameset-valid-p): Don't autoload.
9727 (frameset-valid-p): Use normal accessors.
9729 2013-08-13 Glenn Morris <rgm@gnu.org>
9731 * progmodes/compile.el (compile-command): Tweak example in doc.
9732 * obsolete/scribe.el (scribe-mode):
9733 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9735 * mail/feedmail.el (feedmail-confirm-outgoing)
9736 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9738 * cus-start.el (truncate-partial-width-windows): Fix type.
9740 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9742 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9744 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9746 * emacs-lisp/timer.el (timer--time-setter): New function.
9747 (timer--time): Use it as gv-setter.
9749 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9750 setter is not a symbol.
9752 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9754 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9755 if sending fails. This makes debugging easier.
9757 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9759 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9760 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9761 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9763 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9765 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9767 2013-08-12 Glenn Morris <rgm@gnu.org>
9769 * format.el (format-annotate-function):
9770 Handle read-only text properties in the source. (Bug#14887)
9772 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9774 * net/eww.el (eww-display-html): Ignore coding system errors.
9775 One web site uses "utf-8lias" as the coding system.
9777 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9779 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9781 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9783 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9784 (tutorial--detailed-help): Remove unused local variables.
9785 (tutorial--save-tutorial-to): Use ignore-errors.
9786 (help-with-tutorial): Use looking-at-p.
9788 * view.el (view-buffer-other-window, view-buffer-other-frame):
9789 Mark unused arguments.
9791 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9792 (woman-select-symbol-fonts, woman, woman-find-file)
9793 (woman-insert-file-contents, woman-non-underline-faces):
9795 (woman1-unquote): Move declaration.
9797 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9798 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9799 argument. Remove unused local variable.
9800 (xml-parse-elem-type): Use string-match-p.
9801 (xml-substitute-numeric-entities): Use ignore-errors.
9803 * calculator.el (calculator): Mark unused argument.
9804 (calculator-paste, calculator-quit, calculator-integer-p):
9806 (calculator-string-to-number, calculator-decimal, calculator-exp)
9807 (calculator-op-or-exp): Use string-match-p.
9809 * dired.el (dired-buffer-more-recently-used-p): Declare.
9810 (dired-insert-set-properties, dired-insert-old-subdirs):
9813 * dired-aux.el (dired-compress): Use ignore-errors.
9814 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9815 (dired-do-async-shell-command, dired-do-shell-command)
9816 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9817 (dired-insert-subdir-validate): Use string-match-p.
9818 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9819 (dired-add-entry): Use string-match-p, looking-at-p.
9820 (dired-insert-subdir-newpos): Remove unused local variable.
9822 * filenotify.el (file-notify-callback): Remove unused local variable.
9824 * filesets.el (filesets-error): Mark unused argument.
9825 (filesets-which-command-p, filesets-filter-dir-names)
9826 (filesets-directory-files, filesets-get-external-viewer)
9827 (filesets-ingroup-get-data): Use string-match-p.
9829 * find-file.el (ff-other-file-name, ff-other-file-name)
9830 (ff-find-the-other-file, ff-cc-hh-converter):
9831 Remove unused local variables.
9832 (ff-get-file-name): Use string-match-p.
9833 (ff-all-dirs-under): Use ignore-errors.
9835 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9836 (follow-select-if-visible): Remove unused local variable.
9838 * forms.el (read-file-filter): Move declaration.
9839 (forms--make-format, forms--make-parser, forms-insert-record):
9840 Quote function with #'.
9841 (forms--update): Use string-match-p. Quote function with #'.
9843 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9844 (help-make-xrefs): Use looking-at-p.
9845 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9847 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9848 (ibuffer-confirm-operation-on): Use string-match-p.
9850 * msb.el (msb-item-handler, msb-dired-item-handler):
9851 Mark unused arguments.
9853 * ses.el (ses-decode-cell-symbol)
9854 (ses-kill-override): Remove unused local variable.
9855 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9856 (ses-load): Use ignore-errors, looking-at-p.
9857 (ses-jump-safe): Use ignore-errors.
9858 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9860 * tabify.el (untabify, tabify): Mark unused arguments.
9862 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9863 Mark unused argument.
9864 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9865 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9867 * emacs-lisp/timer.el (timer--time): Define setter with
9868 gv-define-setter to avoid deprecation warning.
9870 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9871 (*record-cmpl-statistics-p*): Remove (was commented out).
9872 (cmpl-statistics-block): Remove (body was commented out).
9873 All callers changed.
9874 (add-completions-from-buffer, load-completions-from-file):
9875 Remove unused variables.
9877 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9879 * filecache.el (file-cache-delete-file-list):
9880 Print message only when told so.
9881 (file-cache-files-matching): Use #' in mapconcat argument.
9883 * ffap.el (ffap-url-at-point): Fix reference to variable
9884 thing-at-point-default-mail-uri-scheme.
9886 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9888 * subr.el (define-error): New function.
9889 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9890 error-file-not-found and define with define-error.
9891 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9892 and define with define-error.
9893 * userlock.el (file-locked, file-supersession):
9894 * simple.el (mark-inactive):
9895 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9896 * progmodes/ada-mode.el (ada-mode-errors):
9897 * play/life.el (life-extinct):
9898 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9899 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9900 * nxml/rng-util.el (rng-error):
9901 * nxml/rng-uri.el (rng-uri-error):
9902 * nxml/rng-match.el (rng-compile-error):
9903 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9904 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9905 * nxml/nxml-rap.el (nxml-scan-error):
9906 * nxml/nxml-outln.el (nxml-outline-error):
9907 * net/soap-client.el (soap-error):
9908 * net/gnutls.el (gnutls-error):
9909 * net/ange-ftp.el (ftp-error):
9910 * mpc.el (mpc-proc-error):
9911 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9912 (json-number-format, json-string-escape, json-string-format)
9913 (json-key-format, json-object-format):
9914 * jka-compr.el (compression-error):
9915 * international/quail.el (quail-error):
9916 * international/kkc.el (kkc-error):
9917 * emacs-lisp/ert.el (ert-test-failed):
9918 * calc/calc.el (calc-error, inexact-result, math-overflow)
9920 * bookmark.el (bookmark-error-no-filename):
9921 * epg.el (epg-error): Define with define-error.
9923 * time.el (display-time-event-handler)
9924 (display-time-next-load-average): Don't call sit-for since it seems
9925 unnecessary (bug#15045).
9927 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9928 Use #' instead of ' to quote functions.
9929 (checkdoc-output-mode): Use setq-local.
9930 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9931 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9932 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9933 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9934 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9935 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9936 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9937 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9939 * ido.el (ido-completion-help): Fix up compiler warning.
9941 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9943 * frameset.el (frameset-p): Add autoload cookie.
9944 (frameset--jump-to-register): New function, based on code moved from
9946 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9948 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9949 (frameset-restore, frameset-save, frameset-session-filter-alist):
9950 Remove declarations.
9951 (register-alist): Doc fix.
9952 (frameset-to-register): Move to frameset.el.
9953 (jump-to-register, describe-register-1): Remove frameset-specific code.
9955 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9957 * allout-widgets.el (allout-widgets-pre-command-business)
9958 (allout-widgets-post-command-business)
9959 (allout-widgets-after-change-handler)
9960 (allout-decorate-item-and-context, allout-set-boundary-marker)
9961 (allout-body-modification-handler)
9962 (allout-graphics-modification-handler): Mark ignored arguments.
9963 (allout-widgets-post-command-business)
9964 (allout-widgets-exposure-change-processor)
9965 (allout-widgets-exposure-undo-processor)
9966 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9967 (allout-parse-item-at-point, allout-decorate-item-guides)
9968 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9969 * allout.el (epa-passphrase-callback-function): Declare.
9970 (allout-overlay-insert-in-front-handler)
9971 (allout-overlay-interior-modification-handler)
9972 (allout-isearch-end-handler, allout-chart-siblings)
9973 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9974 (allout-yank-processing, allout-process-exposed)
9975 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9976 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9977 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9978 (lisp-indent-defform): Mark ignored arguments.
9979 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9980 (calculate-lisp-indent): Remove unused variables.
9981 * international/characters.el (indian-2-column, arabic-2-column)
9982 (tibetan): Mark ignored arguments.
9983 (use-cjk-char-width-table): Mark ignored arguments.
9984 Remove unused variables.
9985 * international/fontset.el (build-default-fontset-data)
9986 (x-compose-font-name, create-fontset-from-fontset-spec):
9987 Mark ignored arguments.
9988 (fontset-plain-name): Remove unused variables.
9989 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9990 (keyboard-coding-system): Mark ignored arguments.
9991 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9992 * help.el (resize-temp-buffer-window):
9993 * window.el (display-buffer-in-major-side-window)
9994 (display-buffer-in-side-window, display-buffer-in-previous-window):
9995 Remove unused variables.
9996 * isearch.el (isearch-forward-symbol):
9997 * version.el (emacs-bzr-version-bzr):
9998 * international/mule-cmds.el (current-language-environment):
9999 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10000 (x-handle-display):
10001 * term/pc-win.el (x-list-fonts, x-display-planes)
10002 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10003 (x-server-version, x-display-screens, x-display-mm-height)
10004 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10005 (x-selection-owner-p, x-own-selection-internal)
10006 (x-disown-selection-internal, x-get-selection-internal)
10007 (msdos-initialize-window-system):
10008 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10009 * term/x-win.el (x-handle-no-bitmap-icon):
10010 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10011 (vc-default-find-file-hook, vc-default-extra-menu):
10012 Mark ignored arguments.
10014 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10016 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10017 break-condition in the context of the debugged code (bug#12685).
10019 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10022 Do not use an overlay to highlight the last prompt. (Bug#14744)
10023 (comint-mode): Make comint-last-prompt buffer local.
10024 (comint-last-prompt): New variable.
10025 (comint-last-prompt-overlay): Remove. Superseded by
10026 comint-last-prompt.
10027 (comint-snapshot-last-prompt, comint-output-filter):
10028 Use comint-last-prompt.
10030 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10032 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10033 (frameset-save): Check validity of the resulting frameset.
10035 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10037 * ido.el (ido-record-command): Add doc string.
10039 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10041 * frameset.el (frameset): Do not disable creation of the default
10042 frameset-p predicate. Doc fix.
10043 (frameset-valid-p): New function, copied from the old predicate-p.
10044 Add additional checks.
10045 (frameset-restore): Check with frameset-valid-p.
10046 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10047 (frameset-name, frameset-description, frameset-properties)
10048 (frameset-states): Add docstring.
10049 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10050 (frameset-filter-alist): Doc fixes.
10052 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10054 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10056 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10058 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10059 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10060 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10061 (byte-compile-normal-call): Remove obsolescence check.
10063 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10065 * frameset.el (frameset-restore): Doc fix.
10067 * register.el (frameset-frame-id, frameset-frame-with-id)
10068 (frameset-p, frameset-restore, frameset-save): Declare.
10069 (register-alist): Document framesets.
10070 (frameset-session-filter-alist): Declare.
10071 (frameset-to-register): New function.
10072 (jump-to-register): Implement jumping to framesets. Doc fix.
10073 (describe-register-1): Describe framesets.
10075 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10077 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10079 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10080 Use lexical-binding.
10082 * frameset.el (frameset): Use type vector, not list (incompatible
10083 change). Do not declare a new constructor, use the default one.
10084 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10085 `name' and `description', respectively, and add read-only slot
10086 `timestamp'. Doc fixes.
10087 (frameset-copy, frameset-persistent-filter-alist)
10088 (frameset-filter-alist, frameset-switch-to-gui-p)
10089 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10090 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10091 (frameset-filter-iconified, frameset-keep-original-display-p):
10093 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10094 Rename from frameset-filter-(save|restore)-param. All callers changed.
10096 (frameset-p): Adapt to change to vector and be more thorough.
10097 Change arg name to OBJECT. Doc fix.
10098 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10099 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10100 All callers changed.
10101 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10102 All callers changed.
10103 (frameset--record-minibuffer-relationships): Rename from
10104 frameset--process-minibuffer-frames. All callers changed.
10105 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10106 Use new default constructor (again). Doc fix.
10107 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10108 All callers changed.
10109 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10110 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10112 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10113 PARAMETERS and WINDOW-STATE, respectively.
10114 (frameset-restore): Add new keyword argument PREDICATE.
10115 Reset frameset--target-display to nil. Doc fix.
10117 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10119 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10120 (bat-mode): Use it.
10121 (bat-mode-syntax-table): Mark \n as end-of-comment.
10122 (bat-font-lock-keywords): Remove comment rule.
10124 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10125 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10127 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10128 (byte-compile-callargs-warn): Use `push'.
10129 (byte-compile-arglist-warn): Ignore higher-order "calls".
10130 (byte-compile-file-form-autoload): Use `pcase'.
10131 (byte-compile-function-form): If quoting a symbol, check that it exists.
10133 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10135 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10136 and add a few popular commands found in batch files.
10137 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10138 (dos-mode): Doc fixes.
10140 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10142 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10143 (dos-mode): Use setq-local. Add space after "rem".
10144 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10145 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10147 2013-08-07 Arni Magnusson <arnima@hafro.is>
10149 * progmodes/dos.el: New file.
10150 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10153 2013-08-06 Glenn Morris <rgm@gnu.org>
10155 * calendar/calendar.el: Add new faces, and day-header-array.
10156 (calendar-weekday-header, calendar-weekend-header)
10157 (calendar-month-header): New faces.
10158 (calendar-day-header-construct): New function.
10159 (calendar-day-header-width): Also :set calendar-day-header-array.
10160 (calendar-american-month-header, calendar-european-month-header)
10161 (calendar-iso-month-header): Use calendar- faces.
10162 (calendar-generate-month):
10163 Use calendar-day-header-array for day headers; apply faces to them.
10164 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10165 (calendar-abbrev-construct): Add optional maxlen argument.
10166 (calendar-day-name-array): Doc fix.
10167 (calendar-day-name-array, calendar-abbrev-length)
10168 (calendar-day-abbrev-array):
10169 Also :set calendar-day-header-array, and maybe redraw.
10170 (calendar-day-header-array): New option. (Bug#15007)
10171 (calendar-font-lock-keywords): Set to nil and make obsolete.
10172 (calendar-day-name): Add option to use header array.
10174 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10176 * net/shr.el (shr-render-td): Remove debugging.
10177 (shr-render-td): Make width computation consistent by defaulting
10178 all zero-width columns to 10 characters. This may not be optimal,
10179 but it's at least consistent.
10180 (shr-make-table-1): Redo last change to fix the real problem in
10183 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10185 * files.el (cache-long-line-scans):
10186 Make obsolete alias to `cache-long-scans'.
10188 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10190 * frameset.el (frameset, frameset-filter-alist)
10191 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10192 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10193 (frameset-compute-pos): Rename from frameset--compute-pos,
10195 (frameset-move-onscreen): Use frameset-compute-pos.
10196 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10198 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10199 Fix typos in docstrings.
10201 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10203 * frame.el (get-other-frame): Tiny cleanup.
10205 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10207 * vc/vc.el (vc-default-ignore-completion-table):
10208 Silence byte-compiler warning.
10210 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10211 slot, which can indeed be nil.
10212 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10213 Move entry for `left' from persistent to live filter alist.
10214 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10216 (frameset-filter-params): When restoring a frame, copy items added to
10217 `filtered', to avoid unwittingly modifying the original parameters.
10218 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10219 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10221 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10222 to use looking-at-p instead of looking-at. (Bug#15028)
10224 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10226 Revert introduction of isearch-filter-predicates (bug#14714).
10227 Rely on add-function instead.
10228 * isearch.el (isearch-filter-predicates): Rename it back to
10229 isearch-filter-predicate.
10230 (isearch-message-prefix): Use advice-function-mapc and advice
10231 properties to get the isearch-message-prefix.
10232 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10233 instead of run-hook-with-args-until-failure.
10234 (isearch-filter-visible): Not obsolete any more.
10235 * loadup.el: Preload nadvice.
10236 * replace.el (perform-replace): Revert to funcall
10237 instead of run-hook-with-args-until-failure.
10238 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10239 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10240 dired-isearch-filenames-toggle; make it into a proper minor mode.
10241 Use add/remove-function.
10242 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10243 Call the minor-mode rather than add/remove-hook.
10244 (dired-isearch-filter-filenames):
10245 Remove isearch-message-prefix property.
10246 * info.el (Info--search-loop): New function, extracted from Info-search.
10247 Funcall isearch-filter-predicate instead of
10248 run-hook-with-args-until-failure isearch-filter-predicates.
10249 (Info-search): Use it.
10250 (Info-mode): Use isearch-filter-predicate instead of
10251 isearch-filter-predicates.
10253 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10255 Do not call to `selected-window' where it is assumed by default.
10256 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10257 `window-hscroll', `window-width', `window-height', `window-buffer',
10258 `window-frame', `window-start', `window-point', `next-window'
10259 and `window-display-table'.
10260 * abbrev.el (abbrev--default-expand):
10261 * bs.el (bs--show-with-configuration):
10262 * buff-menu.el (Buffer-menu-mouse-select):
10263 * calc/calc.el (calc):
10264 * calendar/calendar.el (calendar-generate-window):
10265 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10266 (diary-make-entry):
10267 * comint.el (send-invisible, comint-dynamic-complete-filename)
10268 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10269 * completion.el (complete):
10270 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10271 * disp-table.el (describe-current-display-table):
10272 * doc-view.el (doc-view-insert-image):
10273 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10274 * ehelp.el (with-electric-help):
10275 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10276 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10277 * emacs-lisp/helper.el (Helper-help-scroller):
10278 * emulation/cua-base.el (cua--post-command-handler-1):
10279 * eshell/esh-mode.el (eshell-output-filter):
10280 * ffap.el (ffap-gnus-wrapper):
10281 * help-macro.el (make-help-screen):
10282 * hilit-chg.el (highlight-compare-buffers):
10283 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10284 * hl-line.el (global-hl-line-highlight):
10285 * icomplete.el (icomplete-simple-completing-p):
10286 * isearch.el (isearch-done):
10287 * jit-lock.el (jit-lock-stealth-fontify):
10288 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10289 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10290 * mpc.el (mpc-tagbrowser, mpc):
10291 * net/rcirc.el (rcirc-any-buffer):
10292 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10293 * play/landmark.el (landmark-max-width, landmark-max-height):
10294 * play/zone.el (zone):
10295 * progmodes/compile.el (compilation-goto-locus):
10296 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10297 * progmodes/etags.el (find-tag-other-window):
10298 * progmodes/fortran.el (fortran-column-ruler):
10299 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10300 * progmodes/verilog-mode.el (verilog-point-text):
10301 * reposition.el (reposition-window):
10302 * rot13.el (toggle-rot13-mode):
10303 * server.el (server-switch-buffer):
10304 * shell.el (shell-dynamic-complete-command)
10305 (shell-dynamic-complete-environment-variable):
10306 * simple.el (insert-buffer, set-selective-display)
10307 (delete-completion-window):
10308 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10309 (speedbar-recenter):
10310 * startup.el (fancy-splash-head):
10311 * textmodes/ispell.el (ispell-command-loop):
10312 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10313 * tutorial.el (help-with-tutorial):
10314 * vc/add-log.el (add-change-log-entry):
10315 * vc/compare-w.el (compare-windows):
10316 * vc/ediff-help.el (ediff-indent-help-message):
10317 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10318 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10319 (ediff-setup-control-frame):
10320 * vc/emerge.el (emerge-position-region):
10321 * vc/pcvs-util.el (cvs-bury-buffer):
10322 * window.el (walk-windows, mouse-autoselect-window-select):
10323 * winner.el (winner-set-conf, winner-undo): Related users changed.
10325 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10327 * frameset.el (frameset--set-id): Doc fix.
10328 (frameset-frame-id, frameset-frame-id-equal-p)
10329 (frameset-locate-frame-id): New functions.
10330 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10331 (frameset-restore): Use them.
10333 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10335 Do not call to `selected-frame' where it is assumed by default.
10336 Affected functions are `raise-frame', `redraw-frame',
10337 `frame-first-window', `frame-terminal' and `delete-frame'.
10338 * calendar/appt.el (appt-disp-window):
10339 * epg.el (epg-wait-for-completion):
10340 * follow.el (follow-delete-other-windows-and-split)
10341 (follow-avoid-tail-recenter):
10342 * international/mule.el (set-terminal-coding-system):
10343 * mail/rmail.el (rmail-mail-return):
10344 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10345 * progmodes/f90.el (f90-add-imenu-menu):
10346 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10347 * server.el (server-switch-buffer):
10348 * simple.el (delete-completion-window):
10350 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10351 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10352 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10353 * vc/ediff.el (ediff-documentation): Related users changed.
10354 * frame.el (selected-terminal): Remove the leftover.
10356 2013-08-05 Glenn Morris <rgm@gnu.org>
10358 * calendar/calendar.el (calendar-generate-month):
10359 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10360 (calendar-generate-month, calendar-font-lock-keywords):
10361 Fix for calendar-day-header-width > length of any day name.
10363 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10365 * desktop.el (desktop-clear): Use new name of sort predicate.
10367 * frameset.el (frameset): Add docstring. Move :version property to its
10368 own `version' slot.
10369 (frameset-copy): Rename from copy-frameset.
10370 (frameset-p): Check more thoroughly.
10371 (frameset-prop): Do not check for :version, which is no longer a prop.
10372 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10373 Use new :never value instead of t.
10374 (frameset-filter-alist): Expand and clarify docstring.
10375 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10376 (frameset-filter-minibuffer, frameset-filter-save-param)
10377 (frameset-filter-restore-param, frameset-filter-iconified):
10378 Add pointer to docstring of frameset-filter-alist.
10379 (frameset-filter-params): Rename filter values to be more meaningful:
10380 :never instead of t, and reverse the meanings of :save and :restore.
10381 (frameset--process-minibuffer-frames): Clarify error message.
10382 (frameset-save): Avoid unnecessary and confusing call to framep.
10383 Use new BOA constructor for framesets.
10384 (frameset--reuse-list): Doc fix.
10385 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10386 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10387 (frameset-minibufferless-first-p): Doc fix.
10388 Rename from frameset-sort-frames-for-deletion.
10389 (frameset-restore): Doc fixes. Use new function names.
10390 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10392 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10394 * desktop.el (desktop-restore-forces-onscreen)
10395 (desktop-restore-reuses-frames): Document :keyword constant values.
10396 (desktop-filter-parameters-alist): Remove, now identical to
10397 frameset-filter-alist.
10398 (desktop--filter-tty*): Remove, moved to frameset.el.
10399 (desktop-save-frameset, desktop-restore-frameset):
10400 Do not pass :filters argument.
10402 * frameset.el (frameset-live-filter-alist)
10403 (frameset-persistent-filter-alist): New variables.
10404 (frameset-filter-alist): Use them. Add autoload cookie.
10405 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10406 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10407 `frameset--id' (it's supposed to be internal to frameset.el).
10408 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10409 (frameset--initial-params): New function.
10410 (frameset--get-frame): Use it. Doc fix.
10411 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10412 Accept :all, not 'all.
10413 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10414 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10415 with fbound symbols. Fix frame id matching, and remove matching ids if
10416 the frame being restored is deleted. Obey :delete.
10418 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10420 * subr.el (macrop): New function.
10421 (text-clone--maintaining): New var.
10422 (text-clone--maintain): Rename from text-clone-maintain. Use it
10423 instead of inhibit-modification-hooks.
10425 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10426 a proxy, so as handle autoloads and redefinitions of the target.
10427 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10429 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10430 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10431 (pcase--mutually-exclusive-p): New function.
10432 (pcase--split-consp): Use it.
10433 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10434 mutually exclusive with the current predicate.
10436 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10437 (edebug-macrop): Remove. Use `macrop' instead.
10438 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10440 * eshell/esh-cmd.el (eshell-macrop):
10441 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10443 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10445 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10446 (advice-mapc): New function, using it.
10447 (advice-function-member-p): New function.
10448 (advice--normalize): Store the cdr in advice--saved-rewrite since
10449 that's the part that will be changed.
10450 (advice--symbol-function): New function.
10451 (advice-remove): Handle removal before the function is defined.
10452 Adjust to new advice--saved-rewrite.
10453 (advice-member-p): Use advice-function-member-p and
10454 advice--symbol-function.
10456 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10458 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10459 (frameset-filter-minibuffer): Doc fix.
10460 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10461 (frameset--set-id, frameset--process-minibuffer-frames)
10462 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10463 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10465 * desktop.el (desktop-clear): Only delete frames when called
10466 interactively and desktop-restore-frames is non-nil. Doc fix.
10467 (desktop-read): Set desktop-saved-frameset to nil.
10469 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10471 * vc/vc.el (vc-ignore): Rewrite.
10472 (vc-default-ignore-completion-table, vc--read-lines)
10473 (vc--add-line, vc--remove-regexp): New functions.
10475 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10476 (vc-svn-ignore-completion-table): New function.
10478 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10479 (vc-hg-ignore-completion-table)
10480 (vc-hg-find-ignore-file): New functions.
10482 * vc/vc-git.el (vc-git-ignore): Rewrite.
10483 (vc-git-ignore-completion-table)
10484 (vc-git-find-ignore-file): New functions.
10486 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10488 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10489 (vc-bzr-ignore-completion-table)
10490 (vc-bzr-find-ignore-file): New functions.
10492 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10494 * frameset.el (frameset-prop): New function and setter.
10495 (frameset-save): Do not modify frame list passed by the caller.
10497 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10499 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10501 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10503 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10504 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10506 * custom.el (custom-initialize-default, custom-initialize-set)
10507 (custom-initialize-reset, custom-initialize-changed): Affect the
10508 toplevel-default-value (bug#6275, bug#14586).
10509 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10512 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10514 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10515 Add cl-def* expressions.
10517 * frameset.el (frameset-filter-params): Fix order of arguments.
10519 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10521 Move code related to saving frames to frameset.el.
10522 * desktop.el: Require frameset.
10523 (desktop-restore-frames): Doc fix.
10524 (desktop-restore-reuses-frames): Rename from
10525 desktop-restoring-reuses-frames.
10526 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10527 (desktop-clear): Clear frames too.
10528 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10529 (desktop--filter-tty*, desktop-save, desktop-read):
10530 Use frameset functions.
10531 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10532 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10533 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10534 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10535 (desktop--process-minibuffer-frames, desktop-save-frames)
10536 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10537 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10538 (desktop--sort-states, desktop-restoring-frames-p)
10539 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10540 (desktop-restoring-frameset-p, desktop-restore-frameset)
10541 (desktop--check-dont-save, desktop-save-frameset): New functions.
10542 (desktop--app-id): New constant.
10543 (desktop-first-buffer, desktop-buffer-ok-count)
10544 (desktop-buffer-fail-count): Move before first use.
10545 * frameset.el: New file.
10547 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10549 * files.el: Use lexical-binding.
10550 (dir-locals-read-from-file): Remove unused `err' variable.
10551 (hack-dir-local-variables--warned-coding): New var.
10552 (hack-dir-local-variables): Use it to avoid repeated warnings.
10553 (make-backup-file-name--default-function): New function.
10554 (make-backup-file-name-function): Use it as default.
10555 (buffer-stale--default-function): New function.
10556 (buffer-stale-function): Use it as default.
10557 (revert-buffer-insert-file-contents--default-function): New function.
10558 (revert-buffer-insert-file-contents-function): Use it as default.
10559 (insert-directory): Avoid add-to-list.
10561 * autorevert.el (auto-revert-handler): Simplify.
10562 Use buffer-stale--default-function.
10564 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10566 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10568 * whitespace.el (whitespace-ensure-local-variables): New function.
10569 (whitespace-cleanup-region): Call it.
10570 (whitespace-turn-on): Call it.
10572 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10574 Complete file name handlers.
10576 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10577 (tramp-handle-verify-visited-file-modtime)
10578 (tramp-handle-file-notify-rm-watch): New functions.
10579 (tramp-call-process): Do not bind `default-directory'.
10581 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10582 Order alphabetically.
10583 <access-file, add-name-to-file, dired-call-process>:
10584 <dired-compress-file, file-acl, file-notify-rm-watch>:
10585 <file-ownership-preserved-p, file-selinux-context>:
10586 <make-directory-internal, make-symbolic-link, set-file-acl>:
10587 <set-file-selinux-context, set-visited-file-modtime>:
10588 <verify-visited-file-modtime>: Add handler.
10589 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10591 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10592 <file-notify-add-watch, file-notify-rm-watch>:
10593 <set-file-times, set-visited-file-modtime>:
10594 <verify-visited-file-modtime>: Add handler.
10595 (with-tramp-gvfs-error-message)
10596 (tramp-gvfs-handle-set-visited-file-modtime)
10597 (tramp-gvfs-fuse-file-name): Remove.
10598 (tramp-gvfs-handle-file-notify-add-watch)
10599 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10600 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10602 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10603 Order alphabetically.
10604 <file-notify-rm-watch>: Use default Tramp handler.
10605 <executable-find>: Remove private handler.
10606 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10607 `default-directory'.
10608 (tramp-sh-handle-executable-find)
10609 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10610 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10611 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10612 Do not use `format' in `tramp-message'.
10614 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10615 <file-notify-rm-watch, set-visited-file-modtime>:
10616 <verify-visited-file-modtime>: Add handler.
10617 (tramp-smb-call-winexe): Do not bind `default-directory'.
10619 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10621 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10623 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10625 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10627 (log-view-diff-changeset): Same.
10628 (log-view-diff-common): Call backend command `previous-revision'
10629 to find out the previous revision, in both cases. Swap the
10630 variables `to' and `fr', so that `fr' usually refers to the
10631 earlier revision (Bug#14989).
10633 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10635 * ibuf-ext.el (ibuffer-filter-by-filename):
10636 Make it work with dired buffers too.
10638 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10640 * emacs-lisp/re-builder.el (reb-color-display-p):
10641 * files.el (save-buffers-kill-terminal):
10642 * net/browse-url.el (browse-url):
10643 * server.el (server-save-buffers-kill-terminal):
10644 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10645 Prefer nil to selected-frame for the first arg of frame-parameter.
10647 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10649 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10651 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10653 * minibuffer.el (completion--twq-all): Try and preserve each
10654 completion's case choice (bug#14907).
10656 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10658 * net/network-stream.el (open-network-stream): Mention the new
10659 :nogreeting parameter.
10660 (network-stream-open-starttls): Use the :nogreeting parameter
10663 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10665 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10666 more natural than popping.
10668 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10669 (shr-urlify): Highlight under mouse.
10671 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10673 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10675 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10677 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10680 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10681 point-min==1. Fix search string. Fix parentheses missing.
10683 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10684 assume point-min==1. Fix search string. Fix parentheses missing.
10686 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10688 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10691 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10693 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10694 initial frame is minibuffer-less. (Bug#14841)
10696 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10698 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10701 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10702 (tramp-maybe-open-connection): Use it.
10704 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10706 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10707 minimal set of parameters passed when creating a frame, because
10708 the minibuffer status of a frame cannot be changed later.
10710 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10712 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10713 replace-regexp-in-string and inadvertent omissions in previous change.
10714 (todo-filter-items): Ensure only file names are comma-separated in
10715 name of filtered items buffer.
10717 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10719 * desktop.el: Optionally force offscreen frames back onscreen.
10720 (desktop-restoring-reuses-frames): New option.
10721 (desktop--compute-pos, desktop--move-onscreen): New functions.
10722 (desktop--make-frame): Use desktop--move-onscreen.
10724 2013-07-27 Alan Mackenzie <acm@muc.de>
10726 Fontify a Java generic method as a function.
10727 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10730 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10732 * calendar/todo-mode.el: Add command to rename todo files.
10733 (todo-rename-file): New command.
10734 (todo-key-bindings-t): Add key binding for it. Change the
10735 bindings of todo-filter-regexp-items(-multifile) to use `x'
10736 instead of `r', since the latter is better suited to the new
10739 2013-07-27 Alan Mackenzie <acm@muc.de>
10741 Make Java try-with-resources statement parse properly.
10742 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10743 (c-block-stmt-1-2-key): New language constants/variables.
10744 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10745 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10746 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10747 with c-block-stmt-1-2-key.
10749 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10751 * desktop.el (desktop--make-frame): Apply most frame parameters after
10752 creating the frame to force (partially or totally) offscreen frames to
10753 be restored as such.
10755 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10757 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10760 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10762 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10763 `base' arg of backtrace-frame.
10765 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10767 * simple.el (list-processes): Doc fix.
10769 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10771 * desktop.el (desktop--select-frame):
10772 Try harder to reuse existing frames.
10774 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10776 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10777 (edebug-eval): Use backtrace-eval.
10778 (edebug--display, edebug--recursive-edit): Don't let-bind the
10779 edebug-outer-* vars that keep track of variables we locally let-bind.
10780 (edebug-outside-excursion): Don't restore outside values of locally
10782 (edebug--display): Use user-error.
10783 (cl-lexical-debug, cl-debug-env): Remove.
10785 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10787 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10788 are restored to be sure that they are visible before deleting any
10791 2013-07-26 Matthias Meulien <orontee@gmail.com>
10793 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10794 vc-print-root-log. (Bug#14948)
10796 2013-07-26 Richard Stallman <rms@gnu.org>
10798 Add aliases for encrypting mail.
10799 * epa.el (epa-mail-aliases): New option.
10800 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10801 Bind inhibit-read-only so read-only text doesn't ruin everything.
10802 (epa-mail-default-recipients): New subroutine broken out.
10803 Handle epa-mail-aliases.
10805 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10807 Add support for lexical variables to the debugger's `e' command.
10808 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10809 vars, except for debugger-outer-match-data.
10810 (debugger-frame-number): Move check for "on a function call" from
10811 callers into it. Add `skip-base' argument.
10812 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10813 (debugger-env-macro): Only reset the state stored in non-variables,
10814 i.e. current-buffer and match-data.
10815 (debugger-eval-expression): Rewrite using backtrace-eval.
10816 * subr.el (internal--called-interactively-p--get-frame): Remove.
10817 (called-interactively-p):
10818 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10819 `base' arg of backtrace-frame instead.
10821 2013-07-26 Glenn Morris <rgm@gnu.org>
10823 * align.el (align-regexp): Doc fix. (Bug#14857)
10824 (align-region): Explicit error if subexpression missing/does not match.
10826 * simple.el (global-visual-line-mode):
10827 Do not duplicate the mode lighter. (Bug#14858)
10829 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10831 * window.el (display-buffer): In display-buffer bind
10832 split-window-keep-point to t, bug#14829.
10834 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10836 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10837 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10838 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10839 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10840 Change accordingly.
10841 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10842 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10844 2013-07-25 Glenn Morris <rgm@gnu.org>
10846 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10848 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10850 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10851 parameter to modify-frame-parameters if the value has not changed;
10852 this is a workaround for bug#14949.
10853 (desktop--make-frame): On cl-delete-if call, check parameter name,
10854 not full parameter.
10856 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10858 * vc/vc.el (vc-ignore): New function.
10860 * vc/vc-svn.el (vc-svn-ignore): New function.
10862 * vc/vc-hg.el (vc-hg-ignore): New function.
10864 * vc/vc-git.el (vc-git-ignore): New function.
10866 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10867 (vc-dir-ignore): New function.
10869 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10870 (cvs-append-to-ignore): Move here from pcvs.el.
10872 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10874 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10876 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10878 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10879 (desktop-restore-frames): Warn when deleting an existing frame failed.
10881 2013-07-24 Glenn Morris <rgm@gnu.org>
10883 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10885 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10887 * filenotify.el (file-notify-supported-p):
10888 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10891 * autorevert.el (auto-revert-use-notify)
10892 (auto-revert-notify-add-watch):
10893 * net/tramp.el (tramp-file-name-for-operation):
10894 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10895 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10896 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10897 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10898 Remove `file-notify-supported-p' entry.
10900 2013-07-24 Glenn Morris <rgm@gnu.org>
10902 * printing.el: Replace all uses of deleted ps-windows-system,
10903 ps-lp-system, ps-flatten-list with lpr- versions.
10905 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10907 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10908 checked with memq (bug#14935).
10910 * files.el (revert-buffer-function): Use a non-nil default.
10911 (revert-buffer-preserve-modes): Declare var to
10912 provide access to the `preserve-modes' argument.
10913 (revert-buffer): Let-bind it.
10914 (revert-buffer--default): New function, extracted from revert-buffer.
10916 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10918 * lpr.el: Signal print errors more prominently.
10919 (print-region-function): Don't default to nil.
10920 (lpr-print-region): New function, extracted from print-region-1.
10921 Check lpr's return value and signal an error in case of problem.
10922 (print-region-1): Use it.
10923 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10925 (ps-printer-name): Default to nil.
10926 (ps-printer-name-option): Default to lpr-printer-switch.
10927 (ps-print-region-function): Don't default to nil.
10928 (ps-postscript-code-directory): Simplify default.
10929 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10930 (ps-string-list, ps-eval-switch, ps-flatten-list)
10931 (ps-flatten-list-1): Remove.
10932 (ps-multibyte-buffer): Avoid setq.
10933 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10934 (print-region-function, ps-print-region-function): Don't set them here.
10936 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10938 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10939 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10940 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10941 (ido-decorations): Doc fix.
10943 * ansi-color.el: Fix old URL.
10945 2013-07-23 Michael R. Mauger <michael@mauger.com>
10947 * progmodes/sql.el: Version 3.3
10948 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10949 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10950 (sql-interactive-remove-continuation-prompt): Rewrite, use
10951 functions above. Fix continuation prompt and complete output line
10953 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10954 redirected output buffer.
10955 (sql-mode): Restore deleted code (Bug#13591).
10957 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10959 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10961 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10963 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10965 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10966 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10967 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10969 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10971 * desktop.el (desktop-clear): Simplify; remove useless checks
10972 against invalid buffer names.
10973 (desktop-list*): Use cl-list*.
10974 (desktop-buffer-info, desktop-create-buffer): Simplify.
10976 2013-07-23 Leo Liu <sdl.web@gmail.com>
10978 * bookmark.el (bookmark-make-record): Restore NAME as a default
10981 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10983 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10984 extracted from autoload--insert-text.
10985 (autoload--insert-text): Remove.
10986 (autoload--print-cookie-text): New function, extracted from
10987 autoload--insert-cookie-text.
10988 (autoload--insert-cookie-text): Remove.
10989 (autoload-generate-file-autoloads): Adjust calls accordingly.
10991 * winner.el (winner-hook-installed-p): Remove.
10992 (winner-mode): Simplify accordingly.
10994 * subr.el (add-to-list): Fix compiler-macro when `append' is
10995 not constant. Don't use `cl-member' for the base case.
10997 * progmodes/subword.el: Fix boundary case (bug#13758).
10998 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11000 (subword-backward-regexp): Make it a constant.
11001 (subword-forward-internal): Don't treat a trailing capital as the
11002 beginning of a word.
11004 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11006 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11007 global value of tabulated-list-revert-hook (bug#14930).
11009 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11011 * desktop.el: Require 'cl-lib.
11012 (desktop-before-saving-frames-functions): New hook.
11013 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11014 for frames being saved. Rename from desktop--save-minibuffer-frames.
11015 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11016 Do not save frames with non-nil `desktop-dont-save' parameter.
11017 Filter out deleted frames.
11018 (desktop--find-frame): Use cl-find-if.
11019 (desktop--select-frame): Use cl-(first|second|third) to access values
11021 (desktop--make-frame): Use cl-delete-if.
11022 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11023 (desktop-restore-frames): Use cl-(first|second|third) to access values
11024 of desktop-mini. Look for visible frame at the end, not while
11027 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11028 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11029 Use string-match-p, looking-at-p (bug#14927).
11031 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11033 * desktop.el (desktop-saved-frame-states):
11034 Rename from desktop--saved-states; all users changed.
11035 (desktop-save-frames): Rename from desktop--save-frames.
11036 Do not save state to desktop file.
11037 (desktop-save): Save desktop-saved-frame-states to desktop file
11039 (desktop-restoring-frames-p): New function.
11040 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11041 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11042 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11044 * desktop.el: Correctly restore iconified frames.
11045 (desktop--filter-iconified-position): New function.
11046 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11048 2013-07-20 Glenn Morris <rgm@gnu.org>
11050 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11051 Let `message' do the formatting.
11052 (def-gdb-preempt-display-buffer): Add explicit format.
11054 * image-dired.el (image-dired-track-original-file):
11055 Use with-current-buffer.
11056 (image-dired-track-thumbnail): Use with-current-buffer.
11057 Avoid changing point of wrong window.
11059 * image-dired.el (image-dired-track-original-file):
11060 Avoid changing point of wrong window. (Bug#14909)
11062 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11064 * progmodes/gdb-mi.el (gdb-done-or-error):
11065 Guard against "%" in gdb output. (Bug#14127)
11067 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11069 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11072 * international/mule.el (coding-system-iso-2022-flags): Fix last
11075 2013-07-20 Kenichi Handa <handa@gnu.org>
11077 * international/mule.el (coding-system-iso-2022-flags):
11078 Add `8-bit-level-4'. (Bug#8522)
11080 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11082 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11085 * net/eww.el (eww-process-text-input): Allow inputting when the
11086 point is at the start of the line, as the properties aren't
11089 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11092 2013-07-19 Richard Stallman <rms@gnu.org>
11094 * epa.el (epa-popup-info-window): Doc fix.
11096 * subr.el (split-string): New arg TRIM.
11098 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11100 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11101 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11103 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11105 * filenotify.el (file-notify--library): Rename from
11106 `file-notify-support'. Do not autoload. Adapt all uses.
11107 (file-notify-supported-p): New defun.
11109 * autorevert.el (auto-revert-use-notify):
11110 Use `file-notify-supported-p' instead of `file-notify-support'.
11112 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11114 * net/tramp.el (tramp-file-name-for-operation):
11115 Add `file-notify-supported-p'.
11117 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11119 (tramp-sh-file-name-handler-alist): Add it as handler for
11120 `file-notify-supported-p '.
11122 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11123 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11124 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11125 Add `ignore' as handler for `file-notify-*' functions.
11127 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11129 * simple.el (line-move-partial, line-move): Don't start vscroll or
11130 scroll-up if the current line is not taller than the window.
11133 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11135 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11136 highlight question marks in the method names as strings.
11137 (ruby-block-beg-keywords): Inline.
11138 (ruby-font-lock-keyword-beg-re): Extract from
11139 `ruby-font-lock-keywords'.
11141 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11143 * frame.el (blink-cursor-blinks): New defcustom.
11144 (blink-cursor-blinks-done): New defvar.
11145 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11146 (blink-cursor-timer-function): Check if number of blinks has been
11148 (blink-cursor-suspend, blink-cursor-check): New defuns.
11150 2013-07-15 Glenn Morris <rgm@gnu.org>
11152 * edmacro.el (edmacro-format-keys): Fix previous change.
11154 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11156 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11157 The hack didn't work outside English locales anyway.
11159 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11161 * simple.el (define-alternatives): Rename from alternatives-define,
11162 per RMS' suggestion.
11164 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11166 * desktop.el (desktop-restore-frames): Change default to t.
11167 (desktop-restore-in-current-display): Now offer more options.
11168 (desktop-restoring-reuses-frames): New customization option.
11169 (desktop--saved-states): Doc fix.
11170 (desktop-filter-parameters-alist): New variable, renamed and expanded
11171 from desktop--excluded-frame-parameters.
11172 (desktop--target-display): New variable.
11173 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11174 (desktop--filter-tty*, desktop--filter-*-color)
11175 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11176 (desktop--filter-save-desktop-parm)
11177 (desktop-restore-in-original-display-p): New functions.
11178 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11179 (desktop--save-minibuffer-frames): New function, inspired by a similar
11180 function from Martin Rudalics.
11181 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11182 (desktop--restore-in-this-display-p): Remove.
11183 (desktop--find-frame): Rename from desktop--find-frame-in-display
11184 and add predicate argument.
11185 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11186 (desktop--reuse-list): New variable.
11187 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11189 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11191 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11193 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11195 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11197 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11198 Highlight conversion methods on Kernel.
11200 2013-07-13 Alan Mackenzie <acm@muc.de>
11202 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11203 and comment it out. This out-commenting enables certain C++
11204 declarations to be parsed correctly.
11206 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11208 * international/mule.el (define-coding-system): Doc fix.
11210 * simple.el (default-font-height): Don't call font-info if the
11211 frame's default font didn't change since the frame was created.
11214 2013-07-13 Leo Liu <sdl.web@gmail.com>
11216 * ido.el (ido-read-file-name): Guard against non-symbol value.
11218 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11220 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11223 2013-07-13 Leo Liu <sdl.web@gmail.com>
11225 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11226 ido-set-matches call. (Bug#6852)
11228 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11230 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11231 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11233 (ruby-font-lock-keywords): Distinguish calls to functions with
11234 module-like names from module references. Highlight character
11237 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11239 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11240 (gdb-send): Handle continued commands. (Bug#14847)
11242 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11244 * desktop.el (desktop--v2s): Remove unused local variable.
11245 (desktop-save-buffer): Make defvar-local; adjust docstring.
11246 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11247 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11249 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11251 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11253 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11255 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11258 2013-07-12 Glenn Morris <rgm@gnu.org>
11260 * doc-view.el: Require cl-lib at runtime too.
11261 (doc-view-remove-if): Remove.
11262 (doc-view-search-next-match, doc-view-search-previous-match):
11265 * edmacro.el: Require cl-lib at runtime too.
11266 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11267 (edmacro-mismatch, edmacro-subseq): Remove.
11269 * shadowfile.el: Require cl-lib.
11270 (shadow-remove-if): Remove.
11271 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11274 * wid-edit.el: Require cl-lib.
11275 (widget-choose): Use cl-remove-if.
11276 (widget-remove-if): Remove.
11278 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11279 (ebrowse-delete-if-not): Remove.
11280 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11281 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11282 Use cl-delete-if-not.
11284 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11286 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11287 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11289 2013-07-12 Leo Liu <sdl.web@gmail.com>
11291 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11293 2013-07-11 Glenn Morris <rgm@gnu.org>
11295 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11296 (edebug-gensym-index, edebug-gensym):
11297 Remove reimplementation of cl-gensym.
11298 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11300 * thumbs.el: Require cl-lib at run-time too.
11301 (thumbs-gensym-counter, thumbs-gensym):
11302 Remove reimplementation of cl-gensym.
11303 (thumbs-temp-file): Use cl-gensym.
11305 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11306 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11307 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11308 (ert--union, ert--gensym-counter, ert--gensym-counter)
11309 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11310 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11311 (ert-make-test-unbound, ert--expand-should-1)
11312 (ert--expand-should, ert--should-error-handle-error)
11313 (should-error, ert--explain-equal-rec)
11314 (ert--plist-difference-explanation, ert-select-tests)
11315 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11316 Use cl-lib functions rather than reimplementations.
11318 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11320 * net/tramp.el (tramp-methods): Extend docstring.
11321 (tramp-connection-timeout): New defcustom.
11322 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11323 (with-tramp-progress-reporter): Simplify.
11324 (tramp-process-actions): Improve messages.
11326 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11327 * net/tramp-sh.el (tramp-maybe-open-connection):
11328 Use `tramp-connection-timeout'.
11329 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11332 2013-07-11 Leo Liu <sdl.web@gmail.com>
11334 * ido.el (ido-read-file-name): Conform to the requirements of
11335 read-file-name. (Bug#11861)
11336 (ido-read-directory-name): Conform to the requirements of
11337 read-directory-name.
11339 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11341 * subr.el (delay-warning): New function.
11343 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11345 * simple.el (default-line-height): New function.
11346 (line-move-partial, line-move): Use it instead of computing the
11347 line height inline.
11348 (line-move-partial): Always compute ROWH. If the last line is
11349 partially-visible, but its text is completely visible, allow
11350 cursor to enter such a partially-visible line.
11352 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11354 Improve error messages. (Bug#14808)
11356 * net/tramp.el (tramp-current-connection): New defvar, moved from
11358 (tramp-message-show-progress-reporter-message): Remove, not
11360 (tramp-error-with-buffer): Show message in minibuffer.
11361 Discard input before waiting. Reset connection timestamp.
11362 (with-tramp-progress-reporter): Improve messages.
11363 (tramp-process-actions): Use progress reporter. Delete process in
11364 case of error. Improve messages.
11366 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11367 Call `tramp-error-with-buffer' with vector and buffer.
11368 (tramp-current-connection): Remove.
11369 (tramp-maybe-open-connection): The car of
11370 `tramp-current-connection' are the first 3 slots of the vector.
11372 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11374 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11375 inside continued strings.
11377 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11379 Timestamp fixes for undo (Bug#14824).
11380 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11382 2013-07-10 Leo Liu <sdl.web@gmail.com>
11384 * files.el (require-final-newline): Allow safe local value.
11387 2013-07-09 Leo Liu <sdl.web@gmail.com>
11389 * ido.el (ido-read-directory-name): Handle fallback.
11390 (ido-read-file-name): Update DIR to ido-current-directory.
11392 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11394 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11396 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11397 "autoload". Remove "warn lower camel case" section, previously
11398 commented out. Highlight negation char. Do not highlight the
11399 target in singleton method definitions.
11401 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11403 * faces.el (tty-setup-hook): Declare the hook.
11405 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11406 and detect when a guard/pred depends on local vars (bug#14773).
11407 (pcase--u1): Adjust caller.
11409 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11411 * simple.el (line-move-partial, line-move): Account for
11413 (line-move-partial): Avoid setting vscroll when the last
11414 partially-visible line in window is of default height.
11416 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11418 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11421 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11423 * subr.el (read-quoted-char): Remove unused local variable `char'.
11425 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11427 * vc/ediff.el (ediff-version): Version update.
11428 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11429 (ediff-merge-with-ancestor-command, ediff-directories-command)
11430 (ediff-directories3-command, ediff-merge-directories-command)
11431 (ediff-merge-directories-with-ancestor-command): New functions.
11432 All are command-line interfaces to ediff: to facilitate calling
11433 Emacs with the appropriate ediff functions invoked.
11435 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11437 (viper-save-kill-buffer): Check if buffer is modified.
11439 * emulation/viper.el (viper-version): Version update.
11440 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11442 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11444 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11445 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11446 (viper-intercept-ESC-key): Simplify.
11447 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11449 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11450 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11451 (viper-setup-ESC-to-escape): New functions.
11452 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11453 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11455 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11457 * simple.el (default-font-height, window-screen-lines):
11459 (line-move, line-move-partial): Use them instead of
11460 frame-char-height and window-text-height. This makes scrolling
11461 text smoother when the buffer's default face uses a font that is
11462 different from the frame's default font.
11464 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11466 * files.el (write-file): Do not display confirm dialog for NS,
11467 it does its own dialog, which can't be canceled (Bug#14578).
11469 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11471 * simple.el (line-move-partial): Adjust the row returned by
11472 posn-at-point for the current window-vscroll. (Bug#14567)
11474 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11476 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11477 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11480 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11482 * window.el (window-state-put-stale-windows): New variable.
11483 (window--state-put-2): Save list of windows without matching buffer.
11484 (window-state-put): Remove "bufferless" windows if possible.
11486 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11488 * simple.el (alternatives-define): Remove leftover :group keyword.
11491 2013-07-06 Leo Liu <sdl.web@gmail.com>
11493 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11494 (ido-enable-virtual-buffers): New variable.
11495 (ido-buffer-internal, ido-toggle-virtual-buffers)
11496 (ido-make-buffer-list): Use it.
11497 (ido-exhibit): Support turning on and off virtual buffers
11500 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11502 * simple.el (alternatives-define): New macro.
11504 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11506 * subr.el (read-quoted-char): Use read-key.
11507 (sit-for): Let read-event decode tty input (bug#14782).
11509 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11511 * calendar/todo-mode.el: Add handling of file deletion, both by
11512 mode command and externally. Fix various related bugs.
11513 Clarify Commentary and improve some documentation strings and code.
11514 (todo-delete-file): New command.
11515 (todo-check-file): New function.
11516 (todo-show): Handle external deletion of the file we're trying to
11517 show (bug#14688). Replace called-interactively-p by an optional
11518 prefix argument to avoid problematic interaction with catch form
11519 when byte compiled (bug#14702).
11520 (todo-quit): Handle external deletion of the archive's todo file.
11521 Make sure the buffer that was visiting the archive file is still
11522 live before trying to bury it.
11523 (todo-category-completions): Handle external deletion of any
11524 category completion files.
11525 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11526 of todo files, in case of external deletion.
11527 (todo-add-file): Replace unnecessary setq by let-binding.
11528 (todo-find-archive): Check whether there are any archives.
11529 Replace unnecessary setq by let-binding.
11530 (todo-archive-done-item): Use find-file-noselect to get the
11531 archive buffer whether or not the archive already exists.
11532 Remove superfluous code. Use file size instead of buffer-file-name to
11533 check if the archive is new; if it is, update list of archives.
11534 (todo-default-todo-file): Allow nil to be a valid value for when
11535 there are no todo files.
11536 (todo-reevaluate-default-file-defcustom): Use corrected definition
11537 of todo-default-todo-file.
11538 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11539 (todo-delete-category, todo-show-categories-table)
11540 (todo-category-number): Clarify comment.
11541 (todo-filter-items): Clarify documentation string.
11542 (todo-show-current-file, todo-display-as-todo-file)
11543 (todo-reset-and-enable-done-separator): Tweak documentation string.
11544 (todo-done-separator): Make separator length window-width, since
11545 bug#2749 is now fixed.
11547 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11549 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11550 Support both "gvfs-monitor-dir" and "inotifywait".
11551 (tramp-sh-file-inotifywait-process-filter): Rename from
11552 `tramp-sh-file-notify-process-filter'.
11553 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11554 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11556 2013-07-05 Leo Liu <sdl.web@gmail.com>
11558 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11560 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11562 * frame.el (display-pixel-height, display-pixel-width)
11563 (display-mm-height, display-mm-width): Mention behavior on
11564 multi-monitor setups in docstrings.
11565 (w32-display-monitor-attributes-list): Declare function.
11566 (display-monitor-attributes-list): Use it.
11568 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11570 * filenotify.el: New package.
11572 * autorevert.el (top): Require filenotify.el.
11573 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11575 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11576 (auto-revert-notify-handler): Use `file-notify-*' functions.
11578 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11580 * net/tramp.el (tramp-file-name-for-operation):
11581 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11583 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11584 for `file-notify-add-watch' and `file-notify-rm-watch'.
11585 (tramp-process-sentinel): Improve trace.
11586 (tramp-sh-handle-file-notify-add-watch)
11587 (tramp-sh-file-notify-process-filter)
11588 (tramp-sh-handle-file-notify-rm-watch)
11589 (tramp-get-remote-inotifywait): New defuns.
11591 2013-07-03 Juri Linkov <juri@jurta.org>
11593 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11594 call of `occur-read-primary-args' to interactive spec.
11596 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11597 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11599 2013-07-03 Matthias Meulien <orontee@gmail.com>
11601 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11602 `Buffer-menu-multi-occur'. Add it to the menu.
11603 (Buffer-menu-mode): Document it in docstring.
11604 (Buffer-menu-multi-occur): New command. (Bug#14673)
11606 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11608 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11609 keywords and built-ins.
11611 2013-07-03 Glenn Morris <rgm@gnu.org>
11613 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11615 Make info-xref checks case-sensitive by default
11616 * info.el (Info-find-node, Info-find-in-tag-table)
11617 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11618 Add option for exact case matching of nodes.
11619 * info-xref.el (info-xref): New custom group.
11620 (info-xref-case-fold): New option.
11621 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11623 2013-07-03 Leo Liu <sdl.web@gmail.com>
11625 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11627 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11629 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11630 middle of block statement initially, lower the depth. Remove
11631 FIXME comment, not longer valid. Remove middle of block statement
11632 detection, no need to do that anymore since we've been using
11633 `ruby-parse-region' here.
11635 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11637 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11639 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11641 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11643 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11645 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11646 (desktop-restore-in-current-display): New customization option.
11647 (desktop--excluded-frame-parameters): Add `font'.
11648 (desktop--save-frames): Rename from desktop--save-windows.
11649 (desktop--restore-in-this-display-p): New function.
11650 (desktop--make-full-frame): Remove unwanted width/height from
11651 full(width|height) frames.
11652 (desktop--restore-frames): Rename from desktop--restore-windows.
11653 Obey desktop-restore-current-display. Do not delete old frames or
11654 select a new frame unless we were able to restore at least one frame.
11656 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11658 * files.el (find-file-noselect): Simplify conditional expression.
11660 * textmodes/remember.el (remember-append-to-file):
11661 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11663 Add `remember-notes' function to store random notes across Emacs
11665 * textmodes/remember.el (remember-data-file): Add :set callback to
11666 affect notes buffer (if any).
11667 (remember-notes): New command.
11668 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11669 New defcustoms for the `remember-notes' function.
11670 (remember-notes-save-and-bury-buffer): New command.
11671 (remember-notes-mode-map): New variable.
11672 (remember-mode): New minor mode.
11673 (remember-notes--kill-buffer-query): New function.
11674 * startup.el (initial-buffer-choice): Add notes to custom type.
11676 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11678 * bindings.el (right-char, left-char): Don't call sit-for, this is
11679 no longer needed. Use arithmetic comparison only for numerical
11682 * international/mule-cmds.el (select-safe-coding-system):
11683 Handle the case of FROM being a string correctly. (Bug#14755)
11685 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11687 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11688 progression on degenerate tables.
11689 (shr-rescale-image): ImageMagick animated images currently don't work.
11691 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11693 Some fixes and improvements for desktop frame restoration.
11694 It is still experimental and disabled by default.
11695 * desktop.el (desktop--save-windows): Put the selected frame at
11696 the head of the list.
11697 (desktop--make-full-frame): New function.
11698 (desktop--restore-windows): Try to re-select the frame that was
11699 selected upon saving. Do not abort if some frames fail to restore,
11700 just show an error message and continue. Set up maximized frames
11701 so they have default non-maximized dimensions.
11703 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11705 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11706 Don't start heredoc inside a string or comment.
11708 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11710 * bindings.el (visual-order-cursor-movement): New defcustom.
11711 (right-char, left-char): Provide visual-order cursor motion by
11712 calling move-point-visually. Update the doc strings.
11714 2013-06-28 Kenichi Handa <handa@gnu.org>
11716 * international/mule.el (define-coding-system): New coding system
11717 properties :inhibit-null-byte-detection,
11718 :inhibit-iso-escape-detection, and :prefer-utf-8.
11719 (set-buffer-file-coding-system): If :charset-list property of
11720 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11721 appropriate for setting.
11723 * international/mule-cmds.el (select-safe-coding-system):
11724 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11725 multibyte characters, return utf-8 (or one of its siblings).
11727 * international/mule-conf.el (prefer-utf-8): New coding system.
11728 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11731 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11733 * net/shr.el (shr-render-region): New function.
11735 * net/eww.el: Autoload `eww-browse-url'.
11737 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11739 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11740 Adapt to `package-desc-version' being a list.
11741 Use `package--ac-desc-version' to retrieve version from a package
11744 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11746 New experimental feature to save&restore window and frame setup.
11747 * desktop.el (desktop-save-windows): New defcustom.
11748 (desktop--saved-states): New var.
11749 (desktop--excluded-frame-parameters): New defconst.
11750 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11751 (desktop--restore-windows, desktop--save-windows): New functions.
11752 (desktop-save): Call `desktop--save-windows'.
11753 (desktop-read): Call `desktop--restore-windows'.
11755 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11757 * net/shr.el (add-face-text-property): Remove compat definition.
11759 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11761 * info.el (Info-try-follow-nearest-node): Move search for footnote
11762 above search for node name to prevent missing a footnote (bug#14717).
11764 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11766 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11768 2013-06-27 Leo Liu <sdl.web@gmail.com>
11770 * net/eww.el (eww-read-bookmarks): Check file size.
11772 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11774 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11775 advice--pending if newdef is nil or an autoload (bug#13820).
11776 (advice-mapc): New function.
11778 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11780 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11782 (eww-mode-map): Add a menu bar.
11783 (eww-add-bookmark): New command.
11784 (eww-bookmark-mode): New mode and commands.
11785 (eww-add-bookmark): Remove newlines from the title.
11786 (eww-bookmark-browse): Don't bug out if it's the only window.
11788 2013-06-26 Glenn Morris <rgm@gnu.org>
11790 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11791 (hfy-size): Handle ttys. (Bug#14668)
11793 * info-xref.el: Update for Texinfo 5 change in *note format.
11794 (info-xref-node-re, info-xref-note-re): New constants.
11795 (info-xref-check-buffer): Use info-xref-note-re.
11797 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11799 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11801 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11802 nil terminate the loop (bug#14718).
11804 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11806 * net/eww.el: Rework history traversal. When going forward/back,
11807 put these actions into the history, too, so that they can be
11809 (eww-render): Move the history reset to the correct buffer.
11811 2013-06-25 Juri Linkov <juri@jurta.org>
11813 * files-x.el (modify-dir-local-variable): Change the header comment
11814 in the file with directory local variables. (Bug#14692)
11816 * files-x.el (read-file-local-variable-value): Add `default'.
11819 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11821 * net/eww.el (eww-make-unique-file-name): Create a unique file
11822 name before saving to entering `y' accidentally asynchronously.
11824 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11826 * net/eww.el (eww-download): New command and keystroke.
11828 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11830 * net/eww.el (eww-copy-page-url): Change name of command.
11832 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11833 be more consistent with Info and dired.
11835 * net/eww.el (eww-mode-map): Ditto.
11837 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11839 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11840 packages from archives.
11841 (package-archive-contents): Change format; include obsolete packages.
11842 (package-desc): Use `dir' to mark builtin packages.
11843 (package--from-builtin): Set the `dir' field to `builtin'.
11844 (generated-autoload-file, version-control): Declare.
11845 (package-compute-transaction): Change first arg and return value to be
11846 lists of package-descs. Adjust to new package-archive-contents format.
11847 (package--add-to-archive-contents): Adjust to new
11848 package-archive-contents format.
11849 (package-download-transaction): Arg is now a list of package-descs.
11850 (package-install): If `pkg' is a package name, pass it as
11851 a requirement, so it is subject to the usual (e.g. disabled) checks.
11852 (describe-package): Accept package-desc as well.
11853 (describe-package-1): Describe a specific package-desc. Add links to
11854 other package-descs for the same package name.
11855 (package-menu-describe-package): Pass the actual package-desc.
11856 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11858 (package-desc-status): New function.
11859 (package-menu--refresh): New function, extracted
11860 from package-menu--generate.
11861 (package-menu--generate): Use it.
11862 (package-delete): Update package-alist.
11863 (package-menu-execute): Don't call package-initialize.
11865 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11866 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11867 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11868 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11869 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11870 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11872 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11874 * window.el (window--state-get-1): Workaround for bug#14527.
11875 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11877 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11879 * net/eww.el (eww-back-url): Implement the history by stashing all
11880 the data into a list.
11881 (eww-forward-url): Allow going forward in the history, too.
11883 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11885 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11886 for values and use read--expression for expressions (bug#14710).
11887 (read-file-local-variable): Avoid setq.
11888 (read-file-local-variable-mode): Use minor-mode-list.
11890 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11892 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11895 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11897 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11898 Update imenu-support when dialect changes.
11900 2013-06-25 Leo Liu <sdl.web@gmail.com>
11902 * ido.el (ido-read-internal): Allow forward slash on windows.
11904 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11906 * net/eww.el (eww): Start of strings is \\`, not ^.
11908 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11910 * net/shr.el (shr-browse-url): Fix interactive spec.
11912 * net/eww.el (eww): Add a trailing slash to domain names.
11914 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11916 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11918 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11920 * net/shr.el (shr-browse-url): Use an external browser if given a
11923 * net/eww.el (eww-external-browser): Move to shr.
11925 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11927 * net/eww.el (eww): Work more correctly for file: URLs.
11928 (eww-detect-charset): Allow quoted charsets.
11929 (eww-yank-page-url): New command and keystroke.
11931 2013-06-24 Daiki Ueno <ueno@gnu.org>
11933 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11934 file name of gpg executable.
11935 (epg-context-program): New function.
11936 (epg-context-home-directory): New function.
11937 (epg-context-set-program): New function.
11938 (epg-context-set-home-directory): New function.
11939 (epg--start): Use `epg-context-program' instead of
11941 (epg--list-keys-1): Likewise.
11943 2013-06-24 Leo Liu <sdl.web@gmail.com>
11945 * ido.el (ido-read-internal): Fix bug#14620.
11947 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11949 * faces.el (face-documentation): Simplify.
11950 (read-face-attribute, tty-find-type, x-resolve-font-name):
11951 Use `string-match-p'.
11952 (list-faces-display): Use `string-match-p'. Simplify.
11953 (face-spec-recalc): Check face to avoid face alias loops.
11954 (read-color): Use `string-match-p' and non-capturing parenthesis.
11956 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11958 * net/shr.el (shr-rescale-image): Use the new
11959 :max-width/:max-height functionality.
11961 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11963 * net/eww.el (eww-search-prefix): New variable.
11965 (eww-external-browser): New variable.
11966 (eww-mode-map): New keystroke.
11967 (eww-browse-with-external-browser): New command.
11969 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11971 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11973 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11974 Don't skip aligning the next header field when padding is 0;
11975 otherwise, field width is not respected unless the title is as
11978 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11980 * emacs-lisp/package.el (package-el-version): Remove.
11981 (package-process-define-package): Fix inf-loop.
11982 (package-install): Allow symbols as arguments again.
11984 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11986 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11987 add some more keyword-like methods.
11988 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11990 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11992 * bs.el (bs-buffer-show-mark): Make defvar-local.
11993 (bs-mode): Use setq-local.
11995 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11996 (emacs-lock--try-unlocking): Make defvar-local.
11998 2013-06-22 Glenn Morris <rgm@gnu.org>
12000 * play/cookie1.el (cookie-apropos): Minor simplification.
12002 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12004 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12006 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12007 `regexp-opt', it breaks the build during dumping.
12009 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12011 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12012 Highlight keyword-like methods on Kernel and Module with
12013 font-lock-builtin-face.
12014 (auto-mode-alist): Consolidate different entries into one regexp
12015 and add more *file-s.
12017 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12019 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12021 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12022 (diary-entry): Use it in the action of this button type instead of
12025 * calendar/todo-mode.el: New version.
12026 (todo-add-category): Append new category to end of file and give
12027 it the highest number, instead of putting it at the beginning and
12028 giving it 0. Incorporate noninteractive functionality.
12029 (todo-forward-category): Adapt to 1-based category numbering.
12030 Allow skipping over archived categories.
12031 (todo-backward-category): Derive from todo-forward-category.
12032 (todo-backward-item, todo-forward-item): Make noninteractive and
12033 delegate interactive part to new commands. Make sensitive to done items.
12034 (todo-categories): Make value an alist of category names and
12035 vectors of item counts.
12036 (todo-category-beg): Make a defconst.
12037 (todo-category-number): Use 1 instead of 0 as initial value.
12038 (todo-category-select): Make sensitive to overlays, optional item
12039 highlighting and done items.
12040 (todo-delete-item): Make sensitive to overlays and marked and done items.
12041 (todo-edit-item): Make sensitive to overlays and editing of
12042 date/time header optional. Add format checks.
12043 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12044 no-op if point is not on an item. Advertise using todo-edit-quit.
12045 (todo-edit-mode): Make sensitive to new format, font-locking, and
12046 multiple todo files.
12047 (todo-insert-item, todo-insert-item-here): Derive from
12048 todo-basic-insert-item and extend functionality.
12049 (todo-item-end, todo-item-start): Make sensitive to done items.
12050 (todo-item-string): Don't return text properties. Restore point.
12051 (todo-jump-to-category): Make sensitive to multiple todo files and
12052 todo archives. Use extended category completion.
12053 (todo-lower-item, todo-raise-item): Rename to *-priority and
12054 derive from todo-set-item-priority.
12055 (todo-mode): Derive from special-mode. Make sensitive to new
12056 format, font-locking and multiple todo files. Make read-only.
12057 (todo-mode-map): Don't suppress digit keys, so they can supply
12058 prefix arguments. Add many new key bindings.
12059 (todo-prefix): Insert as an overlay instead of file text.
12060 Change semantics from diary date expression to purely visual mark.
12061 (todo-print): Rename to todo-print-buffer. Make buffer display
12062 features printable. Remove option to restrict number of items
12063 printed. Add option to print to file.
12064 (todo-print-function): Rename to todo-print-buffer-function.
12065 (todo-quit): Extend to handle exiting new todo modes.
12066 (todo-remove-item): Make sensitive to overlays.
12067 (todo-save): Extend to buffers of filtered items.
12068 (todo-show): Make sensitive to done items, multiple todo files and
12069 new todo modes. Offer to convert legacy todo file before creating
12070 first new todo file.
12071 (todo-show-priorities): Rename to todo-top-priorities.
12072 Change semantics of value 0.
12073 (todo-top-priorities): Rename to todo-filter-top-priorities,
12074 derive from todo-filter-items and extend functionality.
12075 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12076 and extend functionality to other types of filtered items.
12077 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12078 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12079 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12080 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12081 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12082 (todo-edit-mode-hook, todo-entry-prefix-function)
12083 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12084 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12085 (todo-initials, todo-insert-threshold, todo-item-string-start)
12086 (todo-line-string, todo-menu, todo-mode-hook)
12087 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12088 (todo-print-priorities, todo-remove-separator)
12089 (todo-save-top-priorities-too, todo-string-count-lines)
12090 (todo-string-multiline-p, todo-time-string-format)
12091 (todo-tmp-buffer-name): Remove.
12092 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12093 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12094 (todo-edit-category-diary-inclusion)
12095 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12096 (todo-edit-file, todo-edit-item-date-day)
12097 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12098 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12099 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12100 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12101 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12102 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12103 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12104 (todo-filter-top-priorities-multifile, todo-find-archive)
12105 (todo-find-filtered-items-file, todo-go-to-source-item)
12106 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12107 (todo-jump-to-archive-category, todo-lower-category)
12108 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12109 (todo-move-category, todo-move-item, todo-next-button)
12110 (todo-next-item, todo-padded-string, todo-powerset)
12111 (todo-previous-button, todo-previous-item)
12112 (todo-print-buffer-to-file, todo-raise-category)
12113 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12114 (todo-set-category-number, todo-set-item-priority)
12115 (todo-set-top-priorities-in-category)
12116 (todo-set-top-priorities-in-file, todo-show-categories-table)
12117 (todo-sort-categories-alphabetically-or-numerically)
12118 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12119 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12120 (todo-toggle-item-header, todo-toggle-item-highlighting)
12121 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12122 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12123 (todo-unarchive-items, todo-unmark-category): New commands.
12124 (todo-absolute-file-name, todo-add-to-buffer-list)
12125 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12126 (todo-basic-insert-item, todo-category-completions)
12127 (todo-category-number, todo-category-string-matcher-1)
12128 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12129 (todo-check-format, todo-clear-matches)
12130 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12131 (todo-current-category, todo-date-string-matcher)
12132 (todo-define-insertion-command, todo-diary-expired-matcher)
12133 (todo-diary-goto-entry, todo-diary-item-p)
12134 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12135 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12136 (todo-done-item-section-p, todo-done-separator)
12137 (todo-done-string-matcher, todo-files, todo-filter-items)
12138 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12139 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12140 (todo-insert-category-line, todo-insert-item-from-calendar)
12141 (todo-insert-sort-button, todo-insert-with-overlays)
12142 (todo-insertion-command-name, todo-insertion-key-bindings)
12143 (todo-label-to-key, todo-longest-category-name-length)
12144 (todo-make-categories-list, todo-mode-external-set)
12145 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12146 (todo-modes-set-3, todo-multiple-filter-files)
12147 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12148 (todo-read-category, todo-read-date, todo-read-dayname)
12149 (todo-read-file-name, todo-read-time)
12150 (todo-reevaluate-category-completions-files-defcustom)
12151 (todo-reevaluate-default-file-defcustom)
12152 (todo-reevaluate-filelist-defcustoms)
12153 (todo-reevaluate-filter-files-defcustom)
12154 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12155 (todo-reset-done-separator, todo-reset-done-separator-string)
12156 (todo-reset-done-string, todo-reset-global-current-todo-file)
12157 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12158 (todo-reset-prefix, todo-set-categories)
12159 (todo-set-date-from-calendar, todo-set-show-current-file)
12160 (todo-set-top-priorities, todo-short-file-name)
12161 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12162 (todo-total-item-counts, todo-update-buffer-list)
12163 (todo-update-categories-display, todo-update-categories-sexp)
12164 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12166 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12168 (todo-categories, todo-display, todo-edit, todo-faces)
12169 (todo-filtered): New defgroups.
12170 (todo-archived-only, todo-button, todo-category-string, todo-date)
12171 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12172 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12173 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12174 (todo-add-item-if-new-category, todo-always-add-time-string)
12175 (todo-categories-align, todo-categories-archived-label)
12176 (todo-categories-category-label, todo-categories-diary-label)
12177 (todo-categories-done-label, todo-categories-number-separator)
12178 (todo-categories-todo-label, todo-categories-totals-label)
12179 (todo-category-completions-files, todo-completion-ignore-case)
12180 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12181 (todo-done-separator-string, todo-done-string)
12182 (todo-files-function, todo-filter-done-items, todo-filter-files)
12183 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12184 (todo-initial-category, todo-initial-file, todo-item-mark)
12185 (todo-legacy-date-time-regexp, todo-mode-line-function)
12186 (todo-nondiary-marker, todo-number-prefix)
12187 (todo-print-buffer-function, todo-show-current-file)
12188 (todo-show-done-only, todo-show-first, todo-show-with-done)
12189 (todo-skip-archived-categories, todo-top-priorities-overrides)
12190 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12191 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12193 (todo-category-done, todo-date-pattern, todo-date-string-start)
12194 (todo-diary-items-buffer, todo-done-string-start)
12195 (todo-filtered-items-buffer, todo-item-start)
12196 (todo-month-abbrev-array, todo-month-name-array)
12197 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12198 (todo-top-priorities-buffer): New defconsts.
12199 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12200 (todo-categories-with-marks, todo-category-string-face)
12201 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12202 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12203 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12204 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12205 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12206 (todo-font-lock-keywords, todo-global-current-todo-file)
12207 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12208 (todo-insertion-commands-args)
12209 (todo-insertion-commands-args-genlist)
12210 (todo-insertion-commands-names, todo-insertion-map)
12211 (todo-key-bindings-t, todo-key-bindings-t+a)
12212 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12213 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12214 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12215 (todo-visited): New variables.
12217 2013-06-21 Glenn Morris <rgm@gnu.org>
12219 * play/cookie1.el (cookie-apropos): Add optional display argument.
12220 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12221 (psychoanalyze-pinhead): Use cookie-doctor.
12223 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12225 * emacs-lisp/package.el (tar-get-file-descriptor)
12226 (tar--extract): Declare.
12228 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12230 Extend flymake's warning predicate to be a function (bug#14217).
12231 * progmodes/flymake.el (flymake-warning-predicate): New.
12232 (flymake-parse-line): Use it.
12233 (flymake-warning-re): Make obsolete alias to
12234 `flymake-warning-predicate'.
12236 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12238 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12239 (package-obsolete-list): Remove.
12240 (package-activate): Remove min-version argument. Add `force' argument.
12241 Adjust to new package-alist format.
12242 (package-mark-obsolete): Remove.
12243 (package-unpack): Force reload of the package's autoloads.
12244 (package-installed-p): Check builtins if the installed package is not
12246 (package-initialize): Don't reset package-obsolete-list.
12247 Don't specify which package version to activate.
12248 (package-process-define-package, describe-package-1)
12249 (package-menu--generate): Adjust to new package-alist format.
12251 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12253 * allout-widgets.el (allout-widgets-mode-off)
12254 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12255 (allout-widgets-post-command-business)
12256 (allout-widgets-after-copy-or-kill-function)
12257 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12258 (allout-decorate-item-and-context)
12259 (allout-graphics-modification-handler): Fix typos in docstrings.
12260 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12262 * cmuscheme.el (scheme-start-file): Doc fix.
12263 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12264 (scheme-input-filter): Use `string-match-p'.
12266 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12268 * dired-x.el: Use Dired consistently in docstrings.
12270 * dired.el: Use Dired consistently in docstrings.
12271 (dired-readin, dired-mode): Use `setq-local'.
12272 (dired-switches-alist): Make defvar-local.
12273 (dired-buffers-for-dir): Use `zerop'.
12274 (dired-safe-switches-p, dired-switches-escape-p)
12275 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12276 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12277 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12278 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12279 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12280 (dired-toggle-marks, dired-mark-files-containing-regexp)
12281 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12282 (dired-flag-auto-save-files, dired-flag-backup-files):
12283 Use `looking-at-p'.
12284 (dired-mark-files-regexp, dired-build-subdir-alist):
12285 Use `string-match-p', `looking-at-p'.
12287 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12288 (direct-print-region-helper): Use `string-match-p'.
12290 2013-06-21 Leo Liu <sdl.web@gmail.com>
12292 * comint.el (comint-redirect-results-list-from-process):
12295 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12297 * net/eww.el (eww-update-header-line-format): Quote % characters.
12299 2013-06-21 Glenn Morris <rgm@gnu.org>
12301 * play/cookie1.el (cookie): New custom group.
12302 (cookie-file): New option.
12303 (cookie-check-file): New function.
12304 (cookie): Make it interactive. Make start and end messages optional.
12305 Interactively, display the result. Default to cookie-file.
12306 (cookie-insert): Default to cookie-file.
12307 (cookie-snarf): Make start and end messages optional.
12308 Default to cookie-file. Use with-temp-buffer.
12309 (cookie-read): Rename from read-cookie.
12310 Make start and end messages optional. Default to cookie-file.
12311 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12312 Do not autoload it.
12313 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12314 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12316 2013-06-21 Leo Liu <sdl.web@gmail.com>
12318 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12320 2013-06-21 Glenn Morris <rgm@gnu.org>
12322 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12324 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12325 Daniel Hackney <dan@haxney.org>
12327 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12328 Consolidate the single-file vs tarball code.
12329 (package-desc-suffix): New function.
12330 (package-desc-full-name): Don't bother inlining it.
12331 (package-load-descriptor): Return the new package-desc.
12332 (package-mark-obsolete): Remove unused arg `package'.
12333 (package-unpack): Make it work for single files as well.
12334 Make it update package-alist.
12335 (package--make-autoloads-and-stuff): Rename from
12336 package--make-autoloads-and-compile. Don't compile any more.
12337 (package--compile): New function.
12338 (package-generate-description-file): New function, extracted from
12339 package-unpack-single.
12340 (package-unpack-single): Remove.
12341 (package--with-work-buffer): Add indentation and debugging info.
12342 (package-download-single): Remove.
12343 (package-install-from-archive): Rename from package-download-tar, make
12344 it take a pkg-desc, and make it work for single files as well.
12345 (package-download-transaction): Simplify.
12346 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12347 external tar program.
12348 (package-install-from-buffer): Remove `pkg-desc' argument.
12349 Use package-tar-file-info for tar-mode buffers.
12350 (package-install-file): Simplify accordingly.
12351 (package-archive-base): Change to take a pkg-desc.
12352 * tar-mode.el (tar--check-descriptor): New function, extracted from
12353 tar-get-descriptor.
12354 (tar-get-descriptor): Use it.
12355 (tar-get-file-descriptor): New function.
12356 (tar--extract): New function, extracted from tar-extract.
12357 (tar--extract): Use it.
12358 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12359 case the summary uses non-ascii. Adjust to new calling convention of
12360 package-tar-file-info.
12362 2013-06-21 Leo Liu <sdl.web@gmail.com>
12364 * comint.el (comint-redirect-results-list-from-process):
12365 Fix random delay. (Bug#14681)
12367 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12369 * profiler.el (profiler-format-number): Use log, not log10.
12371 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12373 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12375 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12377 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12378 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12380 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12381 (AUTOGENEL): ... here.
12382 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12383 (cl--defsubst-expand): Use it.
12385 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12387 * subr.el (log10): Move here from C code, and declare as obsolete.
12388 All uses of (log10 X) replaced with (log X 10).
12390 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12392 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12393 Declare with `defvar-local'.
12394 (tabulated-list-use-header-line, tabulated-list-entries)
12395 (tabulated-list-padding, tabulated-list-printer)
12396 (tabulated-list-sort-key): Declare with `defvar-local'.
12397 (tabulated-list-init-header, tabulated-list-print-fake-header):
12400 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12402 * arc-mode.el (archive-mode): Add `archive-write-file' to
12403 `write-contents-functions' also for remote files. (Bug#14652)
12405 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12407 * cus-edit.el (custom-commands): Fix typos.
12408 (custom-display): Fix tooltip text.
12409 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12410 Fix typos in docstrings.
12411 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12412 (custom-unlispify-menu-entry, custom-magic-value-create)
12413 (custom-add-see-also, custom-group-value-create): Use ?\s.
12414 (custom-guess-type, customize-apropos, editable-field)
12415 (custom-face-value-create): Use `string-match-p'.
12416 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12418 * custom.el (custom-load-symbol): Use `string-match-p'.
12420 * ansi-color.el: Convert to lexical binding.
12421 (ansi-colors): Fix URL.
12422 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12423 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12424 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12426 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12428 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12430 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12432 2013-06-19 Tom Tromey <tromey@redhat.com>
12434 * net/eww.el (eww-top-url): Remove.
12435 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12436 (eww-render): Set new variables. Don't set eww-top-url.
12437 (eww-handle-link): Handle "prev", "home", and "contents".
12438 Downcase the rel text.
12439 (eww-top-url): Choose best top URL.
12441 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12443 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12444 relying in widget.el. Using widget.el leads to too many
12445 user interface inconsistencies.
12446 (eww-self-insert): Implement entering commands in text fields.
12447 (eww-process-text-input): New function to make text input field editing
12449 (eww-submit): Rewrite to use the new-style form methods.
12450 (eww-select-display): Display the correct selected item.
12451 (eww-change-select): Implement changing the select value.
12452 (eww-toggle-checkbox): Implement radio/checkboxes.
12453 (eww-update-field): Fix compilation error.
12454 (eww-tag-textarea): Implement <textarea>.
12456 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12457 we don't shadow mode-specific bindings.
12459 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12462 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12464 2013-06-19 Glenn Morris <rgm@gnu.org>
12466 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12468 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12470 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12473 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12475 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12477 * net/browse-url.el (browse-url-browser-function):
12478 `eww-browse-url' has the right calling signature, `eww' does not.
12480 2013-06-19 Glenn Morris <rgm@gnu.org>
12482 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12483 Only eval autoloaded macros.
12484 (byte-compile-autoload): Only give the macro warning for macros.
12486 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12487 (ps-underlined-faces): Declare.
12489 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12490 (speedbar-add-supported-extension): Declare.
12492 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12493 Don't include a date stamp in the header of the generated file;
12494 it leads to needless differences between output files.
12496 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12498 * net/secrets.el (secrets-struct-secret-content-type):
12499 Replace check of introspection data by a test call of "CreateItem".
12500 Some servers do not offer introspection.
12502 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12504 * electric.el (electric-pair-mode): Improve interaction with
12505 electric-layout-mode.
12506 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12507 (electric-pair-syntax): Use text-mode-syntax-table in comments
12509 (electric-pair--insert): New function.
12510 (electric-pair-post-self-insert-function): Use it and
12511 electric--after-char-pos.
12513 2013-06-19 Leo Liu <sdl.web@gmail.com>
12515 * progmodes/octave.el (octave-help): Fix regexp.
12517 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12519 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12520 (shr-table-horizontal-line): Allow nil as a value, and change the
12522 (shr-insert-table-ruler): Respect the nil value.
12524 2013-06-18 Tom Tromey <tromey@barimba>
12526 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12528 (eww-open-file): New defun.
12529 (eww-render): Initialize new variables.
12530 (eww-display-html): Handle "link" and "a".
12531 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12532 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12533 (eww-back-url): Rename from eww-previous-url.
12534 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12537 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12539 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12540 Distinguish ternary operator tokens from slash symbol and slash
12543 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12545 Convert symbol prettification into minor mode and global minor mode.
12547 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12548 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12549 (prettify-symbols--keywords): Rename from
12550 `prog-prettify-symbols-alist' and make a local defvar.
12551 (prettify-symbols--compose-symbol): Rename from
12552 `prog--prettify-font-lock-compose-symbol'.
12553 (prettify-symbols--make-keywords): Rename from
12554 `prog-prettify-font-lock-symbols-keywords' and simplify.
12555 (prog-prettify-install): Remove.
12556 (prettify-symbols-mode): New minor mode, based on
12557 `prog-prettify-install'.
12558 (turn-on-prettify-symbols-mode): New function.
12559 (global-prettify-symbols-mode): New globalized minor mode.
12561 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12562 * progmodes/cfengine.el (cfengine3-mode):
12563 * progmodes/perl-mode.el (perl-mode): Don't call
12564 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12566 2013-06-18 Juri Linkov <juri@jurta.org>
12568 * files-x.el (modify-file-local-variable-message): New function.
12569 (modify-file-local-variable)
12570 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12571 and call `modify-file-local-variable-message' when it's non-nil.
12572 (add-file-local-variable, delete-file-local-variable)
12573 (add-file-local-variable-prop-line)
12574 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12575 and use it. (Bug#9820)
12577 2013-06-18 Juri Linkov <juri@jurta.org>
12579 * emulation/vi.el (vi-shell-op):
12580 * emulation/vip.el (vip-execute-com, ex-command):
12581 * emulation/viper-cmd.el (viper-exec-bang):
12582 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12583 the call of `shell-command-on-region'. (Bug#14637)
12585 * simple.el (shell-command-on-region): Doc fix.
12587 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12589 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12592 2013-06-18 Glenn Morris <rgm@gnu.org>
12594 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12596 * newcomment.el (comment-search-forward, comment-search-backward):
12597 Doc fix. (Bug#14376)
12599 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12601 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12602 (buffer-face-mode-invoke): Doc fix.
12604 2013-06-18 Matthias Meulien <orontee@gmail.com>
12606 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12607 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12609 2013-06-18 Glenn Morris <rgm@gnu.org>
12611 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12612 Replace obsolete function generic-make-keywords with its expansion.
12614 * progmodes/python.el (ffap-alist): Declare.
12616 * textmodes/reftex.el (bibtex-mode-map): Declare.
12618 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12620 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12621 (package-unpack, package-unpack-single): Return the pkg-dir.
12622 (package-download-transaction): Use it to update package-alist.
12624 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12626 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12629 2013-06-17 Juri Linkov <juri@jurta.org>
12631 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12633 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12635 * emacs-lisp/package.el (package-load-descriptor):
12636 Remove `with-syntax-table' call, `read' doesn't need it.
12637 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12639 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12641 * startup.el (command-line): Expand package name returned by
12642 `package--description-file' (bug#14639).
12644 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12646 * emacs-lisp/package.el (package-load-descriptor): Do not call
12647 `emacs-lisp-mode', just use its syntax table.
12649 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12651 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12652 `font-lock-extra-managed-props' if any prettifying keyword is added.
12653 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12654 (prog-mode): Use `setq-local'.
12656 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12658 * international/characters.el (standard-case-table): Set syntax of ?»
12659 and ?« to punctuation.
12661 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12663 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12664 Save relevant match data before calling `syntax-ppss' (bug#14595).
12666 2013-06-15 Juri Linkov <juri@jurta.org>
12668 * files-x.el (modify-file-local-variable-prop-line): Add local
12669 variables to the end of the existing comment on the first line.
12670 Use `file-auto-mode-skip' to skip interpreter magic line,
12671 and also skip XML declaration.
12673 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12675 * startup.el (package--builtin-versions): New var.
12676 (package-subdirectory-regexp): Remove.
12677 (package--description-file): Hard code its value instead.
12679 * emacs-lisp/package.el: Don't activate packages older than builtin.
12680 (package-obsolete-list): Rename from package-obsolete-alist, and make
12681 it into a simple list of package-desc.
12682 (package-strip-version): Remove.
12683 (package-built-in-p): Use package--builtin-versions.
12684 (package-mark-obsolete): Simplify.
12685 (package-process-define-package): Mark it obsolete if older than the
12687 (package-handle-response): Use line-end-position.
12688 (package-read-archive-contents, package--download-one-archive):
12690 (package--add-to-archive-contents): Skip if older than the builtin or
12692 (package-menu-describe-package): Fix last change.
12693 (package-list-unversioned): New var.
12694 (package-menu--generate): Use it.
12696 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12697 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12698 (autoload-builtin-package-versions): New variable.
12699 (autoload-generate-file-autoloads): Use them.
12700 Remove the list of autoloaded functions/macros from the
12701 (autoload...) comments.
12703 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12705 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12707 * simple.el (line-move-partial): Don't jump to the next screen
12708 line as soon as it becomes visible. Instead, continue enlarging
12709 the vscroll until the portion of a tall screen line that's left on
12710 display is about the height of the frame's default font.
12713 2013-06-15 Glenn Morris <rgm@gnu.org>
12715 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12716 compilation-error-regexp-alist void, or local while let-bound.
12718 * progmodes/make-mode.el (makefile-mode-syntax-table):
12719 Treat "=" as punctuation. (Bug#14614)
12721 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12723 * help-fns.el (describe-variable):
12724 Add extra line for permanent-local variables.
12726 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12728 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12729 Add export, import, library. (Bug#9164)
12730 (library): Set indent function.
12732 2013-06-14 Glenn Morris <rgm@gnu.org>
12734 * term/xterm.el (xterm--query):
12735 Stop after first matching handler. (Bug#14615)
12737 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12739 Add support for dired in saveplace.
12740 * dired.el (dired-initial-position-hook): New variable.
12741 (dired-initial-position): Call hook to place cursor position.
12742 * saveplace.el (save-place-to-alist): Add dired position.
12743 (save-place-dired-hook): New function.
12745 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12747 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12748 through a symbol rather than letrec.
12750 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12751 (package-desc): Add `dir' field.
12752 (package-desc-full-name): New function.
12753 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12754 (package-maybe-load-descriptor): Remove.
12755 (package-load-all-descriptors): Just call package-load-descriptor.
12756 (package--disabled-p): New function.
12757 (package-desc-vers, package-desc-doc): Remove aliases.
12758 (package--dir): Remove function.
12759 (package-activate): Check if a package is disabled.
12760 (package-process-define-package): New function, extracted from
12762 (define-package): Turn into a place holder.
12763 (package-unpack-single, package-tar-file-info):
12764 Use package--description-file.
12765 (package-compute-transaction): Use package--disabled-p.
12766 (package-download-transaction): Don't call
12767 package-maybe-load-descriptor since they're all loaded anyway.
12768 (package-install): Change argument to be a pkg-desc.
12769 (package-delete): Use a single pkg-desc argument.
12770 (describe-package-1): Use package-desc-dir instead of package--dir.
12771 Use package-desc property instead of package-symbol.
12772 (package-install-button-action): Adjust accordingly.
12773 (package--push): Rewrite.
12774 (package-menu--print-info): Adjust accordingly. Change the ID format
12776 (package-menu-describe-package, package-menu-get-status)
12777 (package-menu--find-upgrades, package-menu-mark-upgrades)
12778 (package-menu-execute, package-menu--name-predicate):
12779 Adjust accordingly.
12780 * startup.el (package--description-file): New function.
12781 (command-line): Use it.
12782 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12783 Use package-desc-version.
12785 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12786 (byte-compile-preprocess): Use it.
12787 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12788 can't quite recognize.
12789 (byte-compile-add-to-list): Remove.
12790 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12791 (cconv-closure-convert): Add assertion.
12793 * emacs-lisp/map-ynp.el: Use lexical-binding.
12794 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12795 Factor out some repeated code.
12797 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12799 * subr.el (with-eval-after-load): New macro.
12800 (eval-after-load): Allow form to be a function.
12801 take advantage of lexical-binding.
12802 (do-after-load-evaluation): Use dolist and adjust to new format.
12803 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12805 2013-06-13 Juri Linkov <juri@jurta.org>
12807 * replace.el (perform-replace): Display "symbol " and other search
12808 modes from `isearch-message-prefix' in the *Help* buffer.
12810 * isearch.el (isearch-query-replace): Add " symbol" and other
12811 possible search modes from `isearch-message-prefix' to the prompt.
12812 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12813 when reading a regexp to collect.
12815 2013-06-13 Juri Linkov <juri@jurta.org>
12817 * isearch.el (word-search-regexp): Match whitespace if the search
12818 string begins or ends in whitespace. The LAX arg is applied to
12819 both ends of the search string. Use `regexp-quote' and explicit
12820 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12821 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12822 boundaries are replaced with symbol boundaries, and characters
12823 between symbols match non-word non-symbol syntax. (Bug#14602)
12825 2013-06-13 Juri Linkov <juri@jurta.org>
12827 * isearch.el (isearch-del-char): Don't exceed the length of
12828 `isearch-string' by the prefix arg. (Bug#14563)
12830 2013-06-13 Juri Linkov <juri@jurta.org>
12832 * isearch.el (isearch-yank-word, isearch-yank-line)
12833 (isearch-char-by-name, isearch-quote-char)
12834 (isearch-printing-char, isearch-process-search-char):
12835 Add optional count prefix arg. (Bug#14563)
12837 * international/isearch-x.el
12838 (isearch-process-search-multibyte-characters):
12839 Add optional count prefix arg.
12841 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12843 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12844 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12847 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12849 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12851 2013-06-13 Glenn Morris <rgm@gnu.org>
12853 * startup.el (tty-handle-args):
12854 Don't just discard "--" and anything after. (Bug#14608)
12856 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12858 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12860 Implement changes in Secret Service API. Make it backward compatible.
12861 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12862 (secrets-create-item): Use it. Prefix properties with interface.
12864 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12866 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12867 (term-emulate-terminal): Respect term-suppress-hard-newline.
12869 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12871 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12872 Only remove a `thumb-file' overlay. (Bug#14548)
12874 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12876 * mail/reporter.el (reporter-submit-bug-report):
12877 Handle missing package-name. (Bug#14600)
12879 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12881 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12882 (reftex-citation-prompt, reftex-default-bibliography)
12883 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12884 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12885 (reftex-bib-sort-author, reftex-bib-sort-year)
12886 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12887 (reftex-extract-bib-entries-from-thebibliography)
12888 (reftex-get-bibkey-default, reftex-get-bib-names)
12889 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12890 (reftex-format-bib-entry, reftex-parse-bibitem)
12891 (reftex-format-bibitem, reftex-do-citation)
12892 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12893 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12894 (reftex-insert-bib-matches, reftex-format-citation)
12895 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12896 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12897 existing comments into docstrings.
12899 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12901 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12903 2013-06-12 Andreas Schwab <schwab@suse.de>
12905 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12906 for auto-save files.
12908 2013-06-12 Glenn Morris <rgm@gnu.org>
12910 * ido.el (ido-delete-ignored-files): Remove.
12911 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12912 Go back to calling ido-ignore-item-p directly.
12914 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12916 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12918 * ido.el (ido-delete-ignored-files): New function,
12919 split from ido-make-file-list-1.
12920 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12921 (ido-make-file-list-1): Use ido-delete-ignored-files.
12923 2013-06-12 Leo Liu <sdl.web@gmail.com>
12925 * progmodes/octave.el (inferior-octave-startup)
12926 (inferior-octave-completion-table)
12927 (inferior-octave-track-window-width-change)
12928 (octave-eldoc-function-signatures, octave-help)
12929 (octave-find-definition): Use single quoted strings.
12930 (inferior-octave-startup-args): Change default value.
12931 (inferior-octave-startup): Do not hard code "-i" and
12932 "--no-line-editing".
12933 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12934 (inferior-octave-directory-tracker): Use it.
12935 (octave-goto-function-definition): Robustify.
12936 (octave-help): Support highlighting operators in 'See also'.
12937 (octave-find-definition): Find subfunctions only in Octave mode.
12939 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12941 * help-fns.el (help-fns--compiler-macro): If the handler function is
12942 named, then put a link to it.
12943 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12944 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12945 (cl-typep): Use it.
12946 (cl-eval-when): Simplify debug spec.
12947 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12948 compiler-macro function instead of setting `compiler-macro-file'.
12950 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12952 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12953 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12955 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12956 Daniel Hackney <dan@haxney.org>
12958 First part of Daniel Hackney's patch to package.el.
12959 * emacs-lisp/package.el: Use defstruct.
12960 (package-desc): New, main struct.
12961 (package--bi-desc, package--ac-desc): New structs, used to describe the
12962 format in external files.
12963 (package-desc-vers): Replace with package-desc-version accessor.
12964 (package-desc-doc): Replace with package-desc-summary accessor.
12965 (package-activate-1): Remove `package' arg since the pkg-vec now
12967 (define-package): Use package-desc-from-define.
12968 (package-unpack-single): Change file-name arg to be a symbol.
12969 (package--add-to-archive-contents): Use package-desc-create and new
12970 accessor functions to package--ac-desc.
12971 (package-buffer-info, package-tar-file-info): Return a package-desc.
12972 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12973 arg to be a package-desc.
12974 (package-install-file): Adjust accordingly. Use \' to match EOS.
12975 (package--from-builtin): New function.
12976 (describe-package-1, package-menu--generate): Use it.
12977 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12978 (package-generate-autoloads): Idem and return the name of the file.
12979 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12980 Change pkg-info arg to be a package-desc.
12981 Use package-make-ac-desc.
12982 (package-upload-file): Use \' to match EOS.
12983 * finder.el (finder-compile-keywords): Use package-make-builtin.
12985 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12987 * vc/vc.el (vc-deduce-fileset): Change error message.
12988 (vc-read-backend): New function.
12989 (vc-next-action): Use it.
12991 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12993 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12994 (prolog-font-lock-keywords): Use regexp-opt instead.
12995 Don't manually highlight strings.
12996 (prolog-mode-variables): Simplify comment-start-skip.
12997 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12999 * emacs-lisp/generic.el (generic--normalise-comments)
13000 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13001 (generic-mode-set-comments): Use them.
13002 (generic-bracket-support): Use setq-local.
13003 (generic-make-keywords-list): Declare obsolete.
13005 2013-06-11 Glenn Morris <rgm@gnu.org>
13007 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13008 Prettify after setting font-lock-defaults. (Bug#14574)
13010 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13012 * replace.el (query-replace, occur-read-regexp-defaults-function)
13014 * subr.el (declare-function, number-sequence, local-set-key)
13015 (substitute-key-definition, locate-user-emacs-file)
13016 (with-silent-modifications, split-string, eval-after-load):
13017 Fix typos, remove unneeded backslashes and reflow some docstrings.
13019 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13021 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13022 default for Elisp files.
13024 2013-06-11 Glenn Morris <rgm@gnu.org>
13026 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13027 although define-derived-mode was doing this anyway. (Bug#14583)
13029 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13031 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13032 Fix make-variable-buffer-local call to refer to the correct variable.
13034 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13036 * eshell/em-term.el (eshell-visual-commands)
13037 (eshell-visual-subcommands, eshell-visual-options):
13038 Add summary line to docstrings. Add cross-references.
13040 2013-06-10 Glenn Morris <rgm@gnu.org>
13042 * epa.el (epa-read-file-name): New function. (Bug#14510)
13043 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13045 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13047 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13048 output redirection to be ignored with visual commands.
13050 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13052 * eshell/em-term.el (eshell-visual-command-p): New function.
13053 (eshell-term-initialize): Move long lambda to separate function
13054 eshell-visual-command-p.
13055 * eshell/em-dirs.el (eshell-dirs-initialize):
13056 * eshell/em-script.el (eshell-script-initialize):
13057 Add missing #' to lambda.
13059 2013-06-08 Leo Liu <sdl.web@gmail.com>
13061 * progmodes/octave.el (octave-add-log-current-defun): New function.
13062 (octave-mode): Set add-log-current-defun-function.
13063 (octave-goto-function-definition): Do not move point if not found.
13064 (octave-find-definition): Enhance to try subfunctions first.
13066 2013-06-08 Glenn Morris <rgm@gnu.org>
13068 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13069 (byte-compile-backward-char, byte-compile-backward-word):
13070 Improve previous change, to handle non-explicit nil.
13072 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13074 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13075 (smie--opener/closer-at-point): New function.
13076 (smie--matching-block-data): Use it. Don't match from right after an
13077 opener or right before a closer. Obey smie-blink-matching-inners.
13078 Don't signal a mismatch for repeated inners like "switch..case..case".
13080 2013-06-07 Leo Liu <sdl.web@gmail.com>
13082 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13084 (octave-function-header-regexp): Fix. (Bug#14570)
13085 (octave-help-mode-finish-hook, octave-help-mode-finish):
13086 Remove. Just use temp-buffer-show-hook.
13088 * newcomment.el (comment-search-backward): Revert last change.
13091 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13093 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13095 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13096 through xargs, to avoid failure due to MS-Windows limitations on
13097 command-line length.
13099 2013-06-06 Glenn Morris <rgm@gnu.org>
13101 * font-lock.el (lisp-font-lock-keywords-2):
13102 Treat user-error like error.
13104 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13105 (byte-compile-backward-char, byte-compile-backward-word):
13106 Handle explicit nil arguments. (Bug#14565)
13108 2013-06-05 Alan Mackenzie <acm@muc.de>
13110 * isearch.el (isearch-allow-prefix): New user option.
13111 (isearch-other-meta-char): Don't exit isearch when a prefix
13112 argument is typed whilst `isearch-allow-prefix' is non-nil.
13115 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13117 * autorevert.el (auto-revert-notify-handler): Use memq.
13118 Hide assertion failure.
13120 * skeleton.el: Use cl-lib.
13121 (skeleton-further-elements): Use defvar-local.
13122 (skeleton-insert): Use cl-progv.
13124 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13126 * progmodes/prog-mode.el (prog-prettify-symbols)
13127 (prog-prettify-install): Update docstrings.
13129 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13131 * simple.el: Move all the prog-mode code to prog-mode.el.
13132 * progmodes/prog-mode.el: New file.
13133 * loadup.el: Add prog-mode.el.
13135 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13137 * simple.el (prog-prettify-symbols): Add version.
13138 (prog-prettify-install): Add convenience function to prettify symbols.
13140 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13141 (perl--augmented-font-lock-keywords-1)
13142 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13143 variables and use it.
13145 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13146 (cfengine3-mode): Remove unneeded variable and use it.
13148 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13149 (lisp--augmented-font-lock-keywords-1)
13150 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13151 Remove unneeded variables and use it.
13153 2013-06-05 João Távora <joaotavora@gmail.com>
13155 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13156 to point when opening the connection. (Bug#14380)
13158 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13160 * subr.el (load-history-regexp, load-history-filename-element)
13161 (eval-after-load, after-load-functions, do-after-load-evaluation)
13162 (eval-next-after-load, display-delayed-warnings)
13163 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13164 definition of save-match-data.
13165 (overriding-local-map): Remove accidental obsolescence declaration.
13167 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13169 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13171 Generalize symbol prettify support to prog-mode and implement it
13172 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13173 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13174 (prog--prettify-font-lock-compose-symbol)
13175 (prog-prettify-font-lock-symbols-keywords): New variables and
13176 functions to support symbol prettification.
13177 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13178 (lisp--augmented-font-lock-keywords-1)
13179 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13180 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13181 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13182 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13183 Implement prettify of -> => :: strings.
13184 * progmodes/perl-mode.el (perl-prettify-symbols)
13185 (perl--font-lock-compose-symbol)
13186 (perl--font-lock-symbols-keywords): Move to prog-mode.
13187 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13188 (perl-font-lock-keywords-1)
13189 (perl-font-lock-keywords-2): Remove explicit prettify support.
13190 (perl--augmented-font-lock-keywords)
13191 (perl--augmented-font-lock-keywords-1)
13192 (perl--augmented-font-lock-keywords-2, perl-mode):
13193 Implement prettify support.
13195 2013-06-05 Leo Liu <sdl.web@gmail.com>
13197 Re-implement SMIE matching block highlight using
13198 show-paren-data-function. (Bug#14395)
13199 * emacs-lisp/smie.el (smie-matching-block-highlight)
13200 (smie--highlight-matching-block-overlay)
13201 (smie--highlight-matching-block-lastpos)
13202 (smie-highlight-matching-block)
13203 (smie-highlight-matching-block-mode): Remove.
13204 (smie--matching-block-data-cache): New variable.
13205 (smie--matching-block-data): New function.
13206 (smie-setup): Use smie--matching-block-data for
13207 show-paren-data-function.
13209 * progmodes/octave.el (octave-mode-menu): Fix.
13210 (octave-find-definition): Skip garbage lines.
13212 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13214 Fix compilation error with simultaneous dynamic+lexical scoping.
13215 Add warning when a defvar appears after the first let-binding.
13216 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13217 (byte-compile-close-variables): Initialize it.
13218 (byte-compile--declare-var): New function.
13219 (byte-compile-file-form-defvar)
13220 (byte-compile-file-form-define-abbrev-table)
13221 (byte-compile-file-form-custom-declare-variable): Use it.
13222 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13223 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13224 (byte-compile-bind): Handle dynamic bindings that shadow
13226 (byte-compile-unbind): Make arg non-optional.
13227 (byte-compile-let): Simplify.
13228 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13229 (cconv--analyse-function, cconv-analyse-form): Populate it.
13230 Protect byte-compile-bound-variables to limit the scope of defvars.
13231 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13232 Remove unneeded rule for `declare'.
13234 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13235 so as to avoid depending on cl-adjoin at run-time.
13236 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13238 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13239 (macroexp--warn-and-return): Use it.
13241 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13243 * subr.el: Convert to lexical binding.
13244 (overriding-local-map): Make obsolete.
13245 (add-to-list): Doc fix. Add compiler macro.
13246 (read-key): Swap values of local maps.
13248 2013-06-05 Leo Liu <sdl.web@gmail.com>
13250 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13252 2013-06-04 Leo Liu <sdl.web@gmail.com>
13254 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13255 (compilation-auto-jump): Suppress the "Mark set" message to give
13256 way to exit message.
13258 2013-06-04 Alan Mackenzie <acm@muc.de>
13260 Remove faulty optimisation from indentation calculation.
13261 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13262 search limit based on 2000 characters back from indent-point.
13264 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13266 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13268 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13270 * emacs-lisp/lisp.el: Use lexical-binding.
13271 (lisp--local-variables-1, lisp--local-variables): New functions.
13272 (lisp--local-variables-completion-table): New var.
13273 (lisp-completion-at-point): Use it complete let-bound vars.
13275 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13276 eagerly (bug#14422).
13278 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13280 * autorevert.el (auto-revert-notify-enabled)
13281 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13282 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13283 (auto-revert-notify-handler): Handle also gfilenotify.
13285 * subr.el (file-notify-handle-event): New defun. Replacing ...
13286 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13289 2013-06-03 Juri Linkov <juri@jurta.org>
13291 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13292 `M-s h .'. (Bug#14427)
13294 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13295 command `hi-lock-face-symbol-at-point'.
13296 (hi-lock-face-symbol-at-point): New command.
13297 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13298 (hi-lock-menu): Add `highlight-symbol-at-point'.
13299 (hi-lock-mode): Doc fix.
13301 * isearch.el (isearch-forward-symbol-at-point): New command.
13302 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13303 (isearch-highlight-regexp): Add a regexp which matches
13304 words/symbols for word/symbol mode.
13306 * subr.el (find-tag-default-bounds): New function with the body
13307 mostly moved from `find-tag-default'.
13308 (find-tag-default): Move most code to `find-tag-default-bounds',
13309 call it and apply `buffer-substring-no-properties' afterwards.
13311 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13313 * eshell/em-term.el (eshell-term-initialize):
13314 Use `cl-intersection' rather than `intersection'.
13316 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13318 * vc/log-view.el: Doc fix.
13319 (log-view-mode-map): Copy keymap from `special-mode-map'.
13321 2013-06-02 Eric Ludlam <zappo@gnu.org>
13323 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13324 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13325 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13326 (eieio-unbound, eieio-default-superclass)
13327 (eieio--define-field-accessors, method-static, method-before)
13328 (method-primary, method-after, method-num-lists)
13329 (method-generic-before, method-generic-primary)
13330 (method-generic-after, method-num-slots)
13331 (eieio-specialized-key-to-generic-key)
13332 (eieio--check-type, class-v, class-p)
13333 (eieio-class-name, define-obsolete-function-alias)
13334 (eieio-class-parents-fast, eieio-class-children-fast)
13335 (same-class-fast-p, class-constructor, generic-p)
13336 (generic-primary-only-p, generic-primary-only-one-p)
13337 (class-option-assoc, class-option, eieio-object-p)
13338 (class-abstract-p, class-method-invocation-order)
13339 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13340 (eieio-class-un-autoload, eieio-defclass)
13341 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13342 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13343 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13344 (eieio-defgeneric-reset-generic-form)
13345 (eieio-defgeneric-form-primary-only)
13346 (eieio-defgeneric-reset-generic-form-primary-only)
13347 (eieio-defgeneric-form-primary-only-one)
13348 (eieio-defgeneric-reset-generic-form-primary-only-one)
13349 (eieio-unbind-method-implementations)
13350 (eieio--defmethod, eieio--typep)
13351 (eieio-perform-slot-validation, eieio-validate-slot-value)
13352 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13353 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13354 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13355 (eieio-slot-name-index, eieio-class-slot-name-index)
13356 (eieio-set-defaults, eieio-initarg-to-attribute)
13357 (eieio-attribute-to-initarg, eieio-c3-candidate)
13358 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13359 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13360 (eieio-class-precedence-list, eieio-generic-call-methodname)
13361 (eieio-generic-call-arglst, eieio-generic-call-key)
13362 (eieio-generic-call-next-method-list)
13363 (eieio-pre-method-execution-functions, eieio-generic-call)
13364 (eieio-generic-call-primary-only, eieiomt-method-list)
13365 (eieiomt-optimizing-obarray, eieiomt-install)
13366 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13367 (eieio-generic-form, eieio-defmethod, make-obsolete)
13368 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13369 (defclass): Remove `eval-and-compile' from macro.
13370 (call-next-method, shared-initialize): Instead of using
13371 `scoped-class' variable, use new eieio--scoped-class, and
13372 eieio--with-scoped-class.
13373 (initialize-instance): Rename local variable 'scoped-class' to
13374 'this-class' to remove ambiguitity from old global.
13376 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13378 (eieio--scoped-class-stack): New variable.
13379 (eieio--scoped-class): New fcn.
13380 (eieio--with-scoped-class): New scoping macro.
13381 (eieio-defclass): Use pushnew instead of add-to-list.
13382 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13383 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13384 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13385 `scoped-class' variable, use new eieio--scoped-class, and
13386 eieio--with-scoped-class.
13388 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13390 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13392 * eshell/esh-ext.el (eshell-external-command): Pass args to
13393 `eshell-find-interpreter'.
13394 (eshell-find-interpreter): Add new second parameter ARGS.
13396 * eshell/em-script.el (eshell-script-initialize): Add second arg
13397 to the function added as MATCH to `eshell-interpreter-alist'.
13399 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13400 the function added as MATCH to `eshell-interpreter-alist'.
13402 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13403 (eshell-visual-options): New defcustom.
13404 (eshell-escape-control-x): Adapt docstring.
13405 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13406 `eshell-visual-options' in addition to `eshell-visual-commands'.
13407 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13409 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13411 * progmodes/python.el (python-indent-block-enders): Add break,
13412 continue and raise keywords.
13414 2013-06-01 Glenn Morris <rgm@gnu.org>
13416 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13418 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13419 * progmodes/cc-cmds.el (delete-forward-p):
13420 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13421 * progmodes/cc-engine.el (buffer-syntactic-context):
13422 * progmodes/cc-fonts.el (face-property-instance):
13423 * progmodes/cc-mode.el (set-keymap-parents):
13424 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13425 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13426 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13427 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13428 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13430 * progmodes/cc-vars.el (other): Emacs has this widget since
13431 at least 21.1, so don't (re)define it.
13433 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13434 Replace the obsolete alias pcomplete-arg-quote-list.
13436 2013-06-01 Leo Liu <sdl.web@gmail.com>
13438 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13439 punctuation syntax.
13440 (inferior-octave-minimal-columns)
13441 (inferior-octave-last-column-width): New variables.
13442 (inferior-octave-track-window-width-change): New function.
13443 (inferior-octave-mode): Adjust column width so that Octave output,
13444 for example from 'ls', can fit into the window nicely.
13446 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13448 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13449 Highlight expansions inside regexp literals.
13451 2013-05-31 Glenn Morris <rgm@gnu.org>
13453 * obsolete/sym-comp.el (symbol-complete):
13454 Replace obsolete completion-annotate-function.
13456 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13458 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13460 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13461 New function, checks if point is inside a literal that allows
13462 expression expansion.
13463 (ruby-syntax-propertize-expansion): Use it.
13464 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13467 2013-05-30 Juri Linkov <juri@jurta.org>
13469 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13471 (isearch-invisible): New variable.
13472 (isearch-forward): Doc fix.
13473 (isearch-mode): Set `isearch-invisible'
13474 to the value of `search-invisible'.
13475 (isearch-toggle-case-fold): Doc fix.
13476 (isearch-toggle-invisible): New command.
13477 (isearch-query-replace): Let-bind `search-invisible'
13478 to the value of `isearch-invisible'.
13479 (isearch-search): Use `isearch-invisible' instead of
13480 `search-invisible'. Let-bind `search-invisible'
13481 to the value of `isearch-invisible'. (Bug#11378)
13483 2013-05-30 Juri Linkov <juri@jurta.org>
13485 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13486 call when `query-flag' is nil and `search-invisible' is non-nil.
13489 2013-05-30 Glenn Morris <rgm@gnu.org>
13491 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13493 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13494 (cc-require): Suppress spurious "noruntime" warnings.
13495 (cc-require-when-compile): Use fboundp, for sake of compiler.
13497 * progmodes/cc-mode.el: Move load of cc-vars before that of
13498 cc-langs (which in turn loads cc-vars), to quieten compiler.
13500 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13502 * paren.el: Simplify the code.
13503 (show-paren-mode): Always start the timer.
13504 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13505 (show-paren--overlay, show-paren--overlay-1): Rename from
13506 show-paren-overlay and show-paren-overlay-1, and initialize to an
13507 overlay rather than to nil.
13508 (show-paren-function): Misc cleanup and simplifications.
13510 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13512 * paren.el (show-paren-data-function): New hook.
13513 (show-paren--default): New function, extracted from show-paren-function.
13514 (show-paren-function): Use show-paren-data-function.
13516 2013-05-30 Glenn Morris <rgm@gnu.org>
13518 * ielm.el (ielm-map, ielm-complete-symbol):
13519 Use completion-at-point rather than obsolete functions.
13520 (inferior-emacs-lisp-mode): Doc fix.
13521 Set completion-at-point-functions, rather than
13522 comint-dynamic-complete-functions.
13524 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13525 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13526 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13528 * image.el (image-animated-p): Tweak definition.
13530 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13531 (rlogin-process-connection-type): Tweak default. Add set-after.
13532 (rlogin-host): Doc fix.
13533 (rlogin): Tweak prompt.
13534 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13536 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13537 * progmodes/tcl.el (inferior-tcl-mode-map):
13538 Use completion-at-point rather than obsolete alias.
13540 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13542 * minibuffer.el (read-file-name-completion-ignore-case):
13543 Move before completion--in-region, for eager macro expansion.
13545 2013-05-29 Juri Linkov <juri@jurta.org>
13547 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13548 for total count of matching lines. Add `global-matches' for total
13549 count of matches. Rename `matches' to `lines' for count of
13550 matching lines. Add `matches' for count of matches.
13551 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13552 to `prev-line' for line number of prev match endpt.
13553 Increment `matches' for every match. Print the number of
13554 matching lines in the header.
13555 (occur-context-lines): Rename `lines' to `curr-line'.
13556 Rename `prev-lines' to `prev-line'. (Bug#14017)
13558 2013-05-29 Juri Linkov <juri@jurta.org>
13560 * replace.el (perform-replace): Add `skip-read-only-count',
13561 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13562 Increment them for corresponding conditions and report the number
13563 of skipped occurrences in the final message. (Bug#11746)
13564 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13565 (replace-string, replace-regexp): Doc fix.
13567 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13569 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13571 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13572 prog-mode-map (bug#14504).
13574 2013-05-29 Leo Liu <sdl.web@gmail.com>
13576 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13577 (octave-help): Small simplification.
13579 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13580 off the highlight first.
13582 2013-05-29 Glenn Morris <rgm@gnu.org>
13584 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13585 Handle idlwave-last-system-routine-info-cons-cell being nil.
13587 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13588 (idlwave-write-paths): Simplify via with-temp-buffer.
13590 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13591 * emulation/cua-rect.el: Also load cua-base at run time.
13593 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13594 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13595 (cperl-imenu-on-info): Require imenu.
13597 2013-05-28 Alan Mackenzie <acm@muc.de>
13599 Handle "capitalised keywords" correctly.
13600 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13602 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13604 * eshell/em-unix.el: Add -r option to cp.
13606 2013-05-28 Glenn Morris <rgm@gnu.org>
13608 * vc/vc-arch.el (vc-exec-after): Declare.
13609 (vc-switches): Autoload.
13610 * vc/vc-bzr.el: No need to require vc when compiling.
13611 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13612 (vc-resynch-buffer, vc-dir-refresh): Declare.
13613 (vc-setup-buffer, vc-switches): Autoload.
13614 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13615 (vc-resynch-buffer): Declare.
13616 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13617 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13618 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13619 (grep-read-regexp, grep-read-files, grep-expand-template)
13620 (vc-dir-refresh): Declare.
13621 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13622 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13623 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13624 * vc/vc-mtn.el (vc-exec-after): Declare.
13625 (vc-switches): Autoload.
13626 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13627 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13628 (vc-file-tree-walk): Declare.
13629 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13630 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13631 (vc-tag-precondition, vc-rename-master): Autoload.
13632 * vc/vc-svn.el (vc-exec-after): Declare.
13633 (vc-switches, vc-setup-buffer): Autoload.
13634 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13636 (vc-resynch-buffer): Declare.
13638 * obsolete/fast-lock.el (byte-compile-warnings):
13639 Don't warn about obsolete features in this obsolete file.
13641 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13642 Move definition before use.
13644 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13645 (dun-unix-verbs): Remove dun-zippy.
13646 (dun-zippy): Remove function.
13648 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13650 2013-05-27 Juri Linkov <juri@jurta.org>
13652 * replace.el (replace-search): New function with code moved out
13653 from `perform-replace'.
13654 (replace-highlight, replace-dehighlight): Move function definitions
13655 up closer to `replace-search'. (Bug#11746)
13657 2013-05-27 Juri Linkov <juri@jurta.org>
13659 * replace.el (perform-replace): Ignore invisible matches.
13660 In addition to checking `query-replace-skip-read-only', also
13661 filter out matches by calling `run-hook-with-args-until-failure'
13662 on `isearch-filter-predicates', and also check `search-invisible'
13663 for t or call `isearch-range-invisible'.
13664 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13666 2013-05-27 Juri Linkov <juri@jurta.org>
13668 * isearch.el (isearch-filter-predicates): Rename from
13669 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13670 (isearch-message-prefix): Display text from the property
13671 `isearch-message-prefix' of the currently active filters.
13672 (isearch-search): Don't compare `isearch-filter-predicate' with
13673 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13674 on `isearch-filter-predicates'. Also check `search-invisible' for t
13675 or call `isearch-range-invisible'.
13676 (isearch-filter-visible): Make obsolete.
13677 (isearch-lazy-highlight-search):
13678 Call `run-hook-with-args-until-failure' on
13679 `isearch-filter-predicates' and use `isearch-range-invisible'.
13681 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13682 `isearch-filter-predicates' instead of `funcall'ing
13683 `isearch-filter-predicate'.
13684 (Info-mode): Set `Info-isearch-filter' to
13685 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13687 * dired-aux.el (dired-isearch-filter-predicate-orig):
13689 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13690 (dired-isearch-filenames-end): Add and remove
13691 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13692 instead of changing the value of `isearch-filter-predicate'.
13693 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13694 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13695 Put property `isearch-message-prefix' to "filename " on
13696 `dired-isearch-filter-filenames'.
13698 * wdired.el (wdired-change-to-wdired-mode):
13699 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13700 locally instead of changing `isearch-filter-predicate'.
13701 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13703 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13705 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13706 return the commit hash (Bug#14459). Also set the
13707 `vc-git-detached' property.
13708 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13709 (vc-git-mode-line-string): Use the same help-echo format whether
13710 in detached mode or not, because we know the actual revision now.
13711 When in detached mode, shorten the revision to 7 chars.
13713 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13715 * emacs-lisp/easy-mmode.el (define-minor-mode):
13716 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13717 mode hook and provide a docstring.
13719 2013-05-27 Alan Mackenzie <acm@muc.de>
13721 Remove spurious syntax-table text properties inserted by C-y.
13722 * progmodes/cc-mode.el (c-after-change): Also clear hard
13723 syntax-table property with value nil.
13725 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13727 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13728 when reading the events; the buffer layout shall not be changed.
13730 2013-05-27 Leo Liu <sdl.web@gmail.com>
13732 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13734 (inferior-octave-directory-tracker): Automatically re-sync
13736 (octave-help): Improve handling of 'See also'.
13738 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13740 * doc-view.el: Minor naming convention tweaks.
13741 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13743 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13744 even if there's no `display' property yet (bug#14435).
13746 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13748 * subr.el (unmsys--file-name): Rename from reveal-filename.
13750 * Makefile.in (custom-deps, finder-data, autoloads)
13751 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13752 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13753 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13755 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13757 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13758 error-completion on the first 2 args of condition-case (bug#14446).
13761 2013-05-25 Leo Liu <sdl.web@gmail.com>
13763 * comint.el (comint-previous-matching-input): Do not flood the
13764 *Messages* buffer with trivial messages.
13766 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13768 * progmodes/flymake.el (flymake-nop): Don't return a string.
13769 (flymake-set-at): Fix typo.
13771 * simple.el (read--expression): New function, extracted from
13772 eval-expression. Set completion-at-point-functions (bug#14465).
13773 (eval-expression, eval-minibuffer): Use it.
13775 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13777 * progmodes/flymake.el (flymake-save-buffer-in-file)
13778 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13779 (flymake-selected-frame, flymake-log, flymake-ins-after)
13780 (flymake-set-at, flymake-get-buildfile-from-cache)
13781 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13782 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13783 Refine the doc string.
13784 (flymake-get-file-name-mode-and-masks): Reformat.
13785 (flymake-get-real-file-name-function): Fix a minor bug.
13787 2013-05-24 Juri Linkov <juri@jurta.org>
13789 * progmodes/grep.el (grep-mode-font-lock-keywords):
13790 Support =linenumber= format used by git-grep for lines with
13791 function names. (Bug#13549)
13793 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13795 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13796 0 after a semi-colon; it works better for smie-auto-fill.
13797 (octave--indent-new-comment-line): New function.
13798 (octave-indent-new-comment-line): Use it (indirectly).
13799 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13800 modify comment-line-break-function.
13802 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13803 (smie-setup): Use add-function to set it.
13805 2013-05-24 Sam Steingold <sds@gnu.org>
13807 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13808 argument (before the `interactive' argument).
13810 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13812 * image-mode.el (image-mode-winprops): Add winprops to
13813 image-mode-winprops-alist before running
13814 image-mode-new-window-functions.
13815 * doc-view.el (doc-view-new-window-function): Don't delay
13816 doc-view-goto-page via timers (bug#14435).
13818 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13820 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13821 (doc-view-desktop-save-buffer): New function.
13822 (doc-view-restore-desktop-buffer): New function.
13823 (desktop-buffer-mode-handlers):
13824 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13826 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13827 `desktop-save-buffer' function.
13829 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13831 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13832 (tramp-gvfs-file-name-handler): Raise a user error when
13833 `tramp-gvfs-enabled' is nil.
13834 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13835 Do not raise a user error when loading package. (Bug#14447)
13837 * net/xesam.el: Move to obsolete/.
13839 2013-05-24 Glenn Morris <rgm@gnu.org>
13841 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13843 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13845 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13846 (Info-find-node, Man-getpage-in-background): Declare.
13848 * mail/unrmail.el (unrmail):
13849 Replace obsolete detect-coding-with-priority.
13851 * net/socks.el (socks-split-string): Use this rather than split-string.
13852 (socks-nslookup-host): Update for above change.
13853 (dynamic-choice, s5-dynamic-choice-match)
13854 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13855 Comment out unused code.
13857 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13858 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13859 (gud-tooltip-echo-area): Make obsolete.
13860 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13862 * progmodes/js.el (js--optimize-arglist): Declare.
13864 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13866 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13867 (ediff-window-C): Declare.
13869 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13870 Tweak requires to silence compiler.
13872 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13873 (he-search-string, he-tried-table, he-expand-list)
13874 (he-init-string, he-string-member, he-substitute-string)
13875 (he-reset-string): Declare.
13877 * obsolete/options.el (list-options): Use custom-variable-p,
13878 rather than obsolete alias.
13880 2013-05-23 Sam Steingold <sds@gnu.org>
13882 * simple.el (shell-command-on-region): Pass the `replace' argument
13883 down to `call-process-region' to comply with the doc as reported on
13884 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13886 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13888 * emacs-lisp/smie.el (smie-indent-forward-token)
13889 (smie-indent-backward-token): Handle string tokens (bug#14381).
13891 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13893 * ielm.el (ielm-menu): New menu.
13894 (inferior-emacs-lisp-mode): Set comment-start.
13896 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13898 * textmodes/reftex.el (reftex-ref-style-toggle):
13899 Fix deactivate action.
13901 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13902 Add cleveref macros.
13904 * textmodes/reftex-parse.el
13905 (reftex-locate-bibliography-files): Accept options for
13906 bibliography commands.
13907 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13908 Add addbibresource. Basic Biblatex support.
13910 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13912 * net/tramp-gvfs.el (top):
13913 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13914 when loading package. (Bug#14447)
13916 2013-05-23 Glenn Morris <rgm@gnu.org>
13918 * progmodes/js.el: No need to load comint when compiling.
13919 (ring-insert, comint-send-string, comint-send-input)
13920 (comint-last-input-end, ido-chop): Declare.
13922 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13923 * vc/ediff-mult.el: Adjust requires.
13924 (ediff-directories-internal, ediff-directory-revisions-internal)
13925 (ediff-patch-file-internal): Declare.
13926 * vc/ediff-ptch.el: Adjust requires.
13927 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13928 (ediff-find-file): Autoload.
13929 * vc/ediff-util.el: No need to load ediff when compiling.
13930 (ediff-regions-internal): Declare.
13931 * vc/ediff-wind.el: Adjust requires.
13932 (ediff-compute-toolbar-width): Define when compiling.
13933 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13934 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13935 (dired-get-filename, dired-get-marked-files)
13936 (ediff-last-dir-patch, ediff-patch-default-directory)
13937 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13938 (ediff-patch-buffer-internal): Declare.
13940 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13941 (ispell-process, ispell-buffer-local-words, lm-summary)
13942 (lm-section-start, lm-section-end): Declare.
13943 (checkdoc-ispell-init): Simplify.
13945 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13946 (he-string-member, he-reset-string, he-substitute-string): Declare.
13948 * eshell/em-ls.el: Adjust requires.
13949 (eshell-glob-regexp): Declare.
13950 * eshell/em-tramp.el: Adjust requires.
13951 (eshell-parse-command): Autoload.
13952 * eshell/em-xtra.el: Adjust requires.
13953 (eshell-parse-command): Autoload.
13954 * eshell/esh-ext.el: Adjust requires.
13955 (eshell-parse-command, eshell-close-handles): Autoload.
13956 * eshell/esh-io.el: Adjust requires.
13957 (eshell-output-filter): Autoload.
13958 * eshell/esh-util.el: No need to load tramp when compiling.
13959 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13961 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13962 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13963 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13964 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13965 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13966 * eshell/esh-opt.el, eshell/esh-proc.el:
13967 * eshell/esh-var.el: Adjust requires.
13968 * eshell/eshell.el: Do not require esh-util twice.
13969 (eshell-add-input-to-history): Declare.
13970 (eshell-command): Check history module is active before using it.
13972 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13974 2013-05-22 Leo Liu <sdl.web@gmail.com>
13976 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13978 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13980 * autorevert.el (auto-revert-notify-add-watch)
13981 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13982 it indicates changes in file modification time.
13984 2013-05-22 Glenn Morris <rgm@gnu.org>
13986 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13987 Always delete the autoloaded function from the noruntime and
13988 unresolved functions lists.
13990 * allout.el: No need to load epa, epg, overlay when compiling.
13991 (epg-context-set-passphrase-callback, epg-list-keys)
13992 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13993 (epg-key-user-id-list): Declare.
13995 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13996 (viper-set-parsing-style-toggling-macro)
13997 (viper-set-emacs-state-searchstyle-macros):
13998 Use called-interactively-p on Emacs.
13999 (viper-looking-back): Make it an obsolete alias. Update callers.
14000 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14001 Use looking-back rather than viper-looking-back.
14002 (viper-tmp-insert-at-eob, viper-enlarge-region)
14003 (viper-read-string-with-history, viper-register-to-point)
14004 (viper-append-to-register, viper-change-state-to-vi)
14005 (viper-backward-char-carefully, viper-forward-char-carefully)
14006 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14007 (viper-change-state-to-emacs): Declare.
14008 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14009 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14010 * emulation/viper-mous.el: Do not load viper-cmd.
14011 (viper-backward-char-carefully, viper-forward-char-carefully)
14012 (viper-forward-word, viper-adjust-window): Declare.
14014 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14016 * progmodes/idlw-help.el (idlwave-help-fontify):
14017 Use called-interactively-p.
14019 * term/w32console.el (w32-get-console-codepage)
14020 (w32-get-console-output-codepage): Declare.
14022 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14023 Remove unnecessary declarations.
14024 (dframe-message): Doc fix.
14026 * info.el (dframe-select-attached-frame, dframe-current-frame):
14029 * speedbar.el (speedbar-message): Make it an obsolete alias.
14030 Update all callers.
14031 (speedbar-with-attached-buffer)
14032 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14033 (speedbar-with-writable): Use backquote.
14034 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14035 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14036 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14037 rather than speedbar- aliases.
14038 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14039 (speedbar-make-specialized-keymap, speedbar-insert-button)
14040 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14041 (speedbar-do-function-pointer): Declare.
14042 (rmail-speedbar-button, rmail-speedbar-find-file)
14043 (rmail-speedbar-move-message):
14044 Use dframe-with-attached-buffer rather than speedbar- alias.
14045 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14046 (dframe-message, speedbar-make-specialized-keymap)
14047 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14048 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14049 (speedbar-insert-button, dframe-select-attached-frame)
14050 (dframe-maybee-jump-to-attached-frame)
14051 (speedbar-change-initial-expansion-list)
14052 (speedbar-previously-used-expansion-list-name): Declare.
14053 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14054 Use dframe-message, dframe-with-attached-buffer rather than
14056 (gud-sentinel): Silence compiler.
14057 * progmodes/vhdl-mode.el (speedbar-refresh)
14058 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14059 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14060 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14061 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14062 (speedbar-file-lists, speedbar-make-tag-line)
14063 (speedbar-line-directory, speedbar-goto-this-file)
14064 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14065 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14066 (speedbar-make-button, speedbar-reset-scanners)
14067 (speedbar-files-item-info, speedbar-line-text)
14068 (speedbar-find-file-in-frame, speedbar-set-timer)
14069 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14070 (speedbar-with-writable): Do not (re)define it.
14071 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14072 rather than speedbar- alias.
14074 2013-05-21 Leo Liu <sdl.web@gmail.com>
14076 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14078 (octave-mode): Tweak fill-nobreak-predicate.
14079 (inferior-octave-startup): Check process to avoid infinite loop.
14080 (inferior-octave): Pop to buffer first to show abornmal process
14083 2013-05-21 Glenn Morris <rgm@gnu.org>
14085 * printing.el (pr-menu-bar): Define when compiling.
14087 2013-05-21 Leo Liu <sdl.web@gmail.com>
14089 * progmodes/octave.el (octave-auto-fill): Remove.
14090 (octave-indent-new-comment-line): Improve.
14091 (octave-mode): Use auto fill mode through
14092 comment-line-break-function and fill-nobreak-predicate.
14093 (octave-goto-function-definition): Support DEFUN_DLD.
14094 (octave-beginning-of-defun): Small tweak.
14095 (octave-help): Show parent directory.
14097 2013-05-21 Glenn Morris <rgm@gnu.org>
14099 * files.el (dired-unmark):
14100 * progmodes/gud.el (gdb-input): Update declarations.
14102 * calculator.el (electric, ehelp): No need to load when compiling.
14103 (Electric-command-loop, electric-describe-mode): Declare.
14105 * doc-view.el (doc-view-current-converter-processes): Move before use.
14107 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14108 Move MODE-set-explicitly definition before use.
14110 * international/mule-diag.el (mule-diag):
14111 Don't use obsolete window-system-version.
14113 * mail/feedmail.el (smtpmail): No need to load when compiling.
14114 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14116 * mail/mail-utils.el (rfc822): No need to load when compiling.
14117 (rfc822-addresses): Autoload it.
14118 (mail-strip-quoted-names): Trivial simplification.
14120 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14121 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14123 * net/snmp-mode.el (tempo): Don't duplicate requires.
14125 * progmodes/prolog.el (info): No need to load when compiling.
14126 (comint): Require before shell requires it.
14127 (Info-goto-node): Autoload it.
14128 (Info-follow-nearest-node): Declare.
14129 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14131 * textmodes/artist.el (picture-mode-exit): Declare.
14133 * textmodes/reftex-parse.el (reftex-parse-from-file):
14134 Trivial rewrite so the compiler can parse it better.
14136 2013-05-20 Leo Liu <sdl.web@gmail.com>
14138 * progmodes/octave.el (octave-help-mode-map)
14139 (octave-help-mode-finish-hook): New variables.
14140 (octave-help-mode, octave-help-mode-finish): New functions.
14141 (octave-help): Use octave-help-mode.
14143 2013-05-20 Glenn Morris <rgm@gnu.org>
14145 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14147 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14149 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14150 start at point, so that expansion starting right after opening
14151 slash in a regexp is recognized.
14152 (ruby-syntax-before-regexp-re): New defvar, extracted from
14153 ruby-syntax-propertize-function. Since the value of this regexp
14154 is looked up at runtime now, we should be able to turn
14155 `ruby-syntax-methods-before-regexp' into a defcustom later.
14156 (ruby-syntax-propertize-function): Split regexp matching into two
14157 parts, for opening and closing slashes. That allows us to skip
14158 over string interpolations and support multiline regexps.
14159 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14160 for them, which calls `ruby-syntax-propertize-expansion'.
14161 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14162 call to `ruby-syntax-propertize-function'.
14163 (ruby-syntax-propertize-expansion): Extracted from
14164 `ruby-syntax-propertize-expansions'. Handles one expansion.
14165 (ruby-syntax-propertize-percent-literal): Leave point right after
14166 the percent symbol, so that the expression expansion rule can
14167 propertize the contents.
14168 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14170 (ruby-syntax-propertize-expansions): Remove.
14172 2013-05-18 Juri Linkov <juri@jurta.org>
14174 * man.el (Man-default-man-entry): Remove `-' from the end
14175 of the default value. (Bug#14400)
14177 2013-05-18 Glenn Morris <rgm@gnu.org>
14179 * comint.el (comint-password-prompt-regexp):
14180 Allow "password for XXX" where XXX contains colons (eg https://...).
14182 2013-05-18 Leo Liu <sdl.web@gmail.com>
14184 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14185 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14186 (octave-source-directories): Don't check process.
14187 (octave-source-directories, octave-find-definition): Doc fix.
14189 2013-05-18 Glenn Morris <rgm@gnu.org>
14191 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14192 Remove backspace/delete bindings. (Bug#14392)
14194 * cus-dep.el (custom-make-dependencies): Sort the output.
14195 (custom-versions-load-alist): Convert comment to doc.
14197 2013-05-17 Leo Liu <sdl.web@gmail.com>
14199 * newcomment.el (comment-search-backward): Stricter in finding
14200 comment start. (Bug#14303)
14202 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14203 (octave-comment-start-skip): Properly anchored.
14205 2013-05-17 Leo Liu <sdl.web@gmail.com>
14207 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14208 Clean up when turned off. (Bug#14395)
14209 (smie--highlight-matching-block-overlay): No longer buffer-local.
14210 (smie-highlight-matching-block): Adjust.
14212 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14214 Doc string fix for "nanoseconds" (Bug#14406).
14215 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14216 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14218 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14220 * calc/calc-units.el (math-extract-units): Preserve powers
14223 2013-05-17 Leo Liu <sdl.web@gmail.com>
14225 * subr.el (delete-consecutive-dups): New function.
14226 * ido.el (ido-set-matches-1): Use it.
14227 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14228 * ido.el (ido-remove-consecutive-dups): Remove.
14230 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14232 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14233 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14234 regexp-opt's `words'.
14236 2013-05-16 Leo Liu <sdl.web@gmail.com>
14238 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14239 (smie--highlight-matching-block-overlay)
14240 (smie--highlight-matching-block-lastpos)
14241 (smie--highlight-matching-block-timer): New variables.
14242 (smie-highlight-matching-block): New function.
14243 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14244 (smie-setup): Conditionally enable smie-blink-matching-open.
14246 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14248 Sync with upstream verilog-mode r840.
14249 * progmodes/verilog-mode.el (verilog-mode-version)
14250 (verilog-mode-release-date): Update.
14251 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14252 (verilog-sig-tieoff): Fix string error on
14253 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14254 (verilog-read-decls): Fix parameters confusing
14255 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14257 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14259 * subr.el (reveal-filename): New function.
14261 * loadup.el: Compute Emacs executable versions on MS-Windows,
14262 where executables have the .exe extension. Add a hard link
14263 emacs-XX.YY.ZZ.exe on MS-Windows.
14265 * Makefile.in (XARGS_LIMIT): New variable.
14266 (custom-deps, finder-data, autoloads)
14267 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14268 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14269 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14270 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14272 2013-05-16 Leo Liu <sdl.web@gmail.com>
14274 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14275 (octave-mode-menu, octave-mode-map): Remove its uses.
14277 2013-05-16 Reto Zimmermann <reto@gnu.org>
14279 Sync with upstream vhdl mode v3.34.2.
14280 * progmodes/vhdl-mode.el: Use `push' throughout.
14281 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14282 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14283 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14284 (vhdl-actual-generic-name): New option to derive actual generic name.
14285 (vhdl-port-paste-signals): Replace formal by actual generics.
14286 (vhdl-beautify): New name for old group vhdl-align. Update users.
14287 (vhdl-beautify-options): New option.
14288 (vhdl-last-input-event): New compat alias. Use throughout.
14289 (vhdl-goto-line): Replace user level function `goto-line'.
14290 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14291 vhdl-fix-statement-buffer.
14292 (vhdl-create-mode-menu): Add some entries.
14293 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14294 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14295 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14296 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14297 to force statements on one line.
14298 (vhdl-remove-trailing-spaces-region):
14299 New, split from vhdl-remove-trailing-spaces.
14300 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14301 Respect vhdl-beautify-options.
14302 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14303 (vhdl-update-sensitivity-list): Not add with index if exists without.
14304 Not include array index with signal. Ignore keywords in comments.
14305 (vhdl-get-visible-signals): Regexp tweaks.
14306 (vhdl-template-component-inst): Handle empty library.
14307 (vhdl-template-type): Add template for 'enum' type.
14308 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14309 Use vhdl-replace-string.
14310 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14311 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14312 (vhdl-speedbar-initialize): Update for above name change.
14313 (vhdl-compose-wire-components): Fix in handling of constants.
14314 (vhdl-error-regexp-emacs-alist): New variable.
14315 (vhdl-error-regexp-add-emacs): New function;
14316 adds support for new compile.el (Emacs 22+)
14317 (vhdl-generate-makefile-1): Change target order for single lib. units.
14318 Allow use of absolute file names.
14320 2013-05-16 Leo Liu <sdl.web@gmail.com>
14322 * simple.el (prog-indent-sexp): Indent enclosing defun.
14324 2013-05-15 Glenn Morris <rgm@gnu.org>
14326 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14327 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14328 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14329 (whitespace-highlight): Move to whitespace group.
14331 * comint.el (comint-source):
14332 * pcmpl-linux.el (pcmpl-linux):
14333 * shell.el (shell-faces):
14334 * eshell/esh-opt.el (eshell-opt):
14335 * international/ccl.el (ccl): Remove empty custom groups.
14337 * completion.el (dynamic-completion-mode):
14338 * jit-lock.el (jit-lock-debug-mode):
14339 * minibuffer.el (completion-in-region-mode):
14340 * type-break.el (type-break-mode-line-message-mode)
14341 (type-break-query-mode):
14342 * emulation/tpu-edt.el (tpu-edt-mode):
14343 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14344 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14345 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14347 * term/xterm.el (xterm): Change parent group to terminals.
14349 * master.el (master): Remove empty custom group.
14350 (master-mode): Remove unused :group argument.
14351 * textmodes/refill.el (refill): Remove empty custom group.
14352 (refill-mode): Remove unused :group argument.
14354 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14356 * cus-dep.el: Provide a feature.
14357 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14358 Don't mistakenly ignore files whose basenames match a basename
14359 from preloaded-file-list (eg cedet/ede/simple.el).
14360 Add a fallback method for getting :group.
14362 2013-05-15 Juri Linkov <juri@jurta.org>
14364 * isearch.el (isearch-char-by-name): Rename from
14365 `isearch-insert-char-by-name'. Doc fix.
14366 (isearch-forward): Mention `isearch-char-by-name' in
14367 the docstring. (Bug#13348)
14369 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14370 `exit-minibuffer' instead of
14371 `isearch-nonincremental-exit-minibuffer'.
14372 (isearch-edit-string): Remove mention of
14373 `isearch-nonincremental-exit-minibuffer' from docstring.
14374 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14375 (isearch-forward-exit-minibuffer)
14376 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14378 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14380 * loadup.el: Just use unversioned DOC.
14382 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14383 literals as extending to EOB.
14384 (nxml-last-fontify-end): Remove unused variable.
14385 (nxml-after-change1): Use with-silent-modifications.
14386 (nxml-extend-after-change-region): Simplify.
14387 (nxml-extend-after-change-region1): Remove function.
14388 (nxml-after-change1): Don't adjust for dependent regions.
14389 (nxml-fontify-matcher): Simplify.
14390 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14391 (xmltok-add-dependent): Remove function.
14392 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14393 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14394 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14395 unclosed <[[, <?, comment, and other literals as extending to EOB.
14396 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14397 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14399 (rng-do-some-validation-1): Don't mark dependent regions.
14400 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14401 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14402 (nxml-clear-dependent-regions): Remove functions.
14403 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14404 (nxml-ensure-scan-up-to-date):
14405 Don't clear&mark dependent regions.
14407 2013-05-15 Leo Liu <sdl.web@gmail.com>
14409 * progmodes/octave.el (octave-goto-function-definition):
14410 Improve and fix callers.
14412 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14414 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14415 the setter (bug#14387).
14417 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14418 surrounding group (bug#14402).
14420 2013-05-14 Juri Linkov <juri@jurta.org>
14422 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14425 2013-05-14 Glenn Morris <rgm@gnu.org>
14427 * progmodes/f90.el (f90-imenu-generic-expression):
14428 Fix typo in 2013-05-08 change. (Bug#14402)
14430 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14432 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14433 Remove signals for which replies are never received.
14435 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14437 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14438 (gdb-handler-alist, gdb-handler-number): Remove variables.
14439 (gdb-handler-list): New variable.
14440 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14441 (gdb-pending-handler-p, gdb-handle-reply)
14442 (gdb-remove-all-pending-triggers): New functions.
14443 (gdb-discard-unordered-replies): New defcustom.
14444 (gdb-handler): New defstruct.
14445 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14446 instead of gdb-pending-triggers. Update docstring.
14447 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14448 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14449 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14450 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14451 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14452 (gdb-frame-handler): Pending triggers are now automatically managed.
14453 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14455 (gdb-input): Automatically handles pending triggers. Update docstring.
14456 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14457 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14459 (gdb-done-or-error): Now use gdb-handle-reply.
14461 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14463 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14466 2013-05-14 Glenn Morris <rgm@gnu.org>
14468 * subr.el (user-emacs-directory-warning): New option.
14469 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14471 2013-05-14 Leo Liu <sdl.web@gmail.com>
14473 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14475 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14476 (octave-font-lock-texinfo-comment): Fix invalid search bound
14477 error: wrong side of point.
14479 2013-05-14 Glenn Morris <rgm@gnu.org>
14481 * progmodes/flymake.el (flymake-xml-program): New option.
14482 (flymake-xml-init): Use it.
14484 * term/xterm.el: Provide a feature.
14486 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14488 2013-05-13 Glenn Morris <rgm@gnu.org>
14490 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14491 Add compat aliases as a hack workaround. (Bug#14384)
14493 2013-05-13 Leo Liu <sdl.web@gmail.com>
14495 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14497 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14499 (octave-comment-start-skip): Include %!.
14500 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14502 2013-05-12 Leo Liu <sdl.web@gmail.com>
14504 * progmodes/octave.el (inferior-octave-startup): Store the value
14505 of __octave_srcdir__ for octave-source-directories.
14506 (inferior-octave-check-process): New function refactored out of
14507 inferior-octave-send-list-and-digest.
14508 (octave-source-directories)
14509 (octave-find-definition-filename-function): New variables.
14510 (octave-source-directories)
14511 (octave-find-definition-default-filename): New functions.
14512 (octave-find-definition): Improve to find functions implemented in C++.
14514 2013-05-12 Glenn Morris <rgm@gnu.org>
14516 * calendar/diary-lib.el (diary-outlook-format-1):
14517 Don't include dayname in the output. (Bug#14349)
14519 2013-05-11 Glenn Morris <rgm@gnu.org>
14521 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14523 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14524 Treat cc-provide like provide.
14526 2013-05-11 Kevin Ryde <user42@zip.com.au>
14528 * cus-dep.el (custom-make-dependencies):
14529 Use generated-autoload-load-name for the sake of files such
14530 such cedet/semantic/bovine/c.el, where the base file name
14531 is not in load-path. (Bug#5277)
14533 2013-05-11 Glenn Morris <rgm@gnu.org>
14535 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14538 2013-05-11 Leo Liu <sdl.web@gmail.com>
14540 * progmodes/octave.el (octave-indent-comment): Improve.
14541 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14542 (octave-eldoc-function-signatures, octave-eldoc-function):
14544 (octave-mode, inferior-octave-mode): Add eldoc support.
14546 2013-05-11 Richard Stallman <rms@gnu.org>
14548 * epa.el (epa-decrypt-file): Take output file name as argument
14549 and read it using `interactive'.
14551 2013-05-11 Leo Liu <sdl.web@gmail.com>
14553 * progmodes/octave.el (octave-beginning-of-line)
14554 (octave-end-of-line): Check before using up-list because it jumps
14555 out of more syntactic contructs since moving to smie.
14556 (octave-indent-comment): New function.
14557 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14558 (octave-begin-keywords, octave-end-keywords)
14559 (octave-reserved-words, octave-smie-bnf-table)
14560 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14562 2013-05-11 Glenn Morris <rgm@gnu.org>
14564 * faces.el (internal-face-x-get-resource):
14565 * frame.el (ns-display-monitor-attributes-list):
14566 * calc/calc-aent.el (math-to-radians-2):
14567 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14570 * calc/calc-menu.el: Make it loadable in isolation.
14572 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14573 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14574 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14575 (eudc-bbdb-query-internal): Require 'bbdb.
14577 * lpr.el (lpr-headers-switches):
14578 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14580 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14582 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14584 * term.el (term-set-escape-char): Make it idempotent.
14586 2013-05-10 Leo Liu <sdl.web@gmail.com>
14588 * progmodes/octave.el (inferior-octave-completion-table):
14589 No longer a function and all uses changed. Use cache to speed up
14590 completion due to bug#11906.
14591 (octave-beginning-of-defun): Re-write to be more general.
14593 2013-05-10 Glenn Morris <rgm@gnu.org>
14595 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14597 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14599 * comint.el (comint-redirect-send-command-to-process): Use :around
14600 rather than :override for comint-redirect-filter.
14601 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14602 Call it instead of comint-redirect-original-filter-function (which
14603 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14605 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14607 * frame.el (display-monitor-attributes-list): Add NS case.
14608 (ns-display-monitor-attributes-list): Declare.
14610 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14612 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14614 2013-05-09 Glenn Morris <rgm@gnu.org>
14616 * international/fontset.el (vertical-centering-font-regexp):
14617 Set standard-value.
14619 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14621 * bookmark.el (bookmark-search-delay):
14622 * cus-start.el (vertical-centering-font-regexp):
14623 * ps-mule.el (ps-mule-font-info-database-default):
14624 * ps-print.el (ps-default-fg, ps-default-bg):
14625 * type-break.el (type-break-good-break-interval):
14626 * whitespace.el (whitespace-indentation-regexp)
14627 (whitespace-space-after-tab-regexp):
14628 * emacs-lisp/testcover.el (testcover-1value-functions)
14629 (testcover-noreturn-functions, testcover-progn-functions)
14630 (testcover-prog1-functions):
14631 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14632 * eshell/em-glob.el (eshell-glob-translate-alist):
14633 * play/tetris.el (tetris-tty-colors):
14634 * progmodes/cpp.el (cpp-face-default-list):
14635 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14636 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14637 (idlwave-help-browser-generic-args):
14638 * progmodes/make-mode.el (makefile-special-targets-list):
14639 * progmodes/python.el (python-shell-virtualenv-path):
14640 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14641 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14642 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14643 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14644 * textmodes/reftex-vars.el (reftex-format-label-function):
14645 * textmodes/remember.el (remember-diary-file): Fix custom types.
14647 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14650 2013-05-09 Leo Liu <sdl.web@gmail.com>
14652 * progmodes/octave.el (inferior-octave-completion-at-point):
14653 Restore file completion. (Bug#14300)
14654 (inferior-octave-startup): Fix incorrect highlighting for the
14657 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14659 * progmodes/ruby-mode.el: First cut at SMIE support.
14660 (ruby-use-smie): New var.
14661 (ruby-smie-grammar): New constant.
14662 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14663 (ruby-smie--forward-token, ruby-smie--backward-token)
14664 (ruby-smie-rules): New functions.
14665 (ruby-mode-variables): Setup SMIE if applicable.
14667 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14669 * simple.el (line-move-visual): Signal beginning/end of buffer
14670 only if vertical-motion moved less than it was requested. Avoids
14671 silly incorrect error messages when there are display strings with
14672 multiple newlines at EOL.
14674 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14676 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14677 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14678 (prolog-char-quote-workaround):
14679 * progmodes/cperl-mode.el (cperl-under-as-char):
14680 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14682 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14684 (vhdl-mode-syntax-table-init): Remove.
14686 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14689 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14691 (ld-script-font-lock-keywords):
14692 Change regexps to use things like \_< and \_>.
14694 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14695 Change all regexps to use things like \_< and \_>.
14697 * progmodes/autoconf.el (autoconf-definition-regexp)
14698 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14699 Handle a _ with symbol syntax.
14700 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14702 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14703 Consolidate declaration.
14704 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14706 (ada-create-syntax-table): Remove.
14707 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14708 already has the right syntax nowadays.
14709 (ada-goto-next-word): Don't change the syntax of "_".
14711 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14714 2013-05-08 Sam Steingold <sds@gnu.org>
14716 * thingatpt.el (thing-at-point): Accept optional second argument
14717 NO-PROPERTIES to strip the text properties from the return value.
14718 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14719 to `thing-at-point' instead of stripping the properties ourselves.
14720 Also, when `thing-at-point' fails to find a url, prepend "http://"
14721 to the filename at point on the assumption that the user is
14722 pointing at something like gnu.org/gnu.
14724 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14726 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14727 * faces.el (crm-separator):
14728 Silence byte-compiler.
14730 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14731 (tool-bar-map): Remove unneeded defvars.
14733 2013-05-08 Leo Liu <sdl.web@gmail.com>
14735 Re-work a fix for bug#10994 based on Le Wang's patch.
14736 * ido.el (ido-remove-consecutive-dups): New helper.
14737 (ido-completing-read): Use it.
14738 (ido-chop): Revert fix for bug#10994.
14740 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14742 * cus-edit.el (custom-save-variables):
14743 Pretty-print long values. (Bug#14187)
14745 2013-05-08 Glenn Morris <rgm@gnu.org>
14747 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14748 (m4-mode-syntax-table): Init in the defvar.
14749 (m4-mode-abbrev-table): Let define-derived-mode define it.
14751 2013-05-08 Tom Tromey <tromey@redhat.com>
14753 * progmodes/m4-mode.el (m4-mode-syntax-table):
14754 Do not treat "_" as word constituent. (Bug#14167)
14756 2013-05-07 Glenn Morris <rgm@gnu.org>
14758 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14759 Remove explicit eshell-isearch-cancel-map.
14761 * progmodes/f90.el (f90-smart-end-names): New option.
14762 (f90-smart-end): Doc fix.
14763 (f90-end-block-optional-name): New constant.
14764 (f90-block-match): Respect f90-smart-end-names.
14766 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14768 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14769 about implicit semi-colons (bug#14218).
14771 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14773 * frame.el (display-monitor-attributes-list)
14774 (frame-monitor-attributes): New functions.
14776 2013-05-06 Leo Liu <sdl.web@gmail.com>
14778 * progmodes/octave.el (octave-syntax-propertize-function): Change
14779 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14780 (octave-font-lock-keywords): Use octave-operator-regexp.
14781 (octave-completion-at-point): Rename from
14782 octave-completion-at-point-function.
14783 (inferior-octave-directory-tracker): Robustify.
14784 (octave-text-functions): Remove and fix its uses. No such things
14787 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14789 * emacs-lisp/trace.el (trace--display-buffer): New function.
14790 (trace-make-advice): Use it.
14792 2013-05-06 Juri Linkov <juri@jurta.org>
14794 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14795 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14797 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14798 in the help string. (Bug#12985)
14800 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14802 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14804 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14806 * progmodes/perl-mode.el: Add support for here documents.
14807 (perl-syntax-propertize-function): Match here-doc markers.
14808 (perl-syntax-propertize-special-constructs): Find their end.
14809 (perl-imenu-generic-expression): Use [:alnum:].
14811 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14812 (advice--add-function): Refresh the advice if already present
14815 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14817 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14819 2013-05-06 Glenn Morris <rgm@gnu.org>
14821 * w32-fns.el (w32-charset-info-alist): Declare.
14823 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14824 of its defcustom properties.
14825 (eshell-cmpl-initialize): No need to load pcomplete.
14827 * generic-x.el: No need to require comint when compiling.
14829 * net/eudc-export.el: Make it loadable without bbdb.
14830 (top-level): Use require rather than load-library.
14831 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14832 (eudc-batch-export-records-to-bbdb)
14833 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14836 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14838 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14839 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14840 some tweaks, instead.
14842 2013-05-05 Leo Liu <sdl.web@gmail.com>
14844 * progmodes/octave.el (octave-font-lock-keywords)
14845 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14846 (inferior-octave-send-list-and-digest): Improve error message.
14847 (octave-mode, inferior-octave-mode): Use setq-local.
14848 (octave-help): Set info-lookup-mode.
14850 2013-05-05 Richard Stallman <rms@gnu.org>
14852 * vc/compare-w.el (compare-windows-whitespace):
14853 Treat no-break space as whitespace.
14855 * mail/rmailsum.el (rmail-summary-rmail-update):
14856 Detect empty summary and don't change selected message.
14857 (rmail-summary-goto-msg): Likewise.
14859 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14860 Doc fixes, rename args.
14862 2013-05-05 Alan Mackenzie <acm@muc.de>
14864 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14866 2013-05-05 Juri Linkov <juri@jurta.org>
14868 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14869 to not add the length of the summary segment to the return value.
14872 2013-05-05 Leo Liu <sdl.web@gmail.com>
14874 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14875 (inferior-octave-output-filter): Remove.
14876 (octave-send-region, inferior-octave-startup): Fix callers.
14877 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14878 (octave-binary-file-extensions): New user variable.
14879 (octave-find-definition): Confirm if opening binary files.
14880 (octave-help-file): Use octave-find-definition to get the binary
14882 (octave-help): Adjust for octave-help-file change.
14884 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14886 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14887 Merge the two entries that handle function definitions.
14888 (pascal--syntax-propertize): New const.
14889 (pascal-mode): Use it. Use setq-local.
14891 2013-05-04 Glenn Morris <rgm@gnu.org>
14893 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14894 (diary-from-outlook): Respect diary-from-outlook-function.
14896 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14898 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14899 Move the declaration from C.
14900 (read-minibuffer, eval-minibuffer): Move from C.
14901 (completion-setup-function): Avoid minibuffer-completion-contents.
14903 2013-05-03 Leo Liu <sdl.web@gmail.com>
14905 * progmodes/octave.el (octave-font-lock-keywords): Do not
14906 dehighlight 'end' in comments or strings.
14907 (octave-completing-read, octave-goto-function-definition):
14909 (octave-help-buffer): New user variable.
14910 (octave-help-file, octave-help-function): New button types.
14911 (octave-help): New command and bind it to C-h ;.
14912 (octave-find-definition): New command and bind it to M-.
14913 (user-error): Alias to error if not defined.
14915 2013-05-02 Leo Liu <sdl.web@gmail.com>
14917 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14919 (octave-font-lock-keywords): Include [ and {.
14921 2013-05-02 Leo Liu <sdl.web@gmail.com>
14923 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14924 (inferior-octave): Remove calling comint-mode and return the buffer.
14925 (inferior-octave-startup): Cosmetic changes.
14927 2013-05-02 Leo Liu <sdl.web@gmail.com>
14929 * progmodes/octave.el (octave-syntax-propertize-function):
14930 Include the case when ' is at line beginning. (Bug#14336)
14932 2013-05-02 Glenn Morris <rgm@gnu.org>
14934 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14935 * desktop.el (vc-dir-mode): Just autoload it here.
14937 2013-05-02 Alan Mackenzie <acm@muc.de>
14939 Eliminate variable c-standard-font-lock-fontify-region-function.
14940 * progmodes/cc-mode.el
14941 (c-standard-font-lock-fontify-region-function): Remove.
14942 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14944 2013-05-01 Leo Liu <sdl.web@gmail.com>
14946 * progmodes/octave.el: Compatible with older emacs-24 releases.
14947 (inferior-octave-has-built-in-variables): Remove. Built-in
14948 variables were removed from Octave in 2007.
14949 (inferior-octave-startup): Fix uses.
14950 (comint-line-beginning-position): Remove compatibility code for
14953 2013-05-01 Juri Linkov <juri@jurta.org>
14955 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14957 2013-05-01 Juri Linkov <juri@jurta.org>
14959 * comint.el (comint-previous-matching-input): Don't print message
14960 "History item: %d" when `isearch-mode' is active.
14961 (comint-history-isearch-message): Print message "History item: %d"
14962 when `comint-input-ring-index' is not empty and this function is
14963 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14965 2013-05-01 Leo Liu <sdl.web@gmail.com>
14967 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14968 definitions. Use completion-at-point to insert keywords.
14969 (octave-abbrev-start): Remove.
14970 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14972 2013-04-30 Leo Liu <sdl.web@gmail.com>
14974 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14977 2013-04-30 Alan Mackenzie <acm@muc.de>
14979 Handle arbitrarily long C++ member initialisation lists.
14980 * progmodes/cc-engine.el (c-back-over-member-initializers):
14982 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14983 (most) member init lists.
14985 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14987 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14990 2013-04-30 Leo Liu <sdl.web@gmail.com>
14992 * progmodes/octave.el (octave-variables): Remove. No builtin
14993 variables any more. All converted to functions.
14994 (octave-font-lock-keywords, octave-completion-at-point-function):
14996 (octave-font-lock-texinfo-comment): New user variable.
14997 (octave-texinfo-font-lock-keywords): New variable for texinfo
14999 (octave-function-comment-block): New face.
15000 (octave-font-lock-texinfo-comment): New function.
15001 (octave-mode): Font lock texinfo comment block.
15003 2013-04-29 Leo Liu <sdl.web@gmail.com>
15005 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15006 indexing expression.
15007 (octave-continuation-string): Do not use \.
15008 (inferior-octave-complete-impossible): Remove.
15009 (inferior-octave-completion-table)
15010 (inferior-octave-completion-at-point): Remove its uses.
15011 (inferior-octave-startup): completion_matches was introduced to
15012 Octave in 1996 so safe to assume it.
15013 (octave-function-file-comment): Improve to follow how Octave does it.
15014 (octave-update-function-file-comment): Tweak.
15016 2013-04-29 Leo Liu <sdl.web@gmail.com>
15018 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15019 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15020 (octave-function-file-comment): Fix typo.
15021 (octave-sync-function-file-names): Use read-char-choice.
15023 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15025 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15026 to t for the less important warnings.
15028 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15030 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15032 2013-04-27 Glenn Morris <rgm@gnu.org>
15034 * vc/log-view.el (log-view-current-entry):
15035 Treat "---" separator lines as part of the following rev. (Bug#14169)
15037 2013-04-27 Juri Linkov <juri@jurta.org>
15039 * subr.el (read-number): Doc fix about using it by interactive
15040 code letter `n'. (Bug#14254)
15042 2013-04-27 Juri Linkov <juri@jurta.org>
15044 * desktop.el (desktop-auto-save-timeout): New option.
15045 (desktop-file-checksum): New variable.
15046 (desktop-save): Add optional arg `auto-save' and don't auto-save
15047 if nothing changed.
15048 (desktop-auto-save-timer): New variable.
15049 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15050 (after-init-hook): Call `desktop-auto-save-set-timer'.
15051 Suggested by Reuben Thomas <rrt@sc3d.org> in
15052 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15054 2013-04-27 Leo Liu <sdl.web@gmail.com>
15056 * progmodes/octave.el (octave-function-file-p)
15057 (octave-skip-comment-forward, octave-function-file-comment)
15058 (octave-update-function-file-comment): New functions.
15059 (octave-mode-map): Bind C-c ; to
15060 octave-update-function-file-comment.
15061 (octave-mode-menu): Add octave-update-function-file-comment.
15062 (octave-mode, inferior-octave-mode): Fix doc-string.
15063 (octave-insert-defun): Conform to Octave's coding convention.
15066 * files.el (basic-save-buffer): Don't let errors in
15067 before-save-hook prevent saving buffer.
15069 2013-04-20 Roland Winkler <winkler@gnu.org>
15071 * faces.el (read-face-name): Use completing-read if arg multiple
15074 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15076 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15077 displayed, move point to after the totals line.
15078 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15081 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15083 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15084 Add current dir to the load-path.
15085 (package-generate-autoloads): Don't rely on
15086 autoload-ensure-default-file.
15088 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15090 * textmodes/remember.el (remember-store-in-files): Document that
15091 the file name format is passed to `format-time-string'.
15093 2013-04-26 Leo Liu <sdl.web@gmail.com>
15095 * progmodes/octave.el (octave-sync-function-file-names): New function.
15096 (octave-mode): Use it in before-save-hook.
15098 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15100 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15103 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15104 \n and comment, even if it's not an implicit ; (bug#14218).
15106 2013-04-26 Glenn Morris <rgm@gnu.org>
15108 * subr.el (read-number): Once more use `read' rather than
15109 `string-to-number', to trap non-numeric input. (Bug#14254)
15111 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15113 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15114 Use `syntax-multiline' text property consistently instead of
15115 `font-lock-multiline'. (Bug#14237)
15117 2013-04-26 Glenn Morris <rgm@gnu.org>
15119 * emacs-lisp/shadow.el (list-load-path-shadows):
15120 No longer necessary to check for duplicate simple.el, since
15121 2012-07-07 change to init_lread to not include installation lisp
15122 directories in load-path when running uninstalled. (Bug#14270)
15124 2013-04-26 Leo Liu <sdl.web@gmail.com>
15126 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15127 (octave-mode, inferior-octave-mode): Use setq-local.
15128 (octave-not-in-string-or-comment-p): Rename to
15129 octave-in-string-or-comment-p.
15130 (octave-in-comment-p, octave-in-string-p)
15131 (octave-in-string-or-comment-p): Replace defsubst with defun.
15133 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15135 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15137 2013-04-25 Bastien Guerry <bzg@gnu.org>
15139 * textmodes/remember.el (remember-data-directory)
15140 (remember-directory-file-name-format): Fix custom types.
15142 2013-04-25 Leo Liu <sdl.web@gmail.com>
15144 * progmodes/octave.el (octave-completion-at-point-function):
15145 Make use of inferior octave process.
15146 (octave-initialize-completions): Remove.
15147 (inferior-octave-completion-table): New function.
15148 (inferior-octave-completion-at-point): Use it.
15149 (octave-completion-alist): Remove.
15151 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15153 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15154 (opascal-mode-syntax-table): New var.
15155 (opascal-literal-kind, opascal-is-literal-end)
15156 (opascal-literal-token-at): Rewrite.
15157 (opascal--literal-start-re, opascal-font-lock-keywords)
15158 (opascal--syntax-propertize): New constants.
15159 (opascal-font-lock-defaults): Adjust.
15160 (opascal-mode): Use them. Set comment-<foo> variables as well.
15161 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15162 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15163 (delphi-other-face, opascal-other-face): Remove face variables.
15164 (opascal-save-state): Remove macro.
15165 (opascal-fontifying-progress-step): Remove constant.
15166 (opascal--ignore-changes): Remove var.
15167 (opascal-set-token-property, opascal-parse-next-literal)
15168 (opascal-is-stable-literal, opascal-complete-literal)
15169 (opascal-is-literal-start, opascal-face-of)
15170 (opascal-parse-region, opascal-parse-region-until-stable)
15171 (opascal-fontify-region, opascal-after-change)
15172 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15173 (opascal-debug-parse-region, opascal-debug-parse-window)
15174 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15175 (opascal-debug-fontify-buffer): Remove.
15176 (opascal-debug-mode-map): Adjust accordingly.
15178 2013-04-25 Leo Liu <sdl.web@gmail.com>
15180 Merge octave-mod.el and octave-inf.el into octave.el with some
15182 * progmodes/octave.el: New file renamed from octave-mod.el.
15183 * progmodes/octave-inf.el: Merged into octave.el.
15184 * progmodes/octave-mod.el: Renamed to octave.el.
15186 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15188 * textmodes/reftex-vars.el
15189 (reftex-label-ignored-macros-and-environments): New defcustom.
15191 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15193 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15195 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15196 (smie-indent-keyword): Improve the check to ensure that the next
15197 comment is really on the same line.
15198 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15200 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15201 semi-colons if the line is not otherwise empty (bug#14218).
15203 2013-04-25 Glenn Morris <rgm@gnu.org>
15205 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15207 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15209 * progmodes/opascal.el (opascal-set-token-property): Rename from
15210 opascal-set-text-properties and only set `token' (bug#14134).
15211 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15212 (opascal-literal-text-properties): Remove.
15213 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15216 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15218 * textmodes/remember.el (remember-handler-functions): Add an
15219 option for a new handler `remember-store-in-files'.
15220 (remember-data-directory, remember-directory-file-name-format):
15222 (remember-store-in-files): New function to store remember notes
15223 as separate files within a directory.
15225 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15227 * progmodes/compile.el (compilation-next-error-function):
15228 Pass "formats" to compilation-find-file (bug#11777).
15230 2013-04-24 Glenn Morris <rgm@gnu.org>
15232 * vc/vc-bzr.el (vc-bzr-print-log):
15233 * vc/vc-hg.el (vc-hg-print-log):
15234 * vc/vc-svn.el (vc-svn-print-log):
15235 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15237 * vc/vc-bzr.el (vc-bzr-print-log):
15238 * vc/vc-cvs.el (vc-cvs-print-log):
15239 * vc/vc-git.el (vc-git-print-log):
15240 * vc/vc-hg.el (vc-hg-print-log):
15241 * vc/vc-mtn.el (vc-mtn-print-log):
15242 * vc/vc-rcs.el (vc-rcs-print-log):
15243 * vc/vc-sccs.el (vc-sccs-print-log):
15244 * vc/vc-svn.el (vc-svn-print-log):
15245 * vc/vc.el (vc-print-log-internal): Doc fixes.
15247 2013-04-23 Glenn Morris <rgm@gnu.org>
15249 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15250 Remove venerable code attempting to avoid substitute-command-keys.
15252 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15254 * textmodes/reftex-vars.el (reftex-label-regexps):
15255 Call `reftex-compile-variables' after changes to this variable.
15257 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15259 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15260 Use lexical-binding.
15261 (jit-lock-force-redisplay): Use markers, check buffer's continued
15262 existence and beware narrowed buffers.
15263 (jit-lock-fontify-now): Adjust call accordingly.
15265 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15267 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15268 to avoid misleading the user.
15270 2013-04-22 Leo Liu <sdl.web@gmail.com>
15272 * info-look.el: Prefer latex2e.info. (Bug#14240)
15274 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15276 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15278 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15279 * net/tramp.el (tramp-call-process): ... here.
15280 (tramp-set-completion-function, tramp-parse-putty):
15281 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15282 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15283 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15284 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15285 (tramp-call-local-coding-command): Use `tramp-call-process'
15286 instead of `tramp-compat-call-process'.
15288 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15289 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15290 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15291 (tramp-find-inline-compress): Improve traces.
15292 (tramp-maybe-send-script): Check for Perl binary.
15293 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15295 2013-04-22 Daiki Ueno <ueno@gnu.org>
15297 * epg.el (epg-context-pinentry-mode): New function.
15298 (epg-context-set-pinentry-mode): New function.
15299 (epg--start): Pass --pinentry-mode option to gpg command.
15301 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15303 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15304 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15305 `completion-at-point'. (Bug#13774)
15307 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15308 default key binding for `describe-distribution' has been moved to
15309 `C-h C-o'. (Bug#13970)
15311 2013-04-21 Glenn Morris <rgm@gnu.org>
15313 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15315 (vc-print-log): Clarify interactive prompt.
15317 2013-04-20 Glenn Morris <rgm@gnu.org>
15319 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15320 No longer include timestamp etc information.
15322 2013-04-20 Roland Winkler <winkler@gnu.org>
15324 * faces.el (read-face-name): Bug fix, return just one face if arg
15325 multiple is nil. (Bug#14209)
15327 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15329 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15330 (remove-function): Autoload.
15332 * comint.el (comint-redirect-original-filter-function): Remove.
15333 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15334 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15335 (vc-cvs-annotate-command):
15336 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15337 * progmodes/prolog.el (prolog-consult-compile):
15338 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15339 Use add/remove-function instead.
15340 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15341 (gud-tooltip-process-output, gud-tooltip-tips):
15342 Use add/remove-function instead.
15343 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15344 (scheme-interaction-mode, exit-scheme-interaction-mode):
15345 Use add/remove-function instead.
15347 * vc/vc-dispatcher.el: Use lexical-binding.
15348 (vc--process-sentinel): Rename from vc-process-sentinel.
15349 Change last arg to be the code to run. Don't use vc-previous-sentinel
15350 and vc-sentinel-commands any more.
15351 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15352 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15354 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15356 * progmodes/sh-script.el (sh-imenu-generic-expression):
15357 Handle function names with a single character. (Bug#14111)
15359 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15361 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15362 for subroutines defined in an eval (bug#14182).
15364 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15366 * bookmark.el (bookmark-completing-read): Improve handling of empty
15367 string (bug#14176).
15369 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15371 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15373 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15375 New faster Imenu implementation (bug#14058).
15376 * progmodes/python.el:
15377 (python-imenu-prev-index-position):
15378 (python-imenu-format-item-label-function)
15379 (python-imenu-format-parent-item-label-function)
15380 (python-imenu-format-parent-item-jump-label-function):
15382 (python-imenu-format-item-label)
15383 (python-imenu-format-parent-item-label)
15384 (python-imenu-format-parent-item-jump-label)
15385 (python-imenu--put-parent, python-imenu--build-tree)
15386 (python-imenu-create-index, python-imenu-create-flat-index)
15387 (python-util-popn): New functions.
15388 (python-mode): Set imenu-create-index-function to
15389 python-imenu-create-index.
15391 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15393 * winner.el (winner-active-region): Use region-active-p, activate-mark
15394 and deactivate-mark (bug#14225).
15396 * simple.el (deactivate-mark): Don't inline it.
15398 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15400 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15402 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15404 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15405 file extensions from the archive-mode entry in order to prefer
15406 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15408 2013-04-18 Leo Liu <sdl.web@gmail.com>
15410 * bindings.el (help-event-list): Add ?\?.
15412 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15414 * subr.el (with-wrapper-hook): Declare obsolete.
15415 * simple.el (filter-buffer-substring-function): New hook.
15416 (filter-buffer-substring): Use it.
15417 (filter-buffer-substring-functions): Mark obsolete.
15418 * minibuffer.el (completion-in-region-function): New hook.
15419 (completion-in-region): Use it.
15420 (completion-in-region-functions): Mark obsolete.
15421 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15422 * abbrev.el (abbrev-expand-function): New hook.
15423 (expand-abbrev): Use it.
15424 (abbrev-expand-functions): Mark obsolete.
15425 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15426 and :filter-return.
15428 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15430 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15431 and do not care about match data.
15433 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15435 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15436 completion tables when completing error conditions and
15437 `declare' arguments.
15438 (lisp-complete-symbol, field-complete): Mark as obsolete.
15439 (check-parens): Unmatched parens are user errors.
15440 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15442 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15444 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15445 command changed buffer (ie. `flyspell-pre-buffer' is not current
15446 buffer), which prevents making decisions based on invalid value of
15447 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15448 cause an error when `flyspell-pre-point' was nil after switching
15450 (flyspell-post-command-hook): No longer needs to change buffers when
15451 checking pre-word. While at it remove unnecessary progn.
15453 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15455 * textmodes/ispell.el (ispell-add-per-file-word-list):
15456 Fix `flyspell-correct-word-before-point' error when accepting
15457 words and `coment-padding' is an integer by using
15458 `comment-normalize-vars' (Bug #14214).
15460 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15462 New defun movement commands.
15463 * progmodes/python.el (python-nav--syntactically)
15464 (python-nav--forward-defun, python-nav-backward-defun)
15465 (python-nav-forward-defun): New functions.
15467 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15469 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15470 (python-syntax-context): Use named compiler-macro for backwards
15471 compatibility with Emacs 24.x.
15473 2013-04-17 Leo Liu <sdl.web@gmail.com>
15475 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15476 octave-hide-process-buffer.
15478 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15480 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15483 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15485 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15486 Fix adjustment of offset when receiving incomplete responses from GDB
15489 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15491 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15492 python-mode-abbrev-table.
15493 (python-skeleton-define): Adjust accordingly.
15494 (python-mode-abbrev-table): New table that inherits from it so that
15495 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15497 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15498 (abbrev-symbol): Use it.
15499 (abbrev--before-point): Use it since we already handle inheritance.
15501 2013-04-16 Leo Liu <sdl.web@gmail.com>
15503 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15504 binding to info-lookup-symbol.
15506 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15508 * minibuffer.el (completion--twq-all):
15509 * term/ns-win.el (ns-initialize-window-system):
15510 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15512 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15514 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15517 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15519 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15521 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15522 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15524 (ruby-end-of-defun): Remove the unused arg, change the docstring
15525 to reflect that this function is only used as the value of
15526 `end-of-defun-function'.
15527 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15528 to reflect an earlier change that beginning/end-of-defun functions
15529 jump between methods in a class definition, as well as top-level
15532 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15534 * minibuffer.el (minibuffer-complete): Don't just scroll
15535 a *Completions* that's been iconified.
15536 (minibuffer-force-complete): Make sure repetitions do cycle when going
15537 through completion-in-region -> minibuffer-complete.
15539 2013-04-15 Alan Mackenzie <acm@muc.de>
15541 Correct the placement of c-cpp-delimiters when there're #s not at
15544 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15545 place a submatch around the #.
15546 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15547 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15550 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15552 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15553 (advice--member-p): New arg `name'.
15554 (advice--add-function, advice-member-p): Use it (bug#14202).
15556 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15558 Reformulate java imenu-generic-expression.
15559 The old expression contained ill formed regexps.
15561 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15562 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15563 (cc-imenu-java-method-arg-regexp): New defconsts.
15564 (cc-imenu-java-build-type-args-regex): New defun.
15565 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15566 handling of spaces in the regexp.
15568 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15570 * textmodes/ispell.el (ispell-command-loop): Remove
15571 flyspell highlight of a word when ispell accepts it (bug #14178).
15573 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15575 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15576 uses code from the previous `ange-ftp-run-real-handler'.
15577 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15578 only in case that function exist. This is needed for proper
15579 unloading of Tramp.
15581 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15583 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15585 * textmodes/reftex.el (reftex-compile-variables): Use it.
15587 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15589 * files.el (normal-mode): Only use default major-mode if no other mode
15592 * emacs-lisp/trace.el (trace-values): New function.
15594 * files.el: Allow : in local variables (bug#14089).
15595 (hack-local-variable-regexp): New var.
15596 (hack-local-variables-prop-line, hack-local-variables): Use it.
15598 2013-04-13 Roland Winkler <winkler@gnu.org>
15600 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15601 data before it gets modified by bibtex-beginning-of-entry.
15603 2013-04-13 Roland Winkler <winkler@gnu.org>
15605 * textmodes/bibtex.el (bibtex-url): Doc fix.
15607 2013-04-13 Roland Winkler <winkler@gnu.org>
15609 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15610 does not visit a BibTeX file, exclude it from the list of buffers
15611 returned by bibtex-initialize.
15613 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15615 * window.el (split-window): Remove interactive form, since as a
15616 command this function is a special case of split-window-below.
15617 Correct doc string.
15619 2013-04-12 Roland Winkler <winkler@gnu.org>
15621 * faces.el (read-face-name): Do not override value of arg default.
15622 Allow single faces and strings as default values. Remove those
15623 elements from return value that are not faces.
15624 (describe-face): Simplify.
15625 (face-at-point): New optional args thing and multiple so that this
15626 function can provide the same functionality previously provided by
15628 (make-face-bold, make-face-unbold, make-face-italic)
15629 (make-face-unitalic, make-face-bold-italic, invert-face)
15630 (modify-face, read-face-and-attribute): Use face-at-point.
15632 * cus-edit.el (customize-face, customize-face-other-window)
15633 * cus-theme.el (custom-theme-add-face)
15634 * face-remap.el (buffer-face-set)
15635 * facemenu.el (facemenu-set-face): Use face-at-point.
15637 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15639 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15641 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15643 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15644 off leading { and trailing } from field values.
15646 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15648 * emacs-lisp/timer.el (timer--check): New function.
15649 (timer--time, timer-set-function, timer-event-handler): Use it.
15650 (timer-set-idle-time): Simplify.
15651 (timer--activate): CSE.
15652 (timer-event-handler): Give more info in error message.
15653 (internal-timer-start-idle): New function, moved from C.
15655 * mpc.el (mpc-proc): Add `restart' argument.
15656 (mpc-proc-cmd): Use it.
15657 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15658 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15661 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15663 * progmodes/sh-script.el: Implement `sh-mode' own
15664 `add-log-current-defun-function' (bug#14112).
15665 (sh-current-defun-name): New function.
15666 (sh-mode): Use the function.
15668 2013-04-09 Bastien Guerry <bzg@gnu.org>
15670 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15672 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15674 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15676 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15679 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15681 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15684 2013-04-07 Leo Liu <sdl.web@gmail.com>
15686 * pcmpl-x.el: New file.
15688 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15690 Do not set x-display-name until X connection is established.
15691 This is needed to prevent from weird situation described at
15692 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15693 * frame.el (make-frame): Set x-display-name after call to
15694 window system initialization function, not before.
15695 * term/x-win.el (x-initialize-window-system): Add optional
15696 display argument and use it.
15697 * term/w32-win.el (w32-initialize-window-system):
15698 * term/ns-win.el (ns-initialize-window-system):
15699 * term/pc-win.el (msdos-initialize-window-system):
15700 Add compatible optional display argument.
15702 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15704 * files.el (normal-backup-enable-predicate): On MS-Windows and
15705 MS-DOS compare truenames of temporary-file-directory and of the
15706 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15707 don't fail comparison by compare-strings. Also, compare file
15708 names case-insensitively on MS-Windows and MS-DOS.
15710 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15712 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15713 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15715 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15717 * whitespace.el (whitespace-color-on, whitespace-color-off):
15718 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15720 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15722 * ispell.el (ispell-set-spellchecker-params):
15723 Really set `ispell-args' for all equivs.
15725 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15727 * ido.el (ido-completions): Use extra elements of ido-decorations
15729 (ido-decorations): Update docstring.
15731 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15733 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15734 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15735 nil during initialization, in order not to miss changes since the
15736 file was opened. (Bug#14140)
15738 2013-04-05 Leo Liu <sdl.web@gmail.com>
15740 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15742 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15744 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15746 2013-04-04 Glenn Morris <rgm@gnu.org>
15748 * electric.el (electric-pair-inhibit-predicate): Add :version.
15750 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15752 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15753 when a package is required several times (bug#14082).
15755 2013-04-04 Roland Winkler <winkler@gnu.org>
15757 * faces.el (read-face-name): Behave as promised by the docstring.
15758 Assume that arg default is a list of faces.
15759 (describe-face): Call read-face-name with list of default faces.
15761 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15763 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15764 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15765 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15767 (bookmark-exit-hook-internal): Save even if list is empty.
15769 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15771 * emacs-lisp/package.el (package-pinned-packages): New var.
15772 (package--add-to-archive-contents): Obey it (bug#14118).
15774 2013-04-03 Alan Mackenzie <acm@muc.de>
15776 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15777 Also adapt to the new values of element 7 of a parse state.
15779 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15780 parameter `not-in-delimiter'. Handle being inside comment opener.
15781 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15782 character in case we're typing a '*' after a '/'.
15783 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15784 instead by passing the parameter to c-state-pp-to-literal.
15786 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15787 for elt. 7 of a parse state.
15789 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15791 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15792 * international/latin1-disp.el, international/mule-util.el:
15793 * language/cyril-util.el, language/european.el, language/ind-util.el:
15794 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15795 * language/tibetan.el, language/viet-util.el:
15796 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15798 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15800 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15801 (electric-pair-post-self-insert-function): Use it.
15802 (electric-pair-default-inhibit): New function, extracted from
15803 electric-pair-post-self-insert-function.
15805 2013-03-31 Roland Winkler <winkler@gnu.org>
15807 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15809 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15811 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15813 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15815 Un-indent after "pass" and "return" statements (Bug#13888)
15816 * progmodes/python.el (python-indent-block-enders): New var.
15817 (python-indent-calculate-indentation): Use it.
15819 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15821 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15822 defun. Defining it as defalias could introduce too eager
15823 byte-compiler optimization. (Bug#14030)
15825 2013-03-30 Chong Yidong <cyd@gnu.org>
15827 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15829 2013-03-30 Leo Liu <sdl.web@gmail.com>
15831 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15832 (kmacro-execute-from-register): Pass the keyboard macro to
15833 kmacro-call-macro or repeating won't work correctly.
15835 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15837 * progmodes/subword.el: Back to using `forward-symbol'.
15839 * subr.el (forward-whitespace, forward-symbol)
15840 (forward-same-syntax): Move from thingatpt.el.
15842 2013-03-29 Leo Liu <sdl.web@gmail.com>
15844 * kmacro.el (kmacro-to-register): New command.
15845 (kmacro-execute-from-register): New function.
15846 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15848 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15850 * mpc.el: Use defvar-local and setq-local.
15851 (mpc--proc-connect): Connection failures are not bugs.
15852 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15853 (mpc-volume-map): Bind to the up-events.
15855 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15857 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15858 instead of `forward-symbol'.
15860 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15862 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15863 (edebug--recursive-edit): Use it.
15864 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15865 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15867 2013-03-28 Leo Liu <sdl.web@gmail.com>
15869 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15871 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15873 * facemenu.el (list-colors-callback): New defvar.
15874 (list-colors-redisplay): New function.
15875 (list-colors-display): Install list-colors-redisplay as the
15876 revert-buffer-function. (Bug#14063)
15878 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15880 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15881 and suffixes don't overlap (bug#14061).
15883 * case-table.el: Use lexical-binding.
15884 (case-table-get-table): New function.
15885 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15887 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15889 * progmodes/subword.el: Add `superword-mode' to do word motion
15890 over symbol_words (parallels and leverages `subword-mode' which
15891 does word motion inside MixedCaseWords).
15893 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15895 * eshell/em-unix.el: Move su and sudo to...
15896 * eshell/em-tramp.el: ...Eshell tramp module.
15898 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15900 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15901 Change return value to be a sexp. Delay `get-buffer' to after
15902 restoring the desktop (bug#13951).
15904 2013-03-26 Leo Liu <sdl.web@gmail.com>
15906 * register.el: Move semantic tag handling back to
15907 cedet/semantic/senator.el. (Bug#14052)
15909 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15911 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15912 into the prompt either (bug#13963).
15914 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15916 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15917 part of "(error-foo)".
15919 2013-03-24 Juri Linkov <juri@jurta.org>
15921 * replace.el (list-matching-lines-prefix-face): New defcustom.
15922 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15923 `occur-engine' if `face-differs-from-default-p' returns t.
15924 (occur-engine): Add `,' inside backquote construct to evaluate
15925 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15926 Pass `prefix-face' to the functions `occur-context-lines' and
15927 `occur-engine-add-prefix'.
15928 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15929 `prefix-face' and propertize the prefix with `prefix-face'.
15932 2013-03-24 Leo Liu <sdl.web@gmail.com>
15934 * nxml/rng-valid.el (rng-validate-while-idle)
15935 (rng-validate-quick-while-idle): Guard against deleted buffer.
15938 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15939 is the last entry in kill-buffer-hook.
15941 * files.el (kill-buffer-hook): Doc fix.
15943 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15945 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15946 Make it safe-local.
15948 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15950 2013-03-23 Leo Liu <sdl.web@gmail.com>
15952 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15955 * nxml/rng-valid.el (rng-validate-mode)
15956 (rng-after-change-function, rng-do-some-validation):
15957 * nxml/rng-maint.el (rng-validate-buffer):
15958 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15959 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15960 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15961 (nxml-extend-after-change-region): Use with-silent-modifications.
15963 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15966 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15967 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15968 timer-idle-list. (Bug#13999)
15970 2013-03-23 Juri Linkov <juri@jurta.org>
15972 * info.el (info-index-match): New face.
15973 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15974 main pattern and add text properties with the new face to matches
15975 in index entries relative to the beginning of the index entry.
15978 2013-03-21 Eric Ludlam <zappo@gnu.org>
15980 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15981 Inhibit read only while inserting objects.
15983 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15985 * progmodes/cfengine.el: Update docs to mention
15986 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15987 symbol motion. Remove "_" from the word syntax.
15989 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15991 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15992 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15994 2013-03-20 Juri Linkov <juri@jurta.org>
15996 * info.el (Info-next-reference-or-link)
15997 (Info-prev-reference-or-link): New functions.
15998 (Info-next-reference, Info-prev-reference): Use them.
15999 (Info-try-follow-nearest-node): Handle footnote navigation.
16000 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16002 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16004 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16005 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16007 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16009 Suppress unnecessary non-ASCII chatter during build process.
16010 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16011 (batch-skkdic-convert): Suppress most of the chatter.
16012 It's not needed so much now that machines are faster,
16013 and its non-ASCII component was confusing; see Dmitry Gutov in
16014 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16016 2013-03-20 Leo Liu <sdl.web@gmail.com>
16018 * ido.el (ido-chop): Fix bug#10994.
16020 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16022 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16024 (whitespace-color-on, whitespace-color-off):
16025 Use `font-lock-fontify-buffer' (Bug#13817).
16027 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16029 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16030 remapping in mode-line.
16031 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16033 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16035 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16036 value for `whitespace-line' face (Bug#13875).
16037 (whitespace-font-lock-keywords): Change description.
16038 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16039 the constructed keywords instead.
16040 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16042 2013-03-19 Leo Liu <sdl.web@gmail.com>
16044 * progmodes/compile.el (compilation-display-error): New command.
16045 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16048 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16050 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16052 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16054 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16056 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16058 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16060 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16061 * net/tramp-gvfs.el (top):
16062 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16063 (tramp-handle-shell-command): Use it.
16064 (tramp-dissect-file-name): Raise an error when hostname is a
16065 method name, and neither method nor user is specified.
16067 * net/trampver.el: Update release number.
16069 2013-03-18 Leo Liu <sdl.web@gmail.com>
16071 Make sure eldoc can be turned off properly.
16072 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16074 (eldoc-display-message-p): Revert last change.
16075 (eldoc-display-message-no-interference-p)
16076 (eldoc-print-current-symbol-info): Tweak.
16078 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16080 * doc-view.el (doc-view-new-window-function): Check the new window
16081 overlay's display property instead the char property of the
16082 buffer's first char. Use `with-selected-window' instead of
16083 `save-window-excursion' with `select-window'.
16084 (doc-view-document->bitmap): Check the current doc-view overlay's
16085 display property instead the char property of the buffer's first char.
16087 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16089 Automate the build of ja-dic.el (Bug#13984).
16090 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16091 from the input, rather than assume that it's been done for us by the
16092 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16093 the current date into a ja-dic.el comment, as that complicates
16094 regression testing.
16096 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16098 * whitespace.el: Fix double evaluation.
16099 (whitespace-space, whitespace-hspace, whitespace-tab)
16100 (whitespace-newline, whitespace-trailing, whitespace-line)
16101 (whitespace-space-before-tab, whitespace-indentation)
16102 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16104 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16105 (whitespace-color-on): Use a single font-lock-add-keywords call.
16106 Fix double-evaluation of face variables.
16108 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16110 * net/tramp-adb.el (tramp-adb-parse-device-names):
16111 Use `start-process' instead of `call-process'. Otherwise, the
16112 function might be blocked under MS Windows. (Bug#13299)
16114 2013-03-17 Leo Liu <sdl.web@gmail.com>
16116 Extend eldoc to display info in the mode-line. (Bug#13978)
16117 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16118 (eldoc-mode-line-string): New variable.
16119 (eldoc-minibuffer-message): New function.
16120 (eldoc-message-function): New variable.
16121 (eldoc-message): Use it.
16122 (eldoc-display-message-p)
16123 (eldoc-display-message-no-interference-p):
16124 Support eldoc-post-insert-mode.
16126 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16127 (eval-expression): Run it.
16129 2013-03-17 Roland Winkler <winkler@gnu.org>
16131 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16132 strings in the list of return values.
16134 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16136 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16137 radix before checking for HMS forms.
16139 2013-03-16 Leo Liu <sdl.web@gmail.com>
16141 * progmodes/scheme.el: Add indentation and font-locking for λ.
16144 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16146 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16147 token before point (bug#13942).
16149 2013-03-16 Leo Liu <sdl.web@gmail.com>
16151 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16153 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16155 * startup.el (command-line-normalize-file-name): Fix handling of
16156 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16157 <xfq.free@gmail.com> in
16158 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16160 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16162 Sync with Tramp 2.2.7.
16164 * net/trampver.el: Update release number.
16166 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16168 * doc-view.el: Fix bug#13887.
16169 (doc-view-insert-image): Don't modify overlay associated to
16170 non-live windows, and implement horizontal centering of image in
16171 case it's smaller than the window.
16172 (doc-view-new-window-function): Force redisplay of new windows on
16175 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16177 * saveplace.el (save-place-alist-to-file): Don't sort
16178 `save-place-alist', just pretty-print it (bug#13882).
16180 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16182 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16183 Check whether `default-file-name-coding-system' is bound.
16184 It isn't in XEmacs.
16186 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16188 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16189 backquotes for `obsolete' (bug#13929).
16191 * international/mule.el (find-auto-coding): Include file name in
16192 obsolescence warning (bug#13922).
16194 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16196 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16197 for CFEngine 3-specific indentation.
16198 (cfengine3-indent-line): Use it. Fix up category regex.
16199 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16201 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16203 * type-break.el (type-break-file-name):
16204 * textmodes/remember.el (remember-data-file):
16205 * strokes.el (strokes-file):
16206 * shadowfile.el (shadow-initialize):
16207 * saveplace.el (save-place-file):
16208 * ps-bdf.el (bdf-cache-file):
16209 * progmodes/idlwave.el (idlwave-config-directory):
16210 * net/quickurl.el (quickurl-url-file):
16211 * international/kkc.el (kkc-init-file-name):
16212 * ido.el (ido-save-directory-list-file):
16213 * emulation/viper.el (viper-custom-file-name):
16214 * emulation/vip.el (vip-startup-file):
16215 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16216 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16218 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16220 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16221 * language/thai-word.el: Switch to UTF-8.
16223 See ChangeLog.16 for earlier changes.
16225 ;; Local Variables:
16229 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16231 This file is part of GNU Emacs.
16233 GNU Emacs is free software: you can redistribute it and/or modify
16234 it under the terms of the GNU General Public License as published by
16235 the Free Software Foundation, either version 3 of the License, or
16236 (at your option) any later version.
16238 GNU Emacs is distributed in the hope that it will be useful,
16239 but WITHOUT ANY WARRANTY; without even the implied warranty of
16240 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16241 GNU General Public License for more details.
16243 You should have received a copy of the GNU General Public License
16244 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.