1 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
4 * emacs-lisp/cl-extra.el: Add missing provide.
6 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
9 all args are copyable (bug#18767).
10 (=, <, >, <=, >=): Re-enable the optimization.
12 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
14 * vc/vc-hg.el (vc-hg-log-graph): New var.
15 (vc-hg-print-log): Use it.
16 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
17 graph output (bug#17515).
19 2014-10-20 Juri Linkov <juri@jurta.org>
21 * vc/diff-mode.el (diff-refine-changed): Rename from
22 `diff-refine-change' for consistency with `diff-changed'.
23 (diff-refine-change): Add obsolete face alias. (Bug#10181)
25 * vc/smerge-mode.el (smerge-refined-changed): Rename from
26 `smerge-refined-change'.
27 (smerge-refined-change): Add obsolete face alias.
29 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
31 * subr.el (call-process-shell-command, process-file-shell-command):
32 Make the `args' obsolete (bug#18409).
33 (start-process-shell-command, start-file-process-shell-command):
36 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
38 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
40 2014-10-20 Glenn Morris <rgm@gnu.org>
42 * dired.el (dired-read-regexp): Make obsolete.
43 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
44 (dired-flag-files-regexp):
45 * dired-aux.el (dired-mark-read-regexp):
46 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
48 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
50 * progmodes/python.el (inferior-python-mode): Use add-hook.
52 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
54 2014-10-20 Glenn Morris <rgm@gnu.org>
56 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
57 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
58 * emulation/ws-mode.el: Move to obsolete/. [Backport]
60 2014-10-20 Glenn Morris <rgm@gnu.org>
62 * cus-start.el (history-length): Bump :version. [Backport]
64 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
66 * obsolete/cc-compat.el: Make obsolete (bug#18561).
68 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
70 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
73 2014-10-20 Glenn Morris <rgm@gnu.org>
75 * Version 24.4 released.
77 2014-10-15 Alan Mackenzie <acm@muc.de>
79 * cus-edit.el (custom-command-apply): Specify the return value in
81 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
82 custom-command-apply has returned non-nil.
84 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
86 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
87 Backported (bug#18688).
89 2014-10-14 Eli Zaretskii <eliz@gnu.org>
91 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
92 Force bidi-paragraph-direction to 'left-to-right'. This fixes
93 buffer-menu display when the first buffer happens to start with
96 2014-10-13 Glenn Morris <rgm@gnu.org>
98 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
99 (authors-obsolete-files-regexps): Additions.
100 (authors-no-scan-regexps): New constant.
101 (authors-no-scan-file-p): New function.
102 (authors): Respect authors-no-scan-file-p.
104 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
106 Fix import completion. (Bug#18582)
107 * progmodes/python.el (python-shell-completion-get-completions):
108 Fix import case regexp.
110 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
112 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
113 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
114 * progmodes/prolog.el (prolog-electric--underscore): Same.
116 2014-10-09 Glenn Morris <rgm@gnu.org>
118 * frame.el (display-monitor-attributes-list): Doc tweaks.
120 2014-10-08 Eli Zaretskii <eliz@gnu.org>
122 * faces.el (display-grayscale-p): Mention in the doc string that
123 the argument can be either a display name or a frame.
125 * frame.el (display-pixel-height, display-pixel-width)
126 (display-mm-height, display-mm-width, display-backing-store)
127 (display-save-under, display-planes, display-color-cells)
128 (display-visual-class, display-monitor-attributes-list)
129 (display-screens): Mention in the doc string that the argument can
130 be either a display name or a frame. Improve the docs of the
131 monitor attributes. (Bug#18636)
133 2014-10-06 Martin Rudalics <rudalics@gmx.at>
135 * term.el (term-window-width): Subtract 1 from the width when
136 any fringe has zero width, not just the right fringe. (Bug#18601)
138 2014-10-05 Leo Liu <sdl.web@gmail.com>
140 * imenu.el (imenu-default-goto-function): Fix typo.
142 2014-10-04 Glenn Morris <rgm@gnu.org>
144 * frame.el (frame-monitor-attributes)
145 (display-monitor-attributes-list): Doc fixes.
147 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
149 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
150 (vc-svn-ignore): Use it. (Bug#18619)
152 2014-10-03 Martin Rudalics <rudalics@gmx.at>
154 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
155 In doc-string mention need to set `frame-resize-pixelwise'.
157 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
159 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
160 similarly to Rogers's 2010-06-16 change for the remote case
163 2014-10-01 Glenn Morris <rgm@gnu.org>
165 * emacs-lisp/package.el (package-import-keyring):
166 Create gnupg directory private. (Bug#17625#155)
168 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
170 * progmodes/python.el (python-shell-completion-get-completions):
171 Use python-shell--prompt-calculated-input-regexp from the
172 process buffer (bug#18582).
173 Don't assume that `line' comes from the process buffer.
175 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
177 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
180 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
182 * emacs-lisp/package.el (package-check-signature): Default to nil if
183 GPG is not available.
184 (package-refresh-contents): Don't mess with the keyring if we won't
185 check the signatures anyway.
187 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
189 * window.el (fit-window-to-buffer): When counting buffer width,
190 count the whole visible buffer. Correctly convert the body-height
191 to pixel size for window-text-pixel-size (Bug#18498).
193 2014-09-14 Glenn Morris <rgm@gnu.org>
195 * image.el (image-multi-frame-p): Fix thinko - do not force
196 a delay if none was specified. (Bug#18334)
198 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
200 * window.el (fit-window-to-buffer): Doc fix.
202 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
204 * desktop.el (desktop-create-buffer): Check that buffers are still live
205 before burying them (bug#18373).
207 2014-09-09 Glenn Morris <rgm@gnu.org>
209 * calendar/diary-lib.el (diary-list-entries):
210 Restore 24.3 display behavior. (Bug#18381)
212 2014-09-09 Eli Zaretskii <eliz@gnu.org>
214 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
215 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
216 discrepancy between window-pixel-edges and mouse events, and
217 avoids moving mode line up when the mouse click is on the modeline
218 and no drag is attempted.
220 2014-09-08 Glenn Morris <rgm@gnu.org>
222 * calendar/calendar.el (calendar-basic-setup):
223 Avoid clobbering calendar with diary. (Bug#18381)
225 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
227 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
229 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
231 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
234 2014-09-04 Eli Zaretskii <eliz@gnu.org>
236 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
238 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
240 * emacs-lisp/package.el (package-generate-description-file):
241 Properly quote the arguments (bug#18332). Change second arg.
242 (package--alist-to-plist-args): Rename from package--alist-to-plist and
244 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
245 the *-pkg.el file. Adjust to new calling convention of
246 package-generate-description-file.
248 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
249 (gud-gdb-completions): Remove obsolete workaround.
251 2014-09-02 Eli Zaretskii <eliz@gnu.org>
253 * subr.el (posn-col-row): Revert the change from commit
254 2010-11-13T21:07:58Z!eliz@gnu.org, which
255 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
256 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
257 introduced an off-by-one error in the reported row when there is a
258 header line. (Bug#18384)
260 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
262 * progmodes/python.el (python-indent-post-self-insert-function):
263 Avoid electric colon at beginning-of-defun. (Bug#18228)
265 2014-09-01 Glenn Morris <rgm@gnu.org>
267 * tutorial.el (tutorial--display-changes):
268 Fix 2014-07-29 change. (Bug#18382)
270 2014-08-29 Ken Brown <kbrown@cornell.edu>
272 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
273 the Cygwin-w32 build. (Bug#18347)
275 2014-08-28 Glenn Morris <rgm@gnu.org>
277 * tar-mode.el (tar--extract, tar-extract):
278 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
280 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
282 * emacs-lisp/authors.el (authors-aliases): Addition.
284 * net/tramp-adb.el: Spell author name correctly.
286 2014-08-27 João Távora <joaotavora@gmail.com>
288 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
289 use url-expand-file-name. (Bug#18310)
291 2014-08-25 Glenn Morris <rgm@gnu.org>
293 * emulation/cua-rect.el (cua--highlight-rectangle):
294 Avoid error at point-min. (Bug#18309)
296 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
298 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
299 executable-find (bug#18244).
301 * simple.el (self-insert-uses-region-functions): Defvar.
303 2014-08-13 Leo Liu <sdl.web@gmail.com>
305 * speedbar.el (speedbar-generic-list-tag-p): Allow special
308 2014-08-11 Glenn Morris <rgm@gnu.org>
310 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
312 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
313 chose coding system for writing before backing up, since it causes
314 a more serious problem than the one it solves. (Closes Bug#18141,
317 2014-08-10 Martin Rudalics <rudalics@gmx.at>
319 * window.el (window-total-size): Make doc-string more
322 2014-08-09 Martin Rudalics <rudalics@gmx.at>
324 * window.el (display-buffer-below-selected): Restore original
325 behavior if buffer is already displayed in the window below the
326 selected one (Bug#18181).
328 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
330 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
333 2014-08-08 Eli Zaretskii <eliz@gnu.org>
335 * info.el (info): Doc fix.
337 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
339 * info.el (Info-mode-map): Override a global down-mouse-2 binding
342 2014-08-05 Eli Zaretskii <eliz@gnu.org>
344 * simple.el (default-line-height): A floating-point value of
345 line-spacing means a fraction of the default frame font's height,
346 not of the font currently used by the 'default' face.
347 Truncate the pixel value, like the display engine does.
348 (window-screen-lines): Use window-inside-pixel-edges for
349 determining the window height in pixels. (Bug#18195)
351 2014-07-29 Eli Zaretskii <eliz@gnu.org>
353 * tutorial.el (tutorial--display-changes): Accept punctuation
354 characters before the key binding. (Bug#18146)
356 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
358 * doc-view.el (doc-view-open-text): Don't require that the
359 document is saved in a file (e.g., email attachment).
361 2014-07-27 Eli Zaretskii <eliz@gnu.org>
363 * window.el (window--pixel-to-total): Use FRAME's root window, not
364 that of the selected frame. (Bug#18112, Bug#16674)
366 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
368 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
371 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
373 * progmodes/python.el (inferior-python-mode): Doc fix.
375 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
377 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
378 not a character, ignore it instead of raising an error.
380 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
382 * calendar/todo-mode.el: Fix handling of marked items and make
383 minor code improvements.
384 (todo-edit-item): If there are marked items, ensure user can only
385 invoke editing commands that work with marked items.
386 (todo-edit-item--text): When there are marked items, make it a
387 noop if invoked with point not on an item; otherwise, ensure it
388 applies only to item at point.
389 (todo-item-undone): If there are marked not-done items, return
390 point to its original position before signaling user error.
391 (todo--user-error-if-marked-done-item): New function.
392 (todo-edit-item--header, todo-edit-item--diary-inclusion)
393 (todo-item-done): Use it.
395 2014-07-25 Glenn Morris <rgm@gnu.org>
397 * files.el (toggle-read-only): Re-add basic doc-string.
398 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
400 * progmodes/prolog.el (prolog-mode-keybindings-edit):
401 Replace missing `switch-to-prolog' with `run-prolog'.
402 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
404 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
406 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
407 of file-wide setting when changing category-wide setting.
409 2014-07-21 Glenn Morris <rgm@gnu.org>
411 * progmodes/hideif.el (hide-ifdef-mode-submap):
412 Also substitute read-only-mode.
413 * bindings.el (mode-line-toggle-read-only):
414 * bs.el (bs-toggle-readonly):
415 * buff-menu.el (Buffer-menu-toggle-read-only):
416 * dired.el (dired-toggle-read-only):
417 * files.el (view-read-only, find-file-read-only)
418 (find-file-read-only-other-window)
419 (find-file-read-only-other-frame):
420 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
421 Doc fixes re toggle-read-only.
423 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
425 * progmodes/python.el: Add comment about pipe buffering and
426 solutions for missing/delayed output in inferior Python shells.
429 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
431 * progmodes/python.el (python-mode): Don't set
432 mode-require-final-newline. (Bug#17990)
434 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
436 Make python.el work with IPython automatically. (Bug#15510)
437 * progmodes/python.el:
438 (python-shell-completion-setup-code): New value supporting iPython.
439 (python-shell-completion-string-code): New value supporting iPython.
440 (python-shell-completion-get-completions): Use them.
441 (python-shell-completion-module-string-code): Make obsolete.
442 (python-shell-prompt-input-regexps)
443 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
444 (python-shell-output-filter): Fix comment typo.
446 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
448 Fix Python shell prompts detection for remote hosts.
449 * progmodes/python.el (python-shell-prompt-detect):
450 Replace call-process with process-file and make it more robust.
452 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
454 Autodetect Python shell prompts. (Bug#17370)
455 * progmodes/python.el:
456 (python-shell-interpreter-interactive-arg)
457 (python-shell-prompt-detect-enabled)
458 (python-shell-prompt-detect-failure-warning)
459 (python-shell-prompt-input-regexps)
460 (python-shell-prompt-output-regexps): New vars.
461 (python-shell-prompt-calculated-input-regexp)
462 (python-shell-prompt-calculated-output-regexp): New vars.
463 (python-shell-get-process-name)
464 (python-shell-internal-get-process-name)
465 (python-shell-output-filter)
466 (python-shell-completion-get-completions): Use them.
467 (python-shell-prompt-detect)
468 (python-shell-prompt-validate-regexps): New functions.
469 (python-shell-prompt-set-calculated-regexps): New function.
470 (inferior-python-mode): Use it. Also honor overridden
471 python-shell-interpreter and python-shell-interpreter-args.
472 (python-shell-make-comint): Honor overridden
473 python-shell-interpreter and python-shell-interpreter-args.
474 (python-shell-get-or-create-process): Make it testable by allowing
475 to call run-python non-interactively.
476 (python-util-valid-regexp-p): New function.
477 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
478 (python-shell-prompt-output-regexp)
479 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
481 2014-07-16 Glenn Morris <rgm@gnu.org>
483 * desktop.el (after-init-hook): Disable startup frame restoration
484 in non-graphical situations. (Bug#17693)
486 2014-07-14 Glenn Morris <rgm@gnu.org>
488 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
489 if it was "empty", or used for a different set of files. (Bug#17884)
491 2014-07-13 Eli Zaretskii <eliz@gnu.org>
493 * bindings.el (mode-line-remote): If default-directory is not a
494 string, don't call file-remote-p on it; instead state in the
495 help-echo that it is nil. (Bug#17986)
497 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
499 Fix bug: C-x v v discarded existing log message (Bug#17884).
500 * vc/vc-dispatcher.el (vc-log-edit):
501 Don't clobber an already-existing log message.
503 2014-07-10 Glenn Morris <rgm@gnu.org>
505 * vc/log-edit.el (log-edit-changelog-entries):
506 Check for a visited-but-never-saved ChangeLog.
508 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
510 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
511 a non-existing file (bug#17970).
513 * faces.el (face-name): Undo last change.
514 (x-resolve-font-name): Don't call face-name (bug#17956).
516 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
518 Fix dedenters and electric colon handling. (Bug#15163)
520 * progmodes/python.el
521 (python-rx-constituents): Add dedenter and block-ender.
522 (python-indent-dedenters, python-indent-block-enders): Delete.
523 (python-indent-context): Return new case for dedenter-statement.
524 (python-indent-calculate-indentation): Handle new case.
525 (python-indent-calculate-levels): Fix levels calculation for
527 (python-indent-post-self-insert-function): Fix colon handling.
528 (python-info-dedenter-opening-block-message): New function.
529 (python-indent-line): Use it.
530 (python-info-closing-block)
531 (python-info-closing-block-message): Remove.
532 (python-info-dedenter-opening-block-position)
533 (python-info-dedenter-opening-block-positions)
534 (python-info-dedenter-statement-p): New functions.
536 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
538 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
539 the middle of a line (bug#17896).
541 2014-07-08 Juri Linkov <juri@jurta.org>
543 * startup.el (command-line): Append displaying the warning about
544 the errors in the init file to the end of `after-init-hook'.
547 2014-07-08 Juri Linkov <juri@jurta.org>
549 * faces.el (face-name): Return input arg `face' as is
550 when it's not a symbol.
551 (x-resolve-font-name): Don't check if the face is a symbol.
554 2014-07-08 Juri Linkov <juri@jurta.org>
556 * facemenu.el (list-colors-print): In help-echo format use %.2f
557 instead of %d because now HSV values are floating-point components
560 2014-07-06 Glenn Morris <rgm@gnu.org>
562 * emulation/cua-rect.el (cua--activate-rectangle):
563 Avoid setting cua--rectangle to nil. (Bug#17877)
565 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
567 * calendar/todo-mode.el: Fix wrong-type-argument error when
568 marking multiple consecutive items.
569 (todo-toggle-mark-item): Don't try to mark the empty lines at the
570 end of the todo and done items sections. Note in doc string that
571 items marked by passing a numeric prefix argument can include the
572 last todo and first done items.
573 (todo-mark-category): Don't try to mark the empty line between the
574 todo and done items sections.
576 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
578 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
579 proper Lisp quoting (bug#17934).
581 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
582 require-final-newline since prog-mode already took care of it (bug#17947).
584 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
586 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
587 refer to the Todo mode Info manual. Update the comment on
589 (todo-find-filtered-items-file): Add todo-prefix overlays.
590 (todo-filter-items): Reorder a let-bound variable to avoid a
591 wrong-type-argument error on canceling the file choice dialog.
593 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
595 * progmodes/octave.el (inferior-octave-mode):
596 Set comint-input-ring-size to a number (bug#17912).
598 2014-07-03 Juri Linkov <juri@jurta.org>
600 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
601 and `isearch-mode' associated with nil. (Bug#17849)
603 2014-07-02 Juri Linkov <juri@jurta.org>
605 * desktop.el (desktop-save): Rename arg `auto-save' to
606 `only-if-changed'. Doc fix. (Bug#17873)
608 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
610 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
611 Use insert-for-yank (bug#17271).
613 2014-07-02 Leo Liu <sdl.web@gmail.com>
615 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
616 Support lexical-binding.
618 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
620 * vc/log-edit.el (log-edit-goto-eoh): New function.
621 (log-edit--match-first-line): Use it (bug#17861).
623 2014-07-01 Glenn Morris <rgm@gnu.org>
625 * vc/log-edit.el (log-edit-hook): Add missing :version.
627 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
629 * progmodes/python.el (python-indent-post-self-insert-function):
630 Enhancements to electric indentation behavior inside
633 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
635 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
636 buffer-invisibility-spec (bug#17867).
638 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
640 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
643 2014-06-29 Glenn Morris <rgm@gnu.org>
645 * cus-edit.el (help):
646 * finder.el (finder-known-keywords):
647 * help.el (help-for-help-internal):
648 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
649 (ediff-redraw-registry-buffer):
650 * vc/ediff-ptch.el (ediff-patch-file-internal):
651 Doc fixes re "online" help. (Bug#17803)
653 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
654 (idlwave-mode): Doc URL update.
656 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
658 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
659 account for file-wide setting of todo-top-priorities-overrides.
660 Make code a bit cleaner.
662 2014-06-27 Leo Liu <sdl.web@gmail.com>
664 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
666 2014-06-27 Glenn Morris <rgm@gnu.org>
668 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
670 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
672 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
673 category-wide setting of todo-top-priorities-overrides, check for
674 a file-wide setting and fontify accordingly.
676 2014-06-26 Glenn Morris <rgm@gnu.org>
678 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
680 2014-06-26 Daiki Ueno <ueno@gnu.org>
682 * emacs-lisp/package.el (package--check-signature):
683 If package-check-signature is allow-unsigned, don't signal error when
684 we can't verify signature because of missing public key
685 (backport for bug#17625).
687 2014-06-26 Glenn Morris <rgm@gnu.org>
689 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
690 Remove outdated declaration.
692 * emacs-lisp/authors.el (authors-valid-file-names)
693 (authors-renamed-files-alist): Additions.
695 2014-06-25 Leo Liu <sdl.web@gmail.com>
697 * textmodes/picture.el (picture-set-tab-stops):
698 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
699 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
701 * progmodes/asm-mode.el (asm-calculate-indentation):
702 Use indent-next-tab-stop.
704 * indent.el (indent-accumulate-tab-stops): New function.
706 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
708 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
709 (package-desc-status): Obey it.
711 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
713 * calendar/todo-mode.el: Fix two bugs.
714 (todo-insert-item--basic): If user cancels item insertion to
715 another category before setting priority, show original category
716 whether it is in the same or a different file.
717 (todo-set-item-priority): After selecting category, instead of
718 moving point to top, which extends an active region, restore it.
720 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
722 * help-fns.el (describe-function-1): Check file-name is a string before
723 calling help-fns--autoloaded-p (bug#17564).
725 2014-06-24 Juri Linkov <juri@jurta.org>
727 * desktop.el (desktop-auto-save-enable)
728 (desktop-auto-save-disable): New functions.
729 (desktop-save-mode, desktop-auto-save-timeout): Use them.
730 (desktop-read): Disable the autosave before loading the desktop,
731 and enable afterwards. (Bug#17351)
733 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
735 Fix some indentation problem with \; and pipes (bug#17842).
736 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
737 (sh-smie--default-forward-token, sh-smie--default-backward-token):
739 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
740 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
741 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
743 2014-06-24 Eli Zaretskii <eliz@gnu.org>
745 * international/fontset.el (script-representative-chars):
746 Add representative characters for scripts added in Unicode 7.0.
747 (otf-script-alist): Synchronize with the latest registry of OTF
750 * international/characters.el (char-script-table): Update for
751 scripts added and codepoint ranges changed in Unicode 7.0.
753 2014-06-23 Leo Liu <sdl.web@gmail.com>
755 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
756 tab-stop-list to nil. (Bug#16381)
758 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
759 (indent-rigidly-left-to-tab-stop)
760 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
761 (move-to-tab-stop): Change callers.
763 2014-06-22 Eli Zaretskii <eliz@gnu.org>
765 * skeleton.el (skeleton-insert): Yet another fix of the doc string
766 wrt behavior of \n as the first/last element of a skeleton.
768 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
770 * net/tramp-adb.el (tramp-adb-handle-process-file):
771 * net/tramp-sh.el (tramp-sh-handle-process-file):
772 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
773 the output buffer when DISPLAY is non-nil. (Bug#17815)
775 2014-06-21 Glenn Morris <rgm@gnu.org>
777 * play/landmark.el (landmark-move-down, landmark-move-up):
778 Fix 2007-10-20 change - preserve horizontal position.
780 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
782 Fix completion retrieval parsing (bug#17209).
783 * progmodes/python.el (python-mode):
784 (python-util-strip-string): New function.
785 (python-shell-completion-get-completions): Use it.
787 2014-06-21 Eli Zaretskii <eliz@gnu.org>
789 * skeleton.el (skeleton-insert): Fix last change.
791 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
793 Enhancements for outline integration (bug#17796).
794 * progmodes/python.el (python-mode): Properly set
795 outline-heading-end-regexp so that comments after colons for
796 defuns are supported.
798 2014-06-21 Eli Zaretskii <eliz@gnu.org>
800 * skeleton.el (skeleton-insert): Doc fix.
802 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
804 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
805 (smie-config-guess): Use smie-config-local so the rules are obeyed
808 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
809 since it's already done inside the loop (bug#17819).
811 2014-06-20 Martin Rudalics <rudalics@gmx.at>
813 * mouse.el (mouse-drag-line): Re-remove code initially removed
814 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
817 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
819 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
820 align with the surrounding parent (bug#17721).
822 2014-06-20 Eli Zaretskii <eliz@gnu.org>
824 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
826 (texinfo-insert-block, texinfo-insert-@end)
827 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
828 local setting of skeleton-end-newline by adding an explicit \n to
829 the skeletons where appropriate. (Bug#17801)
831 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
833 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
834 (smie-indent--hanging-p): Use it.
835 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
837 2014-06-20 Leo Liu <sdl.web@gmail.com>
839 * simple.el (read-quoted-char): Don't let help chars pop up help
842 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
844 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
847 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
849 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
850 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
853 2014-06-18 Eli Zaretskii <eliz@gnu.org>
855 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
856 and later. (Bug#17790)
858 2014-06-18 Juri Linkov <juri@jurta.org>
860 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
861 to `soft'. (Bug#17554)
863 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
865 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
868 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
870 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
871 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
873 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
875 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
876 `unread-command-events'.
878 2014-06-14 Glenn Morris <rgm@gnu.org>
880 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
881 Replace delete-duplicates and mapcan by cl- versions throughout.
882 And cl-macroexpand-all by macroexpand-all.
883 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
885 2014-06-14 Eli Zaretskii <eliz@gnu.org>
887 * subr.el (posn-col-row): Doc fix. (Bug#17768)
889 2014-06-14 Juri Linkov <juri@jurta.org>
891 * bindings.el: Put `ascii-character' property on keypad keys
892 mapped to characters. (Bug#17759)
894 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
896 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
897 bumping forward into a closing paren (bug#17761).
899 * term/xterm.el (xterm--version-handler): Work around for OSX
900 Terminal.app (bug#17607).
902 2014-06-08 Glenn Morris <rgm@gnu.org>
904 * startup.el (initial-buffer-choice): Doc fix.
905 Reset :version (adding an option does not merit a :version bump).
907 * bookmark.el (bookmark-load):
908 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
910 2014-06-06 Juri Linkov <juri@jurta.org>
912 * desktop.el: Activate auto-saving on window configuration changes.
913 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
914 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
915 (desktop-auto-save-set-timer): Change REPEAT arg of
916 `run-with-idle-timer' from t to nil.
917 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
919 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
921 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
922 vc-hg-command (bug#17570).
924 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
926 * international/mule-cmds.el (ucs-names): Add special entry for BEL
929 2014-06-06 Glenn Morris <rgm@gnu.org>
931 * startup.el (window-setup-hook): Doc fix.
933 2014-06-05 Glenn Morris <rgm@gnu.org>
935 * emacs-lisp/package.el (package-check-signature)
936 (package-unsigned-archives): Doc fixes.
938 2014-06-03 Martin Rudalics <rudalics@gmx.at>
940 * window.el (display-buffer-use-some-window): Don't make window
941 used smaller than it was before (Bug#17671).
943 2014-06-03 Eli Zaretskii <eliz@gnu.org>
945 * menu-bar.el (menu-bar-open): Fix last change: use the PC
946 'redisplay' instead of '(sit-for 0)'.
948 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
950 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
953 2014-06-03 Glenn Morris <rgm@gnu.org>
955 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
957 2014-06-02 Eli Zaretskii <eliz@gnu.org>
959 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
961 2014-06-01 Eli Zaretskii <eliz@gnu.org>
963 * simple.el (keyboard-quit): Force update of mode lines, to remove
964 the "Def" indicator, if we were defining a macro. (Bug#17615)
966 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
968 * minibuffer.el (minibuffer-force-complete-and-exit):
969 Obey minibuffer-default (bug#17545).
971 * progmodes/js.el (js-indent-line): Don't mix columns and chars
974 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
976 * subr.el (set-transient-map): Don't wait for some "nested"
977 transient-map to finish if we're only supposed to be active for
978 the next command (bug#17642).
980 2014-05-31 Leo Liu <sdl.web@gmail.com>
982 * emacs-lisp/gv.el (window-buffer, window-display-table)
983 (window-dedicated-p, window-hscroll, window-point, window-start):
984 Fix gv-expander. (Bug#17630)
986 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
988 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
991 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
992 for the single comma, since ", " is *very* common in normal French text
995 2014-05-30 Glenn Morris <rgm@gnu.org>
997 * emacs-lisp/package.el (package-check-signature)
998 (package-unsigned-archives): Fix :version.
1000 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1002 * subr.el (sit-for): Don't run input-methods (bug#15614).
1004 2014-05-28 Glenn Morris <rgm@gnu.org>
1006 * cus-start.el: Fix some :version numbers.
1008 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1010 * simple.el (deactivate-mark): Set mark-active to nil even if
1011 deactivation is done via setting transient-mark-mode to nil,
1012 since one is buffer-local and the other is global.
1014 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1015 there can't be more than 2 arguments (bug#17584).
1017 2014-05-27 Glenn Morris <rgm@gnu.org>
1019 * simple.el (filter-buffer-substring-functions)
1020 (filter-buffer-substring-function, buffer-substring-filters)
1021 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1023 * minibuffer.el (completion-in-region-functions, completion-in-region)
1024 (completion--in-region): Doc fixes.
1026 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1027 (expand-abbrev, abbrev--default-expand): Doc fixes.
1029 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1031 Include sources used to create macuvs.h.
1032 * international/README: Refer to the Unicode Terms of Use rather
1033 than copying it bodily here, as that simplifies maintenance.
1035 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1037 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1039 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1041 * window.el (window--dump-frame): Remove interactive
1044 2014-05-23 Glenn Morris <rgm@gnu.org>
1046 * hippie-exp.el (he-line-search-regexp):
1047 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1049 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1051 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1052 to avoid errors when trying to create or visit a file foo.todo
1053 located outside to todo-directory, and to allow having such files
1054 without them being tied to Todo mode (bug#17482).
1055 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1056 (todo-archive-done-item, todo-find-filtered-items-file)
1057 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1058 (todo-category-completions, todo-read-category): When visiting a
1059 Todo file, make sure we're in the right mode and the buffer local
1061 (todo-make-categories-list, todo-reset-nondiary-marker)
1062 (todo-reset-done-string, todo-reset-comment-string):
1063 After processing all Todo files, kill the buffers of those files that
1064 weren't being visited before the processing.
1065 (todo-display-as-todo-file, todo-add-to-buffer-list)
1066 (todo-visit-files-commands): Comment out.
1067 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1068 (auto-mode-alist): Remove add-to-list calls making Todo file
1069 extensions unrestrictedly tied to Todo modes.
1071 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1073 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1074 (advice-function-member-p): Tell it to check both names and functions
1076 (advice--add-function): Adjust call accordingly.
1078 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1080 * calendar/todo-mode.el: Miscellaneous bug fixes.
1081 (todo-delete-file): When deleting an archive but not its todo
1082 file, make sure to update the todo file's category sexp.
1083 (todo-move-category): Keep the moved category's name unless the
1084 file moved to already has a category with that name. If the
1085 numerically last category of the source file was moved, make the
1086 first category current to avoid selecting a nonexisting category.
1087 (todo-merge-category): Fix implementation to make merging to a
1088 category in another file work as documented. Eliminate now
1089 insufficient and unnecessary renaming of archive category, correct
1090 document string accordingly, and clarify it. If the numerically
1091 last category of the source file was merged, make the first
1092 category current to avoid selecting a nonexisting category.
1093 (todo-archive-done-item): When there are marked items and point
1094 happens to be on an unmarked item, ignore the latter. Don't leave
1095 point below last item after archiving marked items.
1096 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1097 from an archive with only one category deletes the archive only
1098 when the category is empty after unarchiving. Make sure the todo
1099 file's category sexp is updated.
1100 (todo-read-file-name): Allow an existing file name even when it is
1101 not required (todo-move-category needs this to work as documented).
1102 (todo-add-file): Call todo-validate-name to reject the name of an
1103 existing todo file (needed due to fix in todo-read-file-name).
1104 (todo-reset-nondiary-marker): Also reset in filtered items files.
1105 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1106 regexp filtered items files.
1107 (todo-reset-highlight-item): Also reset in filtered items files.
1108 Fix incorrect variable reference in document string.
1110 2014-05-22 Glenn Morris <rgm@gnu.org>
1112 * window.el (window--dump-frame): Avoid error in --without-x builds.
1114 2014-05-21 Glenn Morris <rgm@gnu.org>
1116 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1118 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1120 * frame.el (set-frame-font): Doc fix.
1122 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1124 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1126 * emacs-lisp/package.el (package--download-one-archive):
1127 Use `write-region' instead of `save-buffer' to avoid running various
1129 (describe-package-1): Same. Insert newline at the end of the
1130 buffer if appropriate.
1132 2014-05-20 Juri Linkov <juri@jurta.org>
1134 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1135 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1136 Add more modifiers: meta, control, shift, hyper, super, alt.
1139 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1140 to allow changing its value with `set-variable'.
1142 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1144 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1146 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1148 (scheme-mode-variables): Set syntax-propertize-function instead of
1149 font-lock-syntactic-face-function.
1150 (scheme-font-lock-syntactic-face-function): Delete.
1152 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1154 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1156 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1159 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1161 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1162 for a temporary file name.
1164 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1166 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1168 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1170 * net/dbus.el (dbus-init-bus, dbus-call-method)
1171 (dbus-call-method-asynchronously, dbus-send-signal)
1172 (dbus-method-return-internal, dbus-method-error-internal):
1173 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1175 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1177 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1178 methods which do not have a doc string. (Bug#17490)
1180 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1181 Stefan Monnier <monnier@iro.umontreal.ca>
1183 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1186 2014-05-14 Glenn Morris <rgm@gnu.org>
1188 * vc/emerge.el (emerge-temp-file-prefix):
1189 Make pointless option obsolete.
1190 (emerge-temp-file-mode): Make non-functional option obsolete.
1192 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1194 * net/browse-url.el (browse-url):
1195 Use `unhandled-file-name-directory' when setting `default-directory',
1196 in order to circumvent stalled remote connections. (Bug#17425)
1198 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1200 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1201 into autoloading just because of a silly indirection.
1203 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1205 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1207 2014-05-11 Glenn Morris <rgm@gnu.org>
1209 * emacs-lisp/find-gc.el: Move to ../admin.
1211 2014-05-10 Glenn Morris <rgm@gnu.org>
1213 * printing.el (pr-version):
1214 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1216 * net/browse-url.el (browse-url-mosaic):
1217 Create /tmp/Mosaic.PID as a private file.
1219 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1221 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1222 (advice--member-p): If name is given, only compare the name.
1223 (advice--remove-function): Don't stop at the first match.
1224 (advice--normalize-place): New function.
1225 (add-function, remove-function): Use it.
1226 (advice--add-function): Pass the name, if any, to
1227 advice--remove-function.
1229 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1231 * electric.el (electric-indent-post-self-insert-function): Don't use
1232 `pos' after modifying the buffer (bug#17449).
1234 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1236 * subr.el (function-put): Add function.
1238 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1240 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1241 Correct argument list to conform to todo-insert-item--basic.
1243 2014-05-09 Glenn Morris <rgm@gnu.org>
1245 * files.el (cd-absolute): Test if directory is accessible
1246 rather than executable. (Bug#17330)
1248 * progmodes/compile.el (recompile):
1249 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1251 2014-05-08 Juri Linkov <juri@jurta.org>
1253 * dired.el (dired-check-switches, dired-switches-recursive-p):
1254 New functions. (Bug#17218)
1255 (dired-switches-escape-p, dired-move-to-end-of-filename):
1256 Use `dired-check-switches'.
1257 (dired-insert-old-subdirs, dired-build-subdir-alist)
1258 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1260 2014-05-08 Glenn Morris <rgm@gnu.org>
1262 * net/browse-url.el (browse-url-mosaic):
1263 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1264 This is CVE-2014-3423.
1266 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1268 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1269 (xterm-mouse--read-event-sequence-1000): Return nil if something
1271 (xterm-mouse-event): Propagate it.
1272 (xterm-mouse-translate-1): Handle it.
1274 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1276 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1277 four slots of the parameter list are filled, make sure to pass it
1278 to the argument list of todo-insert-item--basic.
1280 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1282 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1283 Add optional `seen' argument to detect and break infinite loops.
1285 2014-05-06 Eli Zaretskii <eliz@gnu.org>
1287 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1288 (trace-unsafe, trace-use-tree): Make parentheses style be
1289 according to Emacs style.
1291 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
1293 * net/tramp-sh.el (tramp-remote-process-environment):
1294 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1296 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1297 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
1298 extra "PSx=..." commands.
1299 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1302 (tramp-uudecode): Replace the hard-coded temporary file name by a
1304 (tramp-remote-coding-commands): Enhance docstring.
1305 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1307 This is CVE-2014-3424.
1309 2014-05-06 Glenn Morris <rgm@gnu.org>
1311 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1312 (find-gc-source-files): Update some names.
1313 (trace-call-tree): Simplify and update.
1314 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1315 This is CVE-2014-3422.
1317 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1319 * minibuffer.el (completion--try-word-completion): Revert fix for
1320 Bug#15980 (bug#17375).
1322 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1323 Always store button numbers in the same way in xterm-mouse-last;
1324 Don't burp is xterm-mouse-last is not set as expected.
1325 Never return negative indices.
1327 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
1329 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1330 Backtrack one char if the global/char-literal var matcher hits
1331 inside a string. The next char could be the beginning of an
1332 expression expansion.
1334 2014-05-05 Glenn Morris <rgm@gnu.org>
1336 * help-fns.el (describe-function-1): Test for an autoload before a
1337 macro, since `macrop' works on autoloads. (Bug#17410)
1339 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1341 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1343 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1344 Make sure the new point we return is within the new string (bug#17239).
1346 2014-05-03 Eli Zaretskii <eliz@gnu.org>
1348 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1350 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1352 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1353 Use nil rather than `default' for the "default" appearance (bug#17388).
1354 * vc/ediff-util.el (ediff-inferior-compare-regions)
1355 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1356 a misleading `default' value when it's really a boolean.
1357 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1358 overlay is not visible.
1360 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1362 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1363 (todo-menu): Uncomment and update.
1365 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1367 * calendar/todo-mode.el: Reimplement item editing to have the same
1368 basic user interface as item insertion, and make small UI and
1369 larger internal improvements to the latter.
1370 (todo-insert-item): Add reference to the Todo mode user manual to
1371 the documentation string.
1372 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1373 adjust all callers. Change signature to combine diary and
1374 nonmarking arguments. Incorporate functionality of deleted item
1375 copying command and add error checking. Remove detailed
1376 descriptions of the arguments from the documentation string, since
1377 this is treated in the Todo mode user manual.
1378 (todo-copy-item, todo-edit-multiline-item)
1379 (todo-edit-done-item-comment, todo-edit-item-header)
1380 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1381 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1382 (todo-edit-item-date-year, todo-edit-item-date-month)
1383 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1385 (todo-edit-item): Reimplement as wrapper command for
1386 todo-edit-item--next-key and make it distinguish done and not done
1388 (todo-edit-item--text): New function, replacing old command
1389 todo-edit-item and incorporating deleted commands
1390 todo-edit-multiline-item and todo-edit-done-item-comment.
1391 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1392 Use only numeric value of prefix argument. Remove detailed
1393 descriptions of the arguments from the documentation string, since
1394 this is treated in the Todo mode user manual.
1395 (todo-edit-item--diary-inclusion): New function, replacing old
1396 command todo-edit-item-diary-inclusion and incorporating and fixing
1397 functionality of deleted command todo-edit-item-diary-nonmarking,
1398 making sure to remove todo-nondiary-marker when adding
1399 diary-nonmarking-symbol.
1400 (todo-edit-category-diary-inclusion): Make sure to delete
1401 diary-nonmarking-symbol when adding todo-nondiary-marker.
1402 (todo-edit-category-diary-nonmarking): Fix indentation.
1403 (todo-insert-item--parameters): Group diary and nonmarking
1404 parameters together.
1405 (todo-insert-item--apply-args): Adjust to signature of
1406 todo-insert-item--basic and incorporate copy parameter.
1407 Make small code improvements.
1408 (todo-insert-item--next-param): Improve prompt and adjust it to
1409 new parameter grouping. Remove obsolete code.
1410 (todo-edit-item--param-key-alist)
1411 (todo-edit-item--date-param-key-alist)
1412 (todo-edit-done-item--param-key-alist): New defconsts.
1413 (todo-edit-item--prompt): New variable.
1414 (todo-edit-item--next-key): New function.
1415 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1416 Remove bindings of deleted commands.
1418 2014-05-02 Leo Liu <sdl.web@gmail.com>
1420 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1422 2014-05-01 Glenn Morris <rgm@gnu.org>
1424 * allout-widgets.el (allout-widgets-tally)
1425 (allout-decorate-item-guides):
1426 * menu-bar.el (menu-bar-positive-p):
1427 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1428 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1429 * progmodes/js.el (js--inside-param-list-p)
1430 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1431 * progmodes/prolog.el (region-exists-p):
1432 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1433 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1434 Doc fixes (replace `iff').
1436 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1438 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1440 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1442 * dired.el (dired-initial-position-hook, dired-initial-position):
1445 2014-04-29 Glenn Morris <rgm@gnu.org>
1447 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1449 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
1451 * faces.el (face-spec-recalc): Apply X resources only after the
1452 defface spec has been applied. Thus, X resources are no longer
1453 overridden by the defface spec which also fixes issues on win32 where
1454 the toolbar coloring was wrong because it is set through X resources
1455 and was (wrongfully) overridden. (Bug#16694)
1457 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1459 * textmodes/rst.el (electric-pair-pairs): Declare.
1460 (rst-mode): Set it (bug#17131).
1462 2014-04-27 Juri Linkov <juri@jurta.org>
1464 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1465 and `print-level' to nil. (Bug#17351)
1467 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1469 * battery.el (battery-update): Handle the case where battery
1470 status is "N/A" (bug#17319).
1472 2014-04-24 Eli Zaretskii <eliz@gnu.org>
1474 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1475 Use equal-including-properties to compare help-echo strings (bug#17331).
1477 2014-04-24 Leo Liu <sdl.web@gmail.com>
1479 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1480 Fix syntax for @. (Bug#17325)
1482 2014-04-24 Daniel Colascione <dancol@dancol.org>
1484 * emacs-lisp/cl.el (gv): Require gv early to break eager
1485 macro-expansion cycles.
1487 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1489 * simple.el (region-active-p): Check there's a mark (bug#17324).
1491 * simple.el (completion-list-mode-map): Use choose-completion for the
1492 mouse binding as well (bug#17302).
1493 (completion-list-mode, completion-setup-function): Adjust docstring and
1494 echo area message accordingly.
1495 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1496 calling convention of choose-completion.
1497 * comint.el (comint-dynamic-list-completions):
1498 * term.el (term-dynamic-list-completions): Accept choose-completion.
1500 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1501 &, |, +, - and * can't be a division (bug#17317).
1503 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1505 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1506 features on gnome-terminal (bug#16988).
1508 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1510 * dired.el (dired-insert-set-properties): Do not consider
1511 subdirectory headings and empty lines to be information that
1512 `dired-hide-details-mode' should hide. (Bug#17228)
1514 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1516 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1517 Remove test messages.
1518 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1521 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1523 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1524 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1526 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1528 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
1530 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1531 Set "IFS=" when using read builtin, in order to preserve spaces in
1532 the file name. Add test messages for hunting a bug on hydra.
1533 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1535 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1537 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1538 Don't prettify a word within a symbol.
1540 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
1542 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1545 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1547 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1548 assignments such as "case=hello" (bug#17297).
1550 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1552 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1554 (tramp-file-name-handler, tramp-completion-file-name-handler):
1555 Revert patch from 2014-04-10, it isn't necessary anymore.
1556 (tramp-autoload-file-name-handler)
1557 (tramp-register-autoload-file-name-handlers): New defuns.
1558 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1559 (tramp-register-file-name-handlers): Remove also
1560 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1561 Do not autoload its invocation, but eval it after loading of 'tramp.
1563 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1565 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1567 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1569 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
1570 was done (bug#17264).
1571 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
1574 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1575 here-documents (bug#17262).
1577 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1579 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1580 Provide doc strings, as required by snarf-documentation.
1582 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1584 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1585 arg of overlays-at. Use `invisible-p'.
1587 * obsolete/lucid.el (extent-at):
1588 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1590 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1592 2014-04-14 João Távora <joaotavora@gmail.com>
1594 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1597 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1599 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1600 Use mapc to loop over a vector. (Bug#17257).
1602 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
1604 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1605 patch, there are new problems with file names containing spaces.
1606 Get rid of backticks. (Bug#17238)
1608 2014-04-13 João Távora <joaotavora@gmail.com>
1610 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1613 2014-04-13 Eli Zaretskii <eliz@gnu.org>
1615 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1616 (blink-cursor-mode): Mention customization variables and the
1617 effect of 'blink-cursor-blinks'.
1619 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
1621 * simple.el (undo): Prevent insertion of identity mapping into
1622 undo-equiv-table so as undo-only does not inf loop in the presence
1623 of consecutive nils in undo list.
1625 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1627 * faces.el (make-face): Deprecate optional argument as it is no
1628 longer needed/used since the conditional X resources handling
1629 has been pushed down to make-face-x-resource-internal itself.
1630 (make-empty-face): Don't pass optional argument to make-face.
1632 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1634 * international/characters.el <standard-case-table>: Add entries
1635 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1636 Set category of Coptic characters be 'g' (Greek).
1638 2014-04-12 Leo Liu <sdl.web@gmail.com>
1640 * progmodes/octave.el (completion-table-with-cache): Define if not
1642 (octave-goto-function-definition)
1643 (octave-sync-function-file-names)
1644 (octave-find-definition-default-filename): Backquote upattern for
1647 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1649 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1650 name twice due to backticks. (Bug#17238)
1652 2014-04-11 Glenn Morris <rgm@gnu.org>
1654 * term/w32-win.el (x-win-suspend-error):
1655 * term/x-win.el (x-win-suspend-error): Sync docs.
1657 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1659 Ediff's overlay priorities cause more trouble than they solve.
1660 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1661 (ediff-highest-priority): Remove function (bug#17234).
1662 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1663 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1664 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1667 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
1669 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1670 entry; use symbol boundaries to avoid mis-matches.
1672 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
1674 * net/tramp.el (tramp-file-name-handler)
1675 (tramp-completion-file-name-handler): Avoid recursive loading.
1677 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1678 Quote result also locally.
1680 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1682 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1683 Module methods. (Bug#17216)
1685 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1687 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1688 (describe-bindings-internal): Mark obsolete.
1690 2014-04-07 João Távora <joaotavora@gmail.com>
1693 (electric-pair--syntax-ppss): When inside comments parse from
1695 (electric-pair--balance-info): Fix typo in comment.
1696 (electric-pair--in-unterminated-string-p): Delete.
1697 (electric-pair--unbalanced-strings-p): New function.
1698 (electric-pair-string-bound-function): New var.
1699 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1700 according to `electric-pair--in-unterminated-string-p'
1702 2014-04-07 João Távora <joaotavora@gmail.com>
1704 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1705 Inhibit quote pairing if point-max is inside an unterminated string.
1706 (electric-pair--looking-at-unterminated-string-p): Delete.
1707 (electric-pair--in-unterminated-string-p): New function.
1709 2014-04-07 Glenn Morris <rgm@gnu.org>
1711 * shell.el (shell-directory-tracker):
1712 Go back to just ignoring failures. (Bug#17159)
1714 2014-04-06 João Távora <joaotavora@gmail.com>
1716 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1717 backspace. (bug#16981)
1718 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1719 (electric-pair-backward-delete-char-untabify): Delete.
1720 (electric-pair-mode-map): Bind backspace to a menu item filtering
1721 a new `electric-pair-delete-pair' command.
1722 (electric-pair-delete-pair): New command.
1724 2014-04-06 João Távora <joaotavora@gmail.com>
1726 * progmodes/python.el (python-electric-pair-string-delimiter):
1727 Fix triple-quoting electricity. (Bug#17192)
1729 2014-04-06 João Távora <joaotavora@gmail.com>
1731 * elec-pair.el (electric-pair-post-self-insert-function):
1732 Don't skip whitespace when `electric-pair-text-pairs' and
1733 `electric-pair-pairs' were used. syntax to
1734 electric-pair--skip-whitespace. (Bug#17183)
1736 2014-04-06 Eli Zaretskii <eliz@gnu.org>
1738 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1741 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1743 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1744 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1746 2014-04-05 Glenn Morris <rgm@gnu.org>
1748 * help.el (view-lossage): Doc tweak.
1750 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
1752 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1753 only when inhibit-x-resources is nil, and do that earlier in the
1754 function. Doc fix. (Bug#16694)
1755 (face-spec-choose): Accept additional optional argument, whose
1756 value is returned if no matching attributes are found.
1757 (face-spec-recalc): Use the new optional argument when calling
1758 face-spec-choose. (Bug#16378)
1759 (make-face-x-resource-internal): Do nothing when
1760 inhibit-x-resources is non-nil. Don't touch the default face if
1761 reversed video is given--as was done in previous versions of Emacs.
1762 (face-set-after-frame-default): Don't call
1763 make-face-x-resource-internal here. (Bug#16434)
1765 2014-04-04 Tassilo Horn <tsdh@gnu.org>
1767 * doc-view.el (doc-view-bookmark-jump):
1768 Use `bookmark-after-jump-hook' to jump to the right page after the
1769 buffer is shown in a window. (bug#16090)
1771 2014-04-04 Eli Zaretskii <eliz@gnu.org>
1773 * international/characters.el (mirroring): Fix last change:
1774 instead of loading uni-mirrored.el explicitly, do that implicitly
1775 by creating the 'mirroring' uniprop table. This avoids announcing
1776 the loading of uni-mirrored.el.
1778 2014-04-04 Glenn Morris <rgm@gnu.org>
1780 * files.el (buffer-stale--default-function)
1781 (buffer-stale-function, revert-buffer--default):
1782 * autorevert.el (auto-revert-buffers): Doc tweaks.
1784 2014-04-03 Eli Zaretskii <eliz@gnu.org>
1786 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1788 2014-04-03 Glenn Morris <rgm@gnu.org>
1790 * files.el (make-backup-file-name-function)
1791 (make-backup-file-name, make-backup-file-name--default-function)
1792 (make-backup-file-name-1, find-backup-file-name)
1793 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1794 (buffer-stale--default-function, buffer-stale-function)
1795 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1796 (revert-buffer, revert-buffer--default)
1797 (revert-buffer-insert-file-contents--default-function):
1798 Doc fixes related to defaults no longer being nil.
1799 (make-backup-file-name-function): Bump :version.
1800 Restore nil as a valid but deprecated custom type.
1802 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1804 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
1805 used as a variable (bug#17174).
1807 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1809 * progmodes/perl-mode.el (perl-indent-new-calculate):
1810 Handle forward-sexp failure (bug#16985).
1811 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1812 modifiers introducing expressions (bug#17116).
1814 2014-04-02 Glenn Morris <rgm@gnu.org>
1816 * menu-bar.el (menu-bar-file-menu):
1817 * vc/ediff.el (ediff-current-file):
1818 Update for revert-buffer-function no longer being nil by default.
1820 * simple.el (command-execute): Respect nil disabled-command-function.
1822 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1824 * simple.el (command-execute): Do not execute the command when it
1825 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1827 2014-03-29 Juri Linkov <juri@jurta.org>
1829 * dired-aux.el (dired-compress-file): Don't use string-match-p
1830 because its match data is used afterwards.
1832 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1834 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1837 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1839 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1840 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1842 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1843 Don't propertize `?' or `!' as symbol constituent when after
1846 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1848 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1849 which is no longer needed and causes trouble in GTK builds (bug#17046).
1851 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1852 Use url-insert-file-contents; package-handle-response no longer exists.
1854 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1856 * emacs-lisp/package.el: Fix bug#16733 (again).
1857 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1858 (url-http-target-url): Remove unused declarations.
1859 (package-handle-response): Remove.
1860 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1861 (package--download-one-archive): Use current-buffer instead of
1862 dynamic binding of `buffer'.
1863 (describe-package-1): Do not decode readme-string.
1865 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
1867 * simple.el (primitive-undo): Correction to 2014-03-24 change.
1869 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
1871 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1873 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1874 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1875 `remote-file-name-inhibit-cache' to nil in the second pass.
1876 (tramp-find-executable): Do not call "which" on SunOS.
1877 (tramp-send-command-and-check): Fix docstring.
1878 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1879 check whether source directory has set the sticky bit.
1881 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
1883 * simple.el (primitive-undo): Only process marker adjustments
1884 validated against their corresponding (TEXT . POS). Issue warning
1885 for lone marker adjustments in undo history. (Bug#16818)
1886 (undo-make-selective-list): Add marker adjustments to selective
1887 undo list based on whether their corresponding (TEXT . POS) is in
1888 the region. Remove variable adjusted-markers, which was unused
1889 and only non nil during undo-make-selective-list.
1890 (undo-elt-in-region): Return nil when passed a marker adjustment
1891 and explain in function doc.
1893 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1895 * emacs-lisp/package.el (package--add-to-archive-contents):
1896 Include already installed and built-in packages in
1897 `package-archive-contents'.
1898 (package-install): Don't include already installed packages in the
1899 options during interactive invocation. (Bug#16762)
1901 2014-03-24 Daniel Colascione <dancol@dancol.org>
1903 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1904 instead of cl-loop search function.
1906 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
1908 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1910 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1912 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1914 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1916 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1917 Match special global variables without curlies, too.
1918 (ruby-font-lock-keywords): Simplify the matcher for special global
1919 variables. Don't require a non-word character after the variable.
1922 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1924 * simple.el (redisplay-highlight-region-function): Increase priority of
1925 overlay to make sure boundaries are visible (bug#15899).
1927 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1929 * frameset.el (frameset-restore): Compare display strings with equal.
1931 * frame.el (make-frame): Don't quote display name in error message,
1932 it is already a string.
1934 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1936 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1939 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
1941 * emacs-lisp/package.el (package-show-package-list): If the buffer
1942 is already displayed in another window, switch to that window.
1944 2014-03-21 Daniel Colascione <dancol@dancol.org>
1946 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1947 information in bug reports.
1949 2014-03-23 Daniel Colascione <dancol@dancol.org>
1951 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1952 list to look for keyword arguments instead of `memq', fixing
1953 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1954 Please make bootstrap.
1956 2014-03-23 Richard Stallman <rms@gnu.org>
1958 * battery.el (battery-linux-sysfs): Search for each field
1959 from the beginning of the buffer.
1961 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1963 * emacs-lisp/package.el (package-desc): Use the contents of the
1964 quoted form, not its cdr. (Bug#16873)
1966 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1968 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1969 benefit of doc.c; change parameter profile to match the X function.
1971 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1973 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1974 and `tramp-copy-env'.
1976 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1977 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1979 2014-03-21 Glenn Morris <rgm@gnu.org>
1981 * electric.el (electric-indent-post-self-insert-function): Add doc.
1983 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1985 * emacs-lisp/package.el (package-compute-transaction):
1986 Use `version-list-<=' to compare the requirement version against
1987 the version of package already to be installed. Update the error
1988 message. (Bug#16826)
1990 * progmodes/ruby-mode.el (ruby-smie-rules):
1991 Add indentation rule for ` @ '. (Bug#17050)
1993 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1995 * align.el (align-regexp): Remove superfluous backslash.
1997 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1998 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1999 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2000 Fix docstring typos.
2001 (ffap-next): Use C-u in docstring.
2002 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2003 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2004 Remove superfluous backslashes.
2005 (ffap-string-at-point): Reflow docstring.
2007 * server.el (server-host): Reflow docstring.
2008 (server-unload-function): Fix docstring typo.
2009 (server-eval-at): Remove superfluous backslash.
2011 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2012 (skeleton-insert): Doc fix.
2013 (skeleton-insert): Reflow docstring.
2015 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2016 (tty-color-approximate, tty-color-by-index, tty-color-values)
2017 (tty-color-desc): Remove superfluous backslashes.
2019 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2021 * electric.el (electric-newline-and-maybe-indent): New command.
2022 Bind it globally to C-j.
2023 (electric-indent-mode): Don't mess with the global map any more.
2024 Don't drop the post-self-insert-hook is some buffer is still using it
2027 * bindings.el (global-map): Remove C-j binding.
2029 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2030 the docstring of functions advised before dumping (bug#16993).
2032 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2034 * ps-print.el (ps-generate-postscript-with-faces):
2035 Explicitly deactivate the mark (bug#16866).
2036 * simple.el (deactivate-mark): Update region highlight.
2038 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2040 * emacs-lisp/package.el (describe-package-1):
2041 Decode commentary (bug#16733).
2043 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2045 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2046 modification of the value argument of :set (bug#16755).
2048 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2050 * simple.el (newline-and-indent): Do autofill (bug#17031).
2052 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2054 * newcomment.el (comment-normalize-vars): Only add escaping check
2055 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2056 (comment-beginning): Use `narrow-to-region' instead of moving back
2058 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2059 (comment-start-skip): Update the docstring.
2061 2014-03-18 Richard Stallman <rms@gnu.org>
2063 * dired.el (dired-display-file): Force use of other window.
2065 2014-03-18 Daniel Colascione <dancol@dancol.org>
2067 * startup.el (tty-handle-args): Remove debug message from 2007.
2069 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2071 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2072 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2073 (advice--make-1, advice-add, advice-remove):
2074 Remove braindead :advice-pending hack.
2076 2014-03-17 Glenn Morris <rgm@gnu.org>
2078 * calendar/calendar.el (calendar-generate-month): Apply weekend
2079 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2081 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2083 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2084 (tramp-call-process): Trace also DESTINATION.
2086 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2087 Quote file names when they are local. Remove superfluous trace.
2089 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2091 * newcomment.el (comment-beginning): If `comment-start-skip'
2092 doesn't match, move back one char and try again. (Bug#16971)
2094 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2095 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2096 Set `comment-start-skip' to a simpler value that doesn't try to
2097 check if the semicolon is escaped (this is handled by
2098 `syntax-ppss' now). (Bug#16971)
2100 * progmodes/scheme.el (scheme-mode-variables): Same.
2102 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2104 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2105 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2106 current (Bug#16816, Bug#17007).
2107 (with-current-buffer-window): New macro doing the same as
2108 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2109 * help.el (help-print-return-message): Warn in doc-string to not
2110 use this in `with-help-window'.
2111 (describe-bindings-internal): Call `describe-buffer-bindings'
2112 from within help buffer. See Juanma's scenario in (Bug#16816).
2113 (with-help-window): Update doc-string.
2114 * dired.el (dired-mark-pop-up):
2115 * files.el (save-buffers-kill-emacs):
2116 * register.el (register-preview): Use `with-current-buffer-window'
2117 instead of `with-temp-buffer-window'.
2119 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2121 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2122 Implement inserting into current buffer, documented in their docstrings.
2123 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2124 (rst-section-tree-point, rst-forward-section, rst-indent)
2125 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2126 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2127 (rst-font-lock-handle-adornment-pre-match-form)
2128 (rst-repeat-last-character): Reflow docstrings.
2129 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2130 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2131 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2132 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2133 Fix docstring typos.
2134 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2135 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2136 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2138 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2140 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2141 for compatibility with other ports.
2142 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2143 from the -xrm command line argument, but in the Nextstep port its value
2144 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2146 * progmodes/python.el (defconst, python-syntax-count-quotes)
2147 (python-indent-region, python-indent-shift-right)
2148 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2149 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2150 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2151 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2152 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2153 (python-shell-buffer-substring, python-shell-send-buffer)
2154 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2155 (python-completion-complete-at-point, python-fill-docstring-style)
2156 (python-eldoc-function, python-imenu-format-item-label)
2157 (python-imenu-format-parent-item-label)
2158 (python-imenu-format-parent-item-jump-label)
2159 (python-imenu--build-tree, python-imenu-create-index)
2160 (python-imenu-create-flat-index): Fix docstring typos.
2161 (python-indent-context, python-shell-prompt-regexp, run-python):
2162 Remove superfluous backslashes.
2163 (python-indent-line, python-nav-beginning-of-defun)
2164 (python-shell-get-buffer, python-shell-get-process)
2165 (python-info-current-defun, python-info-current-line-comment-p)
2166 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2167 (python-indent-post-self-insert-function, python-shell-send-file)
2168 (python-shell-completion-get-completions)
2169 (python-shell-completion-complete-or-indent)
2170 (python-eldoc--get-doc-at-point): Reflow docstrings.
2172 2014-03-14 Glenn Morris <rgm@gnu.org>
2174 * emacs-lisp/package.el (package-menu-mode-map):
2175 Replace use of obsolete function alias. Tweak menu item text.
2177 * info.el (Info-finder-find-node):
2178 Ignore the `emacs' metapackage. (Bug#10813)
2180 * finder.el (finder-list-matches): Include unversioned packages
2181 in the result of a keyword search.
2183 * finder.el (finder--builtins-descriptions): New constant.
2184 (finder-compile-keywords): Use finder--builtins-descriptions.
2186 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2188 * simple.el (blink-matching-paren): Describe the new value,
2189 `jump', enabling the old behavior.
2190 (blink-matching-open): Use that value. (Bug#17008)
2192 2014-03-14 Glenn Morris <rgm@gnu.org>
2194 * finder.el (finder-no-scan-regexp): Add leim-list.
2195 (finder-compile-keywords):
2196 Don't skip files with same basename. (Bug#14010)
2197 * Makefile.in (setwins_finder): New, excluding leim.
2198 (finder-data): Use setwins_finder.
2200 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2201 (help-function-arglist, help-make-usage): Move from here...
2202 * help.el (help-split-fundoc, help-add-fundoc-usage)
2203 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2204 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2206 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2208 * net/socks.el (socks, socks-override-functions)
2209 (socks-find-services-entry):
2210 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2211 (hif-find-ifdef-block):
2212 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2214 * net/tls.el (tls-program): Reflow docstring.
2216 * progmodes/pascal.el (pascal-mode-abbrev-table)
2217 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2218 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2219 (pascal-outline-mode): Fix docstring typos.
2220 (pascal-mode): Let define-derived-mode document mode hook.
2221 (pascal-uncomment-area): Reflow.
2222 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2224 * progmodes/opascal.el (opascal-compound-block-indent)
2225 (opascal-case-label-indent): Fix docstring typos.
2226 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2228 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2230 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2231 Fontify multiple adjacent negation chars. (Bug#17004)
2233 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2235 * emacs-lisp/package.el (package--prepare-dependencies):
2236 Accept requirements without explicit version (bug#14941).
2238 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2240 * register.el (register-separator, copy-to-register): Doc fixes.
2241 (register-preview-default): Remove unnecessary call to concat.
2243 * frameset.el (frameset-restore): When checking for a visible frame,
2244 use the action map instead of calling visible-frame-list.
2246 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2248 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2250 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2252 * window.el (fit-frame-to-buffer): Get maximum width from
2253 display's width instead of height.
2255 2014-03-12 Glenn Morris <rgm@gnu.org>
2257 * desktop.el (desktop-restore-frames)
2258 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2259 (desktop-restore-reuses-frames): Doc tweaks.
2261 * electric.el (electric-indent-mode): Doc fix.
2263 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2265 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2266 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2267 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2268 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2269 (cvs-dired-use-hook): Fix docstring typos.
2270 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2273 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2274 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2275 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2276 (cvs-execute-single-dir): Fix docstring typos.
2278 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2279 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2281 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2283 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2284 Fix docstring typos.
2286 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2288 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2289 called from jump-to-register after unloading the frameset package.
2291 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2293 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2294 (bug#16975). Deactivate the mark before setting it to nil.
2295 (activate-mark): Do nothing if region is already active.
2297 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2299 * frameset.el (frameset--target-display): Remove definition; declare.
2300 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2302 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2304 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2305 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2306 when the advice is pending.
2307 (advice-remove): Remove this marker when not needed any more.
2309 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2311 * frameset.el: Separate options for reusing frames and cleaning up.
2312 (frameset--reuse-list): Remove definition; declare.
2313 (frameset--action-map): Declare.
2314 (frameset--find-frame-if): Doc fix.
2315 (frameset--restore-frame): Cache frame action.
2316 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2317 how to clean up the frame list after restoring. Remove cleaning
2318 options from REUSE-FRAMES. Change all keyword values to symbols.
2319 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2321 * desktop.el (desktop-restore-forces-onscreen)
2322 (desktop-restore-reuses-frames): Use non-keyword values.
2323 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2325 2014-03-10 Glenn Morris <rgm@gnu.org>
2327 * files.el (find-file): Doc fix: update info node name.
2329 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2330 Doc fix: remove references to deleted info nodes.
2332 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2334 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2335 Do not add `nil' to the environment, when there's no remote `locale'.
2336 (tramp-find-inline-encoding): Check, that the remote host has
2337 installed perl, before sending scripts.
2339 2014-03-10 Leo Liu <sdl.web@gmail.com>
2341 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2342 Clear eldoc-last-message. (Bug#16920)
2344 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2346 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2349 2014-03-09 Juri Linkov <juri@jurta.org>
2351 * ansi-color.el (ansi-color-names-vector): Copy default colors
2352 from `xterm-standard-colors' that look well on the default white
2353 background (and also on the black background) to avoid illegible
2354 color combinations like yellow-on-white and white-on-white.
2355 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2357 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2359 * frameset.el (frameset-restore): When no frame is visible, do not
2360 generate a list of frames, just make visible the selected one.
2362 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2364 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2365 it only contains the repository root. (Bug#16897)
2367 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2369 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2370 only when `remote-file-name-inhibit-cache' is nil.
2371 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2373 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2375 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2377 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2378 fit-frame-to-buffer variable. Fix doc-string.
2379 (fit-window-to-buffer): Set ONLY argument in call of
2380 fit-frame-to-buffer. Fix doc-string.
2382 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2384 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2385 (tramp-action-password): Clear password cache if needed.
2386 (tramp-read-passwd): Do not clear password cache.
2388 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2389 cache unless it is the first password request.
2391 2014-03-06 Glenn Morris <rgm@gnu.org>
2393 * simple.el (newline): Doc tweak.
2395 * emacs-lisp/shadow.el (load-path-shadows-find):
2396 Ignore dir-locals. (Bug#12357)
2398 2014-03-05 Glenn Morris <rgm@gnu.org>
2400 * files.el (interpreter-mode-alist):
2401 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2403 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2405 * frameset.el (frameset--initial-params): Filter out null entries.
2407 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2409 * window.el (window-min-height, window-min-width):
2410 Rewrite doc-strings.
2411 (window-body-size): Add PIXELWISE argument to make it consistent
2414 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2416 * finder.el (finder-mode-map, finder-mode-syntax-table):
2417 Revert part of 2014-02-28 change.
2419 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2421 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2422 (eww-setup-buffer): Clear next/prev/etc more reliably.
2423 (eww-textarea-map): [tab] doesn't work on tty.
2424 Reported by Mario Lang.
2426 * net/shr.el (shr-map): Ditto.
2428 2014-03-04 Glenn Morris <rgm@gnu.org>
2430 * minibuffer.el (completion-hilit-commonality):
2431 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2433 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2435 * hilit-chg.el (hilit-chg-unload-function): New function.
2436 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2437 (hilit-chg-map-changes): Prefer cardinal number to digit.
2438 (hilit-chg-display-changes): Reflow docstring.
2439 (highlight-changes-rotate-faces): Remove superfluous backslash.
2441 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2443 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2444 `tramp-send-command-and-check'.
2446 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2448 * hexl.el (hexl-address-region, hexl-ascii-region)
2449 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2450 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2451 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2452 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2453 (hexl-mode): Doc fix.
2454 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2455 (hexl-mode-ruler): Fix typos in docstrings.
2457 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2458 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2459 Remove superfluous backslashes.
2460 (strokes-last-stroke, strokes-global-map, strokes-mode):
2462 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2463 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2464 (strokes-distance-squared, strokes-global-set-stroke)
2465 (strokes-global-set-stroke-string): Doc fixes.
2466 (strokes-help): Fix typos; reflow docstring.
2468 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2470 * window.el (window-in-direction): Fix doc-string.
2472 2014-03-04 Glenn Morris <rgm@gnu.org>
2474 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2475 Explicit error if no grammar.
2476 (smie-config-save): Doc fix. Fix quote typo.
2478 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2480 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2481 electric-indent-mode-hook if we obey electric-indent-mode.
2482 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2483 decide whether we obey electric-indent-mode.
2484 (c-change-set-fl-decl-start, c-extend-after-change-region):
2486 (c-electric-indent-mode-hook): Assume we do want to obey
2487 electric-indent-mode.
2489 * electric.el (electric-indent-mode-has-been-called): Remove.
2490 (electric-indent-mode): Fix accordingly.
2492 * files.el (hack-local-variables): Mention file name in warning.
2494 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2496 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2498 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2499 * simple.el (delete-forward-char): Mark as interactive-only.
2501 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2503 * icomplete.el (icomplete-completions):
2504 Follow-up to 2014-03-01 change.
2506 * icomplete.el: Miscellaneous doc fixes.
2507 Use Icomplete everywhere instead of icomplete for consistency.
2508 (icomplete-max-delay-chars): Fix typo.
2509 (icomplete-mode): Use \[].
2510 (icomplete-tidy, icomplete-exhibit): Reflow.
2511 (icomplete-minibuffer-setup-hook, icomplete-completions):
2512 Remove superfluous backlashes.
2514 * ido.el: Miscellaneous doc fixes.
2515 Use Ido everywhere instead of ido or `ido' for consistency.
2516 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2517 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2518 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2519 (ido-separator): Extract obsolescence info from docstring and declare
2520 with make-obsolete-variable.
2521 (ido-minibuffer-setup-hook): Simplify example.
2522 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2523 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2524 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2525 (ido-everywhere): Reflow docstring.
2526 (ido-toggle-vc): Doc fix.
2527 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2528 of long list of keybindings.
2530 2014-03-03 Glenn Morris <rgm@gnu.org>
2532 * frame.el (display-pixel-height, display-pixel-width)
2533 (display-mm-dimensions-alist, display-mm-height)
2534 (display-mm-width): Doc tweaks.
2536 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2538 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2539 case of undo in region.
2541 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2543 * window.el (fit-window-to-buffer): Fix argument in window-size
2544 call when window is horizontally combined.
2546 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2548 * icomplete.el (icomplete-completions): Use string-width.
2549 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2551 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2553 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2554 Highlight regexp options. (Bug#16914)
2556 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2558 * window.el (window--max-delta-1): Round down when calculating
2559 how many lines/columns we can get from a window.
2561 2014-03-01 Glenn Morris <rgm@gnu.org>
2563 * isearch.el (search-invisible): Doc fix.
2565 * minibuffer.el (completion-hilit-commonality):
2566 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2567 * comint.el (comint-dynamic-list-completions): Doc fix.
2568 * comint.el (comint-dynamic-list-completions):
2569 * filecache.el (file-cache-minibuffer-complete):
2570 * tempo.el (tempo-display-completions):
2571 * eshell/em-hist.el (eshell-list-history):
2572 Replace use of obsolete argument of display-completion-list.
2574 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2576 * icomplete.el (icomplete-completions):
2577 Revert back to using "..." when ?… cannot be displayed.
2579 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2581 * finder.el (finder-unload-function): New function.
2583 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2585 * dframe.el (dframe-detach):
2586 * find-dired.el (find-dired, find-name-dired):
2587 * finder.el (finder-mode-map, finder-mode-syntax-table)
2588 (finder-headmark, finder-select, finder-mouse-select):
2589 Fix docstring typos.
2591 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2593 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2594 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2595 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2596 Fix doc-string based on a suggestion by Nicolas Richard
2597 <theonewiththeevillook@yahoo.fr>.
2598 * help.el (with-help-window): Fix doc-string.
2600 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2602 * net/shr.el (shr-image-animate): New option.
2603 (shr-put-image): Respect shr-image-animate.
2605 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2607 * net/tramp-adb.el (tramp-adb-parse-device-names):
2608 Use `accept-process-output'.
2609 (tramp-adb-handle-file-truename): Cache the localname only.
2610 (tramp-adb-handle-make-directory)
2611 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2612 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2613 modes cannot be changed.
2615 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2616 file properties of symlinks.
2618 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2620 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2621 required/optional fields to match development biblatex. (Bug#16781)
2623 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2625 * saveplace.el (toggle-save-place):
2626 Fix argument handling. (Bug#16673)
2628 2014-02-28 Glenn Morris <rgm@gnu.org>
2630 * minibuffer.el (completions-first-difference)
2631 (completions-common-part, completion-hilit-commonality): Doc fixes.
2633 2014-02-28 Karl Berry <karl@gnu.org>
2635 * info.el (Info-mode-map): Add H for describe-mode,
2636 to synchronize with standalone Info.
2638 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2640 * progmodes/sql.el (sql-interactive-mode):
2641 Avoid setting global comint-input-ring-separator. (Bug#16814)
2643 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2645 * net/dbus.el (dbus--init-bus): Declare function.
2646 (dbus-path-local, dbus-interface-local): New defconst.
2647 (dbus-init-bus): Use them.
2648 (dbus-return-values-table): Extend doc.
2649 (dbus-handle-bus-disconnect): Extend error message.
2651 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2653 * subr.el (y-or-n-p): Fix double space issue in message.
2655 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2657 * net/tramp.el (tramp-call-process): Improve trace message.
2658 (tramp-handle-insert-file-contents): Trace error case.
2660 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2661 <insert-directory>: Use `tramp-handle-insert-directory'.
2662 (tramp-adb-handle-insert-directory): Remove function.
2663 (tramp-adb-send-command-and-check): New defun, replacing
2664 `tramp-adb-command-exit-status'. Change all callees.
2665 (tramp-adb-handle-file-attributes)
2666 (tramp-adb-handle-directory-files-and-attributes): Use it.
2667 (tramp-adb-ls-output-name-less-p):
2668 Use `directory-listing-before-filename-regexp'.
2669 (tramp-adb-handle-delete-directory): Flush also file properties of
2670 the truename of directory.
2671 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2672 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2673 (tramp-adb-handle-write-region): Implement APPEND.
2674 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2675 properties correctly.
2676 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2677 variables. Check for connected devices only when needed.
2679 2014-02-27 Glenn Morris <rgm@gnu.org>
2681 * minibuffer.el (completion-table-dynamic)
2682 (completion-table-with-cache): Doc fixes.
2684 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2685 (completing-read-multiple): Doc fixes.
2687 2014-02-27 Daniel Colascione <dancol@dancol.org>
2689 * minibuffer.el (completion--nth-completion): Fix indentation.
2691 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2692 explicit tramp path is empty.
2694 2014-02-27 Glenn Morris <rgm@gnu.org>
2696 * emacs-lisp/crm.el (completing-read-multiple):
2697 Empower help-enable-auto-load.
2699 2014-02-26 Glenn Morris <rgm@gnu.org>
2701 * startup.el (command-line): Don't init the tty in daemon mode.
2703 Avoid calling tty-setup-hook twice, eg if a term file
2704 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2705 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2706 (tty-create-frame-with-faces): Use it.
2707 * startup.el (command-line): Pass run-hook argument
2708 to tty-run-terminal-initialization.
2710 * dired.el (dired-restore-desktop-buffer): Demote errors;
2711 eg in case a glob match fails. (Bug#16884)
2713 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2715 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2716 error from `read-from-string'. (Bug#16850)
2718 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2719 result of `completing-read' in the interactive form. (Bug#16854)
2721 2014-02-25 Glenn Morris <rgm@gnu.org>
2723 * image.el (image-animate, image-animate-timeout):
2724 Stop animating images in dead buffers. (Bug#16878)
2726 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2728 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2730 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2731 * term/sun.el (sun-raw-prefix-hooks):
2732 Use tty-setup-hook instead of term-setup-hook.
2733 (terminal-init-sun): Construct message from bytecomp plist.
2734 * term/wyse50.el (enable-arrow-keys): Doc fix.
2736 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2738 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2739 Fix docstring typos.
2741 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2743 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2745 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2747 * minibuffer.el (completion--try-word-completion):
2748 Fix error when completing M-x commands (bug#16808).
2750 2014-02-24 Leo Liu <sdl.web@gmail.com>
2752 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2754 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2756 * apropos.el (apropos-print): Avoid formatting error when
2757 apropos-do-all and apropos-compact-layout are both t.
2759 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2761 * apropos.el (apropos-property, apropos-all-words-regexp)
2762 (apropos-true-hit, apropos-variable, apropos-print):
2763 Fix docstring typos, and remove obsolete comment.
2765 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2767 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2768 Preserve trailing "/". (Bug#16851)
2770 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2772 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2773 after `=>' (bug#16811).
2774 (ruby-smie-rules): Handle the inconsistent second element of the
2775 list returned by `smie-indent--parent'.
2776 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2779 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2781 * elec-pair.el (electric-pair-text-syntax-table)
2782 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2783 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2784 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2785 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2787 2014-02-22 Glenn Morris <rgm@gnu.org>
2789 * imenu.el (imenu--generic-function): Doc fix.
2791 * register.el (frame-configuration-to-register): Make obsolete.
2793 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2795 * desktop.el (desktop-save-buffer-p): Do not fail when
2796 desktop-files-not-to-save is nil. Return t for true result
2799 2014-02-22 Daniel Colascione <dancol@dancol.org>
2801 * net/secrets.el (secrets-create-item, secrets-search-items):
2802 Check that attribute values are strings, avoiding the construction
2803 of invalid dbus messages.
2805 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2807 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2808 defun-declarations-alist.
2810 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2812 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2815 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2817 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2818 (whitespace-newline, whitespace-trailing, whitespace-line)
2819 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2820 (whitespace-space-after-tab): Fix typo in docstrings.
2822 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2824 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2826 * electric.el (electric-indent-functions-without-reindent):
2827 Add `yaml-indent-line'.
2829 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2831 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2832 It has done nothing for years; should be removed after the release.
2834 * simple.el (choose-completion): Fix docstring typo.
2835 (read-quoted-char-radix): Remove unneeded * in docstring.
2836 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2837 Don't escape parentheses unnecessarily in docstrings.
2839 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2841 Fix handling of window-min-height/-width (Bug#16738).
2842 * window.el (window--dump-window, window--dump-frame):
2844 (window--min-size-1): Account for window dividers.
2845 When window-resize-pixelwise is nil, delay rounding till after the
2846 sum of the window components has been calculated.
2847 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2848 nil make sure at least one text line and two text columns remain
2850 (window-resize): Signal an error when window-resize-apply fails.
2851 (window--resize-child-windows): Fix calculation of by how many
2852 pixels a window can still be shrunk via window-new-normal.
2853 (adjust-window-trailing-edge): Call window--resizable with
2854 correct TRAIL argument.
2856 (with-temp-buffer-window): Don't evaluate BODY within
2857 with-current-buffer (Bug#16816).
2859 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2861 * net/tramp.el (tramp-check-cached-permissions):
2862 Call `file-attributes' with `suffix' being a symbol but a string.
2864 2014-02-21 Daniel Colascione <dancol@dancol.org>
2866 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2867 (dbus-init-bus): New function: call into dbus-init-bus-1
2868 and installs a handler for the disconnect signal.
2869 (dbus-call-method): Rewrite to look for result in cons.
2870 (dbus-call-method-handler): Store result in cons.
2871 (dbus-check-event): Recognize events with nil sender as valid.
2872 (dbus-handle-bus-disconnect): New function. React to bus
2873 disconnection signal by synthesizing dbus error for each
2874 pending synchronous or asynchronous call.
2875 (dbus-notice-synchronous-call-errors): New function.
2876 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2877 is true, not all the time.
2879 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2881 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2882 Remove obsolescence declarations, these variables do not exist anymore.
2884 * savehist.el (savehist-save-minibuffer-history)
2885 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2886 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2887 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2888 mostly, refer to "Savehist mode" when talking about the mode,
2889 and not the function.
2891 * saveplace.el (save-place): Remove redundant info in docstring.
2892 (save-place-forget-unreadable-files, toggle-save-place)
2893 (save-place-forget-unreadable-files, save-place-dired-hook):
2894 Fix typos and remove unneeded backslashes.
2896 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2898 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2899 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2901 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2902 <insert-directory>: Use `tramp-handle-insert-directory'.
2903 (tramp-gvfs-handle-insert-directory): Remove function.
2905 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2906 Call `tramp-handle-insert-directory'.
2908 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2910 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2911 before the start of buffer/region (bug#16799).
2913 2014-02-20 Glenn Morris <rgm@gnu.org>
2915 * isearch.el (search-invisible): Doc fix.
2917 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2919 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2922 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2924 * frameset.el (frameset-restore): Delay removing an old frame's
2925 duplicate id until the new frame has been correctly created.
2927 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2929 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2930 (tramp-check-cached-permissions): Call `file-attributes' if the
2933 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2934 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2936 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2937 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2938 (tramp-gvfs-maybe-open-connection): Set always connection
2939 properties, even if target is mounted already.
2941 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2942 Set tramp-autoload cookie.
2943 (tramp-get-remote-touch): New defun.
2944 (tramp-sh-handle-set-file-times): Use it.
2945 (tramp-sh-handle-directory-files-and-attributes):
2946 Use `tramp-handle-directory-files-and-attributes' if neither stat
2947 nor perl are available on the remote host.
2949 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2950 "/". Write long listing only when "l" belongs to the switches.
2952 * net/trampver.el: Update release number.
2954 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2956 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2958 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2960 * window.el (window-state-put): Allow WINDOW to refer to an
2961 internal window (Bug#16793).
2963 2014-02-19 Glenn Morris <rgm@gnu.org>
2965 * textmodes/remember.el: Move provide statement to end.
2966 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2967 (remember-notes): Doc fixes.
2969 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2971 * delsel.el (delete-char): Restore incorrectly erased property
2974 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2976 * frameset.el (frameset--restore-frame): When a frame is being reused
2977 and its root window is not alive, delete all the frame's windows before
2978 restoring the window state. This works around the issue in bug#16793.
2980 2014-02-18 Glenn Morris <rgm@gnu.org>
2982 * textmodes/remember.el (remember-data-directory)
2983 (remember-directory-file-name-format, remember-store-in-files)
2984 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2985 (remember-notes-save-and-bury-buffer)
2986 (remember-notes--kill-buffer-query): Doc fixes.
2988 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2990 2014-02-17 Alan Mackenzie <acm@muc.de>
2992 Connect electric-indent-mode up with CC Mode. Bug #15478.
2993 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2994 to electric-indent-{,local-}-mode.
2995 (c-basic-common-init): Set electric-indent-inhibit.
2996 Initialise c-electric-flag from electric-indent-mode.
2997 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2998 New hook functions which propagate electric-indent-mode to CC mode.
3000 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3001 hit, toggle electric-indent-local-mode.
3003 * electric.el (electric-indent-mode-has-been-called):
3006 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3008 * frameset.el (frameset-cfg-id): New function.
3009 (frameset--reuse-frame, frameset-restore): Use it.
3010 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3012 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3014 * ido.el (ido-file-internal): Remove unused var `d'.
3015 Use \` for to match BoS. Fit within 80n columns.
3017 2014-02-17 Daniel Colascione <dancol@dancol.org>
3019 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3020 dbus-call-method check for completion using a busy-wait loop with
3023 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3025 Sync with Tramp 2.2.9.
3027 * net/trampver.el: Update release number.
3029 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3031 * ido.el (ido-file-internal): Don't add the name of an existing
3032 directory twice. (Bug#16747)
3034 2014-02-16 Glenn Morris <rgm@gnu.org>
3036 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3037 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3039 2014-02-15 Michael R. Mauger <michael@mauger.com>
3041 * progmodes/sql.el: Version 3.4
3042 (sql-oracle-options): New default value ("-L").
3043 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3044 (sql-placeholders-filter): Correct placeholder pattern.
3045 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3046 (sql-login-delay): New variable.
3047 (sql-product-interactive): Use it.
3049 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3051 * frameset.el (frameset--jump-to-register): Check that buffer is live
3054 2014-02-15 Glenn Morris <rgm@gnu.org>
3056 * info.el (info-initialize): Revert 2014-01-10 change.
3058 2014-02-14 Glenn Morris <rgm@gnu.org>
3060 * replace.el (map-query-replace-regexp)
3061 (read-regexp-defaults-function, read-regexp): Doc fixes.
3063 * dired.el (dired-read-regexp):
3064 * faces.el (list-faces-display):
3065 * misearch.el (multi-isearch-read-matching-buffers)
3066 (multi-isearch-read-matching-files):
3067 * play/cookie1.el (cookie-apropos):
3068 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3070 * textmodes/remember.el (remember): Use frameset-to-register
3071 rather than frame-configuration-to-register.
3073 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3075 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3076 incorrect keybinding.
3078 2014-02-13 Daniel Colascione <dancol@dancol.org>
3080 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3081 when adding overlays so that line numbers from compiler match line
3084 2014-02-13 Glenn Morris <rgm@gnu.org>
3086 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3088 * jit-lock.el (jit-lock-mode): Doc fix.
3090 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3092 * apropos.el (apropos-read-pattern): When the user passes an empty
3093 string, give a more helpful error message than "Wrong type
3094 argument: stringp, nil".
3096 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3098 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3100 2014-02-13 Glenn Morris <rgm@gnu.org>
3102 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3104 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3106 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3107 shift-select commands.
3109 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3111 * progmodes/js.el (js-indent-line): Don't widen.
3112 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3114 2014-02-12 Glenn Morris <rgm@gnu.org>
3116 * icomplete.el (icomplete): Add info-link to defgroup.
3117 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3118 (icomplete-minibuffer-map, icomplete-mode)
3119 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3121 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3122 (package-menu-filter): Rename from package-menu-filter-interactive.
3125 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3127 * frameset.el (frameset--jump-to-register): Select the required
3128 window and buffer before restoring position (bug#16696).
3130 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3132 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3134 2014-02-10 Glenn Morris <rgm@gnu.org>
3136 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3138 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3140 * w32-common-fns.el (x-get-selection): Doc fix.
3141 * select.el (x-get-selection): Doc fix. (Bug#15109)
3143 * face-remap.el (face-remap-add-relative)
3144 (face-remap-remove-relative, face-remap-reset-base)
3145 (face-remap-set-base): Call force-mode-line-update to redisplay
3146 the current buffer due to potential change in faces. (Bug#16709)
3148 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3150 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3151 script more robustly.
3153 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3155 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3157 * simple.el (choose-completion): Doc fix (bug#14160).
3159 * subr.el (event-start): Say what a nil EVENT value means.
3161 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3164 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3166 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3168 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3170 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3171 predicate function (bug#15455).
3173 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3175 * ielm.el (inferior-emacs-lisp-mode): Instead of
3176 `comment-use-global-state', set `comment-use-syntax'.
3178 2014-02-10 Glenn Morris <rgm@gnu.org>
3180 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3182 2014-02-09 Alan Mackenzie <acm@muc.de>
3184 Fix c-invalidate-state-cache on narrowed buffers.
3185 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3186 Widen when setting and clearing the CPP delimiter properties.
3188 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3190 * help.el (describe-bindings): Doc fix (bug#9888).
3192 * files.el (save-buffer): Use ARG as the parameter name for
3193 consistency (bug#10346).
3194 (save-buffer): Clarify the 0 argument (bug#10346).
3196 * cus-edit.el (customize-apropos): Fix error string.
3197 (custom-buffer-create): Doc fix (bug#11122).
3198 (custom-sort-items): Doc fix (bug#11121).
3200 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3202 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3203 (icomplete-simple-completing-p): Mention the previous variable.
3205 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3206 meaning of the parameter (bug#12282).
3208 * files.el (find-file-noselect): Clarify prompt when changing
3209 readedness (bug#13261).
3210 (locate-file): Suffixes aren't returned, so don't say that they
3212 (backup-inhibited): Doc clarification (bug#12525).
3214 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3215 before we actually start to delete things (bug#16331).
3217 * subr.el (event-start): Doc fix (bug#14228).
3220 2014-02-09 Glenn Morris <rgm@gnu.org>
3222 * emacs-lisp/warnings.el (lwarn):
3223 Empower help-enable-auto-load. (Bug#15940)
3225 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3227 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3230 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3232 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3233 Insert output at end of buffer. (Bug#16120)
3235 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3237 * simple.el (choose-completion-string-functions): Document new
3238 calling convention (bug#14153).
3239 (execute-extended-command): Clarify doc string (bug#13373).
3241 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3243 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3244 (find-grep-dired): Doc fix (bug#14288).
3246 2014-02-08 Juri Linkov <juri@jurta.org>
3248 * isearch.el (isearch-quote-char): Check character validity
3249 like in `quoted-insert' (bug#16677).
3251 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3253 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3255 * isearch.el (isearch-hide-immediately): Doc clarification
3258 * simple.el (line-move): Document utility function used many
3259 places in the Emacs sources (bug#14843).
3261 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3262 (dired-prev-marked-file): Doc fix (bug#14855).
3263 (dired-up-directory): Doc fix (bug#14848).
3265 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3267 * files.el (file-relative-name): Doc fix (bug#15159).
3269 * fringe.el (fringe-styles): Doc fix (bug#15239).
3271 * isearch.el (isearch-filter-predicate): Documentation typo fix
3274 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3276 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3278 * replace.el (replace-match-maybe-edit): Doc clarification
3281 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3283 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3285 2014-02-08 Glenn Morris <rgm@gnu.org>
3287 * help-fns.el (describe-variable):
3288 Check {file,dir}-local-variables-alist, and buffer-file-name,
3289 in the correct buffer.
3291 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3293 * help-fns.el (describe-variable): Fix the case where
3294 a value is directory-local with no dir-locals file. (Bug#16635)
3296 2014-02-08 Glenn Morris <rgm@gnu.org>
3298 * abbrev.el (edit-abbrevs-mode):
3299 Derive from fundamental-mode. (Bug#16682)
3301 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3303 * simple.el (quoted-insert): Check character validity (bug#16677).
3305 2014-02-07 Juri Linkov <juri@jurta.org>
3307 * desktop.el (desktop-read): Claim the lock when the owner is not
3308 the current process. (Bug#16157)
3310 2014-02-07 Juri Linkov <juri@jurta.org>
3312 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3313 to "\\` ". (Bug#16651)
3315 2014-02-07 Juri Linkov <juri@jurta.org>
3317 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3318 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3319 (desktop-auto-save-cancel-timer): New function with some code from
3320 `desktop-auto-save-set-timer'.
3321 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3322 Instead of setting `desktop-save-mode' to nil, call
3323 `desktop-save-mode' with arg 0. (Bug#16630)
3325 2014-02-07 Glenn Morris <rgm@gnu.org>
3327 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3328 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3329 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3331 * obsolete/iswitchb.el: Move to obsolete/.
3332 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3333 since obsolete/ is not scanned for autoloads.
3334 * emacs-lisp/authors.el (authors-valid-file-names):
3337 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3338 Disable now non-functional find-file-hook.
3340 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3342 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3343 instead of ";" in order to avoid additional prompts. Let heredoc
3344 scripts read from tty. (Bug#16582)
3345 (tramp-send-command): No special handling of heredocs, it isn't
3348 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3350 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3351 with a space (bug#16664). Limit the symbols considered to the ones
3352 that are bound or fbound (bug#16646).
3354 2014-02-06 Glenn Morris <rgm@gnu.org>
3356 * epa.el (epa-mail-aliases): Doc fix.
3358 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3360 * emacs-lisp/lisp.el (lisp-completion-at-point):
3361 Use `completion-table-merge' instead of `completion-table-in-turn'
3364 * minibuffer.el (completion-table-merge): New function.
3366 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3368 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3369 (tramp-sh-handle-set-file-acl)
3370 (tramp-sh-handle-start-file-process)
3371 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3372 (tramp-find-executable, tramp-send-command): Use it.
3374 2014-02-05 Glenn Morris <rgm@gnu.org>
3376 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3378 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3380 * progmodes/python.el (python-shell-send-string)
3381 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3383 2014-02-04 Anders Lindgren <andlind@gmail.com>
3385 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3386 the names (bug#16620).
3388 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3390 * faces.el (window-divider): New default value. Rewrite doc-string.
3391 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3393 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3395 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3396 `protected' and `public' can also be called without arguments.
3398 2014-02-03 Glenn Morris <rgm@gnu.org>
3400 * register.el (window-configuration-to-register)
3401 (frame-configuration-to-register): Unadvertise unused argument.
3402 * frameset.el (frameset-to-register): Remove unused argument.
3404 * frameset.el (frameset-to-register):
3405 * kmacro.el (kmacro-to-register):
3406 * register.el (increment-register):
3407 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3408 (calc-append-to-register, calc-prepend-to-register):
3409 * play/gametree.el (gametree-layout-to-register)
3410 (gametree-apply-register-layout):
3411 * textmodes/picture.el (picture-clear-rectangle-to-register)
3412 (picture-yank-rectangle-from-register):
3413 * vc/emerge.el (emerge-combine-versions-register):
3414 Use register-read-with-preview to read registers.
3416 2014-02-03 João Távora <joaotavora@gmail.com>
3418 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3419 when at beginning of (possibly narrowed) buffer.
3421 2014-02-02 Daniel Colascione <dancol@dancol.org>
3423 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3424 Also try to display local help from just before point.
3426 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3428 c-parse-state. Don't "append-lower-brace-pair" in certain
3429 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3430 recognised as a comment.
3432 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3433 as well as normal comment starter.
3434 (c-parse-state-get-strategy): Extra return possibility
3436 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3437 return value list to indicate replacement of a brace-pair cons
3439 (c-parse-state-1): With 'back-and-forward, only call
3440 c-append-lower-brace-pair-to state-cache when cons-separated.
3442 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3444 * term/ns-win.el (ns-suspend-error): New function.
3445 (ns-initialize-window-system): Add ns-suspend-error to
3446 suspend-hook (Bug#16612).
3448 2014-02-02 Daniel Colascione <dancol@dancol.org>
3450 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3451 Make loading cc-mode silent.
3453 2014-02-02 Daniel Colascione <dancol@dancol.org>
3455 * comint.el (comint-prompt-read-only): Change doc to suggest
3458 2014-02-02 Glenn Morris <rgm@gnu.org>
3460 * register.el (register-read-with-preview, point-to-register)
3461 (window-configuration-to-register, frame-configuration-to-register)
3462 (jump-to-register, number-to-register, view-register, insert-register)
3463 (copy-to-register, append-to-register, prepend-to-register)
3464 (copy-rectangle-to-register): Doc fixes.
3466 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3468 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3469 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3470 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3471 * help-fns.el (describe-function-1): Use it.
3473 2014-02-02 Glenn Morris <rgm@gnu.org>
3475 * register.el (register-preview-default): New function,
3476 split from register-preview.
3477 (register-preview-function): Rename from register-preview-functions,
3479 (register-preview): Use register-preview-function.
3480 (register-read-with-preview): Error on non-character event. (Bug#16595)
3482 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3484 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3485 `:' before binary operators (bug#16609). Don't check for `:'
3486 before `[' and `(', or their syntax status. A percent literal
3487 can't end with either.
3488 (ruby-font-lock-keywords): For built-ins that require arguments,
3489 check that they're followed by something that looks like argument
3492 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3494 * subr.el (butlast): Document what an omitted N means (bug#13437).
3497 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3499 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3500 depth shallower (bug#16587).
3501 (shr-tag-svg): Respect `shr-inhibit-images'.
3502 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3504 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3506 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3507 (ruby-smie-grammar): Make "." right-associative. Make its priority
3508 lower than the ternary and all binary operators.
3509 (ruby-smie-rules): Indent "(" relative to the first non-"."
3510 parent, or the first "." parent at indentation.
3511 Use `ruby-align-chained-calls' for indentation of "." tokens.
3514 2014-01-31 Juri Linkov <juri@jurta.org>
3516 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3517 from `make-hash-table'.
3519 * textmodes/ispell.el (ispell-init-process): Change message format
3520 to be consistent with other messages.
3522 2014-01-31 Glenn Morris <rgm@gnu.org>
3524 * delsel.el (delete-selection-mode): Doc fix.
3526 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3527 (trace-function-background): Doc fixes.
3529 * ido.el (ido-use-virtual-buffers): Doc fix.
3530 Reset :version, since the default value has not changed.
3532 * register.el (register-preview-delay, register-read-with-preview):
3535 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3536 do not mess with mail-buffer position (fixes 2009-11-03 change).
3537 * progmodes/cc-mode.el (c-submit-bug-report):
3538 Check auto-fill-mode is bound. (Bug#16592)
3540 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3542 * startup.el (fancy-splash-image-file): New function,
3543 split from fancy-splash-head.
3544 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3545 so that we are both using the same image. (Bug#16574)
3547 2014-01-30 Glenn Morris <rgm@gnu.org>
3549 * simple.el (eval-expression): Doc fix.
3551 * hexl.el (hexl-mode-hook):
3552 * ielm.el (ielm-mode-hook):
3553 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3554 (lisp-interaction-mode-hook):
3555 * progmodes/cfengine.el (cfengine3-documentation-function):
3556 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3558 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3560 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3561 is a symbol (bug#16584).
3563 2014-01-30 Glenn Morris <rgm@gnu.org>
3565 * help.el (help-for-help-internal): Add "P" to text.
3567 2014-01-29 Glenn Morris <rgm@gnu.org>
3569 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3571 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3573 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3576 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3578 * progmodes/hideif.el: Extend to full CPP expression syntax.
3579 (hif-token-alist): Add missing tokens.
3580 (hif-token-regexp): Add support for float/octal/hex immediates.
3581 (hif-string-literal-regexp): New const.
3582 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3583 (hif-exprlist): New function.
3584 (hif-parse-if-exp): Use it.
3585 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3586 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3587 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3588 (hif-logxor, hif-comma): New functions.
3590 2014-01-28 Glenn Morris <rgm@gnu.org>
3592 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3594 * indent.el (tab-stop-list): Doc fix. Add :version.
3596 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3597 (cvs-append-to-ignore): Add compatibility alias.
3599 2014-01-27 Glenn Morris <rgm@gnu.org>
3601 * dired.el (dired-hide-details-mode): Don't autoload it,
3602 since it cannot be used outside Dired buffers anyway.
3604 * emulation/cua-base.el (cua-mode): Doc fix.
3606 * dired.el (dired-hide-details-hide-symlink-targets)
3607 (dired-hide-details-hide-information-lines)
3608 (dired-hide-details-mode): Doc fixes.
3610 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3611 * strokes.el (strokes-file): Doc fix. Bump :version.
3612 (strokes-help): Doc fix.
3613 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3614 * emulation/viper.el (viper): Doc fix for custom group.
3615 (top-level): Remove oh-so-no-longer-relevant text about vip.
3616 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3618 * ido.el (ido-save-directory-list-file):
3619 * saveplace.el (save-place-file):
3620 * calendar/timeclock.el (timeclock-file):
3621 * net/quickurl.el (quickurl-url-file):
3622 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3623 * progmodes/idlwave.el (idlwave-config-directory):
3624 * textmodes/remember.el (remember-data-file):
3627 2014-01-26 Glenn Morris <rgm@gnu.org>
3629 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3630 Doc fix. Make obsolete.
3631 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3633 * sort.el (delete-duplicate-lines): Doc fix.
3635 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3637 * progmodes/ada-mode.el (ada):
3638 * woman.el (woman): Link to info manual and Commentary section.
3640 * progmodes/flymake.el (flymake):
3641 * nxml/nxml-mode.el (nxml):
3643 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3644 * htmlfontify.el (htmlfontify):
3647 * ido.el (ido): Link to info manual.
3649 2014-01-25 Leo Liu <sdl.web@gmail.com>
3651 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3653 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3655 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3658 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3660 * net/eww.el (eww-download-callback):
3661 Fix reference to eww-download-directory.
3663 * emacs-lisp/bytecomp.el (byte-compile-file):
3664 Remove unused local variable `file-name'.
3666 2014-01-24 Glenn Morris <rgm@gnu.org>
3668 * woman.el (woman-default-faces, woman-monochrome-faces):
3669 Fix obsolescence specification.
3671 * subr.el (with-demoted-errors): Doc fix.
3673 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3675 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3676 (cl--macroexp-fboundp): New function.
3677 (cl--make-type-test): Use it.
3679 2014-01-23 Glenn Morris <rgm@gnu.org>
3681 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3682 * simple.el (eval-expression): Doc fixes.
3684 2014-01-22 Glenn Morris <rgm@gnu.org>
3686 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3688 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3690 * emacs-lisp/package.el: Write files silently.
3691 (package-autoload-ensure-default-file, package--write-file-no-coding)
3692 (package-generate-description-file, package--download-one-archive)
3693 (package-install-from-archive): Tell `write-region' to stay quiet.
3694 (package-menu-mode, package-menu--print-info): Omit the Archive column
3695 if there's only one archive.
3696 (package-all-keywords, package--has-keyword-p): Remove dead code.
3698 2014-01-22 Glenn Morris <rgm@gnu.org>
3700 * version.el (emacs-bzr-version-bzr): Fix typo.
3702 * version.el (emacs-repository-get-version):
3703 Check either .bzr or .git, but not both.
3704 Make the git case actually use the DIR argument, and return nil
3705 rather than the empty string.
3706 Avoid error if .git exists but the git executable is not found.
3708 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3710 Fixes in window size functions around Bug#16430 and Bug#16470.
3711 * window.el (window-total-size, window-size): New argument ROUND.
3712 (window--min-delta-1, window-min-delta, window--max-delta-1):
3713 Be more conservative when calculating the numbers of lines or
3714 columns a window can shrink (Bug#16430).
3715 (fit-window-to-buffer): Simplify code.
3716 * term.el (term-window-width): Call window-body-width again.
3718 2014-01-22 Glenn Morris <rgm@gnu.org>
3720 * image.el (image-format-suffixes): Doc fix.
3722 * international/quail.el (quail-define-package): Doc fix.
3724 * emacs-lisp/authors.el (authors-valid-file-names)
3725 (authors-renamed-files-alist): Additions.
3727 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3728 reverts 2014-01-09 change. (Bug#16422)
3730 * calc/calc-embed.el (thing-at-point-looking-at):
3731 * emacs-lisp/map-ynp.el (x-popup-dialog):
3732 * obsolete/lmenu.el (x-popup-dialog):
3733 * emacs-lisp/package.el (url-recreate-url):
3734 * mail/mailclient.el (clipboard-kill-ring-save):
3735 * subr.el (x-popup-dialog): Update declaration.
3736 * mail/rmail.el (rmail-mime-message-p):
3737 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3739 2014-01-21 Daniel Colascione <dancol@dancol.org>
3741 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3742 Correctly detect when we're inside an arithmetic expansion form
3743 containing nested parenthesis.
3744 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3745 to detect cases where we shouldn't expand "<<" to a heredoc
3748 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3750 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3751 (eldoc--message-command-p): New function.
3752 (eldoc-display-message-p): Use it.
3753 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3754 message is not automatically erased for us.
3755 (eldoc-print-current-symbol-info): Erase previous message, if any.
3757 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3759 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3760 specify it's an interactive function.
3762 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3763 Fix regex used for scanning for citation keys which failed for
3764 citations with optional arguments.
3766 2014-01-21 Leo Liu <sdl.web@gmail.com>
3768 * simple.el (read--expression): Don't enable eldoc-mode.
3770 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3772 * simple.el (move-beginning-of-line): Make sure we don't move forward
3775 2014-01-20 Juri Linkov <juri@jurta.org>
3777 * saveplace.el (toggle-save-place, save-place-to-alist)
3778 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3779 'dired-mode) before checking for dired-directory. (Bug#16477)
3781 2014-01-20 Juri Linkov <juri@jurta.org>
3783 * indent.el (indent-line-to): Use backward-to-indentation
3784 instead of back-to-indentation. (Bug#16461)
3786 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3788 Revert some of the CANNOT_DUMP fix (Bug#16494).
3789 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3790 but fixing this can wait until after the next release.
3791 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3793 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3795 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3796 Use `password-word-equivalents'.
3797 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3798 to t. (Bug#5664, Bug#13124)
3800 2014-01-19 Alan Mackenzie <acm@muc.de>
3802 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3804 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3805 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3806 * progmodes/cc-mode.el (c-before-change, c-after-change)
3807 (c-font-lock-fontify-region): Bind it here.
3809 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3811 * term.el (term-window-width): Call window-text-width instead of
3812 window-width (Bug#16470).
3814 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3816 * simple.el (password-word-equivalents): Remove duplicates.
3817 Sort, to make this easier next time.
3818 Downcase. Omit ": " after "jelszó".
3820 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3822 * term/common-win.el (saved-region-selection): Defvar it.
3823 (x-select-text): Set saved-region-selection (Bug#16382).
3825 2014-01-18 Glenn Morris <rgm@gnu.org>
3827 * emacs-lisp/authors.el (authors-aliases)
3828 (authors-renamed-files-alist): Add some entries.
3830 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3832 * net/tramp.el (tramp-password-prompt-regexp):
3833 Use `password-word-equivalents' if available.
3834 (tramp-action-password, tramp-process-one-action)
3835 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3837 2014-01-17 Chong Yidong <cyd@gnu.org>
3839 * simple.el (password-word-equivalents): New defcustom.
3840 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3842 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3845 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3847 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3848 (ruby-align-to-stmt-keywords): Change the default value.
3849 Use `ruby-alignable-keywords' to generate the possible customization
3851 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3852 keywords, check against the value of `ruby-alignable-keywords'
3853 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3855 2014-01-17 Glenn Morris <rgm@gnu.org>
3857 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3859 Make M-x authors return zero *Authors Errors* from current logs.
3860 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3861 (authors-ignored-files): Add some entries, remove others.
3862 (authors-ambiguous-files, authors-valid-file-names):
3864 (authors-renamed-files-alist): Add, remove, and adjust entries.
3865 (authors-renamed-files-regexps): Add some entries.
3866 Remove some very broad ones. Make some entries `lax'.
3867 (authors-lax-changelogs): New constant.
3868 (authors-disambiguate-file-name): Treat top-level specially.
3869 (authors-lax-changelog-p): New function.
3870 (authors-canonical-file-name): Check file as written against
3871 authors-valid-file-names. Do not special-case etc/.
3872 Handle `lax' logs and authors-renamed-files-regexps elements.
3874 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3876 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3877 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3880 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3882 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3883 Assume we're already in the proper buffer.
3884 Inspired by Anders Lindgren <andlind@gmail.com>.
3885 (follow-post-command-hook): Call it from the right buffer.
3886 (follow-comint-scroll-to-bottom): Adjust call.
3887 (follow-all-followers): Use get-buffer-window-list.
3889 2014-01-15 Daniel Colascione <dancol@dancol.org>
3891 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3892 `buffer-file-name' in interactive-form so that we don't leave
3893 pathless file names in `file-name-history'.
3895 2014-01-15 Juri Linkov <juri@jurta.org>
3897 * indent.el (indent-rigidly): Set deactivate-mark to nil
3898 in transient indentation mode. (Bug#16438)
3900 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3902 * emacs-lisp/package.el (package-desc-keywords): New function
3904 (describe-package-1, package-all-keywords)
3905 (package--has-keyword-p): Use it.
3907 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3909 * simple.el (define-alternatives): When creating the
3910 COMMAND-alternatives variable, assign COMMAND as its definition
3911 name so that `describe-variable' can relocate it.
3913 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3915 * font-lock.el (font-lock-keywords): Fix typo in docstring
3918 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3920 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
3921 line instead of wrongly reset `add-coment' (bug#13577).
3923 2014-01-14 Daiki Ueno <ueno@gnu.org>
3925 * epa-file.el (epa-file-write-region): Encode the region according
3926 to `buffer-file-format'. Problem reported at:
3927 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3929 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3931 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3932 so it applies in the right buffer (bug#16410).
3934 2014-01-13 Daniel Colascione <dancol@dancol.org>
3936 * textmodes/rst.el (rst-define-key): Provide deprecated
3937 keybindings through named functions instead of anonymous ones so
3938 that "??" doesn't appear in describe-mode output.
3940 2014-01-13 Bastien Guerry <bzg@gnu.org>
3942 * simple.el (define-alternatives): Call the selected command
3943 interactively. When setting `COMMAND--implementation' for the
3944 first time, tell the user how to chose another implementation.
3945 Enhance the docstring.
3947 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3949 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3950 (log-edit--match-first-line): New function.
3951 (log-edit-font-lock-keywords): Use it.
3952 (log-edit-mode): Make jit-lock-defer-multiline work.
3954 2014-01-13 Bastien Guerry <bzg@gnu.org>
3956 * rect.el (rectangle-mark-mode): When the region is not active,
3957 display a message saying that the mark as been set and that
3958 rectangle mode is in use.
3959 (rectangle--highlight-for-redisplay): Only put an overlay with a
3960 visible vertical bar when (display-graphic-p) is non-nil.
3961 This partially fixes Bug#16403.
3963 2014-01-13 Juri Linkov <juri@jurta.org>
3965 * info.el (Info-find-file): Go to DIR before displaying the error
3966 about a nonexistent file if no previous Info file is visited.
3967 Use `user-error' instead of `error' for "Info file %s does not exist".
3968 (Info-find-node-2): In case of a nonexistent node in unwind forms
3969 go to the Top node if there is no previous node to revert to.
3972 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3974 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3975 * window.el (fit-frame-to-buffer): Fix doc-string.
3976 Respect window-min-height/-width. Fit pixelwise when
3977 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3978 when avoiding that frame goes partially off-screen.
3979 (fit-window-to-buffer): Respect window-min-height/-width
3982 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3984 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3985 after an empty line.
3987 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3989 * net/shr.el (shr-render-region): Autoload.
3991 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3993 * net/eww.el (eww-download-directory): Rename from
3994 `eww-download-path' (Bug#16419).
3996 2014-01-12 Leo Liu <sdl.web@gmail.com>
3998 * dired-x.el (dired-mode-map): Fix last change.
4000 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4002 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4005 * emacs-lisp/generic.el (generic--normalize-comments):
4006 Rename from generic--normalise-comments. All uses changed.
4007 * play/bubbles.el (bubbles--neighborhood-score)
4008 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4009 (bubbles--neighborhood-available)
4010 (bubbles--update-neighborhood-score):
4011 Rename from names with 'neighbourhood'. All uses changed.
4013 2014-01-12 Leo Liu <sdl.web@gmail.com>
4015 Re-implement the feature of showing eldoc info after editing.
4016 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4017 (eldoc-edit-message-commands): New function.
4018 (eldoc-print-after-edit): New variable.
4019 (eldoc-pre-command-refresh-echo-area): Emit message only by
4020 eldoc-message-commands.
4021 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4022 if eldoc-print-after-edit is set. (Bug#16346)
4023 * simple.el (read--expression): Enable eldoc-mode.
4024 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4026 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4027 Eric S. Raymond <esr@thyrsus.com>
4029 * version.el (emacs-repository-get-version): Enhance so the
4030 function works correctly in either a Bazaar or Git repo.
4032 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4034 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4035 Goes with removal of the joke manpages from /etc.
4037 2014-01-10 Kenichi Handa <handa@gnu.org>
4039 * mail/rmail.el (rmail-get-coding-system):
4040 Check rmail-get-coding-function before "funcall"ing it.
4042 2014-01-10 Glenn Morris <rgm@gnu.org>
4044 * emacs-lisp/authors.el (authors-fixed-entries):
4045 Update for files that no longer exist.
4047 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4049 * version.el (emacs-bzr-get-version): Restore compatibilty with
4052 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4054 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4057 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4059 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4061 2014-01-10 Chong Yidong <cyd@gnu.org>
4063 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4065 2014-01-10 Anders Lindgren <andlind@gmail.com>
4067 * follow.el (follow-cache-command-list): Include right-char and
4070 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4073 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4074 * woman.el (woman-mark-horizontal-position):
4075 Rename from woman-mark-horizonal-position. Use changed.
4077 2014-01-10 Glenn Morris <rgm@gnu.org>
4079 * info.el (info-initialize): If running uninstalled, ensure our
4080 own info files are always found first, even if INFOPATH is set.
4082 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4084 2014-01-09 David Engster <deng@randomsample.de>
4086 * emacs-lisp/eieio-custom.el:
4087 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4088 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4089 * emacs-lisp/eieio.el: Regenerate autoloads.
4091 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4093 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4094 following renames. (Bug#8756)
4096 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4098 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4100 (activate-mark): Add `no-tmm' argument.
4101 (set-mark, push-mark-command): Use it instead of running
4102 activate-mark-hook by hand.
4104 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4106 In preparation for the move to git, sanitize out some
4107 Bazaar-specific names.
4109 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4111 * version.el (emacs-bzr-version): Name changed to
4112 emacs-repository-version. Obsolete-variable alias made.
4113 * loadup.el: Follow through on this name change.
4114 * mail/emacsbug.el (report-emacs-bug): Factor out any
4115 assumption about the version control system in use.
4117 2014-01-08 David Engster <deng@randomsample.de>
4119 * help-fns.el (help-fns-describe-function-functions):
4120 New variable to call functions for augmenting help buffers.
4121 (describe-function-1): Remove explicit calls to
4122 `help-fns--compiler-macro', `help-fns--parent-mode' and
4123 `help-fns--obsolete'. Put them in above new variable instead, and
4124 call them through `run-hook-with-args'.
4125 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4126 `eieio-describe-class'. Not meant for interactive use anymore,
4127 but to augment existing help buffers. Remove optional second
4128 argument. Create proper button for file location.
4129 Rewrite function to use `insert' instead of `princ' and `prin1' where
4131 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4132 (eieio-method-def, eieio-class-def): Move further up.
4133 (describe-method, describe-generic, eieio-describe-method):
4135 (eieio-help-constructor, eieio-help-generic): Rename from
4136 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4137 Rewrite to use `insert' in the current buffer and use proper help
4139 (eieio-help-find-method-definition)
4140 (eieio-help-find-class-definition): Also accept symbols as
4142 (eieio-help-mode-augmentation-maybee): Remove.
4143 (eieio-describe-class-sb): Use `describe-function'.
4144 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4145 Add `eieio-help-generic' and `eieio-help-constructor'.
4147 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4150 * language/china-util.el (hz-ascii-designation):
4151 Rename from hz-ascii-designnation.
4152 (hz-ascii-designation): Rename from hz-ascii-designnation.
4155 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4157 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4160 2014-01-08 Bastien Guerry <bzg@gnu.org>
4162 * emacs-lisp/package.el (package-delete):
4163 Correctly delete the package from package-alist.
4165 2014-01-08 Daiki Ueno <ueno@gnu.org>
4167 * emacs-lisp/package.el (url-recreate-url): Declare.
4168 (url-http-target-url): Declare.
4169 (package-handle-response): Include requested URL in the error message.
4170 (package--check-signature): Don't re-signal errors from
4171 package--with-work-buffer. Suggested by Stefan Monnier.
4173 2014-01-07 Bastien Guerry <bzg@gnu.org>
4175 * minibuffer.el (completion--try-word-completion): When both a
4176 hyphen and a space are possible candidates for the character
4177 following a word, display both candidates. (Bug#15980)
4179 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4181 * window.el (balance-windows-2): While rounding don't give a
4182 window more than the remainder. Bug#16351, bug#16383.
4184 2014-01-07 Glenn Morris <rgm@gnu.org>
4186 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4187 (menu-bar-help-menu): Use view-external-packages instead.
4189 2014-01-07 Bastien Guerry <bzg@gnu.org>
4191 * emacs-lisp/package.el (package-delete): Also delete the package
4192 name from `package-alist', not its description only.
4194 2014-01-07 Glenn Morris <rgm@gnu.org>
4196 * help.el (view-external-packages):
4197 * menu-bar.el (menu-bar-help-extra-packages):
4198 Visit efaq.info rather than etc/MORE.STUFF.
4200 2014-01-07 Juri Linkov <juri@jurta.org>
4202 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4203 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4205 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4206 that shadows RET. (Bug#16342)
4208 2014-01-07 Chong Yidong <cyd@gnu.org>
4210 * isearch.el (isearch-yank-char, isearch-yank-word)
4211 (isearch-yank-line): Doc fix.
4213 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4215 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4216 * emacs-lisp/elint.el (elint-find-builtins):
4217 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4218 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4219 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4220 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4221 * apropos.el (apropos-safe-documentation):
4222 * subr.el (symbol-file): Remove redundant fboundp.
4223 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4225 2014-01-06 Bastien Guerry <bzg@gnu.org>
4227 * hl-line.el (global-hl-line-overlay): Make a local variable.
4228 (global-hl-line-overlays): New variable to store all overlays.
4229 (global-hl-line-mode): Don't delete overlays from the current
4230 buffer when `global-hl-line-sticky-flag' is non-nil.
4231 (global-hl-line-highlight): Add new overlays to
4232 `global-hl-line-overlays'.
4233 (global-hl-line-unhighlight-all): New function to delete all
4234 overlays when turning off `global-hl-line-mode'.
4235 This fixes Bug#16183.
4237 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4239 * subr.el (set-transient-map): Fix nested case and docstring.
4241 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4243 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4246 2014-01-06 Daniel Colascione <dancol@dancol.org>
4248 Fix defun navigation in vc log view.
4250 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4251 like `beginning-of-defun'.
4252 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4253 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4254 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4255 (log-view-extract-comment): Call `log-view-current-entry' directly
4256 instead of relying on broken `log-view-beginning-of-defun' behavior.
4258 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4261 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4262 * emacs-lisp/debug.el (cancel-debug-on-entry):
4263 * epg.el (epg-error-to-string):
4264 * files.el (recover-file):
4265 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4266 * mail/emacsbug.el (report-emacs-bug-hook):
4267 * mail/sendmail.el (mail-recover):
4268 * ses.el (ses-yank-resize):
4269 * term/ns-win.el (ns-print-buffer):
4270 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4271 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4273 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4275 2014-01-06 Leo Liu <sdl.web@gmail.com>
4277 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4278 to avoid shadowing global key. (Bug#16354)
4280 2014-01-06 Daniel Colascione <dancol@dancol.org>
4282 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4285 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4287 * window.el (balance-windows): Add mising t to fix Bug#16351.
4289 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4291 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4293 (shr-insert): If we have a word that's longer than `shr-width',
4294 break after it anyway. Otherwise we'll do no breaking once we get
4297 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4299 * net/eww.el (eww): Support single/double quote for search.
4300 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4301 (eww-history-quit): Delete and use quit-window.
4302 (eww-history-kill): Delete, because it doesn't work well and
4304 (eww-history-mode-map): Delete some keys and add easy-menu.
4306 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4308 Fix misspelling of 'chinese' in rx (Bug#16237).
4309 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4312 Change subword regexps back to vars (Bug#16296).
4313 * progmodes/subword.el (subword-forward-regexp)
4314 (subword-backward-regexp): Change these back to variables.
4316 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4318 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4319 syntax-begin-function (bug#16247).
4321 2014-01-03 Chong Yidong <cyd@gnu.org>
4323 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4324 (advice--docstring): Delete variable.
4325 (advice--make-1): Leave the docstring empty.
4326 (advice-add): Use function-documentation for advised docstring.
4328 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4329 Ignore function-documentation property when getting documentation.
4330 (ad-activate-advised-definition): Use function-documentation
4331 generate the docstring.
4332 (ad-make-advised-definition): Don't call
4333 ad-make-advised-definition-docstring.
4334 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4337 * progmodes/sql.el (sql-help): Use function-documentation instead
4338 of dynamic-docstring-function property. No need to autoload now.
4339 (sql--help-docstring): New variable.
4340 (sql--make-help-docstring): Use it.
4342 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4344 * ielm.el (ielm-tab): Retarget.
4345 (ielm-map): Use ielm-tab for tab.
4346 (ielm-complete-filename): Use comint-filename-completion.
4347 (ielm-complete-symbol): Remove.
4348 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4349 remove ielm-tab from completion-at-point-functions (bug#16224).
4351 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4352 Beware signals raised by predicates (bug#16201).
4354 2014-01-02 Richard Stallman <rms@gnu.org>
4356 * dired-aux.el (dired-do-print): Handle printer-name.
4358 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4359 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4360 (rmail-epa-decrypt): Turn off mime processing.
4362 * mail/rmail.el (rmail-make-in-reply-to-field):
4363 Add parens in message-id.
4365 * mail/rmail.el (rmail-get-coding-function): Variable.
4366 (rmail-get-coding-system): Use it.
4368 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4370 * international/mule-conf.el: Unify the charset indian-is13194.
4371 (indian-is13194): Specify unify-map.
4373 2013-12-31 Leo Liu <sdl.web@gmail.com>
4375 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4377 2013-12-30 Daniel Colascione <dancol@dancol.org>
4379 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4380 of printing a useless when we resume from sleep.
4382 * progmodes/sh-script.el
4383 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4384 in indentation code. (Bug#16233)
4386 2013-12-28 João Távora <joaotavora@gmail.com>
4388 * elec-pair.el (electric-pair-post-self-insert-function):
4389 Don't open extra newlines at beginning of buffer. (Bug#16272)
4391 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4393 * frame.el (window-system-for-display): Don't allow to create a
4394 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4396 2013-12-28 Glenn Morris <rgm@gnu.org>
4398 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4401 * apropos.el (apropos-match-face):
4402 * calculator.el (calculator-displayer):
4403 * dabbrev.el (dabbrev-search-these-buffers-only):
4404 * face-remap.el (buffer-face-mode-face):
4405 * simple.el (yank-handled-properties):
4406 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4407 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4408 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4409 (hashcash-double-spend-database):
4410 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4411 (ruby-deep-indent-paren-style):
4412 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4413 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4414 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4415 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4416 Specify custom types.
4418 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4419 * bookmark.el (bookmark-bmenu-use-header-line):
4420 * doc-view.el (doc-view-scale-internally):
4421 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4422 * register.el (register-preview-delay):
4423 * net/shr.el (shr-bullet):
4424 * progmodes/cfengine.el (cfengine-cf-promises)
4425 (cfengine-parameters-indent):
4426 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4427 * textmodes/reftex-vars.el (reftex-label-regexps):
4428 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4430 * net/tls.el (tls-certtool-program): Fix default value.
4432 * desktop.el (desktop-restore-in-current-display):
4433 * newcomment.el (comment-empty-lines):
4434 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4435 (idlwave-pad-keyword):
4436 * progmodes/tcl.el (tcl-tab-always-indent):
4437 * textmodes/reftex-vars.el (reftex-index-default-tag):
4438 * elec-pair.el (electric-pair-skip-whitespace):
4439 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4441 * emacs-lisp/authors.el (authors-ignored-files)
4442 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4444 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4446 * shell.el (shell-dynamic-complete-command): Doc fix.
4447 (shell--command-completion-data): Shell completion now matches
4448 executable filenames from the current buffer's directory, on
4449 systems in which this behavior is the default (windows-nt, ms-dos).
4451 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4453 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4455 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4457 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4460 * electric.el: Move all electric-pair-* to elec-pair.el.
4461 * elec-pair.el: New file, split from electric.el.
4463 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4465 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4466 indentation level is larger than the width, because that will
4468 (shr-insert): Fill repeatedly long texts, so that Japanese is
4469 formatted correctly (bug#16263).
4470 (shr-find-fill-point): Off by one error in comparison with the
4473 2013-12-26 João Távora <joaotavora@gmail.com>
4475 * electric.el (electric-pair-mode): More flexible engine for skip-
4476 and inhibit predicates, new options for pairing-related functionality.
4477 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4478 if that keeps or improves their balance in buffers.
4479 (electric-pair-delete-adjacent-pairs): Delete the pair when
4480 backspacing over adjacent matched delimiters.
4481 (electric-pair-open-extra-newline): Open extra newline when
4482 inserting newlines between adjacent matched delimiters.
4483 (electric--sort-post-self-insertion-hook):
4484 Sort post-self-insert-hook according to priority values when
4485 minor-modes are activated.
4486 * simple.el (newline-and-indent): Call newline with interactive
4488 (blink-paren-post-self-insert-function): Set priority to 100.
4489 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4490 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4491 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4492 electric-pair-open-newline-between-pairs to nil.
4494 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4496 * progmodes/python.el: Use lexical-binding.
4497 (python-nav-beginning-of-defun): Stop searching ASAP.
4499 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4501 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4502 Fix interactive spec. Doc fix. (Bug#15754)
4504 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4506 * emacs-lisp/byte-run.el (eval-when-compile):
4507 * progmodes/cc-defs.el (cc-eval-when-compile):
4508 Fix edebug spec (bug#16184).
4510 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4512 * net/shr.el (shr-visit-file): Remove debugging function.
4513 (shr-insert): Don't infloop if we can't find a good place to break
4514 the line (bug#16256).
4516 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4518 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4519 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4520 python-nav-lisp-forward-sexp-safe.
4521 (python-nav--forward-sexp): New argument SAFE allows switching
4522 forward sexp movement behavior for parens.
4523 (python-nav-forward-sexp): Throw errors on unterminated parens
4525 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4526 (python-nav-backward-sexp-safe): New functions.
4527 (python-shell-buffer-substring):
4528 Use `python-nav-forward-sexp-safe'.
4530 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4532 * net/shr.el (shr-find-fill-point): Don't break lines before a
4534 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4535 (shr-find-fill-point): Remove the special checks for the quotation
4536 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4538 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4540 * net/eww.el (eww-form-textarea): Use a different face for
4541 textareas than text input since they have different keymaps
4544 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4546 * progmodes/python.el (python-nav-beginning-of-statement):
4547 Speed up (Bug#15295).
4549 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4551 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4552 the window configuration.
4554 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4556 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4557 we run on MS-Windows or MS-DOS.
4559 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4561 * window.el (balance-windows-area): Call window-size instead of
4562 window-height and window-width. Bug#16241.
4564 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4566 * net/eww.el (eww-bookmark-quit): Remove.
4567 (eww-bookmark-browse): Restore the window configuration when you
4568 choose a bookmark (bug#16144).
4570 2013-12-24 Daniel Colascione <dancol@dancol.org>
4572 * icomplete.el: Remove redundant :group arguments to `defcustom'
4574 (icomplete-show-matches-on-no-input): New customizable variable.
4575 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4576 we have something to show.
4577 (icomplete-exhibit): Compute completions even if we have no user input.
4579 2013-12-23 Daniel Colascione <dancol@dancol.org>
4581 * icomplete.el: Move `provide' to end of file.
4583 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4585 * net/gnutls.el (gnutls-verify-error): Add version tag.
4587 2013-12-23 Chong Yidong <cyd@gnu.org>
4589 * subr.el (set-transient-map): Rename from
4590 set-temporary-overlay-map. Doc fix.
4592 * face-remap.el (text-scale-adjust):
4593 * indent.el (indent-rigidly):
4594 * kmacro.el (kmacro-call-macro):
4595 * minibuffer.el (minibuffer-force-complete):
4596 * repeat.el (repeat):
4597 * simple.el (universal-argument--mode):
4598 * calendar/todo-mode.el (todo-insert-item--next-param):
4599 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4601 * indent.el (indent-rigidly): Use substitute-command-keys.
4603 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4605 * net/eww.el (eww-tag-select): Add text-property to jump to next
4607 (eww): Add non-supported ftp error.
4609 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4611 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4612 comments. Handle electric indent after typing `?' and `!'.
4614 2013-12-22 Chong Yidong <cyd@gnu.org>
4616 * faces.el (face-spec-recalc): If the theme specs are not
4617 applicable to a frame, fall back on the defface spec.
4618 This prevents themes from obliterating faces on low-color terminals.
4620 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4622 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4623 after `{'. We need it after block openers, and it doesn't seem
4624 to hurt after hash openers.
4626 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4628 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4629 extracted from `ruby-smie-rules'.
4630 (ruby--electric-indent-chars): New variable.
4631 (ruby--electric-indent-p): New function.
4632 (ruby-mode): Use `electric-indent-functions' instead of
4633 `electric-indent-chars'.
4635 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4637 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4639 (ruby-smie-rules): Indent plus one level after `=>'.
4641 2013-12-21 Richard Stallman <rms@gnu.org>
4643 * simple.el (newline): Doc fix.
4645 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4647 * net/eww.el (eww-list-histories, eww-list-histories)
4648 (eww-history-browse, eww-history-quit, eww-history-kill)
4649 (eww-history-mode-map, eww-history-mode): New command and
4650 functions to list browser histories.
4651 (eww-form-text): Support text form with disabled
4652 and readonly attributes.
4653 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4655 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4657 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4658 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4659 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4660 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4662 (eww-bookmark-mode-map): Add menu.
4663 (eww-render, eww-mode): Use `setq-local'.
4664 (eww-tool-bar-map): New variable.
4665 (eww-mode): Set `tool-bar-map'.
4666 (eww-view-source): Check for `html-mode' with `fboundp'.
4668 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4670 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4671 elements with text inside. Also remove debugging.
4673 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4675 * cus-start.el (all): Add ns-use-srgb-colorspace.
4677 2013-12-21 Chong Yidong <cyd@gnu.org>
4679 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4680 undefined. Thus, theme settings for undefined faces do not take
4681 effect until the faces are defined with defface, the same as with
4684 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4685 (face-spec-reset-face): Don't assign extra properties in temacs.
4686 (face-spec-recalc): Apply X resources too.
4688 2013-12-21 Chong Yidong <cyd@gnu.org>
4690 * faces.el (face-spec-set):
4691 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4692 * custom.el (defface): Doc fixes (Bug#16203).
4694 * indent.el (indent-rigidly-map): Add docstring, and move commands
4695 into named functions.
4696 (indent-rigidly-left, indent-rigidly-right)
4697 (indent-rigidly-left-to-tab-stop)
4698 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4699 indentation direction based on bidi direction, and accumulate
4700 sequential commands in a single undo boundary.
4701 (indent-rigidly--pop-undo): New utility function.
4703 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4705 * faces.el (read-face-name): Require crm.el when using crm-separator.
4707 2013-12-20 Daniel Colascione <dancol@dancol.org>
4709 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4710 so that we don't reflow comments into the shebang line.
4712 2013-12-20 Juri Linkov <juri@jurta.org>
4714 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4715 a position when `dired-directory' is non-nil. Check integer
4716 positions with `integerp'.
4717 (toggle-save-place, save-places-to-alist): Add check for
4719 (save-place-find-file-hook): Check integer positions with
4721 (save-place-dired-hook): Use `dired-goto-file' when
4722 `dired-filename' is found in the assoc list. Check integer
4723 positions with `integerp'.
4724 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4726 * dired.el (dired-initial-position-hook): Rename back from
4727 `dired-initial-point-hook'.
4728 (dired-initial-position): Rename `dired-initial-point-hook' to
4729 `dired-initial-position-hook'.
4730 (dired-file-name-at-point): Doc fix. (Bug#15329)
4732 2013-12-20 Juri Linkov <juri@jurta.org>
4734 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4735 (read-regexp-suggestions): New function.
4736 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4737 Use `read-regexp-suggestions'. Add non-empty default to history
4739 (occur-read-regexp-defaults-function): Remove function.
4740 (occur-read-primary-args): Use `regexp-history-last' instead of
4741 `occur-read-regexp-defaults-function'.
4743 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4744 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4745 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4746 `hi-lock-read-regexp-defaults-function'. Doc fix.
4747 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4748 with `find-tag-default-as-symbol-regexp'. Doc fix.
4749 (hi-lock-read-regexp-defaults): Remove function.
4750 (hi-lock-regexp-okay): Add check for null.
4752 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4753 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4755 * subr.el (find-tag-default-as-symbol-regexp): New function.
4756 (find-tag-default-as-regexp): Move symbol regexp formatting to
4757 `find-tag-default-as-symbol-regexp'.
4759 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4761 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4764 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4766 * calendar/todo-mode.el: New implementation of item insertion
4767 commands and key bindings.
4768 (todo-key-prompt): New face.
4769 (todo-insert-item): New command.
4770 (todo-insert-item--parameters): New defconst, replacing defvar
4771 todo-insertion-commands-args-genlist.
4772 (todo-insert-item--param-key-alist): New defconst, replacing
4773 defvar todo-insertion-commands-arg-key-list.
4774 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4775 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4776 (todo-insert-item--next-param): New functions.
4777 (todo-insert-item--args, todo-insert-item--argleft)
4778 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4780 (todo-key-bindings-t): Change binding of "i" from
4781 todo-insertion-map to todo-insert-item.
4782 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4783 (todo-insertion-command-name, todo-insertion-commands-names)
4784 (todo-define-insertion-command, todo-insertion-commands)
4785 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4787 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4789 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4790 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4792 (todo-move-category): Allow choosing a non-existing todo file to
4793 move the category to, and create that file.
4794 (todo-default-priority): New user option.
4795 (todo-set-item-priority): Use it.
4796 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4797 (desktop-restore-file-buffer): Declare.
4798 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4799 (todo-modes-set-2): Locally set desktop-save-buffer to
4800 todo-desktop-save-buffer.
4801 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4802 (auto-mode-alist): Add autoload cookie.
4804 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4806 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4807 helpers.el was a poor choice of name.
4808 (string-remove-prefix): New function.
4809 (string-remove-suffix): New function.
4811 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4813 Fix assignment for new window total sizes.
4814 * window.el (window--pixel-to-size): Remove function.
4815 (window--pixel-to-total-1, window--pixel-to-total):
4816 Fix calculation of new total sizes.
4818 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4820 * comint.el (comint-output-filter): Fix rear-nonsticky property
4821 placement (Bug#16010).
4823 2013-12-20 Chong Yidong <cyd@gnu.org>
4825 * faces.el (read-color): Minor fix for completion function.
4827 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4829 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4830 New option. (Bug#16182)
4831 (ruby-smie--indent-to-stmt-p): Use it.
4832 (ruby-smie-rules): Revert the logic in the handling of `when'.
4833 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4834 (ruby-deep-arglist, ruby-deep-indent-paren)
4835 (ruby-deep-indent-paren-style): Update docstrings to note that the
4836 vars don't have any effect with SMIE.
4838 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4840 * calc/calc.el (calc-enter, calc-pop): Use the variable
4841 `calc-context-sensitive-enter'.
4843 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4845 * net/shr.el (shr-insert): Protect against infloops in degenerate
4848 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4850 * progmodes/octave.el (octave): Add link to manual and octave
4852 (octave-mode-menu): Link to octave-mode manual.
4854 2013-12-20 Leo Liu <sdl.web@gmail.com>
4856 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4857 insertion using skeleton-end-newline. (Bug#16138)
4859 2013-12-20 Juri Linkov <juri@jurta.org>
4861 * replace.el (occur-engine): Use `add-face-text-property'
4862 to add the face property to matches and titles. (Bug#14645)
4864 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4865 the palette of other hi-lock colors.
4866 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4868 2013-12-19 Juri Linkov <juri@jurta.org>
4870 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4871 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4872 (minibuffer-history-symbol): Move variable declaration closer to
4875 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4878 2013-12-19 Juri Linkov <juri@jurta.org>
4880 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4882 (log-edit-hook): Add it to :options. (Bug#16170)
4884 2013-12-19 Juri Linkov <juri@jurta.org>
4886 * simple.el (eval-expression-print-format): Don't check for
4887 command names and the last command. Always display additional
4888 formats of the integer result in the echo area, and insert them
4889 to the current buffer only with a zero prefix arg.
4890 Display character when char-displayable-p is non-nil.
4891 (eval-expression): With a zero prefix arg, set `print-length' and
4892 `print-level' to nil, and insert the integer values from
4893 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4895 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4896 `eval-last-sexp-arg-internal'. Doc fix.
4897 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4898 `eval-last-sexp-print-value'. Doc fix.
4899 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4900 Set `print-length' and `print-level' to nil when arg is zero.
4901 (eval-last-sexp): Doc fix.
4902 (eval-defun-2): Print the integer values from
4903 `eval-expression-print-format' at the end.
4905 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4906 values from `eval-expression-print-format' at the end.
4908 * ielm.el (ielm-eval-input): Print the integer
4909 values from `eval-expression-print-format' at the end.
4911 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4913 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4914 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4916 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4918 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4919 (hl-line-highlight, global-hl-line-highlight): Use it.
4920 (hl-line-overlay): Use defvar-local.
4922 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4924 * term/ns-win.el: Require dnd.
4925 (global-map): Remove drag items.
4926 (ns-insert-text, ns-set-foreground-at-mouse)
4927 (ns-set-background-at-mouse):
4928 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4929 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4932 2013-12-19 Glenn Morris <rgm@gnu.org>
4934 * emacs-lisp/ert.el (ert-select-tests):
4935 Fix string/symbol mixup. (Bug#16121)
4937 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4939 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4940 keywords to their parent.
4942 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4944 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4945 first arg to be a string (fixed dead code), or an operator symbol.
4946 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4948 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4949 did nothing. Don't respond to `(:after ".")', it will be called
4950 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4951 change anything. Only return indentation for binary operators
4952 when they are hanging. De-dent opening paren when its parent is
4953 `.', otherwise it looks bad when the dot is not at bol or eol
4956 2013-12-19 Juri Linkov <juri@jurta.org>
4958 * replace.el (query-replace-read-args): Split a non-negative arg
4959 and a negative arg into separate elements.
4960 (query-replace, query-replace-regexp, replace-string)
4961 (replace-regexp): Add arg `backward'. Doc fix.
4962 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4963 move point to the beginning of the match.
4964 (replace-search, replace-highlight): Use new arg `backward'
4965 to set the value of `isearch-forward'.
4966 (perform-replace): Add arg `backward' and use it to perform
4967 replacement backward. (Bug#14979)
4969 * isearch.el (isearch-query-replace): Use a negative prefix arg
4970 to call `perform-replace' with a non-nil arg `backward'.
4972 2013-12-18 Juri Linkov <juri@jurta.org>
4974 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4975 to the default list. Move `log-edit-show-files' to the end.
4976 Add more available functions to options.
4977 (log-edit): Move default specific settings to
4978 `log-edit-insert-message-template'. Don't move point.
4979 (log-edit-insert-message-template): New function.
4980 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4983 2013-12-18 Juri Linkov <juri@jurta.org>
4985 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4986 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4988 2013-12-18 Leo Liu <sdl.web@gmail.com>
4990 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4993 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4995 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4996 formats for displaying file sizes when the -s switch is given.
4997 Instead, compute a separate format for displaying the size in
4998 blocks, which is displayed in addition to the "regular" size.
4999 When -h is given in addition to -s, produce size in blocks in
5000 human-readable form as well. (Bug#16179)
5002 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5004 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5005 Reference tables with ~\ref{...} instead of only \ref{...}.
5007 2013-12-18 Chong Yidong <cyd@gnu.org>
5009 * cus-edit.el (custom-magic-alist): Fix "themed" description
5012 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5013 is non-nil, do not create a new entry in the symbol's theme-value
5014 or theme-face property; update theme-settings only (Bug#14664).
5015 (custom-available-themes): Doc fix.
5017 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5020 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5022 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5024 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5027 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5029 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5031 2013-12-18 Glenn Morris <rgm@gnu.org>
5033 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5034 * cus-start.el (load-prefer-newer): New option.
5036 2013-12-18 Le Wang <l26wang@gmail.com>
5038 * comint.el (comint-previous-matching-input-from-input):
5039 Retain point (Bug#13404).
5041 2013-12-18 Chong Yidong <cyd@gnu.org>
5043 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5045 2013-12-18 Glenn Morris <rgm@gnu.org>
5047 * mail/emacsbug.el (report-emacs-bug):
5048 Only mention enable-multibyte-characters if non-standard.
5050 2013-12-17 Juri Linkov <juri@jurta.org>
5052 * arc-mode.el (archive-extract-by-file): Check if directory exists
5053 before deletion to not show irrelevant errors if it doesn't exist.
5055 2013-12-17 Juri Linkov <juri@jurta.org>
5057 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5060 * net/eww.el (browse-web): Add alias to `eww'.
5061 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5062 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5064 * net/browse-url.el (browse-url-browser-function): Move `eww'
5065 closer to similar functions.
5067 * startup.el (fancy-startup-screen, fancy-about-screen):
5068 Set browse-url-browser-function to eww-browse-url locally.
5071 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5073 * window.el (window--pixel-to-total): Remove unused `mini' var.
5074 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5075 (split-window): Remove unused `new' var.
5076 (window--display-buffer): Remove unused `frame' and `delta' vars.
5077 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5080 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5082 * dired.el (dired-mark-pop-up):
5083 * register.el (register-preview): Don't bind
5084 split-height-threshold here since it's now done in
5085 display-buffer-below-selected.
5087 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5089 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5090 xterm-rgb-convert-to-16bit.
5091 (rxvt-register-default-colors): Standardize with
5092 xterm-register-default-colors (Bug#14078).
5094 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5096 * simple.el (kill-region): Pass mark first, then point, so that
5097 kill-append works right (Bug#12819).
5098 (copy-region-as-kill, kill-ring-save): Likewise.
5100 2013-12-17 Leo Liu <sdl.web@gmail.com>
5102 * net/rcirc.el (rcirc-add-face):
5103 * eshell/em-prompt.el (eshell-emit-prompt):
5104 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5107 2013-12-17 Chong Yidong <cyd@gnu.org>
5109 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5110 Suggested by Xue Fuqiao.
5112 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5114 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5116 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5118 * net/shr.el (shr-insert-document): Remove unused var
5119 `shr-preliminary-table-render'.
5120 (shr-rescale-image): Remove unused arg `force'.
5121 (shr-put-image): Update calls accordingly.
5122 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5124 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5126 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5127 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5128 :close-all, to see which indentation method to use (Bug#16116).
5129 (smie-rules-function): Document the method :close-all.
5131 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5133 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5135 * net/eww.el (eww-display-html): If we can't find the anchor we're
5136 looking for, then go to point-min.
5138 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5140 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5141 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5142 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5143 Expand dir too, in case it's relative.
5145 2013-12-16 Juri Linkov <juri@jurta.org>
5147 * desktop.el (desktop-auto-save-timeout): Change default to
5148 `auto-save-timeout'. Doc fix.
5149 (desktop-save): Skip the timestamp in desktop-saved-frameset
5150 when checking for auto-save changes.
5151 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5152 `desktop-auto-save' is called repeatedly by the idle timer.
5153 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5154 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5157 2013-12-16 Juri Linkov <juri@jurta.org>
5159 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5161 (isearch-pre-command-hook): Check `this-command' for symbolp.
5163 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5165 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5167 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5169 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5170 (cfengine3--current-function): Bring in the current-function
5171 functionality from `cfengine3--current-word'.
5172 (cfengine3-completion-function): Bring in the
5173 bounds-of-current-word functionality from
5174 `cfengine3--current-word'.
5176 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5178 * window.el (display-buffer-below-selected):
5179 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5181 2013-12-16 Leo Liu <sdl.web@gmail.com>
5183 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5184 Remove NOMSG arg and all uses changed.
5186 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5188 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5189 (cua--deactivate-rectangle): Don't deactivate the mark.
5190 (cua-set-rectangle-mark): Don't set mark-active since
5191 cua--activate-rectangle already does it for us.
5192 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5193 non-rectangular region.
5195 * emulation/cua-base.el (cua-repeat-replace-region):
5196 Use with-current-buffer.
5198 * net/gnutls.el: Use cl-lib.
5199 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5201 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5203 * emacs-lisp/package.el (package-built-in-p): Support both
5204 built-in and the package.el converted package descriptions.
5205 (package-show-package-list): Allow keywords.
5206 (package-keyword-button-action): Use it instead of
5207 `finder-list-matches'.
5208 (package-menu-filter-interactive): Interactive filtering (by
5210 (package-menu--generate): Support keywords and change keymappings
5211 and headers when they are given.
5212 (package--has-keyword-p): Helper function.
5213 (package-menu--refresh): Use it.
5214 (package--mapc): Helper function.
5215 (package-all-keywords): Use it.
5216 (package-menu-mode-map): Set up menu items and keybindings to
5217 provide a filtering UI.
5219 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5221 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5222 the behavior when a certificate fails validation. Defaults to
5223 old behavior: never abort, just warn.
5224 (gnutls-negotiate): Use it.
5226 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5228 * window.el (display-buffer-below-selected): Never split window
5229 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5231 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5233 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5234 (package-buffer-info): Use it (bug#15108).
5236 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5238 * icomplete.el (icomplete-completions): Make sure the prefix is already
5239 displayed elsewhere before hiding it (bug#16219).
5241 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5243 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5244 open-paren tokens when preceded by a open-paren, too.
5245 (ruby-smie-rules): Handle virtual indentation after open-paren
5246 tokens specially. If there is code between it and eol, return the
5247 column where is starts (Bug#16118).
5249 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5251 * progmodes/cfengine.el: Fix `add-hook' doc.
5252 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5253 (cfengine3--current-word): Fix parameters.
5254 (cfengine3-make-syntax-cache): Simplify further.
5255 (cfengine3-completion-function, cfengine3--current-function):
5256 Use `assq' for symbols.
5257 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5259 2013-12-13 Glenn Morris <rgm@gnu.org>
5261 * loadup.el (load-path): Warn if site-load or site-init changes it.
5262 No more need to reset it when bootstrapping.
5264 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5266 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5267 locations for cf-promises.
5268 (cfengine-mode-syntax-functions-regex): New caching variable.
5269 (cfengine3-fallback-syntax): Fallback syntax for cases where
5270 cf-promises doesn't run.
5271 (cfengine3--current-word): Reimplement using
5272 `cfengine-mode-syntax-functions-regex'.
5273 (cfengine3-completion-function, cfengine3--current-function):
5274 Use `cfengine3-make-syntax-cache' directly.
5275 (cfengine3-clear-syntax-cache): New function.
5276 (cfengine3-make-syntax-cache): Simplify and create
5277 `cfengine-mode-syntax-functions-regex' on demand.
5278 (cfengine3-format-function-docstring): Don't call
5279 `cfengine3-make-syntax-cache' explicitly.
5281 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5283 Fix windmove-find-other-window broken after pixelwise resizing
5285 * windmove.el (windmove-other-window-loc): Revert change from
5287 (windmove-find-other-window): Call window-in-direction.
5288 * window.el (window-in-direction): New arguments SIGN, WRAP and
5289 MINI to emulate original windmove-find-other-window behavior.
5291 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5293 * simple.el (blink-matching--overlay): New variable.
5294 (blink-matching-open): Instead of moving point, highlight the
5295 matching paren with an overlay
5296 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5298 * faces.el (paren-showing-faces, show-paren-match)
5299 (show-paren-mismatch): Move from paren.el.
5301 2013-12-13 Leo Liu <sdl.web@gmail.com>
5303 * indent.el (indent-region): Disable progress reporter in
5304 minibuffer. (Bug#16108)
5306 * bindings.el (visual-order-cursor-movement): Fix version.
5308 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5310 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5311 Also match after beginning of line.
5312 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5313 files. Thanks to Russell Sim. (Bug#15378)
5315 2013-12-13 Juri Linkov <juri@jurta.org>
5317 * simple.el <Keypad support>: Remove key bindings duplicated
5318 with bindings.el. (Bug#14397)
5320 2013-12-13 Juri Linkov <juri@jurta.org>
5322 * comint.el (comint-mode-map): Replace `delete-char' with
5323 `delete-forward-char'. (Bug#16109)
5325 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5327 * progmodes/python.el (python-indent-calculate-indentation):
5328 Fix de-denters cornercase. (Bug#15731)
5330 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5332 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5333 (advice--make): Pay attention to `depth'.
5334 (advice--make-1): Don't autoload commands eagerly.
5335 * emacs-lisp/elp.el (elp-instrument-function):
5336 * emacs-lisp/trace.el (trace-function-internal):
5337 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5339 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5341 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5343 * term/w32-win.el (w32-handle-dropped-file):
5344 * startup.el (normal-top-level):
5345 * net/browse-url.el (browse-url-file-url):
5346 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5347 decode file names using 'utf-8' rather than
5348 file-name-coding-system.
5350 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5352 * progmodes/python.el (python-indent-context)
5353 (python-indent-calculate-indentation): Fix auto-identation
5354 behavior for comment blocks. (Bug#15916)
5356 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5358 * progmodes/python.el (python-indent-calculate-indentation):
5359 When determining indentation, don't treat "return", "pass", etc., as
5360 operators when they are just string constituents. (Bug#15812)
5362 2013-12-12 Juri Linkov <juri@jurta.org>
5364 * uniquify.el (uniquify-buffer-name-style): Change default to
5365 `post-forward-angle-brackets'.
5367 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5368 `uniquify'. Change default to `post-forward-angle-brackets'.
5370 2013-12-11 Glenn Morris <rgm@gnu.org>
5372 * emacs-lisp/package.el (finder-list-matches):
5373 Autoload rather than falsely declaring.
5375 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5377 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5378 (eww-mode-map): Use them.
5380 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5382 * window.el (display-buffer-in-side-window): Fix doc-string
5385 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5387 * vc/vc-git.el: Silence byte-compiler warnings.
5388 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5389 (log-edit-set-header): Declare.
5391 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5393 * Makefile.in (custom-deps, finder-data): Run output file names
5394 through unmsys--file-name. (Bug#16099)
5396 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5398 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5399 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5401 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5402 instead of deleting the selection "by hand" (bug#16098).
5403 Rely on insert-for-yank to yank rectangles.
5404 (cua-highlight-region-shift-only): Mark obsolete.
5405 (cua-mode): Don't enable/disable transient-mark-mode,
5406 shift-select-mode (cua-mode works both with and without them), and
5407 pc-selection-mode (obsolete).
5408 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5409 (cua--deactivate-rectangle): Deactivate it.
5411 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5412 (delete-selection-helper): Make sure yank starts at the top of the
5414 (minibuffer-keyboard-quit): Use region-active-p.
5416 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5418 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5419 to `delete' (bug#16109).
5421 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5423 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5424 info manual and show keybindings and set `:group' keyword.
5426 2013-12-11 Juri Linkov <juri@jurta.org>
5428 * delsel.el (delete-active-region): Let-bind `this-command'
5429 to prevent `kill-region' from changing its original value.
5430 (delete-selection-helper): Handle `overwrite-mode' for the type
5431 `kill' exactly the same way as for the type `t'.
5432 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5433 Support more commands. (Bug#13312)
5435 2013-12-11 Juri Linkov <juri@jurta.org>
5437 * bindings.el: Map kp keys to non-kp keys systematically
5438 with basic modifiers control, meta and shift. (Bug#14397)
5440 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5442 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5443 "Close browser" menu items. Fix wrong function of "List
5446 2013-12-11 Juri Linkov <juri@jurta.org>
5448 * misearch.el (multi-isearch-buffers): Set the value of
5449 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5450 arg of isearch-forward to t.
5451 (multi-isearch-buffers-regexp): Set the value of
5452 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5453 arg of isearch-forward-regexp to t.
5454 (multi-isearch-files): Set the value of
5455 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5456 arg of isearch-forward to t.
5457 (multi-isearch-files-regexp): Set the value of
5458 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5459 arg of isearch-forward-regexp to t. (Bug#16035)
5461 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5462 arg of isearch-forward to t.
5463 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5464 arg of isearch-forward-regexp to t.
5465 (dired-isearch-filter-filenames): Remove unnecessary check for
5466 `dired-isearch-filenames'.
5468 * comint.el (comint-history-isearch-backward):
5469 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5470 (comint-history-isearch-backward-regexp):
5471 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5473 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5475 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5476 unmsys--file-name. (Bug#16099)
5478 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5480 * emacs-lisp/package.el (package-keyword-button-action):
5481 Remove finder.el require dependency.
5483 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5485 * emacs-lisp/package.el: Require finder.el.
5486 (describe-package-1): Add keyword buttons.
5487 (package-make-button): New convenience function.
5488 (package-keyword-button-action): Keyword button action using
5489 `finder-list-matches'.
5491 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5493 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5496 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5498 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5501 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5503 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5504 after the end of a percent literal.
5506 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5508 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5509 Handle caret-delimited strings (Bug#16079).
5511 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5513 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5514 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5515 `ruby-parse-partial' (Bug#16078).
5517 2013-12-09 Leo Liu <sdl.web@gmail.com>
5519 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5521 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5523 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5524 (js-switch-indent-offset): New option.
5525 (js--proper-indentation): Use it. And handle the case when
5526 "default" is actually a key in an object literal.
5527 (js--same-line): New function.
5528 (js--multi-line-declaration-indentation): Use it.
5529 (js--indent-in-array-comp, js--array-comp-indentation):
5531 (js--proper-indentation): Use them, to handle array comprehension
5534 2013-12-08 Leo Liu <sdl.web@gmail.com>
5536 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5537 (flymake-make-overlay): Remove arg MOUSE-FACE.
5538 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5540 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5542 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5544 (redisplay-highlight-region-function): Use it.
5546 * emulation/cua-base.el (cua--explicit-region-start)
5547 (cua--last-region-shifted): Remove.
5548 (cua--deactivate): Use deactivate-mark.
5549 (cua--pre-command-handler-1): Don't handle shift-selection.
5550 (cua--post-command-handler-1): Don't change transient-mark-mode.
5551 (cua--select-keymaps): Use region-active-p rather than
5552 cua--explicit-region-start or cua--last-region-shifted.
5553 (cua-mode): Enable shift-select-mode.
5555 2013-12-08 Leo Liu <sdl.web@gmail.com>
5557 * progmodes/flymake.el (flymake-popup-current-error-menu):
5558 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5559 (flymake-posn-at-point-as-event, flymake-popup-menu)
5560 (flymake-make-emacs-menu): Remove. (Bug#16077)
5562 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5564 * rect.el (rectangle-mark-mode): Activate mark even if
5565 transient-mark-mode is off (bug#16066).
5566 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5567 is > mark and at bolp.
5569 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5570 (region-extract-function): Use it.
5571 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5572 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5574 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5575 kill-ring-save, kill-region, delete-char, delete-forward-char.
5576 Ignore self-insert-iso.
5578 * emulation/cua-gmrk.el (cua--init-global-mark):
5579 Ignore `self-insert-iso'.
5581 * emulation/cua-base.el (cua--prefix-copy-handler)
5582 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5583 checking cua--rectangle.
5584 (cua-delete-region): Use region-extract-function.
5585 (cua-replace-region): Delete function.
5586 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5587 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5588 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5589 (cua--init-keymaps): Don't remap delete-selection commands.
5590 (cua-mode): Use delete-selection-mode instead of rolling our own
5593 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5594 Obey region-extract-function.
5596 Make registers and delete-selection-mode work on rectangles.
5597 * register.el (describe-register-1): Don't modify the register's value.
5598 (copy-to-register): Obey region-extract-function.
5599 * delsel.el (delete-active-region): Obey region-extract-function.
5601 2013-12-08 Leo Liu <sdl.web@gmail.com>
5603 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5604 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5605 (flymake-compilation-prevents-syntax-check)
5606 (flymake-start-syntax-check-on-newline)
5607 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5608 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5609 (flymake-xml-program, flymake-master-file-dirs)
5610 (flymake-master-file-count-limit)
5611 (flymake-allowed-file-name-masks): Relocate.
5612 (flymake-makehash, flymake-float-time)
5613 (flymake-replace-regexp-in-string, flymake-split-string)
5614 (flymake-get-temp-dir): Remove.
5615 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5616 (flymake-current-row, flymake-selected-frame)
5617 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5618 related functions. (Bug#16077)
5620 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5622 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5624 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5626 * help-fns.el (describe-function-1): Use new advice-* functions
5627 rather than old ad-* functions. Fix function type description and
5628 source links for advised functions and subrs.
5630 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5632 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5634 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5636 * progmodes/compile.el (compilation-start):
5637 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5639 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5640 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5642 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5644 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5645 Touch up the last change.
5647 2013-12-06 Leo Liu <sdl.web@gmail.com>
5649 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5650 (inferior-octave-startup): Always use "octave> " for prompt.
5651 (octave-goto-function-definition)
5652 (octave-sync-function-file-names)
5653 (octave-find-definition-default-filename): Remove redundant backquotes.
5655 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5657 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5659 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5660 where appropriate already.
5661 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5662 end of method names (Bug#15874).
5664 2013-12-06 Juri Linkov <juri@jurta.org>
5666 * isearch.el (isearch--saved-overriding-local-map):
5667 New internal variable.
5668 (isearch-mode): Set it to the initial value of
5669 `overriding-terminal-local-map'.
5670 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5671 with `isearch--saved-overriding-local-map'. (Bug#16035)
5673 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5675 * progmodes/octave.el (inferior-octave-completion-table):
5676 Turn back into function, use `completion-table-with-cache'
5677 (Bug#11906). Update all references.
5679 * minibuffer.el (completion-table-with-cache): New function.
5681 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5683 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5685 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5687 * net/eww.el (eww-current-source): New variable to store page
5689 (eww-display-html, eww-mode, eww-save-history)
5690 (eww-restore-history): Use it.
5691 (eww-view-source): New command to view page source.
5692 Opportunistically uses `html-mode' to highlight the buffer.
5693 (eww-mode-map): Install it.
5695 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5697 * net/dbus.el (dbus-unregister-service)
5698 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5700 (dbus-unregister-service): Skip :serial entries in
5701 `dbus-registered-objects-table'.
5702 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5704 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5706 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5707 around keywords with extra `split-string' argument.
5709 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5711 * windmove.el (windmove-other-window-loc): Handle navigation
5712 between windows (excluding the minibuffer window - Bug#16017).
5714 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5716 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5717 in D-Bus type syntax.
5718 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5719 preserve unibyte strings. (Bug#16048)
5721 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5723 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5724 Call force-mode-line-update is the proper buffer (bug#16042).
5726 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5728 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5729 `log-edit-remember-comment', make argument optional. Adjust all
5731 (log-edit-mode): Add `log-edit-remember-comment' to
5732 `kill-buffer-hook' locally.
5733 (log-edit-kill-buffer): Don't remember comment explicitly since
5734 the buffer is killed anyway.
5736 2013-12-04 Juri Linkov <juri@jurta.org>
5738 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5739 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5741 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5743 * notifications.el (notifications-close-notification): Call the
5744 D-Bus method with ID being a `:uint32'. (Bug#16030)
5746 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5748 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5750 2013-12-03 Juri Linkov <juri@jurta.org>
5752 * progmodes/compile.el (compilation-start): Rename window alist
5753 entry `no-display-ok' to `allow-no-window'.
5755 * simple.el (shell-command): Add window alist entry
5756 `allow-no-window' to `display-buffer'.
5757 (async-shell-command): Doc fix.
5759 * window.el (display-buffer-no-window): New action function.
5760 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5762 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5764 * vc/log-edit.el (log-edit-set-header): Extract from
5765 `log-edit-toggle-header'.
5766 (log-edit-extract-headers): Separate the summary, when extracted
5767 from header, from the rest of the message with an empty line.
5769 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5770 line, if present, to the Summary header.
5772 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5774 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5775 in current-buffer (bug#16029).
5777 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5779 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5780 (debugger-mode-map): Bind it.
5781 (debugger--backtrace-base): New function.
5782 (debugger-eval-expression): Use it.
5783 (debugger-frame-number): Skip local vars when present.
5784 (debugger--locals-visible-p, debugger--insert-locals)
5785 (debugger--show-locals, debugger--hide-locals): New functions.
5787 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5789 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5791 (tramp-get-remote-locale): New defun.
5792 (tramp-open-connection-setup-interactive-shell): Use it.
5794 2013-12-02 Leo Liu <sdl.web@gmail.com>
5796 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5798 * progmodes/sh-script.el (sh-shell-process):
5799 * progmodes/octave.el (inferior-octave-process-live-p):
5800 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5801 (gdb-inferior-io-sentinel):
5802 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5804 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5806 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5807 `save-selected-window' to `log-edit-hide-buf'. This makes
5808 `log-edit-show-files' idempotent.
5809 (log-edit-show-files): Mark the new window as dedicated.
5811 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5813 * vc/log-edit.el (log-edit-mode-map): Add binding for
5814 `log-edit-kill-biffer'.
5815 (log-edit-hide-buf): Add a FIXME comment.
5816 (log-edit-add-new-comment): New function, extracted from
5818 (log-edit-done, log-edit-add-to-changelog): Use it.
5819 (log-edit-kill-buffer): New command.
5821 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5823 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5824 instead of killing the buffer.
5826 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5828 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5830 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5832 * net/eww.el (eww-form-checkbox-selected-symbol)
5833 (eww-form-checkbox-symbol): New customizable variable.
5834 (eww-form-checkbox, eww-toggle-checkbox):
5835 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5837 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5838 (shr--get-media-pref, shr--extract-best-source): New function.
5839 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5840 no :src tag was specified.
5842 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5843 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5844 Use \\` to match beginning of string instead of ^.
5845 (eww-browse-with-external-browser): Provide optional URL parameter.
5846 (eww-render): Set `eww-current-title' back to "".
5848 * net/shr.el (shr-tag-video): Display content for video if no
5849 poster is available.
5850 (shr-tag-audio): Add support for <audio> tag.
5852 * net/eww.el (eww-text-input-types): New const.
5853 (eww-process-text-input): Treat input types in
5854 `eww-text-input-types' as text.
5856 * net/shr.el (shr-tag-table): Fix comment typo.
5858 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5860 * net/eww.el (eww-follow-link): New command to avoid reloading
5861 pages when we follow #target links (bug#15243).
5862 (eww-quit): Special mode buffers shouldn't query before exiting.
5864 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5866 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5869 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5871 * net/eww.el (eww-restore-history): Update the window title after
5872 moving in the history.
5873 (eww-current-dom): New variable used to save the current DOM.
5875 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5877 * vc/log-edit.el (log-edit-mode-map): Add binding for
5878 `log-edit-beginning-of-line'.
5879 (log-edit-setup-add-author): New user option.
5880 (log-edit-beginning-of-line): New command.
5881 (log-edit): Move major mode call above the contents setup so that
5882 the local variable values are already applied.
5883 (log-edit): Only insert "Author: " when
5884 `log-edit-setup-add-author' is non-nil.
5885 (log-edit): When SETUP is non-nil, position point after ": "
5886 instead of point-min.
5888 2013-12-01 Glenn Morris <rgm@gnu.org>
5890 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5892 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5894 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5895 redisplay to make sure the initial frame gets a chance to become
5896 visible. (Bug#16014)
5898 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5900 Support resizing frames and windows pixelwise.
5901 * cus-start.el (frame-resize-pixelwise)
5902 (window-resize-pixelwise): New entries.
5903 * emacs-lisp/debug.el (debug): Use window-total-height instead
5904 of window-total-size.
5905 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5906 * help.el (describe-bindings-internal): Use help-buffer as
5907 argument for with-help-window.
5908 (temp-buffer-max-width): New option.
5909 (resize-temp-buffer-window, help-window-setup)
5910 (with-help-window): Rewrite.
5911 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5913 * window.el (frame-char-size, window-min-pixel-height)
5914 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5915 (window-min-pixel-width, window-safe-min-pixel-size)
5916 (window-combination-p, window-safe-min-size)
5917 (window-resizable-p, window--size-to-pixel)
5918 (window--pixel-to-size, window--resize-apply-p): New functions.
5919 (window-safe-min-height): Fix doc-string.
5920 (window-size, window-min-size, window--min-size-1)
5921 (window-sizable, window-sizable-p, window--min-delta-1)
5922 (window-min-delta, window--max-delta-1, window-max-delta)
5923 (window--resizable, window--resizable-p, window-resizable)
5924 (window-full-height-p, window-full-width-p, window-at-side-p)
5925 (window--in-direction-2, window-in-direction)
5926 (window--resize-reset-1, window--resize-mini-window)
5927 (window-resize, window-resize-no-error)
5928 (window--resize-child-windows-normal)
5929 (window--resize-child-windows, window--resize-siblings)
5930 (window--resize-this-window, window--resize-root-window)
5931 (window--resize-root-window-vertically)
5932 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5933 (maximize-window, minimize-window, delete-window)
5934 (quit-restore-window, window-split-min-size, split-window)
5935 (balance-windows-2, balance-windows)
5936 (balance-windows-area-adjust, balance-windows-area)
5937 (window--state-get-1, window-state-get, window--state-put-1)
5938 (window--state-put-2, window-state-put)
5939 (display-buffer-record-window, window--display-buffer):
5940 Make functions handle pixelwise sizing of windows.
5941 (display-buffer--action-function-custom-type)
5942 (display-buffer-fallback-action):
5943 Add display-buffer-in-previous-window.
5944 (display-buffer-use-some-window): Resize window to height it had
5946 (fit-window-to-buffer-horizontally): New option.
5947 (fit-frame-to-buffer): Describe new values.
5948 (fit-frame-to-buffer-bottom-margin): Replace with
5949 fit-frame-to-buffer-margins.
5950 (window--sanitize-margin): New function.
5951 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5952 using window-text-pixel-size.
5954 2013-11-30 Glenn Morris <rgm@gnu.org>
5956 * emacs-lisp/bytecomp.el (byte-compile-form):
5957 Make the `interactive-only' warning like the `obsolete' one.
5958 * comint.el (comint-run):
5959 * files.el (insert-file-literally, insert-file):
5960 * replace.el (replace-string, replace-regexp):
5961 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5962 (goto-line, insert-buffer, next-line, previous-line):
5963 Tweak `interactive-only' spec.
5965 Stop keeping (most) generated cedet grammar files in the repository.
5966 * Makefile.in (semantic): New.
5967 (compile-main): Depend on semantic.
5969 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5971 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5972 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5974 * uniquify.el (uniquify-buffer-name-style): Change default.
5976 * loadup.el: Preload "uniquify".
5978 * time.el (display-time-update): Update all mode lines (bug#15999).
5980 * electric.el (electric-indent-mode): Enable by default.
5981 * loadup.el: Preload "electric".
5983 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5985 * emacs-lisp/helpers.el (string-empty-p): New function.
5986 (string-blank-p): New function.
5988 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5990 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5993 2013-11-29 Andreas Politz <politza@fh-trier.de>
5994 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5995 allow non-lambda lists as functions.
5996 (imenu--in-alist): Don't recurse into non-subalists.
5997 (imenu): Don't pass function itself as an argument (Bug#14029).
5999 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6001 * progmodes/python.el (python-mode-map): Remove binding for ":".
6002 (python-indent-electric-colon): Remove command.
6003 (python-indent-post-self-insert-function): Integrate the previous code
6004 of python-indent-electric-colon. Make it conditional on
6005 electric-indent-mode.
6006 (python-mode): Add ?: to electric-indent-chars.
6007 Move python-indent-post-self-insert-function to the end of
6008 post-self-insert-hook.
6010 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6012 * doc-view.el (doc-view-goto-page): Update mode-line.
6014 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6016 2013-11-27 Glenn Morris <rgm@gnu.org>
6018 * international/charprop.el, international/uni-bidi.el:
6019 * international/uni-category.el, international/uni-combining.el:
6020 * international/uni-comment.el, international/uni-decimal.el:
6021 * international/uni-decomposition.el, international/uni-digit.el:
6022 * international/uni-lowercase.el, international/uni-mirrored.el:
6023 * international/uni-name.el, international/uni-numeric.el:
6024 * international/uni-old-name.el, international/uni-titlecase.el:
6025 * international/uni-uppercase.el:
6026 Remove generated files from VCS repository.
6028 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6030 * filenotify.el (file-notify-add-watch): Don't special-case
6031 w32notify when computing the directory to watch.
6033 2013-11-27 Glenn Morris <rgm@gnu.org>
6035 Make bootstrap without generated uni-*.el files possible again.
6036 * loadup.el: Update command-line-args checking for unidata-gen.
6037 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6038 * composite.el, international/characters.el:
6039 Handle unicode tables being undefined.
6041 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6042 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6043 (compile-main): Depend on leim rule.
6045 * loadup.el: Move leim-list.el to leim/ subdirectory.
6046 * startup.el (normal-top-level): No more leim directory.
6047 * international/ja-dic-cnv.el (skkdic-convert):
6048 Disable version-control and autoloads in output files.
6049 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6050 Disable version-control and autoloads in output files.
6051 * leim/quail: Move here from ../leim.
6052 * leim/quail/hangul.el (hangul-input-method-activate):
6053 Add autoload cookie.
6054 (generated-autoload-load-name): Set file-local value.
6055 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6056 (generated-autoload-load-name): Set file-local value.
6058 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6060 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6061 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6062 (eww-quit): Ask confirmation before quitting eww.
6064 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6066 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6067 reading output from Diff on MS-Windows and MS-DOS.
6069 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6071 * emacs-lisp/helpers.el (string-reverse): New function.
6073 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6075 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6076 names on MS Windows, like "/[::1]:".
6078 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6081 2013-11-26 Glenn Morris <rgm@gnu.org>
6083 * progmodes/python.el (python-indent-guess-indent-offset):
6084 Avoid corner-case error. (Bug#15975)
6086 Preload leim-list.el. (Bug#4789)
6087 * loadup.el: Load leim-list.el when found.
6088 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6090 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6092 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6094 * emacs-lisp/helpers.el (string-join): New function.
6096 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6098 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6099 Mark as obsolete and replace it with a symbol property.
6100 (byte-compile-form): Use new 'interactive-only property.
6101 * comint.el, files.el, replace.el, simple.el:
6102 Apply new 'interactive-only properly.
6104 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6106 * window.el (display-buffer-at-bottom): Make sure that
6107 split-window-sensibly creates the new window on bottom
6110 2013-11-23 David Kastrup <dak@gnu.org>
6112 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6113 on the conflict markers when available.
6114 (smerge--get-marker): New function.
6115 (smerge-end-re, smerge-base-re): Add subgroup.
6117 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6119 * frame.el (handle-focus-in, handle-focus-out): Add missing
6122 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6124 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6125 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6127 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6129 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6130 (gomoku--last-pos): New var.
6131 (gomoku--intangible-chars): New const.
6132 (gomoku--intangible): New function.
6133 (gomoku-mode): Use it. Derive from special-mode.
6134 (gomoku-move-up): Adjust line count.
6135 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6136 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6137 Simplify accordingly.
6139 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6140 Remove blink-cursor code.
6141 (blink-cursor-timer-function, blink-cursor-suspend):
6142 Don't special-case GUIs.
6143 (blink-cursor-mode): Use focus-in/out-hook.
6145 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6147 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6148 work when annotation is invisible (Bug#13886).
6150 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6152 * json.el (json-alist-p): Only return non-nil if the alist has
6153 simple keys (Bug#13518).
6155 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6157 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6158 when control-statement is the first statement in a buffer (Bug#15956).
6160 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6162 * imenu.el (imenu-generic-skip-comments-and-strings):
6163 New option (Bug#15560).
6164 (imenu--generic-function): Use it.
6166 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6168 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6171 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6173 * emacs-lisp/helpers.el: Add some string helpers.
6174 (string-trim-left): Removes leading whitespace.
6175 (string-trim-right): Removes trailing whitespace.
6176 (string-trim): Removes leading and trailing whitespace.
6178 * subr.el (string-suffix-p): New function.
6180 2013-11-23 Glenn Morris <rgm@gnu.org>
6182 * progmodes/python.el (python-shell-send-file):
6183 Add option to delete file when done. (Bug#15647)
6184 (python-shell-send-string, python-shell-send-region): Use it.
6186 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6188 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6189 to set buffer-read-only to t, never to nil. (Bug#15938)
6191 * textmodes/tex-mode.el (latex-noindent-environments):
6192 Add safe-local-variable property. (Bug#15936)
6194 2013-11-23 Glenn Morris <rgm@gnu.org>
6196 * textmodes/enriched.el (enriched-mode): Doc fix.
6197 * emacs-lisp/authors.el (authors-renamed-files-alist):
6198 Add enriched.doc -> enriched.txt.
6200 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6202 2013-11-22 Leo Liu <sdl.web@gmail.com>
6204 * progmodes/octave.el (inferior-octave-startup): Spit out error
6207 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6209 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6212 (ruby-encoding-magic-comment-style): Add :version.
6214 2013-11-22 Leo Liu <sdl.web@gmail.com>
6216 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6218 (octave-help-mode): Adapt to change to help-mode-finish to use
6219 derived-mode-p on 2013-09-17.
6220 (inferior-octave-prompt): Also match octave-gui.
6221 (octave-kill-process): Don't ask twice. (Bug#10564)
6223 2013-11-22 Leo Liu <sdl.web@gmail.com>
6225 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6226 (inferior-octave-startup, inferior-octave-check-process)
6227 (inferior-octave-track-window-width-change)
6228 (octave-completion-at-point, octave-eldoc-function): Use it.
6229 (octave-kill-process): Provide confirmation. (Bug#10564)
6231 2013-11-21 Leo Liu <sdl.web@gmail.com>
6233 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6234 Fix obsolete variable comment-use-global-state.
6236 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6238 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6239 Add `octave-source-file'.
6240 (octave-source-file): New function. (Bug#15935)
6242 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6244 * net/eww.el (eww-local-regex): New variable.
6245 (eww): Use it to detect localhost and similar.
6247 2013-11-21 Leo Liu <sdl.web@gmail.com>
6249 Add completion for command `ag'.
6250 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6251 (pcomplete/ag): New function.
6252 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6254 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6256 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6258 (make-obsolete): Remove interactive spec.
6260 2013-11-21 Glenn Morris <rgm@gnu.org>
6262 * startup.el (command-line-1): Use path-separator with -L.
6264 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6266 * emacs-lisp/package.el (describe-package-1): Add package archive
6269 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6271 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6272 Change default to "# encoding: %s" to differentiate it from the
6273 default Ruby encoding comment template.
6275 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6277 * ses.el (ses-mode): Doc fix. (Bug#14748)
6279 2013-11-20 Leo Liu <sdl.web@gmail.com>
6281 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6283 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6285 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6286 when rebase or bisect are in progress.
6288 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6290 * filenotify.el (file-notify-add-watch): Doc fix.
6292 2013-11-19 Leo Liu <sdl.web@gmail.com>
6294 * obsolete/rcompile.el: Mark obsolete.
6296 * progmodes/compile.el (compilation-start)
6297 (compilation-goto-locus, compilation-find-file):
6298 Pass no-display-ok and handle nil value from display-buffer.
6301 * window.el (display-buffer-alist, display-buffer): Document the
6302 new parameter no-display-ok. Return either a window or nil
6303 but never a non-window value.
6305 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6307 * electric.el (electric-indent-mode-map): Remove.
6308 (electric-indent-mode): Change the global-map instead (bug#15915).
6310 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6313 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6315 * emacs-lisp/nadvice.el (remove-function): Align with
6316 add-function's behavior.
6318 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6319 (gdb--string-regexp): New constant.
6320 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6321 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6322 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6324 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6325 Adjust use accordingly.
6326 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6328 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6330 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6331 interpolation curlies (Bug#15914).
6333 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6335 * calc/calc.el (calc-context-sensitive-enter): New variable.
6336 (calc-enter): Use `calc-context-sensitive-enter'.
6338 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6340 * progmodes/cfengine.el: Version bump.
6341 (cfengine-cf-promises): New defcustom to locate cf-promises.
6342 (cfengine3-vartypes): Add new "data" type.
6343 (cfengine3--current-word): New function to get current name-like
6345 (cfengine3--current-function): New function to look up a CFEngine
6346 function's definition.
6347 (cfengine3-format-function-docstring): New function.
6348 (cfengine3-make-syntax-cache): New function.
6349 (cfengine3-documentation-function): New function: ElDoc glue.
6350 (cfengine3-completion-function): New function: completion glue.
6351 (cfengine3-mode): Set `compile-command',
6352 `eldoc-documentation-function', and add to
6353 `completion-at-point-functions'.
6355 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6357 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6358 `tramp-current-connection'.
6360 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6362 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6363 nil/self/true/false with "end of symbol".
6365 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6367 * subr.el (version-regexp-alist): Fix a typo.
6369 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6371 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6372 "en_US.utf8" and "LC_CTYPE" to "".
6373 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6374 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6376 2013-11-15 Leo Liu <sdl.web@gmail.com>
6378 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6380 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6382 * progmodes/gud.el (ctl-x-map):
6383 Remove C-x SPC binding. (Bug#12342)
6384 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6386 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6388 * subr.el (version-regexp-alist):
6389 Recognize hg, svn and darcs versions as snapshot versions.
6391 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6392 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6393 (ruby--encoding-comment-required-p): Extract from
6394 `ruby-mode-set-encoding'.
6395 (ruby-mode-set-encoding): Add the ability to always insert an
6396 utf-8 encoding comment. Fix and simplify coding comment update
6399 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6401 * net/tramp-gvfs.el (top): Run init code only when
6402 `tramp-gvfs-enabled' is not nil.
6403 (tramp-gvfs-enabled): Check also :system bus.
6405 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6407 Sync with upstream verilog-mode revision 78e66ba.
6408 * progmodes/verilog-mode.el (verilog-end-of-defun)
6409 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6410 (verilog-get-end-of-defun): Remove unused argument.
6411 (verilog-comment-depth): Remove unused local `e'.
6412 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6413 Don't pass arg to verilog-get-end-of-defun.
6415 2013-11-14 Glenn Morris <rgm@gnu.org>
6417 * obsolete/assoc.el (aget): Prefix dynamic variable.
6419 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6421 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6423 * widget.el, hfy-cmap.el: Remove bogus package version number.
6425 2013-11-13 Glenn Morris <rgm@gnu.org>
6427 * replace.el (replace-eval-replacement):
6428 Try to give more helpful error message. (Bug#15836)
6430 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6431 (archive-7z-update): Avoid custom type mismatches.
6433 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6435 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6437 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6438 address can be empty.
6440 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6441 Accept nil SWITCHES.
6442 (tramp-gvfs-handle-write-region): Implement APPEND.
6444 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6446 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6447 binary "|" operator and closing block args delimiter.
6448 Remove FIXME comment referring to Ruby 1.8-only syntax.
6449 (ruby-smie--implicit-semi-p): Not after "|" operator.
6450 (ruby-smie--closing-pipe-p): New function.
6451 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6452 (ruby-smie-rules): Indent after "|".
6454 2013-11-12 Glenn Morris <rgm@gnu.org>
6456 * ps-print.el (ps-face-attribute-list):
6457 Handle anonymous faces. (Bug#15827)
6459 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6461 * window.el (display-buffer-other-frame): Fix doc-string.
6464 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6466 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6468 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6470 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6471 (tramp-sh-handle-file-local-copy): Don't write a message when
6472 saving temporary files.
6474 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6475 both directories are remote.
6476 (tramp-smb-handle-directory-files): Do not return double entries.
6477 Do not expand full file names.
6478 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6479 (tramp-smb-handle-write-region): Implement APPEND.
6480 (tramp-smb-get-stat-capability): Fix a stupid bug.
6482 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6484 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6486 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6488 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6489 throwing error over malformed let/let* (bug#15814).
6491 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6493 * iswitchb.el (iswitchb-mode): Mark obsolete.
6495 2013-11-11 Glenn Morris <rgm@gnu.org>
6497 * international/uni-bidi.el, international/uni-category.el:
6498 * international/uni-name.el, international/uni-numeric.el:
6499 Regenerate for Unicode 6.3.0.
6501 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6503 * net/tramp.el (tramp-methods):
6504 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6505 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6507 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6509 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6510 Force highlighting text after Summary keyword in doc face for rpm.
6512 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6514 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6515 available and the word has no wildcards, append one to the grep pattern.
6516 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6517 (ispell-complete-word): Call `ispell-lookup-words' with the value
6518 independent of `ispell-look-p'.
6520 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6522 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6524 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6527 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6529 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6530 (ruby-font-lock-keywords): Use backquote.
6532 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6534 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6535 (ruby-smie--backward-token): Only consider full-string matches.
6537 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6539 * faces.el (describe-face): Add distant-foreground.
6541 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6543 * progmodes/ruby-mode.el: Improve encoding comment handling.
6544 (ruby-encoding-magic-comment-style): New option.
6545 (ruby-custom-encoding-magic-comment-template): New option.
6546 (ruby--insert-coding-comment, ruby--detect-encoding):
6547 New functions extracted from `ruby-mode-set-encoding'.
6548 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6549 to control the style of the auto-inserted encoding comment.
6551 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6553 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6554 Use `smie-backward-sexp' with token argument.
6556 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6558 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6559 Remove instrumentation code.
6561 2013-11-08 Glenn Morris <rgm@gnu.org>
6563 * progmodes/autoconf.el (autoconf-mode):
6564 Tweak comment-start-skip. (Bug#15822)
6566 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6568 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6569 at bobp (bug#15826).
6570 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6572 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6574 * man.el (Man-start-calling): New macro, extracted from
6575 Man-getpage-in-background.
6576 (Man-getpage-in-background): Use it.
6577 (Man-update-manpage): New command.
6578 (Man-mode-map): Bind it.
6580 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6582 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6583 of "and", "or", "&&" and "||".
6584 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6585 argument. Prohibit opening curly brace because it could only be a
6586 block opener in that position.
6587 (ruby-smie--forward-token, ruby-smie--backward-token):
6588 Separate "|" from "&" or "*" going after it. That can happen in block
6590 (ruby-smie--indent-to-stmt): New function, seeks the end of
6591 previous statement or beginning of buffer.
6592 (ruby-smie-rules): Use it.
6593 (ruby-smie-rules): Check if there's a ":" before a curly block
6594 opener candidate; if there is, it's a hash.
6596 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6598 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6599 (cl--block-wrapper): Fix last accidental change.
6601 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6603 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6604 Instrument, in order to hunt failure on hydra.
6606 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6608 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6609 malformed bindings form (bug#15814).
6611 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6613 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6614 "." compared to " @ ". This incidentally fixes some indentation
6616 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6617 (ruby-smie-grammar): New tokens: "and" and "or".
6618 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6619 Exclude "and" and "or". Remove "do" in order to work around token
6621 (ruby-smie-rules): Add all infix tokens. Handle the case of
6622 beginning-of-buffer.
6624 2013-11-06 Glenn Morris <rgm@gnu.org>
6626 * Makefile.in (setwins_almost, setwins_for_subdirs):
6627 Avoid accidental matches.
6629 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6631 * menu-bar.el (popup-menu): Use key-binding.
6633 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6635 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6636 menus, support also the menus produced by minor modes.
6639 2013-11-06 Leo Liu <sdl.web@gmail.com>
6641 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6642 DISTANCE to bound the search. All uses changed. (Bug#15808)
6644 2013-11-06 Glenn Morris <rgm@gnu.org>
6646 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6647 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6648 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6650 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6652 * electric.el (electric-indent-just-newline): New command.
6653 (electric-indent-mode-map): New keymap.
6654 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6655 Re-add :group which weren't redundant.
6657 * electric.el (electric-indent-local-mode): New minor mode.
6658 (electric-indent-functions-without-reindent): New var.
6659 (electric-indent-post-self-insert-function): Use it.
6660 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6662 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6664 * international/quail.el (quail-help): Be more explicit about the
6665 meaning of the labels shown on the keys. (Bug#15800)
6667 * startup.el (normal-top-level): Load the subdirs.el files before
6668 setting the locale environment. (Bug#15805)
6670 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6672 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6673 via arguments so as to get the right ones (bug#15418).
6675 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6677 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6679 Fix problems found while writing a test suite.
6681 * net/tramp-compat.el (tramp-compat-load): New defun.
6682 * net/tramp.el (tramp-handle-load): Use it.
6684 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6685 "(numberp ok-if-already-exists)" correctly.
6687 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6689 * international/characters.el (glyphless-char-display-control):
6692 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6694 * progmodes/python.el (python-mode):
6695 * progmodes/scheme.el (scheme-mode):
6696 * progmodes/prolog.el (prolog-mode):
6697 * progmodes/ruby-mode.el (ruby-mode):
6698 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6699 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6701 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6703 * rect.el (rectangle--highlight-for-redisplay):
6704 * emacs-lisp/smie.el (smie--next-indent-change):
6705 Use buffer-chars-modified-tick.
6707 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6709 * electric.el (electric-indent-post-self-insert-function):
6710 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6712 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6714 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6716 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6718 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6721 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6723 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6725 * progmodes/python.el: Fix up last change.
6726 (python-shell--save-temp-file): New function.
6727 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6728 `string' comes from the current buffer.
6729 (python-shell-send-string-no-output): Remove `msg' arg.
6730 (python--use-fake-loc): New var.
6731 (python-shell-buffer-substring): Obey it. Try to compensate for the
6732 extra coding line added by python-shell--save-temp-file.
6733 (python-shell-send-region): Use python-shell--save-temp-file and
6734 python-shell-send-file directly. Add `nomain' argument.
6735 (python-shell-send-buffer): Use python-shell-send-region.
6736 (python-electric-pair-string-delimiter): New function.
6737 (python-mode): Use it.
6739 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6741 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6742 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6743 environment and decoding all of the default-directory's to here
6745 (command-line): Decode also argv[0].
6747 * loadup.el: Error out if default-directory is a multibyte string
6748 when we are dumping.
6750 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6752 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6754 * emacs-lisp/package.el (package-menu-mode)
6755 (package-menu--print-info, package-menu--archive-predicate):
6756 Add Archive column to package list.
6758 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6760 Fix problems found while writing a test suite.
6762 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6763 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6764 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6765 to nil when running original file name handler. Otherwise,
6766 there are problems with constructs like "$$FOO".
6768 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6771 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6773 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6775 * subr.el (version<, version<=, version=):
6776 Update docstrings with information for snapshot versions.
6778 * helpers.el: New library for misc helper functions.
6779 (hash-table-keys): New function returning a list of hash keys.
6780 (hash-table-values): New function returning a list of hash values.
6782 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6784 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6785 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6787 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6789 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6790 checking whether point is after a 1-letter word.
6792 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6794 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6795 Don't infloop when expanding region over `multiline' syntax-type that
6796 begins a line (bug#15778).
6798 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6800 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6801 Make it into a proper minor mode.
6802 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
6803 (rectangle-mark-mode-map): New keymap.
6804 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6806 2013-11-04 Glenn Morris <rgm@gnu.org>
6808 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6810 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6812 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6813 (ruby-smie-rules): Use smie-rule-parent instead.
6815 * emacs-lisp/smie.el (smie-rule-parent): Always call
6816 smie-indent-virtual rather than only for hanging tokens.
6817 (smie--next-indent-change): New helper command.
6819 2013-11-03 Glenn Morris <rgm@gnu.org>
6821 * Makefile.in (abs_srcdir): Remove.
6822 (emacs): Unset EMACSLOADPATH.
6824 2013-11-02 Glenn Morris <rgm@gnu.org>
6826 * Makefile.in (EMACS): Use a relative filename.
6827 (abs_top_builddir): Remove.
6828 (custom-deps, finder-data, autoloads): Use --chdir.
6830 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6832 Use relative filenames in TAGS files.
6833 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6834 (lisptagsfiles4, TAGS): Use relative file names.
6835 (TAGS-LISP): Remove.
6836 (maintainer-clean): No more TAGS-LISP file.
6838 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6839 (lisptagsfiles4): Use absolute filenames again.
6840 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6841 Remove all *loaddefs files, not just the first. Remove esh-groups.
6842 (maintainer-clean): Delete TAGS, TAGS-LISP.
6844 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6846 * emacs-lisp/package.el (package-version-join):
6847 Recognize snapshot versions.
6849 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6851 * subr.el (version-regexp-alist): Add support for snapshot versions.
6853 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6855 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6856 New function, replacement for `smie-rule-parent' for when we want to
6857 skip over our direct parent if it's an assignment token..
6858 (ruby-smie-rules): Use it.
6860 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6862 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6863 unconditionally. Remove now unnecessary forward declarations.
6864 Remove XEmacs-specific setup.
6865 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6866 (ruby-font-lock-syntactic-keywords)
6867 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6868 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6869 (ruby-here-doc-end-syntax): Remove.
6870 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6871 defined as function.
6873 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6875 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6877 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6879 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6880 table and abbrev table, `define-derived-mode' does that for us
6883 2013-11-01 Glenn Morris <rgm@gnu.org>
6885 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6886 files is atomic for some time, so no parallel compilation issues).
6888 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6890 * faces.el (face-x-resources): Add :distant-foreground.
6891 (region): Use :distant-foreground for gtk and ns.
6893 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6895 Allow multiple bibliographies when BibLaTeX is used rather than
6897 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6898 (reftex-locate-bibliography-files): Us it.
6900 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6902 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6903 allow comments in pbm files.
6905 * term/w32-win.el (dynamic-library-alist): Support newer versions
6906 of libjpeg starting with v7: look only for the DLL from the
6907 version against which Emacs was built.
6908 Support versions of libpng beyond 1.4.x.
6909 Support libtiff v4.x.
6911 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6913 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6914 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6916 (ruby-deep-arglist): Add property :type.
6918 2013-10-31 Glenn Morris <rgm@gnu.org>
6920 * Makefile.in (custom-deps, finder-data): No need to setq the target
6921 variables, we are in the right directory and the defaults work fine.
6923 2013-10-30 Glenn Morris <rgm@gnu.org>
6925 * Makefile.in (autoloads): Do not use abs_lisp.
6927 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6928 `newline' does not respect `standard-output', so use `princ'.
6930 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6932 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6933 * buff-menu.el (Buffer-menu--unmark): New function.
6934 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6936 2013-10-30 Glenn Morris <rgm@gnu.org>
6938 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6940 * emacs-lisp/package.el (lm-homepage): Declare.
6942 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6945 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6947 * Makefile.in (finder-data, autoloads, update-subdirs)
6948 (compile-main, compile-clean, compile-always, bootstrap-clean):
6949 Check return value of cd.
6950 (compile-calc): Remove.
6952 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6954 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6956 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6957 (byte-compile-and-folded): New function.
6958 (=, <, >, <=, >=): Use it.
6960 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6961 (path-separator, null-device, buffer-file-coding-system)
6962 (lpr-headers-switches): Check system-type before modifying them.
6963 (find-buffer-file-type-coding-system): Mark obsolete.
6964 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6965 find-file-not-found-set-buffer-file-coding-system.
6966 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6967 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6968 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6969 (w32-direct-print-region-helper, w32-direct-print-region-function)
6970 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6971 * startup.el (normal-top-level-add-subdirs-to-load-path):
6972 * ps-print.el (ps-print-region-function):
6973 * lpr.el (print-region-function): Use new name.
6975 * subr.el (custom-declare-variable-early): Remove function.
6976 (custom-declare-variable-list): Remove var.
6977 (error, user-error): Remove `while' loop.
6978 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6979 (user-emacs-directory-warning, locate-user-emacs-file):
6981 * simple.el (read-quoted-char-radix, read-quoted-char):
6982 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6984 * custom.el (custom-declare-variable-list): Don't process
6985 custom-declare-variable-list.
6987 * progmodes/python.el (python-shell-get-buffer): New function.
6988 (python-shell-get-process): Use it.
6989 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6990 Python which encoding was used. Don't split-string since we only care
6991 about the first line. Return the temp-file, if applicable.
6992 (python-shell-send-region): Tell compile.el how to turn locations in
6993 the temp-file into locations in the source buffer.
6995 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6997 * subr.el (undefined): Add missing behavior from the C code for
7000 * rect.el: Use lexical-binding. Add new rectangular region support.
7001 (rectangle-mark): New command.
7002 (rectangle--region): New var.
7003 (deactivate-mark-hook): Reset rectangle--region.
7004 (rectangle--extract-region, rectangle--insert-for-yank)
7005 (rectangle--highlight-for-redisplay)
7006 (rectangle--unhighlight-for-redisplay): New functions.
7007 (region-extract-function, redisplay-unhighlight-region-function)
7008 (redisplay-highlight-region-function): Use them to handle
7010 * simple.el (region-extract-function): New var.
7011 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7012 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7013 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7014 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7015 (redisplay-unhighlight-region-function)
7016 (redisplay-highlight-region-function): New vars.
7017 (redisplay--update-region-highlight): New function.
7018 (pre-redisplay-function): Use it.
7019 (exchange-point-and-mark): Don't deactivate the mark before
7020 reactivate-it anyway.
7021 * comint.el (comint-kill-region): Remove yank-handler argument.
7022 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7023 (delete-char): Remove property, since it's now part of their
7025 (self-insert-iso): Remove property since this command doesn't exist.
7027 * emacs-lisp/package.el (package--download-one-archive)
7028 (describe-package-1): Don't query the user about final newline.
7030 2013-10-29 Daniel Colascione <dancol@dancol.org>
7032 * net/tramp.el (tramp-methods): Document new functionality.
7033 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7034 tramp-hostname-checker if method provides one instead of scanning
7035 argument list for "%h" to decide hostname acceptability.
7037 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7039 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7040 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7041 Handle COPY-CONTENTS. (Bug#15737)
7043 2013-10-28 Daiki Ueno <ueno@gnu.org>
7046 (epa-file-cache-passphrase-for-symmetric-encryption):
7047 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7049 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7051 * image.el (defimage, image-load-path): Doc fixes.
7053 2013-10-27 Alan Mackenzie <acm@muc.de>
7055 Indent statements in macros following "##" correctly.
7056 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7057 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7059 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7061 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7063 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7065 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7066 after `=' is probably a new expression.
7068 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7070 * man.el (man-imenu-title): New option.
7071 (Man-mode-map): Add menu. (Bug#15722)
7072 (Man-mode): Add imenu to menu.
7074 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7076 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7077 specific in what the first arg can be: a non-keyword word,
7078 string/regexp/percent literal opener, opening paren, or unary
7079 operator followed directly by word.
7081 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7083 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7084 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7085 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7086 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7087 Remove vars, they do not apply any more.
7088 (prolog-mode-abbrev-table): Remove redundant declaration.
7089 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7090 (prolog-use-smie): Remove.
7091 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7092 supported by prolog-electric-if-then-else-flag.
7093 (prolog-mode-variables, prolog-menu): Use setq-local.
7094 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7095 Remove binding to `Backspace' since this key doesn't exist anyway.
7096 Remove bindings for electric self-inserting keys.
7097 (prog-mode): Assume it's defined.
7098 (prolog-post-self-insert): New function.
7099 (prolog-mode): Use it.
7100 (prolog-indent-line, prolog-indent-level)
7101 (prolog-find-indent-of-matching-paren)
7102 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7103 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7104 (prolog-goto-next-paren, prolog-in-string-or-comment)
7105 (prolog-tokenize, prolog-inside-mline-comment)
7106 (prolog-find-start-of-mline-comment): Remove functions.
7107 (prolog-find-unmatched-paren, prolog-clause-end)
7108 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7109 (prolog-electric--if-then-else): Rename from
7110 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7111 (prolog-tokenize-searchkey): Remove const.
7112 (prolog-clause-info): Use forward-sexp.
7113 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7114 (prolog-electric-if-then-else): Remove commands.
7115 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7116 for use in post-self-insert-hook.
7117 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7118 for use in post-self-insert-hook.
7119 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7120 for use in post-self-insert-hook.
7121 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7122 adapt it for use in post-self-insert-hook.
7124 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7126 * emacs-lisp/ert.el (ert-run-tests-interactively):
7127 Use `completing-read'. (Bug#9756)
7129 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7131 * simple.el (line-move): Call line-move-1 instead of
7132 line-move-visual when the current window hscroll is zero, but
7133 temporary-goal-column indicates we will need to hscroll as result
7134 of the movement. (Bug#15712)
7136 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7138 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7139 capitalization. Use :visible instead of :active.
7140 Fix `ruby-indent-exp' reference. Add menu items for the generic
7141 commands that are used with SMIE.
7142 (ruby-do-end-to-brace): Insert space after `{'.
7144 2013-10-25 John Anthony <john@jo.hnanthony.com>
7146 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7148 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7150 2013-10-25 Glenn Morris <rgm@gnu.org>
7152 * vc/vc.el (vc-print-log): Don't use a working revision unless
7153 one was explicitly specified. (Bug#15322)
7155 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7157 * subr.el (add-to-list): Preserve return value in compiler-macro
7160 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7162 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7163 result. Ask user to retry using '-all' flag. (Bug#15701)
7165 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7167 * emacs-lisp/smie.el: New smie-config system.
7168 (smie-config): New defcustom.
7169 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7170 (smie-config-guess, smie-config-save): New commands.
7171 (smie-config--mode-local, smie-config--buffer-local)
7172 (smie-config--trace, smie-config--modefuns): New vars.
7173 (smie-config--advice, smie-config--mode-hook)
7174 (smie-config--setter, smie-config-local, smie-config--get-trace)
7175 (smie-config--guess-value, smie-config--guess): New functions.
7176 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7177 text properties. Treat "string fence" syntax like string syntax.
7179 * progmodes/sh-script.el (sh-use-smie): Change default.
7180 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7181 (sh-var-value): Simplify by CSE.
7182 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7183 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7185 (sh-guess-basic-offset): Use cl-incf.
7186 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7188 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7190 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7193 2013-10-24 Glenn Morris <rgm@gnu.org>
7195 * Makefile.in (abs_top_srcdir): Remove.
7196 (update-subdirs): Use relative path to update-subdirs.
7198 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7200 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7201 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7202 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7203 Call unmsys--file-name before expand-file-name, not after it.
7205 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7207 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7208 (ert-test-skipped): New error.
7209 (ert-skip, ert-stats-skipped): New defuns.
7210 (ert--skip-unless): New macro.
7211 (ert-test-skipped): New struct.
7212 (ert--run-test-debugger, ert-test-result-type-p)
7213 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7214 (ert--stats-set-test-and-result, ert-char-for-test-result)
7215 (ert-string-for-test-result, ert-run-tests-batch)
7216 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7217 Handle skipped tests. (Bug#9803)
7219 2013-10-24 Glenn Morris <rgm@gnu.org>
7221 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7223 * Makefile.in (abs_top_srcdir): New, set by configure.
7224 (update-subdirs): Correct build-aux location.
7226 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7228 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7229 value, whether we could auto-deduce `backend', or not.
7231 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7232 with parameters" example. Simplify the "is it block or is it
7233 hash" check, but also make it more thorough.
7235 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7237 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7239 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7241 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7244 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7247 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7249 * progmodes/compile.el (compilation-directory-matcher)
7250 (compilation-page-delimiter):
7251 Support GNU Make-4.0 directory quoting. (Bug#15678)
7253 2013-10-23 Leo Liu <sdl.web@gmail.com>
7255 * ido.el (ido-tidy): Handle read-only text.
7257 2013-10-23 Glenn Morris <rgm@gnu.org>
7259 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7260 (emacs, compile, compile-always):
7261 Quote entities that might contain whitespace.
7262 (custom-deps, finder-data, autoloads): Use abs_lisp.
7263 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7264 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7265 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7267 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7269 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7270 Use `following-char'.
7272 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7274 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7275 * progmodes/ruby-mode.el (ruby-smie-rules):
7276 Remove corresponding workaround. Fix indentation rule of ";" so it
7277 also applies when ";" is the parent.
7279 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7281 * frame.el (display-screens, display-pixel-height)
7282 (display-pixel-width, display-mm-width, display-backing-store)
7283 (display-save-under, display-planes, display-color-cells)
7284 (display-visual-class, display-monitor-attributes-list):
7285 Mention the optional ‘display’ argument in doc strings.
7287 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7289 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7290 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7292 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7294 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7295 TODO. Add "." after " @ ".
7296 (ruby-smie--at-dot-call): New function. Checks if point at method
7297 call with explicit target.
7298 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7299 to the method name tokens when it precedes them.
7300 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7301 (ruby-smie-rules): Add rule for indentation before and after "."
7304 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7306 * textmodes/remember.el (remember-diary-extract-entries):
7309 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7312 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7314 * progmodes/ruby-mode.el (ruby-smie-grammar):
7315 Add (almost) all infix operators.
7316 (ruby-smie--implicit-semi-p): Add new operator chars.
7318 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7320 (ruby-smie--args-separator-p): Check that there's no newline
7321 between method call and its arguments.
7323 2013-10-20 Alan Mackenzie <acm@muc.de>
7325 Allow comma separated lists after Java "implements".
7327 * progmodes/cc-engine.el (c-backward-over-enum-header):
7329 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7330 from a "disallowed" list in enum fontification.
7332 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7334 * startup.el (default-frame-background-mode): Remove unused defvar.
7336 * progmodes/verilog-mode.el (verilog-mode): Don't set
7337 comment-indent-function globally.
7339 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7341 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7342 Move Info menu item creation to ns-win.el.
7344 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7347 * menu-bar.el: Move GNUstep specific menus...
7349 * term/ns-win.el (ns-initialize-window-system): ... to here.
7351 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7353 * simple.el (newline): Only run post-self-insert-hook when
7354 called interactively.
7356 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7358 * icomplete.el (icomplete-with-completion-tables): Add :version.
7360 2013-10-19 Alan Mackenzie <acm@muc.de>
7362 Fix fontification bugs with constructors and const.
7364 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7365 CASE 2) Remove the check for the absence of a suffix construct
7366 after a function declaration with only types (no identifiers) in
7367 the parentheses. Also, accept a function declaration with just a
7368 type inside the parentheses, if this type can be positively
7369 recognised as such, or if a prefix keyword like "explicit" nails
7370 down the construct as a declaration.
7372 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7374 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7375 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7376 the problem whereby selecting a menu item that leads to a
7377 minibuffer prompt moves the cursor out of the minibuffer window,
7378 making it hard to type at the prompt. Suggested by Stefan Monnier
7379 <monnier@iro.umontreal.ca>.
7381 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7383 * menu-bar.el: Don't make Services menu.
7385 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7387 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7388 (ffap-alist): Use ffap-c++-mode for c++-mode.
7389 (ffap-c++-path): New variable.
7390 (ffap-c++-mode): New function.
7392 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7394 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7396 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7398 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7399 introduced on 2013-09-08, which results in an infinite loop
7400 requesting a password.
7402 2013-10-18 Glenn Morris <rgm@gnu.org>
7404 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7406 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7408 Sync with upstream verilog-mode revision 1a6ecec7.
7409 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7410 (verilog-mode-release-date): Remove.
7411 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7412 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7413 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7414 (verilog-auto-tieoff-ignore-regexp)
7415 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7416 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7417 (verilog-signals-with, verilog-dir-cache-preserving)
7418 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7420 (verilog-case-fold): New option, to control case folding in
7421 regexp searches, bug597.
7422 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7423 (verilog-string-match-fold, verilog-in-paren-count)
7424 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7425 (verilog-at-close-struct-p): New functions.
7426 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7427 (verilog-forward-sexp, verilog-set-auto-endcomments)
7428 (verilog-leap-to-case-head): Handle "unique0" case.
7429 (verilog-in-constraint-re): New constant.
7430 (verilog-keywords, verilog-type-font-keywords):
7431 Add some SystemVerilog 1800-2012 keywords.
7432 (verilog-label-be): Remove unimplemented argument, bug669.
7433 (verilog-batch-execute-func): When batch expanding clear
7434 create-lockfiles to prevent spurious user locks when a file ends
7436 (verilog-calculate-indent, verilog-calc-1)
7437 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7438 (verilog-do-indent): Fix indentation of nested constraints
7440 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7441 (verilog-auto-inst-param): Use verilog-string-match-fold.
7442 (verilog-read-inst-module-matcher):
7443 Fix AUTOINST on gate primitives with #1.
7444 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7445 Reads all user-defined typed variables.
7446 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7447 (verilog-signals-matching-regexp)
7448 (verilog-signals-not-matching-regexp, verilog-auto):
7449 Respect verilog-case-fold.
7450 (verilog-diff-report): Fix line count.
7451 (verilog-auto-assign-modport): Remove unused local `modi'.
7452 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7453 better handle multidimensional arrays.
7454 Fix packed array ports misadding bit index in AUTOINST, bug637.
7455 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7456 to not double-declare existing outputs and inputs, respectively.
7457 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7458 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7459 (verilog-sk-uvm-component): New skeleton.
7460 (verilog-submit-bug-report): Add verilog-case-fold,
7461 remove verilog-mode-release-date.
7463 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7465 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7468 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7470 * textmodes/remember.el (remember): Set buffer-offer-save in
7471 remember buffers (bug#13566).
7473 2013-10-18 Daniel Colascione <dancol@dancol.org>
7475 When evaluating forms in ielm, direct standard output to ielm
7476 buffer. Add new ielm-return-for-effect command. Remove trailing
7477 whitespace throughout.
7479 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7480 (ielm-return-for-effect): New command.
7481 (ielm-send-input): Accept optional `for-effect' parameter.
7482 (ielm-eval-input): Accept optional `for-effect' parameter.
7483 Bind `standard-output' to stream we create using
7484 `ielm-standard-output-impl'. Suppress printing result when
7486 (ielm-standard-output-impl): New function.
7487 (inferior-emacs-lisp-mode): Explain new features in documentation.
7489 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7493 * net/tramp.el (tramp-debug-message): Do not check for connection
7495 (tramp-message): Use "vector" connection property.
7497 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7498 (tramp-equal-remote, tramp-eshell-directory-change)
7499 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7500 (tramp-adb-handle-rename-file)
7501 * net/tramp-cmds.el (tramp-list-remote-buffers)
7502 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7503 * net/tramp-compat.el (tramp-compat-process-running-p)
7504 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7505 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7506 (tramp-gvfs-handle-rename-file)
7507 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7508 (tramp-set-file-uid-gid)
7509 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7510 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7513 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7514 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7515 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7516 (tramp-gw-open-network-stream): Suppress unrelated traces.
7518 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7519 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7520 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7521 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7522 connection property.
7524 * net/tramp-cache.el (top): Suppress traces when reading
7527 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7528 Refactor common code. Improve debug message.
7529 (tramp-maybe-open-connection)
7530 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7531 connection buffer too early.
7533 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7534 from `tramp-smb-actions-with-acl'.
7535 (tramp-smb-actions-set-acl): New defconst.
7536 (tramp-smb-handle-copy-directory)
7537 (tramp-smb-action-get-acl): New defun, renamed from
7538 `tramp-smb-action-with-acl'.
7539 (tramp-smb-action-set-acl): New defun.
7540 (tramp-smb-handle-set-file-acl): Rewrite.
7542 2013-10-17 Glenn Morris <rgm@gnu.org>
7544 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7546 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7548 * skeleton.el (skeleton-newline): Remove.
7549 (skeleton-internal-1): Use (insert "\n") instead.
7551 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7554 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7555 forward-sexp-function while we redo its job (bug#15613).
7557 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7559 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7560 represented by lists.
7562 2013-10-16 Glenn Morris <rgm@gnu.org>
7564 * tmm.el (tmm--history): New dynamic variable.
7565 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7567 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7569 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7570 (tramp-smb-errors): Add error messages.
7571 (tramp-smb-actions-with-acl): New defconst.
7572 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7573 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7574 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7575 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7576 (tramp-smb-get-stat-capability): Fix tests.
7578 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7580 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7583 2013-10-16 Glenn Morris <rgm@gnu.org>
7585 * ansi-color.el (ansi-color-drop-regexp):
7586 Add 1J, 1K, 2K. (Bug#15617)
7588 * files.el (hack-local-variables--warned-lexical): New.
7589 (hack-local-variables):
7590 Warn about misplaced lexical-binding. (Bug#15616)
7592 * net/eww.el (eww-render): Always set eww-current-url,
7593 and update header line. (Bug#15622)
7594 (eww-display-html): ... Rather than just doing it here.
7596 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7598 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7599 menu navigations commands.
7601 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7603 * progmodes/subword.el (subword-capitalize): Be careful when
7604 the search for [[:alpha:]] fails (bug#15580).
7606 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7608 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7609 to commands that scroll the menu.
7611 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7613 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7614 Handle methods ending with `?' and `!'.
7616 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7618 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7619 `japanese-cp932' to `cp932' to fix the problem where saving a
7620 source file written in Shift_JIS twice would end up having
7621 `coding: japanese-cp932' which Ruby could not recognize.
7622 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7623 in `ruby-encoding-map'.
7624 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7625 doesn't need to be explicitly declared in magic comment.
7626 (ruby-encoding-map): Add type declaration for better customize UI.
7628 2013-10-13 Glenn Morris <rgm@gnu.org>
7630 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7631 Occur buffers are read-only. http://bugs.debian.org/720775
7633 * emacs-lisp/authors.el (authors-fixed-entries):
7634 Comment out old alpha stuff.
7636 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7638 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7639 to `after-save-hook' instead of `before-save-hook'.
7640 (ruby-mode-set-encoding): Use the value of coding system used to
7641 write the file. Call `basic-save-buffer-1' after modifying the
7644 2013-10-13 Alan Mackenzie <acm@muc.de>
7646 Fix indentation/fontification of Java enum with
7647 "implements"/generic.
7649 * progmodes/cc-engine.el (c-backward-over-enum-header):
7650 Extracted from the three other places and enhanced to handle generics.
7651 (c-inside-bracelist-p): Uses new function above.
7652 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7654 (c-font-lock-enum-tail): Uses new function above.
7656 2013-10-13 Kenichi Handa <handa@gnu.org>
7658 * international/mule-cmds.el (select-safe-coding-system): Remove a
7659 superfluous condition in chekcing whether a coding system is safe
7662 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7664 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7666 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7668 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7670 2013-10-13 Glenn Morris <rgm@gnu.org>
7672 * menu-bar.el (menu-bar-update-buffers):
7673 Unify Buffers menu prompt string. (Bug#15576)
7675 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7677 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7679 (authors-fixed-entries): Use accented form of name.
7681 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7683 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7684 method calls (bug#15594).
7685 (ruby-smie--args-separator-p): New function.
7686 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7687 recognize paren-free method calls.
7689 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7690 internals of universal-argument.
7692 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7694 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7695 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7696 dropped menu on second mouse click on the menu bar.
7698 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7700 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7701 (explicit-shell-file-name): Declare.
7702 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7703 (sh-completion-at-point-function): New function.
7705 (sh-smie--keyword-p): Remove unused argument.
7706 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7708 (sh-set-shell): Always setup SMIE, even if we use the
7709 old indentation code.
7711 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7713 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7715 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7716 predicate would return nil are almost non-existent.
7717 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7719 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7720 cache also after commands that modify the buffer but don't move
7723 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7725 * env.el (substitute-env-in-file-name): New function.
7726 (substitute-env-vars): Extend the meaning of the optional arg.
7728 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7730 * term/w32-win.el (dynamic-library-alist): Define separate lists
7731 of GIF DLLs for versions before and after 5.0.0 of giflib.
7734 2013-10-10 João Távora <joaotavora@gmail.com>
7736 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7737 not locked, use last revision and current source as
7738 defaults. (Bug#15569)
7740 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7742 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7745 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7747 * window.el (pop-to-buffer-same-window): Fix doc-string.
7750 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7752 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7754 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7756 * calendar/icalendar.el (icalendar-import-file):
7757 Fix interactive spec. (Bug#15482)
7759 2013-10-10 Glenn Morris <rgm@gnu.org>
7761 * desktop.el (desktop-save): Default to saving in .emacs.d,
7762 since PWD is no longer in desktop-path by default. (Bug#15319)
7764 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7765 now that text mode has a menu with the same entry.
7766 (menu-bar-text-mode-auto-fill): Remove now unused func.
7767 * textmodes/text-mode.el (text-mode-map):
7768 Use auto-fill help text from menu-bar.el.
7770 2013-10-10 John Anthony <john@jo.hnanthony.com>
7772 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7774 2013-10-09 Juri Linkov <juri@jurta.org>
7776 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7777 instead of this-command-keys. Add universal-argument-more and
7778 universal-argument-minus to the list of prefix commands. (Bug#15568)
7780 2013-10-09 Glenn Morris <rgm@gnu.org>
7782 * vc/vc-svn.el (vc-svn-create-repo):
7783 Expand paths in file://... url. (Bug#15446)
7785 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7787 (authors): Remove unused local variables.
7789 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7791 * profiler.el: Create a more coherent calltree from partial backtraces.
7792 (profiler-format): Hide the tail with `invisible' so that C-s can still
7793 find the hidden elements.
7794 (profiler-calltree-depth): Don't recurse so enthusiastically.
7795 (profiler-function-equal): New hash-table-test.
7796 (profiler-calltree-build-unified): New function.
7797 (profiler-calltree-build): Use it.
7798 (profiler-report-make-name-part): Indent the calltree less.
7799 (profiler-report-mode): Add visibility specs for profiler-format.
7800 (profiler-report-expand-entry, profiler-report-toggle-entry):
7801 Expand the whole subtree when provided with a prefix arg.
7803 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7805 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7807 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7808 hanging iuwu-mod token.
7809 (ruby-smie--forward-token): Do not include a dot after a token in
7811 (ruby-smie--backward-token): Likewise.
7813 2013-10-08 Juri Linkov <juri@jurta.org>
7815 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7816 to isearch-other-control-char.
7817 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7818 and isearch-post-command-hook to post-command-hook.
7819 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7820 and isearch-post-command-hook from post-command-hook.
7821 (isearch-unread-key-sequence)
7822 (isearch-reread-key-sequence-naturally)
7823 (isearch-lookup-scroll-key, isearch-other-control-char)
7824 (isearch-other-meta-char): Remove functions.
7825 (isearch-pre-command-hook, isearch-post-command-hook):
7826 New functions based on isearch-other-meta-char rewritten
7827 relying on the new behavior of overriding-terminal-local-map
7828 that does not replace the local keymaps any more. (Bug#15200)
7830 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7832 Support menus on text-mode terminals.
7833 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7836 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7838 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7839 Move here from mouse.el.
7840 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7842 (tty-menu-navigation-map): New map for TTY menu navigation.
7844 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7846 * frame.el (display-mouse-p): Report text-mode mouse as available
7848 (display-popup-menus-p): Report availability if mouse is
7849 available; don't condition on window-system.
7851 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7852 (tty-menu-selected-face): New faces.
7854 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7856 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7857 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7858 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7859 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7861 (lisp-mode-variables): New `elisp' argument.
7862 (emacs-lisp-mode): Use it.
7863 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7864 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7866 * indent.el: Use lexical-binding.
7867 (indent-region): Add progress reporter.
7868 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7870 (indent--next-tab-stop): New function to implement this behavior.
7871 (tab-to-tab-stop, move-to-tab-stop): Use it.
7873 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7875 * indent.el (indent-rigidly--current-indentation): New function.
7876 (indent-rigidly-map): New var.
7877 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7879 2013-10-08 Bastien Guerry <bzg@gnu.org>
7881 * register.el (insert-register): Fix 2013-10-07 change.
7883 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7885 * progmodes/perl-mode.el: Use lexical-binding.
7886 Remove redundant :group args.
7887 (perl-nochange): Change default to be closer to other major modes's
7889 (perl-indent-line): Don't consider text on current line as a
7890 valid beginning of function from which to indent.
7892 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7893 with more than one argument (bug#15538).
7895 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7897 * vc/pcvs.el: Use lexical-binding.
7898 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7899 environment of `eval'.
7900 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7901 than a list of expressions. Adjust callers.
7902 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7904 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7906 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7907 case of the dot in a chained method call being on the following line.
7909 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7911 * electric.el (electric-indent-inhibit): New var.
7912 (electric-indent-post-self-insert-function): Use it.
7913 * progmodes/python.el (python-mode): Set it.
7915 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7918 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7920 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7921 (css-mode): Use electric-indent-chars.
7923 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7924 (font-lock-beg, font-lock-end): Move before first use.
7925 (nxml-mode): Use syntax-propertize-function.
7926 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7927 (nxml-extend-after-change-region): Remove.
7928 * nxml/xmltok.el: Use lexical-binding.
7929 (xmltok-save): Use `declare'.
7930 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7931 * nxml/nxml-util.el: Use lexical-binding.
7932 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7934 * nxml/nxml-ns.el: Use lexical-binding.
7935 (nxml-ns-save): Use `declare'.
7936 (nxml-ns-prefixes-for): Avoid add-to-list.
7937 * nxml/rng-match.el: Use lexical-binding.
7938 (rng--ipattern): Use cl-defstruct.
7939 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7940 (rng-cons-group-after, rng-subst-group-after)
7941 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7942 Use closures instead of `(lambda...).
7944 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7946 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7949 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7950 Use `tramp-handle-insert-file-contents'.
7951 (tramp-gvfs-handle-insert-file-contents): Remove function.
7953 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7954 Use `save-restriction' in order to keep markers.
7956 * net/trampver.el: Update release number.
7958 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7960 * progmodes/compile.el (compilation-parse-errors):
7961 Use compilation--put-prop.
7962 (compilation--ensure-parse): Check compilation-multiline.
7964 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7966 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7969 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7971 * progmodes/ruby-mode.el: Fix recently added tests.
7972 (ruby-smie-grammar): Add - and +.
7973 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7974 (ruby-smie--backward-id): New functions.
7975 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7976 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7979 2013-10-07 Leo Liu <sdl.web@gmail.com>
7981 * register.el (register-preview-delay)
7982 (register-preview-functions): New variables.
7983 (register-read-with-preview, register-preview)
7984 (register-describe-oneline): New functions.
7985 (point-to-register, window-configuration-to-register)
7986 (frame-configuration-to-register, jump-to-register)
7987 (number-to-register, view-register, insert-register)
7988 (copy-to-register, append-to-register, prepend-to-register)
7989 (copy-rectangle-to-register): Use register-read-with-preview to
7990 read register. (Bug#15525)
7992 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7994 * net/network-stream.el (network-stream-open-starttls): Don't add
7995 --insecure if it's already present, because that gnutls-cli
7996 rejects getting that parameter twice.
7998 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8000 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8003 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8005 * newcomment.el (comment-use-global-state): Change default value
8006 to t, mark obsolete (Bug#15251).
8007 (comment-beginning): In addition to `comment-to-syntax', check the
8008 value of `comment-use-global-state'.
8010 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8012 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8013 (ruby-comment-column): Follow the global default, by default.
8014 (ruby-smie-grammar): Add assignment syntax.
8015 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8016 open-paren, a comma, or a \.
8017 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8018 and line continuations.
8019 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8020 followed by implicit semi-colons. Add rule for string concatenation
8021 and for indentation at BOB.
8022 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8024 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8025 calling next-sexp, since next-token may have skipped chars which
8026 next-sexp doesn't know should be skipped!
8028 2013-10-05 Leo Liu <sdl.web@gmail.com>
8030 * progmodes/octave.el (octave-send-region):
8031 Call compilation-forget-errors.
8033 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8035 * vc/vc-svn.el (vc-svn-find-admin-dir):
8036 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8037 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8038 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8039 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8041 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8043 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8045 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8047 * subr.el (read-passwd): Hide chars even when called within a context
8048 where after-change-functions is disabled (bug#15501).
8049 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8050 until we removed ourself from overriding-terminal-local-map.
8052 2013-10-04 Leo Liu <sdl.web@gmail.com>
8054 * progmodes/octave.el (inferior-octave-mode):
8055 Call compilation-forget-errors.
8057 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8059 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8061 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8063 * net/secrets.el (secrets-create-collection): Add optional
8064 argument ALIAS. Use proper Label keyword. Append ALIAS as
8065 dbus-call-method argument. (Bug#15516)
8067 2013-10-04 Leo Liu <sdl.web@gmail.com>
8069 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8070 (inferior-octave-compilation-font-lock-keywords): New variables.
8071 (compilation-error-regexp-alist)
8072 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8073 (inferior-octave-mode): Use compilation-shell-minor-mode.
8075 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8077 * minibuffer.el (completion--replace): Be careful that `end' might be
8080 2013-10-03 Daiki Ueno <ueno@gnu.org>
8082 Add support for package signature checking.
8083 * emacs-lisp/package.el (url-http-file-exists-p)
8084 (epg-make-context, epg-context-set-home-directory)
8085 (epg-verify-string, epg-context-result-for)
8086 (epg-signature-status, epg-signature-to-string)
8087 (epg-check-configuration, epg-configuration)
8088 (epg-import-keys-from-file): Declare.
8089 (package-check-signature): New user option.
8090 (package-unsigned-archives): New user option.
8091 (package-desc): Add `signed' field.
8092 (package-load-descriptor): Set `signed' field if .signed file exists.
8093 (package--archive-file-exists-p): New function.
8094 (package--check-signature): New function.
8095 (package-install-from-archive): Check package signature.
8096 (package--download-one-archive): Check archive signature.
8097 (package-delete): Remove .signed file.
8098 (package-import-keyring): New command.
8099 (package-refresh-contents): Import default keyring.
8100 (package-desc-status): Add "unsigned" status.
8101 (describe-package-1, package-menu--print-info)
8102 (package-menu-mark-delete, package-menu--find-upgrades)
8103 (package-menu--status-predicate): Support "unsigned" status.
8105 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8107 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8108 the new compilation scheme using the new byte-codes.
8110 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8111 (byte-pophandler): New byte codes.
8112 (byte-goto-ops): Adjust accordingly.
8113 (byte-compile--use-old-handlers): New var.
8114 (byte-compile-catch): Use new byte codes depending on
8115 byte-compile--use-old-handlers.
8116 (byte-compile-condition-case--old): Rename from
8117 byte-compile-condition-case.
8118 (byte-compile-condition-case--new): New function.
8119 (byte-compile-condition-case): New function that dispatches depending
8120 on byte-compile--use-old-handlers.
8121 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8124 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8125 Optimize under `condition-case' and `catch' if
8126 byte-compile--use-old-handlers is nil.
8127 (disassemble-offset): Handle new bytecodes.
8129 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8131 * subr.el (error): Use `declare'.
8132 (decode-char, encode-char): Use advertised-calling-convention instead
8133 of the docstring to discourage use of the `restriction' arg.
8135 2013-10-03 Daiki Ueno <ueno@gnu.org>
8137 * epg.el (epg-verify-file): Add a comment saying that it does not
8138 notify verification error as a return value nor a signal.
8139 (epg-verify-string): Ditto.
8141 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8143 * progmodes/compile.el (compilation-start): Try globbing the arg to
8146 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8148 Sync with Tramp 2.2.8.
8150 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8151 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8152 * net/trampver.el: Update release number.
8154 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8156 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8157 and default-process-coding-system for darwin only.
8159 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8161 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8163 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8165 * vc/vc-git.el (vc-git-grep): Disable pager.
8167 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8169 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8170 Use :url instead of :homepage, as per
8171 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8173 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8174 non-nil, use `syntax-ppss' (Bug#15251).
8176 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8178 * progmodes/octave.el (inferior-octave-startup-file):
8179 Prefer ~/.emacs.d/init_octave.m.
8181 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8183 * emacs-lisp/package.el (package-desc-from-define):
8184 Accept additional arguments as plist, convert them to an alist and store
8185 them in the `extras' slot.
8186 (package-generate-description-file): Convert extras alist back to
8187 plist and append to the `define-package' form arguments.
8188 (package--alist-to-plist): New function.
8189 (package--ac-desc): Add `extras' slot.
8190 (package--add-to-archive-contents): Check if the archive-contents
8191 vector is long enough, and if it is, pass its `extras' slot value
8192 to `package-desc-create'.
8193 (package-buffer-info): Call `lm-homepage', pass the returned value
8194 to `package-desc-from-define'.
8195 (describe-package-1): Render the homepage button (Bug#13291).
8197 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8198 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8200 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8202 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8203 and default-process-coding-system to utf-8-unix (Bug#15402).
8205 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8207 * subr.el (looking-back): Do not recommend using looking-back.
8209 2013-09-28 Alan Mackenzie <acm@muc.de>
8211 Fix indentation/fontification of Java enum with "implements".
8213 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8214 regexp which matches "implements", etc., in Java.
8215 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8216 specifier clauses coming after "enum".
8217 * progmodes/cc-fonts.el (c-font-lock-declarations)
8218 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8221 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8223 * faces.el (region): Change ns_selection_color to
8224 ns_selection_fg_color, add ns_selection_bg_color.
8226 2013-09-28 Leo Liu <sdl.web@gmail.com>
8228 * progmodes/octave.el (inferior-octave-completion-table)
8229 (inferior-octave-completion-at-point): Minor tweaks.
8231 * textmodes/ispell.el (ispell-lookup-words): Rename from
8232 lookup-words. (Bug#15460)
8233 (lookup-words): Obsolete.
8234 (ispell-complete-word, ispell-command-loop): All uses changed.
8236 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8238 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8239 (octave-mode-menu): Add octave-send-buffer.
8240 (octave-send-buffer): New function.
8242 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8244 * progmodes/octave.el (octave-mode-map): Add key binding for
8246 (octave-mode-menu): Add octave-lookfor.
8247 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8249 (octave-lookfor): New function.
8251 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8253 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8254 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8256 (cl--loop-set-iterator-function): New function.
8257 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8258 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8259 Bind `it' with `let' instead of substituting it with `cl-subst'.
8260 (cl--unused-var-p): New function.
8261 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8262 Eliminate some unused variable warnings (bug#15326).
8264 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8266 * doc-view.el (doc-view-scale-reset): Rename from
8267 `doc-view-reset-zoom-level'.
8268 (doc-view-scale-adjust): New command.
8269 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8270 `doc-view-scale-adjust'.
8272 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8274 * doc-view.el (doc-view-reset-zoom-level): New command.
8275 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8276 zoom commands (bug#15466).
8278 2013-09-26 Kenichi Handa <handa@gnu.org>
8280 * international/quail.el (quail-help): Make it not a command.
8282 2013-09-26 Leo Liu <sdl.web@gmail.com>
8284 * minibuffer.el (completion-all-sorted-completions): Make args
8285 optional as they are.
8287 2013-09-25 Daniel Colascione <dancol@dancol.org>
8289 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8290 specs are and that they're not evaluated.
8292 2013-09-24 Sam Steingold <sds@gnu.org>
8294 * midnight.el (clean-buffer-list-kill-regexps)
8295 (clean-buffer-list-kill-buffer-names): Update for the new Man
8296 buffer naming which includes the object name.
8298 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8300 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8301 (eshell-parse-command, eshell-parse-pipeline): Use it since
8302 eshell-separate-commands requires a dynamic scoped var.
8303 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8305 2013-09-23 Leo Liu <sdl.web@gmail.com>
8307 * autoinsert.el (auto-insert-alist): Make the value of
8308 lexical-binding match its file setting.
8310 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8312 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8314 * autoarg.el (autoarg-kp-digit-argument):
8315 * electric.el (Electric-command-loop):
8316 * kmacro.el (kmacro-step-edit-insert):
8317 Do not set universal-argument-num-events.
8319 2013-09-22 Leo Liu <sdl.web@gmail.com>
8321 * files.el (interpreter-mode-alist): Add octave.
8323 2013-09-21 Alan Mackenzie <acm@muc.de>
8325 C++: fontify identifier in declaration following "public:" correctly.
8326 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8327 to match "public", etc.
8328 (c-decl-prefix-re): Add ":" into the C++ value.
8329 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8330 bit. Add a check for a ":" preceded by "public", etc.
8332 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8334 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8335 recognized by GDB 7.5 and later.
8337 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8339 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8341 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8343 * subr.el (internal--call-interactively): New const.
8344 (called-interactively-p): Use it (bug#3984).
8346 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8348 * vc/pcvs.el (cvs-mode-ignore):
8349 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8350 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8352 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8354 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8355 (eshell-ls-orig-insert-directory): Remove.
8356 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8357 (eshell-ls-use-in-dired): Use advice-add/remove.
8358 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8359 Add `orig-fun' arg for use in :around advice.
8360 Make it check (redundantly) eshell-ls-use-in-dired.
8362 2013-09-19 Glenn Morris <rgm@gnu.org>
8364 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8366 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8368 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8370 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8372 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8373 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8374 (tramp-get-remote-python): New defuns.
8375 (tramp-get-remote-uid-with-perl)
8376 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8377 contributed by yary <not.com@gmail.com> (tiny change).
8378 (tramp-get-remote-uid-with-python)
8379 (tramp-get-remote-gid-with-python): New defuns. Python code
8380 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8381 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8383 2013-09-19 Glenn Morris <rgm@gnu.org>
8385 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8387 * eshell/em-unix.el (eshell-remove-entries):
8388 Rename argument to avoid name-clash with global `top-level'.
8390 * eshell/esh-proc.el (eshell-kill-process-function):
8391 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8392 (eshell-reset-after-proc): Remove unused arg `proc'.
8394 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8395 (directory-files-and-attributes): Mark unused arg.
8397 * eshell/em-unix.el (eshell-remove-entries):
8398 Remove unused arg `path'. Update callers.
8400 * eshell/em-hist.el (eshell-hist-parse-arguments):
8401 Remove unused arg `silent'. Update callers.
8403 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8404 Fix (f)boundp mix-up.
8406 * eshell/em-smart.el (eshell-smart-scroll-window)
8407 (eshell-disable-after-change):
8408 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8410 2013-09-18 Alan Mackenzie <acm@muc.de>
8412 Fix fontification of type when followed by "const".
8413 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8414 "known" types from fontification.
8416 2013-09-18 Glenn Morris <rgm@gnu.org>
8418 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8419 (chart-face-list): Drop Emacsen without display-color-p.
8421 * net/eww.el (libxml-parse-html-region): Declare.
8422 (eww-display-html): Explicit error if no libxml2 support.
8424 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8426 * image.el (image-type-from-buffer, image-multi-frame-p):
8427 Remove --without-x warning/error.
8429 * mouse.el (mouse-yank-primary):
8430 * term.el (term-mouse-paste):
8431 Reorder to silence --without-x compilation.
8433 * mpc.el (doc-view-mode): Silence --without-x compilation.
8435 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8436 Silence --without-x compilation.
8438 * progmodes/gud.el (gud-find-file, gud-mode):
8439 Silence --without-x compilation.
8440 (tooltip-mode): Declare.
8442 * wdired.el (dired-backup-overwrite): Remove declaration.
8443 (wdired-mode-map): Add doc string.
8445 * custom.el (x-get-resource): Declare.
8447 * eshell/em-glob.el (ange-cache):
8448 * eshell/em-unix.el (ange-cache): Declare.
8450 * faces.el (x-display-list, x-open-connection, x-get-resource):
8453 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8454 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8457 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8459 * net/gnutls.el (gnutls-log-level): Declare.
8461 * net/shr.el (image-size, image-animate): Declare.
8463 * simple.el (font-info): Declare.
8465 * subr.el (x-popup-dialog): Declare.
8467 * term/common-win.el (x-select-enable-primary)
8468 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8471 * term/ns-win.el (x-handle-args): Declare.
8473 * term/x-win.el (x-select-enable-clipboard): Declare.
8475 * term/w32-win.el (create-default-fontset): Declare.
8477 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8480 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8481 (fit-frame-to-buffer): Explicit error if --without-x.
8482 (mouse-autoselect-window-select): Silence compiler.
8484 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8486 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8487 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8488 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8489 * eshell/esh-util.el (eshell-sublist):
8490 Remove unused local variables.
8492 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8494 * textmodes/two-column.el: Make 2C-split work for --without-x.
8495 (scroll-bar-columns): Autoload.
8496 (top-level): Require fringe when compiling.
8498 2013-09-18 Leo Liu <sdl.web@gmail.com>
8500 * subr.el (add-hook): Robustify to handle closure as well.
8502 2013-09-17 Glenn Morris <rgm@gnu.org>
8504 * simple.el (messages-buffer-mode-map): Unbind "g".
8506 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8508 * help-mode.el (help-mode-finish): Use derived-mode-p.
8509 Remove obsolete highlighting.
8511 * play/life.el (life-mode): Use define-derived-mode. Derive from
8513 (life): Let-bind inhibit-read-only.
8514 (life-setup): Avoid `setq'. Use `life-mode'.
8516 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8517 which should not be needed any more.
8518 (package-menu-refresh, package-menu-describe-package): Use user-error.
8520 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8521 (eshell-post-rewrite-command-hook): Make obsolete.
8522 (eshell-parse-command): Simplify.
8523 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8524 (eshell--cmd): Declare.
8525 (eshell-parse-pipeline): Remove unused var `final-p'.
8526 Pass a dynvar to eshell-post-rewrite-command-hook.
8527 Implement the new eshell-post-rewrite-command-function.
8528 (eshell-invoke-directly): Remove unused arg `input'.
8529 * eshell/esh-io.el (eshell-io-initialize):
8530 Use eshell-post-rewrite-command-function (bug#15399).
8531 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8532 adjust to new calling convention.
8533 (eshell-create-handles): Rename args to avoid clashing with dynvar
8536 2013-09-17 Glenn Morris <rgm@gnu.org>
8538 * simple.el (messages-buffer-mode): New major mode.
8539 (messages-buffer): New function.
8540 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8541 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8542 (ert-run-test): Use `messages-buffer' function.
8543 (ert--force-message-log-buffer-truncation): Ignore read-only.
8544 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8545 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8547 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8549 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8551 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8553 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8555 * icomplete.el (icomplete-in-buffer): New var.
8556 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8557 vars and replace them with functions.
8558 (icomplete-minibuffer-setup): Adjust accordingly.
8559 (icomplete--completion-table, icomplete--completion-predicate)
8560 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8562 (icomplete-forward-completions, icomplete-backward-completions)
8563 (icomplete-simple-completing-p, icomplete-exhibit)
8564 (icomplete-completions): Use them.
8565 (icomplete--in-region-buffer): New var.
8566 (icomplete--in-region-setup): New function.
8567 (icomplete-mode): Use it.
8569 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8571 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8572 return args and options.
8573 (eshell-eval-using-options): Use the new return value of
8574 eshell--do-opts to set the options's vars in their scope.
8575 (eshell--set-option): Rename from eshell-set-option.
8577 (eshell--process-option): Rename from eshell-process-option.
8579 (eshell--process-args): Use an `opt-vals' alist to store the options's
8580 values during their processing and return them additionally to the
8583 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8585 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8586 continuation character an operator, as far as indentation is
8587 concerned (Bug#15369).
8589 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8591 * window.el (window--state-put-2): Don't process buffer state
8592 when buffer doesn't exist any more (Bug#15382).
8594 2013-09-15 Glenn Morris <rgm@gnu.org>
8596 * eshell/em-unix.el (eshell/rm):
8597 Make -f ignore missing files. (Bug#15373)
8599 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8600 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8601 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8603 2013-09-14 Glenn Morris <rgm@gnu.org>
8605 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8607 2013-09-13 Glenn Morris <rgm@gnu.org>
8609 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8610 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8612 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8614 * frame.el (x-focus-frame): Mark as declared in frame.c.
8616 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8618 * ls-lisp.el: Use advice-add.
8619 (original-insert-directory): Remove.
8620 (ls-lisp--insert-directory): Rename from insert-directory; add
8621 `orig-fun' argument.
8622 (insert-directory): Advise.
8624 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8626 * term.el (term-emulate-terminal): Decode the command string
8627 before passing it to term-command-hook. (Bug#15337)
8629 2013-09-13 Glenn Morris <rgm@gnu.org>
8631 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8633 * eshell/esh-ext.el (eshell-search-path): Declare.
8635 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8636 Otherwise an error occurs if eshell-dirs module not loaded.
8638 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8640 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8642 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8643 `tramp-check-proper-host'. Check for a valid method name.
8645 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8646 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8647 * net/tramp-sh.el (tramp-maybe-open-connection):
8648 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8650 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8651 also for hash values.
8653 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8655 * term/ns-win.el (parameters): Don't declare as dynamic.
8656 (before-make-frame-hook): Don't add ineffective function.
8658 * eshell/*.el: Use lexical-binding (bug#15231).
8660 2013-09-12 Kenichi Handa <handa@gnu.org>
8662 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8664 2013-09-12 Glenn Morris <rgm@gnu.org>
8666 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8667 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8669 * subr.el (do-after-load-evaluation): Also give compiler warnings
8670 when obsolete files are used (except by obsolete files).
8672 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8673 in the status output, assume `filename' is the first. (Bug#15322)
8675 * vc/vc.el (vc-deduce-fileset): Doc fix.
8677 * calc/calc-help.el (Info-goto-node):
8678 * progmodes/cperl-mode.el (Info-find-node):
8679 * vc/ediff.el (Info-goto-node): Update declarations.
8681 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8683 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8684 (vc-bzr-pull): Require vc-dispatcher.
8685 * vc/vc-git.el (vc-compilation-mode): Declare.
8686 (vc-git-pull): Require vc-dispatcher.
8688 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8690 * progmodes/octave.el (help-button-action): Declare.
8692 * shell.el (shell-directory-tracker): Output error as a message
8693 rather than just returning it as a string.
8694 (shell-process-pushd): Remove useless use of message.
8696 * dframe.el (dframe-timer-fn):
8697 * files.el (dir-locals-read-from-file):
8698 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8700 * reveal.el (reveal-post-command):
8701 * saveplace.el (load-save-place-alist-from-file):
8702 * shell.el (shell-resync-dirs):
8703 * w32-common-fns.el (x-get-selection-value):
8704 * emacs-lisp/copyright.el (copyright-find-copyright):
8705 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8706 * emulation/tpu-edt.el (tpu-copy-keyfile):
8707 * play/bubbles.el (bubbles--mark-neighbourhood):
8708 * progmodes/executable.el
8709 (executable-make-buffer-file-executable-if-script-p):
8710 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8712 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8714 Cleanup Eshell to rely less on dynamic scoping.
8715 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8716 last-value, and ext-command here. Bind `args' closer to `body'.
8717 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8718 (eshell--args): Declare new dynamic var.
8719 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8720 last-value, and ext-command. Pass `args' to `body'.
8721 (eshell-process-args): Bind eshell--args.
8722 (eshell-set-option): Use eshell--args.
8723 * eshell/eshell.el (eshell): Use derived-mode-p.
8724 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8725 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8726 (eshell-glob-function): Declare.
8727 * eshell/esh-util.el: Require cl-lib.
8728 (eshell-read-hosts-file): Avoid add-to-list.
8729 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8731 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8733 (eshell/diff): Remove unused var `err'.
8734 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8736 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8737 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8739 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8740 Move declaration before first use.
8741 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8742 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8745 2013-09-12 Glenn Morris <rgm@gnu.org>
8747 * term/ns-win.el (global-map): Remove binding for ispell-next,
8748 deleted 1999-05-29. (Bug#15357)
8750 2013-09-11 Glenn Morris <rgm@gnu.org>
8752 * echistory.el (electric-command-history): Remove call to deleted func.
8754 * play/landmark.el (landmark-mode): Fix typos.
8756 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8757 Check cvs-sort-ignore-file is bound.
8759 * savehist.el: No need for cl when compiling on Emacs.
8761 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8763 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8765 (eshell-self-insert-command, eshell-send-invisible):
8766 Remove unused argument.
8767 (eshell-handle-control-codes): Remove unused var `orig'.
8768 Avoid delete-backward-char.
8770 * files.el (set-auto-mode): Simplify a bit further.
8772 2013-09-11 Glenn Morris <rgm@gnu.org>
8774 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8775 (set-auto-mode): Don't regexp-quote elements.
8776 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8777 * progmodes/cc-mode.el (interpreter-mode-alist):
8778 * progmodes/ruby-mode.el (interpreter-mode-alist):
8779 Revert previous change.
8781 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8783 * play/snake.el (snake-mode):
8784 * play/mpuz.el (mpuz-mode):
8785 * play/landmark.el (lm-mode):
8786 * play/blackbox.el (blackbox-mode):
8787 * play/5x5.el (5x5-mode):
8788 * obsolete/options.el (Edit-options-mode):
8789 * net/quickurl.el (quickurl-list-mode):
8790 * net/newst-treeview.el (newsticker-treeview-mode):
8791 * mail/rmailsum.el (rmail-summary-mode):
8792 * mail/mspools.el (mspools-mode):
8793 * locate.el (locate-mode):
8794 * ibuffer.el (ibuffer-mode):
8795 * emulation/ws-mode.el (wordstar-mode):
8796 * emacs-lisp/debug.el (debugger-mode):
8797 * array.el (array-mode):
8798 * net/eudc.el (eudc-mode): Use define-derived-mode.
8799 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8800 Move initialization into declaration.
8801 (mairix-searches-mode): Use define-derived-mode.
8802 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8803 (eudc-edit-hotlist): Use dolist.
8804 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8805 (Man-mode): Use define-derived-mode.
8806 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8807 (Info-edit-mode): Use define-derived-mode.
8808 (Info-cease-edit): Use Info-mode.
8809 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8811 (eshell-mode): Use define-derived-mode.
8812 * chistory.el (command-history-mode-map): Rename from
8813 command-history-map.
8814 (command-history-mode): Use define-derived-mode.
8815 (Command-history-setup): Remove function.
8816 * calc/calc.el (calc-trail-mode-map): New var.
8817 (calc-trail-mode): Use define-derived-mode.
8818 (calc-trail-buffer): Set calc-main-buffer manually.
8819 * bookmark.el (bookmark-insert-annotation): New function.
8820 (bookmark-edit-annotation): Use it.
8821 (bookmark-edit-annotation-mode): Make it a proper major mode.
8822 (bookmark-send-edited-annotation): Use derived-mode-p.
8823 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8824 closer to its ideal place. Use \' to match EOS.
8826 * profiler.el (profiler-calltree-find): Use function-equal.
8828 2013-09-10 Glenn Morris <rgm@gnu.org>
8830 * files.el (interpreter-mode-alist): Convert to regexps.
8831 (set-auto-mode): Adapt for this. (Bug#15306)
8832 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8833 Comment out unused variable.
8834 * progmodes/cc-mode.el (interpreter-mode-alist):
8835 * progmodes/python.el (interpreter-mode-alist):
8836 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8837 * progmodes/sh-script.el (sh-set-shell):
8838 No longer use interpreter-mode-alist to get list of shells.
8840 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8842 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8844 * simple.el: Use set-temporary-overlay-map for universal-argument.
8845 (universal-argument-map): Don't use default-bindings (bug#15317).
8846 Bind switch-frame explicitly. Replace universal-argument-minus with
8847 a conditional binding.
8848 (universal-argument-num-events, saved-overriding-map): Remove.
8849 (restore-overriding-map): Remove.
8850 (universal-argument--mode): Rename from save&set-overriding-map,
8852 (universal-argument, universal-argument-more, negative-argument)
8853 (digit-argument): Adjust accordingly.
8854 (universal-argument-minus): Remove.
8855 (universal-argument-other-key): Remove.
8857 * subr.el (with-demoted-errors): Add `format' argument.
8859 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8861 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8862 `tramp-cleanup-connection'.
8864 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8865 parameters KEEP-DEBUG and KEEP-PASSWORD.
8867 * net/tramp.el (tramp-file-name-handler):
8868 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8869 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8870 (tramp-maybe-open-connection):
8871 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8872 Use `tramp-cleanup-connection'.
8874 * net/tramp-sh.el (tramp-maybe-open-connection):
8875 Catch 'uname-changed inside the progress reporter.
8877 2013-09-10 Glenn Morris <rgm@gnu.org>
8879 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8881 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8882 returns "alternate access method" in mode (eg "-rw-r--r--.").
8884 2013-09-08 Glenn Morris <rgm@gnu.org>
8886 * saveplace.el (load-save-place-alist-from-file):
8887 Demote errors. (Bug#15305)
8889 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8891 Improve compatibility with older Emacsen, and XEmacs.
8893 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8894 only if it is bound. It isn't for XEmacs.
8895 (with-tramp-progress-reporter): Do not let-bind `result'.
8896 This yields to scoping errors in XEmacs.
8897 (tramp-handle-make-auto-save-file-name): New function, moved from
8900 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8901 for `make-auto-save-file-name'.
8902 (tramp-adb--gnu-switches-to-ash):
8903 Use `tramp-compat-replace-regexp-in-string'.
8905 * net/tramp-cache.el (tramp-cache-print): Call
8906 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8908 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8909 bound. It isn't for XEmacs.
8911 * net/tramp-compat.el (tramp-compat-copy-file):
8912 Catch `wrong-number-of-arguments' error.
8913 (tramp-compat-replace-regexp-in-string): New defun.
8915 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8916 for `make-auto-save-file-name'.
8917 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8919 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8920 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8921 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8923 * net/tramp-gw.el (tramp-gw-open-network-stream):
8924 Use `tramp-compat-replace-regexp-in-string'.
8926 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8927 Call `tramp-handle-make-auto-save-file-name'.
8928 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8929 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8930 (tramp-sh-file-inotifywait-process-filter):
8931 Use `tramp-compat-replace-regexp-in-string'.
8932 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8934 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8935 for `make-auto-save-file-name'.
8936 (tramp-smb-handle-copy-directory):
8937 Call `tramp-compat-replace-regexp-in-string'.
8938 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8939 (tramp-smb-handle-copy-file): Improve error message.
8940 (tramp-smb-handle-rename-file): Rename directly only in case
8941 `newname' does not exist yet. This is a restriction of smbclient.
8942 (tramp-smb-maybe-open-connection): Rerun the function only when
8943 `auth-sources' is non-nil.
8945 2013-09-08 Kenichi Handa <handa@gnu.org>
8947 * international/characters.el: Set category "^" (Combining) for
8950 2013-09-07 Alan Mackenzie <acm@muc.de>
8952 Correctly fontify Java class constructors.
8953 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8955 (c-recognize-typeless-decls): Set the Java value to t.
8956 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8957 While handling a "(", add a check for, effectively, Java, and handle a
8958 "typeless" declaration there.
8960 2013-09-07 Roland Winkler <winkler@gnu.org>
8962 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8963 field subtitle for entry type book.
8965 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8967 * minibuffer.el: Make minibuffer-complete call completion-in-region
8968 rather than other way around.
8969 (completion--some, completion-pcm--find-all-completions):
8970 Don't delay signals when debugging.
8971 (minibuffer-completion-contents): Beware fields within the
8972 minibuffer contents.
8973 (completion-all-sorted-completions): Use defvar-local.
8974 (completion--do-completion, completion--cache-all-sorted-completions)
8975 (completion-all-sorted-completions, minibuffer-force-complete):
8976 Add args `beg' and `end'.
8977 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8978 (minibuffer-complete): Use completion-in-region.
8979 (completion-complete-and-exit): New fun, extracted from
8980 minibuffer-complete-and-exit.
8981 (minibuffer-complete-and-exit): Use it.
8982 (completion--complete-and-exit): Rename from
8983 minibuffer--complete-and-exit.
8984 (completion-in-region--single-word): New function, extracted from
8985 minibuffer-complete-word.
8986 (minibuffer-complete-word): Use it.
8987 (display-completion-list): Make `common-substring' argument obsolete.
8988 (completion--in-region): Call completion--in-region-1 instead of
8989 minibuffer-complete.
8990 (completion-help-at-point): Pass boundaries to
8991 minibuffer-completion-help as args rather than via an overlay.
8992 (completion-pcm--string->pattern): Use `any-delim'.
8993 (completion-pcm--optimize-pattern): New function.
8994 (completion-pcm--pattern->regex): Handle `any-delim'.
8995 * icomplete.el (icomplete-forward-completions)
8996 (icomplete-backward-completions, icomplete-completions):
8997 Adjust calls to completion-all-sorted-completions and
8998 completion--cache-all-sorted-completions.
8999 (icomplete-with-completion-tables): Default to t.
9000 * emacs-lisp/crm.el (crm--current-element): Rename from
9001 crm--select-current-element. Don't put an overlay but return the
9003 (crm--completion-command): Take two new args to bind to the boundaries.
9004 (crm-completion-help): Adjust accordingly.
9005 (crm-complete): Use completion-in-region.
9006 (crm-complete-word): Use completion-in-region--single-word.
9007 (crm-complete-and-exit): Use completion-complete-and-exit.
9009 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9011 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9014 2013-09-06 Juri Linkov <juri@jurta.org>
9016 * info.el (Info-display-images-node): When image file doesn't exist
9017 display text version of the image if it's provided in the Info file.
9018 Otherwise, display the location of missing image from SRC attribute.
9019 Add help-echo text property from ALT attribute. (Bug#15279)
9021 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9023 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9024 (edit-abbrevs-mode): Use define-derived-mode.
9026 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9027 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9029 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9030 Use define-derived-mode.
9032 * epg.el (epg-start-encrypt): Minor CSE simplification.
9034 2013-09-06 William Xu <william.xwl@gmail.com>
9036 * arc-mode.el: Add support for 7za (bug#15264).
9037 (archive-7z-program): New var.
9038 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9039 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9040 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9042 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9046 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9047 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9048 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9049 (tramp-postfix-host-format, tramp-file-name-regexp)
9050 (tramp-completion-file-name-regexp)
9051 (tramp-completion-dissect-file-name)
9052 (tramp-handle-substitute-in-file-name): Remove 'url case.
9053 (tramp-file-name-regexp-url)
9054 (tramp-completion-file-name-regexp-url): Remove constants.
9056 2013-09-06 Glenn Morris <rgm@gnu.org>
9058 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9060 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9062 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9063 keywords" below "here-doc beginnings" (Bug#15270).
9065 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9067 * subr.el (pop): Use `car-safe'.
9068 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9069 to detect unused `pop' return value.
9071 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9073 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9074 (python-fill-string): Remove unused var `marker'.
9075 (python-skeleton-add-menu-items): Remove unused var `items'.
9077 * international/mule-cmds.el: Require CL.
9078 (find-coding-systems-for-charsets): Avoid add-to-list.
9079 (sanitize-coding-system-list): New function, extracted from
9080 select-safe-coding-system-interactively.
9081 (select-safe-coding-system-interactively): Use it.
9082 (read-input-method-name): Accept symbols for `default'.
9084 * emacs-lisp/advice.el (defadvice): Add indent rule.
9086 2013-09-05 Daniel Hackney <dan@haxney.org>
9090 * net/browse-url.el:
9093 * net/eudcb-ldap.el:
9106 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9107 byte compiler. Remove some unused let-bound variables.
9109 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9111 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9112 a "ref-cell", since it gets better optimized (bug#14883).
9114 2013-09-05 Glenn Morris <rgm@gnu.org>
9116 * progmodes/cc-awk.el (c-forward-sws): Declare.
9118 2013-09-04 Glenn Morris <rgm@gnu.org>
9120 * generic-x.el [rul-generic-mode]: Require cc-mode.
9121 (c++-mode-syntax-table): Declare.
9122 (rul-generic-mode-syntax-table): Init in the defvar.
9124 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9126 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9127 (vc-do-command, vc-set-async-update):
9128 * vc/vc-mtn.el (vc-mtn-dir-status):
9129 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9130 (vc-hg-pull, vc-hg-merge-branch):
9131 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9132 (vc-git-merge-branch):
9133 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9134 (vc-cvs-dir-status-files):
9135 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9136 (vc-bzr-dir-status-files):
9137 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9138 * vc/vc-annotate.el: Use lexical-binding.
9139 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9140 (vc-sentinel-movepoint): Declare.
9141 (vc-annotate): Don't use `goto-line'.
9142 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9143 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9144 (vc-sentinel-movepoint): Declare.
9145 * vc/vc-svn.el: Use lexical-binding.
9146 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9148 * vc/vc-rcs.el: Use lexical-binding.
9150 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9151 `deleted'. Don't drop errors silently.
9153 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9155 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9157 * vc/vc.el (vc-ignore): Rewrite.
9158 (vc-default-ignore): New function.
9159 (vc-default-ignore-completion-table): Use find-ignore-file.
9161 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9162 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9163 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9164 Remove. Most code moved to vc.el.
9166 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9168 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9169 * net/tramp-smb.el (tramp-smb-get-file-entries):
9170 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9171 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9173 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9175 (eww-change-select): Remove unused var `properties'.
9176 (eww-make-unique-file-name): Remove unused var `base'.
9178 * finder.el (finder-compile-keywords): Don't mess with windows.
9180 * calculator.el (calculator-funcall): Fix typo in last change.
9182 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9184 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9185 <pkg>-autoloads.el file stop us.
9187 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9188 warnings, and factor out common code.
9190 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9192 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9193 two-character operators and whether the character preceding them
9194 changes their meaning (Bug#15208).
9196 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9198 Format code sent to Python shell for robustness.
9199 * progmodes/python.el (python-shell-buffer-substring):
9201 (python-shell-send-region, python-shell-send-buffer): Use it.
9203 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9205 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9206 * net/tramp.el (tramp-user-error): ... here.
9207 (tramp-find-method, tramp-check-proper-host)
9208 (tramp-dissect-file-name, tramp-debug-message)
9209 (tramp-handle-shell-command):
9210 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9211 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9213 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9215 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9217 * avoid.el (mouse-avoidance-point-position)
9218 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9221 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9223 * progmodes/python.el (python-shell-completion-get-completions):
9224 Drop use of deleted `comint-last-prompt-overlay'.
9225 (python-nav-if-name-main): New command.
9227 2013-09-01 Glenn Morris <rgm@gnu.org>
9229 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9230 Avoid leading space in $wins. Otherwise the sed command used by
9231 eg compile-main ends up containing "/*.el". (Bug#15170)
9233 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9235 2013-08-30 Glenn Morris <rgm@gnu.org>
9237 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9238 Fix is-this-a-directory logic. (Bug#15220)
9240 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9242 * textmodes/css-mode.el: Use SMIE.
9243 (css-smie-grammar): New var.
9244 (css-smie--forward-token, css-smie--backward-token)
9245 (css-smie-rules): New functions.
9246 (css-mode): Use them.
9247 (css-navigation-syntax-table): Remove var.
9248 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9249 (css-indent-calculate, css-indent-line): Remove functions.
9251 Misc changes to reduce use of `(lambda...); and other cleanups.
9252 * cus-edit.el: Use lexical-binding.
9253 (customize-push-and-save, customize-apropos)
9254 (custom-buffer-create-internal): Use closures.
9255 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9256 * progmodes/ada-xref.el: Use setq.
9257 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9258 * dframe.el: Use lexical-binding.
9259 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9260 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9261 * descr-text.el: Use lexical-binding.
9262 (describe-text-widget, describe-text-sexp, describe-property-list):
9264 * comint.el (comint-history-isearch-push-state): Use a closure.
9265 * calculator.el: Use lexical-binding.
9266 (calculator-number-to-string): Make it work with lexical-binding.
9267 (calculator-funcall): Same and use cl-letf.
9269 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9270 (lisp--company-doc-string, lisp--company-location): New functions.
9271 (lisp-completion-at-point): Use them to improve Company support.
9273 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9274 params of lambda expressions.
9275 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9276 (ruby-smie--opening-pipe-p): New function.
9277 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9278 symbols and matched |...| for formal params.
9279 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9280 from being treated as hanging. Handle "rescue".
9282 2013-08-29 Glenn Morris <rgm@gnu.org>
9284 * progmodes/cc-engine.el (c-pull-open-brace):
9285 Move definition before use.
9287 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9289 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9290 are immutable. Don't use `unsafe' any more.
9291 (cl--defsubst-expand): Don't substitute at the same time as keeping
9292 a residual unused let-binding. Don't use `unsafe' any more.
9294 2013-08-29 Glenn Morris <rgm@gnu.org>
9296 * calendar/cal-china.el (calendar-chinese-year-cache):
9299 * nxml/nxml-util.el (nxml-debug-clear-inside):
9300 Use cl-loop rather than loop.
9302 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9304 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9306 2013-08-28 Glenn Morris <rgm@gnu.org>
9308 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9310 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9312 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9314 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9316 * simple.el (repeat-complex-command--called-interactively-skip):
9318 (repeat-complex-command): Use it (bug#14136).
9320 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9321 (c-define-abbrev-table): Add `doc' argument.
9322 (c-mode-abbrev-table, c++-mode-abbrev-table)
9323 (objc-mode-abbrev-table, java-mode-abbrev-table)
9324 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9325 (awk-mode-abbrev-table): Use it.
9326 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9327 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9328 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9329 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9330 Move initialization into the declaration; and remove any
9333 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9334 and dynamic let binding.
9336 * vc/smerge-mode.el: Remove redundant :group args.
9338 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9341 2013-08-28 Juri Linkov <juri@jurta.org>
9343 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9344 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9345 (isearch-other-meta-char): Handle an undefined shifted printing
9346 character by downshifting it. (Bug#15200)
9348 2013-08-28 Juri Linkov <juri@jurta.org>
9350 * isearch.el (isearch-search): Change regexp error message for
9351 non-regexp searches. (Bug#15166)
9353 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9355 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9356 for portability to hosts where /bin/sh has problems.
9358 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9360 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9362 2013-08-27 Juri Linkov <juri@jurta.org>
9364 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9365 in the keyboard macro. (Bug#15126)
9367 2013-08-27 Juri Linkov <juri@jurta.org>
9369 * isearch.el (isearch-quote-char): Comment out converting unibyte
9370 to multibyte, thus syncing with its `quoted-insert' counterpart.
9373 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9375 * window.el (display-buffer-use-some-window): Add missing
9376 argument in call of get-largest-window (Bug#15185).
9377 Reported by Stephen Leake.
9379 2013-08-27 Glenn Morris <rgm@gnu.org>
9381 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9383 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9385 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9386 from a matcher-function unless there's no more matches (bug#15161).
9388 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9390 * minibuffer.el: Revert change from 2013-08-20.
9392 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9393 with text property `tramp-default', if appropriate.
9394 (tramp-check-proper-host): New defun.
9395 (tramp-dissect-file-name): Do not check hostname. Revert change
9397 (tramp-backtrace): Make VEC-OR-PROC optional.
9399 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9400 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9401 * net/tramp-sh.el (tramp-maybe-open-connection):
9402 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9403 Apply `tramp-check-proper-host'.
9405 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9407 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9408 lambda expression in order to have `describe-variable' display it.
9410 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9412 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9413 BUF can be optional. (Bug#15186)
9415 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9417 * progmodes/flymake.el (flymake-get-real-file-name-function):
9418 Fix broken customization. (Bug#15184)
9420 2013-08-25 Alan Mackenzie <acm@muc.de>
9422 Improve indentation of bracelists defined by macros (without "=").
9424 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9425 expansion begins with "{", regard it as bracelist when it doesn't
9428 Parse C++ inher-intro when there's a template split over 2 lines.
9430 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9431 rigorously the search for "class" etc. followed by ":".
9433 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9434 random languages a regexp which never matches rather than nil.
9436 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9438 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9439 (c-awk-regexp-one-line-possibly-open-char-list-re)
9440 (c-awk-one-line-possibly-open-regexp-re)
9441 (c-awk-one-line-non-syn-ws*-re): Remove.
9442 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9443 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9444 (c-awk-space*-unclosed-regexp-/-re): New constants.
9445 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9446 aren't regexp delimiters.
9448 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9449 handling for a rare situation in AWK Mode involving unterminated
9452 2013-08-23 Glenn Morris <rgm@gnu.org>
9454 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9456 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9458 * files.el (create-file-buffer): If the result would begin with
9459 spaces, prepend a "|" instead of removing them. (Bug#15162)
9461 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9463 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9464 text-properties (bug#15155).
9466 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9468 (calc-keypad-redraw): Remove unused var `pad'.
9469 (calc-keypad-press): Remove unused var `menu'.
9471 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9473 * window.el (display-buffer-pop-up-frame):
9474 Call pop-up-frame-function with BUFFER current so `make-frame' will
9475 use it as the new frame's buffer (Bug#15133).
9477 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9479 * calendar/timeclock.el: Minor cleanups.
9480 (timeclock-ask-before-exiting, timeclock-use-display-time):
9482 (timeclock-modeline-display): Define as alias before the
9484 (timeclock-mode-line-display): Use define-minor-mode.
9485 (timeclock-day-list-template): Make it a function, add an argument.
9486 (timeclock-day-list-required, timeclock-day-list-length)
9487 (timeclock-day-list-debt, timeclock-day-list-span)
9488 (timeclock-day-list-break): Adjust calls accordingly.
9490 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9492 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9493 Use read--expression so that completion works again.
9495 2013-08-21 Sam Steingold <sds@gnu.org>
9497 Add rudimentary inferior shell interaction
9498 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9499 (sh-set-shell): Reset it.
9500 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9501 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9503 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9505 * align.el: Use lexical-binding.
9506 (align-region): Simplify accordingly.
9508 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9510 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9512 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9515 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9519 * net/tramp-cmds.el:
9521 * net/tramp-gvfs.el:
9523 * net/tramp-sh.el: Don't wrap external variable declarations by
9524 `eval-when-compile'.
9526 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9528 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9529 now that Emacs supports ImageMagick animations.
9531 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9533 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9534 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9536 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9538 * window.el (mouse-autoselect-window-select): Do autoselect when
9539 mouse pointer is on margin.
9541 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9543 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9545 2013-08-16 Glenn Morris <rgm@gnu.org>
9547 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9548 Handle "Remote Directory" response of some clients. (Bug#15058)
9550 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9551 Tweak warning. (Bug#14926)
9553 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9554 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9556 * image-mode.el (image-mode-map): Add menu items to reverse,
9557 increase, decrease, reset animation speed.
9558 (image--set-speed, image-increase-speed, image-decrease-speed)
9559 (image-reverse-speed, image-reset-speed): New functions.
9560 (image-mode-map): Add bindings for speed commands.
9562 * image.el (image-animate-get-speed, image-animate-set-speed):
9564 (image-animate-timeout): Respect image :speed property.
9566 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9568 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9569 previous line (bug#15101).
9570 (debugger-eval-expression, debugger-record-expression):
9571 Use read--expression (bug#15102).
9573 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9575 Remove byte compiler warnings, visible when compiling with
9576 `byte-compile-force-lexical-warnings' set to t.
9578 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9579 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9580 (tramp-handle-unhandled-file-name-directory)
9581 (tramp-handle-file-notify-add-watch, tramp-action-login)
9582 (tramp-action-succeed, tramp-action-permission-denied)
9583 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9586 * net/tramp-adb.el (tramp-adb-parse-device-names)
9587 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9588 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9589 (tramp-adb-handle-file-truename): Remove unused arguments.
9591 * net/tramp-cache.el (tramp-flush-directory-property)
9592 (tramp-flush-connection-property, tramp-list-connections)
9593 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9595 * net/tramp-compat.el (tramp-compat-make-temp-file):
9596 Rename FILENAME to F.
9598 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9599 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9600 (tramp-zeroconf-parse-workstation-device-names)
9601 (tramp-zeroconf-parse-webdav-device-names)
9602 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9604 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9605 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9607 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9609 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9610 (tramp-sh-handle-insert-file-contents-literally)
9611 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9613 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9614 Remove unused variables.
9616 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9617 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9618 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9620 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9621 Make them a defconst.
9622 (tramp-uuencode-region): Remove unused variable.
9624 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9626 * frameset.el (frameset--prop-setter): New function.
9627 (frameset-prop): Add gv-setter declaration.
9628 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9629 parameter was already set in FILTERED. Doc fix.
9630 (frameset--record-minibuffer-relationships): Allow saving a
9631 minibufferless frame without its corresponding minibuffer frame.
9632 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9633 frame, if the frame id matches.
9634 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9635 frames before orphaned ones.
9636 (frameset-restore): Warn about orphaned windows, instead of error out.
9638 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9640 * window.el (window-make-atom): Don't overwrite parameter
9642 (display-buffer-in-atom-window): Handle special case where we
9643 split an already atomic window.
9644 (window--major-non-side-window, display-buffer-in-side-window)
9645 (window--side-check): Ignore minibuffer window when walking
9647 (window-deletable-p): Return 'frame only if no other frame uses
9648 our minibuffer window.
9649 (record-window-buffer): Run buffer-list-update-hook.
9650 (split-window): Make sure window--check-frame won't destroy an
9651 existing atomic window in case the new window gets nested
9653 (display-buffer-at-bottom): Ignore minibuffer window when
9654 walking window tree. Don't split a side window.
9655 (pop-to-buffer): Don't set-buffer here, the select-window call
9657 (mouse-autoselect-window-select): Autoselect only if we are in the
9658 text portion of the window.
9660 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9662 * net/shr.el (shr-parse-image-data): New function to grab both the
9663 data itself and the Content-Type.
9664 (shr-put-image): Use it.
9666 * net/eww.el (eww-display-image): Ditto.
9668 * image.el (image-content-type-suffixes): New variable.
9670 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9672 * progmodes/python.el (python-imenu--build-tree)
9673 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9675 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9677 * simple.el (backward-word): Mention the optional argument.
9679 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9681 * frameset.el (frameset--make): Rename constructor from make-frameset.
9682 (frameset-p, frameset-valid-p): Don't autoload.
9683 (frameset-valid-p): Use normal accessors.
9685 2013-08-13 Glenn Morris <rgm@gnu.org>
9687 * progmodes/compile.el (compile-command): Tweak example in doc.
9688 * obsolete/scribe.el (scribe-mode):
9689 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9691 * mail/feedmail.el (feedmail-confirm-outgoing)
9692 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9694 * cus-start.el (truncate-partial-width-windows): Fix type.
9696 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9698 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9700 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9702 * emacs-lisp/timer.el (timer--time-setter): New function.
9703 (timer--time): Use it as gv-setter.
9705 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9706 setter is not a symbol.
9708 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9710 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9711 if sending fails. This makes debugging easier.
9713 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9715 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9716 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9717 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9719 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9721 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9723 2013-08-12 Glenn Morris <rgm@gnu.org>
9725 * format.el (format-annotate-function):
9726 Handle read-only text properties in the source. (Bug#14887)
9728 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9730 * net/eww.el (eww-display-html): Ignore coding system errors.
9731 One web site uses "utf-8lias" as the coding system.
9733 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9735 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9737 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9739 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9740 (tutorial--detailed-help): Remove unused local variables.
9741 (tutorial--save-tutorial-to): Use ignore-errors.
9742 (help-with-tutorial): Use looking-at-p.
9744 * view.el (view-buffer-other-window, view-buffer-other-frame):
9745 Mark unused arguments.
9747 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9748 (woman-select-symbol-fonts, woman, woman-find-file)
9749 (woman-insert-file-contents, woman-non-underline-faces):
9751 (woman1-unquote): Move declaration.
9753 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9754 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9755 argument. Remove unused local variable.
9756 (xml-parse-elem-type): Use string-match-p.
9757 (xml-substitute-numeric-entities): Use ignore-errors.
9759 * calculator.el (calculator): Mark unused argument.
9760 (calculator-paste, calculator-quit, calculator-integer-p):
9762 (calculator-string-to-number, calculator-decimal, calculator-exp)
9763 (calculator-op-or-exp): Use string-match-p.
9765 * dired.el (dired-buffer-more-recently-used-p): Declare.
9766 (dired-insert-set-properties, dired-insert-old-subdirs):
9769 * dired-aux.el (dired-compress): Use ignore-errors.
9770 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9771 (dired-do-async-shell-command, dired-do-shell-command)
9772 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9773 (dired-insert-subdir-validate): Use string-match-p.
9774 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9775 (dired-add-entry): Use string-match-p, looking-at-p.
9776 (dired-insert-subdir-newpos): Remove unused local variable.
9778 * filenotify.el (file-notify-callback): Remove unused local variable.
9780 * filesets.el (filesets-error): Mark unused argument.
9781 (filesets-which-command-p, filesets-filter-dir-names)
9782 (filesets-directory-files, filesets-get-external-viewer)
9783 (filesets-ingroup-get-data): Use string-match-p.
9785 * find-file.el (ff-other-file-name, ff-other-file-name)
9786 (ff-find-the-other-file, ff-cc-hh-converter):
9787 Remove unused local variables.
9788 (ff-get-file-name): Use string-match-p.
9789 (ff-all-dirs-under): Use ignore-errors.
9791 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9792 (follow-select-if-visible): Remove unused local variable.
9794 * forms.el (read-file-filter): Move declaration.
9795 (forms--make-format, forms--make-parser, forms-insert-record):
9796 Quote function with #'.
9797 (forms--update): Use string-match-p. Quote function with #'.
9799 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9800 (help-make-xrefs): Use looking-at-p.
9801 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9803 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9804 (ibuffer-confirm-operation-on): Use string-match-p.
9806 * msb.el (msb-item-handler, msb-dired-item-handler):
9807 Mark unused arguments.
9809 * ses.el (ses-decode-cell-symbol)
9810 (ses-kill-override): Remove unused local variable.
9811 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9812 (ses-load): Use ignore-errors, looking-at-p.
9813 (ses-jump-safe): Use ignore-errors.
9814 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9816 * tabify.el (untabify, tabify): Mark unused arguments.
9818 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9819 Mark unused argument.
9820 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9821 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9823 * emacs-lisp/timer.el (timer--time): Define setter with
9824 gv-define-setter to avoid deprecation warning.
9826 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9827 (*record-cmpl-statistics-p*): Remove (was commented out).
9828 (cmpl-statistics-block): Remove (body was commented out).
9829 All callers changed.
9830 (add-completions-from-buffer, load-completions-from-file):
9831 Remove unused variables.
9833 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9835 * filecache.el (file-cache-delete-file-list):
9836 Print message only when told so.
9837 (file-cache-files-matching): Use #' in mapconcat argument.
9839 * ffap.el (ffap-url-at-point): Fix reference to variable
9840 thing-at-point-default-mail-uri-scheme.
9842 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9844 * subr.el (define-error): New function.
9845 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9846 error-file-not-found and define with define-error.
9847 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9848 and define with define-error.
9849 * userlock.el (file-locked, file-supersession):
9850 * simple.el (mark-inactive):
9851 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9852 * progmodes/ada-mode.el (ada-mode-errors):
9853 * play/life.el (life-extinct):
9854 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9855 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9856 * nxml/rng-util.el (rng-error):
9857 * nxml/rng-uri.el (rng-uri-error):
9858 * nxml/rng-match.el (rng-compile-error):
9859 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9860 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9861 * nxml/nxml-rap.el (nxml-scan-error):
9862 * nxml/nxml-outln.el (nxml-outline-error):
9863 * net/soap-client.el (soap-error):
9864 * net/gnutls.el (gnutls-error):
9865 * net/ange-ftp.el (ftp-error):
9866 * mpc.el (mpc-proc-error):
9867 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9868 (json-number-format, json-string-escape, json-string-format)
9869 (json-key-format, json-object-format):
9870 * jka-compr.el (compression-error):
9871 * international/quail.el (quail-error):
9872 * international/kkc.el (kkc-error):
9873 * emacs-lisp/ert.el (ert-test-failed):
9874 * calc/calc.el (calc-error, inexact-result, math-overflow)
9876 * bookmark.el (bookmark-error-no-filename):
9877 * epg.el (epg-error): Define with define-error.
9879 * time.el (display-time-event-handler)
9880 (display-time-next-load-average): Don't call sit-for since it seems
9881 unnecessary (bug#15045).
9883 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9884 Use #' instead of ' to quote functions.
9885 (checkdoc-output-mode): Use setq-local.
9886 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9887 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9888 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9889 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9890 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9891 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9892 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9893 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9895 * ido.el (ido-completion-help): Fix up compiler warning.
9897 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9899 * frameset.el (frameset-p): Add autoload cookie.
9900 (frameset--jump-to-register): New function, based on code moved from
9902 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9904 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9905 (frameset-restore, frameset-save, frameset-session-filter-alist):
9906 Remove declarations.
9907 (register-alist): Doc fix.
9908 (frameset-to-register): Move to frameset.el.
9909 (jump-to-register, describe-register-1): Remove frameset-specific code.
9911 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9913 * allout-widgets.el (allout-widgets-pre-command-business)
9914 (allout-widgets-post-command-business)
9915 (allout-widgets-after-change-handler)
9916 (allout-decorate-item-and-context, allout-set-boundary-marker)
9917 (allout-body-modification-handler)
9918 (allout-graphics-modification-handler): Mark ignored arguments.
9919 (allout-widgets-post-command-business)
9920 (allout-widgets-exposure-change-processor)
9921 (allout-widgets-exposure-undo-processor)
9922 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9923 (allout-parse-item-at-point, allout-decorate-item-guides)
9924 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9925 * allout.el (epa-passphrase-callback-function): Declare.
9926 (allout-overlay-insert-in-front-handler)
9927 (allout-overlay-interior-modification-handler)
9928 (allout-isearch-end-handler, allout-chart-siblings)
9929 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9930 (allout-yank-processing, allout-process-exposed)
9931 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9932 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9933 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9934 (lisp-indent-defform): Mark ignored arguments.
9935 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9936 (calculate-lisp-indent): Remove unused variables.
9937 * international/characters.el (indian-2-column, arabic-2-column)
9938 (tibetan): Mark ignored arguments.
9939 (use-cjk-char-width-table): Mark ignored arguments.
9940 Remove unused variables.
9941 * international/fontset.el (build-default-fontset-data)
9942 (x-compose-font-name, create-fontset-from-fontset-spec):
9943 Mark ignored arguments.
9944 (fontset-plain-name): Remove unused variables.
9945 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9946 (keyboard-coding-system): Mark ignored arguments.
9947 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9948 * help.el (resize-temp-buffer-window):
9949 * window.el (display-buffer-in-major-side-window)
9950 (display-buffer-in-side-window, display-buffer-in-previous-window):
9951 Remove unused variables.
9952 * isearch.el (isearch-forward-symbol):
9953 * version.el (emacs-bzr-version-bzr):
9954 * international/mule-cmds.el (current-language-environment):
9955 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9957 * term/pc-win.el (x-list-fonts, x-display-planes)
9958 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9959 (x-server-version, x-display-screens, x-display-mm-height)
9960 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9961 (x-selection-owner-p, x-own-selection-internal)
9962 (x-disown-selection-internal, x-get-selection-internal)
9963 (msdos-initialize-window-system):
9964 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9965 * term/x-win.el (x-handle-no-bitmap-icon):
9966 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9967 (vc-default-find-file-hook, vc-default-extra-menu):
9968 Mark ignored arguments.
9970 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9972 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9973 break-condition in the context of the debugged code (bug#12685).
9975 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9978 Do not use an overlay to highlight the last prompt. (Bug#14744)
9979 (comint-mode): Make comint-last-prompt buffer local.
9980 (comint-last-prompt): New variable.
9981 (comint-last-prompt-overlay): Remove. Superseded by
9983 (comint-snapshot-last-prompt, comint-output-filter):
9984 Use comint-last-prompt.
9986 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9988 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9989 (frameset-save): Check validity of the resulting frameset.
9991 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9993 * ido.el (ido-record-command): Add doc string.
9995 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9997 * frameset.el (frameset): Do not disable creation of the default
9998 frameset-p predicate. Doc fix.
9999 (frameset-valid-p): New function, copied from the old predicate-p.
10000 Add additional checks.
10001 (frameset-restore): Check with frameset-valid-p.
10002 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10003 (frameset-name, frameset-description, frameset-properties)
10004 (frameset-states): Add docstring.
10005 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10006 (frameset-filter-alist): Doc fixes.
10008 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10010 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10012 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10014 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10015 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10016 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10017 (byte-compile-normal-call): Remove obsolescence check.
10019 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10021 * frameset.el (frameset-restore): Doc fix.
10023 * register.el (frameset-frame-id, frameset-frame-with-id)
10024 (frameset-p, frameset-restore, frameset-save): Declare.
10025 (register-alist): Document framesets.
10026 (frameset-session-filter-alist): Declare.
10027 (frameset-to-register): New function.
10028 (jump-to-register): Implement jumping to framesets. Doc fix.
10029 (describe-register-1): Describe framesets.
10031 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10033 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10035 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10036 Use lexical-binding.
10038 * frameset.el (frameset): Use type vector, not list (incompatible
10039 change). Do not declare a new constructor, use the default one.
10040 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10041 `name' and `description', respectively, and add read-only slot
10042 `timestamp'. Doc fixes.
10043 (frameset-copy, frameset-persistent-filter-alist)
10044 (frameset-filter-alist, frameset-switch-to-gui-p)
10045 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10046 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10047 (frameset-filter-iconified, frameset-keep-original-display-p):
10049 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10050 Rename from frameset-filter-(save|restore)-param. All callers changed.
10052 (frameset-p): Adapt to change to vector and be more thorough.
10053 Change arg name to OBJECT. Doc fix.
10054 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10055 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10056 All callers changed.
10057 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10058 All callers changed.
10059 (frameset--record-minibuffer-relationships): Rename from
10060 frameset--process-minibuffer-frames. All callers changed.
10061 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10062 Use new default constructor (again). Doc fix.
10063 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10064 All callers changed.
10065 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10066 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10068 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10069 PARAMETERS and WINDOW-STATE, respectively.
10070 (frameset-restore): Add new keyword argument PREDICATE.
10071 Reset frameset--target-display to nil. Doc fix.
10073 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10075 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10076 (bat-mode): Use it.
10077 (bat-mode-syntax-table): Mark \n as end-of-comment.
10078 (bat-font-lock-keywords): Remove comment rule.
10080 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10081 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10083 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10084 (byte-compile-callargs-warn): Use `push'.
10085 (byte-compile-arglist-warn): Ignore higher-order "calls".
10086 (byte-compile-file-form-autoload): Use `pcase'.
10087 (byte-compile-function-form): If quoting a symbol, check that it exists.
10089 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10091 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10092 and add a few popular commands found in batch files.
10093 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10094 (dos-mode): Doc fixes.
10096 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10098 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10099 (dos-mode): Use setq-local. Add space after "rem".
10100 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10101 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10103 2013-08-07 Arni Magnusson <arnima@hafro.is>
10105 * progmodes/dos.el: New file.
10106 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10109 2013-08-06 Glenn Morris <rgm@gnu.org>
10111 * calendar/calendar.el: Add new faces, and day-header-array.
10112 (calendar-weekday-header, calendar-weekend-header)
10113 (calendar-month-header): New faces.
10114 (calendar-day-header-construct): New function.
10115 (calendar-day-header-width): Also :set calendar-day-header-array.
10116 (calendar-american-month-header, calendar-european-month-header)
10117 (calendar-iso-month-header): Use calendar- faces.
10118 (calendar-generate-month):
10119 Use calendar-day-header-array for day headers; apply faces to them.
10120 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10121 (calendar-abbrev-construct): Add optional maxlen argument.
10122 (calendar-day-name-array): Doc fix.
10123 (calendar-day-name-array, calendar-abbrev-length)
10124 (calendar-day-abbrev-array):
10125 Also :set calendar-day-header-array, and maybe redraw.
10126 (calendar-day-header-array): New option. (Bug#15007)
10127 (calendar-font-lock-keywords): Set to nil and make obsolete.
10128 (calendar-day-name): Add option to use header array.
10130 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10132 * net/shr.el (shr-render-td): Remove debugging.
10133 (shr-render-td): Make width computation consistent by defaulting
10134 all zero-width columns to 10 characters. This may not be optimal,
10135 but it's at least consistent.
10136 (shr-make-table-1): Redo last change to fix the real problem in
10139 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10141 * files.el (cache-long-line-scans):
10142 Make obsolete alias to `cache-long-scans'.
10144 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10146 * frameset.el (frameset, frameset-filter-alist)
10147 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10148 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10149 (frameset-compute-pos): Rename from frameset--compute-pos,
10151 (frameset-move-onscreen): Use frameset-compute-pos.
10152 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10154 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10155 Fix typos in docstrings.
10157 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10159 * frame.el (get-other-frame): Tiny cleanup.
10161 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10163 * vc/vc.el (vc-default-ignore-completion-table):
10164 Silence byte-compiler warning.
10166 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10167 slot, which can indeed be nil.
10168 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10169 Move entry for `left' from persistent to live filter alist.
10170 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10172 (frameset-filter-params): When restoring a frame, copy items added to
10173 `filtered', to avoid unwittingly modifying the original parameters.
10174 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10175 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10177 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10178 to use looking-at-p instead of looking-at. (Bug#15028)
10180 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10182 Revert introduction of isearch-filter-predicates (bug#14714).
10183 Rely on add-function instead.
10184 * isearch.el (isearch-filter-predicates): Rename it back to
10185 isearch-filter-predicate.
10186 (isearch-message-prefix): Use advice-function-mapc and advice
10187 properties to get the isearch-message-prefix.
10188 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10189 instead of run-hook-with-args-until-failure.
10190 (isearch-filter-visible): Not obsolete any more.
10191 * loadup.el: Preload nadvice.
10192 * replace.el (perform-replace): Revert to funcall
10193 instead of run-hook-with-args-until-failure.
10194 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10195 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10196 dired-isearch-filenames-toggle; make it into a proper minor mode.
10197 Use add/remove-function.
10198 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10199 Call the minor-mode rather than add/remove-hook.
10200 (dired-isearch-filter-filenames):
10201 Remove isearch-message-prefix property.
10202 * info.el (Info--search-loop): New function, extracted from Info-search.
10203 Funcall isearch-filter-predicate instead of
10204 run-hook-with-args-until-failure isearch-filter-predicates.
10205 (Info-search): Use it.
10206 (Info-mode): Use isearch-filter-predicate instead of
10207 isearch-filter-predicates.
10209 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10211 Do not call to `selected-window' where it is assumed by default.
10212 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10213 `window-hscroll', `window-width', `window-height', `window-buffer',
10214 `window-frame', `window-start', `window-point', `next-window'
10215 and `window-display-table'.
10216 * abbrev.el (abbrev--default-expand):
10217 * bs.el (bs--show-with-configuration):
10218 * buff-menu.el (Buffer-menu-mouse-select):
10219 * calc/calc.el (calc):
10220 * calendar/calendar.el (calendar-generate-window):
10221 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10222 (diary-make-entry):
10223 * comint.el (send-invisible, comint-dynamic-complete-filename)
10224 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10225 * completion.el (complete):
10226 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10227 * disp-table.el (describe-current-display-table):
10228 * doc-view.el (doc-view-insert-image):
10229 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10230 * ehelp.el (with-electric-help):
10231 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10232 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10233 * emacs-lisp/helper.el (Helper-help-scroller):
10234 * emulation/cua-base.el (cua--post-command-handler-1):
10235 * eshell/esh-mode.el (eshell-output-filter):
10236 * ffap.el (ffap-gnus-wrapper):
10237 * help-macro.el (make-help-screen):
10238 * hilit-chg.el (highlight-compare-buffers):
10239 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10240 * hl-line.el (global-hl-line-highlight):
10241 * icomplete.el (icomplete-simple-completing-p):
10242 * isearch.el (isearch-done):
10243 * jit-lock.el (jit-lock-stealth-fontify):
10244 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10245 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10246 * mpc.el (mpc-tagbrowser, mpc):
10247 * net/rcirc.el (rcirc-any-buffer):
10248 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10249 * play/landmark.el (landmark-max-width, landmark-max-height):
10250 * play/zone.el (zone):
10251 * progmodes/compile.el (compilation-goto-locus):
10252 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10253 * progmodes/etags.el (find-tag-other-window):
10254 * progmodes/fortran.el (fortran-column-ruler):
10255 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10256 * progmodes/verilog-mode.el (verilog-point-text):
10257 * reposition.el (reposition-window):
10258 * rot13.el (toggle-rot13-mode):
10259 * server.el (server-switch-buffer):
10260 * shell.el (shell-dynamic-complete-command)
10261 (shell-dynamic-complete-environment-variable):
10262 * simple.el (insert-buffer, set-selective-display)
10263 (delete-completion-window):
10264 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10265 (speedbar-recenter):
10266 * startup.el (fancy-splash-head):
10267 * textmodes/ispell.el (ispell-command-loop):
10268 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10269 * tutorial.el (help-with-tutorial):
10270 * vc/add-log.el (add-change-log-entry):
10271 * vc/compare-w.el (compare-windows):
10272 * vc/ediff-help.el (ediff-indent-help-message):
10273 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10274 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10275 (ediff-setup-control-frame):
10276 * vc/emerge.el (emerge-position-region):
10277 * vc/pcvs-util.el (cvs-bury-buffer):
10278 * window.el (walk-windows, mouse-autoselect-window-select):
10279 * winner.el (winner-set-conf, winner-undo): Related users changed.
10281 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10283 * frameset.el (frameset--set-id): Doc fix.
10284 (frameset-frame-id, frameset-frame-id-equal-p)
10285 (frameset-locate-frame-id): New functions.
10286 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10287 (frameset-restore): Use them.
10289 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10291 Do not call to `selected-frame' where it is assumed by default.
10292 Affected functions are `raise-frame', `redraw-frame',
10293 `frame-first-window', `frame-terminal' and `delete-frame'.
10294 * calendar/appt.el (appt-disp-window):
10295 * epg.el (epg-wait-for-completion):
10296 * follow.el (follow-delete-other-windows-and-split)
10297 (follow-avoid-tail-recenter):
10298 * international/mule.el (set-terminal-coding-system):
10299 * mail/rmail.el (rmail-mail-return):
10300 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10301 * progmodes/f90.el (f90-add-imenu-menu):
10302 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10303 * server.el (server-switch-buffer):
10304 * simple.el (delete-completion-window):
10306 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10307 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10308 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10309 * vc/ediff.el (ediff-documentation): Related users changed.
10310 * frame.el (selected-terminal): Remove the leftover.
10312 2013-08-05 Glenn Morris <rgm@gnu.org>
10314 * calendar/calendar.el (calendar-generate-month):
10315 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10316 (calendar-generate-month, calendar-font-lock-keywords):
10317 Fix for calendar-day-header-width > length of any day name.
10319 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10321 * desktop.el (desktop-clear): Use new name of sort predicate.
10323 * frameset.el (frameset): Add docstring. Move :version property to its
10324 own `version' slot.
10325 (frameset-copy): Rename from copy-frameset.
10326 (frameset-p): Check more thoroughly.
10327 (frameset-prop): Do not check for :version, which is no longer a prop.
10328 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10329 Use new :never value instead of t.
10330 (frameset-filter-alist): Expand and clarify docstring.
10331 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10332 (frameset-filter-minibuffer, frameset-filter-save-param)
10333 (frameset-filter-restore-param, frameset-filter-iconified):
10334 Add pointer to docstring of frameset-filter-alist.
10335 (frameset-filter-params): Rename filter values to be more meaningful:
10336 :never instead of t, and reverse the meanings of :save and :restore.
10337 (frameset--process-minibuffer-frames): Clarify error message.
10338 (frameset-save): Avoid unnecessary and confusing call to framep.
10339 Use new BOA constructor for framesets.
10340 (frameset--reuse-list): Doc fix.
10341 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10342 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10343 (frameset-minibufferless-first-p): Doc fix.
10344 Rename from frameset-sort-frames-for-deletion.
10345 (frameset-restore): Doc fixes. Use new function names.
10346 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10348 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10350 * desktop.el (desktop-restore-forces-onscreen)
10351 (desktop-restore-reuses-frames): Document :keyword constant values.
10352 (desktop-filter-parameters-alist): Remove, now identical to
10353 frameset-filter-alist.
10354 (desktop--filter-tty*): Remove, moved to frameset.el.
10355 (desktop-save-frameset, desktop-restore-frameset):
10356 Do not pass :filters argument.
10358 * frameset.el (frameset-live-filter-alist)
10359 (frameset-persistent-filter-alist): New variables.
10360 (frameset-filter-alist): Use them. Add autoload cookie.
10361 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10362 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10363 `frameset--id' (it's supposed to be internal to frameset.el).
10364 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10365 (frameset--initial-params): New function.
10366 (frameset--get-frame): Use it. Doc fix.
10367 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10368 Accept :all, not 'all.
10369 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10370 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10371 with fbound symbols. Fix frame id matching, and remove matching ids if
10372 the frame being restored is deleted. Obey :delete.
10374 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10376 * subr.el (macrop): New function.
10377 (text-clone--maintaining): New var.
10378 (text-clone--maintain): Rename from text-clone-maintain. Use it
10379 instead of inhibit-modification-hooks.
10381 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10382 a proxy, so as handle autoloads and redefinitions of the target.
10383 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10385 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10386 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10387 (pcase--mutually-exclusive-p): New function.
10388 (pcase--split-consp): Use it.
10389 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10390 mutually exclusive with the current predicate.
10392 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10393 (edebug-macrop): Remove. Use `macrop' instead.
10394 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10396 * eshell/esh-cmd.el (eshell-macrop):
10397 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10399 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10401 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10402 (advice-mapc): New function, using it.
10403 (advice-function-member-p): New function.
10404 (advice--normalize): Store the cdr in advice--saved-rewrite since
10405 that's the part that will be changed.
10406 (advice--symbol-function): New function.
10407 (advice-remove): Handle removal before the function is defined.
10408 Adjust to new advice--saved-rewrite.
10409 (advice-member-p): Use advice-function-member-p and
10410 advice--symbol-function.
10412 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10414 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10415 (frameset-filter-minibuffer): Doc fix.
10416 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10417 (frameset--set-id, frameset--process-minibuffer-frames)
10418 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10419 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10421 * desktop.el (desktop-clear): Only delete frames when called
10422 interactively and desktop-restore-frames is non-nil. Doc fix.
10423 (desktop-read): Set desktop-saved-frameset to nil.
10425 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10427 * vc/vc.el (vc-ignore): Rewrite.
10428 (vc-default-ignore-completion-table, vc--read-lines)
10429 (vc--add-line, vc--remove-regexp): New functions.
10431 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10432 (vc-svn-ignore-completion-table): New function.
10434 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10435 (vc-hg-ignore-completion-table)
10436 (vc-hg-find-ignore-file): New functions.
10438 * vc/vc-git.el (vc-git-ignore): Rewrite.
10439 (vc-git-ignore-completion-table)
10440 (vc-git-find-ignore-file): New functions.
10442 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10444 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10445 (vc-bzr-ignore-completion-table)
10446 (vc-bzr-find-ignore-file): New functions.
10448 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10450 * frameset.el (frameset-prop): New function and setter.
10451 (frameset-save): Do not modify frame list passed by the caller.
10453 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10455 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10457 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10459 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10460 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10462 * custom.el (custom-initialize-default, custom-initialize-set)
10463 (custom-initialize-reset, custom-initialize-changed): Affect the
10464 toplevel-default-value (bug#6275, bug#14586).
10465 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10468 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10470 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10471 Add cl-def* expressions.
10473 * frameset.el (frameset-filter-params): Fix order of arguments.
10475 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10477 Move code related to saving frames to frameset.el.
10478 * desktop.el: Require frameset.
10479 (desktop-restore-frames): Doc fix.
10480 (desktop-restore-reuses-frames): Rename from
10481 desktop-restoring-reuses-frames.
10482 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10483 (desktop-clear): Clear frames too.
10484 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10485 (desktop--filter-tty*, desktop-save, desktop-read):
10486 Use frameset functions.
10487 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10488 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10489 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10490 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10491 (desktop--process-minibuffer-frames, desktop-save-frames)
10492 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10493 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10494 (desktop--sort-states, desktop-restoring-frames-p)
10495 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10496 (desktop-restoring-frameset-p, desktop-restore-frameset)
10497 (desktop--check-dont-save, desktop-save-frameset): New functions.
10498 (desktop--app-id): New constant.
10499 (desktop-first-buffer, desktop-buffer-ok-count)
10500 (desktop-buffer-fail-count): Move before first use.
10501 * frameset.el: New file.
10503 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10505 * files.el: Use lexical-binding.
10506 (dir-locals-read-from-file): Remove unused `err' variable.
10507 (hack-dir-local-variables--warned-coding): New var.
10508 (hack-dir-local-variables): Use it to avoid repeated warnings.
10509 (make-backup-file-name--default-function): New function.
10510 (make-backup-file-name-function): Use it as default.
10511 (buffer-stale--default-function): New function.
10512 (buffer-stale-function): Use it as default.
10513 (revert-buffer-insert-file-contents--default-function): New function.
10514 (revert-buffer-insert-file-contents-function): Use it as default.
10515 (insert-directory): Avoid add-to-list.
10517 * autorevert.el (auto-revert-handler): Simplify.
10518 Use buffer-stale--default-function.
10520 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10522 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10524 * whitespace.el (whitespace-ensure-local-variables): New function.
10525 (whitespace-cleanup-region): Call it.
10526 (whitespace-turn-on): Call it.
10528 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10530 Complete file name handlers.
10532 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10533 (tramp-handle-verify-visited-file-modtime)
10534 (tramp-handle-file-notify-rm-watch): New functions.
10535 (tramp-call-process): Do not bind `default-directory'.
10537 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10538 Order alphabetically.
10539 <access-file, add-name-to-file, dired-call-process>:
10540 <dired-compress-file, file-acl, file-notify-rm-watch>:
10541 <file-ownership-preserved-p, file-selinux-context>:
10542 <make-directory-internal, make-symbolic-link, set-file-acl>:
10543 <set-file-selinux-context, set-visited-file-modtime>:
10544 <verify-visited-file-modtime>: Add handler.
10545 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10547 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10548 <file-notify-add-watch, file-notify-rm-watch>:
10549 <set-file-times, set-visited-file-modtime>:
10550 <verify-visited-file-modtime>: Add handler.
10551 (with-tramp-gvfs-error-message)
10552 (tramp-gvfs-handle-set-visited-file-modtime)
10553 (tramp-gvfs-fuse-file-name): Remove.
10554 (tramp-gvfs-handle-file-notify-add-watch)
10555 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10556 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10558 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10559 Order alphabetically.
10560 <file-notify-rm-watch>: Use default Tramp handler.
10561 <executable-find>: Remove private handler.
10562 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10563 `default-directory'.
10564 (tramp-sh-handle-executable-find)
10565 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10566 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10567 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10568 Do not use `format' in `tramp-message'.
10570 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10571 <file-notify-rm-watch, set-visited-file-modtime>:
10572 <verify-visited-file-modtime>: Add handler.
10573 (tramp-smb-call-winexe): Do not bind `default-directory'.
10575 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10577 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10579 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10581 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10583 (log-view-diff-changeset): Same.
10584 (log-view-diff-common): Call backend command `previous-revision'
10585 to find out the previous revision, in both cases. Swap the
10586 variables `to' and `fr', so that `fr' usually refers to the
10587 earlier revision (Bug#14989).
10589 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10591 * ibuf-ext.el (ibuffer-filter-by-filename):
10592 Make it work with dired buffers too.
10594 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10596 * emacs-lisp/re-builder.el (reb-color-display-p):
10597 * files.el (save-buffers-kill-terminal):
10598 * net/browse-url.el (browse-url):
10599 * server.el (server-save-buffers-kill-terminal):
10600 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10601 Prefer nil to selected-frame for the first arg of frame-parameter.
10603 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10605 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10607 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10609 * minibuffer.el (completion--twq-all): Try and preserve each
10610 completion's case choice (bug#14907).
10612 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10614 * net/network-stream.el (open-network-stream): Mention the new
10615 :nogreeting parameter.
10616 (network-stream-open-starttls): Use the :nogreeting parameter
10619 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10621 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10622 more natural than popping.
10624 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10625 (shr-urlify): Highlight under mouse.
10627 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10629 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10631 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10633 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10636 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10637 point-min==1. Fix search string. Fix parentheses missing.
10639 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10640 assume point-min==1. Fix search string. Fix parentheses missing.
10642 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10644 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10647 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10649 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10650 initial frame is minibuffer-less. (Bug#14841)
10652 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10654 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10657 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10658 (tramp-maybe-open-connection): Use it.
10660 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10662 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10663 minimal set of parameters passed when creating a frame, because
10664 the minibuffer status of a frame cannot be changed later.
10666 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10668 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10669 replace-regexp-in-string and inadvertent omissions in previous change.
10670 (todo-filter-items): Ensure only file names are comma-separated in
10671 name of filtered items buffer.
10673 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10675 * desktop.el: Optionally force offscreen frames back onscreen.
10676 (desktop-restoring-reuses-frames): New option.
10677 (desktop--compute-pos, desktop--move-onscreen): New functions.
10678 (desktop--make-frame): Use desktop--move-onscreen.
10680 2013-07-27 Alan Mackenzie <acm@muc.de>
10682 Fontify a Java generic method as a function.
10683 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10686 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10688 * calendar/todo-mode.el: Add command to rename todo files.
10689 (todo-rename-file): New command.
10690 (todo-key-bindings-t): Add key binding for it. Change the
10691 bindings of todo-filter-regexp-items(-multifile) to use `x'
10692 instead of `r', since the latter is better suited to the new
10695 2013-07-27 Alan Mackenzie <acm@muc.de>
10697 Make Java try-with-resources statement parse properly.
10698 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10699 (c-block-stmt-1-2-key): New language constants/variables.
10700 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10701 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10702 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10703 with c-block-stmt-1-2-key.
10705 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10707 * desktop.el (desktop--make-frame): Apply most frame parameters after
10708 creating the frame to force (partially or totally) offscreen frames to
10709 be restored as such.
10711 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10713 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10716 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10718 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10719 `base' arg of backtrace-frame.
10721 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10723 * simple.el (list-processes): Doc fix.
10725 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10727 * desktop.el (desktop--select-frame):
10728 Try harder to reuse existing frames.
10730 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10732 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10733 (edebug-eval): Use backtrace-eval.
10734 (edebug--display, edebug--recursive-edit): Don't let-bind the
10735 edebug-outer-* vars that keep track of variables we locally let-bind.
10736 (edebug-outside-excursion): Don't restore outside values of locally
10738 (edebug--display): Use user-error.
10739 (cl-lexical-debug, cl-debug-env): Remove.
10741 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10743 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10744 are restored to be sure that they are visible before deleting any
10747 2013-07-26 Matthias Meulien <orontee@gmail.com>
10749 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10750 vc-print-root-log. (Bug#14948)
10752 2013-07-26 Richard Stallman <rms@gnu.org>
10754 Add aliases for encrypting mail.
10755 * epa.el (epa-mail-aliases): New option.
10756 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10757 Bind inhibit-read-only so read-only text doesn't ruin everything.
10758 (epa-mail-default-recipients): New subroutine broken out.
10759 Handle epa-mail-aliases.
10761 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10763 Add support for lexical variables to the debugger's `e' command.
10764 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10765 vars, except for debugger-outer-match-data.
10766 (debugger-frame-number): Move check for "on a function call" from
10767 callers into it. Add `skip-base' argument.
10768 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10769 (debugger-env-macro): Only reset the state stored in non-variables,
10770 i.e. current-buffer and match-data.
10771 (debugger-eval-expression): Rewrite using backtrace-eval.
10772 * subr.el (internal--called-interactively-p--get-frame): Remove.
10773 (called-interactively-p):
10774 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10775 `base' arg of backtrace-frame instead.
10777 2013-07-26 Glenn Morris <rgm@gnu.org>
10779 * align.el (align-regexp): Doc fix. (Bug#14857)
10780 (align-region): Explicit error if subexpression missing/does not match.
10782 * simple.el (global-visual-line-mode):
10783 Do not duplicate the mode lighter. (Bug#14858)
10785 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10787 * window.el (display-buffer): In display-buffer bind
10788 split-window-keep-point to t, bug#14829.
10790 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10792 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10793 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10794 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10795 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10796 Change accordingly.
10797 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10798 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10800 2013-07-25 Glenn Morris <rgm@gnu.org>
10802 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10804 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10806 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10807 parameter to modify-frame-parameters if the value has not changed;
10808 this is a workaround for bug#14949.
10809 (desktop--make-frame): On cl-delete-if call, check parameter name,
10810 not full parameter.
10812 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10814 * vc/vc.el (vc-ignore): New function.
10816 * vc/vc-svn.el (vc-svn-ignore): New function.
10818 * vc/vc-hg.el (vc-hg-ignore): New function.
10820 * vc/vc-git.el (vc-git-ignore): New function.
10822 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10823 (vc-dir-ignore): New function.
10825 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10826 (cvs-append-to-ignore): Move here from pcvs.el.
10828 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10830 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10832 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10834 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10835 (desktop-restore-frames): Warn when deleting an existing frame failed.
10837 2013-07-24 Glenn Morris <rgm@gnu.org>
10839 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10841 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10843 * filenotify.el (file-notify-supported-p):
10844 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10847 * autorevert.el (auto-revert-use-notify)
10848 (auto-revert-notify-add-watch):
10849 * net/tramp.el (tramp-file-name-for-operation):
10850 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10851 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10852 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10853 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10854 Remove `file-notify-supported-p' entry.
10856 2013-07-24 Glenn Morris <rgm@gnu.org>
10858 * printing.el: Replace all uses of deleted ps-windows-system,
10859 ps-lp-system, ps-flatten-list with lpr- versions.
10861 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10863 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10864 checked with memq (bug#14935).
10866 * files.el (revert-buffer-function): Use a non-nil default.
10867 (revert-buffer-preserve-modes): Declare var to
10868 provide access to the `preserve-modes' argument.
10869 (revert-buffer): Let-bind it.
10870 (revert-buffer--default): New function, extracted from revert-buffer.
10872 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10874 * lpr.el: Signal print errors more prominently.
10875 (print-region-function): Don't default to nil.
10876 (lpr-print-region): New function, extracted from print-region-1.
10877 Check lpr's return value and signal an error in case of problem.
10878 (print-region-1): Use it.
10879 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10881 (ps-printer-name): Default to nil.
10882 (ps-printer-name-option): Default to lpr-printer-switch.
10883 (ps-print-region-function): Don't default to nil.
10884 (ps-postscript-code-directory): Simplify default.
10885 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10886 (ps-string-list, ps-eval-switch, ps-flatten-list)
10887 (ps-flatten-list-1): Remove.
10888 (ps-multibyte-buffer): Avoid setq.
10889 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10890 (print-region-function, ps-print-region-function): Don't set them here.
10892 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10894 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10895 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10896 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10897 (ido-decorations): Doc fix.
10899 * ansi-color.el: Fix old URL.
10901 2013-07-23 Michael R. Mauger <michael@mauger.com>
10903 * progmodes/sql.el: Version 3.3
10904 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10905 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10906 (sql-interactive-remove-continuation-prompt): Rewrite, use
10907 functions above. Fix continuation prompt and complete output line
10909 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10910 redirected output buffer.
10911 (sql-mode): Restore deleted code (Bug#13591).
10913 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10915 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10917 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10919 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10921 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10922 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10923 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10925 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10927 * desktop.el (desktop-clear): Simplify; remove useless checks
10928 against invalid buffer names.
10929 (desktop-list*): Use cl-list*.
10930 (desktop-buffer-info, desktop-create-buffer): Simplify.
10932 2013-07-23 Leo Liu <sdl.web@gmail.com>
10934 * bookmark.el (bookmark-make-record): Restore NAME as a default
10937 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10939 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10940 extracted from autoload--insert-text.
10941 (autoload--insert-text): Remove.
10942 (autoload--print-cookie-text): New function, extracted from
10943 autoload--insert-cookie-text.
10944 (autoload--insert-cookie-text): Remove.
10945 (autoload-generate-file-autoloads): Adjust calls accordingly.
10947 * winner.el (winner-hook-installed-p): Remove.
10948 (winner-mode): Simplify accordingly.
10950 * subr.el (add-to-list): Fix compiler-macro when `append' is
10951 not constant. Don't use `cl-member' for the base case.
10953 * progmodes/subword.el: Fix boundary case (bug#13758).
10954 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10956 (subword-backward-regexp): Make it a constant.
10957 (subword-forward-internal): Don't treat a trailing capital as the
10958 beginning of a word.
10960 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10962 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10963 global value of tabulated-list-revert-hook (bug#14930).
10965 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10967 * desktop.el: Require 'cl-lib.
10968 (desktop-before-saving-frames-functions): New hook.
10969 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10970 for frames being saved. Rename from desktop--save-minibuffer-frames.
10971 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10972 Do not save frames with non-nil `desktop-dont-save' parameter.
10973 Filter out deleted frames.
10974 (desktop--find-frame): Use cl-find-if.
10975 (desktop--select-frame): Use cl-(first|second|third) to access values
10977 (desktop--make-frame): Use cl-delete-if.
10978 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10979 (desktop-restore-frames): Use cl-(first|second|third) to access values
10980 of desktop-mini. Look for visible frame at the end, not while
10983 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10984 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10985 Use string-match-p, looking-at-p (bug#14927).
10987 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10989 * desktop.el (desktop-saved-frame-states):
10990 Rename from desktop--saved-states; all users changed.
10991 (desktop-save-frames): Rename from desktop--save-frames.
10992 Do not save state to desktop file.
10993 (desktop-save): Save desktop-saved-frame-states to desktop file
10995 (desktop-restoring-frames-p): New function.
10996 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10997 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10998 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11000 * desktop.el: Correctly restore iconified frames.
11001 (desktop--filter-iconified-position): New function.
11002 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11004 2013-07-20 Glenn Morris <rgm@gnu.org>
11006 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11007 Let `message' do the formatting.
11008 (def-gdb-preempt-display-buffer): Add explicit format.
11010 * image-dired.el (image-dired-track-original-file):
11011 Use with-current-buffer.
11012 (image-dired-track-thumbnail): Use with-current-buffer.
11013 Avoid changing point of wrong window.
11015 * image-dired.el (image-dired-track-original-file):
11016 Avoid changing point of wrong window. (Bug#14909)
11018 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11020 * progmodes/gdb-mi.el (gdb-done-or-error):
11021 Guard against "%" in gdb output. (Bug#14127)
11023 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11025 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11028 * international/mule.el (coding-system-iso-2022-flags): Fix last
11031 2013-07-20 Kenichi Handa <handa@gnu.org>
11033 * international/mule.el (coding-system-iso-2022-flags):
11034 Add `8-bit-level-4'. (Bug#8522)
11036 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11038 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11041 * net/eww.el (eww-process-text-input): Allow inputting when the
11042 point is at the start of the line, as the properties aren't
11045 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11048 2013-07-19 Richard Stallman <rms@gnu.org>
11050 * epa.el (epa-popup-info-window): Doc fix.
11052 * subr.el (split-string): New arg TRIM.
11054 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11056 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11057 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11059 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11061 * filenotify.el (file-notify--library): Rename from
11062 `file-notify-support'. Do not autoload. Adapt all uses.
11063 (file-notify-supported-p): New defun.
11065 * autorevert.el (auto-revert-use-notify):
11066 Use `file-notify-supported-p' instead of `file-notify-support'.
11068 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11070 * net/tramp.el (tramp-file-name-for-operation):
11071 Add `file-notify-supported-p'.
11073 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11075 (tramp-sh-file-name-handler-alist): Add it as handler for
11076 `file-notify-supported-p '.
11078 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11079 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11080 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11081 Add `ignore' as handler for `file-notify-*' functions.
11083 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11085 * simple.el (line-move-partial, line-move): Don't start vscroll or
11086 scroll-up if the current line is not taller than the window.
11089 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11091 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11092 highlight question marks in the method names as strings.
11093 (ruby-block-beg-keywords): Inline.
11094 (ruby-font-lock-keyword-beg-re): Extract from
11095 `ruby-font-lock-keywords'.
11097 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11099 * frame.el (blink-cursor-blinks): New defcustom.
11100 (blink-cursor-blinks-done): New defvar.
11101 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11102 (blink-cursor-timer-function): Check if number of blinks has been
11104 (blink-cursor-suspend, blink-cursor-check): New defuns.
11106 2013-07-15 Glenn Morris <rgm@gnu.org>
11108 * edmacro.el (edmacro-format-keys): Fix previous change.
11110 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11112 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11113 The hack didn't work outside English locales anyway.
11115 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11117 * simple.el (define-alternatives): Rename from alternatives-define,
11118 per RMS' suggestion.
11120 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11122 * desktop.el (desktop-restore-frames): Change default to t.
11123 (desktop-restore-in-current-display): Now offer more options.
11124 (desktop-restoring-reuses-frames): New customization option.
11125 (desktop--saved-states): Doc fix.
11126 (desktop-filter-parameters-alist): New variable, renamed and expanded
11127 from desktop--excluded-frame-parameters.
11128 (desktop--target-display): New variable.
11129 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11130 (desktop--filter-tty*, desktop--filter-*-color)
11131 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11132 (desktop--filter-save-desktop-parm)
11133 (desktop-restore-in-original-display-p): New functions.
11134 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11135 (desktop--save-minibuffer-frames): New function, inspired by a similar
11136 function from Martin Rudalics.
11137 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11138 (desktop--restore-in-this-display-p): Remove.
11139 (desktop--find-frame): Rename from desktop--find-frame-in-display
11140 and add predicate argument.
11141 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11142 (desktop--reuse-list): New variable.
11143 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11145 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11147 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11149 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11151 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11153 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11154 Highlight conversion methods on Kernel.
11156 2013-07-13 Alan Mackenzie <acm@muc.de>
11158 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11159 and comment it out. This out-commenting enables certain C++
11160 declarations to be parsed correctly.
11162 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11164 * international/mule.el (define-coding-system): Doc fix.
11166 * simple.el (default-font-height): Don't call font-info if the
11167 frame's default font didn't change since the frame was created.
11170 2013-07-13 Leo Liu <sdl.web@gmail.com>
11172 * ido.el (ido-read-file-name): Guard against non-symbol value.
11174 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11176 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11179 2013-07-13 Leo Liu <sdl.web@gmail.com>
11181 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11182 ido-set-matches call. (Bug#6852)
11184 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11186 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11187 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11189 (ruby-font-lock-keywords): Distinguish calls to functions with
11190 module-like names from module references. Highlight character
11193 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11195 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11196 (gdb-send): Handle continued commands. (Bug#14847)
11198 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11200 * desktop.el (desktop--v2s): Remove unused local variable.
11201 (desktop-save-buffer): Make defvar-local; adjust docstring.
11202 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11203 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11205 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11207 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11209 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11211 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11214 2013-07-12 Glenn Morris <rgm@gnu.org>
11216 * doc-view.el: Require cl-lib at runtime too.
11217 (doc-view-remove-if): Remove.
11218 (doc-view-search-next-match, doc-view-search-previous-match):
11221 * edmacro.el: Require cl-lib at runtime too.
11222 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11223 (edmacro-mismatch, edmacro-subseq): Remove.
11225 * shadowfile.el: Require cl-lib.
11226 (shadow-remove-if): Remove.
11227 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11230 * wid-edit.el: Require cl-lib.
11231 (widget-choose): Use cl-remove-if.
11232 (widget-remove-if): Remove.
11234 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11235 (ebrowse-delete-if-not): Remove.
11236 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11237 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11238 Use cl-delete-if-not.
11240 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11242 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11243 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11245 2013-07-12 Leo Liu <sdl.web@gmail.com>
11247 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11249 2013-07-11 Glenn Morris <rgm@gnu.org>
11251 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11252 (edebug-gensym-index, edebug-gensym):
11253 Remove reimplementation of cl-gensym.
11254 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11256 * thumbs.el: Require cl-lib at run-time too.
11257 (thumbs-gensym-counter, thumbs-gensym):
11258 Remove reimplementation of cl-gensym.
11259 (thumbs-temp-file): Use cl-gensym.
11261 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11262 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11263 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11264 (ert--union, ert--gensym-counter, ert--gensym-counter)
11265 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11266 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11267 (ert-make-test-unbound, ert--expand-should-1)
11268 (ert--expand-should, ert--should-error-handle-error)
11269 (should-error, ert--explain-equal-rec)
11270 (ert--plist-difference-explanation, ert-select-tests)
11271 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11272 Use cl-lib functions rather than reimplementations.
11274 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11276 * net/tramp.el (tramp-methods): Extend docstring.
11277 (tramp-connection-timeout): New defcustom.
11278 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11279 (with-tramp-progress-reporter): Simplify.
11280 (tramp-process-actions): Improve messages.
11282 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11283 * net/tramp-sh.el (tramp-maybe-open-connection):
11284 Use `tramp-connection-timeout'.
11285 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11288 2013-07-11 Leo Liu <sdl.web@gmail.com>
11290 * ido.el (ido-read-file-name): Conform to the requirements of
11291 read-file-name. (Bug#11861)
11292 (ido-read-directory-name): Conform to the requirements of
11293 read-directory-name.
11295 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11297 * subr.el (delay-warning): New function.
11299 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11301 * simple.el (default-line-height): New function.
11302 (line-move-partial, line-move): Use it instead of computing the
11303 line height inline.
11304 (line-move-partial): Always compute ROWH. If the last line is
11305 partially-visible, but its text is completely visible, allow
11306 cursor to enter such a partially-visible line.
11308 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11310 Improve error messages. (Bug#14808)
11312 * net/tramp.el (tramp-current-connection): New defvar, moved from
11314 (tramp-message-show-progress-reporter-message): Remove, not
11316 (tramp-error-with-buffer): Show message in minibuffer.
11317 Discard input before waiting. Reset connection timestamp.
11318 (with-tramp-progress-reporter): Improve messages.
11319 (tramp-process-actions): Use progress reporter. Delete process in
11320 case of error. Improve messages.
11322 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11323 Call `tramp-error-with-buffer' with vector and buffer.
11324 (tramp-current-connection): Remove.
11325 (tramp-maybe-open-connection): The car of
11326 `tramp-current-connection' are the first 3 slots of the vector.
11328 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11330 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11331 inside continued strings.
11333 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11335 Timestamp fixes for undo (Bug#14824).
11336 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11338 2013-07-10 Leo Liu <sdl.web@gmail.com>
11340 * files.el (require-final-newline): Allow safe local value.
11343 2013-07-09 Leo Liu <sdl.web@gmail.com>
11345 * ido.el (ido-read-directory-name): Handle fallback.
11346 (ido-read-file-name): Update DIR to ido-current-directory.
11348 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11350 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11352 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11353 "autoload". Remove "warn lower camel case" section, previously
11354 commented out. Highlight negation char. Do not highlight the
11355 target in singleton method definitions.
11357 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11359 * faces.el (tty-setup-hook): Declare the hook.
11361 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11362 and detect when a guard/pred depends on local vars (bug#14773).
11363 (pcase--u1): Adjust caller.
11365 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11367 * simple.el (line-move-partial, line-move): Account for
11369 (line-move-partial): Avoid setting vscroll when the last
11370 partially-visible line in window is of default height.
11372 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11374 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11377 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11379 * subr.el (read-quoted-char): Remove unused local variable `char'.
11381 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11383 * vc/ediff.el (ediff-version): Version update.
11384 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11385 (ediff-merge-with-ancestor-command, ediff-directories-command)
11386 (ediff-directories3-command, ediff-merge-directories-command)
11387 (ediff-merge-directories-with-ancestor-command): New functions.
11388 All are command-line interfaces to ediff: to facilitate calling
11389 Emacs with the appropriate ediff functions invoked.
11391 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11393 (viper-save-kill-buffer): Check if buffer is modified.
11395 * emulation/viper.el (viper-version): Version update.
11396 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11398 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11400 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11401 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11402 (viper-intercept-ESC-key): Simplify.
11403 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11405 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11406 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11407 (viper-setup-ESC-to-escape): New functions.
11408 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11409 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11411 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11413 * simple.el (default-font-height, window-screen-lines):
11415 (line-move, line-move-partial): Use them instead of
11416 frame-char-height and window-text-height. This makes scrolling
11417 text smoother when the buffer's default face uses a font that is
11418 different from the frame's default font.
11420 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11422 * files.el (write-file): Do not display confirm dialog for NS,
11423 it does its own dialog, which can't be canceled (Bug#14578).
11425 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11427 * simple.el (line-move-partial): Adjust the row returned by
11428 posn-at-point for the current window-vscroll. (Bug#14567)
11430 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11432 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11433 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11436 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11438 * window.el (window-state-put-stale-windows): New variable.
11439 (window--state-put-2): Save list of windows without matching buffer.
11440 (window-state-put): Remove "bufferless" windows if possible.
11442 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11444 * simple.el (alternatives-define): Remove leftover :group keyword.
11447 2013-07-06 Leo Liu <sdl.web@gmail.com>
11449 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11450 (ido-enable-virtual-buffers): New variable.
11451 (ido-buffer-internal, ido-toggle-virtual-buffers)
11452 (ido-make-buffer-list): Use it.
11453 (ido-exhibit): Support turning on and off virtual buffers
11456 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11458 * simple.el (alternatives-define): New macro.
11460 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11462 * subr.el (read-quoted-char): Use read-key.
11463 (sit-for): Let read-event decode tty input (bug#14782).
11465 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11467 * calendar/todo-mode.el: Add handling of file deletion, both by
11468 mode command and externally. Fix various related bugs.
11469 Clarify Commentary and improve some documentation strings and code.
11470 (todo-delete-file): New command.
11471 (todo-check-file): New function.
11472 (todo-show): Handle external deletion of the file we're trying to
11473 show (bug#14688). Replace called-interactively-p by an optional
11474 prefix argument to avoid problematic interaction with catch form
11475 when byte compiled (bug#14702).
11476 (todo-quit): Handle external deletion of the archive's todo file.
11477 Make sure the buffer that was visiting the archive file is still
11478 live before trying to bury it.
11479 (todo-category-completions): Handle external deletion of any
11480 category completion files.
11481 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11482 of todo files, in case of external deletion.
11483 (todo-add-file): Replace unnecessary setq by let-binding.
11484 (todo-find-archive): Check whether there are any archives.
11485 Replace unnecessary setq by let-binding.
11486 (todo-archive-done-item): Use find-file-noselect to get the
11487 archive buffer whether or not the archive already exists.
11488 Remove superfluous code. Use file size instead of buffer-file-name to
11489 check if the archive is new; if it is, update list of archives.
11490 (todo-default-todo-file): Allow nil to be a valid value for when
11491 there are no todo files.
11492 (todo-reevaluate-default-file-defcustom): Use corrected definition
11493 of todo-default-todo-file.
11494 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11495 (todo-delete-category, todo-show-categories-table)
11496 (todo-category-number): Clarify comment.
11497 (todo-filter-items): Clarify documentation string.
11498 (todo-show-current-file, todo-display-as-todo-file)
11499 (todo-reset-and-enable-done-separator): Tweak documentation string.
11500 (todo-done-separator): Make separator length window-width, since
11501 bug#2749 is now fixed.
11503 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11505 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11506 Support both "gvfs-monitor-dir" and "inotifywait".
11507 (tramp-sh-file-inotifywait-process-filter): Rename from
11508 `tramp-sh-file-notify-process-filter'.
11509 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11510 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11512 2013-07-05 Leo Liu <sdl.web@gmail.com>
11514 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11516 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11518 * frame.el (display-pixel-height, display-pixel-width)
11519 (display-mm-height, display-mm-width): Mention behavior on
11520 multi-monitor setups in docstrings.
11521 (w32-display-monitor-attributes-list): Declare function.
11522 (display-monitor-attributes-list): Use it.
11524 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11526 * filenotify.el: New package.
11528 * autorevert.el (top): Require filenotify.el.
11529 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11531 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11532 (auto-revert-notify-handler): Use `file-notify-*' functions.
11534 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11536 * net/tramp.el (tramp-file-name-for-operation):
11537 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11539 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11540 for `file-notify-add-watch' and `file-notify-rm-watch'.
11541 (tramp-process-sentinel): Improve trace.
11542 (tramp-sh-handle-file-notify-add-watch)
11543 (tramp-sh-file-notify-process-filter)
11544 (tramp-sh-handle-file-notify-rm-watch)
11545 (tramp-get-remote-inotifywait): New defuns.
11547 2013-07-03 Juri Linkov <juri@jurta.org>
11549 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11550 call of `occur-read-primary-args' to interactive spec.
11552 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11553 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11555 2013-07-03 Matthias Meulien <orontee@gmail.com>
11557 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11558 `Buffer-menu-multi-occur'. Add it to the menu.
11559 (Buffer-menu-mode): Document it in docstring.
11560 (Buffer-menu-multi-occur): New command. (Bug#14673)
11562 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11564 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11565 keywords and built-ins.
11567 2013-07-03 Glenn Morris <rgm@gnu.org>
11569 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11571 Make info-xref checks case-sensitive by default
11572 * info.el (Info-find-node, Info-find-in-tag-table)
11573 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11574 Add option for exact case matching of nodes.
11575 * info-xref.el (info-xref): New custom group.
11576 (info-xref-case-fold): New option.
11577 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11579 2013-07-03 Leo Liu <sdl.web@gmail.com>
11581 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11583 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11585 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11586 middle of block statement initially, lower the depth. Remove
11587 FIXME comment, not longer valid. Remove middle of block statement
11588 detection, no need to do that anymore since we've been using
11589 `ruby-parse-region' here.
11591 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11593 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11595 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11597 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11599 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11601 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11602 (desktop-restore-in-current-display): New customization option.
11603 (desktop--excluded-frame-parameters): Add `font'.
11604 (desktop--save-frames): Rename from desktop--save-windows.
11605 (desktop--restore-in-this-display-p): New function.
11606 (desktop--make-full-frame): Remove unwanted width/height from
11607 full(width|height) frames.
11608 (desktop--restore-frames): Rename from desktop--restore-windows.
11609 Obey desktop-restore-current-display. Do not delete old frames or
11610 select a new frame unless we were able to restore at least one frame.
11612 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11614 * files.el (find-file-noselect): Simplify conditional expression.
11616 * textmodes/remember.el (remember-append-to-file):
11617 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11619 Add `remember-notes' function to store random notes across Emacs
11621 * textmodes/remember.el (remember-data-file): Add :set callback to
11622 affect notes buffer (if any).
11623 (remember-notes): New command.
11624 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11625 New defcustoms for the `remember-notes' function.
11626 (remember-notes-save-and-bury-buffer): New command.
11627 (remember-notes-mode-map): New variable.
11628 (remember-mode): New minor mode.
11629 (remember-notes--kill-buffer-query): New function.
11630 * startup.el (initial-buffer-choice): Add notes to custom type.
11632 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11634 * bindings.el (right-char, left-char): Don't call sit-for, this is
11635 no longer needed. Use arithmetic comparison only for numerical
11638 * international/mule-cmds.el (select-safe-coding-system):
11639 Handle the case of FROM being a string correctly. (Bug#14755)
11641 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11643 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11644 progression on degenerate tables.
11645 (shr-rescale-image): ImageMagick animated images currently don't work.
11647 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11649 Some fixes and improvements for desktop frame restoration.
11650 It is still experimental and disabled by default.
11651 * desktop.el (desktop--save-windows): Put the selected frame at
11652 the head of the list.
11653 (desktop--make-full-frame): New function.
11654 (desktop--restore-windows): Try to re-select the frame that was
11655 selected upon saving. Do not abort if some frames fail to restore,
11656 just show an error message and continue. Set up maximized frames
11657 so they have default non-maximized dimensions.
11659 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11661 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11662 Don't start heredoc inside a string or comment.
11664 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11666 * bindings.el (visual-order-cursor-movement): New defcustom.
11667 (right-char, left-char): Provide visual-order cursor motion by
11668 calling move-point-visually. Update the doc strings.
11670 2013-06-28 Kenichi Handa <handa@gnu.org>
11672 * international/mule.el (define-coding-system): New coding system
11673 properties :inhibit-null-byte-detection,
11674 :inhibit-iso-escape-detection, and :prefer-utf-8.
11675 (set-buffer-file-coding-system): If :charset-list property of
11676 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11677 appropriate for setting.
11679 * international/mule-cmds.el (select-safe-coding-system):
11680 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11681 multibyte characters, return utf-8 (or one of its siblings).
11683 * international/mule-conf.el (prefer-utf-8): New coding system.
11684 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11687 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11689 * net/shr.el (shr-render-region): New function.
11691 * net/eww.el: Autoload `eww-browse-url'.
11693 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11695 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11696 Adapt to `package-desc-version' being a list.
11697 Use `package--ac-desc-version' to retrieve version from a package
11700 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11702 New experimental feature to save&restore window and frame setup.
11703 * desktop.el (desktop-save-windows): New defcustom.
11704 (desktop--saved-states): New var.
11705 (desktop--excluded-frame-parameters): New defconst.
11706 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11707 (desktop--restore-windows, desktop--save-windows): New functions.
11708 (desktop-save): Call `desktop--save-windows'.
11709 (desktop-read): Call `desktop--restore-windows'.
11711 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11713 * net/shr.el (add-face-text-property): Remove compat definition.
11715 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11717 * info.el (Info-try-follow-nearest-node): Move search for footnote
11718 above search for node name to prevent missing a footnote (bug#14717).
11720 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11722 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11724 2013-06-27 Leo Liu <sdl.web@gmail.com>
11726 * net/eww.el (eww-read-bookmarks): Check file size.
11728 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11730 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11731 advice--pending if newdef is nil or an autoload (bug#13820).
11732 (advice-mapc): New function.
11734 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11736 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11738 (eww-mode-map): Add a menu bar.
11739 (eww-add-bookmark): New command.
11740 (eww-bookmark-mode): New mode and commands.
11741 (eww-add-bookmark): Remove newlines from the title.
11742 (eww-bookmark-browse): Don't bug out if it's the only window.
11744 2013-06-26 Glenn Morris <rgm@gnu.org>
11746 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11747 (hfy-size): Handle ttys. (Bug#14668)
11749 * info-xref.el: Update for Texinfo 5 change in *note format.
11750 (info-xref-node-re, info-xref-note-re): New constants.
11751 (info-xref-check-buffer): Use info-xref-note-re.
11753 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11755 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11757 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11758 nil terminate the loop (bug#14718).
11760 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11762 * net/eww.el: Rework history traversal. When going forward/back,
11763 put these actions into the history, too, so that they can be
11765 (eww-render): Move the history reset to the correct buffer.
11767 2013-06-25 Juri Linkov <juri@jurta.org>
11769 * files-x.el (modify-dir-local-variable): Change the header comment
11770 in the file with directory local variables. (Bug#14692)
11772 * files-x.el (read-file-local-variable-value): Add `default'.
11775 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11777 * net/eww.el (eww-make-unique-file-name): Create a unique file
11778 name before saving to entering `y' accidentally asynchronously.
11780 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11782 * net/eww.el (eww-download): New command and keystroke.
11784 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11786 * net/eww.el (eww-copy-page-url): Change name of command.
11788 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11789 be more consistent with Info and dired.
11791 * net/eww.el (eww-mode-map): Ditto.
11793 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11795 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11796 packages from archives.
11797 (package-archive-contents): Change format; include obsolete packages.
11798 (package-desc): Use `dir' to mark builtin packages.
11799 (package--from-builtin): Set the `dir' field to `builtin'.
11800 (generated-autoload-file, version-control): Declare.
11801 (package-compute-transaction): Change first arg and return value to be
11802 lists of package-descs. Adjust to new package-archive-contents format.
11803 (package--add-to-archive-contents): Adjust to new
11804 package-archive-contents format.
11805 (package-download-transaction): Arg is now a list of package-descs.
11806 (package-install): If `pkg' is a package name, pass it as
11807 a requirement, so it is subject to the usual (e.g. disabled) checks.
11808 (describe-package): Accept package-desc as well.
11809 (describe-package-1): Describe a specific package-desc. Add links to
11810 other package-descs for the same package name.
11811 (package-menu-describe-package): Pass the actual package-desc.
11812 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11814 (package-desc-status): New function.
11815 (package-menu--refresh): New function, extracted
11816 from package-menu--generate.
11817 (package-menu--generate): Use it.
11818 (package-delete): Update package-alist.
11819 (package-menu-execute): Don't call package-initialize.
11821 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11822 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11823 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11824 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11825 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11826 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11828 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11830 * window.el (window--state-get-1): Workaround for bug#14527.
11831 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11833 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11835 * net/eww.el (eww-back-url): Implement the history by stashing all
11836 the data into a list.
11837 (eww-forward-url): Allow going forward in the history, too.
11839 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11841 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11842 for values and use read--expression for expressions (bug#14710).
11843 (read-file-local-variable): Avoid setq.
11844 (read-file-local-variable-mode): Use minor-mode-list.
11846 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11848 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11851 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11853 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11854 Update imenu-support when dialect changes.
11856 2013-06-25 Leo Liu <sdl.web@gmail.com>
11858 * ido.el (ido-read-internal): Allow forward slash on windows.
11860 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11862 * net/eww.el (eww): Start of strings is \\`, not ^.
11864 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11866 * net/shr.el (shr-browse-url): Fix interactive spec.
11868 * net/eww.el (eww): Add a trailing slash to domain names.
11870 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11872 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11874 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11876 * net/shr.el (shr-browse-url): Use an external browser if given a
11879 * net/eww.el (eww-external-browser): Move to shr.
11881 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11883 * net/eww.el (eww): Work more correctly for file: URLs.
11884 (eww-detect-charset): Allow quoted charsets.
11885 (eww-yank-page-url): New command and keystroke.
11887 2013-06-24 Daiki Ueno <ueno@gnu.org>
11889 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11890 file name of gpg executable.
11891 (epg-context-program): New function.
11892 (epg-context-home-directory): New function.
11893 (epg-context-set-program): New function.
11894 (epg-context-set-home-directory): New function.
11895 (epg--start): Use `epg-context-program' instead of
11897 (epg--list-keys-1): Likewise.
11899 2013-06-24 Leo Liu <sdl.web@gmail.com>
11901 * ido.el (ido-read-internal): Fix bug#14620.
11903 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11905 * faces.el (face-documentation): Simplify.
11906 (read-face-attribute, tty-find-type, x-resolve-font-name):
11907 Use `string-match-p'.
11908 (list-faces-display): Use `string-match-p'. Simplify.
11909 (face-spec-recalc): Check face to avoid face alias loops.
11910 (read-color): Use `string-match-p' and non-capturing parenthesis.
11912 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11914 * net/shr.el (shr-rescale-image): Use the new
11915 :max-width/:max-height functionality.
11917 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11919 * net/eww.el (eww-search-prefix): New variable.
11921 (eww-external-browser): New variable.
11922 (eww-mode-map): New keystroke.
11923 (eww-browse-with-external-browser): New command.
11925 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11927 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11929 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11930 Don't skip aligning the next header field when padding is 0;
11931 otherwise, field width is not respected unless the title is as
11934 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11936 * emacs-lisp/package.el (package-el-version): Remove.
11937 (package-process-define-package): Fix inf-loop.
11938 (package-install): Allow symbols as arguments again.
11940 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11942 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11943 add some more keyword-like methods.
11944 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11946 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11948 * bs.el (bs-buffer-show-mark): Make defvar-local.
11949 (bs-mode): Use setq-local.
11951 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11952 (emacs-lock--try-unlocking): Make defvar-local.
11954 2013-06-22 Glenn Morris <rgm@gnu.org>
11956 * play/cookie1.el (cookie-apropos): Minor simplification.
11958 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11960 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11962 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11963 `regexp-opt', it breaks the build during dumping.
11965 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11967 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11968 Highlight keyword-like methods on Kernel and Module with
11969 font-lock-builtin-face.
11970 (auto-mode-alist): Consolidate different entries into one regexp
11971 and add more *file-s.
11973 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11975 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11977 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11978 (diary-entry): Use it in the action of this button type instead of
11981 * calendar/todo-mode.el: New version.
11982 (todo-add-category): Append new category to end of file and give
11983 it the highest number, instead of putting it at the beginning and
11984 giving it 0. Incorporate noninteractive functionality.
11985 (todo-forward-category): Adapt to 1-based category numbering.
11986 Allow skipping over archived categories.
11987 (todo-backward-category): Derive from todo-forward-category.
11988 (todo-backward-item, todo-forward-item): Make noninteractive and
11989 delegate interactive part to new commands. Make sensitive to done items.
11990 (todo-categories): Make value an alist of category names and
11991 vectors of item counts.
11992 (todo-category-beg): Make a defconst.
11993 (todo-category-number): Use 1 instead of 0 as initial value.
11994 (todo-category-select): Make sensitive to overlays, optional item
11995 highlighting and done items.
11996 (todo-delete-item): Make sensitive to overlays and marked and done items.
11997 (todo-edit-item): Make sensitive to overlays and editing of
11998 date/time header optional. Add format checks.
11999 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12000 no-op if point is not on an item. Advertise using todo-edit-quit.
12001 (todo-edit-mode): Make sensitive to new format, font-locking, and
12002 multiple todo files.
12003 (todo-insert-item, todo-insert-item-here): Derive from
12004 todo-basic-insert-item and extend functionality.
12005 (todo-item-end, todo-item-start): Make sensitive to done items.
12006 (todo-item-string): Don't return text properties. Restore point.
12007 (todo-jump-to-category): Make sensitive to multiple todo files and
12008 todo archives. Use extended category completion.
12009 (todo-lower-item, todo-raise-item): Rename to *-priority and
12010 derive from todo-set-item-priority.
12011 (todo-mode): Derive from special-mode. Make sensitive to new
12012 format, font-locking and multiple todo files. Make read-only.
12013 (todo-mode-map): Don't suppress digit keys, so they can supply
12014 prefix arguments. Add many new key bindings.
12015 (todo-prefix): Insert as an overlay instead of file text.
12016 Change semantics from diary date expression to purely visual mark.
12017 (todo-print): Rename to todo-print-buffer. Make buffer display
12018 features printable. Remove option to restrict number of items
12019 printed. Add option to print to file.
12020 (todo-print-function): Rename to todo-print-buffer-function.
12021 (todo-quit): Extend to handle exiting new todo modes.
12022 (todo-remove-item): Make sensitive to overlays.
12023 (todo-save): Extend to buffers of filtered items.
12024 (todo-show): Make sensitive to done items, multiple todo files and
12025 new todo modes. Offer to convert legacy todo file before creating
12026 first new todo file.
12027 (todo-show-priorities): Rename to todo-top-priorities.
12028 Change semantics of value 0.
12029 (todo-top-priorities): Rename to todo-filter-top-priorities,
12030 derive from todo-filter-items and extend functionality.
12031 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12032 and extend functionality to other types of filtered items.
12033 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12034 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12035 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12036 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12037 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12038 (todo-edit-mode-hook, todo-entry-prefix-function)
12039 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12040 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12041 (todo-initials, todo-insert-threshold, todo-item-string-start)
12042 (todo-line-string, todo-menu, todo-mode-hook)
12043 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12044 (todo-print-priorities, todo-remove-separator)
12045 (todo-save-top-priorities-too, todo-string-count-lines)
12046 (todo-string-multiline-p, todo-time-string-format)
12047 (todo-tmp-buffer-name): Remove.
12048 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12049 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12050 (todo-edit-category-diary-inclusion)
12051 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12052 (todo-edit-file, todo-edit-item-date-day)
12053 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12054 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12055 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12056 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12057 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12058 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12059 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12060 (todo-filter-top-priorities-multifile, todo-find-archive)
12061 (todo-find-filtered-items-file, todo-go-to-source-item)
12062 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12063 (todo-jump-to-archive-category, todo-lower-category)
12064 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12065 (todo-move-category, todo-move-item, todo-next-button)
12066 (todo-next-item, todo-padded-string, todo-powerset)
12067 (todo-previous-button, todo-previous-item)
12068 (todo-print-buffer-to-file, todo-raise-category)
12069 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12070 (todo-set-category-number, todo-set-item-priority)
12071 (todo-set-top-priorities-in-category)
12072 (todo-set-top-priorities-in-file, todo-show-categories-table)
12073 (todo-sort-categories-alphabetically-or-numerically)
12074 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12075 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12076 (todo-toggle-item-header, todo-toggle-item-highlighting)
12077 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12078 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12079 (todo-unarchive-items, todo-unmark-category): New commands.
12080 (todo-absolute-file-name, todo-add-to-buffer-list)
12081 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12082 (todo-basic-insert-item, todo-category-completions)
12083 (todo-category-number, todo-category-string-matcher-1)
12084 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12085 (todo-check-format, todo-clear-matches)
12086 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12087 (todo-current-category, todo-date-string-matcher)
12088 (todo-define-insertion-command, todo-diary-expired-matcher)
12089 (todo-diary-goto-entry, todo-diary-item-p)
12090 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12091 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12092 (todo-done-item-section-p, todo-done-separator)
12093 (todo-done-string-matcher, todo-files, todo-filter-items)
12094 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12095 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12096 (todo-insert-category-line, todo-insert-item-from-calendar)
12097 (todo-insert-sort-button, todo-insert-with-overlays)
12098 (todo-insertion-command-name, todo-insertion-key-bindings)
12099 (todo-label-to-key, todo-longest-category-name-length)
12100 (todo-make-categories-list, todo-mode-external-set)
12101 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12102 (todo-modes-set-3, todo-multiple-filter-files)
12103 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12104 (todo-read-category, todo-read-date, todo-read-dayname)
12105 (todo-read-file-name, todo-read-time)
12106 (todo-reevaluate-category-completions-files-defcustom)
12107 (todo-reevaluate-default-file-defcustom)
12108 (todo-reevaluate-filelist-defcustoms)
12109 (todo-reevaluate-filter-files-defcustom)
12110 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12111 (todo-reset-done-separator, todo-reset-done-separator-string)
12112 (todo-reset-done-string, todo-reset-global-current-todo-file)
12113 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12114 (todo-reset-prefix, todo-set-categories)
12115 (todo-set-date-from-calendar, todo-set-show-current-file)
12116 (todo-set-top-priorities, todo-short-file-name)
12117 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12118 (todo-total-item-counts, todo-update-buffer-list)
12119 (todo-update-categories-display, todo-update-categories-sexp)
12120 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12122 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12124 (todo-categories, todo-display, todo-edit, todo-faces)
12125 (todo-filtered): New defgroups.
12126 (todo-archived-only, todo-button, todo-category-string, todo-date)
12127 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12128 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12129 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12130 (todo-add-item-if-new-category, todo-always-add-time-string)
12131 (todo-categories-align, todo-categories-archived-label)
12132 (todo-categories-category-label, todo-categories-diary-label)
12133 (todo-categories-done-label, todo-categories-number-separator)
12134 (todo-categories-todo-label, todo-categories-totals-label)
12135 (todo-category-completions-files, todo-completion-ignore-case)
12136 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12137 (todo-done-separator-string, todo-done-string)
12138 (todo-files-function, todo-filter-done-items, todo-filter-files)
12139 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12140 (todo-initial-category, todo-initial-file, todo-item-mark)
12141 (todo-legacy-date-time-regexp, todo-mode-line-function)
12142 (todo-nondiary-marker, todo-number-prefix)
12143 (todo-print-buffer-function, todo-show-current-file)
12144 (todo-show-done-only, todo-show-first, todo-show-with-done)
12145 (todo-skip-archived-categories, todo-top-priorities-overrides)
12146 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12147 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12149 (todo-category-done, todo-date-pattern, todo-date-string-start)
12150 (todo-diary-items-buffer, todo-done-string-start)
12151 (todo-filtered-items-buffer, todo-item-start)
12152 (todo-month-abbrev-array, todo-month-name-array)
12153 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12154 (todo-top-priorities-buffer): New defconsts.
12155 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12156 (todo-categories-with-marks, todo-category-string-face)
12157 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12158 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12159 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12160 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12161 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12162 (todo-font-lock-keywords, todo-global-current-todo-file)
12163 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12164 (todo-insertion-commands-args)
12165 (todo-insertion-commands-args-genlist)
12166 (todo-insertion-commands-names, todo-insertion-map)
12167 (todo-key-bindings-t, todo-key-bindings-t+a)
12168 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12169 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12170 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12171 (todo-visited): New variables.
12173 2013-06-21 Glenn Morris <rgm@gnu.org>
12175 * play/cookie1.el (cookie-apropos): Add optional display argument.
12176 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12177 (psychoanalyze-pinhead): Use cookie-doctor.
12179 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12181 * emacs-lisp/package.el (tar-get-file-descriptor)
12182 (tar--extract): Declare.
12184 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12186 Extend flymake's warning predicate to be a function (bug#14217).
12187 * progmodes/flymake.el (flymake-warning-predicate): New.
12188 (flymake-parse-line): Use it.
12189 (flymake-warning-re): Make obsolete alias to
12190 `flymake-warning-predicate'.
12192 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12194 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12195 (package-obsolete-list): Remove.
12196 (package-activate): Remove min-version argument. Add `force' argument.
12197 Adjust to new package-alist format.
12198 (package-mark-obsolete): Remove.
12199 (package-unpack): Force reload of the package's autoloads.
12200 (package-installed-p): Check builtins if the installed package is not
12202 (package-initialize): Don't reset package-obsolete-list.
12203 Don't specify which package version to activate.
12204 (package-process-define-package, describe-package-1)
12205 (package-menu--generate): Adjust to new package-alist format.
12207 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12209 * allout-widgets.el (allout-widgets-mode-off)
12210 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12211 (allout-widgets-post-command-business)
12212 (allout-widgets-after-copy-or-kill-function)
12213 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12214 (allout-decorate-item-and-context)
12215 (allout-graphics-modification-handler): Fix typos in docstrings.
12216 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12218 * cmuscheme.el (scheme-start-file): Doc fix.
12219 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12220 (scheme-input-filter): Use `string-match-p'.
12222 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12224 * dired-x.el: Use Dired consistently in docstrings.
12226 * dired.el: Use Dired consistently in docstrings.
12227 (dired-readin, dired-mode): Use `setq-local'.
12228 (dired-switches-alist): Make defvar-local.
12229 (dired-buffers-for-dir): Use `zerop'.
12230 (dired-safe-switches-p, dired-switches-escape-p)
12231 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12232 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12233 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12234 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12235 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12236 (dired-toggle-marks, dired-mark-files-containing-regexp)
12237 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12238 (dired-flag-auto-save-files, dired-flag-backup-files):
12239 Use `looking-at-p'.
12240 (dired-mark-files-regexp, dired-build-subdir-alist):
12241 Use `string-match-p', `looking-at-p'.
12243 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12244 (direct-print-region-helper): Use `string-match-p'.
12246 2013-06-21 Leo Liu <sdl.web@gmail.com>
12248 * comint.el (comint-redirect-results-list-from-process):
12251 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12253 * net/eww.el (eww-update-header-line-format): Quote % characters.
12255 2013-06-21 Glenn Morris <rgm@gnu.org>
12257 * play/cookie1.el (cookie): New custom group.
12258 (cookie-file): New option.
12259 (cookie-check-file): New function.
12260 (cookie): Make it interactive. Make start and end messages optional.
12261 Interactively, display the result. Default to cookie-file.
12262 (cookie-insert): Default to cookie-file.
12263 (cookie-snarf): Make start and end messages optional.
12264 Default to cookie-file. Use with-temp-buffer.
12265 (cookie-read): Rename from read-cookie.
12266 Make start and end messages optional. Default to cookie-file.
12267 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12268 Do not autoload it.
12269 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12270 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12272 2013-06-21 Leo Liu <sdl.web@gmail.com>
12274 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12276 2013-06-21 Glenn Morris <rgm@gnu.org>
12278 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12280 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12281 Daniel Hackney <dan@haxney.org>
12283 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12284 Consolidate the single-file vs tarball code.
12285 (package-desc-suffix): New function.
12286 (package-desc-full-name): Don't bother inlining it.
12287 (package-load-descriptor): Return the new package-desc.
12288 (package-mark-obsolete): Remove unused arg `package'.
12289 (package-unpack): Make it work for single files as well.
12290 Make it update package-alist.
12291 (package--make-autoloads-and-stuff): Rename from
12292 package--make-autoloads-and-compile. Don't compile any more.
12293 (package--compile): New function.
12294 (package-generate-description-file): New function, extracted from
12295 package-unpack-single.
12296 (package-unpack-single): Remove.
12297 (package--with-work-buffer): Add indentation and debugging info.
12298 (package-download-single): Remove.
12299 (package-install-from-archive): Rename from package-download-tar, make
12300 it take a pkg-desc, and make it work for single files as well.
12301 (package-download-transaction): Simplify.
12302 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12303 external tar program.
12304 (package-install-from-buffer): Remove `pkg-desc' argument.
12305 Use package-tar-file-info for tar-mode buffers.
12306 (package-install-file): Simplify accordingly.
12307 (package-archive-base): Change to take a pkg-desc.
12308 * tar-mode.el (tar--check-descriptor): New function, extracted from
12309 tar-get-descriptor.
12310 (tar-get-descriptor): Use it.
12311 (tar-get-file-descriptor): New function.
12312 (tar--extract): New function, extracted from tar-extract.
12313 (tar--extract): Use it.
12314 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12315 case the summary uses non-ascii. Adjust to new calling convention of
12316 package-tar-file-info.
12318 2013-06-21 Leo Liu <sdl.web@gmail.com>
12320 * comint.el (comint-redirect-results-list-from-process):
12321 Fix random delay. (Bug#14681)
12323 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12325 * profiler.el (profiler-format-number): Use log, not log10.
12327 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12329 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12331 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12333 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12334 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12336 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12337 (AUTOGENEL): ... here.
12338 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12339 (cl--defsubst-expand): Use it.
12341 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12343 * subr.el (log10): Move here from C code, and declare as obsolete.
12344 All uses of (log10 X) replaced with (log X 10).
12346 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12348 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12349 Declare with `defvar-local'.
12350 (tabulated-list-use-header-line, tabulated-list-entries)
12351 (tabulated-list-padding, tabulated-list-printer)
12352 (tabulated-list-sort-key): Declare with `defvar-local'.
12353 (tabulated-list-init-header, tabulated-list-print-fake-header):
12356 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12358 * arc-mode.el (archive-mode): Add `archive-write-file' to
12359 `write-contents-functions' also for remote files. (Bug#14652)
12361 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12363 * cus-edit.el (custom-commands): Fix typos.
12364 (custom-display): Fix tooltip text.
12365 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12366 Fix typos in docstrings.
12367 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12368 (custom-unlispify-menu-entry, custom-magic-value-create)
12369 (custom-add-see-also, custom-group-value-create): Use ?\s.
12370 (custom-guess-type, customize-apropos, editable-field)
12371 (custom-face-value-create): Use `string-match-p'.
12372 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12374 * custom.el (custom-load-symbol): Use `string-match-p'.
12376 * ansi-color.el: Convert to lexical binding.
12377 (ansi-colors): Fix URL.
12378 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12379 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12380 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12382 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12384 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12386 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12388 2013-06-19 Tom Tromey <tromey@redhat.com>
12390 * net/eww.el (eww-top-url): Remove.
12391 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12392 (eww-render): Set new variables. Don't set eww-top-url.
12393 (eww-handle-link): Handle "prev", "home", and "contents".
12394 Downcase the rel text.
12395 (eww-top-url): Choose best top URL.
12397 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12399 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12400 relying in widget.el. Using widget.el leads to too many
12401 user interface inconsistencies.
12402 (eww-self-insert): Implement entering commands in text fields.
12403 (eww-process-text-input): New function to make text input field editing
12405 (eww-submit): Rewrite to use the new-style form methods.
12406 (eww-select-display): Display the correct selected item.
12407 (eww-change-select): Implement changing the select value.
12408 (eww-toggle-checkbox): Implement radio/checkboxes.
12409 (eww-update-field): Fix compilation error.
12410 (eww-tag-textarea): Implement <textarea>.
12412 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12413 we don't shadow mode-specific bindings.
12415 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12418 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12420 2013-06-19 Glenn Morris <rgm@gnu.org>
12422 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12424 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12426 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12429 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12431 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12433 * net/browse-url.el (browse-url-browser-function):
12434 `eww-browse-url' has the right calling signature, `eww' does not.
12436 2013-06-19 Glenn Morris <rgm@gnu.org>
12438 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12439 Only eval autoloaded macros.
12440 (byte-compile-autoload): Only give the macro warning for macros.
12442 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12443 (ps-underlined-faces): Declare.
12445 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12446 (speedbar-add-supported-extension): Declare.
12448 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12449 Don't include a date stamp in the header of the generated file;
12450 it leads to needless differences between output files.
12452 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12454 * net/secrets.el (secrets-struct-secret-content-type):
12455 Replace check of introspection data by a test call of "CreateItem".
12456 Some servers do not offer introspection.
12458 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12460 * electric.el (electric-pair-mode): Improve interaction with
12461 electric-layout-mode.
12462 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12463 (electric-pair-syntax): Use text-mode-syntax-table in comments
12465 (electric-pair--insert): New function.
12466 (electric-pair-post-self-insert-function): Use it and
12467 electric--after-char-pos.
12469 2013-06-19 Leo Liu <sdl.web@gmail.com>
12471 * progmodes/octave.el (octave-help): Fix regexp.
12473 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12475 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12476 (shr-table-horizontal-line): Allow nil as a value, and change the
12478 (shr-insert-table-ruler): Respect the nil value.
12480 2013-06-18 Tom Tromey <tromey@barimba>
12482 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12484 (eww-open-file): New defun.
12485 (eww-render): Initialize new variables.
12486 (eww-display-html): Handle "link" and "a".
12487 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12488 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12489 (eww-back-url): Rename from eww-previous-url.
12490 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12493 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12495 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12496 Distinguish ternary operator tokens from slash symbol and slash
12499 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12501 Convert symbol prettification into minor mode and global minor mode.
12503 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12504 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12505 (prettify-symbols--keywords): Rename from
12506 `prog-prettify-symbols-alist' and make a local defvar.
12507 (prettify-symbols--compose-symbol): Rename from
12508 `prog--prettify-font-lock-compose-symbol'.
12509 (prettify-symbols--make-keywords): Rename from
12510 `prog-prettify-font-lock-symbols-keywords' and simplify.
12511 (prog-prettify-install): Remove.
12512 (prettify-symbols-mode): New minor mode, based on
12513 `prog-prettify-install'.
12514 (turn-on-prettify-symbols-mode): New function.
12515 (global-prettify-symbols-mode): New globalized minor mode.
12517 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12518 * progmodes/cfengine.el (cfengine3-mode):
12519 * progmodes/perl-mode.el (perl-mode): Don't call
12520 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12522 2013-06-18 Juri Linkov <juri@jurta.org>
12524 * files-x.el (modify-file-local-variable-message): New function.
12525 (modify-file-local-variable)
12526 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12527 and call `modify-file-local-variable-message' when it's non-nil.
12528 (add-file-local-variable, delete-file-local-variable)
12529 (add-file-local-variable-prop-line)
12530 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12531 and use it. (Bug#9820)
12533 2013-06-18 Juri Linkov <juri@jurta.org>
12535 * emulation/vi.el (vi-shell-op):
12536 * emulation/vip.el (vip-execute-com, ex-command):
12537 * emulation/viper-cmd.el (viper-exec-bang):
12538 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12539 the call of `shell-command-on-region'. (Bug#14637)
12541 * simple.el (shell-command-on-region): Doc fix.
12543 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12545 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12548 2013-06-18 Glenn Morris <rgm@gnu.org>
12550 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12552 * newcomment.el (comment-search-forward, comment-search-backward):
12553 Doc fix. (Bug#14376)
12555 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12557 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12558 (buffer-face-mode-invoke): Doc fix.
12560 2013-06-18 Matthias Meulien <orontee@gmail.com>
12562 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12563 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12565 2013-06-18 Glenn Morris <rgm@gnu.org>
12567 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12568 Replace obsolete function generic-make-keywords with its expansion.
12570 * progmodes/python.el (ffap-alist): Declare.
12572 * textmodes/reftex.el (bibtex-mode-map): Declare.
12574 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12576 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12577 (package-unpack, package-unpack-single): Return the pkg-dir.
12578 (package-download-transaction): Use it to update package-alist.
12580 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12582 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12585 2013-06-17 Juri Linkov <juri@jurta.org>
12587 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12589 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12591 * emacs-lisp/package.el (package-load-descriptor):
12592 Remove `with-syntax-table' call, `read' doesn't need it.
12593 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12595 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12597 * startup.el (command-line): Expand package name returned by
12598 `package--description-file' (bug#14639).
12600 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12602 * emacs-lisp/package.el (package-load-descriptor): Do not call
12603 `emacs-lisp-mode', just use its syntax table.
12605 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12607 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12608 `font-lock-extra-managed-props' if any prettifying keyword is added.
12609 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12610 (prog-mode): Use `setq-local'.
12612 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12614 * international/characters.el (standard-case-table): Set syntax of ?»
12615 and ?« to punctuation.
12617 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12619 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12620 Save relevant match data before calling `syntax-ppss' (bug#14595).
12622 2013-06-15 Juri Linkov <juri@jurta.org>
12624 * files-x.el (modify-file-local-variable-prop-line): Add local
12625 variables to the end of the existing comment on the first line.
12626 Use `file-auto-mode-skip' to skip interpreter magic line,
12627 and also skip XML declaration.
12629 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12631 * startup.el (package--builtin-versions): New var.
12632 (package-subdirectory-regexp): Remove.
12633 (package--description-file): Hard code its value instead.
12635 * emacs-lisp/package.el: Don't activate packages older than builtin.
12636 (package-obsolete-list): Rename from package-obsolete-alist, and make
12637 it into a simple list of package-desc.
12638 (package-strip-version): Remove.
12639 (package-built-in-p): Use package--builtin-versions.
12640 (package-mark-obsolete): Simplify.
12641 (package-process-define-package): Mark it obsolete if older than the
12643 (package-handle-response): Use line-end-position.
12644 (package-read-archive-contents, package--download-one-archive):
12646 (package--add-to-archive-contents): Skip if older than the builtin or
12648 (package-menu-describe-package): Fix last change.
12649 (package-list-unversioned): New var.
12650 (package-menu--generate): Use it.
12652 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12653 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12654 (autoload-builtin-package-versions): New variable.
12655 (autoload-generate-file-autoloads): Use them.
12656 Remove the list of autoloaded functions/macros from the
12657 (autoload...) comments.
12659 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12661 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12663 * simple.el (line-move-partial): Don't jump to the next screen
12664 line as soon as it becomes visible. Instead, continue enlarging
12665 the vscroll until the portion of a tall screen line that's left on
12666 display is about the height of the frame's default font.
12669 2013-06-15 Glenn Morris <rgm@gnu.org>
12671 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12672 compilation-error-regexp-alist void, or local while let-bound.
12674 * progmodes/make-mode.el (makefile-mode-syntax-table):
12675 Treat "=" as punctuation. (Bug#14614)
12677 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12679 * help-fns.el (describe-variable):
12680 Add extra line for permanent-local variables.
12682 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12684 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12685 Add export, import, library. (Bug#9164)
12686 (library): Set indent function.
12688 2013-06-14 Glenn Morris <rgm@gnu.org>
12690 * term/xterm.el (xterm--query):
12691 Stop after first matching handler. (Bug#14615)
12693 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12695 Add support for dired in saveplace.
12696 * dired.el (dired-initial-position-hook): New variable.
12697 (dired-initial-position): Call hook to place cursor position.
12698 * saveplace.el (save-place-to-alist): Add dired position.
12699 (save-place-dired-hook): New function.
12701 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12703 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12704 through a symbol rather than letrec.
12706 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12707 (package-desc): Add `dir' field.
12708 (package-desc-full-name): New function.
12709 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12710 (package-maybe-load-descriptor): Remove.
12711 (package-load-all-descriptors): Just call package-load-descriptor.
12712 (package--disabled-p): New function.
12713 (package-desc-vers, package-desc-doc): Remove aliases.
12714 (package--dir): Remove function.
12715 (package-activate): Check if a package is disabled.
12716 (package-process-define-package): New function, extracted from
12718 (define-package): Turn into a place holder.
12719 (package-unpack-single, package-tar-file-info):
12720 Use package--description-file.
12721 (package-compute-transaction): Use package--disabled-p.
12722 (package-download-transaction): Don't call
12723 package-maybe-load-descriptor since they're all loaded anyway.
12724 (package-install): Change argument to be a pkg-desc.
12725 (package-delete): Use a single pkg-desc argument.
12726 (describe-package-1): Use package-desc-dir instead of package--dir.
12727 Use package-desc property instead of package-symbol.
12728 (package-install-button-action): Adjust accordingly.
12729 (package--push): Rewrite.
12730 (package-menu--print-info): Adjust accordingly. Change the ID format
12732 (package-menu-describe-package, package-menu-get-status)
12733 (package-menu--find-upgrades, package-menu-mark-upgrades)
12734 (package-menu-execute, package-menu--name-predicate):
12735 Adjust accordingly.
12736 * startup.el (package--description-file): New function.
12737 (command-line): Use it.
12738 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12739 Use package-desc-version.
12741 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12742 (byte-compile-preprocess): Use it.
12743 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12744 can't quite recognize.
12745 (byte-compile-add-to-list): Remove.
12746 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12747 (cconv-closure-convert): Add assertion.
12749 * emacs-lisp/map-ynp.el: Use lexical-binding.
12750 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12751 Factor out some repeated code.
12753 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12755 * subr.el (with-eval-after-load): New macro.
12756 (eval-after-load): Allow form to be a function.
12757 take advantage of lexical-binding.
12758 (do-after-load-evaluation): Use dolist and adjust to new format.
12759 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12761 2013-06-13 Juri Linkov <juri@jurta.org>
12763 * replace.el (perform-replace): Display "symbol " and other search
12764 modes from `isearch-message-prefix' in the *Help* buffer.
12766 * isearch.el (isearch-query-replace): Add " symbol" and other
12767 possible search modes from `isearch-message-prefix' to the prompt.
12768 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12769 when reading a regexp to collect.
12771 2013-06-13 Juri Linkov <juri@jurta.org>
12773 * isearch.el (word-search-regexp): Match whitespace if the search
12774 string begins or ends in whitespace. The LAX arg is applied to
12775 both ends of the search string. Use `regexp-quote' and explicit
12776 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12777 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12778 boundaries are replaced with symbol boundaries, and characters
12779 between symbols match non-word non-symbol syntax. (Bug#14602)
12781 2013-06-13 Juri Linkov <juri@jurta.org>
12783 * isearch.el (isearch-del-char): Don't exceed the length of
12784 `isearch-string' by the prefix arg. (Bug#14563)
12786 2013-06-13 Juri Linkov <juri@jurta.org>
12788 * isearch.el (isearch-yank-word, isearch-yank-line)
12789 (isearch-char-by-name, isearch-quote-char)
12790 (isearch-printing-char, isearch-process-search-char):
12791 Add optional count prefix arg. (Bug#14563)
12793 * international/isearch-x.el
12794 (isearch-process-search-multibyte-characters):
12795 Add optional count prefix arg.
12797 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12799 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12800 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12803 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12805 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12807 2013-06-13 Glenn Morris <rgm@gnu.org>
12809 * startup.el (tty-handle-args):
12810 Don't just discard "--" and anything after. (Bug#14608)
12812 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12814 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12816 Implement changes in Secret Service API. Make it backward compatible.
12817 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12818 (secrets-create-item): Use it. Prefix properties with interface.
12820 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12822 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12823 (term-emulate-terminal): Respect term-suppress-hard-newline.
12825 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12827 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12828 Only remove a `thumb-file' overlay. (Bug#14548)
12830 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12832 * mail/reporter.el (reporter-submit-bug-report):
12833 Handle missing package-name. (Bug#14600)
12835 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12837 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12838 (reftex-citation-prompt, reftex-default-bibliography)
12839 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12840 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12841 (reftex-bib-sort-author, reftex-bib-sort-year)
12842 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12843 (reftex-extract-bib-entries-from-thebibliography)
12844 (reftex-get-bibkey-default, reftex-get-bib-names)
12845 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12846 (reftex-format-bib-entry, reftex-parse-bibitem)
12847 (reftex-format-bibitem, reftex-do-citation)
12848 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12849 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12850 (reftex-insert-bib-matches, reftex-format-citation)
12851 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12852 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12853 existing comments into docstrings.
12855 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12857 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12859 2013-06-12 Andreas Schwab <schwab@suse.de>
12861 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12862 for auto-save files.
12864 2013-06-12 Glenn Morris <rgm@gnu.org>
12866 * ido.el (ido-delete-ignored-files): Remove.
12867 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12868 Go back to calling ido-ignore-item-p directly.
12870 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12872 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12874 * ido.el (ido-delete-ignored-files): New function,
12875 split from ido-make-file-list-1.
12876 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12877 (ido-make-file-list-1): Use ido-delete-ignored-files.
12879 2013-06-12 Leo Liu <sdl.web@gmail.com>
12881 * progmodes/octave.el (inferior-octave-startup)
12882 (inferior-octave-completion-table)
12883 (inferior-octave-track-window-width-change)
12884 (octave-eldoc-function-signatures, octave-help)
12885 (octave-find-definition): Use single quoted strings.
12886 (inferior-octave-startup-args): Change default value.
12887 (inferior-octave-startup): Do not hard code "-i" and
12888 "--no-line-editing".
12889 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12890 (inferior-octave-directory-tracker): Use it.
12891 (octave-goto-function-definition): Robustify.
12892 (octave-help): Support highlighting operators in 'See also'.
12893 (octave-find-definition): Find subfunctions only in Octave mode.
12895 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12897 * help-fns.el (help-fns--compiler-macro): If the handler function is
12898 named, then put a link to it.
12899 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12900 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12901 (cl-typep): Use it.
12902 (cl-eval-when): Simplify debug spec.
12903 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12904 compiler-macro function instead of setting `compiler-macro-file'.
12906 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12908 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12909 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12911 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12912 Daniel Hackney <dan@haxney.org>
12914 First part of Daniel Hackney's patch to package.el.
12915 * emacs-lisp/package.el: Use defstruct.
12916 (package-desc): New, main struct.
12917 (package--bi-desc, package--ac-desc): New structs, used to describe the
12918 format in external files.
12919 (package-desc-vers): Replace with package-desc-version accessor.
12920 (package-desc-doc): Replace with package-desc-summary accessor.
12921 (package-activate-1): Remove `package' arg since the pkg-vec now
12923 (define-package): Use package-desc-from-define.
12924 (package-unpack-single): Change file-name arg to be a symbol.
12925 (package--add-to-archive-contents): Use package-desc-create and new
12926 accessor functions to package--ac-desc.
12927 (package-buffer-info, package-tar-file-info): Return a package-desc.
12928 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12929 arg to be a package-desc.
12930 (package-install-file): Adjust accordingly. Use \' to match EOS.
12931 (package--from-builtin): New function.
12932 (describe-package-1, package-menu--generate): Use it.
12933 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12934 (package-generate-autoloads): Idem and return the name of the file.
12935 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12936 Change pkg-info arg to be a package-desc.
12937 Use package-make-ac-desc.
12938 (package-upload-file): Use \' to match EOS.
12939 * finder.el (finder-compile-keywords): Use package-make-builtin.
12941 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12943 * vc/vc.el (vc-deduce-fileset): Change error message.
12944 (vc-read-backend): New function.
12945 (vc-next-action): Use it.
12947 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12949 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12950 (prolog-font-lock-keywords): Use regexp-opt instead.
12951 Don't manually highlight strings.
12952 (prolog-mode-variables): Simplify comment-start-skip.
12953 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12955 * emacs-lisp/generic.el (generic--normalise-comments)
12956 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12957 (generic-mode-set-comments): Use them.
12958 (generic-bracket-support): Use setq-local.
12959 (generic-make-keywords-list): Declare obsolete.
12961 2013-06-11 Glenn Morris <rgm@gnu.org>
12963 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12964 Prettify after setting font-lock-defaults. (Bug#14574)
12966 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12968 * replace.el (query-replace, occur-read-regexp-defaults-function)
12970 * subr.el (declare-function, number-sequence, local-set-key)
12971 (substitute-key-definition, locate-user-emacs-file)
12972 (with-silent-modifications, split-string, eval-after-load):
12973 Fix typos, remove unneeded backslashes and reflow some docstrings.
12975 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12977 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12978 default for Elisp files.
12980 2013-06-11 Glenn Morris <rgm@gnu.org>
12982 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12983 although define-derived-mode was doing this anyway. (Bug#14583)
12985 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12987 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12988 Fix make-variable-buffer-local call to refer to the correct variable.
12990 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12992 * eshell/em-term.el (eshell-visual-commands)
12993 (eshell-visual-subcommands, eshell-visual-options):
12994 Add summary line to docstrings. Add cross-references.
12996 2013-06-10 Glenn Morris <rgm@gnu.org>
12998 * epa.el (epa-read-file-name): New function. (Bug#14510)
12999 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13001 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13003 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13004 output redirection to be ignored with visual commands.
13006 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13008 * eshell/em-term.el (eshell-visual-command-p): New function.
13009 (eshell-term-initialize): Move long lambda to separate function
13010 eshell-visual-command-p.
13011 * eshell/em-dirs.el (eshell-dirs-initialize):
13012 * eshell/em-script.el (eshell-script-initialize):
13013 Add missing #' to lambda.
13015 2013-06-08 Leo Liu <sdl.web@gmail.com>
13017 * progmodes/octave.el (octave-add-log-current-defun): New function.
13018 (octave-mode): Set add-log-current-defun-function.
13019 (octave-goto-function-definition): Do not move point if not found.
13020 (octave-find-definition): Enhance to try subfunctions first.
13022 2013-06-08 Glenn Morris <rgm@gnu.org>
13024 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13025 (byte-compile-backward-char, byte-compile-backward-word):
13026 Improve previous change, to handle non-explicit nil.
13028 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13030 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13031 (smie--opener/closer-at-point): New function.
13032 (smie--matching-block-data): Use it. Don't match from right after an
13033 opener or right before a closer. Obey smie-blink-matching-inners.
13034 Don't signal a mismatch for repeated inners like "switch..case..case".
13036 2013-06-07 Leo Liu <sdl.web@gmail.com>
13038 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13040 (octave-function-header-regexp): Fix. (Bug#14570)
13041 (octave-help-mode-finish-hook, octave-help-mode-finish):
13042 Remove. Just use temp-buffer-show-hook.
13044 * newcomment.el (comment-search-backward): Revert last change.
13047 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13049 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13051 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13052 through xargs, to avoid failure due to MS-Windows limitations on
13053 command-line length.
13055 2013-06-06 Glenn Morris <rgm@gnu.org>
13057 * font-lock.el (lisp-font-lock-keywords-2):
13058 Treat user-error like error.
13060 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13061 (byte-compile-backward-char, byte-compile-backward-word):
13062 Handle explicit nil arguments. (Bug#14565)
13064 2013-06-05 Alan Mackenzie <acm@muc.de>
13066 * isearch.el (isearch-allow-prefix): New user option.
13067 (isearch-other-meta-char): Don't exit isearch when a prefix
13068 argument is typed whilst `isearch-allow-prefix' is non-nil.
13071 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13073 * autorevert.el (auto-revert-notify-handler): Use memq.
13074 Hide assertion failure.
13076 * skeleton.el: Use cl-lib.
13077 (skeleton-further-elements): Use defvar-local.
13078 (skeleton-insert): Use cl-progv.
13080 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13082 * progmodes/prog-mode.el (prog-prettify-symbols)
13083 (prog-prettify-install): Update docstrings.
13085 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13087 * simple.el: Move all the prog-mode code to prog-mode.el.
13088 * progmodes/prog-mode.el: New file.
13089 * loadup.el: Add prog-mode.el.
13091 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13093 * simple.el (prog-prettify-symbols): Add version.
13094 (prog-prettify-install): Add convenience function to prettify symbols.
13096 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13097 (perl--augmented-font-lock-keywords-1)
13098 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13099 variables and use it.
13101 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13102 (cfengine3-mode): Remove unneeded variable and use it.
13104 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13105 (lisp--augmented-font-lock-keywords-1)
13106 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13107 Remove unneeded variables and use it.
13109 2013-06-05 João Távora <joaotavora@gmail.com>
13111 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13112 to point when opening the connection. (Bug#14380)
13114 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13116 * subr.el (load-history-regexp, load-history-filename-element)
13117 (eval-after-load, after-load-functions, do-after-load-evaluation)
13118 (eval-next-after-load, display-delayed-warnings)
13119 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13120 definition of save-match-data.
13121 (overriding-local-map): Remove accidental obsolescence declaration.
13123 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13125 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13127 Generalize symbol prettify support to prog-mode and implement it
13128 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13129 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13130 (prog--prettify-font-lock-compose-symbol)
13131 (prog-prettify-font-lock-symbols-keywords): New variables and
13132 functions to support symbol prettification.
13133 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13134 (lisp--augmented-font-lock-keywords-1)
13135 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13136 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13137 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13138 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13139 Implement prettify of -> => :: strings.
13140 * progmodes/perl-mode.el (perl-prettify-symbols)
13141 (perl--font-lock-compose-symbol)
13142 (perl--font-lock-symbols-keywords): Move to prog-mode.
13143 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13144 (perl-font-lock-keywords-1)
13145 (perl-font-lock-keywords-2): Remove explicit prettify support.
13146 (perl--augmented-font-lock-keywords)
13147 (perl--augmented-font-lock-keywords-1)
13148 (perl--augmented-font-lock-keywords-2, perl-mode):
13149 Implement prettify support.
13151 2013-06-05 Leo Liu <sdl.web@gmail.com>
13153 Re-implement SMIE matching block highlight using
13154 show-paren-data-function. (Bug#14395)
13155 * emacs-lisp/smie.el (smie-matching-block-highlight)
13156 (smie--highlight-matching-block-overlay)
13157 (smie--highlight-matching-block-lastpos)
13158 (smie-highlight-matching-block)
13159 (smie-highlight-matching-block-mode): Remove.
13160 (smie--matching-block-data-cache): New variable.
13161 (smie--matching-block-data): New function.
13162 (smie-setup): Use smie--matching-block-data for
13163 show-paren-data-function.
13165 * progmodes/octave.el (octave-mode-menu): Fix.
13166 (octave-find-definition): Skip garbage lines.
13168 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13170 Fix compilation error with simultaneous dynamic+lexical scoping.
13171 Add warning when a defvar appears after the first let-binding.
13172 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13173 (byte-compile-close-variables): Initialize it.
13174 (byte-compile--declare-var): New function.
13175 (byte-compile-file-form-defvar)
13176 (byte-compile-file-form-define-abbrev-table)
13177 (byte-compile-file-form-custom-declare-variable): Use it.
13178 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13179 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13180 (byte-compile-bind): Handle dynamic bindings that shadow
13182 (byte-compile-unbind): Make arg non-optional.
13183 (byte-compile-let): Simplify.
13184 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13185 (cconv--analyse-function, cconv-analyse-form): Populate it.
13186 Protect byte-compile-bound-variables to limit the scope of defvars.
13187 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13188 Remove unneeded rule for `declare'.
13190 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13191 so as to avoid depending on cl-adjoin at run-time.
13192 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13194 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13195 (macroexp--warn-and-return): Use it.
13197 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13199 * subr.el: Convert to lexical binding.
13200 (overriding-local-map): Make obsolete.
13201 (add-to-list): Doc fix. Add compiler macro.
13202 (read-key): Swap values of local maps.
13204 2013-06-05 Leo Liu <sdl.web@gmail.com>
13206 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13208 2013-06-04 Leo Liu <sdl.web@gmail.com>
13210 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13211 (compilation-auto-jump): Suppress the "Mark set" message to give
13212 way to exit message.
13214 2013-06-04 Alan Mackenzie <acm@muc.de>
13216 Remove faulty optimisation from indentation calculation.
13217 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13218 search limit based on 2000 characters back from indent-point.
13220 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13222 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13224 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13226 * emacs-lisp/lisp.el: Use lexical-binding.
13227 (lisp--local-variables-1, lisp--local-variables): New functions.
13228 (lisp--local-variables-completion-table): New var.
13229 (lisp-completion-at-point): Use it complete let-bound vars.
13231 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13232 eagerly (bug#14422).
13234 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13236 * autorevert.el (auto-revert-notify-enabled)
13237 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13238 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13239 (auto-revert-notify-handler): Handle also gfilenotify.
13241 * subr.el (file-notify-handle-event): New defun. Replacing ...
13242 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13245 2013-06-03 Juri Linkov <juri@jurta.org>
13247 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13248 `M-s h .'. (Bug#14427)
13250 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13251 command `hi-lock-face-symbol-at-point'.
13252 (hi-lock-face-symbol-at-point): New command.
13253 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13254 (hi-lock-menu): Add `highlight-symbol-at-point'.
13255 (hi-lock-mode): Doc fix.
13257 * isearch.el (isearch-forward-symbol-at-point): New command.
13258 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13259 (isearch-highlight-regexp): Add a regexp which matches
13260 words/symbols for word/symbol mode.
13262 * subr.el (find-tag-default-bounds): New function with the body
13263 mostly moved from `find-tag-default'.
13264 (find-tag-default): Move most code to `find-tag-default-bounds',
13265 call it and apply `buffer-substring-no-properties' afterwards.
13267 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13269 * eshell/em-term.el (eshell-term-initialize):
13270 Use `cl-intersection' rather than `intersection'.
13272 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13274 * vc/log-view.el: Doc fix.
13275 (log-view-mode-map): Copy keymap from `special-mode-map'.
13277 2013-06-02 Eric Ludlam <zappo@gnu.org>
13279 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13280 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13281 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13282 (eieio-unbound, eieio-default-superclass)
13283 (eieio--define-field-accessors, method-static, method-before)
13284 (method-primary, method-after, method-num-lists)
13285 (method-generic-before, method-generic-primary)
13286 (method-generic-after, method-num-slots)
13287 (eieio-specialized-key-to-generic-key)
13288 (eieio--check-type, class-v, class-p)
13289 (eieio-class-name, define-obsolete-function-alias)
13290 (eieio-class-parents-fast, eieio-class-children-fast)
13291 (same-class-fast-p, class-constructor, generic-p)
13292 (generic-primary-only-p, generic-primary-only-one-p)
13293 (class-option-assoc, class-option, eieio-object-p)
13294 (class-abstract-p, class-method-invocation-order)
13295 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13296 (eieio-class-un-autoload, eieio-defclass)
13297 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13298 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13299 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13300 (eieio-defgeneric-reset-generic-form)
13301 (eieio-defgeneric-form-primary-only)
13302 (eieio-defgeneric-reset-generic-form-primary-only)
13303 (eieio-defgeneric-form-primary-only-one)
13304 (eieio-defgeneric-reset-generic-form-primary-only-one)
13305 (eieio-unbind-method-implementations)
13306 (eieio--defmethod, eieio--typep)
13307 (eieio-perform-slot-validation, eieio-validate-slot-value)
13308 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13309 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13310 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13311 (eieio-slot-name-index, eieio-class-slot-name-index)
13312 (eieio-set-defaults, eieio-initarg-to-attribute)
13313 (eieio-attribute-to-initarg, eieio-c3-candidate)
13314 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13315 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13316 (eieio-class-precedence-list, eieio-generic-call-methodname)
13317 (eieio-generic-call-arglst, eieio-generic-call-key)
13318 (eieio-generic-call-next-method-list)
13319 (eieio-pre-method-execution-functions, eieio-generic-call)
13320 (eieio-generic-call-primary-only, eieiomt-method-list)
13321 (eieiomt-optimizing-obarray, eieiomt-install)
13322 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13323 (eieio-generic-form, eieio-defmethod, make-obsolete)
13324 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13325 (defclass): Remove `eval-and-compile' from macro.
13326 (call-next-method, shared-initialize): Instead of using
13327 `scoped-class' variable, use new eieio--scoped-class, and
13328 eieio--with-scoped-class.
13329 (initialize-instance): Rename local variable 'scoped-class' to
13330 'this-class' to remove ambiguitity from old global.
13332 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13334 (eieio--scoped-class-stack): New variable.
13335 (eieio--scoped-class): New fcn.
13336 (eieio--with-scoped-class): New scoping macro.
13337 (eieio-defclass): Use pushnew instead of add-to-list.
13338 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13339 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13340 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13341 `scoped-class' variable, use new eieio--scoped-class, and
13342 eieio--with-scoped-class.
13344 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13346 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13348 * eshell/esh-ext.el (eshell-external-command): Pass args to
13349 `eshell-find-interpreter'.
13350 (eshell-find-interpreter): Add new second parameter ARGS.
13352 * eshell/em-script.el (eshell-script-initialize): Add second arg
13353 to the function added as MATCH to `eshell-interpreter-alist'.
13355 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13356 the function added as MATCH to `eshell-interpreter-alist'.
13358 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13359 (eshell-visual-options): New defcustom.
13360 (eshell-escape-control-x): Adapt docstring.
13361 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13362 `eshell-visual-options' in addition to `eshell-visual-commands'.
13363 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13365 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13367 * progmodes/python.el (python-indent-block-enders): Add break,
13368 continue and raise keywords.
13370 2013-06-01 Glenn Morris <rgm@gnu.org>
13372 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13374 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13375 * progmodes/cc-cmds.el (delete-forward-p):
13376 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13377 * progmodes/cc-engine.el (buffer-syntactic-context):
13378 * progmodes/cc-fonts.el (face-property-instance):
13379 * progmodes/cc-mode.el (set-keymap-parents):
13380 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13381 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13382 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13383 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13384 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13386 * progmodes/cc-vars.el (other): Emacs has this widget since
13387 at least 21.1, so don't (re)define it.
13389 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13390 Replace the obsolete alias pcomplete-arg-quote-list.
13392 2013-06-01 Leo Liu <sdl.web@gmail.com>
13394 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13395 punctuation syntax.
13396 (inferior-octave-minimal-columns)
13397 (inferior-octave-last-column-width): New variables.
13398 (inferior-octave-track-window-width-change): New function.
13399 (inferior-octave-mode): Adjust column width so that Octave output,
13400 for example from 'ls', can fit into the window nicely.
13402 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13404 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13405 Highlight expansions inside regexp literals.
13407 2013-05-31 Glenn Morris <rgm@gnu.org>
13409 * obsolete/sym-comp.el (symbol-complete):
13410 Replace obsolete completion-annotate-function.
13412 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13414 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13416 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13417 New function, checks if point is inside a literal that allows
13418 expression expansion.
13419 (ruby-syntax-propertize-expansion): Use it.
13420 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13423 2013-05-30 Juri Linkov <juri@jurta.org>
13425 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13427 (isearch-invisible): New variable.
13428 (isearch-forward): Doc fix.
13429 (isearch-mode): Set `isearch-invisible'
13430 to the value of `search-invisible'.
13431 (isearch-toggle-case-fold): Doc fix.
13432 (isearch-toggle-invisible): New command.
13433 (isearch-query-replace): Let-bind `search-invisible'
13434 to the value of `isearch-invisible'.
13435 (isearch-search): Use `isearch-invisible' instead of
13436 `search-invisible'. Let-bind `search-invisible'
13437 to the value of `isearch-invisible'. (Bug#11378)
13439 2013-05-30 Juri Linkov <juri@jurta.org>
13441 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13442 call when `query-flag' is nil and `search-invisible' is non-nil.
13445 2013-05-30 Glenn Morris <rgm@gnu.org>
13447 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13449 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13450 (cc-require): Suppress spurious "noruntime" warnings.
13451 (cc-require-when-compile): Use fboundp, for sake of compiler.
13453 * progmodes/cc-mode.el: Move load of cc-vars before that of
13454 cc-langs (which in turn loads cc-vars), to quieten compiler.
13456 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13458 * paren.el: Simplify the code.
13459 (show-paren-mode): Always start the timer.
13460 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13461 (show-paren--overlay, show-paren--overlay-1): Rename from
13462 show-paren-overlay and show-paren-overlay-1, and initialize to an
13463 overlay rather than to nil.
13464 (show-paren-function): Misc cleanup and simplifications.
13466 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13468 * paren.el (show-paren-data-function): New hook.
13469 (show-paren--default): New function, extracted from show-paren-function.
13470 (show-paren-function): Use show-paren-data-function.
13472 2013-05-30 Glenn Morris <rgm@gnu.org>
13474 * ielm.el (ielm-map, ielm-complete-symbol):
13475 Use completion-at-point rather than obsolete functions.
13476 (inferior-emacs-lisp-mode): Doc fix.
13477 Set completion-at-point-functions, rather than
13478 comint-dynamic-complete-functions.
13480 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13481 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13482 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13484 * image.el (image-animated-p): Tweak definition.
13486 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13487 (rlogin-process-connection-type): Tweak default. Add set-after.
13488 (rlogin-host): Doc fix.
13489 (rlogin): Tweak prompt.
13490 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13492 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13493 * progmodes/tcl.el (inferior-tcl-mode-map):
13494 Use completion-at-point rather than obsolete alias.
13496 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13498 * minibuffer.el (read-file-name-completion-ignore-case):
13499 Move before completion--in-region, for eager macro expansion.
13501 2013-05-29 Juri Linkov <juri@jurta.org>
13503 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13504 for total count of matching lines. Add `global-matches' for total
13505 count of matches. Rename `matches' to `lines' for count of
13506 matching lines. Add `matches' for count of matches.
13507 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13508 to `prev-line' for line number of prev match endpt.
13509 Increment `matches' for every match. Print the number of
13510 matching lines in the header.
13511 (occur-context-lines): Rename `lines' to `curr-line'.
13512 Rename `prev-lines' to `prev-line'. (Bug#14017)
13514 2013-05-29 Juri Linkov <juri@jurta.org>
13516 * replace.el (perform-replace): Add `skip-read-only-count',
13517 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13518 Increment them for corresponding conditions and report the number
13519 of skipped occurrences in the final message. (Bug#11746)
13520 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13521 (replace-string, replace-regexp): Doc fix.
13523 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13525 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13527 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13528 prog-mode-map (bug#14504).
13530 2013-05-29 Leo Liu <sdl.web@gmail.com>
13532 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13533 (octave-help): Small simplification.
13535 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13536 off the highlight first.
13538 2013-05-29 Glenn Morris <rgm@gnu.org>
13540 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13541 Handle idlwave-last-system-routine-info-cons-cell being nil.
13543 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13544 (idlwave-write-paths): Simplify via with-temp-buffer.
13546 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13547 * emulation/cua-rect.el: Also load cua-base at run time.
13549 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13550 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13551 (cperl-imenu-on-info): Require imenu.
13553 2013-05-28 Alan Mackenzie <acm@muc.de>
13555 Handle "capitalised keywords" correctly.
13556 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13558 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13560 * eshell/em-unix.el: Add -r option to cp.
13562 2013-05-28 Glenn Morris <rgm@gnu.org>
13564 * vc/vc-arch.el (vc-exec-after): Declare.
13565 (vc-switches): Autoload.
13566 * vc/vc-bzr.el: No need to require vc when compiling.
13567 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13568 (vc-resynch-buffer, vc-dir-refresh): Declare.
13569 (vc-setup-buffer, vc-switches): Autoload.
13570 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13571 (vc-resynch-buffer): Declare.
13572 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13573 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13574 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13575 (grep-read-regexp, grep-read-files, grep-expand-template)
13576 (vc-dir-refresh): Declare.
13577 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13578 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13579 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13580 * vc/vc-mtn.el (vc-exec-after): Declare.
13581 (vc-switches): Autoload.
13582 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13583 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13584 (vc-file-tree-walk): Declare.
13585 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13586 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13587 (vc-tag-precondition, vc-rename-master): Autoload.
13588 * vc/vc-svn.el (vc-exec-after): Declare.
13589 (vc-switches, vc-setup-buffer): Autoload.
13590 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13592 (vc-resynch-buffer): Declare.
13594 * obsolete/fast-lock.el (byte-compile-warnings):
13595 Don't warn about obsolete features in this obsolete file.
13597 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13598 Move definition before use.
13600 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13601 (dun-unix-verbs): Remove dun-zippy.
13602 (dun-zippy): Remove function.
13604 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13606 2013-05-27 Juri Linkov <juri@jurta.org>
13608 * replace.el (replace-search): New function with code moved out
13609 from `perform-replace'.
13610 (replace-highlight, replace-dehighlight): Move function definitions
13611 up closer to `replace-search'. (Bug#11746)
13613 2013-05-27 Juri Linkov <juri@jurta.org>
13615 * replace.el (perform-replace): Ignore invisible matches.
13616 In addition to checking `query-replace-skip-read-only', also
13617 filter out matches by calling `run-hook-with-args-until-failure'
13618 on `isearch-filter-predicates', and also check `search-invisible'
13619 for t or call `isearch-range-invisible'.
13620 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13622 2013-05-27 Juri Linkov <juri@jurta.org>
13624 * isearch.el (isearch-filter-predicates): Rename from
13625 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13626 (isearch-message-prefix): Display text from the property
13627 `isearch-message-prefix' of the currently active filters.
13628 (isearch-search): Don't compare `isearch-filter-predicate' with
13629 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13630 on `isearch-filter-predicates'. Also check `search-invisible' for t
13631 or call `isearch-range-invisible'.
13632 (isearch-filter-visible): Make obsolete.
13633 (isearch-lazy-highlight-search):
13634 Call `run-hook-with-args-until-failure' on
13635 `isearch-filter-predicates' and use `isearch-range-invisible'.
13637 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13638 `isearch-filter-predicates' instead of `funcall'ing
13639 `isearch-filter-predicate'.
13640 (Info-mode): Set `Info-isearch-filter' to
13641 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13643 * dired-aux.el (dired-isearch-filter-predicate-orig):
13645 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13646 (dired-isearch-filenames-end): Add and remove
13647 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13648 instead of changing the value of `isearch-filter-predicate'.
13649 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13650 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13651 Put property `isearch-message-prefix' to "filename " on
13652 `dired-isearch-filter-filenames'.
13654 * wdired.el (wdired-change-to-wdired-mode):
13655 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13656 locally instead of changing `isearch-filter-predicate'.
13657 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13659 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13661 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13662 return the commit hash (Bug#14459). Also set the
13663 `vc-git-detached' property.
13664 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13665 (vc-git-mode-line-string): Use the same help-echo format whether
13666 in detached mode or not, because we know the actual revision now.
13667 When in detached mode, shorten the revision to 7 chars.
13669 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13671 * emacs-lisp/easy-mmode.el (define-minor-mode):
13672 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13673 mode hook and provide a docstring.
13675 2013-05-27 Alan Mackenzie <acm@muc.de>
13677 Remove spurious syntax-table text properties inserted by C-y.
13678 * progmodes/cc-mode.el (c-after-change): Also clear hard
13679 syntax-table property with value nil.
13681 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13683 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13684 when reading the events; the buffer layout shall not be changed.
13686 2013-05-27 Leo Liu <sdl.web@gmail.com>
13688 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13690 (inferior-octave-directory-tracker): Automatically re-sync
13692 (octave-help): Improve handling of 'See also'.
13694 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13696 * doc-view.el: Minor naming convention tweaks.
13697 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13699 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13700 even if there's no `display' property yet (bug#14435).
13702 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13704 * subr.el (unmsys--file-name): Rename from reveal-filename.
13706 * Makefile.in (custom-deps, finder-data, autoloads)
13707 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13708 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13709 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13711 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13713 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13714 error-completion on the first 2 args of condition-case (bug#14446).
13717 2013-05-25 Leo Liu <sdl.web@gmail.com>
13719 * comint.el (comint-previous-matching-input): Do not flood the
13720 *Messages* buffer with trivial messages.
13722 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13724 * progmodes/flymake.el (flymake-nop): Don't return a string.
13725 (flymake-set-at): Fix typo.
13727 * simple.el (read--expression): New function, extracted from
13728 eval-expression. Set completion-at-point-functions (bug#14465).
13729 (eval-expression, eval-minibuffer): Use it.
13731 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13733 * progmodes/flymake.el (flymake-save-buffer-in-file)
13734 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13735 (flymake-selected-frame, flymake-log, flymake-ins-after)
13736 (flymake-set-at, flymake-get-buildfile-from-cache)
13737 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13738 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13739 Refine the doc string.
13740 (flymake-get-file-name-mode-and-masks): Reformat.
13741 (flymake-get-real-file-name-function): Fix a minor bug.
13743 2013-05-24 Juri Linkov <juri@jurta.org>
13745 * progmodes/grep.el (grep-mode-font-lock-keywords):
13746 Support =linenumber= format used by git-grep for lines with
13747 function names. (Bug#13549)
13749 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13751 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13752 0 after a semi-colon; it works better for smie-auto-fill.
13753 (octave--indent-new-comment-line): New function.
13754 (octave-indent-new-comment-line): Use it (indirectly).
13755 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13756 modify comment-line-break-function.
13758 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13759 (smie-setup): Use add-function to set it.
13761 2013-05-24 Sam Steingold <sds@gnu.org>
13763 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13764 argument (before the `interactive' argument).
13766 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13768 * image-mode.el (image-mode-winprops): Add winprops to
13769 image-mode-winprops-alist before running
13770 image-mode-new-window-functions.
13771 * doc-view.el (doc-view-new-window-function): Don't delay
13772 doc-view-goto-page via timers (bug#14435).
13774 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13776 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13777 (doc-view-desktop-save-buffer): New function.
13778 (doc-view-restore-desktop-buffer): New function.
13779 (desktop-buffer-mode-handlers):
13780 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13782 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13783 `desktop-save-buffer' function.
13785 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13787 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13788 (tramp-gvfs-file-name-handler): Raise a user error when
13789 `tramp-gvfs-enabled' is nil.
13790 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13791 Do not raise a user error when loading package. (Bug#14447)
13793 * net/xesam.el: Move to obsolete/.
13795 2013-05-24 Glenn Morris <rgm@gnu.org>
13797 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13799 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13801 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13802 (Info-find-node, Man-getpage-in-background): Declare.
13804 * mail/unrmail.el (unrmail):
13805 Replace obsolete detect-coding-with-priority.
13807 * net/socks.el (socks-split-string): Use this rather than split-string.
13808 (socks-nslookup-host): Update for above change.
13809 (dynamic-choice, s5-dynamic-choice-match)
13810 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13811 Comment out unused code.
13813 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13814 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13815 (gud-tooltip-echo-area): Make obsolete.
13816 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13818 * progmodes/js.el (js--optimize-arglist): Declare.
13820 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13822 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13823 (ediff-window-C): Declare.
13825 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13826 Tweak requires to silence compiler.
13828 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13829 (he-search-string, he-tried-table, he-expand-list)
13830 (he-init-string, he-string-member, he-substitute-string)
13831 (he-reset-string): Declare.
13833 * obsolete/options.el (list-options): Use custom-variable-p,
13834 rather than obsolete alias.
13836 2013-05-23 Sam Steingold <sds@gnu.org>
13838 * simple.el (shell-command-on-region): Pass the `replace' argument
13839 down to `call-process-region' to comply with the doc as reported on
13840 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13842 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13844 * emacs-lisp/smie.el (smie-indent-forward-token)
13845 (smie-indent-backward-token): Handle string tokens (bug#14381).
13847 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13849 * ielm.el (ielm-menu): New menu.
13850 (inferior-emacs-lisp-mode): Set comment-start.
13852 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13854 * textmodes/reftex.el (reftex-ref-style-toggle):
13855 Fix deactivate action.
13857 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13858 Add cleveref macros.
13860 * textmodes/reftex-parse.el
13861 (reftex-locate-bibliography-files): Accept options for
13862 bibliography commands.
13863 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13864 Add addbibresource. Basic Biblatex support.
13866 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13868 * net/tramp-gvfs.el (top):
13869 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13870 when loading package. (Bug#14447)
13872 2013-05-23 Glenn Morris <rgm@gnu.org>
13874 * progmodes/js.el: No need to load comint when compiling.
13875 (ring-insert, comint-send-string, comint-send-input)
13876 (comint-last-input-end, ido-chop): Declare.
13878 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13879 * vc/ediff-mult.el: Adjust requires.
13880 (ediff-directories-internal, ediff-directory-revisions-internal)
13881 (ediff-patch-file-internal): Declare.
13882 * vc/ediff-ptch.el: Adjust requires.
13883 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13884 (ediff-find-file): Autoload.
13885 * vc/ediff-util.el: No need to load ediff when compiling.
13886 (ediff-regions-internal): Declare.
13887 * vc/ediff-wind.el: Adjust requires.
13888 (ediff-compute-toolbar-width): Define when compiling.
13889 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13890 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13891 (dired-get-filename, dired-get-marked-files)
13892 (ediff-last-dir-patch, ediff-patch-default-directory)
13893 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13894 (ediff-patch-buffer-internal): Declare.
13896 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13897 (ispell-process, ispell-buffer-local-words, lm-summary)
13898 (lm-section-start, lm-section-end): Declare.
13899 (checkdoc-ispell-init): Simplify.
13901 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13902 (he-string-member, he-reset-string, he-substitute-string): Declare.
13904 * eshell/em-ls.el: Adjust requires.
13905 (eshell-glob-regexp): Declare.
13906 * eshell/em-tramp.el: Adjust requires.
13907 (eshell-parse-command): Autoload.
13908 * eshell/em-xtra.el: Adjust requires.
13909 (eshell-parse-command): Autoload.
13910 * eshell/esh-ext.el: Adjust requires.
13911 (eshell-parse-command, eshell-close-handles): Autoload.
13912 * eshell/esh-io.el: Adjust requires.
13913 (eshell-output-filter): Autoload.
13914 * eshell/esh-util.el: No need to load tramp when compiling.
13915 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13917 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13918 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13919 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13920 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13921 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13922 * eshell/esh-opt.el, eshell/esh-proc.el:
13923 * eshell/esh-var.el: Adjust requires.
13924 * eshell/eshell.el: Do not require esh-util twice.
13925 (eshell-add-input-to-history): Declare.
13926 (eshell-command): Check history module is active before using it.
13928 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13930 2013-05-22 Leo Liu <sdl.web@gmail.com>
13932 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13934 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13936 * autorevert.el (auto-revert-notify-add-watch)
13937 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13938 it indicates changes in file modification time.
13940 2013-05-22 Glenn Morris <rgm@gnu.org>
13942 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13943 Always delete the autoloaded function from the noruntime and
13944 unresolved functions lists.
13946 * allout.el: No need to load epa, epg, overlay when compiling.
13947 (epg-context-set-passphrase-callback, epg-list-keys)
13948 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13949 (epg-key-user-id-list): Declare.
13951 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13952 (viper-set-parsing-style-toggling-macro)
13953 (viper-set-emacs-state-searchstyle-macros):
13954 Use called-interactively-p on Emacs.
13955 (viper-looking-back): Make it an obsolete alias. Update callers.
13956 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13957 Use looking-back rather than viper-looking-back.
13958 (viper-tmp-insert-at-eob, viper-enlarge-region)
13959 (viper-read-string-with-history, viper-register-to-point)
13960 (viper-append-to-register, viper-change-state-to-vi)
13961 (viper-backward-char-carefully, viper-forward-char-carefully)
13962 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13963 (viper-change-state-to-emacs): Declare.
13964 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13965 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13966 * emulation/viper-mous.el: Do not load viper-cmd.
13967 (viper-backward-char-carefully, viper-forward-char-carefully)
13968 (viper-forward-word, viper-adjust-window): Declare.
13970 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13972 * progmodes/idlw-help.el (idlwave-help-fontify):
13973 Use called-interactively-p.
13975 * term/w32console.el (w32-get-console-codepage)
13976 (w32-get-console-output-codepage): Declare.
13978 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13979 Remove unnecessary declarations.
13980 (dframe-message): Doc fix.
13982 * info.el (dframe-select-attached-frame, dframe-current-frame):
13985 * speedbar.el (speedbar-message): Make it an obsolete alias.
13986 Update all callers.
13987 (speedbar-with-attached-buffer)
13988 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13989 (speedbar-with-writable): Use backquote.
13990 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13991 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13992 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13993 rather than speedbar- aliases.
13994 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13995 (speedbar-make-specialized-keymap, speedbar-insert-button)
13996 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13997 (speedbar-do-function-pointer): Declare.
13998 (rmail-speedbar-button, rmail-speedbar-find-file)
13999 (rmail-speedbar-move-message):
14000 Use dframe-with-attached-buffer rather than speedbar- alias.
14001 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14002 (dframe-message, speedbar-make-specialized-keymap)
14003 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14004 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14005 (speedbar-insert-button, dframe-select-attached-frame)
14006 (dframe-maybee-jump-to-attached-frame)
14007 (speedbar-change-initial-expansion-list)
14008 (speedbar-previously-used-expansion-list-name): Declare.
14009 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14010 Use dframe-message, dframe-with-attached-buffer rather than
14012 (gud-sentinel): Silence compiler.
14013 * progmodes/vhdl-mode.el (speedbar-refresh)
14014 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14015 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14016 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14017 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14018 (speedbar-file-lists, speedbar-make-tag-line)
14019 (speedbar-line-directory, speedbar-goto-this-file)
14020 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14021 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14022 (speedbar-make-button, speedbar-reset-scanners)
14023 (speedbar-files-item-info, speedbar-line-text)
14024 (speedbar-find-file-in-frame, speedbar-set-timer)
14025 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14026 (speedbar-with-writable): Do not (re)define it.
14027 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14028 rather than speedbar- alias.
14030 2013-05-21 Leo Liu <sdl.web@gmail.com>
14032 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14034 (octave-mode): Tweak fill-nobreak-predicate.
14035 (inferior-octave-startup): Check process to avoid infinite loop.
14036 (inferior-octave): Pop to buffer first to show abornmal process
14039 2013-05-21 Glenn Morris <rgm@gnu.org>
14041 * printing.el (pr-menu-bar): Define when compiling.
14043 2013-05-21 Leo Liu <sdl.web@gmail.com>
14045 * progmodes/octave.el (octave-auto-fill): Remove.
14046 (octave-indent-new-comment-line): Improve.
14047 (octave-mode): Use auto fill mode through
14048 comment-line-break-function and fill-nobreak-predicate.
14049 (octave-goto-function-definition): Support DEFUN_DLD.
14050 (octave-beginning-of-defun): Small tweak.
14051 (octave-help): Show parent directory.
14053 2013-05-21 Glenn Morris <rgm@gnu.org>
14055 * files.el (dired-unmark):
14056 * progmodes/gud.el (gdb-input): Update declarations.
14058 * calculator.el (electric, ehelp): No need to load when compiling.
14059 (Electric-command-loop, electric-describe-mode): Declare.
14061 * doc-view.el (doc-view-current-converter-processes): Move before use.
14063 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14064 Move MODE-set-explicitly definition before use.
14066 * international/mule-diag.el (mule-diag):
14067 Don't use obsolete window-system-version.
14069 * mail/feedmail.el (smtpmail): No need to load when compiling.
14070 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14072 * mail/mail-utils.el (rfc822): No need to load when compiling.
14073 (rfc822-addresses): Autoload it.
14074 (mail-strip-quoted-names): Trivial simplification.
14076 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14077 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14079 * net/snmp-mode.el (tempo): Don't duplicate requires.
14081 * progmodes/prolog.el (info): No need to load when compiling.
14082 (comint): Require before shell requires it.
14083 (Info-goto-node): Autoload it.
14084 (Info-follow-nearest-node): Declare.
14085 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14087 * textmodes/artist.el (picture-mode-exit): Declare.
14089 * textmodes/reftex-parse.el (reftex-parse-from-file):
14090 Trivial rewrite so the compiler can parse it better.
14092 2013-05-20 Leo Liu <sdl.web@gmail.com>
14094 * progmodes/octave.el (octave-help-mode-map)
14095 (octave-help-mode-finish-hook): New variables.
14096 (octave-help-mode, octave-help-mode-finish): New functions.
14097 (octave-help): Use octave-help-mode.
14099 2013-05-20 Glenn Morris <rgm@gnu.org>
14101 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14103 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14105 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14106 start at point, so that expansion starting right after opening
14107 slash in a regexp is recognized.
14108 (ruby-syntax-before-regexp-re): New defvar, extracted from
14109 ruby-syntax-propertize-function. Since the value of this regexp
14110 is looked up at runtime now, we should be able to turn
14111 `ruby-syntax-methods-before-regexp' into a defcustom later.
14112 (ruby-syntax-propertize-function): Split regexp matching into two
14113 parts, for opening and closing slashes. That allows us to skip
14114 over string interpolations and support multiline regexps.
14115 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14116 for them, which calls `ruby-syntax-propertize-expansion'.
14117 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14118 call to `ruby-syntax-propertize-function'.
14119 (ruby-syntax-propertize-expansion): Extracted from
14120 `ruby-syntax-propertize-expansions'. Handles one expansion.
14121 (ruby-syntax-propertize-percent-literal): Leave point right after
14122 the percent symbol, so that the expression expansion rule can
14123 propertize the contents.
14124 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14126 (ruby-syntax-propertize-expansions): Remove.
14128 2013-05-18 Juri Linkov <juri@jurta.org>
14130 * man.el (Man-default-man-entry): Remove `-' from the end
14131 of the default value. (Bug#14400)
14133 2013-05-18 Glenn Morris <rgm@gnu.org>
14135 * comint.el (comint-password-prompt-regexp):
14136 Allow "password for XXX" where XXX contains colons (eg https://...).
14138 2013-05-18 Leo Liu <sdl.web@gmail.com>
14140 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14141 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14142 (octave-source-directories): Don't check process.
14143 (octave-source-directories, octave-find-definition): Doc fix.
14145 2013-05-18 Glenn Morris <rgm@gnu.org>
14147 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14148 Remove backspace/delete bindings. (Bug#14392)
14150 * cus-dep.el (custom-make-dependencies): Sort the output.
14151 (custom-versions-load-alist): Convert comment to doc.
14153 2013-05-17 Leo Liu <sdl.web@gmail.com>
14155 * newcomment.el (comment-search-backward): Stricter in finding
14156 comment start. (Bug#14303)
14158 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14159 (octave-comment-start-skip): Properly anchored.
14161 2013-05-17 Leo Liu <sdl.web@gmail.com>
14163 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14164 Clean up when turned off. (Bug#14395)
14165 (smie--highlight-matching-block-overlay): No longer buffer-local.
14166 (smie-highlight-matching-block): Adjust.
14168 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14170 Doc string fix for "nanoseconds" (Bug#14406).
14171 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14172 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14174 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14176 * calc/calc-units.el (math-extract-units): Preserve powers
14179 2013-05-17 Leo Liu <sdl.web@gmail.com>
14181 * subr.el (delete-consecutive-dups): New function.
14182 * ido.el (ido-set-matches-1): Use it.
14183 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14184 * ido.el (ido-remove-consecutive-dups): Remove.
14186 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14188 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14189 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14190 regexp-opt's `words'.
14192 2013-05-16 Leo Liu <sdl.web@gmail.com>
14194 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14195 (smie--highlight-matching-block-overlay)
14196 (smie--highlight-matching-block-lastpos)
14197 (smie--highlight-matching-block-timer): New variables.
14198 (smie-highlight-matching-block): New function.
14199 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14200 (smie-setup): Conditionally enable smie-blink-matching-open.
14202 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14204 Sync with upstream verilog-mode r840.
14205 * progmodes/verilog-mode.el (verilog-mode-version)
14206 (verilog-mode-release-date): Update.
14207 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14208 (verilog-sig-tieoff): Fix string error on
14209 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14210 (verilog-read-decls): Fix parameters confusing
14211 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14213 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14215 * subr.el (reveal-filename): New function.
14217 * loadup.el: Compute Emacs executable versions on MS-Windows,
14218 where executables have the .exe extension. Add a hard link
14219 emacs-XX.YY.ZZ.exe on MS-Windows.
14221 * Makefile.in (XARGS_LIMIT): New variable.
14222 (custom-deps, finder-data, autoloads)
14223 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14224 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14225 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14226 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14228 2013-05-16 Leo Liu <sdl.web@gmail.com>
14230 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14231 (octave-mode-menu, octave-mode-map): Remove its uses.
14233 2013-05-16 Reto Zimmermann <reto@gnu.org>
14235 Sync with upstream vhdl mode v3.34.2.
14236 * progmodes/vhdl-mode.el: Use `push' throughout.
14237 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14238 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14239 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14240 (vhdl-actual-generic-name): New option to derive actual generic name.
14241 (vhdl-port-paste-signals): Replace formal by actual generics.
14242 (vhdl-beautify): New name for old group vhdl-align. Update users.
14243 (vhdl-beautify-options): New option.
14244 (vhdl-last-input-event): New compat alias. Use throughout.
14245 (vhdl-goto-line): Replace user level function `goto-line'.
14246 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14247 vhdl-fix-statement-buffer.
14248 (vhdl-create-mode-menu): Add some entries.
14249 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14250 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14251 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14252 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14253 to force statements on one line.
14254 (vhdl-remove-trailing-spaces-region):
14255 New, split from vhdl-remove-trailing-spaces.
14256 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14257 Respect vhdl-beautify-options.
14258 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14259 (vhdl-update-sensitivity-list): Not add with index if exists without.
14260 Not include array index with signal. Ignore keywords in comments.
14261 (vhdl-get-visible-signals): Regexp tweaks.
14262 (vhdl-template-component-inst): Handle empty library.
14263 (vhdl-template-type): Add template for 'enum' type.
14264 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14265 Use vhdl-replace-string.
14266 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14267 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14268 (vhdl-speedbar-initialize): Update for above name change.
14269 (vhdl-compose-wire-components): Fix in handling of constants.
14270 (vhdl-error-regexp-emacs-alist): New variable.
14271 (vhdl-error-regexp-add-emacs): New function;
14272 adds support for new compile.el (Emacs 22+)
14273 (vhdl-generate-makefile-1): Change target order for single lib. units.
14274 Allow use of absolute file names.
14276 2013-05-16 Leo Liu <sdl.web@gmail.com>
14278 * simple.el (prog-indent-sexp): Indent enclosing defun.
14280 2013-05-15 Glenn Morris <rgm@gnu.org>
14282 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14283 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14284 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14285 (whitespace-highlight): Move to whitespace group.
14287 * comint.el (comint-source):
14288 * pcmpl-linux.el (pcmpl-linux):
14289 * shell.el (shell-faces):
14290 * eshell/esh-opt.el (eshell-opt):
14291 * international/ccl.el (ccl): Remove empty custom groups.
14293 * completion.el (dynamic-completion-mode):
14294 * jit-lock.el (jit-lock-debug-mode):
14295 * minibuffer.el (completion-in-region-mode):
14296 * type-break.el (type-break-mode-line-message-mode)
14297 (type-break-query-mode):
14298 * emulation/tpu-edt.el (tpu-edt-mode):
14299 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14300 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14301 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14303 * term/xterm.el (xterm): Change parent group to terminals.
14305 * master.el (master): Remove empty custom group.
14306 (master-mode): Remove unused :group argument.
14307 * textmodes/refill.el (refill): Remove empty custom group.
14308 (refill-mode): Remove unused :group argument.
14310 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14312 * cus-dep.el: Provide a feature.
14313 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14314 Don't mistakenly ignore files whose basenames match a basename
14315 from preloaded-file-list (eg cedet/ede/simple.el).
14316 Add a fallback method for getting :group.
14318 2013-05-15 Juri Linkov <juri@jurta.org>
14320 * isearch.el (isearch-char-by-name): Rename from
14321 `isearch-insert-char-by-name'. Doc fix.
14322 (isearch-forward): Mention `isearch-char-by-name' in
14323 the docstring. (Bug#13348)
14325 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14326 `exit-minibuffer' instead of
14327 `isearch-nonincremental-exit-minibuffer'.
14328 (isearch-edit-string): Remove mention of
14329 `isearch-nonincremental-exit-minibuffer' from docstring.
14330 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14331 (isearch-forward-exit-minibuffer)
14332 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14334 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14336 * loadup.el: Just use unversioned DOC.
14338 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14339 literals as extending to EOB.
14340 (nxml-last-fontify-end): Remove unused variable.
14341 (nxml-after-change1): Use with-silent-modifications.
14342 (nxml-extend-after-change-region): Simplify.
14343 (nxml-extend-after-change-region1): Remove function.
14344 (nxml-after-change1): Don't adjust for dependent regions.
14345 (nxml-fontify-matcher): Simplify.
14346 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14347 (xmltok-add-dependent): Remove function.
14348 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14349 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14350 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14351 unclosed <[[, <?, comment, and other literals as extending to EOB.
14352 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14353 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14355 (rng-do-some-validation-1): Don't mark dependent regions.
14356 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14357 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14358 (nxml-clear-dependent-regions): Remove functions.
14359 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14360 (nxml-ensure-scan-up-to-date):
14361 Don't clear&mark dependent regions.
14363 2013-05-15 Leo Liu <sdl.web@gmail.com>
14365 * progmodes/octave.el (octave-goto-function-definition):
14366 Improve and fix callers.
14368 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14370 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14371 the setter (bug#14387).
14373 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14374 surrounding group (bug#14402).
14376 2013-05-14 Juri Linkov <juri@jurta.org>
14378 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14381 2013-05-14 Glenn Morris <rgm@gnu.org>
14383 * progmodes/f90.el (f90-imenu-generic-expression):
14384 Fix typo in 2013-05-08 change. (Bug#14402)
14386 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14388 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14389 Remove signals for which replies are never received.
14391 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14393 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14394 (gdb-handler-alist, gdb-handler-number): Remove variables.
14395 (gdb-handler-list): New variable.
14396 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14397 (gdb-pending-handler-p, gdb-handle-reply)
14398 (gdb-remove-all-pending-triggers): New functions.
14399 (gdb-discard-unordered-replies): New defcustom.
14400 (gdb-handler): New defstruct.
14401 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14402 instead of gdb-pending-triggers. Update docstring.
14403 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14404 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14405 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14406 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14407 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14408 (gdb-frame-handler): Pending triggers are now automatically managed.
14409 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14411 (gdb-input): Automatically handles pending triggers. Update docstring.
14412 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14413 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14415 (gdb-done-or-error): Now use gdb-handle-reply.
14417 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14419 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14422 2013-05-14 Glenn Morris <rgm@gnu.org>
14424 * subr.el (user-emacs-directory-warning): New option.
14425 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14427 2013-05-14 Leo Liu <sdl.web@gmail.com>
14429 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14431 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14432 (octave-font-lock-texinfo-comment): Fix invalid search bound
14433 error: wrong side of point.
14435 2013-05-14 Glenn Morris <rgm@gnu.org>
14437 * progmodes/flymake.el (flymake-xml-program): New option.
14438 (flymake-xml-init): Use it.
14440 * term/xterm.el: Provide a feature.
14442 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14444 2013-05-13 Glenn Morris <rgm@gnu.org>
14446 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14447 Add compat aliases as a hack workaround. (Bug#14384)
14449 2013-05-13 Leo Liu <sdl.web@gmail.com>
14451 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14453 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14455 (octave-comment-start-skip): Include %!.
14456 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14458 2013-05-12 Leo Liu <sdl.web@gmail.com>
14460 * progmodes/octave.el (inferior-octave-startup): Store the value
14461 of __octave_srcdir__ for octave-source-directories.
14462 (inferior-octave-check-process): New function refactored out of
14463 inferior-octave-send-list-and-digest.
14464 (octave-source-directories)
14465 (octave-find-definition-filename-function): New variables.
14466 (octave-source-directories)
14467 (octave-find-definition-default-filename): New functions.
14468 (octave-find-definition): Improve to find functions implemented in C++.
14470 2013-05-12 Glenn Morris <rgm@gnu.org>
14472 * calendar/diary-lib.el (diary-outlook-format-1):
14473 Don't include dayname in the output. (Bug#14349)
14475 2013-05-11 Glenn Morris <rgm@gnu.org>
14477 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14479 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14480 Treat cc-provide like provide.
14482 2013-05-11 Kevin Ryde <user42@zip.com.au>
14484 * cus-dep.el (custom-make-dependencies):
14485 Use generated-autoload-load-name for the sake of files such
14486 such cedet/semantic/bovine/c.el, where the base file name
14487 is not in load-path. (Bug#5277)
14489 2013-05-11 Glenn Morris <rgm@gnu.org>
14491 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14494 2013-05-11 Leo Liu <sdl.web@gmail.com>
14496 * progmodes/octave.el (octave-indent-comment): Improve.
14497 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14498 (octave-eldoc-function-signatures, octave-eldoc-function):
14500 (octave-mode, inferior-octave-mode): Add eldoc support.
14502 2013-05-11 Richard Stallman <rms@gnu.org>
14504 * epa.el (epa-decrypt-file): Take output file name as argument
14505 and read it using `interactive'.
14507 2013-05-11 Leo Liu <sdl.web@gmail.com>
14509 * progmodes/octave.el (octave-beginning-of-line)
14510 (octave-end-of-line): Check before using up-list because it jumps
14511 out of more syntactic contructs since moving to smie.
14512 (octave-indent-comment): New function.
14513 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14514 (octave-begin-keywords, octave-end-keywords)
14515 (octave-reserved-words, octave-smie-bnf-table)
14516 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14518 2013-05-11 Glenn Morris <rgm@gnu.org>
14520 * faces.el (internal-face-x-get-resource):
14521 * frame.el (ns-display-monitor-attributes-list):
14522 * calc/calc-aent.el (math-to-radians-2):
14523 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14526 * calc/calc-menu.el: Make it loadable in isolation.
14528 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14529 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14530 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14531 (eudc-bbdb-query-internal): Require 'bbdb.
14533 * lpr.el (lpr-headers-switches):
14534 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14536 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14538 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14540 * term.el (term-set-escape-char): Make it idempotent.
14542 2013-05-10 Leo Liu <sdl.web@gmail.com>
14544 * progmodes/octave.el (inferior-octave-completion-table):
14545 No longer a function and all uses changed. Use cache to speed up
14546 completion due to bug#11906.
14547 (octave-beginning-of-defun): Re-write to be more general.
14549 2013-05-10 Glenn Morris <rgm@gnu.org>
14551 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14553 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14555 * comint.el (comint-redirect-send-command-to-process): Use :around
14556 rather than :override for comint-redirect-filter.
14557 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14558 Call it instead of comint-redirect-original-filter-function (which
14559 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14561 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14563 * frame.el (display-monitor-attributes-list): Add NS case.
14564 (ns-display-monitor-attributes-list): Declare.
14566 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14568 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14570 2013-05-09 Glenn Morris <rgm@gnu.org>
14572 * international/fontset.el (vertical-centering-font-regexp):
14573 Set standard-value.
14575 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14577 * bookmark.el (bookmark-search-delay):
14578 * cus-start.el (vertical-centering-font-regexp):
14579 * ps-mule.el (ps-mule-font-info-database-default):
14580 * ps-print.el (ps-default-fg, ps-default-bg):
14581 * type-break.el (type-break-good-break-interval):
14582 * whitespace.el (whitespace-indentation-regexp)
14583 (whitespace-space-after-tab-regexp):
14584 * emacs-lisp/testcover.el (testcover-1value-functions)
14585 (testcover-noreturn-functions, testcover-progn-functions)
14586 (testcover-prog1-functions):
14587 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14588 * eshell/em-glob.el (eshell-glob-translate-alist):
14589 * play/tetris.el (tetris-tty-colors):
14590 * progmodes/cpp.el (cpp-face-default-list):
14591 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14592 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14593 (idlwave-help-browser-generic-args):
14594 * progmodes/make-mode.el (makefile-special-targets-list):
14595 * progmodes/python.el (python-shell-virtualenv-path):
14596 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14597 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14598 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14599 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14600 * textmodes/reftex-vars.el (reftex-format-label-function):
14601 * textmodes/remember.el (remember-diary-file): Fix custom types.
14603 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14606 2013-05-09 Leo Liu <sdl.web@gmail.com>
14608 * progmodes/octave.el (inferior-octave-completion-at-point):
14609 Restore file completion. (Bug#14300)
14610 (inferior-octave-startup): Fix incorrect highlighting for the
14613 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14615 * progmodes/ruby-mode.el: First cut at SMIE support.
14616 (ruby-use-smie): New var.
14617 (ruby-smie-grammar): New constant.
14618 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14619 (ruby-smie--forward-token, ruby-smie--backward-token)
14620 (ruby-smie-rules): New functions.
14621 (ruby-mode-variables): Setup SMIE if applicable.
14623 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14625 * simple.el (line-move-visual): Signal beginning/end of buffer
14626 only if vertical-motion moved less than it was requested. Avoids
14627 silly incorrect error messages when there are display strings with
14628 multiple newlines at EOL.
14630 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14632 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14633 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14634 (prolog-char-quote-workaround):
14635 * progmodes/cperl-mode.el (cperl-under-as-char):
14636 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14638 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14640 (vhdl-mode-syntax-table-init): Remove.
14642 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14645 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14647 (ld-script-font-lock-keywords):
14648 Change regexps to use things like \_< and \_>.
14650 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14651 Change all regexps to use things like \_< and \_>.
14653 * progmodes/autoconf.el (autoconf-definition-regexp)
14654 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14655 Handle a _ with symbol syntax.
14656 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14658 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14659 Consolidate declaration.
14660 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14662 (ada-create-syntax-table): Remove.
14663 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14664 already has the right syntax nowadays.
14665 (ada-goto-next-word): Don't change the syntax of "_".
14667 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14670 2013-05-08 Sam Steingold <sds@gnu.org>
14672 * thingatpt.el (thing-at-point): Accept optional second argument
14673 NO-PROPERTIES to strip the text properties from the return value.
14674 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14675 to `thing-at-point' instead of stripping the properties ourselves.
14676 Also, when `thing-at-point' fails to find a url, prepend "http://"
14677 to the filename at point on the assumption that the user is
14678 pointing at something like gnu.org/gnu.
14680 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14682 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14683 * faces.el (crm-separator):
14684 Silence byte-compiler.
14686 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14687 (tool-bar-map): Remove unneeded defvars.
14689 2013-05-08 Leo Liu <sdl.web@gmail.com>
14691 Re-work a fix for bug#10994 based on Le Wang's patch.
14692 * ido.el (ido-remove-consecutive-dups): New helper.
14693 (ido-completing-read): Use it.
14694 (ido-chop): Revert fix for bug#10994.
14696 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14698 * cus-edit.el (custom-save-variables):
14699 Pretty-print long values. (Bug#14187)
14701 2013-05-08 Glenn Morris <rgm@gnu.org>
14703 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14704 (m4-mode-syntax-table): Init in the defvar.
14705 (m4-mode-abbrev-table): Let define-derived-mode define it.
14707 2013-05-08 Tom Tromey <tromey@redhat.com>
14709 * progmodes/m4-mode.el (m4-mode-syntax-table):
14710 Do not treat "_" as word constituent. (Bug#14167)
14712 2013-05-07 Glenn Morris <rgm@gnu.org>
14714 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14715 Remove explicit eshell-isearch-cancel-map.
14717 * progmodes/f90.el (f90-smart-end-names): New option.
14718 (f90-smart-end): Doc fix.
14719 (f90-end-block-optional-name): New constant.
14720 (f90-block-match): Respect f90-smart-end-names.
14722 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14724 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14725 about implicit semi-colons (bug#14218).
14727 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14729 * frame.el (display-monitor-attributes-list)
14730 (frame-monitor-attributes): New functions.
14732 2013-05-06 Leo Liu <sdl.web@gmail.com>
14734 * progmodes/octave.el (octave-syntax-propertize-function): Change
14735 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14736 (octave-font-lock-keywords): Use octave-operator-regexp.
14737 (octave-completion-at-point): Rename from
14738 octave-completion-at-point-function.
14739 (inferior-octave-directory-tracker): Robustify.
14740 (octave-text-functions): Remove and fix its uses. No such things
14743 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14745 * emacs-lisp/trace.el (trace--display-buffer): New function.
14746 (trace-make-advice): Use it.
14748 2013-05-06 Juri Linkov <juri@jurta.org>
14750 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14751 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14753 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14754 in the help string. (Bug#12985)
14756 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14758 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14760 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14762 * progmodes/perl-mode.el: Add support for here documents.
14763 (perl-syntax-propertize-function): Match here-doc markers.
14764 (perl-syntax-propertize-special-constructs): Find their end.
14765 (perl-imenu-generic-expression): Use [:alnum:].
14767 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14768 (advice--add-function): Refresh the advice if already present
14771 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14773 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14775 2013-05-06 Glenn Morris <rgm@gnu.org>
14777 * w32-fns.el (w32-charset-info-alist): Declare.
14779 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14780 of its defcustom properties.
14781 (eshell-cmpl-initialize): No need to load pcomplete.
14783 * generic-x.el: No need to require comint when compiling.
14785 * net/eudc-export.el: Make it loadable without bbdb.
14786 (top-level): Use require rather than load-library.
14787 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14788 (eudc-batch-export-records-to-bbdb)
14789 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14792 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14794 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14795 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14796 some tweaks, instead.
14798 2013-05-05 Leo Liu <sdl.web@gmail.com>
14800 * progmodes/octave.el (octave-font-lock-keywords)
14801 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14802 (inferior-octave-send-list-and-digest): Improve error message.
14803 (octave-mode, inferior-octave-mode): Use setq-local.
14804 (octave-help): Set info-lookup-mode.
14806 2013-05-05 Richard Stallman <rms@gnu.org>
14808 * vc/compare-w.el (compare-windows-whitespace):
14809 Treat no-break space as whitespace.
14811 * mail/rmailsum.el (rmail-summary-rmail-update):
14812 Detect empty summary and don't change selected message.
14813 (rmail-summary-goto-msg): Likewise.
14815 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14816 Doc fixes, rename args.
14818 2013-05-05 Alan Mackenzie <acm@muc.de>
14820 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14822 2013-05-05 Juri Linkov <juri@jurta.org>
14824 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14825 to not add the length of the summary segment to the return value.
14828 2013-05-05 Leo Liu <sdl.web@gmail.com>
14830 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14831 (inferior-octave-output-filter): Remove.
14832 (octave-send-region, inferior-octave-startup): Fix callers.
14833 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14834 (octave-binary-file-extensions): New user variable.
14835 (octave-find-definition): Confirm if opening binary files.
14836 (octave-help-file): Use octave-find-definition to get the binary
14838 (octave-help): Adjust for octave-help-file change.
14840 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14842 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14843 Merge the two entries that handle function definitions.
14844 (pascal--syntax-propertize): New const.
14845 (pascal-mode): Use it. Use setq-local.
14847 2013-05-04 Glenn Morris <rgm@gnu.org>
14849 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14850 (diary-from-outlook): Respect diary-from-outlook-function.
14852 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14854 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14855 Move the declaration from C.
14856 (read-minibuffer, eval-minibuffer): Move from C.
14857 (completion-setup-function): Avoid minibuffer-completion-contents.
14859 2013-05-03 Leo Liu <sdl.web@gmail.com>
14861 * progmodes/octave.el (octave-font-lock-keywords): Do not
14862 dehighlight 'end' in comments or strings.
14863 (octave-completing-read, octave-goto-function-definition):
14865 (octave-help-buffer): New user variable.
14866 (octave-help-file, octave-help-function): New button types.
14867 (octave-help): New command and bind it to C-h ;.
14868 (octave-find-definition): New command and bind it to M-.
14869 (user-error): Alias to error if not defined.
14871 2013-05-02 Leo Liu <sdl.web@gmail.com>
14873 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14875 (octave-font-lock-keywords): Include [ and {.
14877 2013-05-02 Leo Liu <sdl.web@gmail.com>
14879 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14880 (inferior-octave): Remove calling comint-mode and return the buffer.
14881 (inferior-octave-startup): Cosmetic changes.
14883 2013-05-02 Leo Liu <sdl.web@gmail.com>
14885 * progmodes/octave.el (octave-syntax-propertize-function):
14886 Include the case when ' is at line beginning. (Bug#14336)
14888 2013-05-02 Glenn Morris <rgm@gnu.org>
14890 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14891 * desktop.el (vc-dir-mode): Just autoload it here.
14893 2013-05-02 Alan Mackenzie <acm@muc.de>
14895 Eliminate variable c-standard-font-lock-fontify-region-function.
14896 * progmodes/cc-mode.el
14897 (c-standard-font-lock-fontify-region-function): Remove.
14898 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14900 2013-05-01 Leo Liu <sdl.web@gmail.com>
14902 * progmodes/octave.el: Compatible with older emacs-24 releases.
14903 (inferior-octave-has-built-in-variables): Remove. Built-in
14904 variables were removed from Octave in 2007.
14905 (inferior-octave-startup): Fix uses.
14906 (comint-line-beginning-position): Remove compatibility code for
14909 2013-05-01 Juri Linkov <juri@jurta.org>
14911 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14913 2013-05-01 Juri Linkov <juri@jurta.org>
14915 * comint.el (comint-previous-matching-input): Don't print message
14916 "History item: %d" when `isearch-mode' is active.
14917 (comint-history-isearch-message): Print message "History item: %d"
14918 when `comint-input-ring-index' is not empty and this function is
14919 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14921 2013-05-01 Leo Liu <sdl.web@gmail.com>
14923 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14924 definitions. Use completion-at-point to insert keywords.
14925 (octave-abbrev-start): Remove.
14926 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14928 2013-04-30 Leo Liu <sdl.web@gmail.com>
14930 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14933 2013-04-30 Alan Mackenzie <acm@muc.de>
14935 Handle arbitrarily long C++ member initialisation lists.
14936 * progmodes/cc-engine.el (c-back-over-member-initializers):
14938 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14939 (most) member init lists.
14941 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14943 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14946 2013-04-30 Leo Liu <sdl.web@gmail.com>
14948 * progmodes/octave.el (octave-variables): Remove. No builtin
14949 variables any more. All converted to functions.
14950 (octave-font-lock-keywords, octave-completion-at-point-function):
14952 (octave-font-lock-texinfo-comment): New user variable.
14953 (octave-texinfo-font-lock-keywords): New variable for texinfo
14955 (octave-function-comment-block): New face.
14956 (octave-font-lock-texinfo-comment): New function.
14957 (octave-mode): Font lock texinfo comment block.
14959 2013-04-29 Leo Liu <sdl.web@gmail.com>
14961 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14962 indexing expression.
14963 (octave-continuation-string): Do not use \.
14964 (inferior-octave-complete-impossible): Remove.
14965 (inferior-octave-completion-table)
14966 (inferior-octave-completion-at-point): Remove its uses.
14967 (inferior-octave-startup): completion_matches was introduced to
14968 Octave in 1996 so safe to assume it.
14969 (octave-function-file-comment): Improve to follow how Octave does it.
14970 (octave-update-function-file-comment): Tweak.
14972 2013-04-29 Leo Liu <sdl.web@gmail.com>
14974 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14975 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14976 (octave-function-file-comment): Fix typo.
14977 (octave-sync-function-file-names): Use read-char-choice.
14979 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14981 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14982 to t for the less important warnings.
14984 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14986 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14988 2013-04-27 Glenn Morris <rgm@gnu.org>
14990 * vc/log-view.el (log-view-current-entry):
14991 Treat "---" separator lines as part of the following rev. (Bug#14169)
14993 2013-04-27 Juri Linkov <juri@jurta.org>
14995 * subr.el (read-number): Doc fix about using it by interactive
14996 code letter `n'. (Bug#14254)
14998 2013-04-27 Juri Linkov <juri@jurta.org>
15000 * desktop.el (desktop-auto-save-timeout): New option.
15001 (desktop-file-checksum): New variable.
15002 (desktop-save): Add optional arg `auto-save' and don't auto-save
15003 if nothing changed.
15004 (desktop-auto-save-timer): New variable.
15005 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15006 (after-init-hook): Call `desktop-auto-save-set-timer'.
15007 Suggested by Reuben Thomas <rrt@sc3d.org> in
15008 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15010 2013-04-27 Leo Liu <sdl.web@gmail.com>
15012 * progmodes/octave.el (octave-function-file-p)
15013 (octave-skip-comment-forward, octave-function-file-comment)
15014 (octave-update-function-file-comment): New functions.
15015 (octave-mode-map): Bind C-c ; to
15016 octave-update-function-file-comment.
15017 (octave-mode-menu): Add octave-update-function-file-comment.
15018 (octave-mode, inferior-octave-mode): Fix doc-string.
15019 (octave-insert-defun): Conform to Octave's coding convention.
15022 * files.el (basic-save-buffer): Don't let errors in
15023 before-save-hook prevent saving buffer.
15025 2013-04-20 Roland Winkler <winkler@gnu.org>
15027 * faces.el (read-face-name): Use completing-read if arg multiple
15030 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15032 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15033 displayed, move point to after the totals line.
15034 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15037 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15039 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15040 Add current dir to the load-path.
15041 (package-generate-autoloads): Don't rely on
15042 autoload-ensure-default-file.
15044 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15046 * textmodes/remember.el (remember-store-in-files): Document that
15047 the file name format is passed to `format-time-string'.
15049 2013-04-26 Leo Liu <sdl.web@gmail.com>
15051 * progmodes/octave.el (octave-sync-function-file-names): New function.
15052 (octave-mode): Use it in before-save-hook.
15054 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15056 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15059 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15060 \n and comment, even if it's not an implicit ; (bug#14218).
15062 2013-04-26 Glenn Morris <rgm@gnu.org>
15064 * subr.el (read-number): Once more use `read' rather than
15065 `string-to-number', to trap non-numeric input. (Bug#14254)
15067 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15069 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15070 Use `syntax-multiline' text property consistently instead of
15071 `font-lock-multiline'. (Bug#14237)
15073 2013-04-26 Glenn Morris <rgm@gnu.org>
15075 * emacs-lisp/shadow.el (list-load-path-shadows):
15076 No longer necessary to check for duplicate simple.el, since
15077 2012-07-07 change to init_lread to not include installation lisp
15078 directories in load-path when running uninstalled. (Bug#14270)
15080 2013-04-26 Leo Liu <sdl.web@gmail.com>
15082 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15083 (octave-mode, inferior-octave-mode): Use setq-local.
15084 (octave-not-in-string-or-comment-p): Rename to
15085 octave-in-string-or-comment-p.
15086 (octave-in-comment-p, octave-in-string-p)
15087 (octave-in-string-or-comment-p): Replace defsubst with defun.
15089 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15091 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15093 2013-04-25 Bastien Guerry <bzg@gnu.org>
15095 * textmodes/remember.el (remember-data-directory)
15096 (remember-directory-file-name-format): Fix custom types.
15098 2013-04-25 Leo Liu <sdl.web@gmail.com>
15100 * progmodes/octave.el (octave-completion-at-point-function):
15101 Make use of inferior octave process.
15102 (octave-initialize-completions): Remove.
15103 (inferior-octave-completion-table): New function.
15104 (inferior-octave-completion-at-point): Use it.
15105 (octave-completion-alist): Remove.
15107 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15109 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15110 (opascal-mode-syntax-table): New var.
15111 (opascal-literal-kind, opascal-is-literal-end)
15112 (opascal-literal-token-at): Rewrite.
15113 (opascal--literal-start-re, opascal-font-lock-keywords)
15114 (opascal--syntax-propertize): New constants.
15115 (opascal-font-lock-defaults): Adjust.
15116 (opascal-mode): Use them. Set comment-<foo> variables as well.
15117 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15118 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15119 (delphi-other-face, opascal-other-face): Remove face variables.
15120 (opascal-save-state): Remove macro.
15121 (opascal-fontifying-progress-step): Remove constant.
15122 (opascal--ignore-changes): Remove var.
15123 (opascal-set-token-property, opascal-parse-next-literal)
15124 (opascal-is-stable-literal, opascal-complete-literal)
15125 (opascal-is-literal-start, opascal-face-of)
15126 (opascal-parse-region, opascal-parse-region-until-stable)
15127 (opascal-fontify-region, opascal-after-change)
15128 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15129 (opascal-debug-parse-region, opascal-debug-parse-window)
15130 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15131 (opascal-debug-fontify-buffer): Remove.
15132 (opascal-debug-mode-map): Adjust accordingly.
15134 2013-04-25 Leo Liu <sdl.web@gmail.com>
15136 Merge octave-mod.el and octave-inf.el into octave.el with some
15138 * progmodes/octave.el: New file renamed from octave-mod.el.
15139 * progmodes/octave-inf.el: Merged into octave.el.
15140 * progmodes/octave-mod.el: Renamed to octave.el.
15142 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15144 * textmodes/reftex-vars.el
15145 (reftex-label-ignored-macros-and-environments): New defcustom.
15147 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15149 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15151 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15152 (smie-indent-keyword): Improve the check to ensure that the next
15153 comment is really on the same line.
15154 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15156 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15157 semi-colons if the line is not otherwise empty (bug#14218).
15159 2013-04-25 Glenn Morris <rgm@gnu.org>
15161 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15163 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15165 * progmodes/opascal.el (opascal-set-token-property): Rename from
15166 opascal-set-text-properties and only set `token' (bug#14134).
15167 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15168 (opascal-literal-text-properties): Remove.
15169 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15172 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15174 * textmodes/remember.el (remember-handler-functions): Add an
15175 option for a new handler `remember-store-in-files'.
15176 (remember-data-directory, remember-directory-file-name-format):
15178 (remember-store-in-files): New function to store remember notes
15179 as separate files within a directory.
15181 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15183 * progmodes/compile.el (compilation-next-error-function):
15184 Pass "formats" to compilation-find-file (bug#11777).
15186 2013-04-24 Glenn Morris <rgm@gnu.org>
15188 * vc/vc-bzr.el (vc-bzr-print-log):
15189 * vc/vc-hg.el (vc-hg-print-log):
15190 * vc/vc-svn.el (vc-svn-print-log):
15191 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15193 * vc/vc-bzr.el (vc-bzr-print-log):
15194 * vc/vc-cvs.el (vc-cvs-print-log):
15195 * vc/vc-git.el (vc-git-print-log):
15196 * vc/vc-hg.el (vc-hg-print-log):
15197 * vc/vc-mtn.el (vc-mtn-print-log):
15198 * vc/vc-rcs.el (vc-rcs-print-log):
15199 * vc/vc-sccs.el (vc-sccs-print-log):
15200 * vc/vc-svn.el (vc-svn-print-log):
15201 * vc/vc.el (vc-print-log-internal): Doc fixes.
15203 2013-04-23 Glenn Morris <rgm@gnu.org>
15205 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15206 Remove venerable code attempting to avoid substitute-command-keys.
15208 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15210 * textmodes/reftex-vars.el (reftex-label-regexps):
15211 Call `reftex-compile-variables' after changes to this variable.
15213 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15215 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15216 Use lexical-binding.
15217 (jit-lock-force-redisplay): Use markers, check buffer's continued
15218 existence and beware narrowed buffers.
15219 (jit-lock-fontify-now): Adjust call accordingly.
15221 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15223 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15224 to avoid misleading the user.
15226 2013-04-22 Leo Liu <sdl.web@gmail.com>
15228 * info-look.el: Prefer latex2e.info. (Bug#14240)
15230 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15232 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15234 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15235 * net/tramp.el (tramp-call-process): ... here.
15236 (tramp-set-completion-function, tramp-parse-putty):
15237 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15238 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15239 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15240 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15241 (tramp-call-local-coding-command): Use `tramp-call-process'
15242 instead of `tramp-compat-call-process'.
15244 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15245 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15246 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15247 (tramp-find-inline-compress): Improve traces.
15248 (tramp-maybe-send-script): Check for Perl binary.
15249 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15251 2013-04-22 Daiki Ueno <ueno@gnu.org>
15253 * epg.el (epg-context-pinentry-mode): New function.
15254 (epg-context-set-pinentry-mode): New function.
15255 (epg--start): Pass --pinentry-mode option to gpg command.
15257 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15259 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15260 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15261 `completion-at-point'. (Bug#13774)
15263 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15264 default key binding for `describe-distribution' has been moved to
15265 `C-h C-o'. (Bug#13970)
15267 2013-04-21 Glenn Morris <rgm@gnu.org>
15269 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15271 (vc-print-log): Clarify interactive prompt.
15273 2013-04-20 Glenn Morris <rgm@gnu.org>
15275 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15276 No longer include timestamp etc information.
15278 2013-04-20 Roland Winkler <winkler@gnu.org>
15280 * faces.el (read-face-name): Bug fix, return just one face if arg
15281 multiple is nil. (Bug#14209)
15283 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15285 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15286 (remove-function): Autoload.
15288 * comint.el (comint-redirect-original-filter-function): Remove.
15289 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15290 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15291 (vc-cvs-annotate-command):
15292 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15293 * progmodes/prolog.el (prolog-consult-compile):
15294 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15295 Use add/remove-function instead.
15296 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15297 (gud-tooltip-process-output, gud-tooltip-tips):
15298 Use add/remove-function instead.
15299 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15300 (scheme-interaction-mode, exit-scheme-interaction-mode):
15301 Use add/remove-function instead.
15303 * vc/vc-dispatcher.el: Use lexical-binding.
15304 (vc--process-sentinel): Rename from vc-process-sentinel.
15305 Change last arg to be the code to run. Don't use vc-previous-sentinel
15306 and vc-sentinel-commands any more.
15307 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15308 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15310 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15312 * progmodes/sh-script.el (sh-imenu-generic-expression):
15313 Handle function names with a single character. (Bug#14111)
15315 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15317 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15318 for subroutines defined in an eval (bug#14182).
15320 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15322 * bookmark.el (bookmark-completing-read): Improve handling of empty
15323 string (bug#14176).
15325 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15327 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15329 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15331 New faster Imenu implementation (bug#14058).
15332 * progmodes/python.el:
15333 (python-imenu-prev-index-position):
15334 (python-imenu-format-item-label-function)
15335 (python-imenu-format-parent-item-label-function)
15336 (python-imenu-format-parent-item-jump-label-function):
15338 (python-imenu-format-item-label)
15339 (python-imenu-format-parent-item-label)
15340 (python-imenu-format-parent-item-jump-label)
15341 (python-imenu--put-parent, python-imenu--build-tree)
15342 (python-imenu-create-index, python-imenu-create-flat-index)
15343 (python-util-popn): New functions.
15344 (python-mode): Set imenu-create-index-function to
15345 python-imenu-create-index.
15347 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15349 * winner.el (winner-active-region): Use region-active-p, activate-mark
15350 and deactivate-mark (bug#14225).
15352 * simple.el (deactivate-mark): Don't inline it.
15354 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15356 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15358 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15360 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15361 file extensions from the archive-mode entry in order to prefer
15362 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15364 2013-04-18 Leo Liu <sdl.web@gmail.com>
15366 * bindings.el (help-event-list): Add ?\?.
15368 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15370 * subr.el (with-wrapper-hook): Declare obsolete.
15371 * simple.el (filter-buffer-substring-function): New hook.
15372 (filter-buffer-substring): Use it.
15373 (filter-buffer-substring-functions): Mark obsolete.
15374 * minibuffer.el (completion-in-region-function): New hook.
15375 (completion-in-region): Use it.
15376 (completion-in-region-functions): Mark obsolete.
15377 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15378 * abbrev.el (abbrev-expand-function): New hook.
15379 (expand-abbrev): Use it.
15380 (abbrev-expand-functions): Mark obsolete.
15381 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15382 and :filter-return.
15384 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15386 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15387 and do not care about match data.
15389 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15391 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15392 completion tables when completing error conditions and
15393 `declare' arguments.
15394 (lisp-complete-symbol, field-complete): Mark as obsolete.
15395 (check-parens): Unmatched parens are user errors.
15396 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15398 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15400 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15401 command changed buffer (ie. `flyspell-pre-buffer' is not current
15402 buffer), which prevents making decisions based on invalid value of
15403 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15404 cause an error when `flyspell-pre-point' was nil after switching
15406 (flyspell-post-command-hook): No longer needs to change buffers when
15407 checking pre-word. While at it remove unnecessary progn.
15409 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15411 * textmodes/ispell.el (ispell-add-per-file-word-list):
15412 Fix `flyspell-correct-word-before-point' error when accepting
15413 words and `coment-padding' is an integer by using
15414 `comment-normalize-vars' (Bug #14214).
15416 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15418 New defun movement commands.
15419 * progmodes/python.el (python-nav--syntactically)
15420 (python-nav--forward-defun, python-nav-backward-defun)
15421 (python-nav-forward-defun): New functions.
15423 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15425 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15426 (python-syntax-context): Use named compiler-macro for backwards
15427 compatibility with Emacs 24.x.
15429 2013-04-17 Leo Liu <sdl.web@gmail.com>
15431 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15432 octave-hide-process-buffer.
15434 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15436 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15439 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15441 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15442 Fix adjustment of offset when receiving incomplete responses from GDB
15445 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15447 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15448 python-mode-abbrev-table.
15449 (python-skeleton-define): Adjust accordingly.
15450 (python-mode-abbrev-table): New table that inherits from it so that
15451 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15453 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15454 (abbrev-symbol): Use it.
15455 (abbrev--before-point): Use it since we already handle inheritance.
15457 2013-04-16 Leo Liu <sdl.web@gmail.com>
15459 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15460 binding to info-lookup-symbol.
15462 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15464 * minibuffer.el (completion--twq-all):
15465 * term/ns-win.el (ns-initialize-window-system):
15466 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15468 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15470 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15473 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15475 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15477 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15478 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15480 (ruby-end-of-defun): Remove the unused arg, change the docstring
15481 to reflect that this function is only used as the value of
15482 `end-of-defun-function'.
15483 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15484 to reflect an earlier change that beginning/end-of-defun functions
15485 jump between methods in a class definition, as well as top-level
15488 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15490 * minibuffer.el (minibuffer-complete): Don't just scroll
15491 a *Completions* that's been iconified.
15492 (minibuffer-force-complete): Make sure repetitions do cycle when going
15493 through completion-in-region -> minibuffer-complete.
15495 2013-04-15 Alan Mackenzie <acm@muc.de>
15497 Correct the placement of c-cpp-delimiters when there're #s not at
15500 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15501 place a submatch around the #.
15502 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15503 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15506 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15508 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15509 (advice--member-p): New arg `name'.
15510 (advice--add-function, advice-member-p): Use it (bug#14202).
15512 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15514 Reformulate java imenu-generic-expression.
15515 The old expression contained ill formed regexps.
15517 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15518 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15519 (cc-imenu-java-method-arg-regexp): New defconsts.
15520 (cc-imenu-java-build-type-args-regex): New defun.
15521 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15522 handling of spaces in the regexp.
15524 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15526 * textmodes/ispell.el (ispell-command-loop): Remove
15527 flyspell highlight of a word when ispell accepts it (bug #14178).
15529 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15531 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15532 uses code from the previous `ange-ftp-run-real-handler'.
15533 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15534 only in case that function exist. This is needed for proper
15535 unloading of Tramp.
15537 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15539 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15541 * textmodes/reftex.el (reftex-compile-variables): Use it.
15543 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15545 * files.el (normal-mode): Only use default major-mode if no other mode
15548 * emacs-lisp/trace.el (trace-values): New function.
15550 * files.el: Allow : in local variables (bug#14089).
15551 (hack-local-variable-regexp): New var.
15552 (hack-local-variables-prop-line, hack-local-variables): Use it.
15554 2013-04-13 Roland Winkler <winkler@gnu.org>
15556 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15557 data before it gets modified by bibtex-beginning-of-entry.
15559 2013-04-13 Roland Winkler <winkler@gnu.org>
15561 * textmodes/bibtex.el (bibtex-url): Doc fix.
15563 2013-04-13 Roland Winkler <winkler@gnu.org>
15565 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15566 does not visit a BibTeX file, exclude it from the list of buffers
15567 returned by bibtex-initialize.
15569 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15571 * window.el (split-window): Remove interactive form, since as a
15572 command this function is a special case of split-window-below.
15573 Correct doc string.
15575 2013-04-12 Roland Winkler <winkler@gnu.org>
15577 * faces.el (read-face-name): Do not override value of arg default.
15578 Allow single faces and strings as default values. Remove those
15579 elements from return value that are not faces.
15580 (describe-face): Simplify.
15581 (face-at-point): New optional args thing and multiple so that this
15582 function can provide the same functionality previously provided by
15584 (make-face-bold, make-face-unbold, make-face-italic)
15585 (make-face-unitalic, make-face-bold-italic, invert-face)
15586 (modify-face, read-face-and-attribute): Use face-at-point.
15588 * cus-edit.el (customize-face, customize-face-other-window)
15589 * cus-theme.el (custom-theme-add-face)
15590 * face-remap.el (buffer-face-set)
15591 * facemenu.el (facemenu-set-face): Use face-at-point.
15593 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15595 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15597 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15599 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15600 off leading { and trailing } from field values.
15602 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15604 * emacs-lisp/timer.el (timer--check): New function.
15605 (timer--time, timer-set-function, timer-event-handler): Use it.
15606 (timer-set-idle-time): Simplify.
15607 (timer--activate): CSE.
15608 (timer-event-handler): Give more info in error message.
15609 (internal-timer-start-idle): New function, moved from C.
15611 * mpc.el (mpc-proc): Add `restart' argument.
15612 (mpc-proc-cmd): Use it.
15613 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15614 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15617 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15619 * progmodes/sh-script.el: Implement `sh-mode' own
15620 `add-log-current-defun-function' (bug#14112).
15621 (sh-current-defun-name): New function.
15622 (sh-mode): Use the function.
15624 2013-04-09 Bastien Guerry <bzg@gnu.org>
15626 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15628 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15630 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15632 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15635 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15637 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15640 2013-04-07 Leo Liu <sdl.web@gmail.com>
15642 * pcmpl-x.el: New file.
15644 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15646 Do not set x-display-name until X connection is established.
15647 This is needed to prevent from weird situation described at
15648 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15649 * frame.el (make-frame): Set x-display-name after call to
15650 window system initialization function, not before.
15651 * term/x-win.el (x-initialize-window-system): Add optional
15652 display argument and use it.
15653 * term/w32-win.el (w32-initialize-window-system):
15654 * term/ns-win.el (ns-initialize-window-system):
15655 * term/pc-win.el (msdos-initialize-window-system):
15656 Add compatible optional display argument.
15658 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15660 * files.el (normal-backup-enable-predicate): On MS-Windows and
15661 MS-DOS compare truenames of temporary-file-directory and of the
15662 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15663 don't fail comparison by compare-strings. Also, compare file
15664 names case-insensitively on MS-Windows and MS-DOS.
15666 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15668 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15669 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15671 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15673 * whitespace.el (whitespace-color-on, whitespace-color-off):
15674 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15676 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15678 * ispell.el (ispell-set-spellchecker-params):
15679 Really set `ispell-args' for all equivs.
15681 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15683 * ido.el (ido-completions): Use extra elements of ido-decorations
15685 (ido-decorations): Update docstring.
15687 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15689 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15690 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15691 nil during initialization, in order not to miss changes since the
15692 file was opened. (Bug#14140)
15694 2013-04-05 Leo Liu <sdl.web@gmail.com>
15696 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15698 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15700 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15702 2013-04-04 Glenn Morris <rgm@gnu.org>
15704 * electric.el (electric-pair-inhibit-predicate): Add :version.
15706 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15708 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15709 when a package is required several times (bug#14082).
15711 2013-04-04 Roland Winkler <winkler@gnu.org>
15713 * faces.el (read-face-name): Behave as promised by the docstring.
15714 Assume that arg default is a list of faces.
15715 (describe-face): Call read-face-name with list of default faces.
15717 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15719 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15720 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15721 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15723 (bookmark-exit-hook-internal): Save even if list is empty.
15725 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15727 * emacs-lisp/package.el (package-pinned-packages): New var.
15728 (package--add-to-archive-contents): Obey it (bug#14118).
15730 2013-04-03 Alan Mackenzie <acm@muc.de>
15732 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15733 Also adapt to the new values of element 7 of a parse state.
15735 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15736 parameter `not-in-delimiter'. Handle being inside comment opener.
15737 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15738 character in case we're typing a '*' after a '/'.
15739 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15740 instead by passing the parameter to c-state-pp-to-literal.
15742 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15743 for elt. 7 of a parse state.
15745 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15747 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15748 * international/latin1-disp.el, international/mule-util.el:
15749 * language/cyril-util.el, language/european.el, language/ind-util.el:
15750 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15751 * language/tibetan.el, language/viet-util.el:
15752 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15754 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15756 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15757 (electric-pair-post-self-insert-function): Use it.
15758 (electric-pair-default-inhibit): New function, extracted from
15759 electric-pair-post-self-insert-function.
15761 2013-03-31 Roland Winkler <winkler@gnu.org>
15763 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15765 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15767 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15769 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15771 Un-indent after "pass" and "return" statements (Bug#13888)
15772 * progmodes/python.el (python-indent-block-enders): New var.
15773 (python-indent-calculate-indentation): Use it.
15775 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15777 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15778 defun. Defining it as defalias could introduce too eager
15779 byte-compiler optimization. (Bug#14030)
15781 2013-03-30 Chong Yidong <cyd@gnu.org>
15783 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15785 2013-03-30 Leo Liu <sdl.web@gmail.com>
15787 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15788 (kmacro-execute-from-register): Pass the keyboard macro to
15789 kmacro-call-macro or repeating won't work correctly.
15791 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15793 * progmodes/subword.el: Back to using `forward-symbol'.
15795 * subr.el (forward-whitespace, forward-symbol)
15796 (forward-same-syntax): Move from thingatpt.el.
15798 2013-03-29 Leo Liu <sdl.web@gmail.com>
15800 * kmacro.el (kmacro-to-register): New command.
15801 (kmacro-execute-from-register): New function.
15802 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15804 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15806 * mpc.el: Use defvar-local and setq-local.
15807 (mpc--proc-connect): Connection failures are not bugs.
15808 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15809 (mpc-volume-map): Bind to the up-events.
15811 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15813 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15814 instead of `forward-symbol'.
15816 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15818 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15819 (edebug--recursive-edit): Use it.
15820 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15821 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15823 2013-03-28 Leo Liu <sdl.web@gmail.com>
15825 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15827 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15829 * facemenu.el (list-colors-callback): New defvar.
15830 (list-colors-redisplay): New function.
15831 (list-colors-display): Install list-colors-redisplay as the
15832 revert-buffer-function. (Bug#14063)
15834 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15836 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15837 and suffixes don't overlap (bug#14061).
15839 * case-table.el: Use lexical-binding.
15840 (case-table-get-table): New function.
15841 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15843 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15845 * progmodes/subword.el: Add `superword-mode' to do word motion
15846 over symbol_words (parallels and leverages `subword-mode' which
15847 does word motion inside MixedCaseWords).
15849 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15851 * eshell/em-unix.el: Move su and sudo to...
15852 * eshell/em-tramp.el: ...Eshell tramp module.
15854 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15856 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15857 Change return value to be a sexp. Delay `get-buffer' to after
15858 restoring the desktop (bug#13951).
15860 2013-03-26 Leo Liu <sdl.web@gmail.com>
15862 * register.el: Move semantic tag handling back to
15863 cedet/semantic/senator.el. (Bug#14052)
15865 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15867 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15868 into the prompt either (bug#13963).
15870 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15872 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15873 part of "(error-foo)".
15875 2013-03-24 Juri Linkov <juri@jurta.org>
15877 * replace.el (list-matching-lines-prefix-face): New defcustom.
15878 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15879 `occur-engine' if `face-differs-from-default-p' returns t.
15880 (occur-engine): Add `,' inside backquote construct to evaluate
15881 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15882 Pass `prefix-face' to the functions `occur-context-lines' and
15883 `occur-engine-add-prefix'.
15884 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15885 `prefix-face' and propertize the prefix with `prefix-face'.
15888 2013-03-24 Leo Liu <sdl.web@gmail.com>
15890 * nxml/rng-valid.el (rng-validate-while-idle)
15891 (rng-validate-quick-while-idle): Guard against deleted buffer.
15894 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15895 is the last entry in kill-buffer-hook.
15897 * files.el (kill-buffer-hook): Doc fix.
15899 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15901 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15902 Make it safe-local.
15904 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15906 2013-03-23 Leo Liu <sdl.web@gmail.com>
15908 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15911 * nxml/rng-valid.el (rng-validate-mode)
15912 (rng-after-change-function, rng-do-some-validation):
15913 * nxml/rng-maint.el (rng-validate-buffer):
15914 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15915 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15916 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15917 (nxml-extend-after-change-region): Use with-silent-modifications.
15919 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15922 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15923 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15924 timer-idle-list. (Bug#13999)
15926 2013-03-23 Juri Linkov <juri@jurta.org>
15928 * info.el (info-index-match): New face.
15929 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15930 main pattern and add text properties with the new face to matches
15931 in index entries relative to the beginning of the index entry.
15934 2013-03-21 Eric Ludlam <zappo@gnu.org>
15936 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15937 Inhibit read only while inserting objects.
15939 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15941 * progmodes/cfengine.el: Update docs to mention
15942 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15943 symbol motion. Remove "_" from the word syntax.
15945 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15947 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15948 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15950 2013-03-20 Juri Linkov <juri@jurta.org>
15952 * info.el (Info-next-reference-or-link)
15953 (Info-prev-reference-or-link): New functions.
15954 (Info-next-reference, Info-prev-reference): Use them.
15955 (Info-try-follow-nearest-node): Handle footnote navigation.
15956 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15958 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15960 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15961 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15963 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15965 Suppress unnecessary non-ASCII chatter during build process.
15966 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15967 (batch-skkdic-convert): Suppress most of the chatter.
15968 It's not needed so much now that machines are faster,
15969 and its non-ASCII component was confusing; see Dmitry Gutov in
15970 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15972 2013-03-20 Leo Liu <sdl.web@gmail.com>
15974 * ido.el (ido-chop): Fix bug#10994.
15976 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15978 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15980 (whitespace-color-on, whitespace-color-off):
15981 Use `font-lock-fontify-buffer' (Bug#13817).
15983 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15985 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15986 remapping in mode-line.
15987 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15989 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15991 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15992 value for `whitespace-line' face (Bug#13875).
15993 (whitespace-font-lock-keywords): Change description.
15994 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15995 the constructed keywords instead.
15996 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15998 2013-03-19 Leo Liu <sdl.web@gmail.com>
16000 * progmodes/compile.el (compilation-display-error): New command.
16001 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16004 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16006 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16008 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16010 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16012 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16014 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16016 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16017 * net/tramp-gvfs.el (top):
16018 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16019 (tramp-handle-shell-command): Use it.
16020 (tramp-dissect-file-name): Raise an error when hostname is a
16021 method name, and neither method nor user is specified.
16023 * net/trampver.el: Update release number.
16025 2013-03-18 Leo Liu <sdl.web@gmail.com>
16027 Make sure eldoc can be turned off properly.
16028 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16030 (eldoc-display-message-p): Revert last change.
16031 (eldoc-display-message-no-interference-p)
16032 (eldoc-print-current-symbol-info): Tweak.
16034 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16036 * doc-view.el (doc-view-new-window-function): Check the new window
16037 overlay's display property instead the char property of the
16038 buffer's first char. Use `with-selected-window' instead of
16039 `save-window-excursion' with `select-window'.
16040 (doc-view-document->bitmap): Check the current doc-view overlay's
16041 display property instead the char property of the buffer's first char.
16043 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16045 Automate the build of ja-dic.el (Bug#13984).
16046 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16047 from the input, rather than assume that it's been done for us by the
16048 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16049 the current date into a ja-dic.el comment, as that complicates
16050 regression testing.
16052 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16054 * whitespace.el: Fix double evaluation.
16055 (whitespace-space, whitespace-hspace, whitespace-tab)
16056 (whitespace-newline, whitespace-trailing, whitespace-line)
16057 (whitespace-space-before-tab, whitespace-indentation)
16058 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16060 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16061 (whitespace-color-on): Use a single font-lock-add-keywords call.
16062 Fix double-evaluation of face variables.
16064 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16066 * net/tramp-adb.el (tramp-adb-parse-device-names):
16067 Use `start-process' instead of `call-process'. Otherwise, the
16068 function might be blocked under MS Windows. (Bug#13299)
16070 2013-03-17 Leo Liu <sdl.web@gmail.com>
16072 Extend eldoc to display info in the mode-line. (Bug#13978)
16073 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16074 (eldoc-mode-line-string): New variable.
16075 (eldoc-minibuffer-message): New function.
16076 (eldoc-message-function): New variable.
16077 (eldoc-message): Use it.
16078 (eldoc-display-message-p)
16079 (eldoc-display-message-no-interference-p):
16080 Support eldoc-post-insert-mode.
16082 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16083 (eval-expression): Run it.
16085 2013-03-17 Roland Winkler <winkler@gnu.org>
16087 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16088 strings in the list of return values.
16090 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16092 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16093 radix before checking for HMS forms.
16095 2013-03-16 Leo Liu <sdl.web@gmail.com>
16097 * progmodes/scheme.el: Add indentation and font-locking for λ.
16100 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16102 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16103 token before point (bug#13942).
16105 2013-03-16 Leo Liu <sdl.web@gmail.com>
16107 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16109 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16111 * startup.el (command-line-normalize-file-name): Fix handling of
16112 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16113 <xfq.free@gmail.com> in
16114 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16116 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16118 Sync with Tramp 2.2.7.
16120 * net/trampver.el: Update release number.
16122 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16124 * doc-view.el: Fix bug#13887.
16125 (doc-view-insert-image): Don't modify overlay associated to
16126 non-live windows, and implement horizontal centering of image in
16127 case it's smaller than the window.
16128 (doc-view-new-window-function): Force redisplay of new windows on
16131 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16133 * saveplace.el (save-place-alist-to-file): Don't sort
16134 `save-place-alist', just pretty-print it (bug#13882).
16136 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16138 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16139 Check whether `default-file-name-coding-system' is bound.
16140 It isn't in XEmacs.
16142 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16144 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16145 backquotes for `obsolete' (bug#13929).
16147 * international/mule.el (find-auto-coding): Include file name in
16148 obsolescence warning (bug#13922).
16150 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16152 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16153 for CFEngine 3-specific indentation.
16154 (cfengine3-indent-line): Use it. Fix up category regex.
16155 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16157 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16159 * type-break.el (type-break-file-name):
16160 * textmodes/remember.el (remember-data-file):
16161 * strokes.el (strokes-file):
16162 * shadowfile.el (shadow-initialize):
16163 * saveplace.el (save-place-file):
16164 * ps-bdf.el (bdf-cache-file):
16165 * progmodes/idlwave.el (idlwave-config-directory):
16166 * net/quickurl.el (quickurl-url-file):
16167 * international/kkc.el (kkc-init-file-name):
16168 * ido.el (ido-save-directory-list-file):
16169 * emulation/viper.el (viper-custom-file-name):
16170 * emulation/vip.el (vip-startup-file):
16171 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16172 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16174 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16176 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16177 * language/thai-word.el: Switch to UTF-8.
16179 See ChangeLog.16 for earlier changes.
16181 ;; Local Variables:
16185 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16187 This file is part of GNU Emacs.
16189 GNU Emacs is free software: you can redistribute it and/or modify
16190 it under the terms of the GNU General Public License as published by
16191 the Free Software Foundation, either version 3 of the License, or
16192 (at your option) any later version.
16194 GNU Emacs is distributed in the hope that it will be useful,
16195 but WITHOUT ANY WARRANTY; without even the implied warranty of
16196 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16197 GNU General Public License for more details.
16199 You should have received a copy of the GNU General Public License
16200 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.