1 2014-10-09 Glenn Morris <rgm@gnu.org>
3 * frame.el (display-monitor-attributes-list): Doc tweaks.
5 2014-10-08 Eli Zaretskii <eliz@gnu.org>
7 * faces.el (display-grayscale-p): Mention in the doc string that
8 the argument can be either a display name or a frame.
10 * frame.el (display-pixel-height, display-pixel-width)
11 (display-mm-height, display-mm-width, display-backing-store)
12 (display-save-under, display-planes, display-color-cells)
13 (display-visual-class, display-monitor-attributes-list)
14 (display-screens): Mention in the doc string that the argument can
15 be either a display name or a frame. Improve the docs of the
16 monitor attributes. (Bug#18636)
18 2014-10-06 Martin Rudalics <rudalics@gmx.at>
20 * term.el (term-window-width): Subtract 1 from the width when
21 any fringe has zero width, not just the right fringe. (Bug#18601)
23 2014-10-05 Leo Liu <sdl.web@gmail.com>
25 * imenu.el (imenu-default-goto-function): Fix typo.
27 2014-10-04 Glenn Morris <rgm@gnu.org>
29 * frame.el (frame-monitor-attributes)
30 (display-monitor-attributes-list): Doc fixes.
32 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
34 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
35 (vc-svn-ignore): Use it. (Bug#18619)
37 2014-10-03 Martin Rudalics <rudalics@gmx.at>
39 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
40 In doc-string mention need to set `frame-resize-pixelwise'.
42 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
44 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
45 similarly to Rogers's 2010-06-16 change for the remote case
48 2014-10-01 Glenn Morris <rgm@gnu.org>
50 * emacs-lisp/package.el (package-import-keyring):
51 Create gnupg directory private. (Bug#17625#155)
53 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
55 * progmodes/python.el (python-shell-completion-get-completions):
56 Use python-shell--prompt-calculated-input-regexp from the
57 process buffer (bug#18582).
58 Don't assume that `line' comes from the process buffer.
60 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
62 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
65 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
67 * emacs-lisp/package.el (package-check-signature): Default to nil if
69 (package-refresh-contents): Don't mess with the keyring if we won't
70 check the signatures anyway.
72 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
74 * window.el (fit-window-to-buffer): When counting buffer width,
75 count the whole visible buffer. Correctly convert the body-height
76 to pixel size for window-text-pixel-size (Bug#18498).
78 2014-09-14 Glenn Morris <rgm@gnu.org>
80 * image.el (image-multi-frame-p): Fix thinko - do not force
81 a delay if none was specified. (Bug#18334)
83 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
85 * window.el (fit-window-to-buffer): Doc fix.
87 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
89 * desktop.el (desktop-create-buffer): Check that buffers are still live
90 before burying them (bug#18373).
92 2014-09-09 Glenn Morris <rgm@gnu.org>
94 * calendar/diary-lib.el (diary-list-entries):
95 Restore 24.3 display behavior. (Bug#18381)
97 2014-09-09 Eli Zaretskii <eliz@gnu.org>
99 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
100 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
101 discrepancy between window-pixel-edges and mouse events, and
102 avoids moving mode line up when the mouse click is on the modeline
103 and no drag is attempted.
105 2014-09-08 Glenn Morris <rgm@gnu.org>
107 * calendar/calendar.el (calendar-basic-setup):
108 Avoid clobbering calendar with diary. (Bug#18381)
110 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
112 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
114 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
116 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
119 2014-09-04 Eli Zaretskii <eliz@gnu.org>
121 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
123 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
125 * emacs-lisp/package.el (package-generate-description-file):
126 Properly quote the arguments (bug#18332). Change second arg.
127 (package--alist-to-plist-args): Rename from package--alist-to-plist and
129 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
130 the *-pkg.el file. Adjust to new calling convention of
131 package-generate-description-file.
133 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
134 (gud-gdb-completions): Remove obsolete workaround.
136 2014-09-02 Eli Zaretskii <eliz@gnu.org>
138 * subr.el (posn-col-row): Revert the change from commit
139 r99634.2.576 eliz@gnu.org-20101113210758-8ml5kibjtza5ysmb, which
140 was inadvertently merged from emacs-23 release branch in r102428
141 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
142 introduced an off-by-one error in the reported row when there is a
143 header line. (Bug#18384)
145 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
147 * progmodes/python.el (python-indent-post-self-insert-function):
148 Avoid electric colon at beginning-of-defun. (Bug#18228)
150 2014-09-01 Glenn Morris <rgm@gnu.org>
152 * tutorial.el (tutorial--display-changes):
153 Fix 2014-07-29 change. (Bug#18382)
155 2014-08-29 Ken Brown <kbrown@cornell.edu>
157 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
158 the Cygwin-w32 build. (Bug#18347)
160 2014-08-28 Glenn Morris <rgm@gnu.org>
162 * tar-mode.el (tar--extract, tar-extract):
163 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
165 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
167 * emacs-lisp/authors.el (authors-aliases): Addition.
169 * net/tramp-adb.el: Spell author name correctly.
171 2014-08-27 João Távora <joaotavora@gmail.com>
173 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
174 use url-expand-file-name. (Bug#18310)
176 2014-08-25 Glenn Morris <rgm@gnu.org>
178 * emulation/cua-rect.el (cua--highlight-rectangle):
179 Avoid error at point-min. (Bug#18309)
181 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
183 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
184 executable-find (bug#18244).
186 * simple.el (self-insert-uses-region-functions): Defvar.
188 2014-08-13 Leo Liu <sdl.web@gmail.com>
190 * speedbar.el (speedbar-generic-list-tag-p): Allow special
193 2014-08-11 Glenn Morris <rgm@gnu.org>
195 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
197 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
198 chose coding system for writing before backing up, since it causes
199 a more serious problem than the one it solves. (Closes Bug#18141,
202 2014-08-10 Martin Rudalics <rudalics@gmx.at>
204 * window.el (window-total-size): Make doc-string more
207 2014-08-09 Martin Rudalics <rudalics@gmx.at>
209 * window.el (display-buffer-below-selected): Restore original
210 behavior if buffer is already displayed in the window below the
211 selected one (Bug#18181).
213 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
215 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
218 2014-08-08 Eli Zaretskii <eliz@gnu.org>
220 * info.el (info): Doc fix.
222 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
224 * info.el (Info-mode-map): Override a global down-mouse-2 binding
227 2014-08-05 Eli Zaretskii <eliz@gnu.org>
229 * simple.el (default-line-height): A floating-point value of
230 line-spacing means a fraction of the default frame font's height,
231 not of the font currently used by the 'default' face.
232 Truncate the pixel value, like the display engine does.
233 (window-screen-lines): Use window-inside-pixel-edges for
234 determining the window height in pixels. (Bug#18195)
236 2014-07-29 Eli Zaretskii <eliz@gnu.org>
238 * tutorial.el (tutorial--display-changes): Accept punctuation
239 characters before the key binding. (Bug#18146)
241 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
243 * doc-view.el (doc-view-open-text): Don't require that the
244 document is saved in a file (e.g., email attachment).
246 2014-07-27 Eli Zaretskii <eliz@gnu.org>
248 * window.el (window--pixel-to-total): Use FRAME's root window, not
249 that of the selected frame. (Bug#18112, Bug#16674)
251 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
253 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
256 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
258 * progmodes/python.el (inferior-python-mode): Doc fix.
260 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
262 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
263 not a character, ignore it instead of raising an error.
265 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
267 * calendar/todo-mode.el: Fix handling of marked items and make
268 minor code improvements.
269 (todo-edit-item): If there are marked items, ensure user can only
270 invoke editing commands that work with marked items.
271 (todo-edit-item--text): When there are marked items, make it a
272 noop if invoked with point not on an item; otherwise, ensure it
273 applies only to item at point.
274 (todo-item-undone): If there are marked not-done items, return
275 point to its original position before signaling user error.
276 (todo--user-error-if-marked-done-item): New function.
277 (todo-edit-item--header, todo-edit-item--diary-inclusion)
278 (todo-item-done): Use it.
280 2014-07-25 Glenn Morris <rgm@gnu.org>
282 * files.el (toggle-read-only): Re-add basic doc-string.
283 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
285 * progmodes/prolog.el (prolog-mode-keybindings-edit):
286 Replace missing `switch-to-prolog' with `run-prolog'.
287 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
289 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
291 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
292 of file-wide setting when changing category-wide setting.
294 2014-07-21 Glenn Morris <rgm@gnu.org>
296 * progmodes/hideif.el (hide-ifdef-mode-submap):
297 Also substitute read-only-mode.
298 * bindings.el (mode-line-toggle-read-only):
299 * bs.el (bs-toggle-readonly):
300 * buff-menu.el (Buffer-menu-toggle-read-only):
301 * dired.el (dired-toggle-read-only):
302 * files.el (view-read-only, find-file-read-only)
303 (find-file-read-only-other-window)
304 (find-file-read-only-other-frame):
305 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
306 Doc fixes re toggle-read-only.
308 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
310 * progmodes/python.el: Add comment about pipe buffering and
311 solutions for missing/delayed output in inferior Python shells.
314 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
316 * progmodes/python.el (python-mode): Don't set
317 mode-require-final-newline. (Bug#17990)
319 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
321 Make python.el work with IPython automatically. (Bug#15510)
322 * progmodes/python.el:
323 (python-shell-completion-setup-code): New value supporting iPython.
324 (python-shell-completion-string-code): New value supporting iPython.
325 (python-shell-completion-get-completions): Use them.
326 (python-shell-completion-module-string-code): Make obsolete.
327 (python-shell-prompt-input-regexps)
328 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
329 (python-shell-output-filter): Fix comment typo.
331 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
333 Fix Python shell prompts detection for remote hosts.
334 * progmodes/python.el (python-shell-prompt-detect):
335 Replace call-process with process-file and make it more robust.
337 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
339 Autodetect Python shell prompts. (Bug#17370)
340 * progmodes/python.el:
341 (python-shell-interpreter-interactive-arg)
342 (python-shell-prompt-detect-enabled)
343 (python-shell-prompt-detect-failure-warning)
344 (python-shell-prompt-input-regexps)
345 (python-shell-prompt-output-regexps): New vars.
346 (python-shell-prompt-calculated-input-regexp)
347 (python-shell-prompt-calculated-output-regexp): New vars.
348 (python-shell-get-process-name)
349 (python-shell-internal-get-process-name)
350 (python-shell-output-filter)
351 (python-shell-completion-get-completions): Use them.
352 (python-shell-prompt-detect)
353 (python-shell-prompt-validate-regexps): New functions.
354 (python-shell-prompt-set-calculated-regexps): New function.
355 (inferior-python-mode): Use it. Also honor overridden
356 python-shell-interpreter and python-shell-interpreter-args.
357 (python-shell-make-comint): Honor overridden
358 python-shell-interpreter and python-shell-interpreter-args.
359 (python-shell-get-or-create-process): Make it testable by allowing
360 to call run-python non-interactively.
361 (python-util-valid-regexp-p): New function.
362 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
363 (python-shell-prompt-output-regexp)
364 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
366 2014-07-16 Glenn Morris <rgm@gnu.org>
368 * desktop.el (after-init-hook): Disable startup frame restoration
369 in non-graphical situations. (Bug#17693)
371 2014-07-14 Glenn Morris <rgm@gnu.org>
373 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
374 if it was "empty", or used for a different set of files. (Bug#17884)
376 2014-07-13 Eli Zaretskii <eliz@gnu.org>
378 * bindings.el (mode-line-remote): If default-directory is not a
379 string, don't call file-remote-p on it; instead state in the
380 help-echo that it is nil. (Bug#17986)
382 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
384 Fix bug: C-x v v discarded existing log message (Bug#17884).
385 * vc/vc-dispatcher.el (vc-log-edit):
386 Don't clobber an already-existing log message.
388 2014-07-10 Glenn Morris <rgm@gnu.org>
390 * vc/log-edit.el (log-edit-changelog-entries):
391 Check for a visited-but-never-saved ChangeLog.
393 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
395 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
396 a non-existing file (bug#17970).
398 * faces.el (face-name): Undo last change.
399 (x-resolve-font-name): Don't call face-name (bug#17956).
401 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
403 Fix dedenters and electric colon handling. (Bug#15163)
405 * progmodes/python.el
406 (python-rx-constituents): Add dedenter and block-ender.
407 (python-indent-dedenters, python-indent-block-enders): Delete.
408 (python-indent-context): Return new case for dedenter-statement.
409 (python-indent-calculate-indentation): Handle new case.
410 (python-indent-calculate-levels): Fix levels calculation for
412 (python-indent-post-self-insert-function): Fix colon handling.
413 (python-info-dedenter-opening-block-message): New function.
414 (python-indent-line): Use it.
415 (python-info-closing-block)
416 (python-info-closing-block-message): Remove.
417 (python-info-dedenter-opening-block-position)
418 (python-info-dedenter-opening-block-positions)
419 (python-info-dedenter-statement-p): New functions.
421 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
423 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
424 the middle of a line (bug#17896).
426 2014-07-08 Juri Linkov <juri@jurta.org>
428 * startup.el (command-line): Append displaying the warning about
429 the errors in the init file to the end of `after-init-hook'.
432 2014-07-08 Juri Linkov <juri@jurta.org>
434 * faces.el (face-name): Return input arg `face' as is
435 when it's not a symbol.
436 (x-resolve-font-name): Don't check if the face is a symbol.
439 2014-07-08 Juri Linkov <juri@jurta.org>
441 * facemenu.el (list-colors-print): In help-echo format use %.2f
442 instead of %d because now HSV values are floating-point components
445 2014-07-06 Glenn Morris <rgm@gnu.org>
447 * emulation/cua-rect.el (cua--activate-rectangle):
448 Avoid setting cua--rectangle to nil. (Bug#17877)
450 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
452 * calendar/todo-mode.el: Fix wrong-type-argument error when
453 marking multiple consecutive items.
454 (todo-toggle-mark-item): Don't try to mark the empty lines at the
455 end of the todo and done items sections. Note in doc string that
456 items marked by passing a numeric prefix argument can include the
457 last todo and first done items.
458 (todo-mark-category): Don't try to mark the empty line between the
459 todo and done items sections.
461 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
463 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
464 proper Lisp quoting (bug#17934).
466 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
467 require-final-newline since prog-mode already took care of it (bug#17947).
469 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
471 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
472 refer to the Todo mode Info manual. Update the comment on
474 (todo-find-filtered-items-file): Add todo-prefix overlays.
475 (todo-filter-items): Reorder a let-bound variable to avoid a
476 wrong-type-argument error on canceling the file choice dialog.
478 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
480 * progmodes/octave.el (inferior-octave-mode):
481 Set comint-input-ring-size to a number (bug#17912).
483 2014-07-03 Juri Linkov <juri@jurta.org>
485 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
486 and `isearch-mode' associated with nil. (Bug#17849)
488 2014-07-02 Juri Linkov <juri@jurta.org>
490 * desktop.el (desktop-save): Rename arg `auto-save' to
491 `only-if-changed'. Doc fix. (Bug#17873)
493 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
495 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
496 Use insert-for-yank (bug#17271).
498 2014-07-02 Leo Liu <sdl.web@gmail.com>
500 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
501 Support lexical-binding.
503 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
505 * vc/log-edit.el (log-edit-goto-eoh): New function.
506 (log-edit--match-first-line): Use it (bug#17861).
508 2014-07-01 Glenn Morris <rgm@gnu.org>
510 * vc/log-edit.el (log-edit-hook): Add missing :version.
512 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
514 * progmodes/python.el (python-indent-post-self-insert-function):
515 Enhancements to electric indentation behavior inside
518 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
520 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
521 buffer-invisibility-spec (bug#17867).
523 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
525 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
528 2014-06-29 Glenn Morris <rgm@gnu.org>
530 * cus-edit.el (help):
531 * finder.el (finder-known-keywords):
532 * help.el (help-for-help-internal):
533 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
534 (ediff-redraw-registry-buffer):
535 * vc/ediff-ptch.el (ediff-patch-file-internal):
536 Doc fixes re "online" help. (Bug#17803)
538 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
539 (idlwave-mode): Doc URL update.
541 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
543 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
544 account for file-wide setting of todo-top-priorities-overrides.
545 Make code a bit cleaner.
547 2014-06-27 Leo Liu <sdl.web@gmail.com>
549 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
551 2014-06-27 Glenn Morris <rgm@gnu.org>
553 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
555 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
557 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
558 category-wide setting of todo-top-priorities-overrides, check for
559 a file-wide setting and fontify accordingly.
561 2014-06-26 Glenn Morris <rgm@gnu.org>
563 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
565 2014-06-26 Daiki Ueno <ueno@gnu.org>
567 * emacs-lisp/package.el (package--check-signature):
568 If package-check-signature is allow-unsigned, don't signal error when
569 we can't verify signature because of missing public key
570 (backport for bug#17625).
572 2014-06-26 Glenn Morris <rgm@gnu.org>
574 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
575 Remove outdated declaration.
577 * emacs-lisp/authors.el (authors-valid-file-names)
578 (authors-renamed-files-alist): Additions.
580 2014-06-25 Leo Liu <sdl.web@gmail.com>
582 * textmodes/picture.el (picture-set-tab-stops):
583 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
584 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
586 * progmodes/asm-mode.el (asm-calculate-indentation):
587 Use indent-next-tab-stop.
589 * indent.el (indent-accumulate-tab-stops): New function.
591 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
593 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
594 (package-desc-status): Obey it.
596 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
598 * calendar/todo-mode.el: Fix two bugs.
599 (todo-insert-item--basic): If user cancels item insertion to
600 another category before setting priority, show original category
601 whether it is in the same or a different file.
602 (todo-set-item-priority): After selecting category, instead of
603 moving point to top, which extends an active region, restore it.
605 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
607 * help-fns.el (describe-function-1): Check file-name is a string before
608 calling help-fns--autoloaded-p (bug#17564).
610 2014-06-24 Juri Linkov <juri@jurta.org>
612 * desktop.el (desktop-auto-save-enable)
613 (desktop-auto-save-disable): New functions.
614 (desktop-save-mode, desktop-auto-save-timeout): Use them.
615 (desktop-read): Disable the autosave before loading the desktop,
616 and enable afterwards. (Bug#17351)
618 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
620 Fix some indentation problem with \; and pipes (bug#17842).
621 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
622 (sh-smie--default-forward-token, sh-smie--default-backward-token):
624 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
625 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
626 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
628 2014-06-24 Eli Zaretskii <eliz@gnu.org>
630 * international/fontset.el (script-representative-chars):
631 Add representative characters for scripts added in Unicode 7.0.
632 (otf-script-alist): Synchronize with the latest registry of OTF
635 * international/characters.el (char-script-table): Update for
636 scripts added and codepoint ranges changed in Unicode 7.0.
638 2014-06-23 Leo Liu <sdl.web@gmail.com>
640 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
641 tab-stop-list to nil. (Bug#16381)
643 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
644 (indent-rigidly-left-to-tab-stop)
645 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
646 (move-to-tab-stop): Change callers.
648 2014-06-22 Eli Zaretskii <eliz@gnu.org>
650 * skeleton.el (skeleton-insert): Yet another fix of the doc string
651 wrt behavior of \n as the first/last element of a skeleton.
653 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
655 * net/tramp-adb.el (tramp-adb-handle-process-file):
656 * net/tramp-sh.el (tramp-sh-handle-process-file):
657 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
658 the output buffer when DISPLAY is non-nil. (Bug#17815)
660 2014-06-21 Glenn Morris <rgm@gnu.org>
662 * play/landmark.el (landmark-move-down, landmark-move-up):
663 Fix 2007-10-20 change - preserve horizontal position.
665 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
667 Fix completion retrieval parsing (bug#17209).
668 * progmodes/python.el (python-mode):
669 (python-util-strip-string): New function.
670 (python-shell-completion-get-completions): Use it.
672 2014-06-21 Eli Zaretskii <eliz@gnu.org>
674 * skeleton.el (skeleton-insert): Fix last change.
676 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
678 Enhancements for outline integration (bug#17796).
679 * progmodes/python.el (python-mode): Properly set
680 outline-heading-end-regexp so that comments after colons for
681 defuns are supported.
683 2014-06-21 Eli Zaretskii <eliz@gnu.org>
685 * skeleton.el (skeleton-insert): Doc fix.
687 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
689 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
690 (smie-config-guess): Use smie-config-local so the rules are obeyed
693 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
694 since it's already done inside the loop (bug#17819).
696 2014-06-20 Martin Rudalics <rudalics@gmx.at>
698 * mouse.el (mouse-drag-line): Re-remove code initially removed
699 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
702 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
704 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
705 align with the surrounding parent (bug#17721).
707 2014-06-20 Eli Zaretskii <eliz@gnu.org>
709 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
711 (texinfo-insert-block, texinfo-insert-@end)
712 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
713 local setting of skeleton-end-newline by adding an explicit \n to
714 the skeletons where appropriate. (Bug#17801)
716 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
718 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
719 (smie-indent--hanging-p): Use it.
720 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
722 2014-06-20 Leo Liu <sdl.web@gmail.com>
724 * simple.el (read-quoted-char): Don't let help chars pop up help
727 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
729 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
732 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
734 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
735 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
738 2014-06-18 Eli Zaretskii <eliz@gnu.org>
740 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
741 and later. (Bug#17790)
743 2014-06-18 Juri Linkov <juri@jurta.org>
745 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
746 to `soft'. (Bug#17554)
748 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
750 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
753 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
755 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
756 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
758 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
760 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
761 `unread-command-events'.
763 2014-06-14 Glenn Morris <rgm@gnu.org>
765 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
766 Replace delete-duplicates and mapcan by cl- versions throughout.
767 And cl-macroexpand-all by macroexpand-all.
768 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
770 2014-06-14 Eli Zaretskii <eliz@gnu.org>
772 * subr.el (posn-col-row): Doc fix. (Bug#17768)
774 2014-06-14 Juri Linkov <juri@jurta.org>
776 * bindings.el: Put `ascii-character' property on keypad keys
777 mapped to characters. (Bug#17759)
779 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
781 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
782 bumping forward into a closing paren (bug#17761).
784 * term/xterm.el (xterm--version-handler): Work around for OSX
785 Terminal.app (bug#17607).
787 2014-06-08 Glenn Morris <rgm@gnu.org>
789 * startup.el (initial-buffer-choice): Doc fix.
790 Reset :version (adding an option does not merit a :version bump).
792 * bookmark.el (bookmark-load):
793 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
795 2014-06-06 Juri Linkov <juri@jurta.org>
797 * desktop.el: Activate auto-saving on window configuration changes.
798 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
799 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
800 (desktop-auto-save-set-timer): Change REPEAT arg of
801 `run-with-idle-timer' from t to nil.
802 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
804 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
806 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
807 vc-hg-command (bug#17570).
809 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
811 * international/mule-cmds.el (ucs-names): Add special entry for BEL
814 2014-06-06 Glenn Morris <rgm@gnu.org>
816 * startup.el (window-setup-hook): Doc fix.
818 2014-06-05 Glenn Morris <rgm@gnu.org>
820 * emacs-lisp/package.el (package-check-signature)
821 (package-unsigned-archives): Doc fixes.
823 2014-06-03 Martin Rudalics <rudalics@gmx.at>
825 * window.el (display-buffer-use-some-window): Don't make window
826 used smaller than it was before (Bug#17671).
828 2014-06-03 Eli Zaretskii <eliz@gnu.org>
830 * menu-bar.el (menu-bar-open): Fix last change: use the PC
831 'redisplay' instead of '(sit-for 0)'.
833 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
835 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
838 2014-06-03 Glenn Morris <rgm@gnu.org>
840 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
842 2014-06-02 Eli Zaretskii <eliz@gnu.org>
844 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
846 2014-06-01 Eli Zaretskii <eliz@gnu.org>
848 * simple.el (keyboard-quit): Force update of mode lines, to remove
849 the "Def" indicator, if we were defining a macro. (Bug#17615)
851 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
853 * minibuffer.el (minibuffer-force-complete-and-exit):
854 Obey minibuffer-default (bug#17545).
856 * progmodes/js.el (js-indent-line): Don't mix columns and chars
859 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
861 * subr.el (set-transient-map): Don't wait for some "nested"
862 transient-map to finish if we're only supposed to be active for
863 the next command (bug#17642).
865 2014-05-31 Leo Liu <sdl.web@gmail.com>
867 * emacs-lisp/gv.el (window-buffer, window-display-table)
868 (window-dedicated-p, window-hscroll, window-point, window-start):
869 Fix gv-expander. (Bug#17630)
871 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
873 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
876 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
877 for the single comma, since ", " is *very* common in normal French text
880 2014-05-30 Glenn Morris <rgm@gnu.org>
882 * emacs-lisp/package.el (package-check-signature)
883 (package-unsigned-archives): Fix :version.
885 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
887 * subr.el (sit-for): Don't run input-methods (bug#15614).
889 2014-05-28 Glenn Morris <rgm@gnu.org>
891 * cus-start.el: Fix some :version numbers.
893 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
895 * simple.el (deactivate-mark): Set mark-active to nil even if
896 deactivation is done via setting transient-mark-mode to nil,
897 since one is buffer-local and the other is global.
899 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
900 there can't be more than 2 arguments (bug#17584).
902 2014-05-27 Glenn Morris <rgm@gnu.org>
904 * simple.el (filter-buffer-substring-functions)
905 (filter-buffer-substring-function, buffer-substring-filters)
906 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
908 * minibuffer.el (completion-in-region-functions, completion-in-region)
909 (completion--in-region): Doc fixes.
911 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
912 (expand-abbrev, abbrev--default-expand): Doc fixes.
914 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
916 Include sources used to create macuvs.h.
917 * international/README: Refer to the Unicode Terms of Use rather
918 than copying it bodily here, as that simplifies maintenance.
920 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
922 * cus-face.el (custom-face-attributes): Add :distant-foreground.
924 2014-05-25 Martin Rudalics <rudalics@gmx.at>
926 * window.el (window--dump-frame): Remove interactive
929 2014-05-23 Glenn Morris <rgm@gnu.org>
931 * hippie-exp.el (he-line-search-regexp):
932 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
934 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
936 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
937 to avoid errors when trying to create or visit a file foo.todo
938 located outside to todo-directory, and to allow having such files
939 without them being tied to Todo mode (bug#17482).
940 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
941 (todo-archive-done-item, todo-find-filtered-items-file)
942 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
943 (todo-category-completions, todo-read-category): When visiting a
944 Todo file, make sure we're in the right mode and the buffer local
946 (todo-make-categories-list, todo-reset-nondiary-marker)
947 (todo-reset-done-string, todo-reset-comment-string):
948 After processing all Todo files, kill the buffers of those files that
949 weren't being visited before the processing.
950 (todo-display-as-todo-file, todo-add-to-buffer-list)
951 (todo-visit-files-commands): Comment out.
952 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
953 (auto-mode-alist): Remove add-to-list calls making Todo file
954 extensions unrestrictedly tied to Todo modes.
956 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
958 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
959 (advice-function-member-p): Tell it to check both names and functions
961 (advice--add-function): Adjust call accordingly.
963 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
965 * calendar/todo-mode.el: Miscellaneous bug fixes.
966 (todo-delete-file): When deleting an archive but not its todo
967 file, make sure to update the todo file's category sexp.
968 (todo-move-category): Keep the moved category's name unless the
969 file moved to already has a category with that name. If the
970 numerically last category of the source file was moved, make the
971 first category current to avoid selecting a nonexisting category.
972 (todo-merge-category): Fix implementation to make merging to a
973 category in another file work as documented. Eliminate now
974 insufficient and unnecessary renaming of archive category, correct
975 document string accordingly, and clarify it. If the numerically
976 last category of the source file was merged, make the first
977 category current to avoid selecting a nonexisting category.
978 (todo-archive-done-item): When there are marked items and point
979 happens to be on an unmarked item, ignore the latter. Don't leave
980 point below last item after archiving marked items.
981 (todo-unarchive-items): Fix logic to ensure unarchiving an item
982 from an archive with only one category deletes the archive only
983 when the category is empty after unarchiving. Make sure the todo
984 file's category sexp is updated.
985 (todo-read-file-name): Allow an existing file name even when it is
986 not required (todo-move-category needs this to work as documented).
987 (todo-add-file): Call todo-validate-name to reject the name of an
988 existing todo file (needed due to fix in todo-read-file-name).
989 (todo-reset-nondiary-marker): Also reset in filtered items files.
990 (todo-reset-done-string, todo-reset-comment-string): Also reset in
991 regexp filtered items files.
992 (todo-reset-highlight-item): Also reset in filtered items files.
993 Fix incorrect variable reference in document string.
995 2014-05-22 Glenn Morris <rgm@gnu.org>
997 * window.el (window--dump-frame): Avoid error in --without-x builds.
999 2014-05-21 Glenn Morris <rgm@gnu.org>
1001 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1003 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1005 * frame.el (set-frame-font): Doc fix.
1007 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1009 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1011 * emacs-lisp/package.el (package--download-one-archive):
1012 Use `write-region' instead of `save-buffer' to avoid running various
1014 (describe-package-1): Same. Insert newline at the end of the
1015 buffer if appropriate.
1017 2014-05-20 Juri Linkov <juri@jurta.org>
1019 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1020 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1021 Add more modifiers: meta, control, shift, hyper, super, alt.
1024 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1025 to allow changing its value with `set-variable'.
1027 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1029 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1031 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1033 (scheme-mode-variables): Set syntax-propertize-function instead of
1034 font-lock-syntactic-face-function.
1035 (scheme-font-lock-syntactic-face-function): Delete.
1037 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1039 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1041 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1044 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1046 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1047 for a temporary file name.
1049 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1051 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1053 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1055 * net/dbus.el (dbus-init-bus, dbus-call-method)
1056 (dbus-call-method-asynchronously, dbus-send-signal)
1057 (dbus-method-return-internal, dbus-method-error-internal):
1058 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1060 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1062 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1063 methods which do not have a doc string. (Bug#17490)
1065 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1066 Stefan Monnier <monnier@iro.umontreal.ca>
1068 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1071 2014-05-14 Glenn Morris <rgm@gnu.org>
1073 * vc/emerge.el (emerge-temp-file-prefix):
1074 Make pointless option obsolete.
1075 (emerge-temp-file-mode): Make non-functional option obsolete.
1077 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1079 * net/browse-url.el (browse-url):
1080 Use `unhandled-file-name-directory' when setting `default-directory',
1081 in order to circumvent stalled remote connections. (Bug#17425)
1083 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1085 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1086 into autoloading just because of a silly indirection.
1088 2014-05-11 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
1090 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1092 2014-05-11 Glenn Morris <rgm@gnu.org>
1094 * emacs-lisp/find-gc.el: Move to ../admin.
1096 2014-05-10 Glenn Morris <rgm@gnu.org>
1098 * printing.el (pr-version):
1099 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1101 * net/browse-url.el (browse-url-mosaic):
1102 Create /tmp/Mosaic.PID as a private file.
1104 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1106 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1107 (advice--member-p): If name is given, only compare the name.
1108 (advice--remove-function): Don't stop at the first match.
1109 (advice--normalize-place): New function.
1110 (add-function, remove-function): Use it.
1111 (advice--add-function): Pass the name, if any, to
1112 advice--remove-function.
1114 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1116 * electric.el (electric-indent-post-self-insert-function): Don't use
1117 `pos' after modifying the buffer (bug#17449).
1119 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1121 * subr.el (function-put): Add function.
1123 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1125 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1126 Correct argument list to conform to todo-insert-item--basic.
1128 2014-05-09 Glenn Morris <rgm@gnu.org>
1130 * files.el (cd-absolute): Test if directory is accessible
1131 rather than executable. (Bug#17330)
1133 * progmodes/compile.el (recompile):
1134 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1136 2014-05-08 Juri Linkov <juri@jurta.org>
1138 * dired.el (dired-check-switches, dired-switches-recursive-p):
1139 New functions. (Bug#17218)
1140 (dired-switches-escape-p, dired-move-to-end-of-filename):
1141 Use `dired-check-switches'.
1142 (dired-insert-old-subdirs, dired-build-subdir-alist)
1143 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1145 2014-05-08 Glenn Morris <rgm@gnu.org>
1147 * net/browse-url.el (browse-url-mosaic):
1148 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1149 This is CVE-2014-3423.
1151 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1153 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1154 (xterm-mouse--read-event-sequence-1000): Return nil if something
1156 (xterm-mouse-event): Propagate it.
1157 (xterm-mouse-translate-1): Handle it.
1159 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1161 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1162 four slots of the parameter list are filled, make sure to pass it
1163 to the argument list of todo-insert-item--basic.
1165 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1167 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1168 Add optional `seen' argument to detect and break infinite loops.
1170 2014-05-06 Eli Zaretskii <eliz@gnu.org>
1172 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1173 (trace-unsafe, trace-use-tree): Make parentheses style be
1174 according to Emacs style.
1176 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
1178 * net/tramp-sh.el (tramp-remote-process-environment):
1179 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1181 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1182 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
1183 extra "PSx=..." commands.
1184 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1187 (tramp-uudecode): Replace the hard-coded temporary file name by a
1189 (tramp-remote-coding-commands): Enhance docstring.
1190 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1192 This is CVE-2014-3424.
1194 2014-05-06 Glenn Morris <rgm@gnu.org>
1196 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1197 (find-gc-source-files): Update some names.
1198 (trace-call-tree): Simplify and update.
1199 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1200 This is CVE-2014-3422.
1202 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1204 * minibuffer.el (completion--try-word-completion): Revert fix for
1205 Bug#15980 (bug#17375).
1207 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1208 Always store button numbers in the same way in xterm-mouse-last;
1209 Don't burp is xterm-mouse-last is not set as expected.
1210 Never return negative indices.
1212 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
1214 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1215 Backtrack one char if the global/char-literal var matcher hits
1216 inside a string. The next char could be the beginning of an
1217 expression expansion.
1219 2014-05-05 Glenn Morris <rgm@gnu.org>
1221 * help-fns.el (describe-function-1): Test for an autoload before a
1222 macro, since `macrop' works on autoloads. (Bug#17410)
1224 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1226 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1228 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1229 Make sure the new point we return is within the new string (bug#17239).
1231 2014-05-03 Eli Zaretskii <eliz@gnu.org>
1233 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1235 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1237 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1238 Use nil rather than `default' for the "default" appearance (bug#17388).
1239 * vc/ediff-util.el (ediff-inferior-compare-regions)
1240 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1241 a misleading `default' value when it's really a boolean.
1242 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1243 overlay is not visible.
1245 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1247 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1248 (todo-menu): Uncomment and update.
1250 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1252 * calendar/todo-mode.el: Reimplement item editing to have the same
1253 basic user interface as item insertion, and make small UI and
1254 larger internal improvements to the latter.
1255 (todo-insert-item): Add reference to the Todo mode user manual to
1256 the documentation string.
1257 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1258 adjust all callers. Change signature to combine diary and
1259 nonmarking arguments. Incorporate functionality of deleted item
1260 copying command and add error checking. Remove detailed
1261 descriptions of the arguments from the documentation string, since
1262 this is treated in the Todo mode user manual.
1263 (todo-copy-item, todo-edit-multiline-item)
1264 (todo-edit-done-item-comment, todo-edit-item-header)
1265 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1266 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1267 (todo-edit-item-date-year, todo-edit-item-date-month)
1268 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1270 (todo-edit-item): Reimplement as wrapper command for
1271 todo-edit-item--next-key and make it distinguish done and not done
1273 (todo-edit-item--text): New function, replacing old command
1274 todo-edit-item and incorporating deleted commands
1275 todo-edit-multiline-item and todo-edit-done-item-comment.
1276 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1277 Use only numeric value of prefix argument. Remove detailed
1278 descriptions of the arguments from the documentation string, since
1279 this is treated in the Todo mode user manual.
1280 (todo-edit-item--diary-inclusion): New function, replacing old
1281 command todo-edit-item-diary-inclusion and incorporating and fixing
1282 functionality of deleted command todo-edit-item-diary-nonmarking,
1283 making sure to remove todo-nondiary-marker when adding
1284 diary-nonmarking-symbol.
1285 (todo-edit-category-diary-inclusion): Make sure to delete
1286 diary-nonmarking-symbol when adding todo-nondiary-marker.
1287 (todo-edit-category-diary-nonmarking): Fix indentation.
1288 (todo-insert-item--parameters): Group diary and nonmarking
1289 parameters together.
1290 (todo-insert-item--apply-args): Adjust to signature of
1291 todo-insert-item--basic and incorporate copy parameter.
1292 Make small code improvements.
1293 (todo-insert-item--next-param): Improve prompt and adjust it to
1294 new parameter grouping. Remove obsolete code.
1295 (todo-edit-item--param-key-alist)
1296 (todo-edit-item--date-param-key-alist)
1297 (todo-edit-done-item--param-key-alist): New defconsts.
1298 (todo-edit-item--prompt): New variable.
1299 (todo-edit-item--next-key): New function.
1300 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1301 Remove bindings of deleted commands.
1303 2014-05-02 Leo Liu <sdl.web@gmail.com>
1305 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1307 2014-05-01 Glenn Morris <rgm@gnu.org>
1309 * allout-widgets.el (allout-widgets-tally)
1310 (allout-decorate-item-guides):
1311 * menu-bar.el (menu-bar-positive-p):
1312 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1313 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1314 * progmodes/js.el (js--inside-param-list-p)
1315 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1316 * progmodes/prolog.el (region-exists-p):
1317 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1318 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1319 Doc fixes (replace `iff').
1321 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1323 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1325 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1327 * dired.el (dired-initial-position-hook, dired-initial-position):
1330 2014-04-29 Glenn Morris <rgm@gnu.org>
1332 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1334 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
1336 * faces.el (face-spec-recalc): Apply X resources only after the
1337 defface spec has been applied. Thus, X resources are no longer
1338 overridden by the defface spec which also fixes issues on win32 where
1339 the toolbar coloring was wrong because it is set through X resources
1340 and was (wrongfully) overridden. (Bug#16694)
1342 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1344 * textmodes/rst.el (electric-pair-pairs): Declare.
1345 (rst-mode): Set it (bug#17131).
1347 2014-04-27 Juri Linkov <juri@jurta.org>
1349 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1350 and `print-level' to nil. (Bug#17351)
1352 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1354 * battery.el (battery-update): Handle the case where battery
1355 status is "N/A" (bug#17319).
1357 2014-04-24 Eli Zaretskii <eliz@gnu.org>
1359 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1360 Use equal-including-properties to compare help-echo strings (bug#17331).
1362 2014-04-24 Leo Liu <sdl.web@gmail.com>
1364 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1365 Fix syntax for @. (Bug#17325)
1367 2014-04-24 Daniel Colascione <dancol@dancol.org>
1369 * emacs-lisp/cl.el (gv): Require gv early to break eager
1370 macro-expansion cycles.
1372 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1374 * simple.el (region-active-p): Check there's a mark (bug#17324).
1376 * simple.el (completion-list-mode-map): Use choose-completion for the
1377 mouse binding as well (bug#17302).
1378 (completion-list-mode, completion-setup-function): Adjust docstring and
1379 echo area message accordingly.
1380 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1381 calling convention of choose-completion.
1382 * comint.el (comint-dynamic-list-completions):
1383 * term.el (term-dynamic-list-completions): Accept choose-completion.
1385 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1386 &, |, +, - and * can't be a division (bug#17317).
1388 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1390 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1391 features on gnome-terminal (bug#16988).
1393 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1395 * dired.el (dired-insert-set-properties): Do not consider
1396 subdirectory headings and empty lines to be information that
1397 `dired-hide-details-mode' should hide. (Bug#17228)
1399 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1401 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1402 Remove test messages.
1403 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1406 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1408 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1409 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1411 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1413 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
1415 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1416 Set "IFS=" when using read builtin, in order to preserve spaces in
1417 the file name. Add test messages for hunting a bug on hydra.
1418 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1420 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1422 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1423 Don't prettify a word within a symbol.
1425 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
1427 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1430 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1432 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1433 assignments such as "case=hello" (bug#17297).
1435 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1437 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1439 (tramp-file-name-handler, tramp-completion-file-name-handler):
1440 Revert patch from 2014-04-10, it isn't necessary anymore.
1441 (tramp-autoload-file-name-handler)
1442 (tramp-register-autoload-file-name-handlers): New defuns.
1443 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1444 (tramp-register-file-name-handlers): Remove also
1445 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1446 Do not autoload its invocation, but eval it after loading of 'tramp.
1448 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1450 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1452 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1454 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
1455 was done (bug#17264).
1456 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
1459 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1460 here-documents (bug#17262).
1462 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1464 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1465 Provide doc strings, as required by snarf-documentation.
1467 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1469 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1470 arg of overlays-at. Use `invisible-p'.
1472 * obsolete/lucid.el (extent-at):
1473 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1475 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1477 2014-04-14 João Távora <joaotavora@gmail.com>
1479 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1482 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1484 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1485 Use mapc to loop over a vector. (Bug#17257).
1487 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
1489 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1490 patch, there are new problems with file names containing spaces.
1491 Get rid of backticks. (Bug#17238)
1493 2014-04-13 João Távora <joaotavora@gmail.com>
1495 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1498 2014-04-13 Eli Zaretskii <eliz@gnu.org>
1500 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1501 (blink-cursor-mode): Mention customization variables and the
1502 effect of 'blink-cursor-blinks'.
1504 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
1506 * simple.el (undo): Prevent insertion of identity mapping into
1507 undo-equiv-table so as undo-only does not inf loop in the presence
1508 of consecutive nils in undo list.
1510 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1512 * faces.el (make-face): Deprecate optional argument as it is no
1513 longer needed/used since the conditional X resources handling
1514 has been pushed down to make-face-x-resource-internal itself.
1515 (make-empty-face): Don't pass optional argument to make-face.
1517 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1519 * international/characters.el <standard-case-table>: Add entries
1520 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1521 Set category of Coptic characters be 'g' (Greek).
1523 2014-04-12 Leo Liu <sdl.web@gmail.com>
1525 * progmodes/octave.el (completion-table-with-cache): Define if not
1527 (octave-goto-function-definition)
1528 (octave-sync-function-file-names)
1529 (octave-find-definition-default-filename): Backquote upattern for
1532 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1534 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1535 name twice due to backticks. (Bug#17238)
1537 2014-04-11 Glenn Morris <rgm@gnu.org>
1539 * term/w32-win.el (x-win-suspend-error):
1540 * term/x-win.el (x-win-suspend-error): Sync docs.
1542 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1544 Ediff's overlay priorities cause more trouble than they solve.
1545 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1546 (ediff-highest-priority): Remove function (bug#17234).
1547 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1548 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1549 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1552 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
1554 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1555 entry; use symbol boundaries to avoid mis-matches.
1557 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
1559 * net/tramp.el (tramp-file-name-handler)
1560 (tramp-completion-file-name-handler): Avoid recursive loading.
1562 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1563 Quote result also locally.
1565 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1567 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1568 Module methods. (Bug#17216)
1570 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1572 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1573 (describe-bindings-internal): Mark obsolete.
1575 2014-04-07 João Távora <joaotavora@gmail.com>
1578 (electric-pair--syntax-ppss): When inside comments parse from
1580 (electric-pair--balance-info): Fix typo in comment.
1581 (electric-pair--in-unterminated-string-p): Delete.
1582 (electric-pair--unbalanced-strings-p): New function.
1583 (electric-pair-string-bound-function): New var.
1584 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1585 according to `electric-pair--in-unterminated-string-p'
1587 2014-04-07 João Távora <joaotavora@gmail.com>
1589 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1590 Inhibit quote pairing if point-max is inside an unterminated string.
1591 (electric-pair--looking-at-unterminated-string-p): Delete.
1592 (electric-pair--in-unterminated-string-p): New function.
1594 2014-04-07 Glenn Morris <rgm@gnu.org>
1596 * shell.el (shell-directory-tracker):
1597 Go back to just ignoring failures. (Bug#17159)
1599 2014-04-06 João Távora <joaotavora@gmail.com>
1601 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1602 backspace. (bug#16981)
1603 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1604 (electric-pair-backward-delete-char-untabify): Delete.
1605 (electric-pair-mode-map): Bind backspace to a menu item filtering
1606 a new `electric-pair-delete-pair' command.
1607 (electric-pair-delete-pair): New command.
1609 2014-04-06 João Távora <joaotavora@gmail.com>
1611 * progmodes/python.el (python-electric-pair-string-delimiter):
1612 Fix triple-quoting electricity. (Bug#17192)
1614 2014-04-06 João Távora <joaotavora@gmail.com>
1616 * elec-pair.el (electric-pair-post-self-insert-function):
1617 Don't skip whitespace when `electric-pair-text-pairs' and
1618 `electric-pair-pairs' were used. syntax to
1619 electric-pair--skip-whitespace. (Bug#17183)
1621 2014-04-06 Eli Zaretskii <eliz@gnu.org>
1623 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1626 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1628 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1629 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1631 2014-04-05 Glenn Morris <rgm@gnu.org>
1633 * help.el (view-lossage): Doc tweak.
1635 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
1637 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1638 only when inhibit-x-resources is nil, and do that earlier in the
1639 function. Doc fix. (Bug#16694)
1640 (face-spec-choose): Accept additional optional argument, whose
1641 value is returned if no matching attributes are found.
1642 (face-spec-recalc): Use the new optional argument when calling
1643 face-spec-choose. (Bug#16378)
1644 (make-face-x-resource-internal): Do nothing when
1645 inhibit-x-resources is non-nil. Don't touch the default face if
1646 reversed video is given--as was done in previous versions of Emacs.
1647 (face-set-after-frame-default): Don't call
1648 make-face-x-resource-internal here. (Bug#16434)
1650 2014-04-04 Tassilo Horn <tsdh@gnu.org>
1652 * doc-view.el (doc-view-bookmark-jump):
1653 Use `bookmark-after-jump-hook' to jump to the right page after the
1654 buffer is shown in a window. (bug#16090)
1656 2014-04-04 Eli Zaretskii <eliz@gnu.org>
1658 * international/characters.el (mirroring): Fix last change:
1659 instead of loading uni-mirrored.el explicitly, do that implicitly
1660 by creating the 'mirroring' uniprop table. This avoids announcing
1661 the loading of uni-mirrored.el.
1663 2014-04-04 Glenn Morris <rgm@gnu.org>
1665 * files.el (buffer-stale--default-function)
1666 (buffer-stale-function, revert-buffer--default):
1667 * autorevert.el (auto-revert-buffers): Doc tweaks.
1669 2014-04-03 Eli Zaretskii <eliz@gnu.org>
1671 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1673 2014-04-03 Glenn Morris <rgm@gnu.org>
1675 * files.el (make-backup-file-name-function)
1676 (make-backup-file-name, make-backup-file-name--default-function)
1677 (make-backup-file-name-1, find-backup-file-name)
1678 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1679 (buffer-stale--default-function, buffer-stale-function)
1680 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1681 (revert-buffer, revert-buffer--default)
1682 (revert-buffer-insert-file-contents--default-function):
1683 Doc fixes related to defaults no longer being nil.
1684 (make-backup-file-name-function): Bump :version.
1685 Restore nil as a valid but deprecated custom type.
1687 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1689 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
1690 used as a variable (bug#17174).
1692 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1694 * progmodes/perl-mode.el (perl-indent-new-calculate):
1695 Handle forward-sexp failure (bug#16985).
1696 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1697 modifiers introducing expressions (bug#17116).
1699 2014-04-02 Glenn Morris <rgm@gnu.org>
1701 * menu-bar.el (menu-bar-file-menu):
1702 * vc/ediff.el (ediff-current-file):
1703 Update for revert-buffer-function no longer being nil by default.
1705 * simple.el (command-execute): Respect nil disabled-command-function.
1707 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1709 * simple.el (command-execute): Do not execute the command when it
1710 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1712 2014-03-29 Juri Linkov <juri@jurta.org>
1714 * dired-aux.el (dired-compress-file): Don't use string-match-p
1715 because its match data is used afterwards.
1717 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1719 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1722 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1724 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1725 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1727 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1728 Don't propertize `?' or `!' as symbol constituent when after
1731 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1733 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1734 which is no longer needed and causes trouble in GTK builds (bug#17046).
1736 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1737 Use url-insert-file-contents; package-handle-response no longer exists.
1739 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1741 * emacs-lisp/package.el: Fix bug#16733 (again).
1742 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1743 (url-http-target-url): Remove unused declarations.
1744 (package-handle-response): Remove.
1745 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1746 (package--download-one-archive): Use current-buffer instead of
1747 dynamic binding of `buffer'.
1748 (describe-package-1): Do not decode readme-string.
1750 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
1752 * simple.el (primitive-undo): Correction to 2014-03-24 change.
1754 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
1756 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1758 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1759 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1760 `remote-file-name-inhibit-cache' to nil in the second pass.
1761 (tramp-find-executable): Do not call "which" on SunOS.
1762 (tramp-send-command-and-check): Fix docstring.
1763 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1764 check whether source directory has set the sticky bit.
1766 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
1768 * simple.el (primitive-undo): Only process marker adjustments
1769 validated against their corresponding (TEXT . POS). Issue warning
1770 for lone marker adjustments in undo history. (Bug#16818)
1771 (undo-make-selective-list): Add marker adjustments to selective
1772 undo list based on whether their corresponding (TEXT . POS) is in
1773 the region. Remove variable adjusted-markers, which was unused
1774 and only non nil during undo-make-selective-list.
1775 (undo-elt-in-region): Return nil when passed a marker adjustment
1776 and explain in function doc.
1778 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1780 * emacs-lisp/package.el (package--add-to-archive-contents):
1781 Include already installed and built-in packages in
1782 `package-archive-contents'.
1783 (package-install): Don't include already installed packages in the
1784 options during interactive invocation. (Bug#16762)
1786 2014-03-24 Daniel Colascione <dancol@dancol.org>
1788 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1789 instead of cl-loop search function.
1791 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
1793 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1795 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1797 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1799 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1801 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1802 Match special global variables without curlies, too.
1803 (ruby-font-lock-keywords): Simplify the matcher for special global
1804 variables. Don't require a non-word character after the variable.
1807 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1809 * simple.el (redisplay-highlight-region-function): Increase priority of
1810 overlay to make sure boundaries are visible (bug#15899).
1812 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1814 * frameset.el (frameset-restore): Compare display strings with equal.
1816 * frame.el (make-frame): Don't quote display name in error message,
1817 it is already a string.
1819 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1821 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1824 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
1826 * emacs-lisp/package.el (package-show-package-list): If the buffer
1827 is already displayed in another window, switch to that window.
1829 2014-03-21 Daniel Colascione <dancol@dancol.org>
1831 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1832 information in bug reports.
1834 2014-03-23 Daniel Colascione <dancol@dancol.org>
1836 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1837 list to look for keyword arguments instead of `memq', fixing
1838 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1839 Please make bootstrap.
1841 2014-03-23 Richard Stallman <rms@gnu.org>
1843 * battery.el (battery-linux-sysfs): Search for each field
1844 from the beginning of the buffer.
1846 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1848 * emacs-lisp/package.el (package-desc): Use the contents of the
1849 quoted form, not its cdr. (Bug#16873)
1851 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1853 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1854 benefit of doc.c; change parameter profile to match the X function.
1856 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1858 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1859 and `tramp-copy-env'.
1861 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1862 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1864 2014-03-21 Glenn Morris <rgm@gnu.org>
1866 * electric.el (electric-indent-post-self-insert-function): Add doc.
1868 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1870 * emacs-lisp/package.el (package-compute-transaction):
1871 Use `version-list-<=' to compare the requirement version against
1872 the version of package already to be installed. Update the error
1873 message. (Bug#16826)
1875 * progmodes/ruby-mode.el (ruby-smie-rules):
1876 Add indentation rule for ` @ '. (Bug#17050)
1878 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1880 * align.el (align-regexp): Remove superfluous backslash.
1882 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1883 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1884 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1885 Fix docstring typos.
1886 (ffap-next): Use C-u in docstring.
1887 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1888 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1889 Remove superfluous backslashes.
1890 (ffap-string-at-point): Reflow docstring.
1892 * server.el (server-host): Reflow docstring.
1893 (server-unload-function): Fix docstring typo.
1894 (server-eval-at): Remove superfluous backslash.
1896 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1897 (skeleton-insert): Doc fix.
1898 (skeleton-insert): Reflow docstring.
1900 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1901 (tty-color-approximate, tty-color-by-index, tty-color-values)
1902 (tty-color-desc): Remove superfluous backslashes.
1904 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1906 * electric.el (electric-newline-and-maybe-indent): New command.
1907 Bind it globally to C-j.
1908 (electric-indent-mode): Don't mess with the global map any more.
1909 Don't drop the post-self-insert-hook is some buffer is still using it
1912 * bindings.el (global-map): Remove C-j binding.
1914 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1915 the docstring of functions advised before dumping (bug#16993).
1917 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1919 * ps-print.el (ps-generate-postscript-with-faces):
1920 Explicitly deactivate the mark (bug#16866).
1921 * simple.el (deactivate-mark): Update region highlight.
1923 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
1925 * emacs-lisp/package.el (describe-package-1):
1926 Decode commentary (bug#16733).
1928 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
1930 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1931 modification of the value argument of :set (bug#16755).
1933 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1935 * simple.el (newline-and-indent): Do autofill (bug#17031).
1937 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1939 * newcomment.el (comment-normalize-vars): Only add escaping check
1940 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1941 (comment-beginning): Use `narrow-to-region' instead of moving back
1943 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1944 (comment-start-skip): Update the docstring.
1946 2014-03-18 Richard Stallman <rms@gnu.org>
1948 * dired.el (dired-display-file): Force use of other window.
1950 2014-03-18 Daniel Colascione <dancol@dancol.org>
1952 * startup.el (tty-handle-args): Remove debug message from 2007.
1954 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1956 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1957 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1958 (advice--make-1, advice-add, advice-remove):
1959 Remove braindead :advice-pending hack.
1961 2014-03-17 Glenn Morris <rgm@gnu.org>
1963 * calendar/calendar.el (calendar-generate-month): Apply weekend
1964 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1966 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
1968 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1969 (tramp-call-process): Trace also DESTINATION.
1971 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1972 Quote file names when they are local. Remove superfluous trace.
1974 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1976 * newcomment.el (comment-beginning): If `comment-start-skip'
1977 doesn't match, move back one char and try again. (Bug#16971)
1979 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1980 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
1981 Set `comment-start-skip' to a simpler value that doesn't try to
1982 check if the semicolon is escaped (this is handled by
1983 `syntax-ppss' now). (Bug#16971)
1985 * progmodes/scheme.el (scheme-mode-variables): Same.
1987 2014-03-16 Martin Rudalics <rudalics@gmx.at>
1989 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1990 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1991 current (Bug#16816, Bug#17007).
1992 (with-current-buffer-window): New macro doing the same as
1993 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1994 * help.el (help-print-return-message): Warn in doc-string to not
1995 use this in `with-help-window'.
1996 (describe-bindings-internal): Call `describe-buffer-bindings'
1997 from within help buffer. See Juanma's scenario in (Bug#16816).
1998 (with-help-window): Update doc-string.
1999 * dired.el (dired-mark-pop-up):
2000 * files.el (save-buffers-kill-emacs):
2001 * register.el (register-preview): Use `with-current-buffer-window'
2002 instead of `with-temp-buffer-window'.
2004 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2006 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2007 Implement inserting into current buffer, documented in their docstrings.
2008 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2009 (rst-section-tree-point, rst-forward-section, rst-indent)
2010 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2011 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2012 (rst-font-lock-handle-adornment-pre-match-form)
2013 (rst-repeat-last-character): Reflow docstrings.
2014 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2015 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2016 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2017 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2018 Fix docstring typos.
2019 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2020 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2021 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2023 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2025 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2026 for compatibility with other ports.
2027 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2028 from the -xrm command line argument, but in the Nextstep port its value
2029 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2031 * progmodes/python.el (defconst, python-syntax-count-quotes)
2032 (python-indent-region, python-indent-shift-right)
2033 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2034 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2035 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2036 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2037 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2038 (python-shell-buffer-substring, python-shell-send-buffer)
2039 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2040 (python-completion-complete-at-point, python-fill-docstring-style)
2041 (python-eldoc-function, python-imenu-format-item-label)
2042 (python-imenu-format-parent-item-label)
2043 (python-imenu-format-parent-item-jump-label)
2044 (python-imenu--build-tree, python-imenu-create-index)
2045 (python-imenu-create-flat-index): Fix docstring typos.
2046 (python-indent-context, python-shell-prompt-regexp, run-python):
2047 Remove superfluous backslashes.
2048 (python-indent-line, python-nav-beginning-of-defun)
2049 (python-shell-get-buffer, python-shell-get-process)
2050 (python-info-current-defun, python-info-current-line-comment-p)
2051 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2052 (python-indent-post-self-insert-function, python-shell-send-file)
2053 (python-shell-completion-get-completions)
2054 (python-shell-completion-complete-or-indent)
2055 (python-eldoc--get-doc-at-point): Reflow docstrings.
2057 2014-03-14 Glenn Morris <rgm@gnu.org>
2059 * emacs-lisp/package.el (package-menu-mode-map):
2060 Replace use of obsolete function alias. Tweak menu item text.
2062 * info.el (Info-finder-find-node):
2063 Ignore the `emacs' metapackage. (Bug#10813)
2065 * finder.el (finder-list-matches): Include unversioned packages
2066 in the result of a keyword search.
2068 * finder.el (finder--builtins-descriptions): New constant.
2069 (finder-compile-keywords): Use finder--builtins-descriptions.
2071 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2073 * simple.el (blink-matching-paren): Describe the new value,
2074 `jump', enabling the old behavior.
2075 (blink-matching-open): Use that value. (Bug#17008)
2077 2014-03-14 Glenn Morris <rgm@gnu.org>
2079 * finder.el (finder-no-scan-regexp): Add leim-list.
2080 (finder-compile-keywords):
2081 Don't skip files with same basename. (Bug#14010)
2082 * Makefile.in (setwins_finder): New, excluding leim.
2083 (finder-data): Use setwins_finder.
2085 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2086 (help-function-arglist, help-make-usage): Move from here...
2087 * help.el (help-split-fundoc, help-add-fundoc-usage)
2088 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2089 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2091 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2093 * net/socks.el (socks, socks-override-functions)
2094 (socks-find-services-entry):
2095 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2096 (hif-find-ifdef-block):
2097 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2099 * net/tls.el (tls-program): Reflow docstring.
2101 * progmodes/pascal.el (pascal-mode-abbrev-table)
2102 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2103 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2104 (pascal-outline-mode): Fix docstring typos.
2105 (pascal-mode): Let define-derived-mode document mode hook.
2106 (pascal-uncomment-area): Reflow.
2107 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2109 * progmodes/opascal.el (opascal-compound-block-indent)
2110 (opascal-case-label-indent): Fix docstring typos.
2111 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2113 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2115 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2116 Fontify multiple adjacent negation chars. (Bug#17004)
2118 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2120 * emacs-lisp/package.el (package--prepare-dependencies):
2121 Accept requirements without explicit version (bug#14941).
2123 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2125 * register.el (register-separator, copy-to-register): Doc fixes.
2126 (register-preview-default): Remove unnecessary call to concat.
2128 * frameset.el (frameset-restore): When checking for a visible frame,
2129 use the action map instead of calling visible-frame-list.
2131 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2133 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2135 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2137 * window.el (fit-frame-to-buffer): Get maximum width from
2138 display's width instead of height.
2140 2014-03-12 Glenn Morris <rgm@gnu.org>
2142 * desktop.el (desktop-restore-frames)
2143 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2144 (desktop-restore-reuses-frames): Doc tweaks.
2146 * electric.el (electric-indent-mode): Doc fix.
2148 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2150 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2151 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2152 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2153 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2154 (cvs-dired-use-hook): Fix docstring typos.
2155 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2158 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2159 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2160 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2161 (cvs-execute-single-dir): Fix docstring typos.
2163 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2164 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2166 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2168 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2169 Fix docstring typos.
2171 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2173 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2174 called from jump-to-register after unloading the frameset package.
2176 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2178 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2179 (bug#16975). Deactivate the mark before setting it to nil.
2180 (activate-mark): Do nothing if region is already active.
2182 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2184 * frameset.el (frameset--target-display): Remove definition; declare.
2185 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2187 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2189 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2190 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2191 when the advice is pending.
2192 (advice-remove): Remove this marker when not needed any more.
2194 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2196 * frameset.el: Separate options for reusing frames and cleaning up.
2197 (frameset--reuse-list): Remove definition; declare.
2198 (frameset--action-map): Declare.
2199 (frameset--find-frame-if): Doc fix.
2200 (frameset--restore-frame): Cache frame action.
2201 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2202 how to clean up the frame list after restoring. Remove cleaning
2203 options from REUSE-FRAMES. Change all keyword values to symbols.
2204 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2206 * desktop.el (desktop-restore-forces-onscreen)
2207 (desktop-restore-reuses-frames): Use non-keyword values.
2208 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2210 2014-03-10 Glenn Morris <rgm@gnu.org>
2212 * files.el (find-file): Doc fix: update info node name.
2214 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2215 Doc fix: remove references to deleted info nodes.
2217 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2219 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2220 Do not add `nil' to the environment, when there's no remote `locale'.
2221 (tramp-find-inline-encoding): Check, that the remote host has
2222 installed perl, before sending scripts.
2224 2014-03-10 Leo Liu <sdl.web@gmail.com>
2226 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2227 Clear eldoc-last-message. (Bug#16920)
2229 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2231 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2234 2014-03-09 Juri Linkov <juri@jurta.org>
2236 * ansi-color.el (ansi-color-names-vector): Copy default colors
2237 from `xterm-standard-colors' that look well on the default white
2238 background (and also on the black background) to avoid illegible
2239 color combinations like yellow-on-white and white-on-white.
2240 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2242 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2244 * frameset.el (frameset-restore): When no frame is visible, do not
2245 generate a list of frames, just make visible the selected one.
2247 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2249 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2250 it only contains the repository root. (Bug#16897)
2252 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2254 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2255 only when `remote-file-name-inhibit-cache' is nil.
2256 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2258 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2260 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2262 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2263 fit-frame-to-buffer variable. Fix doc-string.
2264 (fit-window-to-buffer): Set ONLY argument in call of
2265 fit-frame-to-buffer. Fix doc-string.
2267 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2269 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2270 (tramp-action-password): Clear password cache if needed.
2271 (tramp-read-passwd): Do not clear password cache.
2273 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2274 cache unless it is the first password request.
2276 2014-03-06 Glenn Morris <rgm@gnu.org>
2278 * simple.el (newline): Doc tweak.
2280 * emacs-lisp/shadow.el (load-path-shadows-find):
2281 Ignore dir-locals. (Bug#12357)
2283 2014-03-05 Glenn Morris <rgm@gnu.org>
2285 * files.el (interpreter-mode-alist):
2286 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2288 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2290 * frameset.el (frameset--initial-params): Filter out null entries.
2292 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2294 * window.el (window-min-height, window-min-width):
2295 Rewrite doc-strings.
2296 (window-body-size): Add PIXELWISE argument to make it consistent
2299 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2301 * finder.el (finder-mode-map, finder-mode-syntax-table):
2302 Revert part of 2014-02-28 change.
2304 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2306 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2307 (eww-setup-buffer): Clear next/prev/etc more reliably.
2308 (eww-textarea-map): [tab] doesn't work on tty.
2309 Reported by Mario Lang.
2311 * net/shr.el (shr-map): Ditto.
2313 2014-03-04 Glenn Morris <rgm@gnu.org>
2315 * minibuffer.el (completion-hilit-commonality):
2316 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2318 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2320 * hilit-chg.el (hilit-chg-unload-function): New function.
2321 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2322 (hilit-chg-map-changes): Prefer cardinal number to digit.
2323 (hilit-chg-display-changes): Reflow docstring.
2324 (highlight-changes-rotate-faces): Remove superfluous backslash.
2326 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2328 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2329 `tramp-send-command-and-check'.
2331 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2333 * hexl.el (hexl-address-region, hexl-ascii-region)
2334 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2335 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2336 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2337 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2338 (hexl-mode): Doc fix.
2339 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2340 (hexl-mode-ruler): Fix typos in docstrings.
2342 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2343 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2344 Remove superfluous backslashes.
2345 (strokes-last-stroke, strokes-global-map, strokes-mode):
2347 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2348 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2349 (strokes-distance-squared, strokes-global-set-stroke)
2350 (strokes-global-set-stroke-string): Doc fixes.
2351 (strokes-help): Fix typos; reflow docstring.
2353 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2355 * window.el (window-in-direction): Fix doc-string.
2357 2014-03-04 Glenn Morris <rgm@gnu.org>
2359 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2360 Explicit error if no grammar.
2361 (smie-config-save): Doc fix. Fix quote typo.
2363 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2365 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2366 electric-indent-mode-hook if we obey electric-indent-mode.
2367 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2368 decide whether we obey electric-indent-mode.
2369 (c-change-set-fl-decl-start, c-extend-after-change-region):
2371 (c-electric-indent-mode-hook): Assume we do want to obey
2372 electric-indent-mode.
2374 * electric.el (electric-indent-mode-has-been-called): Remove.
2375 (electric-indent-mode): Fix accordingly.
2377 * files.el (hack-local-variables): Mention file name in warning.
2379 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2381 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2383 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2384 * simple.el (delete-forward-char): Mark as interactive-only.
2386 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2388 * icomplete.el (icomplete-completions):
2389 Follow-up to 2014-03-01 change.
2391 * icomplete.el: Miscellaneous doc fixes.
2392 Use Icomplete everywhere instead of icomplete for consistency.
2393 (icomplete-max-delay-chars): Fix typo.
2394 (icomplete-mode): Use \[].
2395 (icomplete-tidy, icomplete-exhibit): Reflow.
2396 (icomplete-minibuffer-setup-hook, icomplete-completions):
2397 Remove superfluous backlashes.
2399 * ido.el: Miscellaneous doc fixes.
2400 Use Ido everywhere instead of ido or `ido' for consistency.
2401 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2402 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2403 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2404 (ido-separator): Extract obsolescence info from docstring and declare
2405 with make-obsolete-variable.
2406 (ido-minibuffer-setup-hook): Simplify example.
2407 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2408 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2409 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2410 (ido-everywhere): Reflow docstring.
2411 (ido-toggle-vc): Doc fix.
2412 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2413 of long list of keybindings.
2415 2014-03-03 Glenn Morris <rgm@gnu.org>
2417 * frame.el (display-pixel-height, display-pixel-width)
2418 (display-mm-dimensions-alist, display-mm-height)
2419 (display-mm-width): Doc tweaks.
2421 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2423 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2424 case of undo in region.
2426 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2428 * window.el (fit-window-to-buffer): Fix argument in window-size
2429 call when window is horizontally combined.
2431 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2433 * icomplete.el (icomplete-completions): Use string-width.
2434 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2436 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2438 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2439 Highlight regexp options. (Bug#16914)
2441 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2443 * window.el (window--max-delta-1): Round down when calculating
2444 how many lines/columns we can get from a window.
2446 2014-03-01 Glenn Morris <rgm@gnu.org>
2448 * isearch.el (search-invisible): Doc fix.
2450 * minibuffer.el (completion-hilit-commonality):
2451 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2452 * comint.el (comint-dynamic-list-completions): Doc fix.
2453 * comint.el (comint-dynamic-list-completions):
2454 * filecache.el (file-cache-minibuffer-complete):
2455 * tempo.el (tempo-display-completions):
2456 * eshell/em-hist.el (eshell-list-history):
2457 Replace use of obsolete argument of display-completion-list.
2459 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2461 * icomplete.el (icomplete-completions):
2462 Revert back to using "..." when ?… cannot be displayed.
2464 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2466 * finder.el (finder-unload-function): New function.
2468 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2470 * dframe.el (dframe-detach):
2471 * find-dired.el (find-dired, find-name-dired):
2472 * finder.el (finder-mode-map, finder-mode-syntax-table)
2473 (finder-headmark, finder-select, finder-mouse-select):
2474 Fix docstring typos.
2476 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2478 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2479 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2480 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2481 Fix doc-string based on a suggestion by Nicolas Richard
2482 <theonewiththeevillook@yahoo.fr>.
2483 * help.el (with-help-window): Fix doc-string.
2485 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2487 * net/shr.el (shr-image-animate): New option.
2488 (shr-put-image): Respect shr-image-animate.
2490 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2492 * net/tramp-adb.el (tramp-adb-parse-device-names):
2493 Use `accept-process-output'.
2494 (tramp-adb-handle-file-truename): Cache the localname only.
2495 (tramp-adb-handle-make-directory)
2496 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2497 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2498 modes cannot be changed.
2500 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2501 file properties of symlinks.
2503 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2505 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2506 required/optional fields to match development biblatex. (Bug#16781)
2508 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2510 * saveplace.el (toggle-save-place):
2511 Fix argument handling. (Bug#16673)
2513 2014-02-28 Glenn Morris <rgm@gnu.org>
2515 * minibuffer.el (completions-first-difference)
2516 (completions-common-part, completion-hilit-commonality): Doc fixes.
2518 2014-02-28 Karl Berry <karl@gnu.org>
2520 * info.el (Info-mode-map): Add H for describe-mode,
2521 to synchronize with standalone Info.
2523 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2525 * progmodes/sql.el (sql-interactive-mode):
2526 Avoid setting global comint-input-ring-separator. (Bug#16814)
2528 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2530 * net/dbus.el (dbus--init-bus): Declare function.
2531 (dbus-path-local, dbus-interface-local): New defconst.
2532 (dbus-init-bus): Use them.
2533 (dbus-return-values-table): Extend doc.
2534 (dbus-handle-bus-disconnect): Extend error message.
2536 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2538 * subr.el (y-or-n-p): Fix double space issue in message.
2540 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2542 * net/tramp.el (tramp-call-process): Improve trace message.
2543 (tramp-handle-insert-file-contents): Trace error case.
2545 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2546 <insert-directory>: Use `tramp-handle-insert-directory'.
2547 (tramp-adb-handle-insert-directory): Remove function.
2548 (tramp-adb-send-command-and-check): New defun, replacing
2549 `tramp-adb-command-exit-status'. Change all callees.
2550 (tramp-adb-handle-file-attributes)
2551 (tramp-adb-handle-directory-files-and-attributes): Use it.
2552 (tramp-adb-ls-output-name-less-p):
2553 Use `directory-listing-before-filename-regexp'.
2554 (tramp-adb-handle-delete-directory): Flush also file properties of
2555 the truename of directory.
2556 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2557 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2558 (tramp-adb-handle-write-region): Implement APPEND.
2559 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2560 properties correctly.
2561 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2562 variables. Check for connected devices only when needed.
2564 2014-02-27 Glenn Morris <rgm@gnu.org>
2566 * minibuffer.el (completion-table-dynamic)
2567 (completion-table-with-cache): Doc fixes.
2569 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2570 (completing-read-multiple): Doc fixes.
2572 2014-02-27 Daniel Colascione <dancol@dancol.org>
2574 * minibuffer.el (completion--nth-completion): Fix indentation.
2576 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2577 explicit tramp path is empty.
2579 2014-02-27 Glenn Morris <rgm@gnu.org>
2581 * emacs-lisp/crm.el (completing-read-multiple):
2582 Empower help-enable-auto-load.
2584 2014-02-26 Glenn Morris <rgm@gnu.org>
2586 * startup.el (command-line): Don't init the tty in daemon mode.
2588 Avoid calling tty-setup-hook twice, eg if a term file
2589 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2590 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2591 (tty-create-frame-with-faces): Use it.
2592 * startup.el (command-line): Pass run-hook argument
2593 to tty-run-terminal-initialization.
2595 * dired.el (dired-restore-desktop-buffer): Demote errors;
2596 eg in case a glob match fails. (Bug#16884)
2598 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2600 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2601 error from `read-from-string'. (Bug#16850)
2603 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2604 result of `completing-read' in the interactive form. (Bug#16854)
2606 2014-02-25 Glenn Morris <rgm@gnu.org>
2608 * image.el (image-animate, image-animate-timeout):
2609 Stop animating images in dead buffers. (Bug#16878)
2611 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2613 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2615 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2616 * term/sun.el (sun-raw-prefix-hooks):
2617 Use tty-setup-hook instead of term-setup-hook.
2618 (terminal-init-sun): Construct message from bytecomp plist.
2619 * term/wyse50.el (enable-arrow-keys): Doc fix.
2621 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2623 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2624 Fix docstring typos.
2626 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2628 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2630 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2632 * minibuffer.el (completion--try-word-completion):
2633 Fix error when completing M-x commands (bug#16808).
2635 2014-02-24 Leo Liu <sdl.web@gmail.com>
2637 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2639 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2641 * apropos.el (apropos-print): Avoid formatting error when
2642 apropos-do-all and apropos-compact-layout are both t.
2644 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2646 * apropos.el (apropos-property, apropos-all-words-regexp)
2647 (apropos-true-hit, apropos-variable, apropos-print):
2648 Fix docstring typos, and remove obsolete comment.
2650 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2652 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2653 Preserve trailing "/". (Bug#16851)
2655 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2657 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2658 after `=>' (bug#16811).
2659 (ruby-smie-rules): Handle the inconsistent second element of the
2660 list returned by `smie-indent--parent'.
2661 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2664 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2666 * elec-pair.el (electric-pair-text-syntax-table)
2667 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2668 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2669 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2670 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2672 2014-02-22 Glenn Morris <rgm@gnu.org>
2674 * imenu.el (imenu--generic-function): Doc fix.
2676 * register.el (frame-configuration-to-register): Make obsolete.
2678 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2680 * desktop.el (desktop-save-buffer-p): Do not fail when
2681 desktop-files-not-to-save is nil. Return t for true result
2684 2014-02-22 Daniel Colascione <dancol@dancol.org>
2686 * net/secrets.el (secrets-create-item, secrets-search-items):
2687 Check that attribute values are strings, avoiding the construction
2688 of invalid dbus messages.
2690 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2692 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2693 defun-declarations-alist.
2695 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2697 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2700 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2702 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2703 (whitespace-newline, whitespace-trailing, whitespace-line)
2704 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2705 (whitespace-space-after-tab): Fix typo in docstrings.
2707 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2709 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2711 * electric.el (electric-indent-functions-without-reindent):
2712 Add `yaml-indent-line'.
2714 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2716 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2717 It has done nothing for years; should be removed after the release.
2719 * simple.el (choose-completion): Fix docstring typo.
2720 (read-quoted-char-radix): Remove unneeded * in docstring.
2721 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2722 Don't escape parentheses unnecessarily in docstrings.
2724 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2726 Fix handling of window-min-height/-width (Bug#16738).
2727 * window.el (window--dump-window, window--dump-frame):
2729 (window--min-size-1): Account for window dividers.
2730 When window-resize-pixelwise is nil, delay rounding till after the
2731 sum of the window components has been calculated.
2732 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2733 nil make sure at least one text line and two text columns remain
2735 (window-resize): Signal an error when window-resize-apply fails.
2736 (window--resize-child-windows): Fix calculation of by how many
2737 pixels a window can still be shrunk via window-new-normal.
2738 (adjust-window-trailing-edge): Call window--resizable with
2739 correct TRAIL argument.
2741 (with-temp-buffer-window): Don't evaluate BODY within
2742 with-current-buffer (Bug#16816).
2744 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2746 * net/tramp.el (tramp-check-cached-permissions):
2747 Call `file-attributes' with `suffix' being a symbol but a string.
2749 2014-02-21 Daniel Colascione <dancol@dancol.org>
2751 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2752 (dbus-init-bus): New function: call into dbus-init-bus-1
2753 and installs a handler for the disconnect signal.
2754 (dbus-call-method): Rewrite to look for result in cons.
2755 (dbus-call-method-handler): Store result in cons.
2756 (dbus-check-event): Recognize events with nil sender as valid.
2757 (dbus-handle-bus-disconnect): New function. React to bus
2758 disconnection signal by synthesizing dbus error for each
2759 pending synchronous or asynchronous call.
2760 (dbus-notice-synchronous-call-errors): New function.
2761 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2762 is true, not all the time.
2764 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2766 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2767 Remove obsolescence declarations, these variables do not exist anymore.
2769 * savehist.el (savehist-save-minibuffer-history)
2770 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2771 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2772 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2773 mostly, refer to "Savehist mode" when talking about the mode,
2774 and not the function.
2776 * saveplace.el (save-place): Remove redundant info in docstring.
2777 (save-place-forget-unreadable-files, toggle-save-place)
2778 (save-place-forget-unreadable-files, save-place-dired-hook):
2779 Fix typos and remove unneeded backslashes.
2781 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2783 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2784 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2786 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2787 <insert-directory>: Use `tramp-handle-insert-directory'.
2788 (tramp-gvfs-handle-insert-directory): Remove function.
2790 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2791 Call `tramp-handle-insert-directory'.
2793 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2795 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2796 before the start of buffer/region (bug#16799).
2798 2014-02-20 Glenn Morris <rgm@gnu.org>
2800 * isearch.el (search-invisible): Doc fix.
2802 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2804 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2807 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2809 * frameset.el (frameset-restore): Delay removing an old frame's
2810 duplicate id until the new frame has been correctly created.
2812 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2814 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2815 (tramp-check-cached-permissions): Call `file-attributes' if the
2818 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2819 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2821 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2822 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2823 (tramp-gvfs-maybe-open-connection): Set always connection
2824 properties, even if target is mounted already.
2826 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2827 Set tramp-autoload cookie.
2828 (tramp-get-remote-touch): New defun.
2829 (tramp-sh-handle-set-file-times): Use it.
2830 (tramp-sh-handle-directory-files-and-attributes):
2831 Use `tramp-handle-directory-files-and-attributes' if neither stat
2832 nor perl are available on the remote host.
2834 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2835 "/". Write long listing only when "l" belongs to the switches.
2837 * net/trampver.el: Update release number.
2839 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2841 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2843 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2845 * window.el (window-state-put): Allow WINDOW to refer to an
2846 internal window (Bug#16793).
2848 2014-02-19 Glenn Morris <rgm@gnu.org>
2850 * textmodes/remember.el: Move provide statement to end.
2851 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2852 (remember-notes): Doc fixes.
2854 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2856 * delsel.el (delete-char): Restore incorrectly erased property
2859 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2861 * frameset.el (frameset--restore-frame): When a frame is being reused
2862 and its root window is not alive, delete all the frame's windows before
2863 restoring the window state. This works around the issue in bug#16793.
2865 2014-02-18 Glenn Morris <rgm@gnu.org>
2867 * textmodes/remember.el (remember-data-directory)
2868 (remember-directory-file-name-format, remember-store-in-files)
2869 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2870 (remember-notes-save-and-bury-buffer)
2871 (remember-notes--kill-buffer-query): Doc fixes.
2873 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2875 2014-02-17 Alan Mackenzie <acm@muc.de>
2877 Connect electric-indent-mode up with CC Mode. Bug #15478.
2878 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2879 to electric-indent-{,local-}-mode.
2880 (c-basic-common-init): Set electric-indent-inhibit.
2881 Initialise c-electric-flag from electric-indent-mode.
2882 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2883 New hook functions which propagate electric-indent-mode to CC mode.
2885 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2886 hit, toggle electric-indent-local-mode.
2888 * electric.el (electric-indent-mode-has-been-called):
2891 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2893 * frameset.el (frameset-cfg-id): New function.
2894 (frameset--reuse-frame, frameset-restore): Use it.
2895 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2897 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2899 * ido.el (ido-file-internal): Remove unused var `d'.
2900 Use \` for to match BoS. Fit within 80n columns.
2902 2014-02-17 Daniel Colascione <dancol@dancol.org>
2904 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2905 dbus-call-method check for completion using a busy-wait loop with
2908 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2910 Sync with Tramp 2.2.9.
2912 * net/trampver.el: Update release number.
2914 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2916 * ido.el (ido-file-internal): Don't add the name of an existing
2917 directory twice. (Bug#16747)
2919 2014-02-16 Glenn Morris <rgm@gnu.org>
2921 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2922 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2924 2014-02-15 Michael R. Mauger <michael@mauger.com>
2926 * progmodes/sql.el: Version 3.4
2927 (sql-oracle-options): New default value ("-L").
2928 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
2929 (sql-placeholders-filter): Correct placeholder pattern.
2930 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
2931 (sql-login-delay): New variable.
2932 (sql-product-interactive): Use it.
2934 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
2936 * frameset.el (frameset--jump-to-register): Check that buffer is live
2939 2014-02-15 Glenn Morris <rgm@gnu.org>
2941 * info.el (info-initialize): Revert 2014-01-10 change.
2943 2014-02-14 Glenn Morris <rgm@gnu.org>
2945 * replace.el (map-query-replace-regexp)
2946 (read-regexp-defaults-function, read-regexp): Doc fixes.
2948 * dired.el (dired-read-regexp):
2949 * faces.el (list-faces-display):
2950 * misearch.el (multi-isearch-read-matching-buffers)
2951 (multi-isearch-read-matching-files):
2952 * play/cookie1.el (cookie-apropos):
2953 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2955 * textmodes/remember.el (remember): Use frameset-to-register
2956 rather than frame-configuration-to-register.
2958 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2960 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2961 incorrect keybinding.
2963 2014-02-13 Daniel Colascione <dancol@dancol.org>
2965 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2966 when adding overlays so that line numbers from compiler match line
2969 2014-02-13 Glenn Morris <rgm@gnu.org>
2971 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2973 * jit-lock.el (jit-lock-mode): Doc fix.
2975 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
2977 * apropos.el (apropos-read-pattern): When the user passes an empty
2978 string, give a more helpful error message than "Wrong type
2979 argument: stringp, nil".
2981 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2983 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2985 2014-02-13 Glenn Morris <rgm@gnu.org>
2987 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2989 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2991 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2992 shift-select commands.
2994 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2996 * progmodes/js.el (js-indent-line): Don't widen.
2997 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2999 2014-02-12 Glenn Morris <rgm@gnu.org>
3001 * icomplete.el (icomplete): Add info-link to defgroup.
3002 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3003 (icomplete-minibuffer-map, icomplete-mode)
3004 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3006 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3007 (package-menu-filter): Rename from package-menu-filter-interactive.
3010 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3012 * frameset.el (frameset--jump-to-register): Select the required
3013 window and buffer before restoring position (bug#16696).
3015 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3017 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3019 2014-02-10 Glenn Morris <rgm@gnu.org>
3021 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3023 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3025 * w32-common-fns.el (x-get-selection): Doc fix.
3026 * select.el (x-get-selection): Doc fix. (Bug#15109)
3028 * face-remap.el (face-remap-add-relative)
3029 (face-remap-remove-relative, face-remap-reset-base)
3030 (face-remap-set-base): Call force-mode-line-update to redisplay
3031 the current buffer due to potential change in faces. (Bug#16709)
3033 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3035 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3036 script more robustly.
3038 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3040 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3042 * simple.el (choose-completion): Doc fix (bug#14160).
3044 * subr.el (event-start): Say what a nil EVENT value means.
3046 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3049 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3051 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3053 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3055 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3056 predicate function (bug#15455).
3058 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3060 * ielm.el (inferior-emacs-lisp-mode): Instead of
3061 `comment-use-global-state', set `comment-use-syntax'.
3063 2014-02-10 Glenn Morris <rgm@gnu.org>
3065 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3067 2014-02-09 Alan Mackenzie <acm@muc.de>
3069 Fix c-invalidate-state-cache on narrowed buffers.
3070 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3071 Widen when setting and clearing the CPP delimiter properties.
3073 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3075 * help.el (describe-bindings): Doc fix (bug#9888).
3077 * files.el (save-buffer): Use ARG as the parameter name for
3078 consistency (bug#10346).
3079 (save-buffer): Clarify the 0 argument (bug#10346).
3081 * cus-edit.el (customize-apropos): Fix error string.
3082 (custom-buffer-create): Doc fix (bug#11122).
3083 (custom-sort-items): Doc fix (bug#11121).
3085 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3087 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3088 (icomplete-simple-completing-p): Mention the previous variable.
3090 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3091 meaning of the parameter (bug#12282).
3093 * files.el (find-file-noselect): Clarify prompt when changing
3094 readedness (bug#13261).
3095 (locate-file): Suffixes aren't returned, so don't say that they
3097 (backup-inhibited): Doc clarification (bug#12525).
3099 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3100 before we actually start to delete things (bug#16331).
3102 * subr.el (event-start): Doc fix (bug#14228).
3105 2014-02-09 Glenn Morris <rgm@gnu.org>
3107 * emacs-lisp/warnings.el (lwarn):
3108 Empower help-enable-auto-load. (Bug#15940)
3110 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3112 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3115 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3117 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3118 Insert output at end of buffer. (Bug#16120)
3120 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3122 * simple.el (choose-completion-string-functions): Document new
3123 calling convention (bug#14153).
3124 (execute-extended-command): Clarify doc string (bug#13373).
3126 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3128 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3129 (find-grep-dired): Doc fix (bug#14288).
3131 2014-02-08 Juri Linkov <juri@jurta.org>
3133 * isearch.el (isearch-quote-char): Check character validity
3134 like in `quoted-insert' (bug#16677).
3136 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3138 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3140 * isearch.el (isearch-hide-immediately): Doc clarification
3143 * simple.el (line-move): Document utility function used many
3144 places in the Emacs sources (bug#14843).
3146 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3147 (dired-prev-marked-file): Doc fix (bug#14855).
3148 (dired-up-directory): Doc fix (bug#14848).
3150 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3152 * files.el (file-relative-name): Doc fix (bug#15159).
3154 * fringe.el (fringe-styles): Doc fix (bug#15239).
3156 * isearch.el (isearch-filter-predicate): Documentation typo fix
3159 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3161 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3163 * replace.el (replace-match-maybe-edit): Doc clarification
3166 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3168 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3170 2014-02-08 Glenn Morris <rgm@gnu.org>
3172 * help-fns.el (describe-variable):
3173 Check {file,dir}-local-variables-alist, and buffer-file-name,
3174 in the correct buffer.
3176 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3178 * help-fns.el (describe-variable): Fix the case where
3179 a value is directory-local with no dir-locals file. (Bug#16635)
3181 2014-02-08 Glenn Morris <rgm@gnu.org>
3183 * abbrev.el (edit-abbrevs-mode):
3184 Derive from fundamental-mode. (Bug#16682)
3186 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3188 * simple.el (quoted-insert): Check character validity (bug#16677).
3190 2014-02-07 Juri Linkov <juri@jurta.org>
3192 * desktop.el (desktop-read): Claim the lock when the owner is not
3193 the current process. (Bug#16157)
3195 2014-02-07 Juri Linkov <juri@jurta.org>
3197 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3198 to "\\` ". (Bug#16651)
3200 2014-02-07 Juri Linkov <juri@jurta.org>
3202 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3203 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3204 (desktop-auto-save-cancel-timer): New function with some code from
3205 `desktop-auto-save-set-timer'.
3206 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3207 Instead of setting `desktop-save-mode' to nil, call
3208 `desktop-save-mode' with arg 0. (Bug#16630)
3210 2014-02-07 Glenn Morris <rgm@gnu.org>
3212 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3213 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3214 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3216 * obsolete/iswitchb.el: Move to obsolete/.
3217 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3218 since obsolete/ is not scanned for autoloads.
3219 * emacs-lisp/authors.el (authors-valid-file-names):
3222 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3223 Disable now non-functional find-file-hook.
3225 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3227 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3228 instead of ";" in order to avoid additional prompts. Let heredoc
3229 scripts read from tty. (Bug#16582)
3230 (tramp-send-command): No special handling of heredocs, it isn't
3233 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3235 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3236 with a space (bug#16664). Limit the symbols considered to the ones
3237 that are bound or fbound (bug#16646).
3239 2014-02-06 Glenn Morris <rgm@gnu.org>
3241 * epa.el (epa-mail-aliases): Doc fix.
3243 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3245 * emacs-lisp/lisp.el (lisp-completion-at-point):
3246 Use `completion-table-merge' instead of `completion-table-in-turn'
3249 * minibuffer.el (completion-table-merge): New function.
3251 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3253 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3254 (tramp-sh-handle-set-file-acl)
3255 (tramp-sh-handle-start-file-process)
3256 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3257 (tramp-find-executable, tramp-send-command): Use it.
3259 2014-02-05 Glenn Morris <rgm@gnu.org>
3261 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3263 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3265 * progmodes/python.el (python-shell-send-string)
3266 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3268 2014-02-04 Anders Lindgren <andlind@gmail.com>
3270 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3271 the names (bug#16620).
3273 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3275 * faces.el (window-divider): New default value. Rewrite doc-string.
3276 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3278 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3280 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3281 `protected' and `public' can also be called without arguments.
3283 2014-02-03 Glenn Morris <rgm@gnu.org>
3285 * register.el (window-configuration-to-register)
3286 (frame-configuration-to-register): Unadvertise unused argument.
3287 * frameset.el (frameset-to-register): Remove unused argument.
3289 * frameset.el (frameset-to-register):
3290 * kmacro.el (kmacro-to-register):
3291 * register.el (increment-register):
3292 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3293 (calc-append-to-register, calc-prepend-to-register):
3294 * play/gametree.el (gametree-layout-to-register)
3295 (gametree-apply-register-layout):
3296 * textmodes/picture.el (picture-clear-rectangle-to-register)
3297 (picture-yank-rectangle-from-register):
3298 * vc/emerge.el (emerge-combine-versions-register):
3299 Use register-read-with-preview to read registers.
3301 2014-02-03 João Távora <joaotavora@gmail.com>
3303 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3304 when at beginning of (possibly narrowed) buffer.
3306 2014-02-02 Daniel Colascione <dancol@dancol.org>
3308 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3309 Also try to display local help from just before point.
3311 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3313 c-parse-state. Don't "append-lower-brace-pair" in certain
3314 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3315 recognised as a comment.
3317 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3318 as well as normal comment starter.
3319 (c-parse-state-get-strategy): Extra return possibility
3321 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3322 return value list to indicate replacement of a brace-pair cons
3324 (c-parse-state-1): With 'back-and-forward, only call
3325 c-append-lower-brace-pair-to state-cache when cons-separated.
3327 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3329 * term/ns-win.el (ns-suspend-error): New function.
3330 (ns-initialize-window-system): Add ns-suspend-error to
3331 suspend-hook (Bug#16612).
3333 2014-02-02 Daniel Colascione <dancol@dancol.org>
3335 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3336 Make loading cc-mode silent.
3338 2014-02-02 Daniel Colascione <dancol@dancol.org>
3340 * comint.el (comint-prompt-read-only): Change doc to suggest
3343 2014-02-02 Glenn Morris <rgm@gnu.org>
3345 * register.el (register-read-with-preview, point-to-register)
3346 (window-configuration-to-register, frame-configuration-to-register)
3347 (jump-to-register, number-to-register, view-register, insert-register)
3348 (copy-to-register, append-to-register, prepend-to-register)
3349 (copy-rectangle-to-register): Doc fixes.
3351 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3353 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3354 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3355 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3356 * help-fns.el (describe-function-1): Use it.
3358 2014-02-02 Glenn Morris <rgm@gnu.org>
3360 * register.el (register-preview-default): New function,
3361 split from register-preview.
3362 (register-preview-function): Rename from register-preview-functions,
3364 (register-preview): Use register-preview-function.
3365 (register-read-with-preview): Error on non-character event. (Bug#16595)
3367 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3369 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3370 `:' before binary operators (bug#16609). Don't check for `:'
3371 before `[' and `(', or their syntax status. A percent literal
3372 can't end with either.
3373 (ruby-font-lock-keywords): For built-ins that require arguments,
3374 check that they're followed by something that looks like argument
3377 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3379 * subr.el (butlast): Document what an omitted N means (bug#13437).
3382 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3384 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3385 depth shallower (bug#16587).
3386 (shr-tag-svg): Respect `shr-inhibit-images'.
3387 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3389 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3391 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3392 (ruby-smie-grammar): Make "." right-associative. Make its priority
3393 lower than the ternary and all binary operators.
3394 (ruby-smie-rules): Indent "(" relative to the first non-"."
3395 parent, or the first "." parent at indentation.
3396 Use `ruby-align-chained-calls' for indentation of "." tokens.
3399 2014-01-31 Juri Linkov <juri@jurta.org>
3401 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3402 from `make-hash-table'.
3404 * textmodes/ispell.el (ispell-init-process): Change message format
3405 to be consistent with other messages.
3407 2014-01-31 Glenn Morris <rgm@gnu.org>
3409 * delsel.el (delete-selection-mode): Doc fix.
3411 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3412 (trace-function-background): Doc fixes.
3414 * ido.el (ido-use-virtual-buffers): Doc fix.
3415 Reset :version, since the default value has not changed.
3417 * register.el (register-preview-delay, register-read-with-preview):
3420 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3421 do not mess with mail-buffer position (fixes 2009-11-03 change).
3422 * progmodes/cc-mode.el (c-submit-bug-report):
3423 Check auto-fill-mode is bound. (Bug#16592)
3425 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3427 * startup.el (fancy-splash-image-file): New function,
3428 split from fancy-splash-head.
3429 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3430 so that we are both using the same image. (Bug#16574)
3432 2014-01-30 Glenn Morris <rgm@gnu.org>
3434 * simple.el (eval-expression): Doc fix.
3436 * hexl.el (hexl-mode-hook):
3437 * ielm.el (ielm-mode-hook):
3438 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3439 (lisp-interaction-mode-hook):
3440 * progmodes/cfengine.el (cfengine3-documentation-function):
3441 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3443 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3445 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3446 is a symbol (bug#16584).
3448 2014-01-30 Glenn Morris <rgm@gnu.org>
3450 * help.el (help-for-help-internal): Add "P" to text.
3452 2014-01-29 Glenn Morris <rgm@gnu.org>
3454 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3456 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3458 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3461 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3463 * progmodes/hideif.el: Extend to full CPP expression syntax.
3464 (hif-token-alist): Add missing tokens.
3465 (hif-token-regexp): Add support for float/octal/hex immediates.
3466 (hif-string-literal-regexp): New const.
3467 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3468 (hif-exprlist): New function.
3469 (hif-parse-if-exp): Use it.
3470 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3471 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3472 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3473 (hif-logxor, hif-comma): New functions.
3475 2014-01-28 Glenn Morris <rgm@gnu.org>
3477 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3479 * indent.el (tab-stop-list): Doc fix. Add :version.
3481 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3482 (cvs-append-to-ignore): Add compatibility alias.
3484 2014-01-27 Glenn Morris <rgm@gnu.org>
3486 * dired.el (dired-hide-details-mode): Don't autoload it,
3487 since it cannot be used outside Dired buffers anyway.
3489 * emulation/cua-base.el (cua-mode): Doc fix.
3491 * dired.el (dired-hide-details-hide-symlink-targets)
3492 (dired-hide-details-hide-information-lines)
3493 (dired-hide-details-mode): Doc fixes.
3495 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3496 * strokes.el (strokes-file): Doc fix. Bump :version.
3497 (strokes-help): Doc fix.
3498 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3499 * emulation/viper.el (viper): Doc fix for custom group.
3500 (top-level): Remove oh-so-no-longer-relevant text about vip.
3501 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3503 * ido.el (ido-save-directory-list-file):
3504 * saveplace.el (save-place-file):
3505 * calendar/timeclock.el (timeclock-file):
3506 * net/quickurl.el (quickurl-url-file):
3507 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3508 * progmodes/idlwave.el (idlwave-config-directory):
3509 * textmodes/remember.el (remember-data-file):
3512 2014-01-26 Glenn Morris <rgm@gnu.org>
3514 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3515 Doc fix. Make obsolete.
3516 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3518 * sort.el (delete-duplicate-lines): Doc fix.
3520 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3522 * progmodes/ada-mode.el (ada):
3523 * woman.el (woman): Link to info manual and Commentary section.
3525 * progmodes/flymake.el (flymake):
3526 * nxml/nxml-mode.el (nxml):
3528 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3529 * htmlfontify.el (htmlfontify):
3532 * ido.el (ido): Link to info manual.
3534 2014-01-25 Leo Liu <sdl.web@gmail.com>
3536 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3538 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3540 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3543 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3545 * net/eww.el (eww-download-callback):
3546 Fix reference to eww-download-directory.
3548 * emacs-lisp/bytecomp.el (byte-compile-file):
3549 Remove unused local variable `file-name'.
3551 2014-01-24 Glenn Morris <rgm@gnu.org>
3553 * woman.el (woman-default-faces, woman-monochrome-faces):
3554 Fix obsolescence specification.
3556 * subr.el (with-demoted-errors): Doc fix.
3558 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3560 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3561 (cl--macroexp-fboundp): New function.
3562 (cl--make-type-test): Use it.
3564 2014-01-23 Glenn Morris <rgm@gnu.org>
3566 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3567 * simple.el (eval-expression): Doc fixes.
3569 2014-01-22 Glenn Morris <rgm@gnu.org>
3571 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3573 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3575 * emacs-lisp/package.el: Write files silently.
3576 (package-autoload-ensure-default-file, package--write-file-no-coding)
3577 (package-generate-description-file, package--download-one-archive)
3578 (package-install-from-archive): Tell `write-region' to stay quiet.
3579 (package-menu-mode, package-menu--print-info): Omit the Archive column
3580 if there's only one archive.
3581 (package-all-keywords, package--has-keyword-p): Remove dead code.
3583 2014-01-22 Glenn Morris <rgm@gnu.org>
3585 * version.el (emacs-bzr-version-bzr): Fix typo.
3587 * version.el (emacs-repository-get-version):
3588 Check either .bzr or .git, but not both.
3589 Make the git case actually use the DIR argument, and return nil
3590 rather than the empty string.
3591 Avoid error if .git exists but the git executable is not found.
3593 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3595 Fixes in window size functions around Bug#16430 and Bug#16470.
3596 * window.el (window-total-size, window-size): New argument ROUND.
3597 (window--min-delta-1, window-min-delta, window--max-delta-1):
3598 Be more conservative when calculating the numbers of lines or
3599 columns a window can shrink (Bug#16430).
3600 (fit-window-to-buffer): Simplify code.
3601 * term.el (term-window-width): Call window-body-width again.
3603 2014-01-22 Glenn Morris <rgm@gnu.org>
3605 * image.el (image-format-suffixes): Doc fix.
3607 * international/quail.el (quail-define-package): Doc fix.
3609 * emacs-lisp/authors.el (authors-valid-file-names)
3610 (authors-renamed-files-alist): Additions.
3612 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3613 reverts 2014-01-09 change. (Bug#16422)
3615 * calc/calc-embed.el (thing-at-point-looking-at):
3616 * emacs-lisp/map-ynp.el (x-popup-dialog):
3617 * obsolete/lmenu.el (x-popup-dialog):
3618 * emacs-lisp/package.el (url-recreate-url):
3619 * mail/mailclient.el (clipboard-kill-ring-save):
3620 * subr.el (x-popup-dialog): Update declaration.
3621 * mail/rmail.el (rmail-mime-message-p):
3622 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3624 2014-01-21 Daniel Colascione <dancol@dancol.org>
3626 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3627 Correctly detect when we're inside an arithmetic expansion form
3628 containing nested parenthesis.
3629 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3630 to detect cases where we shouldn't expand "<<" to a heredoc
3633 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3635 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3636 (eldoc--message-command-p): New function.
3637 (eldoc-display-message-p): Use it.
3638 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3639 message is not automatically erased for us.
3640 (eldoc-print-current-symbol-info): Erase previous message, if any.
3642 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3644 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3645 specify it's an interactive function.
3647 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3648 Fix regex used for scanning for citation keys which failed for
3649 citations with optional arguments.
3651 2014-01-21 Leo Liu <sdl.web@gmail.com>
3653 * simple.el (read--expression): Don't enable eldoc-mode.
3655 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3657 * simple.el (move-beginning-of-line): Make sure we don't move forward
3660 2014-01-20 Juri Linkov <juri@jurta.org>
3662 * saveplace.el (toggle-save-place, save-place-to-alist)
3663 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3664 'dired-mode) before checking for dired-directory. (Bug#16477)
3666 2014-01-20 Juri Linkov <juri@jurta.org>
3668 * indent.el (indent-line-to): Use backward-to-indentation
3669 instead of back-to-indentation. (Bug#16461)
3671 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3673 Revert some of the CANNOT_DUMP fix (Bug#16494).
3674 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3675 but fixing this can wait until after the next release.
3676 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3678 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3680 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3681 Use `password-word-equivalents'.
3682 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3683 to t. (Bug#5664, Bug#13124)
3685 2014-01-19 Alan Mackenzie <acm@muc.de>
3687 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3689 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3690 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3691 * progmodes/cc-mode.el (c-before-change, c-after-change)
3692 (c-font-lock-fontify-region): Bind it here.
3694 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3696 * term.el (term-window-width): Call window-text-width instead of
3697 window-width (Bug#16470).
3699 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3701 * simple.el (password-word-equivalents): Remove duplicates.
3702 Sort, to make this easier next time.
3703 Downcase. Omit ": " after "jelszó".
3705 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3707 * term/common-win.el (saved-region-selection): Defvar it.
3708 (x-select-text): Set saved-region-selection (Bug#16382).
3710 2014-01-18 Glenn Morris <rgm@gnu.org>
3712 * emacs-lisp/authors.el (authors-aliases)
3713 (authors-renamed-files-alist): Add some entries.
3715 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3717 * net/tramp.el (tramp-password-prompt-regexp):
3718 Use `password-word-equivalents' if available.
3719 (tramp-action-password, tramp-process-one-action)
3720 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3722 2014-01-17 Chong Yidong <cyd@gnu.org>
3724 * simple.el (password-word-equivalents): New defcustom.
3725 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3727 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3730 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3732 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3733 (ruby-align-to-stmt-keywords): Change the default value.
3734 Use `ruby-alignable-keywords' to generate the possible customization
3736 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3737 keywords, check against the value of `ruby-alignable-keywords'
3738 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3740 2014-01-17 Glenn Morris <rgm@gnu.org>
3742 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3744 Make M-x authors return zero *Authors Errors* from current logs.
3745 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3746 (authors-ignored-files): Add some entries, remove others.
3747 (authors-ambiguous-files, authors-valid-file-names):
3749 (authors-renamed-files-alist): Add, remove, and adjust entries.
3750 (authors-renamed-files-regexps): Add some entries.
3751 Remove some very broad ones. Make some entries `lax'.
3752 (authors-lax-changelogs): New constant.
3753 (authors-disambiguate-file-name): Treat top-level specially.
3754 (authors-lax-changelog-p): New function.
3755 (authors-canonical-file-name): Check file as written against
3756 authors-valid-file-names. Do not special-case etc/.
3757 Handle `lax' logs and authors-renamed-files-regexps elements.
3759 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3761 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3762 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3765 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3767 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3768 Assume we're already in the proper buffer.
3769 Inspired by Anders Lindgren <andlind@gmail.com>.
3770 (follow-post-command-hook): Call it from the right buffer.
3771 (follow-comint-scroll-to-bottom): Adjust call.
3772 (follow-all-followers): Use get-buffer-window-list.
3774 2014-01-15 Daniel Colascione <dancol@dancol.org>
3776 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3777 `buffer-file-name' in interactive-form so that we don't leave
3778 pathless file names in `file-name-history'.
3780 2014-01-15 Juri Linkov <juri@jurta.org>
3782 * indent.el (indent-rigidly): Set deactivate-mark to nil
3783 in transient indentation mode. (Bug#16438)
3785 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3787 * emacs-lisp/package.el (package-desc-keywords): New function
3789 (describe-package-1, package-all-keywords)
3790 (package--has-keyword-p): Use it.
3792 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3794 * simple.el (define-alternatives): When creating the
3795 COMMAND-alternatives variable, assign COMMAND as its definition
3796 name so that `describe-variable' can relocate it.
3798 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3800 * font-lock.el (font-lock-keywords): Fix typo in docstring
3803 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3805 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
3806 line instead of wrongly reset `add-coment' (bug#13577).
3808 2014-01-14 Daiki Ueno <ueno@gnu.org>
3810 * epa-file.el (epa-file-write-region): Encode the region according
3811 to `buffer-file-format'. Problem reported at:
3812 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3814 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3816 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3817 so it applies in the right buffer (bug#16410).
3819 2014-01-13 Daniel Colascione <dancol@dancol.org>
3821 * textmodes/rst.el (rst-define-key): Provide deprecated
3822 keybindings through named functions instead of anonymous ones so
3823 that "??" doesn't appear in describe-mode output.
3825 2014-01-13 Bastien Guerry <bzg@gnu.org>
3827 * simple.el (define-alternatives): Call the selected command
3828 interactively. When setting `COMMAND--implementation' for the
3829 first time, tell the user how to chose another implementation.
3830 Enhance the docstring.
3832 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3834 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3835 (log-edit--match-first-line): New function.
3836 (log-edit-font-lock-keywords): Use it.
3837 (log-edit-mode): Make jit-lock-defer-multiline work.
3839 2014-01-13 Bastien Guerry <bzg@gnu.org>
3841 * rect.el (rectangle-mark-mode): When the region is not active,
3842 display a message saying that the mark as been set and that
3843 rectangle mode is in use.
3844 (rectangle--highlight-for-redisplay): Only put an overlay with a
3845 visible vertical bar when (display-graphic-p) is non-nil.
3846 This partially fixes Bug#16403.
3848 2014-01-13 Juri Linkov <juri@jurta.org>
3850 * info.el (Info-find-file): Go to DIR before displaying the error
3851 about a nonexistent file if no previous Info file is visited.
3852 Use `user-error' instead of `error' for "Info file %s does not exist".
3853 (Info-find-node-2): In case of a nonexistent node in unwind forms
3854 go to the Top node if there is no previous node to revert to.
3857 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3859 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3860 * window.el (fit-frame-to-buffer): Fix doc-string.
3861 Respect window-min-height/-width. Fit pixelwise when
3862 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3863 when avoiding that frame goes partially off-screen.
3864 (fit-window-to-buffer): Respect window-min-height/-width
3867 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3869 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3870 after an empty line.
3872 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3874 * net/shr.el (shr-render-region): Autoload.
3876 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3878 * net/eww.el (eww-download-directory): Rename from
3879 `eww-download-path' (Bug#16419).
3881 2014-01-12 Leo Liu <sdl.web@gmail.com>
3883 * dired-x.el (dired-mode-map): Fix last change.
3885 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3887 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3890 * emacs-lisp/generic.el (generic--normalize-comments):
3891 Rename from generic--normalise-comments. All uses changed.
3892 * play/bubbles.el (bubbles--neighborhood-score)
3893 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3894 (bubbles--neighborhood-available)
3895 (bubbles--update-neighborhood-score):
3896 Rename from names with 'neighbourhood'. All uses changed.
3898 2014-01-12 Leo Liu <sdl.web@gmail.com>
3900 Re-implement the feature of showing eldoc info after editing.
3901 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3902 (eldoc-edit-message-commands): New function.
3903 (eldoc-print-after-edit): New variable.
3904 (eldoc-pre-command-refresh-echo-area): Emit message only by
3905 eldoc-message-commands.
3906 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3907 if eldoc-print-after-edit is set. (Bug#16346)
3908 * simple.el (read--expression): Enable eldoc-mode.
3909 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3911 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3912 Eric S. Raymond <esr@thyrsus.com>
3914 * version.el (emacs-repository-get-version): Enhance so the
3915 function works correctly in either a Bazaar or Git repo.
3917 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
3919 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3920 Goes with removal of the joke manpages from /etc.
3922 2014-01-10 Kenichi Handa <handa@gnu.org>
3924 * mail/rmail.el (rmail-get-coding-system):
3925 Check rmail-get-coding-function before "funcall"ing it.
3927 2014-01-10 Glenn Morris <rgm@gnu.org>
3929 * emacs-lisp/authors.el (authors-fixed-entries):
3930 Update for files that no longer exist.
3932 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
3934 * version.el (emacs-bzr-get-version): Restore compatibilty with
3937 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3939 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3942 2014-01-10 Eli Zaretskii <eliz@gnu.org>
3944 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3946 2014-01-10 Chong Yidong <cyd@gnu.org>
3948 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
3950 2014-01-10 Anders Lindgren <andlind@gmail.com>
3952 * follow.el (follow-cache-command-list): Include right-char and
3955 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3958 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3959 * woman.el (woman-mark-horizontal-position):
3960 Rename from woman-mark-horizonal-position. Use changed.
3962 2014-01-10 Glenn Morris <rgm@gnu.org>
3964 * info.el (info-initialize): If running uninstalled, ensure our
3965 own info files are always found first, even if INFOPATH is set.
3967 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3969 2014-01-09 David Engster <deng@randomsample.de>
3971 * emacs-lisp/eieio-custom.el:
3972 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3973 'eieio.el'. This was accidentally removed in rev. 110325.
3974 * emacs-lisp/eieio.el: Regenerate autoloads.
3976 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
3978 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
3979 following renames. (Bug#8756)
3981 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3983 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3985 (activate-mark): Add `no-tmm' argument.
3986 (set-mark, push-mark-command): Use it instead of running
3987 activate-mark-hook by hand.
3989 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
3991 In preparation for the move to git, sanitize out some
3992 Bazaar-specific names.
3994 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3996 * version.el (emacs-bzr-version): Name changed to
3997 emacs-repository-version. Obsolete-variable alias made.
3998 * loadup.el: Follow through on this name change.
3999 * mail/emacsbug.el (report-emacs-bug): Factor out any
4000 assumption about the version control system in use.
4002 2014-01-08 David Engster <deng@randomsample.de>
4004 * help-fns.el (help-fns-describe-function-functions):
4005 New variable to call functions for augmenting help buffers.
4006 (describe-function-1): Remove explicit calls to
4007 `help-fns--compiler-macro', `help-fns--parent-mode' and
4008 `help-fns--obsolete'. Put them in above new variable instead, and
4009 call them through `run-hook-with-args'.
4010 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4011 `eieio-describe-class'. Not meant for interactive use anymore,
4012 but to augment existing help buffers. Remove optional second
4013 argument. Create proper button for file location.
4014 Rewrite function to use `insert' instead of `princ' and `prin1' where
4016 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4017 (eieio-method-def, eieio-class-def): Move further up.
4018 (describe-method, describe-generic, eieio-describe-method):
4020 (eieio-help-constructor, eieio-help-generic): Rename from
4021 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4022 Rewrite to use `insert' in the current buffer and use proper help
4024 (eieio-help-find-method-definition)
4025 (eieio-help-find-class-definition): Also accept symbols as
4027 (eieio-help-mode-augmentation-maybee): Remove.
4028 (eieio-describe-class-sb): Use `describe-function'.
4029 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4030 Add `eieio-help-generic' and `eieio-help-constructor'.
4032 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4035 * language/china-util.el (hz-ascii-designation):
4036 Rename from hz-ascii-designnation.
4037 (hz-ascii-designation): Rename from hz-ascii-designnation.
4040 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4042 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4045 2014-01-08 Bastien Guerry <bzg@gnu.org>
4047 * emacs-lisp/package.el (package-delete):
4048 Correctly delete the package from package-alist.
4050 2014-01-08 Daiki Ueno <ueno@gnu.org>
4052 * emacs-lisp/package.el (url-recreate-url): Declare.
4053 (url-http-target-url): Declare.
4054 (package-handle-response): Include requested URL in the error message.
4055 (package--check-signature): Don't re-signal errors from
4056 package--with-work-buffer. Suggested by Stefan Monnier.
4058 2014-01-07 Bastien Guerry <bzg@gnu.org>
4060 * minibuffer.el (completion--try-word-completion): When both a
4061 hyphen and a space are possible candidates for the character
4062 following a word, display both candidates. (Bug#15980)
4064 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4066 * window.el (balance-windows-2): While rounding don't give a
4067 window more than the remainder. Bug#16351, bug#16383.
4069 2014-01-07 Glenn Morris <rgm@gnu.org>
4071 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4072 (menu-bar-help-menu): Use view-external-packages instead.
4074 2014-01-07 Bastien Guerry <bzg@gnu.org>
4076 * emacs-lisp/package.el (package-delete): Also delete the package
4077 name from `package-alist', not its description only.
4079 2014-01-07 Glenn Morris <rgm@gnu.org>
4081 * help.el (view-external-packages):
4082 * menu-bar.el (menu-bar-help-extra-packages):
4083 Visit efaq.info rather than etc/MORE.STUFF.
4085 2014-01-07 Juri Linkov <juri@jurta.org>
4087 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4088 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4090 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4091 that shadows RET. (Bug#16342)
4093 2014-01-07 Chong Yidong <cyd@gnu.org>
4095 * isearch.el (isearch-yank-char, isearch-yank-word)
4096 (isearch-yank-line): Doc fix.
4098 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4100 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4101 * emacs-lisp/elint.el (elint-find-builtins):
4102 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4103 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4104 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4105 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4106 * apropos.el (apropos-safe-documentation):
4107 * subr.el (symbol-file): Remove redundant fboundp.
4108 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4110 2014-01-06 Bastien Guerry <bzg@gnu.org>
4112 * hl-line.el (global-hl-line-overlay): Make a local variable.
4113 (global-hl-line-overlays): New variable to store all overlays.
4114 (global-hl-line-mode): Don't delete overlays from the current
4115 buffer when `global-hl-line-sticky-flag' is non-nil.
4116 (global-hl-line-highlight): Add new overlays to
4117 `global-hl-line-overlays'.
4118 (global-hl-line-unhighlight-all): New function to delete all
4119 overlays when turning off `global-hl-line-mode'.
4120 This fixes Bug#16183.
4122 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4124 * subr.el (set-transient-map): Fix nested case and docstring.
4126 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4128 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4131 2014-01-06 Daniel Colascione <dancol@dancol.org>
4133 Fix defun navigation in vc log view.
4135 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4136 like `beginning-of-defun'.
4137 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4138 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4139 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4140 (log-view-extract-comment): Call `log-view-current-entry' directly
4141 instead of relying on broken `log-view-beginning-of-defun' behavior.
4143 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4146 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4147 * emacs-lisp/debug.el (cancel-debug-on-entry):
4148 * epg.el (epg-error-to-string):
4149 * files.el (recover-file):
4150 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4151 * mail/emacsbug.el (report-emacs-bug-hook):
4152 * mail/sendmail.el (mail-recover):
4153 * ses.el (ses-yank-resize):
4154 * term/ns-win.el (ns-print-buffer):
4155 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4156 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4158 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4160 2014-01-06 Leo Liu <sdl.web@gmail.com>
4162 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4163 to avoid shadowing global key. (Bug#16354)
4165 2014-01-06 Daniel Colascione <dancol@dancol.org>
4167 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4170 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4172 * window.el (balance-windows): Add mising t to fix Bug#16351.
4174 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4176 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4178 (shr-insert): If we have a word that's longer than `shr-width',
4179 break after it anyway. Otherwise we'll do no breaking once we get
4182 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4184 * net/eww.el (eww): Support single/double quote for search.
4185 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4186 (eww-history-quit): Delete and use quit-window.
4187 (eww-history-kill): Delete, because it doesn't work well and
4189 (eww-history-mode-map): Delete some keys and add easy-menu.
4191 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4193 Fix misspelling of 'chinese' in rx (Bug#16237).
4194 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4197 Change subword regexps back to vars (Bug#16296).
4198 * progmodes/subword.el (subword-forward-regexp)
4199 (subword-backward-regexp): Change these back to variables.
4201 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4203 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4204 syntax-begin-function (bug#16247).
4206 2014-01-03 Chong Yidong <cyd@gnu.org>
4208 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4209 (advice--docstring): Delete variable.
4210 (advice--make-1): Leave the docstring empty.
4211 (advice-add): Use function-documentation for advised docstring.
4213 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4214 Ignore function-documentation property when getting documentation.
4215 (ad-activate-advised-definition): Use function-documentation
4216 generate the docstring.
4217 (ad-make-advised-definition): Don't call
4218 ad-make-advised-definition-docstring.
4219 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4222 * progmodes/sql.el (sql-help): Use function-documentation instead
4223 of dynamic-docstring-function property. No need to autoload now.
4224 (sql--help-docstring): New variable.
4225 (sql--make-help-docstring): Use it.
4227 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4229 * ielm.el (ielm-tab): Retarget.
4230 (ielm-map): Use ielm-tab for tab.
4231 (ielm-complete-filename): Use comint-filename-completion.
4232 (ielm-complete-symbol): Remove.
4233 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4234 remove ielm-tab from completion-at-point-functions (bug#16224).
4236 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4237 Beware signals raised by predicates (bug#16201).
4239 2014-01-02 Richard Stallman <rms@gnu.org>
4241 * dired-aux.el (dired-do-print): Handle printer-name.
4243 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4244 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4245 (rmail-epa-decrypt): Turn off mime processing.
4247 * mail/rmail.el (rmail-make-in-reply-to-field):
4248 Add parens in message-id.
4250 * mail/rmail.el (rmail-get-coding-function): Variable.
4251 (rmail-get-coding-system): Use it.
4253 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4255 * international/mule-conf.el: Unify the charset indian-is13194.
4256 (indian-is13194): Specify unify-map.
4258 2013-12-31 Leo Liu <sdl.web@gmail.com>
4260 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4262 2013-12-30 Daniel Colascione <dancol@dancol.org>
4264 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4265 of printing a useless when we resume from sleep.
4267 * progmodes/sh-script.el
4268 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4269 in indentation code. (Bug#16233)
4271 2013-12-28 João Távora <joaotavora@gmail.com>
4273 * elec-pair.el (electric-pair-post-self-insert-function):
4274 Don't open extra newlines at beginning of buffer. (Bug#16272)
4276 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4278 * frame.el (window-system-for-display): Don't allow to create a
4279 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4281 2013-12-28 Glenn Morris <rgm@gnu.org>
4283 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4286 * apropos.el (apropos-match-face):
4287 * calculator.el (calculator-displayer):
4288 * dabbrev.el (dabbrev-search-these-buffers-only):
4289 * face-remap.el (buffer-face-mode-face):
4290 * simple.el (yank-handled-properties):
4291 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4292 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4293 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4294 (hashcash-double-spend-database):
4295 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4296 (ruby-deep-indent-paren-style):
4297 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4298 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4299 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4300 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4301 Specify custom types.
4303 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4304 * bookmark.el (bookmark-bmenu-use-header-line):
4305 * doc-view.el (doc-view-scale-internally):
4306 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4307 * register.el (register-preview-delay):
4308 * net/shr.el (shr-bullet):
4309 * progmodes/cfengine.el (cfengine-cf-promises)
4310 (cfengine-parameters-indent):
4311 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4312 * textmodes/reftex-vars.el (reftex-label-regexps):
4313 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4315 * net/tls.el (tls-certtool-program): Fix default value.
4317 * desktop.el (desktop-restore-in-current-display):
4318 * newcomment.el (comment-empty-lines):
4319 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4320 (idlwave-pad-keyword):
4321 * progmodes/tcl.el (tcl-tab-always-indent):
4322 * textmodes/reftex-vars.el (reftex-index-default-tag):
4323 * elec-pair.el (electric-pair-skip-whitespace):
4324 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4326 * emacs-lisp/authors.el (authors-ignored-files)
4327 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4329 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4331 * shell.el (shell-dynamic-complete-command): Doc fix.
4332 (shell--command-completion-data): Shell completion now matches
4333 executable filenames from the current buffer's directory, on
4334 systems in which this behavior is the default (windows-nt, ms-dos).
4336 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4338 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4340 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4342 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4345 * electric.el: Move all electric-pair-* to elec-pair.el.
4346 * elec-pair.el: New file, split from electric.el.
4348 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4350 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4351 indentation level is larger than the width, because that will
4353 (shr-insert): Fill repeatedly long texts, so that Japanese is
4354 formatted correctly (bug#16263).
4355 (shr-find-fill-point): Off by one error in comparison with the
4358 2013-12-26 João Távora <joaotavora@gmail.com>
4360 * electric.el (electric-pair-mode): More flexible engine for skip-
4361 and inhibit predicates, new options for pairing-related functionality.
4362 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4363 if that keeps or improves their balance in buffers.
4364 (electric-pair-delete-adjacent-pairs): Delete the pair when
4365 backspacing over adjacent matched delimiters.
4366 (electric-pair-open-extra-newline): Open extra newline when
4367 inserting newlines between adjacent matched delimiters.
4368 (electric--sort-post-self-insertion-hook):
4369 Sort post-self-insert-hook according to priority values when
4370 minor-modes are activated.
4371 * simple.el (newline-and-indent): Call newline with interactive
4373 (blink-paren-post-self-insert-function): Set priority to 100.
4374 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4375 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4376 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4377 electric-pair-open-newline-between-pairs to nil.
4379 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4381 * progmodes/python.el: Use lexical-binding.
4382 (python-nav-beginning-of-defun): Stop searching ASAP.
4384 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4386 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4387 Fix interactive spec. Doc fix. (Bug#15754)
4389 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4391 * emacs-lisp/byte-run.el (eval-when-compile):
4392 * progmodes/cc-defs.el (cc-eval-when-compile):
4393 Fix edebug spec (bug#16184).
4395 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4397 * net/shr.el (shr-visit-file): Remove debugging function.
4398 (shr-insert): Don't infloop if we can't find a good place to break
4399 the line (bug#16256).
4401 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4403 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4404 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4405 python-nav-lisp-forward-sexp-safe.
4406 (python-nav--forward-sexp): New argument SAFE allows switching
4407 forward sexp movement behavior for parens.
4408 (python-nav-forward-sexp): Throw errors on unterminated parens
4410 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4411 (python-nav-backward-sexp-safe): New functions.
4412 (python-shell-buffer-substring):
4413 Use `python-nav-forward-sexp-safe'.
4415 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4417 * net/shr.el (shr-find-fill-point): Don't break lines before a
4419 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4420 (shr-find-fill-point): Remove the special checks for the quotation
4421 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4423 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4425 * net/eww.el (eww-form-textarea): Use a different face for
4426 textareas than text input since they have different keymaps
4429 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4431 * progmodes/python.el (python-nav-beginning-of-statement):
4432 Speed up (Bug#15295).
4434 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4436 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4437 the window configuration.
4439 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4441 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4442 we run on MS-Windows or MS-DOS.
4444 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4446 * window.el (balance-windows-area): Call window-size instead of
4447 window-height and window-width. Bug#16241.
4449 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4451 * net/eww.el (eww-bookmark-quit): Remove.
4452 (eww-bookmark-browse): Restore the window configuration when you
4453 choose a bookmark (bug#16144).
4455 2013-12-24 Daniel Colascione <dancol@dancol.org>
4457 * icomplete.el: Remove redundant :group arguments to `defcustom'
4459 (icomplete-show-matches-on-no-input): New customizable variable.
4460 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4461 we have something to show.
4462 (icomplete-exhibit): Compute completions even if we have no user input.
4464 2013-12-23 Daniel Colascione <dancol@dancol.org>
4466 * icomplete.el: Move `provide' to end of file.
4468 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4470 * net/gnutls.el (gnutls-verify-error): Add version tag.
4472 2013-12-23 Chong Yidong <cyd@gnu.org>
4474 * subr.el (set-transient-map): Rename from
4475 set-temporary-overlay-map. Doc fix.
4477 * face-remap.el (text-scale-adjust):
4478 * indent.el (indent-rigidly):
4479 * kmacro.el (kmacro-call-macro):
4480 * minibuffer.el (minibuffer-force-complete):
4481 * repeat.el (repeat):
4482 * simple.el (universal-argument--mode):
4483 * calendar/todo-mode.el (todo-insert-item--next-param):
4484 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4486 * indent.el (indent-rigidly): Use substitute-command-keys.
4488 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4490 * net/eww.el (eww-tag-select): Add text-property to jump to next
4492 (eww): Add non-supported ftp error.
4494 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4496 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4497 comments. Handle electric indent after typing `?' and `!'.
4499 2013-12-22 Chong Yidong <cyd@gnu.org>
4501 * faces.el (face-spec-recalc): If the theme specs are not
4502 applicable to a frame, fall back on the defface spec.
4503 This prevents themes from obliterating faces on low-color terminals.
4505 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4507 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4508 after `{'. We need it after block openers, and it doesn't seem
4509 to hurt after hash openers.
4511 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4513 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4514 extracted from `ruby-smie-rules'.
4515 (ruby--electric-indent-chars): New variable.
4516 (ruby--electric-indent-p): New function.
4517 (ruby-mode): Use `electric-indent-functions' instead of
4518 `electric-indent-chars'.
4520 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4522 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4524 (ruby-smie-rules): Indent plus one level after `=>'.
4526 2013-12-21 Richard Stallman <rms@gnu.org>
4528 * simple.el (newline): Doc fix.
4530 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4532 * net/eww.el (eww-list-histories, eww-list-histories)
4533 (eww-history-browse, eww-history-quit, eww-history-kill)
4534 (eww-history-mode-map, eww-history-mode): New command and
4535 functions to list browser histories.
4536 (eww-form-text): Support text form with disabled
4537 and readonly attributes.
4538 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4540 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4542 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4543 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4544 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4545 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4547 (eww-bookmark-mode-map): Add menu.
4548 (eww-render, eww-mode): Use `setq-local'.
4549 (eww-tool-bar-map): New variable.
4550 (eww-mode): Set `tool-bar-map'.
4551 (eww-view-source): Check for `html-mode' with `fboundp'.
4553 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4555 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4556 elements with text inside. Also remove debugging.
4558 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4560 * cus-start.el (all): Add ns-use-srgb-colorspace.
4562 2013-12-21 Chong Yidong <cyd@gnu.org>
4564 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4565 undefined. Thus, theme settings for undefined faces do not take
4566 effect until the faces are defined with defface, the same as with
4569 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4570 (face-spec-reset-face): Don't assign extra properties in temacs.
4571 (face-spec-recalc): Apply X resources too.
4573 2013-12-21 Chong Yidong <cyd@gnu.org>
4575 * faces.el (face-spec-set):
4576 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4577 * custom.el (defface): Doc fixes (Bug#16203).
4579 * indent.el (indent-rigidly-map): Add docstring, and move commands
4580 into named functions.
4581 (indent-rigidly-left, indent-rigidly-right)
4582 (indent-rigidly-left-to-tab-stop)
4583 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4584 indentation direction based on bidi direction, and accumulate
4585 sequential commands in a single undo boundary.
4586 (indent-rigidly--pop-undo): New utility function.
4588 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4590 * faces.el (read-face-name): Require crm.el when using crm-separator.
4592 2013-12-20 Daniel Colascione <dancol@dancol.org>
4594 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4595 so that we don't reflow comments into the shebang line.
4597 2013-12-20 Juri Linkov <juri@jurta.org>
4599 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4600 a position when `dired-directory' is non-nil. Check integer
4601 positions with `integerp'.
4602 (toggle-save-place, save-places-to-alist): Add check for
4604 (save-place-find-file-hook): Check integer positions with
4606 (save-place-dired-hook): Use `dired-goto-file' when
4607 `dired-filename' is found in the assoc list. Check integer
4608 positions with `integerp'.
4609 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4611 * dired.el (dired-initial-position-hook): Rename back from
4612 `dired-initial-point-hook'.
4613 (dired-initial-position): Rename `dired-initial-point-hook' to
4614 `dired-initial-position-hook'.
4615 (dired-file-name-at-point): Doc fix. (Bug#15329)
4617 2013-12-20 Juri Linkov <juri@jurta.org>
4619 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4620 (read-regexp-suggestions): New function.
4621 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4622 Use `read-regexp-suggestions'. Add non-empty default to history
4624 (occur-read-regexp-defaults-function): Remove function.
4625 (occur-read-primary-args): Use `regexp-history-last' instead of
4626 `occur-read-regexp-defaults-function'.
4628 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4629 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4630 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4631 `hi-lock-read-regexp-defaults-function'. Doc fix.
4632 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4633 with `find-tag-default-as-symbol-regexp'. Doc fix.
4634 (hi-lock-read-regexp-defaults): Remove function.
4635 (hi-lock-regexp-okay): Add check for null.
4637 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4638 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4640 * subr.el (find-tag-default-as-symbol-regexp): New function.
4641 (find-tag-default-as-regexp): Move symbol regexp formatting to
4642 `find-tag-default-as-symbol-regexp'.
4644 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4646 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4649 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4651 * calendar/todo-mode.el: New implementation of item insertion
4652 commands and key bindings.
4653 (todo-key-prompt): New face.
4654 (todo-insert-item): New command.
4655 (todo-insert-item--parameters): New defconst, replacing defvar
4656 todo-insertion-commands-args-genlist.
4657 (todo-insert-item--param-key-alist): New defconst, replacing
4658 defvar todo-insertion-commands-arg-key-list.
4659 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4660 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4661 (todo-insert-item--next-param): New functions.
4662 (todo-insert-item--args, todo-insert-item--argleft)
4663 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4665 (todo-key-bindings-t): Change binding of "i" from
4666 todo-insertion-map to todo-insert-item.
4667 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4668 (todo-insertion-command-name, todo-insertion-commands-names)
4669 (todo-define-insertion-command, todo-insertion-commands)
4670 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4672 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4674 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4675 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4677 (todo-move-category): Allow choosing a non-existing todo file to
4678 move the category to, and create that file.
4679 (todo-default-priority): New user option.
4680 (todo-set-item-priority): Use it.
4681 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4682 (desktop-restore-file-buffer): Declare.
4683 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4684 (todo-modes-set-2): Locally set desktop-save-buffer to
4685 todo-desktop-save-buffer.
4686 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4687 (auto-mode-alist): Add autoload cookie.
4689 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4691 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4692 helpers.el was a poor choice of name.
4693 (string-remove-prefix): New function.
4694 (string-remove-suffix): New function.
4696 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4698 Fix assignment for new window total sizes.
4699 * window.el (window--pixel-to-size): Remove function.
4700 (window--pixel-to-total-1, window--pixel-to-total):
4701 Fix calculation of new total sizes.
4703 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4705 * comint.el (comint-output-filter): Fix rear-nonsticky property
4706 placement (Bug#16010).
4708 2013-12-20 Chong Yidong <cyd@gnu.org>
4710 * faces.el (read-color): Minor fix for completion function.
4712 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4714 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4715 New option. (Bug#16182)
4716 (ruby-smie--indent-to-stmt-p): Use it.
4717 (ruby-smie-rules): Revert the logic in the handling of `when'.
4718 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4719 (ruby-deep-arglist, ruby-deep-indent-paren)
4720 (ruby-deep-indent-paren-style): Update docstrings to note that the
4721 vars don't have any effect with SMIE.
4723 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4725 * calc/calc.el (calc-enter, calc-pop): Use the variable
4726 `calc-context-sensitive-enter'.
4728 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4730 * net/shr.el (shr-insert): Protect against infloops in degenerate
4733 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4735 * progmodes/octave.el (octave): Add link to manual and octave
4737 (octave-mode-menu): Link to octave-mode manual.
4739 2013-12-20 Leo Liu <sdl.web@gmail.com>
4741 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4742 insertion using skeleton-end-newline. (Bug#16138)
4744 2013-12-20 Juri Linkov <juri@jurta.org>
4746 * replace.el (occur-engine): Use `add-face-text-property'
4747 to add the face property to matches and titles. (Bug#14645)
4749 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4750 the palette of other hi-lock colors.
4751 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4753 2013-12-19 Juri Linkov <juri@jurta.org>
4755 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4756 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4757 (minibuffer-history-symbol): Move variable declaration closer to
4760 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4763 2013-12-19 Juri Linkov <juri@jurta.org>
4765 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4767 (log-edit-hook): Add it to :options. (Bug#16170)
4769 2013-12-19 Juri Linkov <juri@jurta.org>
4771 * simple.el (eval-expression-print-format): Don't check for
4772 command names and the last command. Always display additional
4773 formats of the integer result in the echo area, and insert them
4774 to the current buffer only with a zero prefix arg.
4775 Display character when char-displayable-p is non-nil.
4776 (eval-expression): With a zero prefix arg, set `print-length' and
4777 `print-level' to nil, and insert the integer values from
4778 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4780 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4781 `eval-last-sexp-arg-internal'. Doc fix.
4782 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4783 `eval-last-sexp-print-value'. Doc fix.
4784 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4785 Set `print-length' and `print-level' to nil when arg is zero.
4786 (eval-last-sexp): Doc fix.
4787 (eval-defun-2): Print the integer values from
4788 `eval-expression-print-format' at the end.
4790 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4791 values from `eval-expression-print-format' at the end.
4793 * ielm.el (ielm-eval-input): Print the integer
4794 values from `eval-expression-print-format' at the end.
4796 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4798 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4799 2013-12-11 (r115470).
4801 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4803 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4804 (hl-line-highlight, global-hl-line-highlight): Use it.
4805 (hl-line-overlay): Use defvar-local.
4807 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4809 * term/ns-win.el: Require dnd.
4810 (global-map): Remove drag items.
4811 (ns-insert-text, ns-set-foreground-at-mouse)
4812 (ns-set-background-at-mouse):
4813 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4814 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4817 2013-12-19 Glenn Morris <rgm@gnu.org>
4819 * emacs-lisp/ert.el (ert-select-tests):
4820 Fix string/symbol mixup. (Bug#16121)
4822 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4824 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4825 keywords to their parent.
4827 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4829 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4830 first arg to be a string (fixed dead code), or an operator symbol.
4831 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4833 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4834 did nothing. Don't respond to `(:after ".")', it will be called
4835 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4836 change anything. Only return indentation for binary operators
4837 when they are hanging. De-dent opening paren when its parent is
4838 `.', otherwise it looks bad when the dot is not at bol or eol
4841 2013-12-19 Juri Linkov <juri@jurta.org>
4843 * replace.el (query-replace-read-args): Split a non-negative arg
4844 and a negative arg into separate elements.
4845 (query-replace, query-replace-regexp, replace-string)
4846 (replace-regexp): Add arg `backward'. Doc fix.
4847 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4848 move point to the beginning of the match.
4849 (replace-search, replace-highlight): Use new arg `backward'
4850 to set the value of `isearch-forward'.
4851 (perform-replace): Add arg `backward' and use it to perform
4852 replacement backward. (Bug#14979)
4854 * isearch.el (isearch-query-replace): Use a negative prefix arg
4855 to call `perform-replace' with a non-nil arg `backward'.
4857 2013-12-18 Juri Linkov <juri@jurta.org>
4859 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4860 to the default list. Move `log-edit-show-files' to the end.
4861 Add more available functions to options.
4862 (log-edit): Move default specific settings to
4863 `log-edit-insert-message-template'. Don't move point.
4864 (log-edit-insert-message-template): New function.
4865 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4868 2013-12-18 Juri Linkov <juri@jurta.org>
4870 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4871 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4873 2013-12-18 Leo Liu <sdl.web@gmail.com>
4875 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4878 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4880 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4881 formats for displaying file sizes when the -s switch is given.
4882 Instead, compute a separate format for displaying the size in
4883 blocks, which is displayed in addition to the "regular" size.
4884 When -h is given in addition to -s, produce size in blocks in
4885 human-readable form as well. (Bug#16179)
4887 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4889 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4890 Reference tables with ~\ref{...} instead of only \ref{...}.
4892 2013-12-18 Chong Yidong <cyd@gnu.org>
4894 * cus-edit.el (custom-magic-alist): Fix "themed" description
4897 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4898 is non-nil, do not create a new entry in the symbol's theme-value
4899 or theme-face property; update theme-settings only (Bug#14664).
4900 (custom-available-themes): Doc fix.
4902 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4905 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4907 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4909 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4912 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4914 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4916 2013-12-18 Glenn Morris <rgm@gnu.org>
4918 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4919 * cus-start.el (load-prefer-newer): New option.
4921 2013-12-18 Le Wang <l26wang@gmail.com>
4923 * comint.el (comint-previous-matching-input-from-input):
4924 Retain point (Bug#13404).
4926 2013-12-18 Chong Yidong <cyd@gnu.org>
4928 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4930 2013-12-18 Glenn Morris <rgm@gnu.org>
4932 * mail/emacsbug.el (report-emacs-bug):
4933 Only mention enable-multibyte-characters if non-standard.
4935 2013-12-17 Juri Linkov <juri@jurta.org>
4937 * arc-mode.el (archive-extract-by-file): Check if directory exists
4938 before deletion to not show irrelevant errors if it doesn't exist.
4940 2013-12-17 Juri Linkov <juri@jurta.org>
4942 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4945 * net/eww.el (browse-web): Add alias to `eww'.
4946 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4947 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4949 * net/browse-url.el (browse-url-browser-function): Move `eww'
4950 closer to similar functions.
4952 * startup.el (fancy-startup-screen, fancy-about-screen):
4953 Set browse-url-browser-function to eww-browse-url locally.
4956 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4958 * window.el (window--pixel-to-total): Remove unused `mini' var.
4959 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4960 (split-window): Remove unused `new' var.
4961 (window--display-buffer): Remove unused `frame' and `delta' vars.
4962 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4965 2013-12-17 Martin Rudalics <rudalics@gmx.at>
4967 * dired.el (dired-mark-pop-up):
4968 * register.el (register-preview): Don't bind
4969 split-height-threshold here since it's now done in
4970 display-buffer-below-selected.
4972 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4974 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4975 xterm-rgb-convert-to-16bit.
4976 (rxvt-register-default-colors): Standardize with
4977 xterm-register-default-colors (Bug#14078).
4979 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4981 * simple.el (kill-region): Pass mark first, then point, so that
4982 kill-append works right (Bug#12819).
4983 (copy-region-as-kill, kill-ring-save): Likewise.
4985 2013-12-17 Leo Liu <sdl.web@gmail.com>
4987 * net/rcirc.el (rcirc-add-face):
4988 * eshell/em-prompt.el (eshell-emit-prompt):
4989 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4992 2013-12-17 Chong Yidong <cyd@gnu.org>
4994 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4995 Suggested by Xue Fuqiao.
4997 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4999 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5001 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5003 * net/shr.el (shr-insert-document): Remove unused var
5004 `shr-preliminary-table-render'.
5005 (shr-rescale-image): Remove unused arg `force'.
5006 (shr-put-image): Update calls accordingly.
5007 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5009 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5011 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5012 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5013 :close-all, to see which indentation method to use (Bug#16116).
5014 (smie-rules-function): Document the method :close-all.
5016 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5018 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5020 * net/eww.el (eww-display-html): If we can't find the anchor we're
5021 looking for, then go to point-min.
5023 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5025 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5026 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5027 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5028 Expand dir too, in case it's relative.
5030 2013-12-16 Juri Linkov <juri@jurta.org>
5032 * desktop.el (desktop-auto-save-timeout): Change default to
5033 `auto-save-timeout'. Doc fix.
5034 (desktop-save): Skip the timestamp in desktop-saved-frameset
5035 when checking for auto-save changes.
5036 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5037 `desktop-auto-save' is called repeatedly by the idle timer.
5038 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5039 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5042 2013-12-16 Juri Linkov <juri@jurta.org>
5044 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5046 (isearch-pre-command-hook): Check `this-command' for symbolp.
5048 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5050 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5052 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5054 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5055 (cfengine3--current-function): Bring in the current-function
5056 functionality from `cfengine3--current-word'.
5057 (cfengine3-completion-function): Bring in the
5058 bounds-of-current-word functionality from
5059 `cfengine3--current-word'.
5061 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5063 * window.el (display-buffer-below-selected):
5064 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5066 2013-12-16 Leo Liu <sdl.web@gmail.com>
5068 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5069 Remove NOMSG arg and all uses changed.
5071 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5073 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5074 (cua--deactivate-rectangle): Don't deactivate the mark.
5075 (cua-set-rectangle-mark): Don't set mark-active since
5076 cua--activate-rectangle already does it for us.
5077 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5078 non-rectangular region.
5080 * emulation/cua-base.el (cua-repeat-replace-region):
5081 Use with-current-buffer.
5083 * net/gnutls.el: Use cl-lib.
5084 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5086 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5088 * emacs-lisp/package.el (package-built-in-p): Support both
5089 built-in and the package.el converted package descriptions.
5090 (package-show-package-list): Allow keywords.
5091 (package-keyword-button-action): Use it instead of
5092 `finder-list-matches'.
5093 (package-menu-filter-interactive): Interactive filtering (by
5095 (package-menu--generate): Support keywords and change keymappings
5096 and headers when they are given.
5097 (package--has-keyword-p): Helper function.
5098 (package-menu--refresh): Use it.
5099 (package--mapc): Helper function.
5100 (package-all-keywords): Use it.
5101 (package-menu-mode-map): Set up menu items and keybindings to
5102 provide a filtering UI.
5104 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5106 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5107 the behavior when a certificate fails validation. Defaults to
5108 old behavior: never abort, just warn.
5109 (gnutls-negotiate): Use it.
5111 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5113 * window.el (display-buffer-below-selected): Never split window
5114 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5116 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5118 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5119 (package-buffer-info): Use it (bug#15108).
5121 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5123 * icomplete.el (icomplete-completions): Make sure the prefix is already
5124 displayed elsewhere before hiding it (bug#16219).
5126 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5128 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5129 open-paren tokens when preceded by a open-paren, too.
5130 (ruby-smie-rules): Handle virtual indentation after open-paren
5131 tokens specially. If there is code between it and eol, return the
5132 column where is starts (Bug#16118).
5134 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5136 * progmodes/cfengine.el: Fix `add-hook' doc.
5137 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5138 (cfengine3--current-word): Fix parameters.
5139 (cfengine3-make-syntax-cache): Simplify further.
5140 (cfengine3-completion-function, cfengine3--current-function):
5141 Use `assq' for symbols.
5142 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5144 2013-12-13 Glenn Morris <rgm@gnu.org>
5146 * loadup.el (load-path): Warn if site-load or site-init changes it.
5147 No more need to reset it when bootstrapping.
5149 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5151 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5152 locations for cf-promises.
5153 (cfengine-mode-syntax-functions-regex): New caching variable.
5154 (cfengine3-fallback-syntax): Fallback syntax for cases where
5155 cf-promises doesn't run.
5156 (cfengine3--current-word): Reimplement using
5157 `cfengine-mode-syntax-functions-regex'.
5158 (cfengine3-completion-function, cfengine3--current-function):
5159 Use `cfengine3-make-syntax-cache' directly.
5160 (cfengine3-clear-syntax-cache): New function.
5161 (cfengine3-make-syntax-cache): Simplify and create
5162 `cfengine-mode-syntax-functions-regex' on demand.
5163 (cfengine3-format-function-docstring): Don't call
5164 `cfengine3-make-syntax-cache' explicitly.
5166 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5168 Fix windmove-find-other-window broken after pixelwise resizing
5170 * windmove.el (windmove-other-window-loc): Revert change from
5172 (windmove-find-other-window): Call window-in-direction.
5173 * window.el (window-in-direction): New arguments SIGN, WRAP and
5174 MINI to emulate original windmove-find-other-window behavior.
5176 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5178 * simple.el (blink-matching--overlay): New variable.
5179 (blink-matching-open): Instead of moving point, highlight the
5180 matching paren with an overlay
5181 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5183 * faces.el (paren-showing-faces, show-paren-match)
5184 (show-paren-mismatch): Move from paren.el.
5186 2013-12-13 Leo Liu <sdl.web@gmail.com>
5188 * indent.el (indent-region): Disable progress reporter in
5189 minibuffer. (Bug#16108)
5191 * bindings.el (visual-order-cursor-movement): Fix version.
5193 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5195 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5196 Also match after beginning of line.
5197 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5198 files. Thanks to Russell Sim. (Bug#15378)
5200 2013-12-13 Juri Linkov <juri@jurta.org>
5202 * simple.el <Keypad support>: Remove key bindings duplicated
5203 with bindings.el. (Bug#14397)
5205 2013-12-13 Juri Linkov <juri@jurta.org>
5207 * comint.el (comint-mode-map): Replace `delete-char' with
5208 `delete-forward-char'. (Bug#16109)
5210 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5212 * progmodes/python.el (python-indent-calculate-indentation):
5213 Fix de-denters cornercase. (Bug#15731)
5215 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5217 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5218 (advice--make): Pay attention to `depth'.
5219 (advice--make-1): Don't autoload commands eagerly.
5220 * emacs-lisp/elp.el (elp-instrument-function):
5221 * emacs-lisp/trace.el (trace-function-internal):
5222 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5224 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5226 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5228 * term/w32-win.el (w32-handle-dropped-file):
5229 * startup.el (normal-top-level):
5230 * net/browse-url.el (browse-url-file-url):
5231 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5232 decode file names using 'utf-8' rather than
5233 file-name-coding-system.
5235 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5237 * progmodes/python.el (python-indent-context)
5238 (python-indent-calculate-indentation): Fix auto-identation
5239 behavior for comment blocks. (Bug#15916)
5241 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5243 * progmodes/python.el (python-indent-calculate-indentation):
5244 When determining indentation, don't treat "return", "pass", etc., as
5245 operators when they are just string constituents. (Bug#15812)
5247 2013-12-12 Juri Linkov <juri@jurta.org>
5249 * uniquify.el (uniquify-buffer-name-style): Change default to
5250 `post-forward-angle-brackets'.
5252 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5253 `uniquify'. Change default to `post-forward-angle-brackets'.
5255 2013-12-11 Glenn Morris <rgm@gnu.org>
5257 * emacs-lisp/package.el (finder-list-matches):
5258 Autoload rather than falsely declaring.
5260 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5262 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5263 (eww-mode-map): Use them.
5265 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5267 * window.el (display-buffer-in-side-window): Fix doc-string
5270 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5272 * vc/vc-git.el: Silence byte-compiler warnings.
5273 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5274 (log-edit-set-header): Declare.
5276 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5278 * Makefile.in (custom-deps, finder-data): Run output file names
5279 through unmsys--file-name. (Bug#16099)
5281 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5283 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5284 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5286 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5287 instead of deleting the selection "by hand" (bug#16098).
5288 Rely on insert-for-yank to yank rectangles.
5289 (cua-highlight-region-shift-only): Mark obsolete.
5290 (cua-mode): Don't enable/disable transient-mark-mode,
5291 shift-select-mode (cua-mode works both with and without them), and
5292 pc-selection-mode (obsolete).
5293 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5294 (cua--deactivate-rectangle): Deactivate it.
5296 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5297 (delete-selection-helper): Make sure yank starts at the top of the
5299 (minibuffer-keyboard-quit): Use region-active-p.
5301 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5303 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5304 to `delete' (bug#16109).
5306 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5308 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5309 info manual and show keybindings and set `:group' keyword.
5311 2013-12-11 Juri Linkov <juri@jurta.org>
5313 * delsel.el (delete-active-region): Let-bind `this-command'
5314 to prevent `kill-region' from changing its original value.
5315 (delete-selection-helper): Handle `overwrite-mode' for the type
5316 `kill' exactly the same way as for the type `t'.
5317 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5318 Support more commands. (Bug#13312)
5320 2013-12-11 Juri Linkov <juri@jurta.org>
5322 * bindings.el: Map kp keys to non-kp keys systematically
5323 with basic modifiers control, meta and shift. (Bug#14397)
5325 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5327 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5328 "Close browser" menu items. Fix wrong function of "List
5331 2013-12-11 Juri Linkov <juri@jurta.org>
5333 * misearch.el (multi-isearch-buffers): Set the value of
5334 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5335 arg of isearch-forward to t.
5336 (multi-isearch-buffers-regexp): Set the value of
5337 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5338 arg of isearch-forward-regexp to t.
5339 (multi-isearch-files): Set the value of
5340 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5341 arg of isearch-forward to t.
5342 (multi-isearch-files-regexp): Set the value of
5343 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5344 arg of isearch-forward-regexp to t. (Bug#16035)
5346 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5347 arg of isearch-forward to t.
5348 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5349 arg of isearch-forward-regexp to t.
5350 (dired-isearch-filter-filenames): Remove unnecessary check for
5351 `dired-isearch-filenames'.
5353 * comint.el (comint-history-isearch-backward):
5354 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5355 (comint-history-isearch-backward-regexp):
5356 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5358 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5360 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5361 unmsys--file-name. (Bug#16099)
5363 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5365 * emacs-lisp/package.el (package-keyword-button-action):
5366 Remove finder.el require dependency.
5368 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5370 * emacs-lisp/package.el: Require finder.el.
5371 (describe-package-1): Add keyword buttons.
5372 (package-make-button): New convenience function.
5373 (package-keyword-button-action): Keyword button action using
5374 `finder-list-matches'.
5376 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5378 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5381 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5383 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5386 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5388 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5389 after the end of a percent literal.
5391 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5393 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5394 Handle caret-delimited strings (Bug#16079).
5396 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5398 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5399 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5400 `ruby-parse-partial' (Bug#16078).
5402 2013-12-09 Leo Liu <sdl.web@gmail.com>
5404 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5406 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5408 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5409 (js-switch-indent-offset): New option.
5410 (js--proper-indentation): Use it. And handle the case when
5411 "default" is actually a key in an object literal.
5412 (js--same-line): New function.
5413 (js--multi-line-declaration-indentation): Use it.
5414 (js--indent-in-array-comp, js--array-comp-indentation):
5416 (js--proper-indentation): Use them, to handle array comprehension
5419 2013-12-08 Leo Liu <sdl.web@gmail.com>
5421 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5422 (flymake-make-overlay): Remove arg MOUSE-FACE.
5423 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5425 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5427 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5429 (redisplay-highlight-region-function): Use it.
5431 * emulation/cua-base.el (cua--explicit-region-start)
5432 (cua--last-region-shifted): Remove.
5433 (cua--deactivate): Use deactivate-mark.
5434 (cua--pre-command-handler-1): Don't handle shift-selection.
5435 (cua--post-command-handler-1): Don't change transient-mark-mode.
5436 (cua--select-keymaps): Use region-active-p rather than
5437 cua--explicit-region-start or cua--last-region-shifted.
5438 (cua-mode): Enable shift-select-mode.
5440 2013-12-08 Leo Liu <sdl.web@gmail.com>
5442 * progmodes/flymake.el (flymake-popup-current-error-menu):
5443 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5444 (flymake-posn-at-point-as-event, flymake-popup-menu)
5445 (flymake-make-emacs-menu): Remove. (Bug#16077)
5447 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5449 * rect.el (rectangle-mark-mode): Activate mark even if
5450 transient-mark-mode is off (bug#16066).
5451 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5452 is > mark and at bolp.
5454 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5455 (region-extract-function): Use it.
5456 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5457 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5459 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5460 kill-ring-save, kill-region, delete-char, delete-forward-char.
5461 Ignore self-insert-iso.
5463 * emulation/cua-gmrk.el (cua--init-global-mark):
5464 Ignore `self-insert-iso'.
5466 * emulation/cua-base.el (cua--prefix-copy-handler)
5467 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5468 checking cua--rectangle.
5469 (cua-delete-region): Use region-extract-function.
5470 (cua-replace-region): Delete function.
5471 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5472 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5473 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5474 (cua--init-keymaps): Don't remap delete-selection commands.
5475 (cua-mode): Use delete-selection-mode instead of rolling our own
5478 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5479 Obey region-extract-function.
5481 Make registers and delete-selection-mode work on rectangles.
5482 * register.el (describe-register-1): Don't modify the register's value.
5483 (copy-to-register): Obey region-extract-function.
5484 * delsel.el (delete-active-region): Obey region-extract-function.
5486 2013-12-08 Leo Liu <sdl.web@gmail.com>
5488 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5489 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5490 (flymake-compilation-prevents-syntax-check)
5491 (flymake-start-syntax-check-on-newline)
5492 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5493 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5494 (flymake-xml-program, flymake-master-file-dirs)
5495 (flymake-master-file-count-limit)
5496 (flymake-allowed-file-name-masks): Relocate.
5497 (flymake-makehash, flymake-float-time)
5498 (flymake-replace-regexp-in-string, flymake-split-string)
5499 (flymake-get-temp-dir): Remove.
5500 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5501 (flymake-current-row, flymake-selected-frame)
5502 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5503 related functions. (Bug#16077)
5505 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5507 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5509 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5511 * help-fns.el (describe-function-1): Use new advice-* functions
5512 rather than old ad-* functions. Fix function type description and
5513 source links for advised functions and subrs.
5515 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5517 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5519 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5521 * progmodes/compile.el (compilation-start):
5522 * progmodes/grep.el (rgrep): Revert change of 2012-12-20 (r111276).
5524 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5525 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5527 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5529 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5530 Touch up the last change.
5532 2013-12-06 Leo Liu <sdl.web@gmail.com>
5534 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5535 (inferior-octave-startup): Always use "octave> " for prompt.
5536 (octave-goto-function-definition)
5537 (octave-sync-function-file-names)
5538 (octave-find-definition-default-filename): Remove redundant backquotes.
5540 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5542 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5544 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5545 where appropriate already.
5546 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5547 end of method names (Bug#15874).
5549 2013-12-06 Juri Linkov <juri@jurta.org>
5551 * isearch.el (isearch--saved-overriding-local-map):
5552 New internal variable.
5553 (isearch-mode): Set it to the initial value of
5554 `overriding-terminal-local-map'.
5555 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5556 with `isearch--saved-overriding-local-map'. (Bug#16035)
5558 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5560 * progmodes/octave.el (inferior-octave-completion-table):
5561 Turn back into function, use `completion-table-with-cache'
5562 (Bug#11906). Update all references.
5564 * minibuffer.el (completion-table-with-cache): New function.
5566 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5568 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5570 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5572 * net/eww.el (eww-current-source): New variable to store page
5574 (eww-display-html, eww-mode, eww-save-history)
5575 (eww-restore-history): Use it.
5576 (eww-view-source): New command to view page source.
5577 Opportunistically uses `html-mode' to highlight the buffer.
5578 (eww-mode-map): Install it.
5580 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5582 * net/dbus.el (dbus-unregister-service)
5583 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5585 (dbus-unregister-service): Skip :serial entries in
5586 `dbus-registered-objects-table'.
5587 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5589 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5591 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5592 around keywords with extra `split-string' argument.
5594 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5596 * windmove.el (windmove-other-window-loc): Handle navigation
5597 between windows (excluding the minibuffer window - Bug#16017).
5599 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5601 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5602 in D-Bus type syntax.
5603 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5604 preserve unibyte strings. (Bug#16048)
5606 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5608 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5609 Call force-mode-line-update is the proper buffer (bug#16042).
5611 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5613 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5614 `log-edit-remember-comment', make argument optional. Adjust all
5616 (log-edit-mode): Add `log-edit-remember-comment' to
5617 `kill-buffer-hook' locally.
5618 (log-edit-kill-buffer): Don't remember comment explicitly since
5619 the buffer is killed anyway.
5621 2013-12-04 Juri Linkov <juri@jurta.org>
5623 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5624 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5626 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5628 * notifications.el (notifications-close-notification): Call the
5629 D-Bus method with ID being a `:uint32'. (Bug#16030)
5631 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5633 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5635 2013-12-03 Juri Linkov <juri@jurta.org>
5637 * progmodes/compile.el (compilation-start): Rename window alist
5638 entry `no-display-ok' to `allow-no-window'.
5640 * simple.el (shell-command): Add window alist entry
5641 `allow-no-window' to `display-buffer'.
5642 (async-shell-command): Doc fix.
5644 * window.el (display-buffer-no-window): New action function.
5645 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5647 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5649 * vc/log-edit.el (log-edit-set-header): Extract from
5650 `log-edit-toggle-header'.
5651 (log-edit-extract-headers): Separate the summary, when extracted
5652 from header, from the rest of the message with an empty line.
5654 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5655 line, if present, to the Summary header.
5657 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5659 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5660 in current-buffer (bug#16029).
5662 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5664 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5665 (debugger-mode-map): Bind it.
5666 (debugger--backtrace-base): New function.
5667 (debugger-eval-expression): Use it.
5668 (debugger-frame-number): Skip local vars when present.
5669 (debugger--locals-visible-p, debugger--insert-locals)
5670 (debugger--show-locals, debugger--hide-locals): New functions.
5672 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5674 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5676 (tramp-get-remote-locale): New defun.
5677 (tramp-open-connection-setup-interactive-shell): Use it.
5679 2013-12-02 Leo Liu <sdl.web@gmail.com>
5681 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5683 * progmodes/sh-script.el (sh-shell-process):
5684 * progmodes/octave.el (inferior-octave-process-live-p):
5685 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5686 (gdb-inferior-io-sentinel):
5687 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5689 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5691 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5692 `save-selected-window' to `log-edit-hide-buf'. This makes
5693 `log-edit-show-files' idempotent.
5694 (log-edit-show-files): Mark the new window as dedicated.
5696 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5698 * vc/log-edit.el (log-edit-mode-map): Add binding for
5699 `log-edit-kill-biffer'.
5700 (log-edit-hide-buf): Add a FIXME comment.
5701 (log-edit-add-new-comment): New function, extracted from
5703 (log-edit-done, log-edit-add-to-changelog): Use it.
5704 (log-edit-kill-buffer): New command.
5706 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5708 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5709 instead of killing the buffer.
5711 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5713 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5715 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5717 * net/eww.el (eww-form-checkbox-selected-symbol)
5718 (eww-form-checkbox-symbol): New customizable variable.
5719 (eww-form-checkbox, eww-toggle-checkbox):
5720 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5722 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5723 (shr--get-media-pref, shr--extract-best-source): New function.
5724 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5725 no :src tag was specified.
5727 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5728 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5729 Use \\` to match beginning of string instead of ^.
5730 (eww-browse-with-external-browser): Provide optional URL parameter.
5731 (eww-render): Set `eww-current-title' back to "".
5733 * net/shr.el (shr-tag-video): Display content for video if no
5734 poster is available.
5735 (shr-tag-audio): Add support for <audio> tag.
5737 * net/eww.el (eww-text-input-types): New const.
5738 (eww-process-text-input): Treat input types in
5739 `eww-text-input-types' as text.
5741 * net/shr.el (shr-tag-table): Fix comment typo.
5743 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5745 * net/eww.el (eww-follow-link): New command to avoid reloading
5746 pages when we follow #target links (bug#15243).
5747 (eww-quit): Special mode buffers shouldn't query before exiting.
5749 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5751 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5754 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5756 * net/eww.el (eww-restore-history): Update the window title after
5757 moving in the history.
5758 (eww-current-dom): New variable used to save the current DOM.
5760 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5762 * vc/log-edit.el (log-edit-mode-map): Add binding for
5763 `log-edit-beginning-of-line'.
5764 (log-edit-setup-add-author): New user option.
5765 (log-edit-beginning-of-line): New command.
5766 (log-edit): Move major mode call above the contents setup so that
5767 the local variable values are already applied.
5768 (log-edit): Only insert "Author: " when
5769 `log-edit-setup-add-author' is non-nil.
5770 (log-edit): When SETUP is non-nil, position point after ": "
5771 instead of point-min.
5773 2013-12-01 Glenn Morris <rgm@gnu.org>
5775 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5777 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5779 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5780 redisplay to make sure the initial frame gets a chance to become
5781 visible. (Bug#16014)
5783 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5785 Support resizing frames and windows pixelwise.
5786 * cus-start.el (frame-resize-pixelwise)
5787 (window-resize-pixelwise): New entries.
5788 * emacs-lisp/debug.el (debug): Use window-total-height instead
5789 of window-total-size.
5790 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5791 * help.el (describe-bindings-internal): Use help-buffer as
5792 argument for with-help-window.
5793 (temp-buffer-max-width): New option.
5794 (resize-temp-buffer-window, help-window-setup)
5795 (with-help-window): Rewrite.
5796 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5798 * window.el (frame-char-size, window-min-pixel-height)
5799 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5800 (window-min-pixel-width, window-safe-min-pixel-size)
5801 (window-combination-p, window-safe-min-size)
5802 (window-resizable-p, window--size-to-pixel)
5803 (window--pixel-to-size, window--resize-apply-p): New functions.
5804 (window-safe-min-height): Fix doc-string.
5805 (window-size, window-min-size, window--min-size-1)
5806 (window-sizable, window-sizable-p, window--min-delta-1)
5807 (window-min-delta, window--max-delta-1, window-max-delta)
5808 (window--resizable, window--resizable-p, window-resizable)
5809 (window-full-height-p, window-full-width-p, window-at-side-p)
5810 (window--in-direction-2, window-in-direction)
5811 (window--resize-reset-1, window--resize-mini-window)
5812 (window-resize, window-resize-no-error)
5813 (window--resize-child-windows-normal)
5814 (window--resize-child-windows, window--resize-siblings)
5815 (window--resize-this-window, window--resize-root-window)
5816 (window--resize-root-window-vertically)
5817 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5818 (maximize-window, minimize-window, delete-window)
5819 (quit-restore-window, window-split-min-size, split-window)
5820 (balance-windows-2, balance-windows)
5821 (balance-windows-area-adjust, balance-windows-area)
5822 (window--state-get-1, window-state-get, window--state-put-1)
5823 (window--state-put-2, window-state-put)
5824 (display-buffer-record-window, window--display-buffer):
5825 Make functions handle pixelwise sizing of windows.
5826 (display-buffer--action-function-custom-type)
5827 (display-buffer-fallback-action):
5828 Add display-buffer-in-previous-window.
5829 (display-buffer-use-some-window): Resize window to height it had
5831 (fit-window-to-buffer-horizontally): New option.
5832 (fit-frame-to-buffer): Describe new values.
5833 (fit-frame-to-buffer-bottom-margin): Replace with
5834 fit-frame-to-buffer-margins.
5835 (window--sanitize-margin): New function.
5836 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5837 using window-text-pixel-size.
5839 2013-11-30 Glenn Morris <rgm@gnu.org>
5841 * emacs-lisp/bytecomp.el (byte-compile-form):
5842 Make the `interactive-only' warning like the `obsolete' one.
5843 * comint.el (comint-run):
5844 * files.el (insert-file-literally, insert-file):
5845 * replace.el (replace-string, replace-regexp):
5846 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5847 (goto-line, insert-buffer, next-line, previous-line):
5848 Tweak `interactive-only' spec.
5850 Stop keeping (most) generated cedet grammar files in the repository.
5851 * Makefile.in (semantic): New.
5852 (compile-main): Depend on semantic.
5854 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5856 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5857 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5859 * uniquify.el (uniquify-buffer-name-style): Change default.
5861 * loadup.el: Preload "uniquify".
5863 * time.el (display-time-update): Update all mode lines (bug#15999).
5865 * electric.el (electric-indent-mode): Enable by default.
5866 * loadup.el: Preload "electric".
5868 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5870 * emacs-lisp/helpers.el (string-empty-p): New function.
5871 (string-blank-p): New function.
5873 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5875 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5878 2013-11-29 Andreas Politz <politza@fh-trier.de>
5879 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5880 allow non-lambda lists as functions.
5881 (imenu--in-alist): Don't recurse into non-subalists.
5882 (imenu): Don't pass function itself as an argument (Bug#14029).
5884 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5886 * progmodes/python.el (python-mode-map): Remove binding for ":".
5887 (python-indent-electric-colon): Remove command.
5888 (python-indent-post-self-insert-function): Integrate the previous code
5889 of python-indent-electric-colon. Make it conditional on
5890 electric-indent-mode.
5891 (python-mode): Add ?: to electric-indent-chars.
5892 Move python-indent-post-self-insert-function to the end of
5893 post-self-insert-hook.
5895 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5897 * doc-view.el (doc-view-goto-page): Update mode-line.
5899 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5901 2013-11-27 Glenn Morris <rgm@gnu.org>
5903 * international/charprop.el, international/uni-bidi.el:
5904 * international/uni-category.el, international/uni-combining.el:
5905 * international/uni-comment.el, international/uni-decimal.el:
5906 * international/uni-decomposition.el, international/uni-digit.el:
5907 * international/uni-lowercase.el, international/uni-mirrored.el:
5908 * international/uni-name.el, international/uni-numeric.el:
5909 * international/uni-old-name.el, international/uni-titlecase.el:
5910 * international/uni-uppercase.el:
5911 Remove generated files from VCS repository.
5913 2013-11-27 Eli Zaretskii <eliz@gnu.org>
5915 * filenotify.el (file-notify-add-watch): Don't special-case
5916 w32notify when computing the directory to watch.
5918 2013-11-27 Glenn Morris <rgm@gnu.org>
5920 Make bootstrap without generated uni-*.el files possible again.
5921 * loadup.el: Update command-line-args checking for unidata-gen.
5922 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5923 * composite.el, international/characters.el:
5924 Handle unicode tables being undefined.
5926 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
5927 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5928 (compile-main): Depend on leim rule.
5930 * loadup.el: Move leim-list.el to leim/ subdirectory.
5931 * startup.el (normal-top-level): No more leim directory.
5932 * international/ja-dic-cnv.el (skkdic-convert):
5933 Disable version-control and autoloads in output files.
5934 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5935 Disable version-control and autoloads in output files.
5936 * leim/quail: Move here from ../leim.
5937 * leim/quail/hangul.el (hangul-input-method-activate):
5938 Add autoload cookie.
5939 (generated-autoload-load-name): Set file-local value.
5940 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5941 (generated-autoload-load-name): Set file-local value.
5943 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
5945 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
5946 (eww-add-bookmark): Ask confirmation when add to bookmarks.
5947 (eww-quit): Ask confirmation before quitting eww.
5949 2013-11-26 Eli Zaretskii <eliz@gnu.org>
5951 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5952 reading output from Diff on MS-Windows and MS-DOS.
5954 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5956 * emacs-lisp/helpers.el (string-reverse): New function.
5958 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
5960 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5961 names on MS Windows, like "/[::1]:".
5963 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5966 2013-11-26 Glenn Morris <rgm@gnu.org>
5968 * progmodes/python.el (python-indent-guess-indent-offset):
5969 Avoid corner-case error. (Bug#15975)
5971 Preload leim-list.el. (Bug#4789)
5972 * loadup.el: Load leim-list.el when found.
5973 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5975 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
5977 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5979 * emacs-lisp/helpers.el (string-join): New function.
5981 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
5983 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5984 Mark as obsolete and replace it with a symbol property.
5985 (byte-compile-form): Use new 'interactive-only property.
5986 * comint.el, files.el, replace.el, simple.el:
5987 Apply new 'interactive-only properly.
5989 2013-11-25 Martin Rudalics <rudalics@gmx.at>
5991 * window.el (display-buffer-at-bottom): Make sure that
5992 split-window-sensibly creates the new window on bottom
5995 2013-11-23 David Kastrup <dak@gnu.org>
5997 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5998 on the conflict markers when available.
5999 (smerge--get-marker): New function.
6000 (smerge-end-re, smerge-base-re): Add subgroup.
6002 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6004 * frame.el (handle-focus-in, handle-focus-out): Add missing
6007 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6009 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6010 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6012 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6014 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6015 (gomoku--last-pos): New var.
6016 (gomoku--intangible-chars): New const.
6017 (gomoku--intangible): New function.
6018 (gomoku-mode): Use it. Derive from special-mode.
6019 (gomoku-move-up): Adjust line count.
6020 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6021 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6022 Simplify accordingly.
6024 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6025 Remove blink-cursor code.
6026 (blink-cursor-timer-function, blink-cursor-suspend):
6027 Don't special-case GUIs.
6028 (blink-cursor-mode): Use focus-in/out-hook.
6030 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6032 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6033 work when annotation is invisible (Bug#13886).
6035 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6037 * json.el (json-alist-p): Only return non-nil if the alist has
6038 simple keys (Bug#13518).
6040 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6042 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6043 when control-statement is the first statement in a buffer (Bug#15956).
6045 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6047 * imenu.el (imenu-generic-skip-comments-and-strings):
6048 New option (Bug#15560).
6049 (imenu--generic-function): Use it.
6051 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6053 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6056 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6058 * emacs-lisp/helpers.el: Add some string helpers.
6059 (string-trim-left): Removes leading whitespace.
6060 (string-trim-right): Removes trailing whitespace.
6061 (string-trim): Removes leading and trailing whitespace.
6063 * subr.el (string-suffix-p): New function.
6065 2013-11-23 Glenn Morris <rgm@gnu.org>
6067 * progmodes/python.el (python-shell-send-file):
6068 Add option to delete file when done. (Bug#15647)
6069 (python-shell-send-string, python-shell-send-region): Use it.
6071 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6073 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6074 to set buffer-read-only to t, never to nil. (Bug#15938)
6076 * textmodes/tex-mode.el (latex-noindent-environments):
6077 Add safe-local-variable property. (Bug#15936)
6079 2013-11-23 Glenn Morris <rgm@gnu.org>
6081 * textmodes/enriched.el (enriched-mode): Doc fix.
6082 * emacs-lisp/authors.el (authors-renamed-files-alist):
6083 Add enriched.doc -> enriched.txt.
6085 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6087 2013-11-22 Leo Liu <sdl.web@gmail.com>
6089 * progmodes/octave.el (inferior-octave-startup): Spit out error
6092 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6094 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6097 (ruby-encoding-magic-comment-style): Add :version.
6099 2013-11-22 Leo Liu <sdl.web@gmail.com>
6101 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6103 (octave-help-mode): Adapt to change to help-mode-finish to use
6104 derived-mode-p on 2013-09-17.
6105 (inferior-octave-prompt): Also match octave-gui.
6106 (octave-kill-process): Don't ask twice. (Bug#10564)
6108 2013-11-22 Leo Liu <sdl.web@gmail.com>
6110 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6111 (inferior-octave-startup, inferior-octave-check-process)
6112 (inferior-octave-track-window-width-change)
6113 (octave-completion-at-point, octave-eldoc-function): Use it.
6114 (octave-kill-process): Provide confirmation. (Bug#10564)
6116 2013-11-21 Leo Liu <sdl.web@gmail.com>
6118 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6119 Fix obsolete variable comment-use-global-state.
6121 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6123 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6124 Add `octave-source-file'.
6125 (octave-source-file): New function. (Bug#15935)
6127 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6129 * net/eww.el (eww-local-regex): New variable.
6130 (eww): Use it to detect localhost and similar.
6132 2013-11-21 Leo Liu <sdl.web@gmail.com>
6134 Add completion for command `ag'.
6135 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6136 (pcomplete/ag): New function.
6137 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6139 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6141 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6143 (make-obsolete): Remove interactive spec.
6145 2013-11-21 Glenn Morris <rgm@gnu.org>
6147 * startup.el (command-line-1): Use path-separator with -L.
6149 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6151 * emacs-lisp/package.el (describe-package-1): Add package archive
6154 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6156 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6157 Change default to "# encoding: %s" to differentiate it from the
6158 default Ruby encoding comment template.
6160 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6162 * ses.el (ses-mode): Doc fix. (Bug#14748)
6164 2013-11-20 Leo Liu <sdl.web@gmail.com>
6166 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6168 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6170 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6171 when rebase or bisect are in progress.
6173 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6175 * filenotify.el (file-notify-add-watch): Doc fix.
6177 2013-11-19 Leo Liu <sdl.web@gmail.com>
6179 * obsolete/rcompile.el: Mark obsolete.
6181 * progmodes/compile.el (compilation-start)
6182 (compilation-goto-locus, compilation-find-file):
6183 Pass no-display-ok and handle nil value from display-buffer.
6186 * window.el (display-buffer-alist, display-buffer): Document the
6187 new parameter no-display-ok. Return either a window or nil
6188 but never a non-window value.
6190 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6192 * electric.el (electric-indent-mode-map): Remove.
6193 (electric-indent-mode): Change the global-map instead (bug#15915).
6195 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6198 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6200 * emacs-lisp/nadvice.el (remove-function): Align with
6201 add-function's behavior.
6203 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6204 (gdb--string-regexp): New constant.
6205 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6206 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6207 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6209 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6210 Adjust use accordingly.
6211 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6213 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6215 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6216 interpolation curlies (Bug#15914).
6218 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6220 * calc/calc.el (calc-context-sensitive-enter): New variable.
6221 (calc-enter): Use `calc-context-sensitive-enter'.
6223 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6225 * progmodes/cfengine.el: Version bump.
6226 (cfengine-cf-promises): New defcustom to locate cf-promises.
6227 (cfengine3-vartypes): Add new "data" type.
6228 (cfengine3--current-word): New function to get current name-like
6230 (cfengine3--current-function): New function to look up a CFEngine
6231 function's definition.
6232 (cfengine3-format-function-docstring): New function.
6233 (cfengine3-make-syntax-cache): New function.
6234 (cfengine3-documentation-function): New function: ElDoc glue.
6235 (cfengine3-completion-function): New function: completion glue.
6236 (cfengine3-mode): Set `compile-command',
6237 `eldoc-documentation-function', and add to
6238 `completion-at-point-functions'.
6240 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6242 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6243 `tramp-current-connection'.
6245 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6247 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6248 nil/self/true/false with "end of symbol".
6250 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6252 * subr.el (version-regexp-alist): Fix a typo.
6254 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6256 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6257 "en_US.utf8" and "LC_CTYPE" to "".
6258 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6259 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6261 2013-11-15 Leo Liu <sdl.web@gmail.com>
6263 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6265 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6267 * progmodes/gud.el (ctl-x-map):
6268 Remove C-x SPC binding. (Bug#12342)
6269 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6271 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6273 * subr.el (version-regexp-alist):
6274 Recognize hg, svn and darcs versions as snapshot versions.
6276 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6277 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6278 (ruby--encoding-comment-required-p): Extract from
6279 `ruby-mode-set-encoding'.
6280 (ruby-mode-set-encoding): Add the ability to always insert an
6281 utf-8 encoding comment. Fix and simplify coding comment update
6284 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6286 * net/tramp-gvfs.el (top): Run init code only when
6287 `tramp-gvfs-enabled' is not nil.
6288 (tramp-gvfs-enabled): Check also :system bus.
6290 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6292 Sync with upstream verilog-mode revision 78e66ba.
6293 * progmodes/verilog-mode.el (verilog-end-of-defun)
6294 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6295 (verilog-get-end-of-defun): Remove unused argument.
6296 (verilog-comment-depth): Remove unused local `e'.
6297 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6298 Don't pass arg to verilog-get-end-of-defun.
6300 2013-11-14 Glenn Morris <rgm@gnu.org>
6302 * obsolete/assoc.el (aget): Prefix dynamic variable.
6304 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6306 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6308 * widget.el, hfy-cmap.el: Remove bogus package version number.
6310 2013-11-13 Glenn Morris <rgm@gnu.org>
6312 * replace.el (replace-eval-replacement):
6313 Try to give more helpful error message. (Bug#15836)
6315 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6316 (archive-7z-update): Avoid custom type mismatches.
6318 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6320 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6322 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6323 address can be empty.
6325 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6326 Accept nil SWITCHES.
6327 (tramp-gvfs-handle-write-region): Implement APPEND.
6329 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6331 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6332 binary "|" operator and closing block args delimiter.
6333 Remove FIXME comment referring to Ruby 1.8-only syntax.
6334 (ruby-smie--implicit-semi-p): Not after "|" operator.
6335 (ruby-smie--closing-pipe-p): New function.
6336 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6337 (ruby-smie-rules): Indent after "|".
6339 2013-11-12 Glenn Morris <rgm@gnu.org>
6341 * ps-print.el (ps-face-attribute-list):
6342 Handle anonymous faces. (Bug#15827)
6344 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6346 * window.el (display-buffer-other-frame): Fix doc-string.
6349 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6351 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6353 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6355 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6356 (tramp-sh-handle-file-local-copy): Don't write a message when
6357 saving temporary files.
6359 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6360 both directories are remote.
6361 (tramp-smb-handle-directory-files): Do not return double entries.
6362 Do not expand full file names.
6363 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6364 (tramp-smb-handle-write-region): Implement APPEND.
6365 (tramp-smb-get-stat-capability): Fix a stupid bug.
6367 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6369 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6371 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6373 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6374 throwing error over malformed let/let* (bug#15814).
6376 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6378 * iswitchb.el (iswitchb-mode): Mark obsolete.
6380 2013-11-11 Glenn Morris <rgm@gnu.org>
6382 * international/uni-bidi.el, international/uni-category.el:
6383 * international/uni-name.el, international/uni-numeric.el:
6384 Regenerate for Unicode 6.3.0.
6386 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6388 * net/tramp.el (tramp-methods):
6389 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6390 2013-10-29 (r114834).
6392 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6394 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6395 Force highlighting text after Summary keyword in doc face for rpm.
6397 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6399 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6400 available and the word has no wildcards, append one to the grep pattern.
6401 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6402 (ispell-complete-word): Call `ispell-lookup-words' with the value
6403 independent of `ispell-look-p'.
6405 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6407 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6409 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6412 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6414 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6415 (ruby-font-lock-keywords): Use backquote.
6417 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6419 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6420 (ruby-smie--backward-token): Only consider full-string matches.
6422 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6424 * faces.el (describe-face): Add distant-foreground.
6426 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6428 * progmodes/ruby-mode.el: Improve encoding comment handling.
6429 (ruby-encoding-magic-comment-style): New option.
6430 (ruby-custom-encoding-magic-comment-template): New option.
6431 (ruby--insert-coding-comment, ruby--detect-encoding):
6432 New functions extracted from `ruby-mode-set-encoding'.
6433 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6434 to control the style of the auto-inserted encoding comment.
6436 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6438 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6439 Use `smie-backward-sexp' with token argument.
6441 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6443 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6444 Remove instrumentation code.
6446 2013-11-08 Glenn Morris <rgm@gnu.org>
6448 * progmodes/autoconf.el (autoconf-mode):
6449 Tweak comment-start-skip. (Bug#15822)
6451 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6453 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6454 at bobp (bug#15826).
6455 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6457 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6459 * man.el (Man-start-calling): New macro, extracted from
6460 Man-getpage-in-background.
6461 (Man-getpage-in-background): Use it.
6462 (Man-update-manpage): New command.
6463 (Man-mode-map): Bind it.
6465 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6467 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6468 of "and", "or", "&&" and "||".
6469 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6470 argument. Prohibit opening curly brace because it could only be a
6471 block opener in that position.
6472 (ruby-smie--forward-token, ruby-smie--backward-token):
6473 Separate "|" from "&" or "*" going after it. That can happen in block
6475 (ruby-smie--indent-to-stmt): New function, seeks the end of
6476 previous statement or beginning of buffer.
6477 (ruby-smie-rules): Use it.
6478 (ruby-smie-rules): Check if there's a ":" before a curly block
6479 opener candidate; if there is, it's a hash.
6481 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6483 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6484 (cl--block-wrapper): Fix last accidental change.
6486 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6488 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6489 Instrument, in order to hunt failure on hydra.
6491 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6493 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6494 malformed bindings form (bug#15814).
6496 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6498 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6499 "." compared to " @ ". This incidentally fixes some indentation
6501 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6502 (ruby-smie-grammar): New tokens: "and" and "or".
6503 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6504 Exclude "and" and "or". Remove "do" in order to work around token
6506 (ruby-smie-rules): Add all infix tokens. Handle the case of
6507 beginning-of-buffer.
6509 2013-11-06 Glenn Morris <rgm@gnu.org>
6511 * Makefile.in (setwins_almost, setwins_for_subdirs):
6512 Avoid accidental matches.
6514 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6516 * menu-bar.el (popup-menu): Use key-binding.
6518 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6520 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6521 menus, support also the menus produced by minor modes.
6524 2013-11-06 Leo Liu <sdl.web@gmail.com>
6526 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6527 DISTANCE to bound the search. All uses changed. (Bug#15808)
6529 2013-11-06 Glenn Morris <rgm@gnu.org>
6531 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6532 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6533 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6535 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6537 * electric.el (electric-indent-just-newline): New command.
6538 (electric-indent-mode-map): New keymap.
6539 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6540 Re-add :group which weren't redundant.
6542 * electric.el (electric-indent-local-mode): New minor mode.
6543 (electric-indent-functions-without-reindent): New var.
6544 (electric-indent-post-self-insert-function): Use it.
6545 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6547 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6549 * international/quail.el (quail-help): Be more explicit about the
6550 meaning of the labels shown on the keys. (Bug#15800)
6552 * startup.el (normal-top-level): Load the subdirs.el files before
6553 setting the locale environment. (Bug#15805)
6555 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6557 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6558 via arguments so as to get the right ones (bug#15418).
6560 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6562 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6564 Fix problems found while writing a test suite.
6566 * net/tramp-compat.el (tramp-compat-load): New defun.
6567 * net/tramp.el (tramp-handle-load): Use it.
6569 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6570 "(numberp ok-if-already-exists)" correctly.
6572 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6574 * international/characters.el (glyphless-char-display-control):
6577 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6579 * progmodes/python.el (python-mode):
6580 * progmodes/scheme.el (scheme-mode):
6581 * progmodes/prolog.el (prolog-mode):
6582 * progmodes/ruby-mode.el (ruby-mode):
6583 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6584 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6586 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6588 * rect.el (rectangle--highlight-for-redisplay):
6589 * emacs-lisp/smie.el (smie--next-indent-change):
6590 Use buffer-chars-modified-tick.
6592 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6594 * electric.el (electric-indent-post-self-insert-function):
6595 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6597 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6599 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6601 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6603 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6606 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6608 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6610 * progmodes/python.el: Fix up last change.
6611 (python-shell--save-temp-file): New function.
6612 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6613 `string' comes from the current buffer.
6614 (python-shell-send-string-no-output): Remove `msg' arg.
6615 (python--use-fake-loc): New var.
6616 (python-shell-buffer-substring): Obey it. Try to compensate for the
6617 extra coding line added by python-shell--save-temp-file.
6618 (python-shell-send-region): Use python-shell--save-temp-file and
6619 python-shell-send-file directly. Add `nomain' argument.
6620 (python-shell-send-buffer): Use python-shell-send-region.
6621 (python-electric-pair-string-delimiter): New function.
6622 (python-mode): Use it.
6624 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6626 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6627 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6628 environment and decoding all of the default-directory's to here
6630 (command-line): Decode also argv[0].
6632 * loadup.el: Error out if default-directory is a multibyte string
6633 when we are dumping.
6635 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6637 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6639 * emacs-lisp/package.el (package-menu-mode)
6640 (package-menu--print-info, package-menu--archive-predicate):
6641 Add Archive column to package list.
6643 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6645 Fix problems found while writing a test suite.
6647 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6648 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6649 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6650 to nil when running original file name handler. Otherwise,
6651 there are problems with constructs like "$$FOO".
6653 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6656 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6658 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6660 * subr.el (version<, version<=, version=):
6661 Update docstrings with information for snapshot versions.
6663 * helpers.el: New library for misc helper functions.
6664 (hash-table-keys): New function returning a list of hash keys.
6665 (hash-table-values): New function returning a list of hash values.
6667 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6669 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6670 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6672 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6674 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6675 checking whether point is after a 1-letter word.
6677 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6679 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6680 Don't infloop when expanding region over `multiline' syntax-type that
6681 begins a line (bug#15778).
6683 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6685 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6686 Make it into a proper minor mode.
6687 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
6688 (rectangle-mark-mode-map): New keymap.
6689 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6691 2013-11-04 Glenn Morris <rgm@gnu.org>
6693 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6695 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6697 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6698 (ruby-smie-rules): Use smie-rule-parent instead.
6700 * emacs-lisp/smie.el (smie-rule-parent): Always call
6701 smie-indent-virtual rather than only for hanging tokens.
6702 (smie--next-indent-change): New helper command.
6704 2013-11-03 Glenn Morris <rgm@gnu.org>
6706 * Makefile.in (abs_srcdir): Remove.
6707 (emacs): Unset EMACSLOADPATH.
6709 2013-11-02 Glenn Morris <rgm@gnu.org>
6711 * Makefile.in (EMACS): Use a relative filename.
6712 (abs_top_builddir): Remove.
6713 (custom-deps, finder-data, autoloads): Use --chdir.
6715 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6717 Use relative filenames in TAGS files.
6718 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6719 (lisptagsfiles4, TAGS): Use relative file names.
6720 (TAGS-LISP): Remove.
6721 (maintainer-clean): No more TAGS-LISP file.
6723 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6724 (lisptagsfiles4): Use absolute filenames again.
6725 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6726 Remove all *loaddefs files, not just the first. Remove esh-groups.
6727 (maintainer-clean): Delete TAGS, TAGS-LISP.
6729 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6731 * emacs-lisp/package.el (package-version-join):
6732 Recognize snapshot versions.
6734 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6736 * subr.el (version-regexp-alist): Add support for snapshot versions.
6738 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6740 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6741 New function, replacement for `smie-rule-parent' for when we want to
6742 skip over our direct parent if it's an assignment token..
6743 (ruby-smie-rules): Use it.
6745 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6747 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6748 unconditionally. Remove now unnecessary forward declarations.
6749 Remove XEmacs-specific setup.
6750 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6751 (ruby-font-lock-syntactic-keywords)
6752 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6753 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6754 (ruby-here-doc-end-syntax): Remove.
6755 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6756 defined as function.
6758 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6760 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6762 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6764 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6765 table and abbrev table, `define-derived-mode' does that for us
6768 2013-11-01 Glenn Morris <rgm@gnu.org>
6770 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6771 files is atomic for some time, so no parallel compilation issues).
6773 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6775 * faces.el (face-x-resources): Add :distant-foreground.
6776 (region): Use :distant-foreground for gtk and ns.
6778 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6780 Allow multiple bibliographies when BibLaTeX is used rather than
6782 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6783 (reftex-locate-bibliography-files): Us it.
6785 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6787 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6788 allow comments in pbm files.
6790 * term/w32-win.el (dynamic-library-alist): Support newer versions
6791 of libjpeg starting with v7: look only for the DLL from the
6792 version against which Emacs was built.
6793 Support versions of libpng beyond 1.4.x.
6794 Support libtiff v4.x.
6796 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6798 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6799 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6801 (ruby-deep-arglist): Add property :type.
6803 2013-10-31 Glenn Morris <rgm@gnu.org>
6805 * Makefile.in (custom-deps, finder-data): No need to setq the target
6806 variables, we are in the right directory and the defaults work fine.
6808 2013-10-30 Glenn Morris <rgm@gnu.org>
6810 * Makefile.in (autoloads): Do not use abs_lisp.
6812 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6813 `newline' does not respect `standard-output', so use `princ'.
6815 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6817 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6818 * buff-menu.el (Buffer-menu--unmark): New function.
6819 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6821 2013-10-30 Glenn Morris <rgm@gnu.org>
6823 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6825 * emacs-lisp/package.el (lm-homepage): Declare.
6827 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6830 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6832 * Makefile.in (finder-data, autoloads, update-subdirs)
6833 (compile-main, compile-clean, compile-always, bootstrap-clean):
6834 Check return value of cd.
6835 (compile-calc): Remove.
6837 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6839 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6841 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6842 (byte-compile-and-folded): New function.
6843 (=, <, >, <=, >=): Use it.
6845 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6846 (path-separator, null-device, buffer-file-coding-system)
6847 (lpr-headers-switches): Check system-type before modifying them.
6848 (find-buffer-file-type-coding-system): Mark obsolete.
6849 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6850 find-file-not-found-set-buffer-file-coding-system.
6851 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6852 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6853 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6854 (w32-direct-print-region-helper, w32-direct-print-region-function)
6855 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6856 * startup.el (normal-top-level-add-subdirs-to-load-path):
6857 * ps-print.el (ps-print-region-function):
6858 * lpr.el (print-region-function): Use new name.
6860 * subr.el (custom-declare-variable-early): Remove function.
6861 (custom-declare-variable-list): Remove var.
6862 (error, user-error): Remove `while' loop.
6863 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6864 (user-emacs-directory-warning, locate-user-emacs-file):
6866 * simple.el (read-quoted-char-radix, read-quoted-char):
6867 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6869 * custom.el (custom-declare-variable-list): Don't process
6870 custom-declare-variable-list.
6872 * progmodes/python.el (python-shell-get-buffer): New function.
6873 (python-shell-get-process): Use it.
6874 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6875 Python which encoding was used. Don't split-string since we only care
6876 about the first line. Return the temp-file, if applicable.
6877 (python-shell-send-region): Tell compile.el how to turn locations in
6878 the temp-file into locations in the source buffer.
6880 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6882 * subr.el (undefined): Add missing behavior from the C code for
6885 * rect.el: Use lexical-binding. Add new rectangular region support.
6886 (rectangle-mark): New command.
6887 (rectangle--region): New var.
6888 (deactivate-mark-hook): Reset rectangle--region.
6889 (rectangle--extract-region, rectangle--insert-for-yank)
6890 (rectangle--highlight-for-redisplay)
6891 (rectangle--unhighlight-for-redisplay): New functions.
6892 (region-extract-function, redisplay-unhighlight-region-function)
6893 (redisplay-highlight-region-function): Use them to handle
6895 * simple.el (region-extract-function): New var.
6896 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6897 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6898 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6899 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6900 (redisplay-unhighlight-region-function)
6901 (redisplay-highlight-region-function): New vars.
6902 (redisplay--update-region-highlight): New function.
6903 (pre-redisplay-function): Use it.
6904 (exchange-point-and-mark): Don't deactivate the mark before
6905 reactivate-it anyway.
6906 * comint.el (comint-kill-region): Remove yank-handler argument.
6907 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6908 (delete-char): Remove property, since it's now part of their
6910 (self-insert-iso): Remove property since this command doesn't exist.
6912 * emacs-lisp/package.el (package--download-one-archive)
6913 (describe-package-1): Don't query the user about final newline.
6915 2013-10-29 Daniel Colascione <dancol@dancol.org>
6917 * net/tramp.el (tramp-methods): Document new functionality.
6918 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6919 tramp-hostname-checker if method provides one instead of scanning
6920 argument list for "%h" to decide hostname acceptability.
6922 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
6924 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6925 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6926 Handle COPY-CONTENTS. (Bug#15737)
6928 2013-10-28 Daiki Ueno <ueno@gnu.org>
6931 (epa-file-cache-passphrase-for-symmetric-encryption):
6932 Document that this option has no effect with GnuPG 2.0 (bug#15552).
6934 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6936 * image.el (defimage, image-load-path): Doc fixes.
6938 2013-10-27 Alan Mackenzie <acm@muc.de>
6940 Indent statements in macros following "##" correctly.
6941 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6942 Modify the "#" arm of a cond form to handle "#" and "##" operators.
6944 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6946 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6948 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6950 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6951 after `=' is probably a new expression.
6953 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6955 * man.el (man-imenu-title): New option.
6956 (Man-mode-map): Add menu. (Bug#15722)
6957 (Man-mode): Add imenu to menu.
6959 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6961 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6962 specific in what the first arg can be: a non-keyword word,
6963 string/regexp/percent literal opener, opening paren, or unary
6964 operator followed directly by word.
6966 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6968 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6969 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6970 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6971 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6972 Remove vars, they do not apply any more.
6973 (prolog-mode-abbrev-table): Remove redundant declaration.
6974 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6975 (prolog-use-smie): Remove.
6976 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6977 supported by prolog-electric-if-then-else-flag.
6978 (prolog-mode-variables, prolog-menu): Use setq-local.
6979 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6980 Remove binding to `Backspace' since this key doesn't exist anyway.
6981 Remove bindings for electric self-inserting keys.
6982 (prog-mode): Assume it's defined.
6983 (prolog-post-self-insert): New function.
6984 (prolog-mode): Use it.
6985 (prolog-indent-line, prolog-indent-level)
6986 (prolog-find-indent-of-matching-paren)
6987 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6988 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6989 (prolog-goto-next-paren, prolog-in-string-or-comment)
6990 (prolog-tokenize, prolog-inside-mline-comment)
6991 (prolog-find-start-of-mline-comment): Remove functions.
6992 (prolog-find-unmatched-paren, prolog-clause-end)
6993 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6994 (prolog-electric--if-then-else): Rename from
6995 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6996 (prolog-tokenize-searchkey): Remove const.
6997 (prolog-clause-info): Use forward-sexp.
6998 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6999 (prolog-electric-if-then-else): Remove commands.
7000 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7001 for use in post-self-insert-hook.
7002 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7003 for use in post-self-insert-hook.
7004 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7005 for use in post-self-insert-hook.
7006 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7007 adapt it for use in post-self-insert-hook.
7009 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7011 * emacs-lisp/ert.el (ert-run-tests-interactively):
7012 Use `completing-read'. (Bug#9756)
7014 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7016 * simple.el (line-move): Call line-move-1 instead of
7017 line-move-visual when the current window hscroll is zero, but
7018 temporary-goal-column indicates we will need to hscroll as result
7019 of the movement. (Bug#15712)
7021 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7023 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7024 capitalization. Use :visible instead of :active.
7025 Fix `ruby-indent-exp' reference. Add menu items for the generic
7026 commands that are used with SMIE.
7027 (ruby-do-end-to-brace): Insert space after `{'.
7029 2013-10-25 John Anthony <john@jo.hnanthony.com>
7031 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7033 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7035 2013-10-25 Glenn Morris <rgm@gnu.org>
7037 * vc/vc.el (vc-print-log): Don't use a working revision unless
7038 one was explicitly specified. (Bug#15322)
7040 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7042 * subr.el (add-to-list): Preserve return value in compiler-macro
7045 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7047 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7048 result. Ask user to retry using '-all' flag. (Bug#15701)
7050 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7052 * emacs-lisp/smie.el: New smie-config system.
7053 (smie-config): New defcustom.
7054 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7055 (smie-config-guess, smie-config-save): New commands.
7056 (smie-config--mode-local, smie-config--buffer-local)
7057 (smie-config--trace, smie-config--modefuns): New vars.
7058 (smie-config--advice, smie-config--mode-hook)
7059 (smie-config--setter, smie-config-local, smie-config--get-trace)
7060 (smie-config--guess-value, smie-config--guess): New functions.
7061 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7062 text properties. Treat "string fence" syntax like string syntax.
7064 * progmodes/sh-script.el (sh-use-smie): Change default.
7065 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7066 (sh-var-value): Simplify by CSE.
7067 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7068 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7070 (sh-guess-basic-offset): Use cl-incf.
7071 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7073 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7075 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7078 2013-10-24 Glenn Morris <rgm@gnu.org>
7080 * Makefile.in (abs_top_srcdir): Remove.
7081 (update-subdirs): Use relative path to update-subdirs.
7083 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7085 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7086 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7087 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7088 Call unmsys--file-name before expand-file-name, not after it.
7090 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7092 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7093 (ert-test-skipped): New error.
7094 (ert-skip, ert-stats-skipped): New defuns.
7095 (ert--skip-unless): New macro.
7096 (ert-test-skipped): New struct.
7097 (ert--run-test-debugger, ert-test-result-type-p)
7098 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7099 (ert--stats-set-test-and-result, ert-char-for-test-result)
7100 (ert-string-for-test-result, ert-run-tests-batch)
7101 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7102 Handle skipped tests. (Bug#9803)
7104 2013-10-24 Glenn Morris <rgm@gnu.org>
7106 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7108 * Makefile.in (abs_top_srcdir): New, set by configure.
7109 (update-subdirs): Correct build-aux location.
7111 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7113 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7114 value, whether we could auto-deduce `backend', or not.
7116 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7117 with parameters" example. Simplify the "is it block or is it
7118 hash" check, but also make it more thorough.
7120 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7122 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7124 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7126 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7129 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7132 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7134 * progmodes/compile.el (compilation-directory-matcher)
7135 (compilation-page-delimiter):
7136 Support GNU Make-4.0 directory quoting. (Bug#15678)
7138 2013-10-23 Leo Liu <sdl.web@gmail.com>
7140 * ido.el (ido-tidy): Handle read-only text.
7142 2013-10-23 Glenn Morris <rgm@gnu.org>
7144 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7145 (emacs, compile, compile-always):
7146 Quote entities that might contain whitespace.
7147 (custom-deps, finder-data, autoloads): Use abs_lisp.
7148 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7149 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7150 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7152 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7154 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7155 Use `following-char'.
7157 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7159 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7160 * progmodes/ruby-mode.el (ruby-smie-rules):
7161 Remove corresponding workaround. Fix indentation rule of ";" so it
7162 also applies when ";" is the parent.
7164 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7166 * frame.el (display-screens, display-pixel-height)
7167 (display-pixel-width, display-mm-width, display-backing-store)
7168 (display-save-under, display-planes, display-color-cells)
7169 (display-visual-class, display-monitor-attributes-list):
7170 Mention the optional ‘display’ argument in doc strings.
7172 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7174 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7175 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7177 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7179 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7180 TODO. Add "." after " @ ".
7181 (ruby-smie--at-dot-call): New function. Checks if point at method
7182 call with explicit target.
7183 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7184 to the method name tokens when it precedes them.
7185 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7186 (ruby-smie-rules): Add rule for indentation before and after "."
7189 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7191 * textmodes/remember.el (remember-diary-extract-entries):
7194 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7197 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7199 * progmodes/ruby-mode.el (ruby-smie-grammar):
7200 Add (almost) all infix operators.
7201 (ruby-smie--implicit-semi-p): Add new operator chars.
7203 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7205 (ruby-smie--args-separator-p): Check that there's no newline
7206 between method call and its arguments.
7208 2013-10-20 Alan Mackenzie <acm@muc.de>
7210 Allow comma separated lists after Java "implements".
7212 * progmodes/cc-engine.el (c-backward-over-enum-header):
7214 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7215 from a "disallowed" list in enum fontification.
7217 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7219 * startup.el (default-frame-background-mode): Remove unused defvar.
7221 * progmodes/verilog-mode.el (verilog-mode): Don't set
7222 comment-indent-function globally.
7224 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7226 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7227 Move Info menu item creation to ns-win.el.
7229 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7232 * menu-bar.el: Move GNUstep specific menus...
7234 * term/ns-win.el (ns-initialize-window-system): ... to here.
7236 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7238 * simple.el (newline): Only run post-self-insert-hook when
7239 called interactively.
7241 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7243 * icomplete.el (icomplete-with-completion-tables): Add :version.
7245 2013-10-19 Alan Mackenzie <acm@muc.de>
7247 Fix fontification bugs with constructors and const.
7249 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7250 CASE 2) Remove the check for the absence of a suffix construct
7251 after a function declaration with only types (no identifiers) in
7252 the parentheses. Also, accept a function declaration with just a
7253 type inside the parentheses, if this type can be positively
7254 recognised as such, or if a prefix keyword like "explicit" nails
7255 down the construct as a declaration.
7257 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7259 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7260 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7261 the problem whereby selecting a menu item that leads to a
7262 minibuffer prompt moves the cursor out of the minibuffer window,
7263 making it hard to type at the prompt. Suggested by Stefan Monnier
7264 <monnier@iro.umontreal.ca>.
7266 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7268 * menu-bar.el: Don't make Services menu.
7270 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7272 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7273 (ffap-alist): Use ffap-c++-mode for c++-mode.
7274 (ffap-c++-path): New variable.
7275 (ffap-c++-mode): New function.
7277 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7279 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7281 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7283 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7284 introduced on 2013-09-08, which results in an infinite loop
7285 requesting a password.
7287 2013-10-18 Glenn Morris <rgm@gnu.org>
7289 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7291 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7293 Sync with upstream verilog-mode revision 1a6ecec7.
7294 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7295 (verilog-mode-release-date): Remove.
7296 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7297 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7298 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7299 (verilog-auto-tieoff-ignore-regexp)
7300 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7301 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7302 (verilog-signals-with, verilog-dir-cache-preserving)
7303 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7305 (verilog-case-fold): New option, to control case folding in
7306 regexp searches, bug597.
7307 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7308 (verilog-string-match-fold, verilog-in-paren-count)
7309 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7310 (verilog-at-close-struct-p): New functions.
7311 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7312 (verilog-forward-sexp, verilog-set-auto-endcomments)
7313 (verilog-leap-to-case-head): Handle "unique0" case.
7314 (verilog-in-constraint-re): New constant.
7315 (verilog-keywords, verilog-type-font-keywords):
7316 Add some SystemVerilog 1800-2012 keywords.
7317 (verilog-label-be): Remove unimplemented argument, bug669.
7318 (verilog-batch-execute-func): When batch expanding clear
7319 create-lockfiles to prevent spurious user locks when a file ends
7321 (verilog-calculate-indent, verilog-calc-1)
7322 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7323 (verilog-do-indent): Fix indentation of nested constraints
7325 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7326 (verilog-auto-inst-param): Use verilog-string-match-fold.
7327 (verilog-read-inst-module-matcher):
7328 Fix AUTOINST on gate primitives with #1.
7329 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7330 Reads all user-defined typed variables.
7331 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7332 (verilog-signals-matching-regexp)
7333 (verilog-signals-not-matching-regexp, verilog-auto):
7334 Respect verilog-case-fold.
7335 (verilog-diff-report): Fix line count.
7336 (verilog-auto-assign-modport): Remove unused local `modi'.
7337 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7338 better handle multidimensional arrays.
7339 Fix packed array ports misadding bit index in AUTOINST, bug637.
7340 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7341 to not double-declare existing outputs and inputs, respectively.
7342 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7343 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7344 (verilog-sk-uvm-component): New skeleton.
7345 (verilog-submit-bug-report): Add verilog-case-fold,
7346 remove verilog-mode-release-date.
7348 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7350 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7353 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7355 * textmodes/remember.el (remember): Set buffer-offer-save in
7356 remember buffers (bug#13566).
7358 2013-10-18 Daniel Colascione <dancol@dancol.org>
7360 When evaluating forms in ielm, direct standard output to ielm
7361 buffer. Add new ielm-return-for-effect command. Remove trailing
7362 whitespace throughout.
7364 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7365 (ielm-return-for-effect): New command.
7366 (ielm-send-input): Accept optional `for-effect' parameter.
7367 (ielm-eval-input): Accept optional `for-effect' parameter.
7368 Bind `standard-output' to stream we create using
7369 `ielm-standard-output-impl'. Suppress printing result when
7371 (ielm-standard-output-impl): New function.
7372 (inferior-emacs-lisp-mode): Explain new features in documentation.
7374 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7378 * net/tramp.el (tramp-debug-message): Do not check for connection
7380 (tramp-message): Use "vector" connection property.
7382 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7383 (tramp-equal-remote, tramp-eshell-directory-change)
7384 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7385 (tramp-adb-handle-rename-file)
7386 * net/tramp-cmds.el (tramp-list-remote-buffers)
7387 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7388 * net/tramp-compat.el (tramp-compat-process-running-p)
7389 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7390 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7391 (tramp-gvfs-handle-rename-file)
7392 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7393 (tramp-set-file-uid-gid)
7394 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7395 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7398 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7399 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7400 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7401 (tramp-gw-open-network-stream): Suppress unrelated traces.
7403 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7404 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7405 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7406 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7407 connection property.
7409 * net/tramp-cache.el (top): Suppress traces when reading
7412 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7413 Refactor common code. Improve debug message.
7414 (tramp-maybe-open-connection)
7415 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7416 connection buffer too early.
7418 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7419 from `tramp-smb-actions-with-acl'.
7420 (tramp-smb-actions-set-acl): New defconst.
7421 (tramp-smb-handle-copy-directory)
7422 (tramp-smb-action-get-acl): New defun, renamed from
7423 `tramp-smb-action-with-acl'.
7424 (tramp-smb-action-set-acl): New defun.
7425 (tramp-smb-handle-set-file-acl): Rewrite.
7427 2013-10-17 Glenn Morris <rgm@gnu.org>
7429 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7431 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7433 * skeleton.el (skeleton-newline): Remove.
7434 (skeleton-internal-1): Use (insert "\n") instead.
7436 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7439 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7440 forward-sexp-function while we redo its job (bug#15613).
7442 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7444 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7445 represented by lists.
7447 2013-10-16 Glenn Morris <rgm@gnu.org>
7449 * tmm.el (tmm--history): New dynamic variable.
7450 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7452 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7454 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7455 (tramp-smb-errors): Add error messages.
7456 (tramp-smb-actions-with-acl): New defconst.
7457 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7458 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7459 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7460 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7461 (tramp-smb-get-stat-capability): Fix tests.
7463 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7465 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7468 2013-10-16 Glenn Morris <rgm@gnu.org>
7470 * ansi-color.el (ansi-color-drop-regexp):
7471 Add 1J, 1K, 2K. (Bug#15617)
7473 * files.el (hack-local-variables--warned-lexical): New.
7474 (hack-local-variables):
7475 Warn about misplaced lexical-binding. (Bug#15616)
7477 * net/eww.el (eww-render): Always set eww-current-url,
7478 and update header line. (Bug#15622)
7479 (eww-display-html): ... Rather than just doing it here.
7481 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7483 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7484 menu navigations commands.
7486 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7488 * progmodes/subword.el (subword-capitalize): Be careful when
7489 the search for [[:alpha:]] fails (bug#15580).
7491 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7493 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7494 to commands that scroll the menu.
7496 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7498 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7499 Handle methods ending with `?' and `!'.
7501 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7503 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7504 `japanese-cp932' to `cp932' to fix the problem where saving a
7505 source file written in Shift_JIS twice would end up having
7506 `coding: japanese-cp932' which Ruby could not recognize.
7507 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7508 in `ruby-encoding-map'.
7509 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7510 doesn't need to be explicitly declared in magic comment.
7511 (ruby-encoding-map): Add type declaration for better customize UI.
7513 2013-10-13 Glenn Morris <rgm@gnu.org>
7515 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7516 Occur buffers are read-only. http://bugs.debian.org/720775
7518 * emacs-lisp/authors.el (authors-fixed-entries):
7519 Comment out old alpha stuff.
7521 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7523 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7524 to `after-save-hook' instead of `before-save-hook'.
7525 (ruby-mode-set-encoding): Use the value of coding system used to
7526 write the file. Call `basic-save-buffer-1' after modifying the
7529 2013-10-13 Alan Mackenzie <acm@muc.de>
7531 Fix indentation/fontification of Java enum with
7532 "implements"/generic.
7534 * progmodes/cc-engine.el (c-backward-over-enum-header):
7535 Extracted from the three other places and enhanced to handle generics.
7536 (c-inside-bracelist-p): Uses new function above.
7537 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7539 (c-font-lock-enum-tail): Uses new function above.
7541 2013-10-13 Kenichi Handa <handa@gnu.org>
7543 * international/mule-cmds.el (select-safe-coding-system): Remove a
7544 superfluous condition in chekcing whether a coding system is safe
7547 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7549 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7551 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7553 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7555 2013-10-13 Glenn Morris <rgm@gnu.org>
7557 * menu-bar.el (menu-bar-update-buffers):
7558 Unify Buffers menu prompt string. (Bug#15576)
7560 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7562 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7564 (authors-fixed-entries): Use accented form of name.
7566 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7568 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7569 method calls (bug#15594).
7570 (ruby-smie--args-separator-p): New function.
7571 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7572 recognize paren-free method calls.
7574 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7575 internals of universal-argument.
7577 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7579 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7580 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7581 dropped menu on second mouse click on the menu bar.
7583 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7585 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7586 (explicit-shell-file-name): Declare.
7587 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7588 (sh-completion-at-point-function): New function.
7590 (sh-smie--keyword-p): Remove unused argument.
7591 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7593 (sh-set-shell): Always setup SMIE, even if we use the
7594 old indentation code.
7596 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7598 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7600 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7601 predicate would return nil are almost non-existent.
7602 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7604 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7605 cache also after commands that modify the buffer but don't move
7608 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7610 * env.el (substitute-env-in-file-name): New function.
7611 (substitute-env-vars): Extend the meaning of the optional arg.
7613 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7615 * term/w32-win.el (dynamic-library-alist): Define separate lists
7616 of GIF DLLs for versions before and after 5.0.0 of giflib.
7619 2013-10-10 João Távora <joaotavora@gmail.com>
7621 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7622 not locked, use last revision and current source as
7623 defaults. (Bug#15569)
7625 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7627 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7630 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7632 * window.el (pop-to-buffer-same-window): Fix doc-string.
7635 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7637 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7639 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7641 * calendar/icalendar.el (icalendar-import-file):
7642 Fix interactive spec. (Bug#15482)
7644 2013-10-10 Glenn Morris <rgm@gnu.org>
7646 * desktop.el (desktop-save): Default to saving in .emacs.d,
7647 since PWD is no longer in desktop-path by default. (Bug#15319)
7649 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7650 now that text mode has a menu with the same entry.
7651 (menu-bar-text-mode-auto-fill): Remove now unused func.
7652 * textmodes/text-mode.el (text-mode-map):
7653 Use auto-fill help text from menu-bar.el.
7655 2013-10-10 John Anthony <john@jo.hnanthony.com>
7657 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7659 2013-10-09 Juri Linkov <juri@jurta.org>
7661 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7662 instead of this-command-keys. Add universal-argument-more and
7663 universal-argument-minus to the list of prefix commands. (Bug#15568)
7665 2013-10-09 Glenn Morris <rgm@gnu.org>
7667 * vc/vc-svn.el (vc-svn-create-repo):
7668 Expand paths in file://... url. (Bug#15446)
7670 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7672 (authors): Remove unused local variables.
7674 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7676 * profiler.el: Create a more coherent calltree from partial backtraces.
7677 (profiler-format): Hide the tail with `invisible' so that C-s can still
7678 find the hidden elements.
7679 (profiler-calltree-depth): Don't recurse so enthusiastically.
7680 (profiler-function-equal): New hash-table-test.
7681 (profiler-calltree-build-unified): New function.
7682 (profiler-calltree-build): Use it.
7683 (profiler-report-make-name-part): Indent the calltree less.
7684 (profiler-report-mode): Add visibility specs for profiler-format.
7685 (profiler-report-expand-entry, profiler-report-toggle-entry):
7686 Expand the whole subtree when provided with a prefix arg.
7688 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7690 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7692 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7693 hanging iuwu-mod token.
7694 (ruby-smie--forward-token): Do not include a dot after a token in
7696 (ruby-smie--backward-token): Likewise.
7698 2013-10-08 Juri Linkov <juri@jurta.org>
7700 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7701 to isearch-other-control-char.
7702 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7703 and isearch-post-command-hook to post-command-hook.
7704 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7705 and isearch-post-command-hook from post-command-hook.
7706 (isearch-unread-key-sequence)
7707 (isearch-reread-key-sequence-naturally)
7708 (isearch-lookup-scroll-key, isearch-other-control-char)
7709 (isearch-other-meta-char): Remove functions.
7710 (isearch-pre-command-hook, isearch-post-command-hook):
7711 New functions based on isearch-other-meta-char rewritten
7712 relying on the new behavior of overriding-terminal-local-map
7713 that does not replace the local keymaps any more. (Bug#15200)
7715 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7717 Support menus on text-mode terminals.
7718 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7721 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7723 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7724 Move here from mouse.el.
7725 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7727 (tty-menu-navigation-map): New map for TTY menu navigation.
7729 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7731 * frame.el (display-mouse-p): Report text-mode mouse as available
7733 (display-popup-menus-p): Report availability if mouse is
7734 available; don't condition on window-system.
7736 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7737 (tty-menu-selected-face): New faces.
7739 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7741 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7742 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7743 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7744 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7746 (lisp-mode-variables): New `elisp' argument.
7747 (emacs-lisp-mode): Use it.
7748 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7749 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7751 * indent.el: Use lexical-binding.
7752 (indent-region): Add progress reporter.
7753 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7755 (indent--next-tab-stop): New function to implement this behavior.
7756 (tab-to-tab-stop, move-to-tab-stop): Use it.
7758 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7760 * indent.el (indent-rigidly--current-indentation): New function.
7761 (indent-rigidly-map): New var.
7762 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7764 2013-10-08 Bastien Guerry <bzg@gnu.org>
7766 * register.el (insert-register): Fix 2013-10-07 change.
7768 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7770 * progmodes/perl-mode.el: Use lexical-binding.
7771 Remove redundant :group args.
7772 (perl-nochange): Change default to be closer to other major modes's
7774 (perl-indent-line): Don't consider text on current line as a
7775 valid beginning of function from which to indent.
7777 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7778 with more than one argument (bug#15538).
7780 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7782 * vc/pcvs.el: Use lexical-binding.
7783 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7784 environment of `eval'.
7785 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7786 than a list of expressions. Adjust callers.
7787 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7789 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7791 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7792 case of the dot in a chained method call being on the following line.
7794 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7796 * electric.el (electric-indent-inhibit): New var.
7797 (electric-indent-post-self-insert-function): Use it.
7798 * progmodes/python.el (python-mode): Set it.
7800 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7803 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7805 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7806 (css-mode): Use electric-indent-chars.
7808 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7809 (font-lock-beg, font-lock-end): Move before first use.
7810 (nxml-mode): Use syntax-propertize-function.
7811 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7812 (nxml-extend-after-change-region): Remove.
7813 * nxml/xmltok.el: Use lexical-binding.
7814 (xmltok-save): Use `declare'.
7815 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7816 * nxml/nxml-util.el: Use lexical-binding.
7817 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7819 * nxml/nxml-ns.el: Use lexical-binding.
7820 (nxml-ns-save): Use `declare'.
7821 (nxml-ns-prefixes-for): Avoid add-to-list.
7822 * nxml/rng-match.el: Use lexical-binding.
7823 (rng--ipattern): Use cl-defstruct.
7824 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7825 (rng-cons-group-after, rng-subst-group-after)
7826 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7827 Use closures instead of `(lambda...).
7829 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7831 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7834 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7835 Use `tramp-handle-insert-file-contents'.
7836 (tramp-gvfs-handle-insert-file-contents): Remove function.
7838 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7839 Use `save-restriction' in order to keep markers.
7841 * net/trampver.el: Update release number.
7843 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7845 * progmodes/compile.el (compilation-parse-errors):
7846 Use compilation--put-prop.
7847 (compilation--ensure-parse): Check compilation-multiline.
7849 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7851 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7854 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7856 * progmodes/ruby-mode.el: Fix recently added tests.
7857 (ruby-smie-grammar): Add - and +.
7858 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7859 (ruby-smie--backward-id): New functions.
7860 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7861 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7864 2013-10-07 Leo Liu <sdl.web@gmail.com>
7866 * register.el (register-preview-delay)
7867 (register-preview-functions): New variables.
7868 (register-read-with-preview, register-preview)
7869 (register-describe-oneline): New functions.
7870 (point-to-register, window-configuration-to-register)
7871 (frame-configuration-to-register, jump-to-register)
7872 (number-to-register, view-register, insert-register)
7873 (copy-to-register, append-to-register, prepend-to-register)
7874 (copy-rectangle-to-register): Use register-read-with-preview to
7875 read register. (Bug#15525)
7877 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7879 * net/network-stream.el (network-stream-open-starttls): Don't add
7880 --insecure if it's already present, because that gnutls-cli
7881 rejects getting that parameter twice.
7883 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7885 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7888 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7890 * newcomment.el (comment-use-global-state): Change default value
7891 to t, mark obsolete (Bug#15251).
7892 (comment-beginning): In addition to `comment-to-syntax', check the
7893 value of `comment-use-global-state'.
7895 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7897 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7898 (ruby-comment-column): Follow the global default, by default.
7899 (ruby-smie-grammar): Add assignment syntax.
7900 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7901 open-paren, a comma, or a \.
7902 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7903 and line continuations.
7904 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7905 followed by implicit semi-colons. Add rule for string concatenation
7906 and for indentation at BOB.
7907 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7909 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7910 calling next-sexp, since next-token may have skipped chars which
7911 next-sexp doesn't know should be skipped!
7913 2013-10-05 Leo Liu <sdl.web@gmail.com>
7915 * progmodes/octave.el (octave-send-region):
7916 Call compilation-forget-errors.
7918 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7920 * vc/vc-svn.el (vc-svn-find-admin-dir):
7921 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7922 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7923 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7924 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7926 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7928 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7930 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7932 * subr.el (read-passwd): Hide chars even when called within a context
7933 where after-change-functions is disabled (bug#15501).
7934 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7935 until we removed ourself from overriding-terminal-local-map.
7937 2013-10-04 Leo Liu <sdl.web@gmail.com>
7939 * progmodes/octave.el (inferior-octave-mode):
7940 Call compilation-forget-errors.
7942 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7944 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7946 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
7948 * net/secrets.el (secrets-create-collection): Add optional
7949 argument ALIAS. Use proper Label keyword. Append ALIAS as
7950 dbus-call-method argument. (Bug#15516)
7952 2013-10-04 Leo Liu <sdl.web@gmail.com>
7954 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7955 (inferior-octave-compilation-font-lock-keywords): New variables.
7956 (compilation-error-regexp-alist)
7957 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7958 (inferior-octave-mode): Use compilation-shell-minor-mode.
7960 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7962 * minibuffer.el (completion--replace): Be careful that `end' might be
7965 2013-10-03 Daiki Ueno <ueno@gnu.org>
7967 Add support for package signature checking.
7968 * emacs-lisp/package.el (url-http-file-exists-p)
7969 (epg-make-context, epg-context-set-home-directory)
7970 (epg-verify-string, epg-context-result-for)
7971 (epg-signature-status, epg-signature-to-string)
7972 (epg-check-configuration, epg-configuration)
7973 (epg-import-keys-from-file): Declare.
7974 (package-check-signature): New user option.
7975 (package-unsigned-archives): New user option.
7976 (package-desc): Add `signed' field.
7977 (package-load-descriptor): Set `signed' field if .signed file exists.
7978 (package--archive-file-exists-p): New function.
7979 (package--check-signature): New function.
7980 (package-install-from-archive): Check package signature.
7981 (package--download-one-archive): Check archive signature.
7982 (package-delete): Remove .signed file.
7983 (package-import-keyring): New command.
7984 (package-refresh-contents): Import default keyring.
7985 (package-desc-status): Add "unsigned" status.
7986 (describe-package-1, package-menu--print-info)
7987 (package-menu-mark-delete, package-menu--find-upgrades)
7988 (package-menu--status-predicate): Support "unsigned" status.
7990 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7992 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7993 the new compilation scheme using the new byte-codes.
7995 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7996 (byte-pophandler): New byte codes.
7997 (byte-goto-ops): Adjust accordingly.
7998 (byte-compile--use-old-handlers): New var.
7999 (byte-compile-catch): Use new byte codes depending on
8000 byte-compile--use-old-handlers.
8001 (byte-compile-condition-case--old): Rename from
8002 byte-compile-condition-case.
8003 (byte-compile-condition-case--new): New function.
8004 (byte-compile-condition-case): New function that dispatches depending
8005 on byte-compile--use-old-handlers.
8006 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8009 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8010 Optimize under `condition-case' and `catch' if
8011 byte-compile--use-old-handlers is nil.
8012 (disassemble-offset): Handle new bytecodes.
8014 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8016 * subr.el (error): Use `declare'.
8017 (decode-char, encode-char): Use advertised-calling-convention instead
8018 of the docstring to discourage use of the `restriction' arg.
8020 2013-10-03 Daiki Ueno <ueno@gnu.org>
8022 * epg.el (epg-verify-file): Add a comment saying that it does not
8023 notify verification error as a return value nor a signal.
8024 (epg-verify-string): Ditto.
8026 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8028 * progmodes/compile.el (compilation-start): Try globbing the arg to
8031 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8033 Sync with Tramp 2.2.8.
8035 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8036 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8037 * net/trampver.el: Update release number.
8039 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8041 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8042 and default-process-coding-system for darwin only.
8044 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8046 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8048 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8050 * vc/vc-git.el (vc-git-grep): Disable pager.
8052 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8054 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8055 Use :url instead of :homepage, as per
8056 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8058 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8059 non-nil, use `syntax-ppss' (Bug#15251).
8061 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8063 * progmodes/octave.el (inferior-octave-startup-file):
8064 Prefer ~/.emacs.d/init_octave.m.
8066 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8068 * emacs-lisp/package.el (package-desc-from-define):
8069 Accept additional arguments as plist, convert them to an alist and store
8070 them in the `extras' slot.
8071 (package-generate-description-file): Convert extras alist back to
8072 plist and append to the `define-package' form arguments.
8073 (package--alist-to-plist): New function.
8074 (package--ac-desc): Add `extras' slot.
8075 (package--add-to-archive-contents): Check if the archive-contents
8076 vector is long enough, and if it is, pass its `extras' slot value
8077 to `package-desc-create'.
8078 (package-buffer-info): Call `lm-homepage', pass the returned value
8079 to `package-desc-from-define'.
8080 (describe-package-1): Render the homepage button (Bug#13291).
8082 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8083 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8085 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8087 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8088 and default-process-coding-system to utf-8-unix (Bug#15402).
8090 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8092 * subr.el (looking-back): Do not recommend using looking-back.
8094 2013-09-28 Alan Mackenzie <acm@muc.de>
8096 Fix indentation/fontification of Java enum with "implements".
8098 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8099 regexp which matches "implements", etc., in Java.
8100 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8101 specifier clauses coming after "enum".
8102 * progmodes/cc-fonts.el (c-font-lock-declarations)
8103 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8106 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8108 * faces.el (region): Change ns_selection_color to
8109 ns_selection_fg_color, add ns_selection_bg_color.
8111 2013-09-28 Leo Liu <sdl.web@gmail.com>
8113 * progmodes/octave.el (inferior-octave-completion-table)
8114 (inferior-octave-completion-at-point): Minor tweaks.
8116 * textmodes/ispell.el (ispell-lookup-words): Rename from
8117 lookup-words. (Bug#15460)
8118 (lookup-words): Obsolete.
8119 (ispell-complete-word, ispell-command-loop): All uses changed.
8121 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8123 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8124 (octave-mode-menu): Add octave-send-buffer.
8125 (octave-send-buffer): New function.
8127 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8129 * progmodes/octave.el (octave-mode-map): Add key binding for
8131 (octave-mode-menu): Add octave-lookfor.
8132 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8134 (octave-lookfor): New function.
8136 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8138 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8139 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8141 (cl--loop-set-iterator-function): New function.
8142 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8143 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8144 Bind `it' with `let' instead of substituting it with `cl-subst'.
8145 (cl--unused-var-p): New function.
8146 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8147 Eliminate some unused variable warnings (bug#15326).
8149 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8151 * doc-view.el (doc-view-scale-reset): Rename from
8152 `doc-view-reset-zoom-level'.
8153 (doc-view-scale-adjust): New command.
8154 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8155 `doc-view-scale-adjust'.
8157 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8159 * doc-view.el (doc-view-reset-zoom-level): New command.
8160 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8161 zoom commands (bug#15466).
8163 2013-09-26 Kenichi Handa <handa@gnu.org>
8165 * international/quail.el (quail-help): Make it not a command.
8167 2013-09-26 Leo Liu <sdl.web@gmail.com>
8169 * minibuffer.el (completion-all-sorted-completions): Make args
8170 optional as they are.
8172 2013-09-25 Daniel Colascione <dancol@dancol.org>
8174 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8175 specs are and that they're not evaluated.
8177 2013-09-24 Sam Steingold <sds@gnu.org>
8179 * midnight.el (clean-buffer-list-kill-regexps)
8180 (clean-buffer-list-kill-buffer-names): Update for the new Man
8181 buffer naming which includes the object name.
8183 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8185 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8186 (eshell-parse-command, eshell-parse-pipeline): Use it since
8187 eshell-separate-commands requires a dynamic scoped var.
8188 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8190 2013-09-23 Leo Liu <sdl.web@gmail.com>
8192 * autoinsert.el (auto-insert-alist): Make the value of
8193 lexical-binding match its file setting.
8195 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8197 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8199 * autoarg.el (autoarg-kp-digit-argument):
8200 * electric.el (Electric-command-loop):
8201 * kmacro.el (kmacro-step-edit-insert):
8202 Do not set universal-argument-num-events.
8204 2013-09-22 Leo Liu <sdl.web@gmail.com>
8206 * files.el (interpreter-mode-alist): Add octave.
8208 2013-09-21 Alan Mackenzie <acm@muc.de>
8210 C++: fontify identifier in declaration following "public:" correctly.
8211 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8212 to match "public", etc.
8213 (c-decl-prefix-re): Add ":" into the C++ value.
8214 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8215 bit. Add a check for a ":" preceded by "public", etc.
8217 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8219 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8220 recognized by GDB 7.5 and later.
8222 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8224 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8226 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8228 * subr.el (internal--call-interactively): New const.
8229 (called-interactively-p): Use it (bug#3984).
8231 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8233 * vc/pcvs.el (cvs-mode-ignore):
8234 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8235 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8237 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8239 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8240 (eshell-ls-orig-insert-directory): Remove.
8241 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8242 (eshell-ls-use-in-dired): Use advice-add/remove.
8243 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8244 Add `orig-fun' arg for use in :around advice.
8245 Make it check (redundantly) eshell-ls-use-in-dired.
8247 2013-09-19 Glenn Morris <rgm@gnu.org>
8249 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8251 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8253 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8255 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8257 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8258 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8259 (tramp-get-remote-python): New defuns.
8260 (tramp-get-remote-uid-with-perl)
8261 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8262 contributed by yary <not.com@gmail.com> (tiny change).
8263 (tramp-get-remote-uid-with-python)
8264 (tramp-get-remote-gid-with-python): New defuns. Python code
8265 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8266 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8268 2013-09-19 Glenn Morris <rgm@gnu.org>
8270 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8272 * eshell/em-unix.el (eshell-remove-entries):
8273 Rename argument to avoid name-clash with global `top-level'.
8275 * eshell/esh-proc.el (eshell-kill-process-function):
8276 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8277 (eshell-reset-after-proc): Remove unused arg `proc'.
8279 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8280 (directory-files-and-attributes): Mark unused arg.
8282 * eshell/em-unix.el (eshell-remove-entries):
8283 Remove unused arg `path'. Update callers.
8285 * eshell/em-hist.el (eshell-hist-parse-arguments):
8286 Remove unused arg `silent'. Update callers.
8288 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8289 Fix (f)boundp mix-up.
8291 * eshell/em-smart.el (eshell-smart-scroll-window)
8292 (eshell-disable-after-change):
8293 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8295 2013-09-18 Alan Mackenzie <acm@muc.de>
8297 Fix fontification of type when followed by "const".
8298 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8299 "known" types from fontification.
8301 2013-09-18 Glenn Morris <rgm@gnu.org>
8303 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8304 (chart-face-list): Drop Emacsen without display-color-p.
8306 * net/eww.el (libxml-parse-html-region): Declare.
8307 (eww-display-html): Explicit error if no libxml2 support.
8309 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8311 * image.el (image-type-from-buffer, image-multi-frame-p):
8312 Remove --without-x warning/error.
8314 * mouse.el (mouse-yank-primary):
8315 * term.el (term-mouse-paste):
8316 Reorder to silence --without-x compilation.
8318 * mpc.el (doc-view-mode): Silence --without-x compilation.
8320 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8321 Silence --without-x compilation.
8323 * progmodes/gud.el (gud-find-file, gud-mode):
8324 Silence --without-x compilation.
8325 (tooltip-mode): Declare.
8327 * wdired.el (dired-backup-overwrite): Remove declaration.
8328 (wdired-mode-map): Add doc string.
8330 * custom.el (x-get-resource): Declare.
8332 * eshell/em-glob.el (ange-cache):
8333 * eshell/em-unix.el (ange-cache): Declare.
8335 * faces.el (x-display-list, x-open-connection, x-get-resource):
8338 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8339 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8342 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8344 * net/gnutls.el (gnutls-log-level): Declare.
8346 * net/shr.el (image-size, image-animate): Declare.
8348 * simple.el (font-info): Declare.
8350 * subr.el (x-popup-dialog): Declare.
8352 * term/common-win.el (x-select-enable-primary)
8353 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8356 * term/ns-win.el (x-handle-args): Declare.
8358 * term/x-win.el (x-select-enable-clipboard): Declare.
8360 * term/w32-win.el (create-default-fontset): Declare.
8362 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8365 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8366 (fit-frame-to-buffer): Explicit error if --without-x.
8367 (mouse-autoselect-window-select): Silence compiler.
8369 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8371 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8372 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8373 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8374 * eshell/esh-util.el (eshell-sublist):
8375 Remove unused local variables.
8377 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8379 * textmodes/two-column.el: Make 2C-split work for --without-x.
8380 (scroll-bar-columns): Autoload.
8381 (top-level): Require fringe when compiling.
8383 2013-09-18 Leo Liu <sdl.web@gmail.com>
8385 * subr.el (add-hook): Robustify to handle closure as well.
8387 2013-09-17 Glenn Morris <rgm@gnu.org>
8389 * simple.el (messages-buffer-mode-map): Unbind "g".
8391 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8393 * help-mode.el (help-mode-finish): Use derived-mode-p.
8394 Remove obsolete highlighting.
8396 * play/life.el (life-mode): Use define-derived-mode. Derive from
8398 (life): Let-bind inhibit-read-only.
8399 (life-setup): Avoid `setq'. Use `life-mode'.
8401 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8402 which should not be needed any more.
8403 (package-menu-refresh, package-menu-describe-package): Use user-error.
8405 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8406 (eshell-post-rewrite-command-hook): Make obsolete.
8407 (eshell-parse-command): Simplify.
8408 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8409 (eshell--cmd): Declare.
8410 (eshell-parse-pipeline): Remove unused var `final-p'.
8411 Pass a dynvar to eshell-post-rewrite-command-hook.
8412 Implement the new eshell-post-rewrite-command-function.
8413 (eshell-invoke-directly): Remove unused arg `input'.
8414 * eshell/esh-io.el (eshell-io-initialize):
8415 Use eshell-post-rewrite-command-function (bug#15399).
8416 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8417 adjust to new calling convention.
8418 (eshell-create-handles): Rename args to avoid clashing with dynvar
8421 2013-09-17 Glenn Morris <rgm@gnu.org>
8423 * simple.el (messages-buffer-mode): New major mode.
8424 (messages-buffer): New function.
8425 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8426 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8427 (ert-run-test): Use `messages-buffer' function.
8428 (ert--force-message-log-buffer-truncation): Ignore read-only.
8429 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8430 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8432 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8434 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8436 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8438 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8440 * icomplete.el (icomplete-in-buffer): New var.
8441 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8442 vars and replace them with functions.
8443 (icomplete-minibuffer-setup): Adjust accordingly.
8444 (icomplete--completion-table, icomplete--completion-predicate)
8445 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8447 (icomplete-forward-completions, icomplete-backward-completions)
8448 (icomplete-simple-completing-p, icomplete-exhibit)
8449 (icomplete-completions): Use them.
8450 (icomplete--in-region-buffer): New var.
8451 (icomplete--in-region-setup): New function.
8452 (icomplete-mode): Use it.
8454 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8456 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8457 return args and options.
8458 (eshell-eval-using-options): Use the new return value of
8459 eshell--do-opts to set the options's vars in their scope.
8460 (eshell--set-option): Rename from eshell-set-option.
8462 (eshell--process-option): Rename from eshell-process-option.
8464 (eshell--process-args): Use an `opt-vals' alist to store the options's
8465 values during their processing and return them additionally to the
8468 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8470 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8471 continuation character an operator, as far as indentation is
8472 concerned (Bug#15369).
8474 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8476 * window.el (window--state-put-2): Don't process buffer state
8477 when buffer doesn't exist any more (Bug#15382).
8479 2013-09-15 Glenn Morris <rgm@gnu.org>
8481 * eshell/em-unix.el (eshell/rm):
8482 Make -f ignore missing files. (Bug#15373)
8484 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8485 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8486 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8488 2013-09-14 Glenn Morris <rgm@gnu.org>
8490 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8492 2013-09-13 Glenn Morris <rgm@gnu.org>
8494 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8495 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8497 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8499 * frame.el (x-focus-frame): Mark as declared in frame.c.
8501 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8503 * ls-lisp.el: Use advice-add.
8504 (original-insert-directory): Remove.
8505 (ls-lisp--insert-directory): Rename from insert-directory; add
8506 `orig-fun' argument.
8507 (insert-directory): Advise.
8509 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8511 * term.el (term-emulate-terminal): Decode the command string
8512 before passing it to term-command-hook. (Bug#15337)
8514 2013-09-13 Glenn Morris <rgm@gnu.org>
8516 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8518 * eshell/esh-ext.el (eshell-search-path): Declare.
8520 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8521 Otherwise an error occurs if eshell-dirs module not loaded.
8523 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8525 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8527 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8528 `tramp-check-proper-host'. Check for a valid method name.
8530 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8531 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8532 * net/tramp-sh.el (tramp-maybe-open-connection):
8533 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8535 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8536 also for hash values.
8538 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8540 * term/ns-win.el (parameters): Don't declare as dynamic.
8541 (before-make-frame-hook): Don't add ineffective function.
8543 * eshell/*.el: Use lexical-binding (bug#15231).
8545 2013-09-12 Kenichi Handa <handa@gnu.org>
8547 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8549 2013-09-12 Glenn Morris <rgm@gnu.org>
8551 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8552 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8554 * subr.el (do-after-load-evaluation): Also give compiler warnings
8555 when obsolete files are used (except by obsolete files).
8557 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8558 in the status output, assume `filename' is the first. (Bug#15322)
8560 * vc/vc.el (vc-deduce-fileset): Doc fix.
8562 * calc/calc-help.el (Info-goto-node):
8563 * progmodes/cperl-mode.el (Info-find-node):
8564 * vc/ediff.el (Info-goto-node): Update declarations.
8566 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8568 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8569 (vc-bzr-pull): Require vc-dispatcher.
8570 * vc/vc-git.el (vc-compilation-mode): Declare.
8571 (vc-git-pull): Require vc-dispatcher.
8573 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8575 * progmodes/octave.el (help-button-action): Declare.
8577 * shell.el (shell-directory-tracker): Output error as a message
8578 rather than just returning it as a string.
8579 (shell-process-pushd): Remove useless use of message.
8581 * dframe.el (dframe-timer-fn):
8582 * files.el (dir-locals-read-from-file):
8583 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8585 * reveal.el (reveal-post-command):
8586 * saveplace.el (load-save-place-alist-from-file):
8587 * shell.el (shell-resync-dirs):
8588 * w32-common-fns.el (x-get-selection-value):
8589 * emacs-lisp/copyright.el (copyright-find-copyright):
8590 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8591 * emulation/tpu-edt.el (tpu-copy-keyfile):
8592 * play/bubbles.el (bubbles--mark-neighbourhood):
8593 * progmodes/executable.el
8594 (executable-make-buffer-file-executable-if-script-p):
8595 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8597 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8599 Cleanup Eshell to rely less on dynamic scoping.
8600 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8601 last-value, and ext-command here. Bind `args' closer to `body'.
8602 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8603 (eshell--args): Declare new dynamic var.
8604 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8605 last-value, and ext-command. Pass `args' to `body'.
8606 (eshell-process-args): Bind eshell--args.
8607 (eshell-set-option): Use eshell--args.
8608 * eshell/eshell.el (eshell): Use derived-mode-p.
8609 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8610 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8611 (eshell-glob-function): Declare.
8612 * eshell/esh-util.el: Require cl-lib.
8613 (eshell-read-hosts-file): Avoid add-to-list.
8614 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8616 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8618 (eshell/diff): Remove unused var `err'.
8619 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8621 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8622 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8624 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8625 Move declaration before first use.
8626 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8627 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8630 2013-09-12 Glenn Morris <rgm@gnu.org>
8632 * term/ns-win.el (global-map): Remove binding for ispell-next,
8633 deleted 1999-05-29. (Bug#15357)
8635 2013-09-11 Glenn Morris <rgm@gnu.org>
8637 * echistory.el (electric-command-history): Remove call to deleted func.
8639 * play/landmark.el (landmark-mode): Fix typos.
8641 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8642 Check cvs-sort-ignore-file is bound.
8644 * savehist.el: No need for cl when compiling on Emacs.
8646 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8648 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8650 (eshell-self-insert-command, eshell-send-invisible):
8651 Remove unused argument.
8652 (eshell-handle-control-codes): Remove unused var `orig'.
8653 Avoid delete-backward-char.
8655 * files.el (set-auto-mode): Simplify a bit further.
8657 2013-09-11 Glenn Morris <rgm@gnu.org>
8659 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8660 (set-auto-mode): Don't regexp-quote elements.
8661 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8662 * progmodes/cc-mode.el (interpreter-mode-alist):
8663 * progmodes/ruby-mode.el (interpreter-mode-alist):
8664 Revert previous change.
8666 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8668 * play/snake.el (snake-mode):
8669 * play/mpuz.el (mpuz-mode):
8670 * play/landmark.el (lm-mode):
8671 * play/blackbox.el (blackbox-mode):
8672 * play/5x5.el (5x5-mode):
8673 * obsolete/options.el (Edit-options-mode):
8674 * net/quickurl.el (quickurl-list-mode):
8675 * net/newst-treeview.el (newsticker-treeview-mode):
8676 * mail/rmailsum.el (rmail-summary-mode):
8677 * mail/mspools.el (mspools-mode):
8678 * locate.el (locate-mode):
8679 * ibuffer.el (ibuffer-mode):
8680 * emulation/ws-mode.el (wordstar-mode):
8681 * emacs-lisp/debug.el (debugger-mode):
8682 * array.el (array-mode):
8683 * net/eudc.el (eudc-mode): Use define-derived-mode.
8684 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8685 Move initialization into declaration.
8686 (mairix-searches-mode): Use define-derived-mode.
8687 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8688 (eudc-edit-hotlist): Use dolist.
8689 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8690 (Man-mode): Use define-derived-mode.
8691 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8692 (Info-edit-mode): Use define-derived-mode.
8693 (Info-cease-edit): Use Info-mode.
8694 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8696 (eshell-mode): Use define-derived-mode.
8697 * chistory.el (command-history-mode-map): Rename from
8698 command-history-map.
8699 (command-history-mode): Use define-derived-mode.
8700 (Command-history-setup): Remove function.
8701 * calc/calc.el (calc-trail-mode-map): New var.
8702 (calc-trail-mode): Use define-derived-mode.
8703 (calc-trail-buffer): Set calc-main-buffer manually.
8704 * bookmark.el (bookmark-insert-annotation): New function.
8705 (bookmark-edit-annotation): Use it.
8706 (bookmark-edit-annotation-mode): Make it a proper major mode.
8707 (bookmark-send-edited-annotation): Use derived-mode-p.
8708 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8709 closer to its ideal place. Use \' to match EOS.
8711 * profiler.el (profiler-calltree-find): Use function-equal.
8713 2013-09-10 Glenn Morris <rgm@gnu.org>
8715 * files.el (interpreter-mode-alist): Convert to regexps.
8716 (set-auto-mode): Adapt for this. (Bug#15306)
8717 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8718 Comment out unused variable.
8719 * progmodes/cc-mode.el (interpreter-mode-alist):
8720 * progmodes/python.el (interpreter-mode-alist):
8721 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8722 * progmodes/sh-script.el (sh-set-shell):
8723 No longer use interpreter-mode-alist to get list of shells.
8725 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8727 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8729 * simple.el: Use set-temporary-overlay-map for universal-argument.
8730 (universal-argument-map): Don't use default-bindings (bug#15317).
8731 Bind switch-frame explicitly. Replace universal-argument-minus with
8732 a conditional binding.
8733 (universal-argument-num-events, saved-overriding-map): Remove.
8734 (restore-overriding-map): Remove.
8735 (universal-argument--mode): Rename from save&set-overriding-map,
8737 (universal-argument, universal-argument-more, negative-argument)
8738 (digit-argument): Adjust accordingly.
8739 (universal-argument-minus): Remove.
8740 (universal-argument-other-key): Remove.
8742 * subr.el (with-demoted-errors): Add `format' argument.
8744 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8746 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8747 `tramp-cleanup-connection'.
8749 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8750 parameters KEEP-DEBUG and KEEP-PASSWORD.
8752 * net/tramp.el (tramp-file-name-handler):
8753 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8754 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8755 (tramp-maybe-open-connection):
8756 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8757 Use `tramp-cleanup-connection'.
8759 * net/tramp-sh.el (tramp-maybe-open-connection):
8760 Catch 'uname-changed inside the progress reporter.
8762 2013-09-10 Glenn Morris <rgm@gnu.org>
8764 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8766 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8767 returns "alternate access method" in mode (eg "-rw-r--r--.").
8769 2013-09-08 Glenn Morris <rgm@gnu.org>
8771 * saveplace.el (load-save-place-alist-from-file):
8772 Demote errors. (Bug#15305)
8774 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8776 Improve compatibility with older Emacsen, and XEmacs.
8778 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8779 only if it is bound. It isn't for XEmacs.
8780 (with-tramp-progress-reporter): Do not let-bind `result'.
8781 This yields to scoping errors in XEmacs.
8782 (tramp-handle-make-auto-save-file-name): New function, moved from
8785 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8786 for `make-auto-save-file-name'.
8787 (tramp-adb--gnu-switches-to-ash):
8788 Use `tramp-compat-replace-regexp-in-string'.
8790 * net/tramp-cache.el (tramp-cache-print): Call
8791 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8793 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8794 bound. It isn't for XEmacs.
8796 * net/tramp-compat.el (tramp-compat-copy-file):
8797 Catch `wrong-number-of-arguments' error.
8798 (tramp-compat-replace-regexp-in-string): New defun.
8800 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8801 for `make-auto-save-file-name'.
8802 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8804 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8805 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8806 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8808 * net/tramp-gw.el (tramp-gw-open-network-stream):
8809 Use `tramp-compat-replace-regexp-in-string'.
8811 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8812 Call `tramp-handle-make-auto-save-file-name'.
8813 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8814 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8815 (tramp-sh-file-inotifywait-process-filter):
8816 Use `tramp-compat-replace-regexp-in-string'.
8817 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8819 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8820 for `make-auto-save-file-name'.
8821 (tramp-smb-handle-copy-directory):
8822 Call `tramp-compat-replace-regexp-in-string'.
8823 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8824 (tramp-smb-handle-copy-file): Improve error message.
8825 (tramp-smb-handle-rename-file): Rename directly only in case
8826 `newname' does not exist yet. This is a restriction of smbclient.
8827 (tramp-smb-maybe-open-connection): Rerun the function only when
8828 `auth-sources' is non-nil.
8830 2013-09-08 Kenichi Handa <handa@gnu.org>
8832 * international/characters.el: Set category "^" (Combining) for
8835 2013-09-07 Alan Mackenzie <acm@muc.de>
8837 Correctly fontify Java class constructors.
8838 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8840 (c-recognize-typeless-decls): Set the Java value to t.
8841 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8842 While handling a "(", add a check for, effectively, Java, and handle a
8843 "typeless" declaration there.
8845 2013-09-07 Roland Winkler <winkler@gnu.org>
8847 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8848 field subtitle for entry type book.
8850 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8852 * minibuffer.el: Make minibuffer-complete call completion-in-region
8853 rather than other way around.
8854 (completion--some, completion-pcm--find-all-completions):
8855 Don't delay signals when debugging.
8856 (minibuffer-completion-contents): Beware fields within the
8857 minibuffer contents.
8858 (completion-all-sorted-completions): Use defvar-local.
8859 (completion--do-completion, completion--cache-all-sorted-completions)
8860 (completion-all-sorted-completions, minibuffer-force-complete):
8861 Add args `beg' and `end'.
8862 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8863 (minibuffer-complete): Use completion-in-region.
8864 (completion-complete-and-exit): New fun, extracted from
8865 minibuffer-complete-and-exit.
8866 (minibuffer-complete-and-exit): Use it.
8867 (completion--complete-and-exit): Rename from
8868 minibuffer--complete-and-exit.
8869 (completion-in-region--single-word): New function, extracted from
8870 minibuffer-complete-word.
8871 (minibuffer-complete-word): Use it.
8872 (display-completion-list): Make `common-substring' argument obsolete.
8873 (completion--in-region): Call completion--in-region-1 instead of
8874 minibuffer-complete.
8875 (completion-help-at-point): Pass boundaries to
8876 minibuffer-completion-help as args rather than via an overlay.
8877 (completion-pcm--string->pattern): Use `any-delim'.
8878 (completion-pcm--optimize-pattern): New function.
8879 (completion-pcm--pattern->regex): Handle `any-delim'.
8880 * icomplete.el (icomplete-forward-completions)
8881 (icomplete-backward-completions, icomplete-completions):
8882 Adjust calls to completion-all-sorted-completions and
8883 completion--cache-all-sorted-completions.
8884 (icomplete-with-completion-tables): Default to t.
8885 * emacs-lisp/crm.el (crm--current-element): Rename from
8886 crm--select-current-element. Don't put an overlay but return the
8888 (crm--completion-command): Take two new args to bind to the boundaries.
8889 (crm-completion-help): Adjust accordingly.
8890 (crm-complete): Use completion-in-region.
8891 (crm-complete-word): Use completion-in-region--single-word.
8892 (crm-complete-and-exit): Use completion-complete-and-exit.
8894 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8896 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8899 2013-09-06 Juri Linkov <juri@jurta.org>
8901 * info.el (Info-display-images-node): When image file doesn't exist
8902 display text version of the image if it's provided in the Info file.
8903 Otherwise, display the location of missing image from SRC attribute.
8904 Add help-echo text property from ALT attribute. (Bug#15279)
8906 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8908 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8909 (edit-abbrevs-mode): Use define-derived-mode.
8911 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8912 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8914 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8915 Use define-derived-mode.
8917 * epg.el (epg-start-encrypt): Minor CSE simplification.
8919 2013-09-06 William Xu <william.xwl@gmail.com>
8921 * arc-mode.el: Add support for 7za (bug#15264).
8922 (archive-7z-program): New var.
8923 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8924 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8925 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8927 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
8931 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8932 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8933 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8934 (tramp-postfix-host-format, tramp-file-name-regexp)
8935 (tramp-completion-file-name-regexp)
8936 (tramp-completion-dissect-file-name)
8937 (tramp-handle-substitute-in-file-name): Remove 'url case.
8938 (tramp-file-name-regexp-url)
8939 (tramp-completion-file-name-regexp-url): Remove constants.
8941 2013-09-06 Glenn Morris <rgm@gnu.org>
8943 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8945 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8947 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8948 keywords" below "here-doc beginnings" (Bug#15270).
8950 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8952 * subr.el (pop): Use `car-safe'.
8953 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8954 to detect unused `pop' return value.
8956 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8958 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8959 (python-fill-string): Remove unused var `marker'.
8960 (python-skeleton-add-menu-items): Remove unused var `items'.
8962 * international/mule-cmds.el: Require CL.
8963 (find-coding-systems-for-charsets): Avoid add-to-list.
8964 (sanitize-coding-system-list): New function, extracted from
8965 select-safe-coding-system-interactively.
8966 (select-safe-coding-system-interactively): Use it.
8967 (read-input-method-name): Accept symbols for `default'.
8969 * emacs-lisp/advice.el (defadvice): Add indent rule.
8971 2013-09-05 Daniel Hackney <dan@haxney.org>
8975 * net/browse-url.el:
8978 * net/eudcb-ldap.el:
8991 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8992 byte compiler. Remove some unused let-bound variables.
8994 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8996 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8997 a "ref-cell", since it gets better optimized (bug#14883).
8999 2013-09-05 Glenn Morris <rgm@gnu.org>
9001 * progmodes/cc-awk.el (c-forward-sws): Declare.
9003 2013-09-04 Glenn Morris <rgm@gnu.org>
9005 * generic-x.el [rul-generic-mode]: Require cc-mode.
9006 (c++-mode-syntax-table): Declare.
9007 (rul-generic-mode-syntax-table): Init in the defvar.
9009 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9011 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9012 (vc-do-command, vc-set-async-update):
9013 * vc/vc-mtn.el (vc-mtn-dir-status):
9014 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9015 (vc-hg-pull, vc-hg-merge-branch):
9016 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9017 (vc-git-merge-branch):
9018 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9019 (vc-cvs-dir-status-files):
9020 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9021 (vc-bzr-dir-status-files):
9022 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9023 * vc/vc-annotate.el: Use lexical-binding.
9024 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9025 (vc-sentinel-movepoint): Declare.
9026 (vc-annotate): Don't use `goto-line'.
9027 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9028 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9029 (vc-sentinel-movepoint): Declare.
9030 * vc/vc-svn.el: Use lexical-binding.
9031 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9033 * vc/vc-rcs.el: Use lexical-binding.
9035 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9036 `deleted'. Don't drop errors silently.
9038 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9040 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9042 * vc/vc.el (vc-ignore): Rewrite.
9043 (vc-default-ignore): New function.
9044 (vc-default-ignore-completion-table): Use find-ignore-file.
9046 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9047 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9048 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9049 Remove. Most code moved to vc.el.
9051 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9053 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9054 * net/tramp-smb.el (tramp-smb-get-file-entries):
9055 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9056 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9058 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9060 (eww-change-select): Remove unused var `properties'.
9061 (eww-make-unique-file-name): Remove unused var `base'.
9063 * finder.el (finder-compile-keywords): Don't mess with windows.
9065 * calculator.el (calculator-funcall): Fix typo in last change.
9067 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9069 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9070 <pkg>-autoloads.el file stop us.
9072 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9073 warnings, and factor out common code.
9075 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9077 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9078 two-character operators and whether the character preceding them
9079 changes their meaning (Bug#15208).
9081 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9083 Format code sent to Python shell for robustness.
9084 * progmodes/python.el (python-shell-buffer-substring):
9086 (python-shell-send-region, python-shell-send-buffer): Use it.
9088 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9090 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9091 * net/tramp.el (tramp-user-error): ... here.
9092 (tramp-find-method, tramp-check-proper-host)
9093 (tramp-dissect-file-name, tramp-debug-message)
9094 (tramp-handle-shell-command):
9095 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9096 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9098 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9100 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9102 * avoid.el (mouse-avoidance-point-position)
9103 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9106 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9108 * progmodes/python.el (python-shell-completion-get-completions):
9109 Drop use of deleted `comint-last-prompt-overlay'.
9110 (python-nav-if-name-main): New command.
9112 2013-09-01 Glenn Morris <rgm@gnu.org>
9114 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9115 Avoid leading space in $wins. Otherwise the sed command used by
9116 eg compile-main ends up containing "/*.el". (Bug#15170)
9118 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9120 2013-08-30 Glenn Morris <rgm@gnu.org>
9122 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9123 Fix is-this-a-directory logic. (Bug#15220)
9125 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9127 * textmodes/css-mode.el: Use SMIE.
9128 (css-smie-grammar): New var.
9129 (css-smie--forward-token, css-smie--backward-token)
9130 (css-smie-rules): New functions.
9131 (css-mode): Use them.
9132 (css-navigation-syntax-table): Remove var.
9133 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9134 (css-indent-calculate, css-indent-line): Remove functions.
9136 Misc changes to reduce use of `(lambda...); and other cleanups.
9137 * cus-edit.el: Use lexical-binding.
9138 (customize-push-and-save, customize-apropos)
9139 (custom-buffer-create-internal): Use closures.
9140 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9141 * progmodes/ada-xref.el: Use setq.
9142 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9143 * dframe.el: Use lexical-binding.
9144 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9145 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9146 * descr-text.el: Use lexical-binding.
9147 (describe-text-widget, describe-text-sexp, describe-property-list):
9149 * comint.el (comint-history-isearch-push-state): Use a closure.
9150 * calculator.el: Use lexical-binding.
9151 (calculator-number-to-string): Make it work with lexical-binding.
9152 (calculator-funcall): Same and use cl-letf.
9154 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9155 (lisp--company-doc-string, lisp--company-location): New functions.
9156 (lisp-completion-at-point): Use them to improve Company support.
9158 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9159 params of lambda expressions.
9160 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9161 (ruby-smie--opening-pipe-p): New function.
9162 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9163 symbols and matched |...| for formal params.
9164 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9165 from being treated as hanging. Handle "rescue".
9167 2013-08-29 Glenn Morris <rgm@gnu.org>
9169 * progmodes/cc-engine.el (c-pull-open-brace):
9170 Move definition before use.
9172 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9174 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9175 are immutable. Don't use `unsafe' any more.
9176 (cl--defsubst-expand): Don't substitute at the same time as keeping
9177 a residual unused let-binding. Don't use `unsafe' any more.
9179 2013-08-29 Glenn Morris <rgm@gnu.org>
9181 * calendar/cal-china.el (calendar-chinese-year-cache):
9184 * nxml/nxml-util.el (nxml-debug-clear-inside):
9185 Use cl-loop rather than loop.
9187 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9189 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9191 2013-08-28 Glenn Morris <rgm@gnu.org>
9193 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9195 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9197 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9199 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9201 * simple.el (repeat-complex-command--called-interactively-skip):
9203 (repeat-complex-command): Use it (bug#14136).
9205 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9206 (c-define-abbrev-table): Add `doc' argument.
9207 (c-mode-abbrev-table, c++-mode-abbrev-table)
9208 (objc-mode-abbrev-table, java-mode-abbrev-table)
9209 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9210 (awk-mode-abbrev-table): Use it.
9211 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9212 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9213 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9214 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9215 Move initialization into the declaration; and remove any
9218 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9219 and dynamic let binding.
9221 * vc/smerge-mode.el: Remove redundant :group args.
9223 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9226 2013-08-28 Juri Linkov <juri@jurta.org>
9228 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9229 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9230 (isearch-other-meta-char): Handle an undefined shifted printing
9231 character by downshifting it. (Bug#15200)
9233 2013-08-28 Juri Linkov <juri@jurta.org>
9235 * isearch.el (isearch-search): Change regexp error message for
9236 non-regexp searches. (Bug#15166)
9238 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9240 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9241 for portability to hosts where /bin/sh has problems.
9243 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9245 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9247 2013-08-27 Juri Linkov <juri@jurta.org>
9249 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9250 in the keyboard macro. (Bug#15126)
9252 2013-08-27 Juri Linkov <juri@jurta.org>
9254 * isearch.el (isearch-quote-char): Comment out converting unibyte
9255 to multibyte, thus syncing with its `quoted-insert' counterpart.
9258 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9260 * window.el (display-buffer-use-some-window): Add missing
9261 argument in call of get-largest-window (Bug#15185).
9262 Reported by Stephen Leake.
9264 2013-08-27 Glenn Morris <rgm@gnu.org>
9266 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9268 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9270 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9271 from a matcher-function unless there's no more matches (bug#15161).
9273 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9275 * minibuffer.el: Revert change from 2013-08-20.
9277 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9278 with text property `tramp-default', if appropriate.
9279 (tramp-check-proper-host): New defun.
9280 (tramp-dissect-file-name): Do not check hostname. Revert change
9282 (tramp-backtrace): Make VEC-OR-PROC optional.
9284 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9285 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9286 * net/tramp-sh.el (tramp-maybe-open-connection):
9287 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9288 Apply `tramp-check-proper-host'.
9290 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9292 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9293 lambda expression in order to have `describe-variable' display it.
9295 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9297 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9298 BUF can be optional. (Bug#15186)
9300 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9302 * progmodes/flymake.el (flymake-get-real-file-name-function):
9303 Fix broken customization. (Bug#15184)
9305 2013-08-25 Alan Mackenzie <acm@muc.de>
9307 Improve indentation of bracelists defined by macros (without "=").
9309 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9310 expansion begins with "{", regard it as bracelist when it doesn't
9313 Parse C++ inher-intro when there's a template split over 2 lines.
9315 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9316 rigorously the search for "class" etc. followed by ":".
9318 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9319 random languages a regexp which never matches rather than nil.
9321 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9323 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9324 (c-awk-regexp-one-line-possibly-open-char-list-re)
9325 (c-awk-one-line-possibly-open-regexp-re)
9326 (c-awk-one-line-non-syn-ws*-re): Remove.
9327 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9328 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9329 (c-awk-space*-unclosed-regexp-/-re): New constants.
9330 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9331 aren't regexp delimiters.
9333 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9334 handling for a rare situation in AWK Mode involving unterminated
9337 2013-08-23 Glenn Morris <rgm@gnu.org>
9339 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9341 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9343 * files.el (create-file-buffer): If the result would begin with
9344 spaces, prepend a "|" instead of removing them. (Bug#15162)
9346 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9348 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9349 text-properties (bug#15155).
9351 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9353 (calc-keypad-redraw): Remove unused var `pad'.
9354 (calc-keypad-press): Remove unused var `menu'.
9356 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9358 * window.el (display-buffer-pop-up-frame):
9359 Call pop-up-frame-function with BUFFER current so `make-frame' will
9360 use it as the new frame's buffer (Bug#15133).
9362 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9364 * calendar/timeclock.el: Minor cleanups.
9365 (timeclock-ask-before-exiting, timeclock-use-display-time):
9367 (timeclock-modeline-display): Define as alias before the
9369 (timeclock-mode-line-display): Use define-minor-mode.
9370 (timeclock-day-list-template): Make it a function, add an argument.
9371 (timeclock-day-list-required, timeclock-day-list-length)
9372 (timeclock-day-list-debt, timeclock-day-list-span)
9373 (timeclock-day-list-break): Adjust calls accordingly.
9375 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9377 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9378 Use read--expression so that completion works again.
9380 2013-08-21 Sam Steingold <sds@gnu.org>
9382 Add rudimentary inferior shell interaction
9383 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9384 (sh-set-shell): Reset it.
9385 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9386 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9388 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9390 * align.el: Use lexical-binding.
9391 (align-region): Simplify accordingly.
9393 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9395 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9397 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9400 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9404 * net/tramp-cmds.el:
9406 * net/tramp-gvfs.el:
9408 * net/tramp-sh.el: Don't wrap external variable declarations by
9409 `eval-when-compile'.
9411 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9413 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9414 now that Emacs supports ImageMagick animations.
9416 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9418 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9419 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9421 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9423 * window.el (mouse-autoselect-window-select): Do autoselect when
9424 mouse pointer is on margin.
9426 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9428 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9430 2013-08-16 Glenn Morris <rgm@gnu.org>
9432 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9433 Handle "Remote Directory" response of some clients. (Bug#15058)
9435 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9436 Tweak warning. (Bug#14926)
9438 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9439 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9441 * image-mode.el (image-mode-map): Add menu items to reverse,
9442 increase, decrease, reset animation speed.
9443 (image--set-speed, image-increase-speed, image-decrease-speed)
9444 (image-reverse-speed, image-reset-speed): New functions.
9445 (image-mode-map): Add bindings for speed commands.
9447 * image.el (image-animate-get-speed, image-animate-set-speed):
9449 (image-animate-timeout): Respect image :speed property.
9451 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9453 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9454 previous line (bug#15101).
9455 (debugger-eval-expression, debugger-record-expression):
9456 Use read--expression (bug#15102).
9458 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9460 Remove byte compiler warnings, visible when compiling with
9461 `byte-compile-force-lexical-warnings' set to t.
9463 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9464 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9465 (tramp-handle-unhandled-file-name-directory)
9466 (tramp-handle-file-notify-add-watch, tramp-action-login)
9467 (tramp-action-succeed, tramp-action-permission-denied)
9468 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9471 * net/tramp-adb.el (tramp-adb-parse-device-names)
9472 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9473 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9474 (tramp-adb-handle-file-truename): Remove unused arguments.
9476 * net/tramp-cache.el (tramp-flush-directory-property)
9477 (tramp-flush-connection-property, tramp-list-connections)
9478 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9480 * net/tramp-compat.el (tramp-compat-make-temp-file):
9481 Rename FILENAME to F.
9483 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9484 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9485 (tramp-zeroconf-parse-workstation-device-names)
9486 (tramp-zeroconf-parse-webdav-device-names)
9487 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9489 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9490 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9492 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9494 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9495 (tramp-sh-handle-insert-file-contents-literally)
9496 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9498 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9499 Remove unused variables.
9501 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9502 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9503 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9505 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9506 Make them a defconst.
9507 (tramp-uuencode-region): Remove unused variable.
9509 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9511 * frameset.el (frameset--prop-setter): New function.
9512 (frameset-prop): Add gv-setter declaration.
9513 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9514 parameter was already set in FILTERED. Doc fix.
9515 (frameset--record-minibuffer-relationships): Allow saving a
9516 minibufferless frame without its corresponding minibuffer frame.
9517 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9518 frame, if the frame id matches.
9519 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9520 frames before orphaned ones.
9521 (frameset-restore): Warn about orphaned windows, instead of error out.
9523 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9525 * window.el (window-make-atom): Don't overwrite parameter
9527 (display-buffer-in-atom-window): Handle special case where we
9528 split an already atomic window.
9529 (window--major-non-side-window, display-buffer-in-side-window)
9530 (window--side-check): Ignore minibuffer window when walking
9532 (window-deletable-p): Return 'frame only if no other frame uses
9533 our minibuffer window.
9534 (record-window-buffer): Run buffer-list-update-hook.
9535 (split-window): Make sure window--check-frame won't destroy an
9536 existing atomic window in case the new window gets nested
9538 (display-buffer-at-bottom): Ignore minibuffer window when
9539 walking window tree. Don't split a side window.
9540 (pop-to-buffer): Don't set-buffer here, the select-window call
9542 (mouse-autoselect-window-select): Autoselect only if we are in the
9543 text portion of the window.
9545 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9547 * net/shr.el (shr-parse-image-data): New function to grab both the
9548 data itself and the Content-Type.
9549 (shr-put-image): Use it.
9551 * net/eww.el (eww-display-image): Ditto.
9553 * image.el (image-content-type-suffixes): New variable.
9555 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9557 * progmodes/python.el (python-imenu--build-tree)
9558 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9560 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9562 * simple.el (backward-word): Mention the optional argument.
9564 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9566 * frameset.el (frameset--make): Rename constructor from make-frameset.
9567 (frameset-p, frameset-valid-p): Don't autoload.
9568 (frameset-valid-p): Use normal accessors.
9570 2013-08-13 Glenn Morris <rgm@gnu.org>
9572 * progmodes/compile.el (compile-command): Tweak example in doc.
9573 * obsolete/scribe.el (scribe-mode):
9574 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9576 * mail/feedmail.el (feedmail-confirm-outgoing)
9577 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9579 * cus-start.el (truncate-partial-width-windows): Fix type.
9581 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9583 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9585 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9587 * emacs-lisp/timer.el (timer--time-setter): New function.
9588 (timer--time): Use it as gv-setter.
9590 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9591 setter is not a symbol.
9593 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9595 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9596 if sending fails. This makes debugging easier.
9598 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9600 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9601 revno:113793, which breaks the test suite).
9602 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9604 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9606 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9608 2013-08-12 Glenn Morris <rgm@gnu.org>
9610 * format.el (format-annotate-function):
9611 Handle read-only text properties in the source. (Bug#14887)
9613 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9615 * net/eww.el (eww-display-html): Ignore coding system errors.
9616 One web site uses "utf-8lias" as the coding system.
9618 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9620 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9622 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9624 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9625 (tutorial--detailed-help): Remove unused local variables.
9626 (tutorial--save-tutorial-to): Use ignore-errors.
9627 (help-with-tutorial): Use looking-at-p.
9629 * view.el (view-buffer-other-window, view-buffer-other-frame):
9630 Mark unused arguments.
9632 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9633 (woman-select-symbol-fonts, woman, woman-find-file)
9634 (woman-insert-file-contents, woman-non-underline-faces):
9636 (woman1-unquote): Move declaration.
9638 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9639 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9640 argument. Remove unused local variable.
9641 (xml-parse-elem-type): Use string-match-p.
9642 (xml-substitute-numeric-entities): Use ignore-errors.
9644 * calculator.el (calculator): Mark unused argument.
9645 (calculator-paste, calculator-quit, calculator-integer-p):
9647 (calculator-string-to-number, calculator-decimal, calculator-exp)
9648 (calculator-op-or-exp): Use string-match-p.
9650 * dired.el (dired-buffer-more-recently-used-p): Declare.
9651 (dired-insert-set-properties, dired-insert-old-subdirs):
9654 * dired-aux.el (dired-compress): Use ignore-errors.
9655 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9656 (dired-do-async-shell-command, dired-do-shell-command)
9657 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9658 (dired-insert-subdir-validate): Use string-match-p.
9659 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9660 (dired-add-entry): Use string-match-p, looking-at-p.
9661 (dired-insert-subdir-newpos): Remove unused local variable.
9663 * filenotify.el (file-notify-callback): Remove unused local variable.
9665 * filesets.el (filesets-error): Mark unused argument.
9666 (filesets-which-command-p, filesets-filter-dir-names)
9667 (filesets-directory-files, filesets-get-external-viewer)
9668 (filesets-ingroup-get-data): Use string-match-p.
9670 * find-file.el (ff-other-file-name, ff-other-file-name)
9671 (ff-find-the-other-file, ff-cc-hh-converter):
9672 Remove unused local variables.
9673 (ff-get-file-name): Use string-match-p.
9674 (ff-all-dirs-under): Use ignore-errors.
9676 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9677 (follow-select-if-visible): Remove unused local variable.
9679 * forms.el (read-file-filter): Move declaration.
9680 (forms--make-format, forms--make-parser, forms-insert-record):
9681 Quote function with #'.
9682 (forms--update): Use string-match-p. Quote function with #'.
9684 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9685 (help-make-xrefs): Use looking-at-p.
9686 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9688 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9689 (ibuffer-confirm-operation-on): Use string-match-p.
9691 * msb.el (msb-item-handler, msb-dired-item-handler):
9692 Mark unused arguments.
9694 * ses.el (ses-decode-cell-symbol)
9695 (ses-kill-override): Remove unused local variable.
9696 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9697 (ses-load): Use ignore-errors, looking-at-p.
9698 (ses-jump-safe): Use ignore-errors.
9699 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9701 * tabify.el (untabify, tabify): Mark unused arguments.
9703 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9704 Mark unused argument.
9705 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9706 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9708 * emacs-lisp/timer.el (timer--time): Define setter with
9709 gv-define-setter to avoid deprecation warning.
9711 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9712 (*record-cmpl-statistics-p*): Remove (was commented out).
9713 (cmpl-statistics-block): Remove (body was commented out).
9714 All callers changed.
9715 (add-completions-from-buffer, load-completions-from-file):
9716 Remove unused variables.
9718 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9720 * filecache.el (file-cache-delete-file-list):
9721 Print message only when told so.
9722 (file-cache-files-matching): Use #' in mapconcat argument.
9724 * ffap.el (ffap-url-at-point): Fix reference to variable
9725 thing-at-point-default-mail-uri-scheme.
9727 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9729 * subr.el (define-error): New function.
9730 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9731 error-file-not-found and define with define-error.
9732 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9733 and define with define-error.
9734 * userlock.el (file-locked, file-supersession):
9735 * simple.el (mark-inactive):
9736 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9737 * progmodes/ada-mode.el (ada-mode-errors):
9738 * play/life.el (life-extinct):
9739 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9740 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9741 * nxml/rng-util.el (rng-error):
9742 * nxml/rng-uri.el (rng-uri-error):
9743 * nxml/rng-match.el (rng-compile-error):
9744 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9745 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9746 * nxml/nxml-rap.el (nxml-scan-error):
9747 * nxml/nxml-outln.el (nxml-outline-error):
9748 * net/soap-client.el (soap-error):
9749 * net/gnutls.el (gnutls-error):
9750 * net/ange-ftp.el (ftp-error):
9751 * mpc.el (mpc-proc-error):
9752 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9753 (json-number-format, json-string-escape, json-string-format)
9754 (json-key-format, json-object-format):
9755 * jka-compr.el (compression-error):
9756 * international/quail.el (quail-error):
9757 * international/kkc.el (kkc-error):
9758 * emacs-lisp/ert.el (ert-test-failed):
9759 * calc/calc.el (calc-error, inexact-result, math-overflow)
9761 * bookmark.el (bookmark-error-no-filename):
9762 * epg.el (epg-error): Define with define-error.
9764 * time.el (display-time-event-handler)
9765 (display-time-next-load-average): Don't call sit-for since it seems
9766 unnecessary (bug#15045).
9768 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9769 Use #' instead of ' to quote functions.
9770 (checkdoc-output-mode): Use setq-local.
9771 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9772 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9773 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9774 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9775 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9776 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9777 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9778 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9780 * ido.el (ido-completion-help): Fix up compiler warning.
9782 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9784 * frameset.el (frameset-p): Add autoload cookie.
9785 (frameset--jump-to-register): New function, based on code moved from
9787 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9789 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9790 (frameset-restore, frameset-save, frameset-session-filter-alist):
9791 Remove declarations.
9792 (register-alist): Doc fix.
9793 (frameset-to-register): Move to frameset.el.
9794 (jump-to-register, describe-register-1): Remove frameset-specific code.
9796 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9798 * allout-widgets.el (allout-widgets-pre-command-business)
9799 (allout-widgets-post-command-business)
9800 (allout-widgets-after-change-handler)
9801 (allout-decorate-item-and-context, allout-set-boundary-marker)
9802 (allout-body-modification-handler)
9803 (allout-graphics-modification-handler): Mark ignored arguments.
9804 (allout-widgets-post-command-business)
9805 (allout-widgets-exposure-change-processor)
9806 (allout-widgets-exposure-undo-processor)
9807 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9808 (allout-parse-item-at-point, allout-decorate-item-guides)
9809 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9810 * allout.el (epa-passphrase-callback-function): Declare.
9811 (allout-overlay-insert-in-front-handler)
9812 (allout-overlay-interior-modification-handler)
9813 (allout-isearch-end-handler, allout-chart-siblings)
9814 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9815 (allout-yank-processing, allout-process-exposed)
9816 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9817 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9818 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9819 (lisp-indent-defform): Mark ignored arguments.
9820 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9821 (calculate-lisp-indent): Remove unused variables.
9822 * international/characters.el (indian-2-column, arabic-2-column)
9823 (tibetan): Mark ignored arguments.
9824 (use-cjk-char-width-table): Mark ignored arguments.
9825 Remove unused variables.
9826 * international/fontset.el (build-default-fontset-data)
9827 (x-compose-font-name, create-fontset-from-fontset-spec):
9828 Mark ignored arguments.
9829 (fontset-plain-name): Remove unused variables.
9830 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9831 (keyboard-coding-system): Mark ignored arguments.
9832 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9833 * help.el (resize-temp-buffer-window):
9834 * window.el (display-buffer-in-major-side-window)
9835 (display-buffer-in-side-window, display-buffer-in-previous-window):
9836 Remove unused variables.
9837 * isearch.el (isearch-forward-symbol):
9838 * version.el (emacs-bzr-version-bzr):
9839 * international/mule-cmds.el (current-language-environment):
9840 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9842 * term/pc-win.el (x-list-fonts, x-display-planes)
9843 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9844 (x-server-version, x-display-screens, x-display-mm-height)
9845 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9846 (x-selection-owner-p, x-own-selection-internal)
9847 (x-disown-selection-internal, x-get-selection-internal)
9848 (msdos-initialize-window-system):
9849 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9850 * term/x-win.el (x-handle-no-bitmap-icon):
9851 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9852 (vc-default-find-file-hook, vc-default-extra-menu):
9853 Mark ignored arguments.
9855 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9857 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9858 break-condition in the context of the debugged code (bug#12685).
9860 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9863 Do not use an overlay to highlight the last prompt. (Bug#14744)
9864 (comint-mode): Make comint-last-prompt buffer local.
9865 (comint-last-prompt): New variable.
9866 (comint-last-prompt-overlay): Remove. Superseded by
9868 (comint-snapshot-last-prompt, comint-output-filter):
9869 Use comint-last-prompt.
9871 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9873 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9874 (frameset-save): Check validity of the resulting frameset.
9876 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9878 * ido.el (ido-record-command): Add doc string.
9880 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9882 * frameset.el (frameset): Do not disable creation of the default
9883 frameset-p predicate. Doc fix.
9884 (frameset-valid-p): New function, copied from the old predicate-p.
9885 Add additional checks.
9886 (frameset-restore): Check with frameset-valid-p.
9887 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9888 (frameset-name, frameset-description, frameset-properties)
9889 (frameset-states): Add docstring.
9890 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9891 (frameset-filter-alist): Doc fixes.
9893 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9895 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9897 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9899 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9900 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9901 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9902 (byte-compile-normal-call): Remove obsolescence check.
9904 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9906 * frameset.el (frameset-restore): Doc fix.
9908 * register.el (frameset-frame-id, frameset-frame-with-id)
9909 (frameset-p, frameset-restore, frameset-save): Declare.
9910 (register-alist): Document framesets.
9911 (frameset-session-filter-alist): Declare.
9912 (frameset-to-register): New function.
9913 (jump-to-register): Implement jumping to framesets. Doc fix.
9914 (describe-register-1): Describe framesets.
9916 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9918 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
9920 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9921 Use lexical-binding.
9923 * frameset.el (frameset): Use type vector, not list (incompatible
9924 change). Do not declare a new constructor, use the default one.
9925 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9926 `name' and `description', respectively, and add read-only slot
9927 `timestamp'. Doc fixes.
9928 (frameset-copy, frameset-persistent-filter-alist)
9929 (frameset-filter-alist, frameset-switch-to-gui-p)
9930 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9931 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9932 (frameset-filter-iconified, frameset-keep-original-display-p):
9934 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9935 Rename from frameset-filter-(save|restore)-param. All callers changed.
9937 (frameset-p): Adapt to change to vector and be more thorough.
9938 Change arg name to OBJECT. Doc fix.
9939 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9940 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9941 All callers changed.
9942 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9943 All callers changed.
9944 (frameset--record-minibuffer-relationships): Rename from
9945 frameset--process-minibuffer-frames. All callers changed.
9946 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9947 Use new default constructor (again). Doc fix.
9948 (frameset--find-frame-if): Rename from `frameset--find-frame'.
9949 All callers changed.
9950 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9951 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9953 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9954 PARAMETERS and WINDOW-STATE, respectively.
9955 (frameset-restore): Add new keyword argument PREDICATE.
9956 Reset frameset--target-display to nil. Doc fix.
9958 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9960 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9962 (bat-mode-syntax-table): Mark \n as end-of-comment.
9963 (bat-font-lock-keywords): Remove comment rule.
9965 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9966 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9968 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9969 (byte-compile-callargs-warn): Use `push'.
9970 (byte-compile-arglist-warn): Ignore higher-order "calls".
9971 (byte-compile-file-form-autoload): Use `pcase'.
9972 (byte-compile-function-form): If quoting a symbol, check that it exists.
9974 2013-08-07 Eli Zaretskii <eliz@gnu.org>
9976 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9977 and add a few popular commands found in batch files.
9978 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9979 (dos-mode): Doc fixes.
9981 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9983 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9984 (dos-mode): Use setq-local. Add space after "rem".
9985 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9986 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9988 2013-08-07 Arni Magnusson <arnima@hafro.is>
9990 * progmodes/dos.el: New file.
9991 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9994 2013-08-06 Glenn Morris <rgm@gnu.org>
9996 * calendar/calendar.el: Add new faces, and day-header-array.
9997 (calendar-weekday-header, calendar-weekend-header)
9998 (calendar-month-header): New faces.
9999 (calendar-day-header-construct): New function.
10000 (calendar-day-header-width): Also :set calendar-day-header-array.
10001 (calendar-american-month-header, calendar-european-month-header)
10002 (calendar-iso-month-header): Use calendar- faces.
10003 (calendar-generate-month):
10004 Use calendar-day-header-array for day headers; apply faces to them.
10005 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10006 (calendar-abbrev-construct): Add optional maxlen argument.
10007 (calendar-day-name-array): Doc fix.
10008 (calendar-day-name-array, calendar-abbrev-length)
10009 (calendar-day-abbrev-array):
10010 Also :set calendar-day-header-array, and maybe redraw.
10011 (calendar-day-header-array): New option. (Bug#15007)
10012 (calendar-font-lock-keywords): Set to nil and make obsolete.
10013 (calendar-day-name): Add option to use header array.
10015 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10017 * net/shr.el (shr-render-td): Remove debugging.
10018 (shr-render-td): Make width computation consistent by defaulting
10019 all zero-width columns to 10 characters. This may not be optimal,
10020 but it's at least consistent.
10021 (shr-make-table-1): Redo last change to fix the real problem in
10024 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10026 * files.el (cache-long-line-scans):
10027 Make obsolete alias to `cache-long-scans'.
10029 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10031 * frameset.el (frameset, frameset-filter-alist)
10032 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10033 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10034 (frameset-compute-pos): Rename from frameset--compute-pos,
10036 (frameset-move-onscreen): Use frameset-compute-pos.
10037 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10039 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10040 Fix typos in docstrings.
10042 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10044 * frame.el (get-other-frame): Tiny cleanup.
10046 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10048 * vc/vc.el (vc-default-ignore-completion-table):
10049 Silence byte-compiler warning.
10051 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10052 slot, which can indeed be nil.
10053 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10054 Move entry for `left' from persistent to live filter alist.
10055 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10057 (frameset-filter-params): When restoring a frame, copy items added to
10058 `filtered', to avoid unwittingly modifying the original parameters.
10059 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10060 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10062 * dired.el (dired-insert-directory): Revert change in revno:113117
10063 to use looking-at-p instead of looking-at. (Bug#15028)
10065 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10067 Revert introduction of isearch-filter-predicates (bug#14714).
10068 Rely on add-function instead.
10069 * isearch.el (isearch-filter-predicates): Rename it back to
10070 isearch-filter-predicate.
10071 (isearch-message-prefix): Use advice-function-mapc and advice
10072 properties to get the isearch-message-prefix.
10073 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10074 instead of run-hook-with-args-until-failure.
10075 (isearch-filter-visible): Not obsolete any more.
10076 * loadup.el: Preload nadvice.
10077 * replace.el (perform-replace): Revert to funcall
10078 instead of run-hook-with-args-until-failure.
10079 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10080 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10081 dired-isearch-filenames-toggle; make it into a proper minor mode.
10082 Use add/remove-function.
10083 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10084 Call the minor-mode rather than add/remove-hook.
10085 (dired-isearch-filter-filenames):
10086 Remove isearch-message-prefix property.
10087 * info.el (Info--search-loop): New function, extracted from Info-search.
10088 Funcall isearch-filter-predicate instead of
10089 run-hook-with-args-until-failure isearch-filter-predicates.
10090 (Info-search): Use it.
10091 (Info-mode): Use isearch-filter-predicate instead of
10092 isearch-filter-predicates.
10094 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10096 Do not call to `selected-window' where it is assumed by default.
10097 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10098 `window-hscroll', `window-width', `window-height', `window-buffer',
10099 `window-frame', `window-start', `window-point', `next-window'
10100 and `window-display-table'.
10101 * abbrev.el (abbrev--default-expand):
10102 * bs.el (bs--show-with-configuration):
10103 * buff-menu.el (Buffer-menu-mouse-select):
10104 * calc/calc.el (calc):
10105 * calendar/calendar.el (calendar-generate-window):
10106 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10107 (diary-make-entry):
10108 * comint.el (send-invisible, comint-dynamic-complete-filename)
10109 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10110 * completion.el (complete):
10111 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10112 * disp-table.el (describe-current-display-table):
10113 * doc-view.el (doc-view-insert-image):
10114 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10115 * ehelp.el (with-electric-help):
10116 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10117 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10118 * emacs-lisp/helper.el (Helper-help-scroller):
10119 * emulation/cua-base.el (cua--post-command-handler-1):
10120 * eshell/esh-mode.el (eshell-output-filter):
10121 * ffap.el (ffap-gnus-wrapper):
10122 * help-macro.el (make-help-screen):
10123 * hilit-chg.el (highlight-compare-buffers):
10124 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10125 * hl-line.el (global-hl-line-highlight):
10126 * icomplete.el (icomplete-simple-completing-p):
10127 * isearch.el (isearch-done):
10128 * jit-lock.el (jit-lock-stealth-fontify):
10129 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10130 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10131 * mpc.el (mpc-tagbrowser, mpc):
10132 * net/rcirc.el (rcirc-any-buffer):
10133 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10134 * play/landmark.el (landmark-max-width, landmark-max-height):
10135 * play/zone.el (zone):
10136 * progmodes/compile.el (compilation-goto-locus):
10137 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10138 * progmodes/etags.el (find-tag-other-window):
10139 * progmodes/fortran.el (fortran-column-ruler):
10140 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10141 * progmodes/verilog-mode.el (verilog-point-text):
10142 * reposition.el (reposition-window):
10143 * rot13.el (toggle-rot13-mode):
10144 * server.el (server-switch-buffer):
10145 * shell.el (shell-dynamic-complete-command)
10146 (shell-dynamic-complete-environment-variable):
10147 * simple.el (insert-buffer, set-selective-display)
10148 (delete-completion-window):
10149 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10150 (speedbar-recenter):
10151 * startup.el (fancy-splash-head):
10152 * textmodes/ispell.el (ispell-command-loop):
10153 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10154 * tutorial.el (help-with-tutorial):
10155 * vc/add-log.el (add-change-log-entry):
10156 * vc/compare-w.el (compare-windows):
10157 * vc/ediff-help.el (ediff-indent-help-message):
10158 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10159 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10160 (ediff-setup-control-frame):
10161 * vc/emerge.el (emerge-position-region):
10162 * vc/pcvs-util.el (cvs-bury-buffer):
10163 * window.el (walk-windows, mouse-autoselect-window-select):
10164 * winner.el (winner-set-conf, winner-undo): Related users changed.
10166 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10168 * frameset.el (frameset--set-id): Doc fix.
10169 (frameset-frame-id, frameset-frame-id-equal-p)
10170 (frameset-locate-frame-id): New functions.
10171 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10172 (frameset-restore): Use them.
10174 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10176 Do not call to `selected-frame' where it is assumed by default.
10177 Affected functions are `raise-frame', `redraw-frame',
10178 `frame-first-window', `frame-terminal' and `delete-frame'.
10179 * calendar/appt.el (appt-disp-window):
10180 * epg.el (epg-wait-for-completion):
10181 * follow.el (follow-delete-other-windows-and-split)
10182 (follow-avoid-tail-recenter):
10183 * international/mule.el (set-terminal-coding-system):
10184 * mail/rmail.el (rmail-mail-return):
10185 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10186 * progmodes/f90.el (f90-add-imenu-menu):
10187 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10188 * server.el (server-switch-buffer):
10189 * simple.el (delete-completion-window):
10191 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10192 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10193 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10194 * vc/ediff.el (ediff-documentation): Related users changed.
10195 * frame.el (selected-terminal): Remove the leftover.
10197 2013-08-05 Glenn Morris <rgm@gnu.org>
10199 * calendar/calendar.el (calendar-generate-month):
10200 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10201 (calendar-generate-month, calendar-font-lock-keywords):
10202 Fix for calendar-day-header-width > length of any day name.
10204 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10206 * desktop.el (desktop-clear): Use new name of sort predicate.
10208 * frameset.el (frameset): Add docstring. Move :version property to its
10209 own `version' slot.
10210 (frameset-copy): Rename from copy-frameset.
10211 (frameset-p): Check more thoroughly.
10212 (frameset-prop): Do not check for :version, which is no longer a prop.
10213 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10214 Use new :never value instead of t.
10215 (frameset-filter-alist): Expand and clarify docstring.
10216 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10217 (frameset-filter-minibuffer, frameset-filter-save-param)
10218 (frameset-filter-restore-param, frameset-filter-iconified):
10219 Add pointer to docstring of frameset-filter-alist.
10220 (frameset-filter-params): Rename filter values to be more meaningful:
10221 :never instead of t, and reverse the meanings of :save and :restore.
10222 (frameset--process-minibuffer-frames): Clarify error message.
10223 (frameset-save): Avoid unnecessary and confusing call to framep.
10224 Use new BOA constructor for framesets.
10225 (frameset--reuse-list): Doc fix.
10226 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10227 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10228 (frameset-minibufferless-first-p): Doc fix.
10229 Rename from frameset-sort-frames-for-deletion.
10230 (frameset-restore): Doc fixes. Use new function names.
10231 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10233 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10235 * desktop.el (desktop-restore-forces-onscreen)
10236 (desktop-restore-reuses-frames): Document :keyword constant values.
10237 (desktop-filter-parameters-alist): Remove, now identical to
10238 frameset-filter-alist.
10239 (desktop--filter-tty*): Remove, moved to frameset.el.
10240 (desktop-save-frameset, desktop-restore-frameset):
10241 Do not pass :filters argument.
10243 * frameset.el (frameset-live-filter-alist)
10244 (frameset-persistent-filter-alist): New variables.
10245 (frameset-filter-alist): Use them. Add autoload cookie.
10246 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10247 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10248 `frameset--id' (it's supposed to be internal to frameset.el).
10249 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10250 (frameset--initial-params): New function.
10251 (frameset--get-frame): Use it. Doc fix.
10252 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10253 Accept :all, not 'all.
10254 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10255 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10256 with fbound symbols. Fix frame id matching, and remove matching ids if
10257 the frame being restored is deleted. Obey :delete.
10259 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10261 * subr.el (macrop): New function.
10262 (text-clone--maintaining): New var.
10263 (text-clone--maintain): Rename from text-clone-maintain. Use it
10264 instead of inhibit-modification-hooks.
10266 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10267 a proxy, so as handle autoloads and redefinitions of the target.
10268 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10270 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10271 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10272 (pcase--mutually-exclusive-p): New function.
10273 (pcase--split-consp): Use it.
10274 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10275 mutually exclusive with the current predicate.
10277 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10278 (edebug-macrop): Remove. Use `macrop' instead.
10279 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10281 * eshell/esh-cmd.el (eshell-macrop):
10282 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10284 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10286 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10287 (advice-mapc): New function, using it.
10288 (advice-function-member-p): New function.
10289 (advice--normalize): Store the cdr in advice--saved-rewrite since
10290 that's the part that will be changed.
10291 (advice--symbol-function): New function.
10292 (advice-remove): Handle removal before the function is defined.
10293 Adjust to new advice--saved-rewrite.
10294 (advice-member-p): Use advice-function-member-p and
10295 advice--symbol-function.
10297 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10299 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10300 (frameset-filter-minibuffer): Doc fix.
10301 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10302 (frameset--set-id, frameset--process-minibuffer-frames)
10303 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10304 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10306 * desktop.el (desktop-clear): Only delete frames when called
10307 interactively and desktop-restore-frames is non-nil. Doc fix.
10308 (desktop-read): Set desktop-saved-frameset to nil.
10310 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10312 * vc/vc.el (vc-ignore): Rewrite.
10313 (vc-default-ignore-completion-table, vc--read-lines)
10314 (vc--add-line, vc--remove-regexp): New functions.
10316 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10317 (vc-svn-ignore-completion-table): New function.
10319 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10320 (vc-hg-ignore-completion-table)
10321 (vc-hg-find-ignore-file): New functions.
10323 * vc/vc-git.el (vc-git-ignore): Rewrite.
10324 (vc-git-ignore-completion-table)
10325 (vc-git-find-ignore-file): New functions.
10327 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10329 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10330 (vc-bzr-ignore-completion-table)
10331 (vc-bzr-find-ignore-file): New functions.
10333 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10335 * frameset.el (frameset-prop): New function and setter.
10336 (frameset-save): Do not modify frame list passed by the caller.
10338 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10340 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10342 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10344 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10345 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10347 * custom.el (custom-initialize-default, custom-initialize-set)
10348 (custom-initialize-reset, custom-initialize-changed): Affect the
10349 toplevel-default-value (bug#6275, bug#14586).
10350 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10353 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10355 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10356 Add cl-def* expressions.
10358 * frameset.el (frameset-filter-params): Fix order of arguments.
10360 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10362 Move code related to saving frames to frameset.el.
10363 * desktop.el: Require frameset.
10364 (desktop-restore-frames): Doc fix.
10365 (desktop-restore-reuses-frames): Rename from
10366 desktop-restoring-reuses-frames.
10367 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10368 (desktop-clear): Clear frames too.
10369 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10370 (desktop--filter-tty*, desktop-save, desktop-read):
10371 Use frameset functions.
10372 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10373 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10374 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10375 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10376 (desktop--process-minibuffer-frames, desktop-save-frames)
10377 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10378 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10379 (desktop--sort-states, desktop-restoring-frames-p)
10380 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10381 (desktop-restoring-frameset-p, desktop-restore-frameset)
10382 (desktop--check-dont-save, desktop-save-frameset): New functions.
10383 (desktop--app-id): New constant.
10384 (desktop-first-buffer, desktop-buffer-ok-count)
10385 (desktop-buffer-fail-count): Move before first use.
10386 * frameset.el: New file.
10388 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10390 * files.el: Use lexical-binding.
10391 (dir-locals-read-from-file): Remove unused `err' variable.
10392 (hack-dir-local-variables--warned-coding): New var.
10393 (hack-dir-local-variables): Use it to avoid repeated warnings.
10394 (make-backup-file-name--default-function): New function.
10395 (make-backup-file-name-function): Use it as default.
10396 (buffer-stale--default-function): New function.
10397 (buffer-stale-function): Use it as default.
10398 (revert-buffer-insert-file-contents--default-function): New function.
10399 (revert-buffer-insert-file-contents-function): Use it as default.
10400 (insert-directory): Avoid add-to-list.
10402 * autorevert.el (auto-revert-handler): Simplify.
10403 Use buffer-stale--default-function.
10405 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10407 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10409 * whitespace.el (whitespace-ensure-local-variables): New function.
10410 (whitespace-cleanup-region): Call it.
10411 (whitespace-turn-on): Call it.
10413 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10415 Complete file name handlers.
10417 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10418 (tramp-handle-verify-visited-file-modtime)
10419 (tramp-handle-file-notify-rm-watch): New functions.
10420 (tramp-call-process): Do not bind `default-directory'.
10422 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10423 Order alphabetically.
10424 <access-file, add-name-to-file, dired-call-process>:
10425 <dired-compress-file, file-acl, file-notify-rm-watch>:
10426 <file-ownership-preserved-p, file-selinux-context>:
10427 <make-directory-internal, make-symbolic-link, set-file-acl>:
10428 <set-file-selinux-context, set-visited-file-modtime>:
10429 <verify-visited-file-modtime>: Add handler.
10430 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10432 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10433 <file-notify-add-watch, file-notify-rm-watch>:
10434 <set-file-times, set-visited-file-modtime>:
10435 <verify-visited-file-modtime>: Add handler.
10436 (with-tramp-gvfs-error-message)
10437 (tramp-gvfs-handle-set-visited-file-modtime)
10438 (tramp-gvfs-fuse-file-name): Remove.
10439 (tramp-gvfs-handle-file-notify-add-watch)
10440 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10441 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10443 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10444 Order alphabetically.
10445 <file-notify-rm-watch>: Use default Tramp handler.
10446 <executable-find>: Remove private handler.
10447 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10448 `default-directory'.
10449 (tramp-sh-handle-executable-find)
10450 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10451 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10452 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10453 Do not use `format' in `tramp-message'.
10455 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10456 <file-notify-rm-watch, set-visited-file-modtime>:
10457 <verify-visited-file-modtime>: Add handler.
10458 (tramp-smb-call-winexe): Do not bind `default-directory'.
10460 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10462 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10464 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10466 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10468 (log-view-diff-changeset): Same.
10469 (log-view-diff-common): Call backend command `previous-revision'
10470 to find out the previous revision, in both cases. Swap the
10471 variables `to' and `fr', so that `fr' usually refers to the
10472 earlier revision (Bug#14989).
10474 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10476 * ibuf-ext.el (ibuffer-filter-by-filename):
10477 Make it work with dired buffers too.
10479 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10481 * emacs-lisp/re-builder.el (reb-color-display-p):
10482 * files.el (save-buffers-kill-terminal):
10483 * net/browse-url.el (browse-url):
10484 * server.el (server-save-buffers-kill-terminal):
10485 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10486 Prefer nil to selected-frame for the first arg of frame-parameter.
10488 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10490 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10492 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10494 * minibuffer.el (completion--twq-all): Try and preserve each
10495 completion's case choice (bug#14907).
10497 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10499 * net/network-stream.el (open-network-stream): Mention the new
10500 :nogreeting parameter.
10501 (network-stream-open-starttls): Use the :nogreeting parameter
10504 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10506 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10507 more natural than popping.
10509 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10510 (shr-urlify): Highlight under mouse.
10512 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10514 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10516 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10518 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10521 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10522 point-min==1. Fix search string. Fix parentheses missing.
10524 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10525 assume point-min==1. Fix search string. Fix parentheses missing.
10527 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10529 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10532 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10534 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10535 initial frame is minibuffer-less. (Bug#14841)
10537 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10539 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10542 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10543 (tramp-maybe-open-connection): Use it.
10545 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10547 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10548 minimal set of parameters passed when creating a frame, because
10549 the minibuffer status of a frame cannot be changed later.
10551 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10553 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10554 replace-regexp-in-string and inadvertent omissions in previous change.
10555 (todo-filter-items): Ensure only file names are comma-separated in
10556 name of filtered items buffer.
10558 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10560 * desktop.el: Optionally force offscreen frames back onscreen.
10561 (desktop-restoring-reuses-frames): New option.
10562 (desktop--compute-pos, desktop--move-onscreen): New functions.
10563 (desktop--make-frame): Use desktop--move-onscreen.
10565 2013-07-27 Alan Mackenzie <acm@muc.de>
10567 Fontify a Java generic method as a function.
10568 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10571 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10573 * calendar/todo-mode.el: Add command to rename todo files.
10574 (todo-rename-file): New command.
10575 (todo-key-bindings-t): Add key binding for it. Change the
10576 bindings of todo-filter-regexp-items(-multifile) to use `x'
10577 instead of `r', since the latter is better suited to the new
10580 2013-07-27 Alan Mackenzie <acm@muc.de>
10582 Make Java try-with-resources statement parse properly.
10583 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10584 (c-block-stmt-1-2-key): New language constants/variables.
10585 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10586 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10587 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10588 with c-block-stmt-1-2-key.
10590 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10592 * desktop.el (desktop--make-frame): Apply most frame parameters after
10593 creating the frame to force (partially or totally) offscreen frames to
10594 be restored as such.
10596 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10598 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10601 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10603 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10604 `base' arg of backtrace-frame.
10606 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10608 * simple.el (list-processes): Doc fix.
10610 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10612 * desktop.el (desktop--select-frame):
10613 Try harder to reuse existing frames.
10615 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10617 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10618 (edebug-eval): Use backtrace-eval.
10619 (edebug--display, edebug--recursive-edit): Don't let-bind the
10620 edebug-outer-* vars that keep track of variables we locally let-bind.
10621 (edebug-outside-excursion): Don't restore outside values of locally
10623 (edebug--display): Use user-error.
10624 (cl-lexical-debug, cl-debug-env): Remove.
10626 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10628 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10629 are restored to be sure that they are visible before deleting any
10632 2013-07-26 Matthias Meulien <orontee@gmail.com>
10634 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10635 vc-print-root-log. (Bug#14948)
10637 2013-07-26 Richard Stallman <rms@gnu.org>
10639 Add aliases for encrypting mail.
10640 * epa.el (epa-mail-aliases): New option.
10641 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10642 Bind inhibit-read-only so read-only text doesn't ruin everything.
10643 (epa-mail-default-recipients): New subroutine broken out.
10644 Handle epa-mail-aliases.
10646 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10648 Add support for lexical variables to the debugger's `e' command.
10649 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10650 vars, except for debugger-outer-match-data.
10651 (debugger-frame-number): Move check for "on a function call" from
10652 callers into it. Add `skip-base' argument.
10653 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10654 (debugger-env-macro): Only reset the state stored in non-variables,
10655 i.e. current-buffer and match-data.
10656 (debugger-eval-expression): Rewrite using backtrace-eval.
10657 * subr.el (internal--called-interactively-p--get-frame): Remove.
10658 (called-interactively-p):
10659 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10660 `base' arg of backtrace-frame instead.
10662 2013-07-26 Glenn Morris <rgm@gnu.org>
10664 * align.el (align-regexp): Doc fix. (Bug#14857)
10665 (align-region): Explicit error if subexpression missing/does not match.
10667 * simple.el (global-visual-line-mode):
10668 Do not duplicate the mode lighter. (Bug#14858)
10670 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10672 * window.el (display-buffer): In display-buffer bind
10673 split-window-keep-point to t, bug#14829.
10675 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10677 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10678 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10679 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10680 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10681 Change accordingly.
10682 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10683 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10685 2013-07-25 Glenn Morris <rgm@gnu.org>
10687 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10689 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10691 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10692 parameter to modify-frame-parameters if the value has not changed;
10693 this is a workaround for bug#14949.
10694 (desktop--make-frame): On cl-delete-if call, check parameter name,
10695 not full parameter.
10697 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10699 * vc/vc.el (vc-ignore): New function.
10701 * vc/vc-svn.el (vc-svn-ignore): New function.
10703 * vc/vc-hg.el (vc-hg-ignore): New function.
10705 * vc/vc-git.el (vc-git-ignore): New function.
10707 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10708 (vc-dir-ignore): New function.
10710 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10711 (cvs-append-to-ignore): Move here from pcvs.el.
10713 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10715 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10717 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10719 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10720 (desktop-restore-frames): Warn when deleting an existing frame failed.
10722 2013-07-24 Glenn Morris <rgm@gnu.org>
10724 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10726 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10728 * filenotify.el (file-notify-supported-p):
10729 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10732 * autorevert.el (auto-revert-use-notify)
10733 (auto-revert-notify-add-watch):
10734 * net/tramp.el (tramp-file-name-for-operation):
10735 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10736 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10737 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10738 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10739 Remove `file-notify-supported-p' entry.
10741 2013-07-24 Glenn Morris <rgm@gnu.org>
10743 * printing.el: Replace all uses of deleted ps-windows-system,
10744 ps-lp-system, ps-flatten-list with lpr- versions.
10746 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10748 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10749 checked with memq (bug#14935).
10751 * files.el (revert-buffer-function): Use a non-nil default.
10752 (revert-buffer-preserve-modes): Declare var to
10753 provide access to the `preserve-modes' argument.
10754 (revert-buffer): Let-bind it.
10755 (revert-buffer--default): New function, extracted from revert-buffer.
10757 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10759 * lpr.el: Signal print errors more prominently.
10760 (print-region-function): Don't default to nil.
10761 (lpr-print-region): New function, extracted from print-region-1.
10762 Check lpr's return value and signal an error in case of problem.
10763 (print-region-1): Use it.
10764 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10766 (ps-printer-name): Default to nil.
10767 (ps-printer-name-option): Default to lpr-printer-switch.
10768 (ps-print-region-function): Don't default to nil.
10769 (ps-postscript-code-directory): Simplify default.
10770 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10771 (ps-string-list, ps-eval-switch, ps-flatten-list)
10772 (ps-flatten-list-1): Remove.
10773 (ps-multibyte-buffer): Avoid setq.
10774 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10775 (print-region-function, ps-print-region-function): Don't set them here.
10777 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10779 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10780 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10781 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10782 (ido-decorations): Doc fix.
10784 * ansi-color.el: Fix old URL.
10786 2013-07-23 Michael R. Mauger <michael@mauger.com>
10788 * progmodes/sql.el: Version 3.3
10789 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10790 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10791 (sql-interactive-remove-continuation-prompt): Rewrite, use
10792 functions above. Fix continuation prompt and complete output line
10794 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10795 redirected output buffer.
10796 (sql-mode): Restore deleted code (Bug#13591).
10798 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10800 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10802 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10804 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10806 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10807 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10808 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10810 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10812 * desktop.el (desktop-clear): Simplify; remove useless checks
10813 against invalid buffer names.
10814 (desktop-list*): Use cl-list*.
10815 (desktop-buffer-info, desktop-create-buffer): Simplify.
10817 2013-07-23 Leo Liu <sdl.web@gmail.com>
10819 * bookmark.el (bookmark-make-record): Restore NAME as a default
10822 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10824 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10825 extracted from autoload--insert-text.
10826 (autoload--insert-text): Remove.
10827 (autoload--print-cookie-text): New function, extracted from
10828 autoload--insert-cookie-text.
10829 (autoload--insert-cookie-text): Remove.
10830 (autoload-generate-file-autoloads): Adjust calls accordingly.
10832 * winner.el (winner-hook-installed-p): Remove.
10833 (winner-mode): Simplify accordingly.
10835 * subr.el (add-to-list): Fix compiler-macro when `append' is
10836 not constant. Don't use `cl-member' for the base case.
10838 * progmodes/subword.el: Fix boundary case (bug#13758).
10839 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10841 (subword-backward-regexp): Make it a constant.
10842 (subword-forward-internal): Don't treat a trailing capital as the
10843 beginning of a word.
10845 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10847 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10848 global value of tabulated-list-revert-hook (bug#14930).
10850 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10852 * desktop.el: Require 'cl-lib.
10853 (desktop-before-saving-frames-functions): New hook.
10854 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10855 for frames being saved. Rename from desktop--save-minibuffer-frames.
10856 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10857 Do not save frames with non-nil `desktop-dont-save' parameter.
10858 Filter out deleted frames.
10859 (desktop--find-frame): Use cl-find-if.
10860 (desktop--select-frame): Use cl-(first|second|third) to access values
10862 (desktop--make-frame): Use cl-delete-if.
10863 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10864 (desktop-restore-frames): Use cl-(first|second|third) to access values
10865 of desktop-mini. Look for visible frame at the end, not while
10868 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10869 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10870 Use string-match-p, looking-at-p (bug#14927).
10872 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10874 * desktop.el (desktop-saved-frame-states):
10875 Rename from desktop--saved-states; all users changed.
10876 (desktop-save-frames): Rename from desktop--save-frames.
10877 Do not save state to desktop file.
10878 (desktop-save): Save desktop-saved-frame-states to desktop file
10880 (desktop-restoring-frames-p): New function.
10881 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10882 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10883 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10885 * desktop.el: Correctly restore iconified frames.
10886 (desktop--filter-iconified-position): New function.
10887 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10889 2013-07-20 Glenn Morris <rgm@gnu.org>
10891 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10892 Let `message' do the formatting.
10893 (def-gdb-preempt-display-buffer): Add explicit format.
10895 * image-dired.el (image-dired-track-original-file):
10896 Use with-current-buffer.
10897 (image-dired-track-thumbnail): Use with-current-buffer.
10898 Avoid changing point of wrong window.
10900 * image-dired.el (image-dired-track-original-file):
10901 Avoid changing point of wrong window. (Bug#14909)
10903 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10905 * progmodes/gdb-mi.el (gdb-done-or-error):
10906 Guard against "%" in gdb output. (Bug#14127)
10908 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10910 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10913 * international/mule.el (coding-system-iso-2022-flags): Fix last
10916 2013-07-20 Kenichi Handa <handa@gnu.org>
10918 * international/mule.el (coding-system-iso-2022-flags):
10919 Add `8-bit-level-4'. (Bug#8522)
10921 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10923 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10926 * net/eww.el (eww-process-text-input): Allow inputting when the
10927 point is at the start of the line, as the properties aren't
10930 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10933 2013-07-19 Richard Stallman <rms@gnu.org>
10935 * epa.el (epa-popup-info-window): Doc fix.
10937 * subr.el (split-string): New arg TRIM.
10939 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
10941 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10942 Add check for W32 (followup to revno:113431).
10944 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
10946 * filenotify.el (file-notify--library): Rename from
10947 `file-notify-support'. Do not autoload. Adapt all uses.
10948 (file-notify-supported-p): New defun.
10950 * autorevert.el (auto-revert-use-notify):
10951 Use `file-notify-supported-p' instead of `file-notify-support'.
10953 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10955 * net/tramp.el (tramp-file-name-for-operation):
10956 Add `file-notify-supported-p'.
10958 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10960 (tramp-sh-file-name-handler-alist): Add it as handler for
10961 `file-notify-supported-p '.
10963 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10964 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10965 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10966 Add `ignore' as handler for `file-notify-*' functions.
10968 2013-07-17 Eli Zaretskii <eliz@gnu.org>
10970 * simple.el (line-move-partial, line-move): Don't start vscroll or
10971 scroll-up if the current line is not taller than the window.
10974 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10976 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10977 highlight question marks in the method names as strings.
10978 (ruby-block-beg-keywords): Inline.
10979 (ruby-font-lock-keyword-beg-re): Extract from
10980 `ruby-font-lock-keywords'.
10982 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10984 * frame.el (blink-cursor-blinks): New defcustom.
10985 (blink-cursor-blinks-done): New defvar.
10986 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10987 (blink-cursor-timer-function): Check if number of blinks has been
10989 (blink-cursor-suspend, blink-cursor-check): New defuns.
10991 2013-07-15 Glenn Morris <rgm@gnu.org>
10993 * edmacro.el (edmacro-format-keys): Fix previous change.
10995 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10997 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10998 The hack didn't work outside English locales anyway.
11000 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11002 * simple.el (define-alternatives): Rename from alternatives-define,
11003 per RMS' suggestion.
11005 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11007 * desktop.el (desktop-restore-frames): Change default to t.
11008 (desktop-restore-in-current-display): Now offer more options.
11009 (desktop-restoring-reuses-frames): New customization option.
11010 (desktop--saved-states): Doc fix.
11011 (desktop-filter-parameters-alist): New variable, renamed and expanded
11012 from desktop--excluded-frame-parameters.
11013 (desktop--target-display): New variable.
11014 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11015 (desktop--filter-tty*, desktop--filter-*-color)
11016 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11017 (desktop--filter-save-desktop-parm)
11018 (desktop-restore-in-original-display-p): New functions.
11019 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11020 (desktop--save-minibuffer-frames): New function, inspired by a similar
11021 function from Martin Rudalics.
11022 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11023 (desktop--restore-in-this-display-p): Remove.
11024 (desktop--find-frame): Rename from desktop--find-frame-in-display
11025 and add predicate argument.
11026 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11027 (desktop--reuse-list): New variable.
11028 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11030 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11032 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11034 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11036 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11038 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11039 Highlight conversion methods on Kernel.
11041 2013-07-13 Alan Mackenzie <acm@muc.de>
11043 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11044 and comment it out. This out-commenting enables certain C++
11045 declarations to be parsed correctly.
11047 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11049 * international/mule.el (define-coding-system): Doc fix.
11051 * simple.el (default-font-height): Don't call font-info if the
11052 frame's default font didn't change since the frame was created.
11055 2013-07-13 Leo Liu <sdl.web@gmail.com>
11057 * ido.el (ido-read-file-name): Guard against non-symbol value.
11059 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11061 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11064 2013-07-13 Leo Liu <sdl.web@gmail.com>
11066 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11067 ido-set-matches call. (Bug#6852)
11069 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11071 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11072 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11074 (ruby-font-lock-keywords): Distinguish calls to functions with
11075 module-like names from module references. Highlight character
11078 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11080 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11081 (gdb-send): Handle continued commands. (Bug#14847)
11083 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11085 * desktop.el (desktop--v2s): Remove unused local variable.
11086 (desktop-save-buffer): Make defvar-local; adjust docstring.
11087 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11088 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11090 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11092 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11094 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11096 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11099 2013-07-12 Glenn Morris <rgm@gnu.org>
11101 * doc-view.el: Require cl-lib at runtime too.
11102 (doc-view-remove-if): Remove.
11103 (doc-view-search-next-match, doc-view-search-previous-match):
11106 * edmacro.el: Require cl-lib at runtime too.
11107 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11108 (edmacro-mismatch, edmacro-subseq): Remove.
11110 * shadowfile.el: Require cl-lib.
11111 (shadow-remove-if): Remove.
11112 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11115 * wid-edit.el: Require cl-lib.
11116 (widget-choose): Use cl-remove-if.
11117 (widget-remove-if): Remove.
11119 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11120 (ebrowse-delete-if-not): Remove.
11121 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11122 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11123 Use cl-delete-if-not.
11125 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11127 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11128 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11130 2013-07-12 Leo Liu <sdl.web@gmail.com>
11132 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11134 2013-07-11 Glenn Morris <rgm@gnu.org>
11136 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11137 (edebug-gensym-index, edebug-gensym):
11138 Remove reimplementation of cl-gensym.
11139 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11141 * thumbs.el: Require cl-lib at run-time too.
11142 (thumbs-gensym-counter, thumbs-gensym):
11143 Remove reimplementation of cl-gensym.
11144 (thumbs-temp-file): Use cl-gensym.
11146 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11147 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11148 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11149 (ert--union, ert--gensym-counter, ert--gensym-counter)
11150 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11151 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11152 (ert-make-test-unbound, ert--expand-should-1)
11153 (ert--expand-should, ert--should-error-handle-error)
11154 (should-error, ert--explain-equal-rec)
11155 (ert--plist-difference-explanation, ert-select-tests)
11156 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11157 Use cl-lib functions rather than reimplementations.
11159 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11161 * net/tramp.el (tramp-methods): Extend docstring.
11162 (tramp-connection-timeout): New defcustom.
11163 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11164 (with-tramp-progress-reporter): Simplify.
11165 (tramp-process-actions): Improve messages.
11167 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11168 * net/tramp-sh.el (tramp-maybe-open-connection):
11169 Use `tramp-connection-timeout'.
11170 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11173 2013-07-11 Leo Liu <sdl.web@gmail.com>
11175 * ido.el (ido-read-file-name): Conform to the requirements of
11176 read-file-name. (Bug#11861)
11177 (ido-read-directory-name): Conform to the requirements of
11178 read-directory-name.
11180 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11182 * subr.el (delay-warning): New function.
11184 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11186 * simple.el (default-line-height): New function.
11187 (line-move-partial, line-move): Use it instead of computing the
11188 line height inline.
11189 (line-move-partial): Always compute ROWH. If the last line is
11190 partially-visible, but its text is completely visible, allow
11191 cursor to enter such a partially-visible line.
11193 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11195 Improve error messages. (Bug#14808)
11197 * net/tramp.el (tramp-current-connection): New defvar, moved from
11199 (tramp-message-show-progress-reporter-message): Remove, not
11201 (tramp-error-with-buffer): Show message in minibuffer.
11202 Discard input before waiting. Reset connection timestamp.
11203 (with-tramp-progress-reporter): Improve messages.
11204 (tramp-process-actions): Use progress reporter. Delete process in
11205 case of error. Improve messages.
11207 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11208 Call `tramp-error-with-buffer' with vector and buffer.
11209 (tramp-current-connection): Remove.
11210 (tramp-maybe-open-connection): The car of
11211 `tramp-current-connection' are the first 3 slots of the vector.
11213 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11215 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11216 inside continued strings.
11218 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11220 Timestamp fixes for undo (Bug#14824).
11221 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11223 2013-07-10 Leo Liu <sdl.web@gmail.com>
11225 * files.el (require-final-newline): Allow safe local value.
11228 2013-07-09 Leo Liu <sdl.web@gmail.com>
11230 * ido.el (ido-read-directory-name): Handle fallback.
11231 (ido-read-file-name): Update DIR to ido-current-directory.
11233 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11235 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11237 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11238 "autoload". Remove "warn lower camel case" section, previously
11239 commented out. Highlight negation char. Do not highlight the
11240 target in singleton method definitions.
11242 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11244 * faces.el (tty-setup-hook): Declare the hook.
11246 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11247 and detect when a guard/pred depends on local vars (bug#14773).
11248 (pcase--u1): Adjust caller.
11250 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11252 * simple.el (line-move-partial, line-move): Account for
11254 (line-move-partial): Avoid setting vscroll when the last
11255 partially-visible line in window is of default height.
11257 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11259 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11262 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11264 * subr.el (read-quoted-char): Remove unused local variable `char'.
11266 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11268 * vc/ediff.el (ediff-version): Version update.
11269 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11270 (ediff-merge-with-ancestor-command, ediff-directories-command)
11271 (ediff-directories3-command, ediff-merge-directories-command)
11272 (ediff-merge-directories-with-ancestor-command): New functions.
11273 All are command-line interfaces to ediff: to facilitate calling
11274 Emacs with the appropriate ediff functions invoked.
11276 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11278 (viper-save-kill-buffer): Check if buffer is modified.
11280 * emulation/viper.el (viper-version): Version update.
11281 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11283 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11285 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11286 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11287 (viper-intercept-ESC-key): Simplify.
11288 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11290 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11291 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11292 (viper-setup-ESC-to-escape): New functions.
11293 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11294 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11296 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11298 * simple.el (default-font-height, window-screen-lines):
11300 (line-move, line-move-partial): Use them instead of
11301 frame-char-height and window-text-height. This makes scrolling
11302 text smoother when the buffer's default face uses a font that is
11303 different from the frame's default font.
11305 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11307 * files.el (write-file): Do not display confirm dialog for NS,
11308 it does its own dialog, which can't be canceled (Bug#14578).
11310 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11312 * simple.el (line-move-partial): Adjust the row returned by
11313 posn-at-point for the current window-vscroll. (Bug#14567)
11315 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11317 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11318 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11321 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11323 * window.el (window-state-put-stale-windows): New variable.
11324 (window--state-put-2): Save list of windows without matching buffer.
11325 (window-state-put): Remove "bufferless" windows if possible.
11327 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11329 * simple.el (alternatives-define): Remove leftover :group keyword.
11332 2013-07-06 Leo Liu <sdl.web@gmail.com>
11334 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11335 (ido-enable-virtual-buffers): New variable.
11336 (ido-buffer-internal, ido-toggle-virtual-buffers)
11337 (ido-make-buffer-list): Use it.
11338 (ido-exhibit): Support turning on and off virtual buffers
11341 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11343 * simple.el (alternatives-define): New macro.
11345 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11347 * subr.el (read-quoted-char): Use read-key.
11348 (sit-for): Let read-event decode tty input (bug#14782).
11350 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11352 * calendar/todo-mode.el: Add handling of file deletion, both by
11353 mode command and externally. Fix various related bugs.
11354 Clarify Commentary and improve some documentation strings and code.
11355 (todo-delete-file): New command.
11356 (todo-check-file): New function.
11357 (todo-show): Handle external deletion of the file we're trying to
11358 show (bug#14688). Replace called-interactively-p by an optional
11359 prefix argument to avoid problematic interaction with catch form
11360 when byte compiled (bug#14702).
11361 (todo-quit): Handle external deletion of the archive's todo file.
11362 Make sure the buffer that was visiting the archive file is still
11363 live before trying to bury it.
11364 (todo-category-completions): Handle external deletion of any
11365 category completion files.
11366 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11367 of todo files, in case of external deletion.
11368 (todo-add-file): Replace unnecessary setq by let-binding.
11369 (todo-find-archive): Check whether there are any archives.
11370 Replace unnecessary setq by let-binding.
11371 (todo-archive-done-item): Use find-file-noselect to get the
11372 archive buffer whether or not the archive already exists.
11373 Remove superfluous code. Use file size instead of buffer-file-name to
11374 check if the archive is new; if it is, update list of archives.
11375 (todo-default-todo-file): Allow nil to be a valid value for when
11376 there are no todo files.
11377 (todo-reevaluate-default-file-defcustom): Use corrected definition
11378 of todo-default-todo-file.
11379 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11380 (todo-delete-category, todo-show-categories-table)
11381 (todo-category-number): Clarify comment.
11382 (todo-filter-items): Clarify documentation string.
11383 (todo-show-current-file, todo-display-as-todo-file)
11384 (todo-reset-and-enable-done-separator): Tweak documentation string.
11385 (todo-done-separator): Make separator length window-width, since
11386 bug#2749 is now fixed.
11388 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11390 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11391 Support both "gvfs-monitor-dir" and "inotifywait".
11392 (tramp-sh-file-inotifywait-process-filter): Rename from
11393 `tramp-sh-file-notify-process-filter'.
11394 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11395 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11397 2013-07-05 Leo Liu <sdl.web@gmail.com>
11399 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11401 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11403 * frame.el (display-pixel-height, display-pixel-width)
11404 (display-mm-height, display-mm-width): Mention behavior on
11405 multi-monitor setups in docstrings.
11406 (w32-display-monitor-attributes-list): Declare function.
11407 (display-monitor-attributes-list): Use it.
11409 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11411 * filenotify.el: New package.
11413 * autorevert.el (top): Require filenotify.el.
11414 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11416 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11417 (auto-revert-notify-handler): Use `file-notify-*' functions.
11419 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11421 * net/tramp.el (tramp-file-name-for-operation):
11422 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11424 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11425 for `file-notify-add-watch' and `file-notify-rm-watch'.
11426 (tramp-process-sentinel): Improve trace.
11427 (tramp-sh-handle-file-notify-add-watch)
11428 (tramp-sh-file-notify-process-filter)
11429 (tramp-sh-handle-file-notify-rm-watch)
11430 (tramp-get-remote-inotifywait): New defuns.
11432 2013-07-03 Juri Linkov <juri@jurta.org>
11434 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11435 call of `occur-read-primary-args' to interactive spec.
11437 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11438 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11440 2013-07-03 Matthias Meulien <orontee@gmail.com>
11442 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11443 `Buffer-menu-multi-occur'. Add it to the menu.
11444 (Buffer-menu-mode): Document it in docstring.
11445 (Buffer-menu-multi-occur): New command. (Bug#14673)
11447 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11449 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11450 keywords and built-ins.
11452 2013-07-03 Glenn Morris <rgm@gnu.org>
11454 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11456 Make info-xref checks case-sensitive by default
11457 * info.el (Info-find-node, Info-find-in-tag-table)
11458 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11459 Add option for exact case matching of nodes.
11460 * info-xref.el (info-xref): New custom group.
11461 (info-xref-case-fold): New option.
11462 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11464 2013-07-03 Leo Liu <sdl.web@gmail.com>
11466 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11468 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11470 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11471 middle of block statement initially, lower the depth. Remove
11472 FIXME comment, not longer valid. Remove middle of block statement
11473 detection, no need to do that anymore since we've been using
11474 `ruby-parse-region' here.
11476 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11478 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11480 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11482 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11484 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11486 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11487 (desktop-restore-in-current-display): New customization option.
11488 (desktop--excluded-frame-parameters): Add `font'.
11489 (desktop--save-frames): Rename from desktop--save-windows.
11490 (desktop--restore-in-this-display-p): New function.
11491 (desktop--make-full-frame): Remove unwanted width/height from
11492 full(width|height) frames.
11493 (desktop--restore-frames): Rename from desktop--restore-windows.
11494 Obey desktop-restore-current-display. Do not delete old frames or
11495 select a new frame unless we were able to restore at least one frame.
11497 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11499 * files.el (find-file-noselect): Simplify conditional expression.
11501 * textmodes/remember.el (remember-append-to-file):
11502 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11504 Add `remember-notes' function to store random notes across Emacs
11506 * textmodes/remember.el (remember-data-file): Add :set callback to
11507 affect notes buffer (if any).
11508 (remember-notes): New command.
11509 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11510 New defcustoms for the `remember-notes' function.
11511 (remember-notes-save-and-bury-buffer): New command.
11512 (remember-notes-mode-map): New variable.
11513 (remember-mode): New minor mode.
11514 (remember-notes--kill-buffer-query): New function.
11515 * startup.el (initial-buffer-choice): Add notes to custom type.
11517 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11519 * bindings.el (right-char, left-char): Don't call sit-for, this is
11520 no longer needed. Use arithmetic comparison only for numerical
11523 * international/mule-cmds.el (select-safe-coding-system):
11524 Handle the case of FROM being a string correctly. (Bug#14755)
11526 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11528 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11529 progression on degenerate tables.
11530 (shr-rescale-image): ImageMagick animated images currently don't work.
11532 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11534 Some fixes and improvements for desktop frame restoration.
11535 It is still experimental and disabled by default.
11536 * desktop.el (desktop--save-windows): Put the selected frame at
11537 the head of the list.
11538 (desktop--make-full-frame): New function.
11539 (desktop--restore-windows): Try to re-select the frame that was
11540 selected upon saving. Do not abort if some frames fail to restore,
11541 just show an error message and continue. Set up maximized frames
11542 so they have default non-maximized dimensions.
11544 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11546 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11547 Don't start heredoc inside a string or comment.
11549 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11551 * bindings.el (visual-order-cursor-movement): New defcustom.
11552 (right-char, left-char): Provide visual-order cursor motion by
11553 calling move-point-visually. Update the doc strings.
11555 2013-06-28 Kenichi Handa <handa@gnu.org>
11557 * international/mule.el (define-coding-system): New coding system
11558 properties :inhibit-null-byte-detection,
11559 :inhibit-iso-escape-detection, and :prefer-utf-8.
11560 (set-buffer-file-coding-system): If :charset-list property of
11561 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11562 appropriate for setting.
11564 * international/mule-cmds.el (select-safe-coding-system):
11565 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11566 multibyte characters, return utf-8 (or one of its siblings).
11568 * international/mule-conf.el (prefer-utf-8): New coding system.
11569 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11572 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11574 * net/shr.el (shr-render-region): New function.
11576 * net/eww.el: Autoload `eww-browse-url'.
11578 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11580 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11581 Adapt to `package-desc-version' being a list.
11582 Use `package--ac-desc-version' to retrieve version from a package
11585 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11587 New experimental feature to save&restore window and frame setup.
11588 * desktop.el (desktop-save-windows): New defcustom.
11589 (desktop--saved-states): New var.
11590 (desktop--excluded-frame-parameters): New defconst.
11591 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11592 (desktop--restore-windows, desktop--save-windows): New functions.
11593 (desktop-save): Call `desktop--save-windows'.
11594 (desktop-read): Call `desktop--restore-windows'.
11596 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11598 * net/shr.el (add-face-text-property): Remove compat definition.
11600 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11602 * info.el (Info-try-follow-nearest-node): Move search for footnote
11603 above search for node name to prevent missing a footnote (bug#14717).
11605 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11607 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11609 2013-06-27 Leo Liu <sdl.web@gmail.com>
11611 * net/eww.el (eww-read-bookmarks): Check file size.
11613 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11615 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11616 advice--pending if newdef is nil or an autoload (bug#13820).
11617 (advice-mapc): New function.
11619 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11621 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11623 (eww-mode-map): Add a menu bar.
11624 (eww-add-bookmark): New command.
11625 (eww-bookmark-mode): New mode and commands.
11626 (eww-add-bookmark): Remove newlines from the title.
11627 (eww-bookmark-browse): Don't bug out if it's the only window.
11629 2013-06-26 Glenn Morris <rgm@gnu.org>
11631 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11632 (hfy-size): Handle ttys. (Bug#14668)
11634 * info-xref.el: Update for Texinfo 5 change in *note format.
11635 (info-xref-node-re, info-xref-note-re): New constants.
11636 (info-xref-check-buffer): Use info-xref-note-re.
11638 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11640 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11642 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11643 nil terminate the loop (bug#14718).
11645 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11647 * net/eww.el: Rework history traversal. When going forward/back,
11648 put these actions into the history, too, so that they can be
11650 (eww-render): Move the history reset to the correct buffer.
11652 2013-06-25 Juri Linkov <juri@jurta.org>
11654 * files-x.el (modify-dir-local-variable): Change the header comment
11655 in the file with directory local variables. (Bug#14692)
11657 * files-x.el (read-file-local-variable-value): Add `default'.
11660 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11662 * net/eww.el (eww-make-unique-file-name): Create a unique file
11663 name before saving to entering `y' accidentally asynchronously.
11665 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11667 * net/eww.el (eww-download): New command and keystroke.
11669 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11671 * net/eww.el (eww-copy-page-url): Change name of command.
11673 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11674 be more consistent with Info and dired.
11676 * net/eww.el (eww-mode-map): Ditto.
11678 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11680 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11681 packages from archives.
11682 (package-archive-contents): Change format; include obsolete packages.
11683 (package-desc): Use `dir' to mark builtin packages.
11684 (package--from-builtin): Set the `dir' field to `builtin'.
11685 (generated-autoload-file, version-control): Declare.
11686 (package-compute-transaction): Change first arg and return value to be
11687 lists of package-descs. Adjust to new package-archive-contents format.
11688 (package--add-to-archive-contents): Adjust to new
11689 package-archive-contents format.
11690 (package-download-transaction): Arg is now a list of package-descs.
11691 (package-install): If `pkg' is a package name, pass it as
11692 a requirement, so it is subject to the usual (e.g. disabled) checks.
11693 (describe-package): Accept package-desc as well.
11694 (describe-package-1): Describe a specific package-desc. Add links to
11695 other package-descs for the same package name.
11696 (package-menu-describe-package): Pass the actual package-desc.
11697 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11699 (package-desc-status): New function.
11700 (package-menu--refresh): New function, extracted
11701 from package-menu--generate.
11702 (package-menu--generate): Use it.
11703 (package-delete): Update package-alist.
11704 (package-menu-execute): Don't call package-initialize.
11706 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11707 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11708 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11709 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11710 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11711 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11713 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11715 * window.el (window--state-get-1): Workaround for bug#14527.
11716 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11718 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11720 * net/eww.el (eww-back-url): Implement the history by stashing all
11721 the data into a list.
11722 (eww-forward-url): Allow going forward in the history, too.
11724 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11726 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11727 for values and use read--expression for expressions (bug#14710).
11728 (read-file-local-variable): Avoid setq.
11729 (read-file-local-variable-mode): Use minor-mode-list.
11731 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11733 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11736 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11738 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11739 Update imenu-support when dialect changes.
11741 2013-06-25 Leo Liu <sdl.web@gmail.com>
11743 * ido.el (ido-read-internal): Allow forward slash on windows.
11745 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11747 * net/eww.el (eww): Start of strings is \\`, not ^.
11749 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11751 * net/shr.el (shr-browse-url): Fix interactive spec.
11753 * net/eww.el (eww): Add a trailing slash to domain names.
11755 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11757 * faces.el (face-spec-recalc): Revert part of revno:113147 (bug#14705).
11759 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11761 * net/shr.el (shr-browse-url): Use an external browser if given a
11764 * net/eww.el (eww-external-browser): Move to shr.
11766 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11768 * net/eww.el (eww): Work more correctly for file: URLs.
11769 (eww-detect-charset): Allow quoted charsets.
11770 (eww-yank-page-url): New command and keystroke.
11772 2013-06-24 Daiki Ueno <ueno@gnu.org>
11774 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11775 file name of gpg executable.
11776 (epg-context-program): New function.
11777 (epg-context-home-directory): New function.
11778 (epg-context-set-program): New function.
11779 (epg-context-set-home-directory): New function.
11780 (epg--start): Use `epg-context-program' instead of
11782 (epg--list-keys-1): Likewise.
11784 2013-06-24 Leo Liu <sdl.web@gmail.com>
11786 * ido.el (ido-read-internal): Fix bug#14620.
11788 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11790 * faces.el (face-documentation): Simplify.
11791 (read-face-attribute, tty-find-type, x-resolve-font-name):
11792 Use `string-match-p'.
11793 (list-faces-display): Use `string-match-p'. Simplify.
11794 (face-spec-recalc): Check face to avoid face alias loops.
11795 (read-color): Use `string-match-p' and non-capturing parenthesis.
11797 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11799 * net/shr.el (shr-rescale-image): Use the new
11800 :max-width/:max-height functionality.
11802 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11804 * net/eww.el (eww-search-prefix): New variable.
11806 (eww-external-browser): New variable.
11807 (eww-mode-map): New keystroke.
11808 (eww-browse-with-external-browser): New command.
11810 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11812 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11814 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11815 Don't skip aligning the next header field when padding is 0;
11816 otherwise, field width is not respected unless the title is as
11819 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11821 * emacs-lisp/package.el (package-el-version): Remove.
11822 (package-process-define-package): Fix inf-loop.
11823 (package-install): Allow symbols as arguments again.
11825 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11827 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11828 add some more keyword-like methods.
11829 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11831 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11833 * bs.el (bs-buffer-show-mark): Make defvar-local.
11834 (bs-mode): Use setq-local.
11836 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11837 (emacs-lock--try-unlocking): Make defvar-local.
11839 2013-06-22 Glenn Morris <rgm@gnu.org>
11841 * play/cookie1.el (cookie-apropos): Minor simplification.
11843 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11845 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11847 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11848 `regexp-opt', it breaks the build during dumping.
11850 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11852 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11853 Highlight keyword-like methods on Kernel and Module with
11854 font-lock-builtin-face.
11855 (auto-mode-alist): Consolidate different entries into one regexp
11856 and add more *file-s.
11858 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11860 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11862 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11863 (diary-entry): Use it in the action of this button type instead of
11866 * calendar/todo-mode.el: New version.
11867 (todo-add-category): Append new category to end of file and give
11868 it the highest number, instead of putting it at the beginning and
11869 giving it 0. Incorporate noninteractive functionality.
11870 (todo-forward-category): Adapt to 1-based category numbering.
11871 Allow skipping over archived categories.
11872 (todo-backward-category): Derive from todo-forward-category.
11873 (todo-backward-item, todo-forward-item): Make noninteractive and
11874 delegate interactive part to new commands. Make sensitive to done items.
11875 (todo-categories): Make value an alist of category names and
11876 vectors of item counts.
11877 (todo-category-beg): Make a defconst.
11878 (todo-category-number): Use 1 instead of 0 as initial value.
11879 (todo-category-select): Make sensitive to overlays, optional item
11880 highlighting and done items.
11881 (todo-delete-item): Make sensitive to overlays and marked and done items.
11882 (todo-edit-item): Make sensitive to overlays and editing of
11883 date/time header optional. Add format checks.
11884 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11885 no-op if point is not on an item. Advertise using todo-edit-quit.
11886 (todo-edit-mode): Make sensitive to new format, font-locking, and
11887 multiple todo files.
11888 (todo-insert-item, todo-insert-item-here): Derive from
11889 todo-basic-insert-item and extend functionality.
11890 (todo-item-end, todo-item-start): Make sensitive to done items.
11891 (todo-item-string): Don't return text properties. Restore point.
11892 (todo-jump-to-category): Make sensitive to multiple todo files and
11893 todo archives. Use extended category completion.
11894 (todo-lower-item, todo-raise-item): Rename to *-priority and
11895 derive from todo-set-item-priority.
11896 (todo-mode): Derive from special-mode. Make sensitive to new
11897 format, font-locking and multiple todo files. Make read-only.
11898 (todo-mode-map): Don't suppress digit keys, so they can supply
11899 prefix arguments. Add many new key bindings.
11900 (todo-prefix): Insert as an overlay instead of file text.
11901 Change semantics from diary date expression to purely visual mark.
11902 (todo-print): Rename to todo-print-buffer. Make buffer display
11903 features printable. Remove option to restrict number of items
11904 printed. Add option to print to file.
11905 (todo-print-function): Rename to todo-print-buffer-function.
11906 (todo-quit): Extend to handle exiting new todo modes.
11907 (todo-remove-item): Make sensitive to overlays.
11908 (todo-save): Extend to buffers of filtered items.
11909 (todo-show): Make sensitive to done items, multiple todo files and
11910 new todo modes. Offer to convert legacy todo file before creating
11911 first new todo file.
11912 (todo-show-priorities): Rename to todo-top-priorities.
11913 Change semantics of value 0.
11914 (todo-top-priorities): Rename to todo-filter-top-priorities,
11915 derive from todo-filter-items and extend functionality.
11916 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11917 and extend functionality to other types of filtered items.
11918 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11919 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11920 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11921 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11922 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11923 (todo-edit-mode-hook, todo-entry-prefix-function)
11924 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11925 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11926 (todo-initials, todo-insert-threshold, todo-item-string-start)
11927 (todo-line-string, todo-menu, todo-mode-hook)
11928 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11929 (todo-print-priorities, todo-remove-separator)
11930 (todo-save-top-priorities-too, todo-string-count-lines)
11931 (todo-string-multiline-p, todo-time-string-format)
11932 (todo-tmp-buffer-name): Remove.
11933 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11934 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11935 (todo-edit-category-diary-inclusion)
11936 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11937 (todo-edit-file, todo-edit-item-date-day)
11938 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11939 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11940 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11941 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11942 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11943 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11944 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11945 (todo-filter-top-priorities-multifile, todo-find-archive)
11946 (todo-find-filtered-items-file, todo-go-to-source-item)
11947 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11948 (todo-jump-to-archive-category, todo-lower-category)
11949 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11950 (todo-move-category, todo-move-item, todo-next-button)
11951 (todo-next-item, todo-padded-string, todo-powerset)
11952 (todo-previous-button, todo-previous-item)
11953 (todo-print-buffer-to-file, todo-raise-category)
11954 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11955 (todo-set-category-number, todo-set-item-priority)
11956 (todo-set-top-priorities-in-category)
11957 (todo-set-top-priorities-in-file, todo-show-categories-table)
11958 (todo-sort-categories-alphabetically-or-numerically)
11959 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11960 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11961 (todo-toggle-item-header, todo-toggle-item-highlighting)
11962 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11963 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11964 (todo-unarchive-items, todo-unmark-category): New commands.
11965 (todo-absolute-file-name, todo-add-to-buffer-list)
11966 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11967 (todo-basic-insert-item, todo-category-completions)
11968 (todo-category-number, todo-category-string-matcher-1)
11969 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11970 (todo-check-format, todo-clear-matches)
11971 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11972 (todo-current-category, todo-date-string-matcher)
11973 (todo-define-insertion-command, todo-diary-expired-matcher)
11974 (todo-diary-goto-entry, todo-diary-item-p)
11975 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11976 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11977 (todo-done-item-section-p, todo-done-separator)
11978 (todo-done-string-matcher, todo-files, todo-filter-items)
11979 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11980 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11981 (todo-insert-category-line, todo-insert-item-from-calendar)
11982 (todo-insert-sort-button, todo-insert-with-overlays)
11983 (todo-insertion-command-name, todo-insertion-key-bindings)
11984 (todo-label-to-key, todo-longest-category-name-length)
11985 (todo-make-categories-list, todo-mode-external-set)
11986 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11987 (todo-modes-set-3, todo-multiple-filter-files)
11988 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11989 (todo-read-category, todo-read-date, todo-read-dayname)
11990 (todo-read-file-name, todo-read-time)
11991 (todo-reevaluate-category-completions-files-defcustom)
11992 (todo-reevaluate-default-file-defcustom)
11993 (todo-reevaluate-filelist-defcustoms)
11994 (todo-reevaluate-filter-files-defcustom)
11995 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11996 (todo-reset-done-separator, todo-reset-done-separator-string)
11997 (todo-reset-done-string, todo-reset-global-current-todo-file)
11998 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11999 (todo-reset-prefix, todo-set-categories)
12000 (todo-set-date-from-calendar, todo-set-show-current-file)
12001 (todo-set-top-priorities, todo-short-file-name)
12002 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12003 (todo-total-item-counts, todo-update-buffer-list)
12004 (todo-update-categories-display, todo-update-categories-sexp)
12005 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12007 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12009 (todo-categories, todo-display, todo-edit, todo-faces)
12010 (todo-filtered): New defgroups.
12011 (todo-archived-only, todo-button, todo-category-string, todo-date)
12012 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12013 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12014 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12015 (todo-add-item-if-new-category, todo-always-add-time-string)
12016 (todo-categories-align, todo-categories-archived-label)
12017 (todo-categories-category-label, todo-categories-diary-label)
12018 (todo-categories-done-label, todo-categories-number-separator)
12019 (todo-categories-todo-label, todo-categories-totals-label)
12020 (todo-category-completions-files, todo-completion-ignore-case)
12021 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12022 (todo-done-separator-string, todo-done-string)
12023 (todo-files-function, todo-filter-done-items, todo-filter-files)
12024 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12025 (todo-initial-category, todo-initial-file, todo-item-mark)
12026 (todo-legacy-date-time-regexp, todo-mode-line-function)
12027 (todo-nondiary-marker, todo-number-prefix)
12028 (todo-print-buffer-function, todo-show-current-file)
12029 (todo-show-done-only, todo-show-first, todo-show-with-done)
12030 (todo-skip-archived-categories, todo-top-priorities-overrides)
12031 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12032 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12034 (todo-category-done, todo-date-pattern, todo-date-string-start)
12035 (todo-diary-items-buffer, todo-done-string-start)
12036 (todo-filtered-items-buffer, todo-item-start)
12037 (todo-month-abbrev-array, todo-month-name-array)
12038 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12039 (todo-top-priorities-buffer): New defconsts.
12040 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12041 (todo-categories-with-marks, todo-category-string-face)
12042 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12043 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12044 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12045 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12046 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12047 (todo-font-lock-keywords, todo-global-current-todo-file)
12048 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12049 (todo-insertion-commands-args)
12050 (todo-insertion-commands-args-genlist)
12051 (todo-insertion-commands-names, todo-insertion-map)
12052 (todo-key-bindings-t, todo-key-bindings-t+a)
12053 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12054 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12055 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12056 (todo-visited): New variables.
12058 2013-06-21 Glenn Morris <rgm@gnu.org>
12060 * play/cookie1.el (cookie-apropos): Add optional display argument.
12061 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12062 (psychoanalyze-pinhead): Use cookie-doctor.
12064 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12066 * emacs-lisp/package.el (tar-get-file-descriptor)
12067 (tar--extract): Declare.
12069 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12071 Extend flymake's warning predicate to be a function (bug#14217).
12072 * progmodes/flymake.el (flymake-warning-predicate): New.
12073 (flymake-parse-line): Use it.
12074 (flymake-warning-re): Make obsolete alias to
12075 `flymake-warning-predicate'.
12077 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12079 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12080 (package-obsolete-list): Remove.
12081 (package-activate): Remove min-version argument. Add `force' argument.
12082 Adjust to new package-alist format.
12083 (package-mark-obsolete): Remove.
12084 (package-unpack): Force reload of the package's autoloads.
12085 (package-installed-p): Check builtins if the installed package is not
12087 (package-initialize): Don't reset package-obsolete-list.
12088 Don't specify which package version to activate.
12089 (package-process-define-package, describe-package-1)
12090 (package-menu--generate): Adjust to new package-alist format.
12092 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12094 * allout-widgets.el (allout-widgets-mode-off)
12095 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12096 (allout-widgets-post-command-business)
12097 (allout-widgets-after-copy-or-kill-function)
12098 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12099 (allout-decorate-item-and-context)
12100 (allout-graphics-modification-handler): Fix typos in docstrings.
12101 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12103 * cmuscheme.el (scheme-start-file): Doc fix.
12104 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12105 (scheme-input-filter): Use `string-match-p'.
12107 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12109 * dired-x.el: Use Dired consistently in docstrings.
12111 * dired.el: Use Dired consistently in docstrings.
12112 (dired-readin, dired-mode): Use `setq-local'.
12113 (dired-switches-alist): Make defvar-local.
12114 (dired-buffers-for-dir): Use `zerop'.
12115 (dired-safe-switches-p, dired-switches-escape-p)
12116 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12117 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12118 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12119 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12120 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12121 (dired-toggle-marks, dired-mark-files-containing-regexp)
12122 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12123 (dired-flag-auto-save-files, dired-flag-backup-files):
12124 Use `looking-at-p'.
12125 (dired-mark-files-regexp, dired-build-subdir-alist):
12126 Use `string-match-p', `looking-at-p'.
12128 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12129 (direct-print-region-helper): Use `string-match-p'.
12131 2013-06-21 Leo Liu <sdl.web@gmail.com>
12133 * comint.el (comint-redirect-results-list-from-process):
12136 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12138 * net/eww.el (eww-update-header-line-format): Quote % characters.
12140 2013-06-21 Glenn Morris <rgm@gnu.org>
12142 * play/cookie1.el (cookie): New custom group.
12143 (cookie-file): New option.
12144 (cookie-check-file): New function.
12145 (cookie): Make it interactive. Make start and end messages optional.
12146 Interactively, display the result. Default to cookie-file.
12147 (cookie-insert): Default to cookie-file.
12148 (cookie-snarf): Make start and end messages optional.
12149 Default to cookie-file. Use with-temp-buffer.
12150 (cookie-read): Rename from read-cookie.
12151 Make start and end messages optional. Default to cookie-file.
12152 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12153 Do not autoload it.
12154 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12155 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12157 2013-06-21 Leo Liu <sdl.web@gmail.com>
12159 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12161 2013-06-21 Glenn Morris <rgm@gnu.org>
12163 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12165 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12166 Daniel Hackney <dan@haxney.org>
12168 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12169 Consolidate the single-file vs tarball code.
12170 (package-desc-suffix): New function.
12171 (package-desc-full-name): Don't bother inlining it.
12172 (package-load-descriptor): Return the new package-desc.
12173 (package-mark-obsolete): Remove unused arg `package'.
12174 (package-unpack): Make it work for single files as well.
12175 Make it update package-alist.
12176 (package--make-autoloads-and-stuff): Rename from
12177 package--make-autoloads-and-compile. Don't compile any more.
12178 (package--compile): New function.
12179 (package-generate-description-file): New function, extracted from
12180 package-unpack-single.
12181 (package-unpack-single): Remove.
12182 (package--with-work-buffer): Add indentation and debugging info.
12183 (package-download-single): Remove.
12184 (package-install-from-archive): Rename from package-download-tar, make
12185 it take a pkg-desc, and make it work for single files as well.
12186 (package-download-transaction): Simplify.
12187 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12188 external tar program.
12189 (package-install-from-buffer): Remove `pkg-desc' argument.
12190 Use package-tar-file-info for tar-mode buffers.
12191 (package-install-file): Simplify accordingly.
12192 (package-archive-base): Change to take a pkg-desc.
12193 * tar-mode.el (tar--check-descriptor): New function, extracted from
12194 tar-get-descriptor.
12195 (tar-get-descriptor): Use it.
12196 (tar-get-file-descriptor): New function.
12197 (tar--extract): New function, extracted from tar-extract.
12198 (tar--extract): Use it.
12199 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12200 case the summary uses non-ascii. Adjust to new calling convention of
12201 package-tar-file-info.
12203 2013-06-21 Leo Liu <sdl.web@gmail.com>
12205 * comint.el (comint-redirect-results-list-from-process):
12206 Fix random delay. (Bug#14681)
12208 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12210 * profiler.el (profiler-format-number): Use log, not log10.
12212 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12214 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12216 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12218 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12219 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12221 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12222 (AUTOGENEL): ... here.
12223 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12224 (cl--defsubst-expand): Use it.
12226 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12228 * subr.el (log10): Move here from C code, and declare as obsolete.
12229 All uses of (log10 X) replaced with (log X 10).
12231 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12233 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12234 Declare with `defvar-local'.
12235 (tabulated-list-use-header-line, tabulated-list-entries)
12236 (tabulated-list-padding, tabulated-list-printer)
12237 (tabulated-list-sort-key): Declare with `defvar-local'.
12238 (tabulated-list-init-header, tabulated-list-print-fake-header):
12241 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12243 * arc-mode.el (archive-mode): Add `archive-write-file' to
12244 `write-contents-functions' also for remote files. (Bug#14652)
12246 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12248 * cus-edit.el (custom-commands): Fix typos.
12249 (custom-display): Fix tooltip text.
12250 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12251 Fix typos in docstrings.
12252 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12253 (custom-unlispify-menu-entry, custom-magic-value-create)
12254 (custom-add-see-also, custom-group-value-create): Use ?\s.
12255 (custom-guess-type, customize-apropos, editable-field)
12256 (custom-face-value-create): Use `string-match-p'.
12257 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12259 * custom.el (custom-load-symbol): Use `string-match-p'.
12261 * ansi-color.el: Convert to lexical binding.
12262 (ansi-colors): Fix URL.
12263 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12264 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12265 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12267 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12269 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12271 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12273 2013-06-19 Tom Tromey <tromey@redhat.com>
12275 * net/eww.el (eww-top-url): Remove.
12276 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12277 (eww-render): Set new variables. Don't set eww-top-url.
12278 (eww-handle-link): Handle "prev", "home", and "contents".
12279 Downcase the rel text.
12280 (eww-top-url): Choose best top URL.
12282 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12284 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12285 relying in widget.el. Using widget.el leads to too many
12286 user interface inconsistencies.
12287 (eww-self-insert): Implement entering commands in text fields.
12288 (eww-process-text-input): New function to make text input field editing
12290 (eww-submit): Rewrite to use the new-style form methods.
12291 (eww-select-display): Display the correct selected item.
12292 (eww-change-select): Implement changing the select value.
12293 (eww-toggle-checkbox): Implement radio/checkboxes.
12294 (eww-update-field): Fix compilation error.
12295 (eww-tag-textarea): Implement <textarea>.
12297 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12298 we don't shadow mode-specific bindings.
12300 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12303 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12305 2013-06-19 Glenn Morris <rgm@gnu.org>
12307 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12309 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12311 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12314 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12316 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12318 * net/browse-url.el (browse-url-browser-function):
12319 `eww-browse-url' has the right calling signature, `eww' does not.
12321 2013-06-19 Glenn Morris <rgm@gnu.org>
12323 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12324 Only eval autoloaded macros.
12325 (byte-compile-autoload): Only give the macro warning for macros.
12327 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12328 (ps-underlined-faces): Declare.
12330 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12331 (speedbar-add-supported-extension): Declare.
12333 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12334 Don't include a date stamp in the header of the generated file;
12335 it leads to needless differences between output files.
12337 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12339 * net/secrets.el (secrets-struct-secret-content-type):
12340 Replace check of introspection data by a test call of "CreateItem".
12341 Some servers do not offer introspection.
12343 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12345 * electric.el (electric-pair-mode): Improve interaction with
12346 electric-layout-mode.
12347 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12348 (electric-pair-syntax): Use text-mode-syntax-table in comments
12350 (electric-pair--insert): New function.
12351 (electric-pair-post-self-insert-function): Use it and
12352 electric--after-char-pos.
12354 2013-06-19 Leo Liu <sdl.web@gmail.com>
12356 * progmodes/octave.el (octave-help): Fix regexp.
12358 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12360 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12361 (shr-table-horizontal-line): Allow nil as a value, and change the
12363 (shr-insert-table-ruler): Respect the nil value.
12365 2013-06-18 Tom Tromey <tromey@barimba>
12367 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12369 (eww-open-file): New defun.
12370 (eww-render): Initialize new variables.
12371 (eww-display-html): Handle "link" and "a".
12372 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12373 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12374 (eww-back-url): Rename from eww-previous-url.
12375 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12378 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12380 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12381 Distinguish ternary operator tokens from slash symbol and slash
12384 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12386 Convert symbol prettification into minor mode and global minor mode.
12388 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12389 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12390 (prettify-symbols--keywords): Rename from
12391 `prog-prettify-symbols-alist' and make a local defvar.
12392 (prettify-symbols--compose-symbol): Rename from
12393 `prog--prettify-font-lock-compose-symbol'.
12394 (prettify-symbols--make-keywords): Rename from
12395 `prog-prettify-font-lock-symbols-keywords' and simplify.
12396 (prog-prettify-install): Remove.
12397 (prettify-symbols-mode): New minor mode, based on
12398 `prog-prettify-install'.
12399 (turn-on-prettify-symbols-mode): New function.
12400 (global-prettify-symbols-mode): New globalized minor mode.
12402 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12403 * progmodes/cfengine.el (cfengine3-mode):
12404 * progmodes/perl-mode.el (perl-mode): Don't call
12405 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12407 2013-06-18 Juri Linkov <juri@jurta.org>
12409 * files-x.el (modify-file-local-variable-message): New function.
12410 (modify-file-local-variable)
12411 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12412 and call `modify-file-local-variable-message' when it's non-nil.
12413 (add-file-local-variable, delete-file-local-variable)
12414 (add-file-local-variable-prop-line)
12415 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12416 and use it. (Bug#9820)
12418 2013-06-18 Juri Linkov <juri@jurta.org>
12420 * emulation/vi.el (vi-shell-op):
12421 * emulation/vip.el (vip-execute-com, ex-command):
12422 * emulation/viper-cmd.el (viper-exec-bang):
12423 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12424 the call of `shell-command-on-region'. (Bug#14637)
12426 * simple.el (shell-command-on-region): Doc fix.
12428 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12430 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12433 2013-06-18 Glenn Morris <rgm@gnu.org>
12435 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12437 * newcomment.el (comment-search-forward, comment-search-backward):
12438 Doc fix. (Bug#14376)
12440 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12442 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12443 (buffer-face-mode-invoke): Doc fix.
12445 2013-06-18 Matthias Meulien <orontee@gmail.com>
12447 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12448 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12450 2013-06-18 Glenn Morris <rgm@gnu.org>
12452 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12453 Replace obsolete function generic-make-keywords with its expansion.
12455 * progmodes/python.el (ffap-alist): Declare.
12457 * textmodes/reftex.el (bibtex-mode-map): Declare.
12459 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12461 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12462 (package-unpack, package-unpack-single): Return the pkg-dir.
12463 (package-download-transaction): Use it to update package-alist.
12465 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12467 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12470 2013-06-17 Juri Linkov <juri@jurta.org>
12472 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12474 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12476 * emacs-lisp/package.el (package-load-descriptor):
12477 Remove `with-syntax-table' call, `read' doesn't need it.
12478 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12480 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12482 * startup.el (command-line): Expand package name returned by
12483 `package--description-file' (bug#14639).
12485 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12487 * emacs-lisp/package.el (package-load-descriptor): Do not call
12488 `emacs-lisp-mode', just use its syntax table.
12490 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12492 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12493 `font-lock-extra-managed-props' if any prettifying keyword is added.
12494 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12495 (prog-mode): Use `setq-local'.
12497 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12499 * international/characters.el (standard-case-table): Set syntax of ?»
12500 and ?« to punctuation.
12502 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12504 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12505 Save relevant match data before calling `syntax-ppss' (bug#14595).
12507 2013-06-15 Juri Linkov <juri@jurta.org>
12509 * files-x.el (modify-file-local-variable-prop-line): Add local
12510 variables to the end of the existing comment on the first line.
12511 Use `file-auto-mode-skip' to skip interpreter magic line,
12512 and also skip XML declaration.
12514 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12516 * startup.el (package--builtin-versions): New var.
12517 (package-subdirectory-regexp): Remove.
12518 (package--description-file): Hard code its value instead.
12520 * emacs-lisp/package.el: Don't activate packages older than builtin.
12521 (package-obsolete-list): Rename from package-obsolete-alist, and make
12522 it into a simple list of package-desc.
12523 (package-strip-version): Remove.
12524 (package-built-in-p): Use package--builtin-versions.
12525 (package-mark-obsolete): Simplify.
12526 (package-process-define-package): Mark it obsolete if older than the
12528 (package-handle-response): Use line-end-position.
12529 (package-read-archive-contents, package--download-one-archive):
12531 (package--add-to-archive-contents): Skip if older than the builtin or
12533 (package-menu-describe-package): Fix last change.
12534 (package-list-unversioned): New var.
12535 (package-menu--generate): Use it.
12537 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12538 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12539 (autoload-builtin-package-versions): New variable.
12540 (autoload-generate-file-autoloads): Use them.
12541 Remove the list of autoloaded functions/macros from the
12542 (autoload...) comments.
12544 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12546 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12548 * simple.el (line-move-partial): Don't jump to the next screen
12549 line as soon as it becomes visible. Instead, continue enlarging
12550 the vscroll until the portion of a tall screen line that's left on
12551 display is about the height of the frame's default font.
12554 2013-06-15 Glenn Morris <rgm@gnu.org>
12556 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12557 compilation-error-regexp-alist void, or local while let-bound.
12559 * progmodes/make-mode.el (makefile-mode-syntax-table):
12560 Treat "=" as punctuation. (Bug#14614)
12562 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12564 * help-fns.el (describe-variable):
12565 Add extra line for permanent-local variables.
12567 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12569 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12570 Add export, import, library. (Bug#9164)
12571 (library): Set indent function.
12573 2013-06-14 Glenn Morris <rgm@gnu.org>
12575 * term/xterm.el (xterm--query):
12576 Stop after first matching handler. (Bug#14615)
12578 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12580 Add support for dired in saveplace.
12581 * dired.el (dired-initial-position-hook): New variable.
12582 (dired-initial-position): Call hook to place cursor position.
12583 * saveplace.el (save-place-to-alist): Add dired position.
12584 (save-place-dired-hook): New function.
12586 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12588 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12589 through a symbol rather than letrec.
12591 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12592 (package-desc): Add `dir' field.
12593 (package-desc-full-name): New function.
12594 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12595 (package-maybe-load-descriptor): Remove.
12596 (package-load-all-descriptors): Just call package-load-descriptor.
12597 (package--disabled-p): New function.
12598 (package-desc-vers, package-desc-doc): Remove aliases.
12599 (package--dir): Remove function.
12600 (package-activate): Check if a package is disabled.
12601 (package-process-define-package): New function, extracted from
12603 (define-package): Turn into a place holder.
12604 (package-unpack-single, package-tar-file-info):
12605 Use package--description-file.
12606 (package-compute-transaction): Use package--disabled-p.
12607 (package-download-transaction): Don't call
12608 package-maybe-load-descriptor since they're all loaded anyway.
12609 (package-install): Change argument to be a pkg-desc.
12610 (package-delete): Use a single pkg-desc argument.
12611 (describe-package-1): Use package-desc-dir instead of package--dir.
12612 Use package-desc property instead of package-symbol.
12613 (package-install-button-action): Adjust accordingly.
12614 (package--push): Rewrite.
12615 (package-menu--print-info): Adjust accordingly. Change the ID format
12617 (package-menu-describe-package, package-menu-get-status)
12618 (package-menu--find-upgrades, package-menu-mark-upgrades)
12619 (package-menu-execute, package-menu--name-predicate):
12620 Adjust accordingly.
12621 * startup.el (package--description-file): New function.
12622 (command-line): Use it.
12623 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12624 Use package-desc-version.
12626 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12627 (byte-compile-preprocess): Use it.
12628 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12629 can't quite recognize.
12630 (byte-compile-add-to-list): Remove.
12631 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12632 (cconv-closure-convert): Add assertion.
12634 * emacs-lisp/map-ynp.el: Use lexical-binding.
12635 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12636 Factor out some repeated code.
12638 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12640 * subr.el (with-eval-after-load): New macro.
12641 (eval-after-load): Allow form to be a function.
12642 take advantage of lexical-binding.
12643 (do-after-load-evaluation): Use dolist and adjust to new format.
12644 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12646 2013-06-13 Juri Linkov <juri@jurta.org>
12648 * replace.el (perform-replace): Display "symbol " and other search
12649 modes from `isearch-message-prefix' in the *Help* buffer.
12651 * isearch.el (isearch-query-replace): Add " symbol" and other
12652 possible search modes from `isearch-message-prefix' to the prompt.
12653 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12654 when reading a regexp to collect.
12656 2013-06-13 Juri Linkov <juri@jurta.org>
12658 * isearch.el (word-search-regexp): Match whitespace if the search
12659 string begins or ends in whitespace. The LAX arg is applied to
12660 both ends of the search string. Use `regexp-quote' and explicit
12661 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12662 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12663 boundaries are replaced with symbol boundaries, and characters
12664 between symbols match non-word non-symbol syntax. (Bug#14602)
12666 2013-06-13 Juri Linkov <juri@jurta.org>
12668 * isearch.el (isearch-del-char): Don't exceed the length of
12669 `isearch-string' by the prefix arg. (Bug#14563)
12671 2013-06-13 Juri Linkov <juri@jurta.org>
12673 * isearch.el (isearch-yank-word, isearch-yank-line)
12674 (isearch-char-by-name, isearch-quote-char)
12675 (isearch-printing-char, isearch-process-search-char):
12676 Add optional count prefix arg. (Bug#14563)
12678 * international/isearch-x.el
12679 (isearch-process-search-multibyte-characters):
12680 Add optional count prefix arg.
12682 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12684 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12685 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12688 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12690 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12692 2013-06-13 Glenn Morris <rgm@gnu.org>
12694 * startup.el (tty-handle-args):
12695 Don't just discard "--" and anything after. (Bug#14608)
12697 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12699 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12701 Implement changes in Secret Service API. Make it backward compatible.
12702 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12703 (secrets-create-item): Use it. Prefix properties with interface.
12705 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12707 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12708 (term-emulate-terminal): Respect term-suppress-hard-newline.
12710 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12712 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12713 Only remove a `thumb-file' overlay. (Bug#14548)
12715 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12717 * mail/reporter.el (reporter-submit-bug-report):
12718 Handle missing package-name. (Bug#14600)
12720 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12722 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12723 (reftex-citation-prompt, reftex-default-bibliography)
12724 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12725 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12726 (reftex-bib-sort-author, reftex-bib-sort-year)
12727 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12728 (reftex-extract-bib-entries-from-thebibliography)
12729 (reftex-get-bibkey-default, reftex-get-bib-names)
12730 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12731 (reftex-format-bib-entry, reftex-parse-bibitem)
12732 (reftex-format-bibitem, reftex-do-citation)
12733 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12734 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12735 (reftex-insert-bib-matches, reftex-format-citation)
12736 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12737 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12738 existing comments into docstrings.
12740 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12742 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12744 2013-06-12 Andreas Schwab <schwab@suse.de>
12746 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12747 for auto-save files.
12749 2013-06-12 Glenn Morris <rgm@gnu.org>
12751 * ido.el (ido-delete-ignored-files): Remove.
12752 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12753 Go back to calling ido-ignore-item-p directly.
12755 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12757 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12759 * ido.el (ido-delete-ignored-files): New function,
12760 split from ido-make-file-list-1.
12761 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12762 (ido-make-file-list-1): Use ido-delete-ignored-files.
12764 2013-06-12 Leo Liu <sdl.web@gmail.com>
12766 * progmodes/octave.el (inferior-octave-startup)
12767 (inferior-octave-completion-table)
12768 (inferior-octave-track-window-width-change)
12769 (octave-eldoc-function-signatures, octave-help)
12770 (octave-find-definition): Use single quoted strings.
12771 (inferior-octave-startup-args): Change default value.
12772 (inferior-octave-startup): Do not hard code "-i" and
12773 "--no-line-editing".
12774 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12775 (inferior-octave-directory-tracker): Use it.
12776 (octave-goto-function-definition): Robustify.
12777 (octave-help): Support highlighting operators in 'See also'.
12778 (octave-find-definition): Find subfunctions only in Octave mode.
12780 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12782 * help-fns.el (help-fns--compiler-macro): If the handler function is
12783 named, then put a link to it.
12784 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12785 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12786 (cl-typep): Use it.
12787 (cl-eval-when): Simplify debug spec.
12788 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12789 compiler-macro function instead of setting `compiler-macro-file'.
12791 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12793 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12794 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12796 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12797 Daniel Hackney <dan@haxney.org>
12799 First part of Daniel Hackney's patch to package.el.
12800 * emacs-lisp/package.el: Use defstruct.
12801 (package-desc): New, main struct.
12802 (package--bi-desc, package--ac-desc): New structs, used to describe the
12803 format in external files.
12804 (package-desc-vers): Replace with package-desc-version accessor.
12805 (package-desc-doc): Replace with package-desc-summary accessor.
12806 (package-activate-1): Remove `package' arg since the pkg-vec now
12808 (define-package): Use package-desc-from-define.
12809 (package-unpack-single): Change file-name arg to be a symbol.
12810 (package--add-to-archive-contents): Use package-desc-create and new
12811 accessor functions to package--ac-desc.
12812 (package-buffer-info, package-tar-file-info): Return a package-desc.
12813 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12814 arg to be a package-desc.
12815 (package-install-file): Adjust accordingly. Use \' to match EOS.
12816 (package--from-builtin): New function.
12817 (describe-package-1, package-menu--generate): Use it.
12818 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12819 (package-generate-autoloads): Idem and return the name of the file.
12820 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12821 Change pkg-info arg to be a package-desc.
12822 Use package-make-ac-desc.
12823 (package-upload-file): Use \' to match EOS.
12824 * finder.el (finder-compile-keywords): Use package-make-builtin.
12826 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12828 * vc/vc.el (vc-deduce-fileset): Change error message.
12829 (vc-read-backend): New function.
12830 (vc-next-action): Use it.
12832 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12834 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12835 (prolog-font-lock-keywords): Use regexp-opt instead.
12836 Don't manually highlight strings.
12837 (prolog-mode-variables): Simplify comment-start-skip.
12838 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12840 * emacs-lisp/generic.el (generic--normalise-comments)
12841 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12842 (generic-mode-set-comments): Use them.
12843 (generic-bracket-support): Use setq-local.
12844 (generic-make-keywords-list): Declare obsolete.
12846 2013-06-11 Glenn Morris <rgm@gnu.org>
12848 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12849 Prettify after setting font-lock-defaults. (Bug#14574)
12851 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12853 * replace.el (query-replace, occur-read-regexp-defaults-function)
12855 * subr.el (declare-function, number-sequence, local-set-key)
12856 (substitute-key-definition, locate-user-emacs-file)
12857 (with-silent-modifications, split-string, eval-after-load):
12858 Fix typos, remove unneeded backslashes and reflow some docstrings.
12860 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12862 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12863 default for Elisp files.
12865 2013-06-11 Glenn Morris <rgm@gnu.org>
12867 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12868 although define-derived-mode was doing this anyway. (Bug#14583)
12870 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12872 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12873 Fix make-variable-buffer-local call to refer to the correct variable.
12875 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12877 * eshell/em-term.el (eshell-visual-commands)
12878 (eshell-visual-subcommands, eshell-visual-options):
12879 Add summary line to docstrings. Add cross-references.
12881 2013-06-10 Glenn Morris <rgm@gnu.org>
12883 * epa.el (epa-read-file-name): New function. (Bug#14510)
12884 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12886 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12888 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12889 output redirection to be ignored with visual commands.
12891 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12893 * eshell/em-term.el (eshell-visual-command-p): New function.
12894 (eshell-term-initialize): Move long lambda to separate function
12895 eshell-visual-command-p.
12896 * eshell/em-dirs.el (eshell-dirs-initialize):
12897 * eshell/em-script.el (eshell-script-initialize):
12898 Add missing #' to lambda.
12900 2013-06-08 Leo Liu <sdl.web@gmail.com>
12902 * progmodes/octave.el (octave-add-log-current-defun): New function.
12903 (octave-mode): Set add-log-current-defun-function.
12904 (octave-goto-function-definition): Do not move point if not found.
12905 (octave-find-definition): Enhance to try subfunctions first.
12907 2013-06-08 Glenn Morris <rgm@gnu.org>
12909 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12910 (byte-compile-backward-char, byte-compile-backward-word):
12911 Improve previous change, to handle non-explicit nil.
12913 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12915 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12916 (smie--opener/closer-at-point): New function.
12917 (smie--matching-block-data): Use it. Don't match from right after an
12918 opener or right before a closer. Obey smie-blink-matching-inners.
12919 Don't signal a mismatch for repeated inners like "switch..case..case".
12921 2013-06-07 Leo Liu <sdl.web@gmail.com>
12923 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12925 (octave-function-header-regexp): Fix. (Bug#14570)
12926 (octave-help-mode-finish-hook, octave-help-mode-finish):
12927 Remove. Just use temp-buffer-show-hook.
12929 * newcomment.el (comment-search-backward): Revert last change.
12932 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12934 2013-06-07 Eli Zaretskii <eliz@gnu.org>
12936 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12937 through xargs, to avoid failure due to MS-Windows limitations on
12938 command-line length.
12940 2013-06-06 Glenn Morris <rgm@gnu.org>
12942 * font-lock.el (lisp-font-lock-keywords-2):
12943 Treat user-error like error.
12945 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12946 (byte-compile-backward-char, byte-compile-backward-word):
12947 Handle explicit nil arguments. (Bug#14565)
12949 2013-06-05 Alan Mackenzie <acm@muc.de>
12951 * isearch.el (isearch-allow-prefix): New user option.
12952 (isearch-other-meta-char): Don't exit isearch when a prefix
12953 argument is typed whilst `isearch-allow-prefix' is non-nil.
12956 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12958 * autorevert.el (auto-revert-notify-handler): Use memq.
12959 Hide assertion failure.
12961 * skeleton.el: Use cl-lib.
12962 (skeleton-further-elements): Use defvar-local.
12963 (skeleton-insert): Use cl-progv.
12965 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12967 * progmodes/prog-mode.el (prog-prettify-symbols)
12968 (prog-prettify-install): Update docstrings.
12970 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12972 * simple.el: Move all the prog-mode code to prog-mode.el.
12973 * progmodes/prog-mode.el: New file.
12974 * loadup.el: Add prog-mode.el.
12976 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12978 * simple.el (prog-prettify-symbols): Add version.
12979 (prog-prettify-install): Add convenience function to prettify symbols.
12981 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12982 (perl--augmented-font-lock-keywords-1)
12983 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12984 variables and use it.
12986 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12987 (cfengine3-mode): Remove unneeded variable and use it.
12989 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12990 (lisp--augmented-font-lock-keywords-1)
12991 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12992 Remove unneeded variables and use it.
12994 2013-06-05 João Távora <joaotavora@gmail.com>
12996 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
12997 to point when opening the connection. (Bug#14380)
12999 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13001 * subr.el (load-history-regexp, load-history-filename-element)
13002 (eval-after-load, after-load-functions, do-after-load-evaluation)
13003 (eval-next-after-load, display-delayed-warnings)
13004 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13005 definition of save-match-data.
13006 (overriding-local-map): Remove accidental obsolescence declaration.
13008 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13010 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13012 Generalize symbol prettify support to prog-mode and implement it
13013 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13014 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13015 (prog--prettify-font-lock-compose-symbol)
13016 (prog-prettify-font-lock-symbols-keywords): New variables and
13017 functions to support symbol prettification.
13018 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13019 (lisp--augmented-font-lock-keywords-1)
13020 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13021 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13022 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13023 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13024 Implement prettify of -> => :: strings.
13025 * progmodes/perl-mode.el (perl-prettify-symbols)
13026 (perl--font-lock-compose-symbol)
13027 (perl--font-lock-symbols-keywords): Move to prog-mode.
13028 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13029 (perl-font-lock-keywords-1)
13030 (perl-font-lock-keywords-2): Remove explicit prettify support.
13031 (perl--augmented-font-lock-keywords)
13032 (perl--augmented-font-lock-keywords-1)
13033 (perl--augmented-font-lock-keywords-2, perl-mode):
13034 Implement prettify support.
13036 2013-06-05 Leo Liu <sdl.web@gmail.com>
13038 Re-implement SMIE matching block highlight using
13039 show-paren-data-function. (Bug#14395)
13040 * emacs-lisp/smie.el (smie-matching-block-highlight)
13041 (smie--highlight-matching-block-overlay)
13042 (smie--highlight-matching-block-lastpos)
13043 (smie-highlight-matching-block)
13044 (smie-highlight-matching-block-mode): Remove.
13045 (smie--matching-block-data-cache): New variable.
13046 (smie--matching-block-data): New function.
13047 (smie-setup): Use smie--matching-block-data for
13048 show-paren-data-function.
13050 * progmodes/octave.el (octave-mode-menu): Fix.
13051 (octave-find-definition): Skip garbage lines.
13053 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13055 Fix compilation error with simultaneous dynamic+lexical scoping.
13056 Add warning when a defvar appears after the first let-binding.
13057 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13058 (byte-compile-close-variables): Initialize it.
13059 (byte-compile--declare-var): New function.
13060 (byte-compile-file-form-defvar)
13061 (byte-compile-file-form-define-abbrev-table)
13062 (byte-compile-file-form-custom-declare-variable): Use it.
13063 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13064 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13065 (byte-compile-bind): Handle dynamic bindings that shadow
13067 (byte-compile-unbind): Make arg non-optional.
13068 (byte-compile-let): Simplify.
13069 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13070 (cconv--analyse-function, cconv-analyse-form): Populate it.
13071 Protect byte-compile-bound-variables to limit the scope of defvars.
13072 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13073 Remove unneeded rule for `declare'.
13075 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13076 so as to avoid depending on cl-adjoin at run-time.
13077 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13079 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13080 (macroexp--warn-and-return): Use it.
13082 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13084 * subr.el: Convert to lexical binding.
13085 (overriding-local-map): Make obsolete.
13086 (add-to-list): Doc fix. Add compiler macro.
13087 (read-key): Swap values of local maps.
13089 2013-06-05 Leo Liu <sdl.web@gmail.com>
13091 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13093 2013-06-04 Leo Liu <sdl.web@gmail.com>
13095 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13096 (compilation-auto-jump): Suppress the "Mark set" message to give
13097 way to exit message.
13099 2013-06-04 Alan Mackenzie <acm@muc.de>
13101 Remove faulty optimisation from indentation calculation.
13102 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13103 search limit based on 2000 characters back from indent-point.
13105 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13107 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13109 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13111 * emacs-lisp/lisp.el: Use lexical-binding.
13112 (lisp--local-variables-1, lisp--local-variables): New functions.
13113 (lisp--local-variables-completion-table): New var.
13114 (lisp-completion-at-point): Use it complete let-bound vars.
13116 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13117 eagerly (bug#14422).
13119 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13121 * autorevert.el (auto-revert-notify-enabled)
13122 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13123 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13124 (auto-revert-notify-handler): Handle also gfilenotify.
13126 * subr.el (file-notify-handle-event): New defun. Replacing ...
13127 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13130 2013-06-03 Juri Linkov <juri@jurta.org>
13132 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13133 `M-s h .'. (Bug#14427)
13135 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13136 command `hi-lock-face-symbol-at-point'.
13137 (hi-lock-face-symbol-at-point): New command.
13138 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13139 (hi-lock-menu): Add `highlight-symbol-at-point'.
13140 (hi-lock-mode): Doc fix.
13142 * isearch.el (isearch-forward-symbol-at-point): New command.
13143 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13144 (isearch-highlight-regexp): Add a regexp which matches
13145 words/symbols for word/symbol mode.
13147 * subr.el (find-tag-default-bounds): New function with the body
13148 mostly moved from `find-tag-default'.
13149 (find-tag-default): Move most code to `find-tag-default-bounds',
13150 call it and apply `buffer-substring-no-properties' afterwards.
13152 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13154 * eshell/em-term.el (eshell-term-initialize):
13155 Use `cl-intersection' rather than `intersection'.
13157 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13159 * vc/log-view.el: Doc fix.
13160 (log-view-mode-map): Copy keymap from `special-mode-map'.
13162 2013-06-02 Eric Ludlam <zappo@gnu.org>
13164 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13165 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13166 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13167 (eieio-unbound, eieio-default-superclass)
13168 (eieio--define-field-accessors, method-static, method-before)
13169 (method-primary, method-after, method-num-lists)
13170 (method-generic-before, method-generic-primary)
13171 (method-generic-after, method-num-slots)
13172 (eieio-specialized-key-to-generic-key)
13173 (eieio--check-type, class-v, class-p)
13174 (eieio-class-name, define-obsolete-function-alias)
13175 (eieio-class-parents-fast, eieio-class-children-fast)
13176 (same-class-fast-p, class-constructor, generic-p)
13177 (generic-primary-only-p, generic-primary-only-one-p)
13178 (class-option-assoc, class-option, eieio-object-p)
13179 (class-abstract-p, class-method-invocation-order)
13180 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13181 (eieio-class-un-autoload, eieio-defclass)
13182 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13183 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13184 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13185 (eieio-defgeneric-reset-generic-form)
13186 (eieio-defgeneric-form-primary-only)
13187 (eieio-defgeneric-reset-generic-form-primary-only)
13188 (eieio-defgeneric-form-primary-only-one)
13189 (eieio-defgeneric-reset-generic-form-primary-only-one)
13190 (eieio-unbind-method-implementations)
13191 (eieio--defmethod, eieio--typep)
13192 (eieio-perform-slot-validation, eieio-validate-slot-value)
13193 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13194 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13195 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13196 (eieio-slot-name-index, eieio-class-slot-name-index)
13197 (eieio-set-defaults, eieio-initarg-to-attribute)
13198 (eieio-attribute-to-initarg, eieio-c3-candidate)
13199 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13200 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13201 (eieio-class-precedence-list, eieio-generic-call-methodname)
13202 (eieio-generic-call-arglst, eieio-generic-call-key)
13203 (eieio-generic-call-next-method-list)
13204 (eieio-pre-method-execution-functions, eieio-generic-call)
13205 (eieio-generic-call-primary-only, eieiomt-method-list)
13206 (eieiomt-optimizing-obarray, eieiomt-install)
13207 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13208 (eieio-generic-form, eieio-defmethod, make-obsolete)
13209 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13210 (defclass): Remove `eval-and-compile' from macro.
13211 (call-next-method, shared-initialize): Instead of using
13212 `scoped-class' variable, use new eieio--scoped-class, and
13213 eieio--with-scoped-class.
13214 (initialize-instance): Rename local variable 'scoped-class' to
13215 'this-class' to remove ambiguitity from old global.
13217 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13219 (eieio--scoped-class-stack): New variable.
13220 (eieio--scoped-class): New fcn.
13221 (eieio--with-scoped-class): New scoping macro.
13222 (eieio-defclass): Use pushnew instead of add-to-list.
13223 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13224 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13225 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13226 `scoped-class' variable, use new eieio--scoped-class, and
13227 eieio--with-scoped-class.
13229 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13231 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13233 * eshell/esh-ext.el (eshell-external-command): Pass args to
13234 `eshell-find-interpreter'.
13235 (eshell-find-interpreter): Add new second parameter ARGS.
13237 * eshell/em-script.el (eshell-script-initialize): Add second arg
13238 to the function added as MATCH to `eshell-interpreter-alist'.
13240 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13241 the function added as MATCH to `eshell-interpreter-alist'.
13243 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13244 (eshell-visual-options): New defcustom.
13245 (eshell-escape-control-x): Adapt docstring.
13246 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13247 `eshell-visual-options' in addition to `eshell-visual-commands'.
13248 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13250 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13252 * progmodes/python.el (python-indent-block-enders): Add break,
13253 continue and raise keywords.
13255 2013-06-01 Glenn Morris <rgm@gnu.org>
13257 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13259 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13260 * progmodes/cc-cmds.el (delete-forward-p):
13261 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13262 * progmodes/cc-engine.el (buffer-syntactic-context):
13263 * progmodes/cc-fonts.el (face-property-instance):
13264 * progmodes/cc-mode.el (set-keymap-parents):
13265 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13266 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13267 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13268 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13269 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13271 * progmodes/cc-vars.el (other): Emacs has this widget since
13272 at least 21.1, so don't (re)define it.
13274 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13275 Replace the obsolete alias pcomplete-arg-quote-list.
13277 2013-06-01 Leo Liu <sdl.web@gmail.com>
13279 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13280 punctuation syntax.
13281 (inferior-octave-minimal-columns)
13282 (inferior-octave-last-column-width): New variables.
13283 (inferior-octave-track-window-width-change): New function.
13284 (inferior-octave-mode): Adjust column width so that Octave output,
13285 for example from 'ls', can fit into the window nicely.
13287 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13289 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13290 Highlight expansions inside regexp literals.
13292 2013-05-31 Glenn Morris <rgm@gnu.org>
13294 * obsolete/sym-comp.el (symbol-complete):
13295 Replace obsolete completion-annotate-function.
13297 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13299 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13301 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13302 New function, checks if point is inside a literal that allows
13303 expression expansion.
13304 (ruby-syntax-propertize-expansion): Use it.
13305 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13308 2013-05-30 Juri Linkov <juri@jurta.org>
13310 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13312 (isearch-invisible): New variable.
13313 (isearch-forward): Doc fix.
13314 (isearch-mode): Set `isearch-invisible'
13315 to the value of `search-invisible'.
13316 (isearch-toggle-case-fold): Doc fix.
13317 (isearch-toggle-invisible): New command.
13318 (isearch-query-replace): Let-bind `search-invisible'
13319 to the value of `isearch-invisible'.
13320 (isearch-search): Use `isearch-invisible' instead of
13321 `search-invisible'. Let-bind `search-invisible'
13322 to the value of `isearch-invisible'. (Bug#11378)
13324 2013-05-30 Juri Linkov <juri@jurta.org>
13326 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13327 call when `query-flag' is nil and `search-invisible' is non-nil.
13330 2013-05-30 Glenn Morris <rgm@gnu.org>
13332 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13334 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13335 (cc-require): Suppress spurious "noruntime" warnings.
13336 (cc-require-when-compile): Use fboundp, for sake of compiler.
13338 * progmodes/cc-mode.el: Move load of cc-vars before that of
13339 cc-langs (which in turn loads cc-vars), to quieten compiler.
13341 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13343 * paren.el: Simplify the code.
13344 (show-paren-mode): Always start the timer.
13345 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13346 (show-paren--overlay, show-paren--overlay-1): Rename from
13347 show-paren-overlay and show-paren-overlay-1, and initialize to an
13348 overlay rather than to nil.
13349 (show-paren-function): Misc cleanup and simplifications.
13351 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13353 * paren.el (show-paren-data-function): New hook.
13354 (show-paren--default): New function, extracted from show-paren-function.
13355 (show-paren-function): Use show-paren-data-function.
13357 2013-05-30 Glenn Morris <rgm@gnu.org>
13359 * ielm.el (ielm-map, ielm-complete-symbol):
13360 Use completion-at-point rather than obsolete functions.
13361 (inferior-emacs-lisp-mode): Doc fix.
13362 Set completion-at-point-functions, rather than
13363 comint-dynamic-complete-functions.
13365 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13366 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13367 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13369 * image.el (image-animated-p): Tweak definition.
13371 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13372 (rlogin-process-connection-type): Tweak default. Add set-after.
13373 (rlogin-host): Doc fix.
13374 (rlogin): Tweak prompt.
13375 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13377 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13378 * progmodes/tcl.el (inferior-tcl-mode-map):
13379 Use completion-at-point rather than obsolete alias.
13381 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13383 * minibuffer.el (read-file-name-completion-ignore-case):
13384 Move before completion--in-region, for eager macro expansion.
13386 2013-05-29 Juri Linkov <juri@jurta.org>
13388 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13389 for total count of matching lines. Add `global-matches' for total
13390 count of matches. Rename `matches' to `lines' for count of
13391 matching lines. Add `matches' for count of matches.
13392 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13393 to `prev-line' for line number of prev match endpt.
13394 Increment `matches' for every match. Print the number of
13395 matching lines in the header.
13396 (occur-context-lines): Rename `lines' to `curr-line'.
13397 Rename `prev-lines' to `prev-line'. (Bug#14017)
13399 2013-05-29 Juri Linkov <juri@jurta.org>
13401 * replace.el (perform-replace): Add `skip-read-only-count',
13402 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13403 Increment them for corresponding conditions and report the number
13404 of skipped occurrences in the final message. (Bug#11746)
13405 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13406 (replace-string, replace-regexp): Doc fix.
13408 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13410 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13412 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13413 prog-mode-map (bug#14504).
13415 2013-05-29 Leo Liu <sdl.web@gmail.com>
13417 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13418 (octave-help): Small simplification.
13420 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13421 off the highlight first.
13423 2013-05-29 Glenn Morris <rgm@gnu.org>
13425 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13426 Handle idlwave-last-system-routine-info-cons-cell being nil.
13428 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13429 (idlwave-write-paths): Simplify via with-temp-buffer.
13431 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13432 * emulation/cua-rect.el: Also load cua-base at run time.
13434 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13435 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13436 (cperl-imenu-on-info): Require imenu.
13438 2013-05-28 Alan Mackenzie <acm@muc.de>
13440 Handle "capitalised keywords" correctly.
13441 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13443 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13445 * eshell/em-unix.el: Add -r option to cp.
13447 2013-05-28 Glenn Morris <rgm@gnu.org>
13449 * vc/vc-arch.el (vc-exec-after): Declare.
13450 (vc-switches): Autoload.
13451 * vc/vc-bzr.el: No need to require vc when compiling.
13452 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13453 (vc-resynch-buffer, vc-dir-refresh): Declare.
13454 (vc-setup-buffer, vc-switches): Autoload.
13455 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13456 (vc-resynch-buffer): Declare.
13457 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13458 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13459 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13460 (grep-read-regexp, grep-read-files, grep-expand-template)
13461 (vc-dir-refresh): Declare.
13462 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13463 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13464 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13465 * vc/vc-mtn.el (vc-exec-after): Declare.
13466 (vc-switches): Autoload.
13467 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13468 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13469 (vc-file-tree-walk): Declare.
13470 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13471 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13472 (vc-tag-precondition, vc-rename-master): Autoload.
13473 * vc/vc-svn.el (vc-exec-after): Declare.
13474 (vc-switches, vc-setup-buffer): Autoload.
13475 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13477 (vc-resynch-buffer): Declare.
13479 * obsolete/fast-lock.el (byte-compile-warnings):
13480 Don't warn about obsolete features in this obsolete file.
13482 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13483 Move definition before use.
13485 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13486 (dun-unix-verbs): Remove dun-zippy.
13487 (dun-zippy): Remove function.
13489 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13491 2013-05-27 Juri Linkov <juri@jurta.org>
13493 * replace.el (replace-search): New function with code moved out
13494 from `perform-replace'.
13495 (replace-highlight, replace-dehighlight): Move function definitions
13496 up closer to `replace-search'. (Bug#11746)
13498 2013-05-27 Juri Linkov <juri@jurta.org>
13500 * replace.el (perform-replace): Ignore invisible matches.
13501 In addition to checking `query-replace-skip-read-only', also
13502 filter out matches by calling `run-hook-with-args-until-failure'
13503 on `isearch-filter-predicates', and also check `search-invisible'
13504 for t or call `isearch-range-invisible'.
13505 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13507 2013-05-27 Juri Linkov <juri@jurta.org>
13509 * isearch.el (isearch-filter-predicates): Rename from
13510 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13511 (isearch-message-prefix): Display text from the property
13512 `isearch-message-prefix' of the currently active filters.
13513 (isearch-search): Don't compare `isearch-filter-predicate' with
13514 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13515 on `isearch-filter-predicates'. Also check `search-invisible' for t
13516 or call `isearch-range-invisible'.
13517 (isearch-filter-visible): Make obsolete.
13518 (isearch-lazy-highlight-search):
13519 Call `run-hook-with-args-until-failure' on
13520 `isearch-filter-predicates' and use `isearch-range-invisible'.
13522 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13523 `isearch-filter-predicates' instead of `funcall'ing
13524 `isearch-filter-predicate'.
13525 (Info-mode): Set `Info-isearch-filter' to
13526 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13528 * dired-aux.el (dired-isearch-filter-predicate-orig):
13530 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13531 (dired-isearch-filenames-end): Add and remove
13532 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13533 instead of changing the value of `isearch-filter-predicate'.
13534 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13535 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13536 Put property `isearch-message-prefix' to "filename " on
13537 `dired-isearch-filter-filenames'.
13539 * wdired.el (wdired-change-to-wdired-mode):
13540 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13541 locally instead of changing `isearch-filter-predicate'.
13542 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13544 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13546 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13547 return the commit hash (Bug#14459). Also set the
13548 `vc-git-detached' property.
13549 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13550 (vc-git-mode-line-string): Use the same help-echo format whether
13551 in detached mode or not, because we know the actual revision now.
13552 When in detached mode, shorten the revision to 7 chars.
13554 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13556 * emacs-lisp/easy-mmode.el (define-minor-mode):
13557 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13558 mode hook and provide a docstring.
13560 2013-05-27 Alan Mackenzie <acm@muc.de>
13562 Remove spurious syntax-table text properties inserted by C-y.
13563 * progmodes/cc-mode.el (c-after-change): Also clear hard
13564 syntax-table property with value nil.
13566 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13568 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13569 when reading the events; the buffer layout shall not be changed.
13571 2013-05-27 Leo Liu <sdl.web@gmail.com>
13573 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13575 (inferior-octave-directory-tracker): Automatically re-sync
13577 (octave-help): Improve handling of 'See also'.
13579 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13581 * doc-view.el: Minor naming convention tweaks.
13582 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13584 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13585 even if there's no `display' property yet (bug#14435).
13587 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13589 * subr.el (unmsys--file-name): Rename from reveal-filename.
13591 * Makefile.in (custom-deps, finder-data, autoloads)
13592 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13593 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13594 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13596 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13598 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13599 error-completion on the first 2 args of condition-case (bug#14446).
13602 2013-05-25 Leo Liu <sdl.web@gmail.com>
13604 * comint.el (comint-previous-matching-input): Do not flood the
13605 *Messages* buffer with trivial messages.
13607 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13609 * progmodes/flymake.el (flymake-nop): Don't return a string.
13610 (flymake-set-at): Fix typo.
13612 * simple.el (read--expression): New function, extracted from
13613 eval-expression. Set completion-at-point-functions (bug#14465).
13614 (eval-expression, eval-minibuffer): Use it.
13616 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13618 * progmodes/flymake.el (flymake-save-buffer-in-file)
13619 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13620 (flymake-selected-frame, flymake-log, flymake-ins-after)
13621 (flymake-set-at, flymake-get-buildfile-from-cache)
13622 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13623 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13624 Refine the doc string.
13625 (flymake-get-file-name-mode-and-masks): Reformat.
13626 (flymake-get-real-file-name-function): Fix a minor bug.
13628 2013-05-24 Juri Linkov <juri@jurta.org>
13630 * progmodes/grep.el (grep-mode-font-lock-keywords):
13631 Support =linenumber= format used by git-grep for lines with
13632 function names. (Bug#13549)
13634 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13636 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13637 0 after a semi-colon; it works better for smie-auto-fill.
13638 (octave--indent-new-comment-line): New function.
13639 (octave-indent-new-comment-line): Use it (indirectly).
13640 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13641 modify comment-line-break-function.
13643 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13644 (smie-setup): Use add-function to set it.
13646 2013-05-24 Sam Steingold <sds@gnu.org>
13648 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13649 argument (before the `interactive' argument).
13651 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13653 * image-mode.el (image-mode-winprops): Add winprops to
13654 image-mode-winprops-alist before running
13655 image-mode-new-window-functions.
13656 * doc-view.el (doc-view-new-window-function): Don't delay
13657 doc-view-goto-page via timers (bug#14435).
13659 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13661 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13662 (doc-view-desktop-save-buffer): New function.
13663 (doc-view-restore-desktop-buffer): New function.
13664 (desktop-buffer-mode-handlers):
13665 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13667 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13668 `desktop-save-buffer' function.
13670 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13672 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13673 (tramp-gvfs-file-name-handler): Raise a user error when
13674 `tramp-gvfs-enabled' is nil.
13675 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13676 Do not raise a user error when loading package. (Bug#14447)
13678 * net/xesam.el: Move to obsolete/.
13680 2013-05-24 Glenn Morris <rgm@gnu.org>
13682 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13684 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13686 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13687 (Info-find-node, Man-getpage-in-background): Declare.
13689 * mail/unrmail.el (unrmail):
13690 Replace obsolete detect-coding-with-priority.
13692 * net/socks.el (socks-split-string): Use this rather than split-string.
13693 (socks-nslookup-host): Update for above change.
13694 (dynamic-choice, s5-dynamic-choice-match)
13695 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13696 Comment out unused code.
13698 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13699 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13700 (gud-tooltip-echo-area): Make obsolete.
13701 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13703 * progmodes/js.el (js--optimize-arglist): Declare.
13705 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13707 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13708 (ediff-window-C): Declare.
13710 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13711 Tweak requires to silence compiler.
13713 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13714 (he-search-string, he-tried-table, he-expand-list)
13715 (he-init-string, he-string-member, he-substitute-string)
13716 (he-reset-string): Declare.
13718 * obsolete/options.el (list-options): Use custom-variable-p,
13719 rather than obsolete alias.
13721 2013-05-23 Sam Steingold <sds@gnu.org>
13723 * simple.el (shell-command-on-region): Pass the `replace' argument
13724 down to `call-process-region' to comply with the doc as reported on
13725 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13727 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13729 * emacs-lisp/smie.el (smie-indent-forward-token)
13730 (smie-indent-backward-token): Handle string tokens (bug#14381).
13732 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13734 * ielm.el (ielm-menu): New menu.
13735 (inferior-emacs-lisp-mode): Set comment-start.
13737 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13739 * textmodes/reftex.el (reftex-ref-style-toggle):
13740 Fix deactivate action.
13742 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13743 Add cleveref macros.
13745 * textmodes/reftex-parse.el
13746 (reftex-locate-bibliography-files): Accept options for
13747 bibliography commands.
13748 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13749 Add addbibresource. Basic Biblatex support.
13751 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13753 * net/tramp-gvfs.el (top):
13754 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13755 when loading package. (Bug#14447)
13757 2013-05-23 Glenn Morris <rgm@gnu.org>
13759 * progmodes/js.el: No need to load comint when compiling.
13760 (ring-insert, comint-send-string, comint-send-input)
13761 (comint-last-input-end, ido-chop): Declare.
13763 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13764 * vc/ediff-mult.el: Adjust requires.
13765 (ediff-directories-internal, ediff-directory-revisions-internal)
13766 (ediff-patch-file-internal): Declare.
13767 * vc/ediff-ptch.el: Adjust requires.
13768 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13769 (ediff-find-file): Autoload.
13770 * vc/ediff-util.el: No need to load ediff when compiling.
13771 (ediff-regions-internal): Declare.
13772 * vc/ediff-wind.el: Adjust requires.
13773 (ediff-compute-toolbar-width): Define when compiling.
13774 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13775 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13776 (dired-get-filename, dired-get-marked-files)
13777 (ediff-last-dir-patch, ediff-patch-default-directory)
13778 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13779 (ediff-patch-buffer-internal): Declare.
13781 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13782 (ispell-process, ispell-buffer-local-words, lm-summary)
13783 (lm-section-start, lm-section-end): Declare.
13784 (checkdoc-ispell-init): Simplify.
13786 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13787 (he-string-member, he-reset-string, he-substitute-string): Declare.
13789 * eshell/em-ls.el: Adjust requires.
13790 (eshell-glob-regexp): Declare.
13791 * eshell/em-tramp.el: Adjust requires.
13792 (eshell-parse-command): Autoload.
13793 * eshell/em-xtra.el: Adjust requires.
13794 (eshell-parse-command): Autoload.
13795 * eshell/esh-ext.el: Adjust requires.
13796 (eshell-parse-command, eshell-close-handles): Autoload.
13797 * eshell/esh-io.el: Adjust requires.
13798 (eshell-output-filter): Autoload.
13799 * eshell/esh-util.el: No need to load tramp when compiling.
13800 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13802 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13803 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13804 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13805 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13806 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13807 * eshell/esh-opt.el, eshell/esh-proc.el:
13808 * eshell/esh-var.el: Adjust requires.
13809 * eshell/eshell.el: Do not require esh-util twice.
13810 (eshell-add-input-to-history): Declare.
13811 (eshell-command): Check history module is active before using it.
13813 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13815 2013-05-22 Leo Liu <sdl.web@gmail.com>
13817 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13819 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13821 * autorevert.el (auto-revert-notify-add-watch)
13822 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13823 it indicates changes in file modification time.
13825 2013-05-22 Glenn Morris <rgm@gnu.org>
13827 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13828 Always delete the autoloaded function from the noruntime and
13829 unresolved functions lists.
13831 * allout.el: No need to load epa, epg, overlay when compiling.
13832 (epg-context-set-passphrase-callback, epg-list-keys)
13833 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13834 (epg-key-user-id-list): Declare.
13836 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13837 (viper-set-parsing-style-toggling-macro)
13838 (viper-set-emacs-state-searchstyle-macros):
13839 Use called-interactively-p on Emacs.
13840 (viper-looking-back): Make it an obsolete alias. Update callers.
13841 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13842 Use looking-back rather than viper-looking-back.
13843 (viper-tmp-insert-at-eob, viper-enlarge-region)
13844 (viper-read-string-with-history, viper-register-to-point)
13845 (viper-append-to-register, viper-change-state-to-vi)
13846 (viper-backward-char-carefully, viper-forward-char-carefully)
13847 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13848 (viper-change-state-to-emacs): Declare.
13849 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13850 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13851 * emulation/viper-mous.el: Do not load viper-cmd.
13852 (viper-backward-char-carefully, viper-forward-char-carefully)
13853 (viper-forward-word, viper-adjust-window): Declare.
13855 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13857 * progmodes/idlw-help.el (idlwave-help-fontify):
13858 Use called-interactively-p.
13860 * term/w32console.el (w32-get-console-codepage)
13861 (w32-get-console-output-codepage): Declare.
13863 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13864 Remove unnecessary declarations.
13865 (dframe-message): Doc fix.
13867 * info.el (dframe-select-attached-frame, dframe-current-frame):
13870 * speedbar.el (speedbar-message): Make it an obsolete alias.
13871 Update all callers.
13872 (speedbar-with-attached-buffer)
13873 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13874 (speedbar-with-writable): Use backquote.
13875 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13876 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13877 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13878 rather than speedbar- aliases.
13879 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13880 (speedbar-make-specialized-keymap, speedbar-insert-button)
13881 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13882 (speedbar-do-function-pointer): Declare.
13883 (rmail-speedbar-button, rmail-speedbar-find-file)
13884 (rmail-speedbar-move-message):
13885 Use dframe-with-attached-buffer rather than speedbar- alias.
13886 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13887 (dframe-message, speedbar-make-specialized-keymap)
13888 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13889 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13890 (speedbar-insert-button, dframe-select-attached-frame)
13891 (dframe-maybee-jump-to-attached-frame)
13892 (speedbar-change-initial-expansion-list)
13893 (speedbar-previously-used-expansion-list-name): Declare.
13894 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13895 Use dframe-message, dframe-with-attached-buffer rather than
13897 (gud-sentinel): Silence compiler.
13898 * progmodes/vhdl-mode.el (speedbar-refresh)
13899 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13900 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13901 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13902 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13903 (speedbar-file-lists, speedbar-make-tag-line)
13904 (speedbar-line-directory, speedbar-goto-this-file)
13905 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13906 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13907 (speedbar-make-button, speedbar-reset-scanners)
13908 (speedbar-files-item-info, speedbar-line-text)
13909 (speedbar-find-file-in-frame, speedbar-set-timer)
13910 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13911 (speedbar-with-writable): Do not (re)define it.
13912 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13913 rather than speedbar- alias.
13915 2013-05-21 Leo Liu <sdl.web@gmail.com>
13917 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13919 (octave-mode): Tweak fill-nobreak-predicate.
13920 (inferior-octave-startup): Check process to avoid infinite loop.
13921 (inferior-octave): Pop to buffer first to show abornmal process
13924 2013-05-21 Glenn Morris <rgm@gnu.org>
13926 * printing.el (pr-menu-bar): Define when compiling.
13928 2013-05-21 Leo Liu <sdl.web@gmail.com>
13930 * progmodes/octave.el (octave-auto-fill): Remove.
13931 (octave-indent-new-comment-line): Improve.
13932 (octave-mode): Use auto fill mode through
13933 comment-line-break-function and fill-nobreak-predicate.
13934 (octave-goto-function-definition): Support DEFUN_DLD.
13935 (octave-beginning-of-defun): Small tweak.
13936 (octave-help): Show parent directory.
13938 2013-05-21 Glenn Morris <rgm@gnu.org>
13940 * files.el (dired-unmark):
13941 * progmodes/gud.el (gdb-input): Update declarations.
13943 * calculator.el (electric, ehelp): No need to load when compiling.
13944 (Electric-command-loop, electric-describe-mode): Declare.
13946 * doc-view.el (doc-view-current-converter-processes): Move before use.
13948 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13949 Move MODE-set-explicitly definition before use.
13951 * international/mule-diag.el (mule-diag):
13952 Don't use obsolete window-system-version.
13954 * mail/feedmail.el (smtpmail): No need to load when compiling.
13955 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13957 * mail/mail-utils.el (rfc822): No need to load when compiling.
13958 (rfc822-addresses): Autoload it.
13959 (mail-strip-quoted-names): Trivial simplification.
13961 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13962 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13964 * net/snmp-mode.el (tempo): Don't duplicate requires.
13966 * progmodes/prolog.el (info): No need to load when compiling.
13967 (comint): Require before shell requires it.
13968 (Info-goto-node): Autoload it.
13969 (Info-follow-nearest-node): Declare.
13970 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13972 * textmodes/artist.el (picture-mode-exit): Declare.
13974 * textmodes/reftex-parse.el (reftex-parse-from-file):
13975 Trivial rewrite so the compiler can parse it better.
13977 2013-05-20 Leo Liu <sdl.web@gmail.com>
13979 * progmodes/octave.el (octave-help-mode-map)
13980 (octave-help-mode-finish-hook): New variables.
13981 (octave-help-mode, octave-help-mode-finish): New functions.
13982 (octave-help): Use octave-help-mode.
13984 2013-05-20 Glenn Morris <rgm@gnu.org>
13986 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13988 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13990 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13991 start at point, so that expansion starting right after opening
13992 slash in a regexp is recognized.
13993 (ruby-syntax-before-regexp-re): New defvar, extracted from
13994 ruby-syntax-propertize-function. Since the value of this regexp
13995 is looked up at runtime now, we should be able to turn
13996 `ruby-syntax-methods-before-regexp' into a defcustom later.
13997 (ruby-syntax-propertize-function): Split regexp matching into two
13998 parts, for opening and closing slashes. That allows us to skip
13999 over string interpolations and support multiline regexps.
14000 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14001 for them, which calls `ruby-syntax-propertize-expansion'.
14002 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14003 call to `ruby-syntax-propertize-function'.
14004 (ruby-syntax-propertize-expansion): Extracted from
14005 `ruby-syntax-propertize-expansions'. Handles one expansion.
14006 (ruby-syntax-propertize-percent-literal): Leave point right after
14007 the percent symbol, so that the expression expansion rule can
14008 propertize the contents.
14009 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14011 (ruby-syntax-propertize-expansions): Remove.
14013 2013-05-18 Juri Linkov <juri@jurta.org>
14015 * man.el (Man-default-man-entry): Remove `-' from the end
14016 of the default value. (Bug#14400)
14018 2013-05-18 Glenn Morris <rgm@gnu.org>
14020 * comint.el (comint-password-prompt-regexp):
14021 Allow "password for XXX" where XXX contains colons (eg https://...).
14023 2013-05-18 Leo Liu <sdl.web@gmail.com>
14025 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14026 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14027 (octave-source-directories): Don't check process.
14028 (octave-source-directories, octave-find-definition): Doc fix.
14030 2013-05-18 Glenn Morris <rgm@gnu.org>
14032 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14033 Remove backspace/delete bindings. (Bug#14392)
14035 * cus-dep.el (custom-make-dependencies): Sort the output.
14036 (custom-versions-load-alist): Convert comment to doc.
14038 2013-05-17 Leo Liu <sdl.web@gmail.com>
14040 * newcomment.el (comment-search-backward): Stricter in finding
14041 comment start. (Bug#14303)
14043 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14044 (octave-comment-start-skip): Properly anchored.
14046 2013-05-17 Leo Liu <sdl.web@gmail.com>
14048 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14049 Clean up when turned off. (Bug#14395)
14050 (smie--highlight-matching-block-overlay): No longer buffer-local.
14051 (smie-highlight-matching-block): Adjust.
14053 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14055 Doc string fix for "nanoseconds" (Bug#14406).
14056 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14057 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14059 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14061 * calc/calc-units.el (math-extract-units): Preserve powers
14064 2013-05-17 Leo Liu <sdl.web@gmail.com>
14066 * subr.el (delete-consecutive-dups): New function.
14067 * ido.el (ido-set-matches-1): Use it.
14068 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14069 * ido.el (ido-remove-consecutive-dups): Remove.
14071 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14073 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14074 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14075 regexp-opt's `words'.
14077 2013-05-16 Leo Liu <sdl.web@gmail.com>
14079 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14080 (smie--highlight-matching-block-overlay)
14081 (smie--highlight-matching-block-lastpos)
14082 (smie--highlight-matching-block-timer): New variables.
14083 (smie-highlight-matching-block): New function.
14084 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14085 (smie-setup): Conditionally enable smie-blink-matching-open.
14087 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14089 Sync with upstream verilog-mode r840.
14090 * progmodes/verilog-mode.el (verilog-mode-version)
14091 (verilog-mode-release-date): Update.
14092 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14093 (verilog-sig-tieoff): Fix string error on
14094 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14095 (verilog-read-decls): Fix parameters confusing
14096 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14098 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14100 * subr.el (reveal-filename): New function.
14102 * loadup.el: Compute Emacs executable versions on MS-Windows,
14103 where executables have the .exe extension. Add a hard link
14104 emacs-XX.YY.ZZ.exe on MS-Windows.
14106 * Makefile.in (XARGS_LIMIT): New variable.
14107 (custom-deps, finder-data, autoloads)
14108 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14109 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14110 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14111 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14113 2013-05-16 Leo Liu <sdl.web@gmail.com>
14115 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14116 (octave-mode-menu, octave-mode-map): Remove its uses.
14118 2013-05-16 Reto Zimmermann <reto@gnu.org>
14120 Sync with upstream vhdl mode v3.34.2.
14121 * progmodes/vhdl-mode.el: Use `push' throughout.
14122 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14123 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14124 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14125 (vhdl-actual-generic-name): New option to derive actual generic name.
14126 (vhdl-port-paste-signals): Replace formal by actual generics.
14127 (vhdl-beautify): New name for old group vhdl-align. Update users.
14128 (vhdl-beautify-options): New option.
14129 (vhdl-last-input-event): New compat alias. Use throughout.
14130 (vhdl-goto-line): Replace user level function `goto-line'.
14131 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14132 vhdl-fix-statement-buffer.
14133 (vhdl-create-mode-menu): Add some entries.
14134 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14135 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14136 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14137 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14138 to force statements on one line.
14139 (vhdl-remove-trailing-spaces-region):
14140 New, split from vhdl-remove-trailing-spaces.
14141 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14142 Respect vhdl-beautify-options.
14143 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14144 (vhdl-update-sensitivity-list): Not add with index if exists without.
14145 Not include array index with signal. Ignore keywords in comments.
14146 (vhdl-get-visible-signals): Regexp tweaks.
14147 (vhdl-template-component-inst): Handle empty library.
14148 (vhdl-template-type): Add template for 'enum' type.
14149 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14150 Use vhdl-replace-string.
14151 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14152 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14153 (vhdl-speedbar-initialize): Update for above name change.
14154 (vhdl-compose-wire-components): Fix in handling of constants.
14155 (vhdl-error-regexp-emacs-alist): New variable.
14156 (vhdl-error-regexp-add-emacs): New function;
14157 adds support for new compile.el (Emacs 22+)
14158 (vhdl-generate-makefile-1): Change target order for single lib. units.
14159 Allow use of absolute file names.
14161 2013-05-16 Leo Liu <sdl.web@gmail.com>
14163 * simple.el (prog-indent-sexp): Indent enclosing defun.
14165 2013-05-15 Glenn Morris <rgm@gnu.org>
14167 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14168 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14169 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14170 (whitespace-highlight): Move to whitespace group.
14172 * comint.el (comint-source):
14173 * pcmpl-linux.el (pcmpl-linux):
14174 * shell.el (shell-faces):
14175 * eshell/esh-opt.el (eshell-opt):
14176 * international/ccl.el (ccl): Remove empty custom groups.
14178 * completion.el (dynamic-completion-mode):
14179 * jit-lock.el (jit-lock-debug-mode):
14180 * minibuffer.el (completion-in-region-mode):
14181 * type-break.el (type-break-mode-line-message-mode)
14182 (type-break-query-mode):
14183 * emulation/tpu-edt.el (tpu-edt-mode):
14184 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14185 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14186 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14188 * term/xterm.el (xterm): Change parent group to terminals.
14190 * master.el (master): Remove empty custom group.
14191 (master-mode): Remove unused :group argument.
14192 * textmodes/refill.el (refill): Remove empty custom group.
14193 (refill-mode): Remove unused :group argument.
14195 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14197 * cus-dep.el: Provide a feature.
14198 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14199 Don't mistakenly ignore files whose basenames match a basename
14200 from preloaded-file-list (eg cedet/ede/simple.el).
14201 Add a fallback method for getting :group.
14203 2013-05-15 Juri Linkov <juri@jurta.org>
14205 * isearch.el (isearch-char-by-name): Rename from
14206 `isearch-insert-char-by-name'. Doc fix.
14207 (isearch-forward): Mention `isearch-char-by-name' in
14208 the docstring. (Bug#13348)
14210 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14211 `exit-minibuffer' instead of
14212 `isearch-nonincremental-exit-minibuffer'.
14213 (isearch-edit-string): Remove mention of
14214 `isearch-nonincremental-exit-minibuffer' from docstring.
14215 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14216 (isearch-forward-exit-minibuffer)
14217 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14219 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14221 * loadup.el: Just use unversioned DOC.
14223 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14224 literals as extending to EOB.
14225 (nxml-last-fontify-end): Remove unused variable.
14226 (nxml-after-change1): Use with-silent-modifications.
14227 (nxml-extend-after-change-region): Simplify.
14228 (nxml-extend-after-change-region1): Remove function.
14229 (nxml-after-change1): Don't adjust for dependent regions.
14230 (nxml-fontify-matcher): Simplify.
14231 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14232 (xmltok-add-dependent): Remove function.
14233 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14234 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14235 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14236 unclosed <[[, <?, comment, and other literals as extending to EOB.
14237 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14238 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14240 (rng-do-some-validation-1): Don't mark dependent regions.
14241 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14242 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14243 (nxml-clear-dependent-regions): Remove functions.
14244 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14245 (nxml-ensure-scan-up-to-date):
14246 Don't clear&mark dependent regions.
14248 2013-05-15 Leo Liu <sdl.web@gmail.com>
14250 * progmodes/octave.el (octave-goto-function-definition):
14251 Improve and fix callers.
14253 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14255 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14256 the setter (bug#14387).
14258 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14259 surrounding group (bug#14402).
14261 2013-05-14 Juri Linkov <juri@jurta.org>
14263 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14266 2013-05-14 Glenn Morris <rgm@gnu.org>
14268 * progmodes/f90.el (f90-imenu-generic-expression):
14269 Fix typo in 2013-05-08 change. (Bug#14402)
14271 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14273 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14274 Remove signals for which replies are never received.
14276 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14278 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14279 (gdb-handler-alist, gdb-handler-number): Remove variables.
14280 (gdb-handler-list): New variable.
14281 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14282 (gdb-pending-handler-p, gdb-handle-reply)
14283 (gdb-remove-all-pending-triggers): New functions.
14284 (gdb-discard-unordered-replies): New defcustom.
14285 (gdb-handler): New defstruct.
14286 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14287 instead of gdb-pending-triggers. Update docstring.
14288 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14289 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14290 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14291 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14292 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14293 (gdb-frame-handler): Pending triggers are now automatically managed.
14294 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14296 (gdb-input): Automatically handles pending triggers. Update docstring.
14297 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14298 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14300 (gdb-done-or-error): Now use gdb-handle-reply.
14302 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14304 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14307 2013-05-14 Glenn Morris <rgm@gnu.org>
14309 * subr.el (user-emacs-directory-warning): New option.
14310 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14312 2013-05-14 Leo Liu <sdl.web@gmail.com>
14314 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14316 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14317 (octave-font-lock-texinfo-comment): Fix invalid search bound
14318 error: wrong side of point.
14320 2013-05-14 Glenn Morris <rgm@gnu.org>
14322 * progmodes/flymake.el (flymake-xml-program): New option.
14323 (flymake-xml-init): Use it.
14325 * term/xterm.el: Provide a feature.
14327 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14329 2013-05-13 Glenn Morris <rgm@gnu.org>
14331 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14332 Add compat aliases as a hack workaround. (Bug#14384)
14334 2013-05-13 Leo Liu <sdl.web@gmail.com>
14336 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14338 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14340 (octave-comment-start-skip): Include %!.
14341 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14343 2013-05-12 Leo Liu <sdl.web@gmail.com>
14345 * progmodes/octave.el (inferior-octave-startup): Store the value
14346 of __octave_srcdir__ for octave-source-directories.
14347 (inferior-octave-check-process): New function refactored out of
14348 inferior-octave-send-list-and-digest.
14349 (octave-source-directories)
14350 (octave-find-definition-filename-function): New variables.
14351 (octave-source-directories)
14352 (octave-find-definition-default-filename): New functions.
14353 (octave-find-definition): Improve to find functions implemented in C++.
14355 2013-05-12 Glenn Morris <rgm@gnu.org>
14357 * calendar/diary-lib.el (diary-outlook-format-1):
14358 Don't include dayname in the output. (Bug#14349)
14360 2013-05-11 Glenn Morris <rgm@gnu.org>
14362 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14364 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14365 Treat cc-provide like provide.
14367 2013-05-11 Kevin Ryde <user42@zip.com.au>
14369 * cus-dep.el (custom-make-dependencies):
14370 Use generated-autoload-load-name for the sake of files such
14371 such cedet/semantic/bovine/c.el, where the base file name
14372 is not in load-path. (Bug#5277)
14374 2013-05-11 Glenn Morris <rgm@gnu.org>
14376 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14379 2013-05-11 Leo Liu <sdl.web@gmail.com>
14381 * progmodes/octave.el (octave-indent-comment): Improve.
14382 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14383 (octave-eldoc-function-signatures, octave-eldoc-function):
14385 (octave-mode, inferior-octave-mode): Add eldoc support.
14387 2013-05-11 Richard Stallman <rms@gnu.org>
14389 * epa.el (epa-decrypt-file): Take output file name as argument
14390 and read it using `interactive'.
14392 2013-05-11 Leo Liu <sdl.web@gmail.com>
14394 * progmodes/octave.el (octave-beginning-of-line)
14395 (octave-end-of-line): Check before using up-list because it jumps
14396 out of more syntactic contructs since moving to smie.
14397 (octave-indent-comment): New function.
14398 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14399 (octave-begin-keywords, octave-end-keywords)
14400 (octave-reserved-words, octave-smie-bnf-table)
14401 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14403 2013-05-11 Glenn Morris <rgm@gnu.org>
14405 * faces.el (internal-face-x-get-resource):
14406 * frame.el (ns-display-monitor-attributes-list):
14407 * calc/calc-aent.el (math-to-radians-2):
14408 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14411 * calc/calc-menu.el: Make it loadable in isolation.
14413 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14414 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14415 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14416 (eudc-bbdb-query-internal): Require 'bbdb.
14418 * lpr.el (lpr-headers-switches):
14419 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14421 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14423 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14425 * term.el (term-set-escape-char): Make it idempotent.
14427 2013-05-10 Leo Liu <sdl.web@gmail.com>
14429 * progmodes/octave.el (inferior-octave-completion-table):
14430 No longer a function and all uses changed. Use cache to speed up
14431 completion due to bug#11906.
14432 (octave-beginning-of-defun): Re-write to be more general.
14434 2013-05-10 Glenn Morris <rgm@gnu.org>
14436 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14438 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14440 * comint.el (comint-redirect-send-command-to-process): Use :around
14441 rather than :override for comint-redirect-filter.
14442 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14443 Call it instead of comint-redirect-original-filter-function (which
14444 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14446 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14448 * frame.el (display-monitor-attributes-list): Add NS case.
14449 (ns-display-monitor-attributes-list): Declare.
14451 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14453 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14455 2013-05-09 Glenn Morris <rgm@gnu.org>
14457 * international/fontset.el (vertical-centering-font-regexp):
14458 Set standard-value.
14460 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14462 * bookmark.el (bookmark-search-delay):
14463 * cus-start.el (vertical-centering-font-regexp):
14464 * ps-mule.el (ps-mule-font-info-database-default):
14465 * ps-print.el (ps-default-fg, ps-default-bg):
14466 * type-break.el (type-break-good-break-interval):
14467 * whitespace.el (whitespace-indentation-regexp)
14468 (whitespace-space-after-tab-regexp):
14469 * emacs-lisp/testcover.el (testcover-1value-functions)
14470 (testcover-noreturn-functions, testcover-progn-functions)
14471 (testcover-prog1-functions):
14472 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14473 * eshell/em-glob.el (eshell-glob-translate-alist):
14474 * play/tetris.el (tetris-tty-colors):
14475 * progmodes/cpp.el (cpp-face-default-list):
14476 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14477 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14478 (idlwave-help-browser-generic-args):
14479 * progmodes/make-mode.el (makefile-special-targets-list):
14480 * progmodes/python.el (python-shell-virtualenv-path):
14481 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14482 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14483 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14484 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14485 * textmodes/reftex-vars.el (reftex-format-label-function):
14486 * textmodes/remember.el (remember-diary-file): Fix custom types.
14488 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14491 2013-05-09 Leo Liu <sdl.web@gmail.com>
14493 * progmodes/octave.el (inferior-octave-completion-at-point):
14494 Restore file completion. (Bug#14300)
14495 (inferior-octave-startup): Fix incorrect highlighting for the
14498 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14500 * progmodes/ruby-mode.el: First cut at SMIE support.
14501 (ruby-use-smie): New var.
14502 (ruby-smie-grammar): New constant.
14503 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14504 (ruby-smie--forward-token, ruby-smie--backward-token)
14505 (ruby-smie-rules): New functions.
14506 (ruby-mode-variables): Setup SMIE if applicable.
14508 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14510 * simple.el (line-move-visual): Signal beginning/end of buffer
14511 only if vertical-motion moved less than it was requested. Avoids
14512 silly incorrect error messages when there are display strings with
14513 multiple newlines at EOL.
14515 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14517 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14518 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14519 (prolog-char-quote-workaround):
14520 * progmodes/cperl-mode.el (cperl-under-as-char):
14521 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14523 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14525 (vhdl-mode-syntax-table-init): Remove.
14527 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14530 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14532 (ld-script-font-lock-keywords):
14533 Change regexps to use things like \_< and \_>.
14535 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14536 Change all regexps to use things like \_< and \_>.
14538 * progmodes/autoconf.el (autoconf-definition-regexp)
14539 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14540 Handle a _ with symbol syntax.
14541 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14543 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14544 Consolidate declaration.
14545 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14547 (ada-create-syntax-table): Remove.
14548 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14549 already has the right syntax nowadays.
14550 (ada-goto-next-word): Don't change the syntax of "_".
14552 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14555 2013-05-08 Sam Steingold <sds@gnu.org>
14557 * thingatpt.el (thing-at-point): Accept optional second argument
14558 NO-PROPERTIES to strip the text properties from the return value.
14559 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14560 to `thing-at-point' instead of stripping the properties ourselves.
14561 Also, when `thing-at-point' fails to find a url, prepend "http://"
14562 to the filename at point on the assumption that the user is
14563 pointing at something like gnu.org/gnu.
14565 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14567 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14568 * faces.el (crm-separator):
14569 Silence byte-compiler.
14571 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14572 (tool-bar-map): Remove unneeded defvars.
14574 2013-05-08 Leo Liu <sdl.web@gmail.com>
14576 Re-work a fix for bug#10994 based on Le Wang's patch.
14577 * ido.el (ido-remove-consecutive-dups): New helper.
14578 (ido-completing-read): Use it.
14579 (ido-chop): Revert fix for bug#10994.
14581 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14583 * cus-edit.el (custom-save-variables):
14584 Pretty-print long values. (Bug#14187)
14586 2013-05-08 Glenn Morris <rgm@gnu.org>
14588 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14589 (m4-mode-syntax-table): Init in the defvar.
14590 (m4-mode-abbrev-table): Let define-derived-mode define it.
14592 2013-05-08 Tom Tromey <tromey@redhat.com>
14594 * progmodes/m4-mode.el (m4-mode-syntax-table):
14595 Do not treat "_" as word constituent. (Bug#14167)
14597 2013-05-07 Glenn Morris <rgm@gnu.org>
14599 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14600 Remove explicit eshell-isearch-cancel-map.
14602 * progmodes/f90.el (f90-smart-end-names): New option.
14603 (f90-smart-end): Doc fix.
14604 (f90-end-block-optional-name): New constant.
14605 (f90-block-match): Respect f90-smart-end-names.
14607 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14609 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14610 about implicit semi-colons (bug#14218).
14612 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14614 * frame.el (display-monitor-attributes-list)
14615 (frame-monitor-attributes): New functions.
14617 2013-05-06 Leo Liu <sdl.web@gmail.com>
14619 * progmodes/octave.el (octave-syntax-propertize-function): Change
14620 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14621 (octave-font-lock-keywords): Use octave-operator-regexp.
14622 (octave-completion-at-point): Rename from
14623 octave-completion-at-point-function.
14624 (inferior-octave-directory-tracker): Robustify.
14625 (octave-text-functions): Remove and fix its uses. No such things
14628 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14630 * emacs-lisp/trace.el (trace--display-buffer): New function.
14631 (trace-make-advice): Use it.
14633 2013-05-06 Juri Linkov <juri@jurta.org>
14635 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14636 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14638 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14639 in the help string. (Bug#12985)
14641 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14643 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14645 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14647 * progmodes/perl-mode.el: Add support for here documents.
14648 (perl-syntax-propertize-function): Match here-doc markers.
14649 (perl-syntax-propertize-special-constructs): Find their end.
14650 (perl-imenu-generic-expression): Use [:alnum:].
14652 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14653 (advice--add-function): Refresh the advice if already present
14656 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14658 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14660 2013-05-06 Glenn Morris <rgm@gnu.org>
14662 * w32-fns.el (w32-charset-info-alist): Declare.
14664 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14665 of its defcustom properties.
14666 (eshell-cmpl-initialize): No need to load pcomplete.
14668 * generic-x.el: No need to require comint when compiling.
14670 * net/eudc-export.el: Make it loadable without bbdb.
14671 (top-level): Use require rather than load-library.
14672 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14673 (eudc-batch-export-records-to-bbdb)
14674 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14677 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14679 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14680 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14681 some tweaks, instead.
14683 2013-05-05 Leo Liu <sdl.web@gmail.com>
14685 * progmodes/octave.el (octave-font-lock-keywords)
14686 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14687 (inferior-octave-send-list-and-digest): Improve error message.
14688 (octave-mode, inferior-octave-mode): Use setq-local.
14689 (octave-help): Set info-lookup-mode.
14691 2013-05-05 Richard Stallman <rms@gnu.org>
14693 * vc/compare-w.el (compare-windows-whitespace):
14694 Treat no-break space as whitespace.
14696 * mail/rmailsum.el (rmail-summary-rmail-update):
14697 Detect empty summary and don't change selected message.
14698 (rmail-summary-goto-msg): Likewise.
14700 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14701 Doc fixes, rename args.
14703 2013-05-05 Alan Mackenzie <acm@muc.de>
14705 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14707 2013-05-05 Juri Linkov <juri@jurta.org>
14709 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14710 to not add the length of the summary segment to the return value.
14713 2013-05-05 Leo Liu <sdl.web@gmail.com>
14715 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14716 (inferior-octave-output-filter): Remove.
14717 (octave-send-region, inferior-octave-startup): Fix callers.
14718 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14719 (octave-binary-file-extensions): New user variable.
14720 (octave-find-definition): Confirm if opening binary files.
14721 (octave-help-file): Use octave-find-definition to get the binary
14723 (octave-help): Adjust for octave-help-file change.
14725 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14727 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14728 Merge the two entries that handle function definitions.
14729 (pascal--syntax-propertize): New const.
14730 (pascal-mode): Use it. Use setq-local.
14732 2013-05-04 Glenn Morris <rgm@gnu.org>
14734 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14735 (diary-from-outlook): Respect diary-from-outlook-function.
14737 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14739 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14740 Move the declaration from C.
14741 (read-minibuffer, eval-minibuffer): Move from C.
14742 (completion-setup-function): Avoid minibuffer-completion-contents.
14744 2013-05-03 Leo Liu <sdl.web@gmail.com>
14746 * progmodes/octave.el (octave-font-lock-keywords): Do not
14747 dehighlight 'end' in comments or strings.
14748 (octave-completing-read, octave-goto-function-definition):
14750 (octave-help-buffer): New user variable.
14751 (octave-help-file, octave-help-function): New button types.
14752 (octave-help): New command and bind it to C-h ;.
14753 (octave-find-definition): New command and bind it to M-.
14754 (user-error): Alias to error if not defined.
14756 2013-05-02 Leo Liu <sdl.web@gmail.com>
14758 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14760 (octave-font-lock-keywords): Include [ and {.
14762 2013-05-02 Leo Liu <sdl.web@gmail.com>
14764 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14765 (inferior-octave): Remove calling comint-mode and return the buffer.
14766 (inferior-octave-startup): Cosmetic changes.
14768 2013-05-02 Leo Liu <sdl.web@gmail.com>
14770 * progmodes/octave.el (octave-syntax-propertize-function):
14771 Include the case when ' is at line beginning. (Bug#14336)
14773 2013-05-02 Glenn Morris <rgm@gnu.org>
14775 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14776 * desktop.el (vc-dir-mode): Just autoload it here.
14778 2013-05-02 Alan Mackenzie <acm@muc.de>
14780 Eliminate variable c-standard-font-lock-fontify-region-function.
14781 * progmodes/cc-mode.el
14782 (c-standard-font-lock-fontify-region-function): Remove.
14783 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14785 2013-05-01 Leo Liu <sdl.web@gmail.com>
14787 * progmodes/octave.el: Compatible with older emacs-24 releases.
14788 (inferior-octave-has-built-in-variables): Remove. Built-in
14789 variables were removed from Octave in 2007.
14790 (inferior-octave-startup): Fix uses.
14791 (comint-line-beginning-position): Remove compatibility code for
14794 2013-05-01 Juri Linkov <juri@jurta.org>
14796 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14798 2013-05-01 Juri Linkov <juri@jurta.org>
14800 * comint.el (comint-previous-matching-input): Don't print message
14801 "History item: %d" when `isearch-mode' is active.
14802 (comint-history-isearch-message): Print message "History item: %d"
14803 when `comint-input-ring-index' is not empty and this function is
14804 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14806 2013-05-01 Leo Liu <sdl.web@gmail.com>
14808 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14809 definitions. Use completion-at-point to insert keywords.
14810 (octave-abbrev-start): Remove.
14811 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14813 2013-04-30 Leo Liu <sdl.web@gmail.com>
14815 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14818 2013-04-30 Alan Mackenzie <acm@muc.de>
14820 Handle arbitrarily long C++ member initialisation lists.
14821 * progmodes/cc-engine.el (c-back-over-member-initializers):
14823 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14824 (most) member init lists.
14826 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14828 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14831 2013-04-30 Leo Liu <sdl.web@gmail.com>
14833 * progmodes/octave.el (octave-variables): Remove. No builtin
14834 variables any more. All converted to functions.
14835 (octave-font-lock-keywords, octave-completion-at-point-function):
14837 (octave-font-lock-texinfo-comment): New user variable.
14838 (octave-texinfo-font-lock-keywords): New variable for texinfo
14840 (octave-function-comment-block): New face.
14841 (octave-font-lock-texinfo-comment): New function.
14842 (octave-mode): Font lock texinfo comment block.
14844 2013-04-29 Leo Liu <sdl.web@gmail.com>
14846 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14847 indexing expression.
14848 (octave-continuation-string): Do not use \.
14849 (inferior-octave-complete-impossible): Remove.
14850 (inferior-octave-completion-table)
14851 (inferior-octave-completion-at-point): Remove its uses.
14852 (inferior-octave-startup): completion_matches was introduced to
14853 Octave in 1996 so safe to assume it.
14854 (octave-function-file-comment): Improve to follow how Octave does it.
14855 (octave-update-function-file-comment): Tweak.
14857 2013-04-29 Leo Liu <sdl.web@gmail.com>
14859 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14860 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14861 (octave-function-file-comment): Fix typo.
14862 (octave-sync-function-file-names): Use read-char-choice.
14864 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14866 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14867 to t for the less important warnings.
14869 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14871 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14873 2013-04-27 Glenn Morris <rgm@gnu.org>
14875 * vc/log-view.el (log-view-current-entry):
14876 Treat "---" separator lines as part of the following rev. (Bug#14169)
14878 2013-04-27 Juri Linkov <juri@jurta.org>
14880 * subr.el (read-number): Doc fix about using it by interactive
14881 code letter `n'. (Bug#14254)
14883 2013-04-27 Juri Linkov <juri@jurta.org>
14885 * desktop.el (desktop-auto-save-timeout): New option.
14886 (desktop-file-checksum): New variable.
14887 (desktop-save): Add optional arg `auto-save' and don't auto-save
14888 if nothing changed.
14889 (desktop-auto-save-timer): New variable.
14890 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14891 (after-init-hook): Call `desktop-auto-save-set-timer'.
14892 Suggested by Reuben Thomas <rrt@sc3d.org> in
14893 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14895 2013-04-27 Leo Liu <sdl.web@gmail.com>
14897 * progmodes/octave.el (octave-function-file-p)
14898 (octave-skip-comment-forward, octave-function-file-comment)
14899 (octave-update-function-file-comment): New functions.
14900 (octave-mode-map): Bind C-c ; to
14901 octave-update-function-file-comment.
14902 (octave-mode-menu): Add octave-update-function-file-comment.
14903 (octave-mode, inferior-octave-mode): Fix doc-string.
14904 (octave-insert-defun): Conform to Octave's coding convention.
14907 * files.el (basic-save-buffer): Don't let errors in
14908 before-save-hook prevent saving buffer.
14910 2013-04-20 Roland Winkler <winkler@gnu.org>
14912 * faces.el (read-face-name): Use completing-read if arg multiple
14915 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14917 * ls-lisp.el (ls-lisp-insert-directory): If no files are
14918 displayed, move point to after the totals line.
14919 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14922 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14924 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14925 Add current dir to the load-path.
14926 (package-generate-autoloads): Don't rely on
14927 autoload-ensure-default-file.
14929 2013-04-26 Reuben Thomas <rrt@sc3d.org>
14931 * textmodes/remember.el (remember-store-in-files): Document that
14932 the file name format is passed to `format-time-string'.
14934 2013-04-26 Leo Liu <sdl.web@gmail.com>
14936 * progmodes/octave.el (octave-sync-function-file-names): New function.
14937 (octave-mode): Use it in before-save-hook.
14939 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14941 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14944 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14945 \n and comment, even if it's not an implicit ; (bug#14218).
14947 2013-04-26 Glenn Morris <rgm@gnu.org>
14949 * subr.el (read-number): Once more use `read' rather than
14950 `string-to-number', to trap non-numeric input. (Bug#14254)
14952 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
14954 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14955 Use `syntax-multiline' text property consistently instead of
14956 `font-lock-multiline'. (Bug#14237)
14958 2013-04-26 Glenn Morris <rgm@gnu.org>
14960 * emacs-lisp/shadow.el (list-load-path-shadows):
14961 No longer necessary to check for duplicate simple.el, since
14962 2012-07-07 change to init_lread to not include installation lisp
14963 directories in load-path when running uninstalled. (Bug#14270)
14965 2013-04-26 Leo Liu <sdl.web@gmail.com>
14967 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14968 (octave-mode, inferior-octave-mode): Use setq-local.
14969 (octave-not-in-string-or-comment-p): Rename to
14970 octave-in-string-or-comment-p.
14971 (octave-in-comment-p, octave-in-string-p)
14972 (octave-in-string-or-comment-p): Replace defsubst with defun.
14974 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14976 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14978 2013-04-25 Bastien Guerry <bzg@gnu.org>
14980 * textmodes/remember.el (remember-data-directory)
14981 (remember-directory-file-name-format): Fix custom types.
14983 2013-04-25 Leo Liu <sdl.web@gmail.com>
14985 * progmodes/octave.el (octave-completion-at-point-function):
14986 Make use of inferior octave process.
14987 (octave-initialize-completions): Remove.
14988 (inferior-octave-completion-table): New function.
14989 (inferior-octave-completion-at-point): Use it.
14990 (octave-completion-alist): Remove.
14992 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14994 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14995 (opascal-mode-syntax-table): New var.
14996 (opascal-literal-kind, opascal-is-literal-end)
14997 (opascal-literal-token-at): Rewrite.
14998 (opascal--literal-start-re, opascal-font-lock-keywords)
14999 (opascal--syntax-propertize): New constants.
15000 (opascal-font-lock-defaults): Adjust.
15001 (opascal-mode): Use them. Set comment-<foo> variables as well.
15002 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15003 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15004 (delphi-other-face, opascal-other-face): Remove face variables.
15005 (opascal-save-state): Remove macro.
15006 (opascal-fontifying-progress-step): Remove constant.
15007 (opascal--ignore-changes): Remove var.
15008 (opascal-set-token-property, opascal-parse-next-literal)
15009 (opascal-is-stable-literal, opascal-complete-literal)
15010 (opascal-is-literal-start, opascal-face-of)
15011 (opascal-parse-region, opascal-parse-region-until-stable)
15012 (opascal-fontify-region, opascal-after-change)
15013 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15014 (opascal-debug-parse-region, opascal-debug-parse-window)
15015 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15016 (opascal-debug-fontify-buffer): Remove.
15017 (opascal-debug-mode-map): Adjust accordingly.
15019 2013-04-25 Leo Liu <sdl.web@gmail.com>
15021 Merge octave-mod.el and octave-inf.el into octave.el with some
15023 * progmodes/octave.el: New file renamed from octave-mod.el.
15024 * progmodes/octave-inf.el: Merged into octave.el.
15025 * progmodes/octave-mod.el: Renamed to octave.el.
15027 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15029 * textmodes/reftex-vars.el
15030 (reftex-label-ignored-macros-and-environments): New defcustom.
15032 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15034 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15036 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15037 (smie-indent-keyword): Improve the check to ensure that the next
15038 comment is really on the same line.
15039 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15041 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15042 semi-colons if the line is not otherwise empty (bug#14218).
15044 2013-04-25 Glenn Morris <rgm@gnu.org>
15046 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15048 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15050 * progmodes/opascal.el (opascal-set-token-property): Rename from
15051 opascal-set-text-properties and only set `token' (bug#14134).
15052 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15053 (opascal-literal-text-properties): Remove.
15054 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15057 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15059 * textmodes/remember.el (remember-handler-functions): Add an
15060 option for a new handler `remember-store-in-files'.
15061 (remember-data-directory, remember-directory-file-name-format):
15063 (remember-store-in-files): New function to store remember notes
15064 as separate files within a directory.
15066 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15068 * progmodes/compile.el (compilation-next-error-function):
15069 Pass "formats" to compilation-find-file (bug#11777).
15071 2013-04-24 Glenn Morris <rgm@gnu.org>
15073 * vc/vc-bzr.el (vc-bzr-print-log):
15074 * vc/vc-hg.el (vc-hg-print-log):
15075 * vc/vc-svn.el (vc-svn-print-log):
15076 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15078 * vc/vc-bzr.el (vc-bzr-print-log):
15079 * vc/vc-cvs.el (vc-cvs-print-log):
15080 * vc/vc-git.el (vc-git-print-log):
15081 * vc/vc-hg.el (vc-hg-print-log):
15082 * vc/vc-mtn.el (vc-mtn-print-log):
15083 * vc/vc-rcs.el (vc-rcs-print-log):
15084 * vc/vc-sccs.el (vc-sccs-print-log):
15085 * vc/vc-svn.el (vc-svn-print-log):
15086 * vc/vc.el (vc-print-log-internal): Doc fixes.
15088 2013-04-23 Glenn Morris <rgm@gnu.org>
15090 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15091 Remove venerable code attempting to avoid substitute-command-keys.
15093 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15095 * textmodes/reftex-vars.el (reftex-label-regexps):
15096 Call `reftex-compile-variables' after changes to this variable.
15098 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15100 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15101 Use lexical-binding.
15102 (jit-lock-force-redisplay): Use markers, check buffer's continued
15103 existence and beware narrowed buffers.
15104 (jit-lock-fontify-now): Adjust call accordingly.
15106 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15108 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15109 to avoid misleading the user.
15111 2013-04-22 Leo Liu <sdl.web@gmail.com>
15113 * info-look.el: Prefer latex2e.info. (Bug#14240)
15115 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15117 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15119 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15120 * net/tramp.el (tramp-call-process): ... here.
15121 (tramp-set-completion-function, tramp-parse-putty):
15122 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15123 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15124 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15125 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15126 (tramp-call-local-coding-command): Use `tramp-call-process'
15127 instead of `tramp-compat-call-process'.
15129 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15130 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15131 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15132 (tramp-find-inline-compress): Improve traces.
15133 (tramp-maybe-send-script): Check for Perl binary.
15134 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15136 2013-04-22 Daiki Ueno <ueno@gnu.org>
15138 * epg.el (epg-context-pinentry-mode): New function.
15139 (epg-context-set-pinentry-mode): New function.
15140 (epg--start): Pass --pinentry-mode option to gpg command.
15142 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15144 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15145 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15146 `completion-at-point'. (Bug#13774)
15148 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15149 default key binding for `describe-distribution' has been moved to
15150 `C-h C-o'. (Bug#13970)
15152 2013-04-21 Glenn Morris <rgm@gnu.org>
15154 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15156 (vc-print-log): Clarify interactive prompt.
15158 2013-04-20 Glenn Morris <rgm@gnu.org>
15160 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15161 No longer include timestamp etc information.
15163 2013-04-20 Roland Winkler <winkler@gnu.org>
15165 * faces.el (read-face-name): Bug fix, return just one face if arg
15166 multiple is nil. (Bug#14209)
15168 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15170 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15171 (remove-function): Autoload.
15173 * comint.el (comint-redirect-original-filter-function): Remove.
15174 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15175 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15176 (vc-cvs-annotate-command):
15177 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15178 * progmodes/prolog.el (prolog-consult-compile):
15179 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15180 Use add/remove-function instead.
15181 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15182 (gud-tooltip-process-output, gud-tooltip-tips):
15183 Use add/remove-function instead.
15184 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15185 (scheme-interaction-mode, exit-scheme-interaction-mode):
15186 Use add/remove-function instead.
15188 * vc/vc-dispatcher.el: Use lexical-binding.
15189 (vc--process-sentinel): Rename from vc-process-sentinel.
15190 Change last arg to be the code to run. Don't use vc-previous-sentinel
15191 and vc-sentinel-commands any more.
15192 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15193 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15195 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15197 * progmodes/sh-script.el (sh-imenu-generic-expression):
15198 Handle function names with a single character. (Bug#14111)
15200 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15202 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15203 for subroutines defined in an eval (bug#14182).
15205 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15207 * bookmark.el (bookmark-completing-read): Improve handling of empty
15208 string (bug#14176).
15210 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15212 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15214 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15216 New faster Imenu implementation (bug#14058).
15217 * progmodes/python.el:
15218 (python-imenu-prev-index-position):
15219 (python-imenu-format-item-label-function)
15220 (python-imenu-format-parent-item-label-function)
15221 (python-imenu-format-parent-item-jump-label-function):
15223 (python-imenu-format-item-label)
15224 (python-imenu-format-parent-item-label)
15225 (python-imenu-format-parent-item-jump-label)
15226 (python-imenu--put-parent, python-imenu--build-tree)
15227 (python-imenu-create-index, python-imenu-create-flat-index)
15228 (python-util-popn): New functions.
15229 (python-mode): Set imenu-create-index-function to
15230 python-imenu-create-index.
15232 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15234 * winner.el (winner-active-region): Use region-active-p, activate-mark
15235 and deactivate-mark (bug#14225).
15237 * simple.el (deactivate-mark): Don't inline it.
15239 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15241 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15243 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15245 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15246 file extensions from the archive-mode entry in order to prefer
15247 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15249 2013-04-18 Leo Liu <sdl.web@gmail.com>
15251 * bindings.el (help-event-list): Add ?\?.
15253 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15255 * subr.el (with-wrapper-hook): Declare obsolete.
15256 * simple.el (filter-buffer-substring-function): New hook.
15257 (filter-buffer-substring): Use it.
15258 (filter-buffer-substring-functions): Mark obsolete.
15259 * minibuffer.el (completion-in-region-function): New hook.
15260 (completion-in-region): Use it.
15261 (completion-in-region-functions): Mark obsolete.
15262 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15263 * abbrev.el (abbrev-expand-function): New hook.
15264 (expand-abbrev): Use it.
15265 (abbrev-expand-functions): Mark obsolete.
15266 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15267 and :filter-return.
15269 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15271 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15272 and do not care about match data.
15274 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15276 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15277 completion tables when completing error conditions and
15278 `declare' arguments.
15279 (lisp-complete-symbol, field-complete): Mark as obsolete.
15280 (check-parens): Unmatched parens are user errors.
15281 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15283 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15285 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15286 command changed buffer (ie. `flyspell-pre-buffer' is not current
15287 buffer), which prevents making decisions based on invalid value of
15288 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15289 cause an error when `flyspell-pre-point' was nil after switching
15291 (flyspell-post-command-hook): No longer needs to change buffers when
15292 checking pre-word. While at it remove unnecessary progn.
15294 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15296 * textmodes/ispell.el (ispell-add-per-file-word-list):
15297 Fix `flyspell-correct-word-before-point' error when accepting
15298 words and `coment-padding' is an integer by using
15299 `comment-normalize-vars' (Bug #14214).
15301 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15303 New defun movement commands.
15304 * progmodes/python.el (python-nav--syntactically)
15305 (python-nav--forward-defun, python-nav-backward-defun)
15306 (python-nav-forward-defun): New functions.
15308 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15310 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15311 (python-syntax-context): Use named compiler-macro for backwards
15312 compatibility with Emacs 24.x.
15314 2013-04-17 Leo Liu <sdl.web@gmail.com>
15316 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15317 octave-hide-process-buffer.
15319 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15321 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15324 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15326 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15327 Fix adjustment of offset when receiving incomplete responses from GDB
15330 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15332 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15333 python-mode-abbrev-table.
15334 (python-skeleton-define): Adjust accordingly.
15335 (python-mode-abbrev-table): New table that inherits from it so that
15336 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15338 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15339 (abbrev-symbol): Use it.
15340 (abbrev--before-point): Use it since we already handle inheritance.
15342 2013-04-16 Leo Liu <sdl.web@gmail.com>
15344 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15345 binding to info-lookup-symbol.
15347 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15349 * minibuffer.el (completion--twq-all):
15350 * term/ns-win.el (ns-initialize-window-system):
15351 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15353 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15355 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15358 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15360 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15362 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15363 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15365 (ruby-end-of-defun): Remove the unused arg, change the docstring
15366 to reflect that this function is only used as the value of
15367 `end-of-defun-function'.
15368 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15369 to reflect an earlier change that beginning/end-of-defun functions
15370 jump between methods in a class definition, as well as top-level
15373 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15375 * minibuffer.el (minibuffer-complete): Don't just scroll
15376 a *Completions* that's been iconified.
15377 (minibuffer-force-complete): Make sure repetitions do cycle when going
15378 through completion-in-region -> minibuffer-complete.
15380 2013-04-15 Alan Mackenzie <acm@muc.de>
15382 Correct the placement of c-cpp-delimiters when there're #s not at
15385 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15386 place a submatch around the #.
15387 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15388 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15391 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15393 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15394 (advice--member-p): New arg `name'.
15395 (advice--add-function, advice-member-p): Use it (bug#14202).
15397 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15399 Reformulate java imenu-generic-expression.
15400 The old expression contained ill formed regexps.
15402 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15403 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15404 (cc-imenu-java-method-arg-regexp): New defconsts.
15405 (cc-imenu-java-build-type-args-regex): New defun.
15406 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15407 handling of spaces in the regexp.
15409 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15411 * textmodes/ispell.el (ispell-command-loop): Remove
15412 flyspell highlight of a word when ispell accepts it (bug #14178).
15414 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15416 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15417 uses code from the previous `ange-ftp-run-real-handler'.
15418 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15419 only in case that function exist. This is needed for proper
15420 unloading of Tramp.
15422 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15424 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15426 * textmodes/reftex.el (reftex-compile-variables): Use it.
15428 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15430 * files.el (normal-mode): Only use default major-mode if no other mode
15433 * emacs-lisp/trace.el (trace-values): New function.
15435 * files.el: Allow : in local variables (bug#14089).
15436 (hack-local-variable-regexp): New var.
15437 (hack-local-variables-prop-line, hack-local-variables): Use it.
15439 2013-04-13 Roland Winkler <winkler@gnu.org>
15441 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15442 data before it gets modified by bibtex-beginning-of-entry.
15444 2013-04-13 Roland Winkler <winkler@gnu.org>
15446 * textmodes/bibtex.el (bibtex-url): Doc fix.
15448 2013-04-13 Roland Winkler <winkler@gnu.org>
15450 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15451 does not visit a BibTeX file, exclude it from the list of buffers
15452 returned by bibtex-initialize.
15454 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15456 * window.el (split-window): Remove interactive form, since as a
15457 command this function is a special case of split-window-below.
15458 Correct doc string.
15460 2013-04-12 Roland Winkler <winkler@gnu.org>
15462 * faces.el (read-face-name): Do not override value of arg default.
15463 Allow single faces and strings as default values. Remove those
15464 elements from return value that are not faces.
15465 (describe-face): Simplify.
15466 (face-at-point): New optional args thing and multiple so that this
15467 function can provide the same functionality previously provided by
15469 (make-face-bold, make-face-unbold, make-face-italic)
15470 (make-face-unitalic, make-face-bold-italic, invert-face)
15471 (modify-face, read-face-and-attribute): Use face-at-point.
15473 * cus-edit.el (customize-face, customize-face-other-window)
15474 * cus-theme.el (custom-theme-add-face)
15475 * face-remap.el (buffer-face-set)
15476 * facemenu.el (facemenu-set-face): Use face-at-point.
15478 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15480 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15482 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15484 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15485 off leading { and trailing } from field values.
15487 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15489 * emacs-lisp/timer.el (timer--check): New function.
15490 (timer--time, timer-set-function, timer-event-handler): Use it.
15491 (timer-set-idle-time): Simplify.
15492 (timer--activate): CSE.
15493 (timer-event-handler): Give more info in error message.
15494 (internal-timer-start-idle): New function, moved from C.
15496 * mpc.el (mpc-proc): Add `restart' argument.
15497 (mpc-proc-cmd): Use it.
15498 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15499 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15502 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15504 * progmodes/sh-script.el: Implement `sh-mode' own
15505 `add-log-current-defun-function' (bug#14112).
15506 (sh-current-defun-name): New function.
15507 (sh-mode): Use the function.
15509 2013-04-09 Bastien Guerry <bzg@gnu.org>
15511 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15513 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15515 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15517 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15520 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15522 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15525 2013-04-07 Leo Liu <sdl.web@gmail.com>
15527 * pcmpl-x.el: New file.
15529 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15531 Do not set x-display-name until X connection is established.
15532 This is needed to prevent from weird situation described at
15533 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15534 * frame.el (make-frame): Set x-display-name after call to
15535 window system initialization function, not before.
15536 * term/x-win.el (x-initialize-window-system): Add optional
15537 display argument and use it.
15538 * term/w32-win.el (w32-initialize-window-system):
15539 * term/ns-win.el (ns-initialize-window-system):
15540 * term/pc-win.el (msdos-initialize-window-system):
15541 Add compatible optional display argument.
15543 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15545 * files.el (normal-backup-enable-predicate): On MS-Windows and
15546 MS-DOS compare truenames of temporary-file-directory and of the
15547 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15548 don't fail comparison by compare-strings. Also, compare file
15549 names case-insensitively on MS-Windows and MS-DOS.
15551 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15553 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15554 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15556 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15558 * whitespace.el (whitespace-color-on, whitespace-color-off):
15559 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15561 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15563 * ispell.el (ispell-set-spellchecker-params):
15564 Really set `ispell-args' for all equivs.
15566 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15568 * ido.el (ido-completions): Use extra elements of ido-decorations
15570 (ido-decorations): Update docstring.
15572 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15574 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15575 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15576 nil during initialization, in order not to miss changes since the
15577 file was opened. (Bug#14140)
15579 2013-04-05 Leo Liu <sdl.web@gmail.com>
15581 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15583 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15585 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15587 2013-04-04 Glenn Morris <rgm@gnu.org>
15589 * electric.el (electric-pair-inhibit-predicate): Add :version.
15591 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15593 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15594 when a package is required several times (bug#14082).
15596 2013-04-04 Roland Winkler <winkler@gnu.org>
15598 * faces.el (read-face-name): Behave as promised by the docstring.
15599 Assume that arg default is a list of faces.
15600 (describe-face): Call read-face-name with list of default faces.
15602 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15604 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15605 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15606 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15608 (bookmark-exit-hook-internal): Save even if list is empty.
15610 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15612 * emacs-lisp/package.el (package-pinned-packages): New var.
15613 (package--add-to-archive-contents): Obey it (bug#14118).
15615 2013-04-03 Alan Mackenzie <acm@muc.de>
15617 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15618 Also adapt to the new values of element 7 of a parse state.
15620 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15621 parameter `not-in-delimiter'. Handle being inside comment opener.
15622 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15623 character in case we're typing a '*' after a '/'.
15624 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15625 instead by passing the parameter to c-state-pp-to-literal.
15627 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15628 for elt. 7 of a parse state.
15630 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15632 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15633 * international/latin1-disp.el, international/mule-util.el:
15634 * language/cyril-util.el, language/european.el, language/ind-util.el:
15635 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15636 * language/tibetan.el, language/viet-util.el:
15637 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15639 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15641 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15642 (electric-pair-post-self-insert-function): Use it.
15643 (electric-pair-default-inhibit): New function, extracted from
15644 electric-pair-post-self-insert-function.
15646 2013-03-31 Roland Winkler <winkler@gnu.org>
15648 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15650 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15652 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15654 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15656 Un-indent after "pass" and "return" statements (Bug#13888)
15657 * progmodes/python.el (python-indent-block-enders): New var.
15658 (python-indent-calculate-indentation): Use it.
15660 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15662 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15663 defun. Defining it as defalias could introduce too eager
15664 byte-compiler optimization. (Bug#14030)
15666 2013-03-30 Chong Yidong <cyd@gnu.org>
15668 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15670 2013-03-30 Leo Liu <sdl.web@gmail.com>
15672 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15673 (kmacro-execute-from-register): Pass the keyboard macro to
15674 kmacro-call-macro or repeating won't work correctly.
15676 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15678 * progmodes/subword.el: Back to using `forward-symbol'.
15680 * subr.el (forward-whitespace, forward-symbol)
15681 (forward-same-syntax): Move from thingatpt.el.
15683 2013-03-29 Leo Liu <sdl.web@gmail.com>
15685 * kmacro.el (kmacro-to-register): New command.
15686 (kmacro-execute-from-register): New function.
15687 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15689 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15691 * mpc.el: Use defvar-local and setq-local.
15692 (mpc--proc-connect): Connection failures are not bugs.
15693 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15694 (mpc-volume-map): Bind to the up-events.
15696 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15698 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15699 instead of `forward-symbol'.
15701 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15703 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15704 (edebug--recursive-edit): Use it.
15705 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15706 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15708 2013-03-28 Leo Liu <sdl.web@gmail.com>
15710 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15712 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15714 * facemenu.el (list-colors-callback): New defvar.
15715 (list-colors-redisplay): New function.
15716 (list-colors-display): Install list-colors-redisplay as the
15717 revert-buffer-function. (Bug#14063)
15719 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15721 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15722 and suffixes don't overlap (bug#14061).
15724 * case-table.el: Use lexical-binding.
15725 (case-table-get-table): New function.
15726 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15728 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15730 * progmodes/subword.el: Add `superword-mode' to do word motion
15731 over symbol_words (parallels and leverages `subword-mode' which
15732 does word motion inside MixedCaseWords).
15734 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15736 * eshell/em-unix.el: Move su and sudo to...
15737 * eshell/em-tramp.el: ...Eshell tramp module.
15739 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15741 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15742 Change return value to be a sexp. Delay `get-buffer' to after
15743 restoring the desktop (bug#13951).
15745 2013-03-26 Leo Liu <sdl.web@gmail.com>
15747 * register.el: Move semantic tag handling back to
15748 cedet/semantic/senator.el. (Bug#14052)
15750 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15752 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15753 into the prompt either (bug#13963).
15755 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15757 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15758 part of "(error-foo)".
15760 2013-03-24 Juri Linkov <juri@jurta.org>
15762 * replace.el (list-matching-lines-prefix-face): New defcustom.
15763 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15764 `occur-engine' if `face-differs-from-default-p' returns t.
15765 (occur-engine): Add `,' inside backquote construct to evaluate
15766 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15767 Pass `prefix-face' to the functions `occur-context-lines' and
15768 `occur-engine-add-prefix'.
15769 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15770 `prefix-face' and propertize the prefix with `prefix-face'.
15773 2013-03-24 Leo Liu <sdl.web@gmail.com>
15775 * nxml/rng-valid.el (rng-validate-while-idle)
15776 (rng-validate-quick-while-idle): Guard against deleted buffer.
15779 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15780 is the last entry in kill-buffer-hook.
15782 * files.el (kill-buffer-hook): Doc fix.
15784 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15786 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15787 Make it safe-local.
15789 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15791 2013-03-23 Leo Liu <sdl.web@gmail.com>
15793 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15796 * nxml/rng-valid.el (rng-validate-mode)
15797 (rng-after-change-function, rng-do-some-validation):
15798 * nxml/rng-maint.el (rng-validate-buffer):
15799 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15800 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15801 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15802 (nxml-extend-after-change-region): Use with-silent-modifications.
15804 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15807 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15808 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15809 timer-idle-list. (Bug#13999)
15811 2013-03-23 Juri Linkov <juri@jurta.org>
15813 * info.el (info-index-match): New face.
15814 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15815 main pattern and add text properties with the new face to matches
15816 in index entries relative to the beginning of the index entry.
15819 2013-03-21 Eric Ludlam <zappo@gnu.org>
15821 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15822 Inhibit read only while inserting objects.
15824 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15826 * progmodes/cfengine.el: Update docs to mention
15827 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15828 symbol motion. Remove "_" from the word syntax.
15830 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15832 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15833 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15835 2013-03-20 Juri Linkov <juri@jurta.org>
15837 * info.el (Info-next-reference-or-link)
15838 (Info-prev-reference-or-link): New functions.
15839 (Info-next-reference, Info-prev-reference): Use them.
15840 (Info-try-follow-nearest-node): Handle footnote navigation.
15841 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15843 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15845 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15846 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15848 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15850 Suppress unnecessary non-ASCII chatter during build process.
15851 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15852 (batch-skkdic-convert): Suppress most of the chatter.
15853 It's not needed so much now that machines are faster,
15854 and its non-ASCII component was confusing; see Dmitry Gutov in
15855 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15857 2013-03-20 Leo Liu <sdl.web@gmail.com>
15859 * ido.el (ido-chop): Fix bug#10994.
15861 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15863 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15865 (whitespace-color-on, whitespace-color-off):
15866 Use `font-lock-fontify-buffer' (Bug#13817).
15868 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15870 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15871 remapping in mode-line.
15872 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15874 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15876 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15877 value for `whitespace-line' face (Bug#13875).
15878 (whitespace-font-lock-keywords): Change description.
15879 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15880 the constructed keywords instead.
15881 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15883 2013-03-19 Leo Liu <sdl.web@gmail.com>
15885 * progmodes/compile.el (compilation-display-error): New command.
15886 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15889 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15891 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15893 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15895 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15897 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15899 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15901 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15902 * net/tramp-gvfs.el (top):
15903 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15904 (tramp-handle-shell-command): Use it.
15905 (tramp-dissect-file-name): Raise an error when hostname is a
15906 method name, and neither method nor user is specified.
15908 * net/trampver.el: Update release number.
15910 2013-03-18 Leo Liu <sdl.web@gmail.com>
15912 Make sure eldoc can be turned off properly.
15913 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15915 (eldoc-display-message-p): Revert last change.
15916 (eldoc-display-message-no-interference-p)
15917 (eldoc-print-current-symbol-info): Tweak.
15919 2013-03-18 Tassilo Horn <tsdh@gnu.org>
15921 * doc-view.el (doc-view-new-window-function): Check the new window
15922 overlay's display property instead the char property of the
15923 buffer's first char. Use `with-selected-window' instead of
15924 `save-window-excursion' with `select-window'.
15925 (doc-view-document->bitmap): Check the current doc-view overlay's
15926 display property instead the char property of the buffer's first char.
15928 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15930 Automate the build of ja-dic.el (Bug#13984).
15931 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15932 from the input, rather than assume that it's been done for us by the
15933 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15934 the current date into a ja-dic.el comment, as that complicates
15935 regression testing.
15937 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15939 * whitespace.el: Fix double evaluation.
15940 (whitespace-space, whitespace-hspace, whitespace-tab)
15941 (whitespace-newline, whitespace-trailing, whitespace-line)
15942 (whitespace-space-before-tab, whitespace-indentation)
15943 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15945 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15946 (whitespace-color-on): Use a single font-lock-add-keywords call.
15947 Fix double-evaluation of face variables.
15949 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
15951 * net/tramp-adb.el (tramp-adb-parse-device-names):
15952 Use `start-process' instead of `call-process'. Otherwise, the
15953 function might be blocked under MS Windows. (Bug#13299)
15955 2013-03-17 Leo Liu <sdl.web@gmail.com>
15957 Extend eldoc to display info in the mode-line. (Bug#13978)
15958 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15959 (eldoc-mode-line-string): New variable.
15960 (eldoc-minibuffer-message): New function.
15961 (eldoc-message-function): New variable.
15962 (eldoc-message): Use it.
15963 (eldoc-display-message-p)
15964 (eldoc-display-message-no-interference-p):
15965 Support eldoc-post-insert-mode.
15967 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15968 (eval-expression): Run it.
15970 2013-03-17 Roland Winkler <winkler@gnu.org>
15972 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15973 strings in the list of return values.
15975 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15977 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15978 radix before checking for HMS forms.
15980 2013-03-16 Leo Liu <sdl.web@gmail.com>
15982 * progmodes/scheme.el: Add indentation and font-locking for λ.
15985 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
15987 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15988 token before point (bug#13942).
15990 2013-03-16 Leo Liu <sdl.web@gmail.com>
15992 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
15994 2013-03-16 Eli Zaretskii <eliz@gnu.org>
15996 * startup.el (command-line-normalize-file-name): Fix handling of
15997 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15998 <xfq.free@gmail.com> in
15999 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16001 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16003 Sync with Tramp 2.2.7.
16005 * net/trampver.el: Update release number.
16007 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16009 * doc-view.el: Fix bug#13887.
16010 (doc-view-insert-image): Don't modify overlay associated to
16011 non-live windows, and implement horizontal centering of image in
16012 case it's smaller than the window.
16013 (doc-view-new-window-function): Force redisplay of new windows on
16016 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16018 * saveplace.el (save-place-alist-to-file): Don't sort
16019 `save-place-alist', just pretty-print it (bug#13882).
16021 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16023 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16024 Check whether `default-file-name-coding-system' is bound.
16025 It isn't in XEmacs.
16027 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16029 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16030 backquotes for `obsolete' (bug#13929).
16032 * international/mule.el (find-auto-coding): Include file name in
16033 obsolescence warning (bug#13922).
16035 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16037 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16038 for CFEngine 3-specific indentation.
16039 (cfengine3-indent-line): Use it. Fix up category regex.
16040 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16042 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16044 * type-break.el (type-break-file-name):
16045 * textmodes/remember.el (remember-data-file):
16046 * strokes.el (strokes-file):
16047 * shadowfile.el (shadow-initialize):
16048 * saveplace.el (save-place-file):
16049 * ps-bdf.el (bdf-cache-file):
16050 * progmodes/idlwave.el (idlwave-config-directory):
16051 * net/quickurl.el (quickurl-url-file):
16052 * international/kkc.el (kkc-init-file-name):
16053 * ido.el (ido-save-directory-list-file):
16054 * emulation/viper.el (viper-custom-file-name):
16055 * emulation/vip.el (vip-startup-file):
16056 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16057 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16059 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16061 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16062 * language/thai-word.el: Switch to UTF-8.
16064 See ChangeLog.16 for earlier changes.
16066 ;; Local Variables:
16070 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16072 This file is part of GNU Emacs.
16074 GNU Emacs is free software: you can redistribute it and/or modify
16075 it under the terms of the GNU General Public License as published by
16076 the Free Software Foundation, either version 3 of the License, or
16077 (at your option) any later version.
16079 GNU Emacs is distributed in the hope that it will be useful,
16080 but WITHOUT ANY WARRANTY; without even the implied warranty of
16081 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16082 GNU General Public License for more details.
16084 You should have received a copy of the GNU General Public License
16085 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.