1 2014-10-20 Glenn Morris <rgm@gnu.org>
3 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
4 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
5 * emulation/ws-mode.el: Move to obsolete/. [Backport]
7 2014-10-20 Glenn Morris <rgm@gnu.org>
9 * cus-start.el (history-length): Bump :version. [Backport]
11 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
13 * obsolete/cc-compat.el: Make obsolete (bug#18561).
15 * epg-config.el (epg-gpg-program): Don't use the absolute names by default.
17 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
20 2014-10-20 Glenn Morris <rgm@gnu.org>
22 * Version 24.4 released.
24 2014-10-15 Alan Mackenzie <acm@muc.de>
26 * cus-edit.el (custom-command-apply): Specify the return value in
28 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
29 custom-command-apply has returned non-nil.
31 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
33 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
34 Backported (bug#18688).
36 2014-10-14 Eli Zaretskii <eliz@gnu.org>
38 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
39 Force bidi-paragraph-direction to 'left-to-right'. This fixes
40 buffer-menu display when the first buffer happens to start with
43 2014-10-13 Glenn Morris <rgm@gnu.org>
45 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
46 (authors-obsolete-files-regexps): Additions.
47 (authors-no-scan-regexps): New constant.
48 (authors-no-scan-file-p): New function.
49 (authors): Respect authors-no-scan-file-p.
51 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
53 Fix import completion. (Bug#18582)
54 * progmodes/python.el (python-shell-completion-get-completions):
55 Fix import case regexp.
57 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
59 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
60 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
61 * progmodes/prolog.el (prolog-electric--underscore): Same.
63 2014-10-09 Glenn Morris <rgm@gnu.org>
65 * frame.el (display-monitor-attributes-list): Doc tweaks.
67 2014-10-08 Eli Zaretskii <eliz@gnu.org>
69 * faces.el (display-grayscale-p): Mention in the doc string that
70 the argument can be either a display name or a frame.
72 * frame.el (display-pixel-height, display-pixel-width)
73 (display-mm-height, display-mm-width, display-backing-store)
74 (display-save-under, display-planes, display-color-cells)
75 (display-visual-class, display-monitor-attributes-list)
76 (display-screens): Mention in the doc string that the argument can
77 be either a display name or a frame. Improve the docs of the
78 monitor attributes. (Bug#18636)
80 2014-10-06 Martin Rudalics <rudalics@gmx.at>
82 * term.el (term-window-width): Subtract 1 from the width when
83 any fringe has zero width, not just the right fringe. (Bug#18601)
85 2014-10-05 Leo Liu <sdl.web@gmail.com>
87 * imenu.el (imenu-default-goto-function): Fix typo.
89 2014-10-04 Glenn Morris <rgm@gnu.org>
91 * frame.el (frame-monitor-attributes)
92 (display-monitor-attributes-list): Doc fixes.
94 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
96 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
97 (vc-svn-ignore): Use it. (Bug#18619)
99 2014-10-03 Martin Rudalics <rudalics@gmx.at>
101 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
102 In doc-string mention need to set `frame-resize-pixelwise'.
104 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
106 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
107 similarly to Rogers's 2010-06-16 change for the remote case
110 2014-10-01 Glenn Morris <rgm@gnu.org>
112 * emacs-lisp/package.el (package-import-keyring):
113 Create gnupg directory private. (Bug#17625#155)
115 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
117 * progmodes/python.el (python-shell-completion-get-completions):
118 Use python-shell--prompt-calculated-input-regexp from the
119 process buffer (bug#18582).
120 Don't assume that `line' comes from the process buffer.
122 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
124 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
127 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
129 * emacs-lisp/package.el (package-check-signature): Default to nil if
130 GPG is not available.
131 (package-refresh-contents): Don't mess with the keyring if we won't
132 check the signatures anyway.
134 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
136 * window.el (fit-window-to-buffer): When counting buffer width,
137 count the whole visible buffer. Correctly convert the body-height
138 to pixel size for window-text-pixel-size (Bug#18498).
140 2014-09-14 Glenn Morris <rgm@gnu.org>
142 * image.el (image-multi-frame-p): Fix thinko - do not force
143 a delay if none was specified. (Bug#18334)
145 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
147 * window.el (fit-window-to-buffer): Doc fix.
149 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
151 * desktop.el (desktop-create-buffer): Check that buffers are still live
152 before burying them (bug#18373).
154 2014-09-09 Glenn Morris <rgm@gnu.org>
156 * calendar/diary-lib.el (diary-list-entries):
157 Restore 24.3 display behavior. (Bug#18381)
159 2014-09-09 Eli Zaretskii <eliz@gnu.org>
161 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
162 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
163 discrepancy between window-pixel-edges and mouse events, and
164 avoids moving mode line up when the mouse click is on the modeline
165 and no drag is attempted.
167 2014-09-08 Glenn Morris <rgm@gnu.org>
169 * calendar/calendar.el (calendar-basic-setup):
170 Avoid clobbering calendar with diary. (Bug#18381)
172 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
174 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
176 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
178 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
181 2014-09-04 Eli Zaretskii <eliz@gnu.org>
183 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
185 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
187 * emacs-lisp/package.el (package-generate-description-file):
188 Properly quote the arguments (bug#18332). Change second arg.
189 (package--alist-to-plist-args): Rename from package--alist-to-plist and
191 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
192 the *-pkg.el file. Adjust to new calling convention of
193 package-generate-description-file.
195 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
196 (gud-gdb-completions): Remove obsolete workaround.
198 2014-09-02 Eli Zaretskii <eliz@gnu.org>
200 * subr.el (posn-col-row): Revert the change from commit
201 r99634.2.576 eliz@gnu.org-20101113210758-8ml5kibjtza5ysmb, which
202 was inadvertently merged from emacs-23 release branch in r102428
203 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
204 introduced an off-by-one error in the reported row when there is a
205 header line. (Bug#18384)
207 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
209 * progmodes/python.el (python-indent-post-self-insert-function):
210 Avoid electric colon at beginning-of-defun. (Bug#18228)
212 2014-09-01 Glenn Morris <rgm@gnu.org>
214 * tutorial.el (tutorial--display-changes):
215 Fix 2014-07-29 change. (Bug#18382)
217 2014-08-29 Ken Brown <kbrown@cornell.edu>
219 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
220 the Cygwin-w32 build. (Bug#18347)
222 2014-08-28 Glenn Morris <rgm@gnu.org>
224 * tar-mode.el (tar--extract, tar-extract):
225 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
227 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
229 * emacs-lisp/authors.el (authors-aliases): Addition.
231 * net/tramp-adb.el: Spell author name correctly.
233 2014-08-27 João Távora <joaotavora@gmail.com>
235 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
236 use url-expand-file-name. (Bug#18310)
238 2014-08-25 Glenn Morris <rgm@gnu.org>
240 * emulation/cua-rect.el (cua--highlight-rectangle):
241 Avoid error at point-min. (Bug#18309)
243 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
245 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
246 executable-find (bug#18244).
248 * simple.el (self-insert-uses-region-functions): Defvar.
250 2014-08-13 Leo Liu <sdl.web@gmail.com>
252 * speedbar.el (speedbar-generic-list-tag-p): Allow special
255 2014-08-11 Glenn Morris <rgm@gnu.org>
257 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
259 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
260 chose coding system for writing before backing up, since it causes
261 a more serious problem than the one it solves. (Closes Bug#18141,
264 2014-08-10 Martin Rudalics <rudalics@gmx.at>
266 * window.el (window-total-size): Make doc-string more
269 2014-08-09 Martin Rudalics <rudalics@gmx.at>
271 * window.el (display-buffer-below-selected): Restore original
272 behavior if buffer is already displayed in the window below the
273 selected one (Bug#18181).
275 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
277 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
280 2014-08-08 Eli Zaretskii <eliz@gnu.org>
282 * info.el (info): Doc fix.
284 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
286 * info.el (Info-mode-map): Override a global down-mouse-2 binding
289 2014-08-05 Eli Zaretskii <eliz@gnu.org>
291 * simple.el (default-line-height): A floating-point value of
292 line-spacing means a fraction of the default frame font's height,
293 not of the font currently used by the 'default' face.
294 Truncate the pixel value, like the display engine does.
295 (window-screen-lines): Use window-inside-pixel-edges for
296 determining the window height in pixels. (Bug#18195)
298 2014-07-29 Eli Zaretskii <eliz@gnu.org>
300 * tutorial.el (tutorial--display-changes): Accept punctuation
301 characters before the key binding. (Bug#18146)
303 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
305 * doc-view.el (doc-view-open-text): Don't require that the
306 document is saved in a file (e.g., email attachment).
308 2014-07-27 Eli Zaretskii <eliz@gnu.org>
310 * window.el (window--pixel-to-total): Use FRAME's root window, not
311 that of the selected frame. (Bug#18112, Bug#16674)
313 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
315 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
318 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
320 * progmodes/python.el (inferior-python-mode): Doc fix.
322 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
324 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
325 not a character, ignore it instead of raising an error.
327 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
329 * calendar/todo-mode.el: Fix handling of marked items and make
330 minor code improvements.
331 (todo-edit-item): If there are marked items, ensure user can only
332 invoke editing commands that work with marked items.
333 (todo-edit-item--text): When there are marked items, make it a
334 noop if invoked with point not on an item; otherwise, ensure it
335 applies only to item at point.
336 (todo-item-undone): If there are marked not-done items, return
337 point to its original position before signaling user error.
338 (todo--user-error-if-marked-done-item): New function.
339 (todo-edit-item--header, todo-edit-item--diary-inclusion)
340 (todo-item-done): Use it.
342 2014-07-25 Glenn Morris <rgm@gnu.org>
344 * files.el (toggle-read-only): Re-add basic doc-string.
345 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
347 * progmodes/prolog.el (prolog-mode-keybindings-edit):
348 Replace missing `switch-to-prolog' with `run-prolog'.
349 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
351 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
353 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
354 of file-wide setting when changing category-wide setting.
356 2014-07-21 Glenn Morris <rgm@gnu.org>
358 * progmodes/hideif.el (hide-ifdef-mode-submap):
359 Also substitute read-only-mode.
360 * bindings.el (mode-line-toggle-read-only):
361 * bs.el (bs-toggle-readonly):
362 * buff-menu.el (Buffer-menu-toggle-read-only):
363 * dired.el (dired-toggle-read-only):
364 * files.el (view-read-only, find-file-read-only)
365 (find-file-read-only-other-window)
366 (find-file-read-only-other-frame):
367 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
368 Doc fixes re toggle-read-only.
370 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
372 * progmodes/python.el: Add comment about pipe buffering and
373 solutions for missing/delayed output in inferior Python shells.
376 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
378 * progmodes/python.el (python-mode): Don't set
379 mode-require-final-newline. (Bug#17990)
381 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
383 Make python.el work with IPython automatically. (Bug#15510)
384 * progmodes/python.el:
385 (python-shell-completion-setup-code): New value supporting iPython.
386 (python-shell-completion-string-code): New value supporting iPython.
387 (python-shell-completion-get-completions): Use them.
388 (python-shell-completion-module-string-code): Make obsolete.
389 (python-shell-prompt-input-regexps)
390 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
391 (python-shell-output-filter): Fix comment typo.
393 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
395 Fix Python shell prompts detection for remote hosts.
396 * progmodes/python.el (python-shell-prompt-detect):
397 Replace call-process with process-file and make it more robust.
399 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
401 Autodetect Python shell prompts. (Bug#17370)
402 * progmodes/python.el:
403 (python-shell-interpreter-interactive-arg)
404 (python-shell-prompt-detect-enabled)
405 (python-shell-prompt-detect-failure-warning)
406 (python-shell-prompt-input-regexps)
407 (python-shell-prompt-output-regexps): New vars.
408 (python-shell-prompt-calculated-input-regexp)
409 (python-shell-prompt-calculated-output-regexp): New vars.
410 (python-shell-get-process-name)
411 (python-shell-internal-get-process-name)
412 (python-shell-output-filter)
413 (python-shell-completion-get-completions): Use them.
414 (python-shell-prompt-detect)
415 (python-shell-prompt-validate-regexps): New functions.
416 (python-shell-prompt-set-calculated-regexps): New function.
417 (inferior-python-mode): Use it. Also honor overridden
418 python-shell-interpreter and python-shell-interpreter-args.
419 (python-shell-make-comint): Honor overridden
420 python-shell-interpreter and python-shell-interpreter-args.
421 (python-shell-get-or-create-process): Make it testable by allowing
422 to call run-python non-interactively.
423 (python-util-valid-regexp-p): New function.
424 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
425 (python-shell-prompt-output-regexp)
426 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
428 2014-07-16 Glenn Morris <rgm@gnu.org>
430 * desktop.el (after-init-hook): Disable startup frame restoration
431 in non-graphical situations. (Bug#17693)
433 2014-07-14 Glenn Morris <rgm@gnu.org>
435 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
436 if it was "empty", or used for a different set of files. (Bug#17884)
438 2014-07-13 Eli Zaretskii <eliz@gnu.org>
440 * bindings.el (mode-line-remote): If default-directory is not a
441 string, don't call file-remote-p on it; instead state in the
442 help-echo that it is nil. (Bug#17986)
444 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
446 Fix bug: C-x v v discarded existing log message (Bug#17884).
447 * vc/vc-dispatcher.el (vc-log-edit):
448 Don't clobber an already-existing log message.
450 2014-07-10 Glenn Morris <rgm@gnu.org>
452 * vc/log-edit.el (log-edit-changelog-entries):
453 Check for a visited-but-never-saved ChangeLog.
455 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
457 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
458 a non-existing file (bug#17970).
460 * faces.el (face-name): Undo last change.
461 (x-resolve-font-name): Don't call face-name (bug#17956).
463 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
465 Fix dedenters and electric colon handling. (Bug#15163)
467 * progmodes/python.el
468 (python-rx-constituents): Add dedenter and block-ender.
469 (python-indent-dedenters, python-indent-block-enders): Delete.
470 (python-indent-context): Return new case for dedenter-statement.
471 (python-indent-calculate-indentation): Handle new case.
472 (python-indent-calculate-levels): Fix levels calculation for
474 (python-indent-post-self-insert-function): Fix colon handling.
475 (python-info-dedenter-opening-block-message): New function.
476 (python-indent-line): Use it.
477 (python-info-closing-block)
478 (python-info-closing-block-message): Remove.
479 (python-info-dedenter-opening-block-position)
480 (python-info-dedenter-opening-block-positions)
481 (python-info-dedenter-statement-p): New functions.
483 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
485 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
486 the middle of a line (bug#17896).
488 2014-07-08 Juri Linkov <juri@jurta.org>
490 * startup.el (command-line): Append displaying the warning about
491 the errors in the init file to the end of `after-init-hook'.
494 2014-07-08 Juri Linkov <juri@jurta.org>
496 * faces.el (face-name): Return input arg `face' as is
497 when it's not a symbol.
498 (x-resolve-font-name): Don't check if the face is a symbol.
501 2014-07-08 Juri Linkov <juri@jurta.org>
503 * facemenu.el (list-colors-print): In help-echo format use %.2f
504 instead of %d because now HSV values are floating-point components
507 2014-07-06 Glenn Morris <rgm@gnu.org>
509 * emulation/cua-rect.el (cua--activate-rectangle):
510 Avoid setting cua--rectangle to nil. (Bug#17877)
512 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
514 * calendar/todo-mode.el: Fix wrong-type-argument error when
515 marking multiple consecutive items.
516 (todo-toggle-mark-item): Don't try to mark the empty lines at the
517 end of the todo and done items sections. Note in doc string that
518 items marked by passing a numeric prefix argument can include the
519 last todo and first done items.
520 (todo-mark-category): Don't try to mark the empty line between the
521 todo and done items sections.
523 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
525 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
526 proper Lisp quoting (bug#17934).
528 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
529 require-final-newline since prog-mode already took care of it (bug#17947).
531 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
533 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
534 refer to the Todo mode Info manual. Update the comment on
536 (todo-find-filtered-items-file): Add todo-prefix overlays.
537 (todo-filter-items): Reorder a let-bound variable to avoid a
538 wrong-type-argument error on canceling the file choice dialog.
540 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
542 * progmodes/octave.el (inferior-octave-mode):
543 Set comint-input-ring-size to a number (bug#17912).
545 2014-07-03 Juri Linkov <juri@jurta.org>
547 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
548 and `isearch-mode' associated with nil. (Bug#17849)
550 2014-07-02 Juri Linkov <juri@jurta.org>
552 * desktop.el (desktop-save): Rename arg `auto-save' to
553 `only-if-changed'. Doc fix. (Bug#17873)
555 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
557 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
558 Use insert-for-yank (bug#17271).
560 2014-07-02 Leo Liu <sdl.web@gmail.com>
562 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
563 Support lexical-binding.
565 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
567 * vc/log-edit.el (log-edit-goto-eoh): New function.
568 (log-edit--match-first-line): Use it (bug#17861).
570 2014-07-01 Glenn Morris <rgm@gnu.org>
572 * vc/log-edit.el (log-edit-hook): Add missing :version.
574 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
576 * progmodes/python.el (python-indent-post-self-insert-function):
577 Enhancements to electric indentation behavior inside
580 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
582 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
583 buffer-invisibility-spec (bug#17867).
585 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
587 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
590 2014-06-29 Glenn Morris <rgm@gnu.org>
592 * cus-edit.el (help):
593 * finder.el (finder-known-keywords):
594 * help.el (help-for-help-internal):
595 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
596 (ediff-redraw-registry-buffer):
597 * vc/ediff-ptch.el (ediff-patch-file-internal):
598 Doc fixes re "online" help. (Bug#17803)
600 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
601 (idlwave-mode): Doc URL update.
603 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
605 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
606 account for file-wide setting of todo-top-priorities-overrides.
607 Make code a bit cleaner.
609 2014-06-27 Leo Liu <sdl.web@gmail.com>
611 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
613 2014-06-27 Glenn Morris <rgm@gnu.org>
615 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
617 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
619 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
620 category-wide setting of todo-top-priorities-overrides, check for
621 a file-wide setting and fontify accordingly.
623 2014-06-26 Glenn Morris <rgm@gnu.org>
625 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
627 2014-06-26 Daiki Ueno <ueno@gnu.org>
629 * emacs-lisp/package.el (package--check-signature):
630 If package-check-signature is allow-unsigned, don't signal error when
631 we can't verify signature because of missing public key
632 (backport for bug#17625).
634 2014-06-26 Glenn Morris <rgm@gnu.org>
636 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
637 Remove outdated declaration.
639 * emacs-lisp/authors.el (authors-valid-file-names)
640 (authors-renamed-files-alist): Additions.
642 2014-06-25 Leo Liu <sdl.web@gmail.com>
644 * textmodes/picture.el (picture-set-tab-stops):
645 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
646 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
648 * progmodes/asm-mode.el (asm-calculate-indentation):
649 Use indent-next-tab-stop.
651 * indent.el (indent-accumulate-tab-stops): New function.
653 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
655 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
656 (package-desc-status): Obey it.
658 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
660 * calendar/todo-mode.el: Fix two bugs.
661 (todo-insert-item--basic): If user cancels item insertion to
662 another category before setting priority, show original category
663 whether it is in the same or a different file.
664 (todo-set-item-priority): After selecting category, instead of
665 moving point to top, which extends an active region, restore it.
667 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
669 * help-fns.el (describe-function-1): Check file-name is a string before
670 calling help-fns--autoloaded-p (bug#17564).
672 2014-06-24 Juri Linkov <juri@jurta.org>
674 * desktop.el (desktop-auto-save-enable)
675 (desktop-auto-save-disable): New functions.
676 (desktop-save-mode, desktop-auto-save-timeout): Use them.
677 (desktop-read): Disable the autosave before loading the desktop,
678 and enable afterwards. (Bug#17351)
680 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
682 Fix some indentation problem with \; and pipes (bug#17842).
683 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
684 (sh-smie--default-forward-token, sh-smie--default-backward-token):
686 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
687 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
688 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
690 2014-06-24 Eli Zaretskii <eliz@gnu.org>
692 * international/fontset.el (script-representative-chars):
693 Add representative characters for scripts added in Unicode 7.0.
694 (otf-script-alist): Synchronize with the latest registry of OTF
697 * international/characters.el (char-script-table): Update for
698 scripts added and codepoint ranges changed in Unicode 7.0.
700 2014-06-23 Leo Liu <sdl.web@gmail.com>
702 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
703 tab-stop-list to nil. (Bug#16381)
705 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
706 (indent-rigidly-left-to-tab-stop)
707 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
708 (move-to-tab-stop): Change callers.
710 2014-06-22 Eli Zaretskii <eliz@gnu.org>
712 * skeleton.el (skeleton-insert): Yet another fix of the doc string
713 wrt behavior of \n as the first/last element of a skeleton.
715 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
717 * net/tramp-adb.el (tramp-adb-handle-process-file):
718 * net/tramp-sh.el (tramp-sh-handle-process-file):
719 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
720 the output buffer when DISPLAY is non-nil. (Bug#17815)
722 2014-06-21 Glenn Morris <rgm@gnu.org>
724 * play/landmark.el (landmark-move-down, landmark-move-up):
725 Fix 2007-10-20 change - preserve horizontal position.
727 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
729 Fix completion retrieval parsing (bug#17209).
730 * progmodes/python.el (python-mode):
731 (python-util-strip-string): New function.
732 (python-shell-completion-get-completions): Use it.
734 2014-06-21 Eli Zaretskii <eliz@gnu.org>
736 * skeleton.el (skeleton-insert): Fix last change.
738 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
740 Enhancements for outline integration (bug#17796).
741 * progmodes/python.el (python-mode): Properly set
742 outline-heading-end-regexp so that comments after colons for
743 defuns are supported.
745 2014-06-21 Eli Zaretskii <eliz@gnu.org>
747 * skeleton.el (skeleton-insert): Doc fix.
749 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
751 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
752 (smie-config-guess): Use smie-config-local so the rules are obeyed
755 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
756 since it's already done inside the loop (bug#17819).
758 2014-06-20 Martin Rudalics <rudalics@gmx.at>
760 * mouse.el (mouse-drag-line): Re-remove code initially removed
761 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
764 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
766 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
767 align with the surrounding parent (bug#17721).
769 2014-06-20 Eli Zaretskii <eliz@gnu.org>
771 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
773 (texinfo-insert-block, texinfo-insert-@end)
774 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
775 local setting of skeleton-end-newline by adding an explicit \n to
776 the skeletons where appropriate. (Bug#17801)
778 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
780 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
781 (smie-indent--hanging-p): Use it.
782 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
784 2014-06-20 Leo Liu <sdl.web@gmail.com>
786 * simple.el (read-quoted-char): Don't let help chars pop up help
789 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
791 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
794 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
796 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
797 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
800 2014-06-18 Eli Zaretskii <eliz@gnu.org>
802 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
803 and later. (Bug#17790)
805 2014-06-18 Juri Linkov <juri@jurta.org>
807 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
808 to `soft'. (Bug#17554)
810 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
812 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
815 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
817 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
818 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
820 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
822 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
823 `unread-command-events'.
825 2014-06-14 Glenn Morris <rgm@gnu.org>
827 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
828 Replace delete-duplicates and mapcan by cl- versions throughout.
829 And cl-macroexpand-all by macroexpand-all.
830 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
832 2014-06-14 Eli Zaretskii <eliz@gnu.org>
834 * subr.el (posn-col-row): Doc fix. (Bug#17768)
836 2014-06-14 Juri Linkov <juri@jurta.org>
838 * bindings.el: Put `ascii-character' property on keypad keys
839 mapped to characters. (Bug#17759)
841 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
843 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
844 bumping forward into a closing paren (bug#17761).
846 * term/xterm.el (xterm--version-handler): Work around for OSX
847 Terminal.app (bug#17607).
849 2014-06-08 Glenn Morris <rgm@gnu.org>
851 * startup.el (initial-buffer-choice): Doc fix.
852 Reset :version (adding an option does not merit a :version bump).
854 * bookmark.el (bookmark-load):
855 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
857 2014-06-06 Juri Linkov <juri@jurta.org>
859 * desktop.el: Activate auto-saving on window configuration changes.
860 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
861 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
862 (desktop-auto-save-set-timer): Change REPEAT arg of
863 `run-with-idle-timer' from t to nil.
864 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
866 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
868 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
869 vc-hg-command (bug#17570).
871 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
873 * international/mule-cmds.el (ucs-names): Add special entry for BEL
876 2014-06-06 Glenn Morris <rgm@gnu.org>
878 * startup.el (window-setup-hook): Doc fix.
880 2014-06-05 Glenn Morris <rgm@gnu.org>
882 * emacs-lisp/package.el (package-check-signature)
883 (package-unsigned-archives): Doc fixes.
885 2014-06-03 Martin Rudalics <rudalics@gmx.at>
887 * window.el (display-buffer-use-some-window): Don't make window
888 used smaller than it was before (Bug#17671).
890 2014-06-03 Eli Zaretskii <eliz@gnu.org>
892 * menu-bar.el (menu-bar-open): Fix last change: use the PC
893 'redisplay' instead of '(sit-for 0)'.
895 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
897 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
900 2014-06-03 Glenn Morris <rgm@gnu.org>
902 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
904 2014-06-02 Eli Zaretskii <eliz@gnu.org>
906 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
908 2014-06-01 Eli Zaretskii <eliz@gnu.org>
910 * simple.el (keyboard-quit): Force update of mode lines, to remove
911 the "Def" indicator, if we were defining a macro. (Bug#17615)
913 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
915 * minibuffer.el (minibuffer-force-complete-and-exit):
916 Obey minibuffer-default (bug#17545).
918 * progmodes/js.el (js-indent-line): Don't mix columns and chars
921 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
923 * subr.el (set-transient-map): Don't wait for some "nested"
924 transient-map to finish if we're only supposed to be active for
925 the next command (bug#17642).
927 2014-05-31 Leo Liu <sdl.web@gmail.com>
929 * emacs-lisp/gv.el (window-buffer, window-display-table)
930 (window-dedicated-p, window-hscroll, window-point, window-start):
931 Fix gv-expander. (Bug#17630)
933 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
935 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
938 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
939 for the single comma, since ", " is *very* common in normal French text
942 2014-05-30 Glenn Morris <rgm@gnu.org>
944 * emacs-lisp/package.el (package-check-signature)
945 (package-unsigned-archives): Fix :version.
947 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
949 * subr.el (sit-for): Don't run input-methods (bug#15614).
951 2014-05-28 Glenn Morris <rgm@gnu.org>
953 * cus-start.el: Fix some :version numbers.
955 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
957 * simple.el (deactivate-mark): Set mark-active to nil even if
958 deactivation is done via setting transient-mark-mode to nil,
959 since one is buffer-local and the other is global.
961 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
962 there can't be more than 2 arguments (bug#17584).
964 2014-05-27 Glenn Morris <rgm@gnu.org>
966 * simple.el (filter-buffer-substring-functions)
967 (filter-buffer-substring-function, buffer-substring-filters)
968 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
970 * minibuffer.el (completion-in-region-functions, completion-in-region)
971 (completion--in-region): Doc fixes.
973 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
974 (expand-abbrev, abbrev--default-expand): Doc fixes.
976 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
978 Include sources used to create macuvs.h.
979 * international/README: Refer to the Unicode Terms of Use rather
980 than copying it bodily here, as that simplifies maintenance.
982 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
984 * cus-face.el (custom-face-attributes): Add :distant-foreground.
986 2014-05-25 Martin Rudalics <rudalics@gmx.at>
988 * window.el (window--dump-frame): Remove interactive
991 2014-05-23 Glenn Morris <rgm@gnu.org>
993 * hippie-exp.el (he-line-search-regexp):
994 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
996 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
998 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
999 to avoid errors when trying to create or visit a file foo.todo
1000 located outside to todo-directory, and to allow having such files
1001 without them being tied to Todo mode (bug#17482).
1002 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1003 (todo-archive-done-item, todo-find-filtered-items-file)
1004 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1005 (todo-category-completions, todo-read-category): When visiting a
1006 Todo file, make sure we're in the right mode and the buffer local
1008 (todo-make-categories-list, todo-reset-nondiary-marker)
1009 (todo-reset-done-string, todo-reset-comment-string):
1010 After processing all Todo files, kill the buffers of those files that
1011 weren't being visited before the processing.
1012 (todo-display-as-todo-file, todo-add-to-buffer-list)
1013 (todo-visit-files-commands): Comment out.
1014 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1015 (auto-mode-alist): Remove add-to-list calls making Todo file
1016 extensions unrestrictedly tied to Todo modes.
1018 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1020 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1021 (advice-function-member-p): Tell it to check both names and functions
1023 (advice--add-function): Adjust call accordingly.
1025 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1027 * calendar/todo-mode.el: Miscellaneous bug fixes.
1028 (todo-delete-file): When deleting an archive but not its todo
1029 file, make sure to update the todo file's category sexp.
1030 (todo-move-category): Keep the moved category's name unless the
1031 file moved to already has a category with that name. If the
1032 numerically last category of the source file was moved, make the
1033 first category current to avoid selecting a nonexisting category.
1034 (todo-merge-category): Fix implementation to make merging to a
1035 category in another file work as documented. Eliminate now
1036 insufficient and unnecessary renaming of archive category, correct
1037 document string accordingly, and clarify it. If the numerically
1038 last category of the source file was merged, make the first
1039 category current to avoid selecting a nonexisting category.
1040 (todo-archive-done-item): When there are marked items and point
1041 happens to be on an unmarked item, ignore the latter. Don't leave
1042 point below last item after archiving marked items.
1043 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1044 from an archive with only one category deletes the archive only
1045 when the category is empty after unarchiving. Make sure the todo
1046 file's category sexp is updated.
1047 (todo-read-file-name): Allow an existing file name even when it is
1048 not required (todo-move-category needs this to work as documented).
1049 (todo-add-file): Call todo-validate-name to reject the name of an
1050 existing todo file (needed due to fix in todo-read-file-name).
1051 (todo-reset-nondiary-marker): Also reset in filtered items files.
1052 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1053 regexp filtered items files.
1054 (todo-reset-highlight-item): Also reset in filtered items files.
1055 Fix incorrect variable reference in document string.
1057 2014-05-22 Glenn Morris <rgm@gnu.org>
1059 * window.el (window--dump-frame): Avoid error in --without-x builds.
1061 2014-05-21 Glenn Morris <rgm@gnu.org>
1063 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1065 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1067 * frame.el (set-frame-font): Doc fix.
1069 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1071 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1073 * emacs-lisp/package.el (package--download-one-archive):
1074 Use `write-region' instead of `save-buffer' to avoid running various
1076 (describe-package-1): Same. Insert newline at the end of the
1077 buffer if appropriate.
1079 2014-05-20 Juri Linkov <juri@jurta.org>
1081 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1082 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1083 Add more modifiers: meta, control, shift, hyper, super, alt.
1086 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1087 to allow changing its value with `set-variable'.
1089 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1091 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1093 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1095 (scheme-mode-variables): Set syntax-propertize-function instead of
1096 font-lock-syntactic-face-function.
1097 (scheme-font-lock-syntactic-face-function): Delete.
1099 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1101 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1103 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1106 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1108 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1109 for a temporary file name.
1111 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1113 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1115 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1117 * net/dbus.el (dbus-init-bus, dbus-call-method)
1118 (dbus-call-method-asynchronously, dbus-send-signal)
1119 (dbus-method-return-internal, dbus-method-error-internal):
1120 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1122 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1124 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1125 methods which do not have a doc string. (Bug#17490)
1127 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1128 Stefan Monnier <monnier@iro.umontreal.ca>
1130 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1133 2014-05-14 Glenn Morris <rgm@gnu.org>
1135 * vc/emerge.el (emerge-temp-file-prefix):
1136 Make pointless option obsolete.
1137 (emerge-temp-file-mode): Make non-functional option obsolete.
1139 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1141 * net/browse-url.el (browse-url):
1142 Use `unhandled-file-name-directory' when setting `default-directory',
1143 in order to circumvent stalled remote connections. (Bug#17425)
1145 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1147 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1148 into autoloading just because of a silly indirection.
1150 2014-05-11 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
1152 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1154 2014-05-11 Glenn Morris <rgm@gnu.org>
1156 * emacs-lisp/find-gc.el: Move to ../admin.
1158 2014-05-10 Glenn Morris <rgm@gnu.org>
1160 * printing.el (pr-version):
1161 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1163 * net/browse-url.el (browse-url-mosaic):
1164 Create /tmp/Mosaic.PID as a private file.
1166 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1168 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1169 (advice--member-p): If name is given, only compare the name.
1170 (advice--remove-function): Don't stop at the first match.
1171 (advice--normalize-place): New function.
1172 (add-function, remove-function): Use it.
1173 (advice--add-function): Pass the name, if any, to
1174 advice--remove-function.
1176 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1178 * electric.el (electric-indent-post-self-insert-function): Don't use
1179 `pos' after modifying the buffer (bug#17449).
1181 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1183 * subr.el (function-put): Add function.
1185 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1187 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1188 Correct argument list to conform to todo-insert-item--basic.
1190 2014-05-09 Glenn Morris <rgm@gnu.org>
1192 * files.el (cd-absolute): Test if directory is accessible
1193 rather than executable. (Bug#17330)
1195 * progmodes/compile.el (recompile):
1196 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1198 2014-05-08 Juri Linkov <juri@jurta.org>
1200 * dired.el (dired-check-switches, dired-switches-recursive-p):
1201 New functions. (Bug#17218)
1202 (dired-switches-escape-p, dired-move-to-end-of-filename):
1203 Use `dired-check-switches'.
1204 (dired-insert-old-subdirs, dired-build-subdir-alist)
1205 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1207 2014-05-08 Glenn Morris <rgm@gnu.org>
1209 * net/browse-url.el (browse-url-mosaic):
1210 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1211 This is CVE-2014-3423.
1213 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1215 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1216 (xterm-mouse--read-event-sequence-1000): Return nil if something
1218 (xterm-mouse-event): Propagate it.
1219 (xterm-mouse-translate-1): Handle it.
1221 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1223 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1224 four slots of the parameter list are filled, make sure to pass it
1225 to the argument list of todo-insert-item--basic.
1227 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1229 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1230 Add optional `seen' argument to detect and break infinite loops.
1232 2014-05-06 Eli Zaretskii <eliz@gnu.org>
1234 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1235 (trace-unsafe, trace-use-tree): Make parentheses style be
1236 according to Emacs style.
1238 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
1240 * net/tramp-sh.el (tramp-remote-process-environment):
1241 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1243 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1244 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
1245 extra "PSx=..." commands.
1246 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1249 (tramp-uudecode): Replace the hard-coded temporary file name by a
1251 (tramp-remote-coding-commands): Enhance docstring.
1252 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1254 This is CVE-2014-3424.
1256 2014-05-06 Glenn Morris <rgm@gnu.org>
1258 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1259 (find-gc-source-files): Update some names.
1260 (trace-call-tree): Simplify and update.
1261 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1262 This is CVE-2014-3422.
1264 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1266 * minibuffer.el (completion--try-word-completion): Revert fix for
1267 Bug#15980 (bug#17375).
1269 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1270 Always store button numbers in the same way in xterm-mouse-last;
1271 Don't burp is xterm-mouse-last is not set as expected.
1272 Never return negative indices.
1274 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
1276 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1277 Backtrack one char if the global/char-literal var matcher hits
1278 inside a string. The next char could be the beginning of an
1279 expression expansion.
1281 2014-05-05 Glenn Morris <rgm@gnu.org>
1283 * help-fns.el (describe-function-1): Test for an autoload before a
1284 macro, since `macrop' works on autoloads. (Bug#17410)
1286 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1288 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1290 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1291 Make sure the new point we return is within the new string (bug#17239).
1293 2014-05-03 Eli Zaretskii <eliz@gnu.org>
1295 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1297 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1299 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1300 Use nil rather than `default' for the "default" appearance (bug#17388).
1301 * vc/ediff-util.el (ediff-inferior-compare-regions)
1302 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1303 a misleading `default' value when it's really a boolean.
1304 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1305 overlay is not visible.
1307 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1309 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1310 (todo-menu): Uncomment and update.
1312 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1314 * calendar/todo-mode.el: Reimplement item editing to have the same
1315 basic user interface as item insertion, and make small UI and
1316 larger internal improvements to the latter.
1317 (todo-insert-item): Add reference to the Todo mode user manual to
1318 the documentation string.
1319 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1320 adjust all callers. Change signature to combine diary and
1321 nonmarking arguments. Incorporate functionality of deleted item
1322 copying command and add error checking. Remove detailed
1323 descriptions of the arguments from the documentation string, since
1324 this is treated in the Todo mode user manual.
1325 (todo-copy-item, todo-edit-multiline-item)
1326 (todo-edit-done-item-comment, todo-edit-item-header)
1327 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1328 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1329 (todo-edit-item-date-year, todo-edit-item-date-month)
1330 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1332 (todo-edit-item): Reimplement as wrapper command for
1333 todo-edit-item--next-key and make it distinguish done and not done
1335 (todo-edit-item--text): New function, replacing old command
1336 todo-edit-item and incorporating deleted commands
1337 todo-edit-multiline-item and todo-edit-done-item-comment.
1338 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1339 Use only numeric value of prefix argument. Remove detailed
1340 descriptions of the arguments from the documentation string, since
1341 this is treated in the Todo mode user manual.
1342 (todo-edit-item--diary-inclusion): New function, replacing old
1343 command todo-edit-item-diary-inclusion and incorporating and fixing
1344 functionality of deleted command todo-edit-item-diary-nonmarking,
1345 making sure to remove todo-nondiary-marker when adding
1346 diary-nonmarking-symbol.
1347 (todo-edit-category-diary-inclusion): Make sure to delete
1348 diary-nonmarking-symbol when adding todo-nondiary-marker.
1349 (todo-edit-category-diary-nonmarking): Fix indentation.
1350 (todo-insert-item--parameters): Group diary and nonmarking
1351 parameters together.
1352 (todo-insert-item--apply-args): Adjust to signature of
1353 todo-insert-item--basic and incorporate copy parameter.
1354 Make small code improvements.
1355 (todo-insert-item--next-param): Improve prompt and adjust it to
1356 new parameter grouping. Remove obsolete code.
1357 (todo-edit-item--param-key-alist)
1358 (todo-edit-item--date-param-key-alist)
1359 (todo-edit-done-item--param-key-alist): New defconsts.
1360 (todo-edit-item--prompt): New variable.
1361 (todo-edit-item--next-key): New function.
1362 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1363 Remove bindings of deleted commands.
1365 2014-05-02 Leo Liu <sdl.web@gmail.com>
1367 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1369 2014-05-01 Glenn Morris <rgm@gnu.org>
1371 * allout-widgets.el (allout-widgets-tally)
1372 (allout-decorate-item-guides):
1373 * menu-bar.el (menu-bar-positive-p):
1374 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1375 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1376 * progmodes/js.el (js--inside-param-list-p)
1377 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1378 * progmodes/prolog.el (region-exists-p):
1379 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1380 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1381 Doc fixes (replace `iff').
1383 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1385 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1387 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1389 * dired.el (dired-initial-position-hook, dired-initial-position):
1392 2014-04-29 Glenn Morris <rgm@gnu.org>
1394 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1396 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
1398 * faces.el (face-spec-recalc): Apply X resources only after the
1399 defface spec has been applied. Thus, X resources are no longer
1400 overridden by the defface spec which also fixes issues on win32 where
1401 the toolbar coloring was wrong because it is set through X resources
1402 and was (wrongfully) overridden. (Bug#16694)
1404 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1406 * textmodes/rst.el (electric-pair-pairs): Declare.
1407 (rst-mode): Set it (bug#17131).
1409 2014-04-27 Juri Linkov <juri@jurta.org>
1411 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1412 and `print-level' to nil. (Bug#17351)
1414 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1416 * battery.el (battery-update): Handle the case where battery
1417 status is "N/A" (bug#17319).
1419 2014-04-24 Eli Zaretskii <eliz@gnu.org>
1421 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1422 Use equal-including-properties to compare help-echo strings (bug#17331).
1424 2014-04-24 Leo Liu <sdl.web@gmail.com>
1426 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1427 Fix syntax for @. (Bug#17325)
1429 2014-04-24 Daniel Colascione <dancol@dancol.org>
1431 * emacs-lisp/cl.el (gv): Require gv early to break eager
1432 macro-expansion cycles.
1434 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1436 * simple.el (region-active-p): Check there's a mark (bug#17324).
1438 * simple.el (completion-list-mode-map): Use choose-completion for the
1439 mouse binding as well (bug#17302).
1440 (completion-list-mode, completion-setup-function): Adjust docstring and
1441 echo area message accordingly.
1442 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1443 calling convention of choose-completion.
1444 * comint.el (comint-dynamic-list-completions):
1445 * term.el (term-dynamic-list-completions): Accept choose-completion.
1447 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1448 &, |, +, - and * can't be a division (bug#17317).
1450 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1452 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1453 features on gnome-terminal (bug#16988).
1455 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1457 * dired.el (dired-insert-set-properties): Do not consider
1458 subdirectory headings and empty lines to be information that
1459 `dired-hide-details-mode' should hide. (Bug#17228)
1461 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1463 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1464 Remove test messages.
1465 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1468 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1470 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1471 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1473 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1475 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
1477 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1478 Set "IFS=" when using read builtin, in order to preserve spaces in
1479 the file name. Add test messages for hunting a bug on hydra.
1480 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1482 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1484 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1485 Don't prettify a word within a symbol.
1487 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
1489 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1492 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1494 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1495 assignments such as "case=hello" (bug#17297).
1497 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1499 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1501 (tramp-file-name-handler, tramp-completion-file-name-handler):
1502 Revert patch from 2014-04-10, it isn't necessary anymore.
1503 (tramp-autoload-file-name-handler)
1504 (tramp-register-autoload-file-name-handlers): New defuns.
1505 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1506 (tramp-register-file-name-handlers): Remove also
1507 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1508 Do not autoload its invocation, but eval it after loading of 'tramp.
1510 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1512 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1514 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1516 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
1517 was done (bug#17264).
1518 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
1521 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1522 here-documents (bug#17262).
1524 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1526 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1527 Provide doc strings, as required by snarf-documentation.
1529 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1531 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1532 arg of overlays-at. Use `invisible-p'.
1534 * obsolete/lucid.el (extent-at):
1535 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1537 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1539 2014-04-14 João Távora <joaotavora@gmail.com>
1541 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1544 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1546 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1547 Use mapc to loop over a vector. (Bug#17257).
1549 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
1551 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1552 patch, there are new problems with file names containing spaces.
1553 Get rid of backticks. (Bug#17238)
1555 2014-04-13 João Távora <joaotavora@gmail.com>
1557 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1560 2014-04-13 Eli Zaretskii <eliz@gnu.org>
1562 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1563 (blink-cursor-mode): Mention customization variables and the
1564 effect of 'blink-cursor-blinks'.
1566 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
1568 * simple.el (undo): Prevent insertion of identity mapping into
1569 undo-equiv-table so as undo-only does not inf loop in the presence
1570 of consecutive nils in undo list.
1572 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1574 * faces.el (make-face): Deprecate optional argument as it is no
1575 longer needed/used since the conditional X resources handling
1576 has been pushed down to make-face-x-resource-internal itself.
1577 (make-empty-face): Don't pass optional argument to make-face.
1579 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1581 * international/characters.el <standard-case-table>: Add entries
1582 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1583 Set category of Coptic characters be 'g' (Greek).
1585 2014-04-12 Leo Liu <sdl.web@gmail.com>
1587 * progmodes/octave.el (completion-table-with-cache): Define if not
1589 (octave-goto-function-definition)
1590 (octave-sync-function-file-names)
1591 (octave-find-definition-default-filename): Backquote upattern for
1594 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1596 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1597 name twice due to backticks. (Bug#17238)
1599 2014-04-11 Glenn Morris <rgm@gnu.org>
1601 * term/w32-win.el (x-win-suspend-error):
1602 * term/x-win.el (x-win-suspend-error): Sync docs.
1604 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1606 Ediff's overlay priorities cause more trouble than they solve.
1607 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1608 (ediff-highest-priority): Remove function (bug#17234).
1609 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1610 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1611 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1614 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
1616 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1617 entry; use symbol boundaries to avoid mis-matches.
1619 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
1621 * net/tramp.el (tramp-file-name-handler)
1622 (tramp-completion-file-name-handler): Avoid recursive loading.
1624 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1625 Quote result also locally.
1627 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1629 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1630 Module methods. (Bug#17216)
1632 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1634 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1635 (describe-bindings-internal): Mark obsolete.
1637 2014-04-07 João Távora <joaotavora@gmail.com>
1640 (electric-pair--syntax-ppss): When inside comments parse from
1642 (electric-pair--balance-info): Fix typo in comment.
1643 (electric-pair--in-unterminated-string-p): Delete.
1644 (electric-pair--unbalanced-strings-p): New function.
1645 (electric-pair-string-bound-function): New var.
1646 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1647 according to `electric-pair--in-unterminated-string-p'
1649 2014-04-07 João Távora <joaotavora@gmail.com>
1651 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1652 Inhibit quote pairing if point-max is inside an unterminated string.
1653 (electric-pair--looking-at-unterminated-string-p): Delete.
1654 (electric-pair--in-unterminated-string-p): New function.
1656 2014-04-07 Glenn Morris <rgm@gnu.org>
1658 * shell.el (shell-directory-tracker):
1659 Go back to just ignoring failures. (Bug#17159)
1661 2014-04-06 João Távora <joaotavora@gmail.com>
1663 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1664 backspace. (bug#16981)
1665 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1666 (electric-pair-backward-delete-char-untabify): Delete.
1667 (electric-pair-mode-map): Bind backspace to a menu item filtering
1668 a new `electric-pair-delete-pair' command.
1669 (electric-pair-delete-pair): New command.
1671 2014-04-06 João Távora <joaotavora@gmail.com>
1673 * progmodes/python.el (python-electric-pair-string-delimiter):
1674 Fix triple-quoting electricity. (Bug#17192)
1676 2014-04-06 João Távora <joaotavora@gmail.com>
1678 * elec-pair.el (electric-pair-post-self-insert-function):
1679 Don't skip whitespace when `electric-pair-text-pairs' and
1680 `electric-pair-pairs' were used. syntax to
1681 electric-pair--skip-whitespace. (Bug#17183)
1683 2014-04-06 Eli Zaretskii <eliz@gnu.org>
1685 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1688 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1690 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1691 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1693 2014-04-05 Glenn Morris <rgm@gnu.org>
1695 * help.el (view-lossage): Doc tweak.
1697 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
1699 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1700 only when inhibit-x-resources is nil, and do that earlier in the
1701 function. Doc fix. (Bug#16694)
1702 (face-spec-choose): Accept additional optional argument, whose
1703 value is returned if no matching attributes are found.
1704 (face-spec-recalc): Use the new optional argument when calling
1705 face-spec-choose. (Bug#16378)
1706 (make-face-x-resource-internal): Do nothing when
1707 inhibit-x-resources is non-nil. Don't touch the default face if
1708 reversed video is given--as was done in previous versions of Emacs.
1709 (face-set-after-frame-default): Don't call
1710 make-face-x-resource-internal here. (Bug#16434)
1712 2014-04-04 Tassilo Horn <tsdh@gnu.org>
1714 * doc-view.el (doc-view-bookmark-jump):
1715 Use `bookmark-after-jump-hook' to jump to the right page after the
1716 buffer is shown in a window. (bug#16090)
1718 2014-04-04 Eli Zaretskii <eliz@gnu.org>
1720 * international/characters.el (mirroring): Fix last change:
1721 instead of loading uni-mirrored.el explicitly, do that implicitly
1722 by creating the 'mirroring' uniprop table. This avoids announcing
1723 the loading of uni-mirrored.el.
1725 2014-04-04 Glenn Morris <rgm@gnu.org>
1727 * files.el (buffer-stale--default-function)
1728 (buffer-stale-function, revert-buffer--default):
1729 * autorevert.el (auto-revert-buffers): Doc tweaks.
1731 2014-04-03 Eli Zaretskii <eliz@gnu.org>
1733 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1735 2014-04-03 Glenn Morris <rgm@gnu.org>
1737 * files.el (make-backup-file-name-function)
1738 (make-backup-file-name, make-backup-file-name--default-function)
1739 (make-backup-file-name-1, find-backup-file-name)
1740 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1741 (buffer-stale--default-function, buffer-stale-function)
1742 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1743 (revert-buffer, revert-buffer--default)
1744 (revert-buffer-insert-file-contents--default-function):
1745 Doc fixes related to defaults no longer being nil.
1746 (make-backup-file-name-function): Bump :version.
1747 Restore nil as a valid but deprecated custom type.
1749 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1751 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
1752 used as a variable (bug#17174).
1754 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1756 * progmodes/perl-mode.el (perl-indent-new-calculate):
1757 Handle forward-sexp failure (bug#16985).
1758 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1759 modifiers introducing expressions (bug#17116).
1761 2014-04-02 Glenn Morris <rgm@gnu.org>
1763 * menu-bar.el (menu-bar-file-menu):
1764 * vc/ediff.el (ediff-current-file):
1765 Update for revert-buffer-function no longer being nil by default.
1767 * simple.el (command-execute): Respect nil disabled-command-function.
1769 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1771 * simple.el (command-execute): Do not execute the command when it
1772 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1774 2014-03-29 Juri Linkov <juri@jurta.org>
1776 * dired-aux.el (dired-compress-file): Don't use string-match-p
1777 because its match data is used afterwards.
1779 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1781 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1784 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1786 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1787 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1789 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1790 Don't propertize `?' or `!' as symbol constituent when after
1793 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1795 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1796 which is no longer needed and causes trouble in GTK builds (bug#17046).
1798 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1799 Use url-insert-file-contents; package-handle-response no longer exists.
1801 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1803 * emacs-lisp/package.el: Fix bug#16733 (again).
1804 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1805 (url-http-target-url): Remove unused declarations.
1806 (package-handle-response): Remove.
1807 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1808 (package--download-one-archive): Use current-buffer instead of
1809 dynamic binding of `buffer'.
1810 (describe-package-1): Do not decode readme-string.
1812 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
1814 * simple.el (primitive-undo): Correction to 2014-03-24 change.
1816 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
1818 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1820 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1821 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1822 `remote-file-name-inhibit-cache' to nil in the second pass.
1823 (tramp-find-executable): Do not call "which" on SunOS.
1824 (tramp-send-command-and-check): Fix docstring.
1825 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1826 check whether source directory has set the sticky bit.
1828 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
1830 * simple.el (primitive-undo): Only process marker adjustments
1831 validated against their corresponding (TEXT . POS). Issue warning
1832 for lone marker adjustments in undo history. (Bug#16818)
1833 (undo-make-selective-list): Add marker adjustments to selective
1834 undo list based on whether their corresponding (TEXT . POS) is in
1835 the region. Remove variable adjusted-markers, which was unused
1836 and only non nil during undo-make-selective-list.
1837 (undo-elt-in-region): Return nil when passed a marker adjustment
1838 and explain in function doc.
1840 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1842 * emacs-lisp/package.el (package--add-to-archive-contents):
1843 Include already installed and built-in packages in
1844 `package-archive-contents'.
1845 (package-install): Don't include already installed packages in the
1846 options during interactive invocation. (Bug#16762)
1848 2014-03-24 Daniel Colascione <dancol@dancol.org>
1850 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1851 instead of cl-loop search function.
1853 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
1855 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1857 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1859 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1861 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1863 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1864 Match special global variables without curlies, too.
1865 (ruby-font-lock-keywords): Simplify the matcher for special global
1866 variables. Don't require a non-word character after the variable.
1869 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1871 * simple.el (redisplay-highlight-region-function): Increase priority of
1872 overlay to make sure boundaries are visible (bug#15899).
1874 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1876 * frameset.el (frameset-restore): Compare display strings with equal.
1878 * frame.el (make-frame): Don't quote display name in error message,
1879 it is already a string.
1881 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1883 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1886 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
1888 * emacs-lisp/package.el (package-show-package-list): If the buffer
1889 is already displayed in another window, switch to that window.
1891 2014-03-21 Daniel Colascione <dancol@dancol.org>
1893 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1894 information in bug reports.
1896 2014-03-23 Daniel Colascione <dancol@dancol.org>
1898 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1899 list to look for keyword arguments instead of `memq', fixing
1900 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1901 Please make bootstrap.
1903 2014-03-23 Richard Stallman <rms@gnu.org>
1905 * battery.el (battery-linux-sysfs): Search for each field
1906 from the beginning of the buffer.
1908 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1910 * emacs-lisp/package.el (package-desc): Use the contents of the
1911 quoted form, not its cdr. (Bug#16873)
1913 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1915 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1916 benefit of doc.c; change parameter profile to match the X function.
1918 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1920 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1921 and `tramp-copy-env'.
1923 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1924 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1926 2014-03-21 Glenn Morris <rgm@gnu.org>
1928 * electric.el (electric-indent-post-self-insert-function): Add doc.
1930 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1932 * emacs-lisp/package.el (package-compute-transaction):
1933 Use `version-list-<=' to compare the requirement version against
1934 the version of package already to be installed. Update the error
1935 message. (Bug#16826)
1937 * progmodes/ruby-mode.el (ruby-smie-rules):
1938 Add indentation rule for ` @ '. (Bug#17050)
1940 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1942 * align.el (align-regexp): Remove superfluous backslash.
1944 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1945 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1946 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1947 Fix docstring typos.
1948 (ffap-next): Use C-u in docstring.
1949 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1950 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1951 Remove superfluous backslashes.
1952 (ffap-string-at-point): Reflow docstring.
1954 * server.el (server-host): Reflow docstring.
1955 (server-unload-function): Fix docstring typo.
1956 (server-eval-at): Remove superfluous backslash.
1958 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1959 (skeleton-insert): Doc fix.
1960 (skeleton-insert): Reflow docstring.
1962 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1963 (tty-color-approximate, tty-color-by-index, tty-color-values)
1964 (tty-color-desc): Remove superfluous backslashes.
1966 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1968 * electric.el (electric-newline-and-maybe-indent): New command.
1969 Bind it globally to C-j.
1970 (electric-indent-mode): Don't mess with the global map any more.
1971 Don't drop the post-self-insert-hook is some buffer is still using it
1974 * bindings.el (global-map): Remove C-j binding.
1976 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1977 the docstring of functions advised before dumping (bug#16993).
1979 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1981 * ps-print.el (ps-generate-postscript-with-faces):
1982 Explicitly deactivate the mark (bug#16866).
1983 * simple.el (deactivate-mark): Update region highlight.
1985 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
1987 * emacs-lisp/package.el (describe-package-1):
1988 Decode commentary (bug#16733).
1990 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
1992 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1993 modification of the value argument of :set (bug#16755).
1995 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1997 * simple.el (newline-and-indent): Do autofill (bug#17031).
1999 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2001 * newcomment.el (comment-normalize-vars): Only add escaping check
2002 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2003 (comment-beginning): Use `narrow-to-region' instead of moving back
2005 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2006 (comment-start-skip): Update the docstring.
2008 2014-03-18 Richard Stallman <rms@gnu.org>
2010 * dired.el (dired-display-file): Force use of other window.
2012 2014-03-18 Daniel Colascione <dancol@dancol.org>
2014 * startup.el (tty-handle-args): Remove debug message from 2007.
2016 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2018 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2019 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2020 (advice--make-1, advice-add, advice-remove):
2021 Remove braindead :advice-pending hack.
2023 2014-03-17 Glenn Morris <rgm@gnu.org>
2025 * calendar/calendar.el (calendar-generate-month): Apply weekend
2026 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2028 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2030 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2031 (tramp-call-process): Trace also DESTINATION.
2033 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2034 Quote file names when they are local. Remove superfluous trace.
2036 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2038 * newcomment.el (comment-beginning): If `comment-start-skip'
2039 doesn't match, move back one char and try again. (Bug#16971)
2041 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2042 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2043 Set `comment-start-skip' to a simpler value that doesn't try to
2044 check if the semicolon is escaped (this is handled by
2045 `syntax-ppss' now). (Bug#16971)
2047 * progmodes/scheme.el (scheme-mode-variables): Same.
2049 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2051 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2052 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2053 current (Bug#16816, Bug#17007).
2054 (with-current-buffer-window): New macro doing the same as
2055 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2056 * help.el (help-print-return-message): Warn in doc-string to not
2057 use this in `with-help-window'.
2058 (describe-bindings-internal): Call `describe-buffer-bindings'
2059 from within help buffer. See Juanma's scenario in (Bug#16816).
2060 (with-help-window): Update doc-string.
2061 * dired.el (dired-mark-pop-up):
2062 * files.el (save-buffers-kill-emacs):
2063 * register.el (register-preview): Use `with-current-buffer-window'
2064 instead of `with-temp-buffer-window'.
2066 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2068 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2069 Implement inserting into current buffer, documented in their docstrings.
2070 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2071 (rst-section-tree-point, rst-forward-section, rst-indent)
2072 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2073 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2074 (rst-font-lock-handle-adornment-pre-match-form)
2075 (rst-repeat-last-character): Reflow docstrings.
2076 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2077 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2078 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2079 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2080 Fix docstring typos.
2081 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2082 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2083 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2085 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2087 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2088 for compatibility with other ports.
2089 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2090 from the -xrm command line argument, but in the Nextstep port its value
2091 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2093 * progmodes/python.el (defconst, python-syntax-count-quotes)
2094 (python-indent-region, python-indent-shift-right)
2095 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2096 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2097 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2098 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2099 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2100 (python-shell-buffer-substring, python-shell-send-buffer)
2101 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2102 (python-completion-complete-at-point, python-fill-docstring-style)
2103 (python-eldoc-function, python-imenu-format-item-label)
2104 (python-imenu-format-parent-item-label)
2105 (python-imenu-format-parent-item-jump-label)
2106 (python-imenu--build-tree, python-imenu-create-index)
2107 (python-imenu-create-flat-index): Fix docstring typos.
2108 (python-indent-context, python-shell-prompt-regexp, run-python):
2109 Remove superfluous backslashes.
2110 (python-indent-line, python-nav-beginning-of-defun)
2111 (python-shell-get-buffer, python-shell-get-process)
2112 (python-info-current-defun, python-info-current-line-comment-p)
2113 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2114 (python-indent-post-self-insert-function, python-shell-send-file)
2115 (python-shell-completion-get-completions)
2116 (python-shell-completion-complete-or-indent)
2117 (python-eldoc--get-doc-at-point): Reflow docstrings.
2119 2014-03-14 Glenn Morris <rgm@gnu.org>
2121 * emacs-lisp/package.el (package-menu-mode-map):
2122 Replace use of obsolete function alias. Tweak menu item text.
2124 * info.el (Info-finder-find-node):
2125 Ignore the `emacs' metapackage. (Bug#10813)
2127 * finder.el (finder-list-matches): Include unversioned packages
2128 in the result of a keyword search.
2130 * finder.el (finder--builtins-descriptions): New constant.
2131 (finder-compile-keywords): Use finder--builtins-descriptions.
2133 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2135 * simple.el (blink-matching-paren): Describe the new value,
2136 `jump', enabling the old behavior.
2137 (blink-matching-open): Use that value. (Bug#17008)
2139 2014-03-14 Glenn Morris <rgm@gnu.org>
2141 * finder.el (finder-no-scan-regexp): Add leim-list.
2142 (finder-compile-keywords):
2143 Don't skip files with same basename. (Bug#14010)
2144 * Makefile.in (setwins_finder): New, excluding leim.
2145 (finder-data): Use setwins_finder.
2147 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2148 (help-function-arglist, help-make-usage): Move from here...
2149 * help.el (help-split-fundoc, help-add-fundoc-usage)
2150 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2151 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2153 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2155 * net/socks.el (socks, socks-override-functions)
2156 (socks-find-services-entry):
2157 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2158 (hif-find-ifdef-block):
2159 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2161 * net/tls.el (tls-program): Reflow docstring.
2163 * progmodes/pascal.el (pascal-mode-abbrev-table)
2164 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2165 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2166 (pascal-outline-mode): Fix docstring typos.
2167 (pascal-mode): Let define-derived-mode document mode hook.
2168 (pascal-uncomment-area): Reflow.
2169 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2171 * progmodes/opascal.el (opascal-compound-block-indent)
2172 (opascal-case-label-indent): Fix docstring typos.
2173 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2175 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2177 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2178 Fontify multiple adjacent negation chars. (Bug#17004)
2180 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2182 * emacs-lisp/package.el (package--prepare-dependencies):
2183 Accept requirements without explicit version (bug#14941).
2185 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2187 * register.el (register-separator, copy-to-register): Doc fixes.
2188 (register-preview-default): Remove unnecessary call to concat.
2190 * frameset.el (frameset-restore): When checking for a visible frame,
2191 use the action map instead of calling visible-frame-list.
2193 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2195 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2197 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2199 * window.el (fit-frame-to-buffer): Get maximum width from
2200 display's width instead of height.
2202 2014-03-12 Glenn Morris <rgm@gnu.org>
2204 * desktop.el (desktop-restore-frames)
2205 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2206 (desktop-restore-reuses-frames): Doc tweaks.
2208 * electric.el (electric-indent-mode): Doc fix.
2210 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2212 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2213 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2214 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2215 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2216 (cvs-dired-use-hook): Fix docstring typos.
2217 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2220 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2221 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2222 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2223 (cvs-execute-single-dir): Fix docstring typos.
2225 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2226 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2228 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2230 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2231 Fix docstring typos.
2233 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2235 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2236 called from jump-to-register after unloading the frameset package.
2238 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2240 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2241 (bug#16975). Deactivate the mark before setting it to nil.
2242 (activate-mark): Do nothing if region is already active.
2244 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2246 * frameset.el (frameset--target-display): Remove definition; declare.
2247 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2249 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2251 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2252 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2253 when the advice is pending.
2254 (advice-remove): Remove this marker when not needed any more.
2256 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2258 * frameset.el: Separate options for reusing frames and cleaning up.
2259 (frameset--reuse-list): Remove definition; declare.
2260 (frameset--action-map): Declare.
2261 (frameset--find-frame-if): Doc fix.
2262 (frameset--restore-frame): Cache frame action.
2263 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2264 how to clean up the frame list after restoring. Remove cleaning
2265 options from REUSE-FRAMES. Change all keyword values to symbols.
2266 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2268 * desktop.el (desktop-restore-forces-onscreen)
2269 (desktop-restore-reuses-frames): Use non-keyword values.
2270 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2272 2014-03-10 Glenn Morris <rgm@gnu.org>
2274 * files.el (find-file): Doc fix: update info node name.
2276 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2277 Doc fix: remove references to deleted info nodes.
2279 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2281 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2282 Do not add `nil' to the environment, when there's no remote `locale'.
2283 (tramp-find-inline-encoding): Check, that the remote host has
2284 installed perl, before sending scripts.
2286 2014-03-10 Leo Liu <sdl.web@gmail.com>
2288 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2289 Clear eldoc-last-message. (Bug#16920)
2291 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2293 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2296 2014-03-09 Juri Linkov <juri@jurta.org>
2298 * ansi-color.el (ansi-color-names-vector): Copy default colors
2299 from `xterm-standard-colors' that look well on the default white
2300 background (and also on the black background) to avoid illegible
2301 color combinations like yellow-on-white and white-on-white.
2302 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2304 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2306 * frameset.el (frameset-restore): When no frame is visible, do not
2307 generate a list of frames, just make visible the selected one.
2309 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2311 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2312 it only contains the repository root. (Bug#16897)
2314 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2316 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2317 only when `remote-file-name-inhibit-cache' is nil.
2318 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2320 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2322 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2324 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2325 fit-frame-to-buffer variable. Fix doc-string.
2326 (fit-window-to-buffer): Set ONLY argument in call of
2327 fit-frame-to-buffer. Fix doc-string.
2329 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2331 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2332 (tramp-action-password): Clear password cache if needed.
2333 (tramp-read-passwd): Do not clear password cache.
2335 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2336 cache unless it is the first password request.
2338 2014-03-06 Glenn Morris <rgm@gnu.org>
2340 * simple.el (newline): Doc tweak.
2342 * emacs-lisp/shadow.el (load-path-shadows-find):
2343 Ignore dir-locals. (Bug#12357)
2345 2014-03-05 Glenn Morris <rgm@gnu.org>
2347 * files.el (interpreter-mode-alist):
2348 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2350 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2352 * frameset.el (frameset--initial-params): Filter out null entries.
2354 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2356 * window.el (window-min-height, window-min-width):
2357 Rewrite doc-strings.
2358 (window-body-size): Add PIXELWISE argument to make it consistent
2361 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2363 * finder.el (finder-mode-map, finder-mode-syntax-table):
2364 Revert part of 2014-02-28 change.
2366 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2368 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2369 (eww-setup-buffer): Clear next/prev/etc more reliably.
2370 (eww-textarea-map): [tab] doesn't work on tty.
2371 Reported by Mario Lang.
2373 * net/shr.el (shr-map): Ditto.
2375 2014-03-04 Glenn Morris <rgm@gnu.org>
2377 * minibuffer.el (completion-hilit-commonality):
2378 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2380 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2382 * hilit-chg.el (hilit-chg-unload-function): New function.
2383 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2384 (hilit-chg-map-changes): Prefer cardinal number to digit.
2385 (hilit-chg-display-changes): Reflow docstring.
2386 (highlight-changes-rotate-faces): Remove superfluous backslash.
2388 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2390 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2391 `tramp-send-command-and-check'.
2393 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2395 * hexl.el (hexl-address-region, hexl-ascii-region)
2396 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2397 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2398 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2399 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2400 (hexl-mode): Doc fix.
2401 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2402 (hexl-mode-ruler): Fix typos in docstrings.
2404 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2405 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2406 Remove superfluous backslashes.
2407 (strokes-last-stroke, strokes-global-map, strokes-mode):
2409 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2410 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2411 (strokes-distance-squared, strokes-global-set-stroke)
2412 (strokes-global-set-stroke-string): Doc fixes.
2413 (strokes-help): Fix typos; reflow docstring.
2415 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2417 * window.el (window-in-direction): Fix doc-string.
2419 2014-03-04 Glenn Morris <rgm@gnu.org>
2421 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2422 Explicit error if no grammar.
2423 (smie-config-save): Doc fix. Fix quote typo.
2425 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2427 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2428 electric-indent-mode-hook if we obey electric-indent-mode.
2429 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2430 decide whether we obey electric-indent-mode.
2431 (c-change-set-fl-decl-start, c-extend-after-change-region):
2433 (c-electric-indent-mode-hook): Assume we do want to obey
2434 electric-indent-mode.
2436 * electric.el (electric-indent-mode-has-been-called): Remove.
2437 (electric-indent-mode): Fix accordingly.
2439 * files.el (hack-local-variables): Mention file name in warning.
2441 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2443 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2445 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2446 * simple.el (delete-forward-char): Mark as interactive-only.
2448 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2450 * icomplete.el (icomplete-completions):
2451 Follow-up to 2014-03-01 change.
2453 * icomplete.el: Miscellaneous doc fixes.
2454 Use Icomplete everywhere instead of icomplete for consistency.
2455 (icomplete-max-delay-chars): Fix typo.
2456 (icomplete-mode): Use \[].
2457 (icomplete-tidy, icomplete-exhibit): Reflow.
2458 (icomplete-minibuffer-setup-hook, icomplete-completions):
2459 Remove superfluous backlashes.
2461 * ido.el: Miscellaneous doc fixes.
2462 Use Ido everywhere instead of ido or `ido' for consistency.
2463 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2464 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2465 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2466 (ido-separator): Extract obsolescence info from docstring and declare
2467 with make-obsolete-variable.
2468 (ido-minibuffer-setup-hook): Simplify example.
2469 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2470 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2471 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2472 (ido-everywhere): Reflow docstring.
2473 (ido-toggle-vc): Doc fix.
2474 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2475 of long list of keybindings.
2477 2014-03-03 Glenn Morris <rgm@gnu.org>
2479 * frame.el (display-pixel-height, display-pixel-width)
2480 (display-mm-dimensions-alist, display-mm-height)
2481 (display-mm-width): Doc tweaks.
2483 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2485 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2486 case of undo in region.
2488 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2490 * window.el (fit-window-to-buffer): Fix argument in window-size
2491 call when window is horizontally combined.
2493 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2495 * icomplete.el (icomplete-completions): Use string-width.
2496 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2498 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2500 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2501 Highlight regexp options. (Bug#16914)
2503 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2505 * window.el (window--max-delta-1): Round down when calculating
2506 how many lines/columns we can get from a window.
2508 2014-03-01 Glenn Morris <rgm@gnu.org>
2510 * isearch.el (search-invisible): Doc fix.
2512 * minibuffer.el (completion-hilit-commonality):
2513 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2514 * comint.el (comint-dynamic-list-completions): Doc fix.
2515 * comint.el (comint-dynamic-list-completions):
2516 * filecache.el (file-cache-minibuffer-complete):
2517 * tempo.el (tempo-display-completions):
2518 * eshell/em-hist.el (eshell-list-history):
2519 Replace use of obsolete argument of display-completion-list.
2521 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2523 * icomplete.el (icomplete-completions):
2524 Revert back to using "..." when ?… cannot be displayed.
2526 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2528 * finder.el (finder-unload-function): New function.
2530 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2532 * dframe.el (dframe-detach):
2533 * find-dired.el (find-dired, find-name-dired):
2534 * finder.el (finder-mode-map, finder-mode-syntax-table)
2535 (finder-headmark, finder-select, finder-mouse-select):
2536 Fix docstring typos.
2538 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2540 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2541 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2542 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2543 Fix doc-string based on a suggestion by Nicolas Richard
2544 <theonewiththeevillook@yahoo.fr>.
2545 * help.el (with-help-window): Fix doc-string.
2547 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2549 * net/shr.el (shr-image-animate): New option.
2550 (shr-put-image): Respect shr-image-animate.
2552 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2554 * net/tramp-adb.el (tramp-adb-parse-device-names):
2555 Use `accept-process-output'.
2556 (tramp-adb-handle-file-truename): Cache the localname only.
2557 (tramp-adb-handle-make-directory)
2558 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2559 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2560 modes cannot be changed.
2562 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2563 file properties of symlinks.
2565 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2567 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2568 required/optional fields to match development biblatex. (Bug#16781)
2570 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2572 * saveplace.el (toggle-save-place):
2573 Fix argument handling. (Bug#16673)
2575 2014-02-28 Glenn Morris <rgm@gnu.org>
2577 * minibuffer.el (completions-first-difference)
2578 (completions-common-part, completion-hilit-commonality): Doc fixes.
2580 2014-02-28 Karl Berry <karl@gnu.org>
2582 * info.el (Info-mode-map): Add H for describe-mode,
2583 to synchronize with standalone Info.
2585 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2587 * progmodes/sql.el (sql-interactive-mode):
2588 Avoid setting global comint-input-ring-separator. (Bug#16814)
2590 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2592 * net/dbus.el (dbus--init-bus): Declare function.
2593 (dbus-path-local, dbus-interface-local): New defconst.
2594 (dbus-init-bus): Use them.
2595 (dbus-return-values-table): Extend doc.
2596 (dbus-handle-bus-disconnect): Extend error message.
2598 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2600 * subr.el (y-or-n-p): Fix double space issue in message.
2602 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2604 * net/tramp.el (tramp-call-process): Improve trace message.
2605 (tramp-handle-insert-file-contents): Trace error case.
2607 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2608 <insert-directory>: Use `tramp-handle-insert-directory'.
2609 (tramp-adb-handle-insert-directory): Remove function.
2610 (tramp-adb-send-command-and-check): New defun, replacing
2611 `tramp-adb-command-exit-status'. Change all callees.
2612 (tramp-adb-handle-file-attributes)
2613 (tramp-adb-handle-directory-files-and-attributes): Use it.
2614 (tramp-adb-ls-output-name-less-p):
2615 Use `directory-listing-before-filename-regexp'.
2616 (tramp-adb-handle-delete-directory): Flush also file properties of
2617 the truename of directory.
2618 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2619 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2620 (tramp-adb-handle-write-region): Implement APPEND.
2621 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2622 properties correctly.
2623 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2624 variables. Check for connected devices only when needed.
2626 2014-02-27 Glenn Morris <rgm@gnu.org>
2628 * minibuffer.el (completion-table-dynamic)
2629 (completion-table-with-cache): Doc fixes.
2631 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2632 (completing-read-multiple): Doc fixes.
2634 2014-02-27 Daniel Colascione <dancol@dancol.org>
2636 * minibuffer.el (completion--nth-completion): Fix indentation.
2638 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2639 explicit tramp path is empty.
2641 2014-02-27 Glenn Morris <rgm@gnu.org>
2643 * emacs-lisp/crm.el (completing-read-multiple):
2644 Empower help-enable-auto-load.
2646 2014-02-26 Glenn Morris <rgm@gnu.org>
2648 * startup.el (command-line): Don't init the tty in daemon mode.
2650 Avoid calling tty-setup-hook twice, eg if a term file
2651 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2652 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2653 (tty-create-frame-with-faces): Use it.
2654 * startup.el (command-line): Pass run-hook argument
2655 to tty-run-terminal-initialization.
2657 * dired.el (dired-restore-desktop-buffer): Demote errors;
2658 eg in case a glob match fails. (Bug#16884)
2660 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2662 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2663 error from `read-from-string'. (Bug#16850)
2665 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2666 result of `completing-read' in the interactive form. (Bug#16854)
2668 2014-02-25 Glenn Morris <rgm@gnu.org>
2670 * image.el (image-animate, image-animate-timeout):
2671 Stop animating images in dead buffers. (Bug#16878)
2673 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2675 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2677 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2678 * term/sun.el (sun-raw-prefix-hooks):
2679 Use tty-setup-hook instead of term-setup-hook.
2680 (terminal-init-sun): Construct message from bytecomp plist.
2681 * term/wyse50.el (enable-arrow-keys): Doc fix.
2683 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2685 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2686 Fix docstring typos.
2688 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2690 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2692 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2694 * minibuffer.el (completion--try-word-completion):
2695 Fix error when completing M-x commands (bug#16808).
2697 2014-02-24 Leo Liu <sdl.web@gmail.com>
2699 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2701 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2703 * apropos.el (apropos-print): Avoid formatting error when
2704 apropos-do-all and apropos-compact-layout are both t.
2706 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2708 * apropos.el (apropos-property, apropos-all-words-regexp)
2709 (apropos-true-hit, apropos-variable, apropos-print):
2710 Fix docstring typos, and remove obsolete comment.
2712 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2714 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2715 Preserve trailing "/". (Bug#16851)
2717 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2719 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2720 after `=>' (bug#16811).
2721 (ruby-smie-rules): Handle the inconsistent second element of the
2722 list returned by `smie-indent--parent'.
2723 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2726 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2728 * elec-pair.el (electric-pair-text-syntax-table)
2729 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2730 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2731 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2732 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2734 2014-02-22 Glenn Morris <rgm@gnu.org>
2736 * imenu.el (imenu--generic-function): Doc fix.
2738 * register.el (frame-configuration-to-register): Make obsolete.
2740 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2742 * desktop.el (desktop-save-buffer-p): Do not fail when
2743 desktop-files-not-to-save is nil. Return t for true result
2746 2014-02-22 Daniel Colascione <dancol@dancol.org>
2748 * net/secrets.el (secrets-create-item, secrets-search-items):
2749 Check that attribute values are strings, avoiding the construction
2750 of invalid dbus messages.
2752 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2754 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2755 defun-declarations-alist.
2757 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2759 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2762 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2764 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2765 (whitespace-newline, whitespace-trailing, whitespace-line)
2766 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2767 (whitespace-space-after-tab): Fix typo in docstrings.
2769 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2771 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2773 * electric.el (electric-indent-functions-without-reindent):
2774 Add `yaml-indent-line'.
2776 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2778 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2779 It has done nothing for years; should be removed after the release.
2781 * simple.el (choose-completion): Fix docstring typo.
2782 (read-quoted-char-radix): Remove unneeded * in docstring.
2783 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2784 Don't escape parentheses unnecessarily in docstrings.
2786 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2788 Fix handling of window-min-height/-width (Bug#16738).
2789 * window.el (window--dump-window, window--dump-frame):
2791 (window--min-size-1): Account for window dividers.
2792 When window-resize-pixelwise is nil, delay rounding till after the
2793 sum of the window components has been calculated.
2794 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2795 nil make sure at least one text line and two text columns remain
2797 (window-resize): Signal an error when window-resize-apply fails.
2798 (window--resize-child-windows): Fix calculation of by how many
2799 pixels a window can still be shrunk via window-new-normal.
2800 (adjust-window-trailing-edge): Call window--resizable with
2801 correct TRAIL argument.
2803 (with-temp-buffer-window): Don't evaluate BODY within
2804 with-current-buffer (Bug#16816).
2806 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2808 * net/tramp.el (tramp-check-cached-permissions):
2809 Call `file-attributes' with `suffix' being a symbol but a string.
2811 2014-02-21 Daniel Colascione <dancol@dancol.org>
2813 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2814 (dbus-init-bus): New function: call into dbus-init-bus-1
2815 and installs a handler for the disconnect signal.
2816 (dbus-call-method): Rewrite to look for result in cons.
2817 (dbus-call-method-handler): Store result in cons.
2818 (dbus-check-event): Recognize events with nil sender as valid.
2819 (dbus-handle-bus-disconnect): New function. React to bus
2820 disconnection signal by synthesizing dbus error for each
2821 pending synchronous or asynchronous call.
2822 (dbus-notice-synchronous-call-errors): New function.
2823 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2824 is true, not all the time.
2826 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2828 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2829 Remove obsolescence declarations, these variables do not exist anymore.
2831 * savehist.el (savehist-save-minibuffer-history)
2832 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2833 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2834 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2835 mostly, refer to "Savehist mode" when talking about the mode,
2836 and not the function.
2838 * saveplace.el (save-place): Remove redundant info in docstring.
2839 (save-place-forget-unreadable-files, toggle-save-place)
2840 (save-place-forget-unreadable-files, save-place-dired-hook):
2841 Fix typos and remove unneeded backslashes.
2843 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2845 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2846 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2848 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2849 <insert-directory>: Use `tramp-handle-insert-directory'.
2850 (tramp-gvfs-handle-insert-directory): Remove function.
2852 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2853 Call `tramp-handle-insert-directory'.
2855 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2857 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2858 before the start of buffer/region (bug#16799).
2860 2014-02-20 Glenn Morris <rgm@gnu.org>
2862 * isearch.el (search-invisible): Doc fix.
2864 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2866 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2869 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2871 * frameset.el (frameset-restore): Delay removing an old frame's
2872 duplicate id until the new frame has been correctly created.
2874 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2876 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2877 (tramp-check-cached-permissions): Call `file-attributes' if the
2880 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2881 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2883 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2884 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2885 (tramp-gvfs-maybe-open-connection): Set always connection
2886 properties, even if target is mounted already.
2888 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2889 Set tramp-autoload cookie.
2890 (tramp-get-remote-touch): New defun.
2891 (tramp-sh-handle-set-file-times): Use it.
2892 (tramp-sh-handle-directory-files-and-attributes):
2893 Use `tramp-handle-directory-files-and-attributes' if neither stat
2894 nor perl are available on the remote host.
2896 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2897 "/". Write long listing only when "l" belongs to the switches.
2899 * net/trampver.el: Update release number.
2901 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2903 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2905 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2907 * window.el (window-state-put): Allow WINDOW to refer to an
2908 internal window (Bug#16793).
2910 2014-02-19 Glenn Morris <rgm@gnu.org>
2912 * textmodes/remember.el: Move provide statement to end.
2913 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2914 (remember-notes): Doc fixes.
2916 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2918 * delsel.el (delete-char): Restore incorrectly erased property
2921 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2923 * frameset.el (frameset--restore-frame): When a frame is being reused
2924 and its root window is not alive, delete all the frame's windows before
2925 restoring the window state. This works around the issue in bug#16793.
2927 2014-02-18 Glenn Morris <rgm@gnu.org>
2929 * textmodes/remember.el (remember-data-directory)
2930 (remember-directory-file-name-format, remember-store-in-files)
2931 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2932 (remember-notes-save-and-bury-buffer)
2933 (remember-notes--kill-buffer-query): Doc fixes.
2935 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2937 2014-02-17 Alan Mackenzie <acm@muc.de>
2939 Connect electric-indent-mode up with CC Mode. Bug #15478.
2940 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2941 to electric-indent-{,local-}-mode.
2942 (c-basic-common-init): Set electric-indent-inhibit.
2943 Initialise c-electric-flag from electric-indent-mode.
2944 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2945 New hook functions which propagate electric-indent-mode to CC mode.
2947 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2948 hit, toggle electric-indent-local-mode.
2950 * electric.el (electric-indent-mode-has-been-called):
2953 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2955 * frameset.el (frameset-cfg-id): New function.
2956 (frameset--reuse-frame, frameset-restore): Use it.
2957 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2959 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2961 * ido.el (ido-file-internal): Remove unused var `d'.
2962 Use \` for to match BoS. Fit within 80n columns.
2964 2014-02-17 Daniel Colascione <dancol@dancol.org>
2966 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2967 dbus-call-method check for completion using a busy-wait loop with
2970 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2972 Sync with Tramp 2.2.9.
2974 * net/trampver.el: Update release number.
2976 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2978 * ido.el (ido-file-internal): Don't add the name of an existing
2979 directory twice. (Bug#16747)
2981 2014-02-16 Glenn Morris <rgm@gnu.org>
2983 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2984 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2986 2014-02-15 Michael R. Mauger <michael@mauger.com>
2988 * progmodes/sql.el: Version 3.4
2989 (sql-oracle-options): New default value ("-L").
2990 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
2991 (sql-placeholders-filter): Correct placeholder pattern.
2992 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
2993 (sql-login-delay): New variable.
2994 (sql-product-interactive): Use it.
2996 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
2998 * frameset.el (frameset--jump-to-register): Check that buffer is live
3001 2014-02-15 Glenn Morris <rgm@gnu.org>
3003 * info.el (info-initialize): Revert 2014-01-10 change.
3005 2014-02-14 Glenn Morris <rgm@gnu.org>
3007 * replace.el (map-query-replace-regexp)
3008 (read-regexp-defaults-function, read-regexp): Doc fixes.
3010 * dired.el (dired-read-regexp):
3011 * faces.el (list-faces-display):
3012 * misearch.el (multi-isearch-read-matching-buffers)
3013 (multi-isearch-read-matching-files):
3014 * play/cookie1.el (cookie-apropos):
3015 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3017 * textmodes/remember.el (remember): Use frameset-to-register
3018 rather than frame-configuration-to-register.
3020 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3022 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3023 incorrect keybinding.
3025 2014-02-13 Daniel Colascione <dancol@dancol.org>
3027 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3028 when adding overlays so that line numbers from compiler match line
3031 2014-02-13 Glenn Morris <rgm@gnu.org>
3033 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3035 * jit-lock.el (jit-lock-mode): Doc fix.
3037 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3039 * apropos.el (apropos-read-pattern): When the user passes an empty
3040 string, give a more helpful error message than "Wrong type
3041 argument: stringp, nil".
3043 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3045 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3047 2014-02-13 Glenn Morris <rgm@gnu.org>
3049 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3051 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3053 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3054 shift-select commands.
3056 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3058 * progmodes/js.el (js-indent-line): Don't widen.
3059 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3061 2014-02-12 Glenn Morris <rgm@gnu.org>
3063 * icomplete.el (icomplete): Add info-link to defgroup.
3064 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3065 (icomplete-minibuffer-map, icomplete-mode)
3066 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3068 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3069 (package-menu-filter): Rename from package-menu-filter-interactive.
3072 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3074 * frameset.el (frameset--jump-to-register): Select the required
3075 window and buffer before restoring position (bug#16696).
3077 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3079 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3081 2014-02-10 Glenn Morris <rgm@gnu.org>
3083 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3085 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3087 * w32-common-fns.el (x-get-selection): Doc fix.
3088 * select.el (x-get-selection): Doc fix. (Bug#15109)
3090 * face-remap.el (face-remap-add-relative)
3091 (face-remap-remove-relative, face-remap-reset-base)
3092 (face-remap-set-base): Call force-mode-line-update to redisplay
3093 the current buffer due to potential change in faces. (Bug#16709)
3095 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3097 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3098 script more robustly.
3100 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3102 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3104 * simple.el (choose-completion): Doc fix (bug#14160).
3106 * subr.el (event-start): Say what a nil EVENT value means.
3108 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3111 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3113 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3115 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3117 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3118 predicate function (bug#15455).
3120 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3122 * ielm.el (inferior-emacs-lisp-mode): Instead of
3123 `comment-use-global-state', set `comment-use-syntax'.
3125 2014-02-10 Glenn Morris <rgm@gnu.org>
3127 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3129 2014-02-09 Alan Mackenzie <acm@muc.de>
3131 Fix c-invalidate-state-cache on narrowed buffers.
3132 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3133 Widen when setting and clearing the CPP delimiter properties.
3135 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3137 * help.el (describe-bindings): Doc fix (bug#9888).
3139 * files.el (save-buffer): Use ARG as the parameter name for
3140 consistency (bug#10346).
3141 (save-buffer): Clarify the 0 argument (bug#10346).
3143 * cus-edit.el (customize-apropos): Fix error string.
3144 (custom-buffer-create): Doc fix (bug#11122).
3145 (custom-sort-items): Doc fix (bug#11121).
3147 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3149 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3150 (icomplete-simple-completing-p): Mention the previous variable.
3152 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3153 meaning of the parameter (bug#12282).
3155 * files.el (find-file-noselect): Clarify prompt when changing
3156 readedness (bug#13261).
3157 (locate-file): Suffixes aren't returned, so don't say that they
3159 (backup-inhibited): Doc clarification (bug#12525).
3161 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3162 before we actually start to delete things (bug#16331).
3164 * subr.el (event-start): Doc fix (bug#14228).
3167 2014-02-09 Glenn Morris <rgm@gnu.org>
3169 * emacs-lisp/warnings.el (lwarn):
3170 Empower help-enable-auto-load. (Bug#15940)
3172 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3174 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3177 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3179 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3180 Insert output at end of buffer. (Bug#16120)
3182 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3184 * simple.el (choose-completion-string-functions): Document new
3185 calling convention (bug#14153).
3186 (execute-extended-command): Clarify doc string (bug#13373).
3188 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3190 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3191 (find-grep-dired): Doc fix (bug#14288).
3193 2014-02-08 Juri Linkov <juri@jurta.org>
3195 * isearch.el (isearch-quote-char): Check character validity
3196 like in `quoted-insert' (bug#16677).
3198 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3200 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3202 * isearch.el (isearch-hide-immediately): Doc clarification
3205 * simple.el (line-move): Document utility function used many
3206 places in the Emacs sources (bug#14843).
3208 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3209 (dired-prev-marked-file): Doc fix (bug#14855).
3210 (dired-up-directory): Doc fix (bug#14848).
3212 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3214 * files.el (file-relative-name): Doc fix (bug#15159).
3216 * fringe.el (fringe-styles): Doc fix (bug#15239).
3218 * isearch.el (isearch-filter-predicate): Documentation typo fix
3221 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3223 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3225 * replace.el (replace-match-maybe-edit): Doc clarification
3228 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3230 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3232 2014-02-08 Glenn Morris <rgm@gnu.org>
3234 * help-fns.el (describe-variable):
3235 Check {file,dir}-local-variables-alist, and buffer-file-name,
3236 in the correct buffer.
3238 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3240 * help-fns.el (describe-variable): Fix the case where
3241 a value is directory-local with no dir-locals file. (Bug#16635)
3243 2014-02-08 Glenn Morris <rgm@gnu.org>
3245 * abbrev.el (edit-abbrevs-mode):
3246 Derive from fundamental-mode. (Bug#16682)
3248 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3250 * simple.el (quoted-insert): Check character validity (bug#16677).
3252 2014-02-07 Juri Linkov <juri@jurta.org>
3254 * desktop.el (desktop-read): Claim the lock when the owner is not
3255 the current process. (Bug#16157)
3257 2014-02-07 Juri Linkov <juri@jurta.org>
3259 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3260 to "\\` ". (Bug#16651)
3262 2014-02-07 Juri Linkov <juri@jurta.org>
3264 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3265 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3266 (desktop-auto-save-cancel-timer): New function with some code from
3267 `desktop-auto-save-set-timer'.
3268 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3269 Instead of setting `desktop-save-mode' to nil, call
3270 `desktop-save-mode' with arg 0. (Bug#16630)
3272 2014-02-07 Glenn Morris <rgm@gnu.org>
3274 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3275 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3276 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3278 * obsolete/iswitchb.el: Move to obsolete/.
3279 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3280 since obsolete/ is not scanned for autoloads.
3281 * emacs-lisp/authors.el (authors-valid-file-names):
3284 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3285 Disable now non-functional find-file-hook.
3287 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3289 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3290 instead of ";" in order to avoid additional prompts. Let heredoc
3291 scripts read from tty. (Bug#16582)
3292 (tramp-send-command): No special handling of heredocs, it isn't
3295 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3297 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3298 with a space (bug#16664). Limit the symbols considered to the ones
3299 that are bound or fbound (bug#16646).
3301 2014-02-06 Glenn Morris <rgm@gnu.org>
3303 * epa.el (epa-mail-aliases): Doc fix.
3305 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3307 * emacs-lisp/lisp.el (lisp-completion-at-point):
3308 Use `completion-table-merge' instead of `completion-table-in-turn'
3311 * minibuffer.el (completion-table-merge): New function.
3313 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3315 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3316 (tramp-sh-handle-set-file-acl)
3317 (tramp-sh-handle-start-file-process)
3318 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3319 (tramp-find-executable, tramp-send-command): Use it.
3321 2014-02-05 Glenn Morris <rgm@gnu.org>
3323 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3325 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3327 * progmodes/python.el (python-shell-send-string)
3328 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3330 2014-02-04 Anders Lindgren <andlind@gmail.com>
3332 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3333 the names (bug#16620).
3335 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3337 * faces.el (window-divider): New default value. Rewrite doc-string.
3338 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3340 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3342 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3343 `protected' and `public' can also be called without arguments.
3345 2014-02-03 Glenn Morris <rgm@gnu.org>
3347 * register.el (window-configuration-to-register)
3348 (frame-configuration-to-register): Unadvertise unused argument.
3349 * frameset.el (frameset-to-register): Remove unused argument.
3351 * frameset.el (frameset-to-register):
3352 * kmacro.el (kmacro-to-register):
3353 * register.el (increment-register):
3354 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3355 (calc-append-to-register, calc-prepend-to-register):
3356 * play/gametree.el (gametree-layout-to-register)
3357 (gametree-apply-register-layout):
3358 * textmodes/picture.el (picture-clear-rectangle-to-register)
3359 (picture-yank-rectangle-from-register):
3360 * vc/emerge.el (emerge-combine-versions-register):
3361 Use register-read-with-preview to read registers.
3363 2014-02-03 João Távora <joaotavora@gmail.com>
3365 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3366 when at beginning of (possibly narrowed) buffer.
3368 2014-02-02 Daniel Colascione <dancol@dancol.org>
3370 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3371 Also try to display local help from just before point.
3373 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3375 c-parse-state. Don't "append-lower-brace-pair" in certain
3376 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3377 recognised as a comment.
3379 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3380 as well as normal comment starter.
3381 (c-parse-state-get-strategy): Extra return possibility
3383 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3384 return value list to indicate replacement of a brace-pair cons
3386 (c-parse-state-1): With 'back-and-forward, only call
3387 c-append-lower-brace-pair-to state-cache when cons-separated.
3389 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3391 * term/ns-win.el (ns-suspend-error): New function.
3392 (ns-initialize-window-system): Add ns-suspend-error to
3393 suspend-hook (Bug#16612).
3395 2014-02-02 Daniel Colascione <dancol@dancol.org>
3397 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3398 Make loading cc-mode silent.
3400 2014-02-02 Daniel Colascione <dancol@dancol.org>
3402 * comint.el (comint-prompt-read-only): Change doc to suggest
3405 2014-02-02 Glenn Morris <rgm@gnu.org>
3407 * register.el (register-read-with-preview, point-to-register)
3408 (window-configuration-to-register, frame-configuration-to-register)
3409 (jump-to-register, number-to-register, view-register, insert-register)
3410 (copy-to-register, append-to-register, prepend-to-register)
3411 (copy-rectangle-to-register): Doc fixes.
3413 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3415 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3416 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3417 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3418 * help-fns.el (describe-function-1): Use it.
3420 2014-02-02 Glenn Morris <rgm@gnu.org>
3422 * register.el (register-preview-default): New function,
3423 split from register-preview.
3424 (register-preview-function): Rename from register-preview-functions,
3426 (register-preview): Use register-preview-function.
3427 (register-read-with-preview): Error on non-character event. (Bug#16595)
3429 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3431 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3432 `:' before binary operators (bug#16609). Don't check for `:'
3433 before `[' and `(', or their syntax status. A percent literal
3434 can't end with either.
3435 (ruby-font-lock-keywords): For built-ins that require arguments,
3436 check that they're followed by something that looks like argument
3439 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3441 * subr.el (butlast): Document what an omitted N means (bug#13437).
3444 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3446 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3447 depth shallower (bug#16587).
3448 (shr-tag-svg): Respect `shr-inhibit-images'.
3449 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3451 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3453 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3454 (ruby-smie-grammar): Make "." right-associative. Make its priority
3455 lower than the ternary and all binary operators.
3456 (ruby-smie-rules): Indent "(" relative to the first non-"."
3457 parent, or the first "." parent at indentation.
3458 Use `ruby-align-chained-calls' for indentation of "." tokens.
3461 2014-01-31 Juri Linkov <juri@jurta.org>
3463 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3464 from `make-hash-table'.
3466 * textmodes/ispell.el (ispell-init-process): Change message format
3467 to be consistent with other messages.
3469 2014-01-31 Glenn Morris <rgm@gnu.org>
3471 * delsel.el (delete-selection-mode): Doc fix.
3473 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3474 (trace-function-background): Doc fixes.
3476 * ido.el (ido-use-virtual-buffers): Doc fix.
3477 Reset :version, since the default value has not changed.
3479 * register.el (register-preview-delay, register-read-with-preview):
3482 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3483 do not mess with mail-buffer position (fixes 2009-11-03 change).
3484 * progmodes/cc-mode.el (c-submit-bug-report):
3485 Check auto-fill-mode is bound. (Bug#16592)
3487 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3489 * startup.el (fancy-splash-image-file): New function,
3490 split from fancy-splash-head.
3491 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3492 so that we are both using the same image. (Bug#16574)
3494 2014-01-30 Glenn Morris <rgm@gnu.org>
3496 * simple.el (eval-expression): Doc fix.
3498 * hexl.el (hexl-mode-hook):
3499 * ielm.el (ielm-mode-hook):
3500 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3501 (lisp-interaction-mode-hook):
3502 * progmodes/cfengine.el (cfengine3-documentation-function):
3503 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3505 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3507 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3508 is a symbol (bug#16584).
3510 2014-01-30 Glenn Morris <rgm@gnu.org>
3512 * help.el (help-for-help-internal): Add "P" to text.
3514 2014-01-29 Glenn Morris <rgm@gnu.org>
3516 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3518 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3520 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3523 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3525 * progmodes/hideif.el: Extend to full CPP expression syntax.
3526 (hif-token-alist): Add missing tokens.
3527 (hif-token-regexp): Add support for float/octal/hex immediates.
3528 (hif-string-literal-regexp): New const.
3529 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3530 (hif-exprlist): New function.
3531 (hif-parse-if-exp): Use it.
3532 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3533 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3534 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3535 (hif-logxor, hif-comma): New functions.
3537 2014-01-28 Glenn Morris <rgm@gnu.org>
3539 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3541 * indent.el (tab-stop-list): Doc fix. Add :version.
3543 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3544 (cvs-append-to-ignore): Add compatibility alias.
3546 2014-01-27 Glenn Morris <rgm@gnu.org>
3548 * dired.el (dired-hide-details-mode): Don't autoload it,
3549 since it cannot be used outside Dired buffers anyway.
3551 * emulation/cua-base.el (cua-mode): Doc fix.
3553 * dired.el (dired-hide-details-hide-symlink-targets)
3554 (dired-hide-details-hide-information-lines)
3555 (dired-hide-details-mode): Doc fixes.
3557 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3558 * strokes.el (strokes-file): Doc fix. Bump :version.
3559 (strokes-help): Doc fix.
3560 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3561 * emulation/viper.el (viper): Doc fix for custom group.
3562 (top-level): Remove oh-so-no-longer-relevant text about vip.
3563 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3565 * ido.el (ido-save-directory-list-file):
3566 * saveplace.el (save-place-file):
3567 * calendar/timeclock.el (timeclock-file):
3568 * net/quickurl.el (quickurl-url-file):
3569 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3570 * progmodes/idlwave.el (idlwave-config-directory):
3571 * textmodes/remember.el (remember-data-file):
3574 2014-01-26 Glenn Morris <rgm@gnu.org>
3576 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3577 Doc fix. Make obsolete.
3578 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3580 * sort.el (delete-duplicate-lines): Doc fix.
3582 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3584 * progmodes/ada-mode.el (ada):
3585 * woman.el (woman): Link to info manual and Commentary section.
3587 * progmodes/flymake.el (flymake):
3588 * nxml/nxml-mode.el (nxml):
3590 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3591 * htmlfontify.el (htmlfontify):
3594 * ido.el (ido): Link to info manual.
3596 2014-01-25 Leo Liu <sdl.web@gmail.com>
3598 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3600 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3602 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3605 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3607 * net/eww.el (eww-download-callback):
3608 Fix reference to eww-download-directory.
3610 * emacs-lisp/bytecomp.el (byte-compile-file):
3611 Remove unused local variable `file-name'.
3613 2014-01-24 Glenn Morris <rgm@gnu.org>
3615 * woman.el (woman-default-faces, woman-monochrome-faces):
3616 Fix obsolescence specification.
3618 * subr.el (with-demoted-errors): Doc fix.
3620 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3622 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3623 (cl--macroexp-fboundp): New function.
3624 (cl--make-type-test): Use it.
3626 2014-01-23 Glenn Morris <rgm@gnu.org>
3628 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3629 * simple.el (eval-expression): Doc fixes.
3631 2014-01-22 Glenn Morris <rgm@gnu.org>
3633 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3635 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3637 * emacs-lisp/package.el: Write files silently.
3638 (package-autoload-ensure-default-file, package--write-file-no-coding)
3639 (package-generate-description-file, package--download-one-archive)
3640 (package-install-from-archive): Tell `write-region' to stay quiet.
3641 (package-menu-mode, package-menu--print-info): Omit the Archive column
3642 if there's only one archive.
3643 (package-all-keywords, package--has-keyword-p): Remove dead code.
3645 2014-01-22 Glenn Morris <rgm@gnu.org>
3647 * version.el (emacs-bzr-version-bzr): Fix typo.
3649 * version.el (emacs-repository-get-version):
3650 Check either .bzr or .git, but not both.
3651 Make the git case actually use the DIR argument, and return nil
3652 rather than the empty string.
3653 Avoid error if .git exists but the git executable is not found.
3655 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3657 Fixes in window size functions around Bug#16430 and Bug#16470.
3658 * window.el (window-total-size, window-size): New argument ROUND.
3659 (window--min-delta-1, window-min-delta, window--max-delta-1):
3660 Be more conservative when calculating the numbers of lines or
3661 columns a window can shrink (Bug#16430).
3662 (fit-window-to-buffer): Simplify code.
3663 * term.el (term-window-width): Call window-body-width again.
3665 2014-01-22 Glenn Morris <rgm@gnu.org>
3667 * image.el (image-format-suffixes): Doc fix.
3669 * international/quail.el (quail-define-package): Doc fix.
3671 * emacs-lisp/authors.el (authors-valid-file-names)
3672 (authors-renamed-files-alist): Additions.
3674 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3675 reverts 2014-01-09 change. (Bug#16422)
3677 * calc/calc-embed.el (thing-at-point-looking-at):
3678 * emacs-lisp/map-ynp.el (x-popup-dialog):
3679 * obsolete/lmenu.el (x-popup-dialog):
3680 * emacs-lisp/package.el (url-recreate-url):
3681 * mail/mailclient.el (clipboard-kill-ring-save):
3682 * subr.el (x-popup-dialog): Update declaration.
3683 * mail/rmail.el (rmail-mime-message-p):
3684 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3686 2014-01-21 Daniel Colascione <dancol@dancol.org>
3688 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3689 Correctly detect when we're inside an arithmetic expansion form
3690 containing nested parenthesis.
3691 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3692 to detect cases where we shouldn't expand "<<" to a heredoc
3695 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3697 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3698 (eldoc--message-command-p): New function.
3699 (eldoc-display-message-p): Use it.
3700 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3701 message is not automatically erased for us.
3702 (eldoc-print-current-symbol-info): Erase previous message, if any.
3704 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3706 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3707 specify it's an interactive function.
3709 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3710 Fix regex used for scanning for citation keys which failed for
3711 citations with optional arguments.
3713 2014-01-21 Leo Liu <sdl.web@gmail.com>
3715 * simple.el (read--expression): Don't enable eldoc-mode.
3717 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3719 * simple.el (move-beginning-of-line): Make sure we don't move forward
3722 2014-01-20 Juri Linkov <juri@jurta.org>
3724 * saveplace.el (toggle-save-place, save-place-to-alist)
3725 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3726 'dired-mode) before checking for dired-directory. (Bug#16477)
3728 2014-01-20 Juri Linkov <juri@jurta.org>
3730 * indent.el (indent-line-to): Use backward-to-indentation
3731 instead of back-to-indentation. (Bug#16461)
3733 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3735 Revert some of the CANNOT_DUMP fix (Bug#16494).
3736 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3737 but fixing this can wait until after the next release.
3738 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3740 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3742 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3743 Use `password-word-equivalents'.
3744 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3745 to t. (Bug#5664, Bug#13124)
3747 2014-01-19 Alan Mackenzie <acm@muc.de>
3749 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3751 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3752 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3753 * progmodes/cc-mode.el (c-before-change, c-after-change)
3754 (c-font-lock-fontify-region): Bind it here.
3756 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3758 * term.el (term-window-width): Call window-text-width instead of
3759 window-width (Bug#16470).
3761 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3763 * simple.el (password-word-equivalents): Remove duplicates.
3764 Sort, to make this easier next time.
3765 Downcase. Omit ": " after "jelszó".
3767 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3769 * term/common-win.el (saved-region-selection): Defvar it.
3770 (x-select-text): Set saved-region-selection (Bug#16382).
3772 2014-01-18 Glenn Morris <rgm@gnu.org>
3774 * emacs-lisp/authors.el (authors-aliases)
3775 (authors-renamed-files-alist): Add some entries.
3777 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3779 * net/tramp.el (tramp-password-prompt-regexp):
3780 Use `password-word-equivalents' if available.
3781 (tramp-action-password, tramp-process-one-action)
3782 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3784 2014-01-17 Chong Yidong <cyd@gnu.org>
3786 * simple.el (password-word-equivalents): New defcustom.
3787 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3789 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3792 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3794 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3795 (ruby-align-to-stmt-keywords): Change the default value.
3796 Use `ruby-alignable-keywords' to generate the possible customization
3798 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3799 keywords, check against the value of `ruby-alignable-keywords'
3800 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3802 2014-01-17 Glenn Morris <rgm@gnu.org>
3804 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3806 Make M-x authors return zero *Authors Errors* from current logs.
3807 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3808 (authors-ignored-files): Add some entries, remove others.
3809 (authors-ambiguous-files, authors-valid-file-names):
3811 (authors-renamed-files-alist): Add, remove, and adjust entries.
3812 (authors-renamed-files-regexps): Add some entries.
3813 Remove some very broad ones. Make some entries `lax'.
3814 (authors-lax-changelogs): New constant.
3815 (authors-disambiguate-file-name): Treat top-level specially.
3816 (authors-lax-changelog-p): New function.
3817 (authors-canonical-file-name): Check file as written against
3818 authors-valid-file-names. Do not special-case etc/.
3819 Handle `lax' logs and authors-renamed-files-regexps elements.
3821 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3823 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3824 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3827 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3829 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3830 Assume we're already in the proper buffer.
3831 Inspired by Anders Lindgren <andlind@gmail.com>.
3832 (follow-post-command-hook): Call it from the right buffer.
3833 (follow-comint-scroll-to-bottom): Adjust call.
3834 (follow-all-followers): Use get-buffer-window-list.
3836 2014-01-15 Daniel Colascione <dancol@dancol.org>
3838 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3839 `buffer-file-name' in interactive-form so that we don't leave
3840 pathless file names in `file-name-history'.
3842 2014-01-15 Juri Linkov <juri@jurta.org>
3844 * indent.el (indent-rigidly): Set deactivate-mark to nil
3845 in transient indentation mode. (Bug#16438)
3847 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3849 * emacs-lisp/package.el (package-desc-keywords): New function
3851 (describe-package-1, package-all-keywords)
3852 (package--has-keyword-p): Use it.
3854 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3856 * simple.el (define-alternatives): When creating the
3857 COMMAND-alternatives variable, assign COMMAND as its definition
3858 name so that `describe-variable' can relocate it.
3860 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3862 * font-lock.el (font-lock-keywords): Fix typo in docstring
3865 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3867 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
3868 line instead of wrongly reset `add-coment' (bug#13577).
3870 2014-01-14 Daiki Ueno <ueno@gnu.org>
3872 * epa-file.el (epa-file-write-region): Encode the region according
3873 to `buffer-file-format'. Problem reported at:
3874 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3876 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3878 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3879 so it applies in the right buffer (bug#16410).
3881 2014-01-13 Daniel Colascione <dancol@dancol.org>
3883 * textmodes/rst.el (rst-define-key): Provide deprecated
3884 keybindings through named functions instead of anonymous ones so
3885 that "??" doesn't appear in describe-mode output.
3887 2014-01-13 Bastien Guerry <bzg@gnu.org>
3889 * simple.el (define-alternatives): Call the selected command
3890 interactively. When setting `COMMAND--implementation' for the
3891 first time, tell the user how to chose another implementation.
3892 Enhance the docstring.
3894 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3896 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3897 (log-edit--match-first-line): New function.
3898 (log-edit-font-lock-keywords): Use it.
3899 (log-edit-mode): Make jit-lock-defer-multiline work.
3901 2014-01-13 Bastien Guerry <bzg@gnu.org>
3903 * rect.el (rectangle-mark-mode): When the region is not active,
3904 display a message saying that the mark as been set and that
3905 rectangle mode is in use.
3906 (rectangle--highlight-for-redisplay): Only put an overlay with a
3907 visible vertical bar when (display-graphic-p) is non-nil.
3908 This partially fixes Bug#16403.
3910 2014-01-13 Juri Linkov <juri@jurta.org>
3912 * info.el (Info-find-file): Go to DIR before displaying the error
3913 about a nonexistent file if no previous Info file is visited.
3914 Use `user-error' instead of `error' for "Info file %s does not exist".
3915 (Info-find-node-2): In case of a nonexistent node in unwind forms
3916 go to the Top node if there is no previous node to revert to.
3919 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3921 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3922 * window.el (fit-frame-to-buffer): Fix doc-string.
3923 Respect window-min-height/-width. Fit pixelwise when
3924 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3925 when avoiding that frame goes partially off-screen.
3926 (fit-window-to-buffer): Respect window-min-height/-width
3929 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3931 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3932 after an empty line.
3934 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3936 * net/shr.el (shr-render-region): Autoload.
3938 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3940 * net/eww.el (eww-download-directory): Rename from
3941 `eww-download-path' (Bug#16419).
3943 2014-01-12 Leo Liu <sdl.web@gmail.com>
3945 * dired-x.el (dired-mode-map): Fix last change.
3947 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3949 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3952 * emacs-lisp/generic.el (generic--normalize-comments):
3953 Rename from generic--normalise-comments. All uses changed.
3954 * play/bubbles.el (bubbles--neighborhood-score)
3955 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3956 (bubbles--neighborhood-available)
3957 (bubbles--update-neighborhood-score):
3958 Rename from names with 'neighbourhood'. All uses changed.
3960 2014-01-12 Leo Liu <sdl.web@gmail.com>
3962 Re-implement the feature of showing eldoc info after editing.
3963 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3964 (eldoc-edit-message-commands): New function.
3965 (eldoc-print-after-edit): New variable.
3966 (eldoc-pre-command-refresh-echo-area): Emit message only by
3967 eldoc-message-commands.
3968 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3969 if eldoc-print-after-edit is set. (Bug#16346)
3970 * simple.el (read--expression): Enable eldoc-mode.
3971 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3973 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3974 Eric S. Raymond <esr@thyrsus.com>
3976 * version.el (emacs-repository-get-version): Enhance so the
3977 function works correctly in either a Bazaar or Git repo.
3979 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
3981 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3982 Goes with removal of the joke manpages from /etc.
3984 2014-01-10 Kenichi Handa <handa@gnu.org>
3986 * mail/rmail.el (rmail-get-coding-system):
3987 Check rmail-get-coding-function before "funcall"ing it.
3989 2014-01-10 Glenn Morris <rgm@gnu.org>
3991 * emacs-lisp/authors.el (authors-fixed-entries):
3992 Update for files that no longer exist.
3994 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
3996 * version.el (emacs-bzr-get-version): Restore compatibilty with
3999 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4001 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4004 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4006 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4008 2014-01-10 Chong Yidong <cyd@gnu.org>
4010 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4012 2014-01-10 Anders Lindgren <andlind@gmail.com>
4014 * follow.el (follow-cache-command-list): Include right-char and
4017 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4020 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4021 * woman.el (woman-mark-horizontal-position):
4022 Rename from woman-mark-horizonal-position. Use changed.
4024 2014-01-10 Glenn Morris <rgm@gnu.org>
4026 * info.el (info-initialize): If running uninstalled, ensure our
4027 own info files are always found first, even if INFOPATH is set.
4029 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4031 2014-01-09 David Engster <deng@randomsample.de>
4033 * emacs-lisp/eieio-custom.el:
4034 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4035 'eieio.el'. This was accidentally removed in rev. 110325.
4036 * emacs-lisp/eieio.el: Regenerate autoloads.
4038 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4040 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4041 following renames. (Bug#8756)
4043 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4045 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4047 (activate-mark): Add `no-tmm' argument.
4048 (set-mark, push-mark-command): Use it instead of running
4049 activate-mark-hook by hand.
4051 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4053 In preparation for the move to git, sanitize out some
4054 Bazaar-specific names.
4056 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4058 * version.el (emacs-bzr-version): Name changed to
4059 emacs-repository-version. Obsolete-variable alias made.
4060 * loadup.el: Follow through on this name change.
4061 * mail/emacsbug.el (report-emacs-bug): Factor out any
4062 assumption about the version control system in use.
4064 2014-01-08 David Engster <deng@randomsample.de>
4066 * help-fns.el (help-fns-describe-function-functions):
4067 New variable to call functions for augmenting help buffers.
4068 (describe-function-1): Remove explicit calls to
4069 `help-fns--compiler-macro', `help-fns--parent-mode' and
4070 `help-fns--obsolete'. Put them in above new variable instead, and
4071 call them through `run-hook-with-args'.
4072 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4073 `eieio-describe-class'. Not meant for interactive use anymore,
4074 but to augment existing help buffers. Remove optional second
4075 argument. Create proper button for file location.
4076 Rewrite function to use `insert' instead of `princ' and `prin1' where
4078 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4079 (eieio-method-def, eieio-class-def): Move further up.
4080 (describe-method, describe-generic, eieio-describe-method):
4082 (eieio-help-constructor, eieio-help-generic): Rename from
4083 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4084 Rewrite to use `insert' in the current buffer and use proper help
4086 (eieio-help-find-method-definition)
4087 (eieio-help-find-class-definition): Also accept symbols as
4089 (eieio-help-mode-augmentation-maybee): Remove.
4090 (eieio-describe-class-sb): Use `describe-function'.
4091 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4092 Add `eieio-help-generic' and `eieio-help-constructor'.
4094 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4097 * language/china-util.el (hz-ascii-designation):
4098 Rename from hz-ascii-designnation.
4099 (hz-ascii-designation): Rename from hz-ascii-designnation.
4102 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4104 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4107 2014-01-08 Bastien Guerry <bzg@gnu.org>
4109 * emacs-lisp/package.el (package-delete):
4110 Correctly delete the package from package-alist.
4112 2014-01-08 Daiki Ueno <ueno@gnu.org>
4114 * emacs-lisp/package.el (url-recreate-url): Declare.
4115 (url-http-target-url): Declare.
4116 (package-handle-response): Include requested URL in the error message.
4117 (package--check-signature): Don't re-signal errors from
4118 package--with-work-buffer. Suggested by Stefan Monnier.
4120 2014-01-07 Bastien Guerry <bzg@gnu.org>
4122 * minibuffer.el (completion--try-word-completion): When both a
4123 hyphen and a space are possible candidates for the character
4124 following a word, display both candidates. (Bug#15980)
4126 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4128 * window.el (balance-windows-2): While rounding don't give a
4129 window more than the remainder. Bug#16351, bug#16383.
4131 2014-01-07 Glenn Morris <rgm@gnu.org>
4133 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4134 (menu-bar-help-menu): Use view-external-packages instead.
4136 2014-01-07 Bastien Guerry <bzg@gnu.org>
4138 * emacs-lisp/package.el (package-delete): Also delete the package
4139 name from `package-alist', not its description only.
4141 2014-01-07 Glenn Morris <rgm@gnu.org>
4143 * help.el (view-external-packages):
4144 * menu-bar.el (menu-bar-help-extra-packages):
4145 Visit efaq.info rather than etc/MORE.STUFF.
4147 2014-01-07 Juri Linkov <juri@jurta.org>
4149 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4150 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4152 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4153 that shadows RET. (Bug#16342)
4155 2014-01-07 Chong Yidong <cyd@gnu.org>
4157 * isearch.el (isearch-yank-char, isearch-yank-word)
4158 (isearch-yank-line): Doc fix.
4160 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4162 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4163 * emacs-lisp/elint.el (elint-find-builtins):
4164 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4165 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4166 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4167 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4168 * apropos.el (apropos-safe-documentation):
4169 * subr.el (symbol-file): Remove redundant fboundp.
4170 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4172 2014-01-06 Bastien Guerry <bzg@gnu.org>
4174 * hl-line.el (global-hl-line-overlay): Make a local variable.
4175 (global-hl-line-overlays): New variable to store all overlays.
4176 (global-hl-line-mode): Don't delete overlays from the current
4177 buffer when `global-hl-line-sticky-flag' is non-nil.
4178 (global-hl-line-highlight): Add new overlays to
4179 `global-hl-line-overlays'.
4180 (global-hl-line-unhighlight-all): New function to delete all
4181 overlays when turning off `global-hl-line-mode'.
4182 This fixes Bug#16183.
4184 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4186 * subr.el (set-transient-map): Fix nested case and docstring.
4188 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4190 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4193 2014-01-06 Daniel Colascione <dancol@dancol.org>
4195 Fix defun navigation in vc log view.
4197 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4198 like `beginning-of-defun'.
4199 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4200 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4201 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4202 (log-view-extract-comment): Call `log-view-current-entry' directly
4203 instead of relying on broken `log-view-beginning-of-defun' behavior.
4205 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4208 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4209 * emacs-lisp/debug.el (cancel-debug-on-entry):
4210 * epg.el (epg-error-to-string):
4211 * files.el (recover-file):
4212 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4213 * mail/emacsbug.el (report-emacs-bug-hook):
4214 * mail/sendmail.el (mail-recover):
4215 * ses.el (ses-yank-resize):
4216 * term/ns-win.el (ns-print-buffer):
4217 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4218 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4220 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4222 2014-01-06 Leo Liu <sdl.web@gmail.com>
4224 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4225 to avoid shadowing global key. (Bug#16354)
4227 2014-01-06 Daniel Colascione <dancol@dancol.org>
4229 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4232 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4234 * window.el (balance-windows): Add mising t to fix Bug#16351.
4236 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4238 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4240 (shr-insert): If we have a word that's longer than `shr-width',
4241 break after it anyway. Otherwise we'll do no breaking once we get
4244 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4246 * net/eww.el (eww): Support single/double quote for search.
4247 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4248 (eww-history-quit): Delete and use quit-window.
4249 (eww-history-kill): Delete, because it doesn't work well and
4251 (eww-history-mode-map): Delete some keys and add easy-menu.
4253 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4255 Fix misspelling of 'chinese' in rx (Bug#16237).
4256 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4259 Change subword regexps back to vars (Bug#16296).
4260 * progmodes/subword.el (subword-forward-regexp)
4261 (subword-backward-regexp): Change these back to variables.
4263 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4265 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4266 syntax-begin-function (bug#16247).
4268 2014-01-03 Chong Yidong <cyd@gnu.org>
4270 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4271 (advice--docstring): Delete variable.
4272 (advice--make-1): Leave the docstring empty.
4273 (advice-add): Use function-documentation for advised docstring.
4275 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4276 Ignore function-documentation property when getting documentation.
4277 (ad-activate-advised-definition): Use function-documentation
4278 generate the docstring.
4279 (ad-make-advised-definition): Don't call
4280 ad-make-advised-definition-docstring.
4281 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4284 * progmodes/sql.el (sql-help): Use function-documentation instead
4285 of dynamic-docstring-function property. No need to autoload now.
4286 (sql--help-docstring): New variable.
4287 (sql--make-help-docstring): Use it.
4289 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4291 * ielm.el (ielm-tab): Retarget.
4292 (ielm-map): Use ielm-tab for tab.
4293 (ielm-complete-filename): Use comint-filename-completion.
4294 (ielm-complete-symbol): Remove.
4295 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4296 remove ielm-tab from completion-at-point-functions (bug#16224).
4298 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4299 Beware signals raised by predicates (bug#16201).
4301 2014-01-02 Richard Stallman <rms@gnu.org>
4303 * dired-aux.el (dired-do-print): Handle printer-name.
4305 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4306 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4307 (rmail-epa-decrypt): Turn off mime processing.
4309 * mail/rmail.el (rmail-make-in-reply-to-field):
4310 Add parens in message-id.
4312 * mail/rmail.el (rmail-get-coding-function): Variable.
4313 (rmail-get-coding-system): Use it.
4315 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4317 * international/mule-conf.el: Unify the charset indian-is13194.
4318 (indian-is13194): Specify unify-map.
4320 2013-12-31 Leo Liu <sdl.web@gmail.com>
4322 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4324 2013-12-30 Daniel Colascione <dancol@dancol.org>
4326 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4327 of printing a useless when we resume from sleep.
4329 * progmodes/sh-script.el
4330 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4331 in indentation code. (Bug#16233)
4333 2013-12-28 João Távora <joaotavora@gmail.com>
4335 * elec-pair.el (electric-pair-post-self-insert-function):
4336 Don't open extra newlines at beginning of buffer. (Bug#16272)
4338 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4340 * frame.el (window-system-for-display): Don't allow to create a
4341 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4343 2013-12-28 Glenn Morris <rgm@gnu.org>
4345 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4348 * apropos.el (apropos-match-face):
4349 * calculator.el (calculator-displayer):
4350 * dabbrev.el (dabbrev-search-these-buffers-only):
4351 * face-remap.el (buffer-face-mode-face):
4352 * simple.el (yank-handled-properties):
4353 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4354 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4355 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4356 (hashcash-double-spend-database):
4357 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4358 (ruby-deep-indent-paren-style):
4359 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4360 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4361 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4362 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4363 Specify custom types.
4365 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4366 * bookmark.el (bookmark-bmenu-use-header-line):
4367 * doc-view.el (doc-view-scale-internally):
4368 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4369 * register.el (register-preview-delay):
4370 * net/shr.el (shr-bullet):
4371 * progmodes/cfengine.el (cfengine-cf-promises)
4372 (cfengine-parameters-indent):
4373 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4374 * textmodes/reftex-vars.el (reftex-label-regexps):
4375 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4377 * net/tls.el (tls-certtool-program): Fix default value.
4379 * desktop.el (desktop-restore-in-current-display):
4380 * newcomment.el (comment-empty-lines):
4381 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4382 (idlwave-pad-keyword):
4383 * progmodes/tcl.el (tcl-tab-always-indent):
4384 * textmodes/reftex-vars.el (reftex-index-default-tag):
4385 * elec-pair.el (electric-pair-skip-whitespace):
4386 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4388 * emacs-lisp/authors.el (authors-ignored-files)
4389 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4391 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4393 * shell.el (shell-dynamic-complete-command): Doc fix.
4394 (shell--command-completion-data): Shell completion now matches
4395 executable filenames from the current buffer's directory, on
4396 systems in which this behavior is the default (windows-nt, ms-dos).
4398 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4400 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4402 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4404 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4407 * electric.el: Move all electric-pair-* to elec-pair.el.
4408 * elec-pair.el: New file, split from electric.el.
4410 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4412 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4413 indentation level is larger than the width, because that will
4415 (shr-insert): Fill repeatedly long texts, so that Japanese is
4416 formatted correctly (bug#16263).
4417 (shr-find-fill-point): Off by one error in comparison with the
4420 2013-12-26 João Távora <joaotavora@gmail.com>
4422 * electric.el (electric-pair-mode): More flexible engine for skip-
4423 and inhibit predicates, new options for pairing-related functionality.
4424 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4425 if that keeps or improves their balance in buffers.
4426 (electric-pair-delete-adjacent-pairs): Delete the pair when
4427 backspacing over adjacent matched delimiters.
4428 (electric-pair-open-extra-newline): Open extra newline when
4429 inserting newlines between adjacent matched delimiters.
4430 (electric--sort-post-self-insertion-hook):
4431 Sort post-self-insert-hook according to priority values when
4432 minor-modes are activated.
4433 * simple.el (newline-and-indent): Call newline with interactive
4435 (blink-paren-post-self-insert-function): Set priority to 100.
4436 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4437 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4438 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4439 electric-pair-open-newline-between-pairs to nil.
4441 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4443 * progmodes/python.el: Use lexical-binding.
4444 (python-nav-beginning-of-defun): Stop searching ASAP.
4446 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4448 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4449 Fix interactive spec. Doc fix. (Bug#15754)
4451 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4453 * emacs-lisp/byte-run.el (eval-when-compile):
4454 * progmodes/cc-defs.el (cc-eval-when-compile):
4455 Fix edebug spec (bug#16184).
4457 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4459 * net/shr.el (shr-visit-file): Remove debugging function.
4460 (shr-insert): Don't infloop if we can't find a good place to break
4461 the line (bug#16256).
4463 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4465 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4466 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4467 python-nav-lisp-forward-sexp-safe.
4468 (python-nav--forward-sexp): New argument SAFE allows switching
4469 forward sexp movement behavior for parens.
4470 (python-nav-forward-sexp): Throw errors on unterminated parens
4472 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4473 (python-nav-backward-sexp-safe): New functions.
4474 (python-shell-buffer-substring):
4475 Use `python-nav-forward-sexp-safe'.
4477 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4479 * net/shr.el (shr-find-fill-point): Don't break lines before a
4481 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4482 (shr-find-fill-point): Remove the special checks for the quotation
4483 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4485 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4487 * net/eww.el (eww-form-textarea): Use a different face for
4488 textareas than text input since they have different keymaps
4491 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4493 * progmodes/python.el (python-nav-beginning-of-statement):
4494 Speed up (Bug#15295).
4496 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4498 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4499 the window configuration.
4501 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4503 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4504 we run on MS-Windows or MS-DOS.
4506 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4508 * window.el (balance-windows-area): Call window-size instead of
4509 window-height and window-width. Bug#16241.
4511 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4513 * net/eww.el (eww-bookmark-quit): Remove.
4514 (eww-bookmark-browse): Restore the window configuration when you
4515 choose a bookmark (bug#16144).
4517 2013-12-24 Daniel Colascione <dancol@dancol.org>
4519 * icomplete.el: Remove redundant :group arguments to `defcustom'
4521 (icomplete-show-matches-on-no-input): New customizable variable.
4522 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4523 we have something to show.
4524 (icomplete-exhibit): Compute completions even if we have no user input.
4526 2013-12-23 Daniel Colascione <dancol@dancol.org>
4528 * icomplete.el: Move `provide' to end of file.
4530 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4532 * net/gnutls.el (gnutls-verify-error): Add version tag.
4534 2013-12-23 Chong Yidong <cyd@gnu.org>
4536 * subr.el (set-transient-map): Rename from
4537 set-temporary-overlay-map. Doc fix.
4539 * face-remap.el (text-scale-adjust):
4540 * indent.el (indent-rigidly):
4541 * kmacro.el (kmacro-call-macro):
4542 * minibuffer.el (minibuffer-force-complete):
4543 * repeat.el (repeat):
4544 * simple.el (universal-argument--mode):
4545 * calendar/todo-mode.el (todo-insert-item--next-param):
4546 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4548 * indent.el (indent-rigidly): Use substitute-command-keys.
4550 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4552 * net/eww.el (eww-tag-select): Add text-property to jump to next
4554 (eww): Add non-supported ftp error.
4556 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4558 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4559 comments. Handle electric indent after typing `?' and `!'.
4561 2013-12-22 Chong Yidong <cyd@gnu.org>
4563 * faces.el (face-spec-recalc): If the theme specs are not
4564 applicable to a frame, fall back on the defface spec.
4565 This prevents themes from obliterating faces on low-color terminals.
4567 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4569 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4570 after `{'. We need it after block openers, and it doesn't seem
4571 to hurt after hash openers.
4573 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4575 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4576 extracted from `ruby-smie-rules'.
4577 (ruby--electric-indent-chars): New variable.
4578 (ruby--electric-indent-p): New function.
4579 (ruby-mode): Use `electric-indent-functions' instead of
4580 `electric-indent-chars'.
4582 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4584 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4586 (ruby-smie-rules): Indent plus one level after `=>'.
4588 2013-12-21 Richard Stallman <rms@gnu.org>
4590 * simple.el (newline): Doc fix.
4592 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4594 * net/eww.el (eww-list-histories, eww-list-histories)
4595 (eww-history-browse, eww-history-quit, eww-history-kill)
4596 (eww-history-mode-map, eww-history-mode): New command and
4597 functions to list browser histories.
4598 (eww-form-text): Support text form with disabled
4599 and readonly attributes.
4600 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4602 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4604 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4605 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4606 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4607 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4609 (eww-bookmark-mode-map): Add menu.
4610 (eww-render, eww-mode): Use `setq-local'.
4611 (eww-tool-bar-map): New variable.
4612 (eww-mode): Set `tool-bar-map'.
4613 (eww-view-source): Check for `html-mode' with `fboundp'.
4615 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4617 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4618 elements with text inside. Also remove debugging.
4620 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4622 * cus-start.el (all): Add ns-use-srgb-colorspace.
4624 2013-12-21 Chong Yidong <cyd@gnu.org>
4626 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4627 undefined. Thus, theme settings for undefined faces do not take
4628 effect until the faces are defined with defface, the same as with
4631 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4632 (face-spec-reset-face): Don't assign extra properties in temacs.
4633 (face-spec-recalc): Apply X resources too.
4635 2013-12-21 Chong Yidong <cyd@gnu.org>
4637 * faces.el (face-spec-set):
4638 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4639 * custom.el (defface): Doc fixes (Bug#16203).
4641 * indent.el (indent-rigidly-map): Add docstring, and move commands
4642 into named functions.
4643 (indent-rigidly-left, indent-rigidly-right)
4644 (indent-rigidly-left-to-tab-stop)
4645 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4646 indentation direction based on bidi direction, and accumulate
4647 sequential commands in a single undo boundary.
4648 (indent-rigidly--pop-undo): New utility function.
4650 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4652 * faces.el (read-face-name): Require crm.el when using crm-separator.
4654 2013-12-20 Daniel Colascione <dancol@dancol.org>
4656 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4657 so that we don't reflow comments into the shebang line.
4659 2013-12-20 Juri Linkov <juri@jurta.org>
4661 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4662 a position when `dired-directory' is non-nil. Check integer
4663 positions with `integerp'.
4664 (toggle-save-place, save-places-to-alist): Add check for
4666 (save-place-find-file-hook): Check integer positions with
4668 (save-place-dired-hook): Use `dired-goto-file' when
4669 `dired-filename' is found in the assoc list. Check integer
4670 positions with `integerp'.
4671 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4673 * dired.el (dired-initial-position-hook): Rename back from
4674 `dired-initial-point-hook'.
4675 (dired-initial-position): Rename `dired-initial-point-hook' to
4676 `dired-initial-position-hook'.
4677 (dired-file-name-at-point): Doc fix. (Bug#15329)
4679 2013-12-20 Juri Linkov <juri@jurta.org>
4681 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4682 (read-regexp-suggestions): New function.
4683 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4684 Use `read-regexp-suggestions'. Add non-empty default to history
4686 (occur-read-regexp-defaults-function): Remove function.
4687 (occur-read-primary-args): Use `regexp-history-last' instead of
4688 `occur-read-regexp-defaults-function'.
4690 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4691 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4692 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4693 `hi-lock-read-regexp-defaults-function'. Doc fix.
4694 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4695 with `find-tag-default-as-symbol-regexp'. Doc fix.
4696 (hi-lock-read-regexp-defaults): Remove function.
4697 (hi-lock-regexp-okay): Add check for null.
4699 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4700 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4702 * subr.el (find-tag-default-as-symbol-regexp): New function.
4703 (find-tag-default-as-regexp): Move symbol regexp formatting to
4704 `find-tag-default-as-symbol-regexp'.
4706 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4708 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4711 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4713 * calendar/todo-mode.el: New implementation of item insertion
4714 commands and key bindings.
4715 (todo-key-prompt): New face.
4716 (todo-insert-item): New command.
4717 (todo-insert-item--parameters): New defconst, replacing defvar
4718 todo-insertion-commands-args-genlist.
4719 (todo-insert-item--param-key-alist): New defconst, replacing
4720 defvar todo-insertion-commands-arg-key-list.
4721 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4722 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4723 (todo-insert-item--next-param): New functions.
4724 (todo-insert-item--args, todo-insert-item--argleft)
4725 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4727 (todo-key-bindings-t): Change binding of "i" from
4728 todo-insertion-map to todo-insert-item.
4729 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4730 (todo-insertion-command-name, todo-insertion-commands-names)
4731 (todo-define-insertion-command, todo-insertion-commands)
4732 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4734 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4736 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4737 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4739 (todo-move-category): Allow choosing a non-existing todo file to
4740 move the category to, and create that file.
4741 (todo-default-priority): New user option.
4742 (todo-set-item-priority): Use it.
4743 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4744 (desktop-restore-file-buffer): Declare.
4745 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4746 (todo-modes-set-2): Locally set desktop-save-buffer to
4747 todo-desktop-save-buffer.
4748 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4749 (auto-mode-alist): Add autoload cookie.
4751 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4753 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4754 helpers.el was a poor choice of name.
4755 (string-remove-prefix): New function.
4756 (string-remove-suffix): New function.
4758 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4760 Fix assignment for new window total sizes.
4761 * window.el (window--pixel-to-size): Remove function.
4762 (window--pixel-to-total-1, window--pixel-to-total):
4763 Fix calculation of new total sizes.
4765 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4767 * comint.el (comint-output-filter): Fix rear-nonsticky property
4768 placement (Bug#16010).
4770 2013-12-20 Chong Yidong <cyd@gnu.org>
4772 * faces.el (read-color): Minor fix for completion function.
4774 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4776 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4777 New option. (Bug#16182)
4778 (ruby-smie--indent-to-stmt-p): Use it.
4779 (ruby-smie-rules): Revert the logic in the handling of `when'.
4780 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4781 (ruby-deep-arglist, ruby-deep-indent-paren)
4782 (ruby-deep-indent-paren-style): Update docstrings to note that the
4783 vars don't have any effect with SMIE.
4785 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4787 * calc/calc.el (calc-enter, calc-pop): Use the variable
4788 `calc-context-sensitive-enter'.
4790 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4792 * net/shr.el (shr-insert): Protect against infloops in degenerate
4795 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4797 * progmodes/octave.el (octave): Add link to manual and octave
4799 (octave-mode-menu): Link to octave-mode manual.
4801 2013-12-20 Leo Liu <sdl.web@gmail.com>
4803 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4804 insertion using skeleton-end-newline. (Bug#16138)
4806 2013-12-20 Juri Linkov <juri@jurta.org>
4808 * replace.el (occur-engine): Use `add-face-text-property'
4809 to add the face property to matches and titles. (Bug#14645)
4811 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4812 the palette of other hi-lock colors.
4813 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4815 2013-12-19 Juri Linkov <juri@jurta.org>
4817 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4818 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4819 (minibuffer-history-symbol): Move variable declaration closer to
4822 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4825 2013-12-19 Juri Linkov <juri@jurta.org>
4827 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4829 (log-edit-hook): Add it to :options. (Bug#16170)
4831 2013-12-19 Juri Linkov <juri@jurta.org>
4833 * simple.el (eval-expression-print-format): Don't check for
4834 command names and the last command. Always display additional
4835 formats of the integer result in the echo area, and insert them
4836 to the current buffer only with a zero prefix arg.
4837 Display character when char-displayable-p is non-nil.
4838 (eval-expression): With a zero prefix arg, set `print-length' and
4839 `print-level' to nil, and insert the integer values from
4840 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4842 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4843 `eval-last-sexp-arg-internal'. Doc fix.
4844 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4845 `eval-last-sexp-print-value'. Doc fix.
4846 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4847 Set `print-length' and `print-level' to nil when arg is zero.
4848 (eval-last-sexp): Doc fix.
4849 (eval-defun-2): Print the integer values from
4850 `eval-expression-print-format' at the end.
4852 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4853 values from `eval-expression-print-format' at the end.
4855 * ielm.el (ielm-eval-input): Print the integer
4856 values from `eval-expression-print-format' at the end.
4858 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4860 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4861 2013-12-11 (r115470).
4863 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4865 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4866 (hl-line-highlight, global-hl-line-highlight): Use it.
4867 (hl-line-overlay): Use defvar-local.
4869 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4871 * term/ns-win.el: Require dnd.
4872 (global-map): Remove drag items.
4873 (ns-insert-text, ns-set-foreground-at-mouse)
4874 (ns-set-background-at-mouse):
4875 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4876 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4879 2013-12-19 Glenn Morris <rgm@gnu.org>
4881 * emacs-lisp/ert.el (ert-select-tests):
4882 Fix string/symbol mixup. (Bug#16121)
4884 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4886 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4887 keywords to their parent.
4889 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4891 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4892 first arg to be a string (fixed dead code), or an operator symbol.
4893 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4895 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4896 did nothing. Don't respond to `(:after ".")', it will be called
4897 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4898 change anything. Only return indentation for binary operators
4899 when they are hanging. De-dent opening paren when its parent is
4900 `.', otherwise it looks bad when the dot is not at bol or eol
4903 2013-12-19 Juri Linkov <juri@jurta.org>
4905 * replace.el (query-replace-read-args): Split a non-negative arg
4906 and a negative arg into separate elements.
4907 (query-replace, query-replace-regexp, replace-string)
4908 (replace-regexp): Add arg `backward'. Doc fix.
4909 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4910 move point to the beginning of the match.
4911 (replace-search, replace-highlight): Use new arg `backward'
4912 to set the value of `isearch-forward'.
4913 (perform-replace): Add arg `backward' and use it to perform
4914 replacement backward. (Bug#14979)
4916 * isearch.el (isearch-query-replace): Use a negative prefix arg
4917 to call `perform-replace' with a non-nil arg `backward'.
4919 2013-12-18 Juri Linkov <juri@jurta.org>
4921 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4922 to the default list. Move `log-edit-show-files' to the end.
4923 Add more available functions to options.
4924 (log-edit): Move default specific settings to
4925 `log-edit-insert-message-template'. Don't move point.
4926 (log-edit-insert-message-template): New function.
4927 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4930 2013-12-18 Juri Linkov <juri@jurta.org>
4932 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4933 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4935 2013-12-18 Leo Liu <sdl.web@gmail.com>
4937 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4940 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4942 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4943 formats for displaying file sizes when the -s switch is given.
4944 Instead, compute a separate format for displaying the size in
4945 blocks, which is displayed in addition to the "regular" size.
4946 When -h is given in addition to -s, produce size in blocks in
4947 human-readable form as well. (Bug#16179)
4949 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4951 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4952 Reference tables with ~\ref{...} instead of only \ref{...}.
4954 2013-12-18 Chong Yidong <cyd@gnu.org>
4956 * cus-edit.el (custom-magic-alist): Fix "themed" description
4959 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4960 is non-nil, do not create a new entry in the symbol's theme-value
4961 or theme-face property; update theme-settings only (Bug#14664).
4962 (custom-available-themes): Doc fix.
4964 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4967 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4969 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4971 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4974 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4976 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4978 2013-12-18 Glenn Morris <rgm@gnu.org>
4980 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4981 * cus-start.el (load-prefer-newer): New option.
4983 2013-12-18 Le Wang <l26wang@gmail.com>
4985 * comint.el (comint-previous-matching-input-from-input):
4986 Retain point (Bug#13404).
4988 2013-12-18 Chong Yidong <cyd@gnu.org>
4990 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4992 2013-12-18 Glenn Morris <rgm@gnu.org>
4994 * mail/emacsbug.el (report-emacs-bug):
4995 Only mention enable-multibyte-characters if non-standard.
4997 2013-12-17 Juri Linkov <juri@jurta.org>
4999 * arc-mode.el (archive-extract-by-file): Check if directory exists
5000 before deletion to not show irrelevant errors if it doesn't exist.
5002 2013-12-17 Juri Linkov <juri@jurta.org>
5004 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5007 * net/eww.el (browse-web): Add alias to `eww'.
5008 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5009 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5011 * net/browse-url.el (browse-url-browser-function): Move `eww'
5012 closer to similar functions.
5014 * startup.el (fancy-startup-screen, fancy-about-screen):
5015 Set browse-url-browser-function to eww-browse-url locally.
5018 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5020 * window.el (window--pixel-to-total): Remove unused `mini' var.
5021 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5022 (split-window): Remove unused `new' var.
5023 (window--display-buffer): Remove unused `frame' and `delta' vars.
5024 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5027 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5029 * dired.el (dired-mark-pop-up):
5030 * register.el (register-preview): Don't bind
5031 split-height-threshold here since it's now done in
5032 display-buffer-below-selected.
5034 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5036 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5037 xterm-rgb-convert-to-16bit.
5038 (rxvt-register-default-colors): Standardize with
5039 xterm-register-default-colors (Bug#14078).
5041 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5043 * simple.el (kill-region): Pass mark first, then point, so that
5044 kill-append works right (Bug#12819).
5045 (copy-region-as-kill, kill-ring-save): Likewise.
5047 2013-12-17 Leo Liu <sdl.web@gmail.com>
5049 * net/rcirc.el (rcirc-add-face):
5050 * eshell/em-prompt.el (eshell-emit-prompt):
5051 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5054 2013-12-17 Chong Yidong <cyd@gnu.org>
5056 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5057 Suggested by Xue Fuqiao.
5059 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5061 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5063 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5065 * net/shr.el (shr-insert-document): Remove unused var
5066 `shr-preliminary-table-render'.
5067 (shr-rescale-image): Remove unused arg `force'.
5068 (shr-put-image): Update calls accordingly.
5069 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5071 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5073 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5074 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5075 :close-all, to see which indentation method to use (Bug#16116).
5076 (smie-rules-function): Document the method :close-all.
5078 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5080 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5082 * net/eww.el (eww-display-html): If we can't find the anchor we're
5083 looking for, then go to point-min.
5085 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5087 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5088 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5089 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5090 Expand dir too, in case it's relative.
5092 2013-12-16 Juri Linkov <juri@jurta.org>
5094 * desktop.el (desktop-auto-save-timeout): Change default to
5095 `auto-save-timeout'. Doc fix.
5096 (desktop-save): Skip the timestamp in desktop-saved-frameset
5097 when checking for auto-save changes.
5098 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5099 `desktop-auto-save' is called repeatedly by the idle timer.
5100 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5101 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5104 2013-12-16 Juri Linkov <juri@jurta.org>
5106 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5108 (isearch-pre-command-hook): Check `this-command' for symbolp.
5110 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5112 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5114 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5116 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5117 (cfengine3--current-function): Bring in the current-function
5118 functionality from `cfengine3--current-word'.
5119 (cfengine3-completion-function): Bring in the
5120 bounds-of-current-word functionality from
5121 `cfengine3--current-word'.
5123 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5125 * window.el (display-buffer-below-selected):
5126 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5128 2013-12-16 Leo Liu <sdl.web@gmail.com>
5130 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5131 Remove NOMSG arg and all uses changed.
5133 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5135 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5136 (cua--deactivate-rectangle): Don't deactivate the mark.
5137 (cua-set-rectangle-mark): Don't set mark-active since
5138 cua--activate-rectangle already does it for us.
5139 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5140 non-rectangular region.
5142 * emulation/cua-base.el (cua-repeat-replace-region):
5143 Use with-current-buffer.
5145 * net/gnutls.el: Use cl-lib.
5146 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5148 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5150 * emacs-lisp/package.el (package-built-in-p): Support both
5151 built-in and the package.el converted package descriptions.
5152 (package-show-package-list): Allow keywords.
5153 (package-keyword-button-action): Use it instead of
5154 `finder-list-matches'.
5155 (package-menu-filter-interactive): Interactive filtering (by
5157 (package-menu--generate): Support keywords and change keymappings
5158 and headers when they are given.
5159 (package--has-keyword-p): Helper function.
5160 (package-menu--refresh): Use it.
5161 (package--mapc): Helper function.
5162 (package-all-keywords): Use it.
5163 (package-menu-mode-map): Set up menu items and keybindings to
5164 provide a filtering UI.
5166 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5168 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5169 the behavior when a certificate fails validation. Defaults to
5170 old behavior: never abort, just warn.
5171 (gnutls-negotiate): Use it.
5173 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5175 * window.el (display-buffer-below-selected): Never split window
5176 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5178 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5180 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5181 (package-buffer-info): Use it (bug#15108).
5183 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5185 * icomplete.el (icomplete-completions): Make sure the prefix is already
5186 displayed elsewhere before hiding it (bug#16219).
5188 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5190 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5191 open-paren tokens when preceded by a open-paren, too.
5192 (ruby-smie-rules): Handle virtual indentation after open-paren
5193 tokens specially. If there is code between it and eol, return the
5194 column where is starts (Bug#16118).
5196 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5198 * progmodes/cfengine.el: Fix `add-hook' doc.
5199 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5200 (cfengine3--current-word): Fix parameters.
5201 (cfengine3-make-syntax-cache): Simplify further.
5202 (cfengine3-completion-function, cfengine3--current-function):
5203 Use `assq' for symbols.
5204 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5206 2013-12-13 Glenn Morris <rgm@gnu.org>
5208 * loadup.el (load-path): Warn if site-load or site-init changes it.
5209 No more need to reset it when bootstrapping.
5211 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5213 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5214 locations for cf-promises.
5215 (cfengine-mode-syntax-functions-regex): New caching variable.
5216 (cfengine3-fallback-syntax): Fallback syntax for cases where
5217 cf-promises doesn't run.
5218 (cfengine3--current-word): Reimplement using
5219 `cfengine-mode-syntax-functions-regex'.
5220 (cfengine3-completion-function, cfengine3--current-function):
5221 Use `cfengine3-make-syntax-cache' directly.
5222 (cfengine3-clear-syntax-cache): New function.
5223 (cfengine3-make-syntax-cache): Simplify and create
5224 `cfengine-mode-syntax-functions-regex' on demand.
5225 (cfengine3-format-function-docstring): Don't call
5226 `cfengine3-make-syntax-cache' explicitly.
5228 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5230 Fix windmove-find-other-window broken after pixelwise resizing
5232 * windmove.el (windmove-other-window-loc): Revert change from
5234 (windmove-find-other-window): Call window-in-direction.
5235 * window.el (window-in-direction): New arguments SIGN, WRAP and
5236 MINI to emulate original windmove-find-other-window behavior.
5238 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5240 * simple.el (blink-matching--overlay): New variable.
5241 (blink-matching-open): Instead of moving point, highlight the
5242 matching paren with an overlay
5243 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5245 * faces.el (paren-showing-faces, show-paren-match)
5246 (show-paren-mismatch): Move from paren.el.
5248 2013-12-13 Leo Liu <sdl.web@gmail.com>
5250 * indent.el (indent-region): Disable progress reporter in
5251 minibuffer. (Bug#16108)
5253 * bindings.el (visual-order-cursor-movement): Fix version.
5255 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5257 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5258 Also match after beginning of line.
5259 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5260 files. Thanks to Russell Sim. (Bug#15378)
5262 2013-12-13 Juri Linkov <juri@jurta.org>
5264 * simple.el <Keypad support>: Remove key bindings duplicated
5265 with bindings.el. (Bug#14397)
5267 2013-12-13 Juri Linkov <juri@jurta.org>
5269 * comint.el (comint-mode-map): Replace `delete-char' with
5270 `delete-forward-char'. (Bug#16109)
5272 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5274 * progmodes/python.el (python-indent-calculate-indentation):
5275 Fix de-denters cornercase. (Bug#15731)
5277 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5279 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5280 (advice--make): Pay attention to `depth'.
5281 (advice--make-1): Don't autoload commands eagerly.
5282 * emacs-lisp/elp.el (elp-instrument-function):
5283 * emacs-lisp/trace.el (trace-function-internal):
5284 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5286 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5288 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5290 * term/w32-win.el (w32-handle-dropped-file):
5291 * startup.el (normal-top-level):
5292 * net/browse-url.el (browse-url-file-url):
5293 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5294 decode file names using 'utf-8' rather than
5295 file-name-coding-system.
5297 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5299 * progmodes/python.el (python-indent-context)
5300 (python-indent-calculate-indentation): Fix auto-identation
5301 behavior for comment blocks. (Bug#15916)
5303 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5305 * progmodes/python.el (python-indent-calculate-indentation):
5306 When determining indentation, don't treat "return", "pass", etc., as
5307 operators when they are just string constituents. (Bug#15812)
5309 2013-12-12 Juri Linkov <juri@jurta.org>
5311 * uniquify.el (uniquify-buffer-name-style): Change default to
5312 `post-forward-angle-brackets'.
5314 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5315 `uniquify'. Change default to `post-forward-angle-brackets'.
5317 2013-12-11 Glenn Morris <rgm@gnu.org>
5319 * emacs-lisp/package.el (finder-list-matches):
5320 Autoload rather than falsely declaring.
5322 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5324 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5325 (eww-mode-map): Use them.
5327 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5329 * window.el (display-buffer-in-side-window): Fix doc-string
5332 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5334 * vc/vc-git.el: Silence byte-compiler warnings.
5335 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5336 (log-edit-set-header): Declare.
5338 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5340 * Makefile.in (custom-deps, finder-data): Run output file names
5341 through unmsys--file-name. (Bug#16099)
5343 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5345 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5346 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5348 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5349 instead of deleting the selection "by hand" (bug#16098).
5350 Rely on insert-for-yank to yank rectangles.
5351 (cua-highlight-region-shift-only): Mark obsolete.
5352 (cua-mode): Don't enable/disable transient-mark-mode,
5353 shift-select-mode (cua-mode works both with and without them), and
5354 pc-selection-mode (obsolete).
5355 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5356 (cua--deactivate-rectangle): Deactivate it.
5358 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5359 (delete-selection-helper): Make sure yank starts at the top of the
5361 (minibuffer-keyboard-quit): Use region-active-p.
5363 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5365 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5366 to `delete' (bug#16109).
5368 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5370 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5371 info manual and show keybindings and set `:group' keyword.
5373 2013-12-11 Juri Linkov <juri@jurta.org>
5375 * delsel.el (delete-active-region): Let-bind `this-command'
5376 to prevent `kill-region' from changing its original value.
5377 (delete-selection-helper): Handle `overwrite-mode' for the type
5378 `kill' exactly the same way as for the type `t'.
5379 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5380 Support more commands. (Bug#13312)
5382 2013-12-11 Juri Linkov <juri@jurta.org>
5384 * bindings.el: Map kp keys to non-kp keys systematically
5385 with basic modifiers control, meta and shift. (Bug#14397)
5387 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5389 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5390 "Close browser" menu items. Fix wrong function of "List
5393 2013-12-11 Juri Linkov <juri@jurta.org>
5395 * misearch.el (multi-isearch-buffers): Set the value of
5396 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5397 arg of isearch-forward to t.
5398 (multi-isearch-buffers-regexp): Set the value of
5399 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5400 arg of isearch-forward-regexp to t.
5401 (multi-isearch-files): Set the value of
5402 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5403 arg of isearch-forward to t.
5404 (multi-isearch-files-regexp): Set the value of
5405 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5406 arg of isearch-forward-regexp to t. (Bug#16035)
5408 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5409 arg of isearch-forward to t.
5410 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5411 arg of isearch-forward-regexp to t.
5412 (dired-isearch-filter-filenames): Remove unnecessary check for
5413 `dired-isearch-filenames'.
5415 * comint.el (comint-history-isearch-backward):
5416 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5417 (comint-history-isearch-backward-regexp):
5418 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5420 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5422 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5423 unmsys--file-name. (Bug#16099)
5425 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5427 * emacs-lisp/package.el (package-keyword-button-action):
5428 Remove finder.el require dependency.
5430 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5432 * emacs-lisp/package.el: Require finder.el.
5433 (describe-package-1): Add keyword buttons.
5434 (package-make-button): New convenience function.
5435 (package-keyword-button-action): Keyword button action using
5436 `finder-list-matches'.
5438 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5440 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5443 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5445 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5448 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5450 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5451 after the end of a percent literal.
5453 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5455 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5456 Handle caret-delimited strings (Bug#16079).
5458 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5460 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5461 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5462 `ruby-parse-partial' (Bug#16078).
5464 2013-12-09 Leo Liu <sdl.web@gmail.com>
5466 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5468 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5470 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5471 (js-switch-indent-offset): New option.
5472 (js--proper-indentation): Use it. And handle the case when
5473 "default" is actually a key in an object literal.
5474 (js--same-line): New function.
5475 (js--multi-line-declaration-indentation): Use it.
5476 (js--indent-in-array-comp, js--array-comp-indentation):
5478 (js--proper-indentation): Use them, to handle array comprehension
5481 2013-12-08 Leo Liu <sdl.web@gmail.com>
5483 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5484 (flymake-make-overlay): Remove arg MOUSE-FACE.
5485 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5487 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5489 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5491 (redisplay-highlight-region-function): Use it.
5493 * emulation/cua-base.el (cua--explicit-region-start)
5494 (cua--last-region-shifted): Remove.
5495 (cua--deactivate): Use deactivate-mark.
5496 (cua--pre-command-handler-1): Don't handle shift-selection.
5497 (cua--post-command-handler-1): Don't change transient-mark-mode.
5498 (cua--select-keymaps): Use region-active-p rather than
5499 cua--explicit-region-start or cua--last-region-shifted.
5500 (cua-mode): Enable shift-select-mode.
5502 2013-12-08 Leo Liu <sdl.web@gmail.com>
5504 * progmodes/flymake.el (flymake-popup-current-error-menu):
5505 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5506 (flymake-posn-at-point-as-event, flymake-popup-menu)
5507 (flymake-make-emacs-menu): Remove. (Bug#16077)
5509 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5511 * rect.el (rectangle-mark-mode): Activate mark even if
5512 transient-mark-mode is off (bug#16066).
5513 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5514 is > mark and at bolp.
5516 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5517 (region-extract-function): Use it.
5518 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5519 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5521 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5522 kill-ring-save, kill-region, delete-char, delete-forward-char.
5523 Ignore self-insert-iso.
5525 * emulation/cua-gmrk.el (cua--init-global-mark):
5526 Ignore `self-insert-iso'.
5528 * emulation/cua-base.el (cua--prefix-copy-handler)
5529 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5530 checking cua--rectangle.
5531 (cua-delete-region): Use region-extract-function.
5532 (cua-replace-region): Delete function.
5533 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5534 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5535 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5536 (cua--init-keymaps): Don't remap delete-selection commands.
5537 (cua-mode): Use delete-selection-mode instead of rolling our own
5540 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5541 Obey region-extract-function.
5543 Make registers and delete-selection-mode work on rectangles.
5544 * register.el (describe-register-1): Don't modify the register's value.
5545 (copy-to-register): Obey region-extract-function.
5546 * delsel.el (delete-active-region): Obey region-extract-function.
5548 2013-12-08 Leo Liu <sdl.web@gmail.com>
5550 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5551 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5552 (flymake-compilation-prevents-syntax-check)
5553 (flymake-start-syntax-check-on-newline)
5554 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5555 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5556 (flymake-xml-program, flymake-master-file-dirs)
5557 (flymake-master-file-count-limit)
5558 (flymake-allowed-file-name-masks): Relocate.
5559 (flymake-makehash, flymake-float-time)
5560 (flymake-replace-regexp-in-string, flymake-split-string)
5561 (flymake-get-temp-dir): Remove.
5562 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5563 (flymake-current-row, flymake-selected-frame)
5564 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5565 related functions. (Bug#16077)
5567 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5569 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5571 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5573 * help-fns.el (describe-function-1): Use new advice-* functions
5574 rather than old ad-* functions. Fix function type description and
5575 source links for advised functions and subrs.
5577 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5579 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5581 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5583 * progmodes/compile.el (compilation-start):
5584 * progmodes/grep.el (rgrep): Revert change of 2012-12-20 (r111276).
5586 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5587 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5589 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5591 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5592 Touch up the last change.
5594 2013-12-06 Leo Liu <sdl.web@gmail.com>
5596 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5597 (inferior-octave-startup): Always use "octave> " for prompt.
5598 (octave-goto-function-definition)
5599 (octave-sync-function-file-names)
5600 (octave-find-definition-default-filename): Remove redundant backquotes.
5602 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5604 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5606 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5607 where appropriate already.
5608 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5609 end of method names (Bug#15874).
5611 2013-12-06 Juri Linkov <juri@jurta.org>
5613 * isearch.el (isearch--saved-overriding-local-map):
5614 New internal variable.
5615 (isearch-mode): Set it to the initial value of
5616 `overriding-terminal-local-map'.
5617 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5618 with `isearch--saved-overriding-local-map'. (Bug#16035)
5620 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5622 * progmodes/octave.el (inferior-octave-completion-table):
5623 Turn back into function, use `completion-table-with-cache'
5624 (Bug#11906). Update all references.
5626 * minibuffer.el (completion-table-with-cache): New function.
5628 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5630 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5632 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5634 * net/eww.el (eww-current-source): New variable to store page
5636 (eww-display-html, eww-mode, eww-save-history)
5637 (eww-restore-history): Use it.
5638 (eww-view-source): New command to view page source.
5639 Opportunistically uses `html-mode' to highlight the buffer.
5640 (eww-mode-map): Install it.
5642 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5644 * net/dbus.el (dbus-unregister-service)
5645 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5647 (dbus-unregister-service): Skip :serial entries in
5648 `dbus-registered-objects-table'.
5649 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5651 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5653 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5654 around keywords with extra `split-string' argument.
5656 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5658 * windmove.el (windmove-other-window-loc): Handle navigation
5659 between windows (excluding the minibuffer window - Bug#16017).
5661 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5663 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5664 in D-Bus type syntax.
5665 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5666 preserve unibyte strings. (Bug#16048)
5668 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5670 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5671 Call force-mode-line-update is the proper buffer (bug#16042).
5673 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5675 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5676 `log-edit-remember-comment', make argument optional. Adjust all
5678 (log-edit-mode): Add `log-edit-remember-comment' to
5679 `kill-buffer-hook' locally.
5680 (log-edit-kill-buffer): Don't remember comment explicitly since
5681 the buffer is killed anyway.
5683 2013-12-04 Juri Linkov <juri@jurta.org>
5685 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5686 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5688 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5690 * notifications.el (notifications-close-notification): Call the
5691 D-Bus method with ID being a `:uint32'. (Bug#16030)
5693 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5695 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5697 2013-12-03 Juri Linkov <juri@jurta.org>
5699 * progmodes/compile.el (compilation-start): Rename window alist
5700 entry `no-display-ok' to `allow-no-window'.
5702 * simple.el (shell-command): Add window alist entry
5703 `allow-no-window' to `display-buffer'.
5704 (async-shell-command): Doc fix.
5706 * window.el (display-buffer-no-window): New action function.
5707 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5709 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5711 * vc/log-edit.el (log-edit-set-header): Extract from
5712 `log-edit-toggle-header'.
5713 (log-edit-extract-headers): Separate the summary, when extracted
5714 from header, from the rest of the message with an empty line.
5716 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5717 line, if present, to the Summary header.
5719 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5721 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5722 in current-buffer (bug#16029).
5724 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5726 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5727 (debugger-mode-map): Bind it.
5728 (debugger--backtrace-base): New function.
5729 (debugger-eval-expression): Use it.
5730 (debugger-frame-number): Skip local vars when present.
5731 (debugger--locals-visible-p, debugger--insert-locals)
5732 (debugger--show-locals, debugger--hide-locals): New functions.
5734 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5736 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5738 (tramp-get-remote-locale): New defun.
5739 (tramp-open-connection-setup-interactive-shell): Use it.
5741 2013-12-02 Leo Liu <sdl.web@gmail.com>
5743 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5745 * progmodes/sh-script.el (sh-shell-process):
5746 * progmodes/octave.el (inferior-octave-process-live-p):
5747 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5748 (gdb-inferior-io-sentinel):
5749 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5751 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5753 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5754 `save-selected-window' to `log-edit-hide-buf'. This makes
5755 `log-edit-show-files' idempotent.
5756 (log-edit-show-files): Mark the new window as dedicated.
5758 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5760 * vc/log-edit.el (log-edit-mode-map): Add binding for
5761 `log-edit-kill-biffer'.
5762 (log-edit-hide-buf): Add a FIXME comment.
5763 (log-edit-add-new-comment): New function, extracted from
5765 (log-edit-done, log-edit-add-to-changelog): Use it.
5766 (log-edit-kill-buffer): New command.
5768 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5770 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5771 instead of killing the buffer.
5773 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5775 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5777 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5779 * net/eww.el (eww-form-checkbox-selected-symbol)
5780 (eww-form-checkbox-symbol): New customizable variable.
5781 (eww-form-checkbox, eww-toggle-checkbox):
5782 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5784 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5785 (shr--get-media-pref, shr--extract-best-source): New function.
5786 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5787 no :src tag was specified.
5789 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5790 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5791 Use \\` to match beginning of string instead of ^.
5792 (eww-browse-with-external-browser): Provide optional URL parameter.
5793 (eww-render): Set `eww-current-title' back to "".
5795 * net/shr.el (shr-tag-video): Display content for video if no
5796 poster is available.
5797 (shr-tag-audio): Add support for <audio> tag.
5799 * net/eww.el (eww-text-input-types): New const.
5800 (eww-process-text-input): Treat input types in
5801 `eww-text-input-types' as text.
5803 * net/shr.el (shr-tag-table): Fix comment typo.
5805 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5807 * net/eww.el (eww-follow-link): New command to avoid reloading
5808 pages when we follow #target links (bug#15243).
5809 (eww-quit): Special mode buffers shouldn't query before exiting.
5811 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5813 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5816 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5818 * net/eww.el (eww-restore-history): Update the window title after
5819 moving in the history.
5820 (eww-current-dom): New variable used to save the current DOM.
5822 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5824 * vc/log-edit.el (log-edit-mode-map): Add binding for
5825 `log-edit-beginning-of-line'.
5826 (log-edit-setup-add-author): New user option.
5827 (log-edit-beginning-of-line): New command.
5828 (log-edit): Move major mode call above the contents setup so that
5829 the local variable values are already applied.
5830 (log-edit): Only insert "Author: " when
5831 `log-edit-setup-add-author' is non-nil.
5832 (log-edit): When SETUP is non-nil, position point after ": "
5833 instead of point-min.
5835 2013-12-01 Glenn Morris <rgm@gnu.org>
5837 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5839 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5841 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5842 redisplay to make sure the initial frame gets a chance to become
5843 visible. (Bug#16014)
5845 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5847 Support resizing frames and windows pixelwise.
5848 * cus-start.el (frame-resize-pixelwise)
5849 (window-resize-pixelwise): New entries.
5850 * emacs-lisp/debug.el (debug): Use window-total-height instead
5851 of window-total-size.
5852 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5853 * help.el (describe-bindings-internal): Use help-buffer as
5854 argument for with-help-window.
5855 (temp-buffer-max-width): New option.
5856 (resize-temp-buffer-window, help-window-setup)
5857 (with-help-window): Rewrite.
5858 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5860 * window.el (frame-char-size, window-min-pixel-height)
5861 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5862 (window-min-pixel-width, window-safe-min-pixel-size)
5863 (window-combination-p, window-safe-min-size)
5864 (window-resizable-p, window--size-to-pixel)
5865 (window--pixel-to-size, window--resize-apply-p): New functions.
5866 (window-safe-min-height): Fix doc-string.
5867 (window-size, window-min-size, window--min-size-1)
5868 (window-sizable, window-sizable-p, window--min-delta-1)
5869 (window-min-delta, window--max-delta-1, window-max-delta)
5870 (window--resizable, window--resizable-p, window-resizable)
5871 (window-full-height-p, window-full-width-p, window-at-side-p)
5872 (window--in-direction-2, window-in-direction)
5873 (window--resize-reset-1, window--resize-mini-window)
5874 (window-resize, window-resize-no-error)
5875 (window--resize-child-windows-normal)
5876 (window--resize-child-windows, window--resize-siblings)
5877 (window--resize-this-window, window--resize-root-window)
5878 (window--resize-root-window-vertically)
5879 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5880 (maximize-window, minimize-window, delete-window)
5881 (quit-restore-window, window-split-min-size, split-window)
5882 (balance-windows-2, balance-windows)
5883 (balance-windows-area-adjust, balance-windows-area)
5884 (window--state-get-1, window-state-get, window--state-put-1)
5885 (window--state-put-2, window-state-put)
5886 (display-buffer-record-window, window--display-buffer):
5887 Make functions handle pixelwise sizing of windows.
5888 (display-buffer--action-function-custom-type)
5889 (display-buffer-fallback-action):
5890 Add display-buffer-in-previous-window.
5891 (display-buffer-use-some-window): Resize window to height it had
5893 (fit-window-to-buffer-horizontally): New option.
5894 (fit-frame-to-buffer): Describe new values.
5895 (fit-frame-to-buffer-bottom-margin): Replace with
5896 fit-frame-to-buffer-margins.
5897 (window--sanitize-margin): New function.
5898 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5899 using window-text-pixel-size.
5901 2013-11-30 Glenn Morris <rgm@gnu.org>
5903 * emacs-lisp/bytecomp.el (byte-compile-form):
5904 Make the `interactive-only' warning like the `obsolete' one.
5905 * comint.el (comint-run):
5906 * files.el (insert-file-literally, insert-file):
5907 * replace.el (replace-string, replace-regexp):
5908 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5909 (goto-line, insert-buffer, next-line, previous-line):
5910 Tweak `interactive-only' spec.
5912 Stop keeping (most) generated cedet grammar files in the repository.
5913 * Makefile.in (semantic): New.
5914 (compile-main): Depend on semantic.
5916 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5918 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5919 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5921 * uniquify.el (uniquify-buffer-name-style): Change default.
5923 * loadup.el: Preload "uniquify".
5925 * time.el (display-time-update): Update all mode lines (bug#15999).
5927 * electric.el (electric-indent-mode): Enable by default.
5928 * loadup.el: Preload "electric".
5930 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5932 * emacs-lisp/helpers.el (string-empty-p): New function.
5933 (string-blank-p): New function.
5935 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5937 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5940 2013-11-29 Andreas Politz <politza@fh-trier.de>
5941 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5942 allow non-lambda lists as functions.
5943 (imenu--in-alist): Don't recurse into non-subalists.
5944 (imenu): Don't pass function itself as an argument (Bug#14029).
5946 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5948 * progmodes/python.el (python-mode-map): Remove binding for ":".
5949 (python-indent-electric-colon): Remove command.
5950 (python-indent-post-self-insert-function): Integrate the previous code
5951 of python-indent-electric-colon. Make it conditional on
5952 electric-indent-mode.
5953 (python-mode): Add ?: to electric-indent-chars.
5954 Move python-indent-post-self-insert-function to the end of
5955 post-self-insert-hook.
5957 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5959 * doc-view.el (doc-view-goto-page): Update mode-line.
5961 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5963 2013-11-27 Glenn Morris <rgm@gnu.org>
5965 * international/charprop.el, international/uni-bidi.el:
5966 * international/uni-category.el, international/uni-combining.el:
5967 * international/uni-comment.el, international/uni-decimal.el:
5968 * international/uni-decomposition.el, international/uni-digit.el:
5969 * international/uni-lowercase.el, international/uni-mirrored.el:
5970 * international/uni-name.el, international/uni-numeric.el:
5971 * international/uni-old-name.el, international/uni-titlecase.el:
5972 * international/uni-uppercase.el:
5973 Remove generated files from VCS repository.
5975 2013-11-27 Eli Zaretskii <eliz@gnu.org>
5977 * filenotify.el (file-notify-add-watch): Don't special-case
5978 w32notify when computing the directory to watch.
5980 2013-11-27 Glenn Morris <rgm@gnu.org>
5982 Make bootstrap without generated uni-*.el files possible again.
5983 * loadup.el: Update command-line-args checking for unidata-gen.
5984 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5985 * composite.el, international/characters.el:
5986 Handle unicode tables being undefined.
5988 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
5989 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5990 (compile-main): Depend on leim rule.
5992 * loadup.el: Move leim-list.el to leim/ subdirectory.
5993 * startup.el (normal-top-level): No more leim directory.
5994 * international/ja-dic-cnv.el (skkdic-convert):
5995 Disable version-control and autoloads in output files.
5996 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5997 Disable version-control and autoloads in output files.
5998 * leim/quail: Move here from ../leim.
5999 * leim/quail/hangul.el (hangul-input-method-activate):
6000 Add autoload cookie.
6001 (generated-autoload-load-name): Set file-local value.
6002 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6003 (generated-autoload-load-name): Set file-local value.
6005 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6007 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6008 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6009 (eww-quit): Ask confirmation before quitting eww.
6011 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6013 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6014 reading output from Diff on MS-Windows and MS-DOS.
6016 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6018 * emacs-lisp/helpers.el (string-reverse): New function.
6020 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6022 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6023 names on MS Windows, like "/[::1]:".
6025 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6028 2013-11-26 Glenn Morris <rgm@gnu.org>
6030 * progmodes/python.el (python-indent-guess-indent-offset):
6031 Avoid corner-case error. (Bug#15975)
6033 Preload leim-list.el. (Bug#4789)
6034 * loadup.el: Load leim-list.el when found.
6035 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6037 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6039 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6041 * emacs-lisp/helpers.el (string-join): New function.
6043 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6045 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6046 Mark as obsolete and replace it with a symbol property.
6047 (byte-compile-form): Use new 'interactive-only property.
6048 * comint.el, files.el, replace.el, simple.el:
6049 Apply new 'interactive-only properly.
6051 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6053 * window.el (display-buffer-at-bottom): Make sure that
6054 split-window-sensibly creates the new window on bottom
6057 2013-11-23 David Kastrup <dak@gnu.org>
6059 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6060 on the conflict markers when available.
6061 (smerge--get-marker): New function.
6062 (smerge-end-re, smerge-base-re): Add subgroup.
6064 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6066 * frame.el (handle-focus-in, handle-focus-out): Add missing
6069 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6071 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6072 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6074 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6076 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6077 (gomoku--last-pos): New var.
6078 (gomoku--intangible-chars): New const.
6079 (gomoku--intangible): New function.
6080 (gomoku-mode): Use it. Derive from special-mode.
6081 (gomoku-move-up): Adjust line count.
6082 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6083 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6084 Simplify accordingly.
6086 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6087 Remove blink-cursor code.
6088 (blink-cursor-timer-function, blink-cursor-suspend):
6089 Don't special-case GUIs.
6090 (blink-cursor-mode): Use focus-in/out-hook.
6092 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6094 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6095 work when annotation is invisible (Bug#13886).
6097 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6099 * json.el (json-alist-p): Only return non-nil if the alist has
6100 simple keys (Bug#13518).
6102 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6104 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6105 when control-statement is the first statement in a buffer (Bug#15956).
6107 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6109 * imenu.el (imenu-generic-skip-comments-and-strings):
6110 New option (Bug#15560).
6111 (imenu--generic-function): Use it.
6113 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6115 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6118 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6120 * emacs-lisp/helpers.el: Add some string helpers.
6121 (string-trim-left): Removes leading whitespace.
6122 (string-trim-right): Removes trailing whitespace.
6123 (string-trim): Removes leading and trailing whitespace.
6125 * subr.el (string-suffix-p): New function.
6127 2013-11-23 Glenn Morris <rgm@gnu.org>
6129 * progmodes/python.el (python-shell-send-file):
6130 Add option to delete file when done. (Bug#15647)
6131 (python-shell-send-string, python-shell-send-region): Use it.
6133 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6135 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6136 to set buffer-read-only to t, never to nil. (Bug#15938)
6138 * textmodes/tex-mode.el (latex-noindent-environments):
6139 Add safe-local-variable property. (Bug#15936)
6141 2013-11-23 Glenn Morris <rgm@gnu.org>
6143 * textmodes/enriched.el (enriched-mode): Doc fix.
6144 * emacs-lisp/authors.el (authors-renamed-files-alist):
6145 Add enriched.doc -> enriched.txt.
6147 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6149 2013-11-22 Leo Liu <sdl.web@gmail.com>
6151 * progmodes/octave.el (inferior-octave-startup): Spit out error
6154 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6156 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6159 (ruby-encoding-magic-comment-style): Add :version.
6161 2013-11-22 Leo Liu <sdl.web@gmail.com>
6163 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6165 (octave-help-mode): Adapt to change to help-mode-finish to use
6166 derived-mode-p on 2013-09-17.
6167 (inferior-octave-prompt): Also match octave-gui.
6168 (octave-kill-process): Don't ask twice. (Bug#10564)
6170 2013-11-22 Leo Liu <sdl.web@gmail.com>
6172 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6173 (inferior-octave-startup, inferior-octave-check-process)
6174 (inferior-octave-track-window-width-change)
6175 (octave-completion-at-point, octave-eldoc-function): Use it.
6176 (octave-kill-process): Provide confirmation. (Bug#10564)
6178 2013-11-21 Leo Liu <sdl.web@gmail.com>
6180 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6181 Fix obsolete variable comment-use-global-state.
6183 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6185 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6186 Add `octave-source-file'.
6187 (octave-source-file): New function. (Bug#15935)
6189 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6191 * net/eww.el (eww-local-regex): New variable.
6192 (eww): Use it to detect localhost and similar.
6194 2013-11-21 Leo Liu <sdl.web@gmail.com>
6196 Add completion for command `ag'.
6197 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6198 (pcomplete/ag): New function.
6199 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6201 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6203 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6205 (make-obsolete): Remove interactive spec.
6207 2013-11-21 Glenn Morris <rgm@gnu.org>
6209 * startup.el (command-line-1): Use path-separator with -L.
6211 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6213 * emacs-lisp/package.el (describe-package-1): Add package archive
6216 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6218 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6219 Change default to "# encoding: %s" to differentiate it from the
6220 default Ruby encoding comment template.
6222 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6224 * ses.el (ses-mode): Doc fix. (Bug#14748)
6226 2013-11-20 Leo Liu <sdl.web@gmail.com>
6228 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6230 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6232 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6233 when rebase or bisect are in progress.
6235 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6237 * filenotify.el (file-notify-add-watch): Doc fix.
6239 2013-11-19 Leo Liu <sdl.web@gmail.com>
6241 * obsolete/rcompile.el: Mark obsolete.
6243 * progmodes/compile.el (compilation-start)
6244 (compilation-goto-locus, compilation-find-file):
6245 Pass no-display-ok and handle nil value from display-buffer.
6248 * window.el (display-buffer-alist, display-buffer): Document the
6249 new parameter no-display-ok. Return either a window or nil
6250 but never a non-window value.
6252 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6254 * electric.el (electric-indent-mode-map): Remove.
6255 (electric-indent-mode): Change the global-map instead (bug#15915).
6257 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6260 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6262 * emacs-lisp/nadvice.el (remove-function): Align with
6263 add-function's behavior.
6265 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6266 (gdb--string-regexp): New constant.
6267 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6268 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6269 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6271 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6272 Adjust use accordingly.
6273 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6275 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6277 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6278 interpolation curlies (Bug#15914).
6280 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6282 * calc/calc.el (calc-context-sensitive-enter): New variable.
6283 (calc-enter): Use `calc-context-sensitive-enter'.
6285 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6287 * progmodes/cfengine.el: Version bump.
6288 (cfengine-cf-promises): New defcustom to locate cf-promises.
6289 (cfengine3-vartypes): Add new "data" type.
6290 (cfengine3--current-word): New function to get current name-like
6292 (cfengine3--current-function): New function to look up a CFEngine
6293 function's definition.
6294 (cfengine3-format-function-docstring): New function.
6295 (cfengine3-make-syntax-cache): New function.
6296 (cfengine3-documentation-function): New function: ElDoc glue.
6297 (cfengine3-completion-function): New function: completion glue.
6298 (cfengine3-mode): Set `compile-command',
6299 `eldoc-documentation-function', and add to
6300 `completion-at-point-functions'.
6302 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6304 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6305 `tramp-current-connection'.
6307 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6309 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6310 nil/self/true/false with "end of symbol".
6312 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6314 * subr.el (version-regexp-alist): Fix a typo.
6316 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6318 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6319 "en_US.utf8" and "LC_CTYPE" to "".
6320 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6321 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6323 2013-11-15 Leo Liu <sdl.web@gmail.com>
6325 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6327 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6329 * progmodes/gud.el (ctl-x-map):
6330 Remove C-x SPC binding. (Bug#12342)
6331 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6333 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6335 * subr.el (version-regexp-alist):
6336 Recognize hg, svn and darcs versions as snapshot versions.
6338 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6339 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6340 (ruby--encoding-comment-required-p): Extract from
6341 `ruby-mode-set-encoding'.
6342 (ruby-mode-set-encoding): Add the ability to always insert an
6343 utf-8 encoding comment. Fix and simplify coding comment update
6346 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6348 * net/tramp-gvfs.el (top): Run init code only when
6349 `tramp-gvfs-enabled' is not nil.
6350 (tramp-gvfs-enabled): Check also :system bus.
6352 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6354 Sync with upstream verilog-mode revision 78e66ba.
6355 * progmodes/verilog-mode.el (verilog-end-of-defun)
6356 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6357 (verilog-get-end-of-defun): Remove unused argument.
6358 (verilog-comment-depth): Remove unused local `e'.
6359 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6360 Don't pass arg to verilog-get-end-of-defun.
6362 2013-11-14 Glenn Morris <rgm@gnu.org>
6364 * obsolete/assoc.el (aget): Prefix dynamic variable.
6366 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6368 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6370 * widget.el, hfy-cmap.el: Remove bogus package version number.
6372 2013-11-13 Glenn Morris <rgm@gnu.org>
6374 * replace.el (replace-eval-replacement):
6375 Try to give more helpful error message. (Bug#15836)
6377 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6378 (archive-7z-update): Avoid custom type mismatches.
6380 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6382 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6384 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6385 address can be empty.
6387 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6388 Accept nil SWITCHES.
6389 (tramp-gvfs-handle-write-region): Implement APPEND.
6391 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6393 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6394 binary "|" operator and closing block args delimiter.
6395 Remove FIXME comment referring to Ruby 1.8-only syntax.
6396 (ruby-smie--implicit-semi-p): Not after "|" operator.
6397 (ruby-smie--closing-pipe-p): New function.
6398 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6399 (ruby-smie-rules): Indent after "|".
6401 2013-11-12 Glenn Morris <rgm@gnu.org>
6403 * ps-print.el (ps-face-attribute-list):
6404 Handle anonymous faces. (Bug#15827)
6406 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6408 * window.el (display-buffer-other-frame): Fix doc-string.
6411 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6413 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6415 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6417 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6418 (tramp-sh-handle-file-local-copy): Don't write a message when
6419 saving temporary files.
6421 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6422 both directories are remote.
6423 (tramp-smb-handle-directory-files): Do not return double entries.
6424 Do not expand full file names.
6425 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6426 (tramp-smb-handle-write-region): Implement APPEND.
6427 (tramp-smb-get-stat-capability): Fix a stupid bug.
6429 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6431 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6433 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6435 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6436 throwing error over malformed let/let* (bug#15814).
6438 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6440 * iswitchb.el (iswitchb-mode): Mark obsolete.
6442 2013-11-11 Glenn Morris <rgm@gnu.org>
6444 * international/uni-bidi.el, international/uni-category.el:
6445 * international/uni-name.el, international/uni-numeric.el:
6446 Regenerate for Unicode 6.3.0.
6448 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6450 * net/tramp.el (tramp-methods):
6451 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6452 2013-10-29 (r114834).
6454 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6456 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6457 Force highlighting text after Summary keyword in doc face for rpm.
6459 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6461 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6462 available and the word has no wildcards, append one to the grep pattern.
6463 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6464 (ispell-complete-word): Call `ispell-lookup-words' with the value
6465 independent of `ispell-look-p'.
6467 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6469 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6471 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6474 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6476 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6477 (ruby-font-lock-keywords): Use backquote.
6479 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6481 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6482 (ruby-smie--backward-token): Only consider full-string matches.
6484 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6486 * faces.el (describe-face): Add distant-foreground.
6488 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6490 * progmodes/ruby-mode.el: Improve encoding comment handling.
6491 (ruby-encoding-magic-comment-style): New option.
6492 (ruby-custom-encoding-magic-comment-template): New option.
6493 (ruby--insert-coding-comment, ruby--detect-encoding):
6494 New functions extracted from `ruby-mode-set-encoding'.
6495 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6496 to control the style of the auto-inserted encoding comment.
6498 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6500 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6501 Use `smie-backward-sexp' with token argument.
6503 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6505 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6506 Remove instrumentation code.
6508 2013-11-08 Glenn Morris <rgm@gnu.org>
6510 * progmodes/autoconf.el (autoconf-mode):
6511 Tweak comment-start-skip. (Bug#15822)
6513 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6515 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6516 at bobp (bug#15826).
6517 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6519 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6521 * man.el (Man-start-calling): New macro, extracted from
6522 Man-getpage-in-background.
6523 (Man-getpage-in-background): Use it.
6524 (Man-update-manpage): New command.
6525 (Man-mode-map): Bind it.
6527 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6529 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6530 of "and", "or", "&&" and "||".
6531 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6532 argument. Prohibit opening curly brace because it could only be a
6533 block opener in that position.
6534 (ruby-smie--forward-token, ruby-smie--backward-token):
6535 Separate "|" from "&" or "*" going after it. That can happen in block
6537 (ruby-smie--indent-to-stmt): New function, seeks the end of
6538 previous statement or beginning of buffer.
6539 (ruby-smie-rules): Use it.
6540 (ruby-smie-rules): Check if there's a ":" before a curly block
6541 opener candidate; if there is, it's a hash.
6543 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6545 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6546 (cl--block-wrapper): Fix last accidental change.
6548 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6550 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6551 Instrument, in order to hunt failure on hydra.
6553 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6555 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6556 malformed bindings form (bug#15814).
6558 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6560 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6561 "." compared to " @ ". This incidentally fixes some indentation
6563 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6564 (ruby-smie-grammar): New tokens: "and" and "or".
6565 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6566 Exclude "and" and "or". Remove "do" in order to work around token
6568 (ruby-smie-rules): Add all infix tokens. Handle the case of
6569 beginning-of-buffer.
6571 2013-11-06 Glenn Morris <rgm@gnu.org>
6573 * Makefile.in (setwins_almost, setwins_for_subdirs):
6574 Avoid accidental matches.
6576 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6578 * menu-bar.el (popup-menu): Use key-binding.
6580 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6582 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6583 menus, support also the menus produced by minor modes.
6586 2013-11-06 Leo Liu <sdl.web@gmail.com>
6588 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6589 DISTANCE to bound the search. All uses changed. (Bug#15808)
6591 2013-11-06 Glenn Morris <rgm@gnu.org>
6593 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6594 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6595 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6597 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6599 * electric.el (electric-indent-just-newline): New command.
6600 (electric-indent-mode-map): New keymap.
6601 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6602 Re-add :group which weren't redundant.
6604 * electric.el (electric-indent-local-mode): New minor mode.
6605 (electric-indent-functions-without-reindent): New var.
6606 (electric-indent-post-self-insert-function): Use it.
6607 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6609 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6611 * international/quail.el (quail-help): Be more explicit about the
6612 meaning of the labels shown on the keys. (Bug#15800)
6614 * startup.el (normal-top-level): Load the subdirs.el files before
6615 setting the locale environment. (Bug#15805)
6617 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6619 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6620 via arguments so as to get the right ones (bug#15418).
6622 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6624 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6626 Fix problems found while writing a test suite.
6628 * net/tramp-compat.el (tramp-compat-load): New defun.
6629 * net/tramp.el (tramp-handle-load): Use it.
6631 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6632 "(numberp ok-if-already-exists)" correctly.
6634 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6636 * international/characters.el (glyphless-char-display-control):
6639 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6641 * progmodes/python.el (python-mode):
6642 * progmodes/scheme.el (scheme-mode):
6643 * progmodes/prolog.el (prolog-mode):
6644 * progmodes/ruby-mode.el (ruby-mode):
6645 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6646 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6648 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6650 * rect.el (rectangle--highlight-for-redisplay):
6651 * emacs-lisp/smie.el (smie--next-indent-change):
6652 Use buffer-chars-modified-tick.
6654 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6656 * electric.el (electric-indent-post-self-insert-function):
6657 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6659 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6661 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6663 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6665 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6668 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6670 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6672 * progmodes/python.el: Fix up last change.
6673 (python-shell--save-temp-file): New function.
6674 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6675 `string' comes from the current buffer.
6676 (python-shell-send-string-no-output): Remove `msg' arg.
6677 (python--use-fake-loc): New var.
6678 (python-shell-buffer-substring): Obey it. Try to compensate for the
6679 extra coding line added by python-shell--save-temp-file.
6680 (python-shell-send-region): Use python-shell--save-temp-file and
6681 python-shell-send-file directly. Add `nomain' argument.
6682 (python-shell-send-buffer): Use python-shell-send-region.
6683 (python-electric-pair-string-delimiter): New function.
6684 (python-mode): Use it.
6686 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6688 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6689 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6690 environment and decoding all of the default-directory's to here
6692 (command-line): Decode also argv[0].
6694 * loadup.el: Error out if default-directory is a multibyte string
6695 when we are dumping.
6697 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6699 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6701 * emacs-lisp/package.el (package-menu-mode)
6702 (package-menu--print-info, package-menu--archive-predicate):
6703 Add Archive column to package list.
6705 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6707 Fix problems found while writing a test suite.
6709 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6710 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6711 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6712 to nil when running original file name handler. Otherwise,
6713 there are problems with constructs like "$$FOO".
6715 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6718 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6720 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6722 * subr.el (version<, version<=, version=):
6723 Update docstrings with information for snapshot versions.
6725 * helpers.el: New library for misc helper functions.
6726 (hash-table-keys): New function returning a list of hash keys.
6727 (hash-table-values): New function returning a list of hash values.
6729 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6731 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6732 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6734 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6736 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6737 checking whether point is after a 1-letter word.
6739 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6741 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6742 Don't infloop when expanding region over `multiline' syntax-type that
6743 begins a line (bug#15778).
6745 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6747 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6748 Make it into a proper minor mode.
6749 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
6750 (rectangle-mark-mode-map): New keymap.
6751 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6753 2013-11-04 Glenn Morris <rgm@gnu.org>
6755 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6757 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6759 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6760 (ruby-smie-rules): Use smie-rule-parent instead.
6762 * emacs-lisp/smie.el (smie-rule-parent): Always call
6763 smie-indent-virtual rather than only for hanging tokens.
6764 (smie--next-indent-change): New helper command.
6766 2013-11-03 Glenn Morris <rgm@gnu.org>
6768 * Makefile.in (abs_srcdir): Remove.
6769 (emacs): Unset EMACSLOADPATH.
6771 2013-11-02 Glenn Morris <rgm@gnu.org>
6773 * Makefile.in (EMACS): Use a relative filename.
6774 (abs_top_builddir): Remove.
6775 (custom-deps, finder-data, autoloads): Use --chdir.
6777 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6779 Use relative filenames in TAGS files.
6780 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6781 (lisptagsfiles4, TAGS): Use relative file names.
6782 (TAGS-LISP): Remove.
6783 (maintainer-clean): No more TAGS-LISP file.
6785 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6786 (lisptagsfiles4): Use absolute filenames again.
6787 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6788 Remove all *loaddefs files, not just the first. Remove esh-groups.
6789 (maintainer-clean): Delete TAGS, TAGS-LISP.
6791 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6793 * emacs-lisp/package.el (package-version-join):
6794 Recognize snapshot versions.
6796 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6798 * subr.el (version-regexp-alist): Add support for snapshot versions.
6800 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6802 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6803 New function, replacement for `smie-rule-parent' for when we want to
6804 skip over our direct parent if it's an assignment token..
6805 (ruby-smie-rules): Use it.
6807 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6809 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6810 unconditionally. Remove now unnecessary forward declarations.
6811 Remove XEmacs-specific setup.
6812 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6813 (ruby-font-lock-syntactic-keywords)
6814 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6815 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6816 (ruby-here-doc-end-syntax): Remove.
6817 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6818 defined as function.
6820 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6822 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6824 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6826 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6827 table and abbrev table, `define-derived-mode' does that for us
6830 2013-11-01 Glenn Morris <rgm@gnu.org>
6832 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6833 files is atomic for some time, so no parallel compilation issues).
6835 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6837 * faces.el (face-x-resources): Add :distant-foreground.
6838 (region): Use :distant-foreground for gtk and ns.
6840 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6842 Allow multiple bibliographies when BibLaTeX is used rather than
6844 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6845 (reftex-locate-bibliography-files): Us it.
6847 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6849 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6850 allow comments in pbm files.
6852 * term/w32-win.el (dynamic-library-alist): Support newer versions
6853 of libjpeg starting with v7: look only for the DLL from the
6854 version against which Emacs was built.
6855 Support versions of libpng beyond 1.4.x.
6856 Support libtiff v4.x.
6858 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6860 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6861 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6863 (ruby-deep-arglist): Add property :type.
6865 2013-10-31 Glenn Morris <rgm@gnu.org>
6867 * Makefile.in (custom-deps, finder-data): No need to setq the target
6868 variables, we are in the right directory and the defaults work fine.
6870 2013-10-30 Glenn Morris <rgm@gnu.org>
6872 * Makefile.in (autoloads): Do not use abs_lisp.
6874 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6875 `newline' does not respect `standard-output', so use `princ'.
6877 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6879 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6880 * buff-menu.el (Buffer-menu--unmark): New function.
6881 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6883 2013-10-30 Glenn Morris <rgm@gnu.org>
6885 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6887 * emacs-lisp/package.el (lm-homepage): Declare.
6889 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6892 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6894 * Makefile.in (finder-data, autoloads, update-subdirs)
6895 (compile-main, compile-clean, compile-always, bootstrap-clean):
6896 Check return value of cd.
6897 (compile-calc): Remove.
6899 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6901 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6903 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6904 (byte-compile-and-folded): New function.
6905 (=, <, >, <=, >=): Use it.
6907 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6908 (path-separator, null-device, buffer-file-coding-system)
6909 (lpr-headers-switches): Check system-type before modifying them.
6910 (find-buffer-file-type-coding-system): Mark obsolete.
6911 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6912 find-file-not-found-set-buffer-file-coding-system.
6913 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6914 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6915 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6916 (w32-direct-print-region-helper, w32-direct-print-region-function)
6917 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6918 * startup.el (normal-top-level-add-subdirs-to-load-path):
6919 * ps-print.el (ps-print-region-function):
6920 * lpr.el (print-region-function): Use new name.
6922 * subr.el (custom-declare-variable-early): Remove function.
6923 (custom-declare-variable-list): Remove var.
6924 (error, user-error): Remove `while' loop.
6925 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6926 (user-emacs-directory-warning, locate-user-emacs-file):
6928 * simple.el (read-quoted-char-radix, read-quoted-char):
6929 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6931 * custom.el (custom-declare-variable-list): Don't process
6932 custom-declare-variable-list.
6934 * progmodes/python.el (python-shell-get-buffer): New function.
6935 (python-shell-get-process): Use it.
6936 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6937 Python which encoding was used. Don't split-string since we only care
6938 about the first line. Return the temp-file, if applicable.
6939 (python-shell-send-region): Tell compile.el how to turn locations in
6940 the temp-file into locations in the source buffer.
6942 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6944 * subr.el (undefined): Add missing behavior from the C code for
6947 * rect.el: Use lexical-binding. Add new rectangular region support.
6948 (rectangle-mark): New command.
6949 (rectangle--region): New var.
6950 (deactivate-mark-hook): Reset rectangle--region.
6951 (rectangle--extract-region, rectangle--insert-for-yank)
6952 (rectangle--highlight-for-redisplay)
6953 (rectangle--unhighlight-for-redisplay): New functions.
6954 (region-extract-function, redisplay-unhighlight-region-function)
6955 (redisplay-highlight-region-function): Use them to handle
6957 * simple.el (region-extract-function): New var.
6958 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6959 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6960 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6961 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6962 (redisplay-unhighlight-region-function)
6963 (redisplay-highlight-region-function): New vars.
6964 (redisplay--update-region-highlight): New function.
6965 (pre-redisplay-function): Use it.
6966 (exchange-point-and-mark): Don't deactivate the mark before
6967 reactivate-it anyway.
6968 * comint.el (comint-kill-region): Remove yank-handler argument.
6969 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6970 (delete-char): Remove property, since it's now part of their
6972 (self-insert-iso): Remove property since this command doesn't exist.
6974 * emacs-lisp/package.el (package--download-one-archive)
6975 (describe-package-1): Don't query the user about final newline.
6977 2013-10-29 Daniel Colascione <dancol@dancol.org>
6979 * net/tramp.el (tramp-methods): Document new functionality.
6980 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6981 tramp-hostname-checker if method provides one instead of scanning
6982 argument list for "%h" to decide hostname acceptability.
6984 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
6986 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6987 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6988 Handle COPY-CONTENTS. (Bug#15737)
6990 2013-10-28 Daiki Ueno <ueno@gnu.org>
6993 (epa-file-cache-passphrase-for-symmetric-encryption):
6994 Document that this option has no effect with GnuPG 2.0 (bug#15552).
6996 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6998 * image.el (defimage, image-load-path): Doc fixes.
7000 2013-10-27 Alan Mackenzie <acm@muc.de>
7002 Indent statements in macros following "##" correctly.
7003 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7004 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7006 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7008 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7010 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7012 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7013 after `=' is probably a new expression.
7015 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7017 * man.el (man-imenu-title): New option.
7018 (Man-mode-map): Add menu. (Bug#15722)
7019 (Man-mode): Add imenu to menu.
7021 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7023 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7024 specific in what the first arg can be: a non-keyword word,
7025 string/regexp/percent literal opener, opening paren, or unary
7026 operator followed directly by word.
7028 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7030 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7031 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7032 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7033 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7034 Remove vars, they do not apply any more.
7035 (prolog-mode-abbrev-table): Remove redundant declaration.
7036 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7037 (prolog-use-smie): Remove.
7038 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7039 supported by prolog-electric-if-then-else-flag.
7040 (prolog-mode-variables, prolog-menu): Use setq-local.
7041 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7042 Remove binding to `Backspace' since this key doesn't exist anyway.
7043 Remove bindings for electric self-inserting keys.
7044 (prog-mode): Assume it's defined.
7045 (prolog-post-self-insert): New function.
7046 (prolog-mode): Use it.
7047 (prolog-indent-line, prolog-indent-level)
7048 (prolog-find-indent-of-matching-paren)
7049 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7050 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7051 (prolog-goto-next-paren, prolog-in-string-or-comment)
7052 (prolog-tokenize, prolog-inside-mline-comment)
7053 (prolog-find-start-of-mline-comment): Remove functions.
7054 (prolog-find-unmatched-paren, prolog-clause-end)
7055 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7056 (prolog-electric--if-then-else): Rename from
7057 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7058 (prolog-tokenize-searchkey): Remove const.
7059 (prolog-clause-info): Use forward-sexp.
7060 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7061 (prolog-electric-if-then-else): Remove commands.
7062 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7063 for use in post-self-insert-hook.
7064 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7065 for use in post-self-insert-hook.
7066 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7067 for use in post-self-insert-hook.
7068 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7069 adapt it for use in post-self-insert-hook.
7071 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7073 * emacs-lisp/ert.el (ert-run-tests-interactively):
7074 Use `completing-read'. (Bug#9756)
7076 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7078 * simple.el (line-move): Call line-move-1 instead of
7079 line-move-visual when the current window hscroll is zero, but
7080 temporary-goal-column indicates we will need to hscroll as result
7081 of the movement. (Bug#15712)
7083 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7085 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7086 capitalization. Use :visible instead of :active.
7087 Fix `ruby-indent-exp' reference. Add menu items for the generic
7088 commands that are used with SMIE.
7089 (ruby-do-end-to-brace): Insert space after `{'.
7091 2013-10-25 John Anthony <john@jo.hnanthony.com>
7093 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7095 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7097 2013-10-25 Glenn Morris <rgm@gnu.org>
7099 * vc/vc.el (vc-print-log): Don't use a working revision unless
7100 one was explicitly specified. (Bug#15322)
7102 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7104 * subr.el (add-to-list): Preserve return value in compiler-macro
7107 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7109 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7110 result. Ask user to retry using '-all' flag. (Bug#15701)
7112 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7114 * emacs-lisp/smie.el: New smie-config system.
7115 (smie-config): New defcustom.
7116 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7117 (smie-config-guess, smie-config-save): New commands.
7118 (smie-config--mode-local, smie-config--buffer-local)
7119 (smie-config--trace, smie-config--modefuns): New vars.
7120 (smie-config--advice, smie-config--mode-hook)
7121 (smie-config--setter, smie-config-local, smie-config--get-trace)
7122 (smie-config--guess-value, smie-config--guess): New functions.
7123 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7124 text properties. Treat "string fence" syntax like string syntax.
7126 * progmodes/sh-script.el (sh-use-smie): Change default.
7127 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7128 (sh-var-value): Simplify by CSE.
7129 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7130 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7132 (sh-guess-basic-offset): Use cl-incf.
7133 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7135 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7137 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7140 2013-10-24 Glenn Morris <rgm@gnu.org>
7142 * Makefile.in (abs_top_srcdir): Remove.
7143 (update-subdirs): Use relative path to update-subdirs.
7145 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7147 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7148 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7149 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7150 Call unmsys--file-name before expand-file-name, not after it.
7152 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7154 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7155 (ert-test-skipped): New error.
7156 (ert-skip, ert-stats-skipped): New defuns.
7157 (ert--skip-unless): New macro.
7158 (ert-test-skipped): New struct.
7159 (ert--run-test-debugger, ert-test-result-type-p)
7160 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7161 (ert--stats-set-test-and-result, ert-char-for-test-result)
7162 (ert-string-for-test-result, ert-run-tests-batch)
7163 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7164 Handle skipped tests. (Bug#9803)
7166 2013-10-24 Glenn Morris <rgm@gnu.org>
7168 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7170 * Makefile.in (abs_top_srcdir): New, set by configure.
7171 (update-subdirs): Correct build-aux location.
7173 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7175 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7176 value, whether we could auto-deduce `backend', or not.
7178 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7179 with parameters" example. Simplify the "is it block or is it
7180 hash" check, but also make it more thorough.
7182 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7184 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7186 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7188 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7191 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7194 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7196 * progmodes/compile.el (compilation-directory-matcher)
7197 (compilation-page-delimiter):
7198 Support GNU Make-4.0 directory quoting. (Bug#15678)
7200 2013-10-23 Leo Liu <sdl.web@gmail.com>
7202 * ido.el (ido-tidy): Handle read-only text.
7204 2013-10-23 Glenn Morris <rgm@gnu.org>
7206 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7207 (emacs, compile, compile-always):
7208 Quote entities that might contain whitespace.
7209 (custom-deps, finder-data, autoloads): Use abs_lisp.
7210 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7211 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7212 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7214 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7216 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7217 Use `following-char'.
7219 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7221 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7222 * progmodes/ruby-mode.el (ruby-smie-rules):
7223 Remove corresponding workaround. Fix indentation rule of ";" so it
7224 also applies when ";" is the parent.
7226 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7228 * frame.el (display-screens, display-pixel-height)
7229 (display-pixel-width, display-mm-width, display-backing-store)
7230 (display-save-under, display-planes, display-color-cells)
7231 (display-visual-class, display-monitor-attributes-list):
7232 Mention the optional ‘display’ argument in doc strings.
7234 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7236 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7237 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7239 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7241 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7242 TODO. Add "." after " @ ".
7243 (ruby-smie--at-dot-call): New function. Checks if point at method
7244 call with explicit target.
7245 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7246 to the method name tokens when it precedes them.
7247 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7248 (ruby-smie-rules): Add rule for indentation before and after "."
7251 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7253 * textmodes/remember.el (remember-diary-extract-entries):
7256 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7259 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7261 * progmodes/ruby-mode.el (ruby-smie-grammar):
7262 Add (almost) all infix operators.
7263 (ruby-smie--implicit-semi-p): Add new operator chars.
7265 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7267 (ruby-smie--args-separator-p): Check that there's no newline
7268 between method call and its arguments.
7270 2013-10-20 Alan Mackenzie <acm@muc.de>
7272 Allow comma separated lists after Java "implements".
7274 * progmodes/cc-engine.el (c-backward-over-enum-header):
7276 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7277 from a "disallowed" list in enum fontification.
7279 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7281 * startup.el (default-frame-background-mode): Remove unused defvar.
7283 * progmodes/verilog-mode.el (verilog-mode): Don't set
7284 comment-indent-function globally.
7286 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7288 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7289 Move Info menu item creation to ns-win.el.
7291 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7294 * menu-bar.el: Move GNUstep specific menus...
7296 * term/ns-win.el (ns-initialize-window-system): ... to here.
7298 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7300 * simple.el (newline): Only run post-self-insert-hook when
7301 called interactively.
7303 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7305 * icomplete.el (icomplete-with-completion-tables): Add :version.
7307 2013-10-19 Alan Mackenzie <acm@muc.de>
7309 Fix fontification bugs with constructors and const.
7311 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7312 CASE 2) Remove the check for the absence of a suffix construct
7313 after a function declaration with only types (no identifiers) in
7314 the parentheses. Also, accept a function declaration with just a
7315 type inside the parentheses, if this type can be positively
7316 recognised as such, or if a prefix keyword like "explicit" nails
7317 down the construct as a declaration.
7319 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7321 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7322 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7323 the problem whereby selecting a menu item that leads to a
7324 minibuffer prompt moves the cursor out of the minibuffer window,
7325 making it hard to type at the prompt. Suggested by Stefan Monnier
7326 <monnier@iro.umontreal.ca>.
7328 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7330 * menu-bar.el: Don't make Services menu.
7332 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7334 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7335 (ffap-alist): Use ffap-c++-mode for c++-mode.
7336 (ffap-c++-path): New variable.
7337 (ffap-c++-mode): New function.
7339 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7341 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7343 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7345 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7346 introduced on 2013-09-08, which results in an infinite loop
7347 requesting a password.
7349 2013-10-18 Glenn Morris <rgm@gnu.org>
7351 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7353 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7355 Sync with upstream verilog-mode revision 1a6ecec7.
7356 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7357 (verilog-mode-release-date): Remove.
7358 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7359 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7360 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7361 (verilog-auto-tieoff-ignore-regexp)
7362 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7363 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7364 (verilog-signals-with, verilog-dir-cache-preserving)
7365 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7367 (verilog-case-fold): New option, to control case folding in
7368 regexp searches, bug597.
7369 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7370 (verilog-string-match-fold, verilog-in-paren-count)
7371 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7372 (verilog-at-close-struct-p): New functions.
7373 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7374 (verilog-forward-sexp, verilog-set-auto-endcomments)
7375 (verilog-leap-to-case-head): Handle "unique0" case.
7376 (verilog-in-constraint-re): New constant.
7377 (verilog-keywords, verilog-type-font-keywords):
7378 Add some SystemVerilog 1800-2012 keywords.
7379 (verilog-label-be): Remove unimplemented argument, bug669.
7380 (verilog-batch-execute-func): When batch expanding clear
7381 create-lockfiles to prevent spurious user locks when a file ends
7383 (verilog-calculate-indent, verilog-calc-1)
7384 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7385 (verilog-do-indent): Fix indentation of nested constraints
7387 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7388 (verilog-auto-inst-param): Use verilog-string-match-fold.
7389 (verilog-read-inst-module-matcher):
7390 Fix AUTOINST on gate primitives with #1.
7391 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7392 Reads all user-defined typed variables.
7393 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7394 (verilog-signals-matching-regexp)
7395 (verilog-signals-not-matching-regexp, verilog-auto):
7396 Respect verilog-case-fold.
7397 (verilog-diff-report): Fix line count.
7398 (verilog-auto-assign-modport): Remove unused local `modi'.
7399 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7400 better handle multidimensional arrays.
7401 Fix packed array ports misadding bit index in AUTOINST, bug637.
7402 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7403 to not double-declare existing outputs and inputs, respectively.
7404 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7405 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7406 (verilog-sk-uvm-component): New skeleton.
7407 (verilog-submit-bug-report): Add verilog-case-fold,
7408 remove verilog-mode-release-date.
7410 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7412 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7415 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7417 * textmodes/remember.el (remember): Set buffer-offer-save in
7418 remember buffers (bug#13566).
7420 2013-10-18 Daniel Colascione <dancol@dancol.org>
7422 When evaluating forms in ielm, direct standard output to ielm
7423 buffer. Add new ielm-return-for-effect command. Remove trailing
7424 whitespace throughout.
7426 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7427 (ielm-return-for-effect): New command.
7428 (ielm-send-input): Accept optional `for-effect' parameter.
7429 (ielm-eval-input): Accept optional `for-effect' parameter.
7430 Bind `standard-output' to stream we create using
7431 `ielm-standard-output-impl'. Suppress printing result when
7433 (ielm-standard-output-impl): New function.
7434 (inferior-emacs-lisp-mode): Explain new features in documentation.
7436 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7440 * net/tramp.el (tramp-debug-message): Do not check for connection
7442 (tramp-message): Use "vector" connection property.
7444 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7445 (tramp-equal-remote, tramp-eshell-directory-change)
7446 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7447 (tramp-adb-handle-rename-file)
7448 * net/tramp-cmds.el (tramp-list-remote-buffers)
7449 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7450 * net/tramp-compat.el (tramp-compat-process-running-p)
7451 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7452 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7453 (tramp-gvfs-handle-rename-file)
7454 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7455 (tramp-set-file-uid-gid)
7456 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7457 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7460 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7461 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7462 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7463 (tramp-gw-open-network-stream): Suppress unrelated traces.
7465 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7466 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7467 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7468 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7469 connection property.
7471 * net/tramp-cache.el (top): Suppress traces when reading
7474 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7475 Refactor common code. Improve debug message.
7476 (tramp-maybe-open-connection)
7477 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7478 connection buffer too early.
7480 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7481 from `tramp-smb-actions-with-acl'.
7482 (tramp-smb-actions-set-acl): New defconst.
7483 (tramp-smb-handle-copy-directory)
7484 (tramp-smb-action-get-acl): New defun, renamed from
7485 `tramp-smb-action-with-acl'.
7486 (tramp-smb-action-set-acl): New defun.
7487 (tramp-smb-handle-set-file-acl): Rewrite.
7489 2013-10-17 Glenn Morris <rgm@gnu.org>
7491 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7493 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7495 * skeleton.el (skeleton-newline): Remove.
7496 (skeleton-internal-1): Use (insert "\n") instead.
7498 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7501 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7502 forward-sexp-function while we redo its job (bug#15613).
7504 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7506 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7507 represented by lists.
7509 2013-10-16 Glenn Morris <rgm@gnu.org>
7511 * tmm.el (tmm--history): New dynamic variable.
7512 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7514 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7516 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7517 (tramp-smb-errors): Add error messages.
7518 (tramp-smb-actions-with-acl): New defconst.
7519 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7520 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7521 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7522 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7523 (tramp-smb-get-stat-capability): Fix tests.
7525 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7527 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7530 2013-10-16 Glenn Morris <rgm@gnu.org>
7532 * ansi-color.el (ansi-color-drop-regexp):
7533 Add 1J, 1K, 2K. (Bug#15617)
7535 * files.el (hack-local-variables--warned-lexical): New.
7536 (hack-local-variables):
7537 Warn about misplaced lexical-binding. (Bug#15616)
7539 * net/eww.el (eww-render): Always set eww-current-url,
7540 and update header line. (Bug#15622)
7541 (eww-display-html): ... Rather than just doing it here.
7543 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7545 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7546 menu navigations commands.
7548 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7550 * progmodes/subword.el (subword-capitalize): Be careful when
7551 the search for [[:alpha:]] fails (bug#15580).
7553 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7555 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7556 to commands that scroll the menu.
7558 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7560 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7561 Handle methods ending with `?' and `!'.
7563 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7565 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7566 `japanese-cp932' to `cp932' to fix the problem where saving a
7567 source file written in Shift_JIS twice would end up having
7568 `coding: japanese-cp932' which Ruby could not recognize.
7569 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7570 in `ruby-encoding-map'.
7571 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7572 doesn't need to be explicitly declared in magic comment.
7573 (ruby-encoding-map): Add type declaration for better customize UI.
7575 2013-10-13 Glenn Morris <rgm@gnu.org>
7577 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7578 Occur buffers are read-only. http://bugs.debian.org/720775
7580 * emacs-lisp/authors.el (authors-fixed-entries):
7581 Comment out old alpha stuff.
7583 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7585 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7586 to `after-save-hook' instead of `before-save-hook'.
7587 (ruby-mode-set-encoding): Use the value of coding system used to
7588 write the file. Call `basic-save-buffer-1' after modifying the
7591 2013-10-13 Alan Mackenzie <acm@muc.de>
7593 Fix indentation/fontification of Java enum with
7594 "implements"/generic.
7596 * progmodes/cc-engine.el (c-backward-over-enum-header):
7597 Extracted from the three other places and enhanced to handle generics.
7598 (c-inside-bracelist-p): Uses new function above.
7599 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7601 (c-font-lock-enum-tail): Uses new function above.
7603 2013-10-13 Kenichi Handa <handa@gnu.org>
7605 * international/mule-cmds.el (select-safe-coding-system): Remove a
7606 superfluous condition in chekcing whether a coding system is safe
7609 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7611 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7613 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7615 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7617 2013-10-13 Glenn Morris <rgm@gnu.org>
7619 * menu-bar.el (menu-bar-update-buffers):
7620 Unify Buffers menu prompt string. (Bug#15576)
7622 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7624 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7626 (authors-fixed-entries): Use accented form of name.
7628 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7630 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7631 method calls (bug#15594).
7632 (ruby-smie--args-separator-p): New function.
7633 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7634 recognize paren-free method calls.
7636 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7637 internals of universal-argument.
7639 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7641 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7642 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7643 dropped menu on second mouse click on the menu bar.
7645 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7647 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7648 (explicit-shell-file-name): Declare.
7649 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7650 (sh-completion-at-point-function): New function.
7652 (sh-smie--keyword-p): Remove unused argument.
7653 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7655 (sh-set-shell): Always setup SMIE, even if we use the
7656 old indentation code.
7658 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7660 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7662 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7663 predicate would return nil are almost non-existent.
7664 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7666 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7667 cache also after commands that modify the buffer but don't move
7670 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7672 * env.el (substitute-env-in-file-name): New function.
7673 (substitute-env-vars): Extend the meaning of the optional arg.
7675 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7677 * term/w32-win.el (dynamic-library-alist): Define separate lists
7678 of GIF DLLs for versions before and after 5.0.0 of giflib.
7681 2013-10-10 João Távora <joaotavora@gmail.com>
7683 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7684 not locked, use last revision and current source as
7685 defaults. (Bug#15569)
7687 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7689 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7692 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7694 * window.el (pop-to-buffer-same-window): Fix doc-string.
7697 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7699 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7701 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7703 * calendar/icalendar.el (icalendar-import-file):
7704 Fix interactive spec. (Bug#15482)
7706 2013-10-10 Glenn Morris <rgm@gnu.org>
7708 * desktop.el (desktop-save): Default to saving in .emacs.d,
7709 since PWD is no longer in desktop-path by default. (Bug#15319)
7711 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7712 now that text mode has a menu with the same entry.
7713 (menu-bar-text-mode-auto-fill): Remove now unused func.
7714 * textmodes/text-mode.el (text-mode-map):
7715 Use auto-fill help text from menu-bar.el.
7717 2013-10-10 John Anthony <john@jo.hnanthony.com>
7719 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7721 2013-10-09 Juri Linkov <juri@jurta.org>
7723 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7724 instead of this-command-keys. Add universal-argument-more and
7725 universal-argument-minus to the list of prefix commands. (Bug#15568)
7727 2013-10-09 Glenn Morris <rgm@gnu.org>
7729 * vc/vc-svn.el (vc-svn-create-repo):
7730 Expand paths in file://... url. (Bug#15446)
7732 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7734 (authors): Remove unused local variables.
7736 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7738 * profiler.el: Create a more coherent calltree from partial backtraces.
7739 (profiler-format): Hide the tail with `invisible' so that C-s can still
7740 find the hidden elements.
7741 (profiler-calltree-depth): Don't recurse so enthusiastically.
7742 (profiler-function-equal): New hash-table-test.
7743 (profiler-calltree-build-unified): New function.
7744 (profiler-calltree-build): Use it.
7745 (profiler-report-make-name-part): Indent the calltree less.
7746 (profiler-report-mode): Add visibility specs for profiler-format.
7747 (profiler-report-expand-entry, profiler-report-toggle-entry):
7748 Expand the whole subtree when provided with a prefix arg.
7750 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7752 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7754 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7755 hanging iuwu-mod token.
7756 (ruby-smie--forward-token): Do not include a dot after a token in
7758 (ruby-smie--backward-token): Likewise.
7760 2013-10-08 Juri Linkov <juri@jurta.org>
7762 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7763 to isearch-other-control-char.
7764 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7765 and isearch-post-command-hook to post-command-hook.
7766 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7767 and isearch-post-command-hook from post-command-hook.
7768 (isearch-unread-key-sequence)
7769 (isearch-reread-key-sequence-naturally)
7770 (isearch-lookup-scroll-key, isearch-other-control-char)
7771 (isearch-other-meta-char): Remove functions.
7772 (isearch-pre-command-hook, isearch-post-command-hook):
7773 New functions based on isearch-other-meta-char rewritten
7774 relying on the new behavior of overriding-terminal-local-map
7775 that does not replace the local keymaps any more. (Bug#15200)
7777 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7779 Support menus on text-mode terminals.
7780 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7783 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7785 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7786 Move here from mouse.el.
7787 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7789 (tty-menu-navigation-map): New map for TTY menu navigation.
7791 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7793 * frame.el (display-mouse-p): Report text-mode mouse as available
7795 (display-popup-menus-p): Report availability if mouse is
7796 available; don't condition on window-system.
7798 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7799 (tty-menu-selected-face): New faces.
7801 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7803 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7804 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7805 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7806 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7808 (lisp-mode-variables): New `elisp' argument.
7809 (emacs-lisp-mode): Use it.
7810 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7811 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7813 * indent.el: Use lexical-binding.
7814 (indent-region): Add progress reporter.
7815 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7817 (indent--next-tab-stop): New function to implement this behavior.
7818 (tab-to-tab-stop, move-to-tab-stop): Use it.
7820 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7822 * indent.el (indent-rigidly--current-indentation): New function.
7823 (indent-rigidly-map): New var.
7824 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7826 2013-10-08 Bastien Guerry <bzg@gnu.org>
7828 * register.el (insert-register): Fix 2013-10-07 change.
7830 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7832 * progmodes/perl-mode.el: Use lexical-binding.
7833 Remove redundant :group args.
7834 (perl-nochange): Change default to be closer to other major modes's
7836 (perl-indent-line): Don't consider text on current line as a
7837 valid beginning of function from which to indent.
7839 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7840 with more than one argument (bug#15538).
7842 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7844 * vc/pcvs.el: Use lexical-binding.
7845 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7846 environment of `eval'.
7847 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7848 than a list of expressions. Adjust callers.
7849 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7851 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7853 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7854 case of the dot in a chained method call being on the following line.
7856 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7858 * electric.el (electric-indent-inhibit): New var.
7859 (electric-indent-post-self-insert-function): Use it.
7860 * progmodes/python.el (python-mode): Set it.
7862 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7865 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7867 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7868 (css-mode): Use electric-indent-chars.
7870 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7871 (font-lock-beg, font-lock-end): Move before first use.
7872 (nxml-mode): Use syntax-propertize-function.
7873 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7874 (nxml-extend-after-change-region): Remove.
7875 * nxml/xmltok.el: Use lexical-binding.
7876 (xmltok-save): Use `declare'.
7877 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7878 * nxml/nxml-util.el: Use lexical-binding.
7879 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7881 * nxml/nxml-ns.el: Use lexical-binding.
7882 (nxml-ns-save): Use `declare'.
7883 (nxml-ns-prefixes-for): Avoid add-to-list.
7884 * nxml/rng-match.el: Use lexical-binding.
7885 (rng--ipattern): Use cl-defstruct.
7886 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7887 (rng-cons-group-after, rng-subst-group-after)
7888 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7889 Use closures instead of `(lambda...).
7891 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7893 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7896 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7897 Use `tramp-handle-insert-file-contents'.
7898 (tramp-gvfs-handle-insert-file-contents): Remove function.
7900 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7901 Use `save-restriction' in order to keep markers.
7903 * net/trampver.el: Update release number.
7905 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7907 * progmodes/compile.el (compilation-parse-errors):
7908 Use compilation--put-prop.
7909 (compilation--ensure-parse): Check compilation-multiline.
7911 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7913 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7916 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7918 * progmodes/ruby-mode.el: Fix recently added tests.
7919 (ruby-smie-grammar): Add - and +.
7920 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7921 (ruby-smie--backward-id): New functions.
7922 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7923 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7926 2013-10-07 Leo Liu <sdl.web@gmail.com>
7928 * register.el (register-preview-delay)
7929 (register-preview-functions): New variables.
7930 (register-read-with-preview, register-preview)
7931 (register-describe-oneline): New functions.
7932 (point-to-register, window-configuration-to-register)
7933 (frame-configuration-to-register, jump-to-register)
7934 (number-to-register, view-register, insert-register)
7935 (copy-to-register, append-to-register, prepend-to-register)
7936 (copy-rectangle-to-register): Use register-read-with-preview to
7937 read register. (Bug#15525)
7939 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7941 * net/network-stream.el (network-stream-open-starttls): Don't add
7942 --insecure if it's already present, because that gnutls-cli
7943 rejects getting that parameter twice.
7945 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7947 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7950 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7952 * newcomment.el (comment-use-global-state): Change default value
7953 to t, mark obsolete (Bug#15251).
7954 (comment-beginning): In addition to `comment-to-syntax', check the
7955 value of `comment-use-global-state'.
7957 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7959 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7960 (ruby-comment-column): Follow the global default, by default.
7961 (ruby-smie-grammar): Add assignment syntax.
7962 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7963 open-paren, a comma, or a \.
7964 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7965 and line continuations.
7966 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7967 followed by implicit semi-colons. Add rule for string concatenation
7968 and for indentation at BOB.
7969 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7971 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7972 calling next-sexp, since next-token may have skipped chars which
7973 next-sexp doesn't know should be skipped!
7975 2013-10-05 Leo Liu <sdl.web@gmail.com>
7977 * progmodes/octave.el (octave-send-region):
7978 Call compilation-forget-errors.
7980 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7982 * vc/vc-svn.el (vc-svn-find-admin-dir):
7983 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7984 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7985 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7986 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7988 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7990 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7992 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7994 * subr.el (read-passwd): Hide chars even when called within a context
7995 where after-change-functions is disabled (bug#15501).
7996 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7997 until we removed ourself from overriding-terminal-local-map.
7999 2013-10-04 Leo Liu <sdl.web@gmail.com>
8001 * progmodes/octave.el (inferior-octave-mode):
8002 Call compilation-forget-errors.
8004 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8006 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8008 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8010 * net/secrets.el (secrets-create-collection): Add optional
8011 argument ALIAS. Use proper Label keyword. Append ALIAS as
8012 dbus-call-method argument. (Bug#15516)
8014 2013-10-04 Leo Liu <sdl.web@gmail.com>
8016 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8017 (inferior-octave-compilation-font-lock-keywords): New variables.
8018 (compilation-error-regexp-alist)
8019 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8020 (inferior-octave-mode): Use compilation-shell-minor-mode.
8022 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8024 * minibuffer.el (completion--replace): Be careful that `end' might be
8027 2013-10-03 Daiki Ueno <ueno@gnu.org>
8029 Add support for package signature checking.
8030 * emacs-lisp/package.el (url-http-file-exists-p)
8031 (epg-make-context, epg-context-set-home-directory)
8032 (epg-verify-string, epg-context-result-for)
8033 (epg-signature-status, epg-signature-to-string)
8034 (epg-check-configuration, epg-configuration)
8035 (epg-import-keys-from-file): Declare.
8036 (package-check-signature): New user option.
8037 (package-unsigned-archives): New user option.
8038 (package-desc): Add `signed' field.
8039 (package-load-descriptor): Set `signed' field if .signed file exists.
8040 (package--archive-file-exists-p): New function.
8041 (package--check-signature): New function.
8042 (package-install-from-archive): Check package signature.
8043 (package--download-one-archive): Check archive signature.
8044 (package-delete): Remove .signed file.
8045 (package-import-keyring): New command.
8046 (package-refresh-contents): Import default keyring.
8047 (package-desc-status): Add "unsigned" status.
8048 (describe-package-1, package-menu--print-info)
8049 (package-menu-mark-delete, package-menu--find-upgrades)
8050 (package-menu--status-predicate): Support "unsigned" status.
8052 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8054 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8055 the new compilation scheme using the new byte-codes.
8057 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8058 (byte-pophandler): New byte codes.
8059 (byte-goto-ops): Adjust accordingly.
8060 (byte-compile--use-old-handlers): New var.
8061 (byte-compile-catch): Use new byte codes depending on
8062 byte-compile--use-old-handlers.
8063 (byte-compile-condition-case--old): Rename from
8064 byte-compile-condition-case.
8065 (byte-compile-condition-case--new): New function.
8066 (byte-compile-condition-case): New function that dispatches depending
8067 on byte-compile--use-old-handlers.
8068 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8071 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8072 Optimize under `condition-case' and `catch' if
8073 byte-compile--use-old-handlers is nil.
8074 (disassemble-offset): Handle new bytecodes.
8076 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8078 * subr.el (error): Use `declare'.
8079 (decode-char, encode-char): Use advertised-calling-convention instead
8080 of the docstring to discourage use of the `restriction' arg.
8082 2013-10-03 Daiki Ueno <ueno@gnu.org>
8084 * epg.el (epg-verify-file): Add a comment saying that it does not
8085 notify verification error as a return value nor a signal.
8086 (epg-verify-string): Ditto.
8088 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8090 * progmodes/compile.el (compilation-start): Try globbing the arg to
8093 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8095 Sync with Tramp 2.2.8.
8097 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8098 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8099 * net/trampver.el: Update release number.
8101 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8103 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8104 and default-process-coding-system for darwin only.
8106 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8108 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8110 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8112 * vc/vc-git.el (vc-git-grep): Disable pager.
8114 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8116 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8117 Use :url instead of :homepage, as per
8118 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8120 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8121 non-nil, use `syntax-ppss' (Bug#15251).
8123 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8125 * progmodes/octave.el (inferior-octave-startup-file):
8126 Prefer ~/.emacs.d/init_octave.m.
8128 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8130 * emacs-lisp/package.el (package-desc-from-define):
8131 Accept additional arguments as plist, convert them to an alist and store
8132 them in the `extras' slot.
8133 (package-generate-description-file): Convert extras alist back to
8134 plist and append to the `define-package' form arguments.
8135 (package--alist-to-plist): New function.
8136 (package--ac-desc): Add `extras' slot.
8137 (package--add-to-archive-contents): Check if the archive-contents
8138 vector is long enough, and if it is, pass its `extras' slot value
8139 to `package-desc-create'.
8140 (package-buffer-info): Call `lm-homepage', pass the returned value
8141 to `package-desc-from-define'.
8142 (describe-package-1): Render the homepage button (Bug#13291).
8144 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8145 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8147 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8149 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8150 and default-process-coding-system to utf-8-unix (Bug#15402).
8152 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8154 * subr.el (looking-back): Do not recommend using looking-back.
8156 2013-09-28 Alan Mackenzie <acm@muc.de>
8158 Fix indentation/fontification of Java enum with "implements".
8160 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8161 regexp which matches "implements", etc., in Java.
8162 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8163 specifier clauses coming after "enum".
8164 * progmodes/cc-fonts.el (c-font-lock-declarations)
8165 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8168 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8170 * faces.el (region): Change ns_selection_color to
8171 ns_selection_fg_color, add ns_selection_bg_color.
8173 2013-09-28 Leo Liu <sdl.web@gmail.com>
8175 * progmodes/octave.el (inferior-octave-completion-table)
8176 (inferior-octave-completion-at-point): Minor tweaks.
8178 * textmodes/ispell.el (ispell-lookup-words): Rename from
8179 lookup-words. (Bug#15460)
8180 (lookup-words): Obsolete.
8181 (ispell-complete-word, ispell-command-loop): All uses changed.
8183 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8185 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8186 (octave-mode-menu): Add octave-send-buffer.
8187 (octave-send-buffer): New function.
8189 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8191 * progmodes/octave.el (octave-mode-map): Add key binding for
8193 (octave-mode-menu): Add octave-lookfor.
8194 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8196 (octave-lookfor): New function.
8198 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8200 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8201 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8203 (cl--loop-set-iterator-function): New function.
8204 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8205 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8206 Bind `it' with `let' instead of substituting it with `cl-subst'.
8207 (cl--unused-var-p): New function.
8208 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8209 Eliminate some unused variable warnings (bug#15326).
8211 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8213 * doc-view.el (doc-view-scale-reset): Rename from
8214 `doc-view-reset-zoom-level'.
8215 (doc-view-scale-adjust): New command.
8216 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8217 `doc-view-scale-adjust'.
8219 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8221 * doc-view.el (doc-view-reset-zoom-level): New command.
8222 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8223 zoom commands (bug#15466).
8225 2013-09-26 Kenichi Handa <handa@gnu.org>
8227 * international/quail.el (quail-help): Make it not a command.
8229 2013-09-26 Leo Liu <sdl.web@gmail.com>
8231 * minibuffer.el (completion-all-sorted-completions): Make args
8232 optional as they are.
8234 2013-09-25 Daniel Colascione <dancol@dancol.org>
8236 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8237 specs are and that they're not evaluated.
8239 2013-09-24 Sam Steingold <sds@gnu.org>
8241 * midnight.el (clean-buffer-list-kill-regexps)
8242 (clean-buffer-list-kill-buffer-names): Update for the new Man
8243 buffer naming which includes the object name.
8245 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8247 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8248 (eshell-parse-command, eshell-parse-pipeline): Use it since
8249 eshell-separate-commands requires a dynamic scoped var.
8250 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8252 2013-09-23 Leo Liu <sdl.web@gmail.com>
8254 * autoinsert.el (auto-insert-alist): Make the value of
8255 lexical-binding match its file setting.
8257 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8259 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8261 * autoarg.el (autoarg-kp-digit-argument):
8262 * electric.el (Electric-command-loop):
8263 * kmacro.el (kmacro-step-edit-insert):
8264 Do not set universal-argument-num-events.
8266 2013-09-22 Leo Liu <sdl.web@gmail.com>
8268 * files.el (interpreter-mode-alist): Add octave.
8270 2013-09-21 Alan Mackenzie <acm@muc.de>
8272 C++: fontify identifier in declaration following "public:" correctly.
8273 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8274 to match "public", etc.
8275 (c-decl-prefix-re): Add ":" into the C++ value.
8276 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8277 bit. Add a check for a ":" preceded by "public", etc.
8279 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8281 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8282 recognized by GDB 7.5 and later.
8284 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8286 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8288 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8290 * subr.el (internal--call-interactively): New const.
8291 (called-interactively-p): Use it (bug#3984).
8293 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8295 * vc/pcvs.el (cvs-mode-ignore):
8296 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8297 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8299 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8301 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8302 (eshell-ls-orig-insert-directory): Remove.
8303 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8304 (eshell-ls-use-in-dired): Use advice-add/remove.
8305 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8306 Add `orig-fun' arg for use in :around advice.
8307 Make it check (redundantly) eshell-ls-use-in-dired.
8309 2013-09-19 Glenn Morris <rgm@gnu.org>
8311 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8313 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8315 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8317 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8319 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8320 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8321 (tramp-get-remote-python): New defuns.
8322 (tramp-get-remote-uid-with-perl)
8323 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8324 contributed by yary <not.com@gmail.com> (tiny change).
8325 (tramp-get-remote-uid-with-python)
8326 (tramp-get-remote-gid-with-python): New defuns. Python code
8327 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8328 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8330 2013-09-19 Glenn Morris <rgm@gnu.org>
8332 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8334 * eshell/em-unix.el (eshell-remove-entries):
8335 Rename argument to avoid name-clash with global `top-level'.
8337 * eshell/esh-proc.el (eshell-kill-process-function):
8338 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8339 (eshell-reset-after-proc): Remove unused arg `proc'.
8341 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8342 (directory-files-and-attributes): Mark unused arg.
8344 * eshell/em-unix.el (eshell-remove-entries):
8345 Remove unused arg `path'. Update callers.
8347 * eshell/em-hist.el (eshell-hist-parse-arguments):
8348 Remove unused arg `silent'. Update callers.
8350 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8351 Fix (f)boundp mix-up.
8353 * eshell/em-smart.el (eshell-smart-scroll-window)
8354 (eshell-disable-after-change):
8355 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8357 2013-09-18 Alan Mackenzie <acm@muc.de>
8359 Fix fontification of type when followed by "const".
8360 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8361 "known" types from fontification.
8363 2013-09-18 Glenn Morris <rgm@gnu.org>
8365 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8366 (chart-face-list): Drop Emacsen without display-color-p.
8368 * net/eww.el (libxml-parse-html-region): Declare.
8369 (eww-display-html): Explicit error if no libxml2 support.
8371 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8373 * image.el (image-type-from-buffer, image-multi-frame-p):
8374 Remove --without-x warning/error.
8376 * mouse.el (mouse-yank-primary):
8377 * term.el (term-mouse-paste):
8378 Reorder to silence --without-x compilation.
8380 * mpc.el (doc-view-mode): Silence --without-x compilation.
8382 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8383 Silence --without-x compilation.
8385 * progmodes/gud.el (gud-find-file, gud-mode):
8386 Silence --without-x compilation.
8387 (tooltip-mode): Declare.
8389 * wdired.el (dired-backup-overwrite): Remove declaration.
8390 (wdired-mode-map): Add doc string.
8392 * custom.el (x-get-resource): Declare.
8394 * eshell/em-glob.el (ange-cache):
8395 * eshell/em-unix.el (ange-cache): Declare.
8397 * faces.el (x-display-list, x-open-connection, x-get-resource):
8400 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8401 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8404 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8406 * net/gnutls.el (gnutls-log-level): Declare.
8408 * net/shr.el (image-size, image-animate): Declare.
8410 * simple.el (font-info): Declare.
8412 * subr.el (x-popup-dialog): Declare.
8414 * term/common-win.el (x-select-enable-primary)
8415 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8418 * term/ns-win.el (x-handle-args): Declare.
8420 * term/x-win.el (x-select-enable-clipboard): Declare.
8422 * term/w32-win.el (create-default-fontset): Declare.
8424 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8427 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8428 (fit-frame-to-buffer): Explicit error if --without-x.
8429 (mouse-autoselect-window-select): Silence compiler.
8431 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8433 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8434 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8435 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8436 * eshell/esh-util.el (eshell-sublist):
8437 Remove unused local variables.
8439 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8441 * textmodes/two-column.el: Make 2C-split work for --without-x.
8442 (scroll-bar-columns): Autoload.
8443 (top-level): Require fringe when compiling.
8445 2013-09-18 Leo Liu <sdl.web@gmail.com>
8447 * subr.el (add-hook): Robustify to handle closure as well.
8449 2013-09-17 Glenn Morris <rgm@gnu.org>
8451 * simple.el (messages-buffer-mode-map): Unbind "g".
8453 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8455 * help-mode.el (help-mode-finish): Use derived-mode-p.
8456 Remove obsolete highlighting.
8458 * play/life.el (life-mode): Use define-derived-mode. Derive from
8460 (life): Let-bind inhibit-read-only.
8461 (life-setup): Avoid `setq'. Use `life-mode'.
8463 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8464 which should not be needed any more.
8465 (package-menu-refresh, package-menu-describe-package): Use user-error.
8467 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8468 (eshell-post-rewrite-command-hook): Make obsolete.
8469 (eshell-parse-command): Simplify.
8470 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8471 (eshell--cmd): Declare.
8472 (eshell-parse-pipeline): Remove unused var `final-p'.
8473 Pass a dynvar to eshell-post-rewrite-command-hook.
8474 Implement the new eshell-post-rewrite-command-function.
8475 (eshell-invoke-directly): Remove unused arg `input'.
8476 * eshell/esh-io.el (eshell-io-initialize):
8477 Use eshell-post-rewrite-command-function (bug#15399).
8478 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8479 adjust to new calling convention.
8480 (eshell-create-handles): Rename args to avoid clashing with dynvar
8483 2013-09-17 Glenn Morris <rgm@gnu.org>
8485 * simple.el (messages-buffer-mode): New major mode.
8486 (messages-buffer): New function.
8487 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8488 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8489 (ert-run-test): Use `messages-buffer' function.
8490 (ert--force-message-log-buffer-truncation): Ignore read-only.
8491 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8492 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8494 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8496 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8498 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8500 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8502 * icomplete.el (icomplete-in-buffer): New var.
8503 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8504 vars and replace them with functions.
8505 (icomplete-minibuffer-setup): Adjust accordingly.
8506 (icomplete--completion-table, icomplete--completion-predicate)
8507 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8509 (icomplete-forward-completions, icomplete-backward-completions)
8510 (icomplete-simple-completing-p, icomplete-exhibit)
8511 (icomplete-completions): Use them.
8512 (icomplete--in-region-buffer): New var.
8513 (icomplete--in-region-setup): New function.
8514 (icomplete-mode): Use it.
8516 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8518 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8519 return args and options.
8520 (eshell-eval-using-options): Use the new return value of
8521 eshell--do-opts to set the options's vars in their scope.
8522 (eshell--set-option): Rename from eshell-set-option.
8524 (eshell--process-option): Rename from eshell-process-option.
8526 (eshell--process-args): Use an `opt-vals' alist to store the options's
8527 values during their processing and return them additionally to the
8530 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8532 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8533 continuation character an operator, as far as indentation is
8534 concerned (Bug#15369).
8536 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8538 * window.el (window--state-put-2): Don't process buffer state
8539 when buffer doesn't exist any more (Bug#15382).
8541 2013-09-15 Glenn Morris <rgm@gnu.org>
8543 * eshell/em-unix.el (eshell/rm):
8544 Make -f ignore missing files. (Bug#15373)
8546 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8547 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8548 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8550 2013-09-14 Glenn Morris <rgm@gnu.org>
8552 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8554 2013-09-13 Glenn Morris <rgm@gnu.org>
8556 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8557 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8559 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8561 * frame.el (x-focus-frame): Mark as declared in frame.c.
8563 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8565 * ls-lisp.el: Use advice-add.
8566 (original-insert-directory): Remove.
8567 (ls-lisp--insert-directory): Rename from insert-directory; add
8568 `orig-fun' argument.
8569 (insert-directory): Advise.
8571 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8573 * term.el (term-emulate-terminal): Decode the command string
8574 before passing it to term-command-hook. (Bug#15337)
8576 2013-09-13 Glenn Morris <rgm@gnu.org>
8578 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8580 * eshell/esh-ext.el (eshell-search-path): Declare.
8582 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8583 Otherwise an error occurs if eshell-dirs module not loaded.
8585 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8587 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8589 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8590 `tramp-check-proper-host'. Check for a valid method name.
8592 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8593 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8594 * net/tramp-sh.el (tramp-maybe-open-connection):
8595 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8597 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8598 also for hash values.
8600 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8602 * term/ns-win.el (parameters): Don't declare as dynamic.
8603 (before-make-frame-hook): Don't add ineffective function.
8605 * eshell/*.el: Use lexical-binding (bug#15231).
8607 2013-09-12 Kenichi Handa <handa@gnu.org>
8609 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8611 2013-09-12 Glenn Morris <rgm@gnu.org>
8613 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8614 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8616 * subr.el (do-after-load-evaluation): Also give compiler warnings
8617 when obsolete files are used (except by obsolete files).
8619 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8620 in the status output, assume `filename' is the first. (Bug#15322)
8622 * vc/vc.el (vc-deduce-fileset): Doc fix.
8624 * calc/calc-help.el (Info-goto-node):
8625 * progmodes/cperl-mode.el (Info-find-node):
8626 * vc/ediff.el (Info-goto-node): Update declarations.
8628 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8630 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8631 (vc-bzr-pull): Require vc-dispatcher.
8632 * vc/vc-git.el (vc-compilation-mode): Declare.
8633 (vc-git-pull): Require vc-dispatcher.
8635 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8637 * progmodes/octave.el (help-button-action): Declare.
8639 * shell.el (shell-directory-tracker): Output error as a message
8640 rather than just returning it as a string.
8641 (shell-process-pushd): Remove useless use of message.
8643 * dframe.el (dframe-timer-fn):
8644 * files.el (dir-locals-read-from-file):
8645 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8647 * reveal.el (reveal-post-command):
8648 * saveplace.el (load-save-place-alist-from-file):
8649 * shell.el (shell-resync-dirs):
8650 * w32-common-fns.el (x-get-selection-value):
8651 * emacs-lisp/copyright.el (copyright-find-copyright):
8652 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8653 * emulation/tpu-edt.el (tpu-copy-keyfile):
8654 * play/bubbles.el (bubbles--mark-neighbourhood):
8655 * progmodes/executable.el
8656 (executable-make-buffer-file-executable-if-script-p):
8657 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8659 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8661 Cleanup Eshell to rely less on dynamic scoping.
8662 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8663 last-value, and ext-command here. Bind `args' closer to `body'.
8664 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8665 (eshell--args): Declare new dynamic var.
8666 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8667 last-value, and ext-command. Pass `args' to `body'.
8668 (eshell-process-args): Bind eshell--args.
8669 (eshell-set-option): Use eshell--args.
8670 * eshell/eshell.el (eshell): Use derived-mode-p.
8671 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8672 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8673 (eshell-glob-function): Declare.
8674 * eshell/esh-util.el: Require cl-lib.
8675 (eshell-read-hosts-file): Avoid add-to-list.
8676 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8678 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8680 (eshell/diff): Remove unused var `err'.
8681 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8683 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8684 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8686 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8687 Move declaration before first use.
8688 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8689 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8692 2013-09-12 Glenn Morris <rgm@gnu.org>
8694 * term/ns-win.el (global-map): Remove binding for ispell-next,
8695 deleted 1999-05-29. (Bug#15357)
8697 2013-09-11 Glenn Morris <rgm@gnu.org>
8699 * echistory.el (electric-command-history): Remove call to deleted func.
8701 * play/landmark.el (landmark-mode): Fix typos.
8703 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8704 Check cvs-sort-ignore-file is bound.
8706 * savehist.el: No need for cl when compiling on Emacs.
8708 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8710 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8712 (eshell-self-insert-command, eshell-send-invisible):
8713 Remove unused argument.
8714 (eshell-handle-control-codes): Remove unused var `orig'.
8715 Avoid delete-backward-char.
8717 * files.el (set-auto-mode): Simplify a bit further.
8719 2013-09-11 Glenn Morris <rgm@gnu.org>
8721 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8722 (set-auto-mode): Don't regexp-quote elements.
8723 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8724 * progmodes/cc-mode.el (interpreter-mode-alist):
8725 * progmodes/ruby-mode.el (interpreter-mode-alist):
8726 Revert previous change.
8728 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8730 * play/snake.el (snake-mode):
8731 * play/mpuz.el (mpuz-mode):
8732 * play/landmark.el (lm-mode):
8733 * play/blackbox.el (blackbox-mode):
8734 * play/5x5.el (5x5-mode):
8735 * obsolete/options.el (Edit-options-mode):
8736 * net/quickurl.el (quickurl-list-mode):
8737 * net/newst-treeview.el (newsticker-treeview-mode):
8738 * mail/rmailsum.el (rmail-summary-mode):
8739 * mail/mspools.el (mspools-mode):
8740 * locate.el (locate-mode):
8741 * ibuffer.el (ibuffer-mode):
8742 * emulation/ws-mode.el (wordstar-mode):
8743 * emacs-lisp/debug.el (debugger-mode):
8744 * array.el (array-mode):
8745 * net/eudc.el (eudc-mode): Use define-derived-mode.
8746 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8747 Move initialization into declaration.
8748 (mairix-searches-mode): Use define-derived-mode.
8749 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8750 (eudc-edit-hotlist): Use dolist.
8751 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8752 (Man-mode): Use define-derived-mode.
8753 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8754 (Info-edit-mode): Use define-derived-mode.
8755 (Info-cease-edit): Use Info-mode.
8756 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8758 (eshell-mode): Use define-derived-mode.
8759 * chistory.el (command-history-mode-map): Rename from
8760 command-history-map.
8761 (command-history-mode): Use define-derived-mode.
8762 (Command-history-setup): Remove function.
8763 * calc/calc.el (calc-trail-mode-map): New var.
8764 (calc-trail-mode): Use define-derived-mode.
8765 (calc-trail-buffer): Set calc-main-buffer manually.
8766 * bookmark.el (bookmark-insert-annotation): New function.
8767 (bookmark-edit-annotation): Use it.
8768 (bookmark-edit-annotation-mode): Make it a proper major mode.
8769 (bookmark-send-edited-annotation): Use derived-mode-p.
8770 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8771 closer to its ideal place. Use \' to match EOS.
8773 * profiler.el (profiler-calltree-find): Use function-equal.
8775 2013-09-10 Glenn Morris <rgm@gnu.org>
8777 * files.el (interpreter-mode-alist): Convert to regexps.
8778 (set-auto-mode): Adapt for this. (Bug#15306)
8779 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8780 Comment out unused variable.
8781 * progmodes/cc-mode.el (interpreter-mode-alist):
8782 * progmodes/python.el (interpreter-mode-alist):
8783 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8784 * progmodes/sh-script.el (sh-set-shell):
8785 No longer use interpreter-mode-alist to get list of shells.
8787 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8789 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8791 * simple.el: Use set-temporary-overlay-map for universal-argument.
8792 (universal-argument-map): Don't use default-bindings (bug#15317).
8793 Bind switch-frame explicitly. Replace universal-argument-minus with
8794 a conditional binding.
8795 (universal-argument-num-events, saved-overriding-map): Remove.
8796 (restore-overriding-map): Remove.
8797 (universal-argument--mode): Rename from save&set-overriding-map,
8799 (universal-argument, universal-argument-more, negative-argument)
8800 (digit-argument): Adjust accordingly.
8801 (universal-argument-minus): Remove.
8802 (universal-argument-other-key): Remove.
8804 * subr.el (with-demoted-errors): Add `format' argument.
8806 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8808 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8809 `tramp-cleanup-connection'.
8811 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8812 parameters KEEP-DEBUG and KEEP-PASSWORD.
8814 * net/tramp.el (tramp-file-name-handler):
8815 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8816 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8817 (tramp-maybe-open-connection):
8818 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8819 Use `tramp-cleanup-connection'.
8821 * net/tramp-sh.el (tramp-maybe-open-connection):
8822 Catch 'uname-changed inside the progress reporter.
8824 2013-09-10 Glenn Morris <rgm@gnu.org>
8826 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8828 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8829 returns "alternate access method" in mode (eg "-rw-r--r--.").
8831 2013-09-08 Glenn Morris <rgm@gnu.org>
8833 * saveplace.el (load-save-place-alist-from-file):
8834 Demote errors. (Bug#15305)
8836 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8838 Improve compatibility with older Emacsen, and XEmacs.
8840 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8841 only if it is bound. It isn't for XEmacs.
8842 (with-tramp-progress-reporter): Do not let-bind `result'.
8843 This yields to scoping errors in XEmacs.
8844 (tramp-handle-make-auto-save-file-name): New function, moved from
8847 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8848 for `make-auto-save-file-name'.
8849 (tramp-adb--gnu-switches-to-ash):
8850 Use `tramp-compat-replace-regexp-in-string'.
8852 * net/tramp-cache.el (tramp-cache-print): Call
8853 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8855 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8856 bound. It isn't for XEmacs.
8858 * net/tramp-compat.el (tramp-compat-copy-file):
8859 Catch `wrong-number-of-arguments' error.
8860 (tramp-compat-replace-regexp-in-string): New defun.
8862 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8863 for `make-auto-save-file-name'.
8864 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8866 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8867 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8868 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8870 * net/tramp-gw.el (tramp-gw-open-network-stream):
8871 Use `tramp-compat-replace-regexp-in-string'.
8873 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8874 Call `tramp-handle-make-auto-save-file-name'.
8875 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8876 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8877 (tramp-sh-file-inotifywait-process-filter):
8878 Use `tramp-compat-replace-regexp-in-string'.
8879 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8881 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8882 for `make-auto-save-file-name'.
8883 (tramp-smb-handle-copy-directory):
8884 Call `tramp-compat-replace-regexp-in-string'.
8885 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8886 (tramp-smb-handle-copy-file): Improve error message.
8887 (tramp-smb-handle-rename-file): Rename directly only in case
8888 `newname' does not exist yet. This is a restriction of smbclient.
8889 (tramp-smb-maybe-open-connection): Rerun the function only when
8890 `auth-sources' is non-nil.
8892 2013-09-08 Kenichi Handa <handa@gnu.org>
8894 * international/characters.el: Set category "^" (Combining) for
8897 2013-09-07 Alan Mackenzie <acm@muc.de>
8899 Correctly fontify Java class constructors.
8900 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8902 (c-recognize-typeless-decls): Set the Java value to t.
8903 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8904 While handling a "(", add a check for, effectively, Java, and handle a
8905 "typeless" declaration there.
8907 2013-09-07 Roland Winkler <winkler@gnu.org>
8909 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8910 field subtitle for entry type book.
8912 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8914 * minibuffer.el: Make minibuffer-complete call completion-in-region
8915 rather than other way around.
8916 (completion--some, completion-pcm--find-all-completions):
8917 Don't delay signals when debugging.
8918 (minibuffer-completion-contents): Beware fields within the
8919 minibuffer contents.
8920 (completion-all-sorted-completions): Use defvar-local.
8921 (completion--do-completion, completion--cache-all-sorted-completions)
8922 (completion-all-sorted-completions, minibuffer-force-complete):
8923 Add args `beg' and `end'.
8924 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8925 (minibuffer-complete): Use completion-in-region.
8926 (completion-complete-and-exit): New fun, extracted from
8927 minibuffer-complete-and-exit.
8928 (minibuffer-complete-and-exit): Use it.
8929 (completion--complete-and-exit): Rename from
8930 minibuffer--complete-and-exit.
8931 (completion-in-region--single-word): New function, extracted from
8932 minibuffer-complete-word.
8933 (minibuffer-complete-word): Use it.
8934 (display-completion-list): Make `common-substring' argument obsolete.
8935 (completion--in-region): Call completion--in-region-1 instead of
8936 minibuffer-complete.
8937 (completion-help-at-point): Pass boundaries to
8938 minibuffer-completion-help as args rather than via an overlay.
8939 (completion-pcm--string->pattern): Use `any-delim'.
8940 (completion-pcm--optimize-pattern): New function.
8941 (completion-pcm--pattern->regex): Handle `any-delim'.
8942 * icomplete.el (icomplete-forward-completions)
8943 (icomplete-backward-completions, icomplete-completions):
8944 Adjust calls to completion-all-sorted-completions and
8945 completion--cache-all-sorted-completions.
8946 (icomplete-with-completion-tables): Default to t.
8947 * emacs-lisp/crm.el (crm--current-element): Rename from
8948 crm--select-current-element. Don't put an overlay but return the
8950 (crm--completion-command): Take two new args to bind to the boundaries.
8951 (crm-completion-help): Adjust accordingly.
8952 (crm-complete): Use completion-in-region.
8953 (crm-complete-word): Use completion-in-region--single-word.
8954 (crm-complete-and-exit): Use completion-complete-and-exit.
8956 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8958 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8961 2013-09-06 Juri Linkov <juri@jurta.org>
8963 * info.el (Info-display-images-node): When image file doesn't exist
8964 display text version of the image if it's provided in the Info file.
8965 Otherwise, display the location of missing image from SRC attribute.
8966 Add help-echo text property from ALT attribute. (Bug#15279)
8968 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8970 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8971 (edit-abbrevs-mode): Use define-derived-mode.
8973 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8974 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8976 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8977 Use define-derived-mode.
8979 * epg.el (epg-start-encrypt): Minor CSE simplification.
8981 2013-09-06 William Xu <william.xwl@gmail.com>
8983 * arc-mode.el: Add support for 7za (bug#15264).
8984 (archive-7z-program): New var.
8985 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8986 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8987 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8989 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
8993 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8994 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8995 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8996 (tramp-postfix-host-format, tramp-file-name-regexp)
8997 (tramp-completion-file-name-regexp)
8998 (tramp-completion-dissect-file-name)
8999 (tramp-handle-substitute-in-file-name): Remove 'url case.
9000 (tramp-file-name-regexp-url)
9001 (tramp-completion-file-name-regexp-url): Remove constants.
9003 2013-09-06 Glenn Morris <rgm@gnu.org>
9005 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9007 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9009 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9010 keywords" below "here-doc beginnings" (Bug#15270).
9012 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9014 * subr.el (pop): Use `car-safe'.
9015 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9016 to detect unused `pop' return value.
9018 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9020 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9021 (python-fill-string): Remove unused var `marker'.
9022 (python-skeleton-add-menu-items): Remove unused var `items'.
9024 * international/mule-cmds.el: Require CL.
9025 (find-coding-systems-for-charsets): Avoid add-to-list.
9026 (sanitize-coding-system-list): New function, extracted from
9027 select-safe-coding-system-interactively.
9028 (select-safe-coding-system-interactively): Use it.
9029 (read-input-method-name): Accept symbols for `default'.
9031 * emacs-lisp/advice.el (defadvice): Add indent rule.
9033 2013-09-05 Daniel Hackney <dan@haxney.org>
9037 * net/browse-url.el:
9040 * net/eudcb-ldap.el:
9053 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9054 byte compiler. Remove some unused let-bound variables.
9056 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9058 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9059 a "ref-cell", since it gets better optimized (bug#14883).
9061 2013-09-05 Glenn Morris <rgm@gnu.org>
9063 * progmodes/cc-awk.el (c-forward-sws): Declare.
9065 2013-09-04 Glenn Morris <rgm@gnu.org>
9067 * generic-x.el [rul-generic-mode]: Require cc-mode.
9068 (c++-mode-syntax-table): Declare.
9069 (rul-generic-mode-syntax-table): Init in the defvar.
9071 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9073 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9074 (vc-do-command, vc-set-async-update):
9075 * vc/vc-mtn.el (vc-mtn-dir-status):
9076 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9077 (vc-hg-pull, vc-hg-merge-branch):
9078 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9079 (vc-git-merge-branch):
9080 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9081 (vc-cvs-dir-status-files):
9082 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9083 (vc-bzr-dir-status-files):
9084 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9085 * vc/vc-annotate.el: Use lexical-binding.
9086 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9087 (vc-sentinel-movepoint): Declare.
9088 (vc-annotate): Don't use `goto-line'.
9089 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9090 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9091 (vc-sentinel-movepoint): Declare.
9092 * vc/vc-svn.el: Use lexical-binding.
9093 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9095 * vc/vc-rcs.el: Use lexical-binding.
9097 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9098 `deleted'. Don't drop errors silently.
9100 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9102 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9104 * vc/vc.el (vc-ignore): Rewrite.
9105 (vc-default-ignore): New function.
9106 (vc-default-ignore-completion-table): Use find-ignore-file.
9108 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9109 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9110 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9111 Remove. Most code moved to vc.el.
9113 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9115 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9116 * net/tramp-smb.el (tramp-smb-get-file-entries):
9117 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9118 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9120 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9122 (eww-change-select): Remove unused var `properties'.
9123 (eww-make-unique-file-name): Remove unused var `base'.
9125 * finder.el (finder-compile-keywords): Don't mess with windows.
9127 * calculator.el (calculator-funcall): Fix typo in last change.
9129 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9131 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9132 <pkg>-autoloads.el file stop us.
9134 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9135 warnings, and factor out common code.
9137 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9139 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9140 two-character operators and whether the character preceding them
9141 changes their meaning (Bug#15208).
9143 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9145 Format code sent to Python shell for robustness.
9146 * progmodes/python.el (python-shell-buffer-substring):
9148 (python-shell-send-region, python-shell-send-buffer): Use it.
9150 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9152 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9153 * net/tramp.el (tramp-user-error): ... here.
9154 (tramp-find-method, tramp-check-proper-host)
9155 (tramp-dissect-file-name, tramp-debug-message)
9156 (tramp-handle-shell-command):
9157 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9158 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9160 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9162 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9164 * avoid.el (mouse-avoidance-point-position)
9165 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9168 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9170 * progmodes/python.el (python-shell-completion-get-completions):
9171 Drop use of deleted `comint-last-prompt-overlay'.
9172 (python-nav-if-name-main): New command.
9174 2013-09-01 Glenn Morris <rgm@gnu.org>
9176 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9177 Avoid leading space in $wins. Otherwise the sed command used by
9178 eg compile-main ends up containing "/*.el". (Bug#15170)
9180 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9182 2013-08-30 Glenn Morris <rgm@gnu.org>
9184 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9185 Fix is-this-a-directory logic. (Bug#15220)
9187 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9189 * textmodes/css-mode.el: Use SMIE.
9190 (css-smie-grammar): New var.
9191 (css-smie--forward-token, css-smie--backward-token)
9192 (css-smie-rules): New functions.
9193 (css-mode): Use them.
9194 (css-navigation-syntax-table): Remove var.
9195 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9196 (css-indent-calculate, css-indent-line): Remove functions.
9198 Misc changes to reduce use of `(lambda...); and other cleanups.
9199 * cus-edit.el: Use lexical-binding.
9200 (customize-push-and-save, customize-apropos)
9201 (custom-buffer-create-internal): Use closures.
9202 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9203 * progmodes/ada-xref.el: Use setq.
9204 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9205 * dframe.el: Use lexical-binding.
9206 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9207 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9208 * descr-text.el: Use lexical-binding.
9209 (describe-text-widget, describe-text-sexp, describe-property-list):
9211 * comint.el (comint-history-isearch-push-state): Use a closure.
9212 * calculator.el: Use lexical-binding.
9213 (calculator-number-to-string): Make it work with lexical-binding.
9214 (calculator-funcall): Same and use cl-letf.
9216 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9217 (lisp--company-doc-string, lisp--company-location): New functions.
9218 (lisp-completion-at-point): Use them to improve Company support.
9220 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9221 params of lambda expressions.
9222 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9223 (ruby-smie--opening-pipe-p): New function.
9224 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9225 symbols and matched |...| for formal params.
9226 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9227 from being treated as hanging. Handle "rescue".
9229 2013-08-29 Glenn Morris <rgm@gnu.org>
9231 * progmodes/cc-engine.el (c-pull-open-brace):
9232 Move definition before use.
9234 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9236 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9237 are immutable. Don't use `unsafe' any more.
9238 (cl--defsubst-expand): Don't substitute at the same time as keeping
9239 a residual unused let-binding. Don't use `unsafe' any more.
9241 2013-08-29 Glenn Morris <rgm@gnu.org>
9243 * calendar/cal-china.el (calendar-chinese-year-cache):
9246 * nxml/nxml-util.el (nxml-debug-clear-inside):
9247 Use cl-loop rather than loop.
9249 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9251 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9253 2013-08-28 Glenn Morris <rgm@gnu.org>
9255 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9257 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9259 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9261 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9263 * simple.el (repeat-complex-command--called-interactively-skip):
9265 (repeat-complex-command): Use it (bug#14136).
9267 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9268 (c-define-abbrev-table): Add `doc' argument.
9269 (c-mode-abbrev-table, c++-mode-abbrev-table)
9270 (objc-mode-abbrev-table, java-mode-abbrev-table)
9271 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9272 (awk-mode-abbrev-table): Use it.
9273 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9274 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9275 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9276 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9277 Move initialization into the declaration; and remove any
9280 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9281 and dynamic let binding.
9283 * vc/smerge-mode.el: Remove redundant :group args.
9285 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9288 2013-08-28 Juri Linkov <juri@jurta.org>
9290 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9291 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9292 (isearch-other-meta-char): Handle an undefined shifted printing
9293 character by downshifting it. (Bug#15200)
9295 2013-08-28 Juri Linkov <juri@jurta.org>
9297 * isearch.el (isearch-search): Change regexp error message for
9298 non-regexp searches. (Bug#15166)
9300 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9302 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9303 for portability to hosts where /bin/sh has problems.
9305 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9307 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9309 2013-08-27 Juri Linkov <juri@jurta.org>
9311 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9312 in the keyboard macro. (Bug#15126)
9314 2013-08-27 Juri Linkov <juri@jurta.org>
9316 * isearch.el (isearch-quote-char): Comment out converting unibyte
9317 to multibyte, thus syncing with its `quoted-insert' counterpart.
9320 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9322 * window.el (display-buffer-use-some-window): Add missing
9323 argument in call of get-largest-window (Bug#15185).
9324 Reported by Stephen Leake.
9326 2013-08-27 Glenn Morris <rgm@gnu.org>
9328 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9330 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9332 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9333 from a matcher-function unless there's no more matches (bug#15161).
9335 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9337 * minibuffer.el: Revert change from 2013-08-20.
9339 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9340 with text property `tramp-default', if appropriate.
9341 (tramp-check-proper-host): New defun.
9342 (tramp-dissect-file-name): Do not check hostname. Revert change
9344 (tramp-backtrace): Make VEC-OR-PROC optional.
9346 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9347 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9348 * net/tramp-sh.el (tramp-maybe-open-connection):
9349 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9350 Apply `tramp-check-proper-host'.
9352 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9354 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9355 lambda expression in order to have `describe-variable' display it.
9357 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9359 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9360 BUF can be optional. (Bug#15186)
9362 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9364 * progmodes/flymake.el (flymake-get-real-file-name-function):
9365 Fix broken customization. (Bug#15184)
9367 2013-08-25 Alan Mackenzie <acm@muc.de>
9369 Improve indentation of bracelists defined by macros (without "=").
9371 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9372 expansion begins with "{", regard it as bracelist when it doesn't
9375 Parse C++ inher-intro when there's a template split over 2 lines.
9377 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9378 rigorously the search for "class" etc. followed by ":".
9380 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9381 random languages a regexp which never matches rather than nil.
9383 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9385 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9386 (c-awk-regexp-one-line-possibly-open-char-list-re)
9387 (c-awk-one-line-possibly-open-regexp-re)
9388 (c-awk-one-line-non-syn-ws*-re): Remove.
9389 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9390 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9391 (c-awk-space*-unclosed-regexp-/-re): New constants.
9392 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9393 aren't regexp delimiters.
9395 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9396 handling for a rare situation in AWK Mode involving unterminated
9399 2013-08-23 Glenn Morris <rgm@gnu.org>
9401 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9403 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9405 * files.el (create-file-buffer): If the result would begin with
9406 spaces, prepend a "|" instead of removing them. (Bug#15162)
9408 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9410 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9411 text-properties (bug#15155).
9413 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9415 (calc-keypad-redraw): Remove unused var `pad'.
9416 (calc-keypad-press): Remove unused var `menu'.
9418 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9420 * window.el (display-buffer-pop-up-frame):
9421 Call pop-up-frame-function with BUFFER current so `make-frame' will
9422 use it as the new frame's buffer (Bug#15133).
9424 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9426 * calendar/timeclock.el: Minor cleanups.
9427 (timeclock-ask-before-exiting, timeclock-use-display-time):
9429 (timeclock-modeline-display): Define as alias before the
9431 (timeclock-mode-line-display): Use define-minor-mode.
9432 (timeclock-day-list-template): Make it a function, add an argument.
9433 (timeclock-day-list-required, timeclock-day-list-length)
9434 (timeclock-day-list-debt, timeclock-day-list-span)
9435 (timeclock-day-list-break): Adjust calls accordingly.
9437 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9439 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9440 Use read--expression so that completion works again.
9442 2013-08-21 Sam Steingold <sds@gnu.org>
9444 Add rudimentary inferior shell interaction
9445 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9446 (sh-set-shell): Reset it.
9447 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9448 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9450 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9452 * align.el: Use lexical-binding.
9453 (align-region): Simplify accordingly.
9455 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9457 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9459 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9462 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9466 * net/tramp-cmds.el:
9468 * net/tramp-gvfs.el:
9470 * net/tramp-sh.el: Don't wrap external variable declarations by
9471 `eval-when-compile'.
9473 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9475 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9476 now that Emacs supports ImageMagick animations.
9478 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9480 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9481 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9483 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9485 * window.el (mouse-autoselect-window-select): Do autoselect when
9486 mouse pointer is on margin.
9488 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9490 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9492 2013-08-16 Glenn Morris <rgm@gnu.org>
9494 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9495 Handle "Remote Directory" response of some clients. (Bug#15058)
9497 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9498 Tweak warning. (Bug#14926)
9500 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9501 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9503 * image-mode.el (image-mode-map): Add menu items to reverse,
9504 increase, decrease, reset animation speed.
9505 (image--set-speed, image-increase-speed, image-decrease-speed)
9506 (image-reverse-speed, image-reset-speed): New functions.
9507 (image-mode-map): Add bindings for speed commands.
9509 * image.el (image-animate-get-speed, image-animate-set-speed):
9511 (image-animate-timeout): Respect image :speed property.
9513 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9515 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9516 previous line (bug#15101).
9517 (debugger-eval-expression, debugger-record-expression):
9518 Use read--expression (bug#15102).
9520 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9522 Remove byte compiler warnings, visible when compiling with
9523 `byte-compile-force-lexical-warnings' set to t.
9525 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9526 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9527 (tramp-handle-unhandled-file-name-directory)
9528 (tramp-handle-file-notify-add-watch, tramp-action-login)
9529 (tramp-action-succeed, tramp-action-permission-denied)
9530 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9533 * net/tramp-adb.el (tramp-adb-parse-device-names)
9534 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9535 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9536 (tramp-adb-handle-file-truename): Remove unused arguments.
9538 * net/tramp-cache.el (tramp-flush-directory-property)
9539 (tramp-flush-connection-property, tramp-list-connections)
9540 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9542 * net/tramp-compat.el (tramp-compat-make-temp-file):
9543 Rename FILENAME to F.
9545 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9546 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9547 (tramp-zeroconf-parse-workstation-device-names)
9548 (tramp-zeroconf-parse-webdav-device-names)
9549 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9551 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9552 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9554 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9556 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9557 (tramp-sh-handle-insert-file-contents-literally)
9558 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9560 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9561 Remove unused variables.
9563 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9564 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9565 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9567 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9568 Make them a defconst.
9569 (tramp-uuencode-region): Remove unused variable.
9571 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9573 * frameset.el (frameset--prop-setter): New function.
9574 (frameset-prop): Add gv-setter declaration.
9575 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9576 parameter was already set in FILTERED. Doc fix.
9577 (frameset--record-minibuffer-relationships): Allow saving a
9578 minibufferless frame without its corresponding minibuffer frame.
9579 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9580 frame, if the frame id matches.
9581 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9582 frames before orphaned ones.
9583 (frameset-restore): Warn about orphaned windows, instead of error out.
9585 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9587 * window.el (window-make-atom): Don't overwrite parameter
9589 (display-buffer-in-atom-window): Handle special case where we
9590 split an already atomic window.
9591 (window--major-non-side-window, display-buffer-in-side-window)
9592 (window--side-check): Ignore minibuffer window when walking
9594 (window-deletable-p): Return 'frame only if no other frame uses
9595 our minibuffer window.
9596 (record-window-buffer): Run buffer-list-update-hook.
9597 (split-window): Make sure window--check-frame won't destroy an
9598 existing atomic window in case the new window gets nested
9600 (display-buffer-at-bottom): Ignore minibuffer window when
9601 walking window tree. Don't split a side window.
9602 (pop-to-buffer): Don't set-buffer here, the select-window call
9604 (mouse-autoselect-window-select): Autoselect only if we are in the
9605 text portion of the window.
9607 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9609 * net/shr.el (shr-parse-image-data): New function to grab both the
9610 data itself and the Content-Type.
9611 (shr-put-image): Use it.
9613 * net/eww.el (eww-display-image): Ditto.
9615 * image.el (image-content-type-suffixes): New variable.
9617 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9619 * progmodes/python.el (python-imenu--build-tree)
9620 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9622 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9624 * simple.el (backward-word): Mention the optional argument.
9626 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9628 * frameset.el (frameset--make): Rename constructor from make-frameset.
9629 (frameset-p, frameset-valid-p): Don't autoload.
9630 (frameset-valid-p): Use normal accessors.
9632 2013-08-13 Glenn Morris <rgm@gnu.org>
9634 * progmodes/compile.el (compile-command): Tweak example in doc.
9635 * obsolete/scribe.el (scribe-mode):
9636 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9638 * mail/feedmail.el (feedmail-confirm-outgoing)
9639 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9641 * cus-start.el (truncate-partial-width-windows): Fix type.
9643 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9645 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9647 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9649 * emacs-lisp/timer.el (timer--time-setter): New function.
9650 (timer--time): Use it as gv-setter.
9652 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9653 setter is not a symbol.
9655 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9657 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9658 if sending fails. This makes debugging easier.
9660 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9662 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9663 revno:113793, which breaks the test suite).
9664 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9666 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9668 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9670 2013-08-12 Glenn Morris <rgm@gnu.org>
9672 * format.el (format-annotate-function):
9673 Handle read-only text properties in the source. (Bug#14887)
9675 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9677 * net/eww.el (eww-display-html): Ignore coding system errors.
9678 One web site uses "utf-8lias" as the coding system.
9680 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9682 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9684 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9686 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9687 (tutorial--detailed-help): Remove unused local variables.
9688 (tutorial--save-tutorial-to): Use ignore-errors.
9689 (help-with-tutorial): Use looking-at-p.
9691 * view.el (view-buffer-other-window, view-buffer-other-frame):
9692 Mark unused arguments.
9694 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9695 (woman-select-symbol-fonts, woman, woman-find-file)
9696 (woman-insert-file-contents, woman-non-underline-faces):
9698 (woman1-unquote): Move declaration.
9700 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9701 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9702 argument. Remove unused local variable.
9703 (xml-parse-elem-type): Use string-match-p.
9704 (xml-substitute-numeric-entities): Use ignore-errors.
9706 * calculator.el (calculator): Mark unused argument.
9707 (calculator-paste, calculator-quit, calculator-integer-p):
9709 (calculator-string-to-number, calculator-decimal, calculator-exp)
9710 (calculator-op-or-exp): Use string-match-p.
9712 * dired.el (dired-buffer-more-recently-used-p): Declare.
9713 (dired-insert-set-properties, dired-insert-old-subdirs):
9716 * dired-aux.el (dired-compress): Use ignore-errors.
9717 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9718 (dired-do-async-shell-command, dired-do-shell-command)
9719 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9720 (dired-insert-subdir-validate): Use string-match-p.
9721 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9722 (dired-add-entry): Use string-match-p, looking-at-p.
9723 (dired-insert-subdir-newpos): Remove unused local variable.
9725 * filenotify.el (file-notify-callback): Remove unused local variable.
9727 * filesets.el (filesets-error): Mark unused argument.
9728 (filesets-which-command-p, filesets-filter-dir-names)
9729 (filesets-directory-files, filesets-get-external-viewer)
9730 (filesets-ingroup-get-data): Use string-match-p.
9732 * find-file.el (ff-other-file-name, ff-other-file-name)
9733 (ff-find-the-other-file, ff-cc-hh-converter):
9734 Remove unused local variables.
9735 (ff-get-file-name): Use string-match-p.
9736 (ff-all-dirs-under): Use ignore-errors.
9738 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9739 (follow-select-if-visible): Remove unused local variable.
9741 * forms.el (read-file-filter): Move declaration.
9742 (forms--make-format, forms--make-parser, forms-insert-record):
9743 Quote function with #'.
9744 (forms--update): Use string-match-p. Quote function with #'.
9746 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9747 (help-make-xrefs): Use looking-at-p.
9748 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9750 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9751 (ibuffer-confirm-operation-on): Use string-match-p.
9753 * msb.el (msb-item-handler, msb-dired-item-handler):
9754 Mark unused arguments.
9756 * ses.el (ses-decode-cell-symbol)
9757 (ses-kill-override): Remove unused local variable.
9758 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9759 (ses-load): Use ignore-errors, looking-at-p.
9760 (ses-jump-safe): Use ignore-errors.
9761 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9763 * tabify.el (untabify, tabify): Mark unused arguments.
9765 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9766 Mark unused argument.
9767 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9768 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9770 * emacs-lisp/timer.el (timer--time): Define setter with
9771 gv-define-setter to avoid deprecation warning.
9773 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9774 (*record-cmpl-statistics-p*): Remove (was commented out).
9775 (cmpl-statistics-block): Remove (body was commented out).
9776 All callers changed.
9777 (add-completions-from-buffer, load-completions-from-file):
9778 Remove unused variables.
9780 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9782 * filecache.el (file-cache-delete-file-list):
9783 Print message only when told so.
9784 (file-cache-files-matching): Use #' in mapconcat argument.
9786 * ffap.el (ffap-url-at-point): Fix reference to variable
9787 thing-at-point-default-mail-uri-scheme.
9789 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9791 * subr.el (define-error): New function.
9792 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9793 error-file-not-found and define with define-error.
9794 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9795 and define with define-error.
9796 * userlock.el (file-locked, file-supersession):
9797 * simple.el (mark-inactive):
9798 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9799 * progmodes/ada-mode.el (ada-mode-errors):
9800 * play/life.el (life-extinct):
9801 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9802 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9803 * nxml/rng-util.el (rng-error):
9804 * nxml/rng-uri.el (rng-uri-error):
9805 * nxml/rng-match.el (rng-compile-error):
9806 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9807 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9808 * nxml/nxml-rap.el (nxml-scan-error):
9809 * nxml/nxml-outln.el (nxml-outline-error):
9810 * net/soap-client.el (soap-error):
9811 * net/gnutls.el (gnutls-error):
9812 * net/ange-ftp.el (ftp-error):
9813 * mpc.el (mpc-proc-error):
9814 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9815 (json-number-format, json-string-escape, json-string-format)
9816 (json-key-format, json-object-format):
9817 * jka-compr.el (compression-error):
9818 * international/quail.el (quail-error):
9819 * international/kkc.el (kkc-error):
9820 * emacs-lisp/ert.el (ert-test-failed):
9821 * calc/calc.el (calc-error, inexact-result, math-overflow)
9823 * bookmark.el (bookmark-error-no-filename):
9824 * epg.el (epg-error): Define with define-error.
9826 * time.el (display-time-event-handler)
9827 (display-time-next-load-average): Don't call sit-for since it seems
9828 unnecessary (bug#15045).
9830 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9831 Use #' instead of ' to quote functions.
9832 (checkdoc-output-mode): Use setq-local.
9833 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9834 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9835 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9836 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9837 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9838 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9839 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9840 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9842 * ido.el (ido-completion-help): Fix up compiler warning.
9844 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9846 * frameset.el (frameset-p): Add autoload cookie.
9847 (frameset--jump-to-register): New function, based on code moved from
9849 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9851 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9852 (frameset-restore, frameset-save, frameset-session-filter-alist):
9853 Remove declarations.
9854 (register-alist): Doc fix.
9855 (frameset-to-register): Move to frameset.el.
9856 (jump-to-register, describe-register-1): Remove frameset-specific code.
9858 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9860 * allout-widgets.el (allout-widgets-pre-command-business)
9861 (allout-widgets-post-command-business)
9862 (allout-widgets-after-change-handler)
9863 (allout-decorate-item-and-context, allout-set-boundary-marker)
9864 (allout-body-modification-handler)
9865 (allout-graphics-modification-handler): Mark ignored arguments.
9866 (allout-widgets-post-command-business)
9867 (allout-widgets-exposure-change-processor)
9868 (allout-widgets-exposure-undo-processor)
9869 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9870 (allout-parse-item-at-point, allout-decorate-item-guides)
9871 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9872 * allout.el (epa-passphrase-callback-function): Declare.
9873 (allout-overlay-insert-in-front-handler)
9874 (allout-overlay-interior-modification-handler)
9875 (allout-isearch-end-handler, allout-chart-siblings)
9876 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9877 (allout-yank-processing, allout-process-exposed)
9878 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9879 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9880 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9881 (lisp-indent-defform): Mark ignored arguments.
9882 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9883 (calculate-lisp-indent): Remove unused variables.
9884 * international/characters.el (indian-2-column, arabic-2-column)
9885 (tibetan): Mark ignored arguments.
9886 (use-cjk-char-width-table): Mark ignored arguments.
9887 Remove unused variables.
9888 * international/fontset.el (build-default-fontset-data)
9889 (x-compose-font-name, create-fontset-from-fontset-spec):
9890 Mark ignored arguments.
9891 (fontset-plain-name): Remove unused variables.
9892 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9893 (keyboard-coding-system): Mark ignored arguments.
9894 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9895 * help.el (resize-temp-buffer-window):
9896 * window.el (display-buffer-in-major-side-window)
9897 (display-buffer-in-side-window, display-buffer-in-previous-window):
9898 Remove unused variables.
9899 * isearch.el (isearch-forward-symbol):
9900 * version.el (emacs-bzr-version-bzr):
9901 * international/mule-cmds.el (current-language-environment):
9902 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9904 * term/pc-win.el (x-list-fonts, x-display-planes)
9905 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9906 (x-server-version, x-display-screens, x-display-mm-height)
9907 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9908 (x-selection-owner-p, x-own-selection-internal)
9909 (x-disown-selection-internal, x-get-selection-internal)
9910 (msdos-initialize-window-system):
9911 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9912 * term/x-win.el (x-handle-no-bitmap-icon):
9913 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9914 (vc-default-find-file-hook, vc-default-extra-menu):
9915 Mark ignored arguments.
9917 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9919 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9920 break-condition in the context of the debugged code (bug#12685).
9922 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9925 Do not use an overlay to highlight the last prompt. (Bug#14744)
9926 (comint-mode): Make comint-last-prompt buffer local.
9927 (comint-last-prompt): New variable.
9928 (comint-last-prompt-overlay): Remove. Superseded by
9930 (comint-snapshot-last-prompt, comint-output-filter):
9931 Use comint-last-prompt.
9933 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9935 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9936 (frameset-save): Check validity of the resulting frameset.
9938 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9940 * ido.el (ido-record-command): Add doc string.
9942 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9944 * frameset.el (frameset): Do not disable creation of the default
9945 frameset-p predicate. Doc fix.
9946 (frameset-valid-p): New function, copied from the old predicate-p.
9947 Add additional checks.
9948 (frameset-restore): Check with frameset-valid-p.
9949 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9950 (frameset-name, frameset-description, frameset-properties)
9951 (frameset-states): Add docstring.
9952 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9953 (frameset-filter-alist): Doc fixes.
9955 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9957 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9959 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9961 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9962 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9963 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9964 (byte-compile-normal-call): Remove obsolescence check.
9966 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9968 * frameset.el (frameset-restore): Doc fix.
9970 * register.el (frameset-frame-id, frameset-frame-with-id)
9971 (frameset-p, frameset-restore, frameset-save): Declare.
9972 (register-alist): Document framesets.
9973 (frameset-session-filter-alist): Declare.
9974 (frameset-to-register): New function.
9975 (jump-to-register): Implement jumping to framesets. Doc fix.
9976 (describe-register-1): Describe framesets.
9978 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9980 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
9982 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9983 Use lexical-binding.
9985 * frameset.el (frameset): Use type vector, not list (incompatible
9986 change). Do not declare a new constructor, use the default one.
9987 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9988 `name' and `description', respectively, and add read-only slot
9989 `timestamp'. Doc fixes.
9990 (frameset-copy, frameset-persistent-filter-alist)
9991 (frameset-filter-alist, frameset-switch-to-gui-p)
9992 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9993 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9994 (frameset-filter-iconified, frameset-keep-original-display-p):
9996 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9997 Rename from frameset-filter-(save|restore)-param. All callers changed.
9999 (frameset-p): Adapt to change to vector and be more thorough.
10000 Change arg name to OBJECT. Doc fix.
10001 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10002 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10003 All callers changed.
10004 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10005 All callers changed.
10006 (frameset--record-minibuffer-relationships): Rename from
10007 frameset--process-minibuffer-frames. All callers changed.
10008 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10009 Use new default constructor (again). Doc fix.
10010 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10011 All callers changed.
10012 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10013 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10015 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10016 PARAMETERS and WINDOW-STATE, respectively.
10017 (frameset-restore): Add new keyword argument PREDICATE.
10018 Reset frameset--target-display to nil. Doc fix.
10020 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10022 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10023 (bat-mode): Use it.
10024 (bat-mode-syntax-table): Mark \n as end-of-comment.
10025 (bat-font-lock-keywords): Remove comment rule.
10027 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10028 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10030 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10031 (byte-compile-callargs-warn): Use `push'.
10032 (byte-compile-arglist-warn): Ignore higher-order "calls".
10033 (byte-compile-file-form-autoload): Use `pcase'.
10034 (byte-compile-function-form): If quoting a symbol, check that it exists.
10036 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10038 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10039 and add a few popular commands found in batch files.
10040 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10041 (dos-mode): Doc fixes.
10043 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10045 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10046 (dos-mode): Use setq-local. Add space after "rem".
10047 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10048 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10050 2013-08-07 Arni Magnusson <arnima@hafro.is>
10052 * progmodes/dos.el: New file.
10053 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10056 2013-08-06 Glenn Morris <rgm@gnu.org>
10058 * calendar/calendar.el: Add new faces, and day-header-array.
10059 (calendar-weekday-header, calendar-weekend-header)
10060 (calendar-month-header): New faces.
10061 (calendar-day-header-construct): New function.
10062 (calendar-day-header-width): Also :set calendar-day-header-array.
10063 (calendar-american-month-header, calendar-european-month-header)
10064 (calendar-iso-month-header): Use calendar- faces.
10065 (calendar-generate-month):
10066 Use calendar-day-header-array for day headers; apply faces to them.
10067 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10068 (calendar-abbrev-construct): Add optional maxlen argument.
10069 (calendar-day-name-array): Doc fix.
10070 (calendar-day-name-array, calendar-abbrev-length)
10071 (calendar-day-abbrev-array):
10072 Also :set calendar-day-header-array, and maybe redraw.
10073 (calendar-day-header-array): New option. (Bug#15007)
10074 (calendar-font-lock-keywords): Set to nil and make obsolete.
10075 (calendar-day-name): Add option to use header array.
10077 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10079 * net/shr.el (shr-render-td): Remove debugging.
10080 (shr-render-td): Make width computation consistent by defaulting
10081 all zero-width columns to 10 characters. This may not be optimal,
10082 but it's at least consistent.
10083 (shr-make-table-1): Redo last change to fix the real problem in
10086 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10088 * files.el (cache-long-line-scans):
10089 Make obsolete alias to `cache-long-scans'.
10091 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10093 * frameset.el (frameset, frameset-filter-alist)
10094 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10095 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10096 (frameset-compute-pos): Rename from frameset--compute-pos,
10098 (frameset-move-onscreen): Use frameset-compute-pos.
10099 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10101 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10102 Fix typos in docstrings.
10104 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10106 * frame.el (get-other-frame): Tiny cleanup.
10108 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10110 * vc/vc.el (vc-default-ignore-completion-table):
10111 Silence byte-compiler warning.
10113 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10114 slot, which can indeed be nil.
10115 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10116 Move entry for `left' from persistent to live filter alist.
10117 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10119 (frameset-filter-params): When restoring a frame, copy items added to
10120 `filtered', to avoid unwittingly modifying the original parameters.
10121 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10122 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10124 * dired.el (dired-insert-directory): Revert change in revno:113117
10125 to use looking-at-p instead of looking-at. (Bug#15028)
10127 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10129 Revert introduction of isearch-filter-predicates (bug#14714).
10130 Rely on add-function instead.
10131 * isearch.el (isearch-filter-predicates): Rename it back to
10132 isearch-filter-predicate.
10133 (isearch-message-prefix): Use advice-function-mapc and advice
10134 properties to get the isearch-message-prefix.
10135 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10136 instead of run-hook-with-args-until-failure.
10137 (isearch-filter-visible): Not obsolete any more.
10138 * loadup.el: Preload nadvice.
10139 * replace.el (perform-replace): Revert to funcall
10140 instead of run-hook-with-args-until-failure.
10141 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10142 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10143 dired-isearch-filenames-toggle; make it into a proper minor mode.
10144 Use add/remove-function.
10145 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10146 Call the minor-mode rather than add/remove-hook.
10147 (dired-isearch-filter-filenames):
10148 Remove isearch-message-prefix property.
10149 * info.el (Info--search-loop): New function, extracted from Info-search.
10150 Funcall isearch-filter-predicate instead of
10151 run-hook-with-args-until-failure isearch-filter-predicates.
10152 (Info-search): Use it.
10153 (Info-mode): Use isearch-filter-predicate instead of
10154 isearch-filter-predicates.
10156 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10158 Do not call to `selected-window' where it is assumed by default.
10159 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10160 `window-hscroll', `window-width', `window-height', `window-buffer',
10161 `window-frame', `window-start', `window-point', `next-window'
10162 and `window-display-table'.
10163 * abbrev.el (abbrev--default-expand):
10164 * bs.el (bs--show-with-configuration):
10165 * buff-menu.el (Buffer-menu-mouse-select):
10166 * calc/calc.el (calc):
10167 * calendar/calendar.el (calendar-generate-window):
10168 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10169 (diary-make-entry):
10170 * comint.el (send-invisible, comint-dynamic-complete-filename)
10171 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10172 * completion.el (complete):
10173 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10174 * disp-table.el (describe-current-display-table):
10175 * doc-view.el (doc-view-insert-image):
10176 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10177 * ehelp.el (with-electric-help):
10178 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10179 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10180 * emacs-lisp/helper.el (Helper-help-scroller):
10181 * emulation/cua-base.el (cua--post-command-handler-1):
10182 * eshell/esh-mode.el (eshell-output-filter):
10183 * ffap.el (ffap-gnus-wrapper):
10184 * help-macro.el (make-help-screen):
10185 * hilit-chg.el (highlight-compare-buffers):
10186 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10187 * hl-line.el (global-hl-line-highlight):
10188 * icomplete.el (icomplete-simple-completing-p):
10189 * isearch.el (isearch-done):
10190 * jit-lock.el (jit-lock-stealth-fontify):
10191 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10192 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10193 * mpc.el (mpc-tagbrowser, mpc):
10194 * net/rcirc.el (rcirc-any-buffer):
10195 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10196 * play/landmark.el (landmark-max-width, landmark-max-height):
10197 * play/zone.el (zone):
10198 * progmodes/compile.el (compilation-goto-locus):
10199 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10200 * progmodes/etags.el (find-tag-other-window):
10201 * progmodes/fortran.el (fortran-column-ruler):
10202 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10203 * progmodes/verilog-mode.el (verilog-point-text):
10204 * reposition.el (reposition-window):
10205 * rot13.el (toggle-rot13-mode):
10206 * server.el (server-switch-buffer):
10207 * shell.el (shell-dynamic-complete-command)
10208 (shell-dynamic-complete-environment-variable):
10209 * simple.el (insert-buffer, set-selective-display)
10210 (delete-completion-window):
10211 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10212 (speedbar-recenter):
10213 * startup.el (fancy-splash-head):
10214 * textmodes/ispell.el (ispell-command-loop):
10215 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10216 * tutorial.el (help-with-tutorial):
10217 * vc/add-log.el (add-change-log-entry):
10218 * vc/compare-w.el (compare-windows):
10219 * vc/ediff-help.el (ediff-indent-help-message):
10220 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10221 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10222 (ediff-setup-control-frame):
10223 * vc/emerge.el (emerge-position-region):
10224 * vc/pcvs-util.el (cvs-bury-buffer):
10225 * window.el (walk-windows, mouse-autoselect-window-select):
10226 * winner.el (winner-set-conf, winner-undo): Related users changed.
10228 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10230 * frameset.el (frameset--set-id): Doc fix.
10231 (frameset-frame-id, frameset-frame-id-equal-p)
10232 (frameset-locate-frame-id): New functions.
10233 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10234 (frameset-restore): Use them.
10236 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10238 Do not call to `selected-frame' where it is assumed by default.
10239 Affected functions are `raise-frame', `redraw-frame',
10240 `frame-first-window', `frame-terminal' and `delete-frame'.
10241 * calendar/appt.el (appt-disp-window):
10242 * epg.el (epg-wait-for-completion):
10243 * follow.el (follow-delete-other-windows-and-split)
10244 (follow-avoid-tail-recenter):
10245 * international/mule.el (set-terminal-coding-system):
10246 * mail/rmail.el (rmail-mail-return):
10247 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10248 * progmodes/f90.el (f90-add-imenu-menu):
10249 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10250 * server.el (server-switch-buffer):
10251 * simple.el (delete-completion-window):
10253 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10254 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10255 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10256 * vc/ediff.el (ediff-documentation): Related users changed.
10257 * frame.el (selected-terminal): Remove the leftover.
10259 2013-08-05 Glenn Morris <rgm@gnu.org>
10261 * calendar/calendar.el (calendar-generate-month):
10262 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10263 (calendar-generate-month, calendar-font-lock-keywords):
10264 Fix for calendar-day-header-width > length of any day name.
10266 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10268 * desktop.el (desktop-clear): Use new name of sort predicate.
10270 * frameset.el (frameset): Add docstring. Move :version property to its
10271 own `version' slot.
10272 (frameset-copy): Rename from copy-frameset.
10273 (frameset-p): Check more thoroughly.
10274 (frameset-prop): Do not check for :version, which is no longer a prop.
10275 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10276 Use new :never value instead of t.
10277 (frameset-filter-alist): Expand and clarify docstring.
10278 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10279 (frameset-filter-minibuffer, frameset-filter-save-param)
10280 (frameset-filter-restore-param, frameset-filter-iconified):
10281 Add pointer to docstring of frameset-filter-alist.
10282 (frameset-filter-params): Rename filter values to be more meaningful:
10283 :never instead of t, and reverse the meanings of :save and :restore.
10284 (frameset--process-minibuffer-frames): Clarify error message.
10285 (frameset-save): Avoid unnecessary and confusing call to framep.
10286 Use new BOA constructor for framesets.
10287 (frameset--reuse-list): Doc fix.
10288 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10289 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10290 (frameset-minibufferless-first-p): Doc fix.
10291 Rename from frameset-sort-frames-for-deletion.
10292 (frameset-restore): Doc fixes. Use new function names.
10293 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10295 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10297 * desktop.el (desktop-restore-forces-onscreen)
10298 (desktop-restore-reuses-frames): Document :keyword constant values.
10299 (desktop-filter-parameters-alist): Remove, now identical to
10300 frameset-filter-alist.
10301 (desktop--filter-tty*): Remove, moved to frameset.el.
10302 (desktop-save-frameset, desktop-restore-frameset):
10303 Do not pass :filters argument.
10305 * frameset.el (frameset-live-filter-alist)
10306 (frameset-persistent-filter-alist): New variables.
10307 (frameset-filter-alist): Use them. Add autoload cookie.
10308 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10309 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10310 `frameset--id' (it's supposed to be internal to frameset.el).
10311 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10312 (frameset--initial-params): New function.
10313 (frameset--get-frame): Use it. Doc fix.
10314 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10315 Accept :all, not 'all.
10316 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10317 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10318 with fbound symbols. Fix frame id matching, and remove matching ids if
10319 the frame being restored is deleted. Obey :delete.
10321 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10323 * subr.el (macrop): New function.
10324 (text-clone--maintaining): New var.
10325 (text-clone--maintain): Rename from text-clone-maintain. Use it
10326 instead of inhibit-modification-hooks.
10328 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10329 a proxy, so as handle autoloads and redefinitions of the target.
10330 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10332 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10333 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10334 (pcase--mutually-exclusive-p): New function.
10335 (pcase--split-consp): Use it.
10336 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10337 mutually exclusive with the current predicate.
10339 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10340 (edebug-macrop): Remove. Use `macrop' instead.
10341 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10343 * eshell/esh-cmd.el (eshell-macrop):
10344 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10346 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10348 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10349 (advice-mapc): New function, using it.
10350 (advice-function-member-p): New function.
10351 (advice--normalize): Store the cdr in advice--saved-rewrite since
10352 that's the part that will be changed.
10353 (advice--symbol-function): New function.
10354 (advice-remove): Handle removal before the function is defined.
10355 Adjust to new advice--saved-rewrite.
10356 (advice-member-p): Use advice-function-member-p and
10357 advice--symbol-function.
10359 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10361 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10362 (frameset-filter-minibuffer): Doc fix.
10363 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10364 (frameset--set-id, frameset--process-minibuffer-frames)
10365 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10366 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10368 * desktop.el (desktop-clear): Only delete frames when called
10369 interactively and desktop-restore-frames is non-nil. Doc fix.
10370 (desktop-read): Set desktop-saved-frameset to nil.
10372 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10374 * vc/vc.el (vc-ignore): Rewrite.
10375 (vc-default-ignore-completion-table, vc--read-lines)
10376 (vc--add-line, vc--remove-regexp): New functions.
10378 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10379 (vc-svn-ignore-completion-table): New function.
10381 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10382 (vc-hg-ignore-completion-table)
10383 (vc-hg-find-ignore-file): New functions.
10385 * vc/vc-git.el (vc-git-ignore): Rewrite.
10386 (vc-git-ignore-completion-table)
10387 (vc-git-find-ignore-file): New functions.
10389 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10391 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10392 (vc-bzr-ignore-completion-table)
10393 (vc-bzr-find-ignore-file): New functions.
10395 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10397 * frameset.el (frameset-prop): New function and setter.
10398 (frameset-save): Do not modify frame list passed by the caller.
10400 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10402 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10404 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10406 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10407 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10409 * custom.el (custom-initialize-default, custom-initialize-set)
10410 (custom-initialize-reset, custom-initialize-changed): Affect the
10411 toplevel-default-value (bug#6275, bug#14586).
10412 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10415 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10417 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10418 Add cl-def* expressions.
10420 * frameset.el (frameset-filter-params): Fix order of arguments.
10422 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10424 Move code related to saving frames to frameset.el.
10425 * desktop.el: Require frameset.
10426 (desktop-restore-frames): Doc fix.
10427 (desktop-restore-reuses-frames): Rename from
10428 desktop-restoring-reuses-frames.
10429 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10430 (desktop-clear): Clear frames too.
10431 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10432 (desktop--filter-tty*, desktop-save, desktop-read):
10433 Use frameset functions.
10434 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10435 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10436 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10437 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10438 (desktop--process-minibuffer-frames, desktop-save-frames)
10439 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10440 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10441 (desktop--sort-states, desktop-restoring-frames-p)
10442 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10443 (desktop-restoring-frameset-p, desktop-restore-frameset)
10444 (desktop--check-dont-save, desktop-save-frameset): New functions.
10445 (desktop--app-id): New constant.
10446 (desktop-first-buffer, desktop-buffer-ok-count)
10447 (desktop-buffer-fail-count): Move before first use.
10448 * frameset.el: New file.
10450 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10452 * files.el: Use lexical-binding.
10453 (dir-locals-read-from-file): Remove unused `err' variable.
10454 (hack-dir-local-variables--warned-coding): New var.
10455 (hack-dir-local-variables): Use it to avoid repeated warnings.
10456 (make-backup-file-name--default-function): New function.
10457 (make-backup-file-name-function): Use it as default.
10458 (buffer-stale--default-function): New function.
10459 (buffer-stale-function): Use it as default.
10460 (revert-buffer-insert-file-contents--default-function): New function.
10461 (revert-buffer-insert-file-contents-function): Use it as default.
10462 (insert-directory): Avoid add-to-list.
10464 * autorevert.el (auto-revert-handler): Simplify.
10465 Use buffer-stale--default-function.
10467 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10469 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10471 * whitespace.el (whitespace-ensure-local-variables): New function.
10472 (whitespace-cleanup-region): Call it.
10473 (whitespace-turn-on): Call it.
10475 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10477 Complete file name handlers.
10479 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10480 (tramp-handle-verify-visited-file-modtime)
10481 (tramp-handle-file-notify-rm-watch): New functions.
10482 (tramp-call-process): Do not bind `default-directory'.
10484 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10485 Order alphabetically.
10486 <access-file, add-name-to-file, dired-call-process>:
10487 <dired-compress-file, file-acl, file-notify-rm-watch>:
10488 <file-ownership-preserved-p, file-selinux-context>:
10489 <make-directory-internal, make-symbolic-link, set-file-acl>:
10490 <set-file-selinux-context, set-visited-file-modtime>:
10491 <verify-visited-file-modtime>: Add handler.
10492 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10494 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10495 <file-notify-add-watch, file-notify-rm-watch>:
10496 <set-file-times, set-visited-file-modtime>:
10497 <verify-visited-file-modtime>: Add handler.
10498 (with-tramp-gvfs-error-message)
10499 (tramp-gvfs-handle-set-visited-file-modtime)
10500 (tramp-gvfs-fuse-file-name): Remove.
10501 (tramp-gvfs-handle-file-notify-add-watch)
10502 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10503 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10505 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10506 Order alphabetically.
10507 <file-notify-rm-watch>: Use default Tramp handler.
10508 <executable-find>: Remove private handler.
10509 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10510 `default-directory'.
10511 (tramp-sh-handle-executable-find)
10512 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10513 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10514 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10515 Do not use `format' in `tramp-message'.
10517 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10518 <file-notify-rm-watch, set-visited-file-modtime>:
10519 <verify-visited-file-modtime>: Add handler.
10520 (tramp-smb-call-winexe): Do not bind `default-directory'.
10522 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10524 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10526 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10528 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10530 (log-view-diff-changeset): Same.
10531 (log-view-diff-common): Call backend command `previous-revision'
10532 to find out the previous revision, in both cases. Swap the
10533 variables `to' and `fr', so that `fr' usually refers to the
10534 earlier revision (Bug#14989).
10536 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10538 * ibuf-ext.el (ibuffer-filter-by-filename):
10539 Make it work with dired buffers too.
10541 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10543 * emacs-lisp/re-builder.el (reb-color-display-p):
10544 * files.el (save-buffers-kill-terminal):
10545 * net/browse-url.el (browse-url):
10546 * server.el (server-save-buffers-kill-terminal):
10547 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10548 Prefer nil to selected-frame for the first arg of frame-parameter.
10550 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10552 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10554 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10556 * minibuffer.el (completion--twq-all): Try and preserve each
10557 completion's case choice (bug#14907).
10559 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10561 * net/network-stream.el (open-network-stream): Mention the new
10562 :nogreeting parameter.
10563 (network-stream-open-starttls): Use the :nogreeting parameter
10566 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10568 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10569 more natural than popping.
10571 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10572 (shr-urlify): Highlight under mouse.
10574 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10576 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10578 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10580 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10583 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10584 point-min==1. Fix search string. Fix parentheses missing.
10586 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10587 assume point-min==1. Fix search string. Fix parentheses missing.
10589 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10591 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10594 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10596 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10597 initial frame is minibuffer-less. (Bug#14841)
10599 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10601 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10604 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10605 (tramp-maybe-open-connection): Use it.
10607 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10609 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10610 minimal set of parameters passed when creating a frame, because
10611 the minibuffer status of a frame cannot be changed later.
10613 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10615 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10616 replace-regexp-in-string and inadvertent omissions in previous change.
10617 (todo-filter-items): Ensure only file names are comma-separated in
10618 name of filtered items buffer.
10620 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10622 * desktop.el: Optionally force offscreen frames back onscreen.
10623 (desktop-restoring-reuses-frames): New option.
10624 (desktop--compute-pos, desktop--move-onscreen): New functions.
10625 (desktop--make-frame): Use desktop--move-onscreen.
10627 2013-07-27 Alan Mackenzie <acm@muc.de>
10629 Fontify a Java generic method as a function.
10630 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10633 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10635 * calendar/todo-mode.el: Add command to rename todo files.
10636 (todo-rename-file): New command.
10637 (todo-key-bindings-t): Add key binding for it. Change the
10638 bindings of todo-filter-regexp-items(-multifile) to use `x'
10639 instead of `r', since the latter is better suited to the new
10642 2013-07-27 Alan Mackenzie <acm@muc.de>
10644 Make Java try-with-resources statement parse properly.
10645 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10646 (c-block-stmt-1-2-key): New language constants/variables.
10647 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10648 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10649 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10650 with c-block-stmt-1-2-key.
10652 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10654 * desktop.el (desktop--make-frame): Apply most frame parameters after
10655 creating the frame to force (partially or totally) offscreen frames to
10656 be restored as such.
10658 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10660 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10663 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10665 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10666 `base' arg of backtrace-frame.
10668 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10670 * simple.el (list-processes): Doc fix.
10672 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10674 * desktop.el (desktop--select-frame):
10675 Try harder to reuse existing frames.
10677 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10679 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10680 (edebug-eval): Use backtrace-eval.
10681 (edebug--display, edebug--recursive-edit): Don't let-bind the
10682 edebug-outer-* vars that keep track of variables we locally let-bind.
10683 (edebug-outside-excursion): Don't restore outside values of locally
10685 (edebug--display): Use user-error.
10686 (cl-lexical-debug, cl-debug-env): Remove.
10688 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10690 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10691 are restored to be sure that they are visible before deleting any
10694 2013-07-26 Matthias Meulien <orontee@gmail.com>
10696 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10697 vc-print-root-log. (Bug#14948)
10699 2013-07-26 Richard Stallman <rms@gnu.org>
10701 Add aliases for encrypting mail.
10702 * epa.el (epa-mail-aliases): New option.
10703 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10704 Bind inhibit-read-only so read-only text doesn't ruin everything.
10705 (epa-mail-default-recipients): New subroutine broken out.
10706 Handle epa-mail-aliases.
10708 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10710 Add support for lexical variables to the debugger's `e' command.
10711 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10712 vars, except for debugger-outer-match-data.
10713 (debugger-frame-number): Move check for "on a function call" from
10714 callers into it. Add `skip-base' argument.
10715 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10716 (debugger-env-macro): Only reset the state stored in non-variables,
10717 i.e. current-buffer and match-data.
10718 (debugger-eval-expression): Rewrite using backtrace-eval.
10719 * subr.el (internal--called-interactively-p--get-frame): Remove.
10720 (called-interactively-p):
10721 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10722 `base' arg of backtrace-frame instead.
10724 2013-07-26 Glenn Morris <rgm@gnu.org>
10726 * align.el (align-regexp): Doc fix. (Bug#14857)
10727 (align-region): Explicit error if subexpression missing/does not match.
10729 * simple.el (global-visual-line-mode):
10730 Do not duplicate the mode lighter. (Bug#14858)
10732 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10734 * window.el (display-buffer): In display-buffer bind
10735 split-window-keep-point to t, bug#14829.
10737 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10739 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10740 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10741 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10742 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10743 Change accordingly.
10744 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10745 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10747 2013-07-25 Glenn Morris <rgm@gnu.org>
10749 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10751 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10753 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10754 parameter to modify-frame-parameters if the value has not changed;
10755 this is a workaround for bug#14949.
10756 (desktop--make-frame): On cl-delete-if call, check parameter name,
10757 not full parameter.
10759 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10761 * vc/vc.el (vc-ignore): New function.
10763 * vc/vc-svn.el (vc-svn-ignore): New function.
10765 * vc/vc-hg.el (vc-hg-ignore): New function.
10767 * vc/vc-git.el (vc-git-ignore): New function.
10769 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10770 (vc-dir-ignore): New function.
10772 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10773 (cvs-append-to-ignore): Move here from pcvs.el.
10775 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10777 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10779 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10781 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10782 (desktop-restore-frames): Warn when deleting an existing frame failed.
10784 2013-07-24 Glenn Morris <rgm@gnu.org>
10786 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10788 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10790 * filenotify.el (file-notify-supported-p):
10791 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10794 * autorevert.el (auto-revert-use-notify)
10795 (auto-revert-notify-add-watch):
10796 * net/tramp.el (tramp-file-name-for-operation):
10797 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10798 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10799 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10800 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10801 Remove `file-notify-supported-p' entry.
10803 2013-07-24 Glenn Morris <rgm@gnu.org>
10805 * printing.el: Replace all uses of deleted ps-windows-system,
10806 ps-lp-system, ps-flatten-list with lpr- versions.
10808 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10810 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10811 checked with memq (bug#14935).
10813 * files.el (revert-buffer-function): Use a non-nil default.
10814 (revert-buffer-preserve-modes): Declare var to
10815 provide access to the `preserve-modes' argument.
10816 (revert-buffer): Let-bind it.
10817 (revert-buffer--default): New function, extracted from revert-buffer.
10819 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10821 * lpr.el: Signal print errors more prominently.
10822 (print-region-function): Don't default to nil.
10823 (lpr-print-region): New function, extracted from print-region-1.
10824 Check lpr's return value and signal an error in case of problem.
10825 (print-region-1): Use it.
10826 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10828 (ps-printer-name): Default to nil.
10829 (ps-printer-name-option): Default to lpr-printer-switch.
10830 (ps-print-region-function): Don't default to nil.
10831 (ps-postscript-code-directory): Simplify default.
10832 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10833 (ps-string-list, ps-eval-switch, ps-flatten-list)
10834 (ps-flatten-list-1): Remove.
10835 (ps-multibyte-buffer): Avoid setq.
10836 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10837 (print-region-function, ps-print-region-function): Don't set them here.
10839 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10841 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10842 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10843 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10844 (ido-decorations): Doc fix.
10846 * ansi-color.el: Fix old URL.
10848 2013-07-23 Michael R. Mauger <michael@mauger.com>
10850 * progmodes/sql.el: Version 3.3
10851 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10852 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10853 (sql-interactive-remove-continuation-prompt): Rewrite, use
10854 functions above. Fix continuation prompt and complete output line
10856 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10857 redirected output buffer.
10858 (sql-mode): Restore deleted code (Bug#13591).
10860 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10862 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10864 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10866 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10868 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10869 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10870 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10872 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10874 * desktop.el (desktop-clear): Simplify; remove useless checks
10875 against invalid buffer names.
10876 (desktop-list*): Use cl-list*.
10877 (desktop-buffer-info, desktop-create-buffer): Simplify.
10879 2013-07-23 Leo Liu <sdl.web@gmail.com>
10881 * bookmark.el (bookmark-make-record): Restore NAME as a default
10884 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10886 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10887 extracted from autoload--insert-text.
10888 (autoload--insert-text): Remove.
10889 (autoload--print-cookie-text): New function, extracted from
10890 autoload--insert-cookie-text.
10891 (autoload--insert-cookie-text): Remove.
10892 (autoload-generate-file-autoloads): Adjust calls accordingly.
10894 * winner.el (winner-hook-installed-p): Remove.
10895 (winner-mode): Simplify accordingly.
10897 * subr.el (add-to-list): Fix compiler-macro when `append' is
10898 not constant. Don't use `cl-member' for the base case.
10900 * progmodes/subword.el: Fix boundary case (bug#13758).
10901 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10903 (subword-backward-regexp): Make it a constant.
10904 (subword-forward-internal): Don't treat a trailing capital as the
10905 beginning of a word.
10907 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10909 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10910 global value of tabulated-list-revert-hook (bug#14930).
10912 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10914 * desktop.el: Require 'cl-lib.
10915 (desktop-before-saving-frames-functions): New hook.
10916 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10917 for frames being saved. Rename from desktop--save-minibuffer-frames.
10918 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10919 Do not save frames with non-nil `desktop-dont-save' parameter.
10920 Filter out deleted frames.
10921 (desktop--find-frame): Use cl-find-if.
10922 (desktop--select-frame): Use cl-(first|second|third) to access values
10924 (desktop--make-frame): Use cl-delete-if.
10925 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10926 (desktop-restore-frames): Use cl-(first|second|third) to access values
10927 of desktop-mini. Look for visible frame at the end, not while
10930 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10931 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10932 Use string-match-p, looking-at-p (bug#14927).
10934 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10936 * desktop.el (desktop-saved-frame-states):
10937 Rename from desktop--saved-states; all users changed.
10938 (desktop-save-frames): Rename from desktop--save-frames.
10939 Do not save state to desktop file.
10940 (desktop-save): Save desktop-saved-frame-states to desktop file
10942 (desktop-restoring-frames-p): New function.
10943 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10944 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10945 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10947 * desktop.el: Correctly restore iconified frames.
10948 (desktop--filter-iconified-position): New function.
10949 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10951 2013-07-20 Glenn Morris <rgm@gnu.org>
10953 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10954 Let `message' do the formatting.
10955 (def-gdb-preempt-display-buffer): Add explicit format.
10957 * image-dired.el (image-dired-track-original-file):
10958 Use with-current-buffer.
10959 (image-dired-track-thumbnail): Use with-current-buffer.
10960 Avoid changing point of wrong window.
10962 * image-dired.el (image-dired-track-original-file):
10963 Avoid changing point of wrong window. (Bug#14909)
10965 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10967 * progmodes/gdb-mi.el (gdb-done-or-error):
10968 Guard against "%" in gdb output. (Bug#14127)
10970 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10972 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10975 * international/mule.el (coding-system-iso-2022-flags): Fix last
10978 2013-07-20 Kenichi Handa <handa@gnu.org>
10980 * international/mule.el (coding-system-iso-2022-flags):
10981 Add `8-bit-level-4'. (Bug#8522)
10983 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10985 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10988 * net/eww.el (eww-process-text-input): Allow inputting when the
10989 point is at the start of the line, as the properties aren't
10992 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10995 2013-07-19 Richard Stallman <rms@gnu.org>
10997 * epa.el (epa-popup-info-window): Doc fix.
10999 * subr.el (split-string): New arg TRIM.
11001 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11003 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11004 Add check for W32 (followup to revno:113431).
11006 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11008 * filenotify.el (file-notify--library): Rename from
11009 `file-notify-support'. Do not autoload. Adapt all uses.
11010 (file-notify-supported-p): New defun.
11012 * autorevert.el (auto-revert-use-notify):
11013 Use `file-notify-supported-p' instead of `file-notify-support'.
11015 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11017 * net/tramp.el (tramp-file-name-for-operation):
11018 Add `file-notify-supported-p'.
11020 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11022 (tramp-sh-file-name-handler-alist): Add it as handler for
11023 `file-notify-supported-p '.
11025 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11026 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11027 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11028 Add `ignore' as handler for `file-notify-*' functions.
11030 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11032 * simple.el (line-move-partial, line-move): Don't start vscroll or
11033 scroll-up if the current line is not taller than the window.
11036 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11038 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11039 highlight question marks in the method names as strings.
11040 (ruby-block-beg-keywords): Inline.
11041 (ruby-font-lock-keyword-beg-re): Extract from
11042 `ruby-font-lock-keywords'.
11044 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11046 * frame.el (blink-cursor-blinks): New defcustom.
11047 (blink-cursor-blinks-done): New defvar.
11048 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11049 (blink-cursor-timer-function): Check if number of blinks has been
11051 (blink-cursor-suspend, blink-cursor-check): New defuns.
11053 2013-07-15 Glenn Morris <rgm@gnu.org>
11055 * edmacro.el (edmacro-format-keys): Fix previous change.
11057 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11059 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11060 The hack didn't work outside English locales anyway.
11062 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11064 * simple.el (define-alternatives): Rename from alternatives-define,
11065 per RMS' suggestion.
11067 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11069 * desktop.el (desktop-restore-frames): Change default to t.
11070 (desktop-restore-in-current-display): Now offer more options.
11071 (desktop-restoring-reuses-frames): New customization option.
11072 (desktop--saved-states): Doc fix.
11073 (desktop-filter-parameters-alist): New variable, renamed and expanded
11074 from desktop--excluded-frame-parameters.
11075 (desktop--target-display): New variable.
11076 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11077 (desktop--filter-tty*, desktop--filter-*-color)
11078 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11079 (desktop--filter-save-desktop-parm)
11080 (desktop-restore-in-original-display-p): New functions.
11081 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11082 (desktop--save-minibuffer-frames): New function, inspired by a similar
11083 function from Martin Rudalics.
11084 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11085 (desktop--restore-in-this-display-p): Remove.
11086 (desktop--find-frame): Rename from desktop--find-frame-in-display
11087 and add predicate argument.
11088 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11089 (desktop--reuse-list): New variable.
11090 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11092 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11094 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11096 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11098 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11100 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11101 Highlight conversion methods on Kernel.
11103 2013-07-13 Alan Mackenzie <acm@muc.de>
11105 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11106 and comment it out. This out-commenting enables certain C++
11107 declarations to be parsed correctly.
11109 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11111 * international/mule.el (define-coding-system): Doc fix.
11113 * simple.el (default-font-height): Don't call font-info if the
11114 frame's default font didn't change since the frame was created.
11117 2013-07-13 Leo Liu <sdl.web@gmail.com>
11119 * ido.el (ido-read-file-name): Guard against non-symbol value.
11121 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11123 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11126 2013-07-13 Leo Liu <sdl.web@gmail.com>
11128 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11129 ido-set-matches call. (Bug#6852)
11131 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11133 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11134 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11136 (ruby-font-lock-keywords): Distinguish calls to functions with
11137 module-like names from module references. Highlight character
11140 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11142 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11143 (gdb-send): Handle continued commands. (Bug#14847)
11145 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11147 * desktop.el (desktop--v2s): Remove unused local variable.
11148 (desktop-save-buffer): Make defvar-local; adjust docstring.
11149 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11150 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11152 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11154 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11156 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11158 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11161 2013-07-12 Glenn Morris <rgm@gnu.org>
11163 * doc-view.el: Require cl-lib at runtime too.
11164 (doc-view-remove-if): Remove.
11165 (doc-view-search-next-match, doc-view-search-previous-match):
11168 * edmacro.el: Require cl-lib at runtime too.
11169 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11170 (edmacro-mismatch, edmacro-subseq): Remove.
11172 * shadowfile.el: Require cl-lib.
11173 (shadow-remove-if): Remove.
11174 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11177 * wid-edit.el: Require cl-lib.
11178 (widget-choose): Use cl-remove-if.
11179 (widget-remove-if): Remove.
11181 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11182 (ebrowse-delete-if-not): Remove.
11183 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11184 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11185 Use cl-delete-if-not.
11187 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11189 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11190 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11192 2013-07-12 Leo Liu <sdl.web@gmail.com>
11194 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11196 2013-07-11 Glenn Morris <rgm@gnu.org>
11198 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11199 (edebug-gensym-index, edebug-gensym):
11200 Remove reimplementation of cl-gensym.
11201 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11203 * thumbs.el: Require cl-lib at run-time too.
11204 (thumbs-gensym-counter, thumbs-gensym):
11205 Remove reimplementation of cl-gensym.
11206 (thumbs-temp-file): Use cl-gensym.
11208 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11209 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11210 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11211 (ert--union, ert--gensym-counter, ert--gensym-counter)
11212 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11213 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11214 (ert-make-test-unbound, ert--expand-should-1)
11215 (ert--expand-should, ert--should-error-handle-error)
11216 (should-error, ert--explain-equal-rec)
11217 (ert--plist-difference-explanation, ert-select-tests)
11218 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11219 Use cl-lib functions rather than reimplementations.
11221 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11223 * net/tramp.el (tramp-methods): Extend docstring.
11224 (tramp-connection-timeout): New defcustom.
11225 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11226 (with-tramp-progress-reporter): Simplify.
11227 (tramp-process-actions): Improve messages.
11229 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11230 * net/tramp-sh.el (tramp-maybe-open-connection):
11231 Use `tramp-connection-timeout'.
11232 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11235 2013-07-11 Leo Liu <sdl.web@gmail.com>
11237 * ido.el (ido-read-file-name): Conform to the requirements of
11238 read-file-name. (Bug#11861)
11239 (ido-read-directory-name): Conform to the requirements of
11240 read-directory-name.
11242 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11244 * subr.el (delay-warning): New function.
11246 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11248 * simple.el (default-line-height): New function.
11249 (line-move-partial, line-move): Use it instead of computing the
11250 line height inline.
11251 (line-move-partial): Always compute ROWH. If the last line is
11252 partially-visible, but its text is completely visible, allow
11253 cursor to enter such a partially-visible line.
11255 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11257 Improve error messages. (Bug#14808)
11259 * net/tramp.el (tramp-current-connection): New defvar, moved from
11261 (tramp-message-show-progress-reporter-message): Remove, not
11263 (tramp-error-with-buffer): Show message in minibuffer.
11264 Discard input before waiting. Reset connection timestamp.
11265 (with-tramp-progress-reporter): Improve messages.
11266 (tramp-process-actions): Use progress reporter. Delete process in
11267 case of error. Improve messages.
11269 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11270 Call `tramp-error-with-buffer' with vector and buffer.
11271 (tramp-current-connection): Remove.
11272 (tramp-maybe-open-connection): The car of
11273 `tramp-current-connection' are the first 3 slots of the vector.
11275 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11277 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11278 inside continued strings.
11280 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11282 Timestamp fixes for undo (Bug#14824).
11283 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11285 2013-07-10 Leo Liu <sdl.web@gmail.com>
11287 * files.el (require-final-newline): Allow safe local value.
11290 2013-07-09 Leo Liu <sdl.web@gmail.com>
11292 * ido.el (ido-read-directory-name): Handle fallback.
11293 (ido-read-file-name): Update DIR to ido-current-directory.
11295 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11297 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11299 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11300 "autoload". Remove "warn lower camel case" section, previously
11301 commented out. Highlight negation char. Do not highlight the
11302 target in singleton method definitions.
11304 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11306 * faces.el (tty-setup-hook): Declare the hook.
11308 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11309 and detect when a guard/pred depends on local vars (bug#14773).
11310 (pcase--u1): Adjust caller.
11312 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11314 * simple.el (line-move-partial, line-move): Account for
11316 (line-move-partial): Avoid setting vscroll when the last
11317 partially-visible line in window is of default height.
11319 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11321 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11324 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11326 * subr.el (read-quoted-char): Remove unused local variable `char'.
11328 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11330 * vc/ediff.el (ediff-version): Version update.
11331 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11332 (ediff-merge-with-ancestor-command, ediff-directories-command)
11333 (ediff-directories3-command, ediff-merge-directories-command)
11334 (ediff-merge-directories-with-ancestor-command): New functions.
11335 All are command-line interfaces to ediff: to facilitate calling
11336 Emacs with the appropriate ediff functions invoked.
11338 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11340 (viper-save-kill-buffer): Check if buffer is modified.
11342 * emulation/viper.el (viper-version): Version update.
11343 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11345 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11347 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11348 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11349 (viper-intercept-ESC-key): Simplify.
11350 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11352 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11353 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11354 (viper-setup-ESC-to-escape): New functions.
11355 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11356 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11358 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11360 * simple.el (default-font-height, window-screen-lines):
11362 (line-move, line-move-partial): Use them instead of
11363 frame-char-height and window-text-height. This makes scrolling
11364 text smoother when the buffer's default face uses a font that is
11365 different from the frame's default font.
11367 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11369 * files.el (write-file): Do not display confirm dialog for NS,
11370 it does its own dialog, which can't be canceled (Bug#14578).
11372 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11374 * simple.el (line-move-partial): Adjust the row returned by
11375 posn-at-point for the current window-vscroll. (Bug#14567)
11377 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11379 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11380 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11383 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11385 * window.el (window-state-put-stale-windows): New variable.
11386 (window--state-put-2): Save list of windows without matching buffer.
11387 (window-state-put): Remove "bufferless" windows if possible.
11389 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11391 * simple.el (alternatives-define): Remove leftover :group keyword.
11394 2013-07-06 Leo Liu <sdl.web@gmail.com>
11396 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11397 (ido-enable-virtual-buffers): New variable.
11398 (ido-buffer-internal, ido-toggle-virtual-buffers)
11399 (ido-make-buffer-list): Use it.
11400 (ido-exhibit): Support turning on and off virtual buffers
11403 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11405 * simple.el (alternatives-define): New macro.
11407 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11409 * subr.el (read-quoted-char): Use read-key.
11410 (sit-for): Let read-event decode tty input (bug#14782).
11412 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11414 * calendar/todo-mode.el: Add handling of file deletion, both by
11415 mode command and externally. Fix various related bugs.
11416 Clarify Commentary and improve some documentation strings and code.
11417 (todo-delete-file): New command.
11418 (todo-check-file): New function.
11419 (todo-show): Handle external deletion of the file we're trying to
11420 show (bug#14688). Replace called-interactively-p by an optional
11421 prefix argument to avoid problematic interaction with catch form
11422 when byte compiled (bug#14702).
11423 (todo-quit): Handle external deletion of the archive's todo file.
11424 Make sure the buffer that was visiting the archive file is still
11425 live before trying to bury it.
11426 (todo-category-completions): Handle external deletion of any
11427 category completion files.
11428 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11429 of todo files, in case of external deletion.
11430 (todo-add-file): Replace unnecessary setq by let-binding.
11431 (todo-find-archive): Check whether there are any archives.
11432 Replace unnecessary setq by let-binding.
11433 (todo-archive-done-item): Use find-file-noselect to get the
11434 archive buffer whether or not the archive already exists.
11435 Remove superfluous code. Use file size instead of buffer-file-name to
11436 check if the archive is new; if it is, update list of archives.
11437 (todo-default-todo-file): Allow nil to be a valid value for when
11438 there are no todo files.
11439 (todo-reevaluate-default-file-defcustom): Use corrected definition
11440 of todo-default-todo-file.
11441 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11442 (todo-delete-category, todo-show-categories-table)
11443 (todo-category-number): Clarify comment.
11444 (todo-filter-items): Clarify documentation string.
11445 (todo-show-current-file, todo-display-as-todo-file)
11446 (todo-reset-and-enable-done-separator): Tweak documentation string.
11447 (todo-done-separator): Make separator length window-width, since
11448 bug#2749 is now fixed.
11450 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11452 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11453 Support both "gvfs-monitor-dir" and "inotifywait".
11454 (tramp-sh-file-inotifywait-process-filter): Rename from
11455 `tramp-sh-file-notify-process-filter'.
11456 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11457 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11459 2013-07-05 Leo Liu <sdl.web@gmail.com>
11461 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11463 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11465 * frame.el (display-pixel-height, display-pixel-width)
11466 (display-mm-height, display-mm-width): Mention behavior on
11467 multi-monitor setups in docstrings.
11468 (w32-display-monitor-attributes-list): Declare function.
11469 (display-monitor-attributes-list): Use it.
11471 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11473 * filenotify.el: New package.
11475 * autorevert.el (top): Require filenotify.el.
11476 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11478 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11479 (auto-revert-notify-handler): Use `file-notify-*' functions.
11481 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11483 * net/tramp.el (tramp-file-name-for-operation):
11484 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11486 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11487 for `file-notify-add-watch' and `file-notify-rm-watch'.
11488 (tramp-process-sentinel): Improve trace.
11489 (tramp-sh-handle-file-notify-add-watch)
11490 (tramp-sh-file-notify-process-filter)
11491 (tramp-sh-handle-file-notify-rm-watch)
11492 (tramp-get-remote-inotifywait): New defuns.
11494 2013-07-03 Juri Linkov <juri@jurta.org>
11496 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11497 call of `occur-read-primary-args' to interactive spec.
11499 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11500 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11502 2013-07-03 Matthias Meulien <orontee@gmail.com>
11504 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11505 `Buffer-menu-multi-occur'. Add it to the menu.
11506 (Buffer-menu-mode): Document it in docstring.
11507 (Buffer-menu-multi-occur): New command. (Bug#14673)
11509 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11511 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11512 keywords and built-ins.
11514 2013-07-03 Glenn Morris <rgm@gnu.org>
11516 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11518 Make info-xref checks case-sensitive by default
11519 * info.el (Info-find-node, Info-find-in-tag-table)
11520 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11521 Add option for exact case matching of nodes.
11522 * info-xref.el (info-xref): New custom group.
11523 (info-xref-case-fold): New option.
11524 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11526 2013-07-03 Leo Liu <sdl.web@gmail.com>
11528 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11530 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11532 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11533 middle of block statement initially, lower the depth. Remove
11534 FIXME comment, not longer valid. Remove middle of block statement
11535 detection, no need to do that anymore since we've been using
11536 `ruby-parse-region' here.
11538 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11540 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11542 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11544 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11546 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11548 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11549 (desktop-restore-in-current-display): New customization option.
11550 (desktop--excluded-frame-parameters): Add `font'.
11551 (desktop--save-frames): Rename from desktop--save-windows.
11552 (desktop--restore-in-this-display-p): New function.
11553 (desktop--make-full-frame): Remove unwanted width/height from
11554 full(width|height) frames.
11555 (desktop--restore-frames): Rename from desktop--restore-windows.
11556 Obey desktop-restore-current-display. Do not delete old frames or
11557 select a new frame unless we were able to restore at least one frame.
11559 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11561 * files.el (find-file-noselect): Simplify conditional expression.
11563 * textmodes/remember.el (remember-append-to-file):
11564 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11566 Add `remember-notes' function to store random notes across Emacs
11568 * textmodes/remember.el (remember-data-file): Add :set callback to
11569 affect notes buffer (if any).
11570 (remember-notes): New command.
11571 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11572 New defcustoms for the `remember-notes' function.
11573 (remember-notes-save-and-bury-buffer): New command.
11574 (remember-notes-mode-map): New variable.
11575 (remember-mode): New minor mode.
11576 (remember-notes--kill-buffer-query): New function.
11577 * startup.el (initial-buffer-choice): Add notes to custom type.
11579 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11581 * bindings.el (right-char, left-char): Don't call sit-for, this is
11582 no longer needed. Use arithmetic comparison only for numerical
11585 * international/mule-cmds.el (select-safe-coding-system):
11586 Handle the case of FROM being a string correctly. (Bug#14755)
11588 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11590 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11591 progression on degenerate tables.
11592 (shr-rescale-image): ImageMagick animated images currently don't work.
11594 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11596 Some fixes and improvements for desktop frame restoration.
11597 It is still experimental and disabled by default.
11598 * desktop.el (desktop--save-windows): Put the selected frame at
11599 the head of the list.
11600 (desktop--make-full-frame): New function.
11601 (desktop--restore-windows): Try to re-select the frame that was
11602 selected upon saving. Do not abort if some frames fail to restore,
11603 just show an error message and continue. Set up maximized frames
11604 so they have default non-maximized dimensions.
11606 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11608 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11609 Don't start heredoc inside a string or comment.
11611 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11613 * bindings.el (visual-order-cursor-movement): New defcustom.
11614 (right-char, left-char): Provide visual-order cursor motion by
11615 calling move-point-visually. Update the doc strings.
11617 2013-06-28 Kenichi Handa <handa@gnu.org>
11619 * international/mule.el (define-coding-system): New coding system
11620 properties :inhibit-null-byte-detection,
11621 :inhibit-iso-escape-detection, and :prefer-utf-8.
11622 (set-buffer-file-coding-system): If :charset-list property of
11623 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11624 appropriate for setting.
11626 * international/mule-cmds.el (select-safe-coding-system):
11627 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11628 multibyte characters, return utf-8 (or one of its siblings).
11630 * international/mule-conf.el (prefer-utf-8): New coding system.
11631 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11634 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11636 * net/shr.el (shr-render-region): New function.
11638 * net/eww.el: Autoload `eww-browse-url'.
11640 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11642 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11643 Adapt to `package-desc-version' being a list.
11644 Use `package--ac-desc-version' to retrieve version from a package
11647 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11649 New experimental feature to save&restore window and frame setup.
11650 * desktop.el (desktop-save-windows): New defcustom.
11651 (desktop--saved-states): New var.
11652 (desktop--excluded-frame-parameters): New defconst.
11653 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11654 (desktop--restore-windows, desktop--save-windows): New functions.
11655 (desktop-save): Call `desktop--save-windows'.
11656 (desktop-read): Call `desktop--restore-windows'.
11658 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11660 * net/shr.el (add-face-text-property): Remove compat definition.
11662 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11664 * info.el (Info-try-follow-nearest-node): Move search for footnote
11665 above search for node name to prevent missing a footnote (bug#14717).
11667 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11669 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11671 2013-06-27 Leo Liu <sdl.web@gmail.com>
11673 * net/eww.el (eww-read-bookmarks): Check file size.
11675 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11677 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11678 advice--pending if newdef is nil or an autoload (bug#13820).
11679 (advice-mapc): New function.
11681 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11683 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11685 (eww-mode-map): Add a menu bar.
11686 (eww-add-bookmark): New command.
11687 (eww-bookmark-mode): New mode and commands.
11688 (eww-add-bookmark): Remove newlines from the title.
11689 (eww-bookmark-browse): Don't bug out if it's the only window.
11691 2013-06-26 Glenn Morris <rgm@gnu.org>
11693 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11694 (hfy-size): Handle ttys. (Bug#14668)
11696 * info-xref.el: Update for Texinfo 5 change in *note format.
11697 (info-xref-node-re, info-xref-note-re): New constants.
11698 (info-xref-check-buffer): Use info-xref-note-re.
11700 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11702 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11704 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11705 nil terminate the loop (bug#14718).
11707 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11709 * net/eww.el: Rework history traversal. When going forward/back,
11710 put these actions into the history, too, so that they can be
11712 (eww-render): Move the history reset to the correct buffer.
11714 2013-06-25 Juri Linkov <juri@jurta.org>
11716 * files-x.el (modify-dir-local-variable): Change the header comment
11717 in the file with directory local variables. (Bug#14692)
11719 * files-x.el (read-file-local-variable-value): Add `default'.
11722 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11724 * net/eww.el (eww-make-unique-file-name): Create a unique file
11725 name before saving to entering `y' accidentally asynchronously.
11727 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11729 * net/eww.el (eww-download): New command and keystroke.
11731 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11733 * net/eww.el (eww-copy-page-url): Change name of command.
11735 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11736 be more consistent with Info and dired.
11738 * net/eww.el (eww-mode-map): Ditto.
11740 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11742 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11743 packages from archives.
11744 (package-archive-contents): Change format; include obsolete packages.
11745 (package-desc): Use `dir' to mark builtin packages.
11746 (package--from-builtin): Set the `dir' field to `builtin'.
11747 (generated-autoload-file, version-control): Declare.
11748 (package-compute-transaction): Change first arg and return value to be
11749 lists of package-descs. Adjust to new package-archive-contents format.
11750 (package--add-to-archive-contents): Adjust to new
11751 package-archive-contents format.
11752 (package-download-transaction): Arg is now a list of package-descs.
11753 (package-install): If `pkg' is a package name, pass it as
11754 a requirement, so it is subject to the usual (e.g. disabled) checks.
11755 (describe-package): Accept package-desc as well.
11756 (describe-package-1): Describe a specific package-desc. Add links to
11757 other package-descs for the same package name.
11758 (package-menu-describe-package): Pass the actual package-desc.
11759 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11761 (package-desc-status): New function.
11762 (package-menu--refresh): New function, extracted
11763 from package-menu--generate.
11764 (package-menu--generate): Use it.
11765 (package-delete): Update package-alist.
11766 (package-menu-execute): Don't call package-initialize.
11768 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11769 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11770 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11771 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11772 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11773 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11775 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11777 * window.el (window--state-get-1): Workaround for bug#14527.
11778 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11780 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11782 * net/eww.el (eww-back-url): Implement the history by stashing all
11783 the data into a list.
11784 (eww-forward-url): Allow going forward in the history, too.
11786 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11788 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11789 for values and use read--expression for expressions (bug#14710).
11790 (read-file-local-variable): Avoid setq.
11791 (read-file-local-variable-mode): Use minor-mode-list.
11793 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11795 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11798 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11800 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11801 Update imenu-support when dialect changes.
11803 2013-06-25 Leo Liu <sdl.web@gmail.com>
11805 * ido.el (ido-read-internal): Allow forward slash on windows.
11807 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11809 * net/eww.el (eww): Start of strings is \\`, not ^.
11811 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11813 * net/shr.el (shr-browse-url): Fix interactive spec.
11815 * net/eww.el (eww): Add a trailing slash to domain names.
11817 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11819 * faces.el (face-spec-recalc): Revert part of revno:113147 (bug#14705).
11821 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11823 * net/shr.el (shr-browse-url): Use an external browser if given a
11826 * net/eww.el (eww-external-browser): Move to shr.
11828 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11830 * net/eww.el (eww): Work more correctly for file: URLs.
11831 (eww-detect-charset): Allow quoted charsets.
11832 (eww-yank-page-url): New command and keystroke.
11834 2013-06-24 Daiki Ueno <ueno@gnu.org>
11836 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11837 file name of gpg executable.
11838 (epg-context-program): New function.
11839 (epg-context-home-directory): New function.
11840 (epg-context-set-program): New function.
11841 (epg-context-set-home-directory): New function.
11842 (epg--start): Use `epg-context-program' instead of
11844 (epg--list-keys-1): Likewise.
11846 2013-06-24 Leo Liu <sdl.web@gmail.com>
11848 * ido.el (ido-read-internal): Fix bug#14620.
11850 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11852 * faces.el (face-documentation): Simplify.
11853 (read-face-attribute, tty-find-type, x-resolve-font-name):
11854 Use `string-match-p'.
11855 (list-faces-display): Use `string-match-p'. Simplify.
11856 (face-spec-recalc): Check face to avoid face alias loops.
11857 (read-color): Use `string-match-p' and non-capturing parenthesis.
11859 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11861 * net/shr.el (shr-rescale-image): Use the new
11862 :max-width/:max-height functionality.
11864 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11866 * net/eww.el (eww-search-prefix): New variable.
11868 (eww-external-browser): New variable.
11869 (eww-mode-map): New keystroke.
11870 (eww-browse-with-external-browser): New command.
11872 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11874 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11876 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11877 Don't skip aligning the next header field when padding is 0;
11878 otherwise, field width is not respected unless the title is as
11881 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11883 * emacs-lisp/package.el (package-el-version): Remove.
11884 (package-process-define-package): Fix inf-loop.
11885 (package-install): Allow symbols as arguments again.
11887 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11889 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11890 add some more keyword-like methods.
11891 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11893 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11895 * bs.el (bs-buffer-show-mark): Make defvar-local.
11896 (bs-mode): Use setq-local.
11898 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11899 (emacs-lock--try-unlocking): Make defvar-local.
11901 2013-06-22 Glenn Morris <rgm@gnu.org>
11903 * play/cookie1.el (cookie-apropos): Minor simplification.
11905 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11907 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11909 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11910 `regexp-opt', it breaks the build during dumping.
11912 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11914 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11915 Highlight keyword-like methods on Kernel and Module with
11916 font-lock-builtin-face.
11917 (auto-mode-alist): Consolidate different entries into one regexp
11918 and add more *file-s.
11920 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11922 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11924 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11925 (diary-entry): Use it in the action of this button type instead of
11928 * calendar/todo-mode.el: New version.
11929 (todo-add-category): Append new category to end of file and give
11930 it the highest number, instead of putting it at the beginning and
11931 giving it 0. Incorporate noninteractive functionality.
11932 (todo-forward-category): Adapt to 1-based category numbering.
11933 Allow skipping over archived categories.
11934 (todo-backward-category): Derive from todo-forward-category.
11935 (todo-backward-item, todo-forward-item): Make noninteractive and
11936 delegate interactive part to new commands. Make sensitive to done items.
11937 (todo-categories): Make value an alist of category names and
11938 vectors of item counts.
11939 (todo-category-beg): Make a defconst.
11940 (todo-category-number): Use 1 instead of 0 as initial value.
11941 (todo-category-select): Make sensitive to overlays, optional item
11942 highlighting and done items.
11943 (todo-delete-item): Make sensitive to overlays and marked and done items.
11944 (todo-edit-item): Make sensitive to overlays and editing of
11945 date/time header optional. Add format checks.
11946 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11947 no-op if point is not on an item. Advertise using todo-edit-quit.
11948 (todo-edit-mode): Make sensitive to new format, font-locking, and
11949 multiple todo files.
11950 (todo-insert-item, todo-insert-item-here): Derive from
11951 todo-basic-insert-item and extend functionality.
11952 (todo-item-end, todo-item-start): Make sensitive to done items.
11953 (todo-item-string): Don't return text properties. Restore point.
11954 (todo-jump-to-category): Make sensitive to multiple todo files and
11955 todo archives. Use extended category completion.
11956 (todo-lower-item, todo-raise-item): Rename to *-priority and
11957 derive from todo-set-item-priority.
11958 (todo-mode): Derive from special-mode. Make sensitive to new
11959 format, font-locking and multiple todo files. Make read-only.
11960 (todo-mode-map): Don't suppress digit keys, so they can supply
11961 prefix arguments. Add many new key bindings.
11962 (todo-prefix): Insert as an overlay instead of file text.
11963 Change semantics from diary date expression to purely visual mark.
11964 (todo-print): Rename to todo-print-buffer. Make buffer display
11965 features printable. Remove option to restrict number of items
11966 printed. Add option to print to file.
11967 (todo-print-function): Rename to todo-print-buffer-function.
11968 (todo-quit): Extend to handle exiting new todo modes.
11969 (todo-remove-item): Make sensitive to overlays.
11970 (todo-save): Extend to buffers of filtered items.
11971 (todo-show): Make sensitive to done items, multiple todo files and
11972 new todo modes. Offer to convert legacy todo file before creating
11973 first new todo file.
11974 (todo-show-priorities): Rename to todo-top-priorities.
11975 Change semantics of value 0.
11976 (todo-top-priorities): Rename to todo-filter-top-priorities,
11977 derive from todo-filter-items and extend functionality.
11978 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11979 and extend functionality to other types of filtered items.
11980 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11981 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11982 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11983 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11984 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11985 (todo-edit-mode-hook, todo-entry-prefix-function)
11986 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11987 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11988 (todo-initials, todo-insert-threshold, todo-item-string-start)
11989 (todo-line-string, todo-menu, todo-mode-hook)
11990 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11991 (todo-print-priorities, todo-remove-separator)
11992 (todo-save-top-priorities-too, todo-string-count-lines)
11993 (todo-string-multiline-p, todo-time-string-format)
11994 (todo-tmp-buffer-name): Remove.
11995 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11996 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11997 (todo-edit-category-diary-inclusion)
11998 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11999 (todo-edit-file, todo-edit-item-date-day)
12000 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12001 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12002 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12003 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12004 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12005 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12006 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12007 (todo-filter-top-priorities-multifile, todo-find-archive)
12008 (todo-find-filtered-items-file, todo-go-to-source-item)
12009 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12010 (todo-jump-to-archive-category, todo-lower-category)
12011 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12012 (todo-move-category, todo-move-item, todo-next-button)
12013 (todo-next-item, todo-padded-string, todo-powerset)
12014 (todo-previous-button, todo-previous-item)
12015 (todo-print-buffer-to-file, todo-raise-category)
12016 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12017 (todo-set-category-number, todo-set-item-priority)
12018 (todo-set-top-priorities-in-category)
12019 (todo-set-top-priorities-in-file, todo-show-categories-table)
12020 (todo-sort-categories-alphabetically-or-numerically)
12021 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12022 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12023 (todo-toggle-item-header, todo-toggle-item-highlighting)
12024 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12025 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12026 (todo-unarchive-items, todo-unmark-category): New commands.
12027 (todo-absolute-file-name, todo-add-to-buffer-list)
12028 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12029 (todo-basic-insert-item, todo-category-completions)
12030 (todo-category-number, todo-category-string-matcher-1)
12031 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12032 (todo-check-format, todo-clear-matches)
12033 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12034 (todo-current-category, todo-date-string-matcher)
12035 (todo-define-insertion-command, todo-diary-expired-matcher)
12036 (todo-diary-goto-entry, todo-diary-item-p)
12037 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12038 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12039 (todo-done-item-section-p, todo-done-separator)
12040 (todo-done-string-matcher, todo-files, todo-filter-items)
12041 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12042 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12043 (todo-insert-category-line, todo-insert-item-from-calendar)
12044 (todo-insert-sort-button, todo-insert-with-overlays)
12045 (todo-insertion-command-name, todo-insertion-key-bindings)
12046 (todo-label-to-key, todo-longest-category-name-length)
12047 (todo-make-categories-list, todo-mode-external-set)
12048 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12049 (todo-modes-set-3, todo-multiple-filter-files)
12050 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12051 (todo-read-category, todo-read-date, todo-read-dayname)
12052 (todo-read-file-name, todo-read-time)
12053 (todo-reevaluate-category-completions-files-defcustom)
12054 (todo-reevaluate-default-file-defcustom)
12055 (todo-reevaluate-filelist-defcustoms)
12056 (todo-reevaluate-filter-files-defcustom)
12057 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12058 (todo-reset-done-separator, todo-reset-done-separator-string)
12059 (todo-reset-done-string, todo-reset-global-current-todo-file)
12060 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12061 (todo-reset-prefix, todo-set-categories)
12062 (todo-set-date-from-calendar, todo-set-show-current-file)
12063 (todo-set-top-priorities, todo-short-file-name)
12064 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12065 (todo-total-item-counts, todo-update-buffer-list)
12066 (todo-update-categories-display, todo-update-categories-sexp)
12067 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12069 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12071 (todo-categories, todo-display, todo-edit, todo-faces)
12072 (todo-filtered): New defgroups.
12073 (todo-archived-only, todo-button, todo-category-string, todo-date)
12074 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12075 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12076 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12077 (todo-add-item-if-new-category, todo-always-add-time-string)
12078 (todo-categories-align, todo-categories-archived-label)
12079 (todo-categories-category-label, todo-categories-diary-label)
12080 (todo-categories-done-label, todo-categories-number-separator)
12081 (todo-categories-todo-label, todo-categories-totals-label)
12082 (todo-category-completions-files, todo-completion-ignore-case)
12083 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12084 (todo-done-separator-string, todo-done-string)
12085 (todo-files-function, todo-filter-done-items, todo-filter-files)
12086 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12087 (todo-initial-category, todo-initial-file, todo-item-mark)
12088 (todo-legacy-date-time-regexp, todo-mode-line-function)
12089 (todo-nondiary-marker, todo-number-prefix)
12090 (todo-print-buffer-function, todo-show-current-file)
12091 (todo-show-done-only, todo-show-first, todo-show-with-done)
12092 (todo-skip-archived-categories, todo-top-priorities-overrides)
12093 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12094 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12096 (todo-category-done, todo-date-pattern, todo-date-string-start)
12097 (todo-diary-items-buffer, todo-done-string-start)
12098 (todo-filtered-items-buffer, todo-item-start)
12099 (todo-month-abbrev-array, todo-month-name-array)
12100 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12101 (todo-top-priorities-buffer): New defconsts.
12102 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12103 (todo-categories-with-marks, todo-category-string-face)
12104 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12105 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12106 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12107 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12108 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12109 (todo-font-lock-keywords, todo-global-current-todo-file)
12110 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12111 (todo-insertion-commands-args)
12112 (todo-insertion-commands-args-genlist)
12113 (todo-insertion-commands-names, todo-insertion-map)
12114 (todo-key-bindings-t, todo-key-bindings-t+a)
12115 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12116 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12117 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12118 (todo-visited): New variables.
12120 2013-06-21 Glenn Morris <rgm@gnu.org>
12122 * play/cookie1.el (cookie-apropos): Add optional display argument.
12123 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12124 (psychoanalyze-pinhead): Use cookie-doctor.
12126 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12128 * emacs-lisp/package.el (tar-get-file-descriptor)
12129 (tar--extract): Declare.
12131 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12133 Extend flymake's warning predicate to be a function (bug#14217).
12134 * progmodes/flymake.el (flymake-warning-predicate): New.
12135 (flymake-parse-line): Use it.
12136 (flymake-warning-re): Make obsolete alias to
12137 `flymake-warning-predicate'.
12139 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12141 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12142 (package-obsolete-list): Remove.
12143 (package-activate): Remove min-version argument. Add `force' argument.
12144 Adjust to new package-alist format.
12145 (package-mark-obsolete): Remove.
12146 (package-unpack): Force reload of the package's autoloads.
12147 (package-installed-p): Check builtins if the installed package is not
12149 (package-initialize): Don't reset package-obsolete-list.
12150 Don't specify which package version to activate.
12151 (package-process-define-package, describe-package-1)
12152 (package-menu--generate): Adjust to new package-alist format.
12154 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12156 * allout-widgets.el (allout-widgets-mode-off)
12157 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12158 (allout-widgets-post-command-business)
12159 (allout-widgets-after-copy-or-kill-function)
12160 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12161 (allout-decorate-item-and-context)
12162 (allout-graphics-modification-handler): Fix typos in docstrings.
12163 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12165 * cmuscheme.el (scheme-start-file): Doc fix.
12166 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12167 (scheme-input-filter): Use `string-match-p'.
12169 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12171 * dired-x.el: Use Dired consistently in docstrings.
12173 * dired.el: Use Dired consistently in docstrings.
12174 (dired-readin, dired-mode): Use `setq-local'.
12175 (dired-switches-alist): Make defvar-local.
12176 (dired-buffers-for-dir): Use `zerop'.
12177 (dired-safe-switches-p, dired-switches-escape-p)
12178 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12179 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12180 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12181 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12182 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12183 (dired-toggle-marks, dired-mark-files-containing-regexp)
12184 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12185 (dired-flag-auto-save-files, dired-flag-backup-files):
12186 Use `looking-at-p'.
12187 (dired-mark-files-regexp, dired-build-subdir-alist):
12188 Use `string-match-p', `looking-at-p'.
12190 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12191 (direct-print-region-helper): Use `string-match-p'.
12193 2013-06-21 Leo Liu <sdl.web@gmail.com>
12195 * comint.el (comint-redirect-results-list-from-process):
12198 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12200 * net/eww.el (eww-update-header-line-format): Quote % characters.
12202 2013-06-21 Glenn Morris <rgm@gnu.org>
12204 * play/cookie1.el (cookie): New custom group.
12205 (cookie-file): New option.
12206 (cookie-check-file): New function.
12207 (cookie): Make it interactive. Make start and end messages optional.
12208 Interactively, display the result. Default to cookie-file.
12209 (cookie-insert): Default to cookie-file.
12210 (cookie-snarf): Make start and end messages optional.
12211 Default to cookie-file. Use with-temp-buffer.
12212 (cookie-read): Rename from read-cookie.
12213 Make start and end messages optional. Default to cookie-file.
12214 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12215 Do not autoload it.
12216 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12217 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12219 2013-06-21 Leo Liu <sdl.web@gmail.com>
12221 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12223 2013-06-21 Glenn Morris <rgm@gnu.org>
12225 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12227 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12228 Daniel Hackney <dan@haxney.org>
12230 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12231 Consolidate the single-file vs tarball code.
12232 (package-desc-suffix): New function.
12233 (package-desc-full-name): Don't bother inlining it.
12234 (package-load-descriptor): Return the new package-desc.
12235 (package-mark-obsolete): Remove unused arg `package'.
12236 (package-unpack): Make it work for single files as well.
12237 Make it update package-alist.
12238 (package--make-autoloads-and-stuff): Rename from
12239 package--make-autoloads-and-compile. Don't compile any more.
12240 (package--compile): New function.
12241 (package-generate-description-file): New function, extracted from
12242 package-unpack-single.
12243 (package-unpack-single): Remove.
12244 (package--with-work-buffer): Add indentation and debugging info.
12245 (package-download-single): Remove.
12246 (package-install-from-archive): Rename from package-download-tar, make
12247 it take a pkg-desc, and make it work for single files as well.
12248 (package-download-transaction): Simplify.
12249 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12250 external tar program.
12251 (package-install-from-buffer): Remove `pkg-desc' argument.
12252 Use package-tar-file-info for tar-mode buffers.
12253 (package-install-file): Simplify accordingly.
12254 (package-archive-base): Change to take a pkg-desc.
12255 * tar-mode.el (tar--check-descriptor): New function, extracted from
12256 tar-get-descriptor.
12257 (tar-get-descriptor): Use it.
12258 (tar-get-file-descriptor): New function.
12259 (tar--extract): New function, extracted from tar-extract.
12260 (tar--extract): Use it.
12261 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12262 case the summary uses non-ascii. Adjust to new calling convention of
12263 package-tar-file-info.
12265 2013-06-21 Leo Liu <sdl.web@gmail.com>
12267 * comint.el (comint-redirect-results-list-from-process):
12268 Fix random delay. (Bug#14681)
12270 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12272 * profiler.el (profiler-format-number): Use log, not log10.
12274 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12276 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12278 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12280 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12281 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12283 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12284 (AUTOGENEL): ... here.
12285 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12286 (cl--defsubst-expand): Use it.
12288 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12290 * subr.el (log10): Move here from C code, and declare as obsolete.
12291 All uses of (log10 X) replaced with (log X 10).
12293 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12295 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12296 Declare with `defvar-local'.
12297 (tabulated-list-use-header-line, tabulated-list-entries)
12298 (tabulated-list-padding, tabulated-list-printer)
12299 (tabulated-list-sort-key): Declare with `defvar-local'.
12300 (tabulated-list-init-header, tabulated-list-print-fake-header):
12303 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12305 * arc-mode.el (archive-mode): Add `archive-write-file' to
12306 `write-contents-functions' also for remote files. (Bug#14652)
12308 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12310 * cus-edit.el (custom-commands): Fix typos.
12311 (custom-display): Fix tooltip text.
12312 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12313 Fix typos in docstrings.
12314 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12315 (custom-unlispify-menu-entry, custom-magic-value-create)
12316 (custom-add-see-also, custom-group-value-create): Use ?\s.
12317 (custom-guess-type, customize-apropos, editable-field)
12318 (custom-face-value-create): Use `string-match-p'.
12319 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12321 * custom.el (custom-load-symbol): Use `string-match-p'.
12323 * ansi-color.el: Convert to lexical binding.
12324 (ansi-colors): Fix URL.
12325 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12326 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12327 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12329 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12331 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12333 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12335 2013-06-19 Tom Tromey <tromey@redhat.com>
12337 * net/eww.el (eww-top-url): Remove.
12338 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12339 (eww-render): Set new variables. Don't set eww-top-url.
12340 (eww-handle-link): Handle "prev", "home", and "contents".
12341 Downcase the rel text.
12342 (eww-top-url): Choose best top URL.
12344 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12346 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12347 relying in widget.el. Using widget.el leads to too many
12348 user interface inconsistencies.
12349 (eww-self-insert): Implement entering commands in text fields.
12350 (eww-process-text-input): New function to make text input field editing
12352 (eww-submit): Rewrite to use the new-style form methods.
12353 (eww-select-display): Display the correct selected item.
12354 (eww-change-select): Implement changing the select value.
12355 (eww-toggle-checkbox): Implement radio/checkboxes.
12356 (eww-update-field): Fix compilation error.
12357 (eww-tag-textarea): Implement <textarea>.
12359 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12360 we don't shadow mode-specific bindings.
12362 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12365 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12367 2013-06-19 Glenn Morris <rgm@gnu.org>
12369 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12371 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12373 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12376 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12378 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12380 * net/browse-url.el (browse-url-browser-function):
12381 `eww-browse-url' has the right calling signature, `eww' does not.
12383 2013-06-19 Glenn Morris <rgm@gnu.org>
12385 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12386 Only eval autoloaded macros.
12387 (byte-compile-autoload): Only give the macro warning for macros.
12389 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12390 (ps-underlined-faces): Declare.
12392 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12393 (speedbar-add-supported-extension): Declare.
12395 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12396 Don't include a date stamp in the header of the generated file;
12397 it leads to needless differences between output files.
12399 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12401 * net/secrets.el (secrets-struct-secret-content-type):
12402 Replace check of introspection data by a test call of "CreateItem".
12403 Some servers do not offer introspection.
12405 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12407 * electric.el (electric-pair-mode): Improve interaction with
12408 electric-layout-mode.
12409 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12410 (electric-pair-syntax): Use text-mode-syntax-table in comments
12412 (electric-pair--insert): New function.
12413 (electric-pair-post-self-insert-function): Use it and
12414 electric--after-char-pos.
12416 2013-06-19 Leo Liu <sdl.web@gmail.com>
12418 * progmodes/octave.el (octave-help): Fix regexp.
12420 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12422 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12423 (shr-table-horizontal-line): Allow nil as a value, and change the
12425 (shr-insert-table-ruler): Respect the nil value.
12427 2013-06-18 Tom Tromey <tromey@barimba>
12429 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12431 (eww-open-file): New defun.
12432 (eww-render): Initialize new variables.
12433 (eww-display-html): Handle "link" and "a".
12434 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12435 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12436 (eww-back-url): Rename from eww-previous-url.
12437 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12440 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12442 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12443 Distinguish ternary operator tokens from slash symbol and slash
12446 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12448 Convert symbol prettification into minor mode and global minor mode.
12450 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12451 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12452 (prettify-symbols--keywords): Rename from
12453 `prog-prettify-symbols-alist' and make a local defvar.
12454 (prettify-symbols--compose-symbol): Rename from
12455 `prog--prettify-font-lock-compose-symbol'.
12456 (prettify-symbols--make-keywords): Rename from
12457 `prog-prettify-font-lock-symbols-keywords' and simplify.
12458 (prog-prettify-install): Remove.
12459 (prettify-symbols-mode): New minor mode, based on
12460 `prog-prettify-install'.
12461 (turn-on-prettify-symbols-mode): New function.
12462 (global-prettify-symbols-mode): New globalized minor mode.
12464 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12465 * progmodes/cfengine.el (cfengine3-mode):
12466 * progmodes/perl-mode.el (perl-mode): Don't call
12467 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12469 2013-06-18 Juri Linkov <juri@jurta.org>
12471 * files-x.el (modify-file-local-variable-message): New function.
12472 (modify-file-local-variable)
12473 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12474 and call `modify-file-local-variable-message' when it's non-nil.
12475 (add-file-local-variable, delete-file-local-variable)
12476 (add-file-local-variable-prop-line)
12477 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12478 and use it. (Bug#9820)
12480 2013-06-18 Juri Linkov <juri@jurta.org>
12482 * emulation/vi.el (vi-shell-op):
12483 * emulation/vip.el (vip-execute-com, ex-command):
12484 * emulation/viper-cmd.el (viper-exec-bang):
12485 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12486 the call of `shell-command-on-region'. (Bug#14637)
12488 * simple.el (shell-command-on-region): Doc fix.
12490 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12492 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12495 2013-06-18 Glenn Morris <rgm@gnu.org>
12497 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12499 * newcomment.el (comment-search-forward, comment-search-backward):
12500 Doc fix. (Bug#14376)
12502 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12504 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12505 (buffer-face-mode-invoke): Doc fix.
12507 2013-06-18 Matthias Meulien <orontee@gmail.com>
12509 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12510 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12512 2013-06-18 Glenn Morris <rgm@gnu.org>
12514 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12515 Replace obsolete function generic-make-keywords with its expansion.
12517 * progmodes/python.el (ffap-alist): Declare.
12519 * textmodes/reftex.el (bibtex-mode-map): Declare.
12521 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12523 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12524 (package-unpack, package-unpack-single): Return the pkg-dir.
12525 (package-download-transaction): Use it to update package-alist.
12527 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12529 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12532 2013-06-17 Juri Linkov <juri@jurta.org>
12534 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12536 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12538 * emacs-lisp/package.el (package-load-descriptor):
12539 Remove `with-syntax-table' call, `read' doesn't need it.
12540 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12542 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12544 * startup.el (command-line): Expand package name returned by
12545 `package--description-file' (bug#14639).
12547 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12549 * emacs-lisp/package.el (package-load-descriptor): Do not call
12550 `emacs-lisp-mode', just use its syntax table.
12552 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12554 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12555 `font-lock-extra-managed-props' if any prettifying keyword is added.
12556 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12557 (prog-mode): Use `setq-local'.
12559 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12561 * international/characters.el (standard-case-table): Set syntax of ?»
12562 and ?« to punctuation.
12564 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12566 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12567 Save relevant match data before calling `syntax-ppss' (bug#14595).
12569 2013-06-15 Juri Linkov <juri@jurta.org>
12571 * files-x.el (modify-file-local-variable-prop-line): Add local
12572 variables to the end of the existing comment on the first line.
12573 Use `file-auto-mode-skip' to skip interpreter magic line,
12574 and also skip XML declaration.
12576 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12578 * startup.el (package--builtin-versions): New var.
12579 (package-subdirectory-regexp): Remove.
12580 (package--description-file): Hard code its value instead.
12582 * emacs-lisp/package.el: Don't activate packages older than builtin.
12583 (package-obsolete-list): Rename from package-obsolete-alist, and make
12584 it into a simple list of package-desc.
12585 (package-strip-version): Remove.
12586 (package-built-in-p): Use package--builtin-versions.
12587 (package-mark-obsolete): Simplify.
12588 (package-process-define-package): Mark it obsolete if older than the
12590 (package-handle-response): Use line-end-position.
12591 (package-read-archive-contents, package--download-one-archive):
12593 (package--add-to-archive-contents): Skip if older than the builtin or
12595 (package-menu-describe-package): Fix last change.
12596 (package-list-unversioned): New var.
12597 (package-menu--generate): Use it.
12599 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12600 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12601 (autoload-builtin-package-versions): New variable.
12602 (autoload-generate-file-autoloads): Use them.
12603 Remove the list of autoloaded functions/macros from the
12604 (autoload...) comments.
12606 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12608 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12610 * simple.el (line-move-partial): Don't jump to the next screen
12611 line as soon as it becomes visible. Instead, continue enlarging
12612 the vscroll until the portion of a tall screen line that's left on
12613 display is about the height of the frame's default font.
12616 2013-06-15 Glenn Morris <rgm@gnu.org>
12618 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12619 compilation-error-regexp-alist void, or local while let-bound.
12621 * progmodes/make-mode.el (makefile-mode-syntax-table):
12622 Treat "=" as punctuation. (Bug#14614)
12624 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12626 * help-fns.el (describe-variable):
12627 Add extra line for permanent-local variables.
12629 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12631 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12632 Add export, import, library. (Bug#9164)
12633 (library): Set indent function.
12635 2013-06-14 Glenn Morris <rgm@gnu.org>
12637 * term/xterm.el (xterm--query):
12638 Stop after first matching handler. (Bug#14615)
12640 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12642 Add support for dired in saveplace.
12643 * dired.el (dired-initial-position-hook): New variable.
12644 (dired-initial-position): Call hook to place cursor position.
12645 * saveplace.el (save-place-to-alist): Add dired position.
12646 (save-place-dired-hook): New function.
12648 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12650 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12651 through a symbol rather than letrec.
12653 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12654 (package-desc): Add `dir' field.
12655 (package-desc-full-name): New function.
12656 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12657 (package-maybe-load-descriptor): Remove.
12658 (package-load-all-descriptors): Just call package-load-descriptor.
12659 (package--disabled-p): New function.
12660 (package-desc-vers, package-desc-doc): Remove aliases.
12661 (package--dir): Remove function.
12662 (package-activate): Check if a package is disabled.
12663 (package-process-define-package): New function, extracted from
12665 (define-package): Turn into a place holder.
12666 (package-unpack-single, package-tar-file-info):
12667 Use package--description-file.
12668 (package-compute-transaction): Use package--disabled-p.
12669 (package-download-transaction): Don't call
12670 package-maybe-load-descriptor since they're all loaded anyway.
12671 (package-install): Change argument to be a pkg-desc.
12672 (package-delete): Use a single pkg-desc argument.
12673 (describe-package-1): Use package-desc-dir instead of package--dir.
12674 Use package-desc property instead of package-symbol.
12675 (package-install-button-action): Adjust accordingly.
12676 (package--push): Rewrite.
12677 (package-menu--print-info): Adjust accordingly. Change the ID format
12679 (package-menu-describe-package, package-menu-get-status)
12680 (package-menu--find-upgrades, package-menu-mark-upgrades)
12681 (package-menu-execute, package-menu--name-predicate):
12682 Adjust accordingly.
12683 * startup.el (package--description-file): New function.
12684 (command-line): Use it.
12685 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12686 Use package-desc-version.
12688 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12689 (byte-compile-preprocess): Use it.
12690 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12691 can't quite recognize.
12692 (byte-compile-add-to-list): Remove.
12693 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12694 (cconv-closure-convert): Add assertion.
12696 * emacs-lisp/map-ynp.el: Use lexical-binding.
12697 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12698 Factor out some repeated code.
12700 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12702 * subr.el (with-eval-after-load): New macro.
12703 (eval-after-load): Allow form to be a function.
12704 take advantage of lexical-binding.
12705 (do-after-load-evaluation): Use dolist and adjust to new format.
12706 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12708 2013-06-13 Juri Linkov <juri@jurta.org>
12710 * replace.el (perform-replace): Display "symbol " and other search
12711 modes from `isearch-message-prefix' in the *Help* buffer.
12713 * isearch.el (isearch-query-replace): Add " symbol" and other
12714 possible search modes from `isearch-message-prefix' to the prompt.
12715 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12716 when reading a regexp to collect.
12718 2013-06-13 Juri Linkov <juri@jurta.org>
12720 * isearch.el (word-search-regexp): Match whitespace if the search
12721 string begins or ends in whitespace. The LAX arg is applied to
12722 both ends of the search string. Use `regexp-quote' and explicit
12723 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12724 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12725 boundaries are replaced with symbol boundaries, and characters
12726 between symbols match non-word non-symbol syntax. (Bug#14602)
12728 2013-06-13 Juri Linkov <juri@jurta.org>
12730 * isearch.el (isearch-del-char): Don't exceed the length of
12731 `isearch-string' by the prefix arg. (Bug#14563)
12733 2013-06-13 Juri Linkov <juri@jurta.org>
12735 * isearch.el (isearch-yank-word, isearch-yank-line)
12736 (isearch-char-by-name, isearch-quote-char)
12737 (isearch-printing-char, isearch-process-search-char):
12738 Add optional count prefix arg. (Bug#14563)
12740 * international/isearch-x.el
12741 (isearch-process-search-multibyte-characters):
12742 Add optional count prefix arg.
12744 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12746 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12747 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12750 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12752 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12754 2013-06-13 Glenn Morris <rgm@gnu.org>
12756 * startup.el (tty-handle-args):
12757 Don't just discard "--" and anything after. (Bug#14608)
12759 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12761 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12763 Implement changes in Secret Service API. Make it backward compatible.
12764 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12765 (secrets-create-item): Use it. Prefix properties with interface.
12767 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12769 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12770 (term-emulate-terminal): Respect term-suppress-hard-newline.
12772 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12774 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12775 Only remove a `thumb-file' overlay. (Bug#14548)
12777 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12779 * mail/reporter.el (reporter-submit-bug-report):
12780 Handle missing package-name. (Bug#14600)
12782 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12784 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12785 (reftex-citation-prompt, reftex-default-bibliography)
12786 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12787 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12788 (reftex-bib-sort-author, reftex-bib-sort-year)
12789 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12790 (reftex-extract-bib-entries-from-thebibliography)
12791 (reftex-get-bibkey-default, reftex-get-bib-names)
12792 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12793 (reftex-format-bib-entry, reftex-parse-bibitem)
12794 (reftex-format-bibitem, reftex-do-citation)
12795 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12796 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12797 (reftex-insert-bib-matches, reftex-format-citation)
12798 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12799 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12800 existing comments into docstrings.
12802 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12804 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12806 2013-06-12 Andreas Schwab <schwab@suse.de>
12808 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12809 for auto-save files.
12811 2013-06-12 Glenn Morris <rgm@gnu.org>
12813 * ido.el (ido-delete-ignored-files): Remove.
12814 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12815 Go back to calling ido-ignore-item-p directly.
12817 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12819 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12821 * ido.el (ido-delete-ignored-files): New function,
12822 split from ido-make-file-list-1.
12823 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12824 (ido-make-file-list-1): Use ido-delete-ignored-files.
12826 2013-06-12 Leo Liu <sdl.web@gmail.com>
12828 * progmodes/octave.el (inferior-octave-startup)
12829 (inferior-octave-completion-table)
12830 (inferior-octave-track-window-width-change)
12831 (octave-eldoc-function-signatures, octave-help)
12832 (octave-find-definition): Use single quoted strings.
12833 (inferior-octave-startup-args): Change default value.
12834 (inferior-octave-startup): Do not hard code "-i" and
12835 "--no-line-editing".
12836 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12837 (inferior-octave-directory-tracker): Use it.
12838 (octave-goto-function-definition): Robustify.
12839 (octave-help): Support highlighting operators in 'See also'.
12840 (octave-find-definition): Find subfunctions only in Octave mode.
12842 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12844 * help-fns.el (help-fns--compiler-macro): If the handler function is
12845 named, then put a link to it.
12846 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12847 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12848 (cl-typep): Use it.
12849 (cl-eval-when): Simplify debug spec.
12850 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12851 compiler-macro function instead of setting `compiler-macro-file'.
12853 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12855 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12856 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12858 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12859 Daniel Hackney <dan@haxney.org>
12861 First part of Daniel Hackney's patch to package.el.
12862 * emacs-lisp/package.el: Use defstruct.
12863 (package-desc): New, main struct.
12864 (package--bi-desc, package--ac-desc): New structs, used to describe the
12865 format in external files.
12866 (package-desc-vers): Replace with package-desc-version accessor.
12867 (package-desc-doc): Replace with package-desc-summary accessor.
12868 (package-activate-1): Remove `package' arg since the pkg-vec now
12870 (define-package): Use package-desc-from-define.
12871 (package-unpack-single): Change file-name arg to be a symbol.
12872 (package--add-to-archive-contents): Use package-desc-create and new
12873 accessor functions to package--ac-desc.
12874 (package-buffer-info, package-tar-file-info): Return a package-desc.
12875 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12876 arg to be a package-desc.
12877 (package-install-file): Adjust accordingly. Use \' to match EOS.
12878 (package--from-builtin): New function.
12879 (describe-package-1, package-menu--generate): Use it.
12880 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12881 (package-generate-autoloads): Idem and return the name of the file.
12882 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12883 Change pkg-info arg to be a package-desc.
12884 Use package-make-ac-desc.
12885 (package-upload-file): Use \' to match EOS.
12886 * finder.el (finder-compile-keywords): Use package-make-builtin.
12888 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12890 * vc/vc.el (vc-deduce-fileset): Change error message.
12891 (vc-read-backend): New function.
12892 (vc-next-action): Use it.
12894 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12896 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12897 (prolog-font-lock-keywords): Use regexp-opt instead.
12898 Don't manually highlight strings.
12899 (prolog-mode-variables): Simplify comment-start-skip.
12900 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12902 * emacs-lisp/generic.el (generic--normalise-comments)
12903 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12904 (generic-mode-set-comments): Use them.
12905 (generic-bracket-support): Use setq-local.
12906 (generic-make-keywords-list): Declare obsolete.
12908 2013-06-11 Glenn Morris <rgm@gnu.org>
12910 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12911 Prettify after setting font-lock-defaults. (Bug#14574)
12913 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12915 * replace.el (query-replace, occur-read-regexp-defaults-function)
12917 * subr.el (declare-function, number-sequence, local-set-key)
12918 (substitute-key-definition, locate-user-emacs-file)
12919 (with-silent-modifications, split-string, eval-after-load):
12920 Fix typos, remove unneeded backslashes and reflow some docstrings.
12922 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12924 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12925 default for Elisp files.
12927 2013-06-11 Glenn Morris <rgm@gnu.org>
12929 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12930 although define-derived-mode was doing this anyway. (Bug#14583)
12932 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12934 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12935 Fix make-variable-buffer-local call to refer to the correct variable.
12937 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12939 * eshell/em-term.el (eshell-visual-commands)
12940 (eshell-visual-subcommands, eshell-visual-options):
12941 Add summary line to docstrings. Add cross-references.
12943 2013-06-10 Glenn Morris <rgm@gnu.org>
12945 * epa.el (epa-read-file-name): New function. (Bug#14510)
12946 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12948 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12950 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12951 output redirection to be ignored with visual commands.
12953 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12955 * eshell/em-term.el (eshell-visual-command-p): New function.
12956 (eshell-term-initialize): Move long lambda to separate function
12957 eshell-visual-command-p.
12958 * eshell/em-dirs.el (eshell-dirs-initialize):
12959 * eshell/em-script.el (eshell-script-initialize):
12960 Add missing #' to lambda.
12962 2013-06-08 Leo Liu <sdl.web@gmail.com>
12964 * progmodes/octave.el (octave-add-log-current-defun): New function.
12965 (octave-mode): Set add-log-current-defun-function.
12966 (octave-goto-function-definition): Do not move point if not found.
12967 (octave-find-definition): Enhance to try subfunctions first.
12969 2013-06-08 Glenn Morris <rgm@gnu.org>
12971 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12972 (byte-compile-backward-char, byte-compile-backward-word):
12973 Improve previous change, to handle non-explicit nil.
12975 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12977 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12978 (smie--opener/closer-at-point): New function.
12979 (smie--matching-block-data): Use it. Don't match from right after an
12980 opener or right before a closer. Obey smie-blink-matching-inners.
12981 Don't signal a mismatch for repeated inners like "switch..case..case".
12983 2013-06-07 Leo Liu <sdl.web@gmail.com>
12985 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12987 (octave-function-header-regexp): Fix. (Bug#14570)
12988 (octave-help-mode-finish-hook, octave-help-mode-finish):
12989 Remove. Just use temp-buffer-show-hook.
12991 * newcomment.el (comment-search-backward): Revert last change.
12994 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12996 2013-06-07 Eli Zaretskii <eliz@gnu.org>
12998 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12999 through xargs, to avoid failure due to MS-Windows limitations on
13000 command-line length.
13002 2013-06-06 Glenn Morris <rgm@gnu.org>
13004 * font-lock.el (lisp-font-lock-keywords-2):
13005 Treat user-error like error.
13007 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13008 (byte-compile-backward-char, byte-compile-backward-word):
13009 Handle explicit nil arguments. (Bug#14565)
13011 2013-06-05 Alan Mackenzie <acm@muc.de>
13013 * isearch.el (isearch-allow-prefix): New user option.
13014 (isearch-other-meta-char): Don't exit isearch when a prefix
13015 argument is typed whilst `isearch-allow-prefix' is non-nil.
13018 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13020 * autorevert.el (auto-revert-notify-handler): Use memq.
13021 Hide assertion failure.
13023 * skeleton.el: Use cl-lib.
13024 (skeleton-further-elements): Use defvar-local.
13025 (skeleton-insert): Use cl-progv.
13027 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13029 * progmodes/prog-mode.el (prog-prettify-symbols)
13030 (prog-prettify-install): Update docstrings.
13032 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13034 * simple.el: Move all the prog-mode code to prog-mode.el.
13035 * progmodes/prog-mode.el: New file.
13036 * loadup.el: Add prog-mode.el.
13038 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13040 * simple.el (prog-prettify-symbols): Add version.
13041 (prog-prettify-install): Add convenience function to prettify symbols.
13043 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13044 (perl--augmented-font-lock-keywords-1)
13045 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13046 variables and use it.
13048 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13049 (cfengine3-mode): Remove unneeded variable and use it.
13051 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13052 (lisp--augmented-font-lock-keywords-1)
13053 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13054 Remove unneeded variables and use it.
13056 2013-06-05 João Távora <joaotavora@gmail.com>
13058 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13059 to point when opening the connection. (Bug#14380)
13061 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13063 * subr.el (load-history-regexp, load-history-filename-element)
13064 (eval-after-load, after-load-functions, do-after-load-evaluation)
13065 (eval-next-after-load, display-delayed-warnings)
13066 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13067 definition of save-match-data.
13068 (overriding-local-map): Remove accidental obsolescence declaration.
13070 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13072 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13074 Generalize symbol prettify support to prog-mode and implement it
13075 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13076 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13077 (prog--prettify-font-lock-compose-symbol)
13078 (prog-prettify-font-lock-symbols-keywords): New variables and
13079 functions to support symbol prettification.
13080 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13081 (lisp--augmented-font-lock-keywords-1)
13082 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13083 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13084 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13085 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13086 Implement prettify of -> => :: strings.
13087 * progmodes/perl-mode.el (perl-prettify-symbols)
13088 (perl--font-lock-compose-symbol)
13089 (perl--font-lock-symbols-keywords): Move to prog-mode.
13090 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13091 (perl-font-lock-keywords-1)
13092 (perl-font-lock-keywords-2): Remove explicit prettify support.
13093 (perl--augmented-font-lock-keywords)
13094 (perl--augmented-font-lock-keywords-1)
13095 (perl--augmented-font-lock-keywords-2, perl-mode):
13096 Implement prettify support.
13098 2013-06-05 Leo Liu <sdl.web@gmail.com>
13100 Re-implement SMIE matching block highlight using
13101 show-paren-data-function. (Bug#14395)
13102 * emacs-lisp/smie.el (smie-matching-block-highlight)
13103 (smie--highlight-matching-block-overlay)
13104 (smie--highlight-matching-block-lastpos)
13105 (smie-highlight-matching-block)
13106 (smie-highlight-matching-block-mode): Remove.
13107 (smie--matching-block-data-cache): New variable.
13108 (smie--matching-block-data): New function.
13109 (smie-setup): Use smie--matching-block-data for
13110 show-paren-data-function.
13112 * progmodes/octave.el (octave-mode-menu): Fix.
13113 (octave-find-definition): Skip garbage lines.
13115 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13117 Fix compilation error with simultaneous dynamic+lexical scoping.
13118 Add warning when a defvar appears after the first let-binding.
13119 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13120 (byte-compile-close-variables): Initialize it.
13121 (byte-compile--declare-var): New function.
13122 (byte-compile-file-form-defvar)
13123 (byte-compile-file-form-define-abbrev-table)
13124 (byte-compile-file-form-custom-declare-variable): Use it.
13125 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13126 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13127 (byte-compile-bind): Handle dynamic bindings that shadow
13129 (byte-compile-unbind): Make arg non-optional.
13130 (byte-compile-let): Simplify.
13131 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13132 (cconv--analyse-function, cconv-analyse-form): Populate it.
13133 Protect byte-compile-bound-variables to limit the scope of defvars.
13134 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13135 Remove unneeded rule for `declare'.
13137 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13138 so as to avoid depending on cl-adjoin at run-time.
13139 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13141 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13142 (macroexp--warn-and-return): Use it.
13144 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13146 * subr.el: Convert to lexical binding.
13147 (overriding-local-map): Make obsolete.
13148 (add-to-list): Doc fix. Add compiler macro.
13149 (read-key): Swap values of local maps.
13151 2013-06-05 Leo Liu <sdl.web@gmail.com>
13153 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13155 2013-06-04 Leo Liu <sdl.web@gmail.com>
13157 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13158 (compilation-auto-jump): Suppress the "Mark set" message to give
13159 way to exit message.
13161 2013-06-04 Alan Mackenzie <acm@muc.de>
13163 Remove faulty optimisation from indentation calculation.
13164 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13165 search limit based on 2000 characters back from indent-point.
13167 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13169 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13171 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13173 * emacs-lisp/lisp.el: Use lexical-binding.
13174 (lisp--local-variables-1, lisp--local-variables): New functions.
13175 (lisp--local-variables-completion-table): New var.
13176 (lisp-completion-at-point): Use it complete let-bound vars.
13178 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13179 eagerly (bug#14422).
13181 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13183 * autorevert.el (auto-revert-notify-enabled)
13184 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13185 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13186 (auto-revert-notify-handler): Handle also gfilenotify.
13188 * subr.el (file-notify-handle-event): New defun. Replacing ...
13189 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13192 2013-06-03 Juri Linkov <juri@jurta.org>
13194 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13195 `M-s h .'. (Bug#14427)
13197 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13198 command `hi-lock-face-symbol-at-point'.
13199 (hi-lock-face-symbol-at-point): New command.
13200 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13201 (hi-lock-menu): Add `highlight-symbol-at-point'.
13202 (hi-lock-mode): Doc fix.
13204 * isearch.el (isearch-forward-symbol-at-point): New command.
13205 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13206 (isearch-highlight-regexp): Add a regexp which matches
13207 words/symbols for word/symbol mode.
13209 * subr.el (find-tag-default-bounds): New function with the body
13210 mostly moved from `find-tag-default'.
13211 (find-tag-default): Move most code to `find-tag-default-bounds',
13212 call it and apply `buffer-substring-no-properties' afterwards.
13214 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13216 * eshell/em-term.el (eshell-term-initialize):
13217 Use `cl-intersection' rather than `intersection'.
13219 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13221 * vc/log-view.el: Doc fix.
13222 (log-view-mode-map): Copy keymap from `special-mode-map'.
13224 2013-06-02 Eric Ludlam <zappo@gnu.org>
13226 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13227 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13228 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13229 (eieio-unbound, eieio-default-superclass)
13230 (eieio--define-field-accessors, method-static, method-before)
13231 (method-primary, method-after, method-num-lists)
13232 (method-generic-before, method-generic-primary)
13233 (method-generic-after, method-num-slots)
13234 (eieio-specialized-key-to-generic-key)
13235 (eieio--check-type, class-v, class-p)
13236 (eieio-class-name, define-obsolete-function-alias)
13237 (eieio-class-parents-fast, eieio-class-children-fast)
13238 (same-class-fast-p, class-constructor, generic-p)
13239 (generic-primary-only-p, generic-primary-only-one-p)
13240 (class-option-assoc, class-option, eieio-object-p)
13241 (class-abstract-p, class-method-invocation-order)
13242 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13243 (eieio-class-un-autoload, eieio-defclass)
13244 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13245 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13246 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13247 (eieio-defgeneric-reset-generic-form)
13248 (eieio-defgeneric-form-primary-only)
13249 (eieio-defgeneric-reset-generic-form-primary-only)
13250 (eieio-defgeneric-form-primary-only-one)
13251 (eieio-defgeneric-reset-generic-form-primary-only-one)
13252 (eieio-unbind-method-implementations)
13253 (eieio--defmethod, eieio--typep)
13254 (eieio-perform-slot-validation, eieio-validate-slot-value)
13255 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13256 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13257 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13258 (eieio-slot-name-index, eieio-class-slot-name-index)
13259 (eieio-set-defaults, eieio-initarg-to-attribute)
13260 (eieio-attribute-to-initarg, eieio-c3-candidate)
13261 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13262 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13263 (eieio-class-precedence-list, eieio-generic-call-methodname)
13264 (eieio-generic-call-arglst, eieio-generic-call-key)
13265 (eieio-generic-call-next-method-list)
13266 (eieio-pre-method-execution-functions, eieio-generic-call)
13267 (eieio-generic-call-primary-only, eieiomt-method-list)
13268 (eieiomt-optimizing-obarray, eieiomt-install)
13269 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13270 (eieio-generic-form, eieio-defmethod, make-obsolete)
13271 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13272 (defclass): Remove `eval-and-compile' from macro.
13273 (call-next-method, shared-initialize): Instead of using
13274 `scoped-class' variable, use new eieio--scoped-class, and
13275 eieio--with-scoped-class.
13276 (initialize-instance): Rename local variable 'scoped-class' to
13277 'this-class' to remove ambiguitity from old global.
13279 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13281 (eieio--scoped-class-stack): New variable.
13282 (eieio--scoped-class): New fcn.
13283 (eieio--with-scoped-class): New scoping macro.
13284 (eieio-defclass): Use pushnew instead of add-to-list.
13285 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13286 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13287 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13288 `scoped-class' variable, use new eieio--scoped-class, and
13289 eieio--with-scoped-class.
13291 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13293 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13295 * eshell/esh-ext.el (eshell-external-command): Pass args to
13296 `eshell-find-interpreter'.
13297 (eshell-find-interpreter): Add new second parameter ARGS.
13299 * eshell/em-script.el (eshell-script-initialize): Add second arg
13300 to the function added as MATCH to `eshell-interpreter-alist'.
13302 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13303 the function added as MATCH to `eshell-interpreter-alist'.
13305 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13306 (eshell-visual-options): New defcustom.
13307 (eshell-escape-control-x): Adapt docstring.
13308 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13309 `eshell-visual-options' in addition to `eshell-visual-commands'.
13310 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13312 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13314 * progmodes/python.el (python-indent-block-enders): Add break,
13315 continue and raise keywords.
13317 2013-06-01 Glenn Morris <rgm@gnu.org>
13319 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13321 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13322 * progmodes/cc-cmds.el (delete-forward-p):
13323 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13324 * progmodes/cc-engine.el (buffer-syntactic-context):
13325 * progmodes/cc-fonts.el (face-property-instance):
13326 * progmodes/cc-mode.el (set-keymap-parents):
13327 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13328 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13329 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13330 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13331 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13333 * progmodes/cc-vars.el (other): Emacs has this widget since
13334 at least 21.1, so don't (re)define it.
13336 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13337 Replace the obsolete alias pcomplete-arg-quote-list.
13339 2013-06-01 Leo Liu <sdl.web@gmail.com>
13341 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13342 punctuation syntax.
13343 (inferior-octave-minimal-columns)
13344 (inferior-octave-last-column-width): New variables.
13345 (inferior-octave-track-window-width-change): New function.
13346 (inferior-octave-mode): Adjust column width so that Octave output,
13347 for example from 'ls', can fit into the window nicely.
13349 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13351 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13352 Highlight expansions inside regexp literals.
13354 2013-05-31 Glenn Morris <rgm@gnu.org>
13356 * obsolete/sym-comp.el (symbol-complete):
13357 Replace obsolete completion-annotate-function.
13359 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13361 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13363 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13364 New function, checks if point is inside a literal that allows
13365 expression expansion.
13366 (ruby-syntax-propertize-expansion): Use it.
13367 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13370 2013-05-30 Juri Linkov <juri@jurta.org>
13372 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13374 (isearch-invisible): New variable.
13375 (isearch-forward): Doc fix.
13376 (isearch-mode): Set `isearch-invisible'
13377 to the value of `search-invisible'.
13378 (isearch-toggle-case-fold): Doc fix.
13379 (isearch-toggle-invisible): New command.
13380 (isearch-query-replace): Let-bind `search-invisible'
13381 to the value of `isearch-invisible'.
13382 (isearch-search): Use `isearch-invisible' instead of
13383 `search-invisible'. Let-bind `search-invisible'
13384 to the value of `isearch-invisible'. (Bug#11378)
13386 2013-05-30 Juri Linkov <juri@jurta.org>
13388 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13389 call when `query-flag' is nil and `search-invisible' is non-nil.
13392 2013-05-30 Glenn Morris <rgm@gnu.org>
13394 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13396 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13397 (cc-require): Suppress spurious "noruntime" warnings.
13398 (cc-require-when-compile): Use fboundp, for sake of compiler.
13400 * progmodes/cc-mode.el: Move load of cc-vars before that of
13401 cc-langs (which in turn loads cc-vars), to quieten compiler.
13403 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13405 * paren.el: Simplify the code.
13406 (show-paren-mode): Always start the timer.
13407 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13408 (show-paren--overlay, show-paren--overlay-1): Rename from
13409 show-paren-overlay and show-paren-overlay-1, and initialize to an
13410 overlay rather than to nil.
13411 (show-paren-function): Misc cleanup and simplifications.
13413 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13415 * paren.el (show-paren-data-function): New hook.
13416 (show-paren--default): New function, extracted from show-paren-function.
13417 (show-paren-function): Use show-paren-data-function.
13419 2013-05-30 Glenn Morris <rgm@gnu.org>
13421 * ielm.el (ielm-map, ielm-complete-symbol):
13422 Use completion-at-point rather than obsolete functions.
13423 (inferior-emacs-lisp-mode): Doc fix.
13424 Set completion-at-point-functions, rather than
13425 comint-dynamic-complete-functions.
13427 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13428 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13429 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13431 * image.el (image-animated-p): Tweak definition.
13433 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13434 (rlogin-process-connection-type): Tweak default. Add set-after.
13435 (rlogin-host): Doc fix.
13436 (rlogin): Tweak prompt.
13437 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13439 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13440 * progmodes/tcl.el (inferior-tcl-mode-map):
13441 Use completion-at-point rather than obsolete alias.
13443 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13445 * minibuffer.el (read-file-name-completion-ignore-case):
13446 Move before completion--in-region, for eager macro expansion.
13448 2013-05-29 Juri Linkov <juri@jurta.org>
13450 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13451 for total count of matching lines. Add `global-matches' for total
13452 count of matches. Rename `matches' to `lines' for count of
13453 matching lines. Add `matches' for count of matches.
13454 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13455 to `prev-line' for line number of prev match endpt.
13456 Increment `matches' for every match. Print the number of
13457 matching lines in the header.
13458 (occur-context-lines): Rename `lines' to `curr-line'.
13459 Rename `prev-lines' to `prev-line'. (Bug#14017)
13461 2013-05-29 Juri Linkov <juri@jurta.org>
13463 * replace.el (perform-replace): Add `skip-read-only-count',
13464 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13465 Increment them for corresponding conditions and report the number
13466 of skipped occurrences in the final message. (Bug#11746)
13467 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13468 (replace-string, replace-regexp): Doc fix.
13470 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13472 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13474 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13475 prog-mode-map (bug#14504).
13477 2013-05-29 Leo Liu <sdl.web@gmail.com>
13479 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13480 (octave-help): Small simplification.
13482 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13483 off the highlight first.
13485 2013-05-29 Glenn Morris <rgm@gnu.org>
13487 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13488 Handle idlwave-last-system-routine-info-cons-cell being nil.
13490 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13491 (idlwave-write-paths): Simplify via with-temp-buffer.
13493 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13494 * emulation/cua-rect.el: Also load cua-base at run time.
13496 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13497 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13498 (cperl-imenu-on-info): Require imenu.
13500 2013-05-28 Alan Mackenzie <acm@muc.de>
13502 Handle "capitalised keywords" correctly.
13503 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13505 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13507 * eshell/em-unix.el: Add -r option to cp.
13509 2013-05-28 Glenn Morris <rgm@gnu.org>
13511 * vc/vc-arch.el (vc-exec-after): Declare.
13512 (vc-switches): Autoload.
13513 * vc/vc-bzr.el: No need to require vc when compiling.
13514 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13515 (vc-resynch-buffer, vc-dir-refresh): Declare.
13516 (vc-setup-buffer, vc-switches): Autoload.
13517 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13518 (vc-resynch-buffer): Declare.
13519 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13520 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13521 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13522 (grep-read-regexp, grep-read-files, grep-expand-template)
13523 (vc-dir-refresh): Declare.
13524 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13525 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13526 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13527 * vc/vc-mtn.el (vc-exec-after): Declare.
13528 (vc-switches): Autoload.
13529 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13530 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13531 (vc-file-tree-walk): Declare.
13532 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13533 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13534 (vc-tag-precondition, vc-rename-master): Autoload.
13535 * vc/vc-svn.el (vc-exec-after): Declare.
13536 (vc-switches, vc-setup-buffer): Autoload.
13537 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13539 (vc-resynch-buffer): Declare.
13541 * obsolete/fast-lock.el (byte-compile-warnings):
13542 Don't warn about obsolete features in this obsolete file.
13544 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13545 Move definition before use.
13547 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13548 (dun-unix-verbs): Remove dun-zippy.
13549 (dun-zippy): Remove function.
13551 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13553 2013-05-27 Juri Linkov <juri@jurta.org>
13555 * replace.el (replace-search): New function with code moved out
13556 from `perform-replace'.
13557 (replace-highlight, replace-dehighlight): Move function definitions
13558 up closer to `replace-search'. (Bug#11746)
13560 2013-05-27 Juri Linkov <juri@jurta.org>
13562 * replace.el (perform-replace): Ignore invisible matches.
13563 In addition to checking `query-replace-skip-read-only', also
13564 filter out matches by calling `run-hook-with-args-until-failure'
13565 on `isearch-filter-predicates', and also check `search-invisible'
13566 for t or call `isearch-range-invisible'.
13567 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13569 2013-05-27 Juri Linkov <juri@jurta.org>
13571 * isearch.el (isearch-filter-predicates): Rename from
13572 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13573 (isearch-message-prefix): Display text from the property
13574 `isearch-message-prefix' of the currently active filters.
13575 (isearch-search): Don't compare `isearch-filter-predicate' with
13576 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13577 on `isearch-filter-predicates'. Also check `search-invisible' for t
13578 or call `isearch-range-invisible'.
13579 (isearch-filter-visible): Make obsolete.
13580 (isearch-lazy-highlight-search):
13581 Call `run-hook-with-args-until-failure' on
13582 `isearch-filter-predicates' and use `isearch-range-invisible'.
13584 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13585 `isearch-filter-predicates' instead of `funcall'ing
13586 `isearch-filter-predicate'.
13587 (Info-mode): Set `Info-isearch-filter' to
13588 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13590 * dired-aux.el (dired-isearch-filter-predicate-orig):
13592 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13593 (dired-isearch-filenames-end): Add and remove
13594 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13595 instead of changing the value of `isearch-filter-predicate'.
13596 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13597 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13598 Put property `isearch-message-prefix' to "filename " on
13599 `dired-isearch-filter-filenames'.
13601 * wdired.el (wdired-change-to-wdired-mode):
13602 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13603 locally instead of changing `isearch-filter-predicate'.
13604 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13606 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13608 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13609 return the commit hash (Bug#14459). Also set the
13610 `vc-git-detached' property.
13611 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13612 (vc-git-mode-line-string): Use the same help-echo format whether
13613 in detached mode or not, because we know the actual revision now.
13614 When in detached mode, shorten the revision to 7 chars.
13616 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13618 * emacs-lisp/easy-mmode.el (define-minor-mode):
13619 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13620 mode hook and provide a docstring.
13622 2013-05-27 Alan Mackenzie <acm@muc.de>
13624 Remove spurious syntax-table text properties inserted by C-y.
13625 * progmodes/cc-mode.el (c-after-change): Also clear hard
13626 syntax-table property with value nil.
13628 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13630 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13631 when reading the events; the buffer layout shall not be changed.
13633 2013-05-27 Leo Liu <sdl.web@gmail.com>
13635 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13637 (inferior-octave-directory-tracker): Automatically re-sync
13639 (octave-help): Improve handling of 'See also'.
13641 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13643 * doc-view.el: Minor naming convention tweaks.
13644 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13646 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13647 even if there's no `display' property yet (bug#14435).
13649 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13651 * subr.el (unmsys--file-name): Rename from reveal-filename.
13653 * Makefile.in (custom-deps, finder-data, autoloads)
13654 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13655 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13656 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13658 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13660 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13661 error-completion on the first 2 args of condition-case (bug#14446).
13664 2013-05-25 Leo Liu <sdl.web@gmail.com>
13666 * comint.el (comint-previous-matching-input): Do not flood the
13667 *Messages* buffer with trivial messages.
13669 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13671 * progmodes/flymake.el (flymake-nop): Don't return a string.
13672 (flymake-set-at): Fix typo.
13674 * simple.el (read--expression): New function, extracted from
13675 eval-expression. Set completion-at-point-functions (bug#14465).
13676 (eval-expression, eval-minibuffer): Use it.
13678 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13680 * progmodes/flymake.el (flymake-save-buffer-in-file)
13681 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13682 (flymake-selected-frame, flymake-log, flymake-ins-after)
13683 (flymake-set-at, flymake-get-buildfile-from-cache)
13684 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13685 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13686 Refine the doc string.
13687 (flymake-get-file-name-mode-and-masks): Reformat.
13688 (flymake-get-real-file-name-function): Fix a minor bug.
13690 2013-05-24 Juri Linkov <juri@jurta.org>
13692 * progmodes/grep.el (grep-mode-font-lock-keywords):
13693 Support =linenumber= format used by git-grep for lines with
13694 function names. (Bug#13549)
13696 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13698 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13699 0 after a semi-colon; it works better for smie-auto-fill.
13700 (octave--indent-new-comment-line): New function.
13701 (octave-indent-new-comment-line): Use it (indirectly).
13702 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13703 modify comment-line-break-function.
13705 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13706 (smie-setup): Use add-function to set it.
13708 2013-05-24 Sam Steingold <sds@gnu.org>
13710 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13711 argument (before the `interactive' argument).
13713 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13715 * image-mode.el (image-mode-winprops): Add winprops to
13716 image-mode-winprops-alist before running
13717 image-mode-new-window-functions.
13718 * doc-view.el (doc-view-new-window-function): Don't delay
13719 doc-view-goto-page via timers (bug#14435).
13721 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13723 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13724 (doc-view-desktop-save-buffer): New function.
13725 (doc-view-restore-desktop-buffer): New function.
13726 (desktop-buffer-mode-handlers):
13727 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13729 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13730 `desktop-save-buffer' function.
13732 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13734 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13735 (tramp-gvfs-file-name-handler): Raise a user error when
13736 `tramp-gvfs-enabled' is nil.
13737 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13738 Do not raise a user error when loading package. (Bug#14447)
13740 * net/xesam.el: Move to obsolete/.
13742 2013-05-24 Glenn Morris <rgm@gnu.org>
13744 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13746 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13748 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13749 (Info-find-node, Man-getpage-in-background): Declare.
13751 * mail/unrmail.el (unrmail):
13752 Replace obsolete detect-coding-with-priority.
13754 * net/socks.el (socks-split-string): Use this rather than split-string.
13755 (socks-nslookup-host): Update for above change.
13756 (dynamic-choice, s5-dynamic-choice-match)
13757 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13758 Comment out unused code.
13760 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13761 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13762 (gud-tooltip-echo-area): Make obsolete.
13763 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13765 * progmodes/js.el (js--optimize-arglist): Declare.
13767 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13769 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13770 (ediff-window-C): Declare.
13772 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13773 Tweak requires to silence compiler.
13775 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13776 (he-search-string, he-tried-table, he-expand-list)
13777 (he-init-string, he-string-member, he-substitute-string)
13778 (he-reset-string): Declare.
13780 * obsolete/options.el (list-options): Use custom-variable-p,
13781 rather than obsolete alias.
13783 2013-05-23 Sam Steingold <sds@gnu.org>
13785 * simple.el (shell-command-on-region): Pass the `replace' argument
13786 down to `call-process-region' to comply with the doc as reported on
13787 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13789 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13791 * emacs-lisp/smie.el (smie-indent-forward-token)
13792 (smie-indent-backward-token): Handle string tokens (bug#14381).
13794 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13796 * ielm.el (ielm-menu): New menu.
13797 (inferior-emacs-lisp-mode): Set comment-start.
13799 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13801 * textmodes/reftex.el (reftex-ref-style-toggle):
13802 Fix deactivate action.
13804 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13805 Add cleveref macros.
13807 * textmodes/reftex-parse.el
13808 (reftex-locate-bibliography-files): Accept options for
13809 bibliography commands.
13810 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13811 Add addbibresource. Basic Biblatex support.
13813 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13815 * net/tramp-gvfs.el (top):
13816 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13817 when loading package. (Bug#14447)
13819 2013-05-23 Glenn Morris <rgm@gnu.org>
13821 * progmodes/js.el: No need to load comint when compiling.
13822 (ring-insert, comint-send-string, comint-send-input)
13823 (comint-last-input-end, ido-chop): Declare.
13825 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13826 * vc/ediff-mult.el: Adjust requires.
13827 (ediff-directories-internal, ediff-directory-revisions-internal)
13828 (ediff-patch-file-internal): Declare.
13829 * vc/ediff-ptch.el: Adjust requires.
13830 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13831 (ediff-find-file): Autoload.
13832 * vc/ediff-util.el: No need to load ediff when compiling.
13833 (ediff-regions-internal): Declare.
13834 * vc/ediff-wind.el: Adjust requires.
13835 (ediff-compute-toolbar-width): Define when compiling.
13836 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13837 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13838 (dired-get-filename, dired-get-marked-files)
13839 (ediff-last-dir-patch, ediff-patch-default-directory)
13840 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13841 (ediff-patch-buffer-internal): Declare.
13843 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13844 (ispell-process, ispell-buffer-local-words, lm-summary)
13845 (lm-section-start, lm-section-end): Declare.
13846 (checkdoc-ispell-init): Simplify.
13848 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13849 (he-string-member, he-reset-string, he-substitute-string): Declare.
13851 * eshell/em-ls.el: Adjust requires.
13852 (eshell-glob-regexp): Declare.
13853 * eshell/em-tramp.el: Adjust requires.
13854 (eshell-parse-command): Autoload.
13855 * eshell/em-xtra.el: Adjust requires.
13856 (eshell-parse-command): Autoload.
13857 * eshell/esh-ext.el: Adjust requires.
13858 (eshell-parse-command, eshell-close-handles): Autoload.
13859 * eshell/esh-io.el: Adjust requires.
13860 (eshell-output-filter): Autoload.
13861 * eshell/esh-util.el: No need to load tramp when compiling.
13862 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13864 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13865 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13866 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13867 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13868 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13869 * eshell/esh-opt.el, eshell/esh-proc.el:
13870 * eshell/esh-var.el: Adjust requires.
13871 * eshell/eshell.el: Do not require esh-util twice.
13872 (eshell-add-input-to-history): Declare.
13873 (eshell-command): Check history module is active before using it.
13875 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13877 2013-05-22 Leo Liu <sdl.web@gmail.com>
13879 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13881 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13883 * autorevert.el (auto-revert-notify-add-watch)
13884 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13885 it indicates changes in file modification time.
13887 2013-05-22 Glenn Morris <rgm@gnu.org>
13889 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13890 Always delete the autoloaded function from the noruntime and
13891 unresolved functions lists.
13893 * allout.el: No need to load epa, epg, overlay when compiling.
13894 (epg-context-set-passphrase-callback, epg-list-keys)
13895 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13896 (epg-key-user-id-list): Declare.
13898 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13899 (viper-set-parsing-style-toggling-macro)
13900 (viper-set-emacs-state-searchstyle-macros):
13901 Use called-interactively-p on Emacs.
13902 (viper-looking-back): Make it an obsolete alias. Update callers.
13903 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13904 Use looking-back rather than viper-looking-back.
13905 (viper-tmp-insert-at-eob, viper-enlarge-region)
13906 (viper-read-string-with-history, viper-register-to-point)
13907 (viper-append-to-register, viper-change-state-to-vi)
13908 (viper-backward-char-carefully, viper-forward-char-carefully)
13909 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13910 (viper-change-state-to-emacs): Declare.
13911 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13912 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13913 * emulation/viper-mous.el: Do not load viper-cmd.
13914 (viper-backward-char-carefully, viper-forward-char-carefully)
13915 (viper-forward-word, viper-adjust-window): Declare.
13917 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13919 * progmodes/idlw-help.el (idlwave-help-fontify):
13920 Use called-interactively-p.
13922 * term/w32console.el (w32-get-console-codepage)
13923 (w32-get-console-output-codepage): Declare.
13925 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13926 Remove unnecessary declarations.
13927 (dframe-message): Doc fix.
13929 * info.el (dframe-select-attached-frame, dframe-current-frame):
13932 * speedbar.el (speedbar-message): Make it an obsolete alias.
13933 Update all callers.
13934 (speedbar-with-attached-buffer)
13935 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13936 (speedbar-with-writable): Use backquote.
13937 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13938 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13939 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13940 rather than speedbar- aliases.
13941 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13942 (speedbar-make-specialized-keymap, speedbar-insert-button)
13943 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13944 (speedbar-do-function-pointer): Declare.
13945 (rmail-speedbar-button, rmail-speedbar-find-file)
13946 (rmail-speedbar-move-message):
13947 Use dframe-with-attached-buffer rather than speedbar- alias.
13948 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13949 (dframe-message, speedbar-make-specialized-keymap)
13950 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13951 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13952 (speedbar-insert-button, dframe-select-attached-frame)
13953 (dframe-maybee-jump-to-attached-frame)
13954 (speedbar-change-initial-expansion-list)
13955 (speedbar-previously-used-expansion-list-name): Declare.
13956 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13957 Use dframe-message, dframe-with-attached-buffer rather than
13959 (gud-sentinel): Silence compiler.
13960 * progmodes/vhdl-mode.el (speedbar-refresh)
13961 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13962 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13963 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13964 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13965 (speedbar-file-lists, speedbar-make-tag-line)
13966 (speedbar-line-directory, speedbar-goto-this-file)
13967 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13968 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13969 (speedbar-make-button, speedbar-reset-scanners)
13970 (speedbar-files-item-info, speedbar-line-text)
13971 (speedbar-find-file-in-frame, speedbar-set-timer)
13972 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13973 (speedbar-with-writable): Do not (re)define it.
13974 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13975 rather than speedbar- alias.
13977 2013-05-21 Leo Liu <sdl.web@gmail.com>
13979 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13981 (octave-mode): Tweak fill-nobreak-predicate.
13982 (inferior-octave-startup): Check process to avoid infinite loop.
13983 (inferior-octave): Pop to buffer first to show abornmal process
13986 2013-05-21 Glenn Morris <rgm@gnu.org>
13988 * printing.el (pr-menu-bar): Define when compiling.
13990 2013-05-21 Leo Liu <sdl.web@gmail.com>
13992 * progmodes/octave.el (octave-auto-fill): Remove.
13993 (octave-indent-new-comment-line): Improve.
13994 (octave-mode): Use auto fill mode through
13995 comment-line-break-function and fill-nobreak-predicate.
13996 (octave-goto-function-definition): Support DEFUN_DLD.
13997 (octave-beginning-of-defun): Small tweak.
13998 (octave-help): Show parent directory.
14000 2013-05-21 Glenn Morris <rgm@gnu.org>
14002 * files.el (dired-unmark):
14003 * progmodes/gud.el (gdb-input): Update declarations.
14005 * calculator.el (electric, ehelp): No need to load when compiling.
14006 (Electric-command-loop, electric-describe-mode): Declare.
14008 * doc-view.el (doc-view-current-converter-processes): Move before use.
14010 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14011 Move MODE-set-explicitly definition before use.
14013 * international/mule-diag.el (mule-diag):
14014 Don't use obsolete window-system-version.
14016 * mail/feedmail.el (smtpmail): No need to load when compiling.
14017 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14019 * mail/mail-utils.el (rfc822): No need to load when compiling.
14020 (rfc822-addresses): Autoload it.
14021 (mail-strip-quoted-names): Trivial simplification.
14023 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14024 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14026 * net/snmp-mode.el (tempo): Don't duplicate requires.
14028 * progmodes/prolog.el (info): No need to load when compiling.
14029 (comint): Require before shell requires it.
14030 (Info-goto-node): Autoload it.
14031 (Info-follow-nearest-node): Declare.
14032 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14034 * textmodes/artist.el (picture-mode-exit): Declare.
14036 * textmodes/reftex-parse.el (reftex-parse-from-file):
14037 Trivial rewrite so the compiler can parse it better.
14039 2013-05-20 Leo Liu <sdl.web@gmail.com>
14041 * progmodes/octave.el (octave-help-mode-map)
14042 (octave-help-mode-finish-hook): New variables.
14043 (octave-help-mode, octave-help-mode-finish): New functions.
14044 (octave-help): Use octave-help-mode.
14046 2013-05-20 Glenn Morris <rgm@gnu.org>
14048 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14050 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14052 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14053 start at point, so that expansion starting right after opening
14054 slash in a regexp is recognized.
14055 (ruby-syntax-before-regexp-re): New defvar, extracted from
14056 ruby-syntax-propertize-function. Since the value of this regexp
14057 is looked up at runtime now, we should be able to turn
14058 `ruby-syntax-methods-before-regexp' into a defcustom later.
14059 (ruby-syntax-propertize-function): Split regexp matching into two
14060 parts, for opening and closing slashes. That allows us to skip
14061 over string interpolations and support multiline regexps.
14062 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14063 for them, which calls `ruby-syntax-propertize-expansion'.
14064 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14065 call to `ruby-syntax-propertize-function'.
14066 (ruby-syntax-propertize-expansion): Extracted from
14067 `ruby-syntax-propertize-expansions'. Handles one expansion.
14068 (ruby-syntax-propertize-percent-literal): Leave point right after
14069 the percent symbol, so that the expression expansion rule can
14070 propertize the contents.
14071 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14073 (ruby-syntax-propertize-expansions): Remove.
14075 2013-05-18 Juri Linkov <juri@jurta.org>
14077 * man.el (Man-default-man-entry): Remove `-' from the end
14078 of the default value. (Bug#14400)
14080 2013-05-18 Glenn Morris <rgm@gnu.org>
14082 * comint.el (comint-password-prompt-regexp):
14083 Allow "password for XXX" where XXX contains colons (eg https://...).
14085 2013-05-18 Leo Liu <sdl.web@gmail.com>
14087 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14088 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14089 (octave-source-directories): Don't check process.
14090 (octave-source-directories, octave-find-definition): Doc fix.
14092 2013-05-18 Glenn Morris <rgm@gnu.org>
14094 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14095 Remove backspace/delete bindings. (Bug#14392)
14097 * cus-dep.el (custom-make-dependencies): Sort the output.
14098 (custom-versions-load-alist): Convert comment to doc.
14100 2013-05-17 Leo Liu <sdl.web@gmail.com>
14102 * newcomment.el (comment-search-backward): Stricter in finding
14103 comment start. (Bug#14303)
14105 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14106 (octave-comment-start-skip): Properly anchored.
14108 2013-05-17 Leo Liu <sdl.web@gmail.com>
14110 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14111 Clean up when turned off. (Bug#14395)
14112 (smie--highlight-matching-block-overlay): No longer buffer-local.
14113 (smie-highlight-matching-block): Adjust.
14115 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14117 Doc string fix for "nanoseconds" (Bug#14406).
14118 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14119 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14121 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14123 * calc/calc-units.el (math-extract-units): Preserve powers
14126 2013-05-17 Leo Liu <sdl.web@gmail.com>
14128 * subr.el (delete-consecutive-dups): New function.
14129 * ido.el (ido-set-matches-1): Use it.
14130 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14131 * ido.el (ido-remove-consecutive-dups): Remove.
14133 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14135 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14136 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14137 regexp-opt's `words'.
14139 2013-05-16 Leo Liu <sdl.web@gmail.com>
14141 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14142 (smie--highlight-matching-block-overlay)
14143 (smie--highlight-matching-block-lastpos)
14144 (smie--highlight-matching-block-timer): New variables.
14145 (smie-highlight-matching-block): New function.
14146 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14147 (smie-setup): Conditionally enable smie-blink-matching-open.
14149 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14151 Sync with upstream verilog-mode r840.
14152 * progmodes/verilog-mode.el (verilog-mode-version)
14153 (verilog-mode-release-date): Update.
14154 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14155 (verilog-sig-tieoff): Fix string error on
14156 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14157 (verilog-read-decls): Fix parameters confusing
14158 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14160 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14162 * subr.el (reveal-filename): New function.
14164 * loadup.el: Compute Emacs executable versions on MS-Windows,
14165 where executables have the .exe extension. Add a hard link
14166 emacs-XX.YY.ZZ.exe on MS-Windows.
14168 * Makefile.in (XARGS_LIMIT): New variable.
14169 (custom-deps, finder-data, autoloads)
14170 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14171 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14172 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14173 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14175 2013-05-16 Leo Liu <sdl.web@gmail.com>
14177 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14178 (octave-mode-menu, octave-mode-map): Remove its uses.
14180 2013-05-16 Reto Zimmermann <reto@gnu.org>
14182 Sync with upstream vhdl mode v3.34.2.
14183 * progmodes/vhdl-mode.el: Use `push' throughout.
14184 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14185 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14186 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14187 (vhdl-actual-generic-name): New option to derive actual generic name.
14188 (vhdl-port-paste-signals): Replace formal by actual generics.
14189 (vhdl-beautify): New name for old group vhdl-align. Update users.
14190 (vhdl-beautify-options): New option.
14191 (vhdl-last-input-event): New compat alias. Use throughout.
14192 (vhdl-goto-line): Replace user level function `goto-line'.
14193 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14194 vhdl-fix-statement-buffer.
14195 (vhdl-create-mode-menu): Add some entries.
14196 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14197 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14198 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14199 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14200 to force statements on one line.
14201 (vhdl-remove-trailing-spaces-region):
14202 New, split from vhdl-remove-trailing-spaces.
14203 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14204 Respect vhdl-beautify-options.
14205 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14206 (vhdl-update-sensitivity-list): Not add with index if exists without.
14207 Not include array index with signal. Ignore keywords in comments.
14208 (vhdl-get-visible-signals): Regexp tweaks.
14209 (vhdl-template-component-inst): Handle empty library.
14210 (vhdl-template-type): Add template for 'enum' type.
14211 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14212 Use vhdl-replace-string.
14213 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14214 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14215 (vhdl-speedbar-initialize): Update for above name change.
14216 (vhdl-compose-wire-components): Fix in handling of constants.
14217 (vhdl-error-regexp-emacs-alist): New variable.
14218 (vhdl-error-regexp-add-emacs): New function;
14219 adds support for new compile.el (Emacs 22+)
14220 (vhdl-generate-makefile-1): Change target order for single lib. units.
14221 Allow use of absolute file names.
14223 2013-05-16 Leo Liu <sdl.web@gmail.com>
14225 * simple.el (prog-indent-sexp): Indent enclosing defun.
14227 2013-05-15 Glenn Morris <rgm@gnu.org>
14229 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14230 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14231 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14232 (whitespace-highlight): Move to whitespace group.
14234 * comint.el (comint-source):
14235 * pcmpl-linux.el (pcmpl-linux):
14236 * shell.el (shell-faces):
14237 * eshell/esh-opt.el (eshell-opt):
14238 * international/ccl.el (ccl): Remove empty custom groups.
14240 * completion.el (dynamic-completion-mode):
14241 * jit-lock.el (jit-lock-debug-mode):
14242 * minibuffer.el (completion-in-region-mode):
14243 * type-break.el (type-break-mode-line-message-mode)
14244 (type-break-query-mode):
14245 * emulation/tpu-edt.el (tpu-edt-mode):
14246 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14247 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14248 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14250 * term/xterm.el (xterm): Change parent group to terminals.
14252 * master.el (master): Remove empty custom group.
14253 (master-mode): Remove unused :group argument.
14254 * textmodes/refill.el (refill): Remove empty custom group.
14255 (refill-mode): Remove unused :group argument.
14257 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14259 * cus-dep.el: Provide a feature.
14260 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14261 Don't mistakenly ignore files whose basenames match a basename
14262 from preloaded-file-list (eg cedet/ede/simple.el).
14263 Add a fallback method for getting :group.
14265 2013-05-15 Juri Linkov <juri@jurta.org>
14267 * isearch.el (isearch-char-by-name): Rename from
14268 `isearch-insert-char-by-name'. Doc fix.
14269 (isearch-forward): Mention `isearch-char-by-name' in
14270 the docstring. (Bug#13348)
14272 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14273 `exit-minibuffer' instead of
14274 `isearch-nonincremental-exit-minibuffer'.
14275 (isearch-edit-string): Remove mention of
14276 `isearch-nonincremental-exit-minibuffer' from docstring.
14277 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14278 (isearch-forward-exit-minibuffer)
14279 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14281 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14283 * loadup.el: Just use unversioned DOC.
14285 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14286 literals as extending to EOB.
14287 (nxml-last-fontify-end): Remove unused variable.
14288 (nxml-after-change1): Use with-silent-modifications.
14289 (nxml-extend-after-change-region): Simplify.
14290 (nxml-extend-after-change-region1): Remove function.
14291 (nxml-after-change1): Don't adjust for dependent regions.
14292 (nxml-fontify-matcher): Simplify.
14293 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14294 (xmltok-add-dependent): Remove function.
14295 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14296 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14297 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14298 unclosed <[[, <?, comment, and other literals as extending to EOB.
14299 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14300 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14302 (rng-do-some-validation-1): Don't mark dependent regions.
14303 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14304 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14305 (nxml-clear-dependent-regions): Remove functions.
14306 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14307 (nxml-ensure-scan-up-to-date):
14308 Don't clear&mark dependent regions.
14310 2013-05-15 Leo Liu <sdl.web@gmail.com>
14312 * progmodes/octave.el (octave-goto-function-definition):
14313 Improve and fix callers.
14315 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14317 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14318 the setter (bug#14387).
14320 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14321 surrounding group (bug#14402).
14323 2013-05-14 Juri Linkov <juri@jurta.org>
14325 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14328 2013-05-14 Glenn Morris <rgm@gnu.org>
14330 * progmodes/f90.el (f90-imenu-generic-expression):
14331 Fix typo in 2013-05-08 change. (Bug#14402)
14333 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14335 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14336 Remove signals for which replies are never received.
14338 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14340 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14341 (gdb-handler-alist, gdb-handler-number): Remove variables.
14342 (gdb-handler-list): New variable.
14343 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14344 (gdb-pending-handler-p, gdb-handle-reply)
14345 (gdb-remove-all-pending-triggers): New functions.
14346 (gdb-discard-unordered-replies): New defcustom.
14347 (gdb-handler): New defstruct.
14348 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14349 instead of gdb-pending-triggers. Update docstring.
14350 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14351 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14352 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14353 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14354 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14355 (gdb-frame-handler): Pending triggers are now automatically managed.
14356 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14358 (gdb-input): Automatically handles pending triggers. Update docstring.
14359 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14360 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14362 (gdb-done-or-error): Now use gdb-handle-reply.
14364 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14366 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14369 2013-05-14 Glenn Morris <rgm@gnu.org>
14371 * subr.el (user-emacs-directory-warning): New option.
14372 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14374 2013-05-14 Leo Liu <sdl.web@gmail.com>
14376 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14378 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14379 (octave-font-lock-texinfo-comment): Fix invalid search bound
14380 error: wrong side of point.
14382 2013-05-14 Glenn Morris <rgm@gnu.org>
14384 * progmodes/flymake.el (flymake-xml-program): New option.
14385 (flymake-xml-init): Use it.
14387 * term/xterm.el: Provide a feature.
14389 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14391 2013-05-13 Glenn Morris <rgm@gnu.org>
14393 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14394 Add compat aliases as a hack workaround. (Bug#14384)
14396 2013-05-13 Leo Liu <sdl.web@gmail.com>
14398 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14400 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14402 (octave-comment-start-skip): Include %!.
14403 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14405 2013-05-12 Leo Liu <sdl.web@gmail.com>
14407 * progmodes/octave.el (inferior-octave-startup): Store the value
14408 of __octave_srcdir__ for octave-source-directories.
14409 (inferior-octave-check-process): New function refactored out of
14410 inferior-octave-send-list-and-digest.
14411 (octave-source-directories)
14412 (octave-find-definition-filename-function): New variables.
14413 (octave-source-directories)
14414 (octave-find-definition-default-filename): New functions.
14415 (octave-find-definition): Improve to find functions implemented in C++.
14417 2013-05-12 Glenn Morris <rgm@gnu.org>
14419 * calendar/diary-lib.el (diary-outlook-format-1):
14420 Don't include dayname in the output. (Bug#14349)
14422 2013-05-11 Glenn Morris <rgm@gnu.org>
14424 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14426 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14427 Treat cc-provide like provide.
14429 2013-05-11 Kevin Ryde <user42@zip.com.au>
14431 * cus-dep.el (custom-make-dependencies):
14432 Use generated-autoload-load-name for the sake of files such
14433 such cedet/semantic/bovine/c.el, where the base file name
14434 is not in load-path. (Bug#5277)
14436 2013-05-11 Glenn Morris <rgm@gnu.org>
14438 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14441 2013-05-11 Leo Liu <sdl.web@gmail.com>
14443 * progmodes/octave.el (octave-indent-comment): Improve.
14444 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14445 (octave-eldoc-function-signatures, octave-eldoc-function):
14447 (octave-mode, inferior-octave-mode): Add eldoc support.
14449 2013-05-11 Richard Stallman <rms@gnu.org>
14451 * epa.el (epa-decrypt-file): Take output file name as argument
14452 and read it using `interactive'.
14454 2013-05-11 Leo Liu <sdl.web@gmail.com>
14456 * progmodes/octave.el (octave-beginning-of-line)
14457 (octave-end-of-line): Check before using up-list because it jumps
14458 out of more syntactic contructs since moving to smie.
14459 (octave-indent-comment): New function.
14460 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14461 (octave-begin-keywords, octave-end-keywords)
14462 (octave-reserved-words, octave-smie-bnf-table)
14463 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14465 2013-05-11 Glenn Morris <rgm@gnu.org>
14467 * faces.el (internal-face-x-get-resource):
14468 * frame.el (ns-display-monitor-attributes-list):
14469 * calc/calc-aent.el (math-to-radians-2):
14470 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14473 * calc/calc-menu.el: Make it loadable in isolation.
14475 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14476 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14477 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14478 (eudc-bbdb-query-internal): Require 'bbdb.
14480 * lpr.el (lpr-headers-switches):
14481 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14483 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14485 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14487 * term.el (term-set-escape-char): Make it idempotent.
14489 2013-05-10 Leo Liu <sdl.web@gmail.com>
14491 * progmodes/octave.el (inferior-octave-completion-table):
14492 No longer a function and all uses changed. Use cache to speed up
14493 completion due to bug#11906.
14494 (octave-beginning-of-defun): Re-write to be more general.
14496 2013-05-10 Glenn Morris <rgm@gnu.org>
14498 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14500 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14502 * comint.el (comint-redirect-send-command-to-process): Use :around
14503 rather than :override for comint-redirect-filter.
14504 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14505 Call it instead of comint-redirect-original-filter-function (which
14506 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14508 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14510 * frame.el (display-monitor-attributes-list): Add NS case.
14511 (ns-display-monitor-attributes-list): Declare.
14513 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14515 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14517 2013-05-09 Glenn Morris <rgm@gnu.org>
14519 * international/fontset.el (vertical-centering-font-regexp):
14520 Set standard-value.
14522 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14524 * bookmark.el (bookmark-search-delay):
14525 * cus-start.el (vertical-centering-font-regexp):
14526 * ps-mule.el (ps-mule-font-info-database-default):
14527 * ps-print.el (ps-default-fg, ps-default-bg):
14528 * type-break.el (type-break-good-break-interval):
14529 * whitespace.el (whitespace-indentation-regexp)
14530 (whitespace-space-after-tab-regexp):
14531 * emacs-lisp/testcover.el (testcover-1value-functions)
14532 (testcover-noreturn-functions, testcover-progn-functions)
14533 (testcover-prog1-functions):
14534 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14535 * eshell/em-glob.el (eshell-glob-translate-alist):
14536 * play/tetris.el (tetris-tty-colors):
14537 * progmodes/cpp.el (cpp-face-default-list):
14538 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14539 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14540 (idlwave-help-browser-generic-args):
14541 * progmodes/make-mode.el (makefile-special-targets-list):
14542 * progmodes/python.el (python-shell-virtualenv-path):
14543 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14544 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14545 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14546 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14547 * textmodes/reftex-vars.el (reftex-format-label-function):
14548 * textmodes/remember.el (remember-diary-file): Fix custom types.
14550 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14553 2013-05-09 Leo Liu <sdl.web@gmail.com>
14555 * progmodes/octave.el (inferior-octave-completion-at-point):
14556 Restore file completion. (Bug#14300)
14557 (inferior-octave-startup): Fix incorrect highlighting for the
14560 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14562 * progmodes/ruby-mode.el: First cut at SMIE support.
14563 (ruby-use-smie): New var.
14564 (ruby-smie-grammar): New constant.
14565 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14566 (ruby-smie--forward-token, ruby-smie--backward-token)
14567 (ruby-smie-rules): New functions.
14568 (ruby-mode-variables): Setup SMIE if applicable.
14570 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14572 * simple.el (line-move-visual): Signal beginning/end of buffer
14573 only if vertical-motion moved less than it was requested. Avoids
14574 silly incorrect error messages when there are display strings with
14575 multiple newlines at EOL.
14577 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14579 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14580 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14581 (prolog-char-quote-workaround):
14582 * progmodes/cperl-mode.el (cperl-under-as-char):
14583 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14585 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14587 (vhdl-mode-syntax-table-init): Remove.
14589 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14592 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14594 (ld-script-font-lock-keywords):
14595 Change regexps to use things like \_< and \_>.
14597 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14598 Change all regexps to use things like \_< and \_>.
14600 * progmodes/autoconf.el (autoconf-definition-regexp)
14601 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14602 Handle a _ with symbol syntax.
14603 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14605 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14606 Consolidate declaration.
14607 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14609 (ada-create-syntax-table): Remove.
14610 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14611 already has the right syntax nowadays.
14612 (ada-goto-next-word): Don't change the syntax of "_".
14614 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14617 2013-05-08 Sam Steingold <sds@gnu.org>
14619 * thingatpt.el (thing-at-point): Accept optional second argument
14620 NO-PROPERTIES to strip the text properties from the return value.
14621 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14622 to `thing-at-point' instead of stripping the properties ourselves.
14623 Also, when `thing-at-point' fails to find a url, prepend "http://"
14624 to the filename at point on the assumption that the user is
14625 pointing at something like gnu.org/gnu.
14627 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14629 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14630 * faces.el (crm-separator):
14631 Silence byte-compiler.
14633 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14634 (tool-bar-map): Remove unneeded defvars.
14636 2013-05-08 Leo Liu <sdl.web@gmail.com>
14638 Re-work a fix for bug#10994 based on Le Wang's patch.
14639 * ido.el (ido-remove-consecutive-dups): New helper.
14640 (ido-completing-read): Use it.
14641 (ido-chop): Revert fix for bug#10994.
14643 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14645 * cus-edit.el (custom-save-variables):
14646 Pretty-print long values. (Bug#14187)
14648 2013-05-08 Glenn Morris <rgm@gnu.org>
14650 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14651 (m4-mode-syntax-table): Init in the defvar.
14652 (m4-mode-abbrev-table): Let define-derived-mode define it.
14654 2013-05-08 Tom Tromey <tromey@redhat.com>
14656 * progmodes/m4-mode.el (m4-mode-syntax-table):
14657 Do not treat "_" as word constituent. (Bug#14167)
14659 2013-05-07 Glenn Morris <rgm@gnu.org>
14661 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14662 Remove explicit eshell-isearch-cancel-map.
14664 * progmodes/f90.el (f90-smart-end-names): New option.
14665 (f90-smart-end): Doc fix.
14666 (f90-end-block-optional-name): New constant.
14667 (f90-block-match): Respect f90-smart-end-names.
14669 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14671 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14672 about implicit semi-colons (bug#14218).
14674 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14676 * frame.el (display-monitor-attributes-list)
14677 (frame-monitor-attributes): New functions.
14679 2013-05-06 Leo Liu <sdl.web@gmail.com>
14681 * progmodes/octave.el (octave-syntax-propertize-function): Change
14682 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14683 (octave-font-lock-keywords): Use octave-operator-regexp.
14684 (octave-completion-at-point): Rename from
14685 octave-completion-at-point-function.
14686 (inferior-octave-directory-tracker): Robustify.
14687 (octave-text-functions): Remove and fix its uses. No such things
14690 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14692 * emacs-lisp/trace.el (trace--display-buffer): New function.
14693 (trace-make-advice): Use it.
14695 2013-05-06 Juri Linkov <juri@jurta.org>
14697 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14698 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14700 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14701 in the help string. (Bug#12985)
14703 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14705 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14707 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14709 * progmodes/perl-mode.el: Add support for here documents.
14710 (perl-syntax-propertize-function): Match here-doc markers.
14711 (perl-syntax-propertize-special-constructs): Find their end.
14712 (perl-imenu-generic-expression): Use [:alnum:].
14714 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14715 (advice--add-function): Refresh the advice if already present
14718 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14720 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14722 2013-05-06 Glenn Morris <rgm@gnu.org>
14724 * w32-fns.el (w32-charset-info-alist): Declare.
14726 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14727 of its defcustom properties.
14728 (eshell-cmpl-initialize): No need to load pcomplete.
14730 * generic-x.el: No need to require comint when compiling.
14732 * net/eudc-export.el: Make it loadable without bbdb.
14733 (top-level): Use require rather than load-library.
14734 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14735 (eudc-batch-export-records-to-bbdb)
14736 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14739 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14741 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14742 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14743 some tweaks, instead.
14745 2013-05-05 Leo Liu <sdl.web@gmail.com>
14747 * progmodes/octave.el (octave-font-lock-keywords)
14748 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14749 (inferior-octave-send-list-and-digest): Improve error message.
14750 (octave-mode, inferior-octave-mode): Use setq-local.
14751 (octave-help): Set info-lookup-mode.
14753 2013-05-05 Richard Stallman <rms@gnu.org>
14755 * vc/compare-w.el (compare-windows-whitespace):
14756 Treat no-break space as whitespace.
14758 * mail/rmailsum.el (rmail-summary-rmail-update):
14759 Detect empty summary and don't change selected message.
14760 (rmail-summary-goto-msg): Likewise.
14762 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14763 Doc fixes, rename args.
14765 2013-05-05 Alan Mackenzie <acm@muc.de>
14767 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14769 2013-05-05 Juri Linkov <juri@jurta.org>
14771 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14772 to not add the length of the summary segment to the return value.
14775 2013-05-05 Leo Liu <sdl.web@gmail.com>
14777 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14778 (inferior-octave-output-filter): Remove.
14779 (octave-send-region, inferior-octave-startup): Fix callers.
14780 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14781 (octave-binary-file-extensions): New user variable.
14782 (octave-find-definition): Confirm if opening binary files.
14783 (octave-help-file): Use octave-find-definition to get the binary
14785 (octave-help): Adjust for octave-help-file change.
14787 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14789 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14790 Merge the two entries that handle function definitions.
14791 (pascal--syntax-propertize): New const.
14792 (pascal-mode): Use it. Use setq-local.
14794 2013-05-04 Glenn Morris <rgm@gnu.org>
14796 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14797 (diary-from-outlook): Respect diary-from-outlook-function.
14799 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14801 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14802 Move the declaration from C.
14803 (read-minibuffer, eval-minibuffer): Move from C.
14804 (completion-setup-function): Avoid minibuffer-completion-contents.
14806 2013-05-03 Leo Liu <sdl.web@gmail.com>
14808 * progmodes/octave.el (octave-font-lock-keywords): Do not
14809 dehighlight 'end' in comments or strings.
14810 (octave-completing-read, octave-goto-function-definition):
14812 (octave-help-buffer): New user variable.
14813 (octave-help-file, octave-help-function): New button types.
14814 (octave-help): New command and bind it to C-h ;.
14815 (octave-find-definition): New command and bind it to M-.
14816 (user-error): Alias to error if not defined.
14818 2013-05-02 Leo Liu <sdl.web@gmail.com>
14820 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14822 (octave-font-lock-keywords): Include [ and {.
14824 2013-05-02 Leo Liu <sdl.web@gmail.com>
14826 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14827 (inferior-octave): Remove calling comint-mode and return the buffer.
14828 (inferior-octave-startup): Cosmetic changes.
14830 2013-05-02 Leo Liu <sdl.web@gmail.com>
14832 * progmodes/octave.el (octave-syntax-propertize-function):
14833 Include the case when ' is at line beginning. (Bug#14336)
14835 2013-05-02 Glenn Morris <rgm@gnu.org>
14837 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14838 * desktop.el (vc-dir-mode): Just autoload it here.
14840 2013-05-02 Alan Mackenzie <acm@muc.de>
14842 Eliminate variable c-standard-font-lock-fontify-region-function.
14843 * progmodes/cc-mode.el
14844 (c-standard-font-lock-fontify-region-function): Remove.
14845 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14847 2013-05-01 Leo Liu <sdl.web@gmail.com>
14849 * progmodes/octave.el: Compatible with older emacs-24 releases.
14850 (inferior-octave-has-built-in-variables): Remove. Built-in
14851 variables were removed from Octave in 2007.
14852 (inferior-octave-startup): Fix uses.
14853 (comint-line-beginning-position): Remove compatibility code for
14856 2013-05-01 Juri Linkov <juri@jurta.org>
14858 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14860 2013-05-01 Juri Linkov <juri@jurta.org>
14862 * comint.el (comint-previous-matching-input): Don't print message
14863 "History item: %d" when `isearch-mode' is active.
14864 (comint-history-isearch-message): Print message "History item: %d"
14865 when `comint-input-ring-index' is not empty and this function is
14866 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14868 2013-05-01 Leo Liu <sdl.web@gmail.com>
14870 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14871 definitions. Use completion-at-point to insert keywords.
14872 (octave-abbrev-start): Remove.
14873 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14875 2013-04-30 Leo Liu <sdl.web@gmail.com>
14877 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14880 2013-04-30 Alan Mackenzie <acm@muc.de>
14882 Handle arbitrarily long C++ member initialisation lists.
14883 * progmodes/cc-engine.el (c-back-over-member-initializers):
14885 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14886 (most) member init lists.
14888 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14890 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14893 2013-04-30 Leo Liu <sdl.web@gmail.com>
14895 * progmodes/octave.el (octave-variables): Remove. No builtin
14896 variables any more. All converted to functions.
14897 (octave-font-lock-keywords, octave-completion-at-point-function):
14899 (octave-font-lock-texinfo-comment): New user variable.
14900 (octave-texinfo-font-lock-keywords): New variable for texinfo
14902 (octave-function-comment-block): New face.
14903 (octave-font-lock-texinfo-comment): New function.
14904 (octave-mode): Font lock texinfo comment block.
14906 2013-04-29 Leo Liu <sdl.web@gmail.com>
14908 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14909 indexing expression.
14910 (octave-continuation-string): Do not use \.
14911 (inferior-octave-complete-impossible): Remove.
14912 (inferior-octave-completion-table)
14913 (inferior-octave-completion-at-point): Remove its uses.
14914 (inferior-octave-startup): completion_matches was introduced to
14915 Octave in 1996 so safe to assume it.
14916 (octave-function-file-comment): Improve to follow how Octave does it.
14917 (octave-update-function-file-comment): Tweak.
14919 2013-04-29 Leo Liu <sdl.web@gmail.com>
14921 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14922 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14923 (octave-function-file-comment): Fix typo.
14924 (octave-sync-function-file-names): Use read-char-choice.
14926 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14928 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14929 to t for the less important warnings.
14931 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14933 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14935 2013-04-27 Glenn Morris <rgm@gnu.org>
14937 * vc/log-view.el (log-view-current-entry):
14938 Treat "---" separator lines as part of the following rev. (Bug#14169)
14940 2013-04-27 Juri Linkov <juri@jurta.org>
14942 * subr.el (read-number): Doc fix about using it by interactive
14943 code letter `n'. (Bug#14254)
14945 2013-04-27 Juri Linkov <juri@jurta.org>
14947 * desktop.el (desktop-auto-save-timeout): New option.
14948 (desktop-file-checksum): New variable.
14949 (desktop-save): Add optional arg `auto-save' and don't auto-save
14950 if nothing changed.
14951 (desktop-auto-save-timer): New variable.
14952 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14953 (after-init-hook): Call `desktop-auto-save-set-timer'.
14954 Suggested by Reuben Thomas <rrt@sc3d.org> in
14955 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14957 2013-04-27 Leo Liu <sdl.web@gmail.com>
14959 * progmodes/octave.el (octave-function-file-p)
14960 (octave-skip-comment-forward, octave-function-file-comment)
14961 (octave-update-function-file-comment): New functions.
14962 (octave-mode-map): Bind C-c ; to
14963 octave-update-function-file-comment.
14964 (octave-mode-menu): Add octave-update-function-file-comment.
14965 (octave-mode, inferior-octave-mode): Fix doc-string.
14966 (octave-insert-defun): Conform to Octave's coding convention.
14969 * files.el (basic-save-buffer): Don't let errors in
14970 before-save-hook prevent saving buffer.
14972 2013-04-20 Roland Winkler <winkler@gnu.org>
14974 * faces.el (read-face-name): Use completing-read if arg multiple
14977 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14979 * ls-lisp.el (ls-lisp-insert-directory): If no files are
14980 displayed, move point to after the totals line.
14981 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14984 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14986 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14987 Add current dir to the load-path.
14988 (package-generate-autoloads): Don't rely on
14989 autoload-ensure-default-file.
14991 2013-04-26 Reuben Thomas <rrt@sc3d.org>
14993 * textmodes/remember.el (remember-store-in-files): Document that
14994 the file name format is passed to `format-time-string'.
14996 2013-04-26 Leo Liu <sdl.web@gmail.com>
14998 * progmodes/octave.el (octave-sync-function-file-names): New function.
14999 (octave-mode): Use it in before-save-hook.
15001 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15003 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15006 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15007 \n and comment, even if it's not an implicit ; (bug#14218).
15009 2013-04-26 Glenn Morris <rgm@gnu.org>
15011 * subr.el (read-number): Once more use `read' rather than
15012 `string-to-number', to trap non-numeric input. (Bug#14254)
15014 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15016 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15017 Use `syntax-multiline' text property consistently instead of
15018 `font-lock-multiline'. (Bug#14237)
15020 2013-04-26 Glenn Morris <rgm@gnu.org>
15022 * emacs-lisp/shadow.el (list-load-path-shadows):
15023 No longer necessary to check for duplicate simple.el, since
15024 2012-07-07 change to init_lread to not include installation lisp
15025 directories in load-path when running uninstalled. (Bug#14270)
15027 2013-04-26 Leo Liu <sdl.web@gmail.com>
15029 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15030 (octave-mode, inferior-octave-mode): Use setq-local.
15031 (octave-not-in-string-or-comment-p): Rename to
15032 octave-in-string-or-comment-p.
15033 (octave-in-comment-p, octave-in-string-p)
15034 (octave-in-string-or-comment-p): Replace defsubst with defun.
15036 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15038 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15040 2013-04-25 Bastien Guerry <bzg@gnu.org>
15042 * textmodes/remember.el (remember-data-directory)
15043 (remember-directory-file-name-format): Fix custom types.
15045 2013-04-25 Leo Liu <sdl.web@gmail.com>
15047 * progmodes/octave.el (octave-completion-at-point-function):
15048 Make use of inferior octave process.
15049 (octave-initialize-completions): Remove.
15050 (inferior-octave-completion-table): New function.
15051 (inferior-octave-completion-at-point): Use it.
15052 (octave-completion-alist): Remove.
15054 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15056 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15057 (opascal-mode-syntax-table): New var.
15058 (opascal-literal-kind, opascal-is-literal-end)
15059 (opascal-literal-token-at): Rewrite.
15060 (opascal--literal-start-re, opascal-font-lock-keywords)
15061 (opascal--syntax-propertize): New constants.
15062 (opascal-font-lock-defaults): Adjust.
15063 (opascal-mode): Use them. Set comment-<foo> variables as well.
15064 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15065 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15066 (delphi-other-face, opascal-other-face): Remove face variables.
15067 (opascal-save-state): Remove macro.
15068 (opascal-fontifying-progress-step): Remove constant.
15069 (opascal--ignore-changes): Remove var.
15070 (opascal-set-token-property, opascal-parse-next-literal)
15071 (opascal-is-stable-literal, opascal-complete-literal)
15072 (opascal-is-literal-start, opascal-face-of)
15073 (opascal-parse-region, opascal-parse-region-until-stable)
15074 (opascal-fontify-region, opascal-after-change)
15075 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15076 (opascal-debug-parse-region, opascal-debug-parse-window)
15077 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15078 (opascal-debug-fontify-buffer): Remove.
15079 (opascal-debug-mode-map): Adjust accordingly.
15081 2013-04-25 Leo Liu <sdl.web@gmail.com>
15083 Merge octave-mod.el and octave-inf.el into octave.el with some
15085 * progmodes/octave.el: New file renamed from octave-mod.el.
15086 * progmodes/octave-inf.el: Merged into octave.el.
15087 * progmodes/octave-mod.el: Renamed to octave.el.
15089 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15091 * textmodes/reftex-vars.el
15092 (reftex-label-ignored-macros-and-environments): New defcustom.
15094 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15096 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15098 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15099 (smie-indent-keyword): Improve the check to ensure that the next
15100 comment is really on the same line.
15101 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15103 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15104 semi-colons if the line is not otherwise empty (bug#14218).
15106 2013-04-25 Glenn Morris <rgm@gnu.org>
15108 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15110 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15112 * progmodes/opascal.el (opascal-set-token-property): Rename from
15113 opascal-set-text-properties and only set `token' (bug#14134).
15114 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15115 (opascal-literal-text-properties): Remove.
15116 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15119 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15121 * textmodes/remember.el (remember-handler-functions): Add an
15122 option for a new handler `remember-store-in-files'.
15123 (remember-data-directory, remember-directory-file-name-format):
15125 (remember-store-in-files): New function to store remember notes
15126 as separate files within a directory.
15128 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15130 * progmodes/compile.el (compilation-next-error-function):
15131 Pass "formats" to compilation-find-file (bug#11777).
15133 2013-04-24 Glenn Morris <rgm@gnu.org>
15135 * vc/vc-bzr.el (vc-bzr-print-log):
15136 * vc/vc-hg.el (vc-hg-print-log):
15137 * vc/vc-svn.el (vc-svn-print-log):
15138 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15140 * vc/vc-bzr.el (vc-bzr-print-log):
15141 * vc/vc-cvs.el (vc-cvs-print-log):
15142 * vc/vc-git.el (vc-git-print-log):
15143 * vc/vc-hg.el (vc-hg-print-log):
15144 * vc/vc-mtn.el (vc-mtn-print-log):
15145 * vc/vc-rcs.el (vc-rcs-print-log):
15146 * vc/vc-sccs.el (vc-sccs-print-log):
15147 * vc/vc-svn.el (vc-svn-print-log):
15148 * vc/vc.el (vc-print-log-internal): Doc fixes.
15150 2013-04-23 Glenn Morris <rgm@gnu.org>
15152 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15153 Remove venerable code attempting to avoid substitute-command-keys.
15155 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15157 * textmodes/reftex-vars.el (reftex-label-regexps):
15158 Call `reftex-compile-variables' after changes to this variable.
15160 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15162 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15163 Use lexical-binding.
15164 (jit-lock-force-redisplay): Use markers, check buffer's continued
15165 existence and beware narrowed buffers.
15166 (jit-lock-fontify-now): Adjust call accordingly.
15168 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15170 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15171 to avoid misleading the user.
15173 2013-04-22 Leo Liu <sdl.web@gmail.com>
15175 * info-look.el: Prefer latex2e.info. (Bug#14240)
15177 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15179 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15181 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15182 * net/tramp.el (tramp-call-process): ... here.
15183 (tramp-set-completion-function, tramp-parse-putty):
15184 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15185 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15186 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15187 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15188 (tramp-call-local-coding-command): Use `tramp-call-process'
15189 instead of `tramp-compat-call-process'.
15191 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15192 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15193 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15194 (tramp-find-inline-compress): Improve traces.
15195 (tramp-maybe-send-script): Check for Perl binary.
15196 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15198 2013-04-22 Daiki Ueno <ueno@gnu.org>
15200 * epg.el (epg-context-pinentry-mode): New function.
15201 (epg-context-set-pinentry-mode): New function.
15202 (epg--start): Pass --pinentry-mode option to gpg command.
15204 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15206 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15207 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15208 `completion-at-point'. (Bug#13774)
15210 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15211 default key binding for `describe-distribution' has been moved to
15212 `C-h C-o'. (Bug#13970)
15214 2013-04-21 Glenn Morris <rgm@gnu.org>
15216 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15218 (vc-print-log): Clarify interactive prompt.
15220 2013-04-20 Glenn Morris <rgm@gnu.org>
15222 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15223 No longer include timestamp etc information.
15225 2013-04-20 Roland Winkler <winkler@gnu.org>
15227 * faces.el (read-face-name): Bug fix, return just one face if arg
15228 multiple is nil. (Bug#14209)
15230 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15232 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15233 (remove-function): Autoload.
15235 * comint.el (comint-redirect-original-filter-function): Remove.
15236 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15237 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15238 (vc-cvs-annotate-command):
15239 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15240 * progmodes/prolog.el (prolog-consult-compile):
15241 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15242 Use add/remove-function instead.
15243 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15244 (gud-tooltip-process-output, gud-tooltip-tips):
15245 Use add/remove-function instead.
15246 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15247 (scheme-interaction-mode, exit-scheme-interaction-mode):
15248 Use add/remove-function instead.
15250 * vc/vc-dispatcher.el: Use lexical-binding.
15251 (vc--process-sentinel): Rename from vc-process-sentinel.
15252 Change last arg to be the code to run. Don't use vc-previous-sentinel
15253 and vc-sentinel-commands any more.
15254 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15255 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15257 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15259 * progmodes/sh-script.el (sh-imenu-generic-expression):
15260 Handle function names with a single character. (Bug#14111)
15262 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15264 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15265 for subroutines defined in an eval (bug#14182).
15267 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15269 * bookmark.el (bookmark-completing-read): Improve handling of empty
15270 string (bug#14176).
15272 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15274 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15276 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15278 New faster Imenu implementation (bug#14058).
15279 * progmodes/python.el:
15280 (python-imenu-prev-index-position):
15281 (python-imenu-format-item-label-function)
15282 (python-imenu-format-parent-item-label-function)
15283 (python-imenu-format-parent-item-jump-label-function):
15285 (python-imenu-format-item-label)
15286 (python-imenu-format-parent-item-label)
15287 (python-imenu-format-parent-item-jump-label)
15288 (python-imenu--put-parent, python-imenu--build-tree)
15289 (python-imenu-create-index, python-imenu-create-flat-index)
15290 (python-util-popn): New functions.
15291 (python-mode): Set imenu-create-index-function to
15292 python-imenu-create-index.
15294 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15296 * winner.el (winner-active-region): Use region-active-p, activate-mark
15297 and deactivate-mark (bug#14225).
15299 * simple.el (deactivate-mark): Don't inline it.
15301 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15303 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15305 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15307 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15308 file extensions from the archive-mode entry in order to prefer
15309 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15311 2013-04-18 Leo Liu <sdl.web@gmail.com>
15313 * bindings.el (help-event-list): Add ?\?.
15315 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15317 * subr.el (with-wrapper-hook): Declare obsolete.
15318 * simple.el (filter-buffer-substring-function): New hook.
15319 (filter-buffer-substring): Use it.
15320 (filter-buffer-substring-functions): Mark obsolete.
15321 * minibuffer.el (completion-in-region-function): New hook.
15322 (completion-in-region): Use it.
15323 (completion-in-region-functions): Mark obsolete.
15324 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15325 * abbrev.el (abbrev-expand-function): New hook.
15326 (expand-abbrev): Use it.
15327 (abbrev-expand-functions): Mark obsolete.
15328 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15329 and :filter-return.
15331 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15333 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15334 and do not care about match data.
15336 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15338 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15339 completion tables when completing error conditions and
15340 `declare' arguments.
15341 (lisp-complete-symbol, field-complete): Mark as obsolete.
15342 (check-parens): Unmatched parens are user errors.
15343 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15345 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15347 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15348 command changed buffer (ie. `flyspell-pre-buffer' is not current
15349 buffer), which prevents making decisions based on invalid value of
15350 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15351 cause an error when `flyspell-pre-point' was nil after switching
15353 (flyspell-post-command-hook): No longer needs to change buffers when
15354 checking pre-word. While at it remove unnecessary progn.
15356 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15358 * textmodes/ispell.el (ispell-add-per-file-word-list):
15359 Fix `flyspell-correct-word-before-point' error when accepting
15360 words and `coment-padding' is an integer by using
15361 `comment-normalize-vars' (Bug #14214).
15363 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15365 New defun movement commands.
15366 * progmodes/python.el (python-nav--syntactically)
15367 (python-nav--forward-defun, python-nav-backward-defun)
15368 (python-nav-forward-defun): New functions.
15370 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15372 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15373 (python-syntax-context): Use named compiler-macro for backwards
15374 compatibility with Emacs 24.x.
15376 2013-04-17 Leo Liu <sdl.web@gmail.com>
15378 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15379 octave-hide-process-buffer.
15381 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15383 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15386 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15388 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15389 Fix adjustment of offset when receiving incomplete responses from GDB
15392 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15394 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15395 python-mode-abbrev-table.
15396 (python-skeleton-define): Adjust accordingly.
15397 (python-mode-abbrev-table): New table that inherits from it so that
15398 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15400 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15401 (abbrev-symbol): Use it.
15402 (abbrev--before-point): Use it since we already handle inheritance.
15404 2013-04-16 Leo Liu <sdl.web@gmail.com>
15406 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15407 binding to info-lookup-symbol.
15409 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15411 * minibuffer.el (completion--twq-all):
15412 * term/ns-win.el (ns-initialize-window-system):
15413 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15415 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15417 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15420 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15422 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15424 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15425 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15427 (ruby-end-of-defun): Remove the unused arg, change the docstring
15428 to reflect that this function is only used as the value of
15429 `end-of-defun-function'.
15430 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15431 to reflect an earlier change that beginning/end-of-defun functions
15432 jump between methods in a class definition, as well as top-level
15435 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15437 * minibuffer.el (minibuffer-complete): Don't just scroll
15438 a *Completions* that's been iconified.
15439 (minibuffer-force-complete): Make sure repetitions do cycle when going
15440 through completion-in-region -> minibuffer-complete.
15442 2013-04-15 Alan Mackenzie <acm@muc.de>
15444 Correct the placement of c-cpp-delimiters when there're #s not at
15447 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15448 place a submatch around the #.
15449 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15450 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15453 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15455 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15456 (advice--member-p): New arg `name'.
15457 (advice--add-function, advice-member-p): Use it (bug#14202).
15459 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15461 Reformulate java imenu-generic-expression.
15462 The old expression contained ill formed regexps.
15464 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15465 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15466 (cc-imenu-java-method-arg-regexp): New defconsts.
15467 (cc-imenu-java-build-type-args-regex): New defun.
15468 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15469 handling of spaces in the regexp.
15471 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15473 * textmodes/ispell.el (ispell-command-loop): Remove
15474 flyspell highlight of a word when ispell accepts it (bug #14178).
15476 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15478 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15479 uses code from the previous `ange-ftp-run-real-handler'.
15480 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15481 only in case that function exist. This is needed for proper
15482 unloading of Tramp.
15484 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15486 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15488 * textmodes/reftex.el (reftex-compile-variables): Use it.
15490 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15492 * files.el (normal-mode): Only use default major-mode if no other mode
15495 * emacs-lisp/trace.el (trace-values): New function.
15497 * files.el: Allow : in local variables (bug#14089).
15498 (hack-local-variable-regexp): New var.
15499 (hack-local-variables-prop-line, hack-local-variables): Use it.
15501 2013-04-13 Roland Winkler <winkler@gnu.org>
15503 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15504 data before it gets modified by bibtex-beginning-of-entry.
15506 2013-04-13 Roland Winkler <winkler@gnu.org>
15508 * textmodes/bibtex.el (bibtex-url): Doc fix.
15510 2013-04-13 Roland Winkler <winkler@gnu.org>
15512 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15513 does not visit a BibTeX file, exclude it from the list of buffers
15514 returned by bibtex-initialize.
15516 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15518 * window.el (split-window): Remove interactive form, since as a
15519 command this function is a special case of split-window-below.
15520 Correct doc string.
15522 2013-04-12 Roland Winkler <winkler@gnu.org>
15524 * faces.el (read-face-name): Do not override value of arg default.
15525 Allow single faces and strings as default values. Remove those
15526 elements from return value that are not faces.
15527 (describe-face): Simplify.
15528 (face-at-point): New optional args thing and multiple so that this
15529 function can provide the same functionality previously provided by
15531 (make-face-bold, make-face-unbold, make-face-italic)
15532 (make-face-unitalic, make-face-bold-italic, invert-face)
15533 (modify-face, read-face-and-attribute): Use face-at-point.
15535 * cus-edit.el (customize-face, customize-face-other-window)
15536 * cus-theme.el (custom-theme-add-face)
15537 * face-remap.el (buffer-face-set)
15538 * facemenu.el (facemenu-set-face): Use face-at-point.
15540 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15542 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15544 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15546 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15547 off leading { and trailing } from field values.
15549 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15551 * emacs-lisp/timer.el (timer--check): New function.
15552 (timer--time, timer-set-function, timer-event-handler): Use it.
15553 (timer-set-idle-time): Simplify.
15554 (timer--activate): CSE.
15555 (timer-event-handler): Give more info in error message.
15556 (internal-timer-start-idle): New function, moved from C.
15558 * mpc.el (mpc-proc): Add `restart' argument.
15559 (mpc-proc-cmd): Use it.
15560 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15561 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15564 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15566 * progmodes/sh-script.el: Implement `sh-mode' own
15567 `add-log-current-defun-function' (bug#14112).
15568 (sh-current-defun-name): New function.
15569 (sh-mode): Use the function.
15571 2013-04-09 Bastien Guerry <bzg@gnu.org>
15573 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15575 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15577 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15579 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15582 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15584 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15587 2013-04-07 Leo Liu <sdl.web@gmail.com>
15589 * pcmpl-x.el: New file.
15591 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15593 Do not set x-display-name until X connection is established.
15594 This is needed to prevent from weird situation described at
15595 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15596 * frame.el (make-frame): Set x-display-name after call to
15597 window system initialization function, not before.
15598 * term/x-win.el (x-initialize-window-system): Add optional
15599 display argument and use it.
15600 * term/w32-win.el (w32-initialize-window-system):
15601 * term/ns-win.el (ns-initialize-window-system):
15602 * term/pc-win.el (msdos-initialize-window-system):
15603 Add compatible optional display argument.
15605 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15607 * files.el (normal-backup-enable-predicate): On MS-Windows and
15608 MS-DOS compare truenames of temporary-file-directory and of the
15609 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15610 don't fail comparison by compare-strings. Also, compare file
15611 names case-insensitively on MS-Windows and MS-DOS.
15613 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15615 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15616 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15618 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15620 * whitespace.el (whitespace-color-on, whitespace-color-off):
15621 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15623 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15625 * ispell.el (ispell-set-spellchecker-params):
15626 Really set `ispell-args' for all equivs.
15628 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15630 * ido.el (ido-completions): Use extra elements of ido-decorations
15632 (ido-decorations): Update docstring.
15634 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15636 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15637 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15638 nil during initialization, in order not to miss changes since the
15639 file was opened. (Bug#14140)
15641 2013-04-05 Leo Liu <sdl.web@gmail.com>
15643 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15645 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15647 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15649 2013-04-04 Glenn Morris <rgm@gnu.org>
15651 * electric.el (electric-pair-inhibit-predicate): Add :version.
15653 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15655 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15656 when a package is required several times (bug#14082).
15658 2013-04-04 Roland Winkler <winkler@gnu.org>
15660 * faces.el (read-face-name): Behave as promised by the docstring.
15661 Assume that arg default is a list of faces.
15662 (describe-face): Call read-face-name with list of default faces.
15664 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15666 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15667 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15668 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15670 (bookmark-exit-hook-internal): Save even if list is empty.
15672 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15674 * emacs-lisp/package.el (package-pinned-packages): New var.
15675 (package--add-to-archive-contents): Obey it (bug#14118).
15677 2013-04-03 Alan Mackenzie <acm@muc.de>
15679 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15680 Also adapt to the new values of element 7 of a parse state.
15682 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15683 parameter `not-in-delimiter'. Handle being inside comment opener.
15684 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15685 character in case we're typing a '*' after a '/'.
15686 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15687 instead by passing the parameter to c-state-pp-to-literal.
15689 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15690 for elt. 7 of a parse state.
15692 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15694 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15695 * international/latin1-disp.el, international/mule-util.el:
15696 * language/cyril-util.el, language/european.el, language/ind-util.el:
15697 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15698 * language/tibetan.el, language/viet-util.el:
15699 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15701 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15703 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15704 (electric-pair-post-self-insert-function): Use it.
15705 (electric-pair-default-inhibit): New function, extracted from
15706 electric-pair-post-self-insert-function.
15708 2013-03-31 Roland Winkler <winkler@gnu.org>
15710 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15712 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15714 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15716 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15718 Un-indent after "pass" and "return" statements (Bug#13888)
15719 * progmodes/python.el (python-indent-block-enders): New var.
15720 (python-indent-calculate-indentation): Use it.
15722 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15724 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15725 defun. Defining it as defalias could introduce too eager
15726 byte-compiler optimization. (Bug#14030)
15728 2013-03-30 Chong Yidong <cyd@gnu.org>
15730 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15732 2013-03-30 Leo Liu <sdl.web@gmail.com>
15734 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15735 (kmacro-execute-from-register): Pass the keyboard macro to
15736 kmacro-call-macro or repeating won't work correctly.
15738 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15740 * progmodes/subword.el: Back to using `forward-symbol'.
15742 * subr.el (forward-whitespace, forward-symbol)
15743 (forward-same-syntax): Move from thingatpt.el.
15745 2013-03-29 Leo Liu <sdl.web@gmail.com>
15747 * kmacro.el (kmacro-to-register): New command.
15748 (kmacro-execute-from-register): New function.
15749 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15751 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15753 * mpc.el: Use defvar-local and setq-local.
15754 (mpc--proc-connect): Connection failures are not bugs.
15755 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15756 (mpc-volume-map): Bind to the up-events.
15758 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15760 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15761 instead of `forward-symbol'.
15763 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15765 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15766 (edebug--recursive-edit): Use it.
15767 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15768 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15770 2013-03-28 Leo Liu <sdl.web@gmail.com>
15772 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15774 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15776 * facemenu.el (list-colors-callback): New defvar.
15777 (list-colors-redisplay): New function.
15778 (list-colors-display): Install list-colors-redisplay as the
15779 revert-buffer-function. (Bug#14063)
15781 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15783 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15784 and suffixes don't overlap (bug#14061).
15786 * case-table.el: Use lexical-binding.
15787 (case-table-get-table): New function.
15788 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15790 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15792 * progmodes/subword.el: Add `superword-mode' to do word motion
15793 over symbol_words (parallels and leverages `subword-mode' which
15794 does word motion inside MixedCaseWords).
15796 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15798 * eshell/em-unix.el: Move su and sudo to...
15799 * eshell/em-tramp.el: ...Eshell tramp module.
15801 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15803 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15804 Change return value to be a sexp. Delay `get-buffer' to after
15805 restoring the desktop (bug#13951).
15807 2013-03-26 Leo Liu <sdl.web@gmail.com>
15809 * register.el: Move semantic tag handling back to
15810 cedet/semantic/senator.el. (Bug#14052)
15812 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15814 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15815 into the prompt either (bug#13963).
15817 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15819 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15820 part of "(error-foo)".
15822 2013-03-24 Juri Linkov <juri@jurta.org>
15824 * replace.el (list-matching-lines-prefix-face): New defcustom.
15825 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15826 `occur-engine' if `face-differs-from-default-p' returns t.
15827 (occur-engine): Add `,' inside backquote construct to evaluate
15828 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15829 Pass `prefix-face' to the functions `occur-context-lines' and
15830 `occur-engine-add-prefix'.
15831 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15832 `prefix-face' and propertize the prefix with `prefix-face'.
15835 2013-03-24 Leo Liu <sdl.web@gmail.com>
15837 * nxml/rng-valid.el (rng-validate-while-idle)
15838 (rng-validate-quick-while-idle): Guard against deleted buffer.
15841 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15842 is the last entry in kill-buffer-hook.
15844 * files.el (kill-buffer-hook): Doc fix.
15846 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15848 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15849 Make it safe-local.
15851 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15853 2013-03-23 Leo Liu <sdl.web@gmail.com>
15855 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15858 * nxml/rng-valid.el (rng-validate-mode)
15859 (rng-after-change-function, rng-do-some-validation):
15860 * nxml/rng-maint.el (rng-validate-buffer):
15861 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15862 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15863 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15864 (nxml-extend-after-change-region): Use with-silent-modifications.
15866 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15869 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15870 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15871 timer-idle-list. (Bug#13999)
15873 2013-03-23 Juri Linkov <juri@jurta.org>
15875 * info.el (info-index-match): New face.
15876 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15877 main pattern and add text properties with the new face to matches
15878 in index entries relative to the beginning of the index entry.
15881 2013-03-21 Eric Ludlam <zappo@gnu.org>
15883 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15884 Inhibit read only while inserting objects.
15886 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15888 * progmodes/cfengine.el: Update docs to mention
15889 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15890 symbol motion. Remove "_" from the word syntax.
15892 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15894 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15895 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15897 2013-03-20 Juri Linkov <juri@jurta.org>
15899 * info.el (Info-next-reference-or-link)
15900 (Info-prev-reference-or-link): New functions.
15901 (Info-next-reference, Info-prev-reference): Use them.
15902 (Info-try-follow-nearest-node): Handle footnote navigation.
15903 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15905 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15907 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15908 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15910 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15912 Suppress unnecessary non-ASCII chatter during build process.
15913 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15914 (batch-skkdic-convert): Suppress most of the chatter.
15915 It's not needed so much now that machines are faster,
15916 and its non-ASCII component was confusing; see Dmitry Gutov in
15917 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15919 2013-03-20 Leo Liu <sdl.web@gmail.com>
15921 * ido.el (ido-chop): Fix bug#10994.
15923 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15925 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15927 (whitespace-color-on, whitespace-color-off):
15928 Use `font-lock-fontify-buffer' (Bug#13817).
15930 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15932 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15933 remapping in mode-line.
15934 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15936 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15938 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15939 value for `whitespace-line' face (Bug#13875).
15940 (whitespace-font-lock-keywords): Change description.
15941 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15942 the constructed keywords instead.
15943 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15945 2013-03-19 Leo Liu <sdl.web@gmail.com>
15947 * progmodes/compile.el (compilation-display-error): New command.
15948 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15951 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15953 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15955 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15957 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15959 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15961 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15963 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15964 * net/tramp-gvfs.el (top):
15965 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15966 (tramp-handle-shell-command): Use it.
15967 (tramp-dissect-file-name): Raise an error when hostname is a
15968 method name, and neither method nor user is specified.
15970 * net/trampver.el: Update release number.
15972 2013-03-18 Leo Liu <sdl.web@gmail.com>
15974 Make sure eldoc can be turned off properly.
15975 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15977 (eldoc-display-message-p): Revert last change.
15978 (eldoc-display-message-no-interference-p)
15979 (eldoc-print-current-symbol-info): Tweak.
15981 2013-03-18 Tassilo Horn <tsdh@gnu.org>
15983 * doc-view.el (doc-view-new-window-function): Check the new window
15984 overlay's display property instead the char property of the
15985 buffer's first char. Use `with-selected-window' instead of
15986 `save-window-excursion' with `select-window'.
15987 (doc-view-document->bitmap): Check the current doc-view overlay's
15988 display property instead the char property of the buffer's first char.
15990 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15992 Automate the build of ja-dic.el (Bug#13984).
15993 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15994 from the input, rather than assume that it's been done for us by the
15995 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15996 the current date into a ja-dic.el comment, as that complicates
15997 regression testing.
15999 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16001 * whitespace.el: Fix double evaluation.
16002 (whitespace-space, whitespace-hspace, whitespace-tab)
16003 (whitespace-newline, whitespace-trailing, whitespace-line)
16004 (whitespace-space-before-tab, whitespace-indentation)
16005 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16007 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16008 (whitespace-color-on): Use a single font-lock-add-keywords call.
16009 Fix double-evaluation of face variables.
16011 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16013 * net/tramp-adb.el (tramp-adb-parse-device-names):
16014 Use `start-process' instead of `call-process'. Otherwise, the
16015 function might be blocked under MS Windows. (Bug#13299)
16017 2013-03-17 Leo Liu <sdl.web@gmail.com>
16019 Extend eldoc to display info in the mode-line. (Bug#13978)
16020 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16021 (eldoc-mode-line-string): New variable.
16022 (eldoc-minibuffer-message): New function.
16023 (eldoc-message-function): New variable.
16024 (eldoc-message): Use it.
16025 (eldoc-display-message-p)
16026 (eldoc-display-message-no-interference-p):
16027 Support eldoc-post-insert-mode.
16029 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16030 (eval-expression): Run it.
16032 2013-03-17 Roland Winkler <winkler@gnu.org>
16034 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16035 strings in the list of return values.
16037 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16039 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16040 radix before checking for HMS forms.
16042 2013-03-16 Leo Liu <sdl.web@gmail.com>
16044 * progmodes/scheme.el: Add indentation and font-locking for λ.
16047 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16049 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16050 token before point (bug#13942).
16052 2013-03-16 Leo Liu <sdl.web@gmail.com>
16054 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16056 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16058 * startup.el (command-line-normalize-file-name): Fix handling of
16059 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16060 <xfq.free@gmail.com> in
16061 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16063 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16065 Sync with Tramp 2.2.7.
16067 * net/trampver.el: Update release number.
16069 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16071 * doc-view.el: Fix bug#13887.
16072 (doc-view-insert-image): Don't modify overlay associated to
16073 non-live windows, and implement horizontal centering of image in
16074 case it's smaller than the window.
16075 (doc-view-new-window-function): Force redisplay of new windows on
16078 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16080 * saveplace.el (save-place-alist-to-file): Don't sort
16081 `save-place-alist', just pretty-print it (bug#13882).
16083 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16085 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16086 Check whether `default-file-name-coding-system' is bound.
16087 It isn't in XEmacs.
16089 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16091 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16092 backquotes for `obsolete' (bug#13929).
16094 * international/mule.el (find-auto-coding): Include file name in
16095 obsolescence warning (bug#13922).
16097 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16099 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16100 for CFEngine 3-specific indentation.
16101 (cfengine3-indent-line): Use it. Fix up category regex.
16102 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16104 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16106 * type-break.el (type-break-file-name):
16107 * textmodes/remember.el (remember-data-file):
16108 * strokes.el (strokes-file):
16109 * shadowfile.el (shadow-initialize):
16110 * saveplace.el (save-place-file):
16111 * ps-bdf.el (bdf-cache-file):
16112 * progmodes/idlwave.el (idlwave-config-directory):
16113 * net/quickurl.el (quickurl-url-file):
16114 * international/kkc.el (kkc-init-file-name):
16115 * ido.el (ido-save-directory-list-file):
16116 * emulation/viper.el (viper-custom-file-name):
16117 * emulation/vip.el (vip-startup-file):
16118 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16119 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16121 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16123 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16124 * language/thai-word.el: Switch to UTF-8.
16126 See ChangeLog.16 for earlier changes.
16128 ;; Local Variables:
16132 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16134 This file is part of GNU Emacs.
16136 GNU Emacs is free software: you can redistribute it and/or modify
16137 it under the terms of the GNU General Public License as published by
16138 the Free Software Foundation, either version 3 of the License, or
16139 (at your option) any later version.
16141 GNU Emacs is distributed in the hope that it will be useful,
16142 but WITHOUT ANY WARRANTY; without even the implied warranty of
16143 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16144 GNU General Public License for more details.
16146 You should have received a copy of the GNU General Public License
16147 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.