1 2014-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3 * simple.el (newline): Add assertions to try and help catch bug#18913.
5 * emulation/cua-base.el (cua-delete-region): Use delete-active-region
7 (cua--last-deleted-region-pos, cua--last-deleted-region-text): Remove.
9 2014-10-31 Eli Zaretskii <eliz@gnu.org>
11 * Makefile.in (repo-update): Fix a typo and slightly reword
14 2014-10-31 Glenn Morris <rgm@gnu.org>
16 * version.el (emacs-bzr-version, emacs-bzr-get-version):
17 Revert 2014-10-31 change.
19 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
21 * version.el: Fix some fallback values to conform to the actual
24 * Makefile.in: Change some production names so they're neutral
25 about the repository type.
27 2014-10-30 Kim F. Storm <storm@cua.dk>
29 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
30 * delsel.el (delete-selection-save-to-register)
31 (delsel--replace-text-or-position): New vars.
32 (delete-active-region): Use them.
33 (delete-selection-repeat-replace-region): New command, moved from
35 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
36 (cua-repeat-replace-region): Move command to delsel.el.
37 (cua--init-keymaps): Update binding accordingly.
38 (cua-mode): Set delete-selection-save-to-register.
40 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
42 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
44 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
46 2014-10-29 Eli Zaretskii <eliz@gnu.org>
48 * progmodes/compile.el (compilation-start):
49 If compilation-scroll-output is non-nil, don't force window-start of
50 the compilation buffer to be at beginning of buffer. (Bug#18874)
52 2014-10-23 Tassilo Horn <tsdh@gnu.org>
54 * doc-view.el (doc-view-open-text): View the document's plain text
55 in the current buffer instead of a new one.
56 (doc-view-toggle-display): Handle the case where the current
57 buffer contains the plain text contents of the document.
58 (doc-view-initiate-display): Don't switch to fallback mode if the
59 user wants to view the doc's plain text. [Backport]
61 2014-10-23 Eli Zaretskii <eliz@gnu.org>
63 * startup.el (fancy-about-text): Read the entire tutorial, not
64 just its first 256 bytes. (Bug#18760)
66 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
68 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
69 * emacs-lisp/cl-extra.el: Add missing provide.
71 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
73 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
74 all args are copyable (bug#18767).
75 (=, <, >, <=, >=): Re-enable the optimization.
77 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
79 * vc/vc-hg.el (vc-hg-log-graph): New var.
80 (vc-hg-print-log): Use it.
81 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
82 graph output (bug#17515).
84 2014-10-20 Juri Linkov <juri@jurta.org>
86 * vc/diff-mode.el (diff-refine-changed): Rename from
87 `diff-refine-change' for consistency with `diff-changed'.
88 (diff-refine-change): Add obsolete face alias. (Bug#10181)
90 * vc/smerge-mode.el (smerge-refined-changed): Rename from
91 `smerge-refined-change'.
92 (smerge-refined-change): Add obsolete face alias.
94 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
96 * subr.el (call-process-shell-command, process-file-shell-command):
97 Make the `args' obsolete (bug#18409).
98 (start-process-shell-command, start-file-process-shell-command):
101 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
103 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
105 2014-10-20 Glenn Morris <rgm@gnu.org>
107 * dired.el (dired-read-regexp): Make obsolete.
108 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
109 (dired-flag-files-regexp):
110 * dired-aux.el (dired-mark-read-regexp):
111 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
113 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
115 * progmodes/python.el (inferior-python-mode): Use add-hook.
117 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
119 2014-10-20 Glenn Morris <rgm@gnu.org>
121 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
122 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
123 * emulation/ws-mode.el: Move to obsolete/. [Backport]
125 2014-10-20 Glenn Morris <rgm@gnu.org>
127 * cus-start.el (history-length): Bump :version. [Backport]
129 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
131 * obsolete/cc-compat.el: Make obsolete (bug#18561).
133 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
135 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
138 2014-10-20 Glenn Morris <rgm@gnu.org>
140 * Version 24.4 released.
142 2014-10-15 Alan Mackenzie <acm@muc.de>
144 * cus-edit.el (custom-command-apply): Specify the return value in
146 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
147 custom-command-apply has returned non-nil.
149 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
151 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
152 Backported (bug#18688).
154 2014-10-14 Eli Zaretskii <eliz@gnu.org>
156 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
157 Force bidi-paragraph-direction to 'left-to-right'. This fixes
158 buffer-menu display when the first buffer happens to start with
161 2014-10-13 Glenn Morris <rgm@gnu.org>
163 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
164 (authors-obsolete-files-regexps): Additions.
165 (authors-no-scan-regexps): New constant.
166 (authors-no-scan-file-p): New function.
167 (authors): Respect authors-no-scan-file-p.
169 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
171 Fix import completion. (Bug#18582)
172 * progmodes/python.el (python-shell-completion-get-completions):
173 Fix import case regexp.
175 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
177 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
178 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
179 * progmodes/prolog.el (prolog-electric--underscore): Same.
181 2014-10-09 Glenn Morris <rgm@gnu.org>
183 * frame.el (display-monitor-attributes-list): Doc tweaks.
185 2014-10-08 Eli Zaretskii <eliz@gnu.org>
187 * faces.el (display-grayscale-p): Mention in the doc string that
188 the argument can be either a display name or a frame.
190 * frame.el (display-pixel-height, display-pixel-width)
191 (display-mm-height, display-mm-width, display-backing-store)
192 (display-save-under, display-planes, display-color-cells)
193 (display-visual-class, display-monitor-attributes-list)
194 (display-screens): Mention in the doc string that the argument can
195 be either a display name or a frame. Improve the docs of the
196 monitor attributes. (Bug#18636)
198 2014-10-06 Martin Rudalics <rudalics@gmx.at>
200 * term.el (term-window-width): Subtract 1 from the width when
201 any fringe has zero width, not just the right fringe. (Bug#18601)
203 2014-10-05 Leo Liu <sdl.web@gmail.com>
205 * imenu.el (imenu-default-goto-function): Fix typo.
207 2014-10-04 Glenn Morris <rgm@gnu.org>
209 * frame.el (frame-monitor-attributes)
210 (display-monitor-attributes-list): Doc fixes.
212 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
214 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
215 (vc-svn-ignore): Use it. (Bug#18619)
217 2014-10-03 Martin Rudalics <rudalics@gmx.at>
219 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
220 In doc-string mention need to set `frame-resize-pixelwise'.
222 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
224 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
225 similarly to Rogers's 2010-06-16 change for the remote case
228 2014-10-01 Glenn Morris <rgm@gnu.org>
230 * emacs-lisp/package.el (package-import-keyring):
231 Create gnupg directory private. (Bug#17625#155)
233 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
235 * progmodes/python.el (python-shell-completion-get-completions):
236 Use python-shell--prompt-calculated-input-regexp from the
237 process buffer (bug#18582).
238 Don't assume that `line' comes from the process buffer.
240 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
242 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
245 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
247 * emacs-lisp/package.el (package-check-signature): Default to nil if
248 GPG is not available.
249 (package-refresh-contents): Don't mess with the keyring if we won't
250 check the signatures anyway.
252 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
254 * window.el (fit-window-to-buffer): When counting buffer width,
255 count the whole visible buffer. Correctly convert the body-height
256 to pixel size for window-text-pixel-size (Bug#18498).
258 2014-09-14 Glenn Morris <rgm@gnu.org>
260 * image.el (image-multi-frame-p): Fix thinko - do not force
261 a delay if none was specified. (Bug#18334)
263 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
265 * window.el (fit-window-to-buffer): Doc fix.
267 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
269 * desktop.el (desktop-create-buffer): Check that buffers are still live
270 before burying them (bug#18373).
272 2014-09-09 Glenn Morris <rgm@gnu.org>
274 * calendar/diary-lib.el (diary-list-entries):
275 Restore 24.3 display behavior. (Bug#18381)
277 2014-09-09 Eli Zaretskii <eliz@gnu.org>
279 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
280 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
281 discrepancy between window-pixel-edges and mouse events, and
282 avoids moving mode line up when the mouse click is on the modeline
283 and no drag is attempted.
285 2014-09-08 Glenn Morris <rgm@gnu.org>
287 * calendar/calendar.el (calendar-basic-setup):
288 Avoid clobbering calendar with diary. (Bug#18381)
290 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
292 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
294 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
296 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
299 2014-09-04 Eli Zaretskii <eliz@gnu.org>
301 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
303 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
305 * emacs-lisp/package.el (package-generate-description-file):
306 Properly quote the arguments (bug#18332). Change second arg.
307 (package--alist-to-plist-args): Rename from package--alist-to-plist and
309 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
310 the *-pkg.el file. Adjust to new calling convention of
311 package-generate-description-file.
313 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
314 (gud-gdb-completions): Remove obsolete workaround.
316 2014-09-02 Eli Zaretskii <eliz@gnu.org>
318 * subr.el (posn-col-row): Revert the change from commit
319 2010-11-13T21:07:58Z!eliz@gnu.org, which
320 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
321 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
322 introduced an off-by-one error in the reported row when there is a
323 header line. (Bug#18384)
325 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
327 * progmodes/python.el (python-indent-post-self-insert-function):
328 Avoid electric colon at beginning-of-defun. (Bug#18228)
330 2014-09-01 Glenn Morris <rgm@gnu.org>
332 * tutorial.el (tutorial--display-changes):
333 Fix 2014-07-29 change. (Bug#18382)
335 2014-08-29 Ken Brown <kbrown@cornell.edu>
337 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
338 the Cygwin-w32 build. (Bug#18347)
340 2014-08-28 Glenn Morris <rgm@gnu.org>
342 * tar-mode.el (tar--extract, tar-extract):
343 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
345 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
347 * emacs-lisp/authors.el (authors-aliases): Addition.
349 * net/tramp-adb.el: Spell author name correctly.
351 2014-08-27 João Távora <joaotavora@gmail.com>
353 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
354 use url-expand-file-name. (Bug#18310)
356 2014-08-25 Glenn Morris <rgm@gnu.org>
358 * emulation/cua-rect.el (cua--highlight-rectangle):
359 Avoid error at point-min. (Bug#18309)
361 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
363 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
364 executable-find (bug#18244).
366 * simple.el (self-insert-uses-region-functions): Defvar.
368 2014-08-13 Leo Liu <sdl.web@gmail.com>
370 * speedbar.el (speedbar-generic-list-tag-p): Allow special
373 2014-08-11 Glenn Morris <rgm@gnu.org>
375 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
377 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
378 chose coding system for writing before backing up, since it causes
379 a more serious problem than the one it solves. (Closes Bug#18141,
382 2014-08-10 Martin Rudalics <rudalics@gmx.at>
384 * window.el (window-total-size): Make doc-string more
387 2014-08-09 Martin Rudalics <rudalics@gmx.at>
389 * window.el (display-buffer-below-selected): Restore original
390 behavior if buffer is already displayed in the window below the
391 selected one (Bug#18181).
393 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
395 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
398 2014-08-08 Eli Zaretskii <eliz@gnu.org>
400 * info.el (info): Doc fix.
402 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
404 * info.el (Info-mode-map): Override a global down-mouse-2 binding
407 2014-08-05 Eli Zaretskii <eliz@gnu.org>
409 * simple.el (default-line-height): A floating-point value of
410 line-spacing means a fraction of the default frame font's height,
411 not of the font currently used by the 'default' face.
412 Truncate the pixel value, like the display engine does.
413 (window-screen-lines): Use window-inside-pixel-edges for
414 determining the window height in pixels. (Bug#18195)
416 2014-07-29 Eli Zaretskii <eliz@gnu.org>
418 * tutorial.el (tutorial--display-changes): Accept punctuation
419 characters before the key binding. (Bug#18146)
421 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
423 * doc-view.el (doc-view-open-text): Don't require that the
424 document is saved in a file (e.g., email attachment).
426 2014-07-27 Eli Zaretskii <eliz@gnu.org>
428 * window.el (window--pixel-to-total): Use FRAME's root window, not
429 that of the selected frame. (Bug#18112, Bug#16674)
431 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
433 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
436 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
438 * progmodes/python.el (inferior-python-mode): Doc fix.
440 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
442 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
443 not a character, ignore it instead of raising an error.
445 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
447 * calendar/todo-mode.el: Fix handling of marked items and make
448 minor code improvements.
449 (todo-edit-item): If there are marked items, ensure user can only
450 invoke editing commands that work with marked items.
451 (todo-edit-item--text): When there are marked items, make it a
452 noop if invoked with point not on an item; otherwise, ensure it
453 applies only to item at point.
454 (todo-item-undone): If there are marked not-done items, return
455 point to its original position before signaling user error.
456 (todo--user-error-if-marked-done-item): New function.
457 (todo-edit-item--header, todo-edit-item--diary-inclusion)
458 (todo-item-done): Use it.
460 2014-07-25 Glenn Morris <rgm@gnu.org>
462 * files.el (toggle-read-only): Re-add basic doc-string.
463 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
465 * progmodes/prolog.el (prolog-mode-keybindings-edit):
466 Replace missing `switch-to-prolog' with `run-prolog'.
467 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
469 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
471 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
472 of file-wide setting when changing category-wide setting.
474 2014-07-21 Glenn Morris <rgm@gnu.org>
476 * progmodes/hideif.el (hide-ifdef-mode-submap):
477 Also substitute read-only-mode.
478 * bindings.el (mode-line-toggle-read-only):
479 * bs.el (bs-toggle-readonly):
480 * buff-menu.el (Buffer-menu-toggle-read-only):
481 * dired.el (dired-toggle-read-only):
482 * files.el (view-read-only, find-file-read-only)
483 (find-file-read-only-other-window)
484 (find-file-read-only-other-frame):
485 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
486 Doc fixes re toggle-read-only.
488 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
490 * progmodes/python.el: Add comment about pipe buffering and
491 solutions for missing/delayed output in inferior Python shells.
494 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
496 * progmodes/python.el (python-mode): Don't set
497 mode-require-final-newline. (Bug#17990)
499 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
501 Make python.el work with IPython automatically. (Bug#15510)
502 * progmodes/python.el:
503 (python-shell-completion-setup-code): New value supporting iPython.
504 (python-shell-completion-string-code): New value supporting iPython.
505 (python-shell-completion-get-completions): Use them.
506 (python-shell-completion-module-string-code): Make obsolete.
507 (python-shell-prompt-input-regexps)
508 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
509 (python-shell-output-filter): Fix comment typo.
511 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
513 Fix Python shell prompts detection for remote hosts.
514 * progmodes/python.el (python-shell-prompt-detect):
515 Replace call-process with process-file and make it more robust.
517 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
519 Autodetect Python shell prompts. (Bug#17370)
520 * progmodes/python.el:
521 (python-shell-interpreter-interactive-arg)
522 (python-shell-prompt-detect-enabled)
523 (python-shell-prompt-detect-failure-warning)
524 (python-shell-prompt-input-regexps)
525 (python-shell-prompt-output-regexps): New vars.
526 (python-shell-prompt-calculated-input-regexp)
527 (python-shell-prompt-calculated-output-regexp): New vars.
528 (python-shell-get-process-name)
529 (python-shell-internal-get-process-name)
530 (python-shell-output-filter)
531 (python-shell-completion-get-completions): Use them.
532 (python-shell-prompt-detect)
533 (python-shell-prompt-validate-regexps): New functions.
534 (python-shell-prompt-set-calculated-regexps): New function.
535 (inferior-python-mode): Use it. Also honor overridden
536 python-shell-interpreter and python-shell-interpreter-args.
537 (python-shell-make-comint): Honor overridden
538 python-shell-interpreter and python-shell-interpreter-args.
539 (python-shell-get-or-create-process): Make it testable by allowing
540 to call run-python non-interactively.
541 (python-util-valid-regexp-p): New function.
542 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
543 (python-shell-prompt-output-regexp)
544 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
546 2014-07-16 Glenn Morris <rgm@gnu.org>
548 * desktop.el (after-init-hook): Disable startup frame restoration
549 in non-graphical situations. (Bug#17693)
551 2014-07-14 Glenn Morris <rgm@gnu.org>
553 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
554 if it was "empty", or used for a different set of files. (Bug#17884)
556 2014-07-13 Eli Zaretskii <eliz@gnu.org>
558 * bindings.el (mode-line-remote): If default-directory is not a
559 string, don't call file-remote-p on it; instead state in the
560 help-echo that it is nil. (Bug#17986)
562 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
564 Fix bug: C-x v v discarded existing log message (Bug#17884).
565 * vc/vc-dispatcher.el (vc-log-edit):
566 Don't clobber an already-existing log message.
568 2014-07-10 Glenn Morris <rgm@gnu.org>
570 * vc/log-edit.el (log-edit-changelog-entries):
571 Check for a visited-but-never-saved ChangeLog.
573 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
575 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
576 a non-existing file (bug#17970).
578 * faces.el (face-name): Undo last change.
579 (x-resolve-font-name): Don't call face-name (bug#17956).
581 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
583 Fix dedenters and electric colon handling. (Bug#15163)
585 * progmodes/python.el
586 (python-rx-constituents): Add dedenter and block-ender.
587 (python-indent-dedenters, python-indent-block-enders): Delete.
588 (python-indent-context): Return new case for dedenter-statement.
589 (python-indent-calculate-indentation): Handle new case.
590 (python-indent-calculate-levels): Fix levels calculation for
592 (python-indent-post-self-insert-function): Fix colon handling.
593 (python-info-dedenter-opening-block-message): New function.
594 (python-indent-line): Use it.
595 (python-info-closing-block)
596 (python-info-closing-block-message): Remove.
597 (python-info-dedenter-opening-block-position)
598 (python-info-dedenter-opening-block-positions)
599 (python-info-dedenter-statement-p): New functions.
601 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
603 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
604 the middle of a line (bug#17896).
606 2014-07-08 Juri Linkov <juri@jurta.org>
608 * startup.el (command-line): Append displaying the warning about
609 the errors in the init file to the end of `after-init-hook'.
612 2014-07-08 Juri Linkov <juri@jurta.org>
614 * faces.el (face-name): Return input arg `face' as is
615 when it's not a symbol.
616 (x-resolve-font-name): Don't check if the face is a symbol.
619 2014-07-08 Juri Linkov <juri@jurta.org>
621 * facemenu.el (list-colors-print): In help-echo format use %.2f
622 instead of %d because now HSV values are floating-point components
625 2014-07-06 Glenn Morris <rgm@gnu.org>
627 * emulation/cua-rect.el (cua--activate-rectangle):
628 Avoid setting cua--rectangle to nil. (Bug#17877)
630 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
632 * calendar/todo-mode.el: Fix wrong-type-argument error when
633 marking multiple consecutive items.
634 (todo-toggle-mark-item): Don't try to mark the empty lines at the
635 end of the todo and done items sections. Note in doc string that
636 items marked by passing a numeric prefix argument can include the
637 last todo and first done items.
638 (todo-mark-category): Don't try to mark the empty line between the
639 todo and done items sections.
641 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
643 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
644 proper Lisp quoting (bug#17934).
646 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
647 require-final-newline since prog-mode already took care of it (bug#17947).
649 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
651 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
652 refer to the Todo mode Info manual. Update the comment on
654 (todo-find-filtered-items-file): Add todo-prefix overlays.
655 (todo-filter-items): Reorder a let-bound variable to avoid a
656 wrong-type-argument error on canceling the file choice dialog.
658 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
660 * progmodes/octave.el (inferior-octave-mode):
661 Set comint-input-ring-size to a number (bug#17912).
663 2014-07-03 Juri Linkov <juri@jurta.org>
665 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
666 and `isearch-mode' associated with nil. (Bug#17849)
668 2014-07-02 Juri Linkov <juri@jurta.org>
670 * desktop.el (desktop-save): Rename arg `auto-save' to
671 `only-if-changed'. Doc fix. (Bug#17873)
673 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
675 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
676 Use insert-for-yank (bug#17271).
678 2014-07-02 Leo Liu <sdl.web@gmail.com>
680 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
681 Support lexical-binding.
683 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
685 * vc/log-edit.el (log-edit-goto-eoh): New function.
686 (log-edit--match-first-line): Use it (bug#17861).
688 2014-07-01 Glenn Morris <rgm@gnu.org>
690 * vc/log-edit.el (log-edit-hook): Add missing :version.
692 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
694 * progmodes/python.el (python-indent-post-self-insert-function):
695 Enhancements to electric indentation behavior inside
698 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
700 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
701 buffer-invisibility-spec (bug#17867).
703 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
705 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
708 2014-06-29 Glenn Morris <rgm@gnu.org>
710 * cus-edit.el (help):
711 * finder.el (finder-known-keywords):
712 * help.el (help-for-help-internal):
713 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
714 (ediff-redraw-registry-buffer):
715 * vc/ediff-ptch.el (ediff-patch-file-internal):
716 Doc fixes re "online" help. (Bug#17803)
718 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
719 (idlwave-mode): Doc URL update.
721 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
723 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
724 account for file-wide setting of todo-top-priorities-overrides.
725 Make code a bit cleaner.
727 2014-06-27 Leo Liu <sdl.web@gmail.com>
729 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
731 2014-06-27 Glenn Morris <rgm@gnu.org>
733 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
735 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
737 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
738 category-wide setting of todo-top-priorities-overrides, check for
739 a file-wide setting and fontify accordingly.
741 2014-06-26 Glenn Morris <rgm@gnu.org>
743 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
745 2014-06-26 Daiki Ueno <ueno@gnu.org>
747 * emacs-lisp/package.el (package--check-signature):
748 If package-check-signature is allow-unsigned, don't signal error when
749 we can't verify signature because of missing public key
750 (backport for bug#17625).
752 2014-06-26 Glenn Morris <rgm@gnu.org>
754 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
755 Remove outdated declaration.
757 * emacs-lisp/authors.el (authors-valid-file-names)
758 (authors-renamed-files-alist): Additions.
760 2014-06-25 Leo Liu <sdl.web@gmail.com>
762 * textmodes/picture.el (picture-set-tab-stops):
763 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
764 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
766 * progmodes/asm-mode.el (asm-calculate-indentation):
767 Use indent-next-tab-stop.
769 * indent.el (indent-accumulate-tab-stops): New function.
771 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
773 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
774 (package-desc-status): Obey it.
776 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
778 * calendar/todo-mode.el: Fix two bugs.
779 (todo-insert-item--basic): If user cancels item insertion to
780 another category before setting priority, show original category
781 whether it is in the same or a different file.
782 (todo-set-item-priority): After selecting category, instead of
783 moving point to top, which extends an active region, restore it.
785 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
787 * help-fns.el (describe-function-1): Check file-name is a string before
788 calling help-fns--autoloaded-p (bug#17564).
790 2014-06-24 Juri Linkov <juri@jurta.org>
792 * desktop.el (desktop-auto-save-enable)
793 (desktop-auto-save-disable): New functions.
794 (desktop-save-mode, desktop-auto-save-timeout): Use them.
795 (desktop-read): Disable the autosave before loading the desktop,
796 and enable afterwards. (Bug#17351)
798 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
800 Fix some indentation problem with \; and pipes (bug#17842).
801 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
802 (sh-smie--default-forward-token, sh-smie--default-backward-token):
804 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
805 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
806 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
808 2014-06-24 Eli Zaretskii <eliz@gnu.org>
810 * international/fontset.el (script-representative-chars):
811 Add representative characters for scripts added in Unicode 7.0.
812 (otf-script-alist): Synchronize with the latest registry of OTF
815 * international/characters.el (char-script-table): Update for
816 scripts added and codepoint ranges changed in Unicode 7.0.
818 2014-06-23 Leo Liu <sdl.web@gmail.com>
820 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
821 tab-stop-list to nil. (Bug#16381)
823 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
824 (indent-rigidly-left-to-tab-stop)
825 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
826 (move-to-tab-stop): Change callers.
828 2014-06-22 Eli Zaretskii <eliz@gnu.org>
830 * skeleton.el (skeleton-insert): Yet another fix of the doc string
831 wrt behavior of \n as the first/last element of a skeleton.
833 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
835 * net/tramp-adb.el (tramp-adb-handle-process-file):
836 * net/tramp-sh.el (tramp-sh-handle-process-file):
837 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
838 the output buffer when DISPLAY is non-nil. (Bug#17815)
840 2014-06-21 Glenn Morris <rgm@gnu.org>
842 * play/landmark.el (landmark-move-down, landmark-move-up):
843 Fix 2007-10-20 change - preserve horizontal position.
845 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
847 Fix completion retrieval parsing (bug#17209).
848 * progmodes/python.el (python-mode):
849 (python-util-strip-string): New function.
850 (python-shell-completion-get-completions): Use it.
852 2014-06-21 Eli Zaretskii <eliz@gnu.org>
854 * skeleton.el (skeleton-insert): Fix last change.
856 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
858 Enhancements for outline integration (bug#17796).
859 * progmodes/python.el (python-mode): Properly set
860 outline-heading-end-regexp so that comments after colons for
861 defuns are supported.
863 2014-06-21 Eli Zaretskii <eliz@gnu.org>
865 * skeleton.el (skeleton-insert): Doc fix.
867 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
869 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
870 (smie-config-guess): Use smie-config-local so the rules are obeyed
873 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
874 since it's already done inside the loop (bug#17819).
876 2014-06-20 Martin Rudalics <rudalics@gmx.at>
878 * mouse.el (mouse-drag-line): Re-remove code initially removed
879 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
882 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
884 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
885 align with the surrounding parent (bug#17721).
887 2014-06-20 Eli Zaretskii <eliz@gnu.org>
889 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
891 (texinfo-insert-block, texinfo-insert-@end)
892 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
893 local setting of skeleton-end-newline by adding an explicit \n to
894 the skeletons where appropriate. (Bug#17801)
896 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
898 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
899 (smie-indent--hanging-p): Use it.
900 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
902 2014-06-20 Leo Liu <sdl.web@gmail.com>
904 * simple.el (read-quoted-char): Don't let help chars pop up help
907 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
909 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
912 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
914 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
915 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
918 2014-06-18 Eli Zaretskii <eliz@gnu.org>
920 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
921 and later. (Bug#17790)
923 2014-06-18 Juri Linkov <juri@jurta.org>
925 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
926 to `soft'. (Bug#17554)
928 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
930 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
933 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
935 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
936 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
938 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
940 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
941 `unread-command-events'.
943 2014-06-14 Glenn Morris <rgm@gnu.org>
945 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
946 Replace delete-duplicates and mapcan by cl- versions throughout.
947 And cl-macroexpand-all by macroexpand-all.
948 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
950 2014-06-14 Eli Zaretskii <eliz@gnu.org>
952 * subr.el (posn-col-row): Doc fix. (Bug#17768)
954 2014-06-14 Juri Linkov <juri@jurta.org>
956 * bindings.el: Put `ascii-character' property on keypad keys
957 mapped to characters. (Bug#17759)
959 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
961 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
962 bumping forward into a closing paren (bug#17761).
964 * term/xterm.el (xterm--version-handler): Work around for OSX
965 Terminal.app (bug#17607).
967 2014-06-08 Glenn Morris <rgm@gnu.org>
969 * startup.el (initial-buffer-choice): Doc fix.
970 Reset :version (adding an option does not merit a :version bump).
972 * bookmark.el (bookmark-load):
973 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
975 2014-06-06 Juri Linkov <juri@jurta.org>
977 * desktop.el: Activate auto-saving on window configuration changes.
978 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
979 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
980 (desktop-auto-save-set-timer): Change REPEAT arg of
981 `run-with-idle-timer' from t to nil.
982 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
984 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
986 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
987 vc-hg-command (bug#17570).
989 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
991 * international/mule-cmds.el (ucs-names): Add special entry for BEL
994 2014-06-06 Glenn Morris <rgm@gnu.org>
996 * startup.el (window-setup-hook): Doc fix.
998 2014-06-05 Glenn Morris <rgm@gnu.org>
1000 * emacs-lisp/package.el (package-check-signature)
1001 (package-unsigned-archives): Doc fixes.
1003 2014-06-03 Martin Rudalics <rudalics@gmx.at>
1005 * window.el (display-buffer-use-some-window): Don't make window
1006 used smaller than it was before (Bug#17671).
1008 2014-06-03 Eli Zaretskii <eliz@gnu.org>
1010 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1011 'redisplay' instead of '(sit-for 0)'.
1013 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
1015 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
1018 2014-06-03 Glenn Morris <rgm@gnu.org>
1020 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1022 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1024 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1026 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1028 * simple.el (keyboard-quit): Force update of mode lines, to remove
1029 the "Def" indicator, if we were defining a macro. (Bug#17615)
1031 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1033 * minibuffer.el (minibuffer-force-complete-and-exit):
1034 Obey minibuffer-default (bug#17545).
1036 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1039 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1041 * subr.el (set-transient-map): Don't wait for some "nested"
1042 transient-map to finish if we're only supposed to be active for
1043 the next command (bug#17642).
1045 2014-05-31 Leo Liu <sdl.web@gmail.com>
1047 * emacs-lisp/gv.el (window-buffer, window-display-table)
1048 (window-dedicated-p, window-hscroll, window-point, window-start):
1049 Fix gv-expander. (Bug#17630)
1051 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1053 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1056 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1057 for the single comma, since ", " is *very* common in normal French text
1060 2014-05-30 Glenn Morris <rgm@gnu.org>
1062 * emacs-lisp/package.el (package-check-signature)
1063 (package-unsigned-archives): Fix :version.
1065 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1067 * subr.el (sit-for): Don't run input-methods (bug#15614).
1069 2014-05-28 Glenn Morris <rgm@gnu.org>
1071 * cus-start.el: Fix some :version numbers.
1073 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1075 * simple.el (deactivate-mark): Set mark-active to nil even if
1076 deactivation is done via setting transient-mark-mode to nil,
1077 since one is buffer-local and the other is global.
1079 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1080 there can't be more than 2 arguments (bug#17584).
1082 2014-05-27 Glenn Morris <rgm@gnu.org>
1084 * simple.el (filter-buffer-substring-functions)
1085 (filter-buffer-substring-function, buffer-substring-filters)
1086 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1088 * minibuffer.el (completion-in-region-functions, completion-in-region)
1089 (completion--in-region): Doc fixes.
1091 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1092 (expand-abbrev, abbrev--default-expand): Doc fixes.
1094 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1096 Include sources used to create macuvs.h.
1097 * international/README: Refer to the Unicode Terms of Use rather
1098 than copying it bodily here, as that simplifies maintenance.
1100 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1102 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1104 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1106 * window.el (window--dump-frame): Remove interactive
1109 2014-05-23 Glenn Morris <rgm@gnu.org>
1111 * hippie-exp.el (he-line-search-regexp):
1112 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1114 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1116 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1117 to avoid errors when trying to create or visit a file foo.todo
1118 located outside to todo-directory, and to allow having such files
1119 without them being tied to Todo mode (bug#17482).
1120 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1121 (todo-archive-done-item, todo-find-filtered-items-file)
1122 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1123 (todo-category-completions, todo-read-category): When visiting a
1124 Todo file, make sure we're in the right mode and the buffer local
1126 (todo-make-categories-list, todo-reset-nondiary-marker)
1127 (todo-reset-done-string, todo-reset-comment-string):
1128 After processing all Todo files, kill the buffers of those files that
1129 weren't being visited before the processing.
1130 (todo-display-as-todo-file, todo-add-to-buffer-list)
1131 (todo-visit-files-commands): Comment out.
1132 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1133 (auto-mode-alist): Remove add-to-list calls making Todo file
1134 extensions unrestrictedly tied to Todo modes.
1136 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1138 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1139 (advice-function-member-p): Tell it to check both names and functions
1141 (advice--add-function): Adjust call accordingly.
1143 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1145 * calendar/todo-mode.el: Miscellaneous bug fixes.
1146 (todo-delete-file): When deleting an archive but not its todo
1147 file, make sure to update the todo file's category sexp.
1148 (todo-move-category): Keep the moved category's name unless the
1149 file moved to already has a category with that name. If the
1150 numerically last category of the source file was moved, make the
1151 first category current to avoid selecting a nonexisting category.
1152 (todo-merge-category): Fix implementation to make merging to a
1153 category in another file work as documented. Eliminate now
1154 insufficient and unnecessary renaming of archive category, correct
1155 document string accordingly, and clarify it. If the numerically
1156 last category of the source file was merged, make the first
1157 category current to avoid selecting a nonexisting category.
1158 (todo-archive-done-item): When there are marked items and point
1159 happens to be on an unmarked item, ignore the latter. Don't leave
1160 point below last item after archiving marked items.
1161 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1162 from an archive with only one category deletes the archive only
1163 when the category is empty after unarchiving. Make sure the todo
1164 file's category sexp is updated.
1165 (todo-read-file-name): Allow an existing file name even when it is
1166 not required (todo-move-category needs this to work as documented).
1167 (todo-add-file): Call todo-validate-name to reject the name of an
1168 existing todo file (needed due to fix in todo-read-file-name).
1169 (todo-reset-nondiary-marker): Also reset in filtered items files.
1170 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1171 regexp filtered items files.
1172 (todo-reset-highlight-item): Also reset in filtered items files.
1173 Fix incorrect variable reference in document string.
1175 2014-05-22 Glenn Morris <rgm@gnu.org>
1177 * window.el (window--dump-frame): Avoid error in --without-x builds.
1179 2014-05-21 Glenn Morris <rgm@gnu.org>
1181 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1183 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1185 * frame.el (set-frame-font): Doc fix.
1187 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1189 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1191 * emacs-lisp/package.el (package--download-one-archive):
1192 Use `write-region' instead of `save-buffer' to avoid running various
1194 (describe-package-1): Same. Insert newline at the end of the
1195 buffer if appropriate.
1197 2014-05-20 Juri Linkov <juri@jurta.org>
1199 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1200 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1201 Add more modifiers: meta, control, shift, hyper, super, alt.
1204 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1205 to allow changing its value with `set-variable'.
1207 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1209 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1211 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1213 (scheme-mode-variables): Set syntax-propertize-function instead of
1214 font-lock-syntactic-face-function.
1215 (scheme-font-lock-syntactic-face-function): Delete.
1217 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1219 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1221 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1224 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1226 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1227 for a temporary file name.
1229 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1231 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1233 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1235 * net/dbus.el (dbus-init-bus, dbus-call-method)
1236 (dbus-call-method-asynchronously, dbus-send-signal)
1237 (dbus-method-return-internal, dbus-method-error-internal):
1238 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1240 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1242 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1243 methods which do not have a doc string. (Bug#17490)
1245 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1246 Stefan Monnier <monnier@iro.umontreal.ca>
1248 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1251 2014-05-14 Glenn Morris <rgm@gnu.org>
1253 * vc/emerge.el (emerge-temp-file-prefix):
1254 Make pointless option obsolete.
1255 (emerge-temp-file-mode): Make non-functional option obsolete.
1257 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1259 * net/browse-url.el (browse-url):
1260 Use `unhandled-file-name-directory' when setting `default-directory',
1261 in order to circumvent stalled remote connections. (Bug#17425)
1263 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1265 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1266 into autoloading just because of a silly indirection.
1268 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1270 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1272 2014-05-11 Glenn Morris <rgm@gnu.org>
1274 * emacs-lisp/find-gc.el: Move to ../admin.
1276 2014-05-10 Glenn Morris <rgm@gnu.org>
1278 * printing.el (pr-version):
1279 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1281 * net/browse-url.el (browse-url-mosaic):
1282 Create /tmp/Mosaic.PID as a private file.
1284 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1286 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1287 (advice--member-p): If name is given, only compare the name.
1288 (advice--remove-function): Don't stop at the first match.
1289 (advice--normalize-place): New function.
1290 (add-function, remove-function): Use it.
1291 (advice--add-function): Pass the name, if any, to
1292 advice--remove-function.
1294 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1296 * electric.el (electric-indent-post-self-insert-function): Don't use
1297 `pos' after modifying the buffer (bug#17449).
1299 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1301 * subr.el (function-put): Add function.
1303 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1305 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1306 Correct argument list to conform to todo-insert-item--basic.
1308 2014-05-09 Glenn Morris <rgm@gnu.org>
1310 * files.el (cd-absolute): Test if directory is accessible
1311 rather than executable. (Bug#17330)
1313 * progmodes/compile.el (recompile):
1314 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1316 2014-05-08 Juri Linkov <juri@jurta.org>
1318 * dired.el (dired-check-switches, dired-switches-recursive-p):
1319 New functions. (Bug#17218)
1320 (dired-switches-escape-p, dired-move-to-end-of-filename):
1321 Use `dired-check-switches'.
1322 (dired-insert-old-subdirs, dired-build-subdir-alist)
1323 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1325 2014-05-08 Glenn Morris <rgm@gnu.org>
1327 * net/browse-url.el (browse-url-mosaic):
1328 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1329 This is CVE-2014-3423.
1331 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1333 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1334 (xterm-mouse--read-event-sequence-1000): Return nil if something
1336 (xterm-mouse-event): Propagate it.
1337 (xterm-mouse-translate-1): Handle it.
1339 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1341 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1342 four slots of the parameter list are filled, make sure to pass it
1343 to the argument list of todo-insert-item--basic.
1345 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1347 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1348 Add optional `seen' argument to detect and break infinite loops.
1350 2014-05-06 Eli Zaretskii <eliz@gnu.org>
1352 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1353 (trace-unsafe, trace-use-tree): Make parentheses style be
1354 according to Emacs style.
1356 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
1358 * net/tramp-sh.el (tramp-remote-process-environment):
1359 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1361 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1362 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
1363 extra "PSx=..." commands.
1364 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1367 (tramp-uudecode): Replace the hard-coded temporary file name by a
1369 (tramp-remote-coding-commands): Enhance docstring.
1370 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1372 This is CVE-2014-3424.
1374 2014-05-06 Glenn Morris <rgm@gnu.org>
1376 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1377 (find-gc-source-files): Update some names.
1378 (trace-call-tree): Simplify and update.
1379 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1380 This is CVE-2014-3422.
1382 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1384 * minibuffer.el (completion--try-word-completion): Revert fix for
1385 Bug#15980 (bug#17375).
1387 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1388 Always store button numbers in the same way in xterm-mouse-last;
1389 Don't burp is xterm-mouse-last is not set as expected.
1390 Never return negative indices.
1392 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
1394 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1395 Backtrack one char if the global/char-literal var matcher hits
1396 inside a string. The next char could be the beginning of an
1397 expression expansion.
1399 2014-05-05 Glenn Morris <rgm@gnu.org>
1401 * help-fns.el (describe-function-1): Test for an autoload before a
1402 macro, since `macrop' works on autoloads. (Bug#17410)
1404 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1406 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1408 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1409 Make sure the new point we return is within the new string (bug#17239).
1411 2014-05-03 Eli Zaretskii <eliz@gnu.org>
1413 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1415 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1417 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1418 Use nil rather than `default' for the "default" appearance (bug#17388).
1419 * vc/ediff-util.el (ediff-inferior-compare-regions)
1420 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1421 a misleading `default' value when it's really a boolean.
1422 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1423 overlay is not visible.
1425 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1427 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1428 (todo-menu): Uncomment and update.
1430 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1432 * calendar/todo-mode.el: Reimplement item editing to have the same
1433 basic user interface as item insertion, and make small UI and
1434 larger internal improvements to the latter.
1435 (todo-insert-item): Add reference to the Todo mode user manual to
1436 the documentation string.
1437 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1438 adjust all callers. Change signature to combine diary and
1439 nonmarking arguments. Incorporate functionality of deleted item
1440 copying command and add error checking. Remove detailed
1441 descriptions of the arguments from the documentation string, since
1442 this is treated in the Todo mode user manual.
1443 (todo-copy-item, todo-edit-multiline-item)
1444 (todo-edit-done-item-comment, todo-edit-item-header)
1445 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1446 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1447 (todo-edit-item-date-year, todo-edit-item-date-month)
1448 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1450 (todo-edit-item): Reimplement as wrapper command for
1451 todo-edit-item--next-key and make it distinguish done and not done
1453 (todo-edit-item--text): New function, replacing old command
1454 todo-edit-item and incorporating deleted commands
1455 todo-edit-multiline-item and todo-edit-done-item-comment.
1456 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1457 Use only numeric value of prefix argument. Remove detailed
1458 descriptions of the arguments from the documentation string, since
1459 this is treated in the Todo mode user manual.
1460 (todo-edit-item--diary-inclusion): New function, replacing old
1461 command todo-edit-item-diary-inclusion and incorporating and fixing
1462 functionality of deleted command todo-edit-item-diary-nonmarking,
1463 making sure to remove todo-nondiary-marker when adding
1464 diary-nonmarking-symbol.
1465 (todo-edit-category-diary-inclusion): Make sure to delete
1466 diary-nonmarking-symbol when adding todo-nondiary-marker.
1467 (todo-edit-category-diary-nonmarking): Fix indentation.
1468 (todo-insert-item--parameters): Group diary and nonmarking
1469 parameters together.
1470 (todo-insert-item--apply-args): Adjust to signature of
1471 todo-insert-item--basic and incorporate copy parameter.
1472 Make small code improvements.
1473 (todo-insert-item--next-param): Improve prompt and adjust it to
1474 new parameter grouping. Remove obsolete code.
1475 (todo-edit-item--param-key-alist)
1476 (todo-edit-item--date-param-key-alist)
1477 (todo-edit-done-item--param-key-alist): New defconsts.
1478 (todo-edit-item--prompt): New variable.
1479 (todo-edit-item--next-key): New function.
1480 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1481 Remove bindings of deleted commands.
1483 2014-05-02 Leo Liu <sdl.web@gmail.com>
1485 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1487 2014-05-01 Glenn Morris <rgm@gnu.org>
1489 * allout-widgets.el (allout-widgets-tally)
1490 (allout-decorate-item-guides):
1491 * menu-bar.el (menu-bar-positive-p):
1492 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1493 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1494 * progmodes/js.el (js--inside-param-list-p)
1495 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1496 * progmodes/prolog.el (region-exists-p):
1497 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1498 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1499 Doc fixes (replace `iff').
1501 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1503 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1505 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1507 * dired.el (dired-initial-position-hook, dired-initial-position):
1510 2014-04-29 Glenn Morris <rgm@gnu.org>
1512 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1514 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
1516 * faces.el (face-spec-recalc): Apply X resources only after the
1517 defface spec has been applied. Thus, X resources are no longer
1518 overridden by the defface spec which also fixes issues on win32 where
1519 the toolbar coloring was wrong because it is set through X resources
1520 and was (wrongfully) overridden. (Bug#16694)
1522 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1524 * textmodes/rst.el (electric-pair-pairs): Declare.
1525 (rst-mode): Set it (bug#17131).
1527 2014-04-27 Juri Linkov <juri@jurta.org>
1529 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1530 and `print-level' to nil. (Bug#17351)
1532 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1534 * battery.el (battery-update): Handle the case where battery
1535 status is "N/A" (bug#17319).
1537 2014-04-24 Eli Zaretskii <eliz@gnu.org>
1539 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1540 Use equal-including-properties to compare help-echo strings (bug#17331).
1542 2014-04-24 Leo Liu <sdl.web@gmail.com>
1544 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1545 Fix syntax for @. (Bug#17325)
1547 2014-04-24 Daniel Colascione <dancol@dancol.org>
1549 * emacs-lisp/cl.el (gv): Require gv early to break eager
1550 macro-expansion cycles.
1552 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1554 * simple.el (region-active-p): Check there's a mark (bug#17324).
1556 * simple.el (completion-list-mode-map): Use choose-completion for the
1557 mouse binding as well (bug#17302).
1558 (completion-list-mode, completion-setup-function): Adjust docstring and
1559 echo area message accordingly.
1560 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1561 calling convention of choose-completion.
1562 * comint.el (comint-dynamic-list-completions):
1563 * term.el (term-dynamic-list-completions): Accept choose-completion.
1565 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1566 &, |, +, - and * can't be a division (bug#17317).
1568 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1570 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1571 features on gnome-terminal (bug#16988).
1573 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1575 * dired.el (dired-insert-set-properties): Do not consider
1576 subdirectory headings and empty lines to be information that
1577 `dired-hide-details-mode' should hide. (Bug#17228)
1579 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1581 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1582 Remove test messages.
1583 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1586 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1588 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1589 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1591 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1593 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
1595 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1596 Set "IFS=" when using read builtin, in order to preserve spaces in
1597 the file name. Add test messages for hunting a bug on hydra.
1598 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1600 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1602 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1603 Don't prettify a word within a symbol.
1605 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
1607 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1610 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1612 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1613 assignments such as "case=hello" (bug#17297).
1615 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1617 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1619 (tramp-file-name-handler, tramp-completion-file-name-handler):
1620 Revert patch from 2014-04-10, it isn't necessary anymore.
1621 (tramp-autoload-file-name-handler)
1622 (tramp-register-autoload-file-name-handlers): New defuns.
1623 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1624 (tramp-register-file-name-handlers): Remove also
1625 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1626 Do not autoload its invocation, but eval it after loading of 'tramp.
1628 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1630 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1632 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1634 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
1635 was done (bug#17264).
1636 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
1639 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1640 here-documents (bug#17262).
1642 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1644 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1645 Provide doc strings, as required by snarf-documentation.
1647 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1649 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1650 arg of overlays-at. Use `invisible-p'.
1652 * obsolete/lucid.el (extent-at):
1653 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1655 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1657 2014-04-14 João Távora <joaotavora@gmail.com>
1659 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1662 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1664 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1665 Use mapc to loop over a vector. (Bug#17257).
1667 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
1669 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1670 patch, there are new problems with file names containing spaces.
1671 Get rid of backticks. (Bug#17238)
1673 2014-04-13 João Távora <joaotavora@gmail.com>
1675 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1678 2014-04-13 Eli Zaretskii <eliz@gnu.org>
1680 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1681 (blink-cursor-mode): Mention customization variables and the
1682 effect of 'blink-cursor-blinks'.
1684 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
1686 * simple.el (undo): Prevent insertion of identity mapping into
1687 undo-equiv-table so as undo-only does not inf loop in the presence
1688 of consecutive nils in undo list.
1690 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1692 * faces.el (make-face): Deprecate optional argument as it is no
1693 longer needed/used since the conditional X resources handling
1694 has been pushed down to make-face-x-resource-internal itself.
1695 (make-empty-face): Don't pass optional argument to make-face.
1697 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1699 * international/characters.el <standard-case-table>: Add entries
1700 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1701 Set category of Coptic characters be 'g' (Greek).
1703 2014-04-12 Leo Liu <sdl.web@gmail.com>
1705 * progmodes/octave.el (completion-table-with-cache): Define if not
1707 (octave-goto-function-definition)
1708 (octave-sync-function-file-names)
1709 (octave-find-definition-default-filename): Backquote upattern for
1712 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1714 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1715 name twice due to backticks. (Bug#17238)
1717 2014-04-11 Glenn Morris <rgm@gnu.org>
1719 * term/w32-win.el (x-win-suspend-error):
1720 * term/x-win.el (x-win-suspend-error): Sync docs.
1722 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1724 Ediff's overlay priorities cause more trouble than they solve.
1725 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1726 (ediff-highest-priority): Remove function (bug#17234).
1727 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1728 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1729 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1732 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
1734 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1735 entry; use symbol boundaries to avoid mis-matches.
1737 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
1739 * net/tramp.el (tramp-file-name-handler)
1740 (tramp-completion-file-name-handler): Avoid recursive loading.
1742 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1743 Quote result also locally.
1745 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1747 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1748 Module methods. (Bug#17216)
1750 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1752 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1753 (describe-bindings-internal): Mark obsolete.
1755 2014-04-07 João Távora <joaotavora@gmail.com>
1758 (electric-pair--syntax-ppss): When inside comments parse from
1760 (electric-pair--balance-info): Fix typo in comment.
1761 (electric-pair--in-unterminated-string-p): Delete.
1762 (electric-pair--unbalanced-strings-p): New function.
1763 (electric-pair-string-bound-function): New var.
1764 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1765 according to `electric-pair--in-unterminated-string-p'
1767 2014-04-07 João Távora <joaotavora@gmail.com>
1769 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1770 Inhibit quote pairing if point-max is inside an unterminated string.
1771 (electric-pair--looking-at-unterminated-string-p): Delete.
1772 (electric-pair--in-unterminated-string-p): New function.
1774 2014-04-07 Glenn Morris <rgm@gnu.org>
1776 * shell.el (shell-directory-tracker):
1777 Go back to just ignoring failures. (Bug#17159)
1779 2014-04-06 João Távora <joaotavora@gmail.com>
1781 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1782 backspace. (bug#16981)
1783 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1784 (electric-pair-backward-delete-char-untabify): Delete.
1785 (electric-pair-mode-map): Bind backspace to a menu item filtering
1786 a new `electric-pair-delete-pair' command.
1787 (electric-pair-delete-pair): New command.
1789 2014-04-06 João Távora <joaotavora@gmail.com>
1791 * progmodes/python.el (python-electric-pair-string-delimiter):
1792 Fix triple-quoting electricity. (Bug#17192)
1794 2014-04-06 João Távora <joaotavora@gmail.com>
1796 * elec-pair.el (electric-pair-post-self-insert-function):
1797 Don't skip whitespace when `electric-pair-text-pairs' and
1798 `electric-pair-pairs' were used. syntax to
1799 electric-pair--skip-whitespace. (Bug#17183)
1801 2014-04-06 Eli Zaretskii <eliz@gnu.org>
1803 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1806 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1808 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1809 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1811 2014-04-05 Glenn Morris <rgm@gnu.org>
1813 * help.el (view-lossage): Doc tweak.
1815 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
1817 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1818 only when inhibit-x-resources is nil, and do that earlier in the
1819 function. Doc fix. (Bug#16694)
1820 (face-spec-choose): Accept additional optional argument, whose
1821 value is returned if no matching attributes are found.
1822 (face-spec-recalc): Use the new optional argument when calling
1823 face-spec-choose. (Bug#16378)
1824 (make-face-x-resource-internal): Do nothing when
1825 inhibit-x-resources is non-nil. Don't touch the default face if
1826 reversed video is given--as was done in previous versions of Emacs.
1827 (face-set-after-frame-default): Don't call
1828 make-face-x-resource-internal here. (Bug#16434)
1830 2014-04-04 Tassilo Horn <tsdh@gnu.org>
1832 * doc-view.el (doc-view-bookmark-jump):
1833 Use `bookmark-after-jump-hook' to jump to the right page after the
1834 buffer is shown in a window. (bug#16090)
1836 2014-04-04 Eli Zaretskii <eliz@gnu.org>
1838 * international/characters.el (mirroring): Fix last change:
1839 instead of loading uni-mirrored.el explicitly, do that implicitly
1840 by creating the 'mirroring' uniprop table. This avoids announcing
1841 the loading of uni-mirrored.el.
1843 2014-04-04 Glenn Morris <rgm@gnu.org>
1845 * files.el (buffer-stale--default-function)
1846 (buffer-stale-function, revert-buffer--default):
1847 * autorevert.el (auto-revert-buffers): Doc tweaks.
1849 2014-04-03 Eli Zaretskii <eliz@gnu.org>
1851 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1853 2014-04-03 Glenn Morris <rgm@gnu.org>
1855 * files.el (make-backup-file-name-function)
1856 (make-backup-file-name, make-backup-file-name--default-function)
1857 (make-backup-file-name-1, find-backup-file-name)
1858 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1859 (buffer-stale--default-function, buffer-stale-function)
1860 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1861 (revert-buffer, revert-buffer--default)
1862 (revert-buffer-insert-file-contents--default-function):
1863 Doc fixes related to defaults no longer being nil.
1864 (make-backup-file-name-function): Bump :version.
1865 Restore nil as a valid but deprecated custom type.
1867 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1869 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
1870 used as a variable (bug#17174).
1872 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1874 * progmodes/perl-mode.el (perl-indent-new-calculate):
1875 Handle forward-sexp failure (bug#16985).
1876 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1877 modifiers introducing expressions (bug#17116).
1879 2014-04-02 Glenn Morris <rgm@gnu.org>
1881 * menu-bar.el (menu-bar-file-menu):
1882 * vc/ediff.el (ediff-current-file):
1883 Update for revert-buffer-function no longer being nil by default.
1885 * simple.el (command-execute): Respect nil disabled-command-function.
1887 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1889 * simple.el (command-execute): Do not execute the command when it
1890 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1892 2014-03-29 Juri Linkov <juri@jurta.org>
1894 * dired-aux.el (dired-compress-file): Don't use string-match-p
1895 because its match data is used afterwards.
1897 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1899 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1902 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1904 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1905 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1907 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1908 Don't propertize `?' or `!' as symbol constituent when after
1911 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1913 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1914 which is no longer needed and causes trouble in GTK builds (bug#17046).
1916 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1917 Use url-insert-file-contents; package-handle-response no longer exists.
1919 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1921 * emacs-lisp/package.el: Fix bug#16733 (again).
1922 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1923 (url-http-target-url): Remove unused declarations.
1924 (package-handle-response): Remove.
1925 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1926 (package--download-one-archive): Use current-buffer instead of
1927 dynamic binding of `buffer'.
1928 (describe-package-1): Do not decode readme-string.
1930 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
1932 * simple.el (primitive-undo): Correction to 2014-03-24 change.
1934 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
1936 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1938 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1939 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1940 `remote-file-name-inhibit-cache' to nil in the second pass.
1941 (tramp-find-executable): Do not call "which" on SunOS.
1942 (tramp-send-command-and-check): Fix docstring.
1943 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1944 check whether source directory has set the sticky bit.
1946 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
1948 * simple.el (primitive-undo): Only process marker adjustments
1949 validated against their corresponding (TEXT . POS). Issue warning
1950 for lone marker adjustments in undo history. (Bug#16818)
1951 (undo-make-selective-list): Add marker adjustments to selective
1952 undo list based on whether their corresponding (TEXT . POS) is in
1953 the region. Remove variable adjusted-markers, which was unused
1954 and only non nil during undo-make-selective-list.
1955 (undo-elt-in-region): Return nil when passed a marker adjustment
1956 and explain in function doc.
1958 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1960 * emacs-lisp/package.el (package--add-to-archive-contents):
1961 Include already installed and built-in packages in
1962 `package-archive-contents'.
1963 (package-install): Don't include already installed packages in the
1964 options during interactive invocation. (Bug#16762)
1966 2014-03-24 Daniel Colascione <dancol@dancol.org>
1968 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1969 instead of cl-loop search function.
1971 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
1973 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1975 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1977 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1979 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1981 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1982 Match special global variables without curlies, too.
1983 (ruby-font-lock-keywords): Simplify the matcher for special global
1984 variables. Don't require a non-word character after the variable.
1987 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1989 * simple.el (redisplay-highlight-region-function): Increase priority of
1990 overlay to make sure boundaries are visible (bug#15899).
1992 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1994 * frameset.el (frameset-restore): Compare display strings with equal.
1996 * frame.el (make-frame): Don't quote display name in error message,
1997 it is already a string.
1999 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2001 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2004 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
2006 * emacs-lisp/package.el (package-show-package-list): If the buffer
2007 is already displayed in another window, switch to that window.
2009 2014-03-21 Daniel Colascione <dancol@dancol.org>
2011 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2012 information in bug reports.
2014 2014-03-23 Daniel Colascione <dancol@dancol.org>
2016 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2017 list to look for keyword arguments instead of `memq', fixing
2018 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2019 Please make bootstrap.
2021 2014-03-23 Richard Stallman <rms@gnu.org>
2023 * battery.el (battery-linux-sysfs): Search for each field
2024 from the beginning of the buffer.
2026 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2028 * emacs-lisp/package.el (package-desc): Use the contents of the
2029 quoted form, not its cdr. (Bug#16873)
2031 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2033 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2034 benefit of doc.c; change parameter profile to match the X function.
2036 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2038 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2039 and `tramp-copy-env'.
2041 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2042 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2044 2014-03-21 Glenn Morris <rgm@gnu.org>
2046 * electric.el (electric-indent-post-self-insert-function): Add doc.
2048 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2050 * emacs-lisp/package.el (package-compute-transaction):
2051 Use `version-list-<=' to compare the requirement version against
2052 the version of package already to be installed. Update the error
2053 message. (Bug#16826)
2055 * progmodes/ruby-mode.el (ruby-smie-rules):
2056 Add indentation rule for ` @ '. (Bug#17050)
2058 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2060 * align.el (align-regexp): Remove superfluous backslash.
2062 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2063 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2064 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2065 Fix docstring typos.
2066 (ffap-next): Use C-u in docstring.
2067 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2068 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2069 Remove superfluous backslashes.
2070 (ffap-string-at-point): Reflow docstring.
2072 * server.el (server-host): Reflow docstring.
2073 (server-unload-function): Fix docstring typo.
2074 (server-eval-at): Remove superfluous backslash.
2076 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2077 (skeleton-insert): Doc fix.
2078 (skeleton-insert): Reflow docstring.
2080 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2081 (tty-color-approximate, tty-color-by-index, tty-color-values)
2082 (tty-color-desc): Remove superfluous backslashes.
2084 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2086 * electric.el (electric-newline-and-maybe-indent): New command.
2087 Bind it globally to C-j.
2088 (electric-indent-mode): Don't mess with the global map any more.
2089 Don't drop the post-self-insert-hook is some buffer is still using it
2092 * bindings.el (global-map): Remove C-j binding.
2094 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2095 the docstring of functions advised before dumping (bug#16993).
2097 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2099 * ps-print.el (ps-generate-postscript-with-faces):
2100 Explicitly deactivate the mark (bug#16866).
2101 * simple.el (deactivate-mark): Update region highlight.
2103 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2105 * emacs-lisp/package.el (describe-package-1):
2106 Decode commentary (bug#16733).
2108 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2110 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2111 modification of the value argument of :set (bug#16755).
2113 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2115 * simple.el (newline-and-indent): Do autofill (bug#17031).
2117 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2119 * newcomment.el (comment-normalize-vars): Only add escaping check
2120 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2121 (comment-beginning): Use `narrow-to-region' instead of moving back
2123 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2124 (comment-start-skip): Update the docstring.
2126 2014-03-18 Richard Stallman <rms@gnu.org>
2128 * dired.el (dired-display-file): Force use of other window.
2130 2014-03-18 Daniel Colascione <dancol@dancol.org>
2132 * startup.el (tty-handle-args): Remove debug message from 2007.
2134 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2136 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2137 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2138 (advice--make-1, advice-add, advice-remove):
2139 Remove braindead :advice-pending hack.
2141 2014-03-17 Glenn Morris <rgm@gnu.org>
2143 * calendar/calendar.el (calendar-generate-month): Apply weekend
2144 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2146 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2148 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2149 (tramp-call-process): Trace also DESTINATION.
2151 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2152 Quote file names when they are local. Remove superfluous trace.
2154 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2156 * newcomment.el (comment-beginning): If `comment-start-skip'
2157 doesn't match, move back one char and try again. (Bug#16971)
2159 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2160 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2161 Set `comment-start-skip' to a simpler value that doesn't try to
2162 check if the semicolon is escaped (this is handled by
2163 `syntax-ppss' now). (Bug#16971)
2165 * progmodes/scheme.el (scheme-mode-variables): Same.
2167 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2169 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2170 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2171 current (Bug#16816, Bug#17007).
2172 (with-current-buffer-window): New macro doing the same as
2173 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2174 * help.el (help-print-return-message): Warn in doc-string to not
2175 use this in `with-help-window'.
2176 (describe-bindings-internal): Call `describe-buffer-bindings'
2177 from within help buffer. See Juanma's scenario in (Bug#16816).
2178 (with-help-window): Update doc-string.
2179 * dired.el (dired-mark-pop-up):
2180 * files.el (save-buffers-kill-emacs):
2181 * register.el (register-preview): Use `with-current-buffer-window'
2182 instead of `with-temp-buffer-window'.
2184 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2186 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2187 Implement inserting into current buffer, documented in their docstrings.
2188 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2189 (rst-section-tree-point, rst-forward-section, rst-indent)
2190 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2191 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2192 (rst-font-lock-handle-adornment-pre-match-form)
2193 (rst-repeat-last-character): Reflow docstrings.
2194 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2195 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2196 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2197 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2198 Fix docstring typos.
2199 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2200 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2201 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2203 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2205 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2206 for compatibility with other ports.
2207 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2208 from the -xrm command line argument, but in the Nextstep port its value
2209 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2211 * progmodes/python.el (defconst, python-syntax-count-quotes)
2212 (python-indent-region, python-indent-shift-right)
2213 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2214 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2215 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2216 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2217 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2218 (python-shell-buffer-substring, python-shell-send-buffer)
2219 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2220 (python-completion-complete-at-point, python-fill-docstring-style)
2221 (python-eldoc-function, python-imenu-format-item-label)
2222 (python-imenu-format-parent-item-label)
2223 (python-imenu-format-parent-item-jump-label)
2224 (python-imenu--build-tree, python-imenu-create-index)
2225 (python-imenu-create-flat-index): Fix docstring typos.
2226 (python-indent-context, python-shell-prompt-regexp, run-python):
2227 Remove superfluous backslashes.
2228 (python-indent-line, python-nav-beginning-of-defun)
2229 (python-shell-get-buffer, python-shell-get-process)
2230 (python-info-current-defun, python-info-current-line-comment-p)
2231 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2232 (python-indent-post-self-insert-function, python-shell-send-file)
2233 (python-shell-completion-get-completions)
2234 (python-shell-completion-complete-or-indent)
2235 (python-eldoc--get-doc-at-point): Reflow docstrings.
2237 2014-03-14 Glenn Morris <rgm@gnu.org>
2239 * emacs-lisp/package.el (package-menu-mode-map):
2240 Replace use of obsolete function alias. Tweak menu item text.
2242 * info.el (Info-finder-find-node):
2243 Ignore the `emacs' metapackage. (Bug#10813)
2245 * finder.el (finder-list-matches): Include unversioned packages
2246 in the result of a keyword search.
2248 * finder.el (finder--builtins-descriptions): New constant.
2249 (finder-compile-keywords): Use finder--builtins-descriptions.
2251 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2253 * simple.el (blink-matching-paren): Describe the new value,
2254 `jump', enabling the old behavior.
2255 (blink-matching-open): Use that value. (Bug#17008)
2257 2014-03-14 Glenn Morris <rgm@gnu.org>
2259 * finder.el (finder-no-scan-regexp): Add leim-list.
2260 (finder-compile-keywords):
2261 Don't skip files with same basename. (Bug#14010)
2262 * Makefile.in (setwins_finder): New, excluding leim.
2263 (finder-data): Use setwins_finder.
2265 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2266 (help-function-arglist, help-make-usage): Move from here...
2267 * help.el (help-split-fundoc, help-add-fundoc-usage)
2268 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2269 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2271 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2273 * net/socks.el (socks, socks-override-functions)
2274 (socks-find-services-entry):
2275 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2276 (hif-find-ifdef-block):
2277 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2279 * net/tls.el (tls-program): Reflow docstring.
2281 * progmodes/pascal.el (pascal-mode-abbrev-table)
2282 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2283 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2284 (pascal-outline-mode): Fix docstring typos.
2285 (pascal-mode): Let define-derived-mode document mode hook.
2286 (pascal-uncomment-area): Reflow.
2287 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2289 * progmodes/opascal.el (opascal-compound-block-indent)
2290 (opascal-case-label-indent): Fix docstring typos.
2291 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2293 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2295 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2296 Fontify multiple adjacent negation chars. (Bug#17004)
2298 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2300 * emacs-lisp/package.el (package--prepare-dependencies):
2301 Accept requirements without explicit version (bug#14941).
2303 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2305 * register.el (register-separator, copy-to-register): Doc fixes.
2306 (register-preview-default): Remove unnecessary call to concat.
2308 * frameset.el (frameset-restore): When checking for a visible frame,
2309 use the action map instead of calling visible-frame-list.
2311 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2313 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2315 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2317 * window.el (fit-frame-to-buffer): Get maximum width from
2318 display's width instead of height.
2320 2014-03-12 Glenn Morris <rgm@gnu.org>
2322 * desktop.el (desktop-restore-frames)
2323 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2324 (desktop-restore-reuses-frames): Doc tweaks.
2326 * electric.el (electric-indent-mode): Doc fix.
2328 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2330 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2331 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2332 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2333 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2334 (cvs-dired-use-hook): Fix docstring typos.
2335 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2338 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2339 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2340 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2341 (cvs-execute-single-dir): Fix docstring typos.
2343 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2344 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2346 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2348 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2349 Fix docstring typos.
2351 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2353 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2354 called from jump-to-register after unloading the frameset package.
2356 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2358 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2359 (bug#16975). Deactivate the mark before setting it to nil.
2360 (activate-mark): Do nothing if region is already active.
2362 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2364 * frameset.el (frameset--target-display): Remove definition; declare.
2365 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2367 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2369 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2370 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2371 when the advice is pending.
2372 (advice-remove): Remove this marker when not needed any more.
2374 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2376 * frameset.el: Separate options for reusing frames and cleaning up.
2377 (frameset--reuse-list): Remove definition; declare.
2378 (frameset--action-map): Declare.
2379 (frameset--find-frame-if): Doc fix.
2380 (frameset--restore-frame): Cache frame action.
2381 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2382 how to clean up the frame list after restoring. Remove cleaning
2383 options from REUSE-FRAMES. Change all keyword values to symbols.
2384 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2386 * desktop.el (desktop-restore-forces-onscreen)
2387 (desktop-restore-reuses-frames): Use non-keyword values.
2388 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2390 2014-03-10 Glenn Morris <rgm@gnu.org>
2392 * files.el (find-file): Doc fix: update info node name.
2394 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2395 Doc fix: remove references to deleted info nodes.
2397 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2399 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2400 Do not add `nil' to the environment, when there's no remote `locale'.
2401 (tramp-find-inline-encoding): Check, that the remote host has
2402 installed perl, before sending scripts.
2404 2014-03-10 Leo Liu <sdl.web@gmail.com>
2406 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2407 Clear eldoc-last-message. (Bug#16920)
2409 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2411 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2414 2014-03-09 Juri Linkov <juri@jurta.org>
2416 * ansi-color.el (ansi-color-names-vector): Copy default colors
2417 from `xterm-standard-colors' that look well on the default white
2418 background (and also on the black background) to avoid illegible
2419 color combinations like yellow-on-white and white-on-white.
2420 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2422 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2424 * frameset.el (frameset-restore): When no frame is visible, do not
2425 generate a list of frames, just make visible the selected one.
2427 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2429 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2430 it only contains the repository root. (Bug#16897)
2432 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2434 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2435 only when `remote-file-name-inhibit-cache' is nil.
2436 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2438 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2440 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2442 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2443 fit-frame-to-buffer variable. Fix doc-string.
2444 (fit-window-to-buffer): Set ONLY argument in call of
2445 fit-frame-to-buffer. Fix doc-string.
2447 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2449 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2450 (tramp-action-password): Clear password cache if needed.
2451 (tramp-read-passwd): Do not clear password cache.
2453 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2454 cache unless it is the first password request.
2456 2014-03-06 Glenn Morris <rgm@gnu.org>
2458 * simple.el (newline): Doc tweak.
2460 * emacs-lisp/shadow.el (load-path-shadows-find):
2461 Ignore dir-locals. (Bug#12357)
2463 2014-03-05 Glenn Morris <rgm@gnu.org>
2465 * files.el (interpreter-mode-alist):
2466 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2468 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2470 * frameset.el (frameset--initial-params): Filter out null entries.
2472 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2474 * window.el (window-min-height, window-min-width):
2475 Rewrite doc-strings.
2476 (window-body-size): Add PIXELWISE argument to make it consistent
2479 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2481 * finder.el (finder-mode-map, finder-mode-syntax-table):
2482 Revert part of 2014-02-28 change.
2484 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2486 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2487 (eww-setup-buffer): Clear next/prev/etc more reliably.
2488 (eww-textarea-map): [tab] doesn't work on tty.
2489 Reported by Mario Lang.
2491 * net/shr.el (shr-map): Ditto.
2493 2014-03-04 Glenn Morris <rgm@gnu.org>
2495 * minibuffer.el (completion-hilit-commonality):
2496 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2498 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2500 * hilit-chg.el (hilit-chg-unload-function): New function.
2501 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2502 (hilit-chg-map-changes): Prefer cardinal number to digit.
2503 (hilit-chg-display-changes): Reflow docstring.
2504 (highlight-changes-rotate-faces): Remove superfluous backslash.
2506 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2508 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2509 `tramp-send-command-and-check'.
2511 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2513 * hexl.el (hexl-address-region, hexl-ascii-region)
2514 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2515 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2516 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2517 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2518 (hexl-mode): Doc fix.
2519 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2520 (hexl-mode-ruler): Fix typos in docstrings.
2522 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2523 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2524 Remove superfluous backslashes.
2525 (strokes-last-stroke, strokes-global-map, strokes-mode):
2527 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2528 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2529 (strokes-distance-squared, strokes-global-set-stroke)
2530 (strokes-global-set-stroke-string): Doc fixes.
2531 (strokes-help): Fix typos; reflow docstring.
2533 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2535 * window.el (window-in-direction): Fix doc-string.
2537 2014-03-04 Glenn Morris <rgm@gnu.org>
2539 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2540 Explicit error if no grammar.
2541 (smie-config-save): Doc fix. Fix quote typo.
2543 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2545 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2546 electric-indent-mode-hook if we obey electric-indent-mode.
2547 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2548 decide whether we obey electric-indent-mode.
2549 (c-change-set-fl-decl-start, c-extend-after-change-region):
2551 (c-electric-indent-mode-hook): Assume we do want to obey
2552 electric-indent-mode.
2554 * electric.el (electric-indent-mode-has-been-called): Remove.
2555 (electric-indent-mode): Fix accordingly.
2557 * files.el (hack-local-variables): Mention file name in warning.
2559 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2561 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2563 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2564 * simple.el (delete-forward-char): Mark as interactive-only.
2566 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2568 * icomplete.el (icomplete-completions):
2569 Follow-up to 2014-03-01 change.
2571 * icomplete.el: Miscellaneous doc fixes.
2572 Use Icomplete everywhere instead of icomplete for consistency.
2573 (icomplete-max-delay-chars): Fix typo.
2574 (icomplete-mode): Use \[].
2575 (icomplete-tidy, icomplete-exhibit): Reflow.
2576 (icomplete-minibuffer-setup-hook, icomplete-completions):
2577 Remove superfluous backlashes.
2579 * ido.el: Miscellaneous doc fixes.
2580 Use Ido everywhere instead of ido or `ido' for consistency.
2581 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2582 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2583 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2584 (ido-separator): Extract obsolescence info from docstring and declare
2585 with make-obsolete-variable.
2586 (ido-minibuffer-setup-hook): Simplify example.
2587 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2588 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2589 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2590 (ido-everywhere): Reflow docstring.
2591 (ido-toggle-vc): Doc fix.
2592 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2593 of long list of keybindings.
2595 2014-03-03 Glenn Morris <rgm@gnu.org>
2597 * frame.el (display-pixel-height, display-pixel-width)
2598 (display-mm-dimensions-alist, display-mm-height)
2599 (display-mm-width): Doc tweaks.
2601 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2603 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2604 case of undo in region.
2606 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2608 * window.el (fit-window-to-buffer): Fix argument in window-size
2609 call when window is horizontally combined.
2611 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2613 * icomplete.el (icomplete-completions): Use string-width.
2614 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2616 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2618 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2619 Highlight regexp options. (Bug#16914)
2621 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2623 * window.el (window--max-delta-1): Round down when calculating
2624 how many lines/columns we can get from a window.
2626 2014-03-01 Glenn Morris <rgm@gnu.org>
2628 * isearch.el (search-invisible): Doc fix.
2630 * minibuffer.el (completion-hilit-commonality):
2631 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2632 * comint.el (comint-dynamic-list-completions): Doc fix.
2633 * comint.el (comint-dynamic-list-completions):
2634 * filecache.el (file-cache-minibuffer-complete):
2635 * tempo.el (tempo-display-completions):
2636 * eshell/em-hist.el (eshell-list-history):
2637 Replace use of obsolete argument of display-completion-list.
2639 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2641 * icomplete.el (icomplete-completions):
2642 Revert back to using "..." when ?… cannot be displayed.
2644 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2646 * finder.el (finder-unload-function): New function.
2648 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2650 * dframe.el (dframe-detach):
2651 * find-dired.el (find-dired, find-name-dired):
2652 * finder.el (finder-mode-map, finder-mode-syntax-table)
2653 (finder-headmark, finder-select, finder-mouse-select):
2654 Fix docstring typos.
2656 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2658 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2659 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2660 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2661 Fix doc-string based on a suggestion by Nicolas Richard
2662 <theonewiththeevillook@yahoo.fr>.
2663 * help.el (with-help-window): Fix doc-string.
2665 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2667 * net/shr.el (shr-image-animate): New option.
2668 (shr-put-image): Respect shr-image-animate.
2670 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2672 * net/tramp-adb.el (tramp-adb-parse-device-names):
2673 Use `accept-process-output'.
2674 (tramp-adb-handle-file-truename): Cache the localname only.
2675 (tramp-adb-handle-make-directory)
2676 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2677 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2678 modes cannot be changed.
2680 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2681 file properties of symlinks.
2683 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2685 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2686 required/optional fields to match development biblatex. (Bug#16781)
2688 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2690 * saveplace.el (toggle-save-place):
2691 Fix argument handling. (Bug#16673)
2693 2014-02-28 Glenn Morris <rgm@gnu.org>
2695 * minibuffer.el (completions-first-difference)
2696 (completions-common-part, completion-hilit-commonality): Doc fixes.
2698 2014-02-28 Karl Berry <karl@gnu.org>
2700 * info.el (Info-mode-map): Add H for describe-mode,
2701 to synchronize with standalone Info.
2703 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2705 * progmodes/sql.el (sql-interactive-mode):
2706 Avoid setting global comint-input-ring-separator. (Bug#16814)
2708 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2710 * net/dbus.el (dbus--init-bus): Declare function.
2711 (dbus-path-local, dbus-interface-local): New defconst.
2712 (dbus-init-bus): Use them.
2713 (dbus-return-values-table): Extend doc.
2714 (dbus-handle-bus-disconnect): Extend error message.
2716 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2718 * subr.el (y-or-n-p): Fix double space issue in message.
2720 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2722 * net/tramp.el (tramp-call-process): Improve trace message.
2723 (tramp-handle-insert-file-contents): Trace error case.
2725 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2726 <insert-directory>: Use `tramp-handle-insert-directory'.
2727 (tramp-adb-handle-insert-directory): Remove function.
2728 (tramp-adb-send-command-and-check): New defun, replacing
2729 `tramp-adb-command-exit-status'. Change all callees.
2730 (tramp-adb-handle-file-attributes)
2731 (tramp-adb-handle-directory-files-and-attributes): Use it.
2732 (tramp-adb-ls-output-name-less-p):
2733 Use `directory-listing-before-filename-regexp'.
2734 (tramp-adb-handle-delete-directory): Flush also file properties of
2735 the truename of directory.
2736 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2737 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2738 (tramp-adb-handle-write-region): Implement APPEND.
2739 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2740 properties correctly.
2741 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2742 variables. Check for connected devices only when needed.
2744 2014-02-27 Glenn Morris <rgm@gnu.org>
2746 * minibuffer.el (completion-table-dynamic)
2747 (completion-table-with-cache): Doc fixes.
2749 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2750 (completing-read-multiple): Doc fixes.
2752 2014-02-27 Daniel Colascione <dancol@dancol.org>
2754 * minibuffer.el (completion--nth-completion): Fix indentation.
2756 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2757 explicit tramp path is empty.
2759 2014-02-27 Glenn Morris <rgm@gnu.org>
2761 * emacs-lisp/crm.el (completing-read-multiple):
2762 Empower help-enable-auto-load.
2764 2014-02-26 Glenn Morris <rgm@gnu.org>
2766 * startup.el (command-line): Don't init the tty in daemon mode.
2768 Avoid calling tty-setup-hook twice, eg if a term file
2769 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2770 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2771 (tty-create-frame-with-faces): Use it.
2772 * startup.el (command-line): Pass run-hook argument
2773 to tty-run-terminal-initialization.
2775 * dired.el (dired-restore-desktop-buffer): Demote errors;
2776 eg in case a glob match fails. (Bug#16884)
2778 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2780 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2781 error from `read-from-string'. (Bug#16850)
2783 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2784 result of `completing-read' in the interactive form. (Bug#16854)
2786 2014-02-25 Glenn Morris <rgm@gnu.org>
2788 * image.el (image-animate, image-animate-timeout):
2789 Stop animating images in dead buffers. (Bug#16878)
2791 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2793 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2795 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2796 * term/sun.el (sun-raw-prefix-hooks):
2797 Use tty-setup-hook instead of term-setup-hook.
2798 (terminal-init-sun): Construct message from bytecomp plist.
2799 * term/wyse50.el (enable-arrow-keys): Doc fix.
2801 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2803 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2804 Fix docstring typos.
2806 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2808 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2810 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2812 * minibuffer.el (completion--try-word-completion):
2813 Fix error when completing M-x commands (bug#16808).
2815 2014-02-24 Leo Liu <sdl.web@gmail.com>
2817 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2819 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2821 * apropos.el (apropos-print): Avoid formatting error when
2822 apropos-do-all and apropos-compact-layout are both t.
2824 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2826 * apropos.el (apropos-property, apropos-all-words-regexp)
2827 (apropos-true-hit, apropos-variable, apropos-print):
2828 Fix docstring typos, and remove obsolete comment.
2830 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2832 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2833 Preserve trailing "/". (Bug#16851)
2835 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2837 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2838 after `=>' (bug#16811).
2839 (ruby-smie-rules): Handle the inconsistent second element of the
2840 list returned by `smie-indent--parent'.
2841 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2844 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2846 * elec-pair.el (electric-pair-text-syntax-table)
2847 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2848 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2849 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2850 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2852 2014-02-22 Glenn Morris <rgm@gnu.org>
2854 * imenu.el (imenu--generic-function): Doc fix.
2856 * register.el (frame-configuration-to-register): Make obsolete.
2858 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2860 * desktop.el (desktop-save-buffer-p): Do not fail when
2861 desktop-files-not-to-save is nil. Return t for true result
2864 2014-02-22 Daniel Colascione <dancol@dancol.org>
2866 * net/secrets.el (secrets-create-item, secrets-search-items):
2867 Check that attribute values are strings, avoiding the construction
2868 of invalid dbus messages.
2870 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2872 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2873 defun-declarations-alist.
2875 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2877 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2880 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2882 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2883 (whitespace-newline, whitespace-trailing, whitespace-line)
2884 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2885 (whitespace-space-after-tab): Fix typo in docstrings.
2887 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2889 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2891 * electric.el (electric-indent-functions-without-reindent):
2892 Add `yaml-indent-line'.
2894 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2896 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2897 It has done nothing for years; should be removed after the release.
2899 * simple.el (choose-completion): Fix docstring typo.
2900 (read-quoted-char-radix): Remove unneeded * in docstring.
2901 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2902 Don't escape parentheses unnecessarily in docstrings.
2904 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2906 Fix handling of window-min-height/-width (Bug#16738).
2907 * window.el (window--dump-window, window--dump-frame):
2909 (window--min-size-1): Account for window dividers.
2910 When window-resize-pixelwise is nil, delay rounding till after the
2911 sum of the window components has been calculated.
2912 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2913 nil make sure at least one text line and two text columns remain
2915 (window-resize): Signal an error when window-resize-apply fails.
2916 (window--resize-child-windows): Fix calculation of by how many
2917 pixels a window can still be shrunk via window-new-normal.
2918 (adjust-window-trailing-edge): Call window--resizable with
2919 correct TRAIL argument.
2921 (with-temp-buffer-window): Don't evaluate BODY within
2922 with-current-buffer (Bug#16816).
2924 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2926 * net/tramp.el (tramp-check-cached-permissions):
2927 Call `file-attributes' with `suffix' being a symbol but a string.
2929 2014-02-21 Daniel Colascione <dancol@dancol.org>
2931 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2932 (dbus-init-bus): New function: call into dbus-init-bus-1
2933 and installs a handler for the disconnect signal.
2934 (dbus-call-method): Rewrite to look for result in cons.
2935 (dbus-call-method-handler): Store result in cons.
2936 (dbus-check-event): Recognize events with nil sender as valid.
2937 (dbus-handle-bus-disconnect): New function. React to bus
2938 disconnection signal by synthesizing dbus error for each
2939 pending synchronous or asynchronous call.
2940 (dbus-notice-synchronous-call-errors): New function.
2941 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2942 is true, not all the time.
2944 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2946 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2947 Remove obsolescence declarations, these variables do not exist anymore.
2949 * savehist.el (savehist-save-minibuffer-history)
2950 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2951 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2952 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2953 mostly, refer to "Savehist mode" when talking about the mode,
2954 and not the function.
2956 * saveplace.el (save-place): Remove redundant info in docstring.
2957 (save-place-forget-unreadable-files, toggle-save-place)
2958 (save-place-forget-unreadable-files, save-place-dired-hook):
2959 Fix typos and remove unneeded backslashes.
2961 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2963 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2964 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2966 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2967 <insert-directory>: Use `tramp-handle-insert-directory'.
2968 (tramp-gvfs-handle-insert-directory): Remove function.
2970 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2971 Call `tramp-handle-insert-directory'.
2973 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2975 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2976 before the start of buffer/region (bug#16799).
2978 2014-02-20 Glenn Morris <rgm@gnu.org>
2980 * isearch.el (search-invisible): Doc fix.
2982 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2984 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2987 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2989 * frameset.el (frameset-restore): Delay removing an old frame's
2990 duplicate id until the new frame has been correctly created.
2992 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2994 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2995 (tramp-check-cached-permissions): Call `file-attributes' if the
2998 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2999 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3001 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3002 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3003 (tramp-gvfs-maybe-open-connection): Set always connection
3004 properties, even if target is mounted already.
3006 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3007 Set tramp-autoload cookie.
3008 (tramp-get-remote-touch): New defun.
3009 (tramp-sh-handle-set-file-times): Use it.
3010 (tramp-sh-handle-directory-files-and-attributes):
3011 Use `tramp-handle-directory-files-and-attributes' if neither stat
3012 nor perl are available on the remote host.
3014 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3015 "/". Write long listing only when "l" belongs to the switches.
3017 * net/trampver.el: Update release number.
3019 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3021 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3023 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3025 * window.el (window-state-put): Allow WINDOW to refer to an
3026 internal window (Bug#16793).
3028 2014-02-19 Glenn Morris <rgm@gnu.org>
3030 * textmodes/remember.el: Move provide statement to end.
3031 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3032 (remember-notes): Doc fixes.
3034 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3036 * delsel.el (delete-char): Restore incorrectly erased property
3039 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3041 * frameset.el (frameset--restore-frame): When a frame is being reused
3042 and its root window is not alive, delete all the frame's windows before
3043 restoring the window state. This works around the issue in bug#16793.
3045 2014-02-18 Glenn Morris <rgm@gnu.org>
3047 * textmodes/remember.el (remember-data-directory)
3048 (remember-directory-file-name-format, remember-store-in-files)
3049 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3050 (remember-notes-save-and-bury-buffer)
3051 (remember-notes--kill-buffer-query): Doc fixes.
3053 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3055 2014-02-17 Alan Mackenzie <acm@muc.de>
3057 Connect electric-indent-mode up with CC Mode. Bug #15478.
3058 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3059 to electric-indent-{,local-}-mode.
3060 (c-basic-common-init): Set electric-indent-inhibit.
3061 Initialise c-electric-flag from electric-indent-mode.
3062 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3063 New hook functions which propagate electric-indent-mode to CC mode.
3065 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3066 hit, toggle electric-indent-local-mode.
3068 * electric.el (electric-indent-mode-has-been-called):
3071 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3073 * frameset.el (frameset-cfg-id): New function.
3074 (frameset--reuse-frame, frameset-restore): Use it.
3075 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3077 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3079 * ido.el (ido-file-internal): Remove unused var `d'.
3080 Use \` for to match BoS. Fit within 80n columns.
3082 2014-02-17 Daniel Colascione <dancol@dancol.org>
3084 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3085 dbus-call-method check for completion using a busy-wait loop with
3088 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3090 Sync with Tramp 2.2.9.
3092 * net/trampver.el: Update release number.
3094 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3096 * ido.el (ido-file-internal): Don't add the name of an existing
3097 directory twice. (Bug#16747)
3099 2014-02-16 Glenn Morris <rgm@gnu.org>
3101 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3102 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3104 2014-02-15 Michael R. Mauger <michael@mauger.com>
3106 * progmodes/sql.el: Version 3.4
3107 (sql-oracle-options): New default value ("-L").
3108 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3109 (sql-placeholders-filter): Correct placeholder pattern.
3110 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3111 (sql-login-delay): New variable.
3112 (sql-product-interactive): Use it.
3114 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3116 * frameset.el (frameset--jump-to-register): Check that buffer is live
3119 2014-02-15 Glenn Morris <rgm@gnu.org>
3121 * info.el (info-initialize): Revert 2014-01-10 change.
3123 2014-02-14 Glenn Morris <rgm@gnu.org>
3125 * replace.el (map-query-replace-regexp)
3126 (read-regexp-defaults-function, read-regexp): Doc fixes.
3128 * dired.el (dired-read-regexp):
3129 * faces.el (list-faces-display):
3130 * misearch.el (multi-isearch-read-matching-buffers)
3131 (multi-isearch-read-matching-files):
3132 * play/cookie1.el (cookie-apropos):
3133 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3135 * textmodes/remember.el (remember): Use frameset-to-register
3136 rather than frame-configuration-to-register.
3138 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3140 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3141 incorrect keybinding.
3143 2014-02-13 Daniel Colascione <dancol@dancol.org>
3145 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3146 when adding overlays so that line numbers from compiler match line
3149 2014-02-13 Glenn Morris <rgm@gnu.org>
3151 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3153 * jit-lock.el (jit-lock-mode): Doc fix.
3155 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3157 * apropos.el (apropos-read-pattern): When the user passes an empty
3158 string, give a more helpful error message than "Wrong type
3159 argument: stringp, nil".
3161 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3163 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3165 2014-02-13 Glenn Morris <rgm@gnu.org>
3167 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3169 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3171 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3172 shift-select commands.
3174 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3176 * progmodes/js.el (js-indent-line): Don't widen.
3177 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3179 2014-02-12 Glenn Morris <rgm@gnu.org>
3181 * icomplete.el (icomplete): Add info-link to defgroup.
3182 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3183 (icomplete-minibuffer-map, icomplete-mode)
3184 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3186 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3187 (package-menu-filter): Rename from package-menu-filter-interactive.
3190 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3192 * frameset.el (frameset--jump-to-register): Select the required
3193 window and buffer before restoring position (bug#16696).
3195 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3197 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3199 2014-02-10 Glenn Morris <rgm@gnu.org>
3201 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3203 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3205 * w32-common-fns.el (x-get-selection): Doc fix.
3206 * select.el (x-get-selection): Doc fix. (Bug#15109)
3208 * face-remap.el (face-remap-add-relative)
3209 (face-remap-remove-relative, face-remap-reset-base)
3210 (face-remap-set-base): Call force-mode-line-update to redisplay
3211 the current buffer due to potential change in faces. (Bug#16709)
3213 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3215 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3216 script more robustly.
3218 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3220 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3222 * simple.el (choose-completion): Doc fix (bug#14160).
3224 * subr.el (event-start): Say what a nil EVENT value means.
3226 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3229 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3231 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3233 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3235 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3236 predicate function (bug#15455).
3238 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3240 * ielm.el (inferior-emacs-lisp-mode): Instead of
3241 `comment-use-global-state', set `comment-use-syntax'.
3243 2014-02-10 Glenn Morris <rgm@gnu.org>
3245 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3247 2014-02-09 Alan Mackenzie <acm@muc.de>
3249 Fix c-invalidate-state-cache on narrowed buffers.
3250 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3251 Widen when setting and clearing the CPP delimiter properties.
3253 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3255 * help.el (describe-bindings): Doc fix (bug#9888).
3257 * files.el (save-buffer): Use ARG as the parameter name for
3258 consistency (bug#10346).
3259 (save-buffer): Clarify the 0 argument (bug#10346).
3261 * cus-edit.el (customize-apropos): Fix error string.
3262 (custom-buffer-create): Doc fix (bug#11122).
3263 (custom-sort-items): Doc fix (bug#11121).
3265 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3267 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3268 (icomplete-simple-completing-p): Mention the previous variable.
3270 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3271 meaning of the parameter (bug#12282).
3273 * files.el (find-file-noselect): Clarify prompt when changing
3274 readedness (bug#13261).
3275 (locate-file): Suffixes aren't returned, so don't say that they
3277 (backup-inhibited): Doc clarification (bug#12525).
3279 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3280 before we actually start to delete things (bug#16331).
3282 * subr.el (event-start): Doc fix (bug#14228).
3285 2014-02-09 Glenn Morris <rgm@gnu.org>
3287 * emacs-lisp/warnings.el (lwarn):
3288 Empower help-enable-auto-load. (Bug#15940)
3290 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3292 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3295 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3297 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3298 Insert output at end of buffer. (Bug#16120)
3300 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3302 * simple.el (choose-completion-string-functions): Document new
3303 calling convention (bug#14153).
3304 (execute-extended-command): Clarify doc string (bug#13373).
3306 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3308 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3309 (find-grep-dired): Doc fix (bug#14288).
3311 2014-02-08 Juri Linkov <juri@jurta.org>
3313 * isearch.el (isearch-quote-char): Check character validity
3314 like in `quoted-insert' (bug#16677).
3316 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3318 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3320 * isearch.el (isearch-hide-immediately): Doc clarification
3323 * simple.el (line-move): Document utility function used many
3324 places in the Emacs sources (bug#14843).
3326 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3327 (dired-prev-marked-file): Doc fix (bug#14855).
3328 (dired-up-directory): Doc fix (bug#14848).
3330 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3332 * files.el (file-relative-name): Doc fix (bug#15159).
3334 * fringe.el (fringe-styles): Doc fix (bug#15239).
3336 * isearch.el (isearch-filter-predicate): Documentation typo fix
3339 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3341 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3343 * replace.el (replace-match-maybe-edit): Doc clarification
3346 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3348 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3350 2014-02-08 Glenn Morris <rgm@gnu.org>
3352 * help-fns.el (describe-variable):
3353 Check {file,dir}-local-variables-alist, and buffer-file-name,
3354 in the correct buffer.
3356 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3358 * help-fns.el (describe-variable): Fix the case where
3359 a value is directory-local with no dir-locals file. (Bug#16635)
3361 2014-02-08 Glenn Morris <rgm@gnu.org>
3363 * abbrev.el (edit-abbrevs-mode):
3364 Derive from fundamental-mode. (Bug#16682)
3366 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3368 * simple.el (quoted-insert): Check character validity (bug#16677).
3370 2014-02-07 Juri Linkov <juri@jurta.org>
3372 * desktop.el (desktop-read): Claim the lock when the owner is not
3373 the current process. (Bug#16157)
3375 2014-02-07 Juri Linkov <juri@jurta.org>
3377 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3378 to "\\` ". (Bug#16651)
3380 2014-02-07 Juri Linkov <juri@jurta.org>
3382 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3383 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3384 (desktop-auto-save-cancel-timer): New function with some code from
3385 `desktop-auto-save-set-timer'.
3386 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3387 Instead of setting `desktop-save-mode' to nil, call
3388 `desktop-save-mode' with arg 0. (Bug#16630)
3390 2014-02-07 Glenn Morris <rgm@gnu.org>
3392 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3393 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3394 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3396 * obsolete/iswitchb.el: Move to obsolete/.
3397 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3398 since obsolete/ is not scanned for autoloads.
3399 * emacs-lisp/authors.el (authors-valid-file-names):
3402 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3403 Disable now non-functional find-file-hook.
3405 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3407 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3408 instead of ";" in order to avoid additional prompts. Let heredoc
3409 scripts read from tty. (Bug#16582)
3410 (tramp-send-command): No special handling of heredocs, it isn't
3413 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3415 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3416 with a space (bug#16664). Limit the symbols considered to the ones
3417 that are bound or fbound (bug#16646).
3419 2014-02-06 Glenn Morris <rgm@gnu.org>
3421 * epa.el (epa-mail-aliases): Doc fix.
3423 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3425 * emacs-lisp/lisp.el (lisp-completion-at-point):
3426 Use `completion-table-merge' instead of `completion-table-in-turn'
3429 * minibuffer.el (completion-table-merge): New function.
3431 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3433 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3434 (tramp-sh-handle-set-file-acl)
3435 (tramp-sh-handle-start-file-process)
3436 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3437 (tramp-find-executable, tramp-send-command): Use it.
3439 2014-02-05 Glenn Morris <rgm@gnu.org>
3441 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3443 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3445 * progmodes/python.el (python-shell-send-string)
3446 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3448 2014-02-04 Anders Lindgren <andlind@gmail.com>
3450 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3451 the names (bug#16620).
3453 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3455 * faces.el (window-divider): New default value. Rewrite doc-string.
3456 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3458 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3460 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3461 `protected' and `public' can also be called without arguments.
3463 2014-02-03 Glenn Morris <rgm@gnu.org>
3465 * register.el (window-configuration-to-register)
3466 (frame-configuration-to-register): Unadvertise unused argument.
3467 * frameset.el (frameset-to-register): Remove unused argument.
3469 * frameset.el (frameset-to-register):
3470 * kmacro.el (kmacro-to-register):
3471 * register.el (increment-register):
3472 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3473 (calc-append-to-register, calc-prepend-to-register):
3474 * play/gametree.el (gametree-layout-to-register)
3475 (gametree-apply-register-layout):
3476 * textmodes/picture.el (picture-clear-rectangle-to-register)
3477 (picture-yank-rectangle-from-register):
3478 * vc/emerge.el (emerge-combine-versions-register):
3479 Use register-read-with-preview to read registers.
3481 2014-02-03 João Távora <joaotavora@gmail.com>
3483 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3484 when at beginning of (possibly narrowed) buffer.
3486 2014-02-02 Daniel Colascione <dancol@dancol.org>
3488 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3489 Also try to display local help from just before point.
3491 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3493 c-parse-state. Don't "append-lower-brace-pair" in certain
3494 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3495 recognised as a comment.
3497 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3498 as well as normal comment starter.
3499 (c-parse-state-get-strategy): Extra return possibility
3501 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3502 return value list to indicate replacement of a brace-pair cons
3504 (c-parse-state-1): With 'back-and-forward, only call
3505 c-append-lower-brace-pair-to state-cache when cons-separated.
3507 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3509 * term/ns-win.el (ns-suspend-error): New function.
3510 (ns-initialize-window-system): Add ns-suspend-error to
3511 suspend-hook (Bug#16612).
3513 2014-02-02 Daniel Colascione <dancol@dancol.org>
3515 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3516 Make loading cc-mode silent.
3518 2014-02-02 Daniel Colascione <dancol@dancol.org>
3520 * comint.el (comint-prompt-read-only): Change doc to suggest
3523 2014-02-02 Glenn Morris <rgm@gnu.org>
3525 * register.el (register-read-with-preview, point-to-register)
3526 (window-configuration-to-register, frame-configuration-to-register)
3527 (jump-to-register, number-to-register, view-register, insert-register)
3528 (copy-to-register, append-to-register, prepend-to-register)
3529 (copy-rectangle-to-register): Doc fixes.
3531 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3533 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3534 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3535 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3536 * help-fns.el (describe-function-1): Use it.
3538 2014-02-02 Glenn Morris <rgm@gnu.org>
3540 * register.el (register-preview-default): New function,
3541 split from register-preview.
3542 (register-preview-function): Rename from register-preview-functions,
3544 (register-preview): Use register-preview-function.
3545 (register-read-with-preview): Error on non-character event. (Bug#16595)
3547 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3549 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3550 `:' before binary operators (bug#16609). Don't check for `:'
3551 before `[' and `(', or their syntax status. A percent literal
3552 can't end with either.
3553 (ruby-font-lock-keywords): For built-ins that require arguments,
3554 check that they're followed by something that looks like argument
3557 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3559 * subr.el (butlast): Document what an omitted N means (bug#13437).
3562 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3564 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3565 depth shallower (bug#16587).
3566 (shr-tag-svg): Respect `shr-inhibit-images'.
3567 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3569 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3571 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3572 (ruby-smie-grammar): Make "." right-associative. Make its priority
3573 lower than the ternary and all binary operators.
3574 (ruby-smie-rules): Indent "(" relative to the first non-"."
3575 parent, or the first "." parent at indentation.
3576 Use `ruby-align-chained-calls' for indentation of "." tokens.
3579 2014-01-31 Juri Linkov <juri@jurta.org>
3581 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3582 from `make-hash-table'.
3584 * textmodes/ispell.el (ispell-init-process): Change message format
3585 to be consistent with other messages.
3587 2014-01-31 Glenn Morris <rgm@gnu.org>
3589 * delsel.el (delete-selection-mode): Doc fix.
3591 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3592 (trace-function-background): Doc fixes.
3594 * ido.el (ido-use-virtual-buffers): Doc fix.
3595 Reset :version, since the default value has not changed.
3597 * register.el (register-preview-delay, register-read-with-preview):
3600 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3601 do not mess with mail-buffer position (fixes 2009-11-03 change).
3602 * progmodes/cc-mode.el (c-submit-bug-report):
3603 Check auto-fill-mode is bound. (Bug#16592)
3605 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3607 * startup.el (fancy-splash-image-file): New function,
3608 split from fancy-splash-head.
3609 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3610 so that we are both using the same image. (Bug#16574)
3612 2014-01-30 Glenn Morris <rgm@gnu.org>
3614 * simple.el (eval-expression): Doc fix.
3616 * hexl.el (hexl-mode-hook):
3617 * ielm.el (ielm-mode-hook):
3618 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3619 (lisp-interaction-mode-hook):
3620 * progmodes/cfengine.el (cfengine3-documentation-function):
3621 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3623 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3625 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3626 is a symbol (bug#16584).
3628 2014-01-30 Glenn Morris <rgm@gnu.org>
3630 * help.el (help-for-help-internal): Add "P" to text.
3632 2014-01-29 Glenn Morris <rgm@gnu.org>
3634 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3636 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3638 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3641 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3643 * progmodes/hideif.el: Extend to full CPP expression syntax.
3644 (hif-token-alist): Add missing tokens.
3645 (hif-token-regexp): Add support for float/octal/hex immediates.
3646 (hif-string-literal-regexp): New const.
3647 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3648 (hif-exprlist): New function.
3649 (hif-parse-if-exp): Use it.
3650 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3651 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3652 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3653 (hif-logxor, hif-comma): New functions.
3655 2014-01-28 Glenn Morris <rgm@gnu.org>
3657 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3659 * indent.el (tab-stop-list): Doc fix. Add :version.
3661 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3662 (cvs-append-to-ignore): Add compatibility alias.
3664 2014-01-27 Glenn Morris <rgm@gnu.org>
3666 * dired.el (dired-hide-details-mode): Don't autoload it,
3667 since it cannot be used outside Dired buffers anyway.
3669 * emulation/cua-base.el (cua-mode): Doc fix.
3671 * dired.el (dired-hide-details-hide-symlink-targets)
3672 (dired-hide-details-hide-information-lines)
3673 (dired-hide-details-mode): Doc fixes.
3675 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3676 * strokes.el (strokes-file): Doc fix. Bump :version.
3677 (strokes-help): Doc fix.
3678 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3679 * emulation/viper.el (viper): Doc fix for custom group.
3680 (top-level): Remove oh-so-no-longer-relevant text about vip.
3681 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3683 * ido.el (ido-save-directory-list-file):
3684 * saveplace.el (save-place-file):
3685 * calendar/timeclock.el (timeclock-file):
3686 * net/quickurl.el (quickurl-url-file):
3687 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3688 * progmodes/idlwave.el (idlwave-config-directory):
3689 * textmodes/remember.el (remember-data-file):
3692 2014-01-26 Glenn Morris <rgm@gnu.org>
3694 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3695 Doc fix. Make obsolete.
3696 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3698 * sort.el (delete-duplicate-lines): Doc fix.
3700 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3702 * progmodes/ada-mode.el (ada):
3703 * woman.el (woman): Link to info manual and Commentary section.
3705 * progmodes/flymake.el (flymake):
3706 * nxml/nxml-mode.el (nxml):
3708 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3709 * htmlfontify.el (htmlfontify):
3712 * ido.el (ido): Link to info manual.
3714 2014-01-25 Leo Liu <sdl.web@gmail.com>
3716 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3718 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3720 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3723 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3725 * net/eww.el (eww-download-callback):
3726 Fix reference to eww-download-directory.
3728 * emacs-lisp/bytecomp.el (byte-compile-file):
3729 Remove unused local variable `file-name'.
3731 2014-01-24 Glenn Morris <rgm@gnu.org>
3733 * woman.el (woman-default-faces, woman-monochrome-faces):
3734 Fix obsolescence specification.
3736 * subr.el (with-demoted-errors): Doc fix.
3738 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3740 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3741 (cl--macroexp-fboundp): New function.
3742 (cl--make-type-test): Use it.
3744 2014-01-23 Glenn Morris <rgm@gnu.org>
3746 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3747 * simple.el (eval-expression): Doc fixes.
3749 2014-01-22 Glenn Morris <rgm@gnu.org>
3751 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3753 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3755 * emacs-lisp/package.el: Write files silently.
3756 (package-autoload-ensure-default-file, package--write-file-no-coding)
3757 (package-generate-description-file, package--download-one-archive)
3758 (package-install-from-archive): Tell `write-region' to stay quiet.
3759 (package-menu-mode, package-menu--print-info): Omit the Archive column
3760 if there's only one archive.
3761 (package-all-keywords, package--has-keyword-p): Remove dead code.
3763 2014-01-22 Glenn Morris <rgm@gnu.org>
3765 * version.el (emacs-bzr-version-bzr): Fix typo.
3767 * version.el (emacs-repository-get-version):
3768 Check either .bzr or .git, but not both.
3769 Make the git case actually use the DIR argument, and return nil
3770 rather than the empty string.
3771 Avoid error if .git exists but the git executable is not found.
3773 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3775 Fixes in window size functions around Bug#16430 and Bug#16470.
3776 * window.el (window-total-size, window-size): New argument ROUND.
3777 (window--min-delta-1, window-min-delta, window--max-delta-1):
3778 Be more conservative when calculating the numbers of lines or
3779 columns a window can shrink (Bug#16430).
3780 (fit-window-to-buffer): Simplify code.
3781 * term.el (term-window-width): Call window-body-width again.
3783 2014-01-22 Glenn Morris <rgm@gnu.org>
3785 * image.el (image-format-suffixes): Doc fix.
3787 * international/quail.el (quail-define-package): Doc fix.
3789 * emacs-lisp/authors.el (authors-valid-file-names)
3790 (authors-renamed-files-alist): Additions.
3792 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3793 reverts 2014-01-09 change. (Bug#16422)
3795 * calc/calc-embed.el (thing-at-point-looking-at):
3796 * emacs-lisp/map-ynp.el (x-popup-dialog):
3797 * obsolete/lmenu.el (x-popup-dialog):
3798 * emacs-lisp/package.el (url-recreate-url):
3799 * mail/mailclient.el (clipboard-kill-ring-save):
3800 * subr.el (x-popup-dialog): Update declaration.
3801 * mail/rmail.el (rmail-mime-message-p):
3802 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3804 2014-01-21 Daniel Colascione <dancol@dancol.org>
3806 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3807 Correctly detect when we're inside an arithmetic expansion form
3808 containing nested parenthesis.
3809 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3810 to detect cases where we shouldn't expand "<<" to a heredoc
3813 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3815 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3816 (eldoc--message-command-p): New function.
3817 (eldoc-display-message-p): Use it.
3818 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3819 message is not automatically erased for us.
3820 (eldoc-print-current-symbol-info): Erase previous message, if any.
3822 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3824 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3825 specify it's an interactive function.
3827 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3828 Fix regex used for scanning for citation keys which failed for
3829 citations with optional arguments.
3831 2014-01-21 Leo Liu <sdl.web@gmail.com>
3833 * simple.el (read--expression): Don't enable eldoc-mode.
3835 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3837 * simple.el (move-beginning-of-line): Make sure we don't move forward
3840 2014-01-20 Juri Linkov <juri@jurta.org>
3842 * saveplace.el (toggle-save-place, save-place-to-alist)
3843 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3844 'dired-mode) before checking for dired-directory. (Bug#16477)
3846 2014-01-20 Juri Linkov <juri@jurta.org>
3848 * indent.el (indent-line-to): Use backward-to-indentation
3849 instead of back-to-indentation. (Bug#16461)
3851 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3853 Revert some of the CANNOT_DUMP fix (Bug#16494).
3854 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3855 but fixing this can wait until after the next release.
3856 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3858 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3860 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3861 Use `password-word-equivalents'.
3862 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3863 to t. (Bug#5664, Bug#13124)
3865 2014-01-19 Alan Mackenzie <acm@muc.de>
3867 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3869 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3870 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3871 * progmodes/cc-mode.el (c-before-change, c-after-change)
3872 (c-font-lock-fontify-region): Bind it here.
3874 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3876 * term.el (term-window-width): Call window-text-width instead of
3877 window-width (Bug#16470).
3879 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3881 * simple.el (password-word-equivalents): Remove duplicates.
3882 Sort, to make this easier next time.
3883 Downcase. Omit ": " after "jelszó".
3885 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3887 * term/common-win.el (saved-region-selection): Defvar it.
3888 (x-select-text): Set saved-region-selection (Bug#16382).
3890 2014-01-18 Glenn Morris <rgm@gnu.org>
3892 * emacs-lisp/authors.el (authors-aliases)
3893 (authors-renamed-files-alist): Add some entries.
3895 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3897 * net/tramp.el (tramp-password-prompt-regexp):
3898 Use `password-word-equivalents' if available.
3899 (tramp-action-password, tramp-process-one-action)
3900 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3902 2014-01-17 Chong Yidong <cyd@gnu.org>
3904 * simple.el (password-word-equivalents): New defcustom.
3905 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3907 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3910 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3912 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3913 (ruby-align-to-stmt-keywords): Change the default value.
3914 Use `ruby-alignable-keywords' to generate the possible customization
3916 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3917 keywords, check against the value of `ruby-alignable-keywords'
3918 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3920 2014-01-17 Glenn Morris <rgm@gnu.org>
3922 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3924 Make M-x authors return zero *Authors Errors* from current logs.
3925 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3926 (authors-ignored-files): Add some entries, remove others.
3927 (authors-ambiguous-files, authors-valid-file-names):
3929 (authors-renamed-files-alist): Add, remove, and adjust entries.
3930 (authors-renamed-files-regexps): Add some entries.
3931 Remove some very broad ones. Make some entries `lax'.
3932 (authors-lax-changelogs): New constant.
3933 (authors-disambiguate-file-name): Treat top-level specially.
3934 (authors-lax-changelog-p): New function.
3935 (authors-canonical-file-name): Check file as written against
3936 authors-valid-file-names. Do not special-case etc/.
3937 Handle `lax' logs and authors-renamed-files-regexps elements.
3939 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3941 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3942 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3945 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3947 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3948 Assume we're already in the proper buffer.
3949 Inspired by Anders Lindgren <andlind@gmail.com>.
3950 (follow-post-command-hook): Call it from the right buffer.
3951 (follow-comint-scroll-to-bottom): Adjust call.
3952 (follow-all-followers): Use get-buffer-window-list.
3954 2014-01-15 Daniel Colascione <dancol@dancol.org>
3956 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3957 `buffer-file-name' in interactive-form so that we don't leave
3958 pathless file names in `file-name-history'.
3960 2014-01-15 Juri Linkov <juri@jurta.org>
3962 * indent.el (indent-rigidly): Set deactivate-mark to nil
3963 in transient indentation mode. (Bug#16438)
3965 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3967 * emacs-lisp/package.el (package-desc-keywords): New function
3969 (describe-package-1, package-all-keywords)
3970 (package--has-keyword-p): Use it.
3972 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3974 * simple.el (define-alternatives): When creating the
3975 COMMAND-alternatives variable, assign COMMAND as its definition
3976 name so that `describe-variable' can relocate it.
3978 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3980 * font-lock.el (font-lock-keywords): Fix typo in docstring
3983 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3985 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
3986 line instead of wrongly reset `add-coment' (bug#13577).
3988 2014-01-14 Daiki Ueno <ueno@gnu.org>
3990 * epa-file.el (epa-file-write-region): Encode the region according
3991 to `buffer-file-format'. Problem reported at:
3992 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3994 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3996 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3997 so it applies in the right buffer (bug#16410).
3999 2014-01-13 Daniel Colascione <dancol@dancol.org>
4001 * textmodes/rst.el (rst-define-key): Provide deprecated
4002 keybindings through named functions instead of anonymous ones so
4003 that "??" doesn't appear in describe-mode output.
4005 2014-01-13 Bastien Guerry <bzg@gnu.org>
4007 * simple.el (define-alternatives): Call the selected command
4008 interactively. When setting `COMMAND--implementation' for the
4009 first time, tell the user how to chose another implementation.
4010 Enhance the docstring.
4012 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4014 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4015 (log-edit--match-first-line): New function.
4016 (log-edit-font-lock-keywords): Use it.
4017 (log-edit-mode): Make jit-lock-defer-multiline work.
4019 2014-01-13 Bastien Guerry <bzg@gnu.org>
4021 * rect.el (rectangle-mark-mode): When the region is not active,
4022 display a message saying that the mark as been set and that
4023 rectangle mode is in use.
4024 (rectangle--highlight-for-redisplay): Only put an overlay with a
4025 visible vertical bar when (display-graphic-p) is non-nil.
4026 This partially fixes Bug#16403.
4028 2014-01-13 Juri Linkov <juri@jurta.org>
4030 * info.el (Info-find-file): Go to DIR before displaying the error
4031 about a nonexistent file if no previous Info file is visited.
4032 Use `user-error' instead of `error' for "Info file %s does not exist".
4033 (Info-find-node-2): In case of a nonexistent node in unwind forms
4034 go to the Top node if there is no previous node to revert to.
4037 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4039 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4040 * window.el (fit-frame-to-buffer): Fix doc-string.
4041 Respect window-min-height/-width. Fit pixelwise when
4042 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4043 when avoiding that frame goes partially off-screen.
4044 (fit-window-to-buffer): Respect window-min-height/-width
4047 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4049 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4050 after an empty line.
4052 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4054 * net/shr.el (shr-render-region): Autoload.
4056 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4058 * net/eww.el (eww-download-directory): Rename from
4059 `eww-download-path' (Bug#16419).
4061 2014-01-12 Leo Liu <sdl.web@gmail.com>
4063 * dired-x.el (dired-mode-map): Fix last change.
4065 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4067 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4070 * emacs-lisp/generic.el (generic--normalize-comments):
4071 Rename from generic--normalise-comments. All uses changed.
4072 * play/bubbles.el (bubbles--neighborhood-score)
4073 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4074 (bubbles--neighborhood-available)
4075 (bubbles--update-neighborhood-score):
4076 Rename from names with 'neighbourhood'. All uses changed.
4078 2014-01-12 Leo Liu <sdl.web@gmail.com>
4080 Re-implement the feature of showing eldoc info after editing.
4081 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4082 (eldoc-edit-message-commands): New function.
4083 (eldoc-print-after-edit): New variable.
4084 (eldoc-pre-command-refresh-echo-area): Emit message only by
4085 eldoc-message-commands.
4086 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4087 if eldoc-print-after-edit is set. (Bug#16346)
4088 * simple.el (read--expression): Enable eldoc-mode.
4089 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4091 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4092 Eric S. Raymond <esr@thyrsus.com>
4094 * version.el (emacs-repository-get-version): Enhance so the
4095 function works correctly in either a Bazaar or Git repo.
4097 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4099 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4100 Goes with removal of the joke manpages from /etc.
4102 2014-01-10 Kenichi Handa <handa@gnu.org>
4104 * mail/rmail.el (rmail-get-coding-system):
4105 Check rmail-get-coding-function before "funcall"ing it.
4107 2014-01-10 Glenn Morris <rgm@gnu.org>
4109 * emacs-lisp/authors.el (authors-fixed-entries):
4110 Update for files that no longer exist.
4112 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4114 * version.el (emacs-bzr-get-version): Restore compatibilty with
4117 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4119 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4122 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4124 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4126 2014-01-10 Chong Yidong <cyd@gnu.org>
4128 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4130 2014-01-10 Anders Lindgren <andlind@gmail.com>
4132 * follow.el (follow-cache-command-list): Include right-char and
4135 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4138 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4139 * woman.el (woman-mark-horizontal-position):
4140 Rename from woman-mark-horizonal-position. Use changed.
4142 2014-01-10 Glenn Morris <rgm@gnu.org>
4144 * info.el (info-initialize): If running uninstalled, ensure our
4145 own info files are always found first, even if INFOPATH is set.
4147 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4149 2014-01-09 David Engster <deng@randomsample.de>
4151 * emacs-lisp/eieio-custom.el:
4152 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4153 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4154 * emacs-lisp/eieio.el: Regenerate autoloads.
4156 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4158 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4159 following renames. (Bug#8756)
4161 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4163 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4165 (activate-mark): Add `no-tmm' argument.
4166 (set-mark, push-mark-command): Use it instead of running
4167 activate-mark-hook by hand.
4169 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4171 In preparation for the move to git, sanitize out some
4172 Bazaar-specific names.
4174 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4176 * version.el (emacs-bzr-version): Name changed to
4177 emacs-repository-version. Obsolete-variable alias made.
4178 * loadup.el: Follow through on this name change.
4179 * mail/emacsbug.el (report-emacs-bug): Factor out any
4180 assumption about the version control system in use.
4182 2014-01-08 David Engster <deng@randomsample.de>
4184 * help-fns.el (help-fns-describe-function-functions):
4185 New variable to call functions for augmenting help buffers.
4186 (describe-function-1): Remove explicit calls to
4187 `help-fns--compiler-macro', `help-fns--parent-mode' and
4188 `help-fns--obsolete'. Put them in above new variable instead, and
4189 call them through `run-hook-with-args'.
4190 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4191 `eieio-describe-class'. Not meant for interactive use anymore,
4192 but to augment existing help buffers. Remove optional second
4193 argument. Create proper button for file location.
4194 Rewrite function to use `insert' instead of `princ' and `prin1' where
4196 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4197 (eieio-method-def, eieio-class-def): Move further up.
4198 (describe-method, describe-generic, eieio-describe-method):
4200 (eieio-help-constructor, eieio-help-generic): Rename from
4201 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4202 Rewrite to use `insert' in the current buffer and use proper help
4204 (eieio-help-find-method-definition)
4205 (eieio-help-find-class-definition): Also accept symbols as
4207 (eieio-help-mode-augmentation-maybee): Remove.
4208 (eieio-describe-class-sb): Use `describe-function'.
4209 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4210 Add `eieio-help-generic' and `eieio-help-constructor'.
4212 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4215 * language/china-util.el (hz-ascii-designation):
4216 Rename from hz-ascii-designnation.
4217 (hz-ascii-designation): Rename from hz-ascii-designnation.
4220 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4222 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4225 2014-01-08 Bastien Guerry <bzg@gnu.org>
4227 * emacs-lisp/package.el (package-delete):
4228 Correctly delete the package from package-alist.
4230 2014-01-08 Daiki Ueno <ueno@gnu.org>
4232 * emacs-lisp/package.el (url-recreate-url): Declare.
4233 (url-http-target-url): Declare.
4234 (package-handle-response): Include requested URL in the error message.
4235 (package--check-signature): Don't re-signal errors from
4236 package--with-work-buffer. Suggested by Stefan Monnier.
4238 2014-01-07 Bastien Guerry <bzg@gnu.org>
4240 * minibuffer.el (completion--try-word-completion): When both a
4241 hyphen and a space are possible candidates for the character
4242 following a word, display both candidates. (Bug#15980)
4244 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4246 * window.el (balance-windows-2): While rounding don't give a
4247 window more than the remainder. Bug#16351, bug#16383.
4249 2014-01-07 Glenn Morris <rgm@gnu.org>
4251 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4252 (menu-bar-help-menu): Use view-external-packages instead.
4254 2014-01-07 Bastien Guerry <bzg@gnu.org>
4256 * emacs-lisp/package.el (package-delete): Also delete the package
4257 name from `package-alist', not its description only.
4259 2014-01-07 Glenn Morris <rgm@gnu.org>
4261 * help.el (view-external-packages):
4262 * menu-bar.el (menu-bar-help-extra-packages):
4263 Visit efaq.info rather than etc/MORE.STUFF.
4265 2014-01-07 Juri Linkov <juri@jurta.org>
4267 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4268 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4270 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4271 that shadows RET. (Bug#16342)
4273 2014-01-07 Chong Yidong <cyd@gnu.org>
4275 * isearch.el (isearch-yank-char, isearch-yank-word)
4276 (isearch-yank-line): Doc fix.
4278 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4280 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4281 * emacs-lisp/elint.el (elint-find-builtins):
4282 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4283 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4284 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4285 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4286 * apropos.el (apropos-safe-documentation):
4287 * subr.el (symbol-file): Remove redundant fboundp.
4288 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4290 2014-01-06 Bastien Guerry <bzg@gnu.org>
4292 * hl-line.el (global-hl-line-overlay): Make a local variable.
4293 (global-hl-line-overlays): New variable to store all overlays.
4294 (global-hl-line-mode): Don't delete overlays from the current
4295 buffer when `global-hl-line-sticky-flag' is non-nil.
4296 (global-hl-line-highlight): Add new overlays to
4297 `global-hl-line-overlays'.
4298 (global-hl-line-unhighlight-all): New function to delete all
4299 overlays when turning off `global-hl-line-mode'.
4300 This fixes Bug#16183.
4302 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4304 * subr.el (set-transient-map): Fix nested case and docstring.
4306 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4308 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4311 2014-01-06 Daniel Colascione <dancol@dancol.org>
4313 Fix defun navigation in vc log view.
4315 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4316 like `beginning-of-defun'.
4317 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4318 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4319 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4320 (log-view-extract-comment): Call `log-view-current-entry' directly
4321 instead of relying on broken `log-view-beginning-of-defun' behavior.
4323 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4326 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4327 * emacs-lisp/debug.el (cancel-debug-on-entry):
4328 * epg.el (epg-error-to-string):
4329 * files.el (recover-file):
4330 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4331 * mail/emacsbug.el (report-emacs-bug-hook):
4332 * mail/sendmail.el (mail-recover):
4333 * ses.el (ses-yank-resize):
4334 * term/ns-win.el (ns-print-buffer):
4335 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4336 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4338 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4340 2014-01-06 Leo Liu <sdl.web@gmail.com>
4342 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4343 to avoid shadowing global key. (Bug#16354)
4345 2014-01-06 Daniel Colascione <dancol@dancol.org>
4347 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4350 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4352 * window.el (balance-windows): Add mising t to fix Bug#16351.
4354 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4356 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4358 (shr-insert): If we have a word that's longer than `shr-width',
4359 break after it anyway. Otherwise we'll do no breaking once we get
4362 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4364 * net/eww.el (eww): Support single/double quote for search.
4365 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4366 (eww-history-quit): Delete and use quit-window.
4367 (eww-history-kill): Delete, because it doesn't work well and
4369 (eww-history-mode-map): Delete some keys and add easy-menu.
4371 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4373 Fix misspelling of 'chinese' in rx (Bug#16237).
4374 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4377 Change subword regexps back to vars (Bug#16296).
4378 * progmodes/subword.el (subword-forward-regexp)
4379 (subword-backward-regexp): Change these back to variables.
4381 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4383 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4384 syntax-begin-function (bug#16247).
4386 2014-01-03 Chong Yidong <cyd@gnu.org>
4388 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4389 (advice--docstring): Delete variable.
4390 (advice--make-1): Leave the docstring empty.
4391 (advice-add): Use function-documentation for advised docstring.
4393 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4394 Ignore function-documentation property when getting documentation.
4395 (ad-activate-advised-definition): Use function-documentation
4396 generate the docstring.
4397 (ad-make-advised-definition): Don't call
4398 ad-make-advised-definition-docstring.
4399 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4402 * progmodes/sql.el (sql-help): Use function-documentation instead
4403 of dynamic-docstring-function property. No need to autoload now.
4404 (sql--help-docstring): New variable.
4405 (sql--make-help-docstring): Use it.
4407 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4409 * ielm.el (ielm-tab): Retarget.
4410 (ielm-map): Use ielm-tab for tab.
4411 (ielm-complete-filename): Use comint-filename-completion.
4412 (ielm-complete-symbol): Remove.
4413 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4414 remove ielm-tab from completion-at-point-functions (bug#16224).
4416 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4417 Beware signals raised by predicates (bug#16201).
4419 2014-01-02 Richard Stallman <rms@gnu.org>
4421 * dired-aux.el (dired-do-print): Handle printer-name.
4423 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4424 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4425 (rmail-epa-decrypt): Turn off mime processing.
4427 * mail/rmail.el (rmail-make-in-reply-to-field):
4428 Add parens in message-id.
4430 * mail/rmail.el (rmail-get-coding-function): Variable.
4431 (rmail-get-coding-system): Use it.
4433 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4435 * international/mule-conf.el: Unify the charset indian-is13194.
4436 (indian-is13194): Specify unify-map.
4438 2013-12-31 Leo Liu <sdl.web@gmail.com>
4440 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4442 2013-12-30 Daniel Colascione <dancol@dancol.org>
4444 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4445 of printing a useless when we resume from sleep.
4447 * progmodes/sh-script.el
4448 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4449 in indentation code. (Bug#16233)
4451 2013-12-28 João Távora <joaotavora@gmail.com>
4453 * elec-pair.el (electric-pair-post-self-insert-function):
4454 Don't open extra newlines at beginning of buffer. (Bug#16272)
4456 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4458 * frame.el (window-system-for-display): Don't allow to create a
4459 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4461 2013-12-28 Glenn Morris <rgm@gnu.org>
4463 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4466 * apropos.el (apropos-match-face):
4467 * calculator.el (calculator-displayer):
4468 * dabbrev.el (dabbrev-search-these-buffers-only):
4469 * face-remap.el (buffer-face-mode-face):
4470 * simple.el (yank-handled-properties):
4471 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4472 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4473 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4474 (hashcash-double-spend-database):
4475 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4476 (ruby-deep-indent-paren-style):
4477 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4478 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4479 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4480 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4481 Specify custom types.
4483 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4484 * bookmark.el (bookmark-bmenu-use-header-line):
4485 * doc-view.el (doc-view-scale-internally):
4486 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4487 * register.el (register-preview-delay):
4488 * net/shr.el (shr-bullet):
4489 * progmodes/cfengine.el (cfengine-cf-promises)
4490 (cfengine-parameters-indent):
4491 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4492 * textmodes/reftex-vars.el (reftex-label-regexps):
4493 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4495 * net/tls.el (tls-certtool-program): Fix default value.
4497 * desktop.el (desktop-restore-in-current-display):
4498 * newcomment.el (comment-empty-lines):
4499 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4500 (idlwave-pad-keyword):
4501 * progmodes/tcl.el (tcl-tab-always-indent):
4502 * textmodes/reftex-vars.el (reftex-index-default-tag):
4503 * elec-pair.el (electric-pair-skip-whitespace):
4504 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4506 * emacs-lisp/authors.el (authors-ignored-files)
4507 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4509 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4511 * shell.el (shell-dynamic-complete-command): Doc fix.
4512 (shell--command-completion-data): Shell completion now matches
4513 executable filenames from the current buffer's directory, on
4514 systems in which this behavior is the default (windows-nt, ms-dos).
4516 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4518 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4520 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4522 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4525 * electric.el: Move all electric-pair-* to elec-pair.el.
4526 * elec-pair.el: New file, split from electric.el.
4528 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4530 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4531 indentation level is larger than the width, because that will
4533 (shr-insert): Fill repeatedly long texts, so that Japanese is
4534 formatted correctly (bug#16263).
4535 (shr-find-fill-point): Off by one error in comparison with the
4538 2013-12-26 João Távora <joaotavora@gmail.com>
4540 * electric.el (electric-pair-mode): More flexible engine for skip-
4541 and inhibit predicates, new options for pairing-related functionality.
4542 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4543 if that keeps or improves their balance in buffers.
4544 (electric-pair-delete-adjacent-pairs): Delete the pair when
4545 backspacing over adjacent matched delimiters.
4546 (electric-pair-open-extra-newline): Open extra newline when
4547 inserting newlines between adjacent matched delimiters.
4548 (electric--sort-post-self-insertion-hook):
4549 Sort post-self-insert-hook according to priority values when
4550 minor-modes are activated.
4551 * simple.el (newline-and-indent): Call newline with interactive
4553 (blink-paren-post-self-insert-function): Set priority to 100.
4554 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4555 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4556 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4557 electric-pair-open-newline-between-pairs to nil.
4559 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4561 * progmodes/python.el: Use lexical-binding.
4562 (python-nav-beginning-of-defun): Stop searching ASAP.
4564 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4566 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4567 Fix interactive spec. Doc fix. (Bug#15754)
4569 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4571 * emacs-lisp/byte-run.el (eval-when-compile):
4572 * progmodes/cc-defs.el (cc-eval-when-compile):
4573 Fix edebug spec (bug#16184).
4575 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4577 * net/shr.el (shr-visit-file): Remove debugging function.
4578 (shr-insert): Don't infloop if we can't find a good place to break
4579 the line (bug#16256).
4581 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4583 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4584 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4585 python-nav-lisp-forward-sexp-safe.
4586 (python-nav--forward-sexp): New argument SAFE allows switching
4587 forward sexp movement behavior for parens.
4588 (python-nav-forward-sexp): Throw errors on unterminated parens
4590 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4591 (python-nav-backward-sexp-safe): New functions.
4592 (python-shell-buffer-substring):
4593 Use `python-nav-forward-sexp-safe'.
4595 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4597 * net/shr.el (shr-find-fill-point): Don't break lines before a
4599 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4600 (shr-find-fill-point): Remove the special checks for the quotation
4601 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4603 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4605 * net/eww.el (eww-form-textarea): Use a different face for
4606 textareas than text input since they have different keymaps
4609 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4611 * progmodes/python.el (python-nav-beginning-of-statement):
4612 Speed up (Bug#15295).
4614 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4616 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4617 the window configuration.
4619 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4621 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4622 we run on MS-Windows or MS-DOS.
4624 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4626 * window.el (balance-windows-area): Call window-size instead of
4627 window-height and window-width. Bug#16241.
4629 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4631 * net/eww.el (eww-bookmark-quit): Remove.
4632 (eww-bookmark-browse): Restore the window configuration when you
4633 choose a bookmark (bug#16144).
4635 2013-12-24 Daniel Colascione <dancol@dancol.org>
4637 * icomplete.el: Remove redundant :group arguments to `defcustom'
4639 (icomplete-show-matches-on-no-input): New customizable variable.
4640 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4641 we have something to show.
4642 (icomplete-exhibit): Compute completions even if we have no user input.
4644 2013-12-23 Daniel Colascione <dancol@dancol.org>
4646 * icomplete.el: Move `provide' to end of file.
4648 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4650 * net/gnutls.el (gnutls-verify-error): Add version tag.
4652 2013-12-23 Chong Yidong <cyd@gnu.org>
4654 * subr.el (set-transient-map): Rename from
4655 set-temporary-overlay-map. Doc fix.
4657 * face-remap.el (text-scale-adjust):
4658 * indent.el (indent-rigidly):
4659 * kmacro.el (kmacro-call-macro):
4660 * minibuffer.el (minibuffer-force-complete):
4661 * repeat.el (repeat):
4662 * simple.el (universal-argument--mode):
4663 * calendar/todo-mode.el (todo-insert-item--next-param):
4664 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4666 * indent.el (indent-rigidly): Use substitute-command-keys.
4668 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4670 * net/eww.el (eww-tag-select): Add text-property to jump to next
4672 (eww): Add non-supported ftp error.
4674 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4676 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4677 comments. Handle electric indent after typing `?' and `!'.
4679 2013-12-22 Chong Yidong <cyd@gnu.org>
4681 * faces.el (face-spec-recalc): If the theme specs are not
4682 applicable to a frame, fall back on the defface spec.
4683 This prevents themes from obliterating faces on low-color terminals.
4685 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4687 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4688 after `{'. We need it after block openers, and it doesn't seem
4689 to hurt after hash openers.
4691 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4693 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4694 extracted from `ruby-smie-rules'.
4695 (ruby--electric-indent-chars): New variable.
4696 (ruby--electric-indent-p): New function.
4697 (ruby-mode): Use `electric-indent-functions' instead of
4698 `electric-indent-chars'.
4700 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4702 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4704 (ruby-smie-rules): Indent plus one level after `=>'.
4706 2013-12-21 Richard Stallman <rms@gnu.org>
4708 * simple.el (newline): Doc fix.
4710 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4712 * net/eww.el (eww-list-histories, eww-list-histories)
4713 (eww-history-browse, eww-history-quit, eww-history-kill)
4714 (eww-history-mode-map, eww-history-mode): New command and
4715 functions to list browser histories.
4716 (eww-form-text): Support text form with disabled
4717 and readonly attributes.
4718 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4720 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4722 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4723 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4724 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4725 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4727 (eww-bookmark-mode-map): Add menu.
4728 (eww-render, eww-mode): Use `setq-local'.
4729 (eww-tool-bar-map): New variable.
4730 (eww-mode): Set `tool-bar-map'.
4731 (eww-view-source): Check for `html-mode' with `fboundp'.
4733 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4735 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4736 elements with text inside. Also remove debugging.
4738 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4740 * cus-start.el (all): Add ns-use-srgb-colorspace.
4742 2013-12-21 Chong Yidong <cyd@gnu.org>
4744 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4745 undefined. Thus, theme settings for undefined faces do not take
4746 effect until the faces are defined with defface, the same as with
4749 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4750 (face-spec-reset-face): Don't assign extra properties in temacs.
4751 (face-spec-recalc): Apply X resources too.
4753 2013-12-21 Chong Yidong <cyd@gnu.org>
4755 * faces.el (face-spec-set):
4756 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4757 * custom.el (defface): Doc fixes (Bug#16203).
4759 * indent.el (indent-rigidly-map): Add docstring, and move commands
4760 into named functions.
4761 (indent-rigidly-left, indent-rigidly-right)
4762 (indent-rigidly-left-to-tab-stop)
4763 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4764 indentation direction based on bidi direction, and accumulate
4765 sequential commands in a single undo boundary.
4766 (indent-rigidly--pop-undo): New utility function.
4768 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4770 * faces.el (read-face-name): Require crm.el when using crm-separator.
4772 2013-12-20 Daniel Colascione <dancol@dancol.org>
4774 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4775 so that we don't reflow comments into the shebang line.
4777 2013-12-20 Juri Linkov <juri@jurta.org>
4779 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4780 a position when `dired-directory' is non-nil. Check integer
4781 positions with `integerp'.
4782 (toggle-save-place, save-places-to-alist): Add check for
4784 (save-place-find-file-hook): Check integer positions with
4786 (save-place-dired-hook): Use `dired-goto-file' when
4787 `dired-filename' is found in the assoc list. Check integer
4788 positions with `integerp'.
4789 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4791 * dired.el (dired-initial-position-hook): Rename back from
4792 `dired-initial-point-hook'.
4793 (dired-initial-position): Rename `dired-initial-point-hook' to
4794 `dired-initial-position-hook'.
4795 (dired-file-name-at-point): Doc fix. (Bug#15329)
4797 2013-12-20 Juri Linkov <juri@jurta.org>
4799 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4800 (read-regexp-suggestions): New function.
4801 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4802 Use `read-regexp-suggestions'. Add non-empty default to history
4804 (occur-read-regexp-defaults-function): Remove function.
4805 (occur-read-primary-args): Use `regexp-history-last' instead of
4806 `occur-read-regexp-defaults-function'.
4808 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4809 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4810 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4811 `hi-lock-read-regexp-defaults-function'. Doc fix.
4812 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4813 with `find-tag-default-as-symbol-regexp'. Doc fix.
4814 (hi-lock-read-regexp-defaults): Remove function.
4815 (hi-lock-regexp-okay): Add check for null.
4817 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4818 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4820 * subr.el (find-tag-default-as-symbol-regexp): New function.
4821 (find-tag-default-as-regexp): Move symbol regexp formatting to
4822 `find-tag-default-as-symbol-regexp'.
4824 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4826 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4829 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4831 * calendar/todo-mode.el: New implementation of item insertion
4832 commands and key bindings.
4833 (todo-key-prompt): New face.
4834 (todo-insert-item): New command.
4835 (todo-insert-item--parameters): New defconst, replacing defvar
4836 todo-insertion-commands-args-genlist.
4837 (todo-insert-item--param-key-alist): New defconst, replacing
4838 defvar todo-insertion-commands-arg-key-list.
4839 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4840 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4841 (todo-insert-item--next-param): New functions.
4842 (todo-insert-item--args, todo-insert-item--argleft)
4843 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4845 (todo-key-bindings-t): Change binding of "i" from
4846 todo-insertion-map to todo-insert-item.
4847 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4848 (todo-insertion-command-name, todo-insertion-commands-names)
4849 (todo-define-insertion-command, todo-insertion-commands)
4850 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4852 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4854 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4855 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4857 (todo-move-category): Allow choosing a non-existing todo file to
4858 move the category to, and create that file.
4859 (todo-default-priority): New user option.
4860 (todo-set-item-priority): Use it.
4861 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4862 (desktop-restore-file-buffer): Declare.
4863 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4864 (todo-modes-set-2): Locally set desktop-save-buffer to
4865 todo-desktop-save-buffer.
4866 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4867 (auto-mode-alist): Add autoload cookie.
4869 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4871 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4872 helpers.el was a poor choice of name.
4873 (string-remove-prefix): New function.
4874 (string-remove-suffix): New function.
4876 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4878 Fix assignment for new window total sizes.
4879 * window.el (window--pixel-to-size): Remove function.
4880 (window--pixel-to-total-1, window--pixel-to-total):
4881 Fix calculation of new total sizes.
4883 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4885 * comint.el (comint-output-filter): Fix rear-nonsticky property
4886 placement (Bug#16010).
4888 2013-12-20 Chong Yidong <cyd@gnu.org>
4890 * faces.el (read-color): Minor fix for completion function.
4892 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4894 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4895 New option. (Bug#16182)
4896 (ruby-smie--indent-to-stmt-p): Use it.
4897 (ruby-smie-rules): Revert the logic in the handling of `when'.
4898 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4899 (ruby-deep-arglist, ruby-deep-indent-paren)
4900 (ruby-deep-indent-paren-style): Update docstrings to note that the
4901 vars don't have any effect with SMIE.
4903 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4905 * calc/calc.el (calc-enter, calc-pop): Use the variable
4906 `calc-context-sensitive-enter'.
4908 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4910 * net/shr.el (shr-insert): Protect against infloops in degenerate
4913 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4915 * progmodes/octave.el (octave): Add link to manual and octave
4917 (octave-mode-menu): Link to octave-mode manual.
4919 2013-12-20 Leo Liu <sdl.web@gmail.com>
4921 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4922 insertion using skeleton-end-newline. (Bug#16138)
4924 2013-12-20 Juri Linkov <juri@jurta.org>
4926 * replace.el (occur-engine): Use `add-face-text-property'
4927 to add the face property to matches and titles. (Bug#14645)
4929 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4930 the palette of other hi-lock colors.
4931 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4933 2013-12-19 Juri Linkov <juri@jurta.org>
4935 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4936 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4937 (minibuffer-history-symbol): Move variable declaration closer to
4940 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4943 2013-12-19 Juri Linkov <juri@jurta.org>
4945 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4947 (log-edit-hook): Add it to :options. (Bug#16170)
4949 2013-12-19 Juri Linkov <juri@jurta.org>
4951 * simple.el (eval-expression-print-format): Don't check for
4952 command names and the last command. Always display additional
4953 formats of the integer result in the echo area, and insert them
4954 to the current buffer only with a zero prefix arg.
4955 Display character when char-displayable-p is non-nil.
4956 (eval-expression): With a zero prefix arg, set `print-length' and
4957 `print-level' to nil, and insert the integer values from
4958 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4960 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4961 `eval-last-sexp-arg-internal'. Doc fix.
4962 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4963 `eval-last-sexp-print-value'. Doc fix.
4964 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4965 Set `print-length' and `print-level' to nil when arg is zero.
4966 (eval-last-sexp): Doc fix.
4967 (eval-defun-2): Print the integer values from
4968 `eval-expression-print-format' at the end.
4970 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4971 values from `eval-expression-print-format' at the end.
4973 * ielm.el (ielm-eval-input): Print the integer
4974 values from `eval-expression-print-format' at the end.
4976 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4978 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4979 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4981 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4983 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4984 (hl-line-highlight, global-hl-line-highlight): Use it.
4985 (hl-line-overlay): Use defvar-local.
4987 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4989 * term/ns-win.el: Require dnd.
4990 (global-map): Remove drag items.
4991 (ns-insert-text, ns-set-foreground-at-mouse)
4992 (ns-set-background-at-mouse):
4993 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4994 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4997 2013-12-19 Glenn Morris <rgm@gnu.org>
4999 * emacs-lisp/ert.el (ert-select-tests):
5000 Fix string/symbol mixup. (Bug#16121)
5002 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5004 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5005 keywords to their parent.
5007 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5009 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5010 first arg to be a string (fixed dead code), or an operator symbol.
5011 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5013 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5014 did nothing. Don't respond to `(:after ".")', it will be called
5015 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5016 change anything. Only return indentation for binary operators
5017 when they are hanging. De-dent opening paren when its parent is
5018 `.', otherwise it looks bad when the dot is not at bol or eol
5021 2013-12-19 Juri Linkov <juri@jurta.org>
5023 * replace.el (query-replace-read-args): Split a non-negative arg
5024 and a negative arg into separate elements.
5025 (query-replace, query-replace-regexp, replace-string)
5026 (replace-regexp): Add arg `backward'. Doc fix.
5027 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5028 move point to the beginning of the match.
5029 (replace-search, replace-highlight): Use new arg `backward'
5030 to set the value of `isearch-forward'.
5031 (perform-replace): Add arg `backward' and use it to perform
5032 replacement backward. (Bug#14979)
5034 * isearch.el (isearch-query-replace): Use a negative prefix arg
5035 to call `perform-replace' with a non-nil arg `backward'.
5037 2013-12-18 Juri Linkov <juri@jurta.org>
5039 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5040 to the default list. Move `log-edit-show-files' to the end.
5041 Add more available functions to options.
5042 (log-edit): Move default specific settings to
5043 `log-edit-insert-message-template'. Don't move point.
5044 (log-edit-insert-message-template): New function.
5045 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5048 2013-12-18 Juri Linkov <juri@jurta.org>
5050 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5051 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5053 2013-12-18 Leo Liu <sdl.web@gmail.com>
5055 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5058 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5060 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5061 formats for displaying file sizes when the -s switch is given.
5062 Instead, compute a separate format for displaying the size in
5063 blocks, which is displayed in addition to the "regular" size.
5064 When -h is given in addition to -s, produce size in blocks in
5065 human-readable form as well. (Bug#16179)
5067 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5069 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5070 Reference tables with ~\ref{...} instead of only \ref{...}.
5072 2013-12-18 Chong Yidong <cyd@gnu.org>
5074 * cus-edit.el (custom-magic-alist): Fix "themed" description
5077 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5078 is non-nil, do not create a new entry in the symbol's theme-value
5079 or theme-face property; update theme-settings only (Bug#14664).
5080 (custom-available-themes): Doc fix.
5082 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5085 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5087 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5089 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5092 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5094 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5096 2013-12-18 Glenn Morris <rgm@gnu.org>
5098 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5099 * cus-start.el (load-prefer-newer): New option.
5101 2013-12-18 Le Wang <l26wang@gmail.com>
5103 * comint.el (comint-previous-matching-input-from-input):
5104 Retain point (Bug#13404).
5106 2013-12-18 Chong Yidong <cyd@gnu.org>
5108 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5110 2013-12-18 Glenn Morris <rgm@gnu.org>
5112 * mail/emacsbug.el (report-emacs-bug):
5113 Only mention enable-multibyte-characters if non-standard.
5115 2013-12-17 Juri Linkov <juri@jurta.org>
5117 * arc-mode.el (archive-extract-by-file): Check if directory exists
5118 before deletion to not show irrelevant errors if it doesn't exist.
5120 2013-12-17 Juri Linkov <juri@jurta.org>
5122 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5125 * net/eww.el (browse-web): Add alias to `eww'.
5126 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5127 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5129 * net/browse-url.el (browse-url-browser-function): Move `eww'
5130 closer to similar functions.
5132 * startup.el (fancy-startup-screen, fancy-about-screen):
5133 Set browse-url-browser-function to eww-browse-url locally.
5136 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5138 * window.el (window--pixel-to-total): Remove unused `mini' var.
5139 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5140 (split-window): Remove unused `new' var.
5141 (window--display-buffer): Remove unused `frame' and `delta' vars.
5142 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5145 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5147 * dired.el (dired-mark-pop-up):
5148 * register.el (register-preview): Don't bind
5149 split-height-threshold here since it's now done in
5150 display-buffer-below-selected.
5152 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5154 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5155 xterm-rgb-convert-to-16bit.
5156 (rxvt-register-default-colors): Standardize with
5157 xterm-register-default-colors (Bug#14078).
5159 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5161 * simple.el (kill-region): Pass mark first, then point, so that
5162 kill-append works right (Bug#12819).
5163 (copy-region-as-kill, kill-ring-save): Likewise.
5165 2013-12-17 Leo Liu <sdl.web@gmail.com>
5167 * net/rcirc.el (rcirc-add-face):
5168 * eshell/em-prompt.el (eshell-emit-prompt):
5169 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5172 2013-12-17 Chong Yidong <cyd@gnu.org>
5174 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5175 Suggested by Xue Fuqiao.
5177 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5179 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5181 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5183 * net/shr.el (shr-insert-document): Remove unused var
5184 `shr-preliminary-table-render'.
5185 (shr-rescale-image): Remove unused arg `force'.
5186 (shr-put-image): Update calls accordingly.
5187 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5189 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5191 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5192 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5193 :close-all, to see which indentation method to use (Bug#16116).
5194 (smie-rules-function): Document the method :close-all.
5196 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5198 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5200 * net/eww.el (eww-display-html): If we can't find the anchor we're
5201 looking for, then go to point-min.
5203 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5205 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5206 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5207 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5208 Expand dir too, in case it's relative.
5210 2013-12-16 Juri Linkov <juri@jurta.org>
5212 * desktop.el (desktop-auto-save-timeout): Change default to
5213 `auto-save-timeout'. Doc fix.
5214 (desktop-save): Skip the timestamp in desktop-saved-frameset
5215 when checking for auto-save changes.
5216 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5217 `desktop-auto-save' is called repeatedly by the idle timer.
5218 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5219 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5222 2013-12-16 Juri Linkov <juri@jurta.org>
5224 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5226 (isearch-pre-command-hook): Check `this-command' for symbolp.
5228 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5230 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5232 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5234 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5235 (cfengine3--current-function): Bring in the current-function
5236 functionality from `cfengine3--current-word'.
5237 (cfengine3-completion-function): Bring in the
5238 bounds-of-current-word functionality from
5239 `cfengine3--current-word'.
5241 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5243 * window.el (display-buffer-below-selected):
5244 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5246 2013-12-16 Leo Liu <sdl.web@gmail.com>
5248 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5249 Remove NOMSG arg and all uses changed.
5251 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5253 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5254 (cua--deactivate-rectangle): Don't deactivate the mark.
5255 (cua-set-rectangle-mark): Don't set mark-active since
5256 cua--activate-rectangle already does it for us.
5257 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5258 non-rectangular region.
5260 * emulation/cua-base.el (cua-repeat-replace-region):
5261 Use with-current-buffer.
5263 * net/gnutls.el: Use cl-lib.
5264 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5266 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5268 * emacs-lisp/package.el (package-built-in-p): Support both
5269 built-in and the package.el converted package descriptions.
5270 (package-show-package-list): Allow keywords.
5271 (package-keyword-button-action): Use it instead of
5272 `finder-list-matches'.
5273 (package-menu-filter-interactive): Interactive filtering (by
5275 (package-menu--generate): Support keywords and change keymappings
5276 and headers when they are given.
5277 (package--has-keyword-p): Helper function.
5278 (package-menu--refresh): Use it.
5279 (package--mapc): Helper function.
5280 (package-all-keywords): Use it.
5281 (package-menu-mode-map): Set up menu items and keybindings to
5282 provide a filtering UI.
5284 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5286 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5287 the behavior when a certificate fails validation. Defaults to
5288 old behavior: never abort, just warn.
5289 (gnutls-negotiate): Use it.
5291 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5293 * window.el (display-buffer-below-selected): Never split window
5294 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5296 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5298 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5299 (package-buffer-info): Use it (bug#15108).
5301 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5303 * icomplete.el (icomplete-completions): Make sure the prefix is already
5304 displayed elsewhere before hiding it (bug#16219).
5306 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5308 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5309 open-paren tokens when preceded by a open-paren, too.
5310 (ruby-smie-rules): Handle virtual indentation after open-paren
5311 tokens specially. If there is code between it and eol, return the
5312 column where is starts (Bug#16118).
5314 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5316 * progmodes/cfengine.el: Fix `add-hook' doc.
5317 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5318 (cfengine3--current-word): Fix parameters.
5319 (cfengine3-make-syntax-cache): Simplify further.
5320 (cfengine3-completion-function, cfengine3--current-function):
5321 Use `assq' for symbols.
5322 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5324 2013-12-13 Glenn Morris <rgm@gnu.org>
5326 * loadup.el (load-path): Warn if site-load or site-init changes it.
5327 No more need to reset it when bootstrapping.
5329 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5331 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5332 locations for cf-promises.
5333 (cfengine-mode-syntax-functions-regex): New caching variable.
5334 (cfengine3-fallback-syntax): Fallback syntax for cases where
5335 cf-promises doesn't run.
5336 (cfengine3--current-word): Reimplement using
5337 `cfengine-mode-syntax-functions-regex'.
5338 (cfengine3-completion-function, cfengine3--current-function):
5339 Use `cfengine3-make-syntax-cache' directly.
5340 (cfengine3-clear-syntax-cache): New function.
5341 (cfengine3-make-syntax-cache): Simplify and create
5342 `cfengine-mode-syntax-functions-regex' on demand.
5343 (cfengine3-format-function-docstring): Don't call
5344 `cfengine3-make-syntax-cache' explicitly.
5346 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5348 Fix windmove-find-other-window broken after pixelwise resizing
5350 * windmove.el (windmove-other-window-loc): Revert change from
5352 (windmove-find-other-window): Call window-in-direction.
5353 * window.el (window-in-direction): New arguments SIGN, WRAP and
5354 MINI to emulate original windmove-find-other-window behavior.
5356 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5358 * simple.el (blink-matching--overlay): New variable.
5359 (blink-matching-open): Instead of moving point, highlight the
5360 matching paren with an overlay
5361 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5363 * faces.el (paren-showing-faces, show-paren-match)
5364 (show-paren-mismatch): Move from paren.el.
5366 2013-12-13 Leo Liu <sdl.web@gmail.com>
5368 * indent.el (indent-region): Disable progress reporter in
5369 minibuffer. (Bug#16108)
5371 * bindings.el (visual-order-cursor-movement): Fix version.
5373 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5375 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5376 Also match after beginning of line.
5377 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5378 files. Thanks to Russell Sim. (Bug#15378)
5380 2013-12-13 Juri Linkov <juri@jurta.org>
5382 * simple.el <Keypad support>: Remove key bindings duplicated
5383 with bindings.el. (Bug#14397)
5385 2013-12-13 Juri Linkov <juri@jurta.org>
5387 * comint.el (comint-mode-map): Replace `delete-char' with
5388 `delete-forward-char'. (Bug#16109)
5390 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5392 * progmodes/python.el (python-indent-calculate-indentation):
5393 Fix de-denters cornercase. (Bug#15731)
5395 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5397 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5398 (advice--make): Pay attention to `depth'.
5399 (advice--make-1): Don't autoload commands eagerly.
5400 * emacs-lisp/elp.el (elp-instrument-function):
5401 * emacs-lisp/trace.el (trace-function-internal):
5402 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5404 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5406 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5408 * term/w32-win.el (w32-handle-dropped-file):
5409 * startup.el (normal-top-level):
5410 * net/browse-url.el (browse-url-file-url):
5411 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5412 decode file names using 'utf-8' rather than
5413 file-name-coding-system.
5415 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5417 * progmodes/python.el (python-indent-context)
5418 (python-indent-calculate-indentation): Fix auto-identation
5419 behavior for comment blocks. (Bug#15916)
5421 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5423 * progmodes/python.el (python-indent-calculate-indentation):
5424 When determining indentation, don't treat "return", "pass", etc., as
5425 operators when they are just string constituents. (Bug#15812)
5427 2013-12-12 Juri Linkov <juri@jurta.org>
5429 * uniquify.el (uniquify-buffer-name-style): Change default to
5430 `post-forward-angle-brackets'.
5432 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5433 `uniquify'. Change default to `post-forward-angle-brackets'.
5435 2013-12-11 Glenn Morris <rgm@gnu.org>
5437 * emacs-lisp/package.el (finder-list-matches):
5438 Autoload rather than falsely declaring.
5440 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5442 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5443 (eww-mode-map): Use them.
5445 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5447 * window.el (display-buffer-in-side-window): Fix doc-string
5450 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5452 * vc/vc-git.el: Silence byte-compiler warnings.
5453 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5454 (log-edit-set-header): Declare.
5456 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5458 * Makefile.in (custom-deps, finder-data): Run output file names
5459 through unmsys--file-name. (Bug#16099)
5461 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5463 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5464 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5466 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5467 instead of deleting the selection "by hand" (bug#16098).
5468 Rely on insert-for-yank to yank rectangles.
5469 (cua-highlight-region-shift-only): Mark obsolete.
5470 (cua-mode): Don't enable/disable transient-mark-mode,
5471 shift-select-mode (cua-mode works both with and without them), and
5472 pc-selection-mode (obsolete).
5473 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5474 (cua--deactivate-rectangle): Deactivate it.
5476 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5477 (delete-selection-helper): Make sure yank starts at the top of the
5479 (minibuffer-keyboard-quit): Use region-active-p.
5481 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5483 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5484 to `delete' (bug#16109).
5486 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5488 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5489 info manual and show keybindings and set `:group' keyword.
5491 2013-12-11 Juri Linkov <juri@jurta.org>
5493 * delsel.el (delete-active-region): Let-bind `this-command'
5494 to prevent `kill-region' from changing its original value.
5495 (delete-selection-helper): Handle `overwrite-mode' for the type
5496 `kill' exactly the same way as for the type `t'.
5497 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5498 Support more commands. (Bug#13312)
5500 2013-12-11 Juri Linkov <juri@jurta.org>
5502 * bindings.el: Map kp keys to non-kp keys systematically
5503 with basic modifiers control, meta and shift. (Bug#14397)
5505 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5507 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5508 "Close browser" menu items. Fix wrong function of "List
5511 2013-12-11 Juri Linkov <juri@jurta.org>
5513 * misearch.el (multi-isearch-buffers): Set the value of
5514 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5515 arg of isearch-forward to t.
5516 (multi-isearch-buffers-regexp): Set the value of
5517 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5518 arg of isearch-forward-regexp to t.
5519 (multi-isearch-files): Set the value of
5520 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5521 arg of isearch-forward to t.
5522 (multi-isearch-files-regexp): Set the value of
5523 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5524 arg of isearch-forward-regexp to t. (Bug#16035)
5526 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5527 arg of isearch-forward to t.
5528 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5529 arg of isearch-forward-regexp to t.
5530 (dired-isearch-filter-filenames): Remove unnecessary check for
5531 `dired-isearch-filenames'.
5533 * comint.el (comint-history-isearch-backward):
5534 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5535 (comint-history-isearch-backward-regexp):
5536 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5538 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5540 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5541 unmsys--file-name. (Bug#16099)
5543 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5545 * emacs-lisp/package.el (package-keyword-button-action):
5546 Remove finder.el require dependency.
5548 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5550 * emacs-lisp/package.el: Require finder.el.
5551 (describe-package-1): Add keyword buttons.
5552 (package-make-button): New convenience function.
5553 (package-keyword-button-action): Keyword button action using
5554 `finder-list-matches'.
5556 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5558 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5561 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5563 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5566 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5568 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5569 after the end of a percent literal.
5571 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5573 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5574 Handle caret-delimited strings (Bug#16079).
5576 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5578 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5579 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5580 `ruby-parse-partial' (Bug#16078).
5582 2013-12-09 Leo Liu <sdl.web@gmail.com>
5584 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5586 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5588 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5589 (js-switch-indent-offset): New option.
5590 (js--proper-indentation): Use it. And handle the case when
5591 "default" is actually a key in an object literal.
5592 (js--same-line): New function.
5593 (js--multi-line-declaration-indentation): Use it.
5594 (js--indent-in-array-comp, js--array-comp-indentation):
5596 (js--proper-indentation): Use them, to handle array comprehension
5599 2013-12-08 Leo Liu <sdl.web@gmail.com>
5601 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5602 (flymake-make-overlay): Remove arg MOUSE-FACE.
5603 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5605 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5607 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5609 (redisplay-highlight-region-function): Use it.
5611 * emulation/cua-base.el (cua--explicit-region-start)
5612 (cua--last-region-shifted): Remove.
5613 (cua--deactivate): Use deactivate-mark.
5614 (cua--pre-command-handler-1): Don't handle shift-selection.
5615 (cua--post-command-handler-1): Don't change transient-mark-mode.
5616 (cua--select-keymaps): Use region-active-p rather than
5617 cua--explicit-region-start or cua--last-region-shifted.
5618 (cua-mode): Enable shift-select-mode.
5620 2013-12-08 Leo Liu <sdl.web@gmail.com>
5622 * progmodes/flymake.el (flymake-popup-current-error-menu):
5623 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5624 (flymake-posn-at-point-as-event, flymake-popup-menu)
5625 (flymake-make-emacs-menu): Remove. (Bug#16077)
5627 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5629 * rect.el (rectangle-mark-mode): Activate mark even if
5630 transient-mark-mode is off (bug#16066).
5631 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5632 is > mark and at bolp.
5634 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5635 (region-extract-function): Use it.
5636 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5637 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5639 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5640 kill-ring-save, kill-region, delete-char, delete-forward-char.
5641 Ignore self-insert-iso.
5643 * emulation/cua-gmrk.el (cua--init-global-mark):
5644 Ignore `self-insert-iso'.
5646 * emulation/cua-base.el (cua--prefix-copy-handler)
5647 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5648 checking cua--rectangle.
5649 (cua-delete-region): Use region-extract-function.
5650 (cua-replace-region): Delete function.
5651 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5652 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5653 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5654 (cua--init-keymaps): Don't remap delete-selection commands.
5655 (cua-mode): Use delete-selection-mode instead of rolling our own
5658 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5659 Obey region-extract-function.
5661 Make registers and delete-selection-mode work on rectangles.
5662 * register.el (describe-register-1): Don't modify the register's value.
5663 (copy-to-register): Obey region-extract-function.
5664 * delsel.el (delete-active-region): Obey region-extract-function.
5666 2013-12-08 Leo Liu <sdl.web@gmail.com>
5668 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5669 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5670 (flymake-compilation-prevents-syntax-check)
5671 (flymake-start-syntax-check-on-newline)
5672 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5673 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5674 (flymake-xml-program, flymake-master-file-dirs)
5675 (flymake-master-file-count-limit)
5676 (flymake-allowed-file-name-masks): Relocate.
5677 (flymake-makehash, flymake-float-time)
5678 (flymake-replace-regexp-in-string, flymake-split-string)
5679 (flymake-get-temp-dir): Remove.
5680 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5681 (flymake-current-row, flymake-selected-frame)
5682 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5683 related functions. (Bug#16077)
5685 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5687 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5689 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5691 * help-fns.el (describe-function-1): Use new advice-* functions
5692 rather than old ad-* functions. Fix function type description and
5693 source links for advised functions and subrs.
5695 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5697 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5699 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5701 * progmodes/compile.el (compilation-start):
5702 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5704 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5705 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5707 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5709 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5710 Touch up the last change.
5712 2013-12-06 Leo Liu <sdl.web@gmail.com>
5714 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5715 (inferior-octave-startup): Always use "octave> " for prompt.
5716 (octave-goto-function-definition)
5717 (octave-sync-function-file-names)
5718 (octave-find-definition-default-filename): Remove redundant backquotes.
5720 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5722 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5724 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5725 where appropriate already.
5726 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5727 end of method names (Bug#15874).
5729 2013-12-06 Juri Linkov <juri@jurta.org>
5731 * isearch.el (isearch--saved-overriding-local-map):
5732 New internal variable.
5733 (isearch-mode): Set it to the initial value of
5734 `overriding-terminal-local-map'.
5735 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5736 with `isearch--saved-overriding-local-map'. (Bug#16035)
5738 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5740 * progmodes/octave.el (inferior-octave-completion-table):
5741 Turn back into function, use `completion-table-with-cache'
5742 (Bug#11906). Update all references.
5744 * minibuffer.el (completion-table-with-cache): New function.
5746 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5748 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5750 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5752 * net/eww.el (eww-current-source): New variable to store page
5754 (eww-display-html, eww-mode, eww-save-history)
5755 (eww-restore-history): Use it.
5756 (eww-view-source): New command to view page source.
5757 Opportunistically uses `html-mode' to highlight the buffer.
5758 (eww-mode-map): Install it.
5760 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5762 * net/dbus.el (dbus-unregister-service)
5763 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5765 (dbus-unregister-service): Skip :serial entries in
5766 `dbus-registered-objects-table'.
5767 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5769 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5771 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5772 around keywords with extra `split-string' argument.
5774 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5776 * windmove.el (windmove-other-window-loc): Handle navigation
5777 between windows (excluding the minibuffer window - Bug#16017).
5779 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5781 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5782 in D-Bus type syntax.
5783 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5784 preserve unibyte strings. (Bug#16048)
5786 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5788 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5789 Call force-mode-line-update is the proper buffer (bug#16042).
5791 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5793 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5794 `log-edit-remember-comment', make argument optional. Adjust all
5796 (log-edit-mode): Add `log-edit-remember-comment' to
5797 `kill-buffer-hook' locally.
5798 (log-edit-kill-buffer): Don't remember comment explicitly since
5799 the buffer is killed anyway.
5801 2013-12-04 Juri Linkov <juri@jurta.org>
5803 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5804 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5806 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5808 * notifications.el (notifications-close-notification): Call the
5809 D-Bus method with ID being a `:uint32'. (Bug#16030)
5811 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5813 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5815 2013-12-03 Juri Linkov <juri@jurta.org>
5817 * progmodes/compile.el (compilation-start): Rename window alist
5818 entry `no-display-ok' to `allow-no-window'.
5820 * simple.el (shell-command): Add window alist entry
5821 `allow-no-window' to `display-buffer'.
5822 (async-shell-command): Doc fix.
5824 * window.el (display-buffer-no-window): New action function.
5825 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5827 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5829 * vc/log-edit.el (log-edit-set-header): Extract from
5830 `log-edit-toggle-header'.
5831 (log-edit-extract-headers): Separate the summary, when extracted
5832 from header, from the rest of the message with an empty line.
5834 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5835 line, if present, to the Summary header.
5837 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5839 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5840 in current-buffer (bug#16029).
5842 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5844 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5845 (debugger-mode-map): Bind it.
5846 (debugger--backtrace-base): New function.
5847 (debugger-eval-expression): Use it.
5848 (debugger-frame-number): Skip local vars when present.
5849 (debugger--locals-visible-p, debugger--insert-locals)
5850 (debugger--show-locals, debugger--hide-locals): New functions.
5852 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5854 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5856 (tramp-get-remote-locale): New defun.
5857 (tramp-open-connection-setup-interactive-shell): Use it.
5859 2013-12-02 Leo Liu <sdl.web@gmail.com>
5861 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5863 * progmodes/sh-script.el (sh-shell-process):
5864 * progmodes/octave.el (inferior-octave-process-live-p):
5865 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5866 (gdb-inferior-io-sentinel):
5867 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5869 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5871 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5872 `save-selected-window' to `log-edit-hide-buf'. This makes
5873 `log-edit-show-files' idempotent.
5874 (log-edit-show-files): Mark the new window as dedicated.
5876 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5878 * vc/log-edit.el (log-edit-mode-map): Add binding for
5879 `log-edit-kill-biffer'.
5880 (log-edit-hide-buf): Add a FIXME comment.
5881 (log-edit-add-new-comment): New function, extracted from
5883 (log-edit-done, log-edit-add-to-changelog): Use it.
5884 (log-edit-kill-buffer): New command.
5886 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5888 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5889 instead of killing the buffer.
5891 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5893 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5895 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5897 * net/eww.el (eww-form-checkbox-selected-symbol)
5898 (eww-form-checkbox-symbol): New customizable variable.
5899 (eww-form-checkbox, eww-toggle-checkbox):
5900 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5902 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5903 (shr--get-media-pref, shr--extract-best-source): New function.
5904 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5905 no :src tag was specified.
5907 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5908 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5909 Use \\` to match beginning of string instead of ^.
5910 (eww-browse-with-external-browser): Provide optional URL parameter.
5911 (eww-render): Set `eww-current-title' back to "".
5913 * net/shr.el (shr-tag-video): Display content for video if no
5914 poster is available.
5915 (shr-tag-audio): Add support for <audio> tag.
5917 * net/eww.el (eww-text-input-types): New const.
5918 (eww-process-text-input): Treat input types in
5919 `eww-text-input-types' as text.
5921 * net/shr.el (shr-tag-table): Fix comment typo.
5923 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5925 * net/eww.el (eww-follow-link): New command to avoid reloading
5926 pages when we follow #target links (bug#15243).
5927 (eww-quit): Special mode buffers shouldn't query before exiting.
5929 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5931 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5934 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5936 * net/eww.el (eww-restore-history): Update the window title after
5937 moving in the history.
5938 (eww-current-dom): New variable used to save the current DOM.
5940 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5942 * vc/log-edit.el (log-edit-mode-map): Add binding for
5943 `log-edit-beginning-of-line'.
5944 (log-edit-setup-add-author): New user option.
5945 (log-edit-beginning-of-line): New command.
5946 (log-edit): Move major mode call above the contents setup so that
5947 the local variable values are already applied.
5948 (log-edit): Only insert "Author: " when
5949 `log-edit-setup-add-author' is non-nil.
5950 (log-edit): When SETUP is non-nil, position point after ": "
5951 instead of point-min.
5953 2013-12-01 Glenn Morris <rgm@gnu.org>
5955 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5957 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5959 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5960 redisplay to make sure the initial frame gets a chance to become
5961 visible. (Bug#16014)
5963 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5965 Support resizing frames and windows pixelwise.
5966 * cus-start.el (frame-resize-pixelwise)
5967 (window-resize-pixelwise): New entries.
5968 * emacs-lisp/debug.el (debug): Use window-total-height instead
5969 of window-total-size.
5970 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5971 * help.el (describe-bindings-internal): Use help-buffer as
5972 argument for with-help-window.
5973 (temp-buffer-max-width): New option.
5974 (resize-temp-buffer-window, help-window-setup)
5975 (with-help-window): Rewrite.
5976 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5978 * window.el (frame-char-size, window-min-pixel-height)
5979 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5980 (window-min-pixel-width, window-safe-min-pixel-size)
5981 (window-combination-p, window-safe-min-size)
5982 (window-resizable-p, window--size-to-pixel)
5983 (window--pixel-to-size, window--resize-apply-p): New functions.
5984 (window-safe-min-height): Fix doc-string.
5985 (window-size, window-min-size, window--min-size-1)
5986 (window-sizable, window-sizable-p, window--min-delta-1)
5987 (window-min-delta, window--max-delta-1, window-max-delta)
5988 (window--resizable, window--resizable-p, window-resizable)
5989 (window-full-height-p, window-full-width-p, window-at-side-p)
5990 (window--in-direction-2, window-in-direction)
5991 (window--resize-reset-1, window--resize-mini-window)
5992 (window-resize, window-resize-no-error)
5993 (window--resize-child-windows-normal)
5994 (window--resize-child-windows, window--resize-siblings)
5995 (window--resize-this-window, window--resize-root-window)
5996 (window--resize-root-window-vertically)
5997 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5998 (maximize-window, minimize-window, delete-window)
5999 (quit-restore-window, window-split-min-size, split-window)
6000 (balance-windows-2, balance-windows)
6001 (balance-windows-area-adjust, balance-windows-area)
6002 (window--state-get-1, window-state-get, window--state-put-1)
6003 (window--state-put-2, window-state-put)
6004 (display-buffer-record-window, window--display-buffer):
6005 Make functions handle pixelwise sizing of windows.
6006 (display-buffer--action-function-custom-type)
6007 (display-buffer-fallback-action):
6008 Add display-buffer-in-previous-window.
6009 (display-buffer-use-some-window): Resize window to height it had
6011 (fit-window-to-buffer-horizontally): New option.
6012 (fit-frame-to-buffer): Describe new values.
6013 (fit-frame-to-buffer-bottom-margin): Replace with
6014 fit-frame-to-buffer-margins.
6015 (window--sanitize-margin): New function.
6016 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6017 using window-text-pixel-size.
6019 2013-11-30 Glenn Morris <rgm@gnu.org>
6021 * emacs-lisp/bytecomp.el (byte-compile-form):
6022 Make the `interactive-only' warning like the `obsolete' one.
6023 * comint.el (comint-run):
6024 * files.el (insert-file-literally, insert-file):
6025 * replace.el (replace-string, replace-regexp):
6026 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6027 (goto-line, insert-buffer, next-line, previous-line):
6028 Tweak `interactive-only' spec.
6030 Stop keeping (most) generated cedet grammar files in the repository.
6031 * Makefile.in (semantic): New.
6032 (compile-main): Depend on semantic.
6034 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6036 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6037 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6039 * uniquify.el (uniquify-buffer-name-style): Change default.
6041 * loadup.el: Preload "uniquify".
6043 * time.el (display-time-update): Update all mode lines (bug#15999).
6045 * electric.el (electric-indent-mode): Enable by default.
6046 * loadup.el: Preload "electric".
6048 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6050 * emacs-lisp/helpers.el (string-empty-p): New function.
6051 (string-blank-p): New function.
6053 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6055 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6058 2013-11-29 Andreas Politz <politza@fh-trier.de>
6059 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6060 allow non-lambda lists as functions.
6061 (imenu--in-alist): Don't recurse into non-subalists.
6062 (imenu): Don't pass function itself as an argument (Bug#14029).
6064 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6066 * progmodes/python.el (python-mode-map): Remove binding for ":".
6067 (python-indent-electric-colon): Remove command.
6068 (python-indent-post-self-insert-function): Integrate the previous code
6069 of python-indent-electric-colon. Make it conditional on
6070 electric-indent-mode.
6071 (python-mode): Add ?: to electric-indent-chars.
6072 Move python-indent-post-self-insert-function to the end of
6073 post-self-insert-hook.
6075 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6077 * doc-view.el (doc-view-goto-page): Update mode-line.
6079 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6081 2013-11-27 Glenn Morris <rgm@gnu.org>
6083 * international/charprop.el, international/uni-bidi.el:
6084 * international/uni-category.el, international/uni-combining.el:
6085 * international/uni-comment.el, international/uni-decimal.el:
6086 * international/uni-decomposition.el, international/uni-digit.el:
6087 * international/uni-lowercase.el, international/uni-mirrored.el:
6088 * international/uni-name.el, international/uni-numeric.el:
6089 * international/uni-old-name.el, international/uni-titlecase.el:
6090 * international/uni-uppercase.el:
6091 Remove generated files from VCS repository.
6093 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6095 * filenotify.el (file-notify-add-watch): Don't special-case
6096 w32notify when computing the directory to watch.
6098 2013-11-27 Glenn Morris <rgm@gnu.org>
6100 Make bootstrap without generated uni-*.el files possible again.
6101 * loadup.el: Update command-line-args checking for unidata-gen.
6102 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6103 * composite.el, international/characters.el:
6104 Handle unicode tables being undefined.
6106 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6107 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6108 (compile-main): Depend on leim rule.
6110 * loadup.el: Move leim-list.el to leim/ subdirectory.
6111 * startup.el (normal-top-level): No more leim directory.
6112 * international/ja-dic-cnv.el (skkdic-convert):
6113 Disable version-control and autoloads in output files.
6114 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6115 Disable version-control and autoloads in output files.
6116 * leim/quail: Move here from ../leim.
6117 * leim/quail/hangul.el (hangul-input-method-activate):
6118 Add autoload cookie.
6119 (generated-autoload-load-name): Set file-local value.
6120 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6121 (generated-autoload-load-name): Set file-local value.
6123 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6125 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6126 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6127 (eww-quit): Ask confirmation before quitting eww.
6129 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6131 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6132 reading output from Diff on MS-Windows and MS-DOS.
6134 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6136 * emacs-lisp/helpers.el (string-reverse): New function.
6138 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6140 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6141 names on MS Windows, like "/[::1]:".
6143 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6146 2013-11-26 Glenn Morris <rgm@gnu.org>
6148 * progmodes/python.el (python-indent-guess-indent-offset):
6149 Avoid corner-case error. (Bug#15975)
6151 Preload leim-list.el. (Bug#4789)
6152 * loadup.el: Load leim-list.el when found.
6153 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6155 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6157 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6159 * emacs-lisp/helpers.el (string-join): New function.
6161 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6163 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6164 Mark as obsolete and replace it with a symbol property.
6165 (byte-compile-form): Use new 'interactive-only property.
6166 * comint.el, files.el, replace.el, simple.el:
6167 Apply new 'interactive-only properly.
6169 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6171 * window.el (display-buffer-at-bottom): Make sure that
6172 split-window-sensibly creates the new window on bottom
6175 2013-11-23 David Kastrup <dak@gnu.org>
6177 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6178 on the conflict markers when available.
6179 (smerge--get-marker): New function.
6180 (smerge-end-re, smerge-base-re): Add subgroup.
6182 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6184 * frame.el (handle-focus-in, handle-focus-out): Add missing
6187 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6189 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6190 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6192 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6194 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6195 (gomoku--last-pos): New var.
6196 (gomoku--intangible-chars): New const.
6197 (gomoku--intangible): New function.
6198 (gomoku-mode): Use it. Derive from special-mode.
6199 (gomoku-move-up): Adjust line count.
6200 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6201 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6202 Simplify accordingly.
6204 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6205 Remove blink-cursor code.
6206 (blink-cursor-timer-function, blink-cursor-suspend):
6207 Don't special-case GUIs.
6208 (blink-cursor-mode): Use focus-in/out-hook.
6210 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6212 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6213 work when annotation is invisible (Bug#13886).
6215 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6217 * json.el (json-alist-p): Only return non-nil if the alist has
6218 simple keys (Bug#13518).
6220 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6222 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6223 when control-statement is the first statement in a buffer (Bug#15956).
6225 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6227 * imenu.el (imenu-generic-skip-comments-and-strings):
6228 New option (Bug#15560).
6229 (imenu--generic-function): Use it.
6231 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6233 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6236 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6238 * emacs-lisp/helpers.el: Add some string helpers.
6239 (string-trim-left): Removes leading whitespace.
6240 (string-trim-right): Removes trailing whitespace.
6241 (string-trim): Removes leading and trailing whitespace.
6243 * subr.el (string-suffix-p): New function.
6245 2013-11-23 Glenn Morris <rgm@gnu.org>
6247 * progmodes/python.el (python-shell-send-file):
6248 Add option to delete file when done. (Bug#15647)
6249 (python-shell-send-string, python-shell-send-region): Use it.
6251 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6253 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6254 to set buffer-read-only to t, never to nil. (Bug#15938)
6256 * textmodes/tex-mode.el (latex-noindent-environments):
6257 Add safe-local-variable property. (Bug#15936)
6259 2013-11-23 Glenn Morris <rgm@gnu.org>
6261 * textmodes/enriched.el (enriched-mode): Doc fix.
6262 * emacs-lisp/authors.el (authors-renamed-files-alist):
6263 Add enriched.doc -> enriched.txt.
6265 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6267 2013-11-22 Leo Liu <sdl.web@gmail.com>
6269 * progmodes/octave.el (inferior-octave-startup): Spit out error
6272 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6274 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6277 (ruby-encoding-magic-comment-style): Add :version.
6279 2013-11-22 Leo Liu <sdl.web@gmail.com>
6281 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6283 (octave-help-mode): Adapt to change to help-mode-finish to use
6284 derived-mode-p on 2013-09-17.
6285 (inferior-octave-prompt): Also match octave-gui.
6286 (octave-kill-process): Don't ask twice. (Bug#10564)
6288 2013-11-22 Leo Liu <sdl.web@gmail.com>
6290 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6291 (inferior-octave-startup, inferior-octave-check-process)
6292 (inferior-octave-track-window-width-change)
6293 (octave-completion-at-point, octave-eldoc-function): Use it.
6294 (octave-kill-process): Provide confirmation. (Bug#10564)
6296 2013-11-21 Leo Liu <sdl.web@gmail.com>
6298 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6299 Fix obsolete variable comment-use-global-state.
6301 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6303 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6304 Add `octave-source-file'.
6305 (octave-source-file): New function. (Bug#15935)
6307 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6309 * net/eww.el (eww-local-regex): New variable.
6310 (eww): Use it to detect localhost and similar.
6312 2013-11-21 Leo Liu <sdl.web@gmail.com>
6314 Add completion for command `ag'.
6315 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6316 (pcomplete/ag): New function.
6317 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6319 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6321 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6323 (make-obsolete): Remove interactive spec.
6325 2013-11-21 Glenn Morris <rgm@gnu.org>
6327 * startup.el (command-line-1): Use path-separator with -L.
6329 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6331 * emacs-lisp/package.el (describe-package-1): Add package archive
6334 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6336 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6337 Change default to "# encoding: %s" to differentiate it from the
6338 default Ruby encoding comment template.
6340 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6342 * ses.el (ses-mode): Doc fix. (Bug#14748)
6344 2013-11-20 Leo Liu <sdl.web@gmail.com>
6346 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6348 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6350 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6351 when rebase or bisect are in progress.
6353 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6355 * filenotify.el (file-notify-add-watch): Doc fix.
6357 2013-11-19 Leo Liu <sdl.web@gmail.com>
6359 * obsolete/rcompile.el: Mark obsolete.
6361 * progmodes/compile.el (compilation-start)
6362 (compilation-goto-locus, compilation-find-file):
6363 Pass no-display-ok and handle nil value from display-buffer.
6366 * window.el (display-buffer-alist, display-buffer): Document the
6367 new parameter no-display-ok. Return either a window or nil
6368 but never a non-window value.
6370 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6372 * electric.el (electric-indent-mode-map): Remove.
6373 (electric-indent-mode): Change the global-map instead (bug#15915).
6375 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6378 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6380 * emacs-lisp/nadvice.el (remove-function): Align with
6381 add-function's behavior.
6383 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6384 (gdb--string-regexp): New constant.
6385 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6386 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6387 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6389 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6390 Adjust use accordingly.
6391 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6393 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6395 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6396 interpolation curlies (Bug#15914).
6398 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6400 * calc/calc.el (calc-context-sensitive-enter): New variable.
6401 (calc-enter): Use `calc-context-sensitive-enter'.
6403 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6405 * progmodes/cfengine.el: Version bump.
6406 (cfengine-cf-promises): New defcustom to locate cf-promises.
6407 (cfengine3-vartypes): Add new "data" type.
6408 (cfengine3--current-word): New function to get current name-like
6410 (cfengine3--current-function): New function to look up a CFEngine
6411 function's definition.
6412 (cfengine3-format-function-docstring): New function.
6413 (cfengine3-make-syntax-cache): New function.
6414 (cfengine3-documentation-function): New function: ElDoc glue.
6415 (cfengine3-completion-function): New function: completion glue.
6416 (cfengine3-mode): Set `compile-command',
6417 `eldoc-documentation-function', and add to
6418 `completion-at-point-functions'.
6420 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6422 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6423 `tramp-current-connection'.
6425 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6427 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6428 nil/self/true/false with "end of symbol".
6430 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6432 * subr.el (version-regexp-alist): Fix a typo.
6434 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6436 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6437 "en_US.utf8" and "LC_CTYPE" to "".
6438 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6439 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6441 2013-11-15 Leo Liu <sdl.web@gmail.com>
6443 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6445 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6447 * progmodes/gud.el (ctl-x-map):
6448 Remove C-x SPC binding. (Bug#12342)
6449 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6451 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6453 * subr.el (version-regexp-alist):
6454 Recognize hg, svn and darcs versions as snapshot versions.
6456 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6457 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6458 (ruby--encoding-comment-required-p): Extract from
6459 `ruby-mode-set-encoding'.
6460 (ruby-mode-set-encoding): Add the ability to always insert an
6461 utf-8 encoding comment. Fix and simplify coding comment update
6464 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6466 * net/tramp-gvfs.el (top): Run init code only when
6467 `tramp-gvfs-enabled' is not nil.
6468 (tramp-gvfs-enabled): Check also :system bus.
6470 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6472 Sync with upstream verilog-mode revision 78e66ba.
6473 * progmodes/verilog-mode.el (verilog-end-of-defun)
6474 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6475 (verilog-get-end-of-defun): Remove unused argument.
6476 (verilog-comment-depth): Remove unused local `e'.
6477 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6478 Don't pass arg to verilog-get-end-of-defun.
6480 2013-11-14 Glenn Morris <rgm@gnu.org>
6482 * obsolete/assoc.el (aget): Prefix dynamic variable.
6484 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6486 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6488 * widget.el, hfy-cmap.el: Remove bogus package version number.
6490 2013-11-13 Glenn Morris <rgm@gnu.org>
6492 * replace.el (replace-eval-replacement):
6493 Try to give more helpful error message. (Bug#15836)
6495 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6496 (archive-7z-update): Avoid custom type mismatches.
6498 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6500 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6502 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6503 address can be empty.
6505 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6506 Accept nil SWITCHES.
6507 (tramp-gvfs-handle-write-region): Implement APPEND.
6509 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6511 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6512 binary "|" operator and closing block args delimiter.
6513 Remove FIXME comment referring to Ruby 1.8-only syntax.
6514 (ruby-smie--implicit-semi-p): Not after "|" operator.
6515 (ruby-smie--closing-pipe-p): New function.
6516 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6517 (ruby-smie-rules): Indent after "|".
6519 2013-11-12 Glenn Morris <rgm@gnu.org>
6521 * ps-print.el (ps-face-attribute-list):
6522 Handle anonymous faces. (Bug#15827)
6524 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6526 * window.el (display-buffer-other-frame): Fix doc-string.
6529 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6531 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6533 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6535 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6536 (tramp-sh-handle-file-local-copy): Don't write a message when
6537 saving temporary files.
6539 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6540 both directories are remote.
6541 (tramp-smb-handle-directory-files): Do not return double entries.
6542 Do not expand full file names.
6543 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6544 (tramp-smb-handle-write-region): Implement APPEND.
6545 (tramp-smb-get-stat-capability): Fix a stupid bug.
6547 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6549 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6551 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6553 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6554 throwing error over malformed let/let* (bug#15814).
6556 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6558 * iswitchb.el (iswitchb-mode): Mark obsolete.
6560 2013-11-11 Glenn Morris <rgm@gnu.org>
6562 * international/uni-bidi.el, international/uni-category.el:
6563 * international/uni-name.el, international/uni-numeric.el:
6564 Regenerate for Unicode 6.3.0.
6566 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6568 * net/tramp.el (tramp-methods):
6569 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6570 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6572 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6574 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6575 Force highlighting text after Summary keyword in doc face for rpm.
6577 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6579 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6580 available and the word has no wildcards, append one to the grep pattern.
6581 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6582 (ispell-complete-word): Call `ispell-lookup-words' with the value
6583 independent of `ispell-look-p'.
6585 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6587 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6589 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6592 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6594 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6595 (ruby-font-lock-keywords): Use backquote.
6597 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6599 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6600 (ruby-smie--backward-token): Only consider full-string matches.
6602 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6604 * faces.el (describe-face): Add distant-foreground.
6606 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6608 * progmodes/ruby-mode.el: Improve encoding comment handling.
6609 (ruby-encoding-magic-comment-style): New option.
6610 (ruby-custom-encoding-magic-comment-template): New option.
6611 (ruby--insert-coding-comment, ruby--detect-encoding):
6612 New functions extracted from `ruby-mode-set-encoding'.
6613 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6614 to control the style of the auto-inserted encoding comment.
6616 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6618 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6619 Use `smie-backward-sexp' with token argument.
6621 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6623 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6624 Remove instrumentation code.
6626 2013-11-08 Glenn Morris <rgm@gnu.org>
6628 * progmodes/autoconf.el (autoconf-mode):
6629 Tweak comment-start-skip. (Bug#15822)
6631 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6633 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6634 at bobp (bug#15826).
6635 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6637 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6639 * man.el (Man-start-calling): New macro, extracted from
6640 Man-getpage-in-background.
6641 (Man-getpage-in-background): Use it.
6642 (Man-update-manpage): New command.
6643 (Man-mode-map): Bind it.
6645 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6647 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6648 of "and", "or", "&&" and "||".
6649 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6650 argument. Prohibit opening curly brace because it could only be a
6651 block opener in that position.
6652 (ruby-smie--forward-token, ruby-smie--backward-token):
6653 Separate "|" from "&" or "*" going after it. That can happen in block
6655 (ruby-smie--indent-to-stmt): New function, seeks the end of
6656 previous statement or beginning of buffer.
6657 (ruby-smie-rules): Use it.
6658 (ruby-smie-rules): Check if there's a ":" before a curly block
6659 opener candidate; if there is, it's a hash.
6661 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6663 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6664 (cl--block-wrapper): Fix last accidental change.
6666 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6668 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6669 Instrument, in order to hunt failure on hydra.
6671 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6673 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6674 malformed bindings form (bug#15814).
6676 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6678 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6679 "." compared to " @ ". This incidentally fixes some indentation
6681 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6682 (ruby-smie-grammar): New tokens: "and" and "or".
6683 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6684 Exclude "and" and "or". Remove "do" in order to work around token
6686 (ruby-smie-rules): Add all infix tokens. Handle the case of
6687 beginning-of-buffer.
6689 2013-11-06 Glenn Morris <rgm@gnu.org>
6691 * Makefile.in (setwins_almost, setwins_for_subdirs):
6692 Avoid accidental matches.
6694 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6696 * menu-bar.el (popup-menu): Use key-binding.
6698 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6700 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6701 menus, support also the menus produced by minor modes.
6704 2013-11-06 Leo Liu <sdl.web@gmail.com>
6706 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6707 DISTANCE to bound the search. All uses changed. (Bug#15808)
6709 2013-11-06 Glenn Morris <rgm@gnu.org>
6711 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6712 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6713 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6715 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6717 * electric.el (electric-indent-just-newline): New command.
6718 (electric-indent-mode-map): New keymap.
6719 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6720 Re-add :group which weren't redundant.
6722 * electric.el (electric-indent-local-mode): New minor mode.
6723 (electric-indent-functions-without-reindent): New var.
6724 (electric-indent-post-self-insert-function): Use it.
6725 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6727 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6729 * international/quail.el (quail-help): Be more explicit about the
6730 meaning of the labels shown on the keys. (Bug#15800)
6732 * startup.el (normal-top-level): Load the subdirs.el files before
6733 setting the locale environment. (Bug#15805)
6735 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6737 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6738 via arguments so as to get the right ones (bug#15418).
6740 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6742 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6744 Fix problems found while writing a test suite.
6746 * net/tramp-compat.el (tramp-compat-load): New defun.
6747 * net/tramp.el (tramp-handle-load): Use it.
6749 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6750 "(numberp ok-if-already-exists)" correctly.
6752 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6754 * international/characters.el (glyphless-char-display-control):
6757 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6759 * progmodes/python.el (python-mode):
6760 * progmodes/scheme.el (scheme-mode):
6761 * progmodes/prolog.el (prolog-mode):
6762 * progmodes/ruby-mode.el (ruby-mode):
6763 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6764 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6766 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6768 * rect.el (rectangle--highlight-for-redisplay):
6769 * emacs-lisp/smie.el (smie--next-indent-change):
6770 Use buffer-chars-modified-tick.
6772 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6774 * electric.el (electric-indent-post-self-insert-function):
6775 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6777 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6779 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6781 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6783 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6786 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6788 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6790 * progmodes/python.el: Fix up last change.
6791 (python-shell--save-temp-file): New function.
6792 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6793 `string' comes from the current buffer.
6794 (python-shell-send-string-no-output): Remove `msg' arg.
6795 (python--use-fake-loc): New var.
6796 (python-shell-buffer-substring): Obey it. Try to compensate for the
6797 extra coding line added by python-shell--save-temp-file.
6798 (python-shell-send-region): Use python-shell--save-temp-file and
6799 python-shell-send-file directly. Add `nomain' argument.
6800 (python-shell-send-buffer): Use python-shell-send-region.
6801 (python-electric-pair-string-delimiter): New function.
6802 (python-mode): Use it.
6804 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6806 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6807 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6808 environment and decoding all of the default-directory's to here
6810 (command-line): Decode also argv[0].
6812 * loadup.el: Error out if default-directory is a multibyte string
6813 when we are dumping.
6815 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6817 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6819 * emacs-lisp/package.el (package-menu-mode)
6820 (package-menu--print-info, package-menu--archive-predicate):
6821 Add Archive column to package list.
6823 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6825 Fix problems found while writing a test suite.
6827 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6828 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6829 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6830 to nil when running original file name handler. Otherwise,
6831 there are problems with constructs like "$$FOO".
6833 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6836 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6838 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6840 * subr.el (version<, version<=, version=):
6841 Update docstrings with information for snapshot versions.
6843 * helpers.el: New library for misc helper functions.
6844 (hash-table-keys): New function returning a list of hash keys.
6845 (hash-table-values): New function returning a list of hash values.
6847 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6849 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6850 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6852 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6854 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6855 checking whether point is after a 1-letter word.
6857 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6859 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6860 Don't infloop when expanding region over `multiline' syntax-type that
6861 begins a line (bug#15778).
6863 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6865 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6866 Make it into a proper minor mode.
6867 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
6868 (rectangle-mark-mode-map): New keymap.
6869 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6871 2013-11-04 Glenn Morris <rgm@gnu.org>
6873 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6875 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6877 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6878 (ruby-smie-rules): Use smie-rule-parent instead.
6880 * emacs-lisp/smie.el (smie-rule-parent): Always call
6881 smie-indent-virtual rather than only for hanging tokens.
6882 (smie--next-indent-change): New helper command.
6884 2013-11-03 Glenn Morris <rgm@gnu.org>
6886 * Makefile.in (abs_srcdir): Remove.
6887 (emacs): Unset EMACSLOADPATH.
6889 2013-11-02 Glenn Morris <rgm@gnu.org>
6891 * Makefile.in (EMACS): Use a relative filename.
6892 (abs_top_builddir): Remove.
6893 (custom-deps, finder-data, autoloads): Use --chdir.
6895 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6897 Use relative filenames in TAGS files.
6898 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6899 (lisptagsfiles4, TAGS): Use relative file names.
6900 (TAGS-LISP): Remove.
6901 (maintainer-clean): No more TAGS-LISP file.
6903 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6904 (lisptagsfiles4): Use absolute filenames again.
6905 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6906 Remove all *loaddefs files, not just the first. Remove esh-groups.
6907 (maintainer-clean): Delete TAGS, TAGS-LISP.
6909 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6911 * emacs-lisp/package.el (package-version-join):
6912 Recognize snapshot versions.
6914 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6916 * subr.el (version-regexp-alist): Add support for snapshot versions.
6918 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6920 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6921 New function, replacement for `smie-rule-parent' for when we want to
6922 skip over our direct parent if it's an assignment token..
6923 (ruby-smie-rules): Use it.
6925 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6927 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6928 unconditionally. Remove now unnecessary forward declarations.
6929 Remove XEmacs-specific setup.
6930 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6931 (ruby-font-lock-syntactic-keywords)
6932 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6933 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6934 (ruby-here-doc-end-syntax): Remove.
6935 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6936 defined as function.
6938 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6940 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6942 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6944 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6945 table and abbrev table, `define-derived-mode' does that for us
6948 2013-11-01 Glenn Morris <rgm@gnu.org>
6950 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6951 files is atomic for some time, so no parallel compilation issues).
6953 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6955 * faces.el (face-x-resources): Add :distant-foreground.
6956 (region): Use :distant-foreground for gtk and ns.
6958 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6960 Allow multiple bibliographies when BibLaTeX is used rather than
6962 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6963 (reftex-locate-bibliography-files): Us it.
6965 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6967 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6968 allow comments in pbm files.
6970 * term/w32-win.el (dynamic-library-alist): Support newer versions
6971 of libjpeg starting with v7: look only for the DLL from the
6972 version against which Emacs was built.
6973 Support versions of libpng beyond 1.4.x.
6974 Support libtiff v4.x.
6976 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6978 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6979 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6981 (ruby-deep-arglist): Add property :type.
6983 2013-10-31 Glenn Morris <rgm@gnu.org>
6985 * Makefile.in (custom-deps, finder-data): No need to setq the target
6986 variables, we are in the right directory and the defaults work fine.
6988 2013-10-30 Glenn Morris <rgm@gnu.org>
6990 * Makefile.in (autoloads): Do not use abs_lisp.
6992 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6993 `newline' does not respect `standard-output', so use `princ'.
6995 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6997 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6998 * buff-menu.el (Buffer-menu--unmark): New function.
6999 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7001 2013-10-30 Glenn Morris <rgm@gnu.org>
7003 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7005 * emacs-lisp/package.el (lm-homepage): Declare.
7007 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7010 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7012 * Makefile.in (finder-data, autoloads, update-subdirs)
7013 (compile-main, compile-clean, compile-always, bootstrap-clean):
7014 Check return value of cd.
7015 (compile-calc): Remove.
7017 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7019 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7021 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7022 (byte-compile-and-folded): New function.
7023 (=, <, >, <=, >=): Use it.
7025 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7026 (path-separator, null-device, buffer-file-coding-system)
7027 (lpr-headers-switches): Check system-type before modifying them.
7028 (find-buffer-file-type-coding-system): Mark obsolete.
7029 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7030 find-file-not-found-set-buffer-file-coding-system.
7031 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7032 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7033 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7034 (w32-direct-print-region-helper, w32-direct-print-region-function)
7035 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7036 * startup.el (normal-top-level-add-subdirs-to-load-path):
7037 * ps-print.el (ps-print-region-function):
7038 * lpr.el (print-region-function): Use new name.
7040 * subr.el (custom-declare-variable-early): Remove function.
7041 (custom-declare-variable-list): Remove var.
7042 (error, user-error): Remove `while' loop.
7043 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7044 (user-emacs-directory-warning, locate-user-emacs-file):
7046 * simple.el (read-quoted-char-radix, read-quoted-char):
7047 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7049 * custom.el (custom-declare-variable-list): Don't process
7050 custom-declare-variable-list.
7052 * progmodes/python.el (python-shell-get-buffer): New function.
7053 (python-shell-get-process): Use it.
7054 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7055 Python which encoding was used. Don't split-string since we only care
7056 about the first line. Return the temp-file, if applicable.
7057 (python-shell-send-region): Tell compile.el how to turn locations in
7058 the temp-file into locations in the source buffer.
7060 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7062 * subr.el (undefined): Add missing behavior from the C code for
7065 * rect.el: Use lexical-binding. Add new rectangular region support.
7066 (rectangle-mark): New command.
7067 (rectangle--region): New var.
7068 (deactivate-mark-hook): Reset rectangle--region.
7069 (rectangle--extract-region, rectangle--insert-for-yank)
7070 (rectangle--highlight-for-redisplay)
7071 (rectangle--unhighlight-for-redisplay): New functions.
7072 (region-extract-function, redisplay-unhighlight-region-function)
7073 (redisplay-highlight-region-function): Use them to handle
7075 * simple.el (region-extract-function): New var.
7076 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7077 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7078 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7079 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7080 (redisplay-unhighlight-region-function)
7081 (redisplay-highlight-region-function): New vars.
7082 (redisplay--update-region-highlight): New function.
7083 (pre-redisplay-function): Use it.
7084 (exchange-point-and-mark): Don't deactivate the mark before
7085 reactivate-it anyway.
7086 * comint.el (comint-kill-region): Remove yank-handler argument.
7087 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7088 (delete-char): Remove property, since it's now part of their
7090 (self-insert-iso): Remove property since this command doesn't exist.
7092 * emacs-lisp/package.el (package--download-one-archive)
7093 (describe-package-1): Don't query the user about final newline.
7095 2013-10-29 Daniel Colascione <dancol@dancol.org>
7097 * net/tramp.el (tramp-methods): Document new functionality.
7098 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7099 tramp-hostname-checker if method provides one instead of scanning
7100 argument list for "%h" to decide hostname acceptability.
7102 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7104 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7105 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7106 Handle COPY-CONTENTS. (Bug#15737)
7108 2013-10-28 Daiki Ueno <ueno@gnu.org>
7111 (epa-file-cache-passphrase-for-symmetric-encryption):
7112 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7114 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7116 * image.el (defimage, image-load-path): Doc fixes.
7118 2013-10-27 Alan Mackenzie <acm@muc.de>
7120 Indent statements in macros following "##" correctly.
7121 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7122 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7124 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7126 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7128 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7130 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7131 after `=' is probably a new expression.
7133 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7135 * man.el (man-imenu-title): New option.
7136 (Man-mode-map): Add menu. (Bug#15722)
7137 (Man-mode): Add imenu to menu.
7139 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7141 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7142 specific in what the first arg can be: a non-keyword word,
7143 string/regexp/percent literal opener, opening paren, or unary
7144 operator followed directly by word.
7146 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7148 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7149 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7150 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7151 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7152 Remove vars, they do not apply any more.
7153 (prolog-mode-abbrev-table): Remove redundant declaration.
7154 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7155 (prolog-use-smie): Remove.
7156 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7157 supported by prolog-electric-if-then-else-flag.
7158 (prolog-mode-variables, prolog-menu): Use setq-local.
7159 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7160 Remove binding to `Backspace' since this key doesn't exist anyway.
7161 Remove bindings for electric self-inserting keys.
7162 (prog-mode): Assume it's defined.
7163 (prolog-post-self-insert): New function.
7164 (prolog-mode): Use it.
7165 (prolog-indent-line, prolog-indent-level)
7166 (prolog-find-indent-of-matching-paren)
7167 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7168 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7169 (prolog-goto-next-paren, prolog-in-string-or-comment)
7170 (prolog-tokenize, prolog-inside-mline-comment)
7171 (prolog-find-start-of-mline-comment): Remove functions.
7172 (prolog-find-unmatched-paren, prolog-clause-end)
7173 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7174 (prolog-electric--if-then-else): Rename from
7175 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7176 (prolog-tokenize-searchkey): Remove const.
7177 (prolog-clause-info): Use forward-sexp.
7178 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7179 (prolog-electric-if-then-else): Remove commands.
7180 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7181 for use in post-self-insert-hook.
7182 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7183 for use in post-self-insert-hook.
7184 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7185 for use in post-self-insert-hook.
7186 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7187 adapt it for use in post-self-insert-hook.
7189 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7191 * emacs-lisp/ert.el (ert-run-tests-interactively):
7192 Use `completing-read'. (Bug#9756)
7194 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7196 * simple.el (line-move): Call line-move-1 instead of
7197 line-move-visual when the current window hscroll is zero, but
7198 temporary-goal-column indicates we will need to hscroll as result
7199 of the movement. (Bug#15712)
7201 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7203 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7204 capitalization. Use :visible instead of :active.
7205 Fix `ruby-indent-exp' reference. Add menu items for the generic
7206 commands that are used with SMIE.
7207 (ruby-do-end-to-brace): Insert space after `{'.
7209 2013-10-25 John Anthony <john@jo.hnanthony.com>
7211 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7213 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7215 2013-10-25 Glenn Morris <rgm@gnu.org>
7217 * vc/vc.el (vc-print-log): Don't use a working revision unless
7218 one was explicitly specified. (Bug#15322)
7220 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7222 * subr.el (add-to-list): Preserve return value in compiler-macro
7225 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7227 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7228 result. Ask user to retry using '-all' flag. (Bug#15701)
7230 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7232 * emacs-lisp/smie.el: New smie-config system.
7233 (smie-config): New defcustom.
7234 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7235 (smie-config-guess, smie-config-save): New commands.
7236 (smie-config--mode-local, smie-config--buffer-local)
7237 (smie-config--trace, smie-config--modefuns): New vars.
7238 (smie-config--advice, smie-config--mode-hook)
7239 (smie-config--setter, smie-config-local, smie-config--get-trace)
7240 (smie-config--guess-value, smie-config--guess): New functions.
7241 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7242 text properties. Treat "string fence" syntax like string syntax.
7244 * progmodes/sh-script.el (sh-use-smie): Change default.
7245 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7246 (sh-var-value): Simplify by CSE.
7247 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7248 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7250 (sh-guess-basic-offset): Use cl-incf.
7251 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7253 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7255 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7258 2013-10-24 Glenn Morris <rgm@gnu.org>
7260 * Makefile.in (abs_top_srcdir): Remove.
7261 (update-subdirs): Use relative path to update-subdirs.
7263 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7265 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7266 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7267 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7268 Call unmsys--file-name before expand-file-name, not after it.
7270 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7272 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7273 (ert-test-skipped): New error.
7274 (ert-skip, ert-stats-skipped): New defuns.
7275 (ert--skip-unless): New macro.
7276 (ert-test-skipped): New struct.
7277 (ert--run-test-debugger, ert-test-result-type-p)
7278 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7279 (ert--stats-set-test-and-result, ert-char-for-test-result)
7280 (ert-string-for-test-result, ert-run-tests-batch)
7281 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7282 Handle skipped tests. (Bug#9803)
7284 2013-10-24 Glenn Morris <rgm@gnu.org>
7286 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7288 * Makefile.in (abs_top_srcdir): New, set by configure.
7289 (update-subdirs): Correct build-aux location.
7291 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7293 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7294 value, whether we could auto-deduce `backend', or not.
7296 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7297 with parameters" example. Simplify the "is it block or is it
7298 hash" check, but also make it more thorough.
7300 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7302 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7304 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7306 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7309 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7312 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7314 * progmodes/compile.el (compilation-directory-matcher)
7315 (compilation-page-delimiter):
7316 Support GNU Make-4.0 directory quoting. (Bug#15678)
7318 2013-10-23 Leo Liu <sdl.web@gmail.com>
7320 * ido.el (ido-tidy): Handle read-only text.
7322 2013-10-23 Glenn Morris <rgm@gnu.org>
7324 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7325 (emacs, compile, compile-always):
7326 Quote entities that might contain whitespace.
7327 (custom-deps, finder-data, autoloads): Use abs_lisp.
7328 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7329 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7330 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7332 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7334 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7335 Use `following-char'.
7337 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7339 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7340 * progmodes/ruby-mode.el (ruby-smie-rules):
7341 Remove corresponding workaround. Fix indentation rule of ";" so it
7342 also applies when ";" is the parent.
7344 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7346 * frame.el (display-screens, display-pixel-height)
7347 (display-pixel-width, display-mm-width, display-backing-store)
7348 (display-save-under, display-planes, display-color-cells)
7349 (display-visual-class, display-monitor-attributes-list):
7350 Mention the optional ‘display’ argument in doc strings.
7352 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7354 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7355 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7357 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7359 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7360 TODO. Add "." after " @ ".
7361 (ruby-smie--at-dot-call): New function. Checks if point at method
7362 call with explicit target.
7363 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7364 to the method name tokens when it precedes them.
7365 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7366 (ruby-smie-rules): Add rule for indentation before and after "."
7369 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7371 * textmodes/remember.el (remember-diary-extract-entries):
7374 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7377 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7379 * progmodes/ruby-mode.el (ruby-smie-grammar):
7380 Add (almost) all infix operators.
7381 (ruby-smie--implicit-semi-p): Add new operator chars.
7383 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7385 (ruby-smie--args-separator-p): Check that there's no newline
7386 between method call and its arguments.
7388 2013-10-20 Alan Mackenzie <acm@muc.de>
7390 Allow comma separated lists after Java "implements".
7392 * progmodes/cc-engine.el (c-backward-over-enum-header):
7394 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7395 from a "disallowed" list in enum fontification.
7397 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7399 * startup.el (default-frame-background-mode): Remove unused defvar.
7401 * progmodes/verilog-mode.el (verilog-mode): Don't set
7402 comment-indent-function globally.
7404 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7406 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7407 Move Info menu item creation to ns-win.el.
7409 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7412 * menu-bar.el: Move GNUstep specific menus...
7414 * term/ns-win.el (ns-initialize-window-system): ... to here.
7416 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7418 * simple.el (newline): Only run post-self-insert-hook when
7419 called interactively.
7421 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7423 * icomplete.el (icomplete-with-completion-tables): Add :version.
7425 2013-10-19 Alan Mackenzie <acm@muc.de>
7427 Fix fontification bugs with constructors and const.
7429 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7430 CASE 2) Remove the check for the absence of a suffix construct
7431 after a function declaration with only types (no identifiers) in
7432 the parentheses. Also, accept a function declaration with just a
7433 type inside the parentheses, if this type can be positively
7434 recognised as such, or if a prefix keyword like "explicit" nails
7435 down the construct as a declaration.
7437 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7439 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7440 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7441 the problem whereby selecting a menu item that leads to a
7442 minibuffer prompt moves the cursor out of the minibuffer window,
7443 making it hard to type at the prompt. Suggested by Stefan Monnier
7444 <monnier@iro.umontreal.ca>.
7446 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7448 * menu-bar.el: Don't make Services menu.
7450 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7452 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7453 (ffap-alist): Use ffap-c++-mode for c++-mode.
7454 (ffap-c++-path): New variable.
7455 (ffap-c++-mode): New function.
7457 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7459 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7461 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7463 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7464 introduced on 2013-09-08, which results in an infinite loop
7465 requesting a password.
7467 2013-10-18 Glenn Morris <rgm@gnu.org>
7469 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7471 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7473 Sync with upstream verilog-mode revision 1a6ecec7.
7474 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7475 (verilog-mode-release-date): Remove.
7476 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7477 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7478 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7479 (verilog-auto-tieoff-ignore-regexp)
7480 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7481 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7482 (verilog-signals-with, verilog-dir-cache-preserving)
7483 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7485 (verilog-case-fold): New option, to control case folding in
7486 regexp searches, bug597.
7487 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7488 (verilog-string-match-fold, verilog-in-paren-count)
7489 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7490 (verilog-at-close-struct-p): New functions.
7491 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7492 (verilog-forward-sexp, verilog-set-auto-endcomments)
7493 (verilog-leap-to-case-head): Handle "unique0" case.
7494 (verilog-in-constraint-re): New constant.
7495 (verilog-keywords, verilog-type-font-keywords):
7496 Add some SystemVerilog 1800-2012 keywords.
7497 (verilog-label-be): Remove unimplemented argument, bug669.
7498 (verilog-batch-execute-func): When batch expanding clear
7499 create-lockfiles to prevent spurious user locks when a file ends
7501 (verilog-calculate-indent, verilog-calc-1)
7502 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7503 (verilog-do-indent): Fix indentation of nested constraints
7505 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7506 (verilog-auto-inst-param): Use verilog-string-match-fold.
7507 (verilog-read-inst-module-matcher):
7508 Fix AUTOINST on gate primitives with #1.
7509 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7510 Reads all user-defined typed variables.
7511 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7512 (verilog-signals-matching-regexp)
7513 (verilog-signals-not-matching-regexp, verilog-auto):
7514 Respect verilog-case-fold.
7515 (verilog-diff-report): Fix line count.
7516 (verilog-auto-assign-modport): Remove unused local `modi'.
7517 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7518 better handle multidimensional arrays.
7519 Fix packed array ports misadding bit index in AUTOINST, bug637.
7520 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7521 to not double-declare existing outputs and inputs, respectively.
7522 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7523 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7524 (verilog-sk-uvm-component): New skeleton.
7525 (verilog-submit-bug-report): Add verilog-case-fold,
7526 remove verilog-mode-release-date.
7528 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7530 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7533 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7535 * textmodes/remember.el (remember): Set buffer-offer-save in
7536 remember buffers (bug#13566).
7538 2013-10-18 Daniel Colascione <dancol@dancol.org>
7540 When evaluating forms in ielm, direct standard output to ielm
7541 buffer. Add new ielm-return-for-effect command. Remove trailing
7542 whitespace throughout.
7544 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7545 (ielm-return-for-effect): New command.
7546 (ielm-send-input): Accept optional `for-effect' parameter.
7547 (ielm-eval-input): Accept optional `for-effect' parameter.
7548 Bind `standard-output' to stream we create using
7549 `ielm-standard-output-impl'. Suppress printing result when
7551 (ielm-standard-output-impl): New function.
7552 (inferior-emacs-lisp-mode): Explain new features in documentation.
7554 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7558 * net/tramp.el (tramp-debug-message): Do not check for connection
7560 (tramp-message): Use "vector" connection property.
7562 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7563 (tramp-equal-remote, tramp-eshell-directory-change)
7564 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7565 (tramp-adb-handle-rename-file)
7566 * net/tramp-cmds.el (tramp-list-remote-buffers)
7567 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7568 * net/tramp-compat.el (tramp-compat-process-running-p)
7569 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7570 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7571 (tramp-gvfs-handle-rename-file)
7572 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7573 (tramp-set-file-uid-gid)
7574 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7575 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7578 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7579 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7580 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7581 (tramp-gw-open-network-stream): Suppress unrelated traces.
7583 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7584 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7585 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7586 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7587 connection property.
7589 * net/tramp-cache.el (top): Suppress traces when reading
7592 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7593 Refactor common code. Improve debug message.
7594 (tramp-maybe-open-connection)
7595 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7596 connection buffer too early.
7598 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7599 from `tramp-smb-actions-with-acl'.
7600 (tramp-smb-actions-set-acl): New defconst.
7601 (tramp-smb-handle-copy-directory)
7602 (tramp-smb-action-get-acl): New defun, renamed from
7603 `tramp-smb-action-with-acl'.
7604 (tramp-smb-action-set-acl): New defun.
7605 (tramp-smb-handle-set-file-acl): Rewrite.
7607 2013-10-17 Glenn Morris <rgm@gnu.org>
7609 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7611 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7613 * skeleton.el (skeleton-newline): Remove.
7614 (skeleton-internal-1): Use (insert "\n") instead.
7616 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7619 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7620 forward-sexp-function while we redo its job (bug#15613).
7622 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7624 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7625 represented by lists.
7627 2013-10-16 Glenn Morris <rgm@gnu.org>
7629 * tmm.el (tmm--history): New dynamic variable.
7630 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7632 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7634 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7635 (tramp-smb-errors): Add error messages.
7636 (tramp-smb-actions-with-acl): New defconst.
7637 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7638 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7639 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7640 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7641 (tramp-smb-get-stat-capability): Fix tests.
7643 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7645 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7648 2013-10-16 Glenn Morris <rgm@gnu.org>
7650 * ansi-color.el (ansi-color-drop-regexp):
7651 Add 1J, 1K, 2K. (Bug#15617)
7653 * files.el (hack-local-variables--warned-lexical): New.
7654 (hack-local-variables):
7655 Warn about misplaced lexical-binding. (Bug#15616)
7657 * net/eww.el (eww-render): Always set eww-current-url,
7658 and update header line. (Bug#15622)
7659 (eww-display-html): ... Rather than just doing it here.
7661 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7663 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7664 menu navigations commands.
7666 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7668 * progmodes/subword.el (subword-capitalize): Be careful when
7669 the search for [[:alpha:]] fails (bug#15580).
7671 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7673 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7674 to commands that scroll the menu.
7676 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7678 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7679 Handle methods ending with `?' and `!'.
7681 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7683 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7684 `japanese-cp932' to `cp932' to fix the problem where saving a
7685 source file written in Shift_JIS twice would end up having
7686 `coding: japanese-cp932' which Ruby could not recognize.
7687 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7688 in `ruby-encoding-map'.
7689 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7690 doesn't need to be explicitly declared in magic comment.
7691 (ruby-encoding-map): Add type declaration for better customize UI.
7693 2013-10-13 Glenn Morris <rgm@gnu.org>
7695 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7696 Occur buffers are read-only. http://bugs.debian.org/720775
7698 * emacs-lisp/authors.el (authors-fixed-entries):
7699 Comment out old alpha stuff.
7701 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7703 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7704 to `after-save-hook' instead of `before-save-hook'.
7705 (ruby-mode-set-encoding): Use the value of coding system used to
7706 write the file. Call `basic-save-buffer-1' after modifying the
7709 2013-10-13 Alan Mackenzie <acm@muc.de>
7711 Fix indentation/fontification of Java enum with
7712 "implements"/generic.
7714 * progmodes/cc-engine.el (c-backward-over-enum-header):
7715 Extracted from the three other places and enhanced to handle generics.
7716 (c-inside-bracelist-p): Uses new function above.
7717 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7719 (c-font-lock-enum-tail): Uses new function above.
7721 2013-10-13 Kenichi Handa <handa@gnu.org>
7723 * international/mule-cmds.el (select-safe-coding-system): Remove a
7724 superfluous condition in chekcing whether a coding system is safe
7727 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7729 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7731 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7733 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7735 2013-10-13 Glenn Morris <rgm@gnu.org>
7737 * menu-bar.el (menu-bar-update-buffers):
7738 Unify Buffers menu prompt string. (Bug#15576)
7740 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7742 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7744 (authors-fixed-entries): Use accented form of name.
7746 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7748 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7749 method calls (bug#15594).
7750 (ruby-smie--args-separator-p): New function.
7751 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7752 recognize paren-free method calls.
7754 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7755 internals of universal-argument.
7757 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7759 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7760 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7761 dropped menu on second mouse click on the menu bar.
7763 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7765 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7766 (explicit-shell-file-name): Declare.
7767 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7768 (sh-completion-at-point-function): New function.
7770 (sh-smie--keyword-p): Remove unused argument.
7771 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7773 (sh-set-shell): Always setup SMIE, even if we use the
7774 old indentation code.
7776 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7778 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7780 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7781 predicate would return nil are almost non-existent.
7782 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7784 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7785 cache also after commands that modify the buffer but don't move
7788 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7790 * env.el (substitute-env-in-file-name): New function.
7791 (substitute-env-vars): Extend the meaning of the optional arg.
7793 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7795 * term/w32-win.el (dynamic-library-alist): Define separate lists
7796 of GIF DLLs for versions before and after 5.0.0 of giflib.
7799 2013-10-10 João Távora <joaotavora@gmail.com>
7801 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7802 not locked, use last revision and current source as
7803 defaults. (Bug#15569)
7805 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7807 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7810 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7812 * window.el (pop-to-buffer-same-window): Fix doc-string.
7815 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7817 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7819 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7821 * calendar/icalendar.el (icalendar-import-file):
7822 Fix interactive spec. (Bug#15482)
7824 2013-10-10 Glenn Morris <rgm@gnu.org>
7826 * desktop.el (desktop-save): Default to saving in .emacs.d,
7827 since PWD is no longer in desktop-path by default. (Bug#15319)
7829 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7830 now that text mode has a menu with the same entry.
7831 (menu-bar-text-mode-auto-fill): Remove now unused func.
7832 * textmodes/text-mode.el (text-mode-map):
7833 Use auto-fill help text from menu-bar.el.
7835 2013-10-10 John Anthony <john@jo.hnanthony.com>
7837 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7839 2013-10-09 Juri Linkov <juri@jurta.org>
7841 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7842 instead of this-command-keys. Add universal-argument-more and
7843 universal-argument-minus to the list of prefix commands. (Bug#15568)
7845 2013-10-09 Glenn Morris <rgm@gnu.org>
7847 * vc/vc-svn.el (vc-svn-create-repo):
7848 Expand paths in file://... url. (Bug#15446)
7850 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7852 (authors): Remove unused local variables.
7854 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7856 * profiler.el: Create a more coherent calltree from partial backtraces.
7857 (profiler-format): Hide the tail with `invisible' so that C-s can still
7858 find the hidden elements.
7859 (profiler-calltree-depth): Don't recurse so enthusiastically.
7860 (profiler-function-equal): New hash-table-test.
7861 (profiler-calltree-build-unified): New function.
7862 (profiler-calltree-build): Use it.
7863 (profiler-report-make-name-part): Indent the calltree less.
7864 (profiler-report-mode): Add visibility specs for profiler-format.
7865 (profiler-report-expand-entry, profiler-report-toggle-entry):
7866 Expand the whole subtree when provided with a prefix arg.
7868 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7870 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7872 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7873 hanging iuwu-mod token.
7874 (ruby-smie--forward-token): Do not include a dot after a token in
7876 (ruby-smie--backward-token): Likewise.
7878 2013-10-08 Juri Linkov <juri@jurta.org>
7880 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7881 to isearch-other-control-char.
7882 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7883 and isearch-post-command-hook to post-command-hook.
7884 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7885 and isearch-post-command-hook from post-command-hook.
7886 (isearch-unread-key-sequence)
7887 (isearch-reread-key-sequence-naturally)
7888 (isearch-lookup-scroll-key, isearch-other-control-char)
7889 (isearch-other-meta-char): Remove functions.
7890 (isearch-pre-command-hook, isearch-post-command-hook):
7891 New functions based on isearch-other-meta-char rewritten
7892 relying on the new behavior of overriding-terminal-local-map
7893 that does not replace the local keymaps any more. (Bug#15200)
7895 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7897 Support menus on text-mode terminals.
7898 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7901 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7903 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7904 Move here from mouse.el.
7905 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7907 (tty-menu-navigation-map): New map for TTY menu navigation.
7909 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7911 * frame.el (display-mouse-p): Report text-mode mouse as available
7913 (display-popup-menus-p): Report availability if mouse is
7914 available; don't condition on window-system.
7916 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7917 (tty-menu-selected-face): New faces.
7919 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7921 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7922 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7923 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7924 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7926 (lisp-mode-variables): New `elisp' argument.
7927 (emacs-lisp-mode): Use it.
7928 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7929 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7931 * indent.el: Use lexical-binding.
7932 (indent-region): Add progress reporter.
7933 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7935 (indent--next-tab-stop): New function to implement this behavior.
7936 (tab-to-tab-stop, move-to-tab-stop): Use it.
7938 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7940 * indent.el (indent-rigidly--current-indentation): New function.
7941 (indent-rigidly-map): New var.
7942 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7944 2013-10-08 Bastien Guerry <bzg@gnu.org>
7946 * register.el (insert-register): Fix 2013-10-07 change.
7948 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7950 * progmodes/perl-mode.el: Use lexical-binding.
7951 Remove redundant :group args.
7952 (perl-nochange): Change default to be closer to other major modes's
7954 (perl-indent-line): Don't consider text on current line as a
7955 valid beginning of function from which to indent.
7957 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7958 with more than one argument (bug#15538).
7960 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7962 * vc/pcvs.el: Use lexical-binding.
7963 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7964 environment of `eval'.
7965 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7966 than a list of expressions. Adjust callers.
7967 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7969 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7971 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7972 case of the dot in a chained method call being on the following line.
7974 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7976 * electric.el (electric-indent-inhibit): New var.
7977 (electric-indent-post-self-insert-function): Use it.
7978 * progmodes/python.el (python-mode): Set it.
7980 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7983 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7985 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7986 (css-mode): Use electric-indent-chars.
7988 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7989 (font-lock-beg, font-lock-end): Move before first use.
7990 (nxml-mode): Use syntax-propertize-function.
7991 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7992 (nxml-extend-after-change-region): Remove.
7993 * nxml/xmltok.el: Use lexical-binding.
7994 (xmltok-save): Use `declare'.
7995 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7996 * nxml/nxml-util.el: Use lexical-binding.
7997 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7999 * nxml/nxml-ns.el: Use lexical-binding.
8000 (nxml-ns-save): Use `declare'.
8001 (nxml-ns-prefixes-for): Avoid add-to-list.
8002 * nxml/rng-match.el: Use lexical-binding.
8003 (rng--ipattern): Use cl-defstruct.
8004 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8005 (rng-cons-group-after, rng-subst-group-after)
8006 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8007 Use closures instead of `(lambda...).
8009 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8011 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8014 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8015 Use `tramp-handle-insert-file-contents'.
8016 (tramp-gvfs-handle-insert-file-contents): Remove function.
8018 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8019 Use `save-restriction' in order to keep markers.
8021 * net/trampver.el: Update release number.
8023 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8025 * progmodes/compile.el (compilation-parse-errors):
8026 Use compilation--put-prop.
8027 (compilation--ensure-parse): Check compilation-multiline.
8029 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8031 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8034 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8036 * progmodes/ruby-mode.el: Fix recently added tests.
8037 (ruby-smie-grammar): Add - and +.
8038 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8039 (ruby-smie--backward-id): New functions.
8040 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8041 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8044 2013-10-07 Leo Liu <sdl.web@gmail.com>
8046 * register.el (register-preview-delay)
8047 (register-preview-functions): New variables.
8048 (register-read-with-preview, register-preview)
8049 (register-describe-oneline): New functions.
8050 (point-to-register, window-configuration-to-register)
8051 (frame-configuration-to-register, jump-to-register)
8052 (number-to-register, view-register, insert-register)
8053 (copy-to-register, append-to-register, prepend-to-register)
8054 (copy-rectangle-to-register): Use register-read-with-preview to
8055 read register. (Bug#15525)
8057 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8059 * net/network-stream.el (network-stream-open-starttls): Don't add
8060 --insecure if it's already present, because that gnutls-cli
8061 rejects getting that parameter twice.
8063 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8065 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8068 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8070 * newcomment.el (comment-use-global-state): Change default value
8071 to t, mark obsolete (Bug#15251).
8072 (comment-beginning): In addition to `comment-to-syntax', check the
8073 value of `comment-use-global-state'.
8075 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8077 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8078 (ruby-comment-column): Follow the global default, by default.
8079 (ruby-smie-grammar): Add assignment syntax.
8080 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8081 open-paren, a comma, or a \.
8082 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8083 and line continuations.
8084 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8085 followed by implicit semi-colons. Add rule for string concatenation
8086 and for indentation at BOB.
8087 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8089 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8090 calling next-sexp, since next-token may have skipped chars which
8091 next-sexp doesn't know should be skipped!
8093 2013-10-05 Leo Liu <sdl.web@gmail.com>
8095 * progmodes/octave.el (octave-send-region):
8096 Call compilation-forget-errors.
8098 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8100 * vc/vc-svn.el (vc-svn-find-admin-dir):
8101 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8102 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8103 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8104 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8106 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8108 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8110 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8112 * subr.el (read-passwd): Hide chars even when called within a context
8113 where after-change-functions is disabled (bug#15501).
8114 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8115 until we removed ourself from overriding-terminal-local-map.
8117 2013-10-04 Leo Liu <sdl.web@gmail.com>
8119 * progmodes/octave.el (inferior-octave-mode):
8120 Call compilation-forget-errors.
8122 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8124 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8126 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8128 * net/secrets.el (secrets-create-collection): Add optional
8129 argument ALIAS. Use proper Label keyword. Append ALIAS as
8130 dbus-call-method argument. (Bug#15516)
8132 2013-10-04 Leo Liu <sdl.web@gmail.com>
8134 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8135 (inferior-octave-compilation-font-lock-keywords): New variables.
8136 (compilation-error-regexp-alist)
8137 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8138 (inferior-octave-mode): Use compilation-shell-minor-mode.
8140 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8142 * minibuffer.el (completion--replace): Be careful that `end' might be
8145 2013-10-03 Daiki Ueno <ueno@gnu.org>
8147 Add support for package signature checking.
8148 * emacs-lisp/package.el (url-http-file-exists-p)
8149 (epg-make-context, epg-context-set-home-directory)
8150 (epg-verify-string, epg-context-result-for)
8151 (epg-signature-status, epg-signature-to-string)
8152 (epg-check-configuration, epg-configuration)
8153 (epg-import-keys-from-file): Declare.
8154 (package-check-signature): New user option.
8155 (package-unsigned-archives): New user option.
8156 (package-desc): Add `signed' field.
8157 (package-load-descriptor): Set `signed' field if .signed file exists.
8158 (package--archive-file-exists-p): New function.
8159 (package--check-signature): New function.
8160 (package-install-from-archive): Check package signature.
8161 (package--download-one-archive): Check archive signature.
8162 (package-delete): Remove .signed file.
8163 (package-import-keyring): New command.
8164 (package-refresh-contents): Import default keyring.
8165 (package-desc-status): Add "unsigned" status.
8166 (describe-package-1, package-menu--print-info)
8167 (package-menu-mark-delete, package-menu--find-upgrades)
8168 (package-menu--status-predicate): Support "unsigned" status.
8170 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8172 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8173 the new compilation scheme using the new byte-codes.
8175 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8176 (byte-pophandler): New byte codes.
8177 (byte-goto-ops): Adjust accordingly.
8178 (byte-compile--use-old-handlers): New var.
8179 (byte-compile-catch): Use new byte codes depending on
8180 byte-compile--use-old-handlers.
8181 (byte-compile-condition-case--old): Rename from
8182 byte-compile-condition-case.
8183 (byte-compile-condition-case--new): New function.
8184 (byte-compile-condition-case): New function that dispatches depending
8185 on byte-compile--use-old-handlers.
8186 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8189 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8190 Optimize under `condition-case' and `catch' if
8191 byte-compile--use-old-handlers is nil.
8192 (disassemble-offset): Handle new bytecodes.
8194 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8196 * subr.el (error): Use `declare'.
8197 (decode-char, encode-char): Use advertised-calling-convention instead
8198 of the docstring to discourage use of the `restriction' arg.
8200 2013-10-03 Daiki Ueno <ueno@gnu.org>
8202 * epg.el (epg-verify-file): Add a comment saying that it does not
8203 notify verification error as a return value nor a signal.
8204 (epg-verify-string): Ditto.
8206 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8208 * progmodes/compile.el (compilation-start): Try globbing the arg to
8211 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8213 Sync with Tramp 2.2.8.
8215 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8216 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8217 * net/trampver.el: Update release number.
8219 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8221 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8222 and default-process-coding-system for darwin only.
8224 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8226 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8228 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8230 * vc/vc-git.el (vc-git-grep): Disable pager.
8232 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8234 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8235 Use :url instead of :homepage, as per
8236 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8238 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8239 non-nil, use `syntax-ppss' (Bug#15251).
8241 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8243 * progmodes/octave.el (inferior-octave-startup-file):
8244 Prefer ~/.emacs.d/init_octave.m.
8246 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8248 * emacs-lisp/package.el (package-desc-from-define):
8249 Accept additional arguments as plist, convert them to an alist and store
8250 them in the `extras' slot.
8251 (package-generate-description-file): Convert extras alist back to
8252 plist and append to the `define-package' form arguments.
8253 (package--alist-to-plist): New function.
8254 (package--ac-desc): Add `extras' slot.
8255 (package--add-to-archive-contents): Check if the archive-contents
8256 vector is long enough, and if it is, pass its `extras' slot value
8257 to `package-desc-create'.
8258 (package-buffer-info): Call `lm-homepage', pass the returned value
8259 to `package-desc-from-define'.
8260 (describe-package-1): Render the homepage button (Bug#13291).
8262 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8263 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8265 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8267 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8268 and default-process-coding-system to utf-8-unix (Bug#15402).
8270 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8272 * subr.el (looking-back): Do not recommend using looking-back.
8274 2013-09-28 Alan Mackenzie <acm@muc.de>
8276 Fix indentation/fontification of Java enum with "implements".
8278 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8279 regexp which matches "implements", etc., in Java.
8280 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8281 specifier clauses coming after "enum".
8282 * progmodes/cc-fonts.el (c-font-lock-declarations)
8283 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8286 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8288 * faces.el (region): Change ns_selection_color to
8289 ns_selection_fg_color, add ns_selection_bg_color.
8291 2013-09-28 Leo Liu <sdl.web@gmail.com>
8293 * progmodes/octave.el (inferior-octave-completion-table)
8294 (inferior-octave-completion-at-point): Minor tweaks.
8296 * textmodes/ispell.el (ispell-lookup-words): Rename from
8297 lookup-words. (Bug#15460)
8298 (lookup-words): Obsolete.
8299 (ispell-complete-word, ispell-command-loop): All uses changed.
8301 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8303 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8304 (octave-mode-menu): Add octave-send-buffer.
8305 (octave-send-buffer): New function.
8307 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8309 * progmodes/octave.el (octave-mode-map): Add key binding for
8311 (octave-mode-menu): Add octave-lookfor.
8312 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8314 (octave-lookfor): New function.
8316 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8318 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8319 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8321 (cl--loop-set-iterator-function): New function.
8322 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8323 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8324 Bind `it' with `let' instead of substituting it with `cl-subst'.
8325 (cl--unused-var-p): New function.
8326 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8327 Eliminate some unused variable warnings (bug#15326).
8329 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8331 * doc-view.el (doc-view-scale-reset): Rename from
8332 `doc-view-reset-zoom-level'.
8333 (doc-view-scale-adjust): New command.
8334 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8335 `doc-view-scale-adjust'.
8337 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8339 * doc-view.el (doc-view-reset-zoom-level): New command.
8340 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8341 zoom commands (bug#15466).
8343 2013-09-26 Kenichi Handa <handa@gnu.org>
8345 * international/quail.el (quail-help): Make it not a command.
8347 2013-09-26 Leo Liu <sdl.web@gmail.com>
8349 * minibuffer.el (completion-all-sorted-completions): Make args
8350 optional as they are.
8352 2013-09-25 Daniel Colascione <dancol@dancol.org>
8354 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8355 specs are and that they're not evaluated.
8357 2013-09-24 Sam Steingold <sds@gnu.org>
8359 * midnight.el (clean-buffer-list-kill-regexps)
8360 (clean-buffer-list-kill-buffer-names): Update for the new Man
8361 buffer naming which includes the object name.
8363 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8365 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8366 (eshell-parse-command, eshell-parse-pipeline): Use it since
8367 eshell-separate-commands requires a dynamic scoped var.
8368 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8370 2013-09-23 Leo Liu <sdl.web@gmail.com>
8372 * autoinsert.el (auto-insert-alist): Make the value of
8373 lexical-binding match its file setting.
8375 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8377 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8379 * autoarg.el (autoarg-kp-digit-argument):
8380 * electric.el (Electric-command-loop):
8381 * kmacro.el (kmacro-step-edit-insert):
8382 Do not set universal-argument-num-events.
8384 2013-09-22 Leo Liu <sdl.web@gmail.com>
8386 * files.el (interpreter-mode-alist): Add octave.
8388 2013-09-21 Alan Mackenzie <acm@muc.de>
8390 C++: fontify identifier in declaration following "public:" correctly.
8391 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8392 to match "public", etc.
8393 (c-decl-prefix-re): Add ":" into the C++ value.
8394 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8395 bit. Add a check for a ":" preceded by "public", etc.
8397 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8399 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8400 recognized by GDB 7.5 and later.
8402 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8404 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8406 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8408 * subr.el (internal--call-interactively): New const.
8409 (called-interactively-p): Use it (bug#3984).
8411 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8413 * vc/pcvs.el (cvs-mode-ignore):
8414 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8415 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8417 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8419 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8420 (eshell-ls-orig-insert-directory): Remove.
8421 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8422 (eshell-ls-use-in-dired): Use advice-add/remove.
8423 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8424 Add `orig-fun' arg for use in :around advice.
8425 Make it check (redundantly) eshell-ls-use-in-dired.
8427 2013-09-19 Glenn Morris <rgm@gnu.org>
8429 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8431 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8433 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8435 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8437 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8438 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8439 (tramp-get-remote-python): New defuns.
8440 (tramp-get-remote-uid-with-perl)
8441 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8442 contributed by yary <not.com@gmail.com> (tiny change).
8443 (tramp-get-remote-uid-with-python)
8444 (tramp-get-remote-gid-with-python): New defuns. Python code
8445 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8446 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8448 2013-09-19 Glenn Morris <rgm@gnu.org>
8450 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8452 * eshell/em-unix.el (eshell-remove-entries):
8453 Rename argument to avoid name-clash with global `top-level'.
8455 * eshell/esh-proc.el (eshell-kill-process-function):
8456 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8457 (eshell-reset-after-proc): Remove unused arg `proc'.
8459 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8460 (directory-files-and-attributes): Mark unused arg.
8462 * eshell/em-unix.el (eshell-remove-entries):
8463 Remove unused arg `path'. Update callers.
8465 * eshell/em-hist.el (eshell-hist-parse-arguments):
8466 Remove unused arg `silent'. Update callers.
8468 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8469 Fix (f)boundp mix-up.
8471 * eshell/em-smart.el (eshell-smart-scroll-window)
8472 (eshell-disable-after-change):
8473 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8475 2013-09-18 Alan Mackenzie <acm@muc.de>
8477 Fix fontification of type when followed by "const".
8478 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8479 "known" types from fontification.
8481 2013-09-18 Glenn Morris <rgm@gnu.org>
8483 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8484 (chart-face-list): Drop Emacsen without display-color-p.
8486 * net/eww.el (libxml-parse-html-region): Declare.
8487 (eww-display-html): Explicit error if no libxml2 support.
8489 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8491 * image.el (image-type-from-buffer, image-multi-frame-p):
8492 Remove --without-x warning/error.
8494 * mouse.el (mouse-yank-primary):
8495 * term.el (term-mouse-paste):
8496 Reorder to silence --without-x compilation.
8498 * mpc.el (doc-view-mode): Silence --without-x compilation.
8500 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8501 Silence --without-x compilation.
8503 * progmodes/gud.el (gud-find-file, gud-mode):
8504 Silence --without-x compilation.
8505 (tooltip-mode): Declare.
8507 * wdired.el (dired-backup-overwrite): Remove declaration.
8508 (wdired-mode-map): Add doc string.
8510 * custom.el (x-get-resource): Declare.
8512 * eshell/em-glob.el (ange-cache):
8513 * eshell/em-unix.el (ange-cache): Declare.
8515 * faces.el (x-display-list, x-open-connection, x-get-resource):
8518 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8519 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8522 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8524 * net/gnutls.el (gnutls-log-level): Declare.
8526 * net/shr.el (image-size, image-animate): Declare.
8528 * simple.el (font-info): Declare.
8530 * subr.el (x-popup-dialog): Declare.
8532 * term/common-win.el (x-select-enable-primary)
8533 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8536 * term/ns-win.el (x-handle-args): Declare.
8538 * term/x-win.el (x-select-enable-clipboard): Declare.
8540 * term/w32-win.el (create-default-fontset): Declare.
8542 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8545 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8546 (fit-frame-to-buffer): Explicit error if --without-x.
8547 (mouse-autoselect-window-select): Silence compiler.
8549 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8551 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8552 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8553 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8554 * eshell/esh-util.el (eshell-sublist):
8555 Remove unused local variables.
8557 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8559 * textmodes/two-column.el: Make 2C-split work for --without-x.
8560 (scroll-bar-columns): Autoload.
8561 (top-level): Require fringe when compiling.
8563 2013-09-18 Leo Liu <sdl.web@gmail.com>
8565 * subr.el (add-hook): Robustify to handle closure as well.
8567 2013-09-17 Glenn Morris <rgm@gnu.org>
8569 * simple.el (messages-buffer-mode-map): Unbind "g".
8571 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8573 * help-mode.el (help-mode-finish): Use derived-mode-p.
8574 Remove obsolete highlighting.
8576 * play/life.el (life-mode): Use define-derived-mode. Derive from
8578 (life): Let-bind inhibit-read-only.
8579 (life-setup): Avoid `setq'. Use `life-mode'.
8581 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8582 which should not be needed any more.
8583 (package-menu-refresh, package-menu-describe-package): Use user-error.
8585 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8586 (eshell-post-rewrite-command-hook): Make obsolete.
8587 (eshell-parse-command): Simplify.
8588 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8589 (eshell--cmd): Declare.
8590 (eshell-parse-pipeline): Remove unused var `final-p'.
8591 Pass a dynvar to eshell-post-rewrite-command-hook.
8592 Implement the new eshell-post-rewrite-command-function.
8593 (eshell-invoke-directly): Remove unused arg `input'.
8594 * eshell/esh-io.el (eshell-io-initialize):
8595 Use eshell-post-rewrite-command-function (bug#15399).
8596 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8597 adjust to new calling convention.
8598 (eshell-create-handles): Rename args to avoid clashing with dynvar
8601 2013-09-17 Glenn Morris <rgm@gnu.org>
8603 * simple.el (messages-buffer-mode): New major mode.
8604 (messages-buffer): New function.
8605 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8606 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8607 (ert-run-test): Use `messages-buffer' function.
8608 (ert--force-message-log-buffer-truncation): Ignore read-only.
8609 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8610 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8612 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8614 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8616 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8618 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8620 * icomplete.el (icomplete-in-buffer): New var.
8621 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8622 vars and replace them with functions.
8623 (icomplete-minibuffer-setup): Adjust accordingly.
8624 (icomplete--completion-table, icomplete--completion-predicate)
8625 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8627 (icomplete-forward-completions, icomplete-backward-completions)
8628 (icomplete-simple-completing-p, icomplete-exhibit)
8629 (icomplete-completions): Use them.
8630 (icomplete--in-region-buffer): New var.
8631 (icomplete--in-region-setup): New function.
8632 (icomplete-mode): Use it.
8634 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8636 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8637 return args and options.
8638 (eshell-eval-using-options): Use the new return value of
8639 eshell--do-opts to set the options's vars in their scope.
8640 (eshell--set-option): Rename from eshell-set-option.
8642 (eshell--process-option): Rename from eshell-process-option.
8644 (eshell--process-args): Use an `opt-vals' alist to store the options's
8645 values during their processing and return them additionally to the
8648 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8650 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8651 continuation character an operator, as far as indentation is
8652 concerned (Bug#15369).
8654 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8656 * window.el (window--state-put-2): Don't process buffer state
8657 when buffer doesn't exist any more (Bug#15382).
8659 2013-09-15 Glenn Morris <rgm@gnu.org>
8661 * eshell/em-unix.el (eshell/rm):
8662 Make -f ignore missing files. (Bug#15373)
8664 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8665 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8666 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8668 2013-09-14 Glenn Morris <rgm@gnu.org>
8670 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8672 2013-09-13 Glenn Morris <rgm@gnu.org>
8674 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8675 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8677 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8679 * frame.el (x-focus-frame): Mark as declared in frame.c.
8681 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8683 * ls-lisp.el: Use advice-add.
8684 (original-insert-directory): Remove.
8685 (ls-lisp--insert-directory): Rename from insert-directory; add
8686 `orig-fun' argument.
8687 (insert-directory): Advise.
8689 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8691 * term.el (term-emulate-terminal): Decode the command string
8692 before passing it to term-command-hook. (Bug#15337)
8694 2013-09-13 Glenn Morris <rgm@gnu.org>
8696 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8698 * eshell/esh-ext.el (eshell-search-path): Declare.
8700 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8701 Otherwise an error occurs if eshell-dirs module not loaded.
8703 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8705 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8707 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8708 `tramp-check-proper-host'. Check for a valid method name.
8710 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8711 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8712 * net/tramp-sh.el (tramp-maybe-open-connection):
8713 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8715 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8716 also for hash values.
8718 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8720 * term/ns-win.el (parameters): Don't declare as dynamic.
8721 (before-make-frame-hook): Don't add ineffective function.
8723 * eshell/*.el: Use lexical-binding (bug#15231).
8725 2013-09-12 Kenichi Handa <handa@gnu.org>
8727 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8729 2013-09-12 Glenn Morris <rgm@gnu.org>
8731 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8732 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8734 * subr.el (do-after-load-evaluation): Also give compiler warnings
8735 when obsolete files are used (except by obsolete files).
8737 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8738 in the status output, assume `filename' is the first. (Bug#15322)
8740 * vc/vc.el (vc-deduce-fileset): Doc fix.
8742 * calc/calc-help.el (Info-goto-node):
8743 * progmodes/cperl-mode.el (Info-find-node):
8744 * vc/ediff.el (Info-goto-node): Update declarations.
8746 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8748 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8749 (vc-bzr-pull): Require vc-dispatcher.
8750 * vc/vc-git.el (vc-compilation-mode): Declare.
8751 (vc-git-pull): Require vc-dispatcher.
8753 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8755 * progmodes/octave.el (help-button-action): Declare.
8757 * shell.el (shell-directory-tracker): Output error as a message
8758 rather than just returning it as a string.
8759 (shell-process-pushd): Remove useless use of message.
8761 * dframe.el (dframe-timer-fn):
8762 * files.el (dir-locals-read-from-file):
8763 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8765 * reveal.el (reveal-post-command):
8766 * saveplace.el (load-save-place-alist-from-file):
8767 * shell.el (shell-resync-dirs):
8768 * w32-common-fns.el (x-get-selection-value):
8769 * emacs-lisp/copyright.el (copyright-find-copyright):
8770 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8771 * emulation/tpu-edt.el (tpu-copy-keyfile):
8772 * play/bubbles.el (bubbles--mark-neighbourhood):
8773 * progmodes/executable.el
8774 (executable-make-buffer-file-executable-if-script-p):
8775 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8777 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8779 Cleanup Eshell to rely less on dynamic scoping.
8780 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8781 last-value, and ext-command here. Bind `args' closer to `body'.
8782 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8783 (eshell--args): Declare new dynamic var.
8784 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8785 last-value, and ext-command. Pass `args' to `body'.
8786 (eshell-process-args): Bind eshell--args.
8787 (eshell-set-option): Use eshell--args.
8788 * eshell/eshell.el (eshell): Use derived-mode-p.
8789 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8790 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8791 (eshell-glob-function): Declare.
8792 * eshell/esh-util.el: Require cl-lib.
8793 (eshell-read-hosts-file): Avoid add-to-list.
8794 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8796 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8798 (eshell/diff): Remove unused var `err'.
8799 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8801 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8802 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8804 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8805 Move declaration before first use.
8806 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8807 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8810 2013-09-12 Glenn Morris <rgm@gnu.org>
8812 * term/ns-win.el (global-map): Remove binding for ispell-next,
8813 deleted 1999-05-29. (Bug#15357)
8815 2013-09-11 Glenn Morris <rgm@gnu.org>
8817 * echistory.el (electric-command-history): Remove call to deleted func.
8819 * play/landmark.el (landmark-mode): Fix typos.
8821 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8822 Check cvs-sort-ignore-file is bound.
8824 * savehist.el: No need for cl when compiling on Emacs.
8826 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8828 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8830 (eshell-self-insert-command, eshell-send-invisible):
8831 Remove unused argument.
8832 (eshell-handle-control-codes): Remove unused var `orig'.
8833 Avoid delete-backward-char.
8835 * files.el (set-auto-mode): Simplify a bit further.
8837 2013-09-11 Glenn Morris <rgm@gnu.org>
8839 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8840 (set-auto-mode): Don't regexp-quote elements.
8841 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8842 * progmodes/cc-mode.el (interpreter-mode-alist):
8843 * progmodes/ruby-mode.el (interpreter-mode-alist):
8844 Revert previous change.
8846 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8848 * play/snake.el (snake-mode):
8849 * play/mpuz.el (mpuz-mode):
8850 * play/landmark.el (lm-mode):
8851 * play/blackbox.el (blackbox-mode):
8852 * play/5x5.el (5x5-mode):
8853 * obsolete/options.el (Edit-options-mode):
8854 * net/quickurl.el (quickurl-list-mode):
8855 * net/newst-treeview.el (newsticker-treeview-mode):
8856 * mail/rmailsum.el (rmail-summary-mode):
8857 * mail/mspools.el (mspools-mode):
8858 * locate.el (locate-mode):
8859 * ibuffer.el (ibuffer-mode):
8860 * emulation/ws-mode.el (wordstar-mode):
8861 * emacs-lisp/debug.el (debugger-mode):
8862 * array.el (array-mode):
8863 * net/eudc.el (eudc-mode): Use define-derived-mode.
8864 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8865 Move initialization into declaration.
8866 (mairix-searches-mode): Use define-derived-mode.
8867 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8868 (eudc-edit-hotlist): Use dolist.
8869 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8870 (Man-mode): Use define-derived-mode.
8871 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8872 (Info-edit-mode): Use define-derived-mode.
8873 (Info-cease-edit): Use Info-mode.
8874 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8876 (eshell-mode): Use define-derived-mode.
8877 * chistory.el (command-history-mode-map): Rename from
8878 command-history-map.
8879 (command-history-mode): Use define-derived-mode.
8880 (Command-history-setup): Remove function.
8881 * calc/calc.el (calc-trail-mode-map): New var.
8882 (calc-trail-mode): Use define-derived-mode.
8883 (calc-trail-buffer): Set calc-main-buffer manually.
8884 * bookmark.el (bookmark-insert-annotation): New function.
8885 (bookmark-edit-annotation): Use it.
8886 (bookmark-edit-annotation-mode): Make it a proper major mode.
8887 (bookmark-send-edited-annotation): Use derived-mode-p.
8888 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8889 closer to its ideal place. Use \' to match EOS.
8891 * profiler.el (profiler-calltree-find): Use function-equal.
8893 2013-09-10 Glenn Morris <rgm@gnu.org>
8895 * files.el (interpreter-mode-alist): Convert to regexps.
8896 (set-auto-mode): Adapt for this. (Bug#15306)
8897 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8898 Comment out unused variable.
8899 * progmodes/cc-mode.el (interpreter-mode-alist):
8900 * progmodes/python.el (interpreter-mode-alist):
8901 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8902 * progmodes/sh-script.el (sh-set-shell):
8903 No longer use interpreter-mode-alist to get list of shells.
8905 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8907 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8909 * simple.el: Use set-temporary-overlay-map for universal-argument.
8910 (universal-argument-map): Don't use default-bindings (bug#15317).
8911 Bind switch-frame explicitly. Replace universal-argument-minus with
8912 a conditional binding.
8913 (universal-argument-num-events, saved-overriding-map): Remove.
8914 (restore-overriding-map): Remove.
8915 (universal-argument--mode): Rename from save&set-overriding-map,
8917 (universal-argument, universal-argument-more, negative-argument)
8918 (digit-argument): Adjust accordingly.
8919 (universal-argument-minus): Remove.
8920 (universal-argument-other-key): Remove.
8922 * subr.el (with-demoted-errors): Add `format' argument.
8924 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8926 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8927 `tramp-cleanup-connection'.
8929 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8930 parameters KEEP-DEBUG and KEEP-PASSWORD.
8932 * net/tramp.el (tramp-file-name-handler):
8933 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8934 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8935 (tramp-maybe-open-connection):
8936 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8937 Use `tramp-cleanup-connection'.
8939 * net/tramp-sh.el (tramp-maybe-open-connection):
8940 Catch 'uname-changed inside the progress reporter.
8942 2013-09-10 Glenn Morris <rgm@gnu.org>
8944 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8946 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8947 returns "alternate access method" in mode (eg "-rw-r--r--.").
8949 2013-09-08 Glenn Morris <rgm@gnu.org>
8951 * saveplace.el (load-save-place-alist-from-file):
8952 Demote errors. (Bug#15305)
8954 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8956 Improve compatibility with older Emacsen, and XEmacs.
8958 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8959 only if it is bound. It isn't for XEmacs.
8960 (with-tramp-progress-reporter): Do not let-bind `result'.
8961 This yields to scoping errors in XEmacs.
8962 (tramp-handle-make-auto-save-file-name): New function, moved from
8965 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8966 for `make-auto-save-file-name'.
8967 (tramp-adb--gnu-switches-to-ash):
8968 Use `tramp-compat-replace-regexp-in-string'.
8970 * net/tramp-cache.el (tramp-cache-print): Call
8971 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8973 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8974 bound. It isn't for XEmacs.
8976 * net/tramp-compat.el (tramp-compat-copy-file):
8977 Catch `wrong-number-of-arguments' error.
8978 (tramp-compat-replace-regexp-in-string): New defun.
8980 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8981 for `make-auto-save-file-name'.
8982 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8984 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8985 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8986 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8988 * net/tramp-gw.el (tramp-gw-open-network-stream):
8989 Use `tramp-compat-replace-regexp-in-string'.
8991 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8992 Call `tramp-handle-make-auto-save-file-name'.
8993 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8994 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8995 (tramp-sh-file-inotifywait-process-filter):
8996 Use `tramp-compat-replace-regexp-in-string'.
8997 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8999 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9000 for `make-auto-save-file-name'.
9001 (tramp-smb-handle-copy-directory):
9002 Call `tramp-compat-replace-regexp-in-string'.
9003 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9004 (tramp-smb-handle-copy-file): Improve error message.
9005 (tramp-smb-handle-rename-file): Rename directly only in case
9006 `newname' does not exist yet. This is a restriction of smbclient.
9007 (tramp-smb-maybe-open-connection): Rerun the function only when
9008 `auth-sources' is non-nil.
9010 2013-09-08 Kenichi Handa <handa@gnu.org>
9012 * international/characters.el: Set category "^" (Combining) for
9015 2013-09-07 Alan Mackenzie <acm@muc.de>
9017 Correctly fontify Java class constructors.
9018 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9020 (c-recognize-typeless-decls): Set the Java value to t.
9021 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9022 While handling a "(", add a check for, effectively, Java, and handle a
9023 "typeless" declaration there.
9025 2013-09-07 Roland Winkler <winkler@gnu.org>
9027 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9028 field subtitle for entry type book.
9030 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9032 * minibuffer.el: Make minibuffer-complete call completion-in-region
9033 rather than other way around.
9034 (completion--some, completion-pcm--find-all-completions):
9035 Don't delay signals when debugging.
9036 (minibuffer-completion-contents): Beware fields within the
9037 minibuffer contents.
9038 (completion-all-sorted-completions): Use defvar-local.
9039 (completion--do-completion, completion--cache-all-sorted-completions)
9040 (completion-all-sorted-completions, minibuffer-force-complete):
9041 Add args `beg' and `end'.
9042 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9043 (minibuffer-complete): Use completion-in-region.
9044 (completion-complete-and-exit): New fun, extracted from
9045 minibuffer-complete-and-exit.
9046 (minibuffer-complete-and-exit): Use it.
9047 (completion--complete-and-exit): Rename from
9048 minibuffer--complete-and-exit.
9049 (completion-in-region--single-word): New function, extracted from
9050 minibuffer-complete-word.
9051 (minibuffer-complete-word): Use it.
9052 (display-completion-list): Make `common-substring' argument obsolete.
9053 (completion--in-region): Call completion--in-region-1 instead of
9054 minibuffer-complete.
9055 (completion-help-at-point): Pass boundaries to
9056 minibuffer-completion-help as args rather than via an overlay.
9057 (completion-pcm--string->pattern): Use `any-delim'.
9058 (completion-pcm--optimize-pattern): New function.
9059 (completion-pcm--pattern->regex): Handle `any-delim'.
9060 * icomplete.el (icomplete-forward-completions)
9061 (icomplete-backward-completions, icomplete-completions):
9062 Adjust calls to completion-all-sorted-completions and
9063 completion--cache-all-sorted-completions.
9064 (icomplete-with-completion-tables): Default to t.
9065 * emacs-lisp/crm.el (crm--current-element): Rename from
9066 crm--select-current-element. Don't put an overlay but return the
9068 (crm--completion-command): Take two new args to bind to the boundaries.
9069 (crm-completion-help): Adjust accordingly.
9070 (crm-complete): Use completion-in-region.
9071 (crm-complete-word): Use completion-in-region--single-word.
9072 (crm-complete-and-exit): Use completion-complete-and-exit.
9074 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9076 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9079 2013-09-06 Juri Linkov <juri@jurta.org>
9081 * info.el (Info-display-images-node): When image file doesn't exist
9082 display text version of the image if it's provided in the Info file.
9083 Otherwise, display the location of missing image from SRC attribute.
9084 Add help-echo text property from ALT attribute. (Bug#15279)
9086 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9088 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9089 (edit-abbrevs-mode): Use define-derived-mode.
9091 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9092 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9094 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9095 Use define-derived-mode.
9097 * epg.el (epg-start-encrypt): Minor CSE simplification.
9099 2013-09-06 William Xu <william.xwl@gmail.com>
9101 * arc-mode.el: Add support for 7za (bug#15264).
9102 (archive-7z-program): New var.
9103 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9104 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9105 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9107 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9111 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9112 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9113 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9114 (tramp-postfix-host-format, tramp-file-name-regexp)
9115 (tramp-completion-file-name-regexp)
9116 (tramp-completion-dissect-file-name)
9117 (tramp-handle-substitute-in-file-name): Remove 'url case.
9118 (tramp-file-name-regexp-url)
9119 (tramp-completion-file-name-regexp-url): Remove constants.
9121 2013-09-06 Glenn Morris <rgm@gnu.org>
9123 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9125 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9127 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9128 keywords" below "here-doc beginnings" (Bug#15270).
9130 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9132 * subr.el (pop): Use `car-safe'.
9133 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9134 to detect unused `pop' return value.
9136 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9138 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9139 (python-fill-string): Remove unused var `marker'.
9140 (python-skeleton-add-menu-items): Remove unused var `items'.
9142 * international/mule-cmds.el: Require CL.
9143 (find-coding-systems-for-charsets): Avoid add-to-list.
9144 (sanitize-coding-system-list): New function, extracted from
9145 select-safe-coding-system-interactively.
9146 (select-safe-coding-system-interactively): Use it.
9147 (read-input-method-name): Accept symbols for `default'.
9149 * emacs-lisp/advice.el (defadvice): Add indent rule.
9151 2013-09-05 Daniel Hackney <dan@haxney.org>
9155 * net/browse-url.el:
9158 * net/eudcb-ldap.el:
9171 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9172 byte compiler. Remove some unused let-bound variables.
9174 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9176 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9177 a "ref-cell", since it gets better optimized (bug#14883).
9179 2013-09-05 Glenn Morris <rgm@gnu.org>
9181 * progmodes/cc-awk.el (c-forward-sws): Declare.
9183 2013-09-04 Glenn Morris <rgm@gnu.org>
9185 * generic-x.el [rul-generic-mode]: Require cc-mode.
9186 (c++-mode-syntax-table): Declare.
9187 (rul-generic-mode-syntax-table): Init in the defvar.
9189 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9191 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9192 (vc-do-command, vc-set-async-update):
9193 * vc/vc-mtn.el (vc-mtn-dir-status):
9194 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9195 (vc-hg-pull, vc-hg-merge-branch):
9196 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9197 (vc-git-merge-branch):
9198 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9199 (vc-cvs-dir-status-files):
9200 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9201 (vc-bzr-dir-status-files):
9202 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9203 * vc/vc-annotate.el: Use lexical-binding.
9204 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9205 (vc-sentinel-movepoint): Declare.
9206 (vc-annotate): Don't use `goto-line'.
9207 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9208 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9209 (vc-sentinel-movepoint): Declare.
9210 * vc/vc-svn.el: Use lexical-binding.
9211 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9213 * vc/vc-rcs.el: Use lexical-binding.
9215 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9216 `deleted'. Don't drop errors silently.
9218 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9220 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9222 * vc/vc.el (vc-ignore): Rewrite.
9223 (vc-default-ignore): New function.
9224 (vc-default-ignore-completion-table): Use find-ignore-file.
9226 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9227 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9228 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9229 Remove. Most code moved to vc.el.
9231 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9233 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9234 * net/tramp-smb.el (tramp-smb-get-file-entries):
9235 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9236 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9238 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9240 (eww-change-select): Remove unused var `properties'.
9241 (eww-make-unique-file-name): Remove unused var `base'.
9243 * finder.el (finder-compile-keywords): Don't mess with windows.
9245 * calculator.el (calculator-funcall): Fix typo in last change.
9247 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9249 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9250 <pkg>-autoloads.el file stop us.
9252 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9253 warnings, and factor out common code.
9255 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9257 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9258 two-character operators and whether the character preceding them
9259 changes their meaning (Bug#15208).
9261 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9263 Format code sent to Python shell for robustness.
9264 * progmodes/python.el (python-shell-buffer-substring):
9266 (python-shell-send-region, python-shell-send-buffer): Use it.
9268 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9270 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9271 * net/tramp.el (tramp-user-error): ... here.
9272 (tramp-find-method, tramp-check-proper-host)
9273 (tramp-dissect-file-name, tramp-debug-message)
9274 (tramp-handle-shell-command):
9275 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9276 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9278 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9280 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9282 * avoid.el (mouse-avoidance-point-position)
9283 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9286 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9288 * progmodes/python.el (python-shell-completion-get-completions):
9289 Drop use of deleted `comint-last-prompt-overlay'.
9290 (python-nav-if-name-main): New command.
9292 2013-09-01 Glenn Morris <rgm@gnu.org>
9294 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9295 Avoid leading space in $wins. Otherwise the sed command used by
9296 eg compile-main ends up containing "/*.el". (Bug#15170)
9298 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9300 2013-08-30 Glenn Morris <rgm@gnu.org>
9302 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9303 Fix is-this-a-directory logic. (Bug#15220)
9305 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9307 * textmodes/css-mode.el: Use SMIE.
9308 (css-smie-grammar): New var.
9309 (css-smie--forward-token, css-smie--backward-token)
9310 (css-smie-rules): New functions.
9311 (css-mode): Use them.
9312 (css-navigation-syntax-table): Remove var.
9313 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9314 (css-indent-calculate, css-indent-line): Remove functions.
9316 Misc changes to reduce use of `(lambda...); and other cleanups.
9317 * cus-edit.el: Use lexical-binding.
9318 (customize-push-and-save, customize-apropos)
9319 (custom-buffer-create-internal): Use closures.
9320 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9321 * progmodes/ada-xref.el: Use setq.
9322 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9323 * dframe.el: Use lexical-binding.
9324 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9325 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9326 * descr-text.el: Use lexical-binding.
9327 (describe-text-widget, describe-text-sexp, describe-property-list):
9329 * comint.el (comint-history-isearch-push-state): Use a closure.
9330 * calculator.el: Use lexical-binding.
9331 (calculator-number-to-string): Make it work with lexical-binding.
9332 (calculator-funcall): Same and use cl-letf.
9334 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9335 (lisp--company-doc-string, lisp--company-location): New functions.
9336 (lisp-completion-at-point): Use them to improve Company support.
9338 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9339 params of lambda expressions.
9340 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9341 (ruby-smie--opening-pipe-p): New function.
9342 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9343 symbols and matched |...| for formal params.
9344 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9345 from being treated as hanging. Handle "rescue".
9347 2013-08-29 Glenn Morris <rgm@gnu.org>
9349 * progmodes/cc-engine.el (c-pull-open-brace):
9350 Move definition before use.
9352 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9354 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9355 are immutable. Don't use `unsafe' any more.
9356 (cl--defsubst-expand): Don't substitute at the same time as keeping
9357 a residual unused let-binding. Don't use `unsafe' any more.
9359 2013-08-29 Glenn Morris <rgm@gnu.org>
9361 * calendar/cal-china.el (calendar-chinese-year-cache):
9364 * nxml/nxml-util.el (nxml-debug-clear-inside):
9365 Use cl-loop rather than loop.
9367 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9369 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9371 2013-08-28 Glenn Morris <rgm@gnu.org>
9373 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9375 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9377 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9379 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9381 * simple.el (repeat-complex-command--called-interactively-skip):
9383 (repeat-complex-command): Use it (bug#14136).
9385 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9386 (c-define-abbrev-table): Add `doc' argument.
9387 (c-mode-abbrev-table, c++-mode-abbrev-table)
9388 (objc-mode-abbrev-table, java-mode-abbrev-table)
9389 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9390 (awk-mode-abbrev-table): Use it.
9391 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9392 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9393 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9394 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9395 Move initialization into the declaration; and remove any
9398 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9399 and dynamic let binding.
9401 * vc/smerge-mode.el: Remove redundant :group args.
9403 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9406 2013-08-28 Juri Linkov <juri@jurta.org>
9408 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9409 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9410 (isearch-other-meta-char): Handle an undefined shifted printing
9411 character by downshifting it. (Bug#15200)
9413 2013-08-28 Juri Linkov <juri@jurta.org>
9415 * isearch.el (isearch-search): Change regexp error message for
9416 non-regexp searches. (Bug#15166)
9418 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9420 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9421 for portability to hosts where /bin/sh has problems.
9423 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9425 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9427 2013-08-27 Juri Linkov <juri@jurta.org>
9429 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9430 in the keyboard macro. (Bug#15126)
9432 2013-08-27 Juri Linkov <juri@jurta.org>
9434 * isearch.el (isearch-quote-char): Comment out converting unibyte
9435 to multibyte, thus syncing with its `quoted-insert' counterpart.
9438 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9440 * window.el (display-buffer-use-some-window): Add missing
9441 argument in call of get-largest-window (Bug#15185).
9442 Reported by Stephen Leake.
9444 2013-08-27 Glenn Morris <rgm@gnu.org>
9446 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9448 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9450 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9451 from a matcher-function unless there's no more matches (bug#15161).
9453 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9455 * minibuffer.el: Revert change from 2013-08-20.
9457 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9458 with text property `tramp-default', if appropriate.
9459 (tramp-check-proper-host): New defun.
9460 (tramp-dissect-file-name): Do not check hostname. Revert change
9462 (tramp-backtrace): Make VEC-OR-PROC optional.
9464 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9465 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9466 * net/tramp-sh.el (tramp-maybe-open-connection):
9467 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9468 Apply `tramp-check-proper-host'.
9470 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9472 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9473 lambda expression in order to have `describe-variable' display it.
9475 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9477 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9478 BUF can be optional. (Bug#15186)
9480 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9482 * progmodes/flymake.el (flymake-get-real-file-name-function):
9483 Fix broken customization. (Bug#15184)
9485 2013-08-25 Alan Mackenzie <acm@muc.de>
9487 Improve indentation of bracelists defined by macros (without "=").
9489 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9490 expansion begins with "{", regard it as bracelist when it doesn't
9493 Parse C++ inher-intro when there's a template split over 2 lines.
9495 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9496 rigorously the search for "class" etc. followed by ":".
9498 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9499 random languages a regexp which never matches rather than nil.
9501 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9503 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9504 (c-awk-regexp-one-line-possibly-open-char-list-re)
9505 (c-awk-one-line-possibly-open-regexp-re)
9506 (c-awk-one-line-non-syn-ws*-re): Remove.
9507 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9508 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9509 (c-awk-space*-unclosed-regexp-/-re): New constants.
9510 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9511 aren't regexp delimiters.
9513 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9514 handling for a rare situation in AWK Mode involving unterminated
9517 2013-08-23 Glenn Morris <rgm@gnu.org>
9519 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9521 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9523 * files.el (create-file-buffer): If the result would begin with
9524 spaces, prepend a "|" instead of removing them. (Bug#15162)
9526 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9528 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9529 text-properties (bug#15155).
9531 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9533 (calc-keypad-redraw): Remove unused var `pad'.
9534 (calc-keypad-press): Remove unused var `menu'.
9536 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9538 * window.el (display-buffer-pop-up-frame):
9539 Call pop-up-frame-function with BUFFER current so `make-frame' will
9540 use it as the new frame's buffer (Bug#15133).
9542 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9544 * calendar/timeclock.el: Minor cleanups.
9545 (timeclock-ask-before-exiting, timeclock-use-display-time):
9547 (timeclock-modeline-display): Define as alias before the
9549 (timeclock-mode-line-display): Use define-minor-mode.
9550 (timeclock-day-list-template): Make it a function, add an argument.
9551 (timeclock-day-list-required, timeclock-day-list-length)
9552 (timeclock-day-list-debt, timeclock-day-list-span)
9553 (timeclock-day-list-break): Adjust calls accordingly.
9555 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9557 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9558 Use read--expression so that completion works again.
9560 2013-08-21 Sam Steingold <sds@gnu.org>
9562 Add rudimentary inferior shell interaction
9563 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9564 (sh-set-shell): Reset it.
9565 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9566 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9568 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9570 * align.el: Use lexical-binding.
9571 (align-region): Simplify accordingly.
9573 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9575 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9577 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9580 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9584 * net/tramp-cmds.el:
9586 * net/tramp-gvfs.el:
9588 * net/tramp-sh.el: Don't wrap external variable declarations by
9589 `eval-when-compile'.
9591 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9593 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9594 now that Emacs supports ImageMagick animations.
9596 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9598 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9599 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9601 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9603 * window.el (mouse-autoselect-window-select): Do autoselect when
9604 mouse pointer is on margin.
9606 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9608 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9610 2013-08-16 Glenn Morris <rgm@gnu.org>
9612 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9613 Handle "Remote Directory" response of some clients. (Bug#15058)
9615 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9616 Tweak warning. (Bug#14926)
9618 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9619 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9621 * image-mode.el (image-mode-map): Add menu items to reverse,
9622 increase, decrease, reset animation speed.
9623 (image--set-speed, image-increase-speed, image-decrease-speed)
9624 (image-reverse-speed, image-reset-speed): New functions.
9625 (image-mode-map): Add bindings for speed commands.
9627 * image.el (image-animate-get-speed, image-animate-set-speed):
9629 (image-animate-timeout): Respect image :speed property.
9631 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9633 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9634 previous line (bug#15101).
9635 (debugger-eval-expression, debugger-record-expression):
9636 Use read--expression (bug#15102).
9638 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9640 Remove byte compiler warnings, visible when compiling with
9641 `byte-compile-force-lexical-warnings' set to t.
9643 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9644 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9645 (tramp-handle-unhandled-file-name-directory)
9646 (tramp-handle-file-notify-add-watch, tramp-action-login)
9647 (tramp-action-succeed, tramp-action-permission-denied)
9648 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9651 * net/tramp-adb.el (tramp-adb-parse-device-names)
9652 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9653 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9654 (tramp-adb-handle-file-truename): Remove unused arguments.
9656 * net/tramp-cache.el (tramp-flush-directory-property)
9657 (tramp-flush-connection-property, tramp-list-connections)
9658 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9660 * net/tramp-compat.el (tramp-compat-make-temp-file):
9661 Rename FILENAME to F.
9663 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9664 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9665 (tramp-zeroconf-parse-workstation-device-names)
9666 (tramp-zeroconf-parse-webdav-device-names)
9667 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9669 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9670 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9672 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9674 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9675 (tramp-sh-handle-insert-file-contents-literally)
9676 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9678 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9679 Remove unused variables.
9681 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9682 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9683 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9685 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9686 Make them a defconst.
9687 (tramp-uuencode-region): Remove unused variable.
9689 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9691 * frameset.el (frameset--prop-setter): New function.
9692 (frameset-prop): Add gv-setter declaration.
9693 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9694 parameter was already set in FILTERED. Doc fix.
9695 (frameset--record-minibuffer-relationships): Allow saving a
9696 minibufferless frame without its corresponding minibuffer frame.
9697 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9698 frame, if the frame id matches.
9699 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9700 frames before orphaned ones.
9701 (frameset-restore): Warn about orphaned windows, instead of error out.
9703 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9705 * window.el (window-make-atom): Don't overwrite parameter
9707 (display-buffer-in-atom-window): Handle special case where we
9708 split an already atomic window.
9709 (window--major-non-side-window, display-buffer-in-side-window)
9710 (window--side-check): Ignore minibuffer window when walking
9712 (window-deletable-p): Return 'frame only if no other frame uses
9713 our minibuffer window.
9714 (record-window-buffer): Run buffer-list-update-hook.
9715 (split-window): Make sure window--check-frame won't destroy an
9716 existing atomic window in case the new window gets nested
9718 (display-buffer-at-bottom): Ignore minibuffer window when
9719 walking window tree. Don't split a side window.
9720 (pop-to-buffer): Don't set-buffer here, the select-window call
9722 (mouse-autoselect-window-select): Autoselect only if we are in the
9723 text portion of the window.
9725 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9727 * net/shr.el (shr-parse-image-data): New function to grab both the
9728 data itself and the Content-Type.
9729 (shr-put-image): Use it.
9731 * net/eww.el (eww-display-image): Ditto.
9733 * image.el (image-content-type-suffixes): New variable.
9735 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9737 * progmodes/python.el (python-imenu--build-tree)
9738 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9740 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9742 * simple.el (backward-word): Mention the optional argument.
9744 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9746 * frameset.el (frameset--make): Rename constructor from make-frameset.
9747 (frameset-p, frameset-valid-p): Don't autoload.
9748 (frameset-valid-p): Use normal accessors.
9750 2013-08-13 Glenn Morris <rgm@gnu.org>
9752 * progmodes/compile.el (compile-command): Tweak example in doc.
9753 * obsolete/scribe.el (scribe-mode):
9754 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9756 * mail/feedmail.el (feedmail-confirm-outgoing)
9757 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9759 * cus-start.el (truncate-partial-width-windows): Fix type.
9761 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9763 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9765 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9767 * emacs-lisp/timer.el (timer--time-setter): New function.
9768 (timer--time): Use it as gv-setter.
9770 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9771 setter is not a symbol.
9773 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9775 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9776 if sending fails. This makes debugging easier.
9778 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9780 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9781 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9782 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9784 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9786 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9788 2013-08-12 Glenn Morris <rgm@gnu.org>
9790 * format.el (format-annotate-function):
9791 Handle read-only text properties in the source. (Bug#14887)
9793 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9795 * net/eww.el (eww-display-html): Ignore coding system errors.
9796 One web site uses "utf-8lias" as the coding system.
9798 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9800 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9802 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9804 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9805 (tutorial--detailed-help): Remove unused local variables.
9806 (tutorial--save-tutorial-to): Use ignore-errors.
9807 (help-with-tutorial): Use looking-at-p.
9809 * view.el (view-buffer-other-window, view-buffer-other-frame):
9810 Mark unused arguments.
9812 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9813 (woman-select-symbol-fonts, woman, woman-find-file)
9814 (woman-insert-file-contents, woman-non-underline-faces):
9816 (woman1-unquote): Move declaration.
9818 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9819 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9820 argument. Remove unused local variable.
9821 (xml-parse-elem-type): Use string-match-p.
9822 (xml-substitute-numeric-entities): Use ignore-errors.
9824 * calculator.el (calculator): Mark unused argument.
9825 (calculator-paste, calculator-quit, calculator-integer-p):
9827 (calculator-string-to-number, calculator-decimal, calculator-exp)
9828 (calculator-op-or-exp): Use string-match-p.
9830 * dired.el (dired-buffer-more-recently-used-p): Declare.
9831 (dired-insert-set-properties, dired-insert-old-subdirs):
9834 * dired-aux.el (dired-compress): Use ignore-errors.
9835 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9836 (dired-do-async-shell-command, dired-do-shell-command)
9837 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9838 (dired-insert-subdir-validate): Use string-match-p.
9839 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9840 (dired-add-entry): Use string-match-p, looking-at-p.
9841 (dired-insert-subdir-newpos): Remove unused local variable.
9843 * filenotify.el (file-notify-callback): Remove unused local variable.
9845 * filesets.el (filesets-error): Mark unused argument.
9846 (filesets-which-command-p, filesets-filter-dir-names)
9847 (filesets-directory-files, filesets-get-external-viewer)
9848 (filesets-ingroup-get-data): Use string-match-p.
9850 * find-file.el (ff-other-file-name, ff-other-file-name)
9851 (ff-find-the-other-file, ff-cc-hh-converter):
9852 Remove unused local variables.
9853 (ff-get-file-name): Use string-match-p.
9854 (ff-all-dirs-under): Use ignore-errors.
9856 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9857 (follow-select-if-visible): Remove unused local variable.
9859 * forms.el (read-file-filter): Move declaration.
9860 (forms--make-format, forms--make-parser, forms-insert-record):
9861 Quote function with #'.
9862 (forms--update): Use string-match-p. Quote function with #'.
9864 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9865 (help-make-xrefs): Use looking-at-p.
9866 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9868 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9869 (ibuffer-confirm-operation-on): Use string-match-p.
9871 * msb.el (msb-item-handler, msb-dired-item-handler):
9872 Mark unused arguments.
9874 * ses.el (ses-decode-cell-symbol)
9875 (ses-kill-override): Remove unused local variable.
9876 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9877 (ses-load): Use ignore-errors, looking-at-p.
9878 (ses-jump-safe): Use ignore-errors.
9879 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9881 * tabify.el (untabify, tabify): Mark unused arguments.
9883 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9884 Mark unused argument.
9885 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9886 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9888 * emacs-lisp/timer.el (timer--time): Define setter with
9889 gv-define-setter to avoid deprecation warning.
9891 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9892 (*record-cmpl-statistics-p*): Remove (was commented out).
9893 (cmpl-statistics-block): Remove (body was commented out).
9894 All callers changed.
9895 (add-completions-from-buffer, load-completions-from-file):
9896 Remove unused variables.
9898 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9900 * filecache.el (file-cache-delete-file-list):
9901 Print message only when told so.
9902 (file-cache-files-matching): Use #' in mapconcat argument.
9904 * ffap.el (ffap-url-at-point): Fix reference to variable
9905 thing-at-point-default-mail-uri-scheme.
9907 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9909 * subr.el (define-error): New function.
9910 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9911 error-file-not-found and define with define-error.
9912 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9913 and define with define-error.
9914 * userlock.el (file-locked, file-supersession):
9915 * simple.el (mark-inactive):
9916 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9917 * progmodes/ada-mode.el (ada-mode-errors):
9918 * play/life.el (life-extinct):
9919 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9920 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9921 * nxml/rng-util.el (rng-error):
9922 * nxml/rng-uri.el (rng-uri-error):
9923 * nxml/rng-match.el (rng-compile-error):
9924 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9925 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9926 * nxml/nxml-rap.el (nxml-scan-error):
9927 * nxml/nxml-outln.el (nxml-outline-error):
9928 * net/soap-client.el (soap-error):
9929 * net/gnutls.el (gnutls-error):
9930 * net/ange-ftp.el (ftp-error):
9931 * mpc.el (mpc-proc-error):
9932 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9933 (json-number-format, json-string-escape, json-string-format)
9934 (json-key-format, json-object-format):
9935 * jka-compr.el (compression-error):
9936 * international/quail.el (quail-error):
9937 * international/kkc.el (kkc-error):
9938 * emacs-lisp/ert.el (ert-test-failed):
9939 * calc/calc.el (calc-error, inexact-result, math-overflow)
9941 * bookmark.el (bookmark-error-no-filename):
9942 * epg.el (epg-error): Define with define-error.
9944 * time.el (display-time-event-handler)
9945 (display-time-next-load-average): Don't call sit-for since it seems
9946 unnecessary (bug#15045).
9948 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9949 Use #' instead of ' to quote functions.
9950 (checkdoc-output-mode): Use setq-local.
9951 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9952 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9953 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9954 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9955 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9956 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9957 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9958 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9960 * ido.el (ido-completion-help): Fix up compiler warning.
9962 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9964 * frameset.el (frameset-p): Add autoload cookie.
9965 (frameset--jump-to-register): New function, based on code moved from
9967 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9969 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9970 (frameset-restore, frameset-save, frameset-session-filter-alist):
9971 Remove declarations.
9972 (register-alist): Doc fix.
9973 (frameset-to-register): Move to frameset.el.
9974 (jump-to-register, describe-register-1): Remove frameset-specific code.
9976 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9978 * allout-widgets.el (allout-widgets-pre-command-business)
9979 (allout-widgets-post-command-business)
9980 (allout-widgets-after-change-handler)
9981 (allout-decorate-item-and-context, allout-set-boundary-marker)
9982 (allout-body-modification-handler)
9983 (allout-graphics-modification-handler): Mark ignored arguments.
9984 (allout-widgets-post-command-business)
9985 (allout-widgets-exposure-change-processor)
9986 (allout-widgets-exposure-undo-processor)
9987 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9988 (allout-parse-item-at-point, allout-decorate-item-guides)
9989 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9990 * allout.el (epa-passphrase-callback-function): Declare.
9991 (allout-overlay-insert-in-front-handler)
9992 (allout-overlay-interior-modification-handler)
9993 (allout-isearch-end-handler, allout-chart-siblings)
9994 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9995 (allout-yank-processing, allout-process-exposed)
9996 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9997 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9998 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9999 (lisp-indent-defform): Mark ignored arguments.
10000 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10001 (calculate-lisp-indent): Remove unused variables.
10002 * international/characters.el (indian-2-column, arabic-2-column)
10003 (tibetan): Mark ignored arguments.
10004 (use-cjk-char-width-table): Mark ignored arguments.
10005 Remove unused variables.
10006 * international/fontset.el (build-default-fontset-data)
10007 (x-compose-font-name, create-fontset-from-fontset-spec):
10008 Mark ignored arguments.
10009 (fontset-plain-name): Remove unused variables.
10010 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10011 (keyboard-coding-system): Mark ignored arguments.
10012 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10013 * help.el (resize-temp-buffer-window):
10014 * window.el (display-buffer-in-major-side-window)
10015 (display-buffer-in-side-window, display-buffer-in-previous-window):
10016 Remove unused variables.
10017 * isearch.el (isearch-forward-symbol):
10018 * version.el (emacs-bzr-version-bzr):
10019 * international/mule-cmds.el (current-language-environment):
10020 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10021 (x-handle-display):
10022 * term/pc-win.el (x-list-fonts, x-display-planes)
10023 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10024 (x-server-version, x-display-screens, x-display-mm-height)
10025 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10026 (x-selection-owner-p, x-own-selection-internal)
10027 (x-disown-selection-internal, x-get-selection-internal)
10028 (msdos-initialize-window-system):
10029 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10030 * term/x-win.el (x-handle-no-bitmap-icon):
10031 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10032 (vc-default-find-file-hook, vc-default-extra-menu):
10033 Mark ignored arguments.
10035 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10037 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10038 break-condition in the context of the debugged code (bug#12685).
10040 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10043 Do not use an overlay to highlight the last prompt. (Bug#14744)
10044 (comint-mode): Make comint-last-prompt buffer local.
10045 (comint-last-prompt): New variable.
10046 (comint-last-prompt-overlay): Remove. Superseded by
10047 comint-last-prompt.
10048 (comint-snapshot-last-prompt, comint-output-filter):
10049 Use comint-last-prompt.
10051 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10053 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10054 (frameset-save): Check validity of the resulting frameset.
10056 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10058 * ido.el (ido-record-command): Add doc string.
10060 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10062 * frameset.el (frameset): Do not disable creation of the default
10063 frameset-p predicate. Doc fix.
10064 (frameset-valid-p): New function, copied from the old predicate-p.
10065 Add additional checks.
10066 (frameset-restore): Check with frameset-valid-p.
10067 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10068 (frameset-name, frameset-description, frameset-properties)
10069 (frameset-states): Add docstring.
10070 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10071 (frameset-filter-alist): Doc fixes.
10073 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10075 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10077 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10079 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10080 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10081 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10082 (byte-compile-normal-call): Remove obsolescence check.
10084 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10086 * frameset.el (frameset-restore): Doc fix.
10088 * register.el (frameset-frame-id, frameset-frame-with-id)
10089 (frameset-p, frameset-restore, frameset-save): Declare.
10090 (register-alist): Document framesets.
10091 (frameset-session-filter-alist): Declare.
10092 (frameset-to-register): New function.
10093 (jump-to-register): Implement jumping to framesets. Doc fix.
10094 (describe-register-1): Describe framesets.
10096 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10098 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10100 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10101 Use lexical-binding.
10103 * frameset.el (frameset): Use type vector, not list (incompatible
10104 change). Do not declare a new constructor, use the default one.
10105 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10106 `name' and `description', respectively, and add read-only slot
10107 `timestamp'. Doc fixes.
10108 (frameset-copy, frameset-persistent-filter-alist)
10109 (frameset-filter-alist, frameset-switch-to-gui-p)
10110 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10111 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10112 (frameset-filter-iconified, frameset-keep-original-display-p):
10114 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10115 Rename from frameset-filter-(save|restore)-param. All callers changed.
10117 (frameset-p): Adapt to change to vector and be more thorough.
10118 Change arg name to OBJECT. Doc fix.
10119 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10120 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10121 All callers changed.
10122 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10123 All callers changed.
10124 (frameset--record-minibuffer-relationships): Rename from
10125 frameset--process-minibuffer-frames. All callers changed.
10126 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10127 Use new default constructor (again). Doc fix.
10128 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10129 All callers changed.
10130 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10131 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10133 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10134 PARAMETERS and WINDOW-STATE, respectively.
10135 (frameset-restore): Add new keyword argument PREDICATE.
10136 Reset frameset--target-display to nil. Doc fix.
10138 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10140 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10141 (bat-mode): Use it.
10142 (bat-mode-syntax-table): Mark \n as end-of-comment.
10143 (bat-font-lock-keywords): Remove comment rule.
10145 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10146 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10148 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10149 (byte-compile-callargs-warn): Use `push'.
10150 (byte-compile-arglist-warn): Ignore higher-order "calls".
10151 (byte-compile-file-form-autoload): Use `pcase'.
10152 (byte-compile-function-form): If quoting a symbol, check that it exists.
10154 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10156 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10157 and add a few popular commands found in batch files.
10158 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10159 (dos-mode): Doc fixes.
10161 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10163 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10164 (dos-mode): Use setq-local. Add space after "rem".
10165 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10166 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10168 2013-08-07 Arni Magnusson <arnima@hafro.is>
10170 * progmodes/dos.el: New file.
10171 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10174 2013-08-06 Glenn Morris <rgm@gnu.org>
10176 * calendar/calendar.el: Add new faces, and day-header-array.
10177 (calendar-weekday-header, calendar-weekend-header)
10178 (calendar-month-header): New faces.
10179 (calendar-day-header-construct): New function.
10180 (calendar-day-header-width): Also :set calendar-day-header-array.
10181 (calendar-american-month-header, calendar-european-month-header)
10182 (calendar-iso-month-header): Use calendar- faces.
10183 (calendar-generate-month):
10184 Use calendar-day-header-array for day headers; apply faces to them.
10185 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10186 (calendar-abbrev-construct): Add optional maxlen argument.
10187 (calendar-day-name-array): Doc fix.
10188 (calendar-day-name-array, calendar-abbrev-length)
10189 (calendar-day-abbrev-array):
10190 Also :set calendar-day-header-array, and maybe redraw.
10191 (calendar-day-header-array): New option. (Bug#15007)
10192 (calendar-font-lock-keywords): Set to nil and make obsolete.
10193 (calendar-day-name): Add option to use header array.
10195 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10197 * net/shr.el (shr-render-td): Remove debugging.
10198 (shr-render-td): Make width computation consistent by defaulting
10199 all zero-width columns to 10 characters. This may not be optimal,
10200 but it's at least consistent.
10201 (shr-make-table-1): Redo last change to fix the real problem in
10204 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10206 * files.el (cache-long-line-scans):
10207 Make obsolete alias to `cache-long-scans'.
10209 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10211 * frameset.el (frameset, frameset-filter-alist)
10212 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10213 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10214 (frameset-compute-pos): Rename from frameset--compute-pos,
10216 (frameset-move-onscreen): Use frameset-compute-pos.
10217 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10219 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10220 Fix typos in docstrings.
10222 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10224 * frame.el (get-other-frame): Tiny cleanup.
10226 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10228 * vc/vc.el (vc-default-ignore-completion-table):
10229 Silence byte-compiler warning.
10231 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10232 slot, which can indeed be nil.
10233 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10234 Move entry for `left' from persistent to live filter alist.
10235 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10237 (frameset-filter-params): When restoring a frame, copy items added to
10238 `filtered', to avoid unwittingly modifying the original parameters.
10239 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10240 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10242 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10243 to use looking-at-p instead of looking-at. (Bug#15028)
10245 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10247 Revert introduction of isearch-filter-predicates (bug#14714).
10248 Rely on add-function instead.
10249 * isearch.el (isearch-filter-predicates): Rename it back to
10250 isearch-filter-predicate.
10251 (isearch-message-prefix): Use advice-function-mapc and advice
10252 properties to get the isearch-message-prefix.
10253 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10254 instead of run-hook-with-args-until-failure.
10255 (isearch-filter-visible): Not obsolete any more.
10256 * loadup.el: Preload nadvice.
10257 * replace.el (perform-replace): Revert to funcall
10258 instead of run-hook-with-args-until-failure.
10259 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10260 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10261 dired-isearch-filenames-toggle; make it into a proper minor mode.
10262 Use add/remove-function.
10263 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10264 Call the minor-mode rather than add/remove-hook.
10265 (dired-isearch-filter-filenames):
10266 Remove isearch-message-prefix property.
10267 * info.el (Info--search-loop): New function, extracted from Info-search.
10268 Funcall isearch-filter-predicate instead of
10269 run-hook-with-args-until-failure isearch-filter-predicates.
10270 (Info-search): Use it.
10271 (Info-mode): Use isearch-filter-predicate instead of
10272 isearch-filter-predicates.
10274 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10276 Do not call to `selected-window' where it is assumed by default.
10277 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10278 `window-hscroll', `window-width', `window-height', `window-buffer',
10279 `window-frame', `window-start', `window-point', `next-window'
10280 and `window-display-table'.
10281 * abbrev.el (abbrev--default-expand):
10282 * bs.el (bs--show-with-configuration):
10283 * buff-menu.el (Buffer-menu-mouse-select):
10284 * calc/calc.el (calc):
10285 * calendar/calendar.el (calendar-generate-window):
10286 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10287 (diary-make-entry):
10288 * comint.el (send-invisible, comint-dynamic-complete-filename)
10289 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10290 * completion.el (complete):
10291 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10292 * disp-table.el (describe-current-display-table):
10293 * doc-view.el (doc-view-insert-image):
10294 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10295 * ehelp.el (with-electric-help):
10296 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10297 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10298 * emacs-lisp/helper.el (Helper-help-scroller):
10299 * emulation/cua-base.el (cua--post-command-handler-1):
10300 * eshell/esh-mode.el (eshell-output-filter):
10301 * ffap.el (ffap-gnus-wrapper):
10302 * help-macro.el (make-help-screen):
10303 * hilit-chg.el (highlight-compare-buffers):
10304 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10305 * hl-line.el (global-hl-line-highlight):
10306 * icomplete.el (icomplete-simple-completing-p):
10307 * isearch.el (isearch-done):
10308 * jit-lock.el (jit-lock-stealth-fontify):
10309 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10310 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10311 * mpc.el (mpc-tagbrowser, mpc):
10312 * net/rcirc.el (rcirc-any-buffer):
10313 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10314 * play/landmark.el (landmark-max-width, landmark-max-height):
10315 * play/zone.el (zone):
10316 * progmodes/compile.el (compilation-goto-locus):
10317 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10318 * progmodes/etags.el (find-tag-other-window):
10319 * progmodes/fortran.el (fortran-column-ruler):
10320 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10321 * progmodes/verilog-mode.el (verilog-point-text):
10322 * reposition.el (reposition-window):
10323 * rot13.el (toggle-rot13-mode):
10324 * server.el (server-switch-buffer):
10325 * shell.el (shell-dynamic-complete-command)
10326 (shell-dynamic-complete-environment-variable):
10327 * simple.el (insert-buffer, set-selective-display)
10328 (delete-completion-window):
10329 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10330 (speedbar-recenter):
10331 * startup.el (fancy-splash-head):
10332 * textmodes/ispell.el (ispell-command-loop):
10333 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10334 * tutorial.el (help-with-tutorial):
10335 * vc/add-log.el (add-change-log-entry):
10336 * vc/compare-w.el (compare-windows):
10337 * vc/ediff-help.el (ediff-indent-help-message):
10338 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10339 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10340 (ediff-setup-control-frame):
10341 * vc/emerge.el (emerge-position-region):
10342 * vc/pcvs-util.el (cvs-bury-buffer):
10343 * window.el (walk-windows, mouse-autoselect-window-select):
10344 * winner.el (winner-set-conf, winner-undo): Related users changed.
10346 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10348 * frameset.el (frameset--set-id): Doc fix.
10349 (frameset-frame-id, frameset-frame-id-equal-p)
10350 (frameset-locate-frame-id): New functions.
10351 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10352 (frameset-restore): Use them.
10354 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10356 Do not call to `selected-frame' where it is assumed by default.
10357 Affected functions are `raise-frame', `redraw-frame',
10358 `frame-first-window', `frame-terminal' and `delete-frame'.
10359 * calendar/appt.el (appt-disp-window):
10360 * epg.el (epg-wait-for-completion):
10361 * follow.el (follow-delete-other-windows-and-split)
10362 (follow-avoid-tail-recenter):
10363 * international/mule.el (set-terminal-coding-system):
10364 * mail/rmail.el (rmail-mail-return):
10365 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10366 * progmodes/f90.el (f90-add-imenu-menu):
10367 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10368 * server.el (server-switch-buffer):
10369 * simple.el (delete-completion-window):
10371 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10372 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10373 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10374 * vc/ediff.el (ediff-documentation): Related users changed.
10375 * frame.el (selected-terminal): Remove the leftover.
10377 2013-08-05 Glenn Morris <rgm@gnu.org>
10379 * calendar/calendar.el (calendar-generate-month):
10380 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10381 (calendar-generate-month, calendar-font-lock-keywords):
10382 Fix for calendar-day-header-width > length of any day name.
10384 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10386 * desktop.el (desktop-clear): Use new name of sort predicate.
10388 * frameset.el (frameset): Add docstring. Move :version property to its
10389 own `version' slot.
10390 (frameset-copy): Rename from copy-frameset.
10391 (frameset-p): Check more thoroughly.
10392 (frameset-prop): Do not check for :version, which is no longer a prop.
10393 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10394 Use new :never value instead of t.
10395 (frameset-filter-alist): Expand and clarify docstring.
10396 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10397 (frameset-filter-minibuffer, frameset-filter-save-param)
10398 (frameset-filter-restore-param, frameset-filter-iconified):
10399 Add pointer to docstring of frameset-filter-alist.
10400 (frameset-filter-params): Rename filter values to be more meaningful:
10401 :never instead of t, and reverse the meanings of :save and :restore.
10402 (frameset--process-minibuffer-frames): Clarify error message.
10403 (frameset-save): Avoid unnecessary and confusing call to framep.
10404 Use new BOA constructor for framesets.
10405 (frameset--reuse-list): Doc fix.
10406 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10407 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10408 (frameset-minibufferless-first-p): Doc fix.
10409 Rename from frameset-sort-frames-for-deletion.
10410 (frameset-restore): Doc fixes. Use new function names.
10411 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10413 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10415 * desktop.el (desktop-restore-forces-onscreen)
10416 (desktop-restore-reuses-frames): Document :keyword constant values.
10417 (desktop-filter-parameters-alist): Remove, now identical to
10418 frameset-filter-alist.
10419 (desktop--filter-tty*): Remove, moved to frameset.el.
10420 (desktop-save-frameset, desktop-restore-frameset):
10421 Do not pass :filters argument.
10423 * frameset.el (frameset-live-filter-alist)
10424 (frameset-persistent-filter-alist): New variables.
10425 (frameset-filter-alist): Use them. Add autoload cookie.
10426 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10427 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10428 `frameset--id' (it's supposed to be internal to frameset.el).
10429 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10430 (frameset--initial-params): New function.
10431 (frameset--get-frame): Use it. Doc fix.
10432 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10433 Accept :all, not 'all.
10434 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10435 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10436 with fbound symbols. Fix frame id matching, and remove matching ids if
10437 the frame being restored is deleted. Obey :delete.
10439 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10441 * subr.el (macrop): New function.
10442 (text-clone--maintaining): New var.
10443 (text-clone--maintain): Rename from text-clone-maintain. Use it
10444 instead of inhibit-modification-hooks.
10446 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10447 a proxy, so as handle autoloads and redefinitions of the target.
10448 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10450 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10451 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10452 (pcase--mutually-exclusive-p): New function.
10453 (pcase--split-consp): Use it.
10454 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10455 mutually exclusive with the current predicate.
10457 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10458 (edebug-macrop): Remove. Use `macrop' instead.
10459 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10461 * eshell/esh-cmd.el (eshell-macrop):
10462 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10464 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10466 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10467 (advice-mapc): New function, using it.
10468 (advice-function-member-p): New function.
10469 (advice--normalize): Store the cdr in advice--saved-rewrite since
10470 that's the part that will be changed.
10471 (advice--symbol-function): New function.
10472 (advice-remove): Handle removal before the function is defined.
10473 Adjust to new advice--saved-rewrite.
10474 (advice-member-p): Use advice-function-member-p and
10475 advice--symbol-function.
10477 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10479 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10480 (frameset-filter-minibuffer): Doc fix.
10481 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10482 (frameset--set-id, frameset--process-minibuffer-frames)
10483 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10484 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10486 * desktop.el (desktop-clear): Only delete frames when called
10487 interactively and desktop-restore-frames is non-nil. Doc fix.
10488 (desktop-read): Set desktop-saved-frameset to nil.
10490 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10492 * vc/vc.el (vc-ignore): Rewrite.
10493 (vc-default-ignore-completion-table, vc--read-lines)
10494 (vc--add-line, vc--remove-regexp): New functions.
10496 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10497 (vc-svn-ignore-completion-table): New function.
10499 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10500 (vc-hg-ignore-completion-table)
10501 (vc-hg-find-ignore-file): New functions.
10503 * vc/vc-git.el (vc-git-ignore): Rewrite.
10504 (vc-git-ignore-completion-table)
10505 (vc-git-find-ignore-file): New functions.
10507 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10509 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10510 (vc-bzr-ignore-completion-table)
10511 (vc-bzr-find-ignore-file): New functions.
10513 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10515 * frameset.el (frameset-prop): New function and setter.
10516 (frameset-save): Do not modify frame list passed by the caller.
10518 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10520 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10522 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10524 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10525 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10527 * custom.el (custom-initialize-default, custom-initialize-set)
10528 (custom-initialize-reset, custom-initialize-changed): Affect the
10529 toplevel-default-value (bug#6275, bug#14586).
10530 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10533 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10535 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10536 Add cl-def* expressions.
10538 * frameset.el (frameset-filter-params): Fix order of arguments.
10540 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10542 Move code related to saving frames to frameset.el.
10543 * desktop.el: Require frameset.
10544 (desktop-restore-frames): Doc fix.
10545 (desktop-restore-reuses-frames): Rename from
10546 desktop-restoring-reuses-frames.
10547 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10548 (desktop-clear): Clear frames too.
10549 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10550 (desktop--filter-tty*, desktop-save, desktop-read):
10551 Use frameset functions.
10552 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10553 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10554 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10555 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10556 (desktop--process-minibuffer-frames, desktop-save-frames)
10557 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10558 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10559 (desktop--sort-states, desktop-restoring-frames-p)
10560 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10561 (desktop-restoring-frameset-p, desktop-restore-frameset)
10562 (desktop--check-dont-save, desktop-save-frameset): New functions.
10563 (desktop--app-id): New constant.
10564 (desktop-first-buffer, desktop-buffer-ok-count)
10565 (desktop-buffer-fail-count): Move before first use.
10566 * frameset.el: New file.
10568 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10570 * files.el: Use lexical-binding.
10571 (dir-locals-read-from-file): Remove unused `err' variable.
10572 (hack-dir-local-variables--warned-coding): New var.
10573 (hack-dir-local-variables): Use it to avoid repeated warnings.
10574 (make-backup-file-name--default-function): New function.
10575 (make-backup-file-name-function): Use it as default.
10576 (buffer-stale--default-function): New function.
10577 (buffer-stale-function): Use it as default.
10578 (revert-buffer-insert-file-contents--default-function): New function.
10579 (revert-buffer-insert-file-contents-function): Use it as default.
10580 (insert-directory): Avoid add-to-list.
10582 * autorevert.el (auto-revert-handler): Simplify.
10583 Use buffer-stale--default-function.
10585 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10587 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10589 * whitespace.el (whitespace-ensure-local-variables): New function.
10590 (whitespace-cleanup-region): Call it.
10591 (whitespace-turn-on): Call it.
10593 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10595 Complete file name handlers.
10597 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10598 (tramp-handle-verify-visited-file-modtime)
10599 (tramp-handle-file-notify-rm-watch): New functions.
10600 (tramp-call-process): Do not bind `default-directory'.
10602 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10603 Order alphabetically.
10604 <access-file, add-name-to-file, dired-call-process>:
10605 <dired-compress-file, file-acl, file-notify-rm-watch>:
10606 <file-ownership-preserved-p, file-selinux-context>:
10607 <make-directory-internal, make-symbolic-link, set-file-acl>:
10608 <set-file-selinux-context, set-visited-file-modtime>:
10609 <verify-visited-file-modtime>: Add handler.
10610 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10612 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10613 <file-notify-add-watch, file-notify-rm-watch>:
10614 <set-file-times, set-visited-file-modtime>:
10615 <verify-visited-file-modtime>: Add handler.
10616 (with-tramp-gvfs-error-message)
10617 (tramp-gvfs-handle-set-visited-file-modtime)
10618 (tramp-gvfs-fuse-file-name): Remove.
10619 (tramp-gvfs-handle-file-notify-add-watch)
10620 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10621 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10623 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10624 Order alphabetically.
10625 <file-notify-rm-watch>: Use default Tramp handler.
10626 <executable-find>: Remove private handler.
10627 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10628 `default-directory'.
10629 (tramp-sh-handle-executable-find)
10630 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10631 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10632 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10633 Do not use `format' in `tramp-message'.
10635 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10636 <file-notify-rm-watch, set-visited-file-modtime>:
10637 <verify-visited-file-modtime>: Add handler.
10638 (tramp-smb-call-winexe): Do not bind `default-directory'.
10640 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10642 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10644 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10646 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10648 (log-view-diff-changeset): Same.
10649 (log-view-diff-common): Call backend command `previous-revision'
10650 to find out the previous revision, in both cases. Swap the
10651 variables `to' and `fr', so that `fr' usually refers to the
10652 earlier revision (Bug#14989).
10654 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10656 * ibuf-ext.el (ibuffer-filter-by-filename):
10657 Make it work with dired buffers too.
10659 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10661 * emacs-lisp/re-builder.el (reb-color-display-p):
10662 * files.el (save-buffers-kill-terminal):
10663 * net/browse-url.el (browse-url):
10664 * server.el (server-save-buffers-kill-terminal):
10665 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10666 Prefer nil to selected-frame for the first arg of frame-parameter.
10668 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10670 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10672 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10674 * minibuffer.el (completion--twq-all): Try and preserve each
10675 completion's case choice (bug#14907).
10677 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10679 * net/network-stream.el (open-network-stream): Mention the new
10680 :nogreeting parameter.
10681 (network-stream-open-starttls): Use the :nogreeting parameter
10684 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10686 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10687 more natural than popping.
10689 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10690 (shr-urlify): Highlight under mouse.
10692 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10694 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10696 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10698 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10701 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10702 point-min==1. Fix search string. Fix parentheses missing.
10704 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10705 assume point-min==1. Fix search string. Fix parentheses missing.
10707 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10709 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10712 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10714 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10715 initial frame is minibuffer-less. (Bug#14841)
10717 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10719 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10722 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10723 (tramp-maybe-open-connection): Use it.
10725 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10727 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10728 minimal set of parameters passed when creating a frame, because
10729 the minibuffer status of a frame cannot be changed later.
10731 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10733 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10734 replace-regexp-in-string and inadvertent omissions in previous change.
10735 (todo-filter-items): Ensure only file names are comma-separated in
10736 name of filtered items buffer.
10738 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10740 * desktop.el: Optionally force offscreen frames back onscreen.
10741 (desktop-restoring-reuses-frames): New option.
10742 (desktop--compute-pos, desktop--move-onscreen): New functions.
10743 (desktop--make-frame): Use desktop--move-onscreen.
10745 2013-07-27 Alan Mackenzie <acm@muc.de>
10747 Fontify a Java generic method as a function.
10748 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10751 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10753 * calendar/todo-mode.el: Add command to rename todo files.
10754 (todo-rename-file): New command.
10755 (todo-key-bindings-t): Add key binding for it. Change the
10756 bindings of todo-filter-regexp-items(-multifile) to use `x'
10757 instead of `r', since the latter is better suited to the new
10760 2013-07-27 Alan Mackenzie <acm@muc.de>
10762 Make Java try-with-resources statement parse properly.
10763 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10764 (c-block-stmt-1-2-key): New language constants/variables.
10765 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10766 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10767 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10768 with c-block-stmt-1-2-key.
10770 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10772 * desktop.el (desktop--make-frame): Apply most frame parameters after
10773 creating the frame to force (partially or totally) offscreen frames to
10774 be restored as such.
10776 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10778 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10781 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10783 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10784 `base' arg of backtrace-frame.
10786 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10788 * simple.el (list-processes): Doc fix.
10790 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10792 * desktop.el (desktop--select-frame):
10793 Try harder to reuse existing frames.
10795 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10797 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10798 (edebug-eval): Use backtrace-eval.
10799 (edebug--display, edebug--recursive-edit): Don't let-bind the
10800 edebug-outer-* vars that keep track of variables we locally let-bind.
10801 (edebug-outside-excursion): Don't restore outside values of locally
10803 (edebug--display): Use user-error.
10804 (cl-lexical-debug, cl-debug-env): Remove.
10806 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10808 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10809 are restored to be sure that they are visible before deleting any
10812 2013-07-26 Matthias Meulien <orontee@gmail.com>
10814 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10815 vc-print-root-log. (Bug#14948)
10817 2013-07-26 Richard Stallman <rms@gnu.org>
10819 Add aliases for encrypting mail.
10820 * epa.el (epa-mail-aliases): New option.
10821 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10822 Bind inhibit-read-only so read-only text doesn't ruin everything.
10823 (epa-mail-default-recipients): New subroutine broken out.
10824 Handle epa-mail-aliases.
10826 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10828 Add support for lexical variables to the debugger's `e' command.
10829 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10830 vars, except for debugger-outer-match-data.
10831 (debugger-frame-number): Move check for "on a function call" from
10832 callers into it. Add `skip-base' argument.
10833 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10834 (debugger-env-macro): Only reset the state stored in non-variables,
10835 i.e. current-buffer and match-data.
10836 (debugger-eval-expression): Rewrite using backtrace-eval.
10837 * subr.el (internal--called-interactively-p--get-frame): Remove.
10838 (called-interactively-p):
10839 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10840 `base' arg of backtrace-frame instead.
10842 2013-07-26 Glenn Morris <rgm@gnu.org>
10844 * align.el (align-regexp): Doc fix. (Bug#14857)
10845 (align-region): Explicit error if subexpression missing/does not match.
10847 * simple.el (global-visual-line-mode):
10848 Do not duplicate the mode lighter. (Bug#14858)
10850 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10852 * window.el (display-buffer): In display-buffer bind
10853 split-window-keep-point to t, bug#14829.
10855 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10857 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10858 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10859 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10860 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10861 Change accordingly.
10862 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10863 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10865 2013-07-25 Glenn Morris <rgm@gnu.org>
10867 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10869 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10871 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10872 parameter to modify-frame-parameters if the value has not changed;
10873 this is a workaround for bug#14949.
10874 (desktop--make-frame): On cl-delete-if call, check parameter name,
10875 not full parameter.
10877 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10879 * vc/vc.el (vc-ignore): New function.
10881 * vc/vc-svn.el (vc-svn-ignore): New function.
10883 * vc/vc-hg.el (vc-hg-ignore): New function.
10885 * vc/vc-git.el (vc-git-ignore): New function.
10887 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10888 (vc-dir-ignore): New function.
10890 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10891 (cvs-append-to-ignore): Move here from pcvs.el.
10893 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10895 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10897 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10899 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10900 (desktop-restore-frames): Warn when deleting an existing frame failed.
10902 2013-07-24 Glenn Morris <rgm@gnu.org>
10904 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10906 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10908 * filenotify.el (file-notify-supported-p):
10909 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10912 * autorevert.el (auto-revert-use-notify)
10913 (auto-revert-notify-add-watch):
10914 * net/tramp.el (tramp-file-name-for-operation):
10915 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10916 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10917 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10918 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10919 Remove `file-notify-supported-p' entry.
10921 2013-07-24 Glenn Morris <rgm@gnu.org>
10923 * printing.el: Replace all uses of deleted ps-windows-system,
10924 ps-lp-system, ps-flatten-list with lpr- versions.
10926 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10928 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10929 checked with memq (bug#14935).
10931 * files.el (revert-buffer-function): Use a non-nil default.
10932 (revert-buffer-preserve-modes): Declare var to
10933 provide access to the `preserve-modes' argument.
10934 (revert-buffer): Let-bind it.
10935 (revert-buffer--default): New function, extracted from revert-buffer.
10937 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10939 * lpr.el: Signal print errors more prominently.
10940 (print-region-function): Don't default to nil.
10941 (lpr-print-region): New function, extracted from print-region-1.
10942 Check lpr's return value and signal an error in case of problem.
10943 (print-region-1): Use it.
10944 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10946 (ps-printer-name): Default to nil.
10947 (ps-printer-name-option): Default to lpr-printer-switch.
10948 (ps-print-region-function): Don't default to nil.
10949 (ps-postscript-code-directory): Simplify default.
10950 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10951 (ps-string-list, ps-eval-switch, ps-flatten-list)
10952 (ps-flatten-list-1): Remove.
10953 (ps-multibyte-buffer): Avoid setq.
10954 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10955 (print-region-function, ps-print-region-function): Don't set them here.
10957 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10959 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10960 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10961 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10962 (ido-decorations): Doc fix.
10964 * ansi-color.el: Fix old URL.
10966 2013-07-23 Michael R. Mauger <michael@mauger.com>
10968 * progmodes/sql.el: Version 3.3
10969 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10970 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10971 (sql-interactive-remove-continuation-prompt): Rewrite, use
10972 functions above. Fix continuation prompt and complete output line
10974 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10975 redirected output buffer.
10976 (sql-mode): Restore deleted code (Bug#13591).
10978 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10980 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10982 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10984 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10986 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10987 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10988 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10990 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10992 * desktop.el (desktop-clear): Simplify; remove useless checks
10993 against invalid buffer names.
10994 (desktop-list*): Use cl-list*.
10995 (desktop-buffer-info, desktop-create-buffer): Simplify.
10997 2013-07-23 Leo Liu <sdl.web@gmail.com>
10999 * bookmark.el (bookmark-make-record): Restore NAME as a default
11002 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11004 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11005 extracted from autoload--insert-text.
11006 (autoload--insert-text): Remove.
11007 (autoload--print-cookie-text): New function, extracted from
11008 autoload--insert-cookie-text.
11009 (autoload--insert-cookie-text): Remove.
11010 (autoload-generate-file-autoloads): Adjust calls accordingly.
11012 * winner.el (winner-hook-installed-p): Remove.
11013 (winner-mode): Simplify accordingly.
11015 * subr.el (add-to-list): Fix compiler-macro when `append' is
11016 not constant. Don't use `cl-member' for the base case.
11018 * progmodes/subword.el: Fix boundary case (bug#13758).
11019 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11021 (subword-backward-regexp): Make it a constant.
11022 (subword-forward-internal): Don't treat a trailing capital as the
11023 beginning of a word.
11025 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11027 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11028 global value of tabulated-list-revert-hook (bug#14930).
11030 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11032 * desktop.el: Require 'cl-lib.
11033 (desktop-before-saving-frames-functions): New hook.
11034 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11035 for frames being saved. Rename from desktop--save-minibuffer-frames.
11036 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11037 Do not save frames with non-nil `desktop-dont-save' parameter.
11038 Filter out deleted frames.
11039 (desktop--find-frame): Use cl-find-if.
11040 (desktop--select-frame): Use cl-(first|second|third) to access values
11042 (desktop--make-frame): Use cl-delete-if.
11043 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11044 (desktop-restore-frames): Use cl-(first|second|third) to access values
11045 of desktop-mini. Look for visible frame at the end, not while
11048 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11049 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11050 Use string-match-p, looking-at-p (bug#14927).
11052 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11054 * desktop.el (desktop-saved-frame-states):
11055 Rename from desktop--saved-states; all users changed.
11056 (desktop-save-frames): Rename from desktop--save-frames.
11057 Do not save state to desktop file.
11058 (desktop-save): Save desktop-saved-frame-states to desktop file
11060 (desktop-restoring-frames-p): New function.
11061 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11062 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11063 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11065 * desktop.el: Correctly restore iconified frames.
11066 (desktop--filter-iconified-position): New function.
11067 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11069 2013-07-20 Glenn Morris <rgm@gnu.org>
11071 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11072 Let `message' do the formatting.
11073 (def-gdb-preempt-display-buffer): Add explicit format.
11075 * image-dired.el (image-dired-track-original-file):
11076 Use with-current-buffer.
11077 (image-dired-track-thumbnail): Use with-current-buffer.
11078 Avoid changing point of wrong window.
11080 * image-dired.el (image-dired-track-original-file):
11081 Avoid changing point of wrong window. (Bug#14909)
11083 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11085 * progmodes/gdb-mi.el (gdb-done-or-error):
11086 Guard against "%" in gdb output. (Bug#14127)
11088 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11090 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11093 * international/mule.el (coding-system-iso-2022-flags): Fix last
11096 2013-07-20 Kenichi Handa <handa@gnu.org>
11098 * international/mule.el (coding-system-iso-2022-flags):
11099 Add `8-bit-level-4'. (Bug#8522)
11101 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11103 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11106 * net/eww.el (eww-process-text-input): Allow inputting when the
11107 point is at the start of the line, as the properties aren't
11110 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11113 2013-07-19 Richard Stallman <rms@gnu.org>
11115 * epa.el (epa-popup-info-window): Doc fix.
11117 * subr.el (split-string): New arg TRIM.
11119 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11121 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11122 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11124 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11126 * filenotify.el (file-notify--library): Rename from
11127 `file-notify-support'. Do not autoload. Adapt all uses.
11128 (file-notify-supported-p): New defun.
11130 * autorevert.el (auto-revert-use-notify):
11131 Use `file-notify-supported-p' instead of `file-notify-support'.
11133 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11135 * net/tramp.el (tramp-file-name-for-operation):
11136 Add `file-notify-supported-p'.
11138 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11140 (tramp-sh-file-name-handler-alist): Add it as handler for
11141 `file-notify-supported-p '.
11143 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11144 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11145 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11146 Add `ignore' as handler for `file-notify-*' functions.
11148 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11150 * simple.el (line-move-partial, line-move): Don't start vscroll or
11151 scroll-up if the current line is not taller than the window.
11154 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11156 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11157 highlight question marks in the method names as strings.
11158 (ruby-block-beg-keywords): Inline.
11159 (ruby-font-lock-keyword-beg-re): Extract from
11160 `ruby-font-lock-keywords'.
11162 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11164 * frame.el (blink-cursor-blinks): New defcustom.
11165 (blink-cursor-blinks-done): New defvar.
11166 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11167 (blink-cursor-timer-function): Check if number of blinks has been
11169 (blink-cursor-suspend, blink-cursor-check): New defuns.
11171 2013-07-15 Glenn Morris <rgm@gnu.org>
11173 * edmacro.el (edmacro-format-keys): Fix previous change.
11175 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11177 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11178 The hack didn't work outside English locales anyway.
11180 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11182 * simple.el (define-alternatives): Rename from alternatives-define,
11183 per RMS' suggestion.
11185 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11187 * desktop.el (desktop-restore-frames): Change default to t.
11188 (desktop-restore-in-current-display): Now offer more options.
11189 (desktop-restoring-reuses-frames): New customization option.
11190 (desktop--saved-states): Doc fix.
11191 (desktop-filter-parameters-alist): New variable, renamed and expanded
11192 from desktop--excluded-frame-parameters.
11193 (desktop--target-display): New variable.
11194 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11195 (desktop--filter-tty*, desktop--filter-*-color)
11196 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11197 (desktop--filter-save-desktop-parm)
11198 (desktop-restore-in-original-display-p): New functions.
11199 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11200 (desktop--save-minibuffer-frames): New function, inspired by a similar
11201 function from Martin Rudalics.
11202 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11203 (desktop--restore-in-this-display-p): Remove.
11204 (desktop--find-frame): Rename from desktop--find-frame-in-display
11205 and add predicate argument.
11206 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11207 (desktop--reuse-list): New variable.
11208 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11210 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11212 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11214 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11216 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11218 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11219 Highlight conversion methods on Kernel.
11221 2013-07-13 Alan Mackenzie <acm@muc.de>
11223 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11224 and comment it out. This out-commenting enables certain C++
11225 declarations to be parsed correctly.
11227 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11229 * international/mule.el (define-coding-system): Doc fix.
11231 * simple.el (default-font-height): Don't call font-info if the
11232 frame's default font didn't change since the frame was created.
11235 2013-07-13 Leo Liu <sdl.web@gmail.com>
11237 * ido.el (ido-read-file-name): Guard against non-symbol value.
11239 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11241 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11244 2013-07-13 Leo Liu <sdl.web@gmail.com>
11246 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11247 ido-set-matches call. (Bug#6852)
11249 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11251 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11252 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11254 (ruby-font-lock-keywords): Distinguish calls to functions with
11255 module-like names from module references. Highlight character
11258 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11260 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11261 (gdb-send): Handle continued commands. (Bug#14847)
11263 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11265 * desktop.el (desktop--v2s): Remove unused local variable.
11266 (desktop-save-buffer): Make defvar-local; adjust docstring.
11267 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11268 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11270 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11272 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11274 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11276 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11279 2013-07-12 Glenn Morris <rgm@gnu.org>
11281 * doc-view.el: Require cl-lib at runtime too.
11282 (doc-view-remove-if): Remove.
11283 (doc-view-search-next-match, doc-view-search-previous-match):
11286 * edmacro.el: Require cl-lib at runtime too.
11287 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11288 (edmacro-mismatch, edmacro-subseq): Remove.
11290 * shadowfile.el: Require cl-lib.
11291 (shadow-remove-if): Remove.
11292 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11295 * wid-edit.el: Require cl-lib.
11296 (widget-choose): Use cl-remove-if.
11297 (widget-remove-if): Remove.
11299 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11300 (ebrowse-delete-if-not): Remove.
11301 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11302 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11303 Use cl-delete-if-not.
11305 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11307 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11308 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11310 2013-07-12 Leo Liu <sdl.web@gmail.com>
11312 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11314 2013-07-11 Glenn Morris <rgm@gnu.org>
11316 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11317 (edebug-gensym-index, edebug-gensym):
11318 Remove reimplementation of cl-gensym.
11319 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11321 * thumbs.el: Require cl-lib at run-time too.
11322 (thumbs-gensym-counter, thumbs-gensym):
11323 Remove reimplementation of cl-gensym.
11324 (thumbs-temp-file): Use cl-gensym.
11326 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11327 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11328 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11329 (ert--union, ert--gensym-counter, ert--gensym-counter)
11330 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11331 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11332 (ert-make-test-unbound, ert--expand-should-1)
11333 (ert--expand-should, ert--should-error-handle-error)
11334 (should-error, ert--explain-equal-rec)
11335 (ert--plist-difference-explanation, ert-select-tests)
11336 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11337 Use cl-lib functions rather than reimplementations.
11339 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11341 * net/tramp.el (tramp-methods): Extend docstring.
11342 (tramp-connection-timeout): New defcustom.
11343 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11344 (with-tramp-progress-reporter): Simplify.
11345 (tramp-process-actions): Improve messages.
11347 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11348 * net/tramp-sh.el (tramp-maybe-open-connection):
11349 Use `tramp-connection-timeout'.
11350 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11353 2013-07-11 Leo Liu <sdl.web@gmail.com>
11355 * ido.el (ido-read-file-name): Conform to the requirements of
11356 read-file-name. (Bug#11861)
11357 (ido-read-directory-name): Conform to the requirements of
11358 read-directory-name.
11360 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11362 * subr.el (delay-warning): New function.
11364 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11366 * simple.el (default-line-height): New function.
11367 (line-move-partial, line-move): Use it instead of computing the
11368 line height inline.
11369 (line-move-partial): Always compute ROWH. If the last line is
11370 partially-visible, but its text is completely visible, allow
11371 cursor to enter such a partially-visible line.
11373 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11375 Improve error messages. (Bug#14808)
11377 * net/tramp.el (tramp-current-connection): New defvar, moved from
11379 (tramp-message-show-progress-reporter-message): Remove, not
11381 (tramp-error-with-buffer): Show message in minibuffer.
11382 Discard input before waiting. Reset connection timestamp.
11383 (with-tramp-progress-reporter): Improve messages.
11384 (tramp-process-actions): Use progress reporter. Delete process in
11385 case of error. Improve messages.
11387 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11388 Call `tramp-error-with-buffer' with vector and buffer.
11389 (tramp-current-connection): Remove.
11390 (tramp-maybe-open-connection): The car of
11391 `tramp-current-connection' are the first 3 slots of the vector.
11393 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11395 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11396 inside continued strings.
11398 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11400 Timestamp fixes for undo (Bug#14824).
11401 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11403 2013-07-10 Leo Liu <sdl.web@gmail.com>
11405 * files.el (require-final-newline): Allow safe local value.
11408 2013-07-09 Leo Liu <sdl.web@gmail.com>
11410 * ido.el (ido-read-directory-name): Handle fallback.
11411 (ido-read-file-name): Update DIR to ido-current-directory.
11413 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11415 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11417 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11418 "autoload". Remove "warn lower camel case" section, previously
11419 commented out. Highlight negation char. Do not highlight the
11420 target in singleton method definitions.
11422 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11424 * faces.el (tty-setup-hook): Declare the hook.
11426 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11427 and detect when a guard/pred depends on local vars (bug#14773).
11428 (pcase--u1): Adjust caller.
11430 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11432 * simple.el (line-move-partial, line-move): Account for
11434 (line-move-partial): Avoid setting vscroll when the last
11435 partially-visible line in window is of default height.
11437 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11439 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11442 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11444 * subr.el (read-quoted-char): Remove unused local variable `char'.
11446 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11448 * vc/ediff.el (ediff-version): Version update.
11449 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11450 (ediff-merge-with-ancestor-command, ediff-directories-command)
11451 (ediff-directories3-command, ediff-merge-directories-command)
11452 (ediff-merge-directories-with-ancestor-command): New functions.
11453 All are command-line interfaces to ediff: to facilitate calling
11454 Emacs with the appropriate ediff functions invoked.
11456 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11458 (viper-save-kill-buffer): Check if buffer is modified.
11460 * emulation/viper.el (viper-version): Version update.
11461 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11463 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11465 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11466 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11467 (viper-intercept-ESC-key): Simplify.
11468 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11470 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11471 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11472 (viper-setup-ESC-to-escape): New functions.
11473 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11474 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11476 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11478 * simple.el (default-font-height, window-screen-lines):
11480 (line-move, line-move-partial): Use them instead of
11481 frame-char-height and window-text-height. This makes scrolling
11482 text smoother when the buffer's default face uses a font that is
11483 different from the frame's default font.
11485 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11487 * files.el (write-file): Do not display confirm dialog for NS,
11488 it does its own dialog, which can't be canceled (Bug#14578).
11490 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11492 * simple.el (line-move-partial): Adjust the row returned by
11493 posn-at-point for the current window-vscroll. (Bug#14567)
11495 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11497 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11498 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11501 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11503 * window.el (window-state-put-stale-windows): New variable.
11504 (window--state-put-2): Save list of windows without matching buffer.
11505 (window-state-put): Remove "bufferless" windows if possible.
11507 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11509 * simple.el (alternatives-define): Remove leftover :group keyword.
11512 2013-07-06 Leo Liu <sdl.web@gmail.com>
11514 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11515 (ido-enable-virtual-buffers): New variable.
11516 (ido-buffer-internal, ido-toggle-virtual-buffers)
11517 (ido-make-buffer-list): Use it.
11518 (ido-exhibit): Support turning on and off virtual buffers
11521 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11523 * simple.el (alternatives-define): New macro.
11525 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11527 * subr.el (read-quoted-char): Use read-key.
11528 (sit-for): Let read-event decode tty input (bug#14782).
11530 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11532 * calendar/todo-mode.el: Add handling of file deletion, both by
11533 mode command and externally. Fix various related bugs.
11534 Clarify Commentary and improve some documentation strings and code.
11535 (todo-delete-file): New command.
11536 (todo-check-file): New function.
11537 (todo-show): Handle external deletion of the file we're trying to
11538 show (bug#14688). Replace called-interactively-p by an optional
11539 prefix argument to avoid problematic interaction with catch form
11540 when byte compiled (bug#14702).
11541 (todo-quit): Handle external deletion of the archive's todo file.
11542 Make sure the buffer that was visiting the archive file is still
11543 live before trying to bury it.
11544 (todo-category-completions): Handle external deletion of any
11545 category completion files.
11546 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11547 of todo files, in case of external deletion.
11548 (todo-add-file): Replace unnecessary setq by let-binding.
11549 (todo-find-archive): Check whether there are any archives.
11550 Replace unnecessary setq by let-binding.
11551 (todo-archive-done-item): Use find-file-noselect to get the
11552 archive buffer whether or not the archive already exists.
11553 Remove superfluous code. Use file size instead of buffer-file-name to
11554 check if the archive is new; if it is, update list of archives.
11555 (todo-default-todo-file): Allow nil to be a valid value for when
11556 there are no todo files.
11557 (todo-reevaluate-default-file-defcustom): Use corrected definition
11558 of todo-default-todo-file.
11559 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11560 (todo-delete-category, todo-show-categories-table)
11561 (todo-category-number): Clarify comment.
11562 (todo-filter-items): Clarify documentation string.
11563 (todo-show-current-file, todo-display-as-todo-file)
11564 (todo-reset-and-enable-done-separator): Tweak documentation string.
11565 (todo-done-separator): Make separator length window-width, since
11566 bug#2749 is now fixed.
11568 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11570 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11571 Support both "gvfs-monitor-dir" and "inotifywait".
11572 (tramp-sh-file-inotifywait-process-filter): Rename from
11573 `tramp-sh-file-notify-process-filter'.
11574 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11575 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11577 2013-07-05 Leo Liu <sdl.web@gmail.com>
11579 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11581 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11583 * frame.el (display-pixel-height, display-pixel-width)
11584 (display-mm-height, display-mm-width): Mention behavior on
11585 multi-monitor setups in docstrings.
11586 (w32-display-monitor-attributes-list): Declare function.
11587 (display-monitor-attributes-list): Use it.
11589 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11591 * filenotify.el: New package.
11593 * autorevert.el (top): Require filenotify.el.
11594 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11596 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11597 (auto-revert-notify-handler): Use `file-notify-*' functions.
11599 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11601 * net/tramp.el (tramp-file-name-for-operation):
11602 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11604 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11605 for `file-notify-add-watch' and `file-notify-rm-watch'.
11606 (tramp-process-sentinel): Improve trace.
11607 (tramp-sh-handle-file-notify-add-watch)
11608 (tramp-sh-file-notify-process-filter)
11609 (tramp-sh-handle-file-notify-rm-watch)
11610 (tramp-get-remote-inotifywait): New defuns.
11612 2013-07-03 Juri Linkov <juri@jurta.org>
11614 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11615 call of `occur-read-primary-args' to interactive spec.
11617 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11618 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11620 2013-07-03 Matthias Meulien <orontee@gmail.com>
11622 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11623 `Buffer-menu-multi-occur'. Add it to the menu.
11624 (Buffer-menu-mode): Document it in docstring.
11625 (Buffer-menu-multi-occur): New command. (Bug#14673)
11627 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11629 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11630 keywords and built-ins.
11632 2013-07-03 Glenn Morris <rgm@gnu.org>
11634 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11636 Make info-xref checks case-sensitive by default
11637 * info.el (Info-find-node, Info-find-in-tag-table)
11638 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11639 Add option for exact case matching of nodes.
11640 * info-xref.el (info-xref): New custom group.
11641 (info-xref-case-fold): New option.
11642 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11644 2013-07-03 Leo Liu <sdl.web@gmail.com>
11646 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11648 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11650 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11651 middle of block statement initially, lower the depth. Remove
11652 FIXME comment, not longer valid. Remove middle of block statement
11653 detection, no need to do that anymore since we've been using
11654 `ruby-parse-region' here.
11656 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11658 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11660 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11662 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11664 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11666 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11667 (desktop-restore-in-current-display): New customization option.
11668 (desktop--excluded-frame-parameters): Add `font'.
11669 (desktop--save-frames): Rename from desktop--save-windows.
11670 (desktop--restore-in-this-display-p): New function.
11671 (desktop--make-full-frame): Remove unwanted width/height from
11672 full(width|height) frames.
11673 (desktop--restore-frames): Rename from desktop--restore-windows.
11674 Obey desktop-restore-current-display. Do not delete old frames or
11675 select a new frame unless we were able to restore at least one frame.
11677 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11679 * files.el (find-file-noselect): Simplify conditional expression.
11681 * textmodes/remember.el (remember-append-to-file):
11682 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11684 Add `remember-notes' function to store random notes across Emacs
11686 * textmodes/remember.el (remember-data-file): Add :set callback to
11687 affect notes buffer (if any).
11688 (remember-notes): New command.
11689 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11690 New defcustoms for the `remember-notes' function.
11691 (remember-notes-save-and-bury-buffer): New command.
11692 (remember-notes-mode-map): New variable.
11693 (remember-mode): New minor mode.
11694 (remember-notes--kill-buffer-query): New function.
11695 * startup.el (initial-buffer-choice): Add notes to custom type.
11697 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11699 * bindings.el (right-char, left-char): Don't call sit-for, this is
11700 no longer needed. Use arithmetic comparison only for numerical
11703 * international/mule-cmds.el (select-safe-coding-system):
11704 Handle the case of FROM being a string correctly. (Bug#14755)
11706 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11708 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11709 progression on degenerate tables.
11710 (shr-rescale-image): ImageMagick animated images currently don't work.
11712 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11714 Some fixes and improvements for desktop frame restoration.
11715 It is still experimental and disabled by default.
11716 * desktop.el (desktop--save-windows): Put the selected frame at
11717 the head of the list.
11718 (desktop--make-full-frame): New function.
11719 (desktop--restore-windows): Try to re-select the frame that was
11720 selected upon saving. Do not abort if some frames fail to restore,
11721 just show an error message and continue. Set up maximized frames
11722 so they have default non-maximized dimensions.
11724 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11726 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11727 Don't start heredoc inside a string or comment.
11729 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11731 * bindings.el (visual-order-cursor-movement): New defcustom.
11732 (right-char, left-char): Provide visual-order cursor motion by
11733 calling move-point-visually. Update the doc strings.
11735 2013-06-28 Kenichi Handa <handa@gnu.org>
11737 * international/mule.el (define-coding-system): New coding system
11738 properties :inhibit-null-byte-detection,
11739 :inhibit-iso-escape-detection, and :prefer-utf-8.
11740 (set-buffer-file-coding-system): If :charset-list property of
11741 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11742 appropriate for setting.
11744 * international/mule-cmds.el (select-safe-coding-system):
11745 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11746 multibyte characters, return utf-8 (or one of its siblings).
11748 * international/mule-conf.el (prefer-utf-8): New coding system.
11749 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11752 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11754 * net/shr.el (shr-render-region): New function.
11756 * net/eww.el: Autoload `eww-browse-url'.
11758 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11760 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11761 Adapt to `package-desc-version' being a list.
11762 Use `package--ac-desc-version' to retrieve version from a package
11765 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11767 New experimental feature to save&restore window and frame setup.
11768 * desktop.el (desktop-save-windows): New defcustom.
11769 (desktop--saved-states): New var.
11770 (desktop--excluded-frame-parameters): New defconst.
11771 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11772 (desktop--restore-windows, desktop--save-windows): New functions.
11773 (desktop-save): Call `desktop--save-windows'.
11774 (desktop-read): Call `desktop--restore-windows'.
11776 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11778 * net/shr.el (add-face-text-property): Remove compat definition.
11780 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11782 * info.el (Info-try-follow-nearest-node): Move search for footnote
11783 above search for node name to prevent missing a footnote (bug#14717).
11785 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11787 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11789 2013-06-27 Leo Liu <sdl.web@gmail.com>
11791 * net/eww.el (eww-read-bookmarks): Check file size.
11793 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11795 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11796 advice--pending if newdef is nil or an autoload (bug#13820).
11797 (advice-mapc): New function.
11799 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11801 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11803 (eww-mode-map): Add a menu bar.
11804 (eww-add-bookmark): New command.
11805 (eww-bookmark-mode): New mode and commands.
11806 (eww-add-bookmark): Remove newlines from the title.
11807 (eww-bookmark-browse): Don't bug out if it's the only window.
11809 2013-06-26 Glenn Morris <rgm@gnu.org>
11811 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11812 (hfy-size): Handle ttys. (Bug#14668)
11814 * info-xref.el: Update for Texinfo 5 change in *note format.
11815 (info-xref-node-re, info-xref-note-re): New constants.
11816 (info-xref-check-buffer): Use info-xref-note-re.
11818 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11820 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11822 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11823 nil terminate the loop (bug#14718).
11825 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11827 * net/eww.el: Rework history traversal. When going forward/back,
11828 put these actions into the history, too, so that they can be
11830 (eww-render): Move the history reset to the correct buffer.
11832 2013-06-25 Juri Linkov <juri@jurta.org>
11834 * files-x.el (modify-dir-local-variable): Change the header comment
11835 in the file with directory local variables. (Bug#14692)
11837 * files-x.el (read-file-local-variable-value): Add `default'.
11840 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11842 * net/eww.el (eww-make-unique-file-name): Create a unique file
11843 name before saving to entering `y' accidentally asynchronously.
11845 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11847 * net/eww.el (eww-download): New command and keystroke.
11849 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11851 * net/eww.el (eww-copy-page-url): Change name of command.
11853 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11854 be more consistent with Info and dired.
11856 * net/eww.el (eww-mode-map): Ditto.
11858 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11860 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11861 packages from archives.
11862 (package-archive-contents): Change format; include obsolete packages.
11863 (package-desc): Use `dir' to mark builtin packages.
11864 (package--from-builtin): Set the `dir' field to `builtin'.
11865 (generated-autoload-file, version-control): Declare.
11866 (package-compute-transaction): Change first arg and return value to be
11867 lists of package-descs. Adjust to new package-archive-contents format.
11868 (package--add-to-archive-contents): Adjust to new
11869 package-archive-contents format.
11870 (package-download-transaction): Arg is now a list of package-descs.
11871 (package-install): If `pkg' is a package name, pass it as
11872 a requirement, so it is subject to the usual (e.g. disabled) checks.
11873 (describe-package): Accept package-desc as well.
11874 (describe-package-1): Describe a specific package-desc. Add links to
11875 other package-descs for the same package name.
11876 (package-menu-describe-package): Pass the actual package-desc.
11877 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11879 (package-desc-status): New function.
11880 (package-menu--refresh): New function, extracted
11881 from package-menu--generate.
11882 (package-menu--generate): Use it.
11883 (package-delete): Update package-alist.
11884 (package-menu-execute): Don't call package-initialize.
11886 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11887 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11888 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11889 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11890 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11891 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11893 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11895 * window.el (window--state-get-1): Workaround for bug#14527.
11896 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11898 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11900 * net/eww.el (eww-back-url): Implement the history by stashing all
11901 the data into a list.
11902 (eww-forward-url): Allow going forward in the history, too.
11904 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11906 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11907 for values and use read--expression for expressions (bug#14710).
11908 (read-file-local-variable): Avoid setq.
11909 (read-file-local-variable-mode): Use minor-mode-list.
11911 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11913 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11916 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11918 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11919 Update imenu-support when dialect changes.
11921 2013-06-25 Leo Liu <sdl.web@gmail.com>
11923 * ido.el (ido-read-internal): Allow forward slash on windows.
11925 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11927 * net/eww.el (eww): Start of strings is \\`, not ^.
11929 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11931 * net/shr.el (shr-browse-url): Fix interactive spec.
11933 * net/eww.el (eww): Add a trailing slash to domain names.
11935 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11937 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11939 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11941 * net/shr.el (shr-browse-url): Use an external browser if given a
11944 * net/eww.el (eww-external-browser): Move to shr.
11946 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11948 * net/eww.el (eww): Work more correctly for file: URLs.
11949 (eww-detect-charset): Allow quoted charsets.
11950 (eww-yank-page-url): New command and keystroke.
11952 2013-06-24 Daiki Ueno <ueno@gnu.org>
11954 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11955 file name of gpg executable.
11956 (epg-context-program): New function.
11957 (epg-context-home-directory): New function.
11958 (epg-context-set-program): New function.
11959 (epg-context-set-home-directory): New function.
11960 (epg--start): Use `epg-context-program' instead of
11962 (epg--list-keys-1): Likewise.
11964 2013-06-24 Leo Liu <sdl.web@gmail.com>
11966 * ido.el (ido-read-internal): Fix bug#14620.
11968 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11970 * faces.el (face-documentation): Simplify.
11971 (read-face-attribute, tty-find-type, x-resolve-font-name):
11972 Use `string-match-p'.
11973 (list-faces-display): Use `string-match-p'. Simplify.
11974 (face-spec-recalc): Check face to avoid face alias loops.
11975 (read-color): Use `string-match-p' and non-capturing parenthesis.
11977 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11979 * net/shr.el (shr-rescale-image): Use the new
11980 :max-width/:max-height functionality.
11982 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11984 * net/eww.el (eww-search-prefix): New variable.
11986 (eww-external-browser): New variable.
11987 (eww-mode-map): New keystroke.
11988 (eww-browse-with-external-browser): New command.
11990 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11992 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11994 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11995 Don't skip aligning the next header field when padding is 0;
11996 otherwise, field width is not respected unless the title is as
11999 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12001 * emacs-lisp/package.el (package-el-version): Remove.
12002 (package-process-define-package): Fix inf-loop.
12003 (package-install): Allow symbols as arguments again.
12005 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12007 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12008 add some more keyword-like methods.
12009 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12011 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12013 * bs.el (bs-buffer-show-mark): Make defvar-local.
12014 (bs-mode): Use setq-local.
12016 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12017 (emacs-lock--try-unlocking): Make defvar-local.
12019 2013-06-22 Glenn Morris <rgm@gnu.org>
12021 * play/cookie1.el (cookie-apropos): Minor simplification.
12023 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12025 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12027 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12028 `regexp-opt', it breaks the build during dumping.
12030 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12032 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12033 Highlight keyword-like methods on Kernel and Module with
12034 font-lock-builtin-face.
12035 (auto-mode-alist): Consolidate different entries into one regexp
12036 and add more *file-s.
12038 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12040 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12042 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12043 (diary-entry): Use it in the action of this button type instead of
12046 * calendar/todo-mode.el: New version.
12047 (todo-add-category): Append new category to end of file and give
12048 it the highest number, instead of putting it at the beginning and
12049 giving it 0. Incorporate noninteractive functionality.
12050 (todo-forward-category): Adapt to 1-based category numbering.
12051 Allow skipping over archived categories.
12052 (todo-backward-category): Derive from todo-forward-category.
12053 (todo-backward-item, todo-forward-item): Make noninteractive and
12054 delegate interactive part to new commands. Make sensitive to done items.
12055 (todo-categories): Make value an alist of category names and
12056 vectors of item counts.
12057 (todo-category-beg): Make a defconst.
12058 (todo-category-number): Use 1 instead of 0 as initial value.
12059 (todo-category-select): Make sensitive to overlays, optional item
12060 highlighting and done items.
12061 (todo-delete-item): Make sensitive to overlays and marked and done items.
12062 (todo-edit-item): Make sensitive to overlays and editing of
12063 date/time header optional. Add format checks.
12064 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12065 no-op if point is not on an item. Advertise using todo-edit-quit.
12066 (todo-edit-mode): Make sensitive to new format, font-locking, and
12067 multiple todo files.
12068 (todo-insert-item, todo-insert-item-here): Derive from
12069 todo-basic-insert-item and extend functionality.
12070 (todo-item-end, todo-item-start): Make sensitive to done items.
12071 (todo-item-string): Don't return text properties. Restore point.
12072 (todo-jump-to-category): Make sensitive to multiple todo files and
12073 todo archives. Use extended category completion.
12074 (todo-lower-item, todo-raise-item): Rename to *-priority and
12075 derive from todo-set-item-priority.
12076 (todo-mode): Derive from special-mode. Make sensitive to new
12077 format, font-locking and multiple todo files. Make read-only.
12078 (todo-mode-map): Don't suppress digit keys, so they can supply
12079 prefix arguments. Add many new key bindings.
12080 (todo-prefix): Insert as an overlay instead of file text.
12081 Change semantics from diary date expression to purely visual mark.
12082 (todo-print): Rename to todo-print-buffer. Make buffer display
12083 features printable. Remove option to restrict number of items
12084 printed. Add option to print to file.
12085 (todo-print-function): Rename to todo-print-buffer-function.
12086 (todo-quit): Extend to handle exiting new todo modes.
12087 (todo-remove-item): Make sensitive to overlays.
12088 (todo-save): Extend to buffers of filtered items.
12089 (todo-show): Make sensitive to done items, multiple todo files and
12090 new todo modes. Offer to convert legacy todo file before creating
12091 first new todo file.
12092 (todo-show-priorities): Rename to todo-top-priorities.
12093 Change semantics of value 0.
12094 (todo-top-priorities): Rename to todo-filter-top-priorities,
12095 derive from todo-filter-items and extend functionality.
12096 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12097 and extend functionality to other types of filtered items.
12098 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12099 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12100 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12101 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12102 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12103 (todo-edit-mode-hook, todo-entry-prefix-function)
12104 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12105 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12106 (todo-initials, todo-insert-threshold, todo-item-string-start)
12107 (todo-line-string, todo-menu, todo-mode-hook)
12108 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12109 (todo-print-priorities, todo-remove-separator)
12110 (todo-save-top-priorities-too, todo-string-count-lines)
12111 (todo-string-multiline-p, todo-time-string-format)
12112 (todo-tmp-buffer-name): Remove.
12113 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12114 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12115 (todo-edit-category-diary-inclusion)
12116 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12117 (todo-edit-file, todo-edit-item-date-day)
12118 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12119 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12120 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12121 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12122 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12123 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12124 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12125 (todo-filter-top-priorities-multifile, todo-find-archive)
12126 (todo-find-filtered-items-file, todo-go-to-source-item)
12127 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12128 (todo-jump-to-archive-category, todo-lower-category)
12129 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12130 (todo-move-category, todo-move-item, todo-next-button)
12131 (todo-next-item, todo-padded-string, todo-powerset)
12132 (todo-previous-button, todo-previous-item)
12133 (todo-print-buffer-to-file, todo-raise-category)
12134 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12135 (todo-set-category-number, todo-set-item-priority)
12136 (todo-set-top-priorities-in-category)
12137 (todo-set-top-priorities-in-file, todo-show-categories-table)
12138 (todo-sort-categories-alphabetically-or-numerically)
12139 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12140 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12141 (todo-toggle-item-header, todo-toggle-item-highlighting)
12142 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12143 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12144 (todo-unarchive-items, todo-unmark-category): New commands.
12145 (todo-absolute-file-name, todo-add-to-buffer-list)
12146 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12147 (todo-basic-insert-item, todo-category-completions)
12148 (todo-category-number, todo-category-string-matcher-1)
12149 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12150 (todo-check-format, todo-clear-matches)
12151 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12152 (todo-current-category, todo-date-string-matcher)
12153 (todo-define-insertion-command, todo-diary-expired-matcher)
12154 (todo-diary-goto-entry, todo-diary-item-p)
12155 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12156 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12157 (todo-done-item-section-p, todo-done-separator)
12158 (todo-done-string-matcher, todo-files, todo-filter-items)
12159 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12160 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12161 (todo-insert-category-line, todo-insert-item-from-calendar)
12162 (todo-insert-sort-button, todo-insert-with-overlays)
12163 (todo-insertion-command-name, todo-insertion-key-bindings)
12164 (todo-label-to-key, todo-longest-category-name-length)
12165 (todo-make-categories-list, todo-mode-external-set)
12166 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12167 (todo-modes-set-3, todo-multiple-filter-files)
12168 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12169 (todo-read-category, todo-read-date, todo-read-dayname)
12170 (todo-read-file-name, todo-read-time)
12171 (todo-reevaluate-category-completions-files-defcustom)
12172 (todo-reevaluate-default-file-defcustom)
12173 (todo-reevaluate-filelist-defcustoms)
12174 (todo-reevaluate-filter-files-defcustom)
12175 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12176 (todo-reset-done-separator, todo-reset-done-separator-string)
12177 (todo-reset-done-string, todo-reset-global-current-todo-file)
12178 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12179 (todo-reset-prefix, todo-set-categories)
12180 (todo-set-date-from-calendar, todo-set-show-current-file)
12181 (todo-set-top-priorities, todo-short-file-name)
12182 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12183 (todo-total-item-counts, todo-update-buffer-list)
12184 (todo-update-categories-display, todo-update-categories-sexp)
12185 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12187 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12189 (todo-categories, todo-display, todo-edit, todo-faces)
12190 (todo-filtered): New defgroups.
12191 (todo-archived-only, todo-button, todo-category-string, todo-date)
12192 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12193 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12194 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12195 (todo-add-item-if-new-category, todo-always-add-time-string)
12196 (todo-categories-align, todo-categories-archived-label)
12197 (todo-categories-category-label, todo-categories-diary-label)
12198 (todo-categories-done-label, todo-categories-number-separator)
12199 (todo-categories-todo-label, todo-categories-totals-label)
12200 (todo-category-completions-files, todo-completion-ignore-case)
12201 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12202 (todo-done-separator-string, todo-done-string)
12203 (todo-files-function, todo-filter-done-items, todo-filter-files)
12204 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12205 (todo-initial-category, todo-initial-file, todo-item-mark)
12206 (todo-legacy-date-time-regexp, todo-mode-line-function)
12207 (todo-nondiary-marker, todo-number-prefix)
12208 (todo-print-buffer-function, todo-show-current-file)
12209 (todo-show-done-only, todo-show-first, todo-show-with-done)
12210 (todo-skip-archived-categories, todo-top-priorities-overrides)
12211 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12212 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12214 (todo-category-done, todo-date-pattern, todo-date-string-start)
12215 (todo-diary-items-buffer, todo-done-string-start)
12216 (todo-filtered-items-buffer, todo-item-start)
12217 (todo-month-abbrev-array, todo-month-name-array)
12218 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12219 (todo-top-priorities-buffer): New defconsts.
12220 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12221 (todo-categories-with-marks, todo-category-string-face)
12222 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12223 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12224 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12225 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12226 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12227 (todo-font-lock-keywords, todo-global-current-todo-file)
12228 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12229 (todo-insertion-commands-args)
12230 (todo-insertion-commands-args-genlist)
12231 (todo-insertion-commands-names, todo-insertion-map)
12232 (todo-key-bindings-t, todo-key-bindings-t+a)
12233 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12234 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12235 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12236 (todo-visited): New variables.
12238 2013-06-21 Glenn Morris <rgm@gnu.org>
12240 * play/cookie1.el (cookie-apropos): Add optional display argument.
12241 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12242 (psychoanalyze-pinhead): Use cookie-doctor.
12244 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12246 * emacs-lisp/package.el (tar-get-file-descriptor)
12247 (tar--extract): Declare.
12249 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12251 Extend flymake's warning predicate to be a function (bug#14217).
12252 * progmodes/flymake.el (flymake-warning-predicate): New.
12253 (flymake-parse-line): Use it.
12254 (flymake-warning-re): Make obsolete alias to
12255 `flymake-warning-predicate'.
12257 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12259 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12260 (package-obsolete-list): Remove.
12261 (package-activate): Remove min-version argument. Add `force' argument.
12262 Adjust to new package-alist format.
12263 (package-mark-obsolete): Remove.
12264 (package-unpack): Force reload of the package's autoloads.
12265 (package-installed-p): Check builtins if the installed package is not
12267 (package-initialize): Don't reset package-obsolete-list.
12268 Don't specify which package version to activate.
12269 (package-process-define-package, describe-package-1)
12270 (package-menu--generate): Adjust to new package-alist format.
12272 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12274 * allout-widgets.el (allout-widgets-mode-off)
12275 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12276 (allout-widgets-post-command-business)
12277 (allout-widgets-after-copy-or-kill-function)
12278 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12279 (allout-decorate-item-and-context)
12280 (allout-graphics-modification-handler): Fix typos in docstrings.
12281 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12283 * cmuscheme.el (scheme-start-file): Doc fix.
12284 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12285 (scheme-input-filter): Use `string-match-p'.
12287 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12289 * dired-x.el: Use Dired consistently in docstrings.
12291 * dired.el: Use Dired consistently in docstrings.
12292 (dired-readin, dired-mode): Use `setq-local'.
12293 (dired-switches-alist): Make defvar-local.
12294 (dired-buffers-for-dir): Use `zerop'.
12295 (dired-safe-switches-p, dired-switches-escape-p)
12296 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12297 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12298 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12299 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12300 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12301 (dired-toggle-marks, dired-mark-files-containing-regexp)
12302 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12303 (dired-flag-auto-save-files, dired-flag-backup-files):
12304 Use `looking-at-p'.
12305 (dired-mark-files-regexp, dired-build-subdir-alist):
12306 Use `string-match-p', `looking-at-p'.
12308 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12309 (direct-print-region-helper): Use `string-match-p'.
12311 2013-06-21 Leo Liu <sdl.web@gmail.com>
12313 * comint.el (comint-redirect-results-list-from-process):
12316 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12318 * net/eww.el (eww-update-header-line-format): Quote % characters.
12320 2013-06-21 Glenn Morris <rgm@gnu.org>
12322 * play/cookie1.el (cookie): New custom group.
12323 (cookie-file): New option.
12324 (cookie-check-file): New function.
12325 (cookie): Make it interactive. Make start and end messages optional.
12326 Interactively, display the result. Default to cookie-file.
12327 (cookie-insert): Default to cookie-file.
12328 (cookie-snarf): Make start and end messages optional.
12329 Default to cookie-file. Use with-temp-buffer.
12330 (cookie-read): Rename from read-cookie.
12331 Make start and end messages optional. Default to cookie-file.
12332 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12333 Do not autoload it.
12334 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12335 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12337 2013-06-21 Leo Liu <sdl.web@gmail.com>
12339 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12341 2013-06-21 Glenn Morris <rgm@gnu.org>
12343 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12345 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12346 Daniel Hackney <dan@haxney.org>
12348 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12349 Consolidate the single-file vs tarball code.
12350 (package-desc-suffix): New function.
12351 (package-desc-full-name): Don't bother inlining it.
12352 (package-load-descriptor): Return the new package-desc.
12353 (package-mark-obsolete): Remove unused arg `package'.
12354 (package-unpack): Make it work for single files as well.
12355 Make it update package-alist.
12356 (package--make-autoloads-and-stuff): Rename from
12357 package--make-autoloads-and-compile. Don't compile any more.
12358 (package--compile): New function.
12359 (package-generate-description-file): New function, extracted from
12360 package-unpack-single.
12361 (package-unpack-single): Remove.
12362 (package--with-work-buffer): Add indentation and debugging info.
12363 (package-download-single): Remove.
12364 (package-install-from-archive): Rename from package-download-tar, make
12365 it take a pkg-desc, and make it work for single files as well.
12366 (package-download-transaction): Simplify.
12367 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12368 external tar program.
12369 (package-install-from-buffer): Remove `pkg-desc' argument.
12370 Use package-tar-file-info for tar-mode buffers.
12371 (package-install-file): Simplify accordingly.
12372 (package-archive-base): Change to take a pkg-desc.
12373 * tar-mode.el (tar--check-descriptor): New function, extracted from
12374 tar-get-descriptor.
12375 (tar-get-descriptor): Use it.
12376 (tar-get-file-descriptor): New function.
12377 (tar--extract): New function, extracted from tar-extract.
12378 (tar--extract): Use it.
12379 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12380 case the summary uses non-ascii. Adjust to new calling convention of
12381 package-tar-file-info.
12383 2013-06-21 Leo Liu <sdl.web@gmail.com>
12385 * comint.el (comint-redirect-results-list-from-process):
12386 Fix random delay. (Bug#14681)
12388 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12390 * profiler.el (profiler-format-number): Use log, not log10.
12392 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12394 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12396 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12398 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12399 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12401 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12402 (AUTOGENEL): ... here.
12403 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12404 (cl--defsubst-expand): Use it.
12406 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12408 * subr.el (log10): Move here from C code, and declare as obsolete.
12409 All uses of (log10 X) replaced with (log X 10).
12411 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12413 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12414 Declare with `defvar-local'.
12415 (tabulated-list-use-header-line, tabulated-list-entries)
12416 (tabulated-list-padding, tabulated-list-printer)
12417 (tabulated-list-sort-key): Declare with `defvar-local'.
12418 (tabulated-list-init-header, tabulated-list-print-fake-header):
12421 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12423 * arc-mode.el (archive-mode): Add `archive-write-file' to
12424 `write-contents-functions' also for remote files. (Bug#14652)
12426 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12428 * cus-edit.el (custom-commands): Fix typos.
12429 (custom-display): Fix tooltip text.
12430 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12431 Fix typos in docstrings.
12432 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12433 (custom-unlispify-menu-entry, custom-magic-value-create)
12434 (custom-add-see-also, custom-group-value-create): Use ?\s.
12435 (custom-guess-type, customize-apropos, editable-field)
12436 (custom-face-value-create): Use `string-match-p'.
12437 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12439 * custom.el (custom-load-symbol): Use `string-match-p'.
12441 * ansi-color.el: Convert to lexical binding.
12442 (ansi-colors): Fix URL.
12443 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12444 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12445 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12447 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12449 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12451 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12453 2013-06-19 Tom Tromey <tromey@redhat.com>
12455 * net/eww.el (eww-top-url): Remove.
12456 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12457 (eww-render): Set new variables. Don't set eww-top-url.
12458 (eww-handle-link): Handle "prev", "home", and "contents".
12459 Downcase the rel text.
12460 (eww-top-url): Choose best top URL.
12462 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12464 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12465 relying in widget.el. Using widget.el leads to too many
12466 user interface inconsistencies.
12467 (eww-self-insert): Implement entering commands in text fields.
12468 (eww-process-text-input): New function to make text input field editing
12470 (eww-submit): Rewrite to use the new-style form methods.
12471 (eww-select-display): Display the correct selected item.
12472 (eww-change-select): Implement changing the select value.
12473 (eww-toggle-checkbox): Implement radio/checkboxes.
12474 (eww-update-field): Fix compilation error.
12475 (eww-tag-textarea): Implement <textarea>.
12477 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12478 we don't shadow mode-specific bindings.
12480 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12483 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12485 2013-06-19 Glenn Morris <rgm@gnu.org>
12487 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12489 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12491 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12494 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12496 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12498 * net/browse-url.el (browse-url-browser-function):
12499 `eww-browse-url' has the right calling signature, `eww' does not.
12501 2013-06-19 Glenn Morris <rgm@gnu.org>
12503 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12504 Only eval autoloaded macros.
12505 (byte-compile-autoload): Only give the macro warning for macros.
12507 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12508 (ps-underlined-faces): Declare.
12510 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12511 (speedbar-add-supported-extension): Declare.
12513 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12514 Don't include a date stamp in the header of the generated file;
12515 it leads to needless differences between output files.
12517 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12519 * net/secrets.el (secrets-struct-secret-content-type):
12520 Replace check of introspection data by a test call of "CreateItem".
12521 Some servers do not offer introspection.
12523 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12525 * electric.el (electric-pair-mode): Improve interaction with
12526 electric-layout-mode.
12527 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12528 (electric-pair-syntax): Use text-mode-syntax-table in comments
12530 (electric-pair--insert): New function.
12531 (electric-pair-post-self-insert-function): Use it and
12532 electric--after-char-pos.
12534 2013-06-19 Leo Liu <sdl.web@gmail.com>
12536 * progmodes/octave.el (octave-help): Fix regexp.
12538 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12540 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12541 (shr-table-horizontal-line): Allow nil as a value, and change the
12543 (shr-insert-table-ruler): Respect the nil value.
12545 2013-06-18 Tom Tromey <tromey@barimba>
12547 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12549 (eww-open-file): New defun.
12550 (eww-render): Initialize new variables.
12551 (eww-display-html): Handle "link" and "a".
12552 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12553 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12554 (eww-back-url): Rename from eww-previous-url.
12555 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12558 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12560 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12561 Distinguish ternary operator tokens from slash symbol and slash
12564 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12566 Convert symbol prettification into minor mode and global minor mode.
12568 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12569 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12570 (prettify-symbols--keywords): Rename from
12571 `prog-prettify-symbols-alist' and make a local defvar.
12572 (prettify-symbols--compose-symbol): Rename from
12573 `prog--prettify-font-lock-compose-symbol'.
12574 (prettify-symbols--make-keywords): Rename from
12575 `prog-prettify-font-lock-symbols-keywords' and simplify.
12576 (prog-prettify-install): Remove.
12577 (prettify-symbols-mode): New minor mode, based on
12578 `prog-prettify-install'.
12579 (turn-on-prettify-symbols-mode): New function.
12580 (global-prettify-symbols-mode): New globalized minor mode.
12582 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12583 * progmodes/cfengine.el (cfengine3-mode):
12584 * progmodes/perl-mode.el (perl-mode): Don't call
12585 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12587 2013-06-18 Juri Linkov <juri@jurta.org>
12589 * files-x.el (modify-file-local-variable-message): New function.
12590 (modify-file-local-variable)
12591 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12592 and call `modify-file-local-variable-message' when it's non-nil.
12593 (add-file-local-variable, delete-file-local-variable)
12594 (add-file-local-variable-prop-line)
12595 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12596 and use it. (Bug#9820)
12598 2013-06-18 Juri Linkov <juri@jurta.org>
12600 * emulation/vi.el (vi-shell-op):
12601 * emulation/vip.el (vip-execute-com, ex-command):
12602 * emulation/viper-cmd.el (viper-exec-bang):
12603 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12604 the call of `shell-command-on-region'. (Bug#14637)
12606 * simple.el (shell-command-on-region): Doc fix.
12608 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12610 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12613 2013-06-18 Glenn Morris <rgm@gnu.org>
12615 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12617 * newcomment.el (comment-search-forward, comment-search-backward):
12618 Doc fix. (Bug#14376)
12620 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12622 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12623 (buffer-face-mode-invoke): Doc fix.
12625 2013-06-18 Matthias Meulien <orontee@gmail.com>
12627 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12628 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12630 2013-06-18 Glenn Morris <rgm@gnu.org>
12632 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12633 Replace obsolete function generic-make-keywords with its expansion.
12635 * progmodes/python.el (ffap-alist): Declare.
12637 * textmodes/reftex.el (bibtex-mode-map): Declare.
12639 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12641 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12642 (package-unpack, package-unpack-single): Return the pkg-dir.
12643 (package-download-transaction): Use it to update package-alist.
12645 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12647 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12650 2013-06-17 Juri Linkov <juri@jurta.org>
12652 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12654 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12656 * emacs-lisp/package.el (package-load-descriptor):
12657 Remove `with-syntax-table' call, `read' doesn't need it.
12658 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12660 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12662 * startup.el (command-line): Expand package name returned by
12663 `package--description-file' (bug#14639).
12665 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12667 * emacs-lisp/package.el (package-load-descriptor): Do not call
12668 `emacs-lisp-mode', just use its syntax table.
12670 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12672 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12673 `font-lock-extra-managed-props' if any prettifying keyword is added.
12674 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12675 (prog-mode): Use `setq-local'.
12677 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12679 * international/characters.el (standard-case-table): Set syntax of ?»
12680 and ?« to punctuation.
12682 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12684 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12685 Save relevant match data before calling `syntax-ppss' (bug#14595).
12687 2013-06-15 Juri Linkov <juri@jurta.org>
12689 * files-x.el (modify-file-local-variable-prop-line): Add local
12690 variables to the end of the existing comment on the first line.
12691 Use `file-auto-mode-skip' to skip interpreter magic line,
12692 and also skip XML declaration.
12694 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12696 * startup.el (package--builtin-versions): New var.
12697 (package-subdirectory-regexp): Remove.
12698 (package--description-file): Hard code its value instead.
12700 * emacs-lisp/package.el: Don't activate packages older than builtin.
12701 (package-obsolete-list): Rename from package-obsolete-alist, and make
12702 it into a simple list of package-desc.
12703 (package-strip-version): Remove.
12704 (package-built-in-p): Use package--builtin-versions.
12705 (package-mark-obsolete): Simplify.
12706 (package-process-define-package): Mark it obsolete if older than the
12708 (package-handle-response): Use line-end-position.
12709 (package-read-archive-contents, package--download-one-archive):
12711 (package--add-to-archive-contents): Skip if older than the builtin or
12713 (package-menu-describe-package): Fix last change.
12714 (package-list-unversioned): New var.
12715 (package-menu--generate): Use it.
12717 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12718 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12719 (autoload-builtin-package-versions): New variable.
12720 (autoload-generate-file-autoloads): Use them.
12721 Remove the list of autoloaded functions/macros from the
12722 (autoload...) comments.
12724 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12726 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12728 * simple.el (line-move-partial): Don't jump to the next screen
12729 line as soon as it becomes visible. Instead, continue enlarging
12730 the vscroll until the portion of a tall screen line that's left on
12731 display is about the height of the frame's default font.
12734 2013-06-15 Glenn Morris <rgm@gnu.org>
12736 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12737 compilation-error-regexp-alist void, or local while let-bound.
12739 * progmodes/make-mode.el (makefile-mode-syntax-table):
12740 Treat "=" as punctuation. (Bug#14614)
12742 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12744 * help-fns.el (describe-variable):
12745 Add extra line for permanent-local variables.
12747 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12749 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12750 Add export, import, library. (Bug#9164)
12751 (library): Set indent function.
12753 2013-06-14 Glenn Morris <rgm@gnu.org>
12755 * term/xterm.el (xterm--query):
12756 Stop after first matching handler. (Bug#14615)
12758 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12760 Add support for dired in saveplace.
12761 * dired.el (dired-initial-position-hook): New variable.
12762 (dired-initial-position): Call hook to place cursor position.
12763 * saveplace.el (save-place-to-alist): Add dired position.
12764 (save-place-dired-hook): New function.
12766 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12768 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12769 through a symbol rather than letrec.
12771 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12772 (package-desc): Add `dir' field.
12773 (package-desc-full-name): New function.
12774 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12775 (package-maybe-load-descriptor): Remove.
12776 (package-load-all-descriptors): Just call package-load-descriptor.
12777 (package--disabled-p): New function.
12778 (package-desc-vers, package-desc-doc): Remove aliases.
12779 (package--dir): Remove function.
12780 (package-activate): Check if a package is disabled.
12781 (package-process-define-package): New function, extracted from
12783 (define-package): Turn into a place holder.
12784 (package-unpack-single, package-tar-file-info):
12785 Use package--description-file.
12786 (package-compute-transaction): Use package--disabled-p.
12787 (package-download-transaction): Don't call
12788 package-maybe-load-descriptor since they're all loaded anyway.
12789 (package-install): Change argument to be a pkg-desc.
12790 (package-delete): Use a single pkg-desc argument.
12791 (describe-package-1): Use package-desc-dir instead of package--dir.
12792 Use package-desc property instead of package-symbol.
12793 (package-install-button-action): Adjust accordingly.
12794 (package--push): Rewrite.
12795 (package-menu--print-info): Adjust accordingly. Change the ID format
12797 (package-menu-describe-package, package-menu-get-status)
12798 (package-menu--find-upgrades, package-menu-mark-upgrades)
12799 (package-menu-execute, package-menu--name-predicate):
12800 Adjust accordingly.
12801 * startup.el (package--description-file): New function.
12802 (command-line): Use it.
12803 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12804 Use package-desc-version.
12806 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12807 (byte-compile-preprocess): Use it.
12808 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12809 can't quite recognize.
12810 (byte-compile-add-to-list): Remove.
12811 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12812 (cconv-closure-convert): Add assertion.
12814 * emacs-lisp/map-ynp.el: Use lexical-binding.
12815 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12816 Factor out some repeated code.
12818 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12820 * subr.el (with-eval-after-load): New macro.
12821 (eval-after-load): Allow form to be a function.
12822 take advantage of lexical-binding.
12823 (do-after-load-evaluation): Use dolist and adjust to new format.
12824 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12826 2013-06-13 Juri Linkov <juri@jurta.org>
12828 * replace.el (perform-replace): Display "symbol " and other search
12829 modes from `isearch-message-prefix' in the *Help* buffer.
12831 * isearch.el (isearch-query-replace): Add " symbol" and other
12832 possible search modes from `isearch-message-prefix' to the prompt.
12833 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12834 when reading a regexp to collect.
12836 2013-06-13 Juri Linkov <juri@jurta.org>
12838 * isearch.el (word-search-regexp): Match whitespace if the search
12839 string begins or ends in whitespace. The LAX arg is applied to
12840 both ends of the search string. Use `regexp-quote' and explicit
12841 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12842 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12843 boundaries are replaced with symbol boundaries, and characters
12844 between symbols match non-word non-symbol syntax. (Bug#14602)
12846 2013-06-13 Juri Linkov <juri@jurta.org>
12848 * isearch.el (isearch-del-char): Don't exceed the length of
12849 `isearch-string' by the prefix arg. (Bug#14563)
12851 2013-06-13 Juri Linkov <juri@jurta.org>
12853 * isearch.el (isearch-yank-word, isearch-yank-line)
12854 (isearch-char-by-name, isearch-quote-char)
12855 (isearch-printing-char, isearch-process-search-char):
12856 Add optional count prefix arg. (Bug#14563)
12858 * international/isearch-x.el
12859 (isearch-process-search-multibyte-characters):
12860 Add optional count prefix arg.
12862 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12864 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12865 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12868 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12870 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12872 2013-06-13 Glenn Morris <rgm@gnu.org>
12874 * startup.el (tty-handle-args):
12875 Don't just discard "--" and anything after. (Bug#14608)
12877 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12879 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12881 Implement changes in Secret Service API. Make it backward compatible.
12882 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12883 (secrets-create-item): Use it. Prefix properties with interface.
12885 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12887 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12888 (term-emulate-terminal): Respect term-suppress-hard-newline.
12890 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12892 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12893 Only remove a `thumb-file' overlay. (Bug#14548)
12895 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12897 * mail/reporter.el (reporter-submit-bug-report):
12898 Handle missing package-name. (Bug#14600)
12900 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12902 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12903 (reftex-citation-prompt, reftex-default-bibliography)
12904 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12905 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12906 (reftex-bib-sort-author, reftex-bib-sort-year)
12907 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12908 (reftex-extract-bib-entries-from-thebibliography)
12909 (reftex-get-bibkey-default, reftex-get-bib-names)
12910 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12911 (reftex-format-bib-entry, reftex-parse-bibitem)
12912 (reftex-format-bibitem, reftex-do-citation)
12913 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12914 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12915 (reftex-insert-bib-matches, reftex-format-citation)
12916 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12917 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12918 existing comments into docstrings.
12920 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12922 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12924 2013-06-12 Andreas Schwab <schwab@suse.de>
12926 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12927 for auto-save files.
12929 2013-06-12 Glenn Morris <rgm@gnu.org>
12931 * ido.el (ido-delete-ignored-files): Remove.
12932 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12933 Go back to calling ido-ignore-item-p directly.
12935 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12937 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12939 * ido.el (ido-delete-ignored-files): New function,
12940 split from ido-make-file-list-1.
12941 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12942 (ido-make-file-list-1): Use ido-delete-ignored-files.
12944 2013-06-12 Leo Liu <sdl.web@gmail.com>
12946 * progmodes/octave.el (inferior-octave-startup)
12947 (inferior-octave-completion-table)
12948 (inferior-octave-track-window-width-change)
12949 (octave-eldoc-function-signatures, octave-help)
12950 (octave-find-definition): Use single quoted strings.
12951 (inferior-octave-startup-args): Change default value.
12952 (inferior-octave-startup): Do not hard code "-i" and
12953 "--no-line-editing".
12954 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12955 (inferior-octave-directory-tracker): Use it.
12956 (octave-goto-function-definition): Robustify.
12957 (octave-help): Support highlighting operators in 'See also'.
12958 (octave-find-definition): Find subfunctions only in Octave mode.
12960 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12962 * help-fns.el (help-fns--compiler-macro): If the handler function is
12963 named, then put a link to it.
12964 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12965 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12966 (cl-typep): Use it.
12967 (cl-eval-when): Simplify debug spec.
12968 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12969 compiler-macro function instead of setting `compiler-macro-file'.
12971 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12973 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12974 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12976 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12977 Daniel Hackney <dan@haxney.org>
12979 First part of Daniel Hackney's patch to package.el.
12980 * emacs-lisp/package.el: Use defstruct.
12981 (package-desc): New, main struct.
12982 (package--bi-desc, package--ac-desc): New structs, used to describe the
12983 format in external files.
12984 (package-desc-vers): Replace with package-desc-version accessor.
12985 (package-desc-doc): Replace with package-desc-summary accessor.
12986 (package-activate-1): Remove `package' arg since the pkg-vec now
12988 (define-package): Use package-desc-from-define.
12989 (package-unpack-single): Change file-name arg to be a symbol.
12990 (package--add-to-archive-contents): Use package-desc-create and new
12991 accessor functions to package--ac-desc.
12992 (package-buffer-info, package-tar-file-info): Return a package-desc.
12993 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12994 arg to be a package-desc.
12995 (package-install-file): Adjust accordingly. Use \' to match EOS.
12996 (package--from-builtin): New function.
12997 (describe-package-1, package-menu--generate): Use it.
12998 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12999 (package-generate-autoloads): Idem and return the name of the file.
13000 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13001 Change pkg-info arg to be a package-desc.
13002 Use package-make-ac-desc.
13003 (package-upload-file): Use \' to match EOS.
13004 * finder.el (finder-compile-keywords): Use package-make-builtin.
13006 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13008 * vc/vc.el (vc-deduce-fileset): Change error message.
13009 (vc-read-backend): New function.
13010 (vc-next-action): Use it.
13012 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13014 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13015 (prolog-font-lock-keywords): Use regexp-opt instead.
13016 Don't manually highlight strings.
13017 (prolog-mode-variables): Simplify comment-start-skip.
13018 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13020 * emacs-lisp/generic.el (generic--normalise-comments)
13021 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13022 (generic-mode-set-comments): Use them.
13023 (generic-bracket-support): Use setq-local.
13024 (generic-make-keywords-list): Declare obsolete.
13026 2013-06-11 Glenn Morris <rgm@gnu.org>
13028 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13029 Prettify after setting font-lock-defaults. (Bug#14574)
13031 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13033 * replace.el (query-replace, occur-read-regexp-defaults-function)
13035 * subr.el (declare-function, number-sequence, local-set-key)
13036 (substitute-key-definition, locate-user-emacs-file)
13037 (with-silent-modifications, split-string, eval-after-load):
13038 Fix typos, remove unneeded backslashes and reflow some docstrings.
13040 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13042 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13043 default for Elisp files.
13045 2013-06-11 Glenn Morris <rgm@gnu.org>
13047 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13048 although define-derived-mode was doing this anyway. (Bug#14583)
13050 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13052 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13053 Fix make-variable-buffer-local call to refer to the correct variable.
13055 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13057 * eshell/em-term.el (eshell-visual-commands)
13058 (eshell-visual-subcommands, eshell-visual-options):
13059 Add summary line to docstrings. Add cross-references.
13061 2013-06-10 Glenn Morris <rgm@gnu.org>
13063 * epa.el (epa-read-file-name): New function. (Bug#14510)
13064 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13066 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13068 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13069 output redirection to be ignored with visual commands.
13071 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13073 * eshell/em-term.el (eshell-visual-command-p): New function.
13074 (eshell-term-initialize): Move long lambda to separate function
13075 eshell-visual-command-p.
13076 * eshell/em-dirs.el (eshell-dirs-initialize):
13077 * eshell/em-script.el (eshell-script-initialize):
13078 Add missing #' to lambda.
13080 2013-06-08 Leo Liu <sdl.web@gmail.com>
13082 * progmodes/octave.el (octave-add-log-current-defun): New function.
13083 (octave-mode): Set add-log-current-defun-function.
13084 (octave-goto-function-definition): Do not move point if not found.
13085 (octave-find-definition): Enhance to try subfunctions first.
13087 2013-06-08 Glenn Morris <rgm@gnu.org>
13089 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13090 (byte-compile-backward-char, byte-compile-backward-word):
13091 Improve previous change, to handle non-explicit nil.
13093 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13095 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13096 (smie--opener/closer-at-point): New function.
13097 (smie--matching-block-data): Use it. Don't match from right after an
13098 opener or right before a closer. Obey smie-blink-matching-inners.
13099 Don't signal a mismatch for repeated inners like "switch..case..case".
13101 2013-06-07 Leo Liu <sdl.web@gmail.com>
13103 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13105 (octave-function-header-regexp): Fix. (Bug#14570)
13106 (octave-help-mode-finish-hook, octave-help-mode-finish):
13107 Remove. Just use temp-buffer-show-hook.
13109 * newcomment.el (comment-search-backward): Revert last change.
13112 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13114 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13116 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13117 through xargs, to avoid failure due to MS-Windows limitations on
13118 command-line length.
13120 2013-06-06 Glenn Morris <rgm@gnu.org>
13122 * font-lock.el (lisp-font-lock-keywords-2):
13123 Treat user-error like error.
13125 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13126 (byte-compile-backward-char, byte-compile-backward-word):
13127 Handle explicit nil arguments. (Bug#14565)
13129 2013-06-05 Alan Mackenzie <acm@muc.de>
13131 * isearch.el (isearch-allow-prefix): New user option.
13132 (isearch-other-meta-char): Don't exit isearch when a prefix
13133 argument is typed whilst `isearch-allow-prefix' is non-nil.
13136 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13138 * autorevert.el (auto-revert-notify-handler): Use memq.
13139 Hide assertion failure.
13141 * skeleton.el: Use cl-lib.
13142 (skeleton-further-elements): Use defvar-local.
13143 (skeleton-insert): Use cl-progv.
13145 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13147 * progmodes/prog-mode.el (prog-prettify-symbols)
13148 (prog-prettify-install): Update docstrings.
13150 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13152 * simple.el: Move all the prog-mode code to prog-mode.el.
13153 * progmodes/prog-mode.el: New file.
13154 * loadup.el: Add prog-mode.el.
13156 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13158 * simple.el (prog-prettify-symbols): Add version.
13159 (prog-prettify-install): Add convenience function to prettify symbols.
13161 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13162 (perl--augmented-font-lock-keywords-1)
13163 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13164 variables and use it.
13166 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13167 (cfengine3-mode): Remove unneeded variable and use it.
13169 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13170 (lisp--augmented-font-lock-keywords-1)
13171 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13172 Remove unneeded variables and use it.
13174 2013-06-05 João Távora <joaotavora@gmail.com>
13176 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13177 to point when opening the connection. (Bug#14380)
13179 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13181 * subr.el (load-history-regexp, load-history-filename-element)
13182 (eval-after-load, after-load-functions, do-after-load-evaluation)
13183 (eval-next-after-load, display-delayed-warnings)
13184 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13185 definition of save-match-data.
13186 (overriding-local-map): Remove accidental obsolescence declaration.
13188 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13190 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13192 Generalize symbol prettify support to prog-mode and implement it
13193 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13194 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13195 (prog--prettify-font-lock-compose-symbol)
13196 (prog-prettify-font-lock-symbols-keywords): New variables and
13197 functions to support symbol prettification.
13198 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13199 (lisp--augmented-font-lock-keywords-1)
13200 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13201 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13202 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13203 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13204 Implement prettify of -> => :: strings.
13205 * progmodes/perl-mode.el (perl-prettify-symbols)
13206 (perl--font-lock-compose-symbol)
13207 (perl--font-lock-symbols-keywords): Move to prog-mode.
13208 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13209 (perl-font-lock-keywords-1)
13210 (perl-font-lock-keywords-2): Remove explicit prettify support.
13211 (perl--augmented-font-lock-keywords)
13212 (perl--augmented-font-lock-keywords-1)
13213 (perl--augmented-font-lock-keywords-2, perl-mode):
13214 Implement prettify support.
13216 2013-06-05 Leo Liu <sdl.web@gmail.com>
13218 Re-implement SMIE matching block highlight using
13219 show-paren-data-function. (Bug#14395)
13220 * emacs-lisp/smie.el (smie-matching-block-highlight)
13221 (smie--highlight-matching-block-overlay)
13222 (smie--highlight-matching-block-lastpos)
13223 (smie-highlight-matching-block)
13224 (smie-highlight-matching-block-mode): Remove.
13225 (smie--matching-block-data-cache): New variable.
13226 (smie--matching-block-data): New function.
13227 (smie-setup): Use smie--matching-block-data for
13228 show-paren-data-function.
13230 * progmodes/octave.el (octave-mode-menu): Fix.
13231 (octave-find-definition): Skip garbage lines.
13233 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13235 Fix compilation error with simultaneous dynamic+lexical scoping.
13236 Add warning when a defvar appears after the first let-binding.
13237 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13238 (byte-compile-close-variables): Initialize it.
13239 (byte-compile--declare-var): New function.
13240 (byte-compile-file-form-defvar)
13241 (byte-compile-file-form-define-abbrev-table)
13242 (byte-compile-file-form-custom-declare-variable): Use it.
13243 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13244 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13245 (byte-compile-bind): Handle dynamic bindings that shadow
13247 (byte-compile-unbind): Make arg non-optional.
13248 (byte-compile-let): Simplify.
13249 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13250 (cconv--analyse-function, cconv-analyse-form): Populate it.
13251 Protect byte-compile-bound-variables to limit the scope of defvars.
13252 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13253 Remove unneeded rule for `declare'.
13255 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13256 so as to avoid depending on cl-adjoin at run-time.
13257 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13259 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13260 (macroexp--warn-and-return): Use it.
13262 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13264 * subr.el: Convert to lexical binding.
13265 (overriding-local-map): Make obsolete.
13266 (add-to-list): Doc fix. Add compiler macro.
13267 (read-key): Swap values of local maps.
13269 2013-06-05 Leo Liu <sdl.web@gmail.com>
13271 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13273 2013-06-04 Leo Liu <sdl.web@gmail.com>
13275 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13276 (compilation-auto-jump): Suppress the "Mark set" message to give
13277 way to exit message.
13279 2013-06-04 Alan Mackenzie <acm@muc.de>
13281 Remove faulty optimisation from indentation calculation.
13282 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13283 search limit based on 2000 characters back from indent-point.
13285 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13287 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13289 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13291 * emacs-lisp/lisp.el: Use lexical-binding.
13292 (lisp--local-variables-1, lisp--local-variables): New functions.
13293 (lisp--local-variables-completion-table): New var.
13294 (lisp-completion-at-point): Use it complete let-bound vars.
13296 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13297 eagerly (bug#14422).
13299 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13301 * autorevert.el (auto-revert-notify-enabled)
13302 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13303 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13304 (auto-revert-notify-handler): Handle also gfilenotify.
13306 * subr.el (file-notify-handle-event): New defun. Replacing ...
13307 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13310 2013-06-03 Juri Linkov <juri@jurta.org>
13312 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13313 `M-s h .'. (Bug#14427)
13315 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13316 command `hi-lock-face-symbol-at-point'.
13317 (hi-lock-face-symbol-at-point): New command.
13318 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13319 (hi-lock-menu): Add `highlight-symbol-at-point'.
13320 (hi-lock-mode): Doc fix.
13322 * isearch.el (isearch-forward-symbol-at-point): New command.
13323 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13324 (isearch-highlight-regexp): Add a regexp which matches
13325 words/symbols for word/symbol mode.
13327 * subr.el (find-tag-default-bounds): New function with the body
13328 mostly moved from `find-tag-default'.
13329 (find-tag-default): Move most code to `find-tag-default-bounds',
13330 call it and apply `buffer-substring-no-properties' afterwards.
13332 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13334 * eshell/em-term.el (eshell-term-initialize):
13335 Use `cl-intersection' rather than `intersection'.
13337 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13339 * vc/log-view.el: Doc fix.
13340 (log-view-mode-map): Copy keymap from `special-mode-map'.
13342 2013-06-02 Eric Ludlam <zappo@gnu.org>
13344 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13345 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13346 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13347 (eieio-unbound, eieio-default-superclass)
13348 (eieio--define-field-accessors, method-static, method-before)
13349 (method-primary, method-after, method-num-lists)
13350 (method-generic-before, method-generic-primary)
13351 (method-generic-after, method-num-slots)
13352 (eieio-specialized-key-to-generic-key)
13353 (eieio--check-type, class-v, class-p)
13354 (eieio-class-name, define-obsolete-function-alias)
13355 (eieio-class-parents-fast, eieio-class-children-fast)
13356 (same-class-fast-p, class-constructor, generic-p)
13357 (generic-primary-only-p, generic-primary-only-one-p)
13358 (class-option-assoc, class-option, eieio-object-p)
13359 (class-abstract-p, class-method-invocation-order)
13360 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13361 (eieio-class-un-autoload, eieio-defclass)
13362 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13363 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13364 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13365 (eieio-defgeneric-reset-generic-form)
13366 (eieio-defgeneric-form-primary-only)
13367 (eieio-defgeneric-reset-generic-form-primary-only)
13368 (eieio-defgeneric-form-primary-only-one)
13369 (eieio-defgeneric-reset-generic-form-primary-only-one)
13370 (eieio-unbind-method-implementations)
13371 (eieio--defmethod, eieio--typep)
13372 (eieio-perform-slot-validation, eieio-validate-slot-value)
13373 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13374 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13375 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13376 (eieio-slot-name-index, eieio-class-slot-name-index)
13377 (eieio-set-defaults, eieio-initarg-to-attribute)
13378 (eieio-attribute-to-initarg, eieio-c3-candidate)
13379 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13380 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13381 (eieio-class-precedence-list, eieio-generic-call-methodname)
13382 (eieio-generic-call-arglst, eieio-generic-call-key)
13383 (eieio-generic-call-next-method-list)
13384 (eieio-pre-method-execution-functions, eieio-generic-call)
13385 (eieio-generic-call-primary-only, eieiomt-method-list)
13386 (eieiomt-optimizing-obarray, eieiomt-install)
13387 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13388 (eieio-generic-form, eieio-defmethod, make-obsolete)
13389 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13390 (defclass): Remove `eval-and-compile' from macro.
13391 (call-next-method, shared-initialize): Instead of using
13392 `scoped-class' variable, use new eieio--scoped-class, and
13393 eieio--with-scoped-class.
13394 (initialize-instance): Rename local variable 'scoped-class' to
13395 'this-class' to remove ambiguitity from old global.
13397 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13399 (eieio--scoped-class-stack): New variable.
13400 (eieio--scoped-class): New fcn.
13401 (eieio--with-scoped-class): New scoping macro.
13402 (eieio-defclass): Use pushnew instead of add-to-list.
13403 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13404 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13405 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13406 `scoped-class' variable, use new eieio--scoped-class, and
13407 eieio--with-scoped-class.
13409 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13411 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13413 * eshell/esh-ext.el (eshell-external-command): Pass args to
13414 `eshell-find-interpreter'.
13415 (eshell-find-interpreter): Add new second parameter ARGS.
13417 * eshell/em-script.el (eshell-script-initialize): Add second arg
13418 to the function added as MATCH to `eshell-interpreter-alist'.
13420 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13421 the function added as MATCH to `eshell-interpreter-alist'.
13423 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13424 (eshell-visual-options): New defcustom.
13425 (eshell-escape-control-x): Adapt docstring.
13426 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13427 `eshell-visual-options' in addition to `eshell-visual-commands'.
13428 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13430 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13432 * progmodes/python.el (python-indent-block-enders): Add break,
13433 continue and raise keywords.
13435 2013-06-01 Glenn Morris <rgm@gnu.org>
13437 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13439 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13440 * progmodes/cc-cmds.el (delete-forward-p):
13441 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13442 * progmodes/cc-engine.el (buffer-syntactic-context):
13443 * progmodes/cc-fonts.el (face-property-instance):
13444 * progmodes/cc-mode.el (set-keymap-parents):
13445 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13446 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13447 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13448 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13449 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13451 * progmodes/cc-vars.el (other): Emacs has this widget since
13452 at least 21.1, so don't (re)define it.
13454 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13455 Replace the obsolete alias pcomplete-arg-quote-list.
13457 2013-06-01 Leo Liu <sdl.web@gmail.com>
13459 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13460 punctuation syntax.
13461 (inferior-octave-minimal-columns)
13462 (inferior-octave-last-column-width): New variables.
13463 (inferior-octave-track-window-width-change): New function.
13464 (inferior-octave-mode): Adjust column width so that Octave output,
13465 for example from 'ls', can fit into the window nicely.
13467 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13469 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13470 Highlight expansions inside regexp literals.
13472 2013-05-31 Glenn Morris <rgm@gnu.org>
13474 * obsolete/sym-comp.el (symbol-complete):
13475 Replace obsolete completion-annotate-function.
13477 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13479 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13481 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13482 New function, checks if point is inside a literal that allows
13483 expression expansion.
13484 (ruby-syntax-propertize-expansion): Use it.
13485 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13488 2013-05-30 Juri Linkov <juri@jurta.org>
13490 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13492 (isearch-invisible): New variable.
13493 (isearch-forward): Doc fix.
13494 (isearch-mode): Set `isearch-invisible'
13495 to the value of `search-invisible'.
13496 (isearch-toggle-case-fold): Doc fix.
13497 (isearch-toggle-invisible): New command.
13498 (isearch-query-replace): Let-bind `search-invisible'
13499 to the value of `isearch-invisible'.
13500 (isearch-search): Use `isearch-invisible' instead of
13501 `search-invisible'. Let-bind `search-invisible'
13502 to the value of `isearch-invisible'. (Bug#11378)
13504 2013-05-30 Juri Linkov <juri@jurta.org>
13506 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13507 call when `query-flag' is nil and `search-invisible' is non-nil.
13510 2013-05-30 Glenn Morris <rgm@gnu.org>
13512 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13514 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13515 (cc-require): Suppress spurious "noruntime" warnings.
13516 (cc-require-when-compile): Use fboundp, for sake of compiler.
13518 * progmodes/cc-mode.el: Move load of cc-vars before that of
13519 cc-langs (which in turn loads cc-vars), to quieten compiler.
13521 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13523 * paren.el: Simplify the code.
13524 (show-paren-mode): Always start the timer.
13525 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13526 (show-paren--overlay, show-paren--overlay-1): Rename from
13527 show-paren-overlay and show-paren-overlay-1, and initialize to an
13528 overlay rather than to nil.
13529 (show-paren-function): Misc cleanup and simplifications.
13531 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13533 * paren.el (show-paren-data-function): New hook.
13534 (show-paren--default): New function, extracted from show-paren-function.
13535 (show-paren-function): Use show-paren-data-function.
13537 2013-05-30 Glenn Morris <rgm@gnu.org>
13539 * ielm.el (ielm-map, ielm-complete-symbol):
13540 Use completion-at-point rather than obsolete functions.
13541 (inferior-emacs-lisp-mode): Doc fix.
13542 Set completion-at-point-functions, rather than
13543 comint-dynamic-complete-functions.
13545 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13546 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13547 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13549 * image.el (image-animated-p): Tweak definition.
13551 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13552 (rlogin-process-connection-type): Tweak default. Add set-after.
13553 (rlogin-host): Doc fix.
13554 (rlogin): Tweak prompt.
13555 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13557 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13558 * progmodes/tcl.el (inferior-tcl-mode-map):
13559 Use completion-at-point rather than obsolete alias.
13561 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13563 * minibuffer.el (read-file-name-completion-ignore-case):
13564 Move before completion--in-region, for eager macro expansion.
13566 2013-05-29 Juri Linkov <juri@jurta.org>
13568 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13569 for total count of matching lines. Add `global-matches' for total
13570 count of matches. Rename `matches' to `lines' for count of
13571 matching lines. Add `matches' for count of matches.
13572 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13573 to `prev-line' for line number of prev match endpt.
13574 Increment `matches' for every match. Print the number of
13575 matching lines in the header.
13576 (occur-context-lines): Rename `lines' to `curr-line'.
13577 Rename `prev-lines' to `prev-line'. (Bug#14017)
13579 2013-05-29 Juri Linkov <juri@jurta.org>
13581 * replace.el (perform-replace): Add `skip-read-only-count',
13582 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13583 Increment them for corresponding conditions and report the number
13584 of skipped occurrences in the final message. (Bug#11746)
13585 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13586 (replace-string, replace-regexp): Doc fix.
13588 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13590 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13592 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13593 prog-mode-map (bug#14504).
13595 2013-05-29 Leo Liu <sdl.web@gmail.com>
13597 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13598 (octave-help): Small simplification.
13600 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13601 off the highlight first.
13603 2013-05-29 Glenn Morris <rgm@gnu.org>
13605 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13606 Handle idlwave-last-system-routine-info-cons-cell being nil.
13608 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13609 (idlwave-write-paths): Simplify via with-temp-buffer.
13611 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13612 * emulation/cua-rect.el: Also load cua-base at run time.
13614 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13615 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13616 (cperl-imenu-on-info): Require imenu.
13618 2013-05-28 Alan Mackenzie <acm@muc.de>
13620 Handle "capitalised keywords" correctly.
13621 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13623 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13625 * eshell/em-unix.el: Add -r option to cp.
13627 2013-05-28 Glenn Morris <rgm@gnu.org>
13629 * vc/vc-arch.el (vc-exec-after): Declare.
13630 (vc-switches): Autoload.
13631 * vc/vc-bzr.el: No need to require vc when compiling.
13632 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13633 (vc-resynch-buffer, vc-dir-refresh): Declare.
13634 (vc-setup-buffer, vc-switches): Autoload.
13635 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13636 (vc-resynch-buffer): Declare.
13637 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13638 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13639 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13640 (grep-read-regexp, grep-read-files, grep-expand-template)
13641 (vc-dir-refresh): Declare.
13642 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13643 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13644 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13645 * vc/vc-mtn.el (vc-exec-after): Declare.
13646 (vc-switches): Autoload.
13647 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13648 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13649 (vc-file-tree-walk): Declare.
13650 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13651 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13652 (vc-tag-precondition, vc-rename-master): Autoload.
13653 * vc/vc-svn.el (vc-exec-after): Declare.
13654 (vc-switches, vc-setup-buffer): Autoload.
13655 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13657 (vc-resynch-buffer): Declare.
13659 * obsolete/fast-lock.el (byte-compile-warnings):
13660 Don't warn about obsolete features in this obsolete file.
13662 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13663 Move definition before use.
13665 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13666 (dun-unix-verbs): Remove dun-zippy.
13667 (dun-zippy): Remove function.
13669 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13671 2013-05-27 Juri Linkov <juri@jurta.org>
13673 * replace.el (replace-search): New function with code moved out
13674 from `perform-replace'.
13675 (replace-highlight, replace-dehighlight): Move function definitions
13676 up closer to `replace-search'. (Bug#11746)
13678 2013-05-27 Juri Linkov <juri@jurta.org>
13680 * replace.el (perform-replace): Ignore invisible matches.
13681 In addition to checking `query-replace-skip-read-only', also
13682 filter out matches by calling `run-hook-with-args-until-failure'
13683 on `isearch-filter-predicates', and also check `search-invisible'
13684 for t or call `isearch-range-invisible'.
13685 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13687 2013-05-27 Juri Linkov <juri@jurta.org>
13689 * isearch.el (isearch-filter-predicates): Rename from
13690 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13691 (isearch-message-prefix): Display text from the property
13692 `isearch-message-prefix' of the currently active filters.
13693 (isearch-search): Don't compare `isearch-filter-predicate' with
13694 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13695 on `isearch-filter-predicates'. Also check `search-invisible' for t
13696 or call `isearch-range-invisible'.
13697 (isearch-filter-visible): Make obsolete.
13698 (isearch-lazy-highlight-search):
13699 Call `run-hook-with-args-until-failure' on
13700 `isearch-filter-predicates' and use `isearch-range-invisible'.
13702 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13703 `isearch-filter-predicates' instead of `funcall'ing
13704 `isearch-filter-predicate'.
13705 (Info-mode): Set `Info-isearch-filter' to
13706 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13708 * dired-aux.el (dired-isearch-filter-predicate-orig):
13710 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13711 (dired-isearch-filenames-end): Add and remove
13712 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13713 instead of changing the value of `isearch-filter-predicate'.
13714 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13715 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13716 Put property `isearch-message-prefix' to "filename " on
13717 `dired-isearch-filter-filenames'.
13719 * wdired.el (wdired-change-to-wdired-mode):
13720 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13721 locally instead of changing `isearch-filter-predicate'.
13722 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13724 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13726 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13727 return the commit hash (Bug#14459). Also set the
13728 `vc-git-detached' property.
13729 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13730 (vc-git-mode-line-string): Use the same help-echo format whether
13731 in detached mode or not, because we know the actual revision now.
13732 When in detached mode, shorten the revision to 7 chars.
13734 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13736 * emacs-lisp/easy-mmode.el (define-minor-mode):
13737 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13738 mode hook and provide a docstring.
13740 2013-05-27 Alan Mackenzie <acm@muc.de>
13742 Remove spurious syntax-table text properties inserted by C-y.
13743 * progmodes/cc-mode.el (c-after-change): Also clear hard
13744 syntax-table property with value nil.
13746 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13748 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13749 when reading the events; the buffer layout shall not be changed.
13751 2013-05-27 Leo Liu <sdl.web@gmail.com>
13753 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13755 (inferior-octave-directory-tracker): Automatically re-sync
13757 (octave-help): Improve handling of 'See also'.
13759 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13761 * doc-view.el: Minor naming convention tweaks.
13762 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13764 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13765 even if there's no `display' property yet (bug#14435).
13767 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13769 * subr.el (unmsys--file-name): Rename from reveal-filename.
13771 * Makefile.in (custom-deps, finder-data, autoloads)
13772 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13773 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13774 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13776 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13778 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13779 error-completion on the first 2 args of condition-case (bug#14446).
13782 2013-05-25 Leo Liu <sdl.web@gmail.com>
13784 * comint.el (comint-previous-matching-input): Do not flood the
13785 *Messages* buffer with trivial messages.
13787 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13789 * progmodes/flymake.el (flymake-nop): Don't return a string.
13790 (flymake-set-at): Fix typo.
13792 * simple.el (read--expression): New function, extracted from
13793 eval-expression. Set completion-at-point-functions (bug#14465).
13794 (eval-expression, eval-minibuffer): Use it.
13796 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13798 * progmodes/flymake.el (flymake-save-buffer-in-file)
13799 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13800 (flymake-selected-frame, flymake-log, flymake-ins-after)
13801 (flymake-set-at, flymake-get-buildfile-from-cache)
13802 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13803 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13804 Refine the doc string.
13805 (flymake-get-file-name-mode-and-masks): Reformat.
13806 (flymake-get-real-file-name-function): Fix a minor bug.
13808 2013-05-24 Juri Linkov <juri@jurta.org>
13810 * progmodes/grep.el (grep-mode-font-lock-keywords):
13811 Support =linenumber= format used by git-grep for lines with
13812 function names. (Bug#13549)
13814 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13816 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13817 0 after a semi-colon; it works better for smie-auto-fill.
13818 (octave--indent-new-comment-line): New function.
13819 (octave-indent-new-comment-line): Use it (indirectly).
13820 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13821 modify comment-line-break-function.
13823 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13824 (smie-setup): Use add-function to set it.
13826 2013-05-24 Sam Steingold <sds@gnu.org>
13828 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13829 argument (before the `interactive' argument).
13831 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13833 * image-mode.el (image-mode-winprops): Add winprops to
13834 image-mode-winprops-alist before running
13835 image-mode-new-window-functions.
13836 * doc-view.el (doc-view-new-window-function): Don't delay
13837 doc-view-goto-page via timers (bug#14435).
13839 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13841 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13842 (doc-view-desktop-save-buffer): New function.
13843 (doc-view-restore-desktop-buffer): New function.
13844 (desktop-buffer-mode-handlers):
13845 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13847 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13848 `desktop-save-buffer' function.
13850 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13852 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13853 (tramp-gvfs-file-name-handler): Raise a user error when
13854 `tramp-gvfs-enabled' is nil.
13855 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13856 Do not raise a user error when loading package. (Bug#14447)
13858 * net/xesam.el: Move to obsolete/.
13860 2013-05-24 Glenn Morris <rgm@gnu.org>
13862 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13864 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13866 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13867 (Info-find-node, Man-getpage-in-background): Declare.
13869 * mail/unrmail.el (unrmail):
13870 Replace obsolete detect-coding-with-priority.
13872 * net/socks.el (socks-split-string): Use this rather than split-string.
13873 (socks-nslookup-host): Update for above change.
13874 (dynamic-choice, s5-dynamic-choice-match)
13875 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13876 Comment out unused code.
13878 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13879 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13880 (gud-tooltip-echo-area): Make obsolete.
13881 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13883 * progmodes/js.el (js--optimize-arglist): Declare.
13885 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13887 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13888 (ediff-window-C): Declare.
13890 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13891 Tweak requires to silence compiler.
13893 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13894 (he-search-string, he-tried-table, he-expand-list)
13895 (he-init-string, he-string-member, he-substitute-string)
13896 (he-reset-string): Declare.
13898 * obsolete/options.el (list-options): Use custom-variable-p,
13899 rather than obsolete alias.
13901 2013-05-23 Sam Steingold <sds@gnu.org>
13903 * simple.el (shell-command-on-region): Pass the `replace' argument
13904 down to `call-process-region' to comply with the doc as reported on
13905 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13907 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13909 * emacs-lisp/smie.el (smie-indent-forward-token)
13910 (smie-indent-backward-token): Handle string tokens (bug#14381).
13912 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13914 * ielm.el (ielm-menu): New menu.
13915 (inferior-emacs-lisp-mode): Set comment-start.
13917 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13919 * textmodes/reftex.el (reftex-ref-style-toggle):
13920 Fix deactivate action.
13922 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13923 Add cleveref macros.
13925 * textmodes/reftex-parse.el
13926 (reftex-locate-bibliography-files): Accept options for
13927 bibliography commands.
13928 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13929 Add addbibresource. Basic Biblatex support.
13931 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13933 * net/tramp-gvfs.el (top):
13934 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13935 when loading package. (Bug#14447)
13937 2013-05-23 Glenn Morris <rgm@gnu.org>
13939 * progmodes/js.el: No need to load comint when compiling.
13940 (ring-insert, comint-send-string, comint-send-input)
13941 (comint-last-input-end, ido-chop): Declare.
13943 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13944 * vc/ediff-mult.el: Adjust requires.
13945 (ediff-directories-internal, ediff-directory-revisions-internal)
13946 (ediff-patch-file-internal): Declare.
13947 * vc/ediff-ptch.el: Adjust requires.
13948 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13949 (ediff-find-file): Autoload.
13950 * vc/ediff-util.el: No need to load ediff when compiling.
13951 (ediff-regions-internal): Declare.
13952 * vc/ediff-wind.el: Adjust requires.
13953 (ediff-compute-toolbar-width): Define when compiling.
13954 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13955 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13956 (dired-get-filename, dired-get-marked-files)
13957 (ediff-last-dir-patch, ediff-patch-default-directory)
13958 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13959 (ediff-patch-buffer-internal): Declare.
13961 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13962 (ispell-process, ispell-buffer-local-words, lm-summary)
13963 (lm-section-start, lm-section-end): Declare.
13964 (checkdoc-ispell-init): Simplify.
13966 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13967 (he-string-member, he-reset-string, he-substitute-string): Declare.
13969 * eshell/em-ls.el: Adjust requires.
13970 (eshell-glob-regexp): Declare.
13971 * eshell/em-tramp.el: Adjust requires.
13972 (eshell-parse-command): Autoload.
13973 * eshell/em-xtra.el: Adjust requires.
13974 (eshell-parse-command): Autoload.
13975 * eshell/esh-ext.el: Adjust requires.
13976 (eshell-parse-command, eshell-close-handles): Autoload.
13977 * eshell/esh-io.el: Adjust requires.
13978 (eshell-output-filter): Autoload.
13979 * eshell/esh-util.el: No need to load tramp when compiling.
13980 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13982 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13983 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13984 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13985 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13986 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13987 * eshell/esh-opt.el, eshell/esh-proc.el:
13988 * eshell/esh-var.el: Adjust requires.
13989 * eshell/eshell.el: Do not require esh-util twice.
13990 (eshell-add-input-to-history): Declare.
13991 (eshell-command): Check history module is active before using it.
13993 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13995 2013-05-22 Leo Liu <sdl.web@gmail.com>
13997 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13999 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14001 * autorevert.el (auto-revert-notify-add-watch)
14002 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14003 it indicates changes in file modification time.
14005 2013-05-22 Glenn Morris <rgm@gnu.org>
14007 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14008 Always delete the autoloaded function from the noruntime and
14009 unresolved functions lists.
14011 * allout.el: No need to load epa, epg, overlay when compiling.
14012 (epg-context-set-passphrase-callback, epg-list-keys)
14013 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14014 (epg-key-user-id-list): Declare.
14016 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14017 (viper-set-parsing-style-toggling-macro)
14018 (viper-set-emacs-state-searchstyle-macros):
14019 Use called-interactively-p on Emacs.
14020 (viper-looking-back): Make it an obsolete alias. Update callers.
14021 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14022 Use looking-back rather than viper-looking-back.
14023 (viper-tmp-insert-at-eob, viper-enlarge-region)
14024 (viper-read-string-with-history, viper-register-to-point)
14025 (viper-append-to-register, viper-change-state-to-vi)
14026 (viper-backward-char-carefully, viper-forward-char-carefully)
14027 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14028 (viper-change-state-to-emacs): Declare.
14029 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14030 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14031 * emulation/viper-mous.el: Do not load viper-cmd.
14032 (viper-backward-char-carefully, viper-forward-char-carefully)
14033 (viper-forward-word, viper-adjust-window): Declare.
14035 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14037 * progmodes/idlw-help.el (idlwave-help-fontify):
14038 Use called-interactively-p.
14040 * term/w32console.el (w32-get-console-codepage)
14041 (w32-get-console-output-codepage): Declare.
14043 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14044 Remove unnecessary declarations.
14045 (dframe-message): Doc fix.
14047 * info.el (dframe-select-attached-frame, dframe-current-frame):
14050 * speedbar.el (speedbar-message): Make it an obsolete alias.
14051 Update all callers.
14052 (speedbar-with-attached-buffer)
14053 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14054 (speedbar-with-writable): Use backquote.
14055 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14056 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14057 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14058 rather than speedbar- aliases.
14059 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14060 (speedbar-make-specialized-keymap, speedbar-insert-button)
14061 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14062 (speedbar-do-function-pointer): Declare.
14063 (rmail-speedbar-button, rmail-speedbar-find-file)
14064 (rmail-speedbar-move-message):
14065 Use dframe-with-attached-buffer rather than speedbar- alias.
14066 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14067 (dframe-message, speedbar-make-specialized-keymap)
14068 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14069 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14070 (speedbar-insert-button, dframe-select-attached-frame)
14071 (dframe-maybee-jump-to-attached-frame)
14072 (speedbar-change-initial-expansion-list)
14073 (speedbar-previously-used-expansion-list-name): Declare.
14074 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14075 Use dframe-message, dframe-with-attached-buffer rather than
14077 (gud-sentinel): Silence compiler.
14078 * progmodes/vhdl-mode.el (speedbar-refresh)
14079 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14080 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14081 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14082 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14083 (speedbar-file-lists, speedbar-make-tag-line)
14084 (speedbar-line-directory, speedbar-goto-this-file)
14085 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14086 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14087 (speedbar-make-button, speedbar-reset-scanners)
14088 (speedbar-files-item-info, speedbar-line-text)
14089 (speedbar-find-file-in-frame, speedbar-set-timer)
14090 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14091 (speedbar-with-writable): Do not (re)define it.
14092 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14093 rather than speedbar- alias.
14095 2013-05-21 Leo Liu <sdl.web@gmail.com>
14097 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14099 (octave-mode): Tweak fill-nobreak-predicate.
14100 (inferior-octave-startup): Check process to avoid infinite loop.
14101 (inferior-octave): Pop to buffer first to show abornmal process
14104 2013-05-21 Glenn Morris <rgm@gnu.org>
14106 * printing.el (pr-menu-bar): Define when compiling.
14108 2013-05-21 Leo Liu <sdl.web@gmail.com>
14110 * progmodes/octave.el (octave-auto-fill): Remove.
14111 (octave-indent-new-comment-line): Improve.
14112 (octave-mode): Use auto fill mode through
14113 comment-line-break-function and fill-nobreak-predicate.
14114 (octave-goto-function-definition): Support DEFUN_DLD.
14115 (octave-beginning-of-defun): Small tweak.
14116 (octave-help): Show parent directory.
14118 2013-05-21 Glenn Morris <rgm@gnu.org>
14120 * files.el (dired-unmark):
14121 * progmodes/gud.el (gdb-input): Update declarations.
14123 * calculator.el (electric, ehelp): No need to load when compiling.
14124 (Electric-command-loop, electric-describe-mode): Declare.
14126 * doc-view.el (doc-view-current-converter-processes): Move before use.
14128 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14129 Move MODE-set-explicitly definition before use.
14131 * international/mule-diag.el (mule-diag):
14132 Don't use obsolete window-system-version.
14134 * mail/feedmail.el (smtpmail): No need to load when compiling.
14135 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14137 * mail/mail-utils.el (rfc822): No need to load when compiling.
14138 (rfc822-addresses): Autoload it.
14139 (mail-strip-quoted-names): Trivial simplification.
14141 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14142 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14144 * net/snmp-mode.el (tempo): Don't duplicate requires.
14146 * progmodes/prolog.el (info): No need to load when compiling.
14147 (comint): Require before shell requires it.
14148 (Info-goto-node): Autoload it.
14149 (Info-follow-nearest-node): Declare.
14150 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14152 * textmodes/artist.el (picture-mode-exit): Declare.
14154 * textmodes/reftex-parse.el (reftex-parse-from-file):
14155 Trivial rewrite so the compiler can parse it better.
14157 2013-05-20 Leo Liu <sdl.web@gmail.com>
14159 * progmodes/octave.el (octave-help-mode-map)
14160 (octave-help-mode-finish-hook): New variables.
14161 (octave-help-mode, octave-help-mode-finish): New functions.
14162 (octave-help): Use octave-help-mode.
14164 2013-05-20 Glenn Morris <rgm@gnu.org>
14166 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14168 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14170 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14171 start at point, so that expansion starting right after opening
14172 slash in a regexp is recognized.
14173 (ruby-syntax-before-regexp-re): New defvar, extracted from
14174 ruby-syntax-propertize-function. Since the value of this regexp
14175 is looked up at runtime now, we should be able to turn
14176 `ruby-syntax-methods-before-regexp' into a defcustom later.
14177 (ruby-syntax-propertize-function): Split regexp matching into two
14178 parts, for opening and closing slashes. That allows us to skip
14179 over string interpolations and support multiline regexps.
14180 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14181 for them, which calls `ruby-syntax-propertize-expansion'.
14182 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14183 call to `ruby-syntax-propertize-function'.
14184 (ruby-syntax-propertize-expansion): Extracted from
14185 `ruby-syntax-propertize-expansions'. Handles one expansion.
14186 (ruby-syntax-propertize-percent-literal): Leave point right after
14187 the percent symbol, so that the expression expansion rule can
14188 propertize the contents.
14189 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14191 (ruby-syntax-propertize-expansions): Remove.
14193 2013-05-18 Juri Linkov <juri@jurta.org>
14195 * man.el (Man-default-man-entry): Remove `-' from the end
14196 of the default value. (Bug#14400)
14198 2013-05-18 Glenn Morris <rgm@gnu.org>
14200 * comint.el (comint-password-prompt-regexp):
14201 Allow "password for XXX" where XXX contains colons (eg https://...).
14203 2013-05-18 Leo Liu <sdl.web@gmail.com>
14205 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14206 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14207 (octave-source-directories): Don't check process.
14208 (octave-source-directories, octave-find-definition): Doc fix.
14210 2013-05-18 Glenn Morris <rgm@gnu.org>
14212 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14213 Remove backspace/delete bindings. (Bug#14392)
14215 * cus-dep.el (custom-make-dependencies): Sort the output.
14216 (custom-versions-load-alist): Convert comment to doc.
14218 2013-05-17 Leo Liu <sdl.web@gmail.com>
14220 * newcomment.el (comment-search-backward): Stricter in finding
14221 comment start. (Bug#14303)
14223 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14224 (octave-comment-start-skip): Properly anchored.
14226 2013-05-17 Leo Liu <sdl.web@gmail.com>
14228 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14229 Clean up when turned off. (Bug#14395)
14230 (smie--highlight-matching-block-overlay): No longer buffer-local.
14231 (smie-highlight-matching-block): Adjust.
14233 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14235 Doc string fix for "nanoseconds" (Bug#14406).
14236 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14237 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14239 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14241 * calc/calc-units.el (math-extract-units): Preserve powers
14244 2013-05-17 Leo Liu <sdl.web@gmail.com>
14246 * subr.el (delete-consecutive-dups): New function.
14247 * ido.el (ido-set-matches-1): Use it.
14248 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14249 * ido.el (ido-remove-consecutive-dups): Remove.
14251 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14253 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14254 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14255 regexp-opt's `words'.
14257 2013-05-16 Leo Liu <sdl.web@gmail.com>
14259 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14260 (smie--highlight-matching-block-overlay)
14261 (smie--highlight-matching-block-lastpos)
14262 (smie--highlight-matching-block-timer): New variables.
14263 (smie-highlight-matching-block): New function.
14264 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14265 (smie-setup): Conditionally enable smie-blink-matching-open.
14267 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14269 Sync with upstream verilog-mode r840.
14270 * progmodes/verilog-mode.el (verilog-mode-version)
14271 (verilog-mode-release-date): Update.
14272 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14273 (verilog-sig-tieoff): Fix string error on
14274 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14275 (verilog-read-decls): Fix parameters confusing
14276 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14278 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14280 * subr.el (reveal-filename): New function.
14282 * loadup.el: Compute Emacs executable versions on MS-Windows,
14283 where executables have the .exe extension. Add a hard link
14284 emacs-XX.YY.ZZ.exe on MS-Windows.
14286 * Makefile.in (XARGS_LIMIT): New variable.
14287 (custom-deps, finder-data, autoloads)
14288 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14289 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14290 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14291 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14293 2013-05-16 Leo Liu <sdl.web@gmail.com>
14295 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14296 (octave-mode-menu, octave-mode-map): Remove its uses.
14298 2013-05-16 Reto Zimmermann <reto@gnu.org>
14300 Sync with upstream vhdl mode v3.34.2.
14301 * progmodes/vhdl-mode.el: Use `push' throughout.
14302 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14303 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14304 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14305 (vhdl-actual-generic-name): New option to derive actual generic name.
14306 (vhdl-port-paste-signals): Replace formal by actual generics.
14307 (vhdl-beautify): New name for old group vhdl-align. Update users.
14308 (vhdl-beautify-options): New option.
14309 (vhdl-last-input-event): New compat alias. Use throughout.
14310 (vhdl-goto-line): Replace user level function `goto-line'.
14311 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14312 vhdl-fix-statement-buffer.
14313 (vhdl-create-mode-menu): Add some entries.
14314 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14315 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14316 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14317 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14318 to force statements on one line.
14319 (vhdl-remove-trailing-spaces-region):
14320 New, split from vhdl-remove-trailing-spaces.
14321 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14322 Respect vhdl-beautify-options.
14323 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14324 (vhdl-update-sensitivity-list): Not add with index if exists without.
14325 Not include array index with signal. Ignore keywords in comments.
14326 (vhdl-get-visible-signals): Regexp tweaks.
14327 (vhdl-template-component-inst): Handle empty library.
14328 (vhdl-template-type): Add template for 'enum' type.
14329 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14330 Use vhdl-replace-string.
14331 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14332 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14333 (vhdl-speedbar-initialize): Update for above name change.
14334 (vhdl-compose-wire-components): Fix in handling of constants.
14335 (vhdl-error-regexp-emacs-alist): New variable.
14336 (vhdl-error-regexp-add-emacs): New function;
14337 adds support for new compile.el (Emacs 22+)
14338 (vhdl-generate-makefile-1): Change target order for single lib. units.
14339 Allow use of absolute file names.
14341 2013-05-16 Leo Liu <sdl.web@gmail.com>
14343 * simple.el (prog-indent-sexp): Indent enclosing defun.
14345 2013-05-15 Glenn Morris <rgm@gnu.org>
14347 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14348 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14349 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14350 (whitespace-highlight): Move to whitespace group.
14352 * comint.el (comint-source):
14353 * pcmpl-linux.el (pcmpl-linux):
14354 * shell.el (shell-faces):
14355 * eshell/esh-opt.el (eshell-opt):
14356 * international/ccl.el (ccl): Remove empty custom groups.
14358 * completion.el (dynamic-completion-mode):
14359 * jit-lock.el (jit-lock-debug-mode):
14360 * minibuffer.el (completion-in-region-mode):
14361 * type-break.el (type-break-mode-line-message-mode)
14362 (type-break-query-mode):
14363 * emulation/tpu-edt.el (tpu-edt-mode):
14364 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14365 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14366 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14368 * term/xterm.el (xterm): Change parent group to terminals.
14370 * master.el (master): Remove empty custom group.
14371 (master-mode): Remove unused :group argument.
14372 * textmodes/refill.el (refill): Remove empty custom group.
14373 (refill-mode): Remove unused :group argument.
14375 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14377 * cus-dep.el: Provide a feature.
14378 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14379 Don't mistakenly ignore files whose basenames match a basename
14380 from preloaded-file-list (eg cedet/ede/simple.el).
14381 Add a fallback method for getting :group.
14383 2013-05-15 Juri Linkov <juri@jurta.org>
14385 * isearch.el (isearch-char-by-name): Rename from
14386 `isearch-insert-char-by-name'. Doc fix.
14387 (isearch-forward): Mention `isearch-char-by-name' in
14388 the docstring. (Bug#13348)
14390 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14391 `exit-minibuffer' instead of
14392 `isearch-nonincremental-exit-minibuffer'.
14393 (isearch-edit-string): Remove mention of
14394 `isearch-nonincremental-exit-minibuffer' from docstring.
14395 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14396 (isearch-forward-exit-minibuffer)
14397 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14399 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14401 * loadup.el: Just use unversioned DOC.
14403 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14404 literals as extending to EOB.
14405 (nxml-last-fontify-end): Remove unused variable.
14406 (nxml-after-change1): Use with-silent-modifications.
14407 (nxml-extend-after-change-region): Simplify.
14408 (nxml-extend-after-change-region1): Remove function.
14409 (nxml-after-change1): Don't adjust for dependent regions.
14410 (nxml-fontify-matcher): Simplify.
14411 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14412 (xmltok-add-dependent): Remove function.
14413 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14414 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14415 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14416 unclosed <[[, <?, comment, and other literals as extending to EOB.
14417 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14418 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14420 (rng-do-some-validation-1): Don't mark dependent regions.
14421 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14422 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14423 (nxml-clear-dependent-regions): Remove functions.
14424 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14425 (nxml-ensure-scan-up-to-date):
14426 Don't clear&mark dependent regions.
14428 2013-05-15 Leo Liu <sdl.web@gmail.com>
14430 * progmodes/octave.el (octave-goto-function-definition):
14431 Improve and fix callers.
14433 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14435 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14436 the setter (bug#14387).
14438 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14439 surrounding group (bug#14402).
14441 2013-05-14 Juri Linkov <juri@jurta.org>
14443 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14446 2013-05-14 Glenn Morris <rgm@gnu.org>
14448 * progmodes/f90.el (f90-imenu-generic-expression):
14449 Fix typo in 2013-05-08 change. (Bug#14402)
14451 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14453 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14454 Remove signals for which replies are never received.
14456 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14458 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14459 (gdb-handler-alist, gdb-handler-number): Remove variables.
14460 (gdb-handler-list): New variable.
14461 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14462 (gdb-pending-handler-p, gdb-handle-reply)
14463 (gdb-remove-all-pending-triggers): New functions.
14464 (gdb-discard-unordered-replies): New defcustom.
14465 (gdb-handler): New defstruct.
14466 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14467 instead of gdb-pending-triggers. Update docstring.
14468 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14469 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14470 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14471 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14472 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14473 (gdb-frame-handler): Pending triggers are now automatically managed.
14474 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14476 (gdb-input): Automatically handles pending triggers. Update docstring.
14477 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14478 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14480 (gdb-done-or-error): Now use gdb-handle-reply.
14482 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14484 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14487 2013-05-14 Glenn Morris <rgm@gnu.org>
14489 * subr.el (user-emacs-directory-warning): New option.
14490 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14492 2013-05-14 Leo Liu <sdl.web@gmail.com>
14494 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14496 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14497 (octave-font-lock-texinfo-comment): Fix invalid search bound
14498 error: wrong side of point.
14500 2013-05-14 Glenn Morris <rgm@gnu.org>
14502 * progmodes/flymake.el (flymake-xml-program): New option.
14503 (flymake-xml-init): Use it.
14505 * term/xterm.el: Provide a feature.
14507 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14509 2013-05-13 Glenn Morris <rgm@gnu.org>
14511 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14512 Add compat aliases as a hack workaround. (Bug#14384)
14514 2013-05-13 Leo Liu <sdl.web@gmail.com>
14516 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14518 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14520 (octave-comment-start-skip): Include %!.
14521 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14523 2013-05-12 Leo Liu <sdl.web@gmail.com>
14525 * progmodes/octave.el (inferior-octave-startup): Store the value
14526 of __octave_srcdir__ for octave-source-directories.
14527 (inferior-octave-check-process): New function refactored out of
14528 inferior-octave-send-list-and-digest.
14529 (octave-source-directories)
14530 (octave-find-definition-filename-function): New variables.
14531 (octave-source-directories)
14532 (octave-find-definition-default-filename): New functions.
14533 (octave-find-definition): Improve to find functions implemented in C++.
14535 2013-05-12 Glenn Morris <rgm@gnu.org>
14537 * calendar/diary-lib.el (diary-outlook-format-1):
14538 Don't include dayname in the output. (Bug#14349)
14540 2013-05-11 Glenn Morris <rgm@gnu.org>
14542 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14544 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14545 Treat cc-provide like provide.
14547 2013-05-11 Kevin Ryde <user42@zip.com.au>
14549 * cus-dep.el (custom-make-dependencies):
14550 Use generated-autoload-load-name for the sake of files such
14551 such cedet/semantic/bovine/c.el, where the base file name
14552 is not in load-path. (Bug#5277)
14554 2013-05-11 Glenn Morris <rgm@gnu.org>
14556 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14559 2013-05-11 Leo Liu <sdl.web@gmail.com>
14561 * progmodes/octave.el (octave-indent-comment): Improve.
14562 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14563 (octave-eldoc-function-signatures, octave-eldoc-function):
14565 (octave-mode, inferior-octave-mode): Add eldoc support.
14567 2013-05-11 Richard Stallman <rms@gnu.org>
14569 * epa.el (epa-decrypt-file): Take output file name as argument
14570 and read it using `interactive'.
14572 2013-05-11 Leo Liu <sdl.web@gmail.com>
14574 * progmodes/octave.el (octave-beginning-of-line)
14575 (octave-end-of-line): Check before using up-list because it jumps
14576 out of more syntactic contructs since moving to smie.
14577 (octave-indent-comment): New function.
14578 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14579 (octave-begin-keywords, octave-end-keywords)
14580 (octave-reserved-words, octave-smie-bnf-table)
14581 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14583 2013-05-11 Glenn Morris <rgm@gnu.org>
14585 * faces.el (internal-face-x-get-resource):
14586 * frame.el (ns-display-monitor-attributes-list):
14587 * calc/calc-aent.el (math-to-radians-2):
14588 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14591 * calc/calc-menu.el: Make it loadable in isolation.
14593 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14594 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14595 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14596 (eudc-bbdb-query-internal): Require 'bbdb.
14598 * lpr.el (lpr-headers-switches):
14599 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14601 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14603 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14605 * term.el (term-set-escape-char): Make it idempotent.
14607 2013-05-10 Leo Liu <sdl.web@gmail.com>
14609 * progmodes/octave.el (inferior-octave-completion-table):
14610 No longer a function and all uses changed. Use cache to speed up
14611 completion due to bug#11906.
14612 (octave-beginning-of-defun): Re-write to be more general.
14614 2013-05-10 Glenn Morris <rgm@gnu.org>
14616 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14618 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14620 * comint.el (comint-redirect-send-command-to-process): Use :around
14621 rather than :override for comint-redirect-filter.
14622 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14623 Call it instead of comint-redirect-original-filter-function (which
14624 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14626 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14628 * frame.el (display-monitor-attributes-list): Add NS case.
14629 (ns-display-monitor-attributes-list): Declare.
14631 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14633 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14635 2013-05-09 Glenn Morris <rgm@gnu.org>
14637 * international/fontset.el (vertical-centering-font-regexp):
14638 Set standard-value.
14640 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14642 * bookmark.el (bookmark-search-delay):
14643 * cus-start.el (vertical-centering-font-regexp):
14644 * ps-mule.el (ps-mule-font-info-database-default):
14645 * ps-print.el (ps-default-fg, ps-default-bg):
14646 * type-break.el (type-break-good-break-interval):
14647 * whitespace.el (whitespace-indentation-regexp)
14648 (whitespace-space-after-tab-regexp):
14649 * emacs-lisp/testcover.el (testcover-1value-functions)
14650 (testcover-noreturn-functions, testcover-progn-functions)
14651 (testcover-prog1-functions):
14652 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14653 * eshell/em-glob.el (eshell-glob-translate-alist):
14654 * play/tetris.el (tetris-tty-colors):
14655 * progmodes/cpp.el (cpp-face-default-list):
14656 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14657 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14658 (idlwave-help-browser-generic-args):
14659 * progmodes/make-mode.el (makefile-special-targets-list):
14660 * progmodes/python.el (python-shell-virtualenv-path):
14661 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14662 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14663 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14664 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14665 * textmodes/reftex-vars.el (reftex-format-label-function):
14666 * textmodes/remember.el (remember-diary-file): Fix custom types.
14668 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14671 2013-05-09 Leo Liu <sdl.web@gmail.com>
14673 * progmodes/octave.el (inferior-octave-completion-at-point):
14674 Restore file completion. (Bug#14300)
14675 (inferior-octave-startup): Fix incorrect highlighting for the
14678 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14680 * progmodes/ruby-mode.el: First cut at SMIE support.
14681 (ruby-use-smie): New var.
14682 (ruby-smie-grammar): New constant.
14683 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14684 (ruby-smie--forward-token, ruby-smie--backward-token)
14685 (ruby-smie-rules): New functions.
14686 (ruby-mode-variables): Setup SMIE if applicable.
14688 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14690 * simple.el (line-move-visual): Signal beginning/end of buffer
14691 only if vertical-motion moved less than it was requested. Avoids
14692 silly incorrect error messages when there are display strings with
14693 multiple newlines at EOL.
14695 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14697 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14698 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14699 (prolog-char-quote-workaround):
14700 * progmodes/cperl-mode.el (cperl-under-as-char):
14701 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14703 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14705 (vhdl-mode-syntax-table-init): Remove.
14707 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14710 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14712 (ld-script-font-lock-keywords):
14713 Change regexps to use things like \_< and \_>.
14715 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14716 Change all regexps to use things like \_< and \_>.
14718 * progmodes/autoconf.el (autoconf-definition-regexp)
14719 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14720 Handle a _ with symbol syntax.
14721 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14723 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14724 Consolidate declaration.
14725 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14727 (ada-create-syntax-table): Remove.
14728 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14729 already has the right syntax nowadays.
14730 (ada-goto-next-word): Don't change the syntax of "_".
14732 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14735 2013-05-08 Sam Steingold <sds@gnu.org>
14737 * thingatpt.el (thing-at-point): Accept optional second argument
14738 NO-PROPERTIES to strip the text properties from the return value.
14739 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14740 to `thing-at-point' instead of stripping the properties ourselves.
14741 Also, when `thing-at-point' fails to find a url, prepend "http://"
14742 to the filename at point on the assumption that the user is
14743 pointing at something like gnu.org/gnu.
14745 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14747 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14748 * faces.el (crm-separator):
14749 Silence byte-compiler.
14751 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14752 (tool-bar-map): Remove unneeded defvars.
14754 2013-05-08 Leo Liu <sdl.web@gmail.com>
14756 Re-work a fix for bug#10994 based on Le Wang's patch.
14757 * ido.el (ido-remove-consecutive-dups): New helper.
14758 (ido-completing-read): Use it.
14759 (ido-chop): Revert fix for bug#10994.
14761 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14763 * cus-edit.el (custom-save-variables):
14764 Pretty-print long values. (Bug#14187)
14766 2013-05-08 Glenn Morris <rgm@gnu.org>
14768 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14769 (m4-mode-syntax-table): Init in the defvar.
14770 (m4-mode-abbrev-table): Let define-derived-mode define it.
14772 2013-05-08 Tom Tromey <tromey@redhat.com>
14774 * progmodes/m4-mode.el (m4-mode-syntax-table):
14775 Do not treat "_" as word constituent. (Bug#14167)
14777 2013-05-07 Glenn Morris <rgm@gnu.org>
14779 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14780 Remove explicit eshell-isearch-cancel-map.
14782 * progmodes/f90.el (f90-smart-end-names): New option.
14783 (f90-smart-end): Doc fix.
14784 (f90-end-block-optional-name): New constant.
14785 (f90-block-match): Respect f90-smart-end-names.
14787 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14789 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14790 about implicit semi-colons (bug#14218).
14792 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14794 * frame.el (display-monitor-attributes-list)
14795 (frame-monitor-attributes): New functions.
14797 2013-05-06 Leo Liu <sdl.web@gmail.com>
14799 * progmodes/octave.el (octave-syntax-propertize-function): Change
14800 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14801 (octave-font-lock-keywords): Use octave-operator-regexp.
14802 (octave-completion-at-point): Rename from
14803 octave-completion-at-point-function.
14804 (inferior-octave-directory-tracker): Robustify.
14805 (octave-text-functions): Remove and fix its uses. No such things
14808 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14810 * emacs-lisp/trace.el (trace--display-buffer): New function.
14811 (trace-make-advice): Use it.
14813 2013-05-06 Juri Linkov <juri@jurta.org>
14815 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14816 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14818 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14819 in the help string. (Bug#12985)
14821 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14823 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14825 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14827 * progmodes/perl-mode.el: Add support for here documents.
14828 (perl-syntax-propertize-function): Match here-doc markers.
14829 (perl-syntax-propertize-special-constructs): Find their end.
14830 (perl-imenu-generic-expression): Use [:alnum:].
14832 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14833 (advice--add-function): Refresh the advice if already present
14836 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14838 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14840 2013-05-06 Glenn Morris <rgm@gnu.org>
14842 * w32-fns.el (w32-charset-info-alist): Declare.
14844 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14845 of its defcustom properties.
14846 (eshell-cmpl-initialize): No need to load pcomplete.
14848 * generic-x.el: No need to require comint when compiling.
14850 * net/eudc-export.el: Make it loadable without bbdb.
14851 (top-level): Use require rather than load-library.
14852 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14853 (eudc-batch-export-records-to-bbdb)
14854 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14857 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14859 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14860 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14861 some tweaks, instead.
14863 2013-05-05 Leo Liu <sdl.web@gmail.com>
14865 * progmodes/octave.el (octave-font-lock-keywords)
14866 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14867 (inferior-octave-send-list-and-digest): Improve error message.
14868 (octave-mode, inferior-octave-mode): Use setq-local.
14869 (octave-help): Set info-lookup-mode.
14871 2013-05-05 Richard Stallman <rms@gnu.org>
14873 * vc/compare-w.el (compare-windows-whitespace):
14874 Treat no-break space as whitespace.
14876 * mail/rmailsum.el (rmail-summary-rmail-update):
14877 Detect empty summary and don't change selected message.
14878 (rmail-summary-goto-msg): Likewise.
14880 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14881 Doc fixes, rename args.
14883 2013-05-05 Alan Mackenzie <acm@muc.de>
14885 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14887 2013-05-05 Juri Linkov <juri@jurta.org>
14889 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14890 to not add the length of the summary segment to the return value.
14893 2013-05-05 Leo Liu <sdl.web@gmail.com>
14895 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14896 (inferior-octave-output-filter): Remove.
14897 (octave-send-region, inferior-octave-startup): Fix callers.
14898 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14899 (octave-binary-file-extensions): New user variable.
14900 (octave-find-definition): Confirm if opening binary files.
14901 (octave-help-file): Use octave-find-definition to get the binary
14903 (octave-help): Adjust for octave-help-file change.
14905 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14907 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14908 Merge the two entries that handle function definitions.
14909 (pascal--syntax-propertize): New const.
14910 (pascal-mode): Use it. Use setq-local.
14912 2013-05-04 Glenn Morris <rgm@gnu.org>
14914 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14915 (diary-from-outlook): Respect diary-from-outlook-function.
14917 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14919 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14920 Move the declaration from C.
14921 (read-minibuffer, eval-minibuffer): Move from C.
14922 (completion-setup-function): Avoid minibuffer-completion-contents.
14924 2013-05-03 Leo Liu <sdl.web@gmail.com>
14926 * progmodes/octave.el (octave-font-lock-keywords): Do not
14927 dehighlight 'end' in comments or strings.
14928 (octave-completing-read, octave-goto-function-definition):
14930 (octave-help-buffer): New user variable.
14931 (octave-help-file, octave-help-function): New button types.
14932 (octave-help): New command and bind it to C-h ;.
14933 (octave-find-definition): New command and bind it to M-.
14934 (user-error): Alias to error if not defined.
14936 2013-05-02 Leo Liu <sdl.web@gmail.com>
14938 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14940 (octave-font-lock-keywords): Include [ and {.
14942 2013-05-02 Leo Liu <sdl.web@gmail.com>
14944 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14945 (inferior-octave): Remove calling comint-mode and return the buffer.
14946 (inferior-octave-startup): Cosmetic changes.
14948 2013-05-02 Leo Liu <sdl.web@gmail.com>
14950 * progmodes/octave.el (octave-syntax-propertize-function):
14951 Include the case when ' is at line beginning. (Bug#14336)
14953 2013-05-02 Glenn Morris <rgm@gnu.org>
14955 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14956 * desktop.el (vc-dir-mode): Just autoload it here.
14958 2013-05-02 Alan Mackenzie <acm@muc.de>
14960 Eliminate variable c-standard-font-lock-fontify-region-function.
14961 * progmodes/cc-mode.el
14962 (c-standard-font-lock-fontify-region-function): Remove.
14963 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14965 2013-05-01 Leo Liu <sdl.web@gmail.com>
14967 * progmodes/octave.el: Compatible with older emacs-24 releases.
14968 (inferior-octave-has-built-in-variables): Remove. Built-in
14969 variables were removed from Octave in 2007.
14970 (inferior-octave-startup): Fix uses.
14971 (comint-line-beginning-position): Remove compatibility code for
14974 2013-05-01 Juri Linkov <juri@jurta.org>
14976 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14978 2013-05-01 Juri Linkov <juri@jurta.org>
14980 * comint.el (comint-previous-matching-input): Don't print message
14981 "History item: %d" when `isearch-mode' is active.
14982 (comint-history-isearch-message): Print message "History item: %d"
14983 when `comint-input-ring-index' is not empty and this function is
14984 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14986 2013-05-01 Leo Liu <sdl.web@gmail.com>
14988 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14989 definitions. Use completion-at-point to insert keywords.
14990 (octave-abbrev-start): Remove.
14991 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14993 2013-04-30 Leo Liu <sdl.web@gmail.com>
14995 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14998 2013-04-30 Alan Mackenzie <acm@muc.de>
15000 Handle arbitrarily long C++ member initialisation lists.
15001 * progmodes/cc-engine.el (c-back-over-member-initializers):
15003 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15004 (most) member init lists.
15006 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15008 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15011 2013-04-30 Leo Liu <sdl.web@gmail.com>
15013 * progmodes/octave.el (octave-variables): Remove. No builtin
15014 variables any more. All converted to functions.
15015 (octave-font-lock-keywords, octave-completion-at-point-function):
15017 (octave-font-lock-texinfo-comment): New user variable.
15018 (octave-texinfo-font-lock-keywords): New variable for texinfo
15020 (octave-function-comment-block): New face.
15021 (octave-font-lock-texinfo-comment): New function.
15022 (octave-mode): Font lock texinfo comment block.
15024 2013-04-29 Leo Liu <sdl.web@gmail.com>
15026 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15027 indexing expression.
15028 (octave-continuation-string): Do not use \.
15029 (inferior-octave-complete-impossible): Remove.
15030 (inferior-octave-completion-table)
15031 (inferior-octave-completion-at-point): Remove its uses.
15032 (inferior-octave-startup): completion_matches was introduced to
15033 Octave in 1996 so safe to assume it.
15034 (octave-function-file-comment): Improve to follow how Octave does it.
15035 (octave-update-function-file-comment): Tweak.
15037 2013-04-29 Leo Liu <sdl.web@gmail.com>
15039 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15040 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15041 (octave-function-file-comment): Fix typo.
15042 (octave-sync-function-file-names): Use read-char-choice.
15044 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15046 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15047 to t for the less important warnings.
15049 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15051 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15053 2013-04-27 Glenn Morris <rgm@gnu.org>
15055 * vc/log-view.el (log-view-current-entry):
15056 Treat "---" separator lines as part of the following rev. (Bug#14169)
15058 2013-04-27 Juri Linkov <juri@jurta.org>
15060 * subr.el (read-number): Doc fix about using it by interactive
15061 code letter `n'. (Bug#14254)
15063 2013-04-27 Juri Linkov <juri@jurta.org>
15065 * desktop.el (desktop-auto-save-timeout): New option.
15066 (desktop-file-checksum): New variable.
15067 (desktop-save): Add optional arg `auto-save' and don't auto-save
15068 if nothing changed.
15069 (desktop-auto-save-timer): New variable.
15070 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15071 (after-init-hook): Call `desktop-auto-save-set-timer'.
15072 Suggested by Reuben Thomas <rrt@sc3d.org> in
15073 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15075 2013-04-27 Leo Liu <sdl.web@gmail.com>
15077 * progmodes/octave.el (octave-function-file-p)
15078 (octave-skip-comment-forward, octave-function-file-comment)
15079 (octave-update-function-file-comment): New functions.
15080 (octave-mode-map): Bind C-c ; to
15081 octave-update-function-file-comment.
15082 (octave-mode-menu): Add octave-update-function-file-comment.
15083 (octave-mode, inferior-octave-mode): Fix doc-string.
15084 (octave-insert-defun): Conform to Octave's coding convention.
15087 * files.el (basic-save-buffer): Don't let errors in
15088 before-save-hook prevent saving buffer.
15090 2013-04-20 Roland Winkler <winkler@gnu.org>
15092 * faces.el (read-face-name): Use completing-read if arg multiple
15095 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15097 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15098 displayed, move point to after the totals line.
15099 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15102 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15104 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15105 Add current dir to the load-path.
15106 (package-generate-autoloads): Don't rely on
15107 autoload-ensure-default-file.
15109 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15111 * textmodes/remember.el (remember-store-in-files): Document that
15112 the file name format is passed to `format-time-string'.
15114 2013-04-26 Leo Liu <sdl.web@gmail.com>
15116 * progmodes/octave.el (octave-sync-function-file-names): New function.
15117 (octave-mode): Use it in before-save-hook.
15119 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15121 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15124 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15125 \n and comment, even if it's not an implicit ; (bug#14218).
15127 2013-04-26 Glenn Morris <rgm@gnu.org>
15129 * subr.el (read-number): Once more use `read' rather than
15130 `string-to-number', to trap non-numeric input. (Bug#14254)
15132 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15134 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15135 Use `syntax-multiline' text property consistently instead of
15136 `font-lock-multiline'. (Bug#14237)
15138 2013-04-26 Glenn Morris <rgm@gnu.org>
15140 * emacs-lisp/shadow.el (list-load-path-shadows):
15141 No longer necessary to check for duplicate simple.el, since
15142 2012-07-07 change to init_lread to not include installation lisp
15143 directories in load-path when running uninstalled. (Bug#14270)
15145 2013-04-26 Leo Liu <sdl.web@gmail.com>
15147 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15148 (octave-mode, inferior-octave-mode): Use setq-local.
15149 (octave-not-in-string-or-comment-p): Rename to
15150 octave-in-string-or-comment-p.
15151 (octave-in-comment-p, octave-in-string-p)
15152 (octave-in-string-or-comment-p): Replace defsubst with defun.
15154 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15156 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15158 2013-04-25 Bastien Guerry <bzg@gnu.org>
15160 * textmodes/remember.el (remember-data-directory)
15161 (remember-directory-file-name-format): Fix custom types.
15163 2013-04-25 Leo Liu <sdl.web@gmail.com>
15165 * progmodes/octave.el (octave-completion-at-point-function):
15166 Make use of inferior octave process.
15167 (octave-initialize-completions): Remove.
15168 (inferior-octave-completion-table): New function.
15169 (inferior-octave-completion-at-point): Use it.
15170 (octave-completion-alist): Remove.
15172 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15174 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15175 (opascal-mode-syntax-table): New var.
15176 (opascal-literal-kind, opascal-is-literal-end)
15177 (opascal-literal-token-at): Rewrite.
15178 (opascal--literal-start-re, opascal-font-lock-keywords)
15179 (opascal--syntax-propertize): New constants.
15180 (opascal-font-lock-defaults): Adjust.
15181 (opascal-mode): Use them. Set comment-<foo> variables as well.
15182 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15183 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15184 (delphi-other-face, opascal-other-face): Remove face variables.
15185 (opascal-save-state): Remove macro.
15186 (opascal-fontifying-progress-step): Remove constant.
15187 (opascal--ignore-changes): Remove var.
15188 (opascal-set-token-property, opascal-parse-next-literal)
15189 (opascal-is-stable-literal, opascal-complete-literal)
15190 (opascal-is-literal-start, opascal-face-of)
15191 (opascal-parse-region, opascal-parse-region-until-stable)
15192 (opascal-fontify-region, opascal-after-change)
15193 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15194 (opascal-debug-parse-region, opascal-debug-parse-window)
15195 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15196 (opascal-debug-fontify-buffer): Remove.
15197 (opascal-debug-mode-map): Adjust accordingly.
15199 2013-04-25 Leo Liu <sdl.web@gmail.com>
15201 Merge octave-mod.el and octave-inf.el into octave.el with some
15203 * progmodes/octave.el: New file renamed from octave-mod.el.
15204 * progmodes/octave-inf.el: Merged into octave.el.
15205 * progmodes/octave-mod.el: Renamed to octave.el.
15207 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15209 * textmodes/reftex-vars.el
15210 (reftex-label-ignored-macros-and-environments): New defcustom.
15212 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15214 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15216 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15217 (smie-indent-keyword): Improve the check to ensure that the next
15218 comment is really on the same line.
15219 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15221 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15222 semi-colons if the line is not otherwise empty (bug#14218).
15224 2013-04-25 Glenn Morris <rgm@gnu.org>
15226 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15228 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15230 * progmodes/opascal.el (opascal-set-token-property): Rename from
15231 opascal-set-text-properties and only set `token' (bug#14134).
15232 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15233 (opascal-literal-text-properties): Remove.
15234 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15237 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15239 * textmodes/remember.el (remember-handler-functions): Add an
15240 option for a new handler `remember-store-in-files'.
15241 (remember-data-directory, remember-directory-file-name-format):
15243 (remember-store-in-files): New function to store remember notes
15244 as separate files within a directory.
15246 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15248 * progmodes/compile.el (compilation-next-error-function):
15249 Pass "formats" to compilation-find-file (bug#11777).
15251 2013-04-24 Glenn Morris <rgm@gnu.org>
15253 * vc/vc-bzr.el (vc-bzr-print-log):
15254 * vc/vc-hg.el (vc-hg-print-log):
15255 * vc/vc-svn.el (vc-svn-print-log):
15256 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15258 * vc/vc-bzr.el (vc-bzr-print-log):
15259 * vc/vc-cvs.el (vc-cvs-print-log):
15260 * vc/vc-git.el (vc-git-print-log):
15261 * vc/vc-hg.el (vc-hg-print-log):
15262 * vc/vc-mtn.el (vc-mtn-print-log):
15263 * vc/vc-rcs.el (vc-rcs-print-log):
15264 * vc/vc-sccs.el (vc-sccs-print-log):
15265 * vc/vc-svn.el (vc-svn-print-log):
15266 * vc/vc.el (vc-print-log-internal): Doc fixes.
15268 2013-04-23 Glenn Morris <rgm@gnu.org>
15270 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15271 Remove venerable code attempting to avoid substitute-command-keys.
15273 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15275 * textmodes/reftex-vars.el (reftex-label-regexps):
15276 Call `reftex-compile-variables' after changes to this variable.
15278 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15280 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15281 Use lexical-binding.
15282 (jit-lock-force-redisplay): Use markers, check buffer's continued
15283 existence and beware narrowed buffers.
15284 (jit-lock-fontify-now): Adjust call accordingly.
15286 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15288 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15289 to avoid misleading the user.
15291 2013-04-22 Leo Liu <sdl.web@gmail.com>
15293 * info-look.el: Prefer latex2e.info. (Bug#14240)
15295 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15297 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15299 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15300 * net/tramp.el (tramp-call-process): ... here.
15301 (tramp-set-completion-function, tramp-parse-putty):
15302 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15303 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15304 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15305 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15306 (tramp-call-local-coding-command): Use `tramp-call-process'
15307 instead of `tramp-compat-call-process'.
15309 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15310 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15311 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15312 (tramp-find-inline-compress): Improve traces.
15313 (tramp-maybe-send-script): Check for Perl binary.
15314 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15316 2013-04-22 Daiki Ueno <ueno@gnu.org>
15318 * epg.el (epg-context-pinentry-mode): New function.
15319 (epg-context-set-pinentry-mode): New function.
15320 (epg--start): Pass --pinentry-mode option to gpg command.
15322 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15324 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15325 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15326 `completion-at-point'. (Bug#13774)
15328 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15329 default key binding for `describe-distribution' has been moved to
15330 `C-h C-o'. (Bug#13970)
15332 2013-04-21 Glenn Morris <rgm@gnu.org>
15334 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15336 (vc-print-log): Clarify interactive prompt.
15338 2013-04-20 Glenn Morris <rgm@gnu.org>
15340 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15341 No longer include timestamp etc information.
15343 2013-04-20 Roland Winkler <winkler@gnu.org>
15345 * faces.el (read-face-name): Bug fix, return just one face if arg
15346 multiple is nil. (Bug#14209)
15348 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15350 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15351 (remove-function): Autoload.
15353 * comint.el (comint-redirect-original-filter-function): Remove.
15354 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15355 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15356 (vc-cvs-annotate-command):
15357 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15358 * progmodes/prolog.el (prolog-consult-compile):
15359 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15360 Use add/remove-function instead.
15361 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15362 (gud-tooltip-process-output, gud-tooltip-tips):
15363 Use add/remove-function instead.
15364 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15365 (scheme-interaction-mode, exit-scheme-interaction-mode):
15366 Use add/remove-function instead.
15368 * vc/vc-dispatcher.el: Use lexical-binding.
15369 (vc--process-sentinel): Rename from vc-process-sentinel.
15370 Change last arg to be the code to run. Don't use vc-previous-sentinel
15371 and vc-sentinel-commands any more.
15372 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15373 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15375 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15377 * progmodes/sh-script.el (sh-imenu-generic-expression):
15378 Handle function names with a single character. (Bug#14111)
15380 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15382 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15383 for subroutines defined in an eval (bug#14182).
15385 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15387 * bookmark.el (bookmark-completing-read): Improve handling of empty
15388 string (bug#14176).
15390 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15392 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15394 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15396 New faster Imenu implementation (bug#14058).
15397 * progmodes/python.el:
15398 (python-imenu-prev-index-position):
15399 (python-imenu-format-item-label-function)
15400 (python-imenu-format-parent-item-label-function)
15401 (python-imenu-format-parent-item-jump-label-function):
15403 (python-imenu-format-item-label)
15404 (python-imenu-format-parent-item-label)
15405 (python-imenu-format-parent-item-jump-label)
15406 (python-imenu--put-parent, python-imenu--build-tree)
15407 (python-imenu-create-index, python-imenu-create-flat-index)
15408 (python-util-popn): New functions.
15409 (python-mode): Set imenu-create-index-function to
15410 python-imenu-create-index.
15412 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15414 * winner.el (winner-active-region): Use region-active-p, activate-mark
15415 and deactivate-mark (bug#14225).
15417 * simple.el (deactivate-mark): Don't inline it.
15419 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15421 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15423 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15425 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15426 file extensions from the archive-mode entry in order to prefer
15427 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15429 2013-04-18 Leo Liu <sdl.web@gmail.com>
15431 * bindings.el (help-event-list): Add ?\?.
15433 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15435 * subr.el (with-wrapper-hook): Declare obsolete.
15436 * simple.el (filter-buffer-substring-function): New hook.
15437 (filter-buffer-substring): Use it.
15438 (filter-buffer-substring-functions): Mark obsolete.
15439 * minibuffer.el (completion-in-region-function): New hook.
15440 (completion-in-region): Use it.
15441 (completion-in-region-functions): Mark obsolete.
15442 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15443 * abbrev.el (abbrev-expand-function): New hook.
15444 (expand-abbrev): Use it.
15445 (abbrev-expand-functions): Mark obsolete.
15446 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15447 and :filter-return.
15449 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15451 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15452 and do not care about match data.
15454 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15456 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15457 completion tables when completing error conditions and
15458 `declare' arguments.
15459 (lisp-complete-symbol, field-complete): Mark as obsolete.
15460 (check-parens): Unmatched parens are user errors.
15461 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15463 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15465 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15466 command changed buffer (ie. `flyspell-pre-buffer' is not current
15467 buffer), which prevents making decisions based on invalid value of
15468 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15469 cause an error when `flyspell-pre-point' was nil after switching
15471 (flyspell-post-command-hook): No longer needs to change buffers when
15472 checking pre-word. While at it remove unnecessary progn.
15474 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15476 * textmodes/ispell.el (ispell-add-per-file-word-list):
15477 Fix `flyspell-correct-word-before-point' error when accepting
15478 words and `coment-padding' is an integer by using
15479 `comment-normalize-vars' (Bug #14214).
15481 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15483 New defun movement commands.
15484 * progmodes/python.el (python-nav--syntactically)
15485 (python-nav--forward-defun, python-nav-backward-defun)
15486 (python-nav-forward-defun): New functions.
15488 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15490 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15491 (python-syntax-context): Use named compiler-macro for backwards
15492 compatibility with Emacs 24.x.
15494 2013-04-17 Leo Liu <sdl.web@gmail.com>
15496 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15497 octave-hide-process-buffer.
15499 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15501 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15504 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15506 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15507 Fix adjustment of offset when receiving incomplete responses from GDB
15510 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15512 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15513 python-mode-abbrev-table.
15514 (python-skeleton-define): Adjust accordingly.
15515 (python-mode-abbrev-table): New table that inherits from it so that
15516 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15518 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15519 (abbrev-symbol): Use it.
15520 (abbrev--before-point): Use it since we already handle inheritance.
15522 2013-04-16 Leo Liu <sdl.web@gmail.com>
15524 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15525 binding to info-lookup-symbol.
15527 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15529 * minibuffer.el (completion--twq-all):
15530 * term/ns-win.el (ns-initialize-window-system):
15531 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15533 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15535 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15538 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15540 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15542 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15543 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15545 (ruby-end-of-defun): Remove the unused arg, change the docstring
15546 to reflect that this function is only used as the value of
15547 `end-of-defun-function'.
15548 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15549 to reflect an earlier change that beginning/end-of-defun functions
15550 jump between methods in a class definition, as well as top-level
15553 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15555 * minibuffer.el (minibuffer-complete): Don't just scroll
15556 a *Completions* that's been iconified.
15557 (minibuffer-force-complete): Make sure repetitions do cycle when going
15558 through completion-in-region -> minibuffer-complete.
15560 2013-04-15 Alan Mackenzie <acm@muc.de>
15562 Correct the placement of c-cpp-delimiters when there're #s not at
15565 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15566 place a submatch around the #.
15567 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15568 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15571 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15573 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15574 (advice--member-p): New arg `name'.
15575 (advice--add-function, advice-member-p): Use it (bug#14202).
15577 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15579 Reformulate java imenu-generic-expression.
15580 The old expression contained ill formed regexps.
15582 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15583 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15584 (cc-imenu-java-method-arg-regexp): New defconsts.
15585 (cc-imenu-java-build-type-args-regex): New defun.
15586 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15587 handling of spaces in the regexp.
15589 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15591 * textmodes/ispell.el (ispell-command-loop): Remove
15592 flyspell highlight of a word when ispell accepts it (bug #14178).
15594 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15596 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15597 uses code from the previous `ange-ftp-run-real-handler'.
15598 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15599 only in case that function exist. This is needed for proper
15600 unloading of Tramp.
15602 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15604 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15606 * textmodes/reftex.el (reftex-compile-variables): Use it.
15608 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15610 * files.el (normal-mode): Only use default major-mode if no other mode
15613 * emacs-lisp/trace.el (trace-values): New function.
15615 * files.el: Allow : in local variables (bug#14089).
15616 (hack-local-variable-regexp): New var.
15617 (hack-local-variables-prop-line, hack-local-variables): Use it.
15619 2013-04-13 Roland Winkler <winkler@gnu.org>
15621 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15622 data before it gets modified by bibtex-beginning-of-entry.
15624 2013-04-13 Roland Winkler <winkler@gnu.org>
15626 * textmodes/bibtex.el (bibtex-url): Doc fix.
15628 2013-04-13 Roland Winkler <winkler@gnu.org>
15630 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15631 does not visit a BibTeX file, exclude it from the list of buffers
15632 returned by bibtex-initialize.
15634 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15636 * window.el (split-window): Remove interactive form, since as a
15637 command this function is a special case of split-window-below.
15638 Correct doc string.
15640 2013-04-12 Roland Winkler <winkler@gnu.org>
15642 * faces.el (read-face-name): Do not override value of arg default.
15643 Allow single faces and strings as default values. Remove those
15644 elements from return value that are not faces.
15645 (describe-face): Simplify.
15646 (face-at-point): New optional args thing and multiple so that this
15647 function can provide the same functionality previously provided by
15649 (make-face-bold, make-face-unbold, make-face-italic)
15650 (make-face-unitalic, make-face-bold-italic, invert-face)
15651 (modify-face, read-face-and-attribute): Use face-at-point.
15653 * cus-edit.el (customize-face, customize-face-other-window)
15654 * cus-theme.el (custom-theme-add-face)
15655 * face-remap.el (buffer-face-set)
15656 * facemenu.el (facemenu-set-face): Use face-at-point.
15658 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15660 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15662 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15664 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15665 off leading { and trailing } from field values.
15667 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15669 * emacs-lisp/timer.el (timer--check): New function.
15670 (timer--time, timer-set-function, timer-event-handler): Use it.
15671 (timer-set-idle-time): Simplify.
15672 (timer--activate): CSE.
15673 (timer-event-handler): Give more info in error message.
15674 (internal-timer-start-idle): New function, moved from C.
15676 * mpc.el (mpc-proc): Add `restart' argument.
15677 (mpc-proc-cmd): Use it.
15678 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15679 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15682 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15684 * progmodes/sh-script.el: Implement `sh-mode' own
15685 `add-log-current-defun-function' (bug#14112).
15686 (sh-current-defun-name): New function.
15687 (sh-mode): Use the function.
15689 2013-04-09 Bastien Guerry <bzg@gnu.org>
15691 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15693 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15695 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15697 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15700 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15702 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15705 2013-04-07 Leo Liu <sdl.web@gmail.com>
15707 * pcmpl-x.el: New file.
15709 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15711 Do not set x-display-name until X connection is established.
15712 This is needed to prevent from weird situation described at
15713 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15714 * frame.el (make-frame): Set x-display-name after call to
15715 window system initialization function, not before.
15716 * term/x-win.el (x-initialize-window-system): Add optional
15717 display argument and use it.
15718 * term/w32-win.el (w32-initialize-window-system):
15719 * term/ns-win.el (ns-initialize-window-system):
15720 * term/pc-win.el (msdos-initialize-window-system):
15721 Add compatible optional display argument.
15723 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15725 * files.el (normal-backup-enable-predicate): On MS-Windows and
15726 MS-DOS compare truenames of temporary-file-directory and of the
15727 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15728 don't fail comparison by compare-strings. Also, compare file
15729 names case-insensitively on MS-Windows and MS-DOS.
15731 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15733 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15734 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15736 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15738 * whitespace.el (whitespace-color-on, whitespace-color-off):
15739 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15741 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15743 * ispell.el (ispell-set-spellchecker-params):
15744 Really set `ispell-args' for all equivs.
15746 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15748 * ido.el (ido-completions): Use extra elements of ido-decorations
15750 (ido-decorations): Update docstring.
15752 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15754 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15755 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15756 nil during initialization, in order not to miss changes since the
15757 file was opened. (Bug#14140)
15759 2013-04-05 Leo Liu <sdl.web@gmail.com>
15761 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15763 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15765 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15767 2013-04-04 Glenn Morris <rgm@gnu.org>
15769 * electric.el (electric-pair-inhibit-predicate): Add :version.
15771 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15773 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15774 when a package is required several times (bug#14082).
15776 2013-04-04 Roland Winkler <winkler@gnu.org>
15778 * faces.el (read-face-name): Behave as promised by the docstring.
15779 Assume that arg default is a list of faces.
15780 (describe-face): Call read-face-name with list of default faces.
15782 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15784 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15785 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15786 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15788 (bookmark-exit-hook-internal): Save even if list is empty.
15790 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15792 * emacs-lisp/package.el (package-pinned-packages): New var.
15793 (package--add-to-archive-contents): Obey it (bug#14118).
15795 2013-04-03 Alan Mackenzie <acm@muc.de>
15797 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15798 Also adapt to the new values of element 7 of a parse state.
15800 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15801 parameter `not-in-delimiter'. Handle being inside comment opener.
15802 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15803 character in case we're typing a '*' after a '/'.
15804 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15805 instead by passing the parameter to c-state-pp-to-literal.
15807 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15808 for elt. 7 of a parse state.
15810 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15812 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15813 * international/latin1-disp.el, international/mule-util.el:
15814 * language/cyril-util.el, language/european.el, language/ind-util.el:
15815 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15816 * language/tibetan.el, language/viet-util.el:
15817 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15819 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15821 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15822 (electric-pair-post-self-insert-function): Use it.
15823 (electric-pair-default-inhibit): New function, extracted from
15824 electric-pair-post-self-insert-function.
15826 2013-03-31 Roland Winkler <winkler@gnu.org>
15828 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15830 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15832 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15834 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15836 Un-indent after "pass" and "return" statements (Bug#13888)
15837 * progmodes/python.el (python-indent-block-enders): New var.
15838 (python-indent-calculate-indentation): Use it.
15840 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15842 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15843 defun. Defining it as defalias could introduce too eager
15844 byte-compiler optimization. (Bug#14030)
15846 2013-03-30 Chong Yidong <cyd@gnu.org>
15848 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15850 2013-03-30 Leo Liu <sdl.web@gmail.com>
15852 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15853 (kmacro-execute-from-register): Pass the keyboard macro to
15854 kmacro-call-macro or repeating won't work correctly.
15856 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15858 * progmodes/subword.el: Back to using `forward-symbol'.
15860 * subr.el (forward-whitespace, forward-symbol)
15861 (forward-same-syntax): Move from thingatpt.el.
15863 2013-03-29 Leo Liu <sdl.web@gmail.com>
15865 * kmacro.el (kmacro-to-register): New command.
15866 (kmacro-execute-from-register): New function.
15867 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15869 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15871 * mpc.el: Use defvar-local and setq-local.
15872 (mpc--proc-connect): Connection failures are not bugs.
15873 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15874 (mpc-volume-map): Bind to the up-events.
15876 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15878 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15879 instead of `forward-symbol'.
15881 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15883 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15884 (edebug--recursive-edit): Use it.
15885 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15886 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15888 2013-03-28 Leo Liu <sdl.web@gmail.com>
15890 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15892 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15894 * facemenu.el (list-colors-callback): New defvar.
15895 (list-colors-redisplay): New function.
15896 (list-colors-display): Install list-colors-redisplay as the
15897 revert-buffer-function. (Bug#14063)
15899 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15901 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15902 and suffixes don't overlap (bug#14061).
15904 * case-table.el: Use lexical-binding.
15905 (case-table-get-table): New function.
15906 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15908 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15910 * progmodes/subword.el: Add `superword-mode' to do word motion
15911 over symbol_words (parallels and leverages `subword-mode' which
15912 does word motion inside MixedCaseWords).
15914 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15916 * eshell/em-unix.el: Move su and sudo to...
15917 * eshell/em-tramp.el: ...Eshell tramp module.
15919 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15921 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15922 Change return value to be a sexp. Delay `get-buffer' to after
15923 restoring the desktop (bug#13951).
15925 2013-03-26 Leo Liu <sdl.web@gmail.com>
15927 * register.el: Move semantic tag handling back to
15928 cedet/semantic/senator.el. (Bug#14052)
15930 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15932 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15933 into the prompt either (bug#13963).
15935 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15937 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15938 part of "(error-foo)".
15940 2013-03-24 Juri Linkov <juri@jurta.org>
15942 * replace.el (list-matching-lines-prefix-face): New defcustom.
15943 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15944 `occur-engine' if `face-differs-from-default-p' returns t.
15945 (occur-engine): Add `,' inside backquote construct to evaluate
15946 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15947 Pass `prefix-face' to the functions `occur-context-lines' and
15948 `occur-engine-add-prefix'.
15949 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15950 `prefix-face' and propertize the prefix with `prefix-face'.
15953 2013-03-24 Leo Liu <sdl.web@gmail.com>
15955 * nxml/rng-valid.el (rng-validate-while-idle)
15956 (rng-validate-quick-while-idle): Guard against deleted buffer.
15959 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15960 is the last entry in kill-buffer-hook.
15962 * files.el (kill-buffer-hook): Doc fix.
15964 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15966 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15967 Make it safe-local.
15969 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15971 2013-03-23 Leo Liu <sdl.web@gmail.com>
15973 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15976 * nxml/rng-valid.el (rng-validate-mode)
15977 (rng-after-change-function, rng-do-some-validation):
15978 * nxml/rng-maint.el (rng-validate-buffer):
15979 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15980 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15981 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15982 (nxml-extend-after-change-region): Use with-silent-modifications.
15984 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15987 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15988 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15989 timer-idle-list. (Bug#13999)
15991 2013-03-23 Juri Linkov <juri@jurta.org>
15993 * info.el (info-index-match): New face.
15994 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15995 main pattern and add text properties with the new face to matches
15996 in index entries relative to the beginning of the index entry.
15999 2013-03-21 Eric Ludlam <zappo@gnu.org>
16001 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16002 Inhibit read only while inserting objects.
16004 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16006 * progmodes/cfengine.el: Update docs to mention
16007 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16008 symbol motion. Remove "_" from the word syntax.
16010 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16012 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16013 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16015 2013-03-20 Juri Linkov <juri@jurta.org>
16017 * info.el (Info-next-reference-or-link)
16018 (Info-prev-reference-or-link): New functions.
16019 (Info-next-reference, Info-prev-reference): Use them.
16020 (Info-try-follow-nearest-node): Handle footnote navigation.
16021 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16023 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16025 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16026 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16028 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16030 Suppress unnecessary non-ASCII chatter during build process.
16031 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16032 (batch-skkdic-convert): Suppress most of the chatter.
16033 It's not needed so much now that machines are faster,
16034 and its non-ASCII component was confusing; see Dmitry Gutov in
16035 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16037 2013-03-20 Leo Liu <sdl.web@gmail.com>
16039 * ido.el (ido-chop): Fix bug#10994.
16041 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16043 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16045 (whitespace-color-on, whitespace-color-off):
16046 Use `font-lock-fontify-buffer' (Bug#13817).
16048 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16050 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16051 remapping in mode-line.
16052 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16054 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16056 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16057 value for `whitespace-line' face (Bug#13875).
16058 (whitespace-font-lock-keywords): Change description.
16059 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16060 the constructed keywords instead.
16061 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16063 2013-03-19 Leo Liu <sdl.web@gmail.com>
16065 * progmodes/compile.el (compilation-display-error): New command.
16066 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16069 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16071 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16073 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16075 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16077 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16079 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16081 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16082 * net/tramp-gvfs.el (top):
16083 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16084 (tramp-handle-shell-command): Use it.
16085 (tramp-dissect-file-name): Raise an error when hostname is a
16086 method name, and neither method nor user is specified.
16088 * net/trampver.el: Update release number.
16090 2013-03-18 Leo Liu <sdl.web@gmail.com>
16092 Make sure eldoc can be turned off properly.
16093 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16095 (eldoc-display-message-p): Revert last change.
16096 (eldoc-display-message-no-interference-p)
16097 (eldoc-print-current-symbol-info): Tweak.
16099 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16101 * doc-view.el (doc-view-new-window-function): Check the new window
16102 overlay's display property instead the char property of the
16103 buffer's first char. Use `with-selected-window' instead of
16104 `save-window-excursion' with `select-window'.
16105 (doc-view-document->bitmap): Check the current doc-view overlay's
16106 display property instead the char property of the buffer's first char.
16108 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16110 Automate the build of ja-dic.el (Bug#13984).
16111 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16112 from the input, rather than assume that it's been done for us by the
16113 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16114 the current date into a ja-dic.el comment, as that complicates
16115 regression testing.
16117 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16119 * whitespace.el: Fix double evaluation.
16120 (whitespace-space, whitespace-hspace, whitespace-tab)
16121 (whitespace-newline, whitespace-trailing, whitespace-line)
16122 (whitespace-space-before-tab, whitespace-indentation)
16123 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16125 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16126 (whitespace-color-on): Use a single font-lock-add-keywords call.
16127 Fix double-evaluation of face variables.
16129 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16131 * net/tramp-adb.el (tramp-adb-parse-device-names):
16132 Use `start-process' instead of `call-process'. Otherwise, the
16133 function might be blocked under MS Windows. (Bug#13299)
16135 2013-03-17 Leo Liu <sdl.web@gmail.com>
16137 Extend eldoc to display info in the mode-line. (Bug#13978)
16138 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16139 (eldoc-mode-line-string): New variable.
16140 (eldoc-minibuffer-message): New function.
16141 (eldoc-message-function): New variable.
16142 (eldoc-message): Use it.
16143 (eldoc-display-message-p)
16144 (eldoc-display-message-no-interference-p):
16145 Support eldoc-post-insert-mode.
16147 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16148 (eval-expression): Run it.
16150 2013-03-17 Roland Winkler <winkler@gnu.org>
16152 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16153 strings in the list of return values.
16155 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16157 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16158 radix before checking for HMS forms.
16160 2013-03-16 Leo Liu <sdl.web@gmail.com>
16162 * progmodes/scheme.el: Add indentation and font-locking for λ.
16165 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16167 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16168 token before point (bug#13942).
16170 2013-03-16 Leo Liu <sdl.web@gmail.com>
16172 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16174 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16176 * startup.el (command-line-normalize-file-name): Fix handling of
16177 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16178 <xfq.free@gmail.com> in
16179 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16181 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16183 Sync with Tramp 2.2.7.
16185 * net/trampver.el: Update release number.
16187 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16189 * doc-view.el: Fix bug#13887.
16190 (doc-view-insert-image): Don't modify overlay associated to
16191 non-live windows, and implement horizontal centering of image in
16192 case it's smaller than the window.
16193 (doc-view-new-window-function): Force redisplay of new windows on
16196 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16198 * saveplace.el (save-place-alist-to-file): Don't sort
16199 `save-place-alist', just pretty-print it (bug#13882).
16201 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16203 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16204 Check whether `default-file-name-coding-system' is bound.
16205 It isn't in XEmacs.
16207 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16209 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16210 backquotes for `obsolete' (bug#13929).
16212 * international/mule.el (find-auto-coding): Include file name in
16213 obsolescence warning (bug#13922).
16215 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16217 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16218 for CFEngine 3-specific indentation.
16219 (cfengine3-indent-line): Use it. Fix up category regex.
16220 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16222 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16224 * type-break.el (type-break-file-name):
16225 * textmodes/remember.el (remember-data-file):
16226 * strokes.el (strokes-file):
16227 * shadowfile.el (shadow-initialize):
16228 * saveplace.el (save-place-file):
16229 * ps-bdf.el (bdf-cache-file):
16230 * progmodes/idlwave.el (idlwave-config-directory):
16231 * net/quickurl.el (quickurl-url-file):
16232 * international/kkc.el (kkc-init-file-name):
16233 * ido.el (ido-save-directory-list-file):
16234 * emulation/viper.el (viper-custom-file-name):
16235 * emulation/vip.el (vip-startup-file):
16236 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16237 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16239 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16241 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16242 * language/thai-word.el: Switch to UTF-8.
16244 See ChangeLog.16 for earlier changes.
16246 ;; Local Variables:
16250 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16252 This file is part of GNU Emacs.
16254 GNU Emacs is free software: you can redistribute it and/or modify
16255 it under the terms of the GNU General Public License as published by
16256 the Free Software Foundation, either version 3 of the License, or
16257 (at your option) any later version.
16259 GNU Emacs is distributed in the hope that it will be useful,
16260 but WITHOUT ANY WARRANTY; without even the implied warranty of
16261 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16262 GNU General Public License for more details.
16264 You should have received a copy of the GNU General Public License
16265 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.